!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2ee67f6d-799d-4848-8646-1f5f7380e1d5",e._sentryDebugIdIdentifier="sentry-dbid-2ee67f6d-799d-4848-8646-1f5f7380e1d5")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{99628:function(e,t,n){"use strict";n.r(t),n.d(t,{blue:function(){return T},cyan:function(){return P},geekblue:function(){return R},generate:function(){return b},gold:function(){return _},gray:function(){return D},green:function(){return I},grey:function(){return j},lime:function(){return A},magenta:function(){return N},orange:function(){return k},presetDarkPalettes:function(){return x},presetPalettes:function(){return S},presetPrimaryColors:function(){return w},purple:function(){return M},red:function(){return E},volcano:function(){return C},yellow:function(){return O}});var r=n(20117),o=n(76981),i=2,a=.16,s=.05,l=.05,c=.15,u=5,d=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function p(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function h(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function m(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function g(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t)<0?r+=360:r>=360&&(r-=360),r}function v(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-a*t:t===d?e.s+a:e.s+s*t)>1&&(r=1),n&&t===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)))}function y(e,t,n){var r;return(r=n?e.v+l*t:e.v-c*t)>1&&(r=1),Number(r.toFixed(2))}function b(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),i=u;i>0;i-=1){var a=p(r),s=h((0,o.uA)({h:g(a,i,!0),s:v(a,i,!0),v:y(a,i,!0)}));n.push(s)}n.push(h(r));for(var l=1;l<=d;l+=1){var c=p(r),b=h((0,o.uA)({h:g(c,l),s:v(c,l),v:y(c,l)}));n.push(b)}return"dark"===t.theme?f.map(function(e){var r=e.index,i=e.opacity;return h(m((0,o.uA)(t.backgroundColor||"#141414"),(0,o.uA)(n[r]),100*i))}):n}var w={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},S={},x={};Object.keys(w).forEach(function(e){S[e]=b(w[e]),S[e].primary=S[e][5],x[e]=b(w[e],{theme:"dark",backgroundColor:"#141414"}),x[e].primary=x[e][5]});var E=S.red,C=S.volcano,_=S.gold,k=S.orange,O=S.yellow,A=S.lime,I=S.green,P=S.cyan,T=S.blue,R=S.geekblue,M=S.purple,N=S.magenta,j=S.grey,D=S.grey},38774:function(e,t,n){"use strict";n.d(t,{iN:function(){return I},R_:function(){return b},EV:function(){return C},Ti:function(){return N},ez:function(){return w}});var r=n(20117),o=n(76981),i=2,a=.16,s=.05,l=.05,c=.15,u=5,d=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function p(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function h(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function m(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function g(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t)<0?r+=360:r>=360&&(r-=360),r}function v(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-a*t:t===d?e.s+a:e.s+s*t)>1&&(r=1),n&&t===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)))}function y(e,t,n){var r;return(r=n?e.v+l*t:e.v-c*t)>1&&(r=1),Number(r.toFixed(2))}function b(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),i=u;i>0;i-=1){var a=p(r),s=h((0,o.uA)({h:g(a,i,!0),s:v(a,i,!0),v:y(a,i,!0)}));n.push(s)}n.push(h(r));for(var l=1;l<=d;l+=1){var c=p(r),b=h((0,o.uA)({h:g(c,l),s:v(c,l),v:y(c,l)}));n.push(b)}return"dark"===t.theme?f.map(function(e){var r=e.index,i=e.opacity;return h(m((0,o.uA)(t.backgroundColor||"#141414"),(0,o.uA)(n[r]),100*i))}):n}var w={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},S=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];S.primary=S[5];var x=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];x.primary=x[5];var E=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];E.primary=E[5];var C=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];C.primary=C[5];var _=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];_.primary=_[5];var k=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];k.primary=k[5];var O=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];O.primary=O[5];var A=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];A.primary=A[5];var I=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];I.primary=I[5];var P=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];P.primary=P[5];var T=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];T.primary=T[5];var R=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];R.primary=R[5];var M=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];M.primary=M[5];var N={red:S,volcano:x,orange:E,gold:C,yellow:_,lime:k,green:O,cyan:A,blue:I,geekblue:P,purple:T,magenta:R,grey:M},j=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];j.primary=j[5];var D=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];D.primary=D[5];var L=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];L.primary=L[5];var B=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];B.primary=B[5];var Z=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];Z.primary=Z[5];var F=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];F.primary=F[5];var z=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];z.primary=z[5];var U=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];U.primary=U[5];var H=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];H.primary=H[5];var q=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];q.primary=q[5];var V=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];V.primary=V[5];var W=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];W.primary=W[5];var $=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];$.primary=$[5]},39564:function(e,t,n){"use strict";n.d(t,{rb:function(){return j},IX:function(){return _}});var r=n(24335),o=n(7732),i=n(52986),a=n(33581),s=n(44194),l=n(82698),c=n(10342),u=n(77009),d=n(45534),f=n(81065),p=n(17615),h=(0,u.Z)(function e(){(0,c.Z)(this,e)}),m="CALC_UNIT",g=RegExp(m,"g");function v(e){return"number"==typeof e?"".concat(e).concat(m):e}var y=function(e){(0,f.Z)(n,e);var t=(0,p.Z)(n);function n(e,o){(0,c.Z)(this,n),a=t.call(this),(0,i.Z)((0,d.Z)(a),"result",""),(0,i.Z)((0,d.Z)(a),"unitlessCssVar",void 0),(0,i.Z)((0,d.Z)(a),"lowPriority",void 0);var a,s=(0,r.Z)(e);return a.unitlessCssVar=o,e instanceof n?a.result="(".concat(e.result,")"):"number"===s?a.result=v(e):"string"===s&&(a.result=e),a}return(0,u.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," + ").concat(v(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," - ").concat(v(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return("boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(g,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),n}(h),b=function(e){(0,f.Z)(n,e);var t=(0,p.Z)(n);function n(e){var r;return(0,c.Z)(this,n),r=t.call(this),(0,i.Z)((0,d.Z)(r),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,u.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(h),w=function(e,t){var n="css"===e?y:b;return function(e){return new n(e,t)}},S=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};n(91324);var x=function(e,t,n,r){var i=(0,a.Z)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t,n=(0,o.Z)(e,2),r=n[0],a=n[1];(null!=i&&i[r]||null!=i&&i[a])&&(null!==(t=i[a])&&void 0!==t||(i[a]=null==i?void 0:i[r]))});var s=(0,a.Z)((0,a.Z)({},n),i);return Object.keys(s).forEach(function(e){s[e]===t[e]&&delete s[e]}),s},E="undefined"!=typeof CSSINJS_STATISTIC,C=!0;function _(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!E)return Object.assign.apply(Object,[{}].concat(t));C=!1;var o={};return t.forEach(function(e){"object"===(0,r.Z)(e)&&Object.keys(e).forEach(function(t){Object.defineProperty(o,t,{configurable:!0,enumerable:!0,get:function(){return e[t]}})})}),C=!0,o}var k={};function O(){}var A=function(e){var t,n=e,r=O;return E&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:function(e,n){if(C){var r;null===(r=t)||void 0===r||r.add(n)}return e[n]}}),r=function(e,n){var r;k[e]={global:Array.from(t),component:(0,a.Z)((0,a.Z)({},null===(r=k[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:r}},I=function(e,t,n){if("function"==typeof n){var r;return n(_(t,null!==(r=t[e])&&void 0!==r?r:{}))}return null!=n?n:{}},P=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return"max(".concat(t.map(function(e){return(0,l.bf)(e)}).join(","),")")},min:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return"min(".concat(t.map(function(e){return(0,l.bf)(e)}).join(","),")")}}},T=6e5,R=new(function(){function e(){(0,c.Z)(this,e),(0,i.Z)(this,"map",new Map),(0,i.Z)(this,"objectIDMap",new WeakMap),(0,i.Z)(this,"nextID",0),(0,i.Z)(this,"lastAccessBeat",new Map),(0,i.Z)(this,"accessBeat",0)}return(0,u.Z)(e,[{key:"set",value:function(e,t){this.clear();var n=this.getCompositeKey(e);this.map.set(n,t),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),n=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(e){var t=this;return e.map(function(e){return e&&"object"===(0,r.Z)(e)?"obj_".concat(t.getObjectID(e)):"".concat((0,r.Z)(e),"_").concat(e)}).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach(function(n,r){t-n>T&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}()),M=function(e,t){return s.useMemo(function(){var n=R.get(t);if(n)return n;var r=e();return R.set(t,r),r},t)},N=function(){return{}},j=function(e){var t=e.useCSP,n=void 0===t?N:t,c=e.useToken,u=e.usePrefix,d=e.getResetStyles,f=e.getCommonStyle,p=e.getCompUnitless;function h(e,t,n){var r=n.unitless,o=n.injectStyle,i=void 0===o||o,a=n.prefixToken,u=n.ignore,d=function(o){var i=o.rootCls,s=o.cssVar,d=void 0===s?{}:s,f=c().realToken;return(0,l.CI)({path:[e],prefix:d.prefix,key:d.key,unitless:r,ignore:u,token:f,scope:i},function(){var r=I(e,f,t),o=x(e,f,r,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(r).forEach(function(e){o[a(e)]=o[e],delete o[e]}),o}),null};return function(t){var n=c().cssVar;return[function(r){return i&&n?s.createElement(s.Fragment,null,s.createElement(d,{rootCls:t,cssVar:n,component:e}),r):r},null==n?void 0:n.key]}}function m(t,i,s){var p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},h=Array.isArray(t)?t:[t,t],m=(0,o.Z)(h,1)[0],g=h.join("-"),v=e.layer||{name:"antd"};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=c(),h=o.theme,y=o.realToken,b=o.hashId,E=o.token,C=o.cssVar,k=u(),O=k.rootPrefixCls,T=k.iconPrefixCls,R=n(),N=C?"css":"js",j=M(function(){var e=new Set;return C&&Object.keys(p.unitless||{}).forEach(function(t){e.add((0,l.ks)(t,C.prefix)),e.add((0,l.ks)(t,S(m,C.prefix)))}),w(N,e)},[N,m,null==C?void 0:C.prefix]),D=P(N),L=D.max,B=D.min,Z={theme:h,token:E,hashId:b,nonce:function(){return R.nonce},clientOnly:p.clientOnly,layer:v,order:p.order||-999};return(0,l.xy)((0,a.Z)((0,a.Z)({},Z),{},{clientOnly:!1,path:["Shared",O]}),function(){return"function"==typeof d?d(E):[]}),[(0,l.xy)((0,a.Z)((0,a.Z)({},Z),{},{path:[g,e,T]}),function(){if(!1===p.injectStyle)return[];var n=A(E),o=n.token,a=n.flush,c=I(m,y,s),u=".".concat(e),d=x(m,y,c,{deprecatedTokens:p.deprecatedTokens});C&&c&&"object"===(0,r.Z)(c)&&Object.keys(c).forEach(function(e){c[e]="var(".concat((0,l.ks)(e,S(m,C.prefix)),")")});var h=_(o,{componentCls:u,prefixCls:e,iconCls:".".concat(T),antCls:".".concat(O),calc:j,max:L,min:B},C?c:d),g=i(h,{hashId:b,prefixCls:e,rootPrefixCls:O,iconPrefixCls:T});a(m,d);var v="function"==typeof f?f(h,e,t,p.resetFont):null;return[!1===p.resetStyle?null:v,g]}),b]}}return{genStyleHooks:function(e,t,n,r){var s=Array.isArray(e)?e[0]:e;function l(e){return"".concat(String(s)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var c=(null==r?void 0:r.unitless)||{},u="function"==typeof p?p(e):{},d=(0,a.Z)((0,a.Z)({},u),{},(0,i.Z)({},l("zIndexPopup"),!0));Object.keys(c).forEach(function(e){d[l(e)]=c[e]});var f=(0,a.Z)((0,a.Z)({},r),{},{unitless:d,prefixToken:l}),g=m(e,t,n,f),v=h(s,n,f);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=g(e,t),r=(0,o.Z)(n,2)[1],i=v(t),a=(0,o.Z)(i,2);return[a[0],r,a[1]]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=m(e,t,n,(0,a.Z)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,n=e.rootCls,r=void 0===n?t:n;return o(t,r),null}},genComponentStyleHook:m}}},72335:function(e,t,n){"use strict";n.d(t,{jG:function(){return T},fp:function(){return ec},xy:function(){return tl}});var r,o,i=n(84896),a=n(37988),s=n(4013),l=n(14068),c=n(77116),u=n(75246),d=n(44194),f=n.t(d,2);n(9596);var p=n(6459),h=n(99358),m=n(60545),g="%";function v(e){return e.join(g)}var y=function(){function e(t){(0,h.Z)(this,e),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=t}return(0,m.Z)(e,[{key:"get",value:function(e){return this.opGet(v(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(v(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}(),b="data-token-hash",w="data-css-hash",S="__cssinjs_instance__";function x(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(w,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(t){t[S]=t[S]||e,t[S]===e&&document.head.insertBefore(t,n)});var r={};Array.from(document.querySelectorAll("style[".concat(w,"]"))).forEach(function(t){var n,o=t.getAttribute(w);r[o]?t[S]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0})}return new y(e)}var E=d.createContext({hashPriority:"low",cache:x(),defaultCache:!0}),C=n(58611),_=n(8775);function k(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var O=function(){function e(){(0,h.Z)(this,e),(0,i.Z)(this,"cache",void 0),(0,i.Z)(this,"keys",void 0),(0,i.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,m.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t;o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e)}else o=void 0}),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(e,t){var n=(0,a.Z)(e,2)[1];return r.internalGet(t)[1]<n?[t,r.internalGet(t)[1]]:e},[this.keys[0],this.cacheCallTimes]),i=(0,a.Z)(o,1)[0];this.delete(i)}this.keys.push(t)}var s=this.cache;t.forEach(function(e,o){if(o===t.length-1)s.set(e,{value:[n,r.cacheCallTimes++]});else{var i=s.get(e);i?i.map||(i.map=new Map):s.set(e,{map:new Map}),s=s.get(e).map}})}},{key:"deleteByPath",value:function(e,t){var n,r=e.get(t[0]);if(1===t.length)return r.map?e.set(t[0],{map:r.map}):e.delete(t[0]),null===(n=r.value)||void 0===n?void 0:n[0];var o=this.deleteByPath(r.map,t.slice(1));return r.map&&0!==r.map.size||r.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter(function(t){return!k(t,e)}),this.deleteByPath(this.cache,e)}}]),e}();(0,i.Z)(O,"MAX_CACHE_SIZE",20),(0,i.Z)(O,"MAX_CACHE_OFFSET",5);var A=0,I=function(){function e(t){(0,h.Z)(this,e),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=A,0===t.length&&(0,p.Kp)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),A+=1}return(0,m.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),P=new O;function T(e){var t=Array.isArray(e)?e:[e];return P.has(t)||P.set(t,new I(t)),P.get(t)}var R=new WeakMap,M={};function N(e,t){for(var n=R,r=0;r<t.length;r+=1){var o=t[r];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(M)||n.set(M,e()),n.get(M)}var j=new WeakMap;function D(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=j.get(e)||"";return n||(Object.keys(e).forEach(function(r){var o=e[r];n+=r,o instanceof I?n+=o.id:o&&"object"===(0,C.Z)(o)?n+=D(o,t):n+=o}),t&&(n=(0,c.Z)(n)),j.set(e,n)),n}function L(e,t){return(0,c.Z)("".concat(t,"_").concat(D(e,!0)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var B=(0,_.Z)();function Z(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(a)return e;var s=(0,l.Z)((0,l.Z)({},o),{},(r={},(0,i.Z)(r,b,t),(0,i.Z)(r,w,n),r)),c=Object.keys(s).map(function(e){var t=s[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"<style ".concat(c,">").concat(e,"</style>")}var F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},z=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map(function(e){var t=(0,a.Z)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):""},U=function(e,t,n){var r={},o={};return Object.entries(e).forEach(function(e){var t=(0,a.Z)(e,2),i=t[0],s=t[1];if(null!=n&&null!==(l=n.preserve)&&void 0!==l&&l[i])o[i]=s;else if(("string"==typeof s||"number"==typeof s)&&!(null!=n&&null!==(c=n.ignore)&&void 0!==c&&c[i])){var l,c,u,d=F(i,null==n?void 0:n.prefix);r[d]="number"!=typeof s||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[i]?String(s):"".concat(s,"px"),o[i]="var(".concat(d,")")}}),[o,z(r,t,{scope:null==n?void 0:n.scope})]},H=(0,_.Z)()?d.useLayoutEffect:d.useEffect,q=function(e,t){var n=d.useRef(!0);H(function(){return e(n.current)},t),H(function(){return n.current=!1,function(){n.current=!0}},[])},V=(0,l.Z)({},f).useInsertionEffect,W=function(e,t,n){d.useMemo(e,n),q(function(){return t(!0)},n)},$=V?function(e,t,n){return V(function(){return e(),t()},n)}:W,G=(0,l.Z)({},f).useInsertionEffect,K=function(e){var t=[],n=!1;function r(e){n||t.push(e)}return d.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(e){return e()})}},e),r},Y=function(){return function(e){e()}},X=void 0!==G?K:Y,Q=function(){return!1};function J(e,t,n,r,o){var i=d.useContext(E).cache,l=v([e].concat((0,s.Z)(t))),c=X([l]);Q();var u=function(e){i.opUpdate(l,function(t){var r=t||[void 0,void 0],o=(0,a.Z)(r,2),i=o[0],s=[void 0===i?0:i,o[1]||n()];return e?e(s):s})};d.useMemo(function(){u()},[l]);var f=i.opGet(l)[1];return $(function(){null==o||o(f)},function(e){return u(function(t){var n=(0,a.Z)(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(f)),[r+1,i]}),function(){i.opUpdate(l,function(t){var n=t||[],o=(0,a.Z)(n,2),s=o[0],u=void 0===s?0:s,d=o[1];return 0==u-1?(c(function(){(e||!i.opGet(l))&&(null==r||r(d,!1))}),null):[u-1,d]})}},[l]),f}var ee={},et="css",en=new Map;function er(e){en.set(e,(en.get(e)||0)+1)}function eo(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(b,'="').concat(e,'"]')).forEach(function(e){if(e[S]===t){var n;null===(n=e.parentNode)||void 0===n||n.removeChild(e)}})}var ei=0;function ea(e,t){en.set(e,(en.get(e)||0)-1);var n=Array.from(en.keys()),r=n.filter(function(e){return 0>=(en.get(e)||0)});n.length-r.length>ei&&r.forEach(function(e){eo(e,t),en.delete(e)})}var es=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,l.Z)((0,l.Z)({},o),t);return r&&(i=r(i)),i},el="token";function ec(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,d.useContext)(E),o=r.cache.instanceId,i=r.container,f=n.salt,p=void 0===f?"":f,h=n.override,m=void 0===h?ee:h,g=n.formatToken,v=n.getComputedToken,y=n.cssVar,x=N(function(){return Object.assign.apply(Object,[{}].concat((0,s.Z)(t)))},t),C=D(x),_=D(m),k=y?D(y):"";return J(el,[p,e.id,C,_,k],function(){var t,n=v?v(x,m,e):es(x,m,e,g),r=(0,l.Z)({},n),o="";if(y){var i=U(n,y.key,{prefix:y.prefix,ignore:y.ignore,unitless:y.unitless,preserve:y.preserve}),s=(0,a.Z)(i,2);n=s[0],o=s[1]}var u=L(n,p);n._tokenKey=u,r._tokenKey=L(r,p);var d=null!==(t=null==y?void 0:y.key)&&void 0!==t?t:u;n._themeKey=d,er(d);var f="".concat(et,"-").concat((0,c.Z)(u));return n._hashId=f,[n,f,r,o,(null==y?void 0:y.key)||""]},function(e){ea(e[0]._themeKey,o)},function(e){var t=(0,a.Z)(e,4),n=t[0],r=t[3];if(y&&r){var s=(0,u.hq)(r,(0,c.Z)("css-variables-".concat(n._themeKey)),{mark:w,prepend:"queue",attachTo:i,priority:-999});s[S]=o,s.setAttribute(b,n._themeKey)}})}var eu=function(e,t,n){var r=(0,a.Z)(e,5),o=r[2],i=r[3],s=r[4],l=(n||{}).plain;if(!i)return null;var c=o._tokenKey,u=-999,d=Z(i,s,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},l);return[u,c,d]},ed=n(62632),ef=n(82785),ep="comm",eh="rule",em="decl",eg="@import",ev="@keyframes",ey=Math.abs,eb=String.fromCharCode;function ew(e){return e.trim()}function eS(e,t,n){return e.replace(t,n)}function ex(e,t){return e.indexOf(t)}function eE(e,t){return 0|e.charCodeAt(t)}function eC(e,t,n){return e.slice(t,n)}function e_(e){return e.length}function ek(e){return e.length}function eO(e,t){return t.push(e),e}function eA(e,t){for(var n="",r=ek(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function eI(e,t,n,r){switch(e.type){case eg:case em:return e.return=e.return||e.value;case ep:return"";case ev:return e.return=e.value+"{"+eA(e.children,r)+"}";case eh:e.value=e.props.join(",")}return e_(n=eA(e.children,r))?e.return=e.value+"{"+n+"}":""}var eP=1,eT=1,eR=0,eM=0,eN=0,ej="";function eD(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:eP,column:eT,length:a,return:""}}function eL(){return eN}function eB(){return eN=eM>0?eE(ej,--eM):0,eT--,10===eN&&(eT=1,eP--),eN}function eZ(){return eN=eM<eR?eE(ej,eM++):0,eT++,10===eN&&(eT=1,eP++),eN}function eF(){return eE(ej,eM)}function ez(){return eM}function eU(e,t){return eC(ej,e,t)}function eH(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 eq(e){return eP=eT=1,eR=e_(ej=e),eM=0,[]}function eV(e){return ej="",e}function eW(e){return ew(eU(eM-1,eK(91===e?e+2:40===e?e+1:e)))}function e$(e){for(;eN=eF();)if(eN<33)eZ();else break;return eH(e)>2||eH(eN)>3?"":" "}function eG(e,t){for(;--t&&eZ()&&!(eN<48)&&!(eN>102)&&(!(eN>57)||!(eN<65))&&(!(eN>70)||!(eN<97)););return eU(e,ez()+(t<6&&32==eF()&&32==eZ()))}function eK(e){for(;eZ();)switch(eN){case e:return eM;case 34:case 39:34!==e&&39!==e&&eK(eN);break;case 40:41===e&&eK(e);break;case 92:eZ()}return eM}function eY(e,t){for(;eZ();)if(e+eN===57)break;else if(e+eN===84&&47===eF())break;return"/*"+eU(t,eM-1)+"*"+eb(47===e?e:eZ())}function eX(e){for(;!eH(eF());)eZ();return eU(e,eM)}function eQ(e){return eV(eJ("",null,null,null,[""],e=eq(e),0,[0],e))}function eJ(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,m=1,g=1,v=1,y=0,b="",w=o,S=i,x=r,E=b;g;)switch(h=y,y=eZ()){case 40:if(108!=h&&58==eE(E,d-1)){-1!=ex(E+=eS(eW(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=eW(y);break;case 9:case 10:case 13:case 32:E+=e$(h);break;case 92:E+=eG(ez()-1,7);continue;case 47:switch(eF()){case 42:case 47:eO(e1(eY(eZ(),ez()),t,n),l);break;default:E+="/"}break;case 123*m:s[c++]=e_(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:-1==v&&(E=eS(E,/\f/g,"")),p>0&&e_(E)-d&&eO(p>32?e2(E+";",r,n,d-1):e2(eS(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(eO(x=e0(E,t,n,c,u,o,s,b,w=[],S=[],d),i),123===y){if(0===u)eJ(E,t,x,x,w,i,d,s,S);else switch(99===f&&110===eE(E,3)?100:f){case 100:case 109:case 115:eJ(e,x,x,r&&eO(e0(e,x,x,0,0,o,s,b,o,w=[],d),S),o,S,d,s,r?w:S);break;default:eJ(E,x,x,x,[""],S,0,s,S)}}}c=u=p=0,m=v=1,b=E="",d=a;break;case 58:d=1+e_(E),p=h;default:if(m<1){if(123==y)--m;else if(125==y&&0==m++&&125==eB())continue}switch(E+=eb(y),y*m){case 38:v=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(e_(E)-1)*v,v=1;break;case 64:45===eF()&&(E+=eW(eZ())),f=eF(),u=d=e_(b=E+=eX(ez())),y++;break;case 45:45===h&&2==e_(E)&&(m=0)}}return i}function e0(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,f=0===o?i:[""],p=ek(f),h=0,m=0,g=0;h<r;++h)for(var v=0,y=eC(e,d+1,d=ey(m=a[h])),b=e;v<p;++v)(b=ew(m>0?f[v]+" "+y:eS(y,/&\f/g,f[v])))&&(l[g++]=b);return eD(e,t,n,0===o?eh:s,l,c,u)}function e1(e,t,n){return eD(e,t,n,ep,eb(eL()),eC(e,2,-2),0)}function e2(e,t,n,r){return eD(e,t,n,em,eC(e,0,r),eC(e,r+1,-1),r)}var e3="data-ant-cssinjs-cache-path",e4="_FILE_STYLE__",e5=!0;function e6(){if(!r&&(r={},(0,_.Z)())){var e,t=document.createElement("div");t.className=e3,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var n=getComputedStyle(t).content||"";(n=n.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),n=(0,a.Z)(t,2),o=n[0],i=n[1];r[o]=i});var o=document.querySelector("style[".concat(e3,"]"));o&&(e5=!1,null===(e=o.parentNode)||void 0===e||e.removeChild(o)),document.body.removeChild(t)}}function e8(e){return e6(),!!r[e]}function e7(e){var t=r[e],n=null;if(t&&(0,_.Z)()){if(e5)n=e4;else{var o=document.querySelector("style[".concat(w,'="').concat(r[e],'"]'));o?n=o.innerHTML:delete r[e]}}return[n,t]}var e9="_skip_check_",te="_multi_value_";function tt(e){return eA(eQ(e),eI).replace(/\{%%%\:[^;];}/g,";")}function tn(e){return"object"===(0,C.Z)(e)&&e&&(e9 in e||te in e)}function tr(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat((0,s.Z)(n.slice(1))).join(" ")}).join(",")}var to=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,i=r.injectHash,c=r.parentSelectors,u=n.hashId,d=n.layer,f=(n.path,n.hashPriority),p=n.transformers,h=void 0===p?[]:p;n.linters;var m="",g={};function v(t){var r=t.getName(u);if(!g[r]){var o=e(t.style,n,{root:!1,parentSelectors:c}),i=(0,a.Z)(o,1)[0];g[r]="@keyframes ".concat(t.getName(u)).concat(i)}}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach(function(e){Array.isArray(e)?y(e,t):e&&t.push(e)}),t}return y(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)m+="".concat(r,"\n");else if(r._keyframe)v(r);else{var d=h.reduce(function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e},r);Object.keys(d).forEach(function(t){var r=d[t];if("object"!==(0,C.Z)(r)||!r||"animationName"===t&&r._keyframe||tn(r)){function p(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;ef.Z[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(v(t),r=t.getName(u)),m+="".concat(n,":").concat(r,";")}var h,y=null!==(h=null==r?void 0:r.value)&&void 0!==h?h:r;"object"===(0,C.Z)(r)&&null!=r&&r[te]&&Array.isArray(y)?y.forEach(function(e){p(t,e)}):p(t,y)}else{var b=!1,w=t.trim(),S=!1;(o||i)&&u?w.startsWith("@")?b=!0:w=tr(t,u,f):o&&!u&&("&"===w||""===w)&&(w="",S=!0);var x=e(r,n,{root:S,injectHash:b,parentSelectors:[].concat((0,s.Z)(c),[w])}),E=(0,a.Z)(x,2),_=E[0],k=E[1];g=(0,l.Z)((0,l.Z)({},g),k),m+="".concat(w).concat(_)}})}}),o?d&&(m="@layer ".concat(d.name," {").concat(m,"}"),d.dependencies&&(g["@layer ".concat(d.name)]=d.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(d.name,";")}).join("\n"))):m="{".concat(m,"}"),[m,g]};function ti(e,t){return(0,c.Z)("".concat(e.join("%")).concat(t))}function ta(){return null}var ts="style";function tl(e,t){var n=e.token,r=e.path,o=e.hashId,c=e.layer,f=e.nonce,p=e.clientOnly,h=e.order,m=void 0===h?0:h,g=d.useContext(E),v=g.autoClear,y=(g.mock,g.defaultCache),x=g.hashPriority,C=g.container,_=g.ssrInline,k=g.transformers,O=g.linters,A=g.cache,I=g.layer,P=n._tokenKey,T=[P];I&&T.push("layer"),T.push.apply(T,(0,s.Z)(r));var R=B,M=J(ts,T,function(){var e=T.join("|");if(e8(e)){var n=e7(e),i=(0,a.Z)(n,2),s=i[0],l=i[1];if(s)return[s,P,l,{},p,m]}var u=to(t(),{hashId:o,hashPriority:x,layer:I?c:void 0,path:r.join("-"),transformers:k,linters:O}),d=(0,a.Z)(u,2),f=d[0],h=d[1],g=tt(f),v=ti(T,g);return[g,P,v,h,p,m]},function(e,t){var n=(0,a.Z)(e,3)[2];(t||v)&&B&&(0,u.jL)(n,{mark:w})},function(e){var t=(0,a.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(R&&n!==e4){var i={mark:w,prepend:!I&&"queue",attachTo:C,priority:m},s="function"==typeof f?f():f;s&&(i.csp={nonce:s});var c=[],d=[];Object.keys(o).forEach(function(e){e.startsWith("@layer")?c.push(e):d.push(e)}),c.forEach(function(e){(0,u.hq)(tt(o[e]),"_layer-".concat(e),(0,l.Z)((0,l.Z)({},i),{},{prepend:!0}))});var p=(0,u.hq)(n,r,i);p[S]=A.instanceId,p.setAttribute(b,P),d.forEach(function(e){(0,u.hq)(tt(o[e]),"_effect-".concat(e),i)})}}),N=(0,a.Z)(M,3),j=N[0],D=N[1],L=N[2];return function(e){var t,n;return t=_&&!R&&y?d.createElement("style",(0,ed.Z)({},(n={},(0,i.Z)(n,b,D),(0,i.Z)(n,w,L),n),{dangerouslySetInnerHTML:{__html:j}})):d.createElement(ta,null),d.createElement(d.Fragment,null,t,e)}}var tc=function(e,t,n){var r=(0,a.Z)(e,6),o=r[0],i=r[1],s=r[2],l=r[3],c=r[4],u=r[5],d=(n||{}).plain;if(c)return null;var f=o,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return f=Z(o,i,s,p,d),l&&Object.keys(l).forEach(function(e){if(!t[e]){t[e]=!0;var n=Z(tt(l[e]),i,"_effect-".concat(e),p,d);e.startsWith("@layer")?f=n+f:f+=n}}),[u,s,f]},tu="cssVar",td=function(e,t,n){var r=(0,a.Z)(e,4),o=r[1],i=r[2],s=r[3],l=(n||{}).plain;if(!o)return null;var c=-999,u=Z(o,s,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},l);return[c,i,u]};function tf(e){return e.notSplit=!0,e}o={},(0,i.Z)(o,ts,tc),(0,i.Z)(o,el,eu),(0,i.Z)(o,tu,td),tf(["borderTop","borderBottom"]),tf(["borderTop"]),tf(["borderBottom"]),tf(["borderLeft","borderRight"]),tf(["borderLeft"]),tf(["borderRight"])},82698:function(e,t,n){"use strict";n.d(t,{E4:function(){return tp},jG:function(){return P},t2:function(){return ea},ks:function(){return F},bf:function(){return B},CI:function(){return tf},fp:function(){return el},xy:function(){return tl}});var r,o=n(52986),i=n(7732),a=n(70826),s=n(33581),l=n(77116),c=n(8042),u=n(44194),d=n.t(u,2);n(9188),n(21608);var f=n(10342),p=n(77009),h="%";function m(e){return e.join(h)}var g=function(){function e(t){(0,f.Z)(this,e),(0,o.Z)(this,"instanceId",void 0),(0,o.Z)(this,"cache",new Map),this.instanceId=t}return(0,p.Z)(e,[{key:"get",value:function(e){return this.opGet(m(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(m(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}(),v="data-token-hash",y="data-css-hash",b="__cssinjs_instance__";function w(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(y,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(t){t[b]=t[b]||e,t[b]===e&&document.head.insertBefore(t,n)});var r={};Array.from(document.querySelectorAll("style[".concat(y,"]"))).forEach(function(t){var n,o=t.getAttribute(y);r[o]?t[b]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0})}return new g(e)}var S=u.createContext({hashPriority:"low",cache:w(),defaultCache:!0}),x=n(24335),E=n(17680);function C(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var _=function(){function e(){(0,f.Z)(this,e),(0,o.Z)(this,"cache",void 0),(0,o.Z)(this,"keys",void 0),(0,o.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,p.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t;o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e)}else o=void 0}),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(e,t){var n=(0,i.Z)(e,2)[1];return r.internalGet(t)[1]<n?[t,r.internalGet(t)[1]]:e},[this.keys[0],this.cacheCallTimes]),a=(0,i.Z)(o,1)[0];this.delete(a)}this.keys.push(t)}var s=this.cache;t.forEach(function(e,o){if(o===t.length-1)s.set(e,{value:[n,r.cacheCallTimes++]});else{var i=s.get(e);i?i.map||(i.map=new Map):s.set(e,{map:new Map}),s=s.get(e).map}})}},{key:"deleteByPath",value:function(e,t){var n,r=e.get(t[0]);if(1===t.length)return r.map?e.set(t[0],{map:r.map}):e.delete(t[0]),null===(n=r.value)||void 0===n?void 0:n[0];var o=this.deleteByPath(r.map,t.slice(1));return r.map&&0!==r.map.size||r.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter(function(t){return!C(t,e)}),this.deleteByPath(this.cache,e)}}]),e}();(0,o.Z)(_,"MAX_CACHE_SIZE",20),(0,o.Z)(_,"MAX_CACHE_OFFSET",5);var k=n(6103),O=0,A=function(){function e(t){(0,f.Z)(this,e),(0,o.Z)(this,"derivatives",void 0),(0,o.Z)(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=O,0===t.length&&(0,k.Kp)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),O+=1}return(0,p.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),I=new _;function P(e){var t=Array.isArray(e)?e:[e];return I.has(t)||I.set(t,new A(t)),I.get(t)}var T=new WeakMap,R={};function M(e,t){for(var n=T,r=0;r<t.length;r+=1){var o=t[r];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(R)||n.set(R,e()),n.get(R)}var N=new WeakMap;function j(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=N.get(e)||"";return n||(Object.keys(e).forEach(function(r){var o=e[r];n+=r,o instanceof A?n+=o.id:o&&"object"===(0,x.Z)(o)?n+=j(o,t):n+=o}),t&&(n=(0,l.Z)(n)),N.set(e,n)),n}function D(e,t){return(0,l.Z)("".concat(t,"_").concat(j(e,!0)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var L=(0,E.Z)();function B(e){return"number"==typeof e?"".concat(e,"px"):e}function Z(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(i)return e;var a=(0,s.Z)((0,s.Z)({},r),{},(0,o.Z)((0,o.Z)({},v,t),y,n)),l=Object.keys(a).map(function(e){var t=a[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"<style ".concat(l,">").concat(e,"</style>")}var F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},z=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map(function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):""},U=function(e,t,n){var r={},o={};return Object.entries(e).forEach(function(e){var t=(0,i.Z)(e,2),a=t[0],s=t[1];if(null!=n&&null!==(l=n.preserve)&&void 0!==l&&l[a])o[a]=s;else if(("string"==typeof s||"number"==typeof s)&&!(null!=n&&null!==(c=n.ignore)&&void 0!==c&&c[a])){var l,c,u,d=F(a,null==n?void 0:n.prefix);r[d]="number"!=typeof s||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[a]?String(s):"".concat(s,"px"),o[a]="var(".concat(d,")")}}),[o,z(r,t,{scope:null==n?void 0:n.scope})]},H=n(75232),q=(0,s.Z)({},d).useInsertionEffect,V=function(e,t,n){u.useMemo(e,n),(0,H.Z)(function(){return t(!0)},n)},W=q?function(e,t,n){return q(function(){return e(),t()},n)}:V,$=(0,s.Z)({},d).useInsertionEffect,G=function(e){var t=[],n=!1;function r(e){n||t.push(e)}return u.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(e){return e()})}},e),r},K=function(){return function(e){e()}},Y=void 0!==$?G:K,X=function(){return!1};function Q(e,t,n,r,o){var s=u.useContext(S).cache,l=m([e].concat((0,a.Z)(t))),c=Y([l]);X();var d=function(e){s.opUpdate(l,function(t){var r=t||[void 0,void 0],o=(0,i.Z)(r,2),a=o[0],s=[void 0===a?0:a,o[1]||n()];return e?e(s):s})};u.useMemo(function(){d()},[l]);var f=s.opGet(l)[1];return W(function(){null==o||o(f)},function(e){return d(function(t){var n=(0,i.Z)(t,2),r=n[0],a=n[1];return e&&0===r&&(null==o||o(f)),[r+1,a]}),function(){s.opUpdate(l,function(t){var n=t||[],o=(0,i.Z)(n,2),a=o[0],u=void 0===a?0:a,d=o[1];return 0==u-1?(c(function(){(e||!s.opGet(l))&&(null==r||r(d,!1))}),null):[u-1,d]})}},[l]),f}var J={},ee="css",et=new Map;function en(e){et.set(e,(et.get(e)||0)+1)}function er(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(v,'="').concat(e,'"]')).forEach(function(e){if(e[b]===t){var n;null===(n=e.parentNode)||void 0===n||n.removeChild(e)}})}var eo=0;function ei(e,t){et.set(e,(et.get(e)||0)-1);var n=Array.from(et.keys()),r=n.filter(function(e){return 0>=(et.get(e)||0)});n.length-r.length>eo&&r.forEach(function(e){er(e,t),et.delete(e)})}var ea=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,s.Z)((0,s.Z)({},o),t);return r&&(i=r(i)),i},es="token";function el(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,u.useContext)(S),o=r.cache.instanceId,d=r.container,f=n.salt,p=void 0===f?"":f,h=n.override,m=void 0===h?J:h,g=n.formatToken,w=n.getComputedToken,x=n.cssVar,E=M(function(){return Object.assign.apply(Object,[{}].concat((0,a.Z)(t)))},t),C=j(E),_=j(m),k=x?j(x):"";return Q(es,[p,e.id,C,_,k],function(){var t,n=w?w(E,m,e):ea(E,m,e,g),r=(0,s.Z)({},n),o="";if(x){var a=U(n,x.key,{prefix:x.prefix,ignore:x.ignore,unitless:x.unitless,preserve:x.preserve}),c=(0,i.Z)(a,2);n=c[0],o=c[1]}var u=D(n,p);n._tokenKey=u,r._tokenKey=D(r,p);var d=null!==(t=null==x?void 0:x.key)&&void 0!==t?t:u;n._themeKey=d,en(d);var f="".concat(ee,"-").concat((0,l.Z)(u));return n._hashId=f,[n,f,r,o,(null==x?void 0:x.key)||""]},function(e){ei(e[0]._themeKey,o)},function(e){var t=(0,i.Z)(e,4),n=t[0],r=t[3];if(x&&r){var a=(0,c.hq)(r,(0,l.Z)("css-variables-".concat(n._themeKey)),{mark:y,prepend:"queue",attachTo:d,priority:-999});a[b]=o,a.setAttribute(v,n._themeKey)}})}var ec=function(e,t,n){var r=(0,i.Z)(e,5),o=r[2],a=r[3],s=r[4],l=(n||{}).plain;if(!a)return null;var c=o._tokenKey,u=-999,d=Z(a,s,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},l);return[u,c,d]},eu=n(27820),ed=n(82785),ef="comm",ep="rule",eh="decl",em="@import",eg="@keyframes",ev="@layer",ey=Math.abs,eb=String.fromCharCode;function ew(e){return e.trim()}function eS(e,t,n){return e.replace(t,n)}function ex(e,t,n){return e.indexOf(t,n)}function eE(e,t){return 0|e.charCodeAt(t)}function eC(e,t,n){return e.slice(t,n)}function e_(e){return e.length}function ek(e){return e.length}function eO(e,t){return t.push(e),e}function eA(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function eI(e,t,n,r){switch(e.type){case ev:if(e.children.length)break;case em:case eh:return e.return=e.return||e.value;case ef:return"";case eg:return e.return=e.value+"{"+eA(e.children,r)+"}";case ep:if(!e_(e.value=e.props.join(",")))return""}return e_(n=eA(e.children,r))?e.return=e.value+"{"+n+"}":""}var eP=1,eT=1,eR=0,eM=0,eN=0,ej="";function eD(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:eP,column:eT,length:a,return:"",siblings:s}}function eL(){return eN}function eB(){return eN=eM>0?eE(ej,--eM):0,eT--,10===eN&&(eT=1,eP--),eN}function eZ(){return eN=eM<eR?eE(ej,eM++):0,eT++,10===eN&&(eT=1,eP++),eN}function eF(){return eE(ej,eM)}function ez(){return eM}function eU(e,t){return eC(ej,e,t)}function eH(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 eq(e){return eP=eT=1,eR=e_(ej=e),eM=0,[]}function eV(e){return ej="",e}function eW(e){return ew(eU(eM-1,eK(91===e?e+2:40===e?e+1:e)))}function e$(e){for(;eN=eF();)if(eN<33)eZ();else break;return eH(e)>2||eH(eN)>3?"":" "}function eG(e,t){for(;--t&&eZ()&&!(eN<48)&&!(eN>102)&&(!(eN>57)||!(eN<65))&&(!(eN>70)||!(eN<97)););return eU(e,ez()+(t<6&&32==eF()&&32==eZ()))}function eK(e){for(;eZ();)switch(eN){case e:return eM;case 34:case 39:34!==e&&39!==e&&eK(eN);break;case 40:41===e&&eK(e);break;case 92:eZ()}return eM}function eY(e,t){for(;eZ();)if(e+eN===57)break;else if(e+eN===84&&47===eF())break;return"/*"+eU(t,eM-1)+"*"+eb(47===e?e:eZ())}function eX(e){for(;!eH(eF());)eZ();return eU(e,eM)}function eQ(e){return eV(eJ("",null,null,null,[""],e=eq(e),0,[0],e))}function eJ(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,m=1,g=1,v=1,y=0,b="",w=o,S=i,x=r,E=b;g;)switch(h=y,y=eZ()){case 40:if(108!=h&&58==eE(E,d-1)){-1!=ex(E+=eS(eW(y),"&","&\f"),"&\f",ey(c?s[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:E+=eW(y);break;case 9:case 10:case 13:case 32:E+=e$(h);break;case 92:E+=eG(ez()-1,7);continue;case 47:switch(eF()){case 42:case 47:eO(e1(eY(eZ(),ez()),t,n,l),l),(5==eH(h||1)||5==eH(eF()||1))&&e_(E)&&" "!==eC(E,-1,void 0)&&(E+=" ");break;default:E+="/"}break;case 123*m:s[c++]=e_(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:-1==v&&(E=eS(E,/\f/g,"")),p>0&&(e_(E)-d||0===m&&47===h)&&eO(p>32?e2(E+";",r,n,d-1,l):e2(eS(E," ","")+";",r,n,d-2,l),l);break;case 59:E+=";";default:if(eO(x=e0(E,t,n,c,u,o,s,b,w=[],S=[],d,i),i),123===y){if(0===u)eJ(E,t,x,x,w,i,d,s,S);else switch(99===f&&110===eE(E,3)?100:f){case 100:case 108:case 109:case 115:eJ(e,x,x,r&&eO(e0(e,x,x,0,0,o,s,b,o,w=[],d,S),S),o,S,d,s,r?w:S);break;default:eJ(E,x,x,x,[""],S,0,s,S)}}}c=u=p=0,m=v=1,b=E="",d=a;break;case 58:d=1+e_(E),p=h;default:if(m<1){if(123==y)--m;else if(125==y&&0==m++&&125==eB())continue}switch(E+=eb(y),y*m){case 38:v=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(e_(E)-1)*v,v=1;break;case 64:45===eF()&&(E+=eW(eZ())),f=eF(),u=d=e_(b=E+=eX(ez())),y++;break;case 45:45===h&&2==e_(E)&&(m=0)}}return i}function e0(e,t,n,r,o,i,a,s,l,c,u,d){for(var f=o-1,p=0===o?i:[""],h=ek(p),m=0,g=0,v=0;m<r;++m)for(var y=0,b=eC(e,f+1,f=ey(g=a[m])),w=e;y<h;++y)(w=ew(g>0?p[y]+" "+b:eS(b,/&\f/g,p[y])))&&(l[v++]=w);return eD(e,t,n,0===o?ep:s,l,c,u,d)}function e1(e,t,n,r){return eD(e,t,n,ef,eb(eL()),eC(e,2,-2),0,r)}function e2(e,t,n,r,o){return eD(e,t,n,eh,eC(e,0,r),eC(e,r+1,-1),r,o)}var e3="data-ant-cssinjs-cache-path",e4="_FILE_STYLE__",e5=!0;function e6(){if(!r&&(r={},(0,E.Z)())){var e,t=document.createElement("div");t.className=e3,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var n=getComputedStyle(t).content||"";(n=n.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),n=(0,i.Z)(t,2),o=n[0],a=n[1];r[o]=a});var o=document.querySelector("style[".concat(e3,"]"));o&&(e5=!1,null===(e=o.parentNode)||void 0===e||e.removeChild(o)),document.body.removeChild(t)}}function e8(e){return e6(),!!r[e]}function e7(e){var t=r[e],n=null;if(t&&(0,E.Z)()){if(e5)n=e4;else{var o=document.querySelector("style[".concat(y,'="').concat(r[e],'"]'));o?n=o.innerHTML:delete r[e]}}return[n,t]}var e9="_skip_check_",te="_multi_value_";function tt(e){return eA(eQ(e),eI).replace(/\{%%%\:[^;];}/g,";")}function tn(e){return"object"===(0,x.Z)(e)&&e&&(e9 in e||te in e)}function tr(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat((0,a.Z)(n.slice(1))).join(" ")}).join(",")}var to=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,l=r.injectHash,c=r.parentSelectors,u=n.hashId,d=n.layer,f=(n.path,n.hashPriority),p=n.transformers,h=void 0===p?[]:p;n.linters;var m="",g={};function v(t){var r=t.getName(u);if(!g[r]){var o=e(t.style,n,{root:!1,parentSelectors:c}),a=(0,i.Z)(o,1)[0];g[r]="@keyframes ".concat(t.getName(u)).concat(a)}}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach(function(e){Array.isArray(e)?y(e,t):e&&t.push(e)}),t}return y(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||o?t:{};if("string"==typeof r)m+="".concat(r,"\n");else if(r._keyframe)v(r);else{var d=h.reduce(function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e},r);Object.keys(d).forEach(function(t){var r=d[t];if("object"!==(0,x.Z)(r)||!r||"animationName"===t&&r._keyframe||tn(r)){function p(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;ed.Z[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(v(t),r=t.getName(u)),m+="".concat(n,":").concat(r,";")}var h,y=null!==(h=null==r?void 0:r.value)&&void 0!==h?h:r;"object"===(0,x.Z)(r)&&null!=r&&r[te]&&Array.isArray(y)?y.forEach(function(e){p(t,e)}):p(t,y)}else{var b=!1,w=t.trim(),S=!1;(o||l)&&u?w.startsWith("@")?b=!0:w="&"===w?tr("",u,f):tr(t,u,f):o&&!u&&("&"===w||""===w)&&(w="",S=!0);var E=e(r,n,{root:S,injectHash:b,parentSelectors:[].concat((0,a.Z)(c),[w])}),C=(0,i.Z)(E,2),_=C[0],k=C[1];g=(0,s.Z)((0,s.Z)({},g),k),m+="".concat(w).concat(_)}})}}),o?d&&(m="@layer ".concat(d.name," {").concat(m,"}"),d.dependencies&&(g["@layer ".concat(d.name)]=d.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(d.name,";")}).join("\n"))):m="{".concat(m,"}"),[m,g]};function ti(e,t){return(0,l.Z)("".concat(e.join("%")).concat(t))}function ta(){return null}var ts="style";function tl(e,t){var n=e.token,r=e.path,l=e.hashId,d=e.layer,f=e.nonce,p=e.clientOnly,h=e.order,m=void 0===h?0:h,g=u.useContext(S),w=g.autoClear,x=(g.mock,g.defaultCache),E=g.hashPriority,C=g.container,_=g.ssrInline,k=g.transformers,O=g.linters,A=g.cache,I=g.layer,P=n._tokenKey,T=[P];I&&T.push("layer"),T.push.apply(T,(0,a.Z)(r));var R=L,M=Q(ts,T,function(){var e=T.join("|");if(e8(e)){var n=e7(e),o=(0,i.Z)(n,2),a=o[0],s=o[1];if(a)return[a,P,s,{},p,m]}var c=to(t(),{hashId:l,hashPriority:E,layer:I?d:void 0,path:r.join("-"),transformers:k,linters:O}),u=(0,i.Z)(c,2),f=u[0],h=u[1],g=tt(f),v=ti(T,g);return[g,P,v,h,p,m]},function(e,t){var n=(0,i.Z)(e,3)[2];(t||w)&&L&&(0,c.jL)(n,{mark:y})},function(e){var t=(0,i.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(R&&n!==e4){var a={mark:y,prepend:!I&&"queue",attachTo:C,priority:m},l="function"==typeof f?f():f;l&&(a.csp={nonce:l});var u=[],d=[];Object.keys(o).forEach(function(e){e.startsWith("@layer")?u.push(e):d.push(e)}),u.forEach(function(e){(0,c.hq)(tt(o[e]),"_layer-".concat(e),(0,s.Z)((0,s.Z)({},a),{},{prepend:!0}))});var p=(0,c.hq)(n,r,a);p[b]=A.instanceId,p.setAttribute(v,P),d.forEach(function(e){(0,c.hq)(tt(o[e]),"_effect-".concat(e),a)})}}),N=(0,i.Z)(M,3),j=N[0],D=N[1],B=N[2];return function(e){var t;return t=_&&!R&&x?u.createElement("style",(0,eu.Z)({},(0,o.Z)((0,o.Z)({},v,D),y,B),{dangerouslySetInnerHTML:{__html:j}})):u.createElement(ta,null),u.createElement(u.Fragment,null,t,e)}}var tc=function(e,t,n){var r=(0,i.Z)(e,6),o=r[0],a=r[1],s=r[2],l=r[3],c=r[4],u=r[5],d=(n||{}).plain;if(c)return null;var f=o,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return f=Z(o,a,s,p,d),l&&Object.keys(l).forEach(function(e){if(!t[e]){t[e]=!0;var n=Z(tt(l[e]),a,"_effect-".concat(e),p,d);e.startsWith("@layer")?f=n+f:f+=n}}),[u,s,f]},tu="cssVar",td=function(e,t,n){var r=(0,i.Z)(e,4),o=r[1],a=r[2],s=r[3],l=(n||{}).plain;if(!o)return null;var c=-999,u=Z(o,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},l);return[c,a,u]},tf=function(e,t){var n=e.key,r=e.prefix,o=e.unitless,s=e.ignore,l=e.token,d=e.scope,f=void 0===d?"":d,p=(0,u.useContext)(S),h=p.cache.instanceId,m=p.container,g=l._tokenKey,w=[].concat((0,a.Z)(e.path),[n,f,g]);return Q(tu,w,function(){var e=U(t(),n,{prefix:r,unitless:o,ignore:s,scope:f}),a=(0,i.Z)(e,2),l=a[0],c=a[1],u=ti(w,c);return[l,c,u,n]},function(e){var t=(0,i.Z)(e,3)[2];L&&(0,c.jL)(t,{mark:y})},function(e){var t=(0,i.Z)(e,3),r=t[1],o=t[2];if(r){var a=(0,c.hq)(r,o,{mark:y,prepend:"queue",attachTo:m,priority:-999});a[b]=h,a.setAttribute(v,n)}})};(0,o.Z)((0,o.Z)((0,o.Z)({},ts,tc),es,ec),tu,td);var tp=function(){function e(t,n){(0,f.Z)(this,e),(0,o.Z)(this,"name",void 0),(0,o.Z)(this,"style",void 0),(0,o.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,p.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function th(e){return e.notSplit=!0,e}th(["borderTop","borderBottom"]),th(["borderTop"]),th(["borderBottom"]),th(["borderLeft","borderRight"]),th(["borderLeft"]),th(["borderRight"])},90164:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};t.Z=n},81228:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};t.Z=n},74747:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};t.Z=n},9495:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};t.Z=n},65173:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};t.Z=n},3704:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};t.Z=n},7513:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};t.Z=n},23843:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};t.Z=n},95414:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};t.Z=n},99719:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};t.Z=n},61515:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};t.Z=n},67444:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};t.Z=n},98639:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};t.Z=n},37885:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};t.Z=n},62841:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};t.Z=n},42281:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};t.Z=n},14018:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};t.Z=n},54960:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};t.Z=n},23279:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};t.Z=n},61101:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"};t.Z=n},97561:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};t.Z=n},67116:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};t.Z=n},16892:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};t.Z=n},16675:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};t.Z=n},43583:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};t.Z=n},45837:function(e,t){"use strict";var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};t.Z=n},78985:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};t.default=n},67901:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};t.default=n},75377:function(e,t,n){"use strict";n.d(t,{m:function(){return eo}});var r=n(84896),o=n(37988),i=n(14068),a=n(8440),s=n.n(a),l=n(18232),c=n.n(l),u=n(44194),d=n(51865),f=n.n(d),p=n(2196),h=n(11875),m=n(85905),g=n(25431),v=n(4999),y=n(96419);let b=e=>{let{children:t}=e,{getPrefixCls:n}=u.useContext(g.E_),r=n("breadcrumb");return u.createElement("li",{className:"".concat(r,"-separator"),"aria-hidden":"true"},""===t?t:t||"/")};b.__ANT_BREADCRUMB_SEPARATOR=!0;var w=b,S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function x(e,t){if(void 0===e.title||null===e.title)return null;let n=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(RegExp(":(".concat(n,")"),"g"),(e,n)=>t[n]||e)}function E(e,t,n,r){if(null==n)return null;let{className:o,onClick:i}=t,a=S(t,["className","onClick"]),s=Object.assign(Object.assign({},(0,h.Z)(a,{data:!0,aria:!0})),{onClick:i});return void 0!==r?u.createElement("a",Object.assign({},s,{className:f()("".concat(e,"-link"),o),href:r}),n):u.createElement("span",Object.assign({},s,{className:f()("".concat(e,"-link"),o)}),n)}function C(e,t){return(n,r,o,i,a)=>{if(t)return t(n,r,o,i);let s=x(n,r);return E(e,n,s,a)}}var _=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let k=e=>{let{prefixCls:t,separator:n="/",children:r,menu:o,overlay:i,dropdownProps:a,href:s}=e,l=(e=>{if(o||i){let n=Object.assign({},a);if(o){let e=o||{},{items:t}=e,r=_(e,["items"]);n.menu=Object.assign(Object.assign({},r),{items:null==t?void 0:t.map((e,t)=>{var{key:n,title:r,label:o,path:i}=e,a=_(e,["key","title","label","path"]);let l=null!=o?o:r;return i&&(l=u.createElement("a",{href:"".concat(s).concat(i)},l)),Object.assign(Object.assign({},a),{key:null!=n?n:t,label:l})})})}else i&&(n.overlay=i);return u.createElement(y.Z,Object.assign({placement:"bottom"},n),u.createElement("span",{className:"".concat(t,"-overlay-link")},e,u.createElement(v.Z,null)))}return e})(r);return null!=l?u.createElement(u.Fragment,null,u.createElement("li",null,l),n&&u.createElement(w,null,n)):null},O=e=>{let{prefixCls:t,children:n,href:r}=e,o=_(e,["prefixCls","children","href"]),{getPrefixCls:i}=u.useContext(g.E_),a=i("breadcrumb",t);return u.createElement(k,Object.assign({},o,{prefixCls:a}),E(a,o,n,r))};O.__ANT_BREADCRUMB_ITEM=!0;var A=O,I=n(82698),P=n(61885),T=n(2916),R=n(39564);let M=e=>{let{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},(0,P.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:"color ".concat(e.motionDurationMid),padding:"0 ".concat((0,I.bf)(e.paddingXXS)),borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,P.Qy)(e)),"li:last-child":{color:e.lastItemColor},["".concat(t,"-separator")]:{marginInline:e.separatorMargin,color:e.separatorColor},["".concat(t,"-link")]:{["\n          > ".concat(n," + span,\n          > ").concat(n," + a\n        ")]:{marginInlineStart:e.marginXXS}},["".concat(t,"-overlay-link")]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:"0 ".concat((0,I.bf)(e.paddingXXS)),marginInline:r(e.marginXXS).mul(-1).equal(),["> ".concat(n)]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},["&".concat(e.componentCls,"-rtl")]:{direction:"rtl"}})}},N=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS});var j=(0,T.I$)("Breadcrumb",e=>M((0,R.IX)(e,{})),N),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function L(e){let{breadcrumbName:t,children:n}=e,r=Object.assign({title:t},D(e,["breadcrumbName","children"]));return n&&(r.menu={items:n.map(e=>{var{breadcrumbName:t}=e;return Object.assign(Object.assign({},D(e,["breadcrumbName"])),{title:t})})}),r}function B(e,t){return(0,u.useMemo)(()=>e||(t?t.map(L):null),[e,t])}var Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let F=(e,t)=>{if(void 0===t)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(t=>{n=n.replace(":".concat(t),e[t])}),n},z=e=>{let t;let{prefixCls:n,separator:r="/",style:o,className:i,rootClassName:a,routes:s,items:l,children:c,itemRender:d,params:v={}}=e,y=Z(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:b,direction:S,breadcrumb:x}=u.useContext(g.E_),E=b("breadcrumb",n),[_,O,A]=j(E),I=B(l,s),P=C(E,d);if(I&&I.length>0){let e=[],n=l||s;t=I.map((t,o)=>{let{path:i,key:a,type:s,menu:l,overlay:c,onClick:d,className:f,separator:p,dropdownProps:m}=t,g=F(v,i);void 0!==g&&e.push(g);let y=null!=a?a:o;if("separator"===s)return u.createElement(w,{key:y},p);let b={},S=o===I.length-1;l?b.menu=l:c&&(b.overlay=c);let{href:x}=t;return e.length&&void 0!==g&&(x="#/".concat(e.join("/"))),u.createElement(k,Object.assign({key:y},b,(0,h.Z)(t,{data:!0,aria:!0}),{className:f,dropdownProps:m,href:x,separator:S?"":r,onClick:d,prefixCls:E}),P(t,v,n,e,x))})}else if(c){let e=(0,p.Z)(c).length;t=(0,p.Z)(c).map((t,n)=>{if(!t)return t;let o=n===e-1;return(0,m.Tm)(t,{separator:o?"":r,key:n})})}let T=f()(E,null==x?void 0:x.className,{["".concat(E,"-rtl")]:"rtl"===S},i,a,O,A),R=Object.assign(Object.assign({},null==x?void 0:x.style),o);return _(u.createElement("nav",Object.assign({className:T,style:R},y),u.createElement("ol",null,t)))};z.Item=A,z.Separator=w;var U=z,H=n(70568),q=n(52334),V=n(22904),W=n(60118),$=n(68166),G=function(){return{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},K=function(e){var t;return(0,r.Z)({},e.componentCls,(0,i.Z)((0,i.Z)({},null===$.Wf||void 0===$.Wf?void 0:(0,$.Wf)(e)),{},(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({position:"relative",backgroundColor:e.pageHeaderBgGhost,paddingBlock:e.pageHeaderPaddingVertical+2,paddingInline:e.pageHeaderPadding,"&-no-children":{height:null===(t=e.layout)||void 0===t||null===(t=t.pageContainer)||void 0===t?void 0:t.paddingBlockPageContainerContent},"& &-has-breadcrumb":{paddingBlockStart:e.pageHeaderPaddingBreadCrumb},"& &-has-footer":{paddingBlockEnd:0},"& &-back":(0,r.Z)({marginInlineEnd:e.margin,fontSize:16,lineHeight:1,"&-button":(0,i.Z)((0,i.Z)({fontSize:16},null===$.Nd||void 0===$.Nd?void 0:(0,$.Nd)(e)),{},{color:e.pageHeaderColorBack,cursor:"pointer"})},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:0})},"& ".concat("ant","-divider-vertical"),{height:14,marginBlock:0,marginInline:e.marginSM,verticalAlign:"middle"}),"& &-breadcrumb + &-heading",{marginBlockStart:e.marginXS}),"& &-heading",{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",marginBlock:e.marginXS/2,marginInlineEnd:0,marginInlineStart:0,overflow:"hidden"},"&-title":(0,i.Z)((0,i.Z)({marginInlineEnd:e.marginSM,marginBlockEnd:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderFontSizeHeaderTitle,lineHeight:e.controlHeight+"px"},G()),{},(0,r.Z)({},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:0,marginInlineStart:e.marginSM})),"&-avatar":(0,r.Z)({marginInlineEnd:e.marginSM},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:e.marginSM}),"&-tags":(0,r.Z)({},"".concat(e.componentCls,"-rlt &"),{float:"right"}),"&-sub-title":(0,i.Z)((0,i.Z)({marginInlineEnd:e.marginSM,color:e.colorTextSecondary,fontSize:e.pageHeaderFontSizeHeaderSubTitle,lineHeight:e.lineHeight},G()),{},(0,r.Z)({},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:12})),"&-extra":(0,r.Z)((0,r.Z)({marginBlock:e.marginXS/2,marginInlineEnd:0,marginInlineStart:0,whiteSpace:"nowrap","> *":(0,r.Z)({"white-space":"unset"},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:e.marginSM,marginInlineStart:0})},"".concat(e.componentCls,"-rlt &"),{float:"left"}),"*:first-child",(0,r.Z)({},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:0}))}),"&-content",{paddingBlockStart:e.pageHeaderPaddingContentPadding}),"&-footer",{marginBlockStart:e.margin}),"&-compact &-heading",{flexWrap:"wrap"}),"&-wide",{maxWidth:1152,margin:"0 auto"}),"&-rtl",{direction:"rtl"})))};function Y(e){return(0,$.Xj)("ProLayoutPageHeader",function(t){return[K((0,i.Z)((0,i.Z)({},t),{},{componentCls:".".concat(e),pageHeaderBgGhost:"transparent",pageHeaderPadding:16,pageHeaderPaddingVertical:4,pageHeaderPaddingBreadCrumb:t.paddingSM,pageHeaderColorBack:t.colorTextHeading,pageHeaderFontSizeHeaderTitle:t.fontSizeHeading4,pageHeaderFontSizeHeaderSubTitle:14,pageHeaderPaddingContentPadding:t.paddingSM}))]})}var X=n(31549),Q=function(e,t,n,r){return n&&r?(0,X.jsx)("div",{className:"".concat(e,"-back ").concat(t).trim(),children:(0,X.jsx)("div",{role:"button",onClick:function(e){null==r||r(e)},className:"".concat(e,"-back-button ").concat(t).trim(),"aria-label":"back",children:n})}):null},J=function(e,t){var n;return null!==(n=e.items)&&void 0!==n&&n.length?(0,X.jsx)(U,(0,i.Z)((0,i.Z)({},e),{},{className:f()("".concat(t,"-breadcrumb"),e.className)})):null},ee=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ltr";return void 0!==e.backIcon?e.backIcon:"rtl"===t?(0,X.jsx)(c(),{}):(0,X.jsx)(s(),{})},et=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",r=arguments.length>3?arguments[3]:void 0,o=t.title,a=t.avatar,s=t.subTitle,l=t.tags,c=t.extra,u=t.onBack,d="".concat(e,"-heading"),p=o||s||l||c;if(!p)return null;var h=Q(e,r,ee(t,n),u),m=h||a||p;return(0,X.jsxs)("div",{className:d+" "+r,children:[m&&(0,X.jsxs)("div",{className:"".concat(d,"-left ").concat(r).trim(),children:[h,a&&(0,X.jsx)(H.C,(0,i.Z)({className:f()("".concat(d,"-avatar"),r,a.className)},a)),o&&(0,X.jsx)("span",{className:"".concat(d,"-title ").concat(r).trim(),title:"string"==typeof o?o:void 0,children:o}),s&&(0,X.jsx)("span",{className:"".concat(d,"-sub-title ").concat(r).trim(),title:"string"==typeof s?s:void 0,children:s}),l&&(0,X.jsx)("span",{className:"".concat(d,"-tags ").concat(r).trim(),children:l})]}),c&&(0,X.jsx)("span",{className:"".concat(d,"-extra ").concat(r).trim(),children:(0,X.jsx)(q.Z,{children:c})})]})},en=function(e,t,n){return t?(0,X.jsx)("div",{className:"".concat(e,"-footer ").concat(n).trim(),children:t}):null},er=function(e,t,n){return(0,X.jsx)("div",{className:"".concat(e,"-content ").concat(n).trim(),children:t})},eo=function(e){var t,n=u.useState(!1),a=(0,o.Z)(n,2),s=a[0],l=a[1],c=function(e){return l(e.width<768)},d=u.useContext(V.ZP.ConfigContext),p=d.getPrefixCls,h=d.direction,m=e.prefixCls,g=e.style,v=e.footer,y=e.children,b=e.breadcrumb,w=e.breadcrumbRender,S=e.className,x=e.contentWidth,E=e.layout,C=p("page-header",m),_=Y(C),k=_.wrapSSR,O=_.hashId,A=function(){return(b&&!(null!=b&&b.items)&&null!=b&&b.routes&&(b.items=b.routes),null!=b&&b.items)?J(b,C):null}(),I=b&&"props"in b,P=null!==(t=null==w?void 0:w((0,i.Z)((0,i.Z)({},e),{},{prefixCls:C}),A))&&void 0!==t?t:A,T=I?b:P,R=f()(C,O,S,(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(C,"-has-breadcrumb"),!!T),"".concat(C,"-has-footer"),!!v),"".concat(C,"-rtl"),"rtl"===h),"".concat(C,"-compact"),s),"".concat(C,"-wide"),"Fixed"===x&&"top"==E),"".concat(C,"-ghost"),!0)),M=et(C,e,h,O),N=y&&er(C,y,O),j=en(C,v,O);return T||M||j||N?k((0,X.jsx)(W.Z,{onResize:c,children:(0,X.jsxs)("div",{className:R,style:g,children:[T,M,N,j]})})):(0,X.jsx)("div",{className:f()(O,["".concat(C,"-no-children")])})}},61382:function(e,t,n){"use strict";n.d(t,{_Y:function(){return ty},L_:function(){return tb}});var r=n(4013),o=n(37988),i=n(31605),a=n(14068),s=n(72335),l=function(e){var t={};if(Object.keys(e||{}).forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),!(Object.keys(t).length<1))return t},c=n(22904),u=n(74674),d=n(33581),f=n(93930),p=(0,d.Z)((0,d.Z)({},f.z),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1}),h={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};let m={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},p),timePickerLocale:Object.assign({},h)};m.lang.ok="确定";var g=m,v=g;let y="${label}不是一个有效的${type}";var b={locale:"zh-cn",Pagination:u.Z,DatePicker:g,TimePicker:h,Calendar:v,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:"（可选）",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:y,method:y,array:y,object:y,number:y,date:y,boolean:y,integer:y,float:y,regexp:y,email:y,url:y,hex:y},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无"}},w=n(44194),S=n(48218);let x=()=>{},E=x(),C=Object,_=e=>e===E,k=e=>"function"==typeof e,O=(e,t)=>({...e,...t}),A=e=>k(e.then),I=new WeakMap,P=0,T=e=>{let t,n;let r=typeof e,o=e&&e.constructor,i=o==Date;if(C(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=I.get(e))return t;if(t=++P+"~",I.set(e,t),o==Array){for(n=0,t="@";n<e.length;n++)t+=T(e[n])+",";I.set(e,t)}if(o==C){t="#";let r=C.keys(e).sort();for(;!_(n=r.pop());)_(e[n])||(t+=n+":"+T(e[n])+",");I.set(e,t)}}return t},R=new WeakMap,M={},N={},j="undefined",D=typeof window!=j,L=typeof document!=j,B=()=>D&&typeof window.requestAnimationFrame!=j,Z=(e,t)=>{let n=R.get(e);return[()=>!_(t)&&e.get(t)||M,r=>{if(!_(t)){let o=e.get(t);t in N||(N[t]=o),n[5](t,O(o,r),o||M)}},n[6],()=>!_(t)&&t in N?N[t]:!_(t)&&e.get(t)||M]},F=!0,z=()=>F,[U,H]=D&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[x,x],q={isOnline:z,isVisible:()=>{let e=L&&document.visibilityState;return _(e)||"hidden"!==e}},V={initFocus:e=>(L&&document.addEventListener("visibilitychange",e),U("focus",e),()=>{L&&document.removeEventListener("visibilitychange",e),H("focus",e)}),initReconnect:e=>{let t=()=>{F=!0,e()},n=()=>{F=!1};return U("online",t),U("offline",n),()=>{H("online",t),H("offline",n)}}},W=!w.useId,$=!D||"Deno"in window,G=e=>B()?window.requestAnimationFrame(e):setTimeout(e,1),K=$?w.useEffect:w.useLayoutEffect,Y="undefined"!=typeof navigator&&navigator.connection,X=!$&&Y&&(["slow-2g","2g"].includes(Y.effectiveType)||Y.saveData),Q=e=>{if(k(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?T(e):"",t]},J=0,ee=()=>++J,et=0,en=1,er=2;var eo={ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function ei(...e){let[t,n,r,o]=e,i=O({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{}),a=i.populateCache,s=i.rollbackOnError,l=i.optimisticData,c=!1!==i.revalidate,u=e=>"function"==typeof s?s(e):!1!==s,d=i.throwOnError;if(k(n)){let e=n,r=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(f))}return f(n);async function f(n){let o;let[i]=Q(n);if(!i)return;let[s,f]=Z(t,i),[p,h,m,g]=R.get(t),v=()=>{let e=p[i];return c&&(delete m[i],delete g[i],e&&e[0])?e[0](er).then(()=>s().data):s().data};if(e.length<3)return v();let y=r,b=ee();h[i]=[b,0];let w=!_(l),S=s(),x=S.data,C=S._c,O=_(C)?x:C;if(w&&f({data:l=k(l)?l(O,x):l,_c:O}),k(y))try{y=y(O)}catch(e){o=e}if(y&&A(y)){if(y=await y.catch(e=>{o=e}),b!==h[i][0]){if(o)throw o;return y}o&&w&&u(o)&&(a=!0,f({data:O,_c:E}))}if(a&&!o&&(k(a)?f({data:a(y,O),error:E,_c:E}):f({data:y,error:E,_c:E})),h[i][1]=ee(),Promise.resolve(v()).then(()=>{f({_c:E})}),o){if(d)throw o;return}return y}}let ea=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},es=(e,t)=>{if(!R.has(e)){let n=O(V,t),r={},o=ei.bind(E,e),i=x,a={},s=(e,t)=>{let n=a[e]||[];return a[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},l=(t,n,r)=>{e.set(t,n);let o=a[t];if(o)for(let e of o)e(n,r)},c=()=>{if(!R.has(e)&&(R.set(e,[r,{},{},{},o,l,s]),!$)){let t=n.initFocus(setTimeout.bind(E,ea.bind(E,r,et))),o=n.initReconnect(setTimeout.bind(E,ea.bind(E,r,en)));i=()=>{t&&t(),o&&o(),R.delete(e)}}};return c(),[e,o,c,i]}return[e,R.get(e)[4]]},el=(e,t,n,r,o)=>{let i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;(_(i)||!(a>i))&&setTimeout(r,s,o)},ec=(e,t)=>T(e)==T(t),[eu,ed]=es(new Map),ef=O({onLoadingSlow:x,onSuccess:x,onError:x,onErrorRetry:el,onDiscarded:x,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:X?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:X?5e3:3e3,compare:ec,isPaused:()=>!1,cache:eu,mutate:ed,fallback:{}},q),ep=(e,t)=>{let n=O(e,t);if(t){let{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=O(o,a))}return n},eh=(0,w.createContext)({}),em=e=>{let{value:t}=e,n=(0,w.useContext)(eh),r=k(t),o=(0,w.useMemo)(()=>r?t(n):t,[r,n,t]),i=(0,w.useMemo)(()=>r?o:ep(n,o),[r,n,o]),a=o&&o.provider,s=(0,w.useRef)(E);a&&!s.current&&(s.current=es(a(i.cache||eu),o));let l=s.current;return l&&(i.cache=l[0],i.mutate=l[1]),K(()=>{if(l)return l[2]&&l[2](),l[3]},[]),(0,w.createElement)(eh.Provider,O(e,{value:i}))},eg="$inf$",ev=D&&window.__SWR_DEVTOOLS_USE__,ey=ev?window.__SWR_DEVTOOLS_USE__:[],eb=()=>{ev&&(window.__SWR_DEVTOOLS_REACT__=w)},ew=e=>k(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],eS=()=>O(ef,(0,w.useContext)(eh)),ex=e=>(t,n,r)=>{let o=n&&((...e)=>{let[r]=Q(t),[,,,o]=R.get(eu);if(r.startsWith(eg))return n(...e);let i=o[r];return _(i)?n(...e):(delete o[r],i)});return e(t,o,r)},eE=ey.concat(ex),eC=e=>function(...t){let n=eS(),[r,o,i]=ew(t),a=ep(n,i),s=e,{use:l}=a,c=(l||[]).concat(eE);for(let e=c.length;e--;)s=c[e](s);return s(r,o||a.fetcher||null,a)},e_=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}};eb();let ek=w.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),eO={dedupe:!0},eA=(e,t,n)=>{let{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:c,refreshWhenHidden:u,refreshWhenOffline:d,keepPreviousData:f}=n,[p,h,m,g]=R.get(r),[v,y]=Q(e),b=(0,w.useRef)(!1),x=(0,w.useRef)(!1),C=(0,w.useRef)(v),A=(0,w.useRef)(t),I=(0,w.useRef)(n),P=()=>I.current,T=()=>P().isVisible()&&P().isOnline(),[M,N,j,D]=Z(r,v),L=(0,w.useRef)({}).current,B=_(a)?n.fallback[v]:a,F=(e,t)=>{for(let n in L){let r=n;if("data"===r){if(!o(e[r],t[r])&&(!_(e[r])||!o(et,t[r])))return!1}else if(t[r]!==e[r])return!1}return!0},z=(0,w.useMemo)(()=>{let e=!!v&&!!t&&(_(s)?!P().isPaused()&&!i&&(!!_(l)||l):s),n=t=>{let n=O(t);return(delete n._k,e)?{isValidating:!0,isLoading:!0,...n}:n},r=M(),o=D(),a=n(r),c=r===o?a:n(o),u=a;return[()=>{let e=n(M());return F(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>c]},[r,v]),U=(0,S.useSyncExternalStore)((0,w.useCallback)(e=>j(v,(t,n)=>{F(n,t)||e()}),[r,v]),z[0],z[1]),H=!b.current,q=p[v]&&p[v].length>0,V=U.data,Y=_(V)?B:V,X=U.error,J=(0,w.useRef)(Y),et=f?_(V)?J.current:V:Y,en=(!q||!!_(X))&&(H&&!_(s)?s:!P().isPaused()&&(i?!_(Y)&&l:_(Y)||l)),er=!!(v&&t&&H&&en),ea=_(U.isValidating)?er:U.isValidating,es=_(U.isLoading)?er:U.isLoading,el=(0,w.useCallback)(async e=>{let t,r;let i=A.current;if(!v||!i||x.current||P().isPaused())return!1;let a=!0,s=e||{},l=!m[v]||!s.dedupe,c=()=>W?!x.current&&v===C.current&&b.current:v===C.current,u={isValidating:!1,isLoading:!1},d=()=>{N(u)},f=()=>{let e=m[v];e&&e[1]===r&&delete m[v]},g={isValidating:!0};_(M().data)&&(g.isLoading=!0);try{if(l&&(N(g),n.loadingTimeout&&_(M().data)&&setTimeout(()=>{a&&c()&&P().onLoadingSlow(v,n)},n.loadingTimeout),m[v]=[i(y),ee()]),[t,r]=m[v],t=await t,l&&setTimeout(f,n.dedupingInterval),!m[v]||m[v][1]!==r)return l&&c()&&P().onDiscarded(v),!1;u.error=E;let e=h[v];if(!_(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return d(),l&&c()&&P().onDiscarded(v),!1;let s=M().data;u.data=o(s,t)?s:t,l&&c()&&P().onSuccess(t,v,n)}catch(n){f();let e=P(),{shouldRetryOnError:t}=e;!e.isPaused()&&(u.error=n,l&&c()&&(e.onError(n,v,e),(!0===t||k(t)&&t(n))&&T()&&e.onErrorRetry(n,v,e,e=>{let t=p[v];t&&t[0]&&t[0](eo.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return a=!1,d(),!0},[v,r]),ec=(0,w.useCallback)((...e)=>ei(r,C.current,...e),[]);if(K(()=>{A.current=t,I.current=n,_(V)||(J.current=V)}),K(()=>{if(!v)return;let e=el.bind(E,eO),t=0,n=e_(v,p,(n,r={})=>{if(n==eo.FOCUS_EVENT){let n=Date.now();P().revalidateOnFocus&&n>t&&T()&&(t=n+P().focusThrottleInterval,e())}else if(n==eo.RECONNECT_EVENT)P().revalidateOnReconnect&&T()&&e();else if(n==eo.MUTATE_EVENT)return el();else if(n==eo.ERROR_REVALIDATE_EVENT)return el(r)});return x.current=!1,C.current=v,b.current=!0,N({_k:y}),en&&(_(Y)||$?e():G(e)),()=>{x.current=!0,n()}},[v]),K(()=>{let e;function t(){let t=k(c)?c(M().data):c;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!M().error&&(u||P().isVisible())&&(d||P().isOnline())?el(eO).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[c,u,d,v]),(0,w.useDebugValue)(et),i&&_(Y)&&v){if(!W&&$)throw Error("Fallback data is required when using suspense in SSR.");A.current=t,I.current=n,x.current=!1;let e=g[v];if(_(e)||ek(ec(e)),_(X)){let e=el(eO);_(et)||(e.status="fulfilled",e.value=!0),ek(e)}else throw X}return{mutate:ec,get data(){return L.data=!0,et},get error(){return L.error=!0,X},get isValidating(){return L.isValidating=!0,ea},get isLoading(){return L.isLoading=!0,es}}},eI=C.defineProperty(em,"defaultValue",{value:ef});eC(eA);var eP=n(84963);function eT(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,eP.Z)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}var eR={moneySymbol:"$",form:{lightFilter:{more:"المزيد",clear:"نظف",confirm:"تأكيد",itemUnit:"عناصر"}},tableForm:{search:"ابحث",reset:"إعادة تعيين",submit:"ارسال",collapsed:"مُقلص",expand:"مُوسع",inputPlaceholder:"الرجاء الإدخال",selectPlaceholder:"الرجاء الإختيار"},alert:{clear:"نظف",selected:"محدد",item:"عنصر"},pagination:{total:{range:" ",total:"من",item:"عناصر"}},tableToolBar:{leftPin:"ثبت على اليسار",rightPin:"ثبت على اليمين",noPin:"الغاء التثبيت",leftFixedTitle:"لصق على اليسار",rightFixedTitle:"لصق على اليمين",noFixedTitle:"إلغاء الإلصاق",reset:"إعادة تعيين",columnDisplay:"الأعمدة المعروضة",columnSetting:"الإعدادات",fullScreen:"وضع كامل الشاشة",exitFullScreen:"الخروج من وضع كامل الشاشة",reload:"تحديث",density:"الكثافة",densityDefault:"افتراضي",densityLarger:"أكبر",densityMiddle:"وسط",densitySmall:"مدمج"},stepsForm:{next:"التالي",prev:"السابق",submit:"أنهى"},loginForm:{submitText:"تسجيل الدخول"},editableTable:{action:{save:"أنقذ",cancel:"إلغاء الأمر",delete:"حذف",add:"إضافة صف من البيانات"}},switch:{open:"مفتوح",close:"غلق"}},eM={moneySymbol:"€",form:{lightFilter:{more:"M\xe9s",clear:"Netejar",confirm:"Confirmar",itemUnit:"Elements"}},tableForm:{search:"Cercar",reset:"Netejar",submit:"Enviar",collapsed:"Expandir",expand:"Col\xb7lapsar",inputPlaceholder:"Introdu\xefu valor",selectPlaceholder:"Seleccioneu valor"},alert:{clear:"Netejar",selected:"Seleccionat",item:"Article"},pagination:{total:{range:" ",total:"de",item:"articles"}},tableToolBar:{leftPin:"Pin a l'esquerra",rightPin:"Pin a la dreta",noPin:"Sense Pin",leftFixedTitle:"Fixat a l'esquerra",rightFixedTitle:"Fixat a la dreta",noFixedTitle:"Sense fixar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuraci\xf3",fullScreen:"Pantalla Completa",exitFullScreen:"Sortir Pantalla Completa",reload:"Refrescar",density:"Densitat",densityDefault:"Per Defecte",densityLarger:"Llarg",densityMiddle:"Mitj\xe0",densitySmall:"Compacte"},stepsForm:{next:"Seg\xfcent",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Cancel\xb7lar",delete:"Eliminar",add:"afegir una fila de dades"}},switch:{open:"obert",close:"tancat"}},eN={moneySymbol:"Kč",deleteThisLine:"Smazat tento ř\xe1dek",copyThisLine:"Kop\xedrovat tento ř\xe1dek",form:{lightFilter:{more:"V\xedc",clear:"Vymazat",confirm:"Potvrdit",itemUnit:"Položky"}},tableForm:{search:"Dotaz",reset:"Resetovat",submit:"Odeslat",collapsed:"Zvětšit",expand:"Zmenšit",inputPlaceholder:"Zadejte pros\xedm",selectPlaceholder:"Vyberte pros\xedm"},alert:{clear:"Vymazat",selected:"Vybran\xfd",item:"Položka"},pagination:{total:{range:" ",total:"z",item:"položek"}},tableToolBar:{leftPin:"Připnout doleva",rightPin:"Připnout doprava",noPin:"Odepnuto",leftFixedTitle:"Fixov\xe1no nalevo",rightFixedTitle:"Fixov\xe1no napravo",noFixedTitle:"Neopraveno",reset:"Resetovat",columnDisplay:"Zobrazen\xed sloupců",columnSetting:"Nastaven\xed",fullScreen:"Cel\xe1 obrazovka",exitFullScreen:"Ukončete celou obrazovku",reload:"Obnovit",density:"Hustota",densityDefault:"V\xfdchoz\xed",densityLarger:"Větš\xed",densityMiddle:"Středn\xed",densitySmall:"Kompaktn\xed"},stepsForm:{next:"Dalš\xed",prev:"Předchoz\xed",submit:"Dokončit"},loginForm:{submitText:"Přihl\xe1sit se"},editableTable:{onlyOneLineEditor:"Upravit lze pouze jeden ř\xe1dek",action:{save:"Uložit",cancel:"Zrušit",delete:"Vymazat",add:"přidat ř\xe1dek dat"}},switch:{open:"otevř\xedt",close:"zavř\xedt"}},ej={moneySymbol:"€",form:{lightFilter:{more:"Mehr",clear:"Zur\xfccksetzen",confirm:"Best\xe4tigen",itemUnit:"Eintr\xe4ge"}},tableForm:{search:"Suchen",reset:"Zur\xfccksetzen",submit:"Absenden",collapsed:"Zeige mehr",expand:"Zeige weniger",inputPlaceholder:"Bitte eingeben",selectPlaceholder:"Bitte ausw\xe4hlen"},alert:{clear:"Zur\xfccksetzen",selected:"Ausgew\xe4hlt",item:"Eintrag"},pagination:{total:{range:" ",total:"von",item:"Eintr\xe4gen"}},tableToolBar:{leftPin:"Links anheften",rightPin:"Rechts anheften",noPin:"Nicht angeheftet",leftFixedTitle:"Links fixiert",rightFixedTitle:"Rechts fixiert",noFixedTitle:"Nicht fixiert",reset:"Zur\xfccksetzen",columnDisplay:"Angezeigte Reihen",columnSetting:"Einstellungen",fullScreen:"Vollbild",exitFullScreen:"Vollbild verlassen",reload:"Aktualisieren",density:"Abstand",densityDefault:"Standard",densityLarger:"Gr\xf6\xdfer",densityMiddle:"Mittel",densitySmall:"Kompakt"},stepsForm:{next:"Weiter",prev:"Zur\xfcck",submit:"Abschlie\xdfen"},loginForm:{submitText:"Anmelden"},editableTable:{action:{save:"Retten",cancel:"Abbrechen",delete:"L\xf6schen",add:"Hinzuf\xfcgen einer Datenzeile"}},switch:{open:"offen",close:"schlie\xdfen"}},eD={moneySymbol:"\xa3",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed to the left",rightFixedTitle:"Fixed to the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Table Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},eL={moneySymbol:"$",deleteThisLine:"Delete this line",copyThisLine:"Copy this line",form:{lightFilter:{more:"More",clear:"Clear",confirm:"Confirm",itemUnit:"Items"}},tableForm:{search:"Query",reset:"Reset",submit:"Submit",collapsed:"Expand",expand:"Collapse",inputPlaceholder:"Please enter",selectPlaceholder:"Please select"},alert:{clear:"Clear",selected:"Selected",item:"Item"},pagination:{total:{range:" ",total:"of",item:"items"}},tableToolBar:{leftPin:"Pin to left",rightPin:"Pin to right",noPin:"Unpinned",leftFixedTitle:"Fixed to the left",rightFixedTitle:"Fixed to the right",noFixedTitle:"Not Fixed",reset:"Reset",columnDisplay:"Column Display",columnSetting:"Table Settings",fullScreen:"Full Screen",exitFullScreen:"Exit Full Screen",reload:"Refresh",density:"Density",densityDefault:"Default",densityLarger:"Larger",densityMiddle:"Middle",densitySmall:"Compact"},stepsForm:{next:"Next",prev:"Previous",submit:"Finish"},loginForm:{submitText:"Login"},editableTable:{onlyOneLineEditor:"Only one line can be edited",action:{save:"Save",cancel:"Cancel",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"close"}},eB={moneySymbol:"€",form:{lightFilter:{more:"M\xe1s",clear:"Limpiar",confirm:"Confirmar",itemUnit:"art\xedculos"}},tableForm:{search:"Buscar",reset:"Limpiar",submit:"Submit",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Ingrese valor",selectPlaceholder:"Seleccione valor"},alert:{clear:"Limpiar",selected:"Seleccionado",item:"Articulo"},pagination:{total:{range:" ",total:"de",item:"art\xedculos"}},tableToolBar:{leftPin:"Pin a la izquierda",rightPin:"Pin a la derecha",noPin:"Sin Pin",leftFixedTitle:"Fijado a la izquierda",rightFixedTitle:"Fijado a la derecha",noFixedTitle:"Sin Fijar",reset:"Reiniciar",columnDisplay:"Mostrar Columna",columnSetting:"Configuraci\xf3n",fullScreen:"Pantalla Completa",exitFullScreen:"Salir Pantalla Completa",reload:"Refrescar",density:"Densidad",densityDefault:"Por Defecto",densityLarger:"Largo",densityMiddle:"Medio",densitySmall:"Compacto"},stepsForm:{next:"Siguiente",prev:"Anterior",submit:"Finalizar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Guardar",cancel:"Descartar",delete:"Borrar",add:"a\xf1adir una fila de datos"}},switch:{open:"abrir",close:"cerrar"}},eZ={moneySymbol:"تومان",form:{lightFilter:{more:"بیشتر",clear:"پاک کردن",confirm:"تایید",itemUnit:"مورد"}},tableForm:{search:"جستجو",reset:"بازنشانی",submit:"تایید",collapsed:"نمایش بیشتر",expand:"نمایش کمتر",inputPlaceholder:"پیدا کنید",selectPlaceholder:"انتخاب کنید"},alert:{clear:"پاک سازی",selected:"انتخاب",item:"مورد"},pagination:{total:{range:" ",total:"از",item:"مورد"}},tableToolBar:{leftPin:"سنجاق به چپ",rightPin:"سنجاق به راست",noPin:"سنجاق نشده",leftFixedTitle:"ثابت شده در چپ",rightFixedTitle:"ثابت شده در راست",noFixedTitle:"شناور",reset:"بازنشانی",columnDisplay:"نمایش همه",columnSetting:"تنظیمات",fullScreen:"تمام صفحه",exitFullScreen:"خروج از حالت تمام صفحه",reload:"تازه سازی",density:"تراکم",densityDefault:"پیش فرض",densityLarger:"بزرگ",densityMiddle:"متوسط",densitySmall:"کوچک"},stepsForm:{next:"بعدی",prev:"قبلی",submit:"اتمام"},loginForm:{submitText:"ورود"},editableTable:{action:{save:"ذخیره",cancel:"لغو",delete:"حذف",add:"یک ردیف داده اضافه کنید"}},switch:{open:"باز",close:"نزدیک"}},eF={moneySymbol:"€",form:{lightFilter:{more:"Plus",clear:"Effacer",confirm:"Confirmer",itemUnit:"Items"}},tableForm:{search:"Rechercher",reset:"R\xe9initialiser",submit:"Envoyer",collapsed:"Agrandir",expand:"R\xe9duire",inputPlaceholder:"Entrer une valeur",selectPlaceholder:"S\xe9lectionner une valeur"},alert:{clear:"R\xe9initialiser",selected:"S\xe9lectionn\xe9",item:"Item"},pagination:{total:{range:" ",total:"sur",item:"\xe9l\xe9ments"}},tableToolBar:{leftPin:"\xc9pingler \xe0 gauche",rightPin:"\xc9pingler \xe0 gauche",noPin:"Sans \xe9pingle",leftFixedTitle:"Fixer \xe0 gauche",rightFixedTitle:"Fixer \xe0 droite",noFixedTitle:"Non fix\xe9",reset:"R\xe9initialiser",columnDisplay:"Affichage colonne",columnSetting:"R\xe9glages",fullScreen:"Plein \xe9cran",exitFullScreen:"Quitter Plein \xe9cran",reload:"Rafraichir",density:"Densit\xe9",densityDefault:"Par d\xe9faut",densityLarger:"Larger",densityMiddle:"Moyenne",densitySmall:"Compacte"},stepsForm:{next:"Suivante",prev:"Pr\xe9c\xe9dente",submit:"Finaliser"},loginForm:{submitText:"Se connecter"},editableTable:{action:{save:"Sauvegarder",cancel:"Annuler",delete:"Supprimer",add:"ajouter une ligne de donn\xe9es"}},switch:{open:"ouvert",close:"pr\xe8s"}},ez={moneySymbol:"₪",deleteThisLine:"מחק שורה זו",copyThisLine:"העתק שורה זו",form:{lightFilter:{more:"יותר",clear:"נקה",confirm:"אישור",itemUnit:"פריטים"}},tableForm:{search:"חיפוש",reset:"איפוס",submit:"שלח",collapsed:"הרחב",expand:"כווץ",inputPlaceholder:"אנא הכנס",selectPlaceholder:"אנא בחר"},alert:{clear:"נקה",selected:"נבחר",item:"פריט"},pagination:{total:{range:" ",total:"מתוך",item:"פריטים"}},tableToolBar:{leftPin:"הצמד לשמאל",rightPin:"הצמד לימין",noPin:"לא מצורף",leftFixedTitle:"מוצמד לשמאל",rightFixedTitle:"מוצמד לימין",noFixedTitle:"לא מוצמד",reset:"איפוס",columnDisplay:"תצוגת עמודות",columnSetting:"הגדרות",fullScreen:"מסך מלא",exitFullScreen:"צא ממסך מלא",reload:"רענן",density:"רזולוציה",densityDefault:"ברירת מחדל",densityLarger:"גדול",densityMiddle:"בינוני",densitySmall:"קטן"},stepsForm:{next:"הבא",prev:"קודם",submit:"סיום"},loginForm:{submitText:"כניסה"},editableTable:{onlyOneLineEditor:"ניתן לערוך רק שורה אחת",action:{save:"שמור",cancel:"ביטול",delete:"מחיקה",add:"הוסף שורת נתונים"}},switch:{open:"פתח",close:"סגור"}},eU={moneySymbol:"kn",form:{lightFilter:{more:"Više",clear:"Očisti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pretraži",reset:"Poništi",submit:"Potvrdi",collapsed:"Raširi",expand:"Skupi",inputPlaceholder:"Unesite",selectPlaceholder:"Odaberite"},alert:{clear:"Očisti",selected:"Odaberi",item:"stavke"},pagination:{total:{range:" ",total:"od",item:"stavke"}},tableToolBar:{leftPin:"Prikači lijevo",rightPin:"Prikači desno",noPin:"Bez prikačenja",leftFixedTitle:"Fiksiraj lijevo",rightFixedTitle:"Fiksiraj desno",noFixedTitle:"Bez fiksiranja",reset:"Resetiraj",columnDisplay:"Prikaz stupaca",columnSetting:"Postavke",fullScreen:"Puni zaslon",exitFullScreen:"Izađi iz punog zaslona",reload:"Ponovno učitaj",density:"Veličina",densityDefault:"Zadano",densityLarger:"Veliko",densityMiddle:"Srednje",densitySmall:"Malo"},stepsForm:{next:"Sljedeći",prev:"Prethodni",submit:"Kraj"},loginForm:{submitText:"Prijava"},editableTable:{action:{save:"Spremi",cancel:"Odustani",delete:"Obriši",add:"dodajte red podataka"}},switch:{open:"otvori",close:"zatvori"}},eH={moneySymbol:"RP",form:{lightFilter:{more:"Lebih",clear:"Hapus",confirm:"Konfirmasi",itemUnit:"Unit"}},tableForm:{search:"Cari",reset:"Atur ulang",submit:"Kirim",collapsed:"Lebih sedikit",expand:"Lebih banyak",inputPlaceholder:"Masukkan pencarian",selectPlaceholder:"Pilih"},alert:{clear:"Hapus",selected:"Dipilih",item:"Butir"},pagination:{total:{range:" ",total:"Dari",item:"Butir"}},tableToolBar:{leftPin:"Pin kiri",rightPin:"Pin kanan",noPin:"Tidak ada pin",leftFixedTitle:"Rata kiri",rightFixedTitle:"Rata kanan",noFixedTitle:"Tidak tetap",reset:"Atur ulang",columnDisplay:"Tampilan kolom",columnSetting:"Pengaturan",fullScreen:"Layar penuh",exitFullScreen:"Keluar layar penuh",reload:"Atur ulang",density:"Kerapatan",densityDefault:"Standar",densityLarger:"Lebih besar",densityMiddle:"Sedang",densitySmall:"Rapat"},stepsForm:{next:"Selanjutnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Login"},editableTable:{action:{save:"simpan",cancel:"batal",delete:"hapus",add:"Tambahkan baris data"}},switch:{open:"buka",close:"tutup"}},eq={moneySymbol:"€",form:{lightFilter:{more:"pi\xf9",clear:"pulisci",confirm:"conferma",itemUnit:"elementi"}},tableForm:{search:"Filtra",reset:"Pulisci",submit:"Invia",collapsed:"Espandi",expand:"Contrai",inputPlaceholder:"Digita",selectPlaceholder:"Seleziona"},alert:{clear:"Rimuovi",selected:"Selezionati",item:"elementi"},pagination:{total:{range:" ",total:"di",item:"elementi"}},tableToolBar:{leftPin:"Fissa a sinistra",rightPin:"Fissa a destra",noPin:"Ripristina posizione",leftFixedTitle:"Fissato a sinistra",rightFixedTitle:"Fissato a destra",noFixedTitle:"Non fissato",reset:"Ripristina",columnDisplay:"Disposizione colonne",columnSetting:"Impostazioni",fullScreen:"Modalit\xe0 schermo intero",exitFullScreen:"Esci da modalit\xe0 schermo intero",reload:"Ricarica",density:"Grandezza tabella",densityDefault:"predefinito",densityLarger:"Grande",densityMiddle:"Media",densitySmall:"Compatta"},stepsForm:{next:"successivo",prev:"precedente",submit:"finisci"},loginForm:{submitText:"Accedi"},editableTable:{action:{save:"salva",cancel:"annulla",delete:"Delete",add:"add a row of data"}},switch:{open:"open",close:"chiudi"}},eV={moneySymbol:"\xa5",form:{lightFilter:{more:"更に",clear:"クリア",confirm:"確認",itemUnit:"アイテム"}},tableForm:{search:"検索",reset:"リセット",submit:"送信",collapsed:"拡大",expand:"折畳",inputPlaceholder:"入力してください",selectPlaceholder:"選択してください"},alert:{clear:"クリア",selected:"選択した",item:"アイテム"},pagination:{total:{range:"レコード",total:"/合計",item:" "}},tableToolBar:{leftPin:"左に固定",rightPin:"右に固定",noPin:"キャンセル",leftFixedTitle:"左に固定された項目",rightFixedTitle:"右に固定された項目",noFixedTitle:"固定されてない項目",reset:"リセット",columnDisplay:"表示列",columnSetting:"列表示設定",fullScreen:"フルスクリーン",exitFullScreen:"終了",reload:"更新",density:"行高",densityDefault:"デフォルト",densityLarger:"大",densityMiddle:"中",densitySmall:"小"},stepsForm:{next:"次へ",prev:"前へ",submit:"送信"},loginForm:{submitText:"ログイン"},editableTable:{action:{save:"保存",cancel:"キャンセル",delete:"削除",add:"追加"}},switch:{open:"開く",close:"閉じる"}},eW={moneySymbol:"₩",form:{lightFilter:{more:"더보기",clear:"초기화",confirm:"확인",itemUnit:"건수"}},tableForm:{search:"조회",reset:"초기화",submit:"제출",collapsed:"확장",expand:"닫기",inputPlaceholder:"입력해 주세요",selectPlaceholder:"선택해 주세요"},alert:{clear:"취소",selected:"선택",item:"건"},pagination:{total:{range:" ",total:"/ 총",item:"건"}},tableToolBar:{leftPin:"왼쪽으로 핀",rightPin:"오른쪽으로 핀",noPin:"핀 제거",leftFixedTitle:"왼쪽으로 고정",rightFixedTitle:"오른쪽으로 고정",noFixedTitle:"비고정",reset:"초기화",columnDisplay:"컬럼 표시",columnSetting:"설정",fullScreen:"전체 화면",exitFullScreen:"전체 화면 취소",reload:"새로 고침",density:"여백",densityDefault:"기본",densityLarger:"많은 여백",densityMiddle:"중간 여백",densitySmall:"좁은 여백"},stepsForm:{next:"다음",prev:"이전",submit:"종료"},loginForm:{submitText:"로그인"},editableTable:{action:{save:"저장",cancel:"취소",delete:"삭제",add:"데이터 행 추가"}},switch:{open:"열",close:"가까 운"}},e$={moneySymbol:"RM",form:{lightFilter:{more:"Lebih banyak",clear:"Jelas",confirm:"Mengesahkan",itemUnit:"Item"}},tableForm:{search:"Cari",reset:"Menetapkan semula",submit:"Hantar",collapsed:"Kembang",expand:"Kuncup",inputPlaceholder:"Sila masuk",selectPlaceholder:"Sila pilih"},alert:{clear:"Padam",selected:"Dipilih",item:"Item"},pagination:{total:{range:" ",total:"daripada",item:"item"}},tableToolBar:{leftPin:"Pin ke kiri",rightPin:"Pin ke kanan",noPin:"Tidak pin",leftFixedTitle:"Tetap ke kiri",rightFixedTitle:"Tetap ke kanan",noFixedTitle:"Tidak Tetap",reset:"Menetapkan semula",columnDisplay:"Lajur",columnSetting:"Settings",fullScreen:"Full Screen",exitFullScreen:"Keluar Full Screen",reload:"Muat Semula",density:"Densiti",densityDefault:"Biasa",densityLarger:"Besar",densityMiddle:"Tengah",densitySmall:"Kecil"},stepsForm:{next:"Seterusnya",prev:"Sebelumnya",submit:"Selesai"},loginForm:{submitText:"Log Masuk"},editableTable:{action:{save:"Simpan",cancel:"Membatalkan",delete:"Menghapuskan",add:"tambah baris data"}},switch:{open:"Terbuka",close:"Tutup"}},eG={moneySymbol:"zł",form:{lightFilter:{more:"Więcej",clear:"Wyczyść",confirm:"Potwierdź",itemUnit:"Ilość"}},tableForm:{search:"Szukaj",reset:"Reset",submit:"Zatwierdź",collapsed:"Pokaż wiecej",expand:"Pokaż mniej",inputPlaceholder:"Proszę podać",selectPlaceholder:"Proszę wybrać"},alert:{clear:"Wyczyść",selected:"Wybrane",item:"Wpis"},pagination:{total:{range:" ",total:"z",item:"Wpis\xf3w"}},tableToolBar:{leftPin:"Przypnij do lewej",rightPin:"Przypnij do prawej",noPin:"Odepnij",leftFixedTitle:"Przypięte do lewej",rightFixedTitle:"Przypięte do prawej",noFixedTitle:"Nieprzypięte",reset:"Reset",columnDisplay:"Wyświetlane wiersze",columnSetting:"Ustawienia",fullScreen:"Pełen ekran",exitFullScreen:"Zamknij pełen ekran",reload:"Odśwież",density:"Odstęp",densityDefault:"Standard",densityLarger:"Wiekszy",densityMiddle:"Sredni",densitySmall:"Kompaktowy"},stepsForm:{next:"Weiter",prev:"Zur\xfcck",submit:"Abschlie\xdfen"},loginForm:{submitText:"Zaloguj się"},editableTable:{action:{save:"Zapisać",cancel:"Anuluj",delete:"Usunąć",add:"dodawanie wiersza danych"}},switch:{open:"otwierać",close:"zamykać"}},eK={moneySymbol:"R$",form:{lightFilter:{more:"Mais",clear:"Limpar",confirm:"Confirmar",itemUnit:"Itens"}},tableForm:{search:"Filtrar",reset:"Limpar",submit:"Confirmar",collapsed:"Expandir",expand:"Colapsar",inputPlaceholder:"Por favor insira",selectPlaceholder:"Por favor selecione"},alert:{clear:"Limpar",selected:"Selecionado(s)",item:"Item(s)"},pagination:{total:{range:" ",total:"de",item:"itens"}},tableToolBar:{leftPin:"Fixar \xe0 esquerda",rightPin:"Fixar \xe0 direita",noPin:"Desfixado",leftFixedTitle:"Fixado \xe0 esquerda",rightFixedTitle:"Fixado \xe0 direita",noFixedTitle:"N\xe3o fixado",reset:"Limpar",columnDisplay:"Mostrar Coluna",columnSetting:"Configura\xe7\xf5es",fullScreen:"Tela Cheia",exitFullScreen:"Sair da Tela Cheia",reload:"Atualizar",density:"Densidade",densityDefault:"Padr\xe3o",densityLarger:"Largo",densityMiddle:"M\xe9dio",densitySmall:"Compacto"},stepsForm:{next:"Pr\xf3ximo",prev:"Anterior",submit:"Enviar"},loginForm:{submitText:"Entrar"},editableTable:{action:{save:"Salvar",cancel:"Cancelar",delete:"Apagar",add:"adicionar uma linha de dados"}},switch:{open:"abrir",close:"fechar"}},eY={moneySymbol:"₽",form:{lightFilter:{more:"Еще",clear:"Очистить",confirm:"ОК",itemUnit:"Позиции"}},tableForm:{search:"Найти",reset:"Сброс",submit:"Отправить",collapsed:"Развернуть",expand:"Свернуть",inputPlaceholder:"Введите значение",selectPlaceholder:"Выберите значение"},alert:{clear:"Очистить",selected:"Выбрано",item:"элементов"},pagination:{total:{range:" ",total:"из",item:"элементов"}},tableToolBar:{leftPin:"Закрепить слева",rightPin:"Закрепить справа",noPin:"Открепить",leftFixedTitle:"Закреплено слева",rightFixedTitle:"Закреплено справа",noFixedTitle:"Не закреплено",reset:"Сброс",columnDisplay:"Отображение столбца",columnSetting:"Настройки",fullScreen:"Полный экран",exitFullScreen:"Выйти из полноэкранного режима",reload:"Обновить",density:"Размер",densityDefault:"По умолчанию",densityLarger:"Большой",densityMiddle:"Средний",densitySmall:"Сжатый"},stepsForm:{next:"Следующий",prev:"Предыдущий",submit:"Завершить"},loginForm:{submitText:"Вход"},editableTable:{action:{save:"Сохранить",cancel:"Отменить",delete:"Удалить",add:"добавить ряд данных"}},switch:{open:"Открытый чемпионат мира по теннису",close:"По адресу:"}},eX={moneySymbol:"€",deleteThisLine:"Odstr\xe1niť tento riadok",copyThisLine:"Skop\xedrujte tento riadok",form:{lightFilter:{more:"Viac",clear:"Vyčistiť",confirm:"Potvrďte",itemUnit:"Položky"}},tableForm:{search:"Vyhladať",reset:"Resetovať",submit:"Odoslať",collapsed:"Rozbaliť",expand:"Zbaliť",inputPlaceholder:"Pros\xedm, zadajte",selectPlaceholder:"Pros\xedm, vyberte"},alert:{clear:"Vyčistiť",selected:"Vybran\xfd",item:"Položka"},pagination:{total:{range:" ",total:"z",item:"položiek"}},tableToolBar:{leftPin:"Pripn\xfať vľavo",rightPin:"Pripn\xfať vpravo",noPin:"Odopnut\xe9",leftFixedTitle:"Fixovan\xe9 na ľavo",rightFixedTitle:"Fixovan\xe9 na pravo",noFixedTitle:"Nefixovan\xe9",reset:"Resetovať",columnDisplay:"Zobrazenie stĺpcov",columnSetting:"Nastavenia",fullScreen:"Cel\xe1 obrazovka",exitFullScreen:"Ukončiť cel\xfa obrazovku",reload:"Obnoviť",density:"Hustota",densityDefault:"Predvolen\xe9",densityLarger:"V\xe4čšie",densityMiddle:"Stredn\xe9",densitySmall:"Kompaktn\xe9"},stepsForm:{next:"Ďalšie",prev:"Predch\xe1dzaj\xface",submit:"Potvrdiť"},loginForm:{submitText:"Prihl\xe1siť sa"},editableTable:{onlyOneLineEditor:"Upravovať možno iba jeden riadok",action:{save:"Uložiť",cancel:"Zrušiť",delete:"Odstr\xe1niť",add:"pridať riadok \xfadajov"}},switch:{open:"otvoriť",close:"zavrieť"}},eQ={moneySymbol:"RSD",form:{lightFilter:{more:"Više",clear:"Očisti",confirm:"Potvrdi",itemUnit:"Stavke"}},tableForm:{search:"Pronađi",reset:"Resetuj",submit:"Pošalji",collapsed:"Proširi",expand:"Skupi",inputPlaceholder:"Molimo unesite",selectPlaceholder:"Molimo odaberite"},alert:{clear:"Očisti",selected:"Odabrano",item:"Stavka"},pagination:{total:{range:" ",total:"od",item:"stavki"}},tableToolBar:{leftPin:"Zakači levo",rightPin:"Zakači desno",noPin:"Nije zakačeno",leftFixedTitle:"Fiksirano levo",rightFixedTitle:"Fiksirano desno",noFixedTitle:"Nije fiksirano",reset:"Resetuj",columnDisplay:"Prikaz kolona",columnSetting:"Podešavanja",fullScreen:"Pun ekran",exitFullScreen:"Zatvori pun ekran",reload:"Osveži",density:"Veličina",densityDefault:"Podrazumevana",densityLarger:"Veća",densityMiddle:"Srednja",densitySmall:"Kompaktna"},stepsForm:{next:"Dalje",prev:"Nazad",submit:"Gotovo"},loginForm:{submitText:"Prijavi se"},editableTable:{action:{save:"Sačuvaj",cancel:"Poništi",delete:"Obriši",add:"dodajte red podataka"}},switch:{open:"Отворите",close:"Затворите"}},eJ={moneySymbol:"฿",deleteThisLine:"ลบบรรทัดนี้",copyThisLine:"คัดลอกบรรทัดนี้",form:{lightFilter:{more:"มากกว่า",clear:"ชัดเจน",confirm:"ยืนยัน",itemUnit:"รายการ"}},tableForm:{search:"สอบถาม",reset:"รีเซ็ต",submit:"ส่ง",collapsed:"ขยาย",expand:"ทรุด",inputPlaceholder:"กรุณาป้อน",selectPlaceholder:"โปรดเลือก"},alert:{clear:"ชัดเจน",selected:"เลือกแล้ว",item:"รายการ"},pagination:{total:{range:" ",total:"ของ",item:"รายการ"}},tableToolBar:{leftPin:"ปักหมุดไปทางซ้าย",rightPin:"ปักหมุดไปทางขวา",noPin:"เลิกตรึงแล้ว",leftFixedTitle:"แก้ไขด้านซ้าย",rightFixedTitle:"แก้ไขด้านขวา",noFixedTitle:"ไม่คงที่",reset:"รีเซ็ต",columnDisplay:"การแสดงคอลัมน์",columnSetting:"การตั้งค่า",fullScreen:"เต็มจอ",exitFullScreen:"ออกจากโหมดเต็มหน้าจอ",reload:"รีเฟรช",density:"ความหนาแน่น",densityDefault:"ค่าเริ่มต้น",densityLarger:"ขนาดใหญ่ขึ้น",densityMiddle:"กลาง",densitySmall:"กะทัดรัด"},stepsForm:{next:"ถัดไป",prev:"ก่อนหน้า",submit:"เสร็จ"},loginForm:{submitText:"เข้าสู่ระบบ"},editableTable:{onlyOneLineEditor:"แก้ไขได้เพียงบรรทัดเดียวเท่านั้น",action:{save:"บันทึก",cancel:"ยกเลิก",delete:"ลบ",add:"เพิ่มแถวของข้อมูล"}},switch:{open:"เปิด",close:"ปิด"}},e0={moneySymbol:"₺",form:{lightFilter:{more:"Daha Fazla",clear:"Temizle",confirm:"Onayla",itemUnit:"\xd6ğeler"}},tableForm:{search:"Filtrele",reset:"Sıfırla",submit:"G\xf6nder",collapsed:"Daha fazla",expand:"Daha az",inputPlaceholder:"Filtrelemek i\xe7in bir değer girin",selectPlaceholder:"Filtrelemek i\xe7in bir değer se\xe7in"},alert:{clear:"Temizle",selected:"Se\xe7ili",item:"\xd6ğe"},pagination:{total:{range:" ",total:"Toplam",item:"\xd6ğe"}},tableToolBar:{leftPin:"Sola sabitle",rightPin:"Sağa sabitle",noPin:"Sabitlemeyi kaldır",leftFixedTitle:"Sola sabitlendi",rightFixedTitle:"Sağa sabitlendi",noFixedTitle:"Sabitlenmedi",reset:"Sıfırla",columnDisplay:"Kolon G\xf6r\xfcn\xfcm\xfc",columnSetting:"Ayarlar",fullScreen:"Tam Ekran",exitFullScreen:"Tam Ekrandan \xc7ık",reload:"Yenile",density:"Kalınlık",densityDefault:"Varsayılan",densityLarger:"B\xfcy\xfck",densityMiddle:"Orta",densitySmall:"K\xfc\xe7\xfck"},stepsForm:{next:"Sıradaki",prev:"\xd6nceki",submit:"G\xf6nder"},loginForm:{submitText:"Giriş Yap"},editableTable:{action:{save:"Kaydet",cancel:"Vazge\xe7",delete:"Sil",add:"foegje in rige gegevens ta"}},switch:{open:"a\xe7ık",close:"kapatmak"}},e1={moneySymbol:"₴",deleteThisLine:"Видатили рядок",copyThisLine:"Скопіювати рядок",form:{lightFilter:{more:"Ще",clear:"Очистити",confirm:"Ок",itemUnit:"Позиції"}},tableForm:{search:"Пошук",reset:"Очистити",submit:"Відправити",collapsed:"Розгорнути",expand:"Згорнути",inputPlaceholder:"Введіть значення",selectPlaceholder:"Оберіть значення"},alert:{clear:"Очистити",selected:"Обрано",item:"елементів"},pagination:{total:{range:" ",total:"з",item:"елементів"}},tableToolBar:{leftPin:"Закріпити зліва",rightPin:"Закріпити справа",noPin:"Відкріпити",leftFixedTitle:"Закріплено зліва",rightFixedTitle:"Закріплено справа",noFixedTitle:"Не закріплено",reset:"Скинути",columnDisplay:"Відображення стовпців",columnSetting:"Налаштування",fullScreen:"Повноекранний режим",exitFullScreen:"Вийти з повноекранного режиму",reload:"Оновити",density:"Розмір",densityDefault:"За замовчуванням",densityLarger:"Великий",densityMiddle:"Середній",densitySmall:"Стислий"},stepsForm:{next:"Наступний",prev:"Попередній",submit:"Завершити"},loginForm:{submitText:"Вхіх"},editableTable:{onlyOneLineEditor:"Тільки один рядок може бути редагований одночасно",action:{save:"Зберегти",cancel:"Відмінити",delete:"Видалити",add:"додати рядок"}},switch:{open:"Відкрито",close:"Закрито"}},e2={moneySymbol:"₫",form:{lightFilter:{more:"Nhiều hơn",clear:"Trong",confirm:"X\xe1c nhận",itemUnit:"Mục"}},tableForm:{search:"T\xecm kiếm",reset:"L\xe0m lại",submit:"Gửi đi",collapsed:"Mở rộng",expand:"Thu gọn",inputPlaceholder:"nhập dữ liệu",selectPlaceholder:"Vui l\xf2ng chọn"},alert:{clear:"X\xf3a",selected:"đ\xe3 chọn",item:"mục"},pagination:{total:{range:" ",total:"tr\xean",item:"mặt h\xe0ng"}},tableToolBar:{leftPin:"Ghim tr\xe1i",rightPin:"Ghim phải",noPin:"Bỏ ghim",leftFixedTitle:"Cố định tr\xe1i",rightFixedTitle:"Cố định phải",noFixedTitle:"Chưa cố định",reset:"L\xe0m lại",columnDisplay:"Cột hiển thị",columnSetting:"Cấu h\xecnh",fullScreen:"Chế độ to\xe0n m\xe0n h\xecnh",exitFullScreen:"Tho\xe1t chế độ to\xe0n m\xe0n h\xecnh",reload:"L\xe0m mới",density:"Mật độ hiển thị",densityDefault:"Mặc định",densityLarger:"Mặc định",densityMiddle:"Trung b\xecnh",densitySmall:"Chật"},stepsForm:{next:"Sau",prev:"Trước",submit:"Kết th\xfac"},loginForm:{submitText:"Đăng nhập"},editableTable:{action:{save:"Cứu",cancel:"Hủy",delete:"X\xf3a",add:"th\xeam một h\xe0ng dữ liệu"}},switch:{open:"mở",close:"đ\xf3ng"}},e3={moneySymbol:"\xa5",deleteThisLine:"删除此项",copyThisLine:"复制此项",form:{lightFilter:{more:"更多筛选",clear:"清除",confirm:"确认",itemUnit:"项"}},tableForm:{search:"查询",reset:"重置",submit:"提交",collapsed:"展开",expand:"收起",inputPlaceholder:"请输入",selectPlaceholder:"请选择"},alert:{clear:"取消选择",selected:"已选择",item:"项"},pagination:{total:{range:"第",total:"条/总共",item:"条"}},tableToolBar:{leftPin:"固定在列首",rightPin:"固定在列尾",noPin:"不固定",leftFixedTitle:"固定在左侧",rightFixedTitle:"固定在右侧",noFixedTitle:"不固定",reset:"重置",columnDisplay:"列展示",columnSetting:"列设置",fullScreen:"全屏",exitFullScreen:"退出全屏",reload:"刷新",density:"密度",densityDefault:"正常",densityLarger:"宽松",densityMiddle:"中等",densitySmall:"紧凑"},stepsForm:{next:"下一步",prev:"上一步",submit:"提交"},loginForm:{submitText:"登录"},editableTable:{onlyOneLineEditor:"只能同时编辑一行",action:{save:"保存",cancel:"取消",delete:"删除",add:"添加一行数据"}},switch:{open:"打开",close:"关闭"}},e4={moneySymbol:"NT$",deleteThisLine:"刪除此项",copyThisLine:"複製此项",form:{lightFilter:{more:"更多篩選",clear:"清除",confirm:"確認",itemUnit:"項"}},tableForm:{search:"查詢",reset:"重置",submit:"提交",collapsed:"展開",expand:"收起",inputPlaceholder:"請輸入",selectPlaceholder:"請選擇"},alert:{clear:"取消選擇",selected:"已選擇",item:"項"},pagination:{total:{range:"第",total:"條/總共",item:"條"}},tableToolBar:{leftPin:"固定到左邊",rightPin:"固定到右邊",noPin:"不固定",leftFixedTitle:"固定在左側",rightFixedTitle:"固定在右側",noFixedTitle:"不固定",reset:"重置",columnDisplay:"列展示",columnSetting:"列設置",fullScreen:"全屏",exitFullScreen:"退出全屏",reload:"刷新",density:"密度",densityDefault:"正常",densityLarger:"寬鬆",densityMiddle:"中等",densitySmall:"緊湊"},stepsForm:{next:"下一步",prev:"上一步",submit:"完成"},loginForm:{submitText:"登入"},editableTable:{onlyOneLineEditor:"只能同時編輯一行",action:{save:"保存",cancel:"取消",delete:"刪除",add:"新增一行資料"}},switch:{open:"打開",close:"關閉"}};function e5(e,t,n){var r,o=t.replace(/\[(\d+)\]/g,".$1").split("."),i=e,a=n,s=eT(o);try{for(s.s();!(r=s.n()).done;){var l=r.value;if(a=Object(i)[l],i=Object(i)[l],void 0===a)return n}}catch(e){s.e(e)}finally{s.f()}return a}var e6=function(e,t){return{getMessage:function(e,n){return e5(t,e,n)||n},locale:e}},e8=e6("mn_MN",{moneySymbol:"₮",form:{lightFilter:{more:"Илүү",clear:"Цэвэрлэх",confirm:"Баталгаажуулах",itemUnit:"Нэгжүүд"}},tableForm:{search:"Хайх",reset:"Шинэчлэх",submit:"Илгээх",collapsed:"Өргөтгөх",expand:"Хураах",inputPlaceholder:"Утга оруулна уу",selectPlaceholder:"Утга сонгоно уу"},alert:{clear:"Цэвэрлэх",selected:"Сонгогдсон",item:"Нэгж"},pagination:{total:{range:" ",total:"Нийт",item:"мөр"}},tableToolBar:{leftPin:"Зүүн тийш бэхлэх",rightPin:"Баруун тийш бэхлэх",noPin:"Бэхлэхгүй",leftFixedTitle:"Зүүн зэрэгцүүлэх",rightFixedTitle:"Баруун зэрэгцүүлэх",noFixedTitle:"Зэрэгцүүлэхгүй",reset:"Шинэчлэх",columnDisplay:"Баганаар харуулах",columnSetting:"Тохиргоо",fullScreen:"Бүтэн дэлгэцээр",exitFullScreen:"Бүтэн дэлгэц цуцлах",reload:"Шинэчлэх",density:"Хэмжээ",densityDefault:"Хэвийн",densityLarger:"Том",densityMiddle:"Дунд",densitySmall:"Жижиг"},stepsForm:{next:"Дараах",prev:"Өмнөх",submit:"Дуусгах"},loginForm:{submitText:"Нэвтрэх"},editableTable:{action:{save:"Хадгалах",cancel:"Цуцлах",delete:"Устгах",add:"Мөр нэмэх"}},switch:{open:"Нээх",close:"Хаах"}}),e7=e6("ar_EG",eR),e9=e6("zh_CN",e3),te={"mn-MN":e8,"ar-EG":e7,"zh-CN":e9,"en-US":e6("en_US",eL),"en-GB":e6("en_GB",eD),"vi-VN":e6("vi_VN",e2),"it-IT":e6("it_IT",eq),"ja-JP":e6("ja_JP",eV),"es-ES":e6("es_ES",eB),"ca-ES":e6("ca_ES",eM),"ru-RU":e6("ru_RU",eY),"sr-RS":e6("sr_RS",eQ),"ms-MY":e6("ms_MY",e$),"zh-TW":e6("zh_TW",e4),"fr-FR":e6("fr_FR",eF),"pt-BR":e6("pt_BR",eK),"ko-KR":e6("ko_KR",eW),"id-ID":e6("id_ID",eH),"de-DE":e6("de_DE",ej),"fa-IR":e6("fa_IR",eZ),"tr-TR":e6("tr_TR",e0),"pl-PL":e6("pl_PL",eG),"hr-HR":e6("hr_",eU),"th-TH":e6("th_TH",eJ),"cs-CZ":e6("cs_cz",eN),"sk-SK":e6("sk_SK",eX),"he-IL":e6("he_IL",ez),"uk-UA":e6("uk_UA",e1)},tt=Object.keys(te),tn=function(e){var t=(e||"zh-CN").toLocaleLowerCase();return tt.find(function(e){return e.toLocaleLowerCase().includes(t)})},tr=n(6020),to=n.n(tr),ti=n(68166),ta=function(e,t){var n,r,o,i,s,l=(0,a.Z)({},e);return(0,a.Z)((0,a.Z)({bgLayout:"linear-gradient(".concat(t.colorBgContainer,", ").concat(t.colorBgLayout," 28%)"),colorTextAppListIcon:t.colorTextSecondary,appListIconHoverBgColor:null==l||null===(n=l.sider)||void 0===n?void 0:n.colorBgMenuItemSelected,colorBgAppListIconHover:(0,ti.uK)(t.colorTextBase,.04),colorTextAppListIconHover:t.colorTextBase},l),{},{header:(0,a.Z)({colorBgHeader:(0,ti.uK)(t.colorBgElevated,.6),colorBgScrollHeader:(0,ti.uK)(t.colorBgElevated,.8),colorHeaderTitle:t.colorText,colorBgMenuItemHover:(0,ti.uK)(t.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorBgMenuElevated:(null==l||null===(r=l.header)||void 0===r?void 0:r.colorBgHeader)!=="rgba(255, 255, 255, 0.6)"?null===(o=l.header)||void 0===o?void 0:o.colorBgHeader:t.colorBgElevated,colorTextMenuSelected:(0,ti.uK)(t.colorTextBase,.95),colorBgRightActionsItemHover:(0,ti.uK)(t.colorTextBase,.03),colorTextRightActionsItem:t.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:t.colorTextSecondary,colorTextMenuSecondary:t.colorTextTertiary,colorTextMenuTitle:t.colorText,colorTextMenuActive:t.colorText},l.header),sider:(0,a.Z)({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:t.colorBgElevated,colorTextCollapsedButtonHover:t.colorTextSecondary,colorTextCollapsedButton:(0,ti.uK)(t.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:(0,ti.uK)(t.colorTextBase,.06),colorBgMenuItemHover:(0,ti.uK)(t.colorTextBase,.03),colorBgMenuItemSelected:(0,ti.uK)(t.colorTextBase,.04),colorTextMenuItemHover:t.colorText,colorTextMenuSelected:(0,ti.uK)(t.colorTextBase,.95),colorTextMenuActive:t.colorText,colorTextMenu:t.colorTextSecondary,colorTextMenuSecondary:t.colorTextTertiary,colorTextMenuTitle:t.colorText,colorTextSubMenuSelected:(0,ti.uK)(t.colorTextBase,.95)},l.sider),pageContainer:(0,a.Z)({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:(null===(i=l.pageContainer)||void 0===i?void 0:i.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:(null===(s=l.pageContainer)||void 0===s?void 0:s.marginBlockPageContainerContent)||32,colorBgPageContainerFixed:t.colorBgElevated},l.pageContainer)})},ts=n(84964),tl=n(58611),tc=function(){for(var e,t={},n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];for(var i=r.length,s=0;s<i;s+=1)for(e in r[s])r[s].hasOwnProperty(e)&&("object"!==(0,tl.Z)(t[e])||"object"!==(0,tl.Z)(r[s][e])||void 0===t[e]||null===t[e]||Array.isArray(t[e])||Array.isArray(r[s][e])?t[e]=r[s][e]:t[e]=(0,a.Z)((0,a.Z)({},t[e]),r[s][e]));return t};n(80011);var tu=n(31549),td=n(79895),tf=["locale","getPrefixCls"],tp=["locale","theme"],th=function(){return!0},tm=w.createContext({intl:(0,a.Z)((0,a.Z)({},e9),{},{locale:"default"}),valueTypeMap:{},theme:ts.emptyTheme,hashed:!0,dark:!1,token:ts.defaultToken});tm.Consumer;var tg=function(){var e=eS().cache;return(0,w.useEffect)(function(){return function(){e.clear()}},[]),null},tv=function(e){var t,n=e.children,r=e.dark,l=e.valueTypeMap,u=e.autoClearCache,d=void 0!==u&&u,f=e.token,p=e.prefixCls,h=e.intl,m=(0,w.useContext)(c.ZP.ConfigContext),g=m.locale,v=m.getPrefixCls,y=(0,i.Z)(m,tf),b=null===(t=ti.Ow.useToken)||void 0===t?void 0:t.call(ti.Ow),S=(0,w.useContext)(tm),x=p?".".concat(p):".".concat(v(),"-pro"),E="."+v(),C="".concat(x),_=(0,w.useMemo)(function(){return ta(f||{},b.token||ts.defaultToken)},[f,b.token]),k=(0,w.useMemo)(function(){var e,t=null==g?void 0:g.locale,n=tn(t),o=null!=h?h:t&&(null===(e=S.intl)||void 0===e?void 0:e.locale)==="default"?te[n]:S.intl||te[n];return(0,a.Z)((0,a.Z)({},S),{},{dark:null!=r?r:S.dark,token:tc(S.token,b.token,{proComponentsCls:x,antCls:E,themeId:b.theme.id,layout:_}),intl:o||e9})},[null==g?void 0:g.locale,S,r,b.token,b.theme.id,x,E,_,h]),O=(0,a.Z)((0,a.Z)({},k.token||{}),{},{proComponentsCls:x}),A=(0,s.fp)(b.theme,[b.token,null!=O?O:{}],{salt:C,override:O}),I=(0,o.Z)(A,2),P=I[0],T=I[1],R=(0,w.useMemo)(function(){return!1!==e.hashed&&!1!==S.hashed},[S.hashed,e.hashed]),M=(0,w.useMemo)(function(){return!1===e.hashed||!1===S.hashed?"":!1===th()?"":T},[T,S.hashed,e.hashed]);(0,w.useEffect)(function(){to().locale((null==g?void 0:g.locale)||"zh-cn")},[null==g?void 0:g.locale]);var N=(0,w.useMemo)(function(){return(0,a.Z)((0,a.Z)({},y.theme),{},{hashId:M,hashed:R&&th()})},[y.theme,M,R,th()]),j=(0,w.useMemo)(function(){return(0,a.Z)((0,a.Z)({},k),{},{valueTypeMap:l||(null==k?void 0:k.valueTypeMap),token:P,theme:b.theme,hashed:R,hashId:M})},[k,l,P,b.theme,R,M]),D=(0,w.useMemo)(function(){return(0,tu.jsx)(c.ZP,(0,a.Z)((0,a.Z)({},y),{},{theme:N,children:(0,tu.jsx)(tm.Provider,{value:j,children:(0,tu.jsxs)(tu.Fragment,{children:[d&&(0,tu.jsx)(tg,{}),n]})})}))},[y,N,j,d,n]);return d?(0,tu.jsx)(eI,{value:{provider:function(){return new Map}},children:D}):D},ty=function(e){var t=e.needDeps,n=e.dark,o=e.token,s=(0,w.useContext)(tm),u=(0,w.useContext)(c.ZP.ConfigContext),d=u.locale,f=u.theme,p=(0,i.Z)(u,tp);if(t&&void 0!==s.hashId&&"children-needDeps"===Object.keys(e).sort().join("-"))return(0,tu.jsx)(tu.Fragment,{children:e.children});var h=function(){var e=null!=n?n:s.dark;return e&&!Array.isArray(null==f?void 0:f.algorithm)?[ti.Ow.darkAlgorithm,null==f?void 0:f.algorithm].filter(Boolean):e&&Array.isArray(null==f?void 0:f.algorithm)?[ti.Ow.darkAlgorithm].concat((0,r.Z)((null==f?void 0:f.algorithm)||[])).filter(Boolean):null==f?void 0:f.algorithm},m=(0,a.Z)((0,a.Z)({},p),{},{locale:d||b,theme:l((0,a.Z)((0,a.Z)({},f),{},{algorithm:h()}))});return(0,tu.jsx)(c.ZP,(0,a.Z)((0,a.Z)({},m),{},{children:(0,tu.jsx)(tv,(0,a.Z)((0,a.Z)({},e),{},{token:o}))}))};tm.displayName="ProProvider";var tb=tm},68166:function(e,t,n){"use strict";n.d(t,{Nd:function(){return m},Ow:function(){return f},Wf:function(){return h},Xj:function(){return g},dQ:function(){return p},uK:function(){return d}});var r=n(14068),o=n(72335),i=n(66671),a=n(85291),s=n(22904),l=n(44194),c=n(61382),u=n(84964),d=function(e,t){return new i.C(e).setAlpha(t).toRgbString()},f=function(){return void 0!==a.Z&&a.Z?a.Z:u}(),p=f.useToken,h=function(e){return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none"}},m=function(e){return{color:e.colorLink,outline:"none",cursor:"pointer",transition:"color ".concat(e.motionDurationSlow),"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}};function g(e,t){var n,i=(0,l.useContext)(c.L_).token,a=void 0===i?{}:i,u=(0,l.useContext)(c.L_),d=u.hashId,f=void 0===d?"":d,h=u.theme,m=p().token,g=(0,l.useContext)(s.ZP.ConfigContext).getPrefixCls;return a.layout||(a=(0,r.Z)({},m)),a.proComponentsCls=null!==(n=a.proComponentsCls)&&void 0!==n?n:".".concat(g("pro")),a.antCls=".".concat(g()),{wrapSSR:(0,o.xy)({theme:h,token:a,hashId:f,path:[e]},function(){return t(a)}),hashId:f}}},84964:function(e,t,n){"use strict";n.r(t),n.d(t,{defaultToken:function(){return s},emptyTheme:function(){return c},hashCode:function(){return l},token:function(){return u},useToken:function(){return d}});var r,o=n(14068),i=n(72335),a=n(85291),s={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911",colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff7875",colorInfo:"#1677ff",colorTextBase:"#000",colorBgBase:"#fff",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInQuint:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:4,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,"blue-1":"#e6f4ff","blue-2":"#bae0ff","blue-3":"#91caff","blue-4":"#69b1ff","blue-5":"#4096ff","blue-6":"#1677ff","blue-7":"#0958d9","blue-8":"#003eb3","blue-9":"#002c8c","blue-10":"#001d66","purple-1":"#f9f0ff","purple-2":"#efdbff","purple-3":"#d3adf7","purple-4":"#b37feb","purple-5":"#9254de","purple-6":"#722ed1","purple-7":"#531dab","purple-8":"#391085","purple-9":"#22075e","purple-10":"#120338","cyan-1":"#e6fffb","cyan-2":"#b5f5ec","cyan-3":"#87e8de","cyan-4":"#5cdbd3","cyan-5":"#36cfc9","cyan-6":"#13c2c2","cyan-7":"#08979c","cyan-8":"#006d75","cyan-9":"#00474f","cyan-10":"#002329","green-1":"#f6ffed","green-2":"#d9f7be","green-3":"#b7eb8f","green-4":"#95de64","green-5":"#73d13d","green-6":"#52c41a","green-7":"#389e0d","green-8":"#237804","green-9":"#135200","green-10":"#092b00","magenta-1":"#fff0f6","magenta-2":"#ffd6e7","magenta-3":"#ffadd2","magenta-4":"#ff85c0","magenta-5":"#f759ab","magenta-6":"#eb2f96","magenta-7":"#c41d7f","magenta-8":"#9e1068","magenta-9":"#780650","magenta-10":"#520339","pink-1":"#fff0f6","pink-2":"#ffd6e7","pink-3":"#ffadd2","pink-4":"#ff85c0","pink-5":"#f759ab","pink-6":"#eb2f96","pink-7":"#c41d7f","pink-8":"#9e1068","pink-9":"#780650","pink-10":"#520339","red-1":"#fff1f0","red-2":"#ffccc7","red-3":"#ffa39e","red-4":"#ff7875","red-5":"#ff4d4f","red-6":"#f5222d","red-7":"#cf1322","red-8":"#a8071a","red-9":"#820014","red-10":"#5c0011","orange-1":"#fff7e6","orange-2":"#ffe7ba","orange-3":"#ffd591","orange-4":"#ffc069","orange-5":"#ffa940","orange-6":"#fa8c16","orange-7":"#d46b08","orange-8":"#ad4e00","orange-9":"#873800","orange-10":"#612500","yellow-1":"#feffe6","yellow-2":"#ffffb8","yellow-3":"#fffb8f","yellow-4":"#fff566","yellow-5":"#ffec3d","yellow-6":"#fadb14","yellow-7":"#d4b106","yellow-8":"#ad8b00","yellow-9":"#876800","yellow-10":"#614700","volcano-1":"#fff2e8","volcano-2":"#ffd8bf","volcano-3":"#ffbb96","volcano-4":"#ff9c6e","volcano-5":"#ff7a45","volcano-6":"#fa541c","volcano-7":"#d4380d","volcano-8":"#ad2102","volcano-9":"#871400","volcano-10":"#610b00","geekblue-1":"#f0f5ff","geekblue-2":"#d6e4ff","geekblue-3":"#adc6ff","geekblue-4":"#85a5ff","geekblue-5":"#597ef7","geekblue-6":"#2f54eb","geekblue-7":"#1d39c4","geekblue-8":"#10239e","geekblue-9":"#061178","geekblue-10":"#030852","gold-1":"#fffbe6","gold-2":"#fff1b8","gold-3":"#ffe58f","gold-4":"#ffd666","gold-5":"#ffc53d","gold-6":"#faad14","gold-7":"#d48806","gold-8":"#ad6800","gold-9":"#874d00","gold-10":"#613400","lime-1":"#fcffe6","lime-2":"#f4ffb8","lime-3":"#eaff8f","lime-4":"#d3f261","lime-5":"#bae637","lime-6":"#a0d911","lime-7":"#7cb305","lime-8":"#5b8c00","lime-9":"#3f6600","lime-10":"#254000",colorText:"rgba(0, 0, 0, 0.88)",colorTextSecondary:"rgba(0, 0, 0, 0.65)",colorTextTertiary:"rgba(0, 0, 0, 0.45)",colorTextQuaternary:"rgba(0, 0, 0, 0.25)",colorFill:"rgba(0, 0, 0, 0.15)",colorFillSecondary:"rgba(0, 0, 0, 0.06)",colorFillTertiary:"rgba(0, 0, 0, 0.04)",colorFillQuaternary:"rgba(0, 0, 0, 0.02)",colorBgLayout:"hsl(220,23%,97%)",colorBgContainer:"#ffffff",colorBgElevated:"#ffffff",colorBgSpotlight:"rgba(0, 0, 0, 0.85)",colorBorder:"#d9d9d9",colorBorderSecondary:"#f0f0f0",colorPrimaryBg:"#e6f4ff",colorPrimaryBgHover:"#bae0ff",colorPrimaryBorder:"#91caff",colorPrimaryBorderHover:"#69b1ff",colorPrimaryHover:"#4096ff",colorPrimaryActive:"#0958d9",colorPrimaryTextHover:"#4096ff",colorPrimaryText:"#1677ff",colorPrimaryTextActive:"#0958d9",colorSuccessBg:"#f6ffed",colorSuccessBgHover:"#d9f7be",colorSuccessBorder:"#b7eb8f",colorSuccessBorderHover:"#95de64",colorSuccessHover:"#95de64",colorSuccessActive:"#389e0d",colorSuccessTextHover:"#73d13d",colorSuccessText:"#52c41a",colorSuccessTextActive:"#389e0d",colorErrorBg:"#fff2f0",colorErrorBgHover:"#fff1f0",colorErrorBorder:"#ffccc7",colorErrorBorderHover:"#ffa39e",colorErrorHover:"#ffa39e",colorErrorActive:"#d9363e",colorErrorTextHover:"#ff7875",colorErrorText:"#ff4d4f",colorErrorTextActive:"#d9363e",colorWarningBg:"#fffbe6",colorWarningBgHover:"#fff1b8",colorWarningBorder:"#ffe58f",colorWarningBorderHover:"#ffd666",colorWarningHover:"#ffd666",colorWarningActive:"#d48806",colorWarningTextHover:"#ffc53d",colorWarningText:"#faad14",colorWarningTextActive:"#d48806",colorInfoBg:"#e6f4ff",colorInfoBgHover:"#bae0ff",colorInfoBorder:"#91caff",colorInfoBorderHover:"#69b1ff",colorInfoHover:"#69b1ff",colorInfoActive:"#0958d9",colorInfoTextHover:"#4096ff",colorInfoText:"#1677ff",colorInfoTextActive:"#0958d9",colorBgMask:"rgba(0, 0, 0, 0.45)",colorWhite:"#fff",sizeXXL:48,sizeXL:32,sizeLG:24,sizeMD:20,sizeMS:16,size:16,sizeSM:12,sizeXS:8,sizeXXS:4,controlHeightSM:24,controlHeightXS:16,controlHeightLG:40,motionDurationFast:"0.1s",motionDurationMid:"0.2s",motionDurationSlow:"0.3s",fontSizes:[12,14,16,20,24,30,38,46,56,68],lineHeights:[1.6666666666666667,1.5714285714285714,1.5,1.4,1.3333333333333333,1.2666666666666666,1.2105263157894737,1.173913043478261,1.1428571428571428,1.1176470588235294],lineWidthBold:2,borderRadiusXS:1,borderRadiusSM:4,borderRadiusLG:8,borderRadiusOuter:4,colorLink:"#1677ff",colorLinkHover:"#69b1ff",colorLinkActive:"#0958d9",colorFillContent:"rgba(0, 0, 0, 0.06)",colorFillContentHover:"rgba(0, 0, 0, 0.15)",colorFillAlter:"rgba(0, 0, 0, 0.02)",colorBgContainerDisabled:"rgba(0, 0, 0, 0.04)",colorBorderBg:"#ffffff",colorSplit:"rgba(5, 5, 5, 0.06)",colorTextPlaceholder:"rgba(0, 0, 0, 0.25)",colorTextDisabled:"rgba(0, 0, 0, 0.25)",colorTextHeading:"rgba(0, 0, 0, 0.88)",colorTextLabel:"rgba(0, 0, 0, 0.65)",colorTextDescription:"rgba(0, 0, 0, 0.45)",colorTextLightSolid:"#fff",colorHighlight:"#ff7875",colorBgTextHover:"rgba(0, 0, 0, 0.06)",colorBgTextActive:"rgba(0, 0, 0, 0.15)",colorIcon:"rgba(0, 0, 0, 0.45)",colorIconHover:"rgba(0, 0, 0, 0.88)",colorErrorOutline:"rgba(255, 38, 5, 0.06)",colorWarningOutline:"rgba(255, 215, 5, 0.1)",fontSizeSM:12,fontSizeLG:16,fontSizeXL:20,fontSizeHeading1:38,fontSizeHeading2:30,fontSizeHeading3:24,fontSizeHeading4:20,fontSizeHeading5:16,fontSizeIcon:12,lineHeight:1.5714285714285714,lineHeightLG:1.5,lineHeightSM:1.6666666666666667,lineHeightHeading1:1.2105263157894737,lineHeightHeading2:1.2666666666666666,lineHeightHeading3:1.3333333333333333,lineHeightHeading4:1.4,lineHeightHeading5:1.5,controlOutlineWidth:2,controlInteractiveSize:16,controlItemBgHover:"rgba(0, 0, 0, 0.04)",controlItemBgActive:"#e6f4ff",controlItemBgActiveHover:"#bae0ff",controlItemBgActiveDisabled:"rgba(0, 0, 0, 0.15)",controlTmpOutline:"rgba(0, 0, 0, 0.02)",controlOutline:"rgba(5, 145, 255, 0.1)",fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:4,paddingXS:8,paddingSM:12,padding:16,paddingMD:20,paddingLG:24,paddingXL:32,paddingContentHorizontalLG:24,paddingContentVerticalLG:16,paddingContentHorizontal:16,paddingContentVertical:12,paddingContentHorizontalSM:16,paddingContentVerticalSM:8,marginXXS:4,marginXS:8,marginSM:12,margin:16,marginMD:20,marginLG:24,marginXL:32,marginXXL:48,boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.03),0 1px 6px -1px rgba(0, 0, 0, 0.02),0 2px 4px 0 rgba(0, 0, 0, 0.02)",boxShadowSecondary:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",screenXS:480,screenXSMin:480,screenXSMax:479,screenSM:576,screenSMMin:576,screenSMMax:575,screenMD:768,screenMDMin:768,screenMDMax:767,screenLG:992,screenLGMin:992,screenLGMax:991,screenXL:1200,screenXLMin:1200,screenXLMax:1199,screenXXL:1600,screenXXLMin:1600,screenXXLMax:1599,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:"0 1px 2px -2px rgba(0, 0, 0, 0.16),0 3px 6px 0 rgba(0, 0, 0, 0.12),0 5px 12px 4px rgba(0, 0, 0, 0.09)",boxShadowDrawerRight:"-6px 0 16px 0 rgba(0, 0, 0, 0.08),-3px 0 6px -4px rgba(0, 0, 0, 0.12),-9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerLeft:"6px 0 16px 0 rgba(0, 0, 0, 0.08),3px 0 6px -4px rgba(0, 0, 0, 0.12),9px 0 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerUp:"0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowDrawerDown:"0 -6px 16px 0 rgba(0, 0, 0, 0.08),0 -3px 6px -4px rgba(0, 0, 0, 0.12),0 -9px 28px 8px rgba(0, 0, 0, 0.05)",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",_tokenKey:"19w80ff",_hashId:"css-dev-only-do-not-override-i2zu9q"},l=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=3735928559^n,o=1103547991^n,i=0;i<e.length;i++)r=Math.imul(r^(t=e.charCodeAt(i)),2654435761),o=Math.imul(o^t,1597334677);return r=Math.imul(r^r>>>16,2246822507)^Math.imul(o^o>>>13,3266489909),4294967296*(2097151&(o=Math.imul(o^o>>>16,2246822507)^Math.imul(r^r>>>13,3266489909)))+(r>>>0)},c=(0,i.jG)(function(e){return e}),u={theme:c,token:(0,o.Z)((0,o.Z)({},s),null===a.Z||void 0===a.Z||null===(r=a.Z.defaultAlgorithm)||void 0===r?void 0:r.call(a.Z,null===a.Z||void 0===a.Z?void 0:a.Z.defaultSeed)),hashId:"pro-".concat(l(JSON.stringify(s)))},d=function(){return u}},44663:function(e,t,n){"use strict";n.d(t,{g:function(){return oG}});var r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,y,b,w,S,x,E,C,_,k,O,A,I,P,T,R,M,N,j,D,L,B,Z,F,z,U,H,q,V,W,$,G,K,Y,X,Q,J,ee,et,en,er,eo,ei,ea,es,el,ec,eu=n(33569);function ed(e){var t=["provider"];return e&&!!t.find(function(t){return e.hasOwnProperty(t)})}function ef(e){var t=["customProvider"];return e&&!!t.find(function(t){return e.hasOwnProperty(t)})}function ep(e){var t=["customState"];return e&&!!t.find(function(t){return e.hasOwnProperty(t)})}function eh(e){return void 0!==e.redirectSignIn}function em(e){return!!e.username}(function(e){e.Cognito="COGNITO",e.Google="Google",e.Facebook="Facebook",e.Amazon="LoginWithAmazon",e.Apple="SignInWithApple"})(r||(r={})),function(e){e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default",e.DeviceConfig="deviceConfig",e.NetworkError="networkError",e.AutoSignInError="autoSignInError"}(o||(o={})),function(e){e.API_KEY="API_KEY",e.AWS_IAM="AWS_IAM",e.OPENID_CONNECT="OPENID_CONNECT",e.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",e.AWS_LAMBDA="AWS_LAMBDA"}(i||(i={}));var eg=n(40421),ev=n(31264),ey={},eb=function(){function e(){}return e.setItem=function(e,t){return ey[e]=t,ey[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(ey,e)?ey[e]:void 0},e.removeItem=function(e){return delete ey[e]},e.clear=function(){return ey={}},e}(),ew=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(e){this.storageWindow=eb}}return e.prototype.getStorage=function(){return this.storageWindow},e}(),eS=n(79895),ex=function(e){if(e.isResolved)return e;var t=!0,n=!1,r=!1,o=e.then(function(e){return r=!0,t=!1,e},function(e){throw n=!0,t=!1,e});return o.isFullfilled=function(){return r},o.isPending=function(){return t},o.isRejected=function(){return n},o},eE=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:void 0!==eS&&null!=eS.versions&&null!=eS.versions.node}},eC=new eg.k("Util"),e_=function(e){function t(t){var n=e.call(this,t)||this;return n.nonRetryable=!0,n}return(0,eu.__extends)(t,e),t}(Error),ek=function(e){var t="nonRetryable";return e&&e[t]};function eO(e,t,n,r){return(0,eu.__awaiter)(this,void 0,void 0,function(){var o=this;return(0,eu.__generator)(this,function(i){if("function"!=typeof e)throw Error("functionToRetry must be a function");return[2,new Promise(function(i,a){return(0,eu.__awaiter)(o,void 0,void 0,function(){var o,s,l,c,u,d,f;return(0,eu.__generator)(this,function(p){switch(p.label){case 0:o=0,s=!1,c=function(){},r&&r.then(function(){s=!0,clearTimeout(l),c()}),d=function(){var r,d,f,p;return(0,eu.__generator)(this,function(h){switch(h.label){case 0:o++,eC.debug(e.name+" attempt #"+o+" with this vars: "+JSON.stringify(t)),h.label=1;case 1:return h.trys.push([1,3,,7]),r={},d=i,[4,e.apply(void 0,(0,eu.__spread)(t))];case 2:return[2,(r.value=d.apply(void 0,[h.sent()]),r)];case 3:if(u=f=h.sent(),eC.debug("error on "+e.name,f),ek(f))return eC.debug(e.name+" non retryable error",f),[2,{value:a(f)}];if(p=n(o,t,f),eC.debug(e.name+" retrying in "+p+" ms"),!(!1===p||s))return[3,4];return[2,{value:a(f)}];case 4:return[4,new Promise(function(e){l=setTimeout(c=e,p)})];case 5:h.sent(),h.label=6;case 6:return[3,7];case 7:return[2]}})},p.label=1;case 1:if(s)return[3,3];return[5,d()];case 2:if("object"==typeof(f=p.sent()))return[2,f.value];return[3,1];case 3:return a(u),[2]}})})})]})})}var eA=3e5;function eI(e){void 0===e&&(e=eA);var t=100,n=100;return function(r){var o=Math.pow(2,r)*t+n*Math.random();return!(o>e)&&o}}var eP=function(e,t,n,r){return void 0===n&&(n=eA),eO(e,t,eI(n),r)},eT=new eg.k("CognitoCredentials"),eR=new Promise(function(e,t){return eE().isBrowser?(window.gapi&&window.gapi.auth2?window.gapi.auth2:null)?(eT.debug("google api already loaded"),e()):void setTimeout(function(){return e()},2e3):(eT.debug("not in the browser, directly resolved"),e())}),eM=function(){function e(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return e.prototype.refreshGoogleToken=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){return(0,eu.__generator)(this,function(e){switch(e.label){case 0:if(this.initialized)return[3,2];return eT.debug("need to wait for the Google SDK loaded"),[4,eR];case 1:e.sent(),this.initialized=!0,eT.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshGoogleTokenImpl()]}})})},e.prototype._refreshGoogleTokenImpl=function(){var e=null;return(eE().isBrowser&&(e=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),e)?new Promise(function(t,n){e.getAuthInstance().then(function(e){e||(eT.debug("google Auth undefined"),n(new e_("google Auth undefined")));var r=e.currentUser.get();r.isSignedIn()?(eT.debug("refreshing the google access token"),r.reloadAuthResponse().then(function(e){t({token:e.id_token,expires_at:e.expires_at})}).catch(function(e){e&&"network_error"===e.error?n("Network error reloading google auth response"):n(new e_("Failed to reload google auth response"))})):n(new e_("User is not signed in with Google"))}).catch(function(e){eT.debug("Failed to refresh google token",e),n(new e_("Failed to refresh google token"))})}):(eT.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},e}(),eN=new eg.k("CognitoCredentials"),ej=new Promise(function(e,t){return eE().isBrowser?window.FB?(eN.debug("FB SDK already loaded"),e()):void setTimeout(function(){return e()},2e3):(eN.debug("not in the browser, directly resolved"),e())}),eD=function(){function e(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return e.prototype.refreshFacebookToken=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){return(0,eu.__generator)(this,function(e){switch(e.label){case 0:if(this.initialized)return[3,2];return eN.debug("need to wait for the Facebook SDK loaded"),[4,ej];case 1:e.sent(),this.initialized=!0,eN.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshFacebookTokenImpl()]}})})},e.prototype._refreshFacebookTokenImpl=function(){var e=null;if(eE().isBrowser&&(e=window.FB),!e){var t="no fb sdk available";return eN.debug(t),Promise.reject(new e_(t))}return new Promise(function(t,n){e.getLoginStatus(function(e){if(e&&e.authResponse){var r=e.authResponse,o=r.accessToken,i=1e3*r.expiresIn+new Date().getTime();if(!o){var a="the jwtToken is undefined";eN.debug(a),n(new e_(a))}t({token:o,expires_at:i})}else{var a="no response from facebook when refreshing the jwt token";eN.debug(a),n(new e_(a))}},{scope:"public_profile,email"})})},e}(),eL=new eM,eB=new eD,eZ=n(17825),eF=n(94154);(function(e){e.AUTHENTICATED_ROLE="AuthenticatedRole",e.DENY="Deny"})(a||(a={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(s||(s={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(l||(l={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(c||(c={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(u||(u={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(d||(d={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(f||(f={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(p||(p={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(h||(h={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(m||(m={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(g||(g={})),function(e){e.ACCESS_DENIED="AccessDenied",e.INTERNAL_SERVER_ERROR="InternalServerError"}(v||(v={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(y||(y={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(b||(b={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(w||(w={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(S||(S={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(x||(x={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(E||(E={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(C||(C={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(_||(_={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(k||(k={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(O||(O={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(A||(A={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(I||(I={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(P||(P={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(T||(T={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(R||(R={})),function(e){e.CONTAINS="Contains",e.EQUALS="Equals",e.NOT_EQUAL="NotEqual",e.STARTS_WITH="StartsWith"}(M||(M={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(N||(N={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(j||(j={})),function(e){e.RULES="Rules",e.TOKEN="Token"}(D||(D={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(L||(L={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(B||(B={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(Z||(Z={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(F||(F={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(z||(z={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(U||(U={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(H||(H={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(q||(q={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(V||(V={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(W||(W={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}($||($={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(G||(G={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(K||(K={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(Y||(Y={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(X||(X={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(Q||(Q={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(J||(J={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(ee||(ee={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(et||(et={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(en||(en={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(er||(er={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(eo||(eo={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(ei||(ei={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(ea||(ea={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(es||(es={})),function(e){e.filterSensitiveLog=function(e){return(0,eF.pi)({},e)}}(el||(el={}));var ez=function(){function e(e){this.statusCode=e.statusCode,this.headers=e.headers||{},this.body=e.body}return e.isInstance=function(e){if(!e)return!1;var t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers},e}(),eU=function(){function e(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.substr(-1)?e.protocol+":":e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?"/"+e.path:e.path:"/"}return e.isInstance=function(e){if(!e)return!1;var t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers},e.prototype.clone=function(){var t=new e((0,eu.__assign)((0,eu.__assign)({},this),{headers:(0,eu.__assign)({},this.headers)}));return t.query&&(t.query=eH(t.query)),t},e}();function eH(e){return Object.keys(e).reduce(function(t,n){var r,o=e[n];return(0,eu.__assign)((0,eu.__assign)({},t),((r={})[n]=Array.isArray(o)?(0,eu.__spread)(o):o,r))},{})}var eq=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n,r;return(0,eF.Jh)(this,function(o){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},r=JSON.stringify(e5(e,t)),[2,tp(t,n,"/",void 0,r)]})})},eV=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n,r;return(0,eF.Jh)(this,function(o){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetId"},r=JSON.stringify(e6(e,t)),[2,tp(t,n,"/",void 0,r)]})})},eW=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n,r;return(0,eF.Jh)(this,function(o){switch(o.label){case 0:if(e.statusCode>=300)return[2,e$(e,t)];return[4,th(e.body,t)];case 1:return n=o.sent(),r={},r=te(n,t),[2,Promise.resolve((0,eF.pi)({$metadata:tu(e)},r))]}})})},e$=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n,r,o,i,a,s,l,c,u,d,f,p,h,m,g;return(0,eF.Jh)(this,function(v){switch(v.label){case 0:return r=[(0,eF.pi)({},e)],g={},[4,th(e.body,t)];case 1:switch(n=eF.pi.apply(void 0,r.concat([(g.body=v.sent(),g)])),i="UnknownError",i=tm(e,n.body)){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidIdentityPoolConfigurationException":case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":return[3,6];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return a=[{}],[4,eY(n,t)];case 3:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,a.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 4:return s=[{}],[4,eX(n,t)];case 5:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,s.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 6:return l=[{}],[4,eQ(n,t)];case 7:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,l.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 8:return c=[{}],[4,eJ(n,t)];case 9:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,c.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 10:return u=[{}],[4,e1(n,t)];case 11:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,u.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 12:return d=[{}],[4,e2(n,t)];case 13:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,d.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 14:return f=[{}],[4,e3(n,t)];case 15:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,f.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 16:return p=[{}],[4,e4(n,t)];case 17:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,p.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 18:i=(h=n.body).code||h.Code||i,o=(0,eF.pi)((0,eF.pi)({},h),{name:""+i,message:h.message||h.Message||i,$fault:"client",$metadata:tu(e)}),v.label=19;case 19:return m=o.message||o.Message||i,o.message=m,delete o.Message,[2,Promise.reject(Object.assign(Error(m),o))]}})})},eG=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n,r;return(0,eF.Jh)(this,function(o){switch(o.label){case 0:if(e.statusCode>=300)return[2,eK(e,t)];return[4,th(e.body,t)];case 1:return n=o.sent(),r={},r=tt(n,t),[2,Promise.resolve((0,eF.pi)({$metadata:tu(e)},r))]}})})},eK=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n,r,o,i,a,s,l,c,u,d,f,p,h,m,g;return(0,eF.Jh)(this,function(v){switch(v.label){case 0:return r=[(0,eF.pi)({},e)],g={},[4,th(e.body,t)];case 1:switch(n=eF.pi.apply(void 0,r.concat([(g.body=v.sent(),g)])),i="UnknownError",i=tm(e,n.body)){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,6];case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return a=[{}],[4,eY(n,t)];case 3:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,a.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 4:return s=[{}],[4,eX(n,t)];case 5:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,s.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 6:return l=[{}],[4,eJ(n,t)];case 7:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,l.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 8:return c=[{}],[4,e0(n,t)];case 9:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,c.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 10:return u=[{}],[4,e1(n,t)];case 11:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,u.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 12:return d=[{}],[4,e2(n,t)];case 13:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,d.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 14:return f=[{}],[4,e3(n,t)];case 15:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,f.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 16:return p=[{}],[4,e4(n,t)];case 17:return o=eF.pi.apply(void 0,[eF.pi.apply(void 0,p.concat([v.sent()])),{name:i,$metadata:tu(e)}]),[3,19];case 18:i=(h=n.body).code||h.Code||i,o=(0,eF.pi)((0,eF.pi)({},h),{name:""+i,message:h.message||h.Message||i,$fault:"client",$metadata:tu(e)}),v.label=19;case 19:return m=o.message||o.Message||i,o.message=m,delete o.Message,[2,Promise.reject(Object.assign(Error(m),o))]}})})},eY=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n;return(0,eF.Jh)(this,function(r){return n=e9(e.body,t),[2,(0,eF.pi)({name:"ExternalServiceException",$fault:"client",$metadata:tu(e)},n)]})})},eX=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n;return(0,eF.Jh)(this,function(r){return n=tn(e.body,t),[2,(0,eF.pi)({name:"InternalErrorException",$fault:"server",$metadata:tu(e)},n)]})})},eQ=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n;return(0,eF.Jh)(this,function(r){return n=tr(e.body,t),[2,(0,eF.pi)({name:"InvalidIdentityPoolConfigurationException",$fault:"client",$metadata:tu(e)},n)]})})},eJ=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n;return(0,eF.Jh)(this,function(r){return n=to(e.body,t),[2,(0,eF.pi)({name:"InvalidParameterException",$fault:"client",$metadata:tu(e)},n)]})})},e0=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n;return(0,eF.Jh)(this,function(r){return n=ti(e.body,t),[2,(0,eF.pi)({name:"LimitExceededException",$fault:"client",$metadata:tu(e)},n)]})})},e1=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n;return(0,eF.Jh)(this,function(r){return n=ta(e.body,t),[2,(0,eF.pi)({name:"NotAuthorizedException",$fault:"client",$metadata:tu(e)},n)]})})},e2=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n;return(0,eF.Jh)(this,function(r){return n=ts(e.body,t),[2,(0,eF.pi)({name:"ResourceConflictException",$fault:"client",$metadata:tu(e)},n)]})})},e3=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n;return(0,eF.Jh)(this,function(r){return n=tl(e.body,t),[2,(0,eF.pi)({name:"ResourceNotFoundException",$fault:"client",$metadata:tu(e)},n)]})})},e4=function(e,t){return(0,eF.mG)(void 0,void 0,void 0,function(){var n;return(0,eF.Jh)(this,function(r){return n=tc(e.body,t),[2,(0,eF.pi)({name:"TooManyRequestsException",$fault:"client",$metadata:tu(e)},n)]})})},e5=function(e,t){return(0,eF.pi)((0,eF.pi)((0,eF.pi)({},void 0!==e.CustomRoleArn&&null!==e.CustomRoleArn&&{CustomRoleArn:e.CustomRoleArn}),void 0!==e.IdentityId&&null!==e.IdentityId&&{IdentityId:e.IdentityId}),void 0!==e.Logins&&null!==e.Logins&&{Logins:e8(e.Logins,t)})},e6=function(e,t){return(0,eF.pi)((0,eF.pi)((0,eF.pi)({},void 0!==e.AccountId&&null!==e.AccountId&&{AccountId:e.AccountId}),void 0!==e.IdentityPoolId&&null!==e.IdentityPoolId&&{IdentityPoolId:e.IdentityPoolId}),void 0!==e.Logins&&null!==e.Logins&&{Logins:e8(e.Logins,t)})},e8=function(e,t){return Object.entries(e).reduce(function(e,t){var n,r=(0,eF.CR)(t,2),o=r[0],i=r[1];return null===i?e:(0,eF.pi)((0,eF.pi)({},e),((n={})[o]=i,n))},{})},e7=function(e,t){return{AccessKeyId:void 0!==e.AccessKeyId&&null!==e.AccessKeyId?e.AccessKeyId:void 0,Expiration:void 0!==e.Expiration&&null!==e.Expiration?new Date(Math.round(1e3*e.Expiration)):void 0,SecretKey:void 0!==e.SecretKey&&null!==e.SecretKey?e.SecretKey:void 0,SessionToken:void 0!==e.SessionToken&&null!==e.SessionToken?e.SessionToken:void 0}},e9=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},te=function(e,t){return{Credentials:void 0!==e.Credentials&&null!==e.Credentials?e7(e.Credentials,t):void 0,IdentityId:void 0!==e.IdentityId&&null!==e.IdentityId?e.IdentityId:void 0}},tt=function(e,t){return{IdentityId:void 0!==e.IdentityId&&null!==e.IdentityId?e.IdentityId:void 0}},tn=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},tr=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},to=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},ti=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},ta=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},ts=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},tl=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},tc=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},tu=function(e){var t;return{httpStatusCode:e.statusCode,requestId:null!==(t=e.headers["x-amzn-requestid"])&&void 0!==t?t:e.headers["x-amzn-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}},td=function(e,t){return(void 0===e&&(e=new Uint8Array),e instanceof Uint8Array)?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array)},tf=function(e,t){return td(e,t).then(function(e){return t.utf8Encoder(e)})},tp=function(e,t,n,r,o){return(0,eF.mG)(void 0,void 0,void 0,function(){var i,a,s,l;return(0,eF.Jh)(this,function(c){switch(c.label){case 0:return[4,e.endpoint()];case 1:return a=(i=c.sent()).hostname,l={protocol:void 0===(s=i.protocol)?"https":s,hostname:a,port:i.port,method:"POST",path:n,headers:t},void 0!==r&&(l.hostname=r),void 0!==o&&(l.body=o),[2,new eU(l)]}})})},th=function(e,t){return tf(e,t).then(function(e){return e.length?JSON.parse(e):{}})},tm=function(e,t){var n=function(e){var t=e;return t.indexOf(":")>=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},r=function(e,t){return Object.keys(e).find(function(e){return e.toLowerCase()===t.toLowerCase()})}(e.headers,"x-amzn-errortype");return void 0!==r?n(e.headers[r]):void 0!==t.code?n(t.code):void 0!==t.__type?n(t.__type):""},tg=function(e,t){return function(n,r){return function(r){return(0,eu.__awaiter)(void 0,void 0,void 0,function(){var o,i;return(0,eu.__generator)(this,function(a){switch(a.label){case 0:return[4,n(r)];case 1:return[4,t(o=a.sent().response,e)];case 2:return i=a.sent(),[2,{response:o,output:i}]}})})}}},tv=function(e,t){return function(n,r){return function(r){return(0,eu.__awaiter)(void 0,void 0,void 0,function(){var o;return(0,eu.__generator)(this,function(i){switch(i.label){case 0:return[4,t(r.input,e)];case 1:return o=i.sent(),[2,n((0,eu.__assign)((0,eu.__assign)({},r),{request:o}))]}})})}}},ty={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},tb={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function tw(e,t,n){return{applyToStack:function(r){r.add(tg(e,n),ty),r.add(tv(e,t),tb)}}}var tS=function(){var e=[],t=[],n=new Set,r=function(e){return e.sort(function(e,t){return tx[t.step]-tx[e.step]||tE[t.priority||"normal"]-tE[e.priority||"normal"]})},o=function(r){var o=!1,i=function(e){return!e.name||e.name!==r||(o=!0,n.delete(r),!1)};return e=e.filter(i),t=t.filter(i),o},i=function(r){var o=!1,i=function(e){return e.middleware!==r||(o=!0,e.name&&n.delete(e.name),!1)};return e=e.filter(i),t=t.filter(i),o},a=function(n){return e.forEach(function(e){n.add(e.middleware,(0,eu.__assign)({},e))}),t.forEach(function(e){n.addRelativeTo(e.middleware,(0,eu.__assign)({},e))}),n},s=function(e){var t=[];return e.before.forEach(function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,(0,eu.__spread)(s(e)))}),t.push(e),e.after.reverse().forEach(function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,(0,eu.__spread)(s(e)))}),t},l=function(){var n=[],o=[],i={};return e.forEach(function(e){var t=(0,eu.__assign)((0,eu.__assign)({},e),{before:[],after:[]});t.name&&(i[t.name]=t),n.push(t)}),t.forEach(function(e){var t=(0,eu.__assign)((0,eu.__assign)({},e),{before:[],after:[]});t.name&&(i[t.name]=t),o.push(t)}),o.forEach(function(e){if(e.toMiddleware){var t=i[e.toMiddleware];if(void 0===t)throw Error(e.toMiddleware+" is not found when adding "+(e.name||"anonymous")+" middleware "+e.relation+" "+e.toMiddleware);"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}),r(n).map(s).reduce(function(e,t){return e.push.apply(e,(0,eu.__spread)(t)),e},[]).map(function(e){return e.middleware})},c={add:function(t,r){void 0===r&&(r={});var o=r.name,i=r.override,a=(0,eu.__assign)({step:"initialize",priority:"normal",middleware:t},r);if(o){if(n.has(o)){if(!i)throw Error("Duplicate middleware name '"+o+"'");var s=e.findIndex(function(e){return e.name===o}),l=e[s];if(l.step!==a.step||l.priority!==a.priority)throw Error('"'+o+'" middleware with '+l.priority+" priority in "+l.step+" step cannot be "+("overridden by same-name middleware with "+a.priority)+" priority in "+a.step+" step.");e.splice(s,1)}n.add(o)}e.push(a)},addRelativeTo:function(e,r){var o=r.name,i=r.override,a=(0,eu.__assign)({middleware:e},r);if(o){if(n.has(o)){if(!i)throw Error("Duplicate middleware name '"+o+"'");var s=t.findIndex(function(e){return e.name===o}),l=t[s];if(l.toMiddleware!==a.toMiddleware||l.relation!==a.relation)throw Error('"'+o+'" middleware '+l.relation+' "'+l.toMiddleware+'" middleware cannot be overridden '+("by same-name middleware "+a.relation)+' "'+a.toMiddleware+'" middleware.');t.splice(s,1)}n.add(o)}t.push(a)},clone:function(){return a(tS())},use:function(e){e.applyToStack(c)},remove:function(e){return"string"==typeof e?o(e):i(e)},removeByTag:function(r){var o=!1,i=function(e){var t=e.tags,i=e.name;return!(t&&t.includes(r))||(i&&n.delete(i),o=!0,!1)};return e=e.filter(i),t=t.filter(i),o},concat:function(e){var t=a(tS());return t.use(e),t},applyToStack:a,resolve:function(e,t){var n,r;try{for(var o=(0,eu.__values)(l().reverse()),i=o.next();!i.done;i=o.next())e=(0,i.value)(e,t)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return e}};return c},tx={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},tE={high:3,normal:2,low:1},tC=function(){function e(e){this.middlewareStack=tS(),this.config=e}return e.prototype.send=function(e,t,n){var r="function"!=typeof t?t:void 0,o="function"==typeof t?t:n,i=e.resolveMiddleware(this.middlewareStack,this.config,r);if(!o)return i(e).then(function(e){return e.output});i(e).then(function(e){return o(null,e.output)},function(e){return o(e)}).catch(function(){})},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),t_=function(){return function(){this.middlewareStack=tS()}}(),tk=function(){var e=Object.getPrototypeOf(this).constructor,t=Function.bind.apply(String,(0,eu.__spread)([null],arguments)),n=new t;return Object.setPrototypeOf(n,e.prototype),n};tk.prototype=Object.create(String.prototype,{constructor:{value:tk,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(tk,String),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,eu.__extends)(t,e),t.prototype.deserializeJSON=function(){return JSON.parse(e.prototype.toString.call(this))},t.prototype.toJSON=function(){return e.prototype.toString.call(this)},t.fromObject=function(e){return e instanceof t?e:new t(e instanceof String||"string"==typeof e?e:JSON.stringify(e))}}(tk);var tO=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,eF.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(tw(t,this.serialize,this.deserialize));var r=e.concat(this.middlewareStack),o={logger:t.logger,clientName:"CognitoIdentityClient",commandName:"GetCredentialsForIdentityCommand",inputFilterSensitiveLog:k.filterSensitiveLog,outputFilterSensitiveLog:A.filterSensitiveLog},i=t.requestHandler;return r.resolve(function(e){return i.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return eq(e,t)},t.prototype.deserialize=function(e,t){return eW(e,t)},t}(t_),tA=function(e){function t(t,n){void 0===n&&(n=!0);var r=e.call(this,t)||this;return r.tryNextLink=n,r}return(0,eu.__extends)(t,e),t}(Error);function tI(e){return Promise.all(Object.keys(e).reduce(function(t,n){var r=e[n];return"string"==typeof r?t.push([n,r]):t.push(r().then(function(e){return[n,e]})),t},[])).then(function(e){return e.reduce(function(e,t){var n=(0,eu.__read)(t,2),r=n[0],o=n[1];return e[r]=o,e},{})})}function tP(e){var t=this;return function(){return(0,eu.__awaiter)(t,void 0,void 0,function(){var t,n,r,o,i,a,s,l,c,u,d,f,p;return(0,eu.__generator)(this,function(h){switch(h.label){case 0:if(u=(c=e.client).send,d=tO.bind,p={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},!e.logins)return[3,2];return[4,tI(e.logins)];case 1:return f=h.sent(),[3,3];case 2:f=void 0,h.label=3;case 3:return[4,u.apply(c,[new(d.apply(tO,[void 0,(p.Logins=f,p)]))])];case 4:return o=void 0===(r=(n=void 0===(t=h.sent().Credentials)?tR():t).AccessKeyId)?tT():r,i=n.Expiration,s=void 0===(a=n.SecretKey)?tM():a,l=n.SessionToken,[2,{identityId:e.identityId,accessKeyId:o,secretAccessKey:s,sessionToken:l,expiration:i}]}})})}}function tT(){throw new tA("Response from Amazon Cognito contained no access key ID")}function tR(){throw new tA("Response from Amazon Cognito contained no credentials")}function tM(){throw new tA("Response from Amazon Cognito contained no secret key")}var tN=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,eF.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(tw(t,this.serialize,this.deserialize));var r=e.concat(this.middlewareStack),o={logger:t.logger,clientName:"CognitoIdentityClient",commandName:"GetIdCommand",inputFilterSensitiveLog:P.filterSensitiveLog,outputFilterSensitiveLog:T.filterSensitiveLog},i=t.requestHandler;return r.resolve(function(e){return i.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return eV(e,t)},t.prototype.deserialize=function(e,t){return eG(e,t)},t}(t_),tj="IdentityIds",tD=function(){function e(e){void 0===e&&(e="aws:cognito-identity-ids"),this.dbName=e}return e.prototype.getItem=function(e){return this.withObjectStore("readonly",function(t){var n=t.get(e);return new Promise(function(e){n.onerror=function(){return e(null)},n.onsuccess=function(){return e(n.result?n.result.value:null)}})}).catch(function(){return null})},e.prototype.removeItem=function(e){return this.withObjectStore("readwrite",function(t){var n=t.delete(e);return new Promise(function(e,t){n.onerror=function(){return t(n.error)},n.onsuccess=function(){return e()}})})},e.prototype.setItem=function(e,t){return this.withObjectStore("readwrite",function(n){var r=n.put({id:e,value:t});return new Promise(function(e,t){r.onerror=function(){return t(r.error)},r.onsuccess=function(){return e()}})})},e.prototype.getDb=function(){var e=self.indexedDB.open(this.dbName,1);return new Promise(function(t,n){e.onsuccess=function(){t(e.result)},e.onerror=function(){n(e.error)},e.onblocked=function(){n(Error("Unable to access DB"))},e.onupgradeneeded=function(){var t=e.result;t.onerror=function(){n(Error("Failed to create object store"))},t.createObjectStore(tj,{keyPath:"id"})}})},e.prototype.withObjectStore=function(e,t){return this.getDb().then(function(n){var r=n.transaction(tj,e);return r.oncomplete=function(){return n.close()},new Promise(function(e,n){r.onerror=function(){return n(r.error)},e(t(r.objectStore(tj)))}).catch(function(e){throw n.close(),e})})},e}(),tL=new(function(){function e(e){void 0===e&&(e={}),this.store=e}return e.prototype.getItem=function(e){return e in this.store?this.store[e]:null},e.prototype.removeItem=function(e){delete this.store[e]},e.prototype.setItem=function(e,t){this.store[e]=t},e}());function tB(){return"object"==typeof self&&self.indexedDB?new tD:"object"==typeof window&&window.localStorage?window.localStorage:tL}function tZ(e){var t=this,n=e.accountId,r=e.cache,o=void 0===r?tB():r,i=e.client,a=e.customRoleArn,s=e.identityPoolId,l=e.logins,c=e.userIdentifier,u=void 0===c?l&&0!==Object.keys(l).length?void 0:"ANONYMOUS":c,d=u?"aws:cognito-identity-credentials:"+s+":"+u:void 0,f=function(){return(0,eu.__awaiter)(t,void 0,void 0,function(){var e,t,r,c,u,p,h,m;return(0,eu.__generator)(this,function(g){switch(g.label){case 0:if(!(t=d))return[3,2];return[4,o.getItem(d)];case 1:t=g.sent(),g.label=2;case 2:if(e=t)return[3,7];if(u=(c=i).send,p=tN.bind,m={AccountId:n,IdentityPoolId:s},!l)return[3,4];return[4,tI(l)];case 3:return h=g.sent(),[3,5];case 4:h=void 0,g.label=5;case 5:return[4,u.apply(c,[new(p.apply(tN,[void 0,(m.Logins=h,m)]))])];case 6:e=void 0===(r=g.sent().IdentityId)?tF():r,d&&Promise.resolve(o.setItem(d,e)).catch(function(){}),g.label=7;case 7:return[2,(f=tP({client:i,customRoleArn:a,logins:l,identityId:e}))()]}})})};return function(){return f().catch(function(e){return(0,eu.__awaiter)(t,void 0,void 0,function(){return(0,eu.__generator)(this,function(t){throw d&&Promise.resolve(o.removeItem(d)).catch(function(){}),e})})})}}function tF(){throw new tA("Response from Amazon Cognito contained no identity ID")}var tz=new eg.k("Parser"),tU=function(e){var t,n={};if(e.aws_mobile_analytics_app_id){var r={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}};n.Analytics=r}return(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(n.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_region,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:"enable"===e.aws_mandatory_sign_in,signUpVerificationMethod:e.aws_cognito_sign_up_verification_method||"code"}),t=e.aws_user_files_s3_bucket?{AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:e?e.Storage||e:{},e.Logging&&(n.Logging=(0,eu.__assign)((0,eu.__assign)({},e.Logging),{region:e.aws_project_region})),e.geo&&(n.Geo=Object.assign({},e.geo),e.geo.amazon_location_service&&(n.Geo={AmazonLocationService:e.geo.amazon_location_service})),n.Analytics=Object.assign({},n.Analytics,e.Analytics),n.Auth=Object.assign({},n.Auth,e.Auth),n.Storage=Object.assign({},t),n.Logging=Object.assign({},n.Logging,e.Logging),tz.debug("parse config",e,"to amplifyconfig",n),n},tH="3.6.1",tq=n(5150),tV=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,tW)},tW=function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()};function t$(e){var t,n,r=[];try{for(var o=(0,eu.__values)(Object.keys(e).sort()),i=o.next();!i.done;i=o.next()){var a=i.value,s=e[a];if(a=tV(a),Array.isArray(s))for(var l=0,c=s.length;l<c;l++)r.push(a+"="+tV(s[l]));else{var u=a;(s||"string"==typeof s)&&(u+="="+tV(s)),r.push(u)}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r.join("&")}function tG(e){return void 0===e&&(e=0),new Promise(function(t,n){e&&setTimeout(function(){var t=Error("Request did not complete within "+e+" ms");t.name="TimeoutError",n(t)},e)})}for(var tK=function(){function e(e){var t=(void 0===e?{}:e).requestTimeout;this.requestTimeout=t}return e.prototype.destroy=function(){},e.prototype.handle=function(e,t){var n=(void 0===t?{}:t).abortSignal,r=this.requestTimeout;if(null==n?void 0:n.aborted){var o=Error("Request aborted");return o.name="AbortError",Promise.reject(o)}var i=e.path;if(e.query){var a=t$(e.query);a&&(i+="?"+a)}var s=e.port,l=e.method,c=e.protocol+"//"+e.hostname+(s?":"+s:"")+i,u={body:"GET"===l||"HEAD"===l?void 0:e.body,headers:new Headers(e.headers),method:l};"undefined"!=typeof AbortController&&(u.signal=n);var d=[fetch(new Request(c,u)).then(function(e){var t,n,r=e.headers,o={};try{for(var i=(0,eu.__values)(r.entries()),a=i.next();!a.done;a=i.next()){var s=a.value;o[s[0]]=s[1]}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return void 0!==e.body?{response:new ez({headers:o,statusCode:e.status,body:e.body})}:e.blob().then(function(t){return{response:new ez({headers:o,statusCode:e.status,body:t})}})}),tG(r)];return n&&d.push(new Promise(function(e,t){n.onabort=function(){var e=Error("Request aborted");e.name="AbortError",t(e)}})),Promise.race(d)},e}(),tY={},tX=Array(64),tQ=0,tJ=65,t0=90;tQ+tJ<=t0;tQ++){var t1=String.fromCharCode(tQ+tJ);tY[t1]=tQ,tX[tQ]=t1}for(var tQ=0,tJ=97,t0=122;tQ+tJ<=t0;tQ++){var t1=String.fromCharCode(tQ+tJ),t2=tQ+26;tY[t1]=t2,tX[t2]=t1}for(var tQ=0;tQ<10;tQ++){tY[tQ.toString(10)]=tQ+52;var t1=tQ.toString(10),t2=tQ+52;tY[t1]=t2,tX[t2]=t1}tY["+"]=62,tX[62]="+",tY["/"]=63,tX[63]="/";var t3=6,t4=8,t5=63;function t6(e){var t=e.length/4*3;"=="===e.substr(-2)?t-=2:"="===e.substr(-1)&&t--;for(var n=new ArrayBuffer(t),r=new DataView(n),o=0;o<e.length;o+=4){for(var i=0,a=0,s=o,l=o+3;s<=l;s++)"="!==e[s]?(i|=tY[e[s]]<<(l-s)*t3,a+=t3):i>>=t3;var c=o/4*3;i>>=a%t4;for(var u=Math.floor(a/t4),d=0;d<u;d++){var f=(u-d-1)*t4;r.setUint8(c+d,(i&255<<f)>>f)}}return new Uint8Array(n)}function t8(e){for(var t="",n=0;n<e.length;n+=3){for(var r=0,o=0,i=n,a=Math.min(n+3,e.length);i<a;i++)r|=e[i]<<(a-i-1)*t4,o+=t4;var s=Math.ceil(o/t3);r<<=s*t3-o;for(var l=1;l<=s;l++){var c=(s-l)*t3;t+=tX[(r&t5<<c)>>c]}t+="==".slice(0,4-s)}return t}var t7=function(e){return"function"==typeof Blob&&e instanceof Blob?t9(e):ne(e)};function t9(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){return(0,eu.__generator)(this,function(t){switch(t.label){case 0:return[4,nt(e)];case 1:return[2,new Uint8Array(t6(t.sent()))]}})})}function ne(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r,o,i,a,s;return(0,eu.__generator)(this,function(l){switch(l.label){case 0:t=new Uint8Array(0),n=e.getReader(),r=!1,l.label=1;case 1:if(r)return[3,3];return[4,n.read()];case 2:return i=(o=l.sent()).done,(a=o.value)&&((t=new Uint8Array((s=t).length+a.length)).set(s),t.set(a,s.length)),r=i,[3,1];case 3:return[2,t]}})})}function nt(e){return new Promise(function(t,n){var r=new FileReader;r.onloadend=function(){if(2!==r.readyState)return n(Error("Reader aborted too early"));var e,o=null!==(e=r.result)&&void 0!==e?e:"",i=o.indexOf(","),a=i>-1?i+1:o.length;t(o.substring(a))},r.onabort=function(){return n(Error("Read aborted"))},r.onerror=function(){return n(r.error)},r.readAsDataURL(e)})}var nn=function(e){return function(){return Promise.reject(e)}},nr=function(e){return function(t,n){return function(r){return(0,eu.__awaiter)(void 0,void 0,void 0,function(){var o;return(0,eu.__generator)(this,function(i){return(null===(o=null==e?void 0:e.retryStrategy)||void 0===o?void 0:o.mode)&&(n.userAgent=(0,eu.__spread)(n.userAgent||[],[["cfg/retry-mode",e.retryStrategy.mode]])),[2,e.retryStrategy.retry(t,r)]})})}}},no={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},ni=function(e){return{applyToStack:function(t){t.add(nr(e),no)}}},na=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],ns=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],nl=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],nc=[500,502,503,504],nu=function(e){return void 0!==e.$retryable},nd=function(e){return na.includes(e.name)},nf=function(e){var t,n;return(null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)===429||ns.includes(e.name)||(null===(n=e.$retryable)||void 0===n?void 0:n.throttling)==!0},np=function(e){var t;return nl.includes(e.name)||nc.includes((null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||0)},nh=n(41925),nm=100,ng=2e4,nv=500,ny=500,nb=5,nw=10,nS=1,nx="amz-sdk-invocation-id",nE="amz-sdk-request",nC=function(e){var t=e,n=e,r=function(e){return"TimeoutError"===e.name?nw:nb},o=function(e){return r(e)<=n},i=function(e){if(!o(e))throw Error("No retry token available");var t=r(e);return n-=t,t};return Object.freeze({hasRetryTokens:o,retrieveRetryTokens:i,releaseRetryTokens:function(e){n+=null!=e?e:nS,n=Math.min(n,t)}})},n_=function(e,t){return Math.floor(Math.min(ng,Math.random()*Math.pow(2,t)*e))},nk=function(e){return!!e&&(nu(e)||nd(e)||nf(e)||np(e))},nO=3,nA="standard",nI=function(){function e(e,t){var n,r,o;this.maxAttemptsProvider=e,this.mode=nA,this.retryDecider=null!==(n=null==t?void 0:t.retryDecider)&&void 0!==n?n:nk,this.delayDecider=null!==(r=null==t?void 0:t.delayDecider)&&void 0!==r?r:n_,this.retryQuota=null!==(o=null==t?void 0:t.retryQuota)&&void 0!==o?o:nC(ny)}return e.prototype.shouldRetry=function(e,t,n){return t<n&&this.retryDecider(e)&&this.retryQuota.hasRetryTokens(e)},e.prototype.getMaxAttempts=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t;return(0,eu.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.maxAttemptsProvider()];case 1:return e=n.sent(),[3,3];case 2:return t=n.sent(),e=nO,[3,3];case 3:return[2,e]}})})},e.prototype.retry=function(e,t){return(0,eu.__awaiter)(this,void 0,void 0,function(){var n,r,o,i,a,s,l,c;return(0,eu.__generator)(this,function(u){switch(u.label){case 0:return r=0,o=0,[4,this.getMaxAttempts()];case 1:i=u.sent(),a=t.request,eU.isInstance(a)&&(a.headers[nx]=(0,nh.v4)()),s=function(){var s,c,u,d,f;return(0,eu.__generator)(this,function(p){switch(p.label){case 0:return p.trys.push([0,2,,5]),eU.isInstance(a)&&(a.headers[nE]="attempt="+(r+1)+"; max="+i),[4,e(t)];case 1:return c=(s=p.sent()).response,u=s.output,l.retryQuota.releaseRetryTokens(n),u.$metadata.attempts=r+1,u.$metadata.totalRetryDelay=o,[2,{value:{response:c,output:u}}];case 2:if(d=p.sent(),r++,!l.shouldRetry(d,r,i))return[3,4];return n=l.retryQuota.retrieveRetryTokens(d),f=l.delayDecider(nf(d)?nv:nm,r),o+=f,[4,new Promise(function(e){return setTimeout(e,f)})];case 3:return p.sent(),[2,"continue"];case 4:throw d.$metadata||(d.$metadata={}),d.$metadata.attempts=r,d.$metadata.totalRetryDelay=o,d;case 5:return[2]}})},l=this,u.label=2;case 2:return[5,s()];case 3:if("object"==typeof(c=u.sent()))return[2,c.value];return[3,2];case 4:return[2]}})})},e}(),nP=function(e){var t=nT(e.maxAttempts);return(0,eu.__assign)((0,eu.__assign)({},e),{maxAttempts:t,retryStrategy:e.retryStrategy||new nI(t)})},nT=function(e){if(void 0===e&&(e=nO),"number"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e};function nR(e){if("string"==typeof e){for(var t=e.length,n=t-1;n>=0;n--){var r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2)}return t}return"number"==typeof e.byteLength?e.byteLength:"number"==typeof e.size?e.size:void 0}var nM=n(73706),nN=n.n(nM),nj=function(e){var t=e.serviceId,n=e.clientVersion;return function(){return(0,eu.__awaiter)(void 0,void 0,void 0,function(){var e,r,o,i,a,s,l,c,u;return(0,eu.__generator)(this,function(d){return r=[["aws-sdk-js",n],["os/"+((null===(i=null==(e=(null===(o=null==window?void 0:window.navigator)||void 0===o?void 0:o.userAgent)?nN().parse(window.navigator.userAgent):void 0)?void 0:e.os)||void 0===i?void 0:i.name)||"other"),null===(a=null==e?void 0:e.os)||void 0===a?void 0:a.version],["lang/js"],["md/browser",(null!==(l=null===(s=null==e?void 0:e.browser)||void 0===s?void 0:s.name)&&void 0!==l?l:"unknown")+"_"+(null!==(u=null===(c=null==e?void 0:e.browser)||void 0===c?void 0:c.version)&&void 0!==u?u:"unknown")]],t&&r.push(["api/"+t,n]),[2,r]})})}},nD=n(29673),nL="cognito-identity.{region}.amazonaws.com",nB="cognito-identity.{region}.amazonaws.com.cn",nZ="cognito-identity.{region}.c2s.ic.gov",nF="cognito-identity.{region}.sc2s.sgov.gov",nz="cognito-identity.{region}.amazonaws.com",nU=new Set(["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),nH=new Set(["cn-north-1","cn-northwest-1"]),nq=new Set(["us-iso-east-1"]),nV=new Set(["us-isob-east-1"]),nW=new Set(["us-gov-east-1","us-gov-west-1"]);function n$(e){var t,n,r={};if(e=e.replace(/^\?/,""))try{for(var o=(0,eu.__values)(e.split("&")),i=o.next();!i.done;i=o.next()){var a=i.value,s=(0,eu.__read)(a.split("="),2),l=s[0],c=s[1],u=void 0===c?null:c;l=decodeURIComponent(l),u&&(u=decodeURIComponent(u)),l in r?Array.isArray(r[l])?r[l].push(u):r[l]=[r[l],u]:r[l]=u}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}var nG={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,t){var n=void 0;switch(e){case"ap-northeast-1":n={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":n={hostname:"cognito-identity.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":n={hostname:"cognito-identity.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-east-1":n={hostname:"cognito-identity-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-east-2":n={hostname:"cognito-identity-fips.us-east-2.amazonaws.com",partition:"aws",signingRegion:"us-east-2"};break;case"fips-us-gov-west-1":n={hostname:"cognito-identity-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":n={hostname:"cognito-identity-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"sa-east-1":n={hostname:"cognito-identity.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-west-1":n={hostname:"cognito-identity.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-west-1":n={hostname:"cognito-identity.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:nU.has(e)&&(n={hostname:nL.replace("{region}",e),partition:"aws"}),nH.has(e)&&(n={hostname:nB.replace("{region}",e),partition:"aws-cn"}),nq.has(e)&&(n={hostname:nZ.replace("{region}",e),partition:"aws-iso"}),nV.has(e)&&(n={hostname:nF.replace("{region}",e),partition:"aws-iso-b"}),nW.has(e)&&(n={hostname:nz.replace("{region}",e),partition:"aws-us-gov"}),void 0===n&&(n={hostname:nL.replace("{region}",e),partition:"aws"})}return Promise.resolve((0,eF.pi)({signingService:"cognito-identity"},n))},serviceId:"Cognito Identity",urlParser:function(e){var t,n=new URL(e),r=n.hostname,o=n.pathname,i=n.port,a=n.protocol,s=n.search;return s&&(t=n$(s)),{hostname:r,port:i?parseInt(i):void 0,protocol:a,path:o,query:t}}},nK=(0,eF.pi)((0,eF.pi)({},nG),{runtime:"browser",base64Decoder:t6,base64Encoder:t8,bodyLengthChecker:nR,credentialDefaultProvider:function(e){return function(){return Promise.reject(Error("Credential is missing"))}},defaultUserAgentProvider:nj({serviceId:nG.serviceId,clientVersion:tH}),maxAttempts:nO,region:nn("Region is missing"),requestHandler:new tK,sha256:tq.Sha256,streamCollector:t7,utf8Decoder:nD.fromUtf8,utf8Encoder:nD.toUtf8}),nY=function(e){var t;return(0,eu.__assign)((0,eu.__assign)({},e),{tls:null===(t=e.tls)||void 0===t||t,endpoint:e.endpoint?nX(e):function(){return nQ(e)},isCustomEndpoint:!!e.endpoint})},nX=function(e){var t=e.endpoint,n=e.urlParser;if("string"==typeof t){var r=Promise.resolve(n(t));return function(){return r}}if("object"==typeof t){var o=Promise.resolve(t);return function(){return o}}return t},nQ=function(e){return(0,eu.__awaiter)(void 0,void 0,void 0,function(){var t,n,r,o,i;return(0,eu.__generator)(this,function(a){switch(a.label){case 0:return n=void 0===(t=e.tls)||t,[4,e.region()];case 1:if(r=a.sent(),!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(r))throw Error("Invalid region in client config");return[4,e.regionInfoProvider(r)];case 2:if(!(o=(null!==(i=a.sent())&&void 0!==i?i:{}).hostname))throw Error("Cannot resolve hostname from client config");return[2,e.urlParser((n?"https:":"http:")+"//"+o)]}})})},nJ=function(e){if(!e.region)throw Error("Region is missing");return(0,eu.__assign)((0,eu.__assign)({},e),{region:n0(e.region)})},n0=function(e){if("string"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e},n1="content-length";function n2(e){var t=this;return function(n){return function(r){return(0,eu.__awaiter)(t,void 0,void 0,function(){var t,o,i,a,s;return(0,eu.__generator)(this,function(l){return t=r.request,eU.isInstance(t)&&(o=t.body,i=t.headers,o&&-1===Object.keys(i).map(function(e){return e.toLowerCase()}).indexOf(n1)&&void 0!==(a=e(o))&&(t.headers=(0,eu.__assign)((0,eu.__assign)({},t.headers),((s={})[n1]=String(a),s)))),[2,n((0,eu.__assign)((0,eu.__assign)({},r),{request:t}))]})})}}}var n3={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},n4=function(e){return{applyToStack:function(t){t.add(n2(e.bodyLengthChecker),n3)}}};function n5(e){return e}for(var n6=function(e){return function(t){return function(n){return(0,eu.__awaiter)(void 0,void 0,void 0,function(){var r,o;return(0,eu.__generator)(this,function(i){return eU.isInstance(n.request)&&(r=n.request,(void 0===(o=(e.requestHandler.metadata||{}).handlerProtocol)?"":o).indexOf("h2")>=0&&!r.headers[":authority"]?(delete r.headers.host,r.headers[":authority"]=""):r.headers.host||(r.headers.host=r.hostname)),[2,t(n)]})})}}},n8={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},n7=function(e){return{applyToStack:function(t){t.add(n6(e),n8)}}},n9=function(){return function(e,t){return function(n){return(0,eu.__awaiter)(void 0,void 0,void 0,function(){var r,o,i,a,s,l,c,u,d;return(0,eu.__generator)(this,function(f){switch(f.label){case 0:return r=t.clientName,o=t.commandName,i=t.inputFilterSensitiveLog,a=t.logger,s=t.outputFilterSensitiveLog,[4,e(n)];case 1:if(l=f.sent(),!a)return[2,l];return"function"==typeof a.info&&(u=(c=l.output).$metadata,d=(0,eu.__rest)(c,["$metadata"]),a.info({clientName:r,commandName:o,input:i(n.input),output:s(d),metadata:u})),[2,l]}})})}}},re={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},rt=function(e){return{applyToStack:function(e){e.add(n9(),re)}}},rn={},rr={},ro=0;ro<256;ro++){var ri=ro.toString(16).toLowerCase();1===ri.length&&(ri="0"+ri),rn[ro]=ri,rr[ri]=ro}function ra(e){for(var t="",n=0;n<e.byteLength;n++)t+=rn[e[n]];return t}var rs="X-Amz-Algorithm",rl="X-Amz-Credential",rc="X-Amz-Date",ru="X-Amz-SignedHeaders",rd="X-Amz-Expires",rf="X-Amz-Signature",rp="X-Amz-Security-Token",rh="authorization",rm=rc.toLowerCase(),rg=[rh,rm,"date"],rv=rf.toLowerCase(),ry="x-amz-content-sha256",rb=rp.toLowerCase(),rw={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},rS=/^proxy-/,rx=/^sec-/,rE="AWS4-HMAC-SHA256",rC="AWS4-HMAC-SHA256-PAYLOAD",r_="UNSIGNED-PAYLOAD",rk=50,rO="aws4_request",rA=604800,rI={},rP=[];function rT(e,t,n){return e+"/"+t+"/"+n+"/"+rO}var rR=function(e,t,n,r,o){return(0,eu.__awaiter)(void 0,void 0,void 0,function(){var i,a,s,l,c,u,d;return(0,eu.__generator)(this,function(f){switch(f.label){case 0:return[4,rM(e,t.secretAccessKey,t.accessKeyId)];case 1:if((i=n+":"+r+":"+o+":"+ra(f.sent())+":"+t.sessionToken)in rI)return[2,rI[i]];for(rP.push(i);rP.length>rk;)delete rI[rP.shift()];a="AWS4"+t.secretAccessKey,f.label=2;case 2:f.trys.push([2,7,8,9]),l=(s=(0,eu.__values)([n,r,o,rO])).next(),f.label=3;case 3:if(l.done)return[3,6];return c=l.value,[4,rM(e,a,c)];case 4:a=f.sent(),f.label=5;case 5:return l=s.next(),[3,3];case 6:return[3,9];case 7:return u={error:f.sent()},[3,9];case 8:try{l&&!l.done&&(d=s.return)&&d.call(s)}finally{if(u)throw u.error}return[7];case 9:return[2,rI[i]=a]}})})};function rM(e,t,n){var r=new e(t);return r.update(n),r.digest()}function rN(e,t,n){var r,o,i=e.headers,a={};try{for(var s=(0,eu.__values)(Object.keys(i).sort()),l=s.next();!l.done;l=s.next()){var c=l.value,u=c.toLowerCase();(!(u in rw||(null==t?void 0:t.has(u))||rS.test(u)||rx.test(u))||n&&(!n||n.has(u)))&&(a[u]=i[c].trim().replace(/\s+/g," "))}}catch(e){r={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return a}function rj(e){var t,n,r=e.query,o=void 0===r?{}:r,i=[],a={},s=function(e){if(e.toLowerCase()===rv)return"continue";i.push(e);var t=o[e];"string"==typeof t?a[e]=tV(e)+"="+tV(t):Array.isArray(t)&&(a[e]=t.slice(0).sort().reduce(function(t,n){return t.concat([tV(e)+"="+tV(n)])},[]).join("&"))};try{for(var l=(0,eu.__values)(Object.keys(o).sort()),c=l.next();!c.done;c=l.next()){var u=c.value;s(u)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return i.map(function(e){return a[e]}).filter(function(e){return e}).join("&")}var rD=function(e){return"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e)};function rL(e,t){var n=e.headers,r=e.body;return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,o,i,a,s,l,c;return(0,eu.__generator)(this,function(u){switch(u.label){case 0:try{for(o=(e=(0,eu.__values)(Object.keys(n))).next();!o.done;o=e.next())if((i=o.value).toLowerCase()===ry)return[2,n[i]]}catch(e){l={error:e}}finally{try{o&&!o.done&&(c=e.return)&&c.call(e)}finally{if(l)throw l.error}}if(void 0!=r)return[3,1];return[2,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"];case 1:if(!("string"==typeof r||ArrayBuffer.isView(r)||rD(r)))return[3,3];return(a=new t).update(r),s=ra,[4,a.digest()];case 2:return[2,s.apply(void 0,[u.sent()])];case 3:return[2,r_]}})})}function rB(e,t){var n,r;e=e.toLowerCase();try{for(var o=(0,eu.__values)(Object.keys(t)),i=o.next();!i.done;i=o.next()){var a=i.value;if(e===a.toLowerCase())return!0}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1}function rZ(e){var t=e.headers,n=e.query,r=(0,eu.__rest)(e,["headers","query"]);return(0,eu.__assign)((0,eu.__assign)({},r),{headers:(0,eu.__assign)({},t),query:n?rF(n):void 0})}function rF(e){return Object.keys(e).reduce(function(t,n){var r,o=e[n];return(0,eu.__assign)((0,eu.__assign)({},t),((r={})[n]=Array.isArray(o)?(0,eu.__spread)(o):o,r))},{})}function rz(e,t){void 0===t&&(t={});var n,r,o,i="function"==typeof e.clone?e.clone():rZ(e),a=i.headers,s=i.query,l=void 0===s?{}:s;try{for(var c=(0,eu.__values)(Object.keys(a)),u=c.next();!u.done;u=c.next()){var d=u.value,f=d.toLowerCase();"x-amz-"!==f.substr(0,6)||(null===(o=t.unhoistableHeaders)||void 0===o?void 0:o.has(f))||(l[d]=a[d],delete a[d])}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return(0,eu.__assign)((0,eu.__assign)({},e),{headers:a,query:l})}function rU(e){var t,n;e="function"==typeof e.clone?e.clone():rZ(e);try{for(var r=(0,eu.__values)(Object.keys(e.headers)),o=r.next();!o.done;o=r.next()){var i=o.value;rg.indexOf(i.toLowerCase())>-1&&delete e.headers[i]}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return e}function rH(e){return rq(e).toISOString().replace(/\.\d{3}Z$/,"Z")}function rq(e){return"number"==typeof e?new Date(1e3*e):"string"==typeof e?new Date(Number(e)?1e3*Number(e):e):e}var rV=function(){function e(e){var t=e.applyChecksum,n=e.credentials,r=e.region,o=e.service,i=e.sha256,a=e.uriEscapePath,s=void 0===a||a;this.service=o,this.sha256=i,this.uriEscapePath=s,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=rG(r),this.credentialProvider=rK(n)}return e.prototype.presign=function(e,t){return void 0===t&&(t={}),(0,eu.__awaiter)(this,void 0,void 0,function(){var n,r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,y,b,w,S,x,E,C,_;return(0,eu.__generator)(this,function(k){switch(k.label){case 0:return r=void 0===(n=t.signingDate)?new Date:n,i=void 0===(o=t.expiresIn)?3600:o,a=t.unsignableHeaders,s=t.unhoistableHeaders,l=t.signableHeaders,c=t.signingRegion,u=t.signingService,[4,this.credentialProvider()];case 1:if(d=k.sent(),!(null!=c))return[3,2];return p=c,[3,4];case 2:return[4,this.regionProvider()];case 3:p=k.sent(),k.label=4;case 4:if(f=p,m=(h=rW(r)).longDate,g=h.shortDate,i>rA)return[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")];return v=rT(g,f,null!=u?u:this.service),y=rz(rU(e),{unhoistableHeaders:s}),d.sessionToken&&(y.query[rp]=d.sessionToken),y.query[rs]=rE,y.query[rl]=d.accessKeyId+"/"+v,y.query[rc]=m,y.query[rd]=i.toString(10),b=rN(y,a,l),y.query[ru]=r$(b),w=y.query,S=rf,x=this.getSignature,E=[m,v,this.getSigningKey(d,f,g,u)],C=this.createCanonicalRequest,_=[y,b],[4,rL(e,this.sha256)];case 5:return[4,x.apply(this,E.concat([C.apply(this,_.concat([k.sent()]))]))];case 6:return w[S]=k.sent(),[2,y]}})})},e.prototype.sign=function(e,t){return(0,eu.__awaiter)(this,void 0,void 0,function(){return(0,eu.__generator)(this,function(n){return"string"==typeof e?[2,this.signString(e,t)]:e.headers&&e.payload?[2,this.signEvent(e,t)]:[2,this.signRequest(e,t)]})})},e.prototype.signEvent=function(e,t){var n=e.headers,r=e.payload,o=t.signingDate,i=void 0===o?new Date:o,a=t.priorSignature,s=t.signingRegion,l=t.signingService;return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t,o,c,u,d,f,p,h,m,g;return(0,eu.__generator)(this,function(v){switch(v.label){case 0:if(!(null!=s))return[3,1];return t=s,[3,3];case 1:return[4,this.regionProvider()];case 2:t=v.sent(),v.label=3;case 3:return e=t,c=(o=rW(i)).shortDate,u=o.longDate,d=rT(c,e,null!=l?l:this.service),[4,rL({headers:{},body:r},this.sha256)];case 4:return f=v.sent(),(p=new this.sha256).update(n),m=ra,[4,p.digest()];case 5:return h=m.apply(void 0,[v.sent()]),g=[rC,u,d,a,h,f].join("\n"),[2,this.signString(g,{signingDate:i,signingRegion:e,signingService:l})]}})})},e.prototype.signString=function(e,t){var n=void 0===t?{}:t,r=n.signingDate,o=void 0===r?new Date:r,i=n.signingRegion,a=n.signingService;return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r,s,l,c,u,d;return(0,eu.__generator)(this,function(f){switch(f.label){case 0:return[4,this.credentialProvider()];case 1:if(t=f.sent(),!(null!=i))return[3,2];return r=i,[3,4];case 2:return[4,this.regionProvider()];case 3:r=f.sent(),f.label=4;case 4:return n=r,s=rW(o).shortDate,u=(c=this.sha256).bind,[4,this.getSigningKey(t,n,s,a)];case 5:return(l=new(u.apply(c,[void 0,f.sent()]))).update(e),d=ra,[4,l.digest()];case 6:return[2,d.apply(void 0,[f.sent()])]}})})},e.prototype.signRequest=function(e,t){var n=void 0===t?{}:t,r=n.signingDate,o=void 0===r?new Date:r,i=n.signableHeaders,a=n.unsignableHeaders,s=n.signingRegion,l=n.signingService;return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r,c,u,d,f,p,h,m,g;return(0,eu.__generator)(this,function(v){switch(v.label){case 0:return[4,this.credentialProvider()];case 1:if(t=v.sent(),!(null!=s))return[3,2];return r=s,[3,4];case 2:return[4,this.regionProvider()];case 3:r=v.sent(),v.label=4;case 4:return n=r,c=rU(e),d=(u=rW(o)).longDate,p=rT(f=u.shortDate,n,null!=l?l:this.service),c.headers[rm]=d,t.sessionToken&&(c.headers[rb]=t.sessionToken),[4,rL(c,this.sha256)];case 5:return h=v.sent(),!rB(ry,c.headers)&&this.applyChecksum&&(c.headers[ry]=h),m=rN(c,a,i),[4,this.getSignature(d,p,this.getSigningKey(t,n,f,l),this.createCanonicalRequest(c,m,h))];case 6:return g=v.sent(),c.headers[rh]=rE+" "+("Credential="+t.accessKeyId)+"/"+p+", SignedHeaders="+r$(m)+", Signature="+g,[2,c]}})})},e.prototype.createCanonicalRequest=function(e,t,n){var r=Object.keys(t).sort();return e.method+"\n"+this.getCanonicalPath(e)+"\n"+rj(e)+"\n"+r.map(function(e){return e+":"+t[e]}).join("\n")+"\n\n"+r.join(";")+"\n"+n},e.prototype.createStringToSign=function(e,t,n){return(0,eu.__awaiter)(this,void 0,void 0,function(){var r;return(0,eu.__generator)(this,function(o){switch(o.label){case 0:return(r=new this.sha256).update(n),[4,r.digest()];case 1:return[2,rE+"\n"+e+"\n"+t+"\n"+ra(o.sent())]}})})},e.prototype.getCanonicalPath=function(e){var t=e.path;return this.uriEscapePath?"/"+encodeURIComponent(t.replace(/^\//,"")).replace(/%2F/g,"/"):t},e.prototype.getSignature=function(e,t,n,r){return(0,eu.__awaiter)(this,void 0,void 0,function(){var o,i,a,s,l;return(0,eu.__generator)(this,function(c){switch(c.label){case 0:return[4,this.createStringToSign(e,t,r)];case 1:return o=c.sent(),s=(a=this.sha256).bind,[4,n];case 2:return(i=new(s.apply(a,[void 0,c.sent()]))).update(o),l=ra,[4,i.digest()];case 3:return[2,l.apply(void 0,[c.sent()])]}})})},e.prototype.getSigningKey=function(e,t,n,r){return rR(this.sha256,e,n,t,r||this.service)},e}(),rW=function(e){var t=rH(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.substr(0,8)}},r$=function(e){return Object.keys(e).sort().join(";")},rG=function(e){if("string"!=typeof e)return e;var t=Promise.resolve(e);return function(){return t}},rK=function(e){if("object"!=typeof e)return e;var t=Promise.resolve(e);return function(){return t}};function rY(e){var t,n=this,r=rX(e.credentials||e.credentialDefaultProvider(e)),o=e.signingEscapePath,i=void 0===o||o,a=e.systemClockOffset,s=void 0===a?e.systemClockOffset||0:a,l=e.sha256;return t=e.signer?rX(e.signer):function(){return rX(e.region)().then(function(t){return(0,eu.__awaiter)(n,void 0,void 0,function(){return(0,eu.__generator)(this,function(n){switch(n.label){case 0:return[4,e.regionInfoProvider(t)];case 1:return[2,[n.sent()||{},t]]}})})}).then(function(t){var n=(0,eu.__read)(t,2),o=n[0],a=n[1],s=o.signingRegion,c=o.signingService;return e.signingRegion=e.signingRegion||s||a,e.signingName=e.signingName||c||e.serviceId,new rV({credentials:r,region:e.signingRegion,service:e.signingName,sha256:l,uriEscapePath:i})})},(0,eu.__assign)((0,eu.__assign)({},e),{systemClockOffset:s,signingEscapePath:i,credentials:r,signer:t})}function rX(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}function rQ(e){return(0,eu.__assign)((0,eu.__assign)({},e),{customUserAgent:"string"==typeof e.customUserAgent?[[e.customUserAgent]]:e.customUserAgent})}var rJ="user-agent",r0="x-amz-user-agent",r1=" ",r2=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,r3=function(e){return function(t,n){return function(r){return(0,eu.__awaiter)(void 0,void 0,void 0,function(){var o,i,a,s,l,c,u,d;return(0,eu.__generator)(this,function(f){switch(f.label){case 0:if(o=r.request,!eU.isInstance(o))return[2,t(r)];return i=o.headers,a=(null===(u=null==n?void 0:n.userAgent)||void 0===u?void 0:u.map(r4))||[],[4,e.defaultUserAgentProvider()];case 1:return s=f.sent().map(r4),l=(null===(d=null==e?void 0:e.customUserAgent)||void 0===d?void 0:d.map(r4))||[],i[r0]=(0,eu.__spread)(s,a,l).join(r1),c=(0,eu.__spread)(s.filter(function(e){return e.startsWith("aws-sdk-")}),l).join(r1),"browser"!==e.runtime&&c&&(i[rJ]=i[rJ]?i[rJ]+" "+c:c),[2,t((0,eu.__assign)((0,eu.__assign)({},r),{request:o}))]}})})}}},r4=function(e){var t=(0,eu.__read)(e,2),n=t[0],r=t[1],o=n.indexOf("/"),i=n.substring(0,o),a=n.substring(o+1);return"api"===i&&(a=a.toLowerCase()),[i,a,r].filter(function(e){return e&&e.length>0}).map(function(e){return null==e?void 0:e.replace(r2,"_")}).join("/")},r5={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},r6=function(e){return{applyToStack:function(t){t.add(r3(e),r5)}}},r8=function(e){function t(t){var n=this,r=rQ(n5(nP(rY(nY(nJ((0,eF.pi)((0,eF.pi)({},nK),t)))))));return(n=e.call(this,r)||this).config=r,n.middlewareStack.use(ni(n.config)),n.middlewareStack.use(n4(n.config)),n.middlewareStack.use(n7(n.config)),n.middlewareStack.use(rt(n.config)),n.middlewareStack.use(r6(n.config)),n}return(0,eF.ZT)(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(tC),r7="aws-amplify/5.2.4",r9={userAgent:r7+" js",product:"",navigator:null,isReactNative:!1};"undefined"!=typeof navigator&&navigator.product&&((r9.product=navigator.product||"",r9.navigator=navigator||null,"ReactNative"===navigator.product)?(r9.userAgent=r7+" react-native",r9.isReactNative=!0):(r9.userAgent=r7+" js",r9.isReactNative=!1));var oe=function(e){return""+r9.userAgent+(e||"")};function ot(e){var t=new r8({region:e.region,customUserAgent:oe()});return t.middlewareStack.add(function(e,t){return function(t){return e(on(t))}},{step:"build",name:"cacheControlMiddleWare"}),t}function on(e){return(0,eu.__assign)((0,eu.__assign)({},e),{request:(0,eu.__assign)((0,eu.__assign)({},e.request),{headers:(0,eu.__assign)((0,eu.__assign)({},e.request.headers),{"cache-control":"no-store"})})})}var or=new eg.k("Credentials"),oo=3e6,oi="CognitoIdentityId-",oa="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",os=function(e,t,n){ev.X.dispatch("core",{event:e,data:t,message:n},"Credentials",oa)},ol=new(function(){function e(e){this._gettingCredPromise=null,this._refreshHandlers={},this.Auth=void 0,this.configure(e),this._refreshHandlers.google=eL.refreshGoogleToken,this._refreshHandlers.facebook=eB.refreshFacebookToken}return e.prototype.getModuleName=function(){return"Credentials"},e.prototype.getCredSource=function(){return this._credentials_source},e.prototype.configure=function(e){if(!e)return this._config||{};this._config=Object.assign({},this._config,e);var t=this._config.refreshHandlers;return t&&(this._refreshHandlers=(0,eu.__assign)((0,eu.__assign)({},this._refreshHandlers),t)),this._storage=this._config.storage,this._storage||(this._storage=new ew().getStorage()),this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),os("credentials_configured",null,"Credentials has been configured successfully"),this._config},e.prototype.get=function(){return or.debug("getting credentials"),this._pickupCredentials()},e.prototype._getCognitoIdentityIdStorageKey=function(e){return""+oi+e},e.prototype._pickupCredentials=function(){return or.debug("picking up credentials"),this._gettingCredPromise&&this._gettingCredPromise.isPending()?or.debug("getting old cred promise"):(or.debug("getting new cred promise"),this._gettingCredPromise=ex(this._keepAlive())),this._gettingCredPromise},e.prototype._keepAlive=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t,n,r,o,i;return(0,eu.__generator)(this,function(a){switch(a.label){case 0:if(or.debug("checking if credentials exists and not expired"),(e=this._credentials)&&!this._isExpired(e)&&!this._isPastTTL())return or.debug("credentials not changed and not expired, directly return"),[2,Promise.resolve(e)];if(or.debug("need to get a new credential or refresh the existing one"),!(n=void 0===(t=this.Auth)?eZ.d.Auth:t)||"function"!=typeof n.currentUserCredentials)return[2,this._setCredentialsForGuest()];if(!(!this._isExpired(e)&&this._isPastTTL()))return[3,6];or.debug("ttl has passed but token is not yet expired"),a.label=1;case 1:return a.trys.push([1,5,,6]),[4,n.currentUserPoolUser()];case 2:return r=a.sent(),[4,n.currentSession()];case 3:return o=a.sent().refreshToken,[4,new Promise(function(e,t){r.refreshSession(o,function(n,r){return n?t(n):e(r)})})];case 4:return a.sent(),[3,6];case 5:return i=a.sent(),or.debug("Error attempting to refreshing the session",i),[3,6];case 6:return[2,n.currentUserCredentials()]}})})},e.prototype.refreshFederatedToken=function(e){or.debug("Getting federated credentials");var t=e.provider,n=e.user,r=e.token,o=e.identity_id,i=e.expires_at;i=1970===new Date(i).getFullYear()?1e3*i:i;var a=this;return(or.debug("checking if federated jwt token expired"),i>new Date().getTime())?(or.debug("token not expired"),this._setCredentialsFromFederation({provider:t,token:r,user:n,identity_id:o,expires_at:i})):a._refreshHandlers[t]&&"function"==typeof a._refreshHandlers[t]?(or.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:a._refreshHandlers[t],provider:t,user:n})):(or.debug("no refresh handler for provider:",t),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(e){var t=this,n=e.refreshHandler,r=e.provider,o=e.user;return eP(n,[],1e4).then(function(e){return or.debug("refresh federated token sucessfully",e),t._setCredentialsFromFederation({provider:r,token:e.token,user:o,identity_id:e.identity_id,expires_at:e.expires_at})}).catch(function(e){return"string"==typeof e&&0===e.toLowerCase().lastIndexOf("network error",e.length)||t.clear(),or.debug("refresh federated token failed",e),Promise.reject("refreshing federation token failed: "+e)})},e.prototype._isExpired=function(e){if(!e)return or.debug("no credentials for expiration check"),!0;or.debug("are these credentials expired?",e);var t=Date.now();return e.expiration.getTime()<=t},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){var e;return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r,o,i,a,s,l,c,u=this;return(0,eu.__generator)(this,function(d){switch(d.label){case 0:if(or.debug("setting credentials for guest"),(null===(e=this._config)||void 0===e?void 0:e.identityPoolId)||(this._config=Object.assign({},this._config,tU(this._config||{}).Auth)),n=(t=this._config).identityPoolId,r=t.region,o=t.mandatorySignIn,i=t.identityPoolRegion,o)return[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")];if(!n)return or.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")];if(!i&&!r)return or.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")];return s=this,[4,this._getGuestIdentityId()];case 1:return a=s._identityId=d.sent(),l=ot({region:i||r}),c=void 0,c=a?tP({identityId:a,client:l})():(function(){return(0,eu.__awaiter)(u,void 0,void 0,function(){var e;return(0,eu.__generator)(this,function(t){switch(t.label){case 0:return[4,l.send(new tN({IdentityPoolId:n}))];case 1:return e=t.sent().IdentityId,this._identityId=e,[2,tP({client:l,identityId:e})()]}})})})().catch(function(e){return(0,eu.__awaiter)(u,void 0,void 0,function(){return(0,eu.__generator)(this,function(t){throw e})})}),[2,this._loadCredentials(c,"guest",!1,null).then(function(e){return e}).catch(function(e){return(0,eu.__awaiter)(u,void 0,void 0,function(){var t=this;return(0,eu.__generator)(this,function(r){switch(r.label){case 0:if(!("ResourceNotFoundException"===e.name&&e.message==="Identity '"+a+"' not found."))return[3,2];return or.debug("Failed to load guest credentials"),[4,this._removeGuestIdentityId()];case 1:return r.sent(),c=(function(){return(0,eu.__awaiter)(t,void 0,void 0,function(){var e;return(0,eu.__generator)(this,function(t){switch(t.label){case 0:return[4,l.send(new tN({IdentityPoolId:n}))];case 1:return e=t.sent().IdentityId,this._identityId=e,[2,tP({client:l,identityId:e})()]}})})})().catch(function(e){return(0,eu.__awaiter)(t,void 0,void 0,function(){return(0,eu.__generator)(this,function(t){throw e})})}),[2,this._loadCredentials(c,"guest",!1,null)];case 2:return[2,e]}})})})]}})})},e.prototype._setCredentialsFromFederation=function(e){var t=e.provider,n=e.token,r=e.identity_id,o={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[t]||t;if(!o)return Promise.reject("You must specify a federated provider");var i={};i[o]=n;var a=this._config,s=a.identityPoolId,l=a.region,c=a.identityPoolRegion;if(!s)return or.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!c&&!l)return or.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var u=ot({region:c||l}),d=void 0;if(r){var f={identityId:r,logins:i,client:u};d=tP(f)()}else{var f={logins:i,identityPoolId:s,client:u};d=tZ(f)()}return this._loadCredentials(d,"federated",!0,e)},e.prototype._setCredentialsFromSession=function(e){var t=this;or.debug("set credentials from session");var n=e.getIdToken().getJwtToken(),r=this._config,o=r.region,i=r.userPoolId,a=r.identityPoolId,s=r.identityPoolRegion;if(!a)return or.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!s&&!o)return or.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var l={};l["cognito-idp."+o+".amazonaws.com/"+i]=n;var c=ot({region:s||o}),u=(function(){return(0,eu.__awaiter)(t,void 0,void 0,function(){var e,t,n,r,o,i,s,u,d;return(0,eu.__generator)(this,function(f){switch(f.label){case 0:return[4,this._getGuestIdentityId()];case 1:if(e=f.sent())return[3,3];return[4,c.send(new tN({IdentityPoolId:a,Logins:l}))];case 2:t=f.sent().IdentityId,f.label=3;case 3:return[4,c.send(new tO({IdentityId:e||t,Logins:l}))];case 4:if(o=(r=(n=f.sent()).Credentials).AccessKeyId,i=r.Expiration,s=r.SecretKey,u=r.SessionToken,d=n.IdentityId,this._identityId=d,!e)return[3,6];return or.debug("The guest identity "+e+" has been successfully linked to the logins"),e===d&&or.debug("The guest identity "+e+" has become the primary identity"),[4,this._removeGuestIdentityId()];case 5:f.sent(),f.label=6;case 6:return[2,{accessKeyId:o,secretAccessKey:s,sessionToken:u,expiration:i,identityId:d}]}})})})().catch(function(e){return(0,eu.__awaiter)(t,void 0,void 0,function(){return(0,eu.__generator)(this,function(t){throw e})})});return this._loadCredentials(u,"userPool",!0,null)},e.prototype._loadCredentials=function(e,t,n,r){var o=this,i=this;return new Promise(function(a,s){e.then(function(e){return(0,eu.__awaiter)(o,void 0,void 0,function(){var o,s,l,c,u;return(0,eu.__generator)(this,function(d){switch(d.label){case 0:if(or.debug("Load credentials successfully",e),this._identityId&&!e.identityId&&(e.identityId=this._identityId),i._credentials=e,i._credentials.authenticated=n,i._credentials_source=t,i._nextCredentialsRefresh=new Date().getTime()+oo,"federated"===t){o=Object.assign({id:this._credentials.identityId},r.user),s=r.provider,l=r.token,c=r.expires_at,u=r.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:s,token:l,user:o,expires_at:c,identity_id:u}))}catch(e){or.debug("Failed to put federated info into auth storage",e)}}if("guest"!==t)return[3,2];return[4,this._setGuestIdentityId(e.identityId)];case 1:d.sent(),d.label=2;case 2:return a(i._credentials),[2]}})})}).catch(function(t){if(t){or.debug("Failed to load credentials",e),or.debug("Error loading credentials",t),s(t);return}})})},e.prototype.set=function(e,t){return"session"===t?this._setCredentialsFromSession(e):"federation"===t?this._setCredentialsFromFederation(e):"guest"===t?this._setCredentialsForGuest():(or.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){return(0,eu.__generator)(this,function(e){return this._credentials=null,this._credentials_source=null,or.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]})})},e.prototype._getGuestIdentityId=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t;return(0,eu.__generator)(this,function(n){switch(n.label){case 0:e=this._config.identityPoolId,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this._storageSync];case 2:return n.sent(),[2,this._storage.getItem(this._getCognitoIdentityIdStorageKey(e))];case 3:return t=n.sent(),or.debug("Failed to get the cached guest identityId",t),[3,4];case 4:return[2]}})})},e.prototype._setGuestIdentityId=function(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n;return(0,eu.__generator)(this,function(r){switch(r.label){case 0:t=this._config.identityPoolId,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._storageSync];case 2:return r.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(t),e),[3,4];case 3:return n=r.sent(),or.debug("Failed to cache guest identityId",n),[3,4];case 4:return[2]}})})},e.prototype._removeGuestIdentityId=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e;return(0,eu.__generator)(this,function(t){return e=this._config.identityPoolId,or.debug("removing "+this._getCognitoIdentityIdStorageKey(e)+" from storage"),this._storage.removeItem(this._getCognitoIdentityIdStorageKey(e)),[2]})})},e.prototype.shear=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e}())(null);eZ.d.register(ol);var oc=n(6922);function ou(){return"object"==typeof document&&"string"==typeof document.cookie}function od(e,t){return"string"==typeof e?oc.Q(e,t):"object"==typeof e&&null!==e?e:{}}function of(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}function op(e,t){void 0===t&&(t={});var n=oh(e);if(of(n,t.doNotParse))try{return JSON.parse(n)}catch(e){}return e}function oh(e){return e&&"j"===e[0]&&":"===e[1]?e.substr(2):e}var om=function(){return(om=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},og=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=od(e,t),new Promise(function(){n.HAS_DOCUMENT_COOKIE=ou()}).catch(function(){})}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=oc.Q(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,n){return void 0===t&&(t={}),this._updateBrowserValues(n),op(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var n={};for(var r in this.cookies)n[r]=op(this.cookies[r],e);return n},e.prototype.set=function(e,t,n){var r;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=om(om({},this.cookies),((r={})[e]=t,r)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=oc.q(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=om(om({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=om({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=oc.q(e,"",n)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}(),ov=eE().isBrowser,oy=31536e6,ob=function(){function e(e){void 0===e&&(e={}),this.cookies=new og,this.store=ov?window.localStorage:Object.create(null),this.cookies=e.req?new og(e.req.headers.cookie):new og,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var e=this;Array.from(Array(this.length)).map(function(t,n){return e.key(n)}).forEach(function(t){return e.removeItem(t)})},e.prototype.getItem=function(e){return this.getLocalItem(e)},e.prototype.getLocalItem=function(e){return Object.prototype.hasOwnProperty.call(this.store,e)?this.store[e]:null},e.prototype.getUniversalItem=function(e){return this.cookies.get(e)},e.prototype.key=function(e){return Object.keys(this.store)[e]},e.prototype.removeItem=function(e){this.removeLocalItem(e),this.removeUniversalItem(e)},e.prototype.removeLocalItem=function(e){delete this.store[e]},e.prototype.removeUniversalItem=function(e){this.cookies.remove(e,{path:"/"})},e.prototype.setItem=function(e,t){this.setLocalItem(e,t);var n=e.split(".").pop();["LastAuthUser","accessToken","refreshToken","idToken"].includes(null!=n?n:"")&&this.setUniversalItem(e,t,{expires:new Date(Date.now()+oy)})},e.prototype.setLocalItem=function(e,t){this.store[e]=t},e.prototype.setUniversalItem=function(e,t,n){void 0===n&&(n={}),this.cookies.set(e,t,(0,eu.__assign)((0,eu.__assign)({},n),{path:"/",sameSite:!0,secure:!ov||"localhost"!==window.location.hostname}))},e}();function ow(e){return e.split("").map(function(e){return e.charCodeAt(0).toString(16).padStart(2,"0")}).join("")}function oS(e){return e.match(/.{2}/g).map(function(e){return String.fromCharCode(parseInt(e,16))}).join("")}var ox=n(73739),oE=n(3451),oC="_self",o_=function(e){var t=window.open(e,oC);return t?Promise.resolve(t):Promise.reject()},ok=function(e){window.sessionStorage.setItem("oauth_state",e)},oO=function(){var e=window.sessionStorage.getItem("oauth_state");return window.sessionStorage.removeItem("oauth_state"),e},oA=function(e){window.sessionStorage.setItem("ouath_pkce_key",e)},oI=function(){var e=window.sessionStorage.getItem("ouath_pkce_key");return window.sessionStorage.removeItem("ouath_pkce_key"),e},oP=n(41438),oT=n(70346),oR="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",oM=function(e,t,n){ev.X.dispatch("auth",{event:e,data:t,message:n},"Auth",oR)},oN=new eg.k("OAuth"),oj=function(){function e(e){var t=e.config,n=e.cognitoClientId,r=e.scopes,o=void 0===r?[]:r;if(this._urlOpener=t.urlOpener||o_,this._config=t,this._cognitoClientId=n,!this.isValidScopes(o))throw Error("scopes must be a String Array");this._scopes=o}return e.prototype.isValidScopes=function(e){return Array.isArray(e)&&e.every(function(e){return"string"==typeof e})},e.prototype.oauthSignIn=function(e,t,n,o,i,a){void 0===e&&(e="code"),void 0===i&&(i=r.Cognito);var s=this._generateState(32),l=a?s+"-"+ow(a):s;ok(l);var c=this._generateRandom(128);oA(c);var u=this._generateChallenge(c),d="S256",f=this._scopes.join(" "),p="https://"+t+"/oauth2/authorize?"+Object.entries((0,eu.__assign)((0,eu.__assign)({redirect_uri:n,response_type:e,client_id:o,identity_provider:i,scope:f,state:l},"code"===e?{code_challenge:u}:{}),"code"===e?{code_challenge_method:d}:{})).map(function(e){var t=(0,eu.__read)(e,2),n=t[0],r=t[1];return encodeURIComponent(n)+"="+encodeURIComponent(r)}).join("&");oN.debug("Redirecting to "+p),this._urlOpener(p,n)},e.prototype._handleCodeFlow=function(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r,o,i,a,s,l,c,u,d,f,p;return(0,eu.__generator)(this,function(h){switch(h.label){case 0:if(t=((0,oE.parse)(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n,r=(0,eu.__read)(t,2),o=r[0],i=r[1];return(0,eu.__assign)((0,eu.__assign)({},e),((n={})[o]=i,n))},{code:void 0}).code,n=(0,oE.parse)(e).pathname||"/",r=(0,oE.parse)(this._config.redirectSignIn).pathname||"/",!t||n!==r)return[2];return oM("codeFlow",{},"Retrieving tokens from "+(o="https://"+this._config.domain+"/oauth2/token")),i=eh(this._config)?this._cognitoClientId:this._config.clientID,a=eh(this._config)?this._config.redirectSignIn:this._config.redirectUri,s=oI(),l=(0,eu.__assign)({grant_type:"authorization_code",code:t,client_id:i,redirect_uri:a},s?{code_verifier:s}:{}),oN.debug("Calling token endpoint: "+o+" with",l),[4,fetch(o,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:Object.entries(l).map(function(e){var t=(0,eu.__read)(e,2),n=t[0],r=t[1];return encodeURIComponent(n)+"="+encodeURIComponent(r)}).join("&")})];case 1:return[4,h.sent().json()];case 2:if(u=(c=h.sent()).access_token,d=c.refresh_token,f=c.id_token,p=c.error)throw Error(p);return[2,{accessToken:u,refreshToken:d,idToken:f}]}})})},e.prototype._handleImplicitFlow=function(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r;return(0,eu.__generator)(this,function(o){return n=(t=((0,oE.parse)(e).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n,r=(0,eu.__read)(t,2),o=r[0],i=r[1];return(0,eu.__assign)((0,eu.__assign)({},e),((n={})[o]=i,n))},{id_token:void 0,access_token:void 0})).id_token,r=t.access_token,oM("implicitFlow",{},"Got tokens from "+e),oN.debug("Retrieving implicit tokens from "+e+" with"),[2,{accessToken:r,idToken:n,refreshToken:null}]})})},e.prototype.handleAuthResponse=function(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r,o,i,a,s;return(0,eu.__generator)(this,function(l){switch(l.label){case 0:if(l.trys.push([0,5,,6]),n=(t=e?(0,eu.__assign)((0,eu.__assign)({},((0,oE.parse)(e).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n=(0,eu.__read)(t,2),r=n[0],o=n[1];return e[r]=o,e},{})),((0,oE.parse)(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n=(0,eu.__read)(t,2),r=n[0],o=n[1];return e[r]=o,e},{})):{}).error,r=t.error_description,n)throw Error(r);if(o=this._validateState(t),oN.debug("Starting "+this._config.responseType+" flow with "+e),"code"!==this._config.responseType)return[3,2];return i=[{}],[4,this._handleCodeFlow(e)];case 1:return[2,eu.__assign.apply(void 0,[eu.__assign.apply(void 0,i.concat([l.sent()])),{state:o}])];case 2:return a=[{}],[4,this._handleImplicitFlow(e)];case 3:return[2,eu.__assign.apply(void 0,[eu.__assign.apply(void 0,a.concat([l.sent()])),{state:o}])];case 4:return[3,6];case 5:throw s=l.sent(),oN.debug("Error handling auth response.",s),s;case 6:return[2]}})})},e.prototype._validateState=function(e){if(e){var t=oO(),n=e.state;if(t&&t!==n)throw Error("Invalid state in OAuth flow");return n}},e.prototype.signOut=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t,n;return(0,eu.__generator)(this,function(r){return e="https://"+this._config.domain+"/logout?",t=eh(this._config)?this._cognitoClientId:this._config.oauth.clientID,n=eh(this._config)?this._config.redirectSignOut:this._config.returnTo,oM("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+(e+=Object.entries({client_id:t,logout_uri:encodeURIComponent(n)}).map(function(e){var t=(0,eu.__read)(e,2);return t[0]+"="+t[1]}).join("&"))),oN.debug("Signing out from "+e),[2,this._urlOpener(e,n)]})})},e.prototype._generateState=function(e){for(var t="",n=e,r="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";n>0;--n)t+=r[Math.round(Math.random()*(r.length-1))];return t},e.prototype._generateChallenge=function(e){var t=new oT.Sha256;t.update(e);var n=t.digestSync(),r=oP.Buffer.from(n).toString("base64");return this._base64URL(r)},e.prototype._base64URL=function(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",n=new Uint8Array(e);if("undefined"!=typeof window&&window.crypto)window.crypto.getRandomValues(n);else for(var r=0;r<e;r+=1)n[r]=Math.random()*t.length|0;return this._bufferToString(n)},e.prototype._bufferToString=function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[],r=0;r<e.byteLength;r+=1){var o=e[r]%t.length;n.push(t[o])}return n.join("")},e}(),oD=function(e){if(eE().isBrowser&&window.location)e({url:window.location.href});else if(eE().isNode);else throw Error("Not supported")};!function(e){e.DEFAULT_MSG="Authentication Error",e.EMPTY_EMAIL="Email cannot be empty",e.EMPTY_PHONE="Phone number cannot be empty",e.EMPTY_USERNAME="Username cannot be empty",e.INVALID_USERNAME="The username should either be a string or one of the sign in types",e.EMPTY_PASSWORD="Password cannot be empty",e.EMPTY_CODE="Confirmation code cannot be empty",e.SIGN_UP_ERROR="Error creating account",e.NO_MFA="No valid MFA method provided",e.INVALID_MFA="Invalid MFA type",e.EMPTY_CHALLENGE="Challenge response cannot be empty",e.NO_USER_SESSION="Failed to get the session because the user is empty",e.NETWORK_ERROR="Network Error",e.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",e.AUTOSIGNIN_ERROR="Please use your credentials to sign in"}(ec||(ec={}));var oL=new eg.k("AuthError"),oB=function(e){function t(n){var r=this,o=oF[n],i=o.message,a=o.log;return(r=e.call(this,i)||this).constructor=t,Object.setPrototypeOf(r,t.prototype),r.name="AuthError",r.log=a||i,oL.error(r.log),r}return(0,eu.__extends)(t,e),t}(Error),oZ=function(e){function t(n){var r=e.call(this,n)||this;return r.constructor=t,Object.setPrototypeOf(r,t.prototype),r.name="NoUserPoolError",r}return(0,eu.__extends)(t,e),t}(oB),oF={noConfig:{message:ec.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly.\n            This error is typically caused by one of the following scenarios:\n\n            1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n                See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n            \n            2. There might be multiple conflicting versions of amplify packages in your node_modules.\n				Refer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n        "},missingAuthConfig:{message:ec.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly. \n            The configuration object is missing required auth properties.\n            This error is typically caused by one of the following scenarios:\n\n            1. Did you run `amplify push` after adding auth via `amplify add auth`?\n                See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n            2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n        "},emptyUsername:{message:ec.EMPTY_USERNAME},invalidUsername:{message:ec.INVALID_USERNAME},emptyPassword:{message:ec.EMPTY_PASSWORD},emptyCode:{message:ec.EMPTY_CODE},signUpError:{message:ec.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:ec.NO_MFA},invalidMFA:{message:ec.INVALID_MFA},emptyChallengeResponse:{message:ec.EMPTY_CHALLENGE},noUserSession:{message:ec.NO_USER_SESSION},deviceConfig:{message:ec.DEVICE_CONFIG},networkError:{message:ec.NETWORK_ERROR},autoSignInError:{message:ec.AUTOSIGNIN_ERROR},default:{message:ec.DEFAULT_MSG}},oz=new eg.k("AuthClass"),oU="aws.cognito.signin.user.admin",oH=1e4,oq="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",oV=function(e,t,n){ev.X.dispatch("auth",{event:e,data:t,message:n},"Auth",oq)},oW=60,o$=18e4,oG=new(function(){function e(e){var t=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.autoSignInInitiated=!1,this.inflightSessionPromise=null,this.inflightSessionPromiseCounter=0,this.Credentials=ol,this.wrapRefreshSessionCallback=function(e){return function(t,n){return n?oV("tokenRefresh",void 0,"New token retrieved"):oV("tokenRefresh_failure",t,"Failed to retrieve new token"),e(t,n)}},this.configure(e),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),ev.X.listen("auth",function(e){switch(e.payload.event){case"verify":case"signIn":t._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":t._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":t._storage.setItem("amplify-signin-with-hostedUI","true")}})}return e.prototype.getModuleName=function(){return"Auth"},e.prototype.configure=function(e){var t=this;if(!e)return this._config||{};oz.debug("configure Auth");var n=Object.assign({},this._config,tU(e).Auth,e);this._config=n;var r=this._config,i=r.userPoolId,a=r.userPoolWebClientId,s=r.cookieStorage,l=r.oauth,c=r.region,u=r.identityPoolId,d=r.mandatorySignIn,f=r.refreshHandlers,p=r.identityPoolRegion,h=r.clientMetadata,m=r.endpoint,g=r.storage;if(g){if(!this._isValidAuthStorage(g))throw oz.error("The storage in the Auth config is not valid!"),Error("Empty storage object");this._storage=g}else s?this._storage=new ox.eR(s):this._storage=e.ssr?new ob:new ew().getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),i){var v={UserPoolId:i,ClientId:a,endpoint:m};v.Storage=this._storage,this.userPool=new ox.AM(v,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:d,region:c,userPoolId:i,identityPoolId:u,refreshHandlers:f,storage:this._storage,identityPoolRegion:p});var y=l?eh(this._config.oauth)?l:l.awsCognito:void 0;if(y){var b=Object.assign({cognitoClientId:a,UserPoolId:i,domain:y.domain,scopes:y.scope,redirectSignIn:y.redirectSignIn,redirectSignOut:y.redirectSignOut,responseType:y.responseType,Storage:this._storage,urlOpener:y.urlOpener,clientMetadata:h},y.options);this._oAuthHandler=new oj({scopes:b.scopes,config:b,cognitoClientId:b.cognitoClientId});var w={};oD(function(e){var n=e.url;w[n]||(w[n]=!0,t._handleAuthResponse(n))})}return oV("configured",null,"The Auth category has been configured successfully"),this.autoSignInInitiated||"function"!=typeof this._storage.getItem||(this.isTrueStorageValue("amplify-polling-started")&&(oV("autoSignIn_failure",null,o.AutoSignInError),this._storage.removeItem("amplify-auto-sign-in")),this._storage.removeItem("amplify-polling-started")),this._config},e.prototype.signUp=function(e){for(var t,n,r,i,a=this,s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];if(!this.userPool)return this.rejectNoUserPool();var c=null,u=null,d=[],f=null,p={enabled:!1},h={},m={};if(e&&"string"==typeof e){c=e,u=s?s[0]:null;var g=s?s[1]:null,v=s?s[2]:null;g&&d.push(new ox.KC({Name:"email",Value:g})),v&&d.push(new ox.KC({Name:"phone_number",Value:v}))}else{if(!e||"object"!=typeof e)return this.rejectAuthError(o.SignUpError);c=e.username,u=e.password,e&&e.clientMetadata?i=e.clientMetadata:this._config.clientMetadata&&(i=this._config.clientMetadata);var y=e.attributes;y&&Object.keys(y).map(function(e){d.push(new ox.KC({Name:e,Value:y[e]}))});var b=e.validationData;b&&(f=[],Object.keys(b).map(function(e){f.push(new ox.KC({Name:e,Value:b[e]}))})),(p=null!==(t=e.autoSignIn)&&void 0!==t?t:{enabled:!1}).enabled&&(this._storage.setItem("amplify-auto-sign-in","true"),h=null!==(n=p.validationData)&&void 0!==n?n:{},m=null!==(r=p.clientMetaData)&&void 0!==r?r:{})}return c?u?(oz.debug("signUp attrs:",d),oz.debug("signUp validation data:",f),new Promise(function(e,t){a.userPool.signUp(c,u,d,f,function(n,r){n?(oV("signUp_failure",n,c+" failed to signup"),t(n)):(oV("signUp",r,c+" has signed up successfully"),p.enabled&&a.handleAutoSignIn(c,u,h,m,r),e(r))},i)})):this.rejectAuthError(o.EmptyPassword):this.rejectAuthError(o.EmptyUsername)},e.prototype.handleAutoSignIn=function(e,t,n,r,o){this.autoSignInInitiated=!0;var i=new ox.sD({Username:e,Password:t,ValidationData:n,ClientMetadata:r});o.userConfirmed?this.signInAfterUserConfirmed(i):"link"===this._config.signUpVerificationMethod?this.handleLinkAutoSignIn(i):this.handleCodeAutoSignIn(i)},e.prototype.handleCodeAutoSignIn=function(e){var t=this,n=function(r){"confirmSignUp"===r.payload.event&&t.signInAfterUserConfirmed(e,n)};ev.X.listen("auth",n)},e.prototype.handleLinkAutoSignIn=function(e){var t=this;this._storage.setItem("amplify-polling-started","true");var n=Date.now(),r=setInterval(function(){Date.now()-n>o$?(clearInterval(r),oV("autoSignIn_failure",null,"Please confirm your account and use your credentials to sign in."),t._storage.removeItem("amplify-auto-sign-in")):t.signInAfterUserConfirmed(e,null,r)},5e3)},e.prototype.signInAfterUserConfirmed=function(e,t,n){return(0,eu.__awaiter)(this,void 0,void 0,function(){var r,o,i=this;return(0,eu.__generator)(this,function(a){switch(a.label){case 0:r=this.createCognitoUser(e.getUsername()),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,r.authenticateUser(e,this.authCallbacks(r,function(r){oV("autoSignIn",r,e.getUsername()+" has signed in successfully"),t&&ev.X.remove("auth",t),n&&(clearInterval(n),i._storage.removeItem("amplify-polling-started")),i._storage.removeItem("amplify-auto-sign-in")},function(e){oz.error(e),i._storage.removeItem("amplify-auto-sign-in")}))];case 2:return a.sent(),[3,4];case 3:return o=a.sent(),oz.error(o),[3,4];case 4:return[2]}})})},e.prototype.confirmSignUp=function(e,t,n){var r,i=this;if(!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(o.EmptyUsername);if(!t)return this.rejectAuthError(o.EmptyCode);var a=this.createCognitoUser(e),s=!n||"boolean"!=typeof n.forceAliasCreation||n.forceAliasCreation;return n&&n.clientMetadata?r=n.clientMetadata:this._config.clientMetadata&&(r=this._config.clientMetadata),new Promise(function(n,l){a.confirmRegistration(t,s,function(t,r){t?l(t):(oV("confirmSignUp",r,e+" has been confirmed successfully"),i.isTrueStorageValue("amplify-auto-sign-in")&&!i.autoSignInInitiated&&(oV("autoSignIn_failure",null,o.AutoSignInError),i._storage.removeItem("amplify-auto-sign-in")),n(r))},r)})},e.prototype.isTrueStorageValue=function(e){var t=this._storage.getItem(e);return!!t&&"true"===t},e.prototype.resendSignUp=function(e,t){if(void 0===t&&(t=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(o.EmptyUsername);var n=this.createCognitoUser(e);return new Promise(function(e,r){n.resendConfirmationCode(function(t,n){t?r(t):e(n)},t)})},e.prototype.signIn=function(e,t,n){if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var r=null,i=null,a={};if("string"==typeof e)r=e,i=t;else{if(!em(e))return this.rejectAuthError(o.InvalidUsername);void 0!==t&&oz.warn("The password should be defined under the first parameter object!"),r=e.username,i=e.password,a=e.validationData}if(!r)return this.rejectAuthError(o.EmptyUsername);var s=new ox.sD({Username:r,Password:i,ValidationData:a,ClientMetadata:n});return i?this.signInWithPassword(s):this.signInWithoutPassword(s)},e.prototype.authCallbacks=function(e,t,n){var r=this,o=this;return{onSuccess:function(i){return(0,eu.__awaiter)(r,void 0,void 0,function(){var r,a,s,l;return(0,eu.__generator)(this,function(c){switch(c.label){case 0:oz.debug(i),delete e.challengeName,delete e.challengeParam,c.label=1;case 1:return c.trys.push([1,4,5,9]),[4,this.Credentials.clear()];case 2:return c.sent(),[4,this.Credentials.set(i,"session")];case 3:return r=c.sent(),oz.debug("succeed to get cognito credentials",r),[3,9];case 4:return a=c.sent(),oz.debug("cannot get cognito credentials",a),[3,9];case 5:return c.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];case 6:return s=c.sent(),o.user=s,oV("signIn",s,"A user "+e.getUsername()+" has been signed in"),t(s),[3,8];case 7:return l=c.sent(),oz.error("Failed to get the signed in user",l),n(l),[3,8];case 8:return[7];case 9:return[2]}})})},onFailure:function(t){oz.debug("signIn failure",t),oV("signIn_failure",t,e.getUsername()+" failed to signin"),n(t)},customChallenge:function(n){oz.debug("signIn custom challenge answer required"),e.challengeName="CUSTOM_CHALLENGE",e.challengeParam=n,t(e)},mfaRequired:function(n,r){oz.debug("signIn MFA required"),e.challengeName=n,e.challengeParam=r,t(e)},mfaSetup:function(n,r){oz.debug("signIn mfa setup",n),e.challengeName=n,e.challengeParam=r,t(e)},newPasswordRequired:function(n,r){oz.debug("signIn new password"),e.challengeName="NEW_PASSWORD_REQUIRED",e.challengeParam={userAttributes:n,requiredAttributes:r},t(e)},totpRequired:function(n,r){oz.debug("signIn totpRequired"),e.challengeName=n,e.challengeParam=r,t(e)},selectMFAType:function(n,r){oz.debug("signIn selectMFAType",n),e.challengeName=n,e.challengeParam=r,t(e)}}},e.prototype.signInWithPassword=function(e){var t=this;if(this.pendingSignIn)throw Error("Pending sign-in attempt already in progress");var n=this.createCognitoUser(e.getUsername());return this.pendingSignIn=new Promise(function(r,o){n.authenticateUser(e,t.authCallbacks(n,function(e){t.pendingSignIn=null,r(e)},function(e){t.pendingSignIn=null,o(e)}))}),this.pendingSignIn},e.prototype.signInWithoutPassword=function(e){var t=this,n=this.createCognitoUser(e.getUsername());return n.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise(function(r,o){n.initiateAuth(e,t.authCallbacks(n,r,o))})},e.prototype.getMFAOptions=function(e){return new Promise(function(t,n){e.getMFAOptions(function(e,r){if(e){oz.debug("get MFA Options failed",e),n(e);return}oz.debug("get MFA options success",r),t(r)})})},e.prototype.getPreferredMFA=function(e,t){var n=this,r=this;return new Promise(function(o,i){var a=n._config.clientMetadata,s=!!t&&t.bypassCache;e.getUserData(function(t,a){return(0,eu.__awaiter)(n,void 0,void 0,function(){var n,s;return(0,eu.__generator)(this,function(l){switch(l.label){case 0:if(!t)return[3,5];if(oz.debug("getting preferred mfa failed",t),!this.isSessionInvalid(t))return[3,4];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return l.sent(),[3,4];case 3:return n=l.sent(),i(Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+n.message)),[2];case 4:return i(t),[2];case 5:if(!(s=r._getMfaTypeFromUserData(a)))return i("invalid MFA Type"),[2];return o(s),[2]}})})},{bypassCache:s,clientMetadata:a})})},e.prototype._getMfaTypeFromUserData=function(e){var t=null,n=e.PreferredMfaSetting;if(n)t=n;else{var r=e.UserMFASettingList;r?0===r.length?t="NOMFA":oz.debug("invalid case for getPreferredMFA",e):t=e.MFAOptions?"SMS_MFA":"NOMFA"}return t},e.prototype._getUserData=function(e,t){var n=this;return new Promise(function(r,o){e.getUserData(function(t,i){return(0,eu.__awaiter)(n,void 0,void 0,function(){var n;return(0,eu.__generator)(this,function(a){switch(a.label){case 0:if(!t)return[3,5];if(oz.debug("getting user data failed",t),!this.isSessionInvalid(t))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return a.sent(),[3,4];case 3:return n=a.sent(),o(Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+n.message)),[2];case 4:return o(t),[2];case 5:r(i),a.label=6;case 6:return[2]}})})},t)})},e.prototype.setPreferredMFA=function(e,t){return(0,eu.__awaiter)(this,void 0,void 0,function(){var n,r,i,a,s,l,c,u=this;return(0,eu.__generator)(this,function(d){switch(d.label){case 0:return n=this._config.clientMetadata,[4,this._getUserData(e,{bypassCache:!0,clientMetadata:n})];case 1:switch(r=d.sent(),i=null,a=null,t){case"TOTP":case"SOFTWARE_TOKEN_MFA":return[3,2];case"SMS":case"SMS_MFA":return[3,3];case"NOMFA":return[3,4]}return[3,6];case 2:return a={PreferredMfa:!0,Enabled:!0},[3,7];case 3:return i={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return s=r.UserMFASettingList,[4,this._getMfaTypeFromUserData(r)];case 5:if("NOMFA"===(l=d.sent()))return[2,Promise.resolve("No change for mfa type")];if("SMS_MFA"===l)i={PreferredMfa:!1,Enabled:!1};else{if("SOFTWARE_TOKEN_MFA"!==l)return[2,this.rejectAuthError(o.InvalidMFA)];a={PreferredMfa:!1,Enabled:!1}}return s&&0!==s.length&&s.forEach(function(e){"SMS_MFA"===e?i={PreferredMfa:!1,Enabled:!1}:"SOFTWARE_TOKEN_MFA"===e&&(a={PreferredMfa:!1,Enabled:!1})}),[3,7];case 6:return oz.debug("no validmfa method provided"),[2,this.rejectAuthError(o.NoMFA)];case 7:return c=this,[2,new Promise(function(t,r){e.setUserMfaPreference(i,a,function(o,i){if(o)return oz.debug("Set user mfa preference error",o),r(o);oz.debug("Set user mfa success",i),oz.debug("Caching the latest user data into local"),e.getUserData(function(n,o){return(0,eu.__awaiter)(u,void 0,void 0,function(){var o;return(0,eu.__generator)(this,function(a){switch(a.label){case 0:if(!n)return[3,5];if(oz.debug("getting user data failed",n),!this.isSessionInvalid(n))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return a.sent(),[3,4];case 3:return o=a.sent(),r(Error("Session is invalid due to: "+n.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return[2,r(n)];case 5:return[2,t(i)]}})})},{bypassCache:!0,clientMetadata:n})})})]}})})},e.prototype.disableSMS=function(e){return new Promise(function(t,n){e.disableMFA(function(e,r){if(e){oz.debug("disable mfa failed",e),n(e);return}oz.debug("disable mfa succeed",r),t(r)})})},e.prototype.enableSMS=function(e){return new Promise(function(t,n){e.enableMFA(function(e,r){if(e){oz.debug("enable mfa failed",e),n(e);return}oz.debug("enable mfa succeed",r),t(r)})})},e.prototype.setupTOTP=function(e){return new Promise(function(t,n){e.associateSoftwareToken({onFailure:function(e){oz.debug("associateSoftwareToken failed",e),n(e)},associateSecretCode:function(e){oz.debug("associateSoftwareToken success",e),t(e)}})})},e.prototype.verifyTotpToken=function(e,t){oz.debug("verification totp token",e,t),e&&"function"==typeof e.getSignInUserSession&&(n=e.getSignInUserSession());var n,r=null==n?void 0:n.isValid();return new Promise(function(n,o){e.verifySoftwareToken(t,"My TOTP device",{onFailure:function(e){oz.debug("verifyTotpToken failed",e),o(e)},onSuccess:function(t){r||oV("signIn",e,"A user "+e.getUsername()+" has been signed in"),oV("verify",e,"A user "+e.getUsername()+" has been verified"),oz.debug("verifyTotpToken success",t),n(t)}})})},e.prototype.confirmSignIn=function(e,t,n,r){var i=this;if(void 0===r&&(r=this._config.clientMetadata),!t)return this.rejectAuthError(o.EmptyCode);var a=this;return new Promise(function(o,s){e.sendMFACode(t,{onSuccess:function(t){return(0,eu.__awaiter)(i,void 0,void 0,function(){var n,r,i,s;return(0,eu.__generator)(this,function(l){switch(l.label){case 0:oz.debug(t),l.label=1;case 1:return l.trys.push([1,4,5,10]),[4,this.Credentials.clear()];case 2:return l.sent(),[4,this.Credentials.set(t,"session")];case 3:return n=l.sent(),oz.debug("succeed to get cognito credentials",n),[3,10];case 4:return r=l.sent(),oz.debug("cannot get cognito credentials",r),[3,10];case 5:a.user=e,l.label=6;case 6:return l.trys.push([6,8,,9]),[4,this.currentUserPoolUser()];case 7:return i=l.sent(),e.attributes=i.attributes,[3,9];case 8:return s=l.sent(),oz.debug("cannot get updated Cognito User",s),[3,9];case 9:return oV("signIn",e,"A user "+e.getUsername()+" has been signed in"),o(e),[7];case 10:return[2]}})})},onFailure:function(e){oz.debug("confirm signIn failure",e),s(e)}},n,r)})},e.prototype.completeNewPassword=function(e,t,n,r){var i=this;if(void 0===n&&(n={}),void 0===r&&(r=this._config.clientMetadata),!t)return this.rejectAuthError(o.EmptyPassword);var a=this;return new Promise(function(o,s){e.completeNewPasswordChallenge(t,n,{onSuccess:function(t){return(0,eu.__awaiter)(i,void 0,void 0,function(){var n,r;return(0,eu.__generator)(this,function(i){switch(i.label){case 0:oz.debug(t),i.label=1;case 1:return i.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return i.sent(),[4,this.Credentials.set(t,"session")];case 3:return n=i.sent(),oz.debug("succeed to get cognito credentials",n),[3,6];case 4:return r=i.sent(),oz.debug("cannot get cognito credentials",r),[3,6];case 5:return a.user=e,oV("signIn",e,"A user "+e.getUsername()+" has been signed in"),o(e),[7];case 6:return[2]}})})},onFailure:function(e){oz.debug("completeNewPassword failure",e),oV("completeNewPassword_failure",e,i.user+" failed to complete the new password flow"),s(e)},mfaRequired:function(t,n){oz.debug("signIn MFA required"),e.challengeName=t,e.challengeParam=n,o(e)},mfaSetup:function(t,n){oz.debug("signIn mfa setup",t),e.challengeName=t,e.challengeParam=n,o(e)},totpRequired:function(t,n){oz.debug("signIn mfa setup",t),e.challengeName=t,e.challengeParam=n,o(e)}},r)})},e.prototype.sendCustomChallengeAnswer=function(e,t,n){var r=this;return(void 0===n&&(n=this._config.clientMetadata),this.userPool)?t?new Promise(function(o,i){e.sendCustomChallengeAnswer(t,r.authCallbacks(e,o,i),n)}):this.rejectAuthError(o.EmptyChallengeResponse):this.rejectNoUserPool()},e.prototype.deleteUserAttributes=function(e,t){var n=this;return new Promise(function(r,o){n.userSession(e).then(function(n){e.deleteAttributes(t,function(e,t){return e?o(e):r(t)})})})},e.prototype.deleteUser=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t,n=this;return(0,eu.__generator)(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this._storageSync];case 1:return r.sent(),[3,3];case 2:throw e=r.sent(),oz.debug("Failed to sync cache info into memory",e),Error(e);case 3:return t=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise(function(e,r){return(0,eu.__awaiter)(n,void 0,void 0,function(){var n,o=this;return(0,eu.__generator)(this,function(i){if(this.userPool){if(!(n=this.userPool.getCurrentUser()))return oz.debug("Failed to get user from user pool"),[2,r(Error("No current user."))];n.getSession(function(i,a){return(0,eu.__awaiter)(o,void 0,void 0,function(){var o,a=this;return(0,eu.__generator)(this,function(s){switch(s.label){case 0:if(!i)return[3,5];if(oz.debug("Failed to get the user session",i),!this.isSessionInvalid(i))return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(n)];case 2:return s.sent(),[3,4];case 3:return o=s.sent(),r(Error("Session is invalid due to: "+i.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return[2,r(i)];case 5:n.deleteUser(function(o,i){if(o)r(o);else{oV("userDeleted",i,"The authenticated user has been deleted."),n.signOut(),a.user=null;try{a.cleanCachedItems()}catch(e){oz.debug("failed to clear cached items")}t?a.oAuthSignOutRedirect(e,r):(oV("signOut",a.user,"A user has been signed out"),e(i))}}),s.label=6;case 6:return[2]}})})})}else oz.debug("no Congito User pool"),r(Error("Cognito User pool does not exist"));return[2]})})})]}})})},e.prototype.updateUserAttributes=function(e,t,n){var r=this;void 0===n&&(n=this._config.clientMetadata);var o=[],i=this;return new Promise(function(a,s){i.userSession(e).then(function(i){for(var l in t)if("sub"!==l&&0>l.indexOf("_verified")){var c={Name:l,Value:t[l]};o.push(c)}e.updateAttributes(o,function(e,n,o){return e?(oV("updateUserAttributes_failure",e,"Failed to update attributes"),s(e)):(oV("updateUserAttributes",r.createUpdateAttributesResultList(t,null==o?void 0:o.CodeDeliveryDetailsList),"Attributes successfully updated"),a(n))},n)})})},e.prototype.createUpdateAttributesResultList=function(e,t){var n={};return Object.keys(e).forEach(function(e){n[e]={isUpdated:!0};var r=null==t?void 0:t.find(function(t){return t.AttributeName===e});r&&(n[e].isUpdated=!1,n[e].codeDeliveryDetails=r)}),n},e.prototype.userAttributes=function(e){var t=this;return new Promise(function(n,r){t.userSession(e).then(function(t){e.getUserAttributes(function(e,t){e?r(e):n(t)})})})},e.prototype.verifiedContact=function(e){var t=this;return this.userAttributes(e).then(function(e){var n=t.attributesToObject(e),r={},o={};return n.email&&(n.email_verified?o.email=n.email:r.email=n.email),n.phone_number&&(n.phone_number_verified?o.phone_number=n.phone_number:r.phone_number=n.phone_number),{verified:o,unverified:r}})},e.prototype.isErrorWithMessage=function(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"message")},e.prototype.isTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Access Token has been revoked"===e.message},e.prototype.isRefreshTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has been revoked"===e.message},e.prototype.isUserDisabledError=function(e){return this.isErrorWithMessage(e)&&"User is disabled."===e.message},e.prototype.isUserDoesNotExistError=function(e){return this.isErrorWithMessage(e)&&"User does not exist."===e.message},e.prototype.isRefreshTokenExpiredError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has expired"===e.message},e.prototype.isSignedInHostedUI=function(){return this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI")},e.prototype.isSessionInvalid=function(e){return this.isUserDisabledError(e)||this.isUserDoesNotExistError(e)||this.isTokenRevokedError(e)||this.isRefreshTokenRevokedError(e)||this.isRefreshTokenExpiredError(e)},e.prototype.cleanUpInvalidSession=function(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n=this;return(0,eu.__generator)(this,function(r){switch(r.label){case 0:e.signOut(),this.user=null,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.cleanCachedItems()];case 2:return r.sent(),[3,4];case 3:return t=r.sent(),oz.debug("failed to clear cached items"),[3,4];case 4:if(this.isSignedInHostedUI())return[2,new Promise(function(e,t){n.oAuthSignOutRedirect(e,t)})];return oV("signOut",this.user,"A user has been signed out"),[2]}})})},e.prototype.currentUserPoolUser=function(e){var t=this;return this.userPool?new Promise(function(n,r){t._storageSync.then(function(){return(0,eu.__awaiter)(t,void 0,void 0,function(){var t,o,i,a,s,l=this;return(0,eu.__generator)(this,function(c){switch(c.label){case 0:if(!this.isOAuthInProgress())return[3,2];return oz.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise(function(e){var t=setTimeout(function(){oz.debug("OAuth signIn in progress timeout"),ev.X.remove("auth",n),e()},oH);function n(r){var o=r.payload.event;("cognitoHostedUI"===o||"cognitoHostedUI_failure"===o)&&(oz.debug("OAuth signIn resolved: "+o),clearTimeout(t),ev.X.remove("auth",n),e())}ev.X.listen("auth",n)})];case 1:c.sent(),c.label=2;case 2:if(!(t=this.userPool.getCurrentUser()))return oz.debug("Failed to get user from user pool"),r("No current user"),[2];c.label=3;case 3:return c.trys.push([3,7,,8]),[4,this._userSession(t)];case 4:if(o=c.sent(),!(i=!!e&&e.bypassCache))return[3,6];return[4,this.Credentials.clear()];case 5:c.sent(),c.label=6;case 6:if(a=this._config.clientMetadata,!(void 0===(s=o.getAccessToken().decodePayload().scope)?"":s).split(" ").includes(oU))return oz.debug("Unable to get the user data because the "+oU+" is not in the scopes of the access token"),[2,n(t)];return t.getUserData(function(e,o){return(0,eu.__awaiter)(l,void 0,void 0,function(){var i,a,s,l,c,u,d;return(0,eu.__generator)(this,function(f){switch(f.label){case 0:if(!e)return[3,7];if(oz.debug("getting user data failed",e),!this.isSessionInvalid(e))return[3,5];f.label=1;case 1:return f.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return f.sent(),[3,4];case 3:return i=f.sent(),r(Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+i.message)),[2];case 4:return r(e),[3,6];case 5:n(t),f.label=6;case 6:return[2];case 7:for(l=0,a=o.PreferredMfaSetting||"NOMFA",s=[];l<o.UserAttributes.length;l++)c={Name:o.UserAttributes[l].Name,Value:o.UserAttributes[l].Value},u=new ox.KC(c),s.push(u);return d=this.attributesToObject(s),Object.assign(t,{attributes:d,preferredMFA:a}),[2,n(t)]}})})},{bypassCache:i,clientMetadata:a}),[3,8];case 7:return r(c.sent()),[3,8];case 8:return[2]}})})}).catch(function(e){return oz.debug("Failed to sync cache info into memory",e),r(e)})}):this.rejectNoUserPool()},e.prototype.isOAuthInProgress=function(){return this.oAuthFlowInProgress},e.prototype.currentAuthenticatedUser=function(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r,o,i;return(0,eu.__generator)(this,function(a){switch(a.label){case 0:oz.debug("getting current authenticated user"),t=null,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this._storageSync];case 2:return a.sent(),[3,4];case 3:throw n=a.sent(),oz.debug("Failed to sync cache info into memory",n),n;case 4:try{(r=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")))&&(t=(0,eu.__assign)((0,eu.__assign)({},r.user),{token:r.token}))}catch(e){oz.debug("cannot load federated user from auth storage")}if(!t)return[3,5];return this.user=t,oz.debug("get current authenticated federated user",this.user),[2,this.user];case 5:oz.debug("get current authenticated userpool user"),o=null,a.label=6;case 6:return a.trys.push([6,8,,9]),[4,this.currentUserPoolUser(e)];case 7:return o=a.sent(),[3,9];case 8:return"No userPool"===(i=a.sent())&&oz.error("Cannot get the current user because the user pool is missing. Please make sure the Auth module is configured with a valid Cognito User Pool ID"),oz.debug("The user is not authenticated by the error",i),[2,Promise.reject("The user is not authenticated")];case 9:return this.user=o,[2,this.user]}})})},e.prototype.currentSession=function(){var e=this;return(oz.debug("Getting current session"),this.userPool)?new Promise(function(t,n){e.currentUserPoolUser().then(function(r){e.userSession(r).then(function(e){t(e)}).catch(function(e){oz.debug("Failed to get the current session",e),n(e)})}).catch(function(e){oz.debug("Failed to get the current user",e),n(e)})}):Promise.reject(Error("No User Pool in the configuration."))},e.prototype._userSession=function(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r=this;return(0,eu.__generator)(this,function(i){switch(i.label){case 0:if(!e)return oz.debug("the user is null"),[2,this.rejectAuthError(o.NoUserSession)];t=this._config.clientMetadata,0===this.inflightSessionPromiseCounter&&(this.inflightSessionPromise=new Promise(function(n,o){e.getSession(function(t,i){return(0,eu.__awaiter)(r,void 0,void 0,function(){var r;return(0,eu.__generator)(this,function(a){switch(a.label){case 0:if(!t)return[3,5];if(oz.debug("Failed to get the session from user",e),!this.isSessionInvalid(t))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return a.sent(),[3,4];case 3:return r=a.sent(),o(Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+r.message)),[2];case 4:return o(t),[2];case 5:return oz.debug("Succeed to get the user session",i),n(i),[2]}})})},{clientMetadata:t})})),this.inflightSessionPromiseCounter++,i.label=1;case 1:return i.trys.push([1,,3,4]),[4,this.inflightSessionPromise];case 2:return n=i.sent(),e.signInUserSession=n,[2,n];case 3:return this.inflightSessionPromiseCounter--,[7];case 4:return[2]}})})},e.prototype.userSession=function(e){return this._userSession(e)},e.prototype.currentUserCredentials=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t,n=this;return(0,eu.__generator)(this,function(r){switch(r.label){case 0:oz.debug("Getting current user credentials"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._storageSync];case 2:return r.sent(),[3,4];case 3:throw e=r.sent(),oz.debug("Failed to sync cache info into memory",e),e;case 4:t=null;try{t=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo"))}catch(e){oz.debug("failed to get or parse item aws-amplify-federatedInfo",e)}if(t)return[2,this.Credentials.refreshFederatedToken(t)];return[2,this.currentSession().then(function(e){return oz.debug("getting session success",e),n.Credentials.set(e,"session")}).catch(function(){return oz.debug("getting guest credentials"),n.Credentials.set(null,"guest")})]}})})},e.prototype.currentCredentials=function(){return oz.debug("getting current credentials"),this.Credentials.get()},e.prototype.verifyUserAttribute=function(e,t,n){return void 0===n&&(n=this._config.clientMetadata),new Promise(function(r,o){e.getAttributeVerificationCode(t,{onSuccess:function(e){return r(e)},onFailure:function(e){return o(e)}},n)})},e.prototype.verifyUserAttributeSubmit=function(e,t,n){return n?new Promise(function(r,o){e.verifyAttribute(t,n,{onSuccess:function(e){r(e)},onFailure:function(e){o(e)}})}):this.rejectAuthError(o.EmptyCode)},e.prototype.verifyCurrentUserAttribute=function(e){var t=this;return t.currentUserPoolUser().then(function(n){return t.verifyUserAttribute(n,e)})},e.prototype.verifyCurrentUserAttributeSubmit=function(e,t){var n=this;return n.currentUserPoolUser().then(function(r){return n.verifyUserAttributeSubmit(r,e,t)})},e.prototype.cognitoIdentitySignOut=function(e,t){return(0,eu.__awaiter)(this,void 0,void 0,function(){var n,r,o=this;return(0,eu.__generator)(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this._storageSync];case 1:return i.sent(),[3,3];case 2:throw n=i.sent(),oz.debug("Failed to sync cache info into memory",n),n;case 3:return r=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise(function(n,i){if(e&&e.global){oz.debug("user global sign out",t);var a=o._config.clientMetadata;t.getSession(function(e,a){return(0,eu.__awaiter)(o,void 0,void 0,function(){var o,a=this;return(0,eu.__generator)(this,function(s){switch(s.label){case 0:if(!e)return[3,5];if(oz.debug("failed to get the user session",e),!this.isSessionInvalid(e))return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return s.sent(),[3,4];case 3:return o=s.sent(),i(Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return[2,i(e)];case 5:return t.globalSignOut({onSuccess:function(e){if(oz.debug("global sign out success"),!r)return n();a.oAuthSignOutRedirect(n,i)},onFailure:function(e){return oz.debug("global sign out failed",e),i(e)}}),[2]}})})},{clientMetadata:a})}else oz.debug("user sign out",t),t.signOut(function(){if(!r)return n();o.oAuthSignOutRedirect(n,i)})})]}})})},e.prototype.oAuthSignOutRedirect=function(e,t){eE().isBrowser?this.oAuthSignOutRedirectOrReject(t):this.oAuthSignOutAndResolve(e)},e.prototype.oAuthSignOutAndResolve=function(e){this._oAuthHandler.signOut(),e()},e.prototype.oAuthSignOutRedirectOrReject=function(e){this._oAuthHandler.signOut(),setTimeout(function(){return e(Error("Signout timeout fail"))},3e3)},e.prototype.signOut=function(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n;return(0,eu.__generator)(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.cleanCachedItems()];case 1:return r.sent(),[3,3];case 2:return t=r.sent(),oz.debug("failed to clear cached items"),[3,3];case 3:if(!this.userPool)return[3,7];if(!(n=this.userPool.getCurrentUser()))return[3,5];return[4,this.cognitoIdentitySignOut(e,n)];case 4:return r.sent(),[3,6];case 5:oz.debug("no current Cognito user"),r.label=6;case 6:return[3,8];case 7:oz.debug("no Cognito User pool"),r.label=8;case 8:return oV("signOut",this.user,"A user has been signed out"),this.user=null,[2]}})})},e.prototype.cleanCachedItems=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){return(0,eu.__generator)(this,function(e){switch(e.label){case 0:return[4,this.Credentials.clear()];case 1:return e.sent(),[2]}})})},e.prototype.changePassword=function(e,t,n,r){var o=this;return void 0===r&&(r=this._config.clientMetadata),new Promise(function(i,a){o.userSession(e).then(function(o){e.changePassword(t,n,function(e,t){return e?(oz.debug("change password failure",e),a(e)):i(t)},r)})})},e.prototype.forgotPassword=function(e,t){if(void 0===t&&(t=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(o.EmptyUsername);var n=this.createCognitoUser(e);return new Promise(function(r,o){n.forgotPassword({onSuccess:function(){r()},onFailure:function(t){oz.debug("forgot password failure",t),oV("forgotPassword_failure",t,e+" forgotPassword failed"),o(t)},inputVerificationCode:function(t){oV("forgotPassword",n,e+" has initiated forgot password flow"),r(t)}},t)})},e.prototype.forgotPasswordSubmit=function(e,t,n,r){if(void 0===r&&(r=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(o.EmptyUsername);if(!t)return this.rejectAuthError(o.EmptyCode);if(!n)return this.rejectAuthError(o.EmptyPassword);var i=this.createCognitoUser(e);return new Promise(function(o,a){i.confirmPassword(t,n,{onSuccess:function(t){oV("forgotPasswordSubmit",i,e+" forgotPasswordSubmit successful"),o(t)},onFailure:function(t){oV("forgotPasswordSubmit_failure",t,e+" forgotPasswordSubmit failed"),a(t)}},r)})},e.prototype.currentUserInfo=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t,n,r,o,i,a;return(0,eu.__generator)(this,function(s){switch(s.label){case 0:if(!(!(e=this.Credentials.getCredSource())||"aws"===e||"userPool"===e))return[3,9];return[4,this.currentUserPoolUser().catch(function(e){return oz.error(e)})];case 1:if(!(t=s.sent()))return[2,null];s.label=2;case 2:return s.trys.push([2,8,,9]),[4,this.userAttributes(t)];case 3:n=s.sent(),r=this.attributesToObject(n),o=null,s.label=4;case 4:return s.trys.push([4,6,,7]),[4,this.currentCredentials()];case 5:return o=s.sent(),[3,7];case 6:return i=s.sent(),oz.debug("Failed to retrieve credentials while getting current user info",i),[3,7];case 7:return[2,{id:o?o.identityId:void 0,username:t.getUsername(),attributes:r}];case 8:return a=s.sent(),oz.error("currentUserInfo error",a),[2,{}];case 9:if("federated"===e)return[2,(t=this.user)||{}];return[2]}})})},e.prototype.federatedSignIn=function(e,t,n){return(0,eu.__awaiter)(this,void 0,void 0,function(){var o,i,a,s,l,c,u,d,f,p,h;return(0,eu.__generator)(this,function(m){switch(m.label){case 0:if(!this._config.identityPoolId&&!this._config.userPoolId)throw Error("Federation requires either a User Pool or Identity Pool in config");if(void 0===e&&this._config.identityPoolId&&!this._config.userPoolId)throw Error("Federation with Identity Pools requires tokens passed as arguments");if(!(ed(e)||ef(e)||ep(e)||void 0===e))return[3,1];return i=ed(o=e||{provider:r.Cognito})?o.provider:o.customProvider,ed(o),a=o.customState,this._config.userPoolId&&(s=eh(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,l=eh(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,l,s,i,a)),[3,4];case 1:i=e;try{(c=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user))&&oz.warn("There is already a signed in user: "+c+" in your app.\n																	You should not call Auth.federatedSignIn method again as it may cause unexpected behavior.")}catch(e){}return u=t.token,d=t.identity_id,f=t.expires_at,[4,this.Credentials.set({provider:i,token:u,identity_id:d,user:n,expires_at:f},"federation")];case 2:return p=m.sent(),[4,this.currentAuthenticatedUser()];case 3:return oV("signIn",h=m.sent(),"A user "+h.username+" has been signed in"),oz.debug("federated sign in credentials",p),[2,p];case 4:return[2]}})})},e.prototype._handleAuthResponse=function(e){return(0,eu.__awaiter)(this,void 0,void 0,function(){var t,n,r,o,i,a,s,l,c,u,d,f,p;return(0,eu.__generator)(this,function(h){switch(h.label){case 0:if(this.oAuthFlowInProgress)return oz.debug("Skipping URL "+e+" current flow in progress"),[2];h.label=1;case 1:if(h.trys.push([1,,8,9]),this.oAuthFlowInProgress=!0,!this._config.userPoolId)throw Error("OAuth responses require a User Pool defined in config");if(oV("parsingCallbackUrl",{url:e},"The callback url is being parsed"),t=e||(eE().isBrowser?window.location.href:""),n=!!((0,oE.parse)(t).query||"").split("&").map(function(e){return e.split("=")}).find(function(e){var t=(0,eu.__read)(e,1)[0];return"code"===t||"error"===t}),r=!!((0,oE.parse)(t).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).find(function(e){var t=(0,eu.__read)(e,1)[0];return"access_token"===t||"error"===t}),!(n||r))return[3,7];this._storage.setItem("amplify-redirected-from-hosted-ui","true"),h.label=2;case 2:return h.trys.push([2,6,,7]),[4,this._oAuthHandler.handleAuthResponse(t)];case 3:if(i=(o=h.sent()).accessToken,a=o.idToken,s=o.refreshToken,l=o.state,c=new ox.MZ({IdToken:new ox.xk({IdToken:a}),RefreshToken:new ox.bR({RefreshToken:s}),AccessToken:new ox.ZA({AccessToken:i})}),u=void 0,!this._config.identityPoolId)return[3,5];return[4,this.Credentials.set(c,"session")];case 4:u=h.sent(),oz.debug("AWS credentials",u),h.label=5;case 5:return d=/-/.test(l),(f=this.createCognitoUser(c.getIdToken().decodePayload()["cognito:username"])).setSignInUserSession(c),window&&void 0!==window.history&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),oV("signIn",f,"A user "+f.getUsername()+" has been signed in"),oV("cognitoHostedUI",f,"A user "+f.getUsername()+" has been signed in via Cognito Hosted UI"),d&&oV("customOAuthState",oS(l.split("-").splice(1).join("-")),"State for user "+f.getUsername()),[2,u];case 6:return p=h.sent(),oz.debug("Error in cognito hosted auth response",p),window&&void 0!==window.history&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),oV("signIn_failure",p,"The OAuth response flow failed"),oV("cognitoHostedUI_failure",p,"A failure occurred when returning to the Cognito Hosted UI"),oV("customState_failure",p,"A failure occurred when returning state"),[3,7];case 7:return[3,9];case 8:return this.oAuthFlowInProgress=!1,[7];case 9:return[2]}})})},e.prototype.essentialCredentials=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e.prototype.attributesToObject=function(e){var t=this,n={};return e&&e.map(function(e){"email_verified"===e.Name||"phone_number_verified"===e.Name?n[e.Name]=t.isTruthyString(e.Value)||!0===e.Value:n[e.Name]=e.Value}),n},e.prototype.isTruthyString=function(e){return"function"==typeof e.toLowerCase&&"true"===e.toLowerCase()},e.prototype.createCognitoUser=function(e){var t={Username:e,Pool:this.userPool};t.Storage=this._storage;var n=this._config.authenticationFlowType,r=new ox.ws(t);return n&&r.setAuthenticationFlowType(n),r},e.prototype._isValidAuthStorage=function(e){return!!e&&"function"==typeof e.getItem&&"function"==typeof e.setItem&&"function"==typeof e.removeItem&&"function"==typeof e.clear},e.prototype.noUserPoolErrorHandler=function(e){return!e||e.userPoolId&&e.identityPoolId?o.NoConfig:o.MissingAuthConfig},e.prototype.rejectAuthError=function(e){return Promise.reject(new oB(e))},e.prototype.rejectNoUserPool=function(){return Promise.reject(new oZ(this.noUserPoolErrorHandler(this._config)))},e.prototype.rememberDevice=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t;return(0,eu.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return e=n.sent(),[3,3];case 2:return t=n.sent(),oz.debug("The user is not authenticated by the error",t),[2,Promise.reject("The user is not authenticated")];case 3:return e.getCachedDeviceKeyAndPassword(),[2,new Promise(function(t,n){e.setDeviceStatusRemembered({onSuccess:function(e){t(e)},onFailure:function(e){"InvalidParameterException"===e.code?n(new oB(o.DeviceConfig)):"NetworkError"===e.code?n(new oB(o.NetworkError)):n(e)}})})]}})})},e.prototype.forgetDevice=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t;return(0,eu.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return e=n.sent(),[3,3];case 2:return t=n.sent(),oz.debug("The user is not authenticated by the error",t),[2,Promise.reject("The user is not authenticated")];case 3:return e.getCachedDeviceKeyAndPassword(),[2,new Promise(function(t,n){e.forgetDevice({onSuccess:function(e){t(e)},onFailure:function(e){"InvalidParameterException"===e.code?n(new oB(o.DeviceConfig)):"NetworkError"===e.code?n(new oB(o.NetworkError)):n(e)}})})]}})})},e.prototype.fetchDevices=function(){return(0,eu.__awaiter)(this,void 0,void 0,function(){var e,t;return(0,eu.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return e=n.sent(),[3,3];case 2:throw t=n.sent(),oz.debug("The user is not authenticated by the error",t),Error("The user is not authenticated");case 3:return e.getCachedDeviceKeyAndPassword(),[2,new Promise(function(t,n){var r={onSuccess:function(e){t(e.Devices.map(function(e){var t=e.DeviceAttributes.find(function(e){return"device_name"===e.Name})||{};return{id:e.DeviceKey,name:t.Value}}))},onFailure:function(e){"InvalidParameterException"===e.code?n(new oB(o.DeviceConfig)):"NetworkError"===e.code?n(new oB(o.NetworkError)):n(e)}};e.listDevices(oW,null,r)})]}})})},e}())(null);eZ.d.register(oG)},17825:function(e,t,n){"use strict";n.d(t,{d:function(){return a}});var r=n(33569),o=n(40421),i=new o.k("Amplify"),a=new(function(){function e(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Geo=null,this.Notifications=null,this.Logger=o.k,this.ServiceWorker=null}return e.prototype.register=function(e){i.debug("component registered in amplify",e),this._components.push(e),"function"==typeof e.getModuleName?(this._modules[e.getModuleName()]=e,this[e.getModuleName()]=e):i.debug("no getModuleName method for component",e),e.configure(this._config)},e.prototype.configure=function(e){var t=this;return e&&(this._config=Object.assign(this._config,e),i.debug("amplify config",this._config),Object.entries(this._modules).forEach(function(e){var n=(0,r.__read)(e,2),o=(n[0],n[1]);Object.keys(o).forEach(function(e){t._modules[e]&&(o[e]=t._modules[e])})}),this._components.map(function(e){e.configure(t._config)})),this._config},e.prototype.addPluggable=function(e){e&&e.getCategory&&"function"==typeof e.getCategory&&this._components.map(function(t){t.addPluggable&&"function"==typeof t.addPluggable&&t.addPluggable(e)})},e}())},31264:function(e,t,n){"use strict";n.d(t,{X:function(){return s}});var r=n(33569),o=new(n(40421)).k("Hub"),i="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default";function a(e){return void 0!==e.onHubCapsule}var s=new(function(){function e(e){this.listeners=[],this.patterns=[],this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}return e.prototype._remove=function(e,t){if(e instanceof RegExp){var n=this.patterns.find(function(t){return t.pattern.source===e.source});if(!n){o.warn("No listeners for "+e);return}this.patterns=(0,r.__spread)(this.patterns.filter(function(e){return e!==n}))}else{var i=this.listeners[e];if(!i){o.warn("No listeners for "+e);return}this.listeners[e]=(0,r.__spread)(i.filter(function(e){return e.callback!==t}))}},e.prototype.remove=function(e,t){this._remove(e,t)},e.prototype.dispatch=function(e,t,n,a){void 0===n&&(n=""),this.protectedChannels.indexOf(e)>-1&&a!==i&&o.warn("WARNING: "+e+" is protected and dispatching on it can have unintended consequences");var s={channel:e,payload:(0,r.__assign)({},t),source:n,patternInfo:[]};try{this._toListeners(s)}catch(e){o.error(e)}},e.prototype.listen=function(e,t,n){var r,i=this;if(void 0===n&&(n="noname"),a(t))o.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),r=t.onHubCapsule.bind(t);else if("function"!=typeof t)throw Error("No callback supplied to Hub");else r=t;if(e instanceof RegExp)this.patterns.push({pattern:e,callback:r});else{var s=this.listeners[e];s||(s=[],this.listeners[e]=s),s.push({name:n,callback:r})}return function(){i._remove(e,r)}},e.prototype._toListeners=function(e){var t=e.channel,n=e.payload,i=this.listeners[t];if(i&&i.forEach(function(r){o.debug("Dispatching to "+t+" with ",n);try{r.callback(e)}catch(e){o.error(e)}}),this.patterns.length>0){if(!n.message){o.warn("Cannot perform pattern matching without a message key");return}var a=n.message;this.patterns.forEach(function(t){var n=a.match(t.pattern);if(n){var i=(0,r.__read)(n).slice(1),s=(0,r.__assign)((0,r.__assign)({},e),{patternInfo:i});try{t.callback(s)}catch(e){o.error(e)}}})}},e}())("__default__")},40421:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r,o=n(33569),i="Logging",a={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5};!function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE"}(r||(r={}));var s=function(){function e(e,t){void 0===t&&(t=r.WARN),this.name=e,this.level=t,this._pluggables=[]}return e.prototype._padding=function(e){return e<10?"0"+e:""+e},e.prototype._ts=function(){var e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()},e.prototype.configure=function(e){return e&&(this._config=e),this._config},e.prototype._log=function(t){for(var n,i,s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];var c=this.level;e.LOG_LEVEL&&(c=e.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(c=window.LOG_LEVEL);var u=a[c];if(a[t]>=u){var d=console.log.bind(console);t===r.ERROR&&console.error&&(d=console.error.bind(console)),t===r.WARN&&console.warn&&(d=console.warn.bind(console));var f="["+t+"] "+this._ts()+" "+this.name,p="";if(1===s.length&&"string"==typeof s[0])d(p=f+" - "+s[0]);else if(1===s.length)p=f+" "+s[0],d(f,s[0]);else if("string"==typeof s[0]){var h=s.slice(1);1===h.length&&(h=h[0]),p=f+" - "+s[0]+" "+h,d(f+" - "+s[0],h)}else p=f+" "+s,d(f,s);try{for(var m=(0,o.__values)(this._pluggables),g=m.next();!g.done;g=m.next()){var v=g.value,y={message:p,timestamp:Date.now()};v.pushLogs([y])}}catch(e){n={error:e}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}}},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,(0,o.__spread)([r.INFO],e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,(0,o.__spread)([r.INFO],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,(0,o.__spread)([r.WARN],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,(0,o.__spread)([r.ERROR],e))},e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,(0,o.__spread)([r.DEBUG],e))},e.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,(0,o.__spread)([r.VERBOSE],e))},e.prototype.addPluggable=function(e){e&&e.getCategoryName()===i&&(this._pluggables.push(e),e.configure(this._config))},e.prototype.listPluggables=function(){return this._pluggables},e.LOG_LEVEL=null,e}()},60398:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwsCrc32=void 0;var r=n(33569),o=n(3184),i=n(57668),a=function(){function e(){this.crc32=new i.Crc32}return e.prototype.update=function(e){(0,o.isEmptyData)(e)||this.crc32.update((0,o.convertToBuffer)(e))},e.prototype.digest=function(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return[2,(0,o.numToUint8)(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new i.Crc32},e}();t.AwsCrc32=a},57668:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwsCrc32=t.Crc32=t.crc32=void 0;var r=n(33569),o=n(3184);function i(e){return new a().update(e).digest()}t.crc32=i;var a=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,n;try{for(var o=r.__values(e),i=o.next();!i.done;i=o.next()){var a=i.value;this.checksum=this.checksum>>>8^l[(this.checksum^a)&255]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(4294967295^this.checksum)>>>0},e}();t.Crc32=a;var s=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],l=(0,o.uint32ArrayFrom)(s),c=n(60398);Object.defineProperty(t,"AwsCrc32",{enumerable:!0,get:function(){return c.AwsCrc32}})},90358:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwsCrc32c=void 0;var r=n(33569),o=n(3184),i=n(69128),a=function(){function e(){this.crc32c=new i.Crc32c}return e.prototype.update=function(e){(0,o.isEmptyData)(e)||this.crc32c.update((0,o.convertToBuffer)(e))},e.prototype.digest=function(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return[2,(0,o.numToUint8)(this.crc32c.digest())]})})},e.prototype.reset=function(){this.crc32c=new i.Crc32c},e}();t.AwsCrc32c=a},69128:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwsCrc32c=t.Crc32c=t.crc32c=void 0;var r=n(33569),o=n(3184);function i(e){return new a().update(e).digest()}t.crc32c=i;var a=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,n;try{for(var o=r.__values(e),i=o.next();!i.done;i=o.next()){var a=i.value;this.checksum=this.checksum>>>8^l[(this.checksum^a)&255]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(4294967295^this.checksum)>>>0},e}();t.Crc32c=a;var s=[0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697],l=(0,o.uint32ArrayFrom)(s),c=n(90358);Object.defineProperty(t,"AwsCrc32c",{enumerable:!0,get:function(){return c.AwsCrc32c}})},5131:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},41272:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},71775:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},76415:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},17761:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMsWindow=void 0;var n=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function r(e){return"MSInputMethodContext"in e&&"msCrypto"in e}function o(e){if(r(e)&&void 0!==e.msCrypto.subtle){var t=e.msCrypto,o=t.getRandomValues,i=t.subtle;return n.map(function(e){return i[e]}).concat(o).every(function(e){return"function"==typeof e})}return!1}t.isMsWindow=o},85457:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33569);r.__exportStar(n(5131),t),r.__exportStar(n(41272),t),r.__exportStar(n(71775),t),r.__exportStar(n(76415),t),r.__exportStar(n(17761),t)},81398:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},16355:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},86937:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},15146:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},73442:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMsWindow=void 0;var n=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function r(e){return"MSInputMethodContext"in e&&"msCrypto"in e}function o(e){if(r(e)&&void 0!==e.msCrypto.subtle){var t=e.msCrypto,o=t.getRandomValues,i=t.subtle;return n.map(function(e){return i[e]}).concat(o).every(function(e){return"function"==typeof e})}return!1}t.isMsWindow=o},78445:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33569);r.__exportStar(n(81398),t),r.__exportStar(n(16355),t),r.__exportStar(n(86937),t),r.__exportStar(n(15146),t),r.__exportStar(n(73442),t)},39549:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATA_SHA_1=t.SHA_1_HMAC_ALGO=t.SHA_1_HASH=void 0,t.SHA_1_HASH={name:"SHA-1"},t.SHA_1_HMAC_ALGO={name:"HMAC",hash:t.SHA_1_HASH},t.EMPTY_DATA_SHA_1=new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9])},88919:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha1=void 0;var r=n(5760),o=n(98047),i=n(70860),a=n(78445),s=n(86810),l=n(3184),c=function(){function e(e){if((0,i.supportsWebCrypto)((0,s.locateWindow)()))this.hash=new o.Sha1(e);else if((0,a.isMsWindow)((0,s.locateWindow)()))this.hash=new r.Sha1(e);else throw Error("SHA1 not supported")}return e.prototype.update=function(e,t){this.hash.update((0,l.convertToBuffer)(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}();t.Sha1=c},5760:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha1=void 0;var r=n(84441),o=n(39549),i=n(33747),a=n(86810),s=function(){function e(e){this.secret=e,this.reset()}return e.prototype.update=function(e){var t=this;(0,r.isEmptyData)(e)||(this.operation=this.operation.then(function(n){return n.onerror=function(){t.operation=Promise.reject(Error("Error encountered updating hash"))},n.process(c(e)),n}),this.operation.catch(function(){}))},e.prototype.digest=function(){return this.operation.then(function(e){return new Promise(function(t,n){e.onerror=function(){n(Error("Error encountered finalizing hash"))},e.oncomplete=function(){e.result&&t(new Uint8Array(e.result)),n(Error("Error encountered finalizing hash"))},e.finish()})})},e.prototype.reset=function(){this.secret?(this.operation=l(this.secret).then(function(e){return(0,a.locateWindow)().msCrypto.subtle.sign(o.SHA_1_HMAC_ALGO,e)}),this.operation.catch(function(){})):this.operation=Promise.resolve((0,a.locateWindow)().msCrypto.subtle.digest("SHA-1"))},e}();function l(e){return new Promise(function(t,n){var r=(0,a.locateWindow)().msCrypto.subtle.importKey("raw",c(e),o.SHA_1_HMAC_ALGO,!1,["sign"]);r.oncomplete=function(){r.result&&t(r.result),n(Error("ImportKey completed without importing key."))},r.onerror=function(){n(Error("ImportKey failed to import key."))}})}function c(e){return"string"==typeof e?(0,i.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha1=s},91297:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebCryptoSha1=t.Ie11Sha1=void 0,n(33569).__exportStar(n(88919),t);var r=n(5760);Object.defineProperty(t,"Ie11Sha1",{enumerable:!0,get:function(){return r.Sha1}});var o=n(98047);Object.defineProperty(t,"WebCryptoSha1",{enumerable:!0,get:function(){return o.Sha1}})},84441:function(e,t){"use strict";function n(e){return"string"==typeof e?0===e.length:0===e.byteLength}Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=n},98047:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha1=void 0;var r=n(33747),o=n(84441),i=n(39549),a=n(86810),s=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise(function(t,n){(0,a.locateWindow)().crypto.subtle.importKey("raw",l(e),i.SHA_1_HMAC_ALGO,!1,["sign"]).then(t,n)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!(0,o.isEmptyData)(e)){var t=l(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return(0,a.locateWindow)().crypto.subtle.sign(i.SHA_1_HMAC_ALGO,t,e.toHash).then(function(e){return new Uint8Array(e)})}):(0,o.isEmptyData)(this.toHash)?Promise.resolve(i.EMPTY_DATA_SHA_1):Promise.resolve().then(function(){return(0,a.locateWindow)().crypto.subtle.digest(i.SHA_1_HASH,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){this.toHash=new Uint8Array(0)},e}();function l(e){return"string"==typeof e?(0,r.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha1=s},92626:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATA_SHA_256=t.SHA_256_HMAC_ALGO=t.SHA_256_HASH=void 0,t.SHA_256_HASH={name:"SHA-256"},t.SHA_256_HMAC_ALGO={name:"HMAC",hash:t.SHA_256_HASH},t.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},83904:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(17284),o=n(91116),i=n(95381),a=n(90516),s=n(85457),l=n(86810),c=function(){function e(e){(0,a.supportsWebCrypto)((0,l.locateWindow)())?this.hash=new o.Sha256(e):(0,s.isMsWindow)((0,l.locateWindow)())?this.hash=new r.Sha256(e):this.hash=new i.Sha256(e)}return e.prototype.update=function(e,t){this.hash.update(e,t)},e.prototype.digest=function(){return this.hash.digest()},e}();t.Sha256=c},17284:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(94254),o=n(92626),i=n(29673),a=n(86810),s=function(){function e(e){e?(this.operation=l(e).then(function(e){return(0,a.locateWindow)().msCrypto.subtle.sign(o.SHA_256_HMAC_ALGO,e)}),this.operation.catch(function(){})):this.operation=Promise.resolve((0,a.locateWindow)().msCrypto.subtle.digest("SHA-256"))}return e.prototype.update=function(e){var t=this;(0,r.isEmptyData)(e)||(this.operation=this.operation.then(function(n){return n.onerror=function(){t.operation=Promise.reject(Error("Error encountered updating hash"))},n.process(c(e)),n}),this.operation.catch(function(){}))},e.prototype.digest=function(){return this.operation.then(function(e){return new Promise(function(t,n){e.onerror=function(){n(Error("Error encountered finalizing hash"))},e.oncomplete=function(){e.result&&t(new Uint8Array(e.result)),n(Error("Error encountered finalizing hash"))},e.finish()})})},e}();function l(e){return new Promise(function(t,n){var r=(0,a.locateWindow)().msCrypto.subtle.importKey("raw",c(e),o.SHA_256_HMAC_ALGO,!1,["sign"]);r.oncomplete=function(){r.result&&t(r.result),n(Error("ImportKey completed without importing key."))},r.onerror=function(){n(Error("ImportKey failed to import key."))}})}function c(e){return"string"==typeof e?(0,i.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=s},5150:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebCryptoSha256=t.Ie11Sha256=void 0,(0,n(33569).__exportStar)(n(83904),t);var r=n(17284);Object.defineProperty(t,"Ie11Sha256",{enumerable:!0,get:function(){return r.Sha256}});var o=n(91116);Object.defineProperty(t,"WebCryptoSha256",{enumerable:!0,get:function(){return o.Sha256}})},94254:function(e,t){"use strict";function n(e){return"string"==typeof e?0===e.length:0===e.byteLength}Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=n},91116:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(72314),o=n(92626),i=n(86810),a=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise(function(t,n){(0,i.locateWindow)().crypto.subtle.importKey("raw",(0,r.convertToBuffer)(e),o.SHA_256_HMAC_ALGO,!1,["sign"]).then(t,n)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!(0,r.isEmptyData)(e)){var t=(0,r.convertToBuffer)(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return(0,i.locateWindow)().crypto.subtle.sign(o.SHA_256_HMAC_ALGO,t,e.toHash).then(function(e){return new Uint8Array(e)})}):(0,r.isEmptyData)(this.toHash)?Promise.resolve(o.EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return(0,i.locateWindow)().crypto.subtle.digest(o.SHA_256_HASH,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e}();t.Sha256=a},85487:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATA_SHA_256=t.SHA_256_HMAC_ALGO=t.SHA_256_HASH=void 0,t.SHA_256_HASH={name:"SHA-256"},t.SHA_256_HMAC_ALGO={name:"HMAC",hash:t.SHA_256_HASH},t.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},26538:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(82720),o=n(38976),i=n(70346),a=n(70860),s=n(78445),l=n(86810),c=n(3184),u=function(){function e(e){(0,a.supportsWebCrypto)((0,l.locateWindow)())?this.hash=new o.Sha256(e):(0,s.isMsWindow)((0,l.locateWindow)())?this.hash=new r.Sha256(e):this.hash=new i.Sha256(e)}return e.prototype.update=function(e,t){this.hash.update((0,c.convertToBuffer)(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}();t.Sha256=u},82720:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(319),o=n(85487),i=n(33747),a=n(86810),s=function(){function e(e){this.secret=e,this.reset()}return e.prototype.update=function(e){var t=this;(0,r.isEmptyData)(e)||(this.operation=this.operation.then(function(n){return n.onerror=function(){t.operation=Promise.reject(Error("Error encountered updating hash"))},n.process(c(e)),n}),this.operation.catch(function(){}))},e.prototype.digest=function(){return this.operation.then(function(e){return new Promise(function(t,n){e.onerror=function(){n(Error("Error encountered finalizing hash"))},e.oncomplete=function(){e.result&&t(new Uint8Array(e.result)),n(Error("Error encountered finalizing hash"))},e.finish()})})},e.prototype.reset=function(){this.secret?(this.operation=l(this.secret).then(function(e){return(0,a.locateWindow)().msCrypto.subtle.sign(o.SHA_256_HMAC_ALGO,e)}),this.operation.catch(function(){})):this.operation=Promise.resolve((0,a.locateWindow)().msCrypto.subtle.digest("SHA-256"))},e}();function l(e){return new Promise(function(t,n){var r=(0,a.locateWindow)().msCrypto.subtle.importKey("raw",c(e),o.SHA_256_HMAC_ALGO,!1,["sign"]);r.oncomplete=function(){r.result&&t(r.result),n(Error("ImportKey completed without importing key."))},r.onerror=function(){n(Error("ImportKey failed to import key."))}})}function c(e){return"string"==typeof e?(0,i.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=s},81666:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebCryptoSha256=t.Ie11Sha256=void 0,n(33569).__exportStar(n(26538),t);var r=n(82720);Object.defineProperty(t,"Ie11Sha256",{enumerable:!0,get:function(){return r.Sha256}});var o=n(38976);Object.defineProperty(t,"WebCryptoSha256",{enumerable:!0,get:function(){return o.Sha256}})},319:function(e,t){"use strict";function n(e){return"string"==typeof e?0===e.length:0===e.byteLength}Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=n},38976:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(3184),o=n(85487),i=n(86810),a=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!(0,r.isEmptyData)(e)){var t=(0,r.convertToBuffer)(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return(0,i.locateWindow)().crypto.subtle.sign(o.SHA_256_HMAC_ALGO,t,e.toHash).then(function(e){return new Uint8Array(e)})}):(0,r.isEmptyData)(this.toHash)?Promise.resolve(o.EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return(0,i.locateWindow)().crypto.subtle.digest(o.SHA_256_HASH,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(t,n){(0,i.locateWindow)().crypto.subtle.importKey("raw",(0,r.convertToBuffer)(e.secret),o.SHA_256_HMAC_ALGO,!1,["sign"]).then(t,n)}),this.key.catch(function(){}))},e}();t.Sha256=a},58262:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawSha256=void 0;var r=n(80473),o=function(){function e(){this.state=Int32Array.from(r.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>r.MAX_HASHABLE_LENGTH)throw Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===r.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%r.BLOCK_SIZE>=r.BLOCK_SIZE-8){for(var o=this.bufferLength;o<r.BLOCK_SIZE;o++)t.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(var o=this.bufferLength;o<r.BLOCK_SIZE-8;o++)t.setUint8(o,0);t.setUint32(r.BLOCK_SIZE-8,Math.floor(e/4294967296),!0),t.setUint32(r.BLOCK_SIZE-4,e),this.hashBuffer(),this.finished=!0}for(var i=new Uint8Array(r.DIGEST_LENGTH),o=0;o<8;o++)i[4*o]=this.state[o]>>>24&255,i[4*o+1]=this.state[o]>>>16&255,i[4*o+2]=this.state[o]>>>8&255,i[4*o+3]=this.state[o]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,n=e.state,o=n[0],i=n[1],a=n[2],s=n[3],l=n[4],c=n[5],u=n[6],d=n[7],f=0;f<r.BLOCK_SIZE;f++){if(f<16)this.temp[f]=(255&t[4*f])<<24|(255&t[4*f+1])<<16|(255&t[4*f+2])<<8|255&t[4*f+3];else{var p=this.temp[f-2],h=(p>>>17|p<<15)^(p>>>19|p<<13)^p>>>10,m=((p=this.temp[f-15])>>>7|p<<25)^(p>>>18|p<<14)^p>>>3;this.temp[f]=(h+this.temp[f-7]|0)+(m+this.temp[f-16]|0)}var g=(((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&c^~l&u)|0)+(d+(r.KEY[f]+this.temp[f]|0)|0)|0,v=((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+(o&i^o&a^i&a)|0;d=u,u=c,c=l,l=s+g|0,s=a,a=i,i=o,o=g+v|0}n[0]+=o,n[1]+=i,n[2]+=a,n[3]+=s,n[4]+=l,n[5]+=c,n[6]+=u,n[7]+=d},e}();t.RawSha256=o},80473:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HASHABLE_LENGTH=t.INIT=t.KEY=t.DIGEST_LENGTH=t.BLOCK_SIZE=void 0,t.BLOCK_SIZE=64,t.DIGEST_LENGTH=32,t.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],t.MAX_HASHABLE_LENGTH=9007199254740991},95381:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,n(33569).__exportStar)(n(21199),t)},21199:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(33569),o=n(80473),i=n(58262),a=n(72314),s=function(){function e(e){if(this.hash=new i.RawSha256,e){this.outer=new i.RawSha256;var t=l(e),n=new Uint8Array(o.BLOCK_SIZE);n.set(t);for(var r=0;r<o.BLOCK_SIZE;r++)t[r]^=54,n[r]^=92;this.hash.update(t),this.outer.update(n);for(var r=0;r<t.byteLength;r++)t[r]=0}}return e.prototype.update=function(e){if(!(0,a.isEmptyData)(e)&&!this.error)try{this.hash.update((0,a.convertToBuffer)(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,r.__awaiter)(this,void 0,void 0,function(){return(0,r.__generator)(this,function(e){return[2,this.digestSync()]})})},e}();function l(e){var t=(0,a.convertToBuffer)(e);if(t.byteLength>o.BLOCK_SIZE){var n=new i.RawSha256;n.update(t),t=n.digest()}var r=new Uint8Array(o.BLOCK_SIZE);return r.set(t),r}t.Sha256=s},53415:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawSha256=void 0;var r=n(49528),o=function(){function e(){this.state=Int32Array.from(r.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>r.MAX_HASHABLE_LENGTH)throw Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===r.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%r.BLOCK_SIZE>=r.BLOCK_SIZE-8){for(var o=this.bufferLength;o<r.BLOCK_SIZE;o++)t.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(var o=this.bufferLength;o<r.BLOCK_SIZE-8;o++)t.setUint8(o,0);t.setUint32(r.BLOCK_SIZE-8,Math.floor(e/4294967296),!0),t.setUint32(r.BLOCK_SIZE-4,e),this.hashBuffer(),this.finished=!0}for(var i=new Uint8Array(r.DIGEST_LENGTH),o=0;o<8;o++)i[4*o]=this.state[o]>>>24&255,i[4*o+1]=this.state[o]>>>16&255,i[4*o+2]=this.state[o]>>>8&255,i[4*o+3]=this.state[o]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,n=e.state,o=n[0],i=n[1],a=n[2],s=n[3],l=n[4],c=n[5],u=n[6],d=n[7],f=0;f<r.BLOCK_SIZE;f++){if(f<16)this.temp[f]=(255&t[4*f])<<24|(255&t[4*f+1])<<16|(255&t[4*f+2])<<8|255&t[4*f+3];else{var p=this.temp[f-2],h=(p>>>17|p<<15)^(p>>>19|p<<13)^p>>>10,m=((p=this.temp[f-15])>>>7|p<<25)^(p>>>18|p<<14)^p>>>3;this.temp[f]=(h+this.temp[f-7]|0)+(m+this.temp[f-16]|0)}var g=(((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&c^~l&u)|0)+(d+(r.KEY[f]+this.temp[f]|0)|0)|0,v=((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+(o&i^o&a^i&a)|0;d=u,u=c,c=l,l=s+g|0,s=a,a=i,i=o,o=g+v|0}n[0]+=o,n[1]+=i,n[2]+=a,n[3]+=s,n[4]+=l,n[5]+=c,n[6]+=u,n[7]+=d},e}();t.RawSha256=o},49528:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HASHABLE_LENGTH=t.INIT=t.KEY=t.DIGEST_LENGTH=t.BLOCK_SIZE=void 0,t.BLOCK_SIZE=64,t.DIGEST_LENGTH=32,t.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],t.MAX_HASHABLE_LENGTH=9007199254740991},70346:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(33569).__exportStar(n(70634),t)},70634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(33569),o=n(49528),i=n(53415),a=n(3184),s=function(){function e(e){this.secret=e,this.hash=new i.RawSha256,this.reset()}return e.prototype.update=function(e){if(!(0,a.isEmptyData)(e)&&!this.error)try{this.hash.update((0,a.convertToBuffer)(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new i.RawSha256,this.secret){this.outer=new i.RawSha256;var e=l(this.secret),t=new Uint8Array(o.BLOCK_SIZE);t.set(e);for(var n=0;n<o.BLOCK_SIZE;n++)e[n]^=54,t[n]^=92;this.hash.update(e),this.outer.update(t);for(var n=0;n<e.byteLength;n++)e[n]=0}},e}();function l(e){var t=(0,a.convertToBuffer)(e);if(t.byteLength>o.BLOCK_SIZE){var n=new i.RawSha256;n.update(t),t=n.digest()}var r=new Uint8Array(o.BLOCK_SIZE);return r.set(t),r}t.Sha256=s},90516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(33569).__exportStar(n(70998),t)},70998:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsZeroByteGCM=t.supportsSubtleCrypto=t.supportsSecureRandom=t.supportsWebCrypto=void 0;var r=n(33569),o=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function i(e){return!!a(e)&&"object"==typeof e.crypto.subtle&&s(e.crypto.subtle)}function a(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}function s(e){return e&&o.every(function(t){return"function"==typeof e[t]})}function l(e){return r.__awaiter(this,void 0,void 0,function(){var t,n;return r.__generator(this,function(r){switch(r.label){case 0:if(!s(e))return[2,!1];r.label=1;case 1:return r.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return t=r.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},t,new Uint8Array(0))];case 3:return[2,16===r.sent().byteLength];case 4:return n=r.sent(),[2,!1];case 5:return[2]}})})}t.supportsWebCrypto=i,t.supportsSecureRandom=a,t.supportsSubtleCrypto=s,t.supportsZeroByteGCM=l},70860:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(33569).__exportStar(n(43809),t)},43809:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsZeroByteGCM=t.supportsSubtleCrypto=t.supportsSecureRandom=t.supportsWebCrypto=void 0;var r=n(33569),o=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function i(e){return!!a(e)&&"object"==typeof e.crypto.subtle&&s(e.crypto.subtle)}function a(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}function s(e){return e&&o.every(function(t){return"function"==typeof e[t]})}function l(e){return r.__awaiter(this,void 0,void 0,function(){var t,n;return r.__generator(this,function(r){switch(r.label){case 0:if(!s(e))return[2,!1];r.label=1;case 1:return r.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return t=r.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},t,new Uint8Array(0))];case 3:return[2,16===r.sent().byteLength];case 4:return n=r.sent(),[2,!1];case 5:return[2]}})})}t.supportsWebCrypto=i,t.supportsSecureRandom=a,t.supportsSubtleCrypto=s,t.supportsZeroByteGCM=l},18808:function(e,t,n){"use strict";var r=n(41438).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var o=n(33747),i=void 0!==r&&r.from?function(e){return r.from(e,"utf8")}:o.fromUtf8;function a(e){return e instanceof Uint8Array?e:"string"==typeof e?i(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.convertToBuffer=a},72314:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var r=n(18808);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return r.convertToBuffer}});var o=n(2695);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return o.isEmptyData}});var i=n(2611);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return i.numToUint8}});var a=n(99908);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return a.uint32ArrayFrom}})},2695:function(e,t){"use strict";function n(e){return"string"==typeof e?0===e.length:0===e.byteLength}Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=n},2611:function(e,t){"use strict";function n(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=n},99908:function(e,t){"use strict";function n(e){if(!Array.from){for(var t=new Uint32Array(e.length),n=0;n<e.length;)t[n]=e[n];return t}return Uint32Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=n},87874:function(e,t,n){"use strict";var r=n(41438).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var o=n(33747),i=void 0!==r&&r.from?function(e){return r.from(e,"utf8")}:o.fromUtf8;function a(e){return e instanceof Uint8Array?e:"string"==typeof e?i(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.convertToBuffer=a},3184:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var r=n(87874);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return r.convertToBuffer}});var o=n(43300);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return o.isEmptyData}});var i=n(52016);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return i.numToUint8}});var a=n(23850);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return a.uint32ArrayFrom}})},43300:function(e,t){"use strict";function n(e){return"string"==typeof e?0===e.length:0===e.byteLength}Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=n},52016:function(e,t){"use strict";function n(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=n},23850:function(e,t){"use strict";function n(e){if(!Uint32Array.from){for(var t=new Uint32Array(e.length),n=0;n<e.length;)t[n]=e[n],n+=1;return t}return Uint32Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=n},72947:function(e,t,n){"use strict";n.d(t,{S3:function(){return i0}});var r=n(29004),o=n(51970),i=n(87798),a=n(33432),s=n(68523);class l extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","AbortMultipartUpload",{}).n("S3Client","AbortMultipartUploadCommand").f(void 0,void 0).ser(s.IJ_).de(s.cht).build(){}var c=n(89351),u=n(46189),d=n(52827),f=n(69228);class p extends r.mY.classBuilder().ep({...a.q,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,u.mS)(n),(0,d.gc)(n)]}).s("AmazonS3","CopyObject",{}).n("S3Client","CopyObjectCommand").f(f.r4,f.A6).ser(s.TY7).de(s.bK9).build(){}function h(e){return t=>async n=>{let{CreateBucketConfiguration:r}=n.input,o=await e.region();return r?.LocationConstraint||r?.Location||(n={...n,input:{...n.input,CreateBucketConfiguration:"us-east-1"===o?void 0:{LocationConstraint:o}}}),t(n)}}let m={step:"initialize",tags:["LOCATION_CONSTRAINT","CREATE_BUCKET_CONFIGURATION"],name:"locationConstraintMiddleware",override:!0},g=e=>({applyToStack:t=>{t.add(h(e),m)}});class v extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},DisableAccessPoints:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),g(n)]}).s("AmazonS3","CreateBucket",{}).n("S3Client","CreateBucketCommand").f(void 0,void 0).ser(s.ljk).de(s.mN5).build(){}var y=n(91748);class b extends r.mY.classBuilder().ep({...a.q,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(void 0,f.ZF).ser(s.UX3).de(s.eqj).build(){}class w extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketAnalyticsConfiguration",{}).n("S3Client","DeleteBucketAnalyticsConfigurationCommand").f(void 0,void 0).ser(s.MGS).de(s.n9Y).build(){}class S extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucket",{}).n("S3Client","DeleteBucketCommand").f(void 0,void 0).ser(s.HCT).de(s.U8U).build(){}class x extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketCors",{}).n("S3Client","DeleteBucketCorsCommand").f(void 0,void 0).ser(s.BJN).de(s.D7w).build(){}class E extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketEncryption",{}).n("S3Client","DeleteBucketEncryptionCommand").f(void 0,void 0).ser(s.e1L).de(s.a$m).build(){}class C extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketIntelligentTieringConfiguration",{}).n("S3Client","DeleteBucketIntelligentTieringConfigurationCommand").f(void 0,void 0).ser(s.fAW).de(s.j02).build(){}class _ extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketInventoryConfiguration",{}).n("S3Client","DeleteBucketInventoryConfigurationCommand").f(void 0,void 0).ser(s.oGH).de(s.nYv).build(){}class k extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketLifecycle",{}).n("S3Client","DeleteBucketLifecycleCommand").f(void 0,void 0).ser(s.fFg).de(s.Hnq).build(){}class O extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketMetricsConfiguration",{}).n("S3Client","DeleteBucketMetricsConfigurationCommand").f(void 0,void 0).ser(s.lSX).de(s.Cu9).build(){}class A extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketOwnershipControls",{}).n("S3Client","DeleteBucketOwnershipControlsCommand").f(void 0,void 0).ser(s.l_8).de(s.OY6).build(){}class I extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketPolicy",{}).n("S3Client","DeleteBucketPolicyCommand").f(void 0,void 0).ser(s.xj9).de(s.TRE).build(){}class P extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketReplication",{}).n("S3Client","DeleteBucketReplicationCommand").f(void 0,void 0).ser(s.q8q).de(s.YaO).build(){}class T extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketTagging",{}).n("S3Client","DeleteBucketTaggingCommand").f(void 0,void 0).ser(s.IXT).de(s.Ch6).build(){}class R extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteBucketWebsite",{}).n("S3Client","DeleteBucketWebsiteCommand").f(void 0,void 0).ser(s.wBc).de(s.XGf).build(){}class M extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteObject",{}).n("S3Client","DeleteObjectCommand").f(void 0,void 0).ser(s.ku8).de(s.vSB).build(){}var N=n(82873);class j extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","DeleteObjects",{}).n("S3Client","DeleteObjectsCommand").f(void 0,void 0).ser(s.saF).de(s.s6e).build(){}class D extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeleteObjectTagging",{}).n("S3Client","DeleteObjectTaggingCommand").f(void 0,void 0).ser(s.fFc).de(s.Pfd).build(){}class L extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","DeletePublicAccessBlock",{}).n("S3Client","DeletePublicAccessBlockCommand").f(void 0,void 0).ser(s.jCE).de(s.Ml9).build(){}class B extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketAccelerateConfiguration",{}).n("S3Client","GetBucketAccelerateConfigurationCommand").f(void 0,void 0).ser(s.DUc).de(s.xVI).build(){}class Z extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketAcl",{}).n("S3Client","GetBucketAclCommand").f(void 0,void 0).ser(s.hNn).de(s.gb8).build(){}class F extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketAnalyticsConfiguration",{}).n("S3Client","GetBucketAnalyticsConfigurationCommand").f(void 0,void 0).ser(s.J22).de(s.Cle).build(){}class z extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketCors",{}).n("S3Client","GetBucketCorsCommand").f(void 0,void 0).ser(s.Dg4).de(s.C$t).build(){}class U extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketEncryption",{}).n("S3Client","GetBucketEncryptionCommand").f(void 0,f.LD).ser(s.yRQ).de(s.K8q).build(){}class H extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketIntelligentTieringConfiguration",{}).n("S3Client","GetBucketIntelligentTieringConfigurationCommand").f(void 0,void 0).ser(s.cut).de(s.LOJ).build(){}class q extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketInventoryConfiguration",{}).n("S3Client","GetBucketInventoryConfigurationCommand").f(void 0,f.ME).ser(s.v5d).de(s.ktI).build(){}class V extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketLifecycleConfiguration",{}).n("S3Client","GetBucketLifecycleConfigurationCommand").f(void 0,void 0).ser(s.JF8).de(s.e5D).build(){}class W extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketLocation",{}).n("S3Client","GetBucketLocationCommand").f(void 0,void 0).ser(s.sON).de(s.e73).build(){}class $ extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketLogging",{}).n("S3Client","GetBucketLoggingCommand").f(void 0,void 0).ser(s.mOX).de(s.iwX).build(){}class G extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketMetricsConfiguration",{}).n("S3Client","GetBucketMetricsConfigurationCommand").f(void 0,void 0).ser(s.ebQ).de(s.n5c).build(){}class K extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketNotificationConfiguration",{}).n("S3Client","GetBucketNotificationConfigurationCommand").f(void 0,void 0).ser(s.Dnh).de(s.RBh).build(){}class Y extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketOwnershipControls",{}).n("S3Client","GetBucketOwnershipControlsCommand").f(void 0,void 0).ser(s.hUS).de(s.TMf).build(){}class X extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketPolicy",{}).n("S3Client","GetBucketPolicyCommand").f(void 0,void 0).ser(s.Pu6).de(s.$gY).build(){}class Q extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketPolicyStatus",{}).n("S3Client","GetBucketPolicyStatusCommand").f(void 0,void 0).ser(s.Ni).de(s.vAo).build(){}class J extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketReplication",{}).n("S3Client","GetBucketReplicationCommand").f(void 0,void 0).ser(s.dah).de(s.k9_).build(){}class ee extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketRequestPayment",{}).n("S3Client","GetBucketRequestPaymentCommand").f(void 0,void 0).ser(s.WII).de(s.o$).build(){}class et extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketTagging",{}).n("S3Client","GetBucketTaggingCommand").f(void 0,void 0).ser(s.PUt).de(s.B5d).build(){}class en extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketVersioning",{}).n("S3Client","GetBucketVersioningCommand").f(void 0,void 0).ser(s.ue4).de(s.KX9).build(){}class er extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetBucketWebsite",{}).n("S3Client","GetBucketWebsiteCommand").f(void 0,void 0).ser(s.gBj).de(s.BmY).build(){}class eo extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetObjectAcl",{}).n("S3Client","GetObjectAclCommand").f(void 0,void 0).ser(s.Mh6).de(s.Uuj).build(){}class ei extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,d.gc)(n)]}).s("AmazonS3","GetObjectAttributes",{}).n("S3Client","GetObjectAttributesCommand").f(f.ah,void 0).ser(s.lyg).de(s.Tnu).build(){}class ea extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,d.gc)(n),(0,u.HW)(n),(0,N.Yv)(n,{input:this.input,requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC32","CRC32C","SHA256","SHA1"]})]}).s("AmazonS3","GetObject",{}).n("S3Client","GetObjectCommand").f(f.YM,f.jd).ser(s.Ylp).de(s.mug).build(){}class es extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetObjectLegalHold",{}).n("S3Client","GetObjectLegalHoldCommand").f(void 0,void 0).ser(s.awO).de(s.zQ4).build(){}class el extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetObjectLockConfiguration",{}).n("S3Client","GetObjectLockConfigurationCommand").f(void 0,void 0).ser(s.UxR).de(s.Zbq).build(){}class ec extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetObjectRetention",{}).n("S3Client","GetObjectRetentionCommand").f(void 0,void 0).ser(s.L5z).de(s.GWU).build(){}class eu extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetObjectTagging",{}).n("S3Client","GetObjectTaggingCommand").f(void 0,void 0).ser(s.zHS).de(s.FsH).build(){}class ed extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetObjectTorrent",{}).n("S3Client","GetObjectTorrentCommand").f(void 0,f.EC).ser(s.mQl).de(s.vHl).build(){}class ef extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","GetPublicAccessBlock",{}).n("S3Client","GetPublicAccessBlockCommand").f(void 0,void 0).ser(s.yJt).de(s.sSs).build(){}class ep extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","HeadBucket",{}).n("S3Client","HeadBucketCommand").f(void 0,void 0).ser(s.zdv).de(s.HFt).build(){}class eh extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,d.gc)(n),(0,u.HW)(n)]}).s("AmazonS3","HeadObject",{}).n("S3Client","HeadObjectCommand").f(f.w_,f.v9).ser(s.aL9).de(s.t$i).build(){}class em extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListBucketAnalyticsConfigurations",{}).n("S3Client","ListBucketAnalyticsConfigurationsCommand").f(void 0,void 0).ser(s.ewR).de(s.wkT).build(){}class eg extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListBucketIntelligentTieringConfigurations",{}).n("S3Client","ListBucketIntelligentTieringConfigurationsCommand").f(void 0,void 0).ser(s.qKb).de(s.O_R).build(){}class ev extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListBucketInventoryConfigurations",{}).n("S3Client","ListBucketInventoryConfigurationsCommand").f(void 0,f.Zt).ser(s.kPu).de(s.S1p).build(){}class ey extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListBucketMetricsConfigurations",{}).n("S3Client","ListBucketMetricsConfigurationsCommand").f(void 0,void 0).ser(s.BYQ).de(s.bq5).build(){}class eb extends r.mY.classBuilder().ep({...a.q}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListBuckets",{}).n("S3Client","ListBucketsCommand").f(void 0,void 0).ser(s.NJi).de(s.u5v).build(){}class ew extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListDirectoryBuckets",{}).n("S3Client","ListDirectoryBucketsCommand").f(void 0,void 0).ser(s.Yr8).de(s.F3J).build(){}class eS extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListMultipartUploads",{}).n("S3Client","ListMultipartUploadsCommand").f(void 0,void 0).ser(s.IYp).de(s.TjI).build(){}class ex extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListObjects",{}).n("S3Client","ListObjectsCommand").f(void 0,void 0).ser(s.W30).de(s.KNP).build(){}class eE extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListObjectsV2",{}).n("S3Client","ListObjectsV2Command").f(void 0,void 0).ser(s.w6X).de(s.zrS).build(){}class eC extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","ListObjectVersions",{}).n("S3Client","ListObjectVersionsCommand").f(void 0,void 0).ser(s.iNP).de(s.vO8).build(){}class e_ extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,d.gc)(n)]}).s("AmazonS3","ListParts",{}).n("S3Client","ListPartsCommand").f(f.yf,void 0).ser(s.Ijr).de(s.g2$).build(){}class ek extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1})]}).s("AmazonS3","PutBucketAccelerateConfiguration",{}).n("S3Client","PutBucketAccelerateConfigurationCommand").f(void 0,void 0).ser(s.u8L).de(s.qei).build(){}class eO extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketAcl",{}).n("S3Client","PutBucketAclCommand").f(void 0,void 0).ser(s.BeM).de(s.cIU).build(){}class eA extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","PutBucketAnalyticsConfiguration",{}).n("S3Client","PutBucketAnalyticsConfigurationCommand").f(void 0,void 0).ser(s._X8).de(s.eq1).build(){}class eI extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketCors",{}).n("S3Client","PutBucketCorsCommand").f(void 0,void 0).ser(s.eOg).de(s.RF1).build(){}class eP extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketEncryption",{}).n("S3Client","PutBucketEncryptionCommand").f(f.z4,void 0).ser(s.qbg).de(s.RZv).build(){}class eT extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","PutBucketIntelligentTieringConfiguration",{}).n("S3Client","PutBucketIntelligentTieringConfigurationCommand").f(void 0,void 0).ser(s.fN$).de(s.Qhq).build(){}class eR extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","PutBucketInventoryConfiguration",{}).n("S3Client","PutBucketInventoryConfigurationCommand").f(f.$R,void 0).ser(s._Cr).de(s.BdE).build(){}class eM extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketLifecycleConfiguration",{}).n("S3Client","PutBucketLifecycleConfigurationCommand").f(void 0,void 0).ser(s.pmK).de(s.ELK).build(){}class eN extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketLogging",{}).n("S3Client","PutBucketLoggingCommand").f(void 0,void 0).ser(s.j2Z).de(s.MLi).build(){}class ej extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","PutBucketMetricsConfiguration",{}).n("S3Client","PutBucketMetricsConfigurationCommand").f(void 0,void 0).ser(s.c4X).de(s._y_).build(){}class eD extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","PutBucketNotificationConfiguration",{}).n("S3Client","PutBucketNotificationConfigurationCommand").f(void 0,void 0).ser(s.JIC).de(s.qB4).build(){}class eL extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketOwnershipControls",{}).n("S3Client","PutBucketOwnershipControlsCommand").f(void 0,void 0).ser(s.RZJ).de(s.FAc).build(){}class eB extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketPolicy",{}).n("S3Client","PutBucketPolicyCommand").f(void 0,void 0).ser(s.PM0).de(s.Fqm).build(){}class eZ extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketReplication",{}).n("S3Client","PutBucketReplicationCommand").f(void 0,void 0).ser(s.zL4).de(s.HaZ).build(){}class eF extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketRequestPayment",{}).n("S3Client","PutBucketRequestPaymentCommand").f(void 0,void 0).ser(s.Z55).de(s.e78).build(){}class ez extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketTagging",{}).n("S3Client","PutBucketTaggingCommand").f(void 0,void 0).ser(s.lwM).de(s.Uic).build(){}class eU extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketVersioning",{}).n("S3Client","PutBucketVersioningCommand").f(void 0,void 0).ser(s.ENk).de(s.t3v).build(){}class eH extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutBucketWebsite",{}).n("S3Client","PutBucketWebsiteCommand").f(void 0,void 0).ser(s.IrE).de(s.rUd).build(){}class eq extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutObjectAcl",{}).n("S3Client","PutObjectAclCommand").f(void 0,void 0).ser(s.RGK).de(s.kuu).build(){}var eV=n(12321);class eW extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutObjectLegalHold",{}).n("S3Client","PutObjectLegalHoldCommand").f(void 0,void 0).ser(s.ewJ).de(s.Yiy).build(){}class e$ extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutObjectLockConfiguration",{}).n("S3Client","PutObjectLockConfigurationCommand").f(void 0,void 0).ser(s.TWx).de(s._PB).build(){}class eG extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutObjectRetention",{}).n("S3Client","PutObjectRetentionCommand").f(void 0,void 0).ser(s.Ang).de(s.aG4).build(){}var eK=n(7638);class eY extends r.mY.classBuilder().ep({...a.q,UseS3ExpressControlEndpoint:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutPublicAccessBlock",{}).n("S3Client","PutPublicAccessBlockCommand").f(void 0,void 0).ser(s.qf0).de(s.stB).build(){}var eX=n(28093);class eQ extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,N.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1})]}).s("AmazonS3","RestoreObject",{}).n("S3Client","RestoreObjectCommand").f(eX.mC,void 0).ser(s.wfd).de(s.jP1).build(){}class eJ extends r.mY.classBuilder().ep({...a.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,d.gc)(n)]}).s("AmazonS3","SelectObjectContent",{eventStream:{output:!0}}).n("S3Client","SelectObjectContentCommand").f(eX.SL,eX.tj).ser(s.jiK).de(s.iH6).build(){}var e0=n(59743);class e1 extends r.mY.classBuilder().ep({...a.q,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,u.mS)(n),(0,d.gc)(n)]}).s("AmazonS3","UploadPartCopy",{}).n("S3Client","UploadPartCopyCommand").f(eX.IA,eX.xe).ser(s.rV4).de(s.GPi).build(){}class e2 extends r.mY.classBuilder().ep({...a.q,UseObjectLambdaEndpoint:{type:"staticContextParams",value:!0}}).m(function(e,t,n,r){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions())]}).s("AmazonS3","WriteGetObjectResponse",{}).n("S3Client","WriteGetObjectResponseCommand").f(eX.U9,void 0).ser(s.rkC).de(s.pmE).build(){}var e3=n(21432);function e4(e){return t=>async n=>{let{request:r}=n;return e3.aW.isInstance(r)&&r.body&&"node"===e.runtime&&(r.headers={...r.headers,Expect:"100-continue"}),t({...n,request:r})}}let e5={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},e6=e=>({applyToStack:t=>{t.add(e4(e),e5)}});function e8(e){return e}let e7=e=>t=>async n=>{if(!e3.aW.isInstance(n.request))return t(n);let{request:r}=n,{handlerProtocol:o=""}=e.requestHandler.metadata||{};if(o.indexOf("h2")>=0&&!r.headers[":authority"])delete r.headers.host,r.headers[":authority"]=r.hostname+(r.port?":"+r.port:"");else if(!r.headers.host){let e=r.hostname;null!=r.port&&(e+=`:${r.port}`),r.headers.host=e}return t(n)},e9={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},te=e=>({applyToStack:t=>{t.add(e7(e),e9)}}),tt=()=>(e,t)=>async n=>{try{let r=await e(n),{clientName:o,commandName:i,logger:a,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:l,overrideOutputFilterSensitiveLog:c}=s,u=l??t.inputFilterSensitiveLog,d=c??t.outputFilterSensitiveLog,{$metadata:f,...p}=r.output;return a?.info?.({clientName:o,commandName:i,input:u(n.input),output:d(p),metadata:f}),r}catch(l){let{clientName:e,commandName:r,logger:o,dynamoDbDocumentClientOptions:i={}}=t,{overrideInputFilterSensitiveLog:a}=i,s=a??t.inputFilterSensitiveLog;throw o?.error?.({clientName:e,commandName:r,input:s(n.input),error:l,metadata:l.$metadata}),l}},tn={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},tr=e=>({applyToStack:e=>{e.add(tt(),tn)}});var to=n(79895);let ti="X-Amzn-Trace-Id",ta="AWS_LAMBDA_FUNCTION_NAME",ts="_X_AMZN_TRACE_ID",tl=e=>t=>async n=>{let{request:r}=n;if(!e3.aW.isInstance(r)||"node"!==e.runtime||r.headers.hasOwnProperty(ti))return t(n);let o=to.env[ta],i=to.env[ts],a=e=>"string"==typeof e&&e.length>0;return a(o)&&a(i)&&(r.headers[ti]=i),t({...n,request:r})},tc={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},tu=e=>({applyToStack:t=>{t.add(tl(e),tc)}}),td=(e,t,n)=>{let r,o,i;let a=!1,s=async()=>{o||(o=e());try{r=await o,i=!0,a=!1}finally{o=void 0}return r};return void 0===t?async e=>((!i||e?.forceRefresh)&&(r=await s()),r):async e=>((!i||e?.forceRefresh)&&(r=await s()),a||(n&&!n(r)?a=!0:t(r)&&await s()),r)};var tf=n(27362),tp=n(35062);let th=3e5,tm=e=>{let t;let n=e.credentials?tg(e.credentials):e.credentialDefaultProvider(e),{signingEscapePath:r=!0,systemClockOffset:o=e.systemClockOffset||0,sha256:i}=e;return t=e.signer?(0,tp.$)(e.signer):e.regionInfoProvider?()=>(0,tp.$)(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,o])=>{let{signingRegion:a,signingService:s}=t;e.signingRegion=e.signingRegion||a||o,e.signingName=e.signingName||s||e.serviceId;let l={...e,credentials:n,region:e.signingRegion,service:e.signingName,sha256:i,uriEscapePath:r};return new(e.signerConstructor||tf.L1)(l)}):async t=>{let o=(t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await (0,tp.$)(e.region)(),properties:{}},t)).signingRegion,a=t.signingName;e.signingRegion=e.signingRegion||o,e.signingName=e.signingName||a||e.serviceId;let s={...e,credentials:n,region:e.signingRegion,service:e.signingName,sha256:i,uriEscapePath:r};return new(e.signerConstructor||tf.L1)(s)},{...e,systemClockOffset:o,signingEscapePath:r,credentials:n,signer:t}},tg=e=>"function"==typeof e?td(e,e=>void 0!==e.expiration&&e.expiration.getTime()-Date.now()<th,e=>void 0!==e.expiration):(0,tp.$)(e),tv=e=>new Date(Date.now()+e),ty=(e,t)=>Math.abs(tv(t).getTime()-e)>=3e5,tb=(e,t)=>{let n=Date.parse(e);return ty(n,t)?n-Date.now():t},tw=e=>(t,n)=>async function(r){let o;if(!e3.aW.isInstance(r.request))return t(r);let i=n.endpointV2?.properties?.authSchemes?.[0],a=i?.name==="sigv4a"?i?.signingRegionSet?.join(","):void 0,s=await e.signer(i),l={signingDate:tv(e.systemClockOffset),signingRegion:a||n.signing_region,signingService:n.signing_service};if(n.s3ExpressIdentity){let e=s;if((o=await e.signWithCredentials(r.request,n.s3ExpressIdentity,l)).headers["X-Amz-Security-Token"]||o.headers["x-amz-security-token"])throw Error("X-Amz-Security-Token must not be set for s3-express requests.")}else o=await s.sign(r.request,l);let c=await t({...r,request:o}).catch(t=>{let n=t.ServerTime??tS(t.$response);throw n&&(e.systemClockOffset=tb(n,e.systemClockOffset)),t}),u=tS(c.response);return u&&(e.systemClockOffset=tb(u,e.systemClockOffset)),c},tS=e=>e3.Zn.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,tx={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0},tE=e=>({applyToStack:t=>{t.addRelativeTo(tw(e),tx)}});function tC(e){return{...e,customUserAgent:"string"==typeof e.customUserAgent?[[e.customUserAgent]]:e.customUserAgent}}let t_=RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),tk=e=>t_.test(e)||e.startsWith("[")&&e.endsWith("]"),tO=RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),tA=(e,t=!1)=>{if(!t)return tO.test(e);for(let t of e.split("."))if(!tA(t))return!1;return!0},tI={},tP="endpoints";function tT(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${tT(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(tT).join(", ")})`:JSON.stringify(e,null,2)}class tR extends Error{constructor(e){super(e),this.name="EndpointError"}}let tM=(e,t)=>e===t,tN=e=>{let t=e.split("."),n=[];for(let r of t){let t=r.indexOf("[");if(-1!==t){if(r.indexOf("]")!==r.length-1)throw new tR(`Path: '${e}' does not end with ']'`);let o=r.slice(t+1,-1);if(Number.isNaN(parseInt(o)))throw new tR(`Invalid array index: '${o}' in path: '${e}'`);0!==t&&n.push(r.slice(0,t)),n.push(o)}else n.push(r)}return n},tj=(e,t)=>tN(t).reduce((n,r)=>{if("object"!=typeof n)throw new tR(`Index '${r}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(n)?n[parseInt(r)]:n[r]},e),tD=e=>null!=e,tL=e=>!e;var tB=n(4558);let tZ={[tB.cj.HTTP]:80,[tB.cj.HTTPS]:443},tF={booleanEquals:tM,getAttr:tj,isSet:tD,isValidHostLabel:tA,not:tL,parseURL:e=>{let t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){let{hostname:t,port:n,protocol:r="",path:o="",query:i={}}=e,a=new URL(`${r}//${t}${n?`:${n}`:""}${o}`);return a.search=Object.entries(i).map(([e,t])=>`${e}=${t}`).join("&"),a}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let n=t.href,{host:r,hostname:o,pathname:i,protocol:a,search:s}=t;if(s)return null;let l=a.slice(0,-1);if(!Object.values(tB.cj).includes(l))return null;let c=tk(o),u=n.includes(`${r}:${tZ[l]}`)||"string"==typeof e&&e.includes(`${r}:${tZ[l]}`),d=`${r}${u?`:${tZ[l]}`:""}`;return{scheme:l,authority:d,path:i,normalizedPath:i.endsWith("/")?i:`${i}/`,isIp:c}},stringEquals:(e,t)=>e===t,substring:(e,t,n,r)=>t>=n||e.length<n?null:r?e.substring(e.length-n,e.length-t):e.substring(t,n),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},tz=(e,t)=>{let n=[],r={...t.endpointParams,...t.referenceRecord},o=0;for(;o<e.length;){let t=e.indexOf("{",o);if(-1===t){n.push(e.slice(o));break}n.push(e.slice(o,t));let i=e.indexOf("}",t);if(-1===i){n.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[i+1]&&(n.push(e.slice(t+1,i)),o=i+2);let a=e.substring(t+1,i);if(a.includes("#")){let[e,t]=a.split("#");n.push(tj(r[e],t))}else n.push(r[a]);o=i+1}return n.join("")},tU=({ref:e},t)=>({...t.endpointParams,...t.referenceRecord})[e],tH=(e,t,n)=>{if("string"==typeof e)return tz(e,n);if(e.fn)return tq(e,n);if(e.ref)return tU(e,n);throw new tR(`'${t}': ${String(e)} is not a string, function or reference.`)},tq=({fn:e,argv:t},n)=>{let r=t.map(e=>["boolean","number"].includes(typeof e)?e:tH(e,"arg",n)),o=e.split(".");return o[0]in tI&&null!=o[1]?tI[o[0]][o[1]](...r):tF[e](...r)},tV=({assign:e,...t},n)=>{if(e&&e in n.referenceRecord)throw new tR(`'${e}' is already defined in Reference Record.`);let r=tq(t,n);return n.logger?.debug?.(tP,`evaluateCondition: ${tT(t)} = ${tT(r)}`),{result:""===r||!!r,...null!=e&&{toAssign:{name:e,value:r}}}},tW=(e=[],t)=>{let n={};for(let r of e){let{result:e,toAssign:o}=tV(r,{...t,referenceRecord:{...t.referenceRecord,...n}});if(!e)return{result:e};o&&(n[o.name]=o.value,t.logger?.debug?.(tP,`assign: ${o.name} := ${tT(o.value)}`))}return{result:!0,referenceRecord:n}},t$=(e,t)=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:r.map(e=>{let r=tH(e,"Header value entry",t);if("string"!=typeof r)throw new tR(`Header '${n}' value '${r}' is not a string`);return r})}),{}),tG=(e,t)=>{if(Array.isArray(e))return e.map(e=>tG(e,t));switch(typeof e){case"string":return tz(e,t);case"object":if(null===e)throw new tR(`Unexpected endpoint property: ${e}`);return tK(e,t);case"boolean":return e;default:throw new tR(`Unexpected endpoint property type: ${typeof e}`)}},tK=(e,t)=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:tG(r,t)}),{}),tY=(e,t)=>{let n=tH(e,"Endpoint URL",t);if("string"==typeof n)try{return new URL(n)}catch(e){throw console.error(`Failed to construct URL with ${n}`,e),e}throw new tR(`Endpoint URL must be a string, got ${typeof n}`)},tX=(e,t)=>{let{conditions:n,endpoint:r}=e,{result:o,referenceRecord:i}=tW(n,t);if(!o)return;let a={...t,referenceRecord:{...t.referenceRecord,...i}},{url:s,properties:l,headers:c}=r;return t.logger?.debug?.(tP,`Resolving endpoint from template: ${tT(r)}`),{...void 0!=c&&{headers:t$(c,a)},...void 0!=l&&{properties:tK(l,a)},url:tY(s,a)}},tQ=(e,t)=>{let{conditions:n,error:r}=e,{result:o,referenceRecord:i}=tW(n,t);if(o)throw new tR(tH(r,"Error",{...t,referenceRecord:{...t.referenceRecord,...i}}))},tJ=(e,t)=>{let{conditions:n,rules:r}=e,{result:o,referenceRecord:i}=tW(n,t);if(o)return t0(r,{...t,referenceRecord:{...t.referenceRecord,...i}})},t0=(e,t)=>{for(let n of e)if("endpoint"===n.type){let e=tX(n,t);if(e)return e}else if("error"===n.type)tQ(n,t);else if("tree"===n.type){let e=tJ(n,t);if(e)return e}else throw new tR(`Unknown endpoint rule: ${n}`);throw new tR("Rules evaluation failed")},t1=(e,t)=>{let{endpointParams:n,logger:r}=t,{parameters:o,rules:i}=e;t.logger?.debug?.(`${tP} Initial EndpointParams: ${tT(n)}`);let a=Object.entries(o).filter(([,e])=>null!=e.default).map(([e,t])=>[e,t.default]);if(a.length>0)for(let[e,t]of a)n[e]=n[e]??t;for(let e of Object.entries(o).filter(([,e])=>e.required).map(([e])=>e))if(null==n[e])throw new tR(`Missing required parameter: '${e}'`);let s=t0(i,{endpointParams:n,logger:r,referenceRecord:{}});if(t.endpointParams?.Endpoint)try{let{protocol:e,port:n}=new URL(t.endpointParams.Endpoint);s.url.protocol=e,s.url.port=n}catch(e){}return t.logger?.debug?.(`${tP} Resolved endpoint: ${tT(s)}`),s},t2=(e,t=!1)=>{if(t){for(let t of e.split("."))if(!t2(t))return!1;return!0}return!(!tA(e)||e.length<3||e.length>63||e!==e.toLowerCase()||tk(e))},t3=e=>{let t=e.split(":");if(t.length<6)return null;let[n,r,o,i,a,...s]=t;return"arn"!==n||""===r||""===o||""===s[0]?null:{partition:r,service:o,region:i,accountId:a,resourceId:s[0].includes("/")?s[0].split("/"):s}},t4=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"csp.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{}}],"version":"1.1"}'),t5="",t6=()=>t5,t8={isVirtualHostableS3Bucket:t2,parseArn:t3,partition:e=>{let{partitions:t}=t4;for(let n of t){let{regions:t,outputs:r}=n;for(let[n,o]of Object.entries(t))if(n===e)return{...r,...o}}for(let n of t){let{regionRegex:t,outputs:r}=n;if(new RegExp(t).test(e))return{...r}}let n=t.find(e=>"aws"===e.id);if(!n)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...n.outputs}}};tI.aws=t8;let t7="user-agent",t9="x-amz-user-agent",ne=" ",nt="/",nn=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,nr=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,no="-",ni=e=>(t,n)=>async r=>{let{request:o}=r;if(!e3.aW.isInstance(o))return t(r);let{headers:i}=o,a=n?.userAgent?.map(na)||[],s=(await e.defaultUserAgentProvider()).map(na),l=e?.customUserAgent?.map(na)||[],c=t6(),u=(c?[c]:[]).concat([...s,...a,...l]).join(ne),d=[...s.filter(e=>e.startsWith("aws-sdk-")),...l].join(ne);return"browser"!==e.runtime?(d&&(i[t9]=i[t9]?`${i[t7]} ${d}`:d),i[t7]=u):i[t9]=u,t({...r,request:o})},na=e=>{let t=e[0].split(nt).map(e=>e.replace(nn,no)).join(nt),n=e[1]?.replace(nr,no),r=t.indexOf(nt),o=t.substring(0,r),i=t.substring(r+1);return"api"===o&&(i=i.toLowerCase()),[o,i,n].filter(e=>e&&e.length>0).reduce((e,t,n)=>{switch(n){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")},ns={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},nl=e=>({applyToStack:t=>{t.add(ni(e),ns)}});n(4420);let nc=!1,nu=!1,nd=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),nf=e=>nd(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e,np=e=>{let{region:t,useFipsEndpoint:n}=e;if(!t)throw Error("Region is missing");return{...e,region:async()=>"string"==typeof t?nf(t):nf(await t()),useFipsEndpoint:async()=>!!nd("string"==typeof t?t:await t())||("function"!=typeof n?Promise.resolve(!!n):n())}},nh=e=>({...e,eventStreamMarshaller:e.eventStreamSerdeProvider(e)}),nm="content-length";function ng(e){return t=>async n=>{let r=n.request;if(e3.aW.isInstance(r)){let{body:t,headers:n}=r;if(t&&-1===Object.keys(n).map(e=>e.toLowerCase()).indexOf(nm))try{let n=e(t);r.headers={...r.headers,[nm]:String(n)}}catch(e){}}return t({...n,request:r})}}let nv={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},ny=e=>({applyToStack:t=>{t.add(ng(e.bodyLengthChecker),nv)}});var nb=n(58226),nw={i8:"3.504.0"},nS=n(91297),nx=n(81666),nE=n(73706),nC=n.n(nE);let n_=({serviceId:e,clientVersion:t})=>async()=>{let n="undefined"!=typeof window&&window?.navigator?.userAgent?nC().parse(window.navigator.userAgent):void 0,r=[["aws-sdk-js",t],["ua","2.0"],[`os/${n?.os?.name||"other"}`,n?.os?.version],["lang/js"],["md/browser",`${n?.browser?.name??"unknown"}_${n?.browser?.version??"unknown"}`]];return e&&r.push([`api/${e}`,t]),r};var nk=n(6748);function nO(e){let t=0,n=0,r=null,o=null,i=e=>{if("number"!=typeof e)throw Error("Attempted to allocate an event message where size was not a number: "+e);t=e,n=4,new DataView((r=new Uint8Array(e)).buffer).setUint32(0,e,!1)};return{[Symbol.asyncIterator]:async function*(){let a=e[Symbol.asyncIterator]();for(;;){let{value:e,done:s}=await a.next();if(s){if(t){if(t===n)yield r;else throw Error("Truncated event message received.")}return}let l=e.length,c=0;for(;c<l;){if(!r){let t=l-c;o||(o=new Uint8Array(4));let r=Math.min(4-n,t);if(o.set(e.slice(c,c+r),n),n+=r,c+=r,n<4)break;i(new DataView(o.buffer).getUint32(0,!1)),o=null}let a=Math.min(t-n,l-c);r.set(e.slice(c,c+a),n),n+=a,c+=a,t&&t===n&&(yield r,r=null,t=0,n=0)}}}}}function nA(e,t){return async function(n){let{value:r}=n.headers[":message-type"];if("error"===r){let e=Error(n.headers[":error-message"].value||"UnknownError");throw e.name=n.headers[":error-code"].value,e}if("exception"===r){let r=n.headers[":exception-type"].value,o={[r]:n},i=await e(o);if(i.$unknown){let e=Error(t(n.body));throw e.name=r,e}throw i[r]}if("event"===r){let t={[n.headers[":event-type"].value]:n},r=await e(t);if(r.$unknown)return;return r}throw Error(`Unrecognizable event type: ${n.headers[":event-type"].value}`)}}class nI{constructor({utf8Encoder:e,utf8Decoder:t}){this.eventStreamCodec=new nk.Pg(e,t),this.utfEncoder=e}deserialize(e,t){let n=nO(e);return new nk.kr({messageStream:new nk.Jx({inputStream:n,decoder:this.eventStreamCodec}),deserializer:nA(t,this.utfEncoder)})}serialize(e,t){return new nk.Qj({messageStream:new nk.iF({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}let nP=e=>({[Symbol.asyncIterator]:async function*(){let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)return;yield n}}finally{t.releaseLock()}}}),nT=e=>{let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{done:n,value:r}=await t.next();if(n)return e.close();e.enqueue(r)}})};class nR{constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new nI({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){let n=nM(e)?nP(e):e;return this.universalMarshaller.deserialize(n,t)}serialize(e,t){let n=this.universalMarshaller.serialize(e,t);return"function"==typeof ReadableStream?nT(n):n}}let nM=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream,nN=e=>new nR(e);var nj=n(45114);function nD(e,t,n=1048576){return new Promise((r,o)=>{let i=new FileReader;i.addEventListener("error",o),i.addEventListener("abort",o);let a=e.size,s=0;function l(){if(s>=a){r();return}i.readAsArrayBuffer(e.slice(s,Math.min(a,s+n)))}i.addEventListener("load",e=>{let n=e.target.result;t(new Uint8Array(n)),s+=n.byteLength,l()}),l()})}let nL=async function(e,t){let n=new e;return await nD(t,e=>{n.update(e)}),n.digest()},nB=e=>()=>Promise.reject(e);var nZ=n(56906);let nF=64,nz=16,nU=[1732584193,4023233417,2562383102,271733878];class nH{constructor(){this.reset()}update(e){if(nK(e))return;if(this.finished)throw Error("Attempted to update an already finished hash.");let t=nY(e),n=0,{byteLength:r}=t;for(this.bytesHashed+=r;r>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),r--,this.bufferLength===nF&&(this.hashBuffer(),this.bufferLength=0)}async digest(){if(!this.finished){let{buffer:e,bufferLength:t,bytesHashed:n}=this,r=8*n;if(e.setUint8(this.bufferLength++,128),t%nF>=nF-8){for(let t=this.bufferLength;t<nF;t++)e.setUint8(t,0);this.hashBuffer(),this.bufferLength=0}for(let t=this.bufferLength;t<nF-8;t++)e.setUint8(t,0);e.setUint32(nF-8,r>>>0,!0),e.setUint32(nF-4,Math.floor(r/4294967296),!0),this.hashBuffer(),this.finished=!0}let e=new DataView(new ArrayBuffer(nz));for(let t=0;t<4;t++)e.setUint32(4*t,this.state[t],!0);return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}hashBuffer(){let{buffer:e,state:t}=this,n=t[0],r=t[1],o=t[2],i=t[3];n=nV(n,r,o,i,e.getUint32(0,!0),7,3614090360),i=nV(i,n,r,o,e.getUint32(4,!0),12,3905402710),o=nV(o,i,n,r,e.getUint32(8,!0),17,606105819),r=nV(r,o,i,n,e.getUint32(12,!0),22,3250441966),n=nV(n,r,o,i,e.getUint32(16,!0),7,4118548399),i=nV(i,n,r,o,e.getUint32(20,!0),12,1200080426),o=nV(o,i,n,r,e.getUint32(24,!0),17,2821735955),r=nV(r,o,i,n,e.getUint32(28,!0),22,4249261313),n=nV(n,r,o,i,e.getUint32(32,!0),7,1770035416),i=nV(i,n,r,o,e.getUint32(36,!0),12,2336552879),o=nV(o,i,n,r,e.getUint32(40,!0),17,4294925233),r=nV(r,o,i,n,e.getUint32(44,!0),22,2304563134),n=nV(n,r,o,i,e.getUint32(48,!0),7,1804603682),i=nV(i,n,r,o,e.getUint32(52,!0),12,4254626195),o=nV(o,i,n,r,e.getUint32(56,!0),17,2792965006),r=nV(r,o,i,n,e.getUint32(60,!0),22,1236535329),n=nW(n,r,o,i,e.getUint32(4,!0),5,4129170786),i=nW(i,n,r,o,e.getUint32(24,!0),9,3225465664),o=nW(o,i,n,r,e.getUint32(44,!0),14,643717713),r=nW(r,o,i,n,e.getUint32(0,!0),20,3921069994),n=nW(n,r,o,i,e.getUint32(20,!0),5,3593408605),i=nW(i,n,r,o,e.getUint32(40,!0),9,38016083),o=nW(o,i,n,r,e.getUint32(60,!0),14,3634488961),r=nW(r,o,i,n,e.getUint32(16,!0),20,3889429448),n=nW(n,r,o,i,e.getUint32(36,!0),5,568446438),i=nW(i,n,r,o,e.getUint32(56,!0),9,3275163606),o=nW(o,i,n,r,e.getUint32(12,!0),14,4107603335),r=nW(r,o,i,n,e.getUint32(32,!0),20,1163531501),n=nW(n,r,o,i,e.getUint32(52,!0),5,2850285829),i=nW(i,n,r,o,e.getUint32(8,!0),9,4243563512),o=nW(o,i,n,r,e.getUint32(28,!0),14,1735328473),r=nW(r,o,i,n,e.getUint32(48,!0),20,2368359562),n=n$(n,r,o,i,e.getUint32(20,!0),4,4294588738),i=n$(i,n,r,o,e.getUint32(32,!0),11,2272392833),o=n$(o,i,n,r,e.getUint32(44,!0),16,1839030562),r=n$(r,o,i,n,e.getUint32(56,!0),23,4259657740),n=n$(n,r,o,i,e.getUint32(4,!0),4,2763975236),i=n$(i,n,r,o,e.getUint32(16,!0),11,1272893353),o=n$(o,i,n,r,e.getUint32(28,!0),16,4139469664),r=n$(r,o,i,n,e.getUint32(40,!0),23,3200236656),n=n$(n,r,o,i,e.getUint32(52,!0),4,681279174),i=n$(i,n,r,o,e.getUint32(0,!0),11,3936430074),o=n$(o,i,n,r,e.getUint32(12,!0),16,3572445317),r=n$(r,o,i,n,e.getUint32(24,!0),23,76029189),n=n$(n,r,o,i,e.getUint32(36,!0),4,3654602809),i=n$(i,n,r,o,e.getUint32(48,!0),11,3873151461),o=n$(o,i,n,r,e.getUint32(60,!0),16,530742520),r=n$(r,o,i,n,e.getUint32(8,!0),23,3299628645),n=nG(n,r,o,i,e.getUint32(0,!0),6,4096336452),i=nG(i,n,r,o,e.getUint32(28,!0),10,1126891415),o=nG(o,i,n,r,e.getUint32(56,!0),15,2878612391),r=nG(r,o,i,n,e.getUint32(20,!0),21,4237533241),n=nG(n,r,o,i,e.getUint32(48,!0),6,1700485571),i=nG(i,n,r,o,e.getUint32(12,!0),10,2399980690),o=nG(o,i,n,r,e.getUint32(40,!0),15,4293915773),r=nG(r,o,i,n,e.getUint32(4,!0),21,2240044497),n=nG(n,r,o,i,e.getUint32(32,!0),6,1873313359),i=nG(i,n,r,o,e.getUint32(60,!0),10,4264355552),o=nG(o,i,n,r,e.getUint32(24,!0),15,2734768916),r=nG(r,o,i,n,e.getUint32(52,!0),21,1309151649),n=nG(n,r,o,i,e.getUint32(16,!0),6,4149444226),i=nG(i,n,r,o,e.getUint32(44,!0),10,3174756917),o=nG(o,i,n,r,e.getUint32(8,!0),15,718787259),r=nG(r,o,i,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=r+t[1]&4294967295,t[2]=o+t[2]&4294967295,t[3]=i+t[3]&4294967295}reset(){this.state=Uint32Array.from(nU),this.buffer=new DataView(new ArrayBuffer(nF)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}}function nq(e,t,n,r,o,i){return((t=(t+e&4294967295)+(r+i&4294967295)&4294967295)<<o|t>>>32-o)+n&4294967295}function nV(e,t,n,r,o,i,a){return nq(t&n|~t&r,e,t,o,i,a)}function nW(e,t,n,r,o,i,a){return nq(t&r|n&~r,e,t,o,i,a)}function n$(e,t,n,r,o,i,a){return nq(t^n^r,e,t,o,i,a)}function nG(e,t,n,r,o,i,a){return nq(n^(t|~r),e,t,o,i,a)}function nK(e){return"string"==typeof e?0===e.length:0===e.byteLength}function nY(e){return"string"==typeof e?(0,nZ.$)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}let nX="function"==typeof TextEncoder?new TextEncoder:null,nQ=e=>{if("string"==typeof e){if(nX)return nX.encode(e).byteLength;let t=e.length;for(let n=t-1;n>=0;n--){let r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2),r>=56320&&r<=57343&&n--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw Error(`Body Length computation failed for ${e}`)};var nJ=n(3627);let n0={CrtSignerV4:null};class n1{constructor(e){this.sigv4Signer=new u.$I(e),this.signerOptions=e}async sign(e,t={}){if("*"===t.signingRegion){if("node"!==this.signerOptions.runtime)throw Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().sign(e,t)}return this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,n={}){if("*"===n.signingRegion){if("node"!==this.signerOptions.runtime)throw Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().signWithCredentials(e,t,n)}return this.sigv4Signer.signWithCredentials(e,t,n)}async presign(e,t={}){if("*"===t.signingRegion){if("node"!==this.signerOptions.runtime)throw Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().presign(e,t)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,n={}){if("*"===n.signingRegion)throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,n)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=null;try{if(e=n0.CrtSignerV4,"function"!=typeof e)throw Error()}catch(e){throw e.message=`${e.message}
Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. 
You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. 
For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`,e}this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}}var n2=n(57526),n3=n(65046),n4=n(3649),n5=n(19255);let n6="required",n8="type",n7="conditions",n9="fn",re="argv",rt="ref",rn="assign",rr="url",ro="properties",ri="backend",ra="authSchemes",rs="disableDoubleEncoding",rl="signingName",rc="signingRegion",ru="headers",rd="isSet",rf="booleanEquals",rp="error",rh="aws.partition",rm="stringEquals",rg="getAttr",rv="name",ry="substring",rb="bucketSuffix",rw="parseURL",rS="{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",rx="endpoint",rE="tree",rC="aws.isVirtualHostableS3Bucket",r_="{url#scheme}://{Bucket}.{url#authority}{url#path}",rk="not",rO="{url#scheme}://{url#authority}{url#path}",rA="hardwareType",rI="regionPrefix",rP="bucketAliasSuffix",rT="outpostId",rR="isValidHostLabel",rM="s3-outposts",rN="s3",rj="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",rD="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",rL="https://{Bucket}.s3.{partitionResult#dnsSuffix}",rB="aws.parseArn",rZ="bucketArn",rF="arnType",rz="",rU="s3-object-lambda",rH="accesspoint",rq="accessPointName",rV="{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",rW="mrapPartition",r$="outpostType",rG="arnPrefix",rK="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",rY="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",rX="https://s3.{partitionResult#dnsSuffix}",rQ={[n6]:!1,[n8]:"String"},rJ={[n6]:!0,default:!1,[n8]:"Boolean"},r0={[n6]:!1,[n8]:"Boolean"},r1={[n9]:rf,[re]:[{[rt]:"Accelerate"},!0]},r2={[n9]:rf,[re]:[{[rt]:"UseFIPS"},!0]},r3={[n9]:rf,[re]:[{[rt]:"UseDualStack"},!0]},r4={[n9]:rd,[re]:[{[rt]:"Endpoint"}]},r5={[n9]:rh,[re]:[{[rt]:"Region"}],[rn]:"partitionResult"},r6={[n9]:rm,[re]:[{[n9]:rg,[re]:[{[rt]:"partitionResult"},rv]},"aws-cn"]},r8={[n9]:rd,[re]:[{[rt]:"Bucket"}]},r7={[rt]:"Bucket"},r9={[n9]:rw,[re]:[{[rt]:"Endpoint"}],[rn]:"url"},oe={[n9]:rf,[re]:[{[n9]:rg,[re]:[{[rt]:"url"},"isIp"]},!0]},ot={[rt]:"url"},on={[n9]:"uriEncode",[re]:[r7],[rn]:"uri_encoded_bucket"},or={[ri]:"S3Express",[ra]:[{[rs]:!0,[rv]:"sigv4",[rl]:"s3express",[rc]:"{Region}"}]},oo={},oi={[n9]:rC,[re]:[r7,!1]},oa={[rp]:"S3Express bucket name is not a valid virtual hostable name.",[n8]:rp},os={[ri]:"S3Express",[ra]:[{[rs]:!0,[rv]:"sigv4-s3express",[rl]:"s3express",[rc]:"{Region}"}]},ol={[n9]:rd,[re]:[{[rt]:"UseS3ExpressControlEndpoint"}]},oc={[n9]:rf,[re]:[{[rt]:"UseS3ExpressControlEndpoint"},!0]},ou={[n9]:rk,[re]:[r4]},od={[rp]:"Unrecognized S3Express bucket name format.",[n8]:rp},of={[n9]:rk,[re]:[r8]},op={[rt]:rA},oh={[n7]:[ou],[rp]:"Expected a endpoint to be specified but no endpoint was found",[n8]:rp},om={[ra]:[{[rs]:!0,[rv]:"sigv4",[rl]:rM,[rc]:"{Region}"}]},og={[n9]:rf,[re]:[{[rt]:"ForcePathStyle"},!1]},ov={[rt]:"ForcePathStyle"},oy={[n9]:rf,[re]:[{[rt]:"Accelerate"},!1]},ob={[n9]:rm,[re]:[{[rt]:"Region"},"aws-global"]},ow={[ra]:[{[rs]:!0,[rv]:"sigv4",[rl]:rN,[rc]:"us-east-1"}]},oS={[n9]:rk,[re]:[ob]},ox={[n9]:rf,[re]:[{[rt]:"UseGlobalEndpoint"},!0]},oE={[rr]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[ro]:{[ra]:[{[rs]:!0,[rv]:"sigv4",[rl]:rN,[rc]:"{Region}"}]},[ru]:{}},oC={[ra]:[{[rs]:!0,[rv]:"sigv4",[rl]:rN,[rc]:"{Region}"}]},o_={[n9]:rf,[re]:[{[rt]:"UseGlobalEndpoint"},!1]},ok={[n9]:rf,[re]:[{[rt]:"UseDualStack"},!1]},oO={[rr]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",[ro]:oC,[ru]:{}},oA={[n9]:rf,[re]:[{[rt]:"UseFIPS"},!1]},oI={[rr]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",[ro]:oC,[ru]:{}},oP={[rr]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[ro]:oC,[ru]:{}},oT={[n9]:rf,[re]:[{[n9]:rg,[re]:[ot,"isIp"]},!1]},oR={[rr]:rj,[ro]:oC,[ru]:{}},oM={[rr]:r_,[ro]:oC,[ru]:{}},oN={[rx]:oM,[n8]:rx},oj={[rr]:rD,[ro]:oC,[ru]:{}},oD={[rr]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",[ro]:oC,[ru]:{}},oL={[rp]:"Invalid region: region was not a valid DNS name.",[n8]:rp},oB={[rt]:rZ},oZ={[rt]:rF},oF={[n9]:rg,[re]:[oB,"service"]},oz={[rt]:rq},oU={[n7]:[r3],[rp]:"S3 Object Lambda does not support Dual-stack",[n8]:rp},oH={[n7]:[r1],[rp]:"S3 Object Lambda does not support S3 Accelerate",[n8]:rp},oq={[n7]:[{[n9]:rd,[re]:[{[rt]:"DisableAccessPoints"}]},{[n9]:rf,[re]:[{[rt]:"DisableAccessPoints"},!0]}],[rp]:"Access points are not supported for this operation",[n8]:rp},oV={[n7]:[{[n9]:rd,[re]:[{[rt]:"UseArnRegion"}]},{[n9]:rf,[re]:[{[rt]:"UseArnRegion"},!1]},{[n9]:rk,[re]:[{[n9]:rm,[re]:[{[n9]:rg,[re]:[oB,"region"]},"{Region}"]}]}],[rp]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",[n8]:rp},oW={[n9]:rg,[re]:[{[rt]:"bucketPartition"},rv]},o$={[n9]:rg,[re]:[oB,"accountId"]},oG={[ra]:[{[rs]:!0,[rv]:"sigv4",[rl]:rU,[rc]:"{bucketArn#region}"}]},oK={[rp]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[n8]:rp},oY={[rp]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[n8]:rp},oX={[rp]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[n8]:rp},oQ={[rp]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",[n8]:rp},oJ={[rp]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[n8]:rp},o0={[rp]:"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided",[n8]:rp},o1={[ra]:[{[rs]:!0,[rv]:"sigv4",[rl]:rN,[rc]:"{bucketArn#region}"}]},o2={[ra]:[{[rs]:!0,[rv]:"sigv4",[rl]:rM,[rc]:"{bucketArn#region}"}]},o3={[n9]:rB,[re]:[r7]},o4={[rr]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ro]:oC,[ru]:{}},o5={[rr]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ro]:oC,[ru]:{}},o6={[rr]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ro]:oC,[ru]:{}},o8={[rr]:rK,[ro]:oC,[ru]:{}},o7={[rr]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ro]:oC,[ru]:{}},o9={[rt]:"UseObjectLambdaEndpoint"},ie={[ra]:[{[rs]:!0,[rv]:"sigv4",[rl]:rU,[rc]:"{Region}"}]},it={[rr]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[ro]:oC,[ru]:{}},ir={[rr]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",[ro]:oC,[ru]:{}},io={[rr]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[ro]:oC,[ru]:{}},ii={[rr]:rO,[ro]:oC,[ru]:{}},ia={[rr]:"https://s3.{Region}.{partitionResult#dnsSuffix}",[ro]:oC,[ru]:{}},is=[{[rt]:"Region"}],il=[{[rt]:"Endpoint"}],ic=[r7],iu=[r3],id=[r1],ip=[r4,r9],ih=[{[n9]:rd,[re]:[{[rt]:"DisableS3ExpressSessionAuth"}]},{[n9]:rf,[re]:[{[rt]:"DisableS3ExpressSessionAuth"},!0]}],im=[oe],ig=[on],iv=[oi],iy=[r2],ib=[{[n9]:ry,[re]:[r7,6,14,!0],[rn]:"s3expressAvailabilityZoneId"},{[n9]:ry,[re]:[r7,14,16,!0],[rn]:"s3expressAvailabilityZoneDelim"},{[n9]:rm,[re]:[{[rt]:"s3expressAvailabilityZoneDelim"},"--"]}],iw=[{[n7]:[r2],[rx]:{[rr]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[ro]:or,[ru]:{}},[n8]:rx},{[rx]:{[rr]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[ro]:or,[ru]:{}},[n8]:rx}],iS=[{[n9]:ry,[re]:[r7,6,15,!0],[rn]:"s3expressAvailabilityZoneId"},{[n9]:ry,[re]:[r7,15,17,!0],[rn]:"s3expressAvailabilityZoneDelim"},{[n9]:rm,[re]:[{[rt]:"s3expressAvailabilityZoneDelim"},"--"]}],ix=[{[n7]:[r2],[rx]:{[rr]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[ro]:os,[ru]:{}},[n8]:rx},{[rx]:{[rr]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[ro]:os,[ru]:{}},[n8]:rx}],iE=[r8],iC=[{[n9]:rR,[re]:[{[rt]:rT},!1]}],i_=[{[n9]:rm,[re]:[{[rt]:rI},"beta"]}],ik=[r5],iO=[{[n9]:rR,[re]:[{[rt]:"Region"},!1]}],iA=[{[n9]:rm,[re]:[{[rt]:"Region"},"us-east-1"]}],iI=[{[n9]:rm,[re]:[oZ,rH]}],iP=[{[n9]:rg,[re]:[oB,"resourceId[1]"],[rn]:rq},{[n9]:rk,[re]:[{[n9]:rm,[re]:[oz,rz]}]}],iT=[oB,"resourceId[1]"],iR=[{[n9]:rk,[re]:[{[n9]:rm,[re]:[{[n9]:rg,[re]:[oB,"region"]},rz]}]}],iM=[{[n9]:rk,[re]:[{[n9]:rd,[re]:[{[n9]:rg,[re]:[oB,"resourceId[2]"]}]}]}],iN=[oB,"resourceId[2]"],ij=[{[n9]:rh,[re]:[{[n9]:rg,[re]:[oB,"region"]}],[rn]:"bucketPartition"}],iD=[{[n9]:rm,[re]:[oW,{[n9]:rg,[re]:[{[rt]:"partitionResult"},rv]}]}],iL=[{[n9]:rR,[re]:[{[n9]:rg,[re]:[oB,"region"]},!0]}],iB=[{[n9]:rR,[re]:[o$,!1]}],iZ=[{[n9]:rR,[re]:[oz,!1]}],iF=[{[n9]:rR,[re]:[{[rt]:"Region"},!0]}],iz={version:"1.0",parameters:{Bucket:rQ,Region:rQ,UseFIPS:rJ,UseDualStack:rJ,Endpoint:rQ,ForcePathStyle:rJ,Accelerate:rJ,UseGlobalEndpoint:rJ,UseObjectLambdaEndpoint:r0,Key:rQ,Prefix:rQ,DisableAccessPoints:r0,DisableMultiRegionAccessPoints:rJ,UseArnRegion:r0,UseS3ExpressControlEndpoint:r0,DisableS3ExpressSessionAuth:r0},rules:[{[n7]:[{[n9]:rd,[re]:is}],rules:[{[n7]:[r1,r2],error:"Accelerate cannot be used with FIPS",[n8]:rp},{[n7]:[r3,r4],error:"Cannot set dual-stack in combination with a custom endpoint.",[n8]:rp},{[n7]:[r4,r2],error:"A custom endpoint cannot be combined with FIPS",[n8]:rp},{[n7]:[r4,r1],error:"A custom endpoint cannot be combined with S3 Accelerate",[n8]:rp},{[n7]:[r2,r5,r6],error:"Partition does not support FIPS",[n8]:rp},{[n7]:[r8,{[n9]:ry,[re]:[r7,0,6,!0],[rn]:rb},{[n9]:rm,[re]:[{[rt]:rb},"--x-s3"]}],rules:[{[n7]:iu,error:"S3Express does not support Dual-stack.",[n8]:rp},{[n7]:id,error:"S3Express does not support S3 Accelerate.",[n8]:rp},{[n7]:ip,rules:[{[n7]:ih,rules:[{[n7]:im,rules:[{[n7]:ig,rules:[{endpoint:{[rr]:rS,[ro]:or,[ru]:oo},[n8]:rx}],[n8]:rE}],[n8]:rE},{[n7]:iv,rules:[{endpoint:{[rr]:r_,[ro]:or,[ru]:oo},[n8]:rx}],[n8]:rE},oa],[n8]:rE},{[n7]:im,rules:[{[n7]:ig,rules:[{endpoint:{[rr]:rS,[ro]:os,[ru]:oo},[n8]:rx}],[n8]:rE}],[n8]:rE},{[n7]:iv,rules:[{endpoint:{[rr]:r_,[ro]:os,[ru]:oo},[n8]:rx}],[n8]:rE},oa],[n8]:rE},{[n7]:[ol,oc],rules:[{[n7]:[on,ou],rules:[{[n7]:iy,endpoint:{[rr]:"https://s3express-control-fips.{Region}.amazonaws.com/{uri_encoded_bucket}",[ro]:or,[ru]:oo},[n8]:rx},{endpoint:{[rr]:"https://s3express-control.{Region}.amazonaws.com/{uri_encoded_bucket}",[ro]:or,[ru]:oo},[n8]:rx}],[n8]:rE}],[n8]:rE},{[n7]:iv,rules:[{[n7]:ih,rules:[{[n7]:ib,rules:iw,[n8]:rE},{[n7]:iS,rules:iw,[n8]:rE},od],[n8]:rE},{[n7]:ib,rules:ix,[n8]:rE},{[n7]:iS,rules:ix,[n8]:rE},od],[n8]:rE},oa],[n8]:rE},{[n7]:[of,ol,oc],rules:[{[n7]:ip,endpoint:{[rr]:rO,[ro]:or,[ru]:oo},[n8]:rx},{[n7]:iy,endpoint:{[rr]:"https://s3express-control-fips.{Region}.amazonaws.com",[ro]:or,[ru]:oo},[n8]:rx},{endpoint:{[rr]:"https://s3express-control.{Region}.amazonaws.com",[ro]:or,[ru]:oo},[n8]:rx}],[n8]:rE},{[n7]:[r8,{[n9]:ry,[re]:[r7,49,50,!0],[rn]:rA},{[n9]:ry,[re]:[r7,8,12,!0],[rn]:rI},{[n9]:ry,[re]:[r7,0,7,!0],[rn]:rP},{[n9]:ry,[re]:[r7,32,49,!0],[rn]:rT},{[n9]:rh,[re]:is,[rn]:"regionPartition"},{[n9]:rm,[re]:[{[rt]:rP},"--op-s3"]}],rules:[{[n7]:iC,rules:[{[n7]:[{[n9]:rm,[re]:[op,"e"]}],rules:[{[n7]:i_,rules:[oh,{[n7]:ip,endpoint:{[rr]:"https://{Bucket}.ec2.{url#authority}",[ro]:om,[ru]:oo},[n8]:rx}],[n8]:rE},{endpoint:{[rr]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[ro]:om,[ru]:oo},[n8]:rx}],[n8]:rE},{[n7]:[{[n9]:rm,[re]:[op,"o"]}],rules:[{[n7]:i_,rules:[oh,{[n7]:ip,endpoint:{[rr]:"https://{Bucket}.op-{outpostId}.{url#authority}",[ro]:om,[ru]:oo},[n8]:rx}],[n8]:rE},{endpoint:{[rr]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[ro]:om,[ru]:oo},[n8]:rx}],[n8]:rE},{error:'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"',[n8]:rp}],[n8]:rE},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",[n8]:rp}],[n8]:rE},{[n7]:iE,rules:[{[n7]:[r4,{[n9]:rk,[re]:[{[n9]:rd,[re]:[{[n9]:rw,[re]:il}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",[n8]:rp},{[n7]:[og,oi],rules:[{[n7]:ik,rules:[{[n7]:iO,rules:[{[n7]:[r1,r6],error:"S3 Accelerate cannot be used in this region",[n8]:rp},{[n7]:[r3,r2,oy,ou,ob],endpoint:{[rr]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[r3,r2,oy,ou,oS,ox],rules:[{endpoint:oE,[n8]:rx}],[n8]:rE},{[n7]:[r3,r2,oy,ou,oS,o_],endpoint:oE,[n8]:rx},{[n7]:[ok,r2,oy,ou,ob],endpoint:{[rr]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[ok,r2,oy,ou,oS,ox],rules:[{endpoint:oO,[n8]:rx}],[n8]:rE},{[n7]:[ok,r2,oy,ou,oS,o_],endpoint:oO,[n8]:rx},{[n7]:[r3,oA,r1,ou,ob],endpoint:{[rr]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[r3,oA,r1,ou,oS,ox],rules:[{endpoint:oI,[n8]:rx}],[n8]:rE},{[n7]:[r3,oA,r1,ou,oS,o_],endpoint:oI,[n8]:rx},{[n7]:[r3,oA,oy,ou,ob],endpoint:{[rr]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[r3,oA,oy,ou,oS,ox],rules:[{endpoint:oP,[n8]:rx}],[n8]:rE},{[n7]:[r3,oA,oy,ou,oS,o_],endpoint:oP,[n8]:rx},{[n7]:[ok,oA,oy,r4,r9,oe,ob],endpoint:{[rr]:rj,[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[ok,oA,oy,r4,r9,oT,ob],endpoint:{[rr]:r_,[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[ok,oA,oy,r4,r9,oe,oS,ox],rules:[{[n7]:iA,endpoint:oR,[n8]:rx},{endpoint:oR,[n8]:rx}],[n8]:rE},{[n7]:[ok,oA,oy,r4,r9,oT,oS,ox],rules:[{[n7]:iA,endpoint:oM,[n8]:rx},oN],[n8]:rE},{[n7]:[ok,oA,oy,r4,r9,oe,oS,o_],endpoint:oR,[n8]:rx},{[n7]:[ok,oA,oy,r4,r9,oT,oS,o_],endpoint:oM,[n8]:rx},{[n7]:[ok,oA,r1,ou,ob],endpoint:{[rr]:rD,[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[ok,oA,r1,ou,oS,ox],rules:[{[n7]:iA,endpoint:oj,[n8]:rx},{endpoint:oj,[n8]:rx}],[n8]:rE},{[n7]:[ok,oA,r1,ou,oS,o_],endpoint:oj,[n8]:rx},{[n7]:[ok,oA,oy,ou,ob],endpoint:{[rr]:rL,[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[ok,oA,oy,ou,oS,ox],rules:[{[n7]:iA,endpoint:{[rr]:rL,[ro]:oC,[ru]:oo},[n8]:rx},{endpoint:oD,[n8]:rx}],[n8]:rE},{[n7]:[ok,oA,oy,ou,oS,o_],endpoint:oD,[n8]:rx}],[n8]:rE},oL],[n8]:rE}],[n8]:rE},{[n7]:[r4,r9,{[n9]:rm,[re]:[{[n9]:rg,[re]:[ot,"scheme"]},"http"]},{[n9]:rC,[re]:[r7,!0]},og,oA,ok,oy],rules:[{[n7]:ik,rules:[{[n7]:iO,rules:[oN],[n8]:rE},oL],[n8]:rE}],[n8]:rE},{[n7]:[og,{[n9]:rB,[re]:ic,[rn]:rZ}],rules:[{[n7]:[{[n9]:rg,[re]:[oB,"resourceId[0]"],[rn]:rF},{[n9]:rk,[re]:[{[n9]:rm,[re]:[oZ,rz]}]}],rules:[{[n7]:[{[n9]:rm,[re]:[oF,rU]}],rules:[{[n7]:iI,rules:[{[n7]:iP,rules:[oU,oH,{[n7]:iR,rules:[oq,{[n7]:iM,rules:[oV,{[n7]:ij,rules:[{[n7]:ik,rules:[{[n7]:iD,rules:[{[n7]:iL,rules:[{[n7]:[{[n9]:rm,[re]:[o$,rz]}],error:"Invalid ARN: Missing account id",[n8]:rp},{[n7]:iB,rules:[{[n7]:iZ,rules:[{[n7]:ip,endpoint:{[rr]:rV,[ro]:oG,[ru]:oo},[n8]:rx},{[n7]:iy,endpoint:{[rr]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ro]:oG,[ru]:oo},[n8]:rx},{endpoint:{[rr]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ro]:oG,[ru]:oo},[n8]:rx}],[n8]:rE},oK],[n8]:rE},oY],[n8]:rE},oX],[n8]:rE},oQ],[n8]:rE}],[n8]:rE}],[n8]:rE},oJ],[n8]:rE},{error:"Invalid ARN: bucket ARN is missing a region",[n8]:rp}],[n8]:rE},o0],[n8]:rE},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",[n8]:rp}],[n8]:rE},{[n7]:iI,rules:[{[n7]:iP,rules:[{[n7]:iR,rules:[{[n7]:iI,rules:[{[n7]:iR,rules:[oq,{[n7]:iM,rules:[oV,{[n7]:ij,rules:[{[n7]:ik,rules:[{[n7]:[{[n9]:rm,[re]:[oW,"{partitionResult#name}"]}],rules:[{[n7]:iL,rules:[{[n7]:[{[n9]:rm,[re]:[oF,rN]}],rules:[{[n7]:iB,rules:[{[n7]:iZ,rules:[{[n7]:id,error:"Access Points do not support S3 Accelerate",[n8]:rp},{[n7]:[r2,r3],endpoint:{[rr]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ro]:o1,[ru]:oo},[n8]:rx},{[n7]:[r2,ok],endpoint:{[rr]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ro]:o1,[ru]:oo},[n8]:rx},{[n7]:[oA,r3],endpoint:{[rr]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ro]:o1,[ru]:oo},[n8]:rx},{[n7]:[oA,ok,r4,r9],endpoint:{[rr]:rV,[ro]:o1,[ru]:oo},[n8]:rx},{[n7]:[oA,ok],endpoint:{[rr]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ro]:o1,[ru]:oo},[n8]:rx}],[n8]:rE},oK],[n8]:rE},oY],[n8]:rE},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",[n8]:rp}],[n8]:rE},oX],[n8]:rE},oQ],[n8]:rE}],[n8]:rE}],[n8]:rE},oJ],[n8]:rE}],[n8]:rE}],[n8]:rE},{[n7]:[{[n9]:rR,[re]:[oz,!0]}],rules:[{[n7]:iu,error:"S3 MRAP does not support dual-stack",[n8]:rp},{[n7]:iy,error:"S3 MRAP does not support FIPS",[n8]:rp},{[n7]:id,error:"S3 MRAP does not support S3 Accelerate",[n8]:rp},{[n7]:[{[n9]:rf,[re]:[{[rt]:"DisableMultiRegionAccessPoints"},!0]}],error:"Invalid configuration: Multi-Region Access Point ARNs are disabled.",[n8]:rp},{[n7]:[{[n9]:rh,[re]:is,[rn]:rW}],rules:[{[n7]:[{[n9]:rm,[re]:[{[n9]:rg,[re]:[{[rt]:rW},rv]},{[n9]:rg,[re]:[oB,"partition"]}]}],rules:[{endpoint:{[rr]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",[ro]:{[ra]:[{[rs]:!0,name:"sigv4a",[rl]:rN,signingRegionSet:["*"]}]},[ru]:oo},[n8]:rx}],[n8]:rE},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",[n8]:rp}],[n8]:rE}],[n8]:rE},{error:"Invalid Access Point Name",[n8]:rp}],[n8]:rE},o0],[n8]:rE},{[n7]:[{[n9]:rm,[re]:[oF,rM]}],rules:[{[n7]:iu,error:"S3 Outposts does not support Dual-stack",[n8]:rp},{[n7]:iy,error:"S3 Outposts does not support FIPS",[n8]:rp},{[n7]:id,error:"S3 Outposts does not support S3 Accelerate",[n8]:rp},{[n7]:[{[n9]:rd,[re]:[{[n9]:rg,[re]:[oB,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",[n8]:rp},{[n7]:[{[n9]:rg,[re]:iT,[rn]:rT}],rules:[{[n7]:iC,rules:[oV,{[n7]:ij,rules:[{[n7]:ik,rules:[{[n7]:iD,rules:[{[n7]:iL,rules:[{[n7]:iB,rules:[{[n7]:[{[n9]:rg,[re]:iN,[rn]:r$}],rules:[{[n7]:[{[n9]:rg,[re]:[oB,"resourceId[3]"],[rn]:rq}],rules:[{[n7]:[{[n9]:rm,[re]:[{[rt]:r$},rH]}],rules:[{[n7]:ip,endpoint:{[rr]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",[ro]:o2,[ru]:oo},[n8]:rx},{endpoint:{[rr]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ro]:o2,[ru]:oo},[n8]:rx}],[n8]:rE},{error:"Expected an outpost type `accesspoint`, found {outpostType}",[n8]:rp}],[n8]:rE},{error:"Invalid ARN: expected an access point name",[n8]:rp}],[n8]:rE},{error:"Invalid ARN: Expected a 4-component resource",[n8]:rp}],[n8]:rE},oY],[n8]:rE},oX],[n8]:rE},oQ],[n8]:rE}],[n8]:rE}],[n8]:rE},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",[n8]:rp}],[n8]:rE},{error:"Invalid ARN: The Outpost Id was not set",[n8]:rp}],[n8]:rE},{error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})",[n8]:rp}],[n8]:rE},{error:"Invalid ARN: No ARN type specified",[n8]:rp}],[n8]:rE},{[n7]:[{[n9]:ry,[re]:[r7,0,4,!1],[rn]:rG},{[n9]:rm,[re]:[{[rt]:rG},"arn:"]},{[n9]:rk,[re]:[{[n9]:rd,[re]:[o3]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",[n8]:rp},{[n7]:[{[n9]:rf,[re]:[ov,!0]},o3],error:"Path-style addressing cannot be used with ARN buckets",[n8]:rp},{[n7]:ig,rules:[{[n7]:ik,rules:[{[n7]:[oy],rules:[{[n7]:[r3,ou,r2,ob],endpoint:{[rr]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[r3,ou,r2,oS,ox],rules:[{endpoint:o4,[n8]:rx}],[n8]:rE},{[n7]:[r3,ou,r2,oS,o_],endpoint:o4,[n8]:rx},{[n7]:[ok,ou,r2,ob],endpoint:{[rr]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[ok,ou,r2,oS,ox],rules:[{endpoint:o5,[n8]:rx}],[n8]:rE},{[n7]:[ok,ou,r2,oS,o_],endpoint:o5,[n8]:rx},{[n7]:[r3,ou,oA,ob],endpoint:{[rr]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[r3,ou,oA,oS,ox],rules:[{endpoint:o6,[n8]:rx}],[n8]:rE},{[n7]:[r3,ou,oA,oS,o_],endpoint:o6,[n8]:rx},{[n7]:[ok,r4,r9,oA,ob],endpoint:{[rr]:rK,[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[ok,r4,r9,oA,oS,ox],rules:[{[n7]:iA,endpoint:o8,[n8]:rx},{endpoint:o8,[n8]:rx}],[n8]:rE},{[n7]:[ok,r4,r9,oA,oS,o_],endpoint:o8,[n8]:rx},{[n7]:[ok,ou,oA,ob],endpoint:{[rr]:rY,[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[ok,ou,oA,oS,ox],rules:[{[n7]:iA,endpoint:{[rr]:rY,[ro]:oC,[ru]:oo},[n8]:rx},{endpoint:o7,[n8]:rx}],[n8]:rE},{[n7]:[ok,ou,oA,oS,o_],endpoint:o7,[n8]:rx}],[n8]:rE},{error:"Path-style addressing cannot be used with S3 Accelerate",[n8]:rp}],[n8]:rE}],[n8]:rE}],[n8]:rE},{[n7]:[{[n9]:rd,[re]:[o9]},{[n9]:rf,[re]:[o9,!0]}],rules:[{[n7]:ik,rules:[{[n7]:iF,rules:[oU,oH,{[n7]:ip,endpoint:{[rr]:rO,[ro]:ie,[ru]:oo},[n8]:rx},{[n7]:iy,endpoint:{[rr]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",[ro]:ie,[ru]:oo},[n8]:rx},{endpoint:{[rr]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",[ro]:ie,[ru]:oo},[n8]:rx}],[n8]:rE},oL],[n8]:rE}],[n8]:rE},{[n7]:[of],rules:[{[n7]:ik,rules:[{[n7]:iF,rules:[{[n7]:[r2,r3,ou,ob],endpoint:{[rr]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[r2,r3,ou,oS,ox],rules:[{endpoint:it,[n8]:rx}],[n8]:rE},{[n7]:[r2,r3,ou,oS,o_],endpoint:it,[n8]:rx},{[n7]:[r2,ok,ou,ob],endpoint:{[rr]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[r2,ok,ou,oS,ox],rules:[{endpoint:ir,[n8]:rx}],[n8]:rE},{[n7]:[r2,ok,ou,oS,o_],endpoint:ir,[n8]:rx},{[n7]:[oA,r3,ou,ob],endpoint:{[rr]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[oA,r3,ou,oS,ox],rules:[{endpoint:io,[n8]:rx}],[n8]:rE},{[n7]:[oA,r3,ou,oS,o_],endpoint:io,[n8]:rx},{[n7]:[oA,ok,r4,r9,ob],endpoint:{[rr]:rO,[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[oA,ok,r4,r9,oS,ox],rules:[{[n7]:iA,endpoint:ii,[n8]:rx},{endpoint:ii,[n8]:rx}],[n8]:rE},{[n7]:[oA,ok,r4,r9,oS,o_],endpoint:ii,[n8]:rx},{[n7]:[oA,ok,ou,ob],endpoint:{[rr]:rX,[ro]:ow,[ru]:oo},[n8]:rx},{[n7]:[oA,ok,ou,oS,ox],rules:[{[n7]:iA,endpoint:{[rr]:rX,[ro]:oC,[ru]:oo},[n8]:rx},{endpoint:ia,[n8]:rx}],[n8]:rE},{[n7]:[oA,ok,ou,oS,o_],endpoint:ia,[n8]:rx}],[n8]:rE},oL],[n8]:rE}],[n8]:rE}],[n8]:rE},{error:"A region must be set when sending requests to S3.",[n8]:rp}]},iU=(e,t={})=>t1(iz,{endpointParams:e,logger:t.logger}),iH=e=>({apiVersion:"2006-03-01",base64Decoder:e?.base64Decoder??n3.G,base64Encoder:e?.base64Encoder??n3.s,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??iU,extensions:e?.extensions??[],getAwsChunkedEncodingStream:e?.getAwsChunkedEncodingStream??n4.LN,logger:e?.logger??new r.vk,sdkStreamMixin:e?.sdkStreamMixin??n4.Ou,serviceId:e?.serviceId??"S3",signerConstructor:e?.signerConstructor??n1,signingEscapePath:e?.signingEscapePath??!1,urlParser:e?.urlParser??n2.e,useArnRegion:e?.useArnRegion??!1,utf8Decoder:e?.utf8Decoder??nZ.$,utf8Encoder:e?.utf8Encoder??n5.G}),iq=["in-region","cross-region","mobile","standard","legacy"],iV=({defaultsMode:e}={})=>td(async()=>{let t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve(iW()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw Error(`Invalid parameter for "defaultsMode", expect ${iq.join(", ")}, got ${t}`)}}),iW=()=>{let e="undefined"!=typeof window&&window?.navigator?.userAgent?nC().parse(window.navigator.userAgent):void 0,t=e?.platform?.type;return"tablet"===t||"mobile"===t},i$=e=>{let t=iV(e),n=()=>t().then(r.jv),o=iH(e);return{...o,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??nQ,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??n_({serviceId:o.serviceId,clientVersion:nw.i8}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??nN,maxAttempts:e?.maxAttempts??nJ.J,md5:e?.md5??nH,region:e?.region??nB("Region is missing"),requestHandler:e?.requestHandler??new nj.BX(n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||nJ.CA),sha1:e?.sha1??nS.Sha1,sha256:e?.sha256??nx.Sha256,streamCollector:e?.streamCollector??nj.CF,streamHasher:e?.streamHasher??nL,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(nc)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(nu))}},iG=e=>{let t=async()=>{if(void 0===e.region)throw Error("Region is missing from runtimeConfig");let t=e.region;return"string"==typeof t?t:t()};return{setRegion(e){t=e},region:()=>t}},iK=e=>({region:e.region()}),iY=e=>e,iX=(e,t)=>{let n={...iY(iG(e)),...iY((0,r.kE)(e)),...iY((0,e3.cA)(e))};return t.forEach(e=>e.configure(n)),{...e,...iK(n),...(0,r.SQ)(n),...(0,e3.AO)(n)}};class iQ extends r.KU{constructor(...[e]){let t=i$(e||{}),n=np((0,a.z)(t)),r=(0,o.uW)(n),i=tm(e8((0,nb.BC)(r))),s=iX(nh(tC((0,u.x4)(i,{session:[()=>this,b]}))),e?.extensions||[]);super(s),this.config=s,this.middlewareStack.use((0,nb.NQ)(this.config)),this.middlewareStack.use(ny(this.config)),this.middlewareStack.use(te(this.config)),this.middlewareStack.use(tr(this.config)),this.middlewareStack.use(tu(this.config)),this.middlewareStack.use(tE(this.config)),this.middlewareStack.use((0,u.D4)(this.config)),this.middlewareStack.use(e6(this.config)),this.middlewareStack.use((0,u.Ae)(this.config)),this.middlewareStack.use((0,u.nd)(this.config)),this.middlewareStack.use(nl(this.config))}destroy(){super.destroy()}}let iJ={AbortMultipartUploadCommand:l,CompleteMultipartUploadCommand:c.G,CopyObjectCommand:p,CreateBucketCommand:v,CreateMultipartUploadCommand:y.p,CreateSessionCommand:b,DeleteBucketCommand:S,DeleteBucketAnalyticsConfigurationCommand:w,DeleteBucketCorsCommand:x,DeleteBucketEncryptionCommand:E,DeleteBucketIntelligentTieringConfigurationCommand:C,DeleteBucketInventoryConfigurationCommand:_,DeleteBucketLifecycleCommand:k,DeleteBucketMetricsConfigurationCommand:O,DeleteBucketOwnershipControlsCommand:A,DeleteBucketPolicyCommand:I,DeleteBucketReplicationCommand:P,DeleteBucketTaggingCommand:T,DeleteBucketWebsiteCommand:R,DeleteObjectCommand:M,DeleteObjectsCommand:j,DeleteObjectTaggingCommand:D,DeletePublicAccessBlockCommand:L,GetBucketAccelerateConfigurationCommand:B,GetBucketAclCommand:Z,GetBucketAnalyticsConfigurationCommand:F,GetBucketCorsCommand:z,GetBucketEncryptionCommand:U,GetBucketIntelligentTieringConfigurationCommand:H,GetBucketInventoryConfigurationCommand:q,GetBucketLifecycleConfigurationCommand:V,GetBucketLocationCommand:W,GetBucketLoggingCommand:$,GetBucketMetricsConfigurationCommand:G,GetBucketNotificationConfigurationCommand:K,GetBucketOwnershipControlsCommand:Y,GetBucketPolicyCommand:X,GetBucketPolicyStatusCommand:Q,GetBucketReplicationCommand:J,GetBucketRequestPaymentCommand:ee,GetBucketTaggingCommand:et,GetBucketVersioningCommand:en,GetBucketWebsiteCommand:er,GetObjectCommand:ea,GetObjectAclCommand:eo,GetObjectAttributesCommand:ei,GetObjectLegalHoldCommand:es,GetObjectLockConfigurationCommand:el,GetObjectRetentionCommand:ec,GetObjectTaggingCommand:eu,GetObjectTorrentCommand:ed,GetPublicAccessBlockCommand:ef,HeadBucketCommand:ep,HeadObjectCommand:eh,ListBucketAnalyticsConfigurationsCommand:em,ListBucketIntelligentTieringConfigurationsCommand:eg,ListBucketInventoryConfigurationsCommand:ev,ListBucketMetricsConfigurationsCommand:ey,ListBucketsCommand:eb,ListDirectoryBucketsCommand:ew,ListMultipartUploadsCommand:eS,ListObjectsCommand:ex,ListObjectsV2Command:eE,ListObjectVersionsCommand:eC,ListPartsCommand:e_,PutBucketAccelerateConfigurationCommand:ek,PutBucketAclCommand:eO,PutBucketAnalyticsConfigurationCommand:eA,PutBucketCorsCommand:eI,PutBucketEncryptionCommand:eP,PutBucketIntelligentTieringConfigurationCommand:eT,PutBucketInventoryConfigurationCommand:eR,PutBucketLifecycleConfigurationCommand:eM,PutBucketLoggingCommand:eN,PutBucketMetricsConfigurationCommand:ej,PutBucketNotificationConfigurationCommand:eD,PutBucketOwnershipControlsCommand:eL,PutBucketPolicyCommand:eB,PutBucketReplicationCommand:eZ,PutBucketRequestPaymentCommand:eF,PutBucketTaggingCommand:ez,PutBucketVersioningCommand:eU,PutBucketWebsiteCommand:eH,PutObjectCommand:eV.U,PutObjectAclCommand:eq,PutObjectLegalHoldCommand:eW,PutObjectLockConfigurationCommand:e$,PutObjectRetentionCommand:eG,PutObjectTaggingCommand:eK.t,PutPublicAccessBlockCommand:eY,RestoreObjectCommand:eQ,SelectObjectContentCommand:eJ,UploadPartCommand:e0.c,UploadPartCopyCommand:e1,WriteGetObjectResponseCommand:e2};class i0 extends iQ{}(0,r.TW)(iJ,i0)},89351:function(e,t,n){"use strict";n.d(t,{G:function(){return d}});var r=n(46189),o=n(52827),i=n(51970),a=n(87798),s=n(29004),l=n(33432),c=n(69228),u=n(68523);class d extends s.mY.classBuilder().ep({...l.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,s){return[(0,a.p2)(n,this.serialize,this.deserialize),(0,i.a3)(n,e.getEndpointParameterInstructions()),(0,r.mS)(n),(0,o.gc)(n)]}).s("AmazonS3","CompleteMultipartUpload",{}).n("S3Client","CompleteMultipartUploadCommand").f(c.Qj,c.Wk).ser(u._jr).de(u.ihB).build(){}},91748:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});var r=n(52827),o=n(51970),i=n(87798),a=n(29004),s=n(33432),l=n(69228),c=n(68523);class u extends a.mY.classBuilder().ep({...s.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,a){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,r.gc)(n)]}).s("AmazonS3","CreateMultipartUpload",{}).n("S3Client","CreateMultipartUploadCommand").f(l.Uk,l.nj).ser(c.bpd).de(c.iaH).build(){}},12321:function(e,t,n){"use strict";n.d(t,{U:function(){return f}});var r=n(82873),o=n(46189),i=n(52827),a=n(51970),s=n(87798),l=n(29004),c=n(33432),u=n(28093),d=n(68523);class f extends l.mY.classBuilder().ep({...c.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,l){return[(0,s.p2)(n,this.serialize,this.deserialize),(0,a.a3)(n,e.getEndpointParameterInstructions()),(0,o.Hz)(n),(0,i.gc)(n),(0,r.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1})]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(u.XN,u.F2).ser(d.zmf).de(d.Wnn).build(){}},7638:function(e,t,n){"use strict";n.d(t,{t:function(){return c}});var r=n(82873),o=n(51970),i=n(87798),a=n(29004),s=n(33432),l=n(68523);class c extends a.mY.classBuilder().ep({...s.q,Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,n,a){return[(0,i.p2)(n,this.serialize,this.deserialize),(0,o.a3)(n,e.getEndpointParameterInstructions()),(0,r.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!0})]}).s("AmazonS3","PutObjectTagging",{}).n("S3Client","PutObjectTaggingCommand").f(void 0,void 0).ser(l.JWV).de(l.syn).build(){}},59743:function(e,t,n){"use strict";n.d(t,{c:function(){return d}});var r=n(82873),o=n(52827),i=n(51970),a=n(87798),s=n(29004),l=n(33432),c=n(28093),u=n(68523);class d extends s.mY.classBuilder().ep({...l.q,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,n,s){return[(0,a.p2)(n,this.serialize,this.deserialize),(0,i.a3)(n,e.getEndpointParameterInstructions()),(0,o.gc)(n),(0,r.Yv)(n,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1})]}).s("AmazonS3","UploadPart",{}).n("S3Client","UploadPartCommand").f(c.Pw,c.c).ser(u.zES).de(u.Sng).build(){}},33432:function(e,t,n){"use strict";n.d(t,{q:function(){return o},z:function(){return r}});let r=e=>({...e,useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:"s3"}),o={ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}},84020:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(29004);class o extends r.sI{constructor(e){super(e),Object.setPrototypeOf(this,o.prototype)}}},69228:function(e,t,n){"use strict";n.d(t,{$R:function(){return q},A6:function(){return b},EC:function(){return B},LD:function(){return A},M0:function(){return f},ME:function(){return N},Qj:function(){return y},Qr:function(){return a},RT:function(){return r},SH:function(){return d},TX:function(){return g},Uk:function(){return x},Vn:function(){return u},Wk:function(){return v},Y5:function(){return o},YM:function(){return D},Yw:function(){return m},ZF:function(){return C},Zt:function(){return z},ah:function(){return L},jd:function(){return j},mn:function(){return p},nj:function(){return S},oN:function(){return h},r4:function(){return w},sl:function(){return i},v9:function(){return Z},w_:function(){return F},wi:function(){return c},yf:function(){return U},z4:function(){return H}});var r,o,i,a,s=n(29004),l=n(84020);class c extends l.k{constructor(e){super({name:"NoSuchUpload",$fault:"client",...e}),this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,c.prototype)}}class u extends l.k{constructor(e){super({name:"ObjectNotInActiveTierError",$fault:"client",...e}),this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,u.prototype)}}class d extends l.k{constructor(e){super({name:"BucketAlreadyExists",$fault:"client",...e}),this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,d.prototype)}}class f extends l.k{constructor(e){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...e}),this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,f.prototype)}}class p extends l.k{constructor(e){super({name:"NoSuchBucket",$fault:"client",...e}),this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,p.prototype)}}(function(e){e.visit=(e,t)=>void 0!==e.Prefix?t.Prefix(e.Prefix):void 0!==e.Tag?t.Tag(e.Tag):void 0!==e.And?t.And(e.And):t._(e.$unknown[0],e.$unknown[1])})(r||(r={})),function(e){e.visit=(e,t)=>void 0!==e.Prefix?t.Prefix(e.Prefix):void 0!==e.Tag?t.Tag(e.Tag):void 0!==e.ObjectSizeGreaterThan?t.ObjectSizeGreaterThan(e.ObjectSizeGreaterThan):void 0!==e.ObjectSizeLessThan?t.ObjectSizeLessThan(e.ObjectSizeLessThan):void 0!==e.And?t.And(e.And):t._(e.$unknown[0],e.$unknown[1])}(o||(o={})),function(e){e.visit=(e,t)=>void 0!==e.Prefix?t.Prefix(e.Prefix):void 0!==e.Tag?t.Tag(e.Tag):void 0!==e.AccessPointArn?t.AccessPointArn(e.AccessPointArn):void 0!==e.And?t.And(e.And):t._(e.$unknown[0],e.$unknown[1])}(i||(i={})),function(e){e.visit=(e,t)=>void 0!==e.Prefix?t.Prefix(e.Prefix):void 0!==e.Tag?t.Tag(e.Tag):void 0!==e.And?t.And(e.And):t._(e.$unknown[0],e.$unknown[1])}(a||(a={}));class h extends l.k{constructor(e){super({name:"InvalidObjectState",$fault:"client",...e}),this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,h.prototype),this.StorageClass=e.StorageClass,this.AccessTier=e.AccessTier}}class m extends l.k{constructor(e){super({name:"NoSuchKey",$fault:"client",...e}),this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,m.prototype)}}class g extends l.k{constructor(e){super({name:"NotFound",$fault:"client",...e}),this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,g.prototype)}}let v=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:s.oc}}),y=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:s.oc}}),b=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:s.oc},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:s.oc}}),w=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:s.oc},...e.SSEKMSKeyId&&{SSEKMSKeyId:s.oc},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:s.oc},...e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:s.oc}}),S=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:s.oc},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:s.oc}}),x=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:s.oc},...e.SSEKMSKeyId&&{SSEKMSKeyId:s.oc},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:s.oc}}),E=e=>({...e,...e.SecretAccessKey&&{SecretAccessKey:s.oc},...e.SessionToken&&{SessionToken:s.oc}}),C=e=>({...e,...e.Credentials&&{Credentials:E(e.Credentials)}}),_=e=>({...e,...e.KMSMasterKeyID&&{KMSMasterKeyID:s.oc}}),k=e=>({...e,...e.ApplyServerSideEncryptionByDefault&&{ApplyServerSideEncryptionByDefault:_(e.ApplyServerSideEncryptionByDefault)}}),O=e=>({...e,...e.Rules&&{Rules:e.Rules.map(e=>k(e))}}),A=e=>({...e,...e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:O(e.ServerSideEncryptionConfiguration)}}),I=e=>({...e,...e.KeyId&&{KeyId:s.oc}}),P=e=>({...e,...e.SSEKMS&&{SSEKMS:I(e.SSEKMS)}}),T=e=>({...e,...e.Encryption&&{Encryption:P(e.Encryption)}}),R=e=>({...e,...e.S3BucketDestination&&{S3BucketDestination:T(e.S3BucketDestination)}}),M=e=>({...e,...e.Destination&&{Destination:R(e.Destination)}}),N=e=>({...e,...e.InventoryConfiguration&&{InventoryConfiguration:M(e.InventoryConfiguration)}}),j=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:s.oc}}),D=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:s.oc}}),L=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:s.oc}}),B=e=>({...e}),Z=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:s.oc}}),F=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:s.oc}}),z=e=>({...e,...e.InventoryConfigurationList&&{InventoryConfigurationList:e.InventoryConfigurationList.map(e=>M(e))}}),U=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:s.oc}}),H=e=>({...e,...e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:O(e.ServerSideEncryptionConfiguration)}}),q=e=>({...e,...e.InventoryConfiguration&&{InventoryConfiguration:M(e.InventoryConfiguration)}})},28093:function(e,t,n){"use strict";n.d(t,{F2:function(){return s},IA:function(){return b},Pw:function(){return v},SL:function(){return m},T8:function(){return a},U9:function(){return w},XN:function(){return l},c:function(){return g},mC:function(){return p},tj:function(){return h},xe:function(){return y}});var r,o=n(29004),i=n(84020);class a extends i.k{constructor(e){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...e}),this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,a.prototype)}}!function(e){e.visit=(e,t)=>void 0!==e.Records?t.Records(e.Records):void 0!==e.Stats?t.Stats(e.Stats):void 0!==e.Progress?t.Progress(e.Progress):void 0!==e.Cont?t.Cont(e.Cont):void 0!==e.End?t.End(e.End):t._(e.$unknown[0],e.$unknown[1])}(r||(r={}));let s=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:o.oc},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:o.oc}}),l=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:o.oc},...e.SSEKMSKeyId&&{SSEKMSKeyId:o.oc},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:o.oc}}),c=e=>({...e,...e.KMSKeyId&&{KMSKeyId:o.oc}}),u=e=>({...e,...e.Encryption&&{Encryption:c(e.Encryption)}}),d=e=>({...e,...e.S3&&{S3:u(e.S3)}}),f=e=>({...e,...e.OutputLocation&&{OutputLocation:d(e.OutputLocation)}}),p=e=>({...e,...e.RestoreRequest&&{RestoreRequest:f(e.RestoreRequest)}}),h=e=>({...e,...e.Payload&&{Payload:"STREAMING_CONTENT"}}),m=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:o.oc}}),g=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:o.oc}}),v=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:o.oc}}),y=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:o.oc}}),b=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:o.oc},...e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:o.oc}}),w=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:o.oc}})},68523:function(e,t,n){"use strict";let r;function o(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function i(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#x0D;").replace(/\n/g,"&#x0A;").replace(/\u0085/g,"&#x85;").replace(/\u2028/,"&#x2028;")}n.d(t,{cht:function(){return e4},ihB:function(){return e6},bK9:function(){return e7},mN5:function(){return te},iaH:function(){return tn},eqj:function(){return to},n9Y:function(){return tl},U8U:function(){return ta},D7w:function(){return tu},a$m:function(){return tf},j02:function(){return th},nYv:function(){return tg},Hnq:function(){return ty},Cu9:function(){return tw},OY6:function(){return tx},TRE:function(){return tC},YaO:function(){return tk},Ch6:function(){return tA},XGf:function(){return tP},vSB:function(){return tR},Pfd:function(){return tD},s6e:function(){return tN},Ml9:function(){return tB},xVI:function(){return tF},gb8:function(){return tU},Cle:function(){return tq},C$t:function(){return tW},K8q:function(){return tG},LOJ:function(){return tY},ktI:function(){return tQ},e5D:function(){return t0},e73:function(){return t2},iwX:function(){return t4},n5c:function(){return t6},RBh:function(){return t7},TMf:function(){return ne},$gY:function(){return nn},vAo:function(){return no},k9_:function(){return na},o$:function(){return nl},B5d:function(){return nu},KX9:function(){return nf},BmY:function(){return nh},Uuj:function(){return ny},Tnu:function(){return nw},mug:function(){return ng},zQ4:function(){return nx},Zbq:function(){return nC},GWU:function(){return nk},FsH:function(){return nA},vHl:function(){return nP},sSs:function(){return nR},HFt:function(){return nN},t$i:function(){return nD},wkT:function(){return nB},O_R:function(){return nF},S1p:function(){return nU},bq5:function(){return nq},u5v:function(){return nW},F3J:function(){return nG},TjI:function(){return nY},vO8:function(){return n2},KNP:function(){return nQ},zrS:function(){return n0},g2$:function(){return n4},qei:function(){return n6},cIU:function(){return n7},eq1:function(){return re},RF1:function(){return rn},RZv:function(){return ro},Qhq:function(){return ra},BdE:function(){return rl},ELK:function(){return ru},MLi:function(){return rf},_y_:function(){return rh},qB4:function(){return rg},FAc:function(){return ry},Fqm:function(){return rw},HaZ:function(){return rx},e78:function(){return rC},Uic:function(){return rk},t3v:function(){return rA},rUd:function(){return rP},kuu:function(){return rN},Wnn:function(){return rR},Yiy:function(){return rD},_PB:function(){return rB},aG4:function(){return rF},syn:function(){return rU},stB:function(){return rq},jP1:function(){return rW},iH6:function(){return rG},Sng:function(){return rY},GPi:function(){return rQ},pmE:function(){return r0},IJ_:function(){return v},_jr:function(){return y},TY7:function(){return b},ljk:function(){return w},bpd:function(){return S},UX3:function(){return x},MGS:function(){return C},HCT:function(){return E},BJN:function(){return _},e1L:function(){return k},fAW:function(){return O},oGH:function(){return A},fFg:function(){return I},lSX:function(){return P},l_8:function(){return T},xj9:function(){return R},q8q:function(){return M},IXT:function(){return N},wBc:function(){return j},ku8:function(){return D},fFc:function(){return B},saF:function(){return L},jCE:function(){return Z},DUc:function(){return F},hNn:function(){return z},J22:function(){return U},Dg4:function(){return H},yRQ:function(){return q},cut:function(){return V},v5d:function(){return W},JF8:function(){return $},sON:function(){return G},mOX:function(){return K},ebQ:function(){return Y},Dnh:function(){return X},hUS:function(){return Q},Pu6:function(){return J},Ni:function(){return ee},dah:function(){return et},WII:function(){return en},PUt:function(){return er},ue4:function(){return eo},gBj:function(){return ei},Mh6:function(){return es},lyg:function(){return el},Ylp:function(){return ea},awO:function(){return ec},UxR:function(){return eu},L5z:function(){return ed},zHS:function(){return ef},mQl:function(){return ep},yJt:function(){return eh},zdv:function(){return em},aL9:function(){return eg},ewR:function(){return ev},qKb:function(){return ey},kPu:function(){return eb},BYQ:function(){return ew},NJi:function(){return eS},Yr8:function(){return ex},IYp:function(){return eE},iNP:function(){return ek},W30:function(){return eC},w6X:function(){return e_},Ijr:function(){return eO},u8L:function(){return eA},BeM:function(){return eI},_X8:function(){return eP},eOg:function(){return eT},qbg:function(){return eR},fN$:function(){return eM},_Cr:function(){return eN},pmK:function(){return ej},j2Z:function(){return eD},c4X:function(){return eL},JIC:function(){return eB},RZJ:function(){return eZ},PM0:function(){return eF},zL4:function(){return ez},Z55:function(){return eU},lwM:function(){return eH},ENk:function(){return eq},IrE:function(){return eV},RGK:function(){return e$},zmf:function(){return eW},ewJ:function(){return eG},TWx:function(){return eK},Ang:function(){return eY},JWV:function(){return eX},qf0:function(){return eQ},wfd:function(){return eJ},jiK:function(){return e0},zES:function(){return e1},rV4:function(){return e2},rkC:function(){return e3}});class a{constructor(e){this.value=e}toString(){return i(""+this.value)}}class s{static of(e,t,n){let r=new s(e);return void 0!==t&&r.addChildNode(new a(t)),void 0!==n&&r.withName(n),r}constructor(e,t=[]){this.name=e,this.children=t,this.attributes={}}withName(e){return this.name=e,this}addAttribute(e,t){return this.attributes[e]=t,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,t){return null!=t&&(this.attributes[e]=t),this}cc(e,t,n=t){if(null!=e[t]){let r=s.of(t,e[t]).withName(n);this.c(r)}}l(e,t,n,r){null!=e[t]&&r().map(e=>{e.withName(n),this.c(e)})}lc(e,t,n,r){if(null!=e[t]){let e=r(),t=new s(n);e.map(e=>{t.c(e)}),this.c(t)}}toString(){let e=!!this.children.length,t=`<${this.name}`,n=this.attributes;for(let e of Object.keys(n)){let r=n[e];null!=r&&(t+=` ${e}="${o(""+r)}"`)}return t+(e?`>${this.children.map(e=>e.toString()).join("")}</${this.name}>`:"/>")}}n(4558),n(35062),n(51970).Q$.name,n(87798).JK.name;var l=n(21432);n(58226).yg.name,r=3e5,e=>c(e)&&e.expiration.getTime()-Date.now()<r;let c=e=>void 0!==e.expiration;var u=n(29004);function d(e,t){return new f(e,t)}class f{constructor(e,t){this.input=e,this.context=t,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){let{hostname:e,protocol:t="https",port:n,path:r}=await this.context.endpoint();for(let e of(this.path=r,this.resolvePathStack))e(this.path);return new l.aW({protocol:t,hostname:this.hostname||e,port:n,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(e){return this.hostname=e,this}bp(e){return this.resolvePathStack.push(t=>{this.path=`${t?.endsWith("/")?t.slice(0,-1):t||""}`+e}),this}p(e,t,n,r){return this.resolvePathStack.push(o=>{this.path=(0,u.Is)(o,this.input,e,t,n,r)}),this}h(e){return this.headers=e,this}q(e){return this.query=e,this}b(e){return this.body=e,this}m(e){return this.method=e,this}}var p=n(90734),h=n(69228),m=n(28093),g=n(84020);let v=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yv]:e[p7],[v_]:e[uk]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[yL]:[,"AbortMultipartUpload"],[gK]:[,(0,u.CE)(e[mO],"UploadId")]});return r.m("DELETE").h(o).q(i).b(n),r.build()},y=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[va]:e[cA],[vs]:e[cI],[vu]:e[cG],[vd]:e[cK],[yv]:e[p7],[v_]:e[uk],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ]});o.bp("/{Key+}"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1),o.p("Key",()=>e.Key,"{Key+}",!0);let a=(0,u.UI)({[yL]:[,"CompleteMultipartUpload"],[gK]:[,(0,u.CE)(e[mO],"UploadId")]});return void 0!==e.MultipartUpload&&(r=(r=oE(e.MultipartUpload,t)).n("CompleteMultipartUpload"),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("POST").h(i).q(a).b(n),o.build()},b=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[g4]:e[lj],[mG]:e[cO],[vi]:e[cC],[mK]:e[cP],[mY]:e[cR],[mX]:e[cj],[m1]:e[c7],[vf]:e[c$],[vp]:e[cY],[vh]:[()=>lT(e[cX]),()=>(0,u._w)(e[cX]).toString()],[vm]:e[cQ],[vg]:[()=>lT(e[cJ]),()=>(0,u._w)(e[cJ]).toString()],[m5]:[()=>lT(e[uE]),()=>(0,u._w)(e[uE]).toString()],[v8]:e[dn],[v7]:e[di],[v9]:e[da],[yt]:e[dl],[yr]:e[fb],[yN]:e[ms],[y_]:e[hW],[yS]:e[hO],[yD]:e[mF],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ],[yk]:e[h1],[yA]:e[h0],[yO]:[()=>lT(e[ca]),()=>e[ca].toString()],[vb]:e[c1],[vw]:e[c2],[vS]:e[c3],[yv]:e[p7],[yR]:e[mt],[yc]:e[pr],[yu]:[()=>lT(e[pa]),()=>(e[pa].toISOString().split(".")[0]+"Z").toString()],[yl]:e[pn],[v_]:e[uk],[yC]:e[uB],...void 0!==e.Metadata&&Object.keys(e.Metadata).reduce((t,n)=>(t[`x-amz-meta-${n.toLowerCase()}`]=e.Metadata[n],t),{})});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[yL]:[,"CopyObject"]});return r.m("PUT").h(o).q(i).b(n),r.build()},w=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[g4]:e[lj],[v8]:e[dn],[v7]:e[di],[v9]:e[da],[ye]:e[ds],[yt]:e[dl],[vn]:[()=>lT(e[pe]),()=>e[pe].toString()],[yd]:e[pl]});return o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1),void 0!==e.CreateBucketConfiguration&&(r=oP(e.CreateBucketConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).b(n),o.build()},S=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[g4]:e[lj],[mG]:e[cO],[mK]:e[cP],[mY]:e[cR],[mX]:e[cj],[m1]:e[c7],[m5]:[()=>lT(e[uE]),()=>(0,u._w)(e[uE]).toString()],[v8]:e[dn],[v7]:e[di],[v9]:e[da],[yt]:e[dl],[y_]:e[hW],[yS]:e[hO],[yD]:e[mF],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ],[yk]:e[h1],[yA]:e[h0],[yO]:[()=>lT(e[ca]),()=>e[ca].toString()],[yv]:e[p7],[yR]:e[mt],[yc]:e[pr],[yu]:[()=>lT(e[pa]),()=>(e[pa].toISOString().split(".")[0]+"Z").toString()],[yl]:e[pn],[v_]:e[uk],[vi]:e[cC],...void 0!==e.Metadata&&Object.keys(e.Metadata).reduce((t,n)=>(t[`x-amz-meta-${n.toLowerCase()}`]=e.Metadata[n],t),{})});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[gG]:[,""],[yL]:[,"CreateMultipartUpload"]});return r.m("POST").h(o).q(i).b(n),r.build()},x=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[vv]:e[hZ]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gU]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},E=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});return r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.m("DELETE").h(o).b(n),r.build()},C=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[mU]:[,""],[gt]:[,(0,u.CE)(e[dh],"Id")]});return r.m("DELETE").h(o).q(i).b(n),r.build()},_=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[m$]:[,""]});return r.m("DELETE").h(o).q(i).b(n),r.build()},k=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[m6]:[,""]});return r.m("DELETE").h(o).q(i).b(n),r.build()},O=async(e,t)=>{let n;let r=d(e,t),o={};r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[ga]:[,""],[gt]:[,(0,u.CE)(e[dh],"Id")]});return r.m("DELETE").h(o).q(i).b(n),r.build()},A=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[go]:[,""],[gt]:[,(0,u.CE)(e[dh],"Id")]});return r.m("DELETE").h(o).q(i).b(n),r.build()},I=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gc]:[,""]});return r.m("DELETE").h(o).q(i).b(n),r.build()},P=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gm]:[,""],[gt]:[,(0,u.CE)(e[dh],"Id")]});return r.m("DELETE").h(o).q(i).b(n),r.build()},T=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gE]:[,""]});return r.m("DELETE").h(o).q(i).b(n),r.build()},R=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[g_]:[,""]});return r.m("DELETE").h(o).q(i).b(n),r.build()},M=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gT]:[,""]});return r.m("DELETE").h(o).q(i).b(n),r.build()},N=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gW]:[,""]});return r.m("DELETE").h(o).q(i).b(n),r.build()},j=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[g2]:[,""]});return r.m("DELETE").h(o).q(i).b(n),r.build()},D=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yn]:e[fC],[yv]:e[p7],[g9]:[()=>lT(e[co]),()=>e[co].toString()],[v_]:e[uk]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[yL]:[,"DeleteObject"],[gQ]:[,e[mj]]});return r.m("DELETE").h(o).q(i).b(n),r.build()},L=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[yn]:e[fC],[yv]:e[p7],[g9]:[()=>lT(e[co]),()=>e[co].toString()],[v_]:e[uk],[yx]:e[cC]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[m3]:[,""],[yL]:[,"DeleteObjects"]});return void 0!==e.Delete&&(r=oN(e.Delete,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("POST").h(i).q(a).b(n),o.build()},B=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[gW]:[,""],[gQ]:[,e[mj]]});return r.m("DELETE").h(o).q(i).b(n),r.build()},Z=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gk]:[,""]});return r.m("DELETE").h(o).q(i).b(n),r.build()},F=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk],[yv]:e[p7]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[mH]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},z=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[mq]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},U=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[mU]:[,""],[yL]:[,"GetBucketAnalyticsConfiguration"],[gt]:[,(0,u.CE)(e[dh],"Id")]});return r.m("GET").h(o).q(i).b(n),r.build()},H=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[m$]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},q=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[m6]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},V=async(e,t)=>{let n;let r=d(e,t),o={};r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[ga]:[,""],[yL]:[,"GetBucketIntelligentTieringConfiguration"],[gt]:[,(0,u.CE)(e[dh],"Id")]});return r.m("GET").h(o).q(i).b(n),r.build()},W=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[go]:[,""],[yL]:[,"GetBucketInventoryConfiguration"],[gt]:[,(0,u.CE)(e[dh],"Id")]});return r.m("GET").h(o).q(i).b(n),r.build()},$=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gc]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},G=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gf]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},K=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gp]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},Y=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gm]:[,""],[yL]:[,"GetBucketMetricsConfiguration"],[gt]:[,(0,u.CE)(e[dh],"Id")]});return r.m("GET").h(o).q(i).b(n),r.build()},X=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gx]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},Q=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gE]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},J=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[g_]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},ee=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gA]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},et=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gT]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},en=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gR]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},er=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gW]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},eo=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gX]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},ei=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[g2]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},ea=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[gn]:e[dA],[gr]:[()=>lT(e[dI]),()=>(0,u._w)(e[dI]).toString()],[gi]:e[dP],[gs]:[()=>lT(e[dG]),()=>(0,u._w)(e[dG]).toString()],[gM]:e[pq],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ],[yv]:e[p7],[v_]:e[uk],[vl]:e[cL]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[yL]:[,"GetObject"],[gN]:[,e[p$]],[gj]:[,e[pG]],[gD]:[,e[pK]],[gL]:[,e[pY]],[gB]:[,e[pX]],[gZ]:[()=>void 0!==e.ResponseExpires,()=>(0,u._w)(e[p0]).toString()],[gQ]:[,e[mj]],[gO]:[()=>void 0!==e.PartNumber,()=>e[pk].toString()]});return r.m("GET").h(o).q(i).b(n),r.build()},es=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yv]:e[p7],[v_]:e[uk]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[mq]:[,""],[gQ]:[,e[mj]]});return r.m("GET").h(o).q(i).b(n),r.build()},el=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yi]:[()=>lT(e[fP]),()=>e[fP].toString()],[yp]:e[pO],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ],[yv]:e[p7],[v_]:e[uk],[ys]:[()=>lT(e[f0]),()=>(e[f0]||[]).map(e=>e).join(", ")]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[mW]:[,""],[gQ]:[,e[mj]]});return r.m("GET").h(o).q(i).b(n),r.build()},ec=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yv]:e[p7],[v_]:e[uk]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[gu]:[,""],[gQ]:[,e[mj]]});return r.m("GET").h(o).q(i).b(n),r.build()},eu=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gC]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},ed=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yv]:e[p7],[v_]:e[uk]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[gz]:[,""],[gQ]:[,e[mj]]});return r.m("GET").h(o).q(i).b(n),r.build()},ef=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk],[yv]:e[p7]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[gW]:[,""],[gQ]:[,e[mj]]});return r.m("GET").h(o).q(i).b(n),r.build()},ep=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yv]:e[p7],[v_]:e[uk]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[g$]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},eh=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gk]:[,""]});return r.m("GET").h(o).q(i).b(n),r.build()},em=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});return r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.m("HEAD").h(o).b(n),r.build()},eg=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[gn]:e[dA],[gr]:[()=>lT(e[dI]),()=>(0,u._w)(e[dI]).toString()],[gi]:e[dP],[gs]:[()=>lT(e[dG]),()=>(0,u._w)(e[dG]).toString()],[gM]:e[pq],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ],[yv]:e[p7],[v_]:e[uk],[vl]:e[cL]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[gQ]:[,e[mj]],[gO]:[()=>void 0!==e.PartNumber,()=>e[pk].toString()]});return r.m("HEAD").h(o).q(i).b(n),r.build()},ev=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[mU]:[,""],[yL]:[,"ListBucketAnalyticsConfigurations"],[m2]:[,e[c9]]});return r.m("GET").h(o).q(i).b(n),r.build()},ey=async(e,t)=>{let n;let r=d(e,t),o={};r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[ga]:[,""],[yL]:[,"ListBucketIntelligentTieringConfigurations"],[m2]:[,e[c9]]});return r.m("GET").h(o).q(i).b(n),r.build()},eb=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[go]:[,""],[yL]:[,"ListBucketInventoryConfigurations"],[m2]:[,e[c9]]});return r.m("GET").h(o).q(i).b(n),r.build()},ew=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gm]:[,""],[yL]:[,"ListBucketMetricsConfigurations"],[m2]:[,e[c9]]});return r.m("GET").h(o).q(i).b(n),r.build()},eS=async(e,t)=>{let n;let r=d(e,t),o={"content-type":"application/xml"};r.bp("/");let i=(0,u.UI)({[yL]:[,"ListBuckets"]});return n="",r.m("GET").h(o).q(i).b(n),r.build()},ex=async(e,t)=>{let n;let r=d(e,t),o={};r.bp("/");let i=(0,u.UI)({[yL]:[,"ListDirectoryBuckets"],[m2]:[,e[c9]],[gv]:[()=>void 0!==e.MaxDirectoryBuckets,()=>e[fw].toString()]});return r.m("GET").h(o).q(i).b(n),r.build()},eE=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk],[yv]:e[p7]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gG]:[,""],[m4]:[,e[ua]],[m8]:[,e[uF]],[gl]:[,e[d4]],[gS]:[()=>void 0!==e.MaxUploads,()=>e[fR].toString()],[gP]:[,e[pS]],[gY]:[,e[mA]]});return r.m("GET").h(o).q(i).b(n),r.build()},eC=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yv]:e[p7],[v_]:e[uk],[yf]:[()=>lT(e[pc]),()=>(e[pc]||[]).map(e=>e).join(", ")]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[m4]:[,e[ua]],[m8]:[,e[uF]],[gg]:[,e[fh]],[gb]:[()=>void 0!==e.MaxKeys,()=>e[fO].toString()],[gP]:[,e[pS]]});return r.m("GET").h(o).q(i).b(n),r.build()},e_=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yv]:e[p7],[v_]:e[uk],[yf]:[()=>lT(e[pc]),()=>(e[pc]||[]).map(e=>e).join(", ")]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[gh]:[,"2"],[m4]:[,e[ua]],[m8]:[,e[uF]],[gb]:[()=>void 0!==e.MaxKeys,()=>e[fO].toString()],[gP]:[,e[pS]],[m2]:[,e[c9]],[ge]:[()=>void 0!==e.FetchOwner,()=>e[u3].toString()],[gH]:[,e[hC]]});return r.m("GET").h(o).q(i).b(n),r.build()},ek=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[v_]:e[uk],[yv]:e[p7],[yf]:[()=>lT(e[pc]),()=>(e[pc]||[]).map(e=>e).join(", ")]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[g0]:[,""],[m4]:[,e[ua]],[m8]:[,e[uF]],[gl]:[,e[d4]],[gb]:[()=>void 0!==e.MaxKeys,()=>e[fO].toString()],[gP]:[,e[pS]],[g1]:[,e[mD]]});return r.m("GET").h(o).q(i).b(n),r.build()},eO=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[yv]:e[p7],[v_]:e[uk],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[yL]:[,"ListParts"],[gw]:[()=>void 0!==e.MaxParts,()=>e[fP].toString()],[gI]:[,e[pO]],[gK]:[,(0,u.CE)(e[mO],"UploadId")]});return r.m("GET").h(o).q(i).b(n),r.build()},eA=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[v_]:e[uk],[yx]:e[cC]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[mH]:[,""]});return void 0!==e.AccelerateConfiguration&&(r=oc(e.AccelerateConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eI=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[g4]:e[lj],[mJ]:e[cB],[yx]:e[cC],[v8]:e[dn],[v7]:e[di],[v9]:e[da],[ye]:e[ds],[yt]:e[dl],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[mq]:[,""]});return void 0!==e.AccessControlPolicy&&(r=ou(e.AccessControlPolicy,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eP=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[mU]:[,""],[gt]:[,(0,u.CE)(e[dh],"Id")]});return void 0!==e.AnalyticsConfiguration&&(r=og(e.AnalyticsConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eT=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[m$]:[,""]});return void 0!==e.CORSConfiguration&&(r=oO(e.CORSConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eR=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[m6]:[,""]});return void 0!==e.ServerSideEncryptionConfiguration&&(r=i4(e.ServerSideEncryptionConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eM=async(e,t)=>{let n,r;let o=d(e,t),i={"content-type":"application/xml"};o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[ga]:[,""],[gt]:[,(0,u.CE)(e[dh],"Id")]});return void 0!==e.IntelligentTieringConfiguration&&(r=oJ(e.IntelligentTieringConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eN=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[go]:[,""],[gt]:[,(0,u.CE)(e[dh],"Id")]});return void 0!==e.InventoryConfiguration&&(r=o1(e.InventoryConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},ej=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[yx]:e[cC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gc]:[,""]});return void 0!==e.LifecycleConfiguration&&(r=(r=oS(e.LifecycleConfiguration,t)).n("LifecycleConfiguration"),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eD=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gp]:[,""]});return void 0!==e.BucketLoggingStatus&&(r=ox(e.BucketLoggingStatus,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eL=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gm]:[,""],[gt]:[,(0,u.CE)(e[dh],"Id")]});return void 0!==e.MetricsConfiguration&&(r=ih(e.MetricsConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eB=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[v_]:e[uk],[yE]:[()=>lT(e[hR]),()=>e[hR].toString()]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gx]:[,""]});return void 0!==e.NotificationConfiguration&&(r=ib(e.NotificationConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eZ=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gE]:[,""]});return void 0!==e.OwnershipControls&&(r=iP(e.OwnershipControls,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eF=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{"content-type":"text/plain",[mJ]:e[cB],[yx]:e[cC],[vc]:[()=>lT(e[cW]),()=>e[cW].toString()],[v_]:e[uk]});r.bp("/"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let i=(0,u.UI)({[g_]:[,""]});return void 0!==e.Policy&&(n=e.Policy),r.m("PUT").h(o).q(i).b(n),r.build()},ez=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[vr]:e[mS],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gT]:[,""]});return void 0!==e.ReplicationConfiguration&&(r=iz(e.ReplicationConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eU=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gR]:[,""]});return void 0!==e.RequestPaymentConfiguration&&(r=iG(e.RequestPaymentConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eH=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gW]:[,""]});return void 0!==e.Tagging&&(r=ai(e.Tagging,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eq=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[yn]:e[fC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gX]:[,""]});return void 0!==e.VersioningConfiguration&&(r=av(e.VersioningConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eV=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[g2]:[,""]});return void 0!==e.WebsiteConfiguration&&(r=ay(e.WebsiteConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eW=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[m1]:e[c7]||"application/octet-stream",[g4]:e[lj],[mG]:e[cO],[mK]:e[cP],[mY]:e[cR],[mX]:e[cj],[mQ]:[()=>lT(e[cD]),()=>e[cD].toString()],[mJ]:e[cB],[yx]:e[cC],[va]:e[cA],[vs]:e[cI],[vu]:e[cG],[vd]:e[cK],[m5]:[()=>lT(e[uE]),()=>(0,u._w)(e[uE]).toString()],[v8]:e[dn],[v7]:e[di],[v9]:e[da],[yt]:e[dl],[y_]:e[hW],[yS]:e[hO],[yD]:e[mF],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ],[yk]:e[h1],[yA]:e[h0],[yO]:[()=>lT(e[ca]),()=>e[ca].toString()],[yv]:e[p7],[yR]:e[mt],[yc]:e[pr],[yu]:[()=>lT(e[pa]),()=>(e[pa].toISOString().split(".")[0]+"Z").toString()],[yl]:e[pn],[v_]:e[uk],...void 0!==e.Metadata&&Object.keys(e.Metadata).reduce((t,n)=>(t[`x-amz-meta-${n.toLowerCase()}`]=e.Metadata[n],t),{})});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[yL]:[,"PutObject"]});return void 0!==e.Body&&(n=e.Body),r.m("PUT").h(o).q(i).b(n),r.build()},e$=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[g4]:e[lj],[mJ]:e[cB],[yx]:e[cC],[v8]:e[dn],[v7]:e[di],[v9]:e[da],[ye]:e[ds],[yt]:e[dl],[yv]:e[p7],[v_]:e[uk]});o.bp("/{Key+}"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1),o.p("Key",()=>e.Key,"{Key+}",!0);let a=(0,u.UI)({[mq]:[,""],[gQ]:[,e[mj]]});return void 0!==e.AccessControlPolicy&&(r=ou(e.AccessControlPolicy,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eG=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[yv]:e[p7],[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/{Key+}"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1),o.p("Key",()=>e.Key,"{Key+}",!0);let a=(0,u.UI)({[gu]:[,""],[gQ]:[,e[mj]]});return void 0!==e.LegalHold&&(r=(r=iC(e.LegalHold,t)).n("LegalHold"),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eK=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[yv]:e[p7],[vr]:e[mS],[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gC]:[,""]});return void 0!==e.ObjectLockConfiguration&&(r=iE(e.ObjectLockConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eY=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[yv]:e[p7],[g9]:[()=>lT(e[co]),()=>e[co].toString()],[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/{Key+}"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1),o.p("Key",()=>e.Key,"{Key+}",!0);let a=(0,u.UI)({[gz]:[,""],[gQ]:[,e[mj]]});return void 0!==e.Retention&&(r=(r=i_(e.Retention,t)).n("Retention"),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eX=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk],[yv]:e[p7]});o.bp("/{Key+}"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1),o.p("Key",()=>e.Key,"{Key+}",!0);let a=(0,u.UI)({[gW]:[,""],[gQ]:[,e[mj]]});return void 0!==e.Tagging&&(r=ai(e.Tagging,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eQ=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[mJ]:e[cB],[yx]:e[cC],[v_]:e[uk]});o.bp("/"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let a=(0,u.UI)({[gk]:[,""]});return void 0!==e.PublicAccessBlockConfiguration&&(r=ij(e.PublicAccessBlockConfiguration,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("PUT").h(i).q(a).b(n),o.build()},eJ=async(e,t)=>{let n,r;let o=d(e,t),i=(0,u.UI)({},lT,{"content-type":"application/xml",[yv]:e[p7],[yx]:e[cC],[v_]:e[uk]});o.bp("/{Key+}"),o.p("Bucket",()=>e.Bucket,"{Bucket}",!1),o.p("Key",()=>e.Key,"{Key+}",!0);let a=(0,u.UI)({[gF]:[,""],[yL]:[,"RestoreObject"],[gQ]:[,e[mj]]});return void 0!==e.RestoreRequest&&(r=iY(e.RestoreRequest,t),n=gJ,r.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),n+=r.toString()),o.m("POST").h(i).q(a).b(n),o.build()},e0=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{"content-type":"application/xml",[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ],[v_]:e[uk]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[gq]:[,""],[gV]:[,"2"],[yL]:[,"SelectObjectContent"]});n=gJ;let a=new s(hF);return a.a("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),a.cc(e,uQ),a.cc(e,uq),null!=e[dD]&&a.c(oX(e[dD],t).n(dD)),null!=e[pf]&&a.c(iA(e[pf],t).n(pf)),null!=e[ht]&&a.c(iK(e[ht],t).n(ht)),null!=e[hH]&&a.c(i1(e[hH],t).n(hH)),n+=a.toString(),r.m("POST").h(o).q(i).b(n),r.build()},e1=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{"content-type":"application/octet-stream",[mQ]:[()=>lT(e[cD]),()=>e[cD].toString()],[mJ]:e[cB],[yx]:e[cC],[va]:e[cA],[vs]:e[cI],[vu]:e[cG],[vd]:e[cK],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ],[yv]:e[p7],[v_]:e[uk]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[yL]:[,"UploadPart"],[gO]:[null!=(0,u.CE)(e.PartNumber,"PartNumber"),()=>e[pk].toString()],[gK]:[,(0,u.CE)(e[mO],"UploadId")]});return void 0!==e.Body&&(n=e.Body),r.m("PUT").h(o).q(i).b(n),r.build()},e2=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{[vf]:e[c$],[vp]:e[cY],[vh]:[()=>lT(e[cX]),()=>(0,u._w)(e[cX]).toString()],[vm]:e[cQ],[vg]:[()=>lT(e[cJ]),()=>(0,u._w)(e[cJ]).toString()],[vy]:e[c0],[yI]:e[hY],[yP]:e[hX],[yT]:e[hQ],[vb]:e[c1],[vw]:e[c2],[vS]:e[c3],[yv]:e[p7],[v_]:e[uk],[yC]:e[uB]});r.bp("/{Key+}"),r.p("Bucket",()=>e.Bucket,"{Bucket}",!1),r.p("Key",()=>e.Key,"{Key+}",!0);let i=(0,u.UI)({[yL]:[,"UploadPartCopy"],[gO]:[null!=(0,u.CE)(e.PartNumber,"PartNumber"),()=>e[pk].toString()],[gK]:[,(0,u.CE)(e[mO],"UploadId")]});return r.m("PUT").h(o).q(i).b(n),r.build()},e3=async(e,t)=>{let n;let r=d(e,t),o=(0,u.UI)({},lT,{"x-amz-content-sha256":"UNSIGNED-PAYLOAD","content-type":"application/octet-stream",[yy]:e[hn],[yw]:e[hp],[v6]:[()=>lT(e[hT]),()=>e[hT].toString()],[vk]:e[uO],[vO]:e[uR],[vA]:e[l3],[vI]:e[cO],[vP]:e[cP],[vT]:e[cR],[vR]:e[cj],[mQ]:[()=>lT(e[cD]),()=>e[cD].toString()],[vM]:e[cV],[vN]:e[c7],[vB]:e[cA],[vZ]:e[cI],[vF]:e[cG],[vz]:e[cK],[vU]:[()=>lT(e[uc]),()=>e[uc].toString()],[vj]:e[uz],[vD]:[()=>lT(e[uE]),()=>(0,u._w)(e[uE]).toString()],[vH]:e[uJ],[vL]:[()=>lT(e[fs]),()=>(0,u._w)(e[fs]).toString()],[vq]:[()=>lT(e[fI]),()=>e[fI].toString()],[v$]:e[pr],[vW]:e[pn],[vG]:[()=>lT(e[pa]),()=>(e[pa].toISOString().split(".")[0]+"Z").toString()],[vV]:[()=>lT(e[pE]),()=>e[pE].toString()],[vX]:e[hd],[vY]:e[pW],[vK]:e[hy],[vJ]:e[hW],[v2]:e[hY],[v0]:e[h1],[v3]:e[hQ],[vQ]:e[hO],[v4]:[()=>lT(e[mo]),()=>e[mo].toString()],[v5]:e[mj],[v1]:[()=>lT(e[ca]),()=>e[ca].toString()],...void 0!==e.Metadata&&Object.keys(e.Metadata).reduce((t,n)=>(t[`x-amz-meta-${n.toLowerCase()}`]=e.Metadata[n],t),{})});r.bp("/WriteGetObjectResponse");let i=(0,u.UI)({[yL]:[,"WriteGetObjectResponse"]});void 0!==e.Body&&(n=e.Body);let{hostname:a}=await t.endpoint();if(!0!==t.disableHostPrefix){if(a="{RequestRoute}."+a,void 0===e.RequestRoute)throw Error("Empty value provided for input host prefix: RequestRoute.");if(a=a.replace("{RequestRoute}",e.RequestRoute),!(0,l.Lb)(a))throw Error("ValidationError: prefixed hostname must be hostname compatible.")}return r.hn(a),r.m("POST").h(o).q(i).b(n),r.build()},e4=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return e5(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]});return await (0,u.Wg)(e.body,t),n},e5=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await r7(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},e6=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return e8(e,t);let n=(0,u.UI)({$metadata:lI(e),[uJ]:[,e.headers[vC]],[hW]:[,e.headers[y_]],[mj]:[,e.headers[yj]],[h1]:[,e.headers[yk]],[ca]:[()=>void 0!==e.headers[yO],()=>(0,u.gx)(e.headers[yO])],[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[ct]&&(n[ct]=(0,u.pY)(r[ct])),null!=r[cA]&&(n[cA]=(0,u.pY)(r[cA])),null!=r[cI]&&(n[cI]=(0,u.pY)(r[cI])),null!=r[cG]&&(n[cG]=(0,u.pY)(r[cG])),null!=r[cK]&&(n[cK]=(0,u.pY)(r[cK])),null!=r[uz]&&(n[uz]=(0,u.pY)(r[uz])),null!=r[d1]&&(n[d1]=(0,u.pY)(r[d1])),null!=r[d9]&&(n[d9]=(0,u.pY)(r[d9])),n},e8=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},e7=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return e9(e,t);let n=(0,u.UI)({$metadata:lI(e),[uJ]:[,e.headers[vC]],[c5]:[,e.headers[vx]],[mj]:[,e.headers[yj]],[hW]:[,e.headers[y_]],[hY]:[,e.headers[yI]],[hQ]:[,e.headers[yT]],[h1]:[,e.headers[yk]],[h0]:[,e.headers[yA]],[ca]:[()=>void 0!==e.headers[yO],()=>(0,u.gx)(e.headers[yO])],[pW]:[,e.headers[ym]]}),r=(0,u.Wh)(await yB(e.body,t));return n.CopyObjectResult=aB(r,t),n},e9=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await ot(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},te=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return tt(e,t);let n=(0,u.UI)({$metadata:lI(e),[d9]:[,e.headers[gf]]});return await (0,u.Wg)(e.body,t),n},tt=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await r3(n,t);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await r4(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},tn=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return tr(e,t);let n=(0,u.UI)({$metadata:lI(e),[lz]:[()=>void 0!==e.headers[g5],()=>(0,u.CE)((0,u.oT)(e.headers[g5]))],[l4]:[,e.headers[g8]],[hW]:[,e.headers[y_]],[hY]:[,e.headers[yI]],[hQ]:[,e.headers[yT]],[h1]:[,e.headers[yk]],[h0]:[,e.headers[yA]],[ca]:[()=>void 0!==e.headers[yO],()=>(0,u.gx)(e.headers[yO])],[pW]:[,e.headers[ym]],[cC]:[,e.headers[vi]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[ct]&&(n[ct]=(0,u.pY)(r[ct])),null!=r[d1]&&(n[d1]=(0,u.pY)(r[d1])),null!=r[mO]&&(n[mO]=(0,u.pY)(r[mO])),n},tr=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},to=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return ti(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[cE]&&(n[cE]=lc(r[cE],t)),n},ti=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await r6(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},ta=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return ts(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},ts=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tl=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tc(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tc=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tu=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return td(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},td=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tf=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tp(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tp=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},th=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tm(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tm=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tg=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tv(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tv=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},ty=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tb(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tb=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tw=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tS(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tS=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tx=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tE(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tE=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tC=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return t_(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},t_=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tk=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tO(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tO=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tA=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tI(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tI=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tP=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tT(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tT=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tR=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tM(e,t);let n=(0,u.UI)({$metadata:lI(e),[uc]:[()=>void 0!==e.headers[vE],()=>(0,u.gx)(e.headers[vE])],[mj]:[,e.headers[yj]],[pW]:[,e.headers[ym]]});return await (0,u.Wg)(e.body,t),n},tM=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tN=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return tj(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.Deleted?n[ub]=[]:null!=r[ub]&&(n[ub]=aq((0,u.L)(r[ub]),t)),""===r.Error?n[uK]=[]:null!=r[uG]&&(n[uK]=aJ((0,u.L)(r[uG]),t)),n},tj=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tD=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tL(e,t);let n=(0,u.UI)({$metadata:lI(e),[mj]:[,e.headers[yj]]});return await (0,u.Wg)(e.body,t),n},tL=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tB=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return tZ(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},tZ=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tF=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return tz(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[hE]&&(n[hE]=(0,u.pY)(r[hE])),n},tz=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tU=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return tH(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.AccessControlList?n[dc]=[]:null!=r[lD]&&null!=r[lD][dt]&&(n[dc]=a9((0,u.L)(r[lD][dt]),t)),null!=r[fJ]&&(n[fJ]=sU(r[fJ],t)),n},tH=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tq=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return tV(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.AnalyticsConfiguration=a_(r,t),n},tV=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tW=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return t$(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.CORSRule?n[cU]=[]:null!=r[cz]&&(n[cU]=az((0,u.L)(r[cz]),t)),n},t$=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tG=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return tK(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.ServerSideEncryptionConfiguration=la(r,t),n},tK=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tY=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return tX(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.IntelligentTieringConfiguration=sr(r,t),n},tX=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},tQ=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return tJ(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.InventoryConfiguration=sa(r,t),n},tJ=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},t0=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return t1(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.Rule?n[hx]=[]:null!=r[hS]&&(n[hx]=sw((0,u.L)(r[hS]),t)),n},t1=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},t2=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return t3(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[fe]&&(n[fe]=(0,u.pY)(r[fe])),n},t3=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},t4=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return t5(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[ft]&&(n[ft]=sS(r[ft],t)),n},t5=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},t6=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return t8(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.MetricsConfiguration=sC(r,t),n},t8=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},t7=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return t9(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[u_]&&(n[u_]=a0(r[u_],t)),""===r.CloudFunctionConfiguration?n[fo]=[]:null!=r[cN]&&(n[fo]=sm((0,u.L)(r[cN]),t)),""===r.QueueConfiguration?n[pZ]=[]:null!=r[pB]&&(n[pZ]=s0((0,u.L)(r[pB]),t)),""===r.TopicConfiguration?n[ma]=[]:null!=r[mi]&&(n[ma]=lk((0,u.L)(r[mi]),t)),n},t9=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},ne=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nt(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.OwnershipControls=sH(r,t),n},nt=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nn=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nr(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=await lP(e.body,t);return n.Policy=(0,u.pY)(r),n},nr=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},no=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return ni(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.PolicyStatus=sY(r,t),n},ni=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},na=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return ns(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.ReplicationConfiguration=s4(r,t),n},ns=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nl=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nc(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[pI]&&(n[pI]=(0,u.pY)(r[pI])),n},nc=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nu=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nd(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.TagSet?n[mp]=[]:null!=r[mp]&&null!=r[mp][mm]&&(n[mp]=lb((0,u.L)(r[mp][mm]),t)),n},nd=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nf=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return np(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[fS]&&(n[f_]=(0,u.pY)(r[fS])),null!=r[hE]&&(n[hE]=(0,u.pY)(r[hE])),n},np=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nh=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nm(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[uI]&&(n[uI]=aQ(r[uI],t)),null!=r[dv]&&(n[dv]=se(r[dv],t)),null!=r[pV]&&(n[pV]=s2(r[pV],t)),""===r.RoutingRules?n[hc]=[]:null!=r[hc]&&null!=r[hc][hu]&&(n[hc]=lr((0,u.L)(r[hc][hu]),t)),n},nm=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},ng=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nv(e,t);let n=(0,u.UI)({$metadata:lI(e),[uc]:[()=>void 0!==e.headers[vE],()=>(0,u.gx)(e.headers[vE])],[l3]:[,e.headers[mV]],[uJ]:[,e.headers[vC]],[hy]:[,e.headers[yh]],[fs]:[()=>void 0!==e.headers[gd],()=>(0,u.CE)((0,u.oT)(e.headers[gd]))],[cD]:[()=>void 0!==e.headers[mQ],()=>(0,u.NK)(e.headers[mQ])],[uz]:[,e.headers[m7]],[cA]:[,e.headers[va]],[cI]:[,e.headers[vs]],[cG]:[,e.headers[vu]],[cK]:[,e.headers[vd]],[fI]:[()=>void 0!==e.headers[yo],()=>(0,u.AF)(e.headers[yo])],[mj]:[,e.headers[yj]],[cO]:[,e.headers[mG]],[cP]:[,e.headers[mK]],[cR]:[,e.headers[mY]],[cj]:[,e.headers[mX]],[cV]:[,e.headers[m0]],[c7]:[,e.headers[m1]],[uE]:[()=>void 0!==e.headers[m5],()=>(0,u.CE)((0,u.oT)(e.headers[m5]))],[uL]:[,e.headers[m9]],[mF]:[,e.headers[yD]],[hW]:[,e.headers[y_]],[hY]:[,e.headers[yI]],[hQ]:[,e.headers[yT]],[h1]:[,e.headers[yk]],[ca]:[()=>void 0!==e.headers[yO],()=>(0,u.gx)(e.headers[yO])],[hO]:[,e.headers[yS]],[pW]:[,e.headers[ym]],[hd]:[,e.headers[yb]],[pE]:[()=>void 0!==e.headers[ya],()=>(0,u.AF)(e.headers[ya])],[mo]:[()=>void 0!==e.headers[yM],()=>(0,u.AF)(e.headers[yM])],[pr]:[,e.headers[yc]],[pa]:[()=>void 0!==e.headers[yu],()=>(0,u.CE)((0,u.aH)(e.headers[yu]))],[pn]:[,e.headers[yl]],Metadata:[,Object.keys(e.headers).filter(e=>e.startsWith("x-amz-meta-")).reduce((t,n)=>(t[n.substring(11)]=e.headers[n],t),{})]}),r=e.body;return t.sdkStreamMixin(r),n.Body=r,n},nv=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await r5(n,t);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await r8(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},ny=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nb(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.AccessControlList?n[dc]=[]:null!=r[lD]&&null!=r[lD][dt]&&(n[dc]=a9((0,u.L)(r[lD][dt]),t)),null!=r[fJ]&&(n[fJ]=sU(r[fJ],t)),n},nb=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await r8(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},nw=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nS(e,t);let n=(0,u.UI)({$metadata:lI(e),[uc]:[()=>void 0!==e.headers[vE],()=>(0,u.gx)(e.headers[vE])],[fs]:[()=>void 0!==e.headers[gd],()=>(0,u.CE)((0,u.oT)(e.headers[gd]))],[mj]:[,e.headers[yj]],[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[ut]&&(n[ut]=aR(r[ut],t)),null!=r[uz]&&(n[uz]=(0,u.pY)(r[uz])),null!=r[pd]&&(n[pd]=a6(r[pd],t)),null!=r[py]&&(n[py]=(0,u.NK)(r[py])),null!=r[hO]&&(n[hO]=(0,u.pY)(r[hO])),n},nS=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await r8(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},nx=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nE(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.LegalHold=sD(r,t),n},nE=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nC=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return n_(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.ObjectLockConfiguration=sj(r,t),n},n_=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nk=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nO(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.Retention=sL(r,t),n},nO=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nA=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nI(e,t);let n=(0,u.UI)({$metadata:lI(e),[mj]:[,e.headers[yj]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.TagSet?n[mp]=[]:null!=r[mp]&&null!=r[mp][mm]&&(n[mp]=lb((0,u.L)(r[mp][mm]),t)),n},nI=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nP=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nT(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]}),r=e.body;return t.sdkStreamMixin(r),n.Body=r,n},nT=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nR=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nM(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.Wh)(await yB(e.body,t));return n.PublicAccessBlockConfiguration=sQ(r,t),n},nM=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nN=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nj(e,t);let n=(0,u.UI)({$metadata:lI(e),[cf]:[,e.headers[vt]],[cc]:[,e.headers[ve]],[cv]:[,e.headers[vo]],[l0]:[()=>void 0!==e.headers[g6],()=>(0,u.gx)(e.headers[g6])]});return await (0,u.Wg)(e.body,t),n},nj=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"NotFound":case"com.amazonaws.s3#NotFound":throw await r9(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},nD=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nL(e,t);let n=(0,u.UI)({$metadata:lI(e),[uc]:[()=>void 0!==e.headers[vE],()=>(0,u.gx)(e.headers[vE])],[l3]:[,e.headers[mV]],[uJ]:[,e.headers[vC]],[hy]:[,e.headers[yh]],[l5]:[,e.headers[g7]],[fs]:[()=>void 0!==e.headers[gd],()=>(0,u.CE)((0,u.oT)(e.headers[gd]))],[cD]:[()=>void 0!==e.headers[mQ],()=>(0,u.NK)(e.headers[mQ])],[cA]:[,e.headers[va]],[cI]:[,e.headers[vs]],[cG]:[,e.headers[vu]],[cK]:[,e.headers[vd]],[uz]:[,e.headers[m7]],[fI]:[()=>void 0!==e.headers[yo],()=>(0,u.AF)(e.headers[yo])],[mj]:[,e.headers[yj]],[cO]:[,e.headers[mG]],[cP]:[,e.headers[mK]],[cR]:[,e.headers[mY]],[cj]:[,e.headers[mX]],[c7]:[,e.headers[m1]],[uE]:[()=>void 0!==e.headers[m5],()=>(0,u.CE)((0,u.oT)(e.headers[m5]))],[uL]:[,e.headers[m9]],[mF]:[,e.headers[yD]],[hW]:[,e.headers[y_]],[hY]:[,e.headers[yI]],[hQ]:[,e.headers[yT]],[h1]:[,e.headers[yk]],[ca]:[()=>void 0!==e.headers[yO],()=>(0,u.gx)(e.headers[yO])],[hO]:[,e.headers[yS]],[pW]:[,e.headers[ym]],[hd]:[,e.headers[yb]],[pE]:[()=>void 0!==e.headers[ya],()=>(0,u.AF)(e.headers[ya])],[pr]:[,e.headers[yc]],[pa]:[()=>void 0!==e.headers[yu],()=>(0,u.CE)((0,u.aH)(e.headers[yu]))],[pn]:[,e.headers[yl]],Metadata:[,Object.keys(e.headers).filter(e=>e.startsWith("x-amz-meta-")).reduce((t,n)=>(t[n.substring(11)]=e.headers[n],t),{})]});return await (0,u.Wg)(e.body,t),n},nL=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"NotFound":case"com.amazonaws.s3#NotFound":throw await r9(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},nB=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nZ(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.AnalyticsConfiguration?n[lL]=[]:null!=r[lN]&&(n[lL]=ak((0,u.L)(r[lN]),t)),null!=r[c9]&&(n[c9]=(0,u.pY)(r[c9])),null!=r[dZ]&&(n[dZ]=(0,u.gx)(r[dZ])),null!=r[fz]&&(n[fz]=(0,u.pY)(r[fz])),n},nZ=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nF=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nz(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[c9]&&(n[c9]=(0,u.pY)(r[c9])),""===r.IntelligentTieringConfiguration?n[dH]=[]:null!=r[dU]&&(n[dH]=so((0,u.L)(r[dU]),t)),null!=r[dZ]&&(n[dZ]=(0,u.gx)(r[dZ])),null!=r[fz]&&(n[fz]=(0,u.pY)(r[fz])),n},nz=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nU=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nH(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[c9]&&(n[c9]=(0,u.pY)(r[c9])),""===r.InventoryConfiguration?n[dg]=[]:null!=r[dm]&&(n[dg]=ss((0,u.L)(r[dm]),t)),null!=r[dZ]&&(n[dZ]=(0,u.gx)(r[dZ])),null!=r[fz]&&(n[fz]=(0,u.pY)(r[fz])),n},nH=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nq=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nV(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[c9]&&(n[c9]=(0,u.pY)(r[c9])),null!=r[dZ]&&(n[dZ]=(0,u.gx)(r[dZ])),""===r.MetricsConfiguration?n[fy]=[]:null!=r[fv]&&(n[fy]=s_((0,u.L)(r[fv]),t)),null!=r[fz]&&(n[fz]=(0,u.pY)(r[fz])),n},nV=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nW=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return n$(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.Buckets?n[cx]=[]:null!=r[cx]&&null!=r[cx][ct]&&(n[cx]=aT((0,u.L)(r[cx][ct]),t)),null!=r[fJ]&&(n[fJ]=sU(r[fJ],t)),n},n$=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nG=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nK(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.Buckets?n[cx]=[]:null!=r[cx]&&null!=r[cx][ct]&&(n[cx]=aT((0,u.L)(r[cx][ct]),t)),null!=r[c9]&&(n[c9]=(0,u.pY)(r[c9])),n},nK=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nY=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nX(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[ct]&&(n[ct]=(0,u.pY)(r[ct])),""===r.CommonPrefixes?n[cH]=[]:null!=r[cH]&&(n[cH]=aj((0,u.L)(r[cH]),t)),null!=r[ua]&&(n[ua]=(0,u.pY)(r[ua])),null!=r[uF]&&(n[uF]=(0,u.pY)(r[uF])),null!=r[dZ]&&(n[dZ]=(0,u.gx)(r[dZ])),null!=r[d4]&&(n[d4]=(0,u.pY)(r[d4])),null!=r[fR]&&(n[fR]=(0,u.AF)(r[fR])),null!=r[fq]&&(n[fq]=(0,u.pY)(r[fq])),null!=r[fG]&&(n[fG]=(0,u.pY)(r[fG])),null!=r[pS]&&(n[pS]=(0,u.pY)(r[pS])),null!=r[mA]&&(n[mA]=(0,u.pY)(r[mA])),""===r.Upload?n[mT]=[]:null!=r[mk]&&(n[mT]=sA((0,u.L)(r[mk]),t)),n},nX=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},nQ=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return nJ(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.CommonPrefixes?n[cH]=[]:null!=r[cH]&&(n[cH]=aj((0,u.L)(r[cH]),t)),""===r.Contents?n[un]=[]:null!=r[un]&&(n[un]=sN((0,u.L)(r[un]),t)),null!=r[ua]&&(n[ua]=(0,u.pY)(r[ua])),null!=r[uF]&&(n[uF]=(0,u.pY)(r[uF])),null!=r[dZ]&&(n[dZ]=(0,u.gx)(r[dZ])),null!=r[fh]&&(n[fh]=(0,u.pY)(r[fh])),null!=r[fO]&&(n[fO]=(0,u.AF)(r[fO])),null!=r[fB]&&(n[fB]=(0,u.pY)(r[fB])),null!=r[fV]&&(n[fV]=(0,u.pY)(r[fV])),null!=r[pS]&&(n[pS]=(0,u.pY)(r[pS])),n},nJ=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await r6(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},n0=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return n1(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.CommonPrefixes?n[cH]=[]:null!=r[cH]&&(n[cH]=aj((0,u.L)(r[cH]),t)),""===r.Contents?n[un]=[]:null!=r[un]&&(n[un]=sN((0,u.L)(r[un]),t)),null!=r[c9]&&(n[c9]=(0,u.pY)(r[c9])),null!=r[ua]&&(n[ua]=(0,u.pY)(r[ua])),null!=r[uF]&&(n[uF]=(0,u.pY)(r[uF])),null!=r[dZ]&&(n[dZ]=(0,u.gx)(r[dZ])),null!=r[d2]&&(n[d2]=(0,u.AF)(r[d2])),null!=r[fO]&&(n[fO]=(0,u.AF)(r[fO])),null!=r[fB]&&(n[fB]=(0,u.pY)(r[fB])),null!=r[fz]&&(n[fz]=(0,u.pY)(r[fz])),null!=r[pS]&&(n[pS]=(0,u.pY)(r[pS])),null!=r[hC]&&(n[hC]=(0,u.pY)(r[hC])),n},n1=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await r6(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},n2=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return n3(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return""===r.CommonPrefixes?n[cH]=[]:null!=r[cH]&&(n[cH]=aj((0,u.L)(r[cH]),t)),""===r.DeleteMarker?n[up]=[]:null!=r[uc]&&(n[up]=a$((0,u.L)(r[uc]),t)),null!=r[ua]&&(n[ua]=(0,u.pY)(r[ua])),null!=r[uF]&&(n[uF]=(0,u.pY)(r[uF])),null!=r[dZ]&&(n[dZ]=(0,u.gx)(r[dZ])),null!=r[d4]&&(n[d4]=(0,u.pY)(r[d4])),null!=r[fO]&&(n[fO]=(0,u.AF)(r[fO])),null!=r[fB]&&(n[fB]=(0,u.pY)(r[fB])),null!=r[fq]&&(n[fq]=(0,u.pY)(r[fq])),null!=r[fY]&&(n[fY]=(0,u.pY)(r[fY])),null!=r[pS]&&(n[pS]=(0,u.pY)(r[pS])),null!=r[mD]&&(n[mD]=(0,u.pY)(r[mD])),""===r.Version?n[mB]=[]:null!=r[mR]&&(n[mB]=sz((0,u.L)(r[mR]),t)),n},n3=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},n4=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return n5(e,t);let n=(0,u.UI)({$metadata:lI(e),[lz]:[()=>void 0!==e.headers[g5],()=>(0,u.CE)((0,u.oT)(e.headers[g5]))],[l4]:[,e.headers[g8]],[pW]:[,e.headers[ym]]}),r=(0,u.CE)((0,u.Wh)(await yB(e.body,t)),"body");return null!=r[ct]&&(n[ct]=(0,u.pY)(r[ct])),null!=r[cC]&&(n[cC]=(0,u.pY)(r[cC])),null!=r[dK]&&(n[dK]=st(r[dK],t)),null!=r[dZ]&&(n[dZ]=(0,u.gx)(r[dZ])),null!=r[d1]&&(n[d1]=(0,u.pY)(r[d1])),null!=r[fP]&&(n[fP]=(0,u.AF)(r[fP])),null!=r[f$]&&(n[f$]=(0,u.pY)(r[f$])),null!=r[fJ]&&(n[fJ]=sU(r[fJ],t)),null!=r[pO]&&(n[pO]=(0,u.pY)(r[pO])),""===r.Part?n[pR]=[]:null!=r[pP]&&(n[pR]=sG((0,u.L)(r[pP]),t)),null!=r[hO]&&(n[hO]=(0,u.pY)(r[hO])),null!=r[mO]&&(n[mO]=(0,u.pY)(r[mO])),n},n5=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},n6=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return n8(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},n8=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},n7=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return n9(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},n9=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},re=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rt(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rt=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rn=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rr(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rr=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},ro=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return ri(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},ri=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},ra=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rs(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rs=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rl=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rc(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rc=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},ru=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rd(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rd=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rf=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rp(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rp=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rh=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rm(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rm=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rg=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rv(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rv=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},ry=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rb(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rb=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rw=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rS(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rS=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rx=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rE(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rE=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rC=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return r_(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},r_=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rk=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rO(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rO=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rA=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rI(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rI=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rP=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rT(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rT=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rR=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rM(e,t);let n=(0,u.UI)({$metadata:lI(e),[uJ]:[,e.headers[vC]],[uz]:[,e.headers[m7]],[cA]:[,e.headers[va]],[cI]:[,e.headers[vs]],[cG]:[,e.headers[vu]],[cK]:[,e.headers[vd]],[hW]:[,e.headers[y_]],[mj]:[,e.headers[yj]],[hY]:[,e.headers[yI]],[hQ]:[,e.headers[yT]],[h1]:[,e.headers[yk]],[h0]:[,e.headers[yA]],[ca]:[()=>void 0!==e.headers[yO],()=>(0,u.gx)(e.headers[yO])],[pW]:[,e.headers[ym]]});return await (0,u.Wg)(e.body,t),n},rM=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rN=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rj(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]});return await (0,u.Wg)(e.body,t),n},rj=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await r8(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},rD=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rL(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]});return await (0,u.Wg)(e.body,t),n},rL=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rB=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rZ(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]});return await (0,u.Wg)(e.body,t),n},rZ=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rF=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rz(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]]});return await (0,u.Wg)(e.body,t),n},rz=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rU=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rH(e,t);let n=(0,u.UI)({$metadata:lI(e),[mj]:[,e.headers[yj]]});return await (0,u.Wg)(e.body,t),n},rH=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rq=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rV(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},rV=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rW=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return r$(e,t);let n=(0,u.UI)({$metadata:lI(e),[pW]:[,e.headers[ym]],[p8]:[,e.headers[yg]]});return await (0,u.Wg)(e.body,t),n},r$=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);switch(r){case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await oe(n,t);default:return r2({output:e,parsedBody:n.body,errorCode:r})}},rG=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rK(e,t);let n=(0,u.UI)({$metadata:lI(e)}),r=e.body;return n.Payload=on(r,t),n},rK=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rY=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rX(e,t);let n=(0,u.UI)({$metadata:lI(e),[hW]:[,e.headers[y_]],[uz]:[,e.headers[m7]],[cA]:[,e.headers[va]],[cI]:[,e.headers[vs]],[cG]:[,e.headers[vu]],[cK]:[,e.headers[vd]],[hY]:[,e.headers[yI]],[hQ]:[,e.headers[yT]],[h1]:[,e.headers[yk]],[ca]:[()=>void 0!==e.headers[yO],()=>(0,u.gx)(e.headers[yO])],[pW]:[,e.headers[ym]]});return await (0,u.Wg)(e.body,t),n},rX=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},rQ=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return rJ(e,t);let n=(0,u.UI)({$metadata:lI(e),[c5]:[,e.headers[vx]],[hW]:[,e.headers[y_]],[hY]:[,e.headers[yI]],[hQ]:[,e.headers[yT]],[h1]:[,e.headers[yk]],[ca]:[()=>void 0!==e.headers[yO],()=>(0,u.gx)(e.headers[yO])],[pW]:[,e.headers[ym]]}),r=(0,u.Wh)(await yB(e.body,t));return n.CopyPartResult=aZ(r,t),n},rJ=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},r0=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return r1(e,t);let n=(0,u.UI)({$metadata:lI(e)});return await (0,u.Wg)(e.body,t),n},r1=async(e,t)=>{let n={...e,body:await yZ(e.body,t)},r=yF(e,n.body);return r2({output:e,parsedBody:n.body,errorCode:r})},r2=(0,u.PC)(g.k),r3=async(e,t)=>{let n=(0,u.UI)({});e.body;let r=new h.SH({$metadata:lI(e),...n});return(0,u.to)(r,e.body)},r4=async(e,t)=>{let n=(0,u.UI)({});e.body;let r=new h.M0({$metadata:lI(e),...n});return(0,u.to)(r,e.body)},r5=async(e,t)=>{let n=(0,u.UI)({}),r=e.body;null!=r[l9]&&(n[l9]=(0,u.pY)(r[l9])),null!=r[hO]&&(n[hO]=(0,u.pY)(r[hO]));let o=new h.oN({$metadata:lI(e),...n});return(0,u.to)(o,e.body)},r6=async(e,t)=>{let n=(0,u.UI)({});e.body;let r=new h.mn({$metadata:lI(e),...n});return(0,u.to)(r,e.body)},r8=async(e,t)=>{let n=(0,u.UI)({});e.body;let r=new h.Yw({$metadata:lI(e),...n});return(0,u.to)(r,e.body)},r7=async(e,t)=>{let n=(0,u.UI)({});e.body;let r=new h.wi({$metadata:lI(e),...n});return(0,u.to)(r,e.body)},r9=async(e,t)=>{let n=(0,u.UI)({});e.body;let r=new h.TX({$metadata:lI(e),...n});return(0,u.to)(r,e.body)},oe=async(e,t)=>{let n=(0,u.UI)({});e.body;let r=new m.T8({$metadata:lI(e),...n});return(0,u.to)(r,e.body)},ot=async(e,t)=>{let n=(0,u.UI)({});e.body;let r=new h.Vn({$metadata:lI(e),...n});return(0,u.to)(r,e.body)},on=(e,t)=>t.eventStreamMarshaller.deserialize(e,async n=>null!=n.Records?{Records:await oa(n.Records,t)}:null!=n.Stats?{Stats:await os(n.Stats,t)}:null!=n.Progress?{Progress:await oi(n.Progress,t)}:null!=n.Cont?{Cont:await or(n.Cont,t)}:null!=n.End?{End:await oo(n.End,t)}:{$unknown:e}),or=async(e,t)=>{let n={};return Object.assign(n,aL(await yB(e.body,t),t)),n},oo=async(e,t)=>{let n={};return Object.assign(n,aY(await yB(e.body,t),t)),n},oi=async(e,t)=>{let n={},r=await yB(e.body,t);return n.Details=sX(r,t),n},oa=async(e,t)=>{let n={};return n.Payload=e.body,n},os=async(e,t)=>{let n={},r=await yB(e.body,t);return n.Details=lm(r,t),n},ol=(e,t)=>{let n=new s(l$);return null!=e[us]&&n.c(s.of(us,String(e[us])).n(us)),n},oc=(e,t)=>{let n=new s(lF);return null!=e[hE]&&n.c(s.of(cr,e[hE]).n(hE)),n},ou=(e,t)=>{let n=new s(lB);return n.lc(e,"Grants","AccessControlList",()=>oK(e[dc],t)),null!=e[fJ]&&n.c(iI(e[fJ],t).n(fJ)),n},od=(e,t)=>{let n=new s(lZ);return null!=e[fJ]&&n.c(s.of(pu,e[fJ]).n(fJ)),n},of=(e,t)=>e.filter(e=>null!=e).map(e=>s.of(lq,e).n(gy)),op=(e,t)=>e.filter(e=>null!=e).map(e=>s.of(lY,e).n(gy)),oh=(e,t)=>e.filter(e=>null!=e).map(e=>s.of(lQ,e).n(gy)),om=(e,t)=>{let n=new s(lM);return n.cc(e,pS),n.l(e,"Tags","Tag",()=>aa(e[mg],t)),n},og=(e,t)=>{let n=new s(lN);return null!=e[dh]&&n.c(s.of(lW,e[dh]).n(dh)),null!=e[u0]&&n.c(oy(e[u0],t).n(u0)),null!=e[hA]&&n.c(an(e[hA],t).n(hA)),n},ov=(e,t)=>{let n=new s(lU);return null!=e[hk]&&n.c(ob(e[hk],t).n(hk)),n},oy=(e,t)=>{let n=new s(lH);return h.RT.visit(e,{Prefix:t=>{null!=e[pS]&&n.c(s.of(pS,t).n(pS))},Tag:r=>{null!=e[mm]&&n.c(ao(r,t).n(mm))},And:r=>{null!=e[lR]&&n.c(om(r,t).n(lR))},_:(e,t)=>{if(!(t instanceof s||t instanceof a))throw Error("Unable to serialize unknown union members in XML.");n.c(new s(e).c(t))}}),n},ob=(e,t)=>{let n=new s(l6);return null!=e[u9]&&n.c(s.of(l8,e[u9]).n(u9)),null!=e[cn]&&n.c(s.of(lG,e[cn]).n(cn)),null!=e[ct]&&n.c(s.of(cp,e[ct]).n(ct)),n.cc(e,pS),n},ow=(e,t)=>{let n=new s(ci);return n.cc(e,um),null!=e[m_]&&n.c(s.of(cw,e[m_]).n(m_)),n},oS=(e,t)=>{let n=new s(cs);return n.l(e,"Rules","Rule",()=>is(e[hx],t)),n},ox=(e,t)=>{let n=new s(cd);return null!=e[ft]&&n.c(ic(e[ft],t).n(ft)),n},oE=(e,t)=>{let n=new s(cZ);return n.l(e,"Parts","Part",()=>o_(e[pR],t)),n},oC=(e,t)=>{let n=new s(cq);return n.cc(e,uz),n.cc(e,cA),n.cc(e,cI),n.cc(e,cG),n.cc(e,cK),null!=e[pk]&&n.c(s.of(pk,String(e[pk])).n(pk)),n},o_=(e,t)=>e.filter(e=>null!=e).map(e=>oC(e,t).n(gy)),ok=(e,t)=>{let n=new s(ui);return n.cc(e,dd),n.cc(e,d7),n},oO=(e,t)=>{let n=new s(cF);return n.l(e,"CORSRules","CORSRule",()=>oI(e[cU],t)),n},oA=(e,t)=>{let n=new s(cz);return n.cc(e,dy),n.l(e,"AllowedHeaders","AllowedHeader",()=>of(e[lV],t)),n.l(e,"AllowedMethods","AllowedMethod",()=>op(e[lX],t)),n.l(e,"AllowedOrigins","AllowedOrigin",()=>oh(e[lJ],t)),n.l(e,"ExposeHeaders","ExposeHeader",()=>oH(e[uP],t)),null!=e[fg]&&n.c(s.of(fg,String(e[fg])).n(fg)),n},oI=(e,t)=>e.filter(e=>null!=e).map(e=>oA(e,t).n(gy)),oP=(e,t)=>{let n=new s(ck);return null!=e[fe]&&n.c(s.of(cl,e[fe]).n(fe)),null!=e[d9]&&n.c(il(e[d9],t).n(d9)),null!=e[ct]&&n.c(ow(e[ct],t).n(ct)),n},oT=(e,t)=>{let n=new s(c6);return n.cc(e,u2),n.cc(e,uo),n.cc(e,pz),n.cc(e,pJ),n.cc(e,u1),n.cc(e,pF),null!=e[l2]&&n.c(s.of(l2,String(e[l2])).n(l2)),n},oR=(e,t)=>{let n=new s(c8);return n.cc(e,pU),n.cc(e,pz),n.cc(e,pJ),n.cc(e,u1),n.cc(e,pF),n},oM=(e,t)=>{let n=new s(ug);return null!=e[fL]&&n.c(s.of(pi,e[fL]).n(fL)),null!=e[uv]&&n.c(s.of(uv,String(e[uv])).n(uv)),null!=e[mz]&&n.c(s.of(mz,String(e[mz])).n(mz)),n},oN=(e,t)=>{let n=new s(uw);return n.l(e,"Objects","Object",()=>ix(e[pw],t)),null!=e[pD]&&n.c(s.of(pD,String(e[pD])).n(pD)),n},oj=(e,t)=>{let n=new s(uu);return null!=e[hE]&&n.c(s.of(ud,e[hE]).n(hE)),n},oD=(e,t)=>{let n=new s(uS);return null!=e[ct]&&n.c(s.of(cp,e[ct]).n(ct)),null!=e[ce]&&n.c(s.of(lG,e[ce]).n(ce)),n.cc(e,hO),null!=e[lZ]&&n.c(od(e[lZ],t).n(lZ)),null!=e[uA]&&n.c(oB(e[uA],t).n(uA)),null!=e[hg]&&n.c(iW(e[hg],t).n(hg)),null!=e[fN]&&n.c(id(e[fN],t).n(fN)),n},oL=(e,t)=>{let n=new s(uV);return null!=e[uU]&&n.c(s.of(hW,e[uU]).n(uU)),null!=e[d6]&&n.c(s.of(h1,e[d6]).n(d6)),n.cc(e,d5),n},oB=(e,t)=>{let n=new s(uA);return n.cc(e,p2),n},oZ=(e,t)=>{let n=new s(uI);return null!=e[d1]&&n.c(s.of(f6,e[d1]).n(d1)),n},oF=(e,t)=>new s(u_),oz=(e,t)=>e.filter(e=>null!=e).map(e=>s.of(uY,e).n(gy)),oU=(e,t)=>{let n=new s(uN);return null!=e[hE]&&n.c(s.of(uj,e[hE]).n(hE)),n},oH=(e,t)=>e.filter(e=>null!=e).map(e=>s.of(uT,e).n(gy)),oq=(e,t)=>{let n=new s(u4);return null!=e[fB]&&n.c(s.of(u5,e[fB]).n(fB)),null!=e[mL]&&n.c(s.of(u6,e[mL]).n(mL)),n},oV=(e,t)=>e.filter(e=>null!=e).map(e=>oq(e,t).n(gy)),oW=(e,t)=>{let n=new s(dr);return n.cc(e,mv),n},o$=(e,t)=>{let n=new s(dt);if(null!=e[du]){let r=oG(e[du],t).n(du);r.a("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),n.c(r)}return n.cc(e,pM),n},oG=(e,t)=>{let n=new s(du);return n.cc(e,uh),n.cc(e,uC),n.cc(e,dy),n.cc(e,mP),n.a("xsi:type",e[m_]),n},oK=(e,t)=>e.filter(e=>null!=e).map(e=>o$(e,t).n(dt)),oY=(e,t)=>{let n=new s(dv);return n.cc(e,me),n},oX=(e,t)=>{let n=new s(dD);return null!=e[c4]&&n.c(oT(e[c4],t).n(c4)),n.cc(e,ue),null!=e[dX]&&n.c(o7(e[dX],t).n(dX)),null!=e[pT]&&n.c(iM(e[pT],t).n(pT)),n},oQ=(e,t)=>{let n=new s(dF);return n.cc(e,pS),n.l(e,"Tags","Tag",()=>aa(e[mg],t)),n},oJ=(e,t)=>{let n=new s(dU);return null!=e[dh]&&n.c(s.of(dW,e[dh]).n(dh)),null!=e[u0]&&n.c(o0(e[u0],t).n(u0)),null!=e[hE]&&n.c(s.of(d$,e[hE]).n(hE)),n.l(e,"Tierings","Tiering",()=>ad(e[my],t)),n},o0=(e,t)=>{let n=new s(dV);return n.cc(e,pS),null!=e[mm]&&n.c(ao(e[mm],t).n(mm)),null!=e[lR]&&n.c(oQ(e[lR],t).n(lR)),n},o1=(e,t)=>{let n=new s(dm);return null!=e[uS]&&n.c(o2(e[uS],t).n(uS)),null!=e[dw]&&n.c(s.of(dw,String(e[dw])).n(dw)),null!=e[u0]&&n.c(o4(e[u0],t).n(u0)),null!=e[dh]&&n.c(s.of(d_,e[dh]).n(dh)),null!=e[dR]&&n.c(s.of(dk,e[dR]).n(dR)),n.lc(e,"OptionalFields","OptionalFields",()=>o5(e[f4],t)),null!=e[h6]&&n.c(o8(e[h6],t).n(h6)),n},o2=(e,t)=>{let n=new s(db);return null!=e[hk]&&n.c(o6(e[hk],t).n(hk)),n},o3=(e,t)=>{let n=new s(dS);return null!=e[h3]&&n.c(at(e[h3],t).n(hq)),null!=e[hJ]&&n.c(i9(e[hJ],t).n(hM)),n},o4=(e,t)=>{let n=new s(dx);return n.cc(e,pS),n},o5=(e,t)=>e.filter(e=>null!=e).map(e=>s.of(dT,e).n(u7)),o6=(e,t)=>{let n=new s(dL);return n.cc(e,lG),null!=e[ct]&&n.c(s.of(cp,e[ct]).n(ct)),null!=e[u9]&&n.c(s.of(dE,e[u9]).n(u9)),n.cc(e,pS),null!=e[uV]&&n.c(o3(e[uV],t).n(uV)),n},o8=(e,t)=>{let n=new s(dB);return null!=e[de]&&n.c(s.of(dC,e[de]).n(de)),n},o7=(e,t)=>{let n=new s(dQ);return null!=e[m_]&&n.c(s.of(d0,e[m_]).n(m_)),n},o9=(e,t)=>{let n=new s(dJ);return n.cc(e,pJ),n},ie=(e,t)=>{let n=new s(fi);return null!=e[dh]&&n.c(s.of(fH,e[dh]).n(dh)),null!=e[fr]&&n.c(s.of(fr,e[fr]).n(cM)),n.l(e,"Events","Event",()=>oz(e[uX],t)),null!=e[u0]&&n.c(iw(e[u0],t).n(u0)),n},it=(e,t)=>e.filter(e=>null!=e).map(e=>ie(e,t).n(gy)),ir=(e,t)=>{let n=new s(fn);return null!=e[uy]&&n.c(s.of(uy,(e[uy].toISOString().split(".")[0]+"Z").toString()).n(uy)),null!=e[uv]&&n.c(s.of(uv,String(e[uv])).n(uv)),null!=e[uM]&&n.c(s.of(uM,String(e[uM])).n(uM)),n},io=(e,t)=>{let n=new s(fu);return null!=e[uJ]&&n.c(ir(e[uJ],t).n(uJ)),n.cc(e,dy),n.cc(e,pS),null!=e[u0]&&n.c(ia(e[u0],t).n(u0)),null!=e[hE]&&n.c(s.of(uZ,e[hE]).n(hE)),n.l(e,"Transitions","Transition",()=>am(e[mE],t)),n.l(e,"NoncurrentVersionTransitions","NoncurrentVersionTransition",()=>iy(e[fX],t)),null!=e[fK]&&n.c(ig(e[fK],t).n(fK)),null!=e[l$]&&n.c(ol(e[l$],t).n(l$)),n},ii=(e,t)=>{let n=new s(fd);return n.cc(e,pS),n.l(e,"Tags","Tag",()=>aa(e[mg],t)),null!=e[pp]&&n.c(s.of(ph,String(e[pp])).n(pp)),null!=e[pm]&&n.c(s.of(pg,String(e[pm])).n(pm)),n},ia=(e,t)=>{let n=new s(ff);return h.Y5.visit(e,{Prefix:t=>{null!=e[pS]&&n.c(s.of(pS,t).n(pS))},Tag:r=>{null!=e[mm]&&n.c(ao(r,t).n(mm))},ObjectSizeGreaterThan:t=>{null!=e[pp]&&n.c(s.of(ph,String(t)).n(pp))},ObjectSizeLessThan:t=>{null!=e[pm]&&n.c(s.of(pg,String(t)).n(pm))},And:r=>{null!=e[lR]&&n.c(ii(r,t).n(lR))},_:(e,t)=>{if(!(t instanceof s||t instanceof a))throw Error("Unable to serialize unknown union members in XML.");n.c(new s(e).c(t))}}),n},is=(e,t)=>e.filter(e=>null!=e).map(e=>io(e,t).n(gy)),il=(e,t)=>{let n=new s(fa);return null!=e[m_]&&n.c(s.of(fp,e[m_]).n(m_)),null!=e[fB]&&n.c(s.of(fl,e[fB]).n(fB)),n},ic=(e,t)=>{let n=new s(ft);return n.cc(e,mr),n.lc(e,"TargetGrants","TargetGrants",()=>al(e[ml],t)),n.cc(e,md),null!=e[mu]&&n.c(ac(e[mu],t).n(mu)),n},iu=(e,t)=>{let n=new s(fx);return null!=e[fB]&&n.c(s.of(fA,e[fB]).n(fB)),null!=e[mL]&&n.c(s.of(fM,e[mL]).n(mL)),n},id=(e,t)=>{let n=new s(fN);return null!=e[hE]&&n.c(s.of(fT,e[hE]).n(hE)),null!=e[uH]&&n.c(i$(e[uH],t).n(uH)),n},ip=(e,t)=>{let n=new s(fm);return n.cc(e,pS),n.l(e,"Tags","Tag",()=>aa(e[mg],t)),n.cc(e,l1),n},ih=(e,t)=>{let n=new s(fv);return null!=e[dh]&&n.c(s.of(fk,e[dh]).n(dh)),null!=e[u0]&&n.c(im(e[u0],t).n(u0)),n},im=(e,t)=>{let n=new s(fE);return h.sl.visit(e,{Prefix:t=>{null!=e[pS]&&n.c(s.of(pS,t).n(pS))},Tag:r=>{null!=e[mm]&&n.c(ao(r,t).n(mm))},AccessPointArn:t=>{null!=e[l1]&&n.c(s.of(l1,t).n(l1))},And:r=>{null!=e[lR]&&n.c(ip(r,t).n(lR))},_:(e,t)=>{if(!(t instanceof s||t instanceof a))throw Error("Unable to serialize unknown union members in XML.");n.c(new s(e).c(t))}}),n},ig=(e,t)=>{let n=new s(fK);return null!=e[fU]&&n.c(s.of(uv,String(e[fU])).n(fU)),null!=e[fW]&&n.c(s.of(mM,String(e[fW])).n(fW)),n},iv=(e,t)=>{let n=new s(fQ);return null!=e[fU]&&n.c(s.of(uv,String(e[fU])).n(fU)),null!=e[hO]&&n.c(s.of(mh,e[hO]).n(hO)),null!=e[fW]&&n.c(s.of(mM,String(e[fW])).n(fW)),n},iy=(e,t)=>e.filter(e=>null!=e).map(e=>iv(e,t).n(gy)),ib=(e,t)=>{let n=new s(fZ);return n.l(e,"TopicConfigurations","TopicConfiguration",()=>ap(e[ma],t)),n.l(e,"QueueConfigurations","QueueConfiguration",()=>iL(e[pZ],t)),n.l(e,"LambdaFunctionConfigurations","CloudFunctionConfiguration",()=>it(e[fo],t)),null!=e[u_]&&n.c(oF(e[u_],t).n(u_)),n},iw=(e,t)=>{let n=new s(fF);return null!=e[d1]&&n.c(iJ(e[d1],t).n(hL)),n},iS=(e,t)=>{let n=new s(f5);return null!=e[d1]&&n.c(s.of(f6,e[d1]).n(d1)),null!=e[mj]&&n.c(s.of(pb,e[mj]).n(mj)),n},ix=(e,t)=>e.filter(e=>null!=e).map(e=>iS(e,t).n(gy)),iE=(e,t)=>{let n=new s(f7);return n.cc(e,f9),null!=e[hS]&&n.c(ik(e[hS],t).n(hS)),n},iC=(e,t)=>{let n=new s(pt);return null!=e[hE]&&n.c(s.of(pn,e[hE]).n(hE)),n},i_=(e,t)=>{let n=new s(po);return null!=e[fL]&&n.c(s.of(pi,e[fL]).n(fL)),null!=e[hv]&&n.c(s.of(uy,(e[hv].toISOString().split(".")[0]+"Z").toString()).n(hv)),n},ik=(e,t)=>{let n=new s(ps);return null!=e[ug]&&n.c(oM(e[ug],t).n(ug)),n},iO=(e,t)=>{let n=new s(f8);return null!=e[h5]&&n.c(i0(e[h5],t).n(h5)),n},iA=(e,t)=>{let n=new s(pf);return null!=e[c4]&&n.c(oR(e[c4],t).n(c4)),null!=e[dX]&&n.c(o9(e[dX],t).n(dX)),n},iI=(e,t)=>{let n=new s(fJ);return n.cc(e,uh),n.cc(e,dy),n},iP=(e,t)=>{let n=new s(f1);return n.l(e,"Rules","Rule",()=>iR(e[hx],t)),n},iT=(e,t)=>{let n=new s(f3);return n.cc(e,pl),n},iR=(e,t)=>e.filter(e=>null!=e).map(e=>iT(e,t).n(gy)),iM=(e,t)=>new s(p_),iN=(e,t)=>{let n=new s(pA);return n.cc(e,pC),n},ij=(e,t)=>{let n=new s(px);return null!=e[cm]&&n.c(s.of(h8,String(e[cm])).n(cm)),null!=e[dN]&&n.c(s.of(h8,String(e[dN])).n(dN)),null!=e[cg]&&n.c(s.of(h8,String(e[cg])).n(cg)),null!=e[p9]&&n.c(s.of(h8,String(e[p9])).n(p9)),n},iD=(e,t)=>{let n=new s(pB);return null!=e[dh]&&n.c(s.of(fH,e[dh]).n(dh)),null!=e[pL]&&n.c(s.of(pL,e[pL]).n(pH)),n.l(e,"Events","Event",()=>oz(e[uX],t)),null!=e[u0]&&n.c(iw(e[u0],t).n(u0)),n},iL=(e,t)=>e.filter(e=>null!=e).map(e=>iD(e,t).n(gy)),iB=(e,t)=>{let n=new s(hb);return n.cc(e,df),n.cc(e,dp),n.cc(e,pN),n.cc(e,p3),n.cc(e,p4),n},iZ=(e,t)=>{let n=new s(pV);return n.cc(e,df),n.cc(e,pN),n},iF=(e,t)=>{let n=new s(p5);return null!=e[hE]&&n.c(s.of(p6,e[hE]).n(hE)),n},iz=(e,t)=>{let n=new s(pQ);return n.cc(e,hw),n.l(e,"Rules","Rule",()=>iV(e[hx],t)),n},iU=(e,t)=>{let n=new s(hs);return n.cc(e,dy),null!=e[pj]&&n.c(s.of(pj,String(e[pj])).n(pj)),n.cc(e,pS),null!=e[u0]&&n.c(iq(e[u0],t).n(u0)),null!=e[hE]&&n.c(s.of(hi,e[hE]).n(hE)),null!=e[hV]&&n.c(i7(e[hV],t).n(hV)),null!=e[uN]&&n.c(oU(e[uN],t).n(uN)),null!=e[uS]&&n.c(oD(e[uS],t).n(uS)),null!=e[uu]&&n.c(oj(e[uu],t).n(uu)),n},iH=(e,t)=>{let n=new s(hr);return n.cc(e,pS),n.l(e,"Tags","Tag",()=>aa(e[mg],t)),n},iq=(e,t)=>{let n=new s(ho);return h.Qr.visit(e,{Prefix:t=>{null!=e[pS]&&n.c(s.of(pS,t).n(pS))},Tag:r=>{null!=e[mm]&&n.c(ao(r,t).n(mm))},And:r=>{null!=e[lR]&&n.c(iH(r,t).n(lR))},_:(e,t)=>{if(!(t instanceof s||t instanceof a))throw Error("Unable to serialize unknown union members in XML.");n.c(new s(e).c(t))}}),n},iV=(e,t)=>e.filter(e=>null!=e).map(e=>iU(e,t).n(gy)),iW=(e,t)=>{let n=new s(hg);return null!=e[hE]&&n.c(s.of(hh,e[hE]).n(hE)),null!=e[mw]&&n.c(i$(e[mw],t).n(mw)),n},i$=(e,t)=>{let n=new s(hm);return null!=e[fD]&&n.c(s.of(fD,String(e[fD])).n(fD)),n},iG=(e,t)=>{let n=new s(he);return n.cc(e,pI),n},iK=(e,t)=>{let n=new s(ht);return null!=e[uW]&&n.c(s.of(uD,String(e[uW])).n(uW)),n},iY=(e,t)=>{let n=new s(hl);return null!=e[uv]&&n.c(s.of(uv,String(e[uv])).n(uv)),null!=e[dr]&&n.c(oW(e[dr],t).n(dr)),null!=e[m_]&&n.c(s.of(ha,e[m_]).n(m_)),n.cc(e,mv),n.cc(e,ux),null!=e[hz]&&n.c(i2(e[hz],t).n(hz)),null!=e[f8]&&n.c(iO(e[f8],t).n(f8)),n},iX=(e,t)=>{let n=new s(hu);return null!=e[ui]&&n.c(ok(e[ui],t).n(ui)),null!=e[hb]&&n.c(iB(e[hb],t).n(hb)),n},iQ=(e,t)=>e.filter(e=>null!=e).map(e=>iX(e,t).n(hu)),iJ=(e,t)=>{let n=new s(hD);return n.l(e,"FilterRules","FilterRule",()=>oV(e[u8],t)),n},i0=(e,t)=>{let n=new s(hB);return n.cc(e,cp),null!=e[pS]&&n.c(s.of(fc,e[pS]).n(pS)),null!=e[uV]&&n.c(oL(e[uV],t).n(uV)),null!=e[c_]&&n.c(s.of(f2,e[c_]).n(c_)),n.lc(e,"AccessControlList","AccessControlList",()=>oK(e[lD],t)),null!=e[mt]&&n.c(ai(e[mt],t).n(mt)),n.lc(e,"UserMetadata","UserMetadata",()=>ag(e[mI],t)),n.cc(e,hO),n},i1=(e,t)=>{let n=new s(hH);return null!=e[h9]&&n.c(s.of(h9,String(e[h9])).n(h9)),null!=e[u$]&&n.c(s.of(u$,String(e[u$])).n(u$)),n},i2=(e,t)=>{let n=new s(hz);return null!=e[dD]&&n.c(oX(e[dD],t).n(dD)),n.cc(e,uq),n.cc(e,uQ),null!=e[pf]&&n.c(iA(e[pf],t).n(pf)),n},i3=(e,t)=>{let n=new s(hG);return null!=e[h$]&&n.c(s.of(hW,e[h$]).n(h$)),null!=e[d8]&&n.c(s.of(h1,e[d8]).n(d8)),n},i4=(e,t)=>{let n=new s(hK);return n.l(e,"Rules","Rule",()=>i6(e[hx],t)),n},i5=(e,t)=>{let n=new s(h2);return null!=e[l7]&&n.c(i3(e[l7],t).n(l7)),null!=e[ca]&&n.c(s.of(ca,String(e[ca])).n(ca)),n},i6=(e,t)=>e.filter(e=>null!=e).map(e=>i5(e,t).n(gy)),i8=(e,t)=>new s(hU),i7=(e,t)=>{let n=new s(hV);return null!=e[hN]&&n.c(ae(e[hN],t).n(hN)),null!=e[p5]&&n.c(iF(e[p5],t).n(p5)),n},i9=(e,t)=>{let n=new s(hM);return null!=e[d3]&&n.c(s.of(h1,e[d3]).n(d3)),n},ae=(e,t)=>{let n=new s(hN);return null!=e[hE]&&n.c(s.of(hj,e[hE]).n(hE)),n},at=(e,t)=>new s(hq),an=(e,t)=>{let n=new s(hA);return null!=e[ul]&&n.c(ar(e[ul],t).n(ul)),n},ar=(e,t)=>{let n=new s(hI);return null!=e[pv]&&n.c(s.of(hP,e[pv]).n(pv)),null!=e[uS]&&n.c(ov(e[uS],t).n(uS)),n},ao=(e,t)=>{let n=new s(mm);return null!=e[d1]&&n.c(s.of(f6,e[d1]).n(d1)),n.cc(e,mL),n},ai=(e,t)=>{let n=new s(mt);return n.lc(e,"TagSet","TagSet",()=>aa(e[mp],t)),n},aa=(e,t)=>e.filter(e=>null!=e).map(e=>ao(e,t).n(mm)),as=(e,t)=>{let n=new s(mc);if(null!=e[du]){let r=oG(e[du],t).n(du);r.a("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),n.c(r)}return null!=e[pM]&&n.c(s.of(cu,e[pM]).n(pM)),n},al=(e,t)=>e.filter(e=>null!=e).map(e=>as(e,t).n(dt)),ac=(e,t)=>{let n=new s(mu);return null!=e[hU]&&n.c(i8(e[hU],t).n(hU)),null!=e[pA]&&n.c(iN(e[pA],t).n(pA)),n},au=(e,t)=>{let n=new s(mb);return null!=e[uv]&&n.c(s.of(dq,String(e[uv])).n(uv)),null!=e[l9]&&n.c(s.of(dz,e[l9]).n(l9)),n},ad=(e,t)=>e.filter(e=>null!=e).map(e=>au(e,t).n(gy)),af=(e,t)=>{let n=new s(mi);return null!=e[dh]&&n.c(s.of(fH,e[dh]).n(dh)),null!=e[mn]&&n.c(s.of(mn,e[mn]).n(mx)),n.l(e,"Events","Event",()=>oz(e[uX],t)),null!=e[u0]&&n.c(iw(e[u0],t).n(u0)),n},ap=(e,t)=>e.filter(e=>null!=e).map(e=>af(e,t).n(gy)),ah=(e,t)=>{let n=new s(mC);return null!=e[uy]&&n.c(s.of(uy,(e[uy].toISOString().split(".")[0]+"Z").toString()).n(uy)),null!=e[uv]&&n.c(s.of(uv,String(e[uv])).n(uv)),null!=e[hO]&&n.c(s.of(mh,e[hO]).n(hO)),n},am=(e,t)=>e.filter(e=>null!=e).map(e=>ah(e,t).n(gy)),ag=(e,t)=>e.filter(e=>null!=e).map(e=>iu(e,t).n(fx)),av=(e,t)=>{let n=new s(mN);return null!=e[f_]&&n.c(s.of(f_,e[f_]).n(fS)),null!=e[hE]&&n.c(s.of(cS,e[hE]).n(hE)),n},ay=(e,t)=>{let n=new s(mZ);return null!=e[uI]&&n.c(oZ(e[uI],t).n(uI)),null!=e[dv]&&n.c(oY(e[dv],t).n(dv)),null!=e[pV]&&n.c(iZ(e[pV],t).n(pV)),n.lc(e,"RoutingRules","RoutingRules",()=>iQ(e[hc],t)),n},ab=(e,t)=>{let n={};return null!=e[us]&&(n[us]=(0,u.AF)(e[us])),n},aw=(e,t)=>{let n={};return null!=e[fJ]&&(n[fJ]=(0,u.pY)(e[fJ])),n},aS=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>(0,u.pY)(e)),ax=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>(0,u.pY)(e)),aE=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>(0,u.pY)(e)),aC=(e,t)=>{let n={};return null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),""===e.Tag?n[mg]=[]:null!=e[mm]&&(n[mg]=lb((0,u.L)(e[mm]),t)),n},a_=(e,t)=>{let n={};return null!=e[dh]&&(n[dh]=(0,u.pY)(e[dh])),""===e.Filter||null!=e[u0]&&(n[u0]=aA((0,u.$I)(e[u0]),t)),null!=e[hA]&&(n[hA]=lg(e[hA],t)),n},ak=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>a_(e,t)),aO=(e,t)=>{let n={};return null!=e[hk]&&(n[hk]=aI(e[hk],t)),n},aA=(e,t)=>null!=e[pS]?{Prefix:(0,u.pY)(e[pS])}:null!=e[mm]?{Tag:ly(e[mm],t)}:null!=e[lR]?{And:aC(e[lR],t)}:{$unknown:Object.entries(e)[0]},aI=(e,t)=>{let n={};return null!=e[u9]&&(n[u9]=(0,u.pY)(e[u9])),null!=e[cn]&&(n[cn]=(0,u.pY)(e[cn])),null!=e[ct]&&(n[ct]=(0,u.pY)(e[ct])),null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),n},aP=(e,t)=>{let n={};return null!=e[fB]&&(n[fB]=(0,u.pY)(e[fB])),null!=e[cT]&&(n[cT]=(0,u.CE)((0,u.aH)(e[cT]))),n},aT=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>aP(e,t)),aR=(e,t)=>{let n={};return null!=e[cA]&&(n[cA]=(0,u.pY)(e[cA])),null!=e[cI]&&(n[cI]=(0,u.pY)(e[cI])),null!=e[cG]&&(n[cG]=(0,u.pY)(e[cG])),null!=e[cK]&&(n[cK]=(0,u.pY)(e[cK])),n},aM=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>(0,u.pY)(e)),aN=(e,t)=>{let n={};return null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),n},aj=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>aN(e,t)),aD=(e,t)=>{let n={};return null!=e[dd]&&(n[dd]=(0,u.pY)(e[dd])),null!=e[d7]&&(n[d7]=(0,u.pY)(e[d7])),n},aL=(e,t)=>({}),aB=(e,t)=>{let n={};return null!=e[uz]&&(n[uz]=(0,u.pY)(e[uz])),null!=e[fs]&&(n[fs]=(0,u.CE)((0,u.aH)(e[fs]))),null!=e[cA]&&(n[cA]=(0,u.pY)(e[cA])),null!=e[cI]&&(n[cI]=(0,u.pY)(e[cI])),null!=e[cG]&&(n[cG]=(0,u.pY)(e[cG])),null!=e[cK]&&(n[cK]=(0,u.pY)(e[cK])),n},aZ=(e,t)=>{let n={};return null!=e[uz]&&(n[uz]=(0,u.pY)(e[uz])),null!=e[fs]&&(n[fs]=(0,u.CE)((0,u.aH)(e[fs]))),null!=e[cA]&&(n[cA]=(0,u.pY)(e[cA])),null!=e[cI]&&(n[cI]=(0,u.pY)(e[cI])),null!=e[cG]&&(n[cG]=(0,u.pY)(e[cG])),null!=e[cK]&&(n[cK]=(0,u.pY)(e[cK])),n},aF=(e,t)=>{let n={};return null!=e[dy]&&(n[dy]=(0,u.pY)(e[dy])),""===e.AllowedHeader?n[lV]=[]:null!=e[lq]&&(n[lV]=aS((0,u.L)(e[lq]),t)),""===e.AllowedMethod?n[lX]=[]:null!=e[lY]&&(n[lX]=ax((0,u.L)(e[lY]),t)),""===e.AllowedOrigin?n[lJ]=[]:null!=e[lQ]&&(n[lJ]=aE((0,u.L)(e[lQ]),t)),""===e.ExposeHeader?n[uP]=[]:null!=e[uT]&&(n[uP]=a3((0,u.L)(e[uT]),t)),null!=e[fg]&&(n[fg]=(0,u.AF)(e[fg])),n},az=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>aF(e,t)),aU=(e,t)=>{let n={};return null!=e[fL]&&(n[fL]=(0,u.pY)(e[fL])),null!=e[uv]&&(n[uv]=(0,u.AF)(e[uv])),null!=e[mz]&&(n[mz]=(0,u.AF)(e[mz])),n},aH=(e,t)=>{let n={};return null!=e[d1]&&(n[d1]=(0,u.pY)(e[d1])),null!=e[mj]&&(n[mj]=(0,u.pY)(e[mj])),null!=e[uc]&&(n[uc]=(0,u.gx)(e[uc])),null!=e[uf]&&(n[uf]=(0,u.pY)(e[uf])),n},aq=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>aH(e,t)),aV=(e,t)=>{let n={};return null!=e[fJ]&&(n[fJ]=sU(e[fJ],t)),null!=e[d1]&&(n[d1]=(0,u.pY)(e[d1])),null!=e[mj]&&(n[mj]=(0,u.pY)(e[mj])),null!=e[dO]&&(n[dO]=(0,u.gx)(e[dO])),null!=e[fs]&&(n[fs]=(0,u.CE)((0,u.aH)(e[fs]))),n},aW=(e,t)=>{let n={};return null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),n},a$=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>aV(e,t)),aG=(e,t)=>{let n={};return null!=e[ct]&&(n[ct]=(0,u.pY)(e[ct])),null!=e[ce]&&(n[ce]=(0,u.pY)(e[ce])),null!=e[hO]&&(n[hO]=(0,u.pY)(e[hO])),null!=e[lZ]&&(n[lZ]=aw(e[lZ],t)),null!=e[uA]&&(n[uA]=aK(e[uA],t)),null!=e[hg]&&(n[hg]=s9(e[hg],t)),null!=e[fN]&&(n[fN]=sx(e[fN],t)),n},aK=(e,t)=>{let n={};return null!=e[p2]&&(n[p2]=(0,u.pY)(e[p2])),n},aY=(e,t)=>({}),aX=(e,t)=>{let n={};return null!=e[d1]&&(n[d1]=(0,u.pY)(e[d1])),null!=e[mj]&&(n[mj]=(0,u.pY)(e[mj])),null!=e[ur]&&(n[ur]=(0,u.pY)(e[ur])),null!=e[fj]&&(n[fj]=(0,u.pY)(e[fj])),n},aQ=(e,t)=>{let n={};return null!=e[d1]&&(n[d1]=(0,u.pY)(e[d1])),n},aJ=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>aX(e,t)),a0=(e,t)=>({}),a1=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>(0,u.pY)(e)),a2=(e,t)=>{let n={};return null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),n},a3=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>(0,u.pY)(e)),a4=(e,t)=>{let n={};return null!=e[fB]&&(n[fB]=(0,u.pY)(e[fB])),null!=e[mL]&&(n[mL]=(0,u.pY)(e[mL])),n},a5=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>a4(e,t)),a6=(e,t)=>{let n={};return null!=e[pE]&&(n[mf]=(0,u.AF)(e[pE])),null!=e[pO]&&(n[pO]=(0,u.pY)(e[pO])),null!=e[f$]&&(n[f$]=(0,u.pY)(e[f$])),null!=e[fP]&&(n[fP]=(0,u.AF)(e[fP])),null!=e[dZ]&&(n[dZ]=(0,u.gx)(e[dZ])),""===e.Part?n[pR]=[]:null!=e[pP]&&(n[pR]=sK((0,u.L)(e[pP]),t)),n},a8=(e,t)=>{let n={};return null!=e[du]&&(n[du]=a7(e[du],t)),null!=e[pM]&&(n[pM]=(0,u.pY)(e[pM])),n},a7=(e,t)=>{let n={};return null!=e[uh]&&(n[uh]=(0,u.pY)(e[uh])),null!=e[uC]&&(n[uC]=(0,u.pY)(e[uC])),null!=e[dy]&&(n[dy]=(0,u.pY)(e[dy])),null!=e[mP]&&(n[mP]=(0,u.pY)(e[mP])),null!=e[g3]&&(n[m_]=(0,u.pY)(e[g3])),n},a9=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>a8(e,t)),se=(e,t)=>{let n={};return null!=e[me]&&(n[me]=(0,u.pY)(e[me])),n},st=(e,t)=>{let n={};return null!=e[dy]&&(n[dy]=(0,u.pY)(e[dy])),null!=e[uh]&&(n[uh]=(0,u.pY)(e[uh])),n},sn=(e,t)=>{let n={};return null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),""===e.Tag?n[mg]=[]:null!=e[mm]&&(n[mg]=lb((0,u.L)(e[mm]),t)),n},sr=(e,t)=>{let n={};return null!=e[dh]&&(n[dh]=(0,u.pY)(e[dh])),null!=e[u0]&&(n[u0]=si(e[u0],t)),null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),""===e.Tiering?n[my]=[]:null!=e[mb]&&(n[my]=lC((0,u.L)(e[mb]),t)),n},so=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sr(e,t)),si=(e,t)=>{let n={};return null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),null!=e[mm]&&(n[mm]=ly(e[mm],t)),null!=e[lR]&&(n[lR]=sn(e[lR],t)),n},sa=(e,t)=>{let n={};return null!=e[uS]&&(n[uS]=sl(e[uS],t)),null!=e[dw]&&(n[dw]=(0,u.gx)(e[dw])),null!=e[u0]&&(n[u0]=su(e[u0],t)),null!=e[dh]&&(n[dh]=(0,u.pY)(e[dh])),null!=e[dR]&&(n[dR]=(0,u.pY)(e[dR])),""===e.OptionalFields?n[f4]=[]:null!=e[f4]&&null!=e[f4][u7]&&(n[f4]=sd((0,u.L)(e[f4][u7]),t)),null!=e[h6]&&(n[h6]=sp(e[h6],t)),n},ss=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sa(e,t)),sl=(e,t)=>{let n={};return null!=e[hk]&&(n[hk]=sf(e[hk],t)),n},sc=(e,t)=>{let n={};return null!=e[hq]&&(n[h3]=lh(e[hq],t)),null!=e[hM]&&(n[hJ]=lf(e[hM],t)),n},su=(e,t)=>{let n={};return null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),n},sd=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>(0,u.pY)(e)),sf=(e,t)=>{let n={};return null!=e[lG]&&(n[lG]=(0,u.pY)(e[lG])),null!=e[ct]&&(n[ct]=(0,u.pY)(e[ct])),null!=e[u9]&&(n[u9]=(0,u.pY)(e[u9])),null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),null!=e[uV]&&(n[uV]=sc(e[uV],t)),n},sp=(e,t)=>{let n={};return null!=e[de]&&(n[de]=(0,u.pY)(e[de])),n},sh=(e,t)=>{let n={};return null!=e[dh]&&(n[dh]=(0,u.pY)(e[dh])),null!=e[cM]&&(n[fr]=(0,u.pY)(e[cM])),""===e.Event?n[uX]=[]:null!=e[uY]&&(n[uX]=a1((0,u.L)(e[uY]),t)),null!=e[u0]&&(n[u0]=sR(e[u0],t)),n},sm=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sh(e,t)),sg=(e,t)=>{let n={};return null!=e[uy]&&(n[uy]=(0,u.CE)((0,u.aH)(e[uy]))),null!=e[uv]&&(n[uv]=(0,u.AF)(e[uv])),null!=e[uM]&&(n[uM]=(0,u.gx)(e[uM])),n},sv=(e,t)=>{let n={};return null!=e[uJ]&&(n[uJ]=sg(e[uJ],t)),null!=e[dy]&&(n[dy]=(0,u.pY)(e[dy])),null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),""===e.Filter||null!=e[u0]&&(n[u0]=sb((0,u.$I)(e[u0]),t)),null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),""===e.Transition?n[mE]=[]:null!=e[mC]&&(n[mE]=lA((0,u.L)(e[mC]),t)),""===e.NoncurrentVersionTransition?n[fX]=[]:null!=e[fQ]&&(n[fX]=sT((0,u.L)(e[fQ]),t)),null!=e[fK]&&(n[fK]=sI(e[fK],t)),null!=e[l$]&&(n[l$]=ab(e[l$],t)),n},sy=(e,t)=>{let n={};return null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),""===e.Tag?n[mg]=[]:null!=e[mm]&&(n[mg]=lb((0,u.L)(e[mm]),t)),null!=e[pp]&&(n[pp]=(0,u.NK)(e[pp])),null!=e[pm]&&(n[pm]=(0,u.NK)(e[pm])),n},sb=(e,t)=>null!=e[pS]?{Prefix:(0,u.pY)(e[pS])}:null!=e[mm]?{Tag:ly(e[mm],t)}:null!=e[pp]?{ObjectSizeGreaterThan:(0,u.NK)(e[pp])}:null!=e[pm]?{ObjectSizeLessThan:(0,u.NK)(e[pm])}:null!=e[lR]?{And:sy(e[lR],t)}:{$unknown:Object.entries(e)[0]},sw=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sv(e,t)),sS=(e,t)=>{let n={};return null!=e[mr]&&(n[mr]=(0,u.pY)(e[mr])),""===e.TargetGrants?n[ml]=[]:null!=e[ml]&&null!=e[ml][dt]&&(n[ml]=lS((0,u.L)(e[ml][dt]),t)),null!=e[md]&&(n[md]=(0,u.pY)(e[md])),null!=e[mu]&&(n[mu]=lx(e[mu],t)),n},sx=(e,t)=>{let n={};return null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),null!=e[uH]&&(n[uH]=le(e[uH],t)),n},sE=(e,t)=>{let n={};return null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),""===e.Tag?n[mg]=[]:null!=e[mm]&&(n[mg]=lb((0,u.L)(e[mm]),t)),null!=e[l1]&&(n[l1]=(0,u.pY)(e[l1])),n},sC=(e,t)=>{let n={};return null!=e[dh]&&(n[dh]=(0,u.pY)(e[dh])),""===e.Filter||null!=e[u0]&&(n[u0]=sk((0,u.$I)(e[u0]),t)),n},s_=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sC(e,t)),sk=(e,t)=>null!=e[pS]?{Prefix:(0,u.pY)(e[pS])}:null!=e[mm]?{Tag:ly(e[mm],t)}:null!=e[l1]?{AccessPointArn:(0,u.pY)(e[l1])}:null!=e[lR]?{And:sE(e[lR],t)}:{$unknown:Object.entries(e)[0]},sO=(e,t)=>{let n={};return null!=e[mO]&&(n[mO]=(0,u.pY)(e[mO])),null!=e[d1]&&(n[d1]=(0,u.pY)(e[d1])),null!=e[dY]&&(n[dY]=(0,u.CE)((0,u.aH)(e[dY]))),null!=e[hO]&&(n[hO]=(0,u.pY)(e[hO])),null!=e[fJ]&&(n[fJ]=sU(e[fJ],t)),null!=e[dK]&&(n[dK]=st(e[dK],t)),null!=e[cC]&&(n[cC]=(0,u.pY)(e[cC])),n},sA=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sO(e,t)),sI=(e,t)=>{let n={};return null!=e[fU]&&(n[fU]=(0,u.AF)(e[fU])),null!=e[fW]&&(n[fW]=(0,u.AF)(e[fW])),n},sP=(e,t)=>{let n={};return null!=e[fU]&&(n[fU]=(0,u.AF)(e[fU])),null!=e[hO]&&(n[hO]=(0,u.pY)(e[hO])),null!=e[fW]&&(n[fW]=(0,u.AF)(e[fW])),n},sT=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sP(e,t)),sR=(e,t)=>{let n={};return null!=e[hL]&&(n[d1]=lo(e[hL],t)),n},sM=(e,t)=>{let n={};return null!=e[d1]&&(n[d1]=(0,u.pY)(e[d1])),null!=e[fs]&&(n[fs]=(0,u.CE)((0,u.aH)(e[fs]))),null!=e[uz]&&(n[uz]=(0,u.pY)(e[uz])),""===e.ChecksumAlgorithm?n[cC]=[]:null!=e[cC]&&(n[cC]=aM((0,u.L)(e[cC]),t)),null!=e[h7]&&(n[h7]=(0,u.NK)(e[h7])),null!=e[hO]&&(n[hO]=(0,u.pY)(e[hO])),null!=e[fJ]&&(n[fJ]=sU(e[fJ],t)),null!=e[hf]&&(n[hf]=lt(e[hf],t)),n},sN=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sM(e,t)),sj=(e,t)=>{let n={};return null!=e[f9]&&(n[f9]=(0,u.pY)(e[f9])),null!=e[hS]&&(n[hS]=sB(e[hS],t)),n},sD=(e,t)=>{let n={};return null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),n},sL=(e,t)=>{let n={};return null!=e[fL]&&(n[fL]=(0,u.pY)(e[fL])),null!=e[hv]&&(n[hv]=(0,u.CE)((0,u.aH)(e[hv]))),n},sB=(e,t)=>{let n={};return null!=e[ug]&&(n[ug]=aU(e[ug],t)),n},sZ=(e,t)=>{let n={};return null!=e[pk]&&(n[pk]=(0,u.AF)(e[pk])),null!=e[h7]&&(n[h7]=(0,u.NK)(e[h7])),null!=e[cA]&&(n[cA]=(0,u.pY)(e[cA])),null!=e[cI]&&(n[cI]=(0,u.pY)(e[cI])),null!=e[cG]&&(n[cG]=(0,u.pY)(e[cG])),null!=e[cK]&&(n[cK]=(0,u.pY)(e[cK])),n},sF=(e,t)=>{let n={};return null!=e[uz]&&(n[uz]=(0,u.pY)(e[uz])),""===e.ChecksumAlgorithm?n[cC]=[]:null!=e[cC]&&(n[cC]=aM((0,u.L)(e[cC]),t)),null!=e[h7]&&(n[h7]=(0,u.NK)(e[h7])),null!=e[hO]&&(n[hO]=(0,u.pY)(e[hO])),null!=e[d1]&&(n[d1]=(0,u.pY)(e[d1])),null!=e[mj]&&(n[mj]=(0,u.pY)(e[mj])),null!=e[dO]&&(n[dO]=(0,u.gx)(e[dO])),null!=e[fs]&&(n[fs]=(0,u.CE)((0,u.aH)(e[fs]))),null!=e[fJ]&&(n[fJ]=sU(e[fJ],t)),null!=e[hf]&&(n[hf]=lt(e[hf],t)),n},sz=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sF(e,t)),sU=(e,t)=>{let n={};return null!=e[uh]&&(n[uh]=(0,u.pY)(e[uh])),null!=e[dy]&&(n[dy]=(0,u.pY)(e[dy])),n},sH=(e,t)=>{let n={};return""===e.Rule?n[hx]=[]:null!=e[hS]&&(n[hx]=sV((0,u.L)(e[hS]),t)),n},sq=(e,t)=>{let n={};return null!=e[pl]&&(n[pl]=(0,u.pY)(e[pl])),n},sV=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sq(e,t)),sW=(e,t)=>{let n={};return null!=e[pk]&&(n[pk]=(0,u.AF)(e[pk])),null!=e[fs]&&(n[fs]=(0,u.CE)((0,u.aH)(e[fs]))),null!=e[uz]&&(n[uz]=(0,u.pY)(e[uz])),null!=e[h7]&&(n[h7]=(0,u.NK)(e[h7])),null!=e[cA]&&(n[cA]=(0,u.pY)(e[cA])),null!=e[cI]&&(n[cI]=(0,u.pY)(e[cI])),null!=e[cG]&&(n[cG]=(0,u.pY)(e[cG])),null!=e[cK]&&(n[cK]=(0,u.pY)(e[cK])),n},s$=(e,t)=>{let n={};return null!=e[pC]&&(n[pC]=(0,u.pY)(e[pC])),n},sG=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sW(e,t)),sK=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sZ(e,t)),sY=(e,t)=>{let n={};return null!=e[dM]&&(n[dM]=(0,u.gx)(e[dM])),n},sX=(e,t)=>{let n={};return null!=e[cb]&&(n[cb]=(0,u.NK)(e[cb])),null!=e[ch]&&(n[ch]=(0,u.NK)(e[ch])),null!=e[cy]&&(n[cy]=(0,u.NK)(e[cy])),n},sQ=(e,t)=>{let n={};return null!=e[cm]&&(n[cm]=(0,u.gx)(e[cm])),null!=e[dN]&&(n[dN]=(0,u.gx)(e[dN])),null!=e[cg]&&(n[cg]=(0,u.gx)(e[cg])),null!=e[p9]&&(n[p9]=(0,u.gx)(e[p9])),n},sJ=(e,t)=>{let n={};return null!=e[dh]&&(n[dh]=(0,u.pY)(e[dh])),null!=e[pH]&&(n[pL]=(0,u.pY)(e[pH])),""===e.Event?n[uX]=[]:null!=e[uY]&&(n[uX]=a1((0,u.L)(e[uY]),t)),null!=e[u0]&&(n[u0]=sR(e[u0],t)),n},s0=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>sJ(e,t)),s1=(e,t)=>{let n={};return null!=e[df]&&(n[df]=(0,u.pY)(e[df])),null!=e[dp]&&(n[dp]=(0,u.pY)(e[dp])),null!=e[pN]&&(n[pN]=(0,u.pY)(e[pN])),null!=e[p3]&&(n[p3]=(0,u.pY)(e[p3])),null!=e[p4]&&(n[p4]=(0,u.pY)(e[p4])),n},s2=(e,t)=>{let n={};return null!=e[df]&&(n[df]=(0,u.pY)(e[df])),null!=e[pN]&&(n[pN]=(0,u.pY)(e[pN])),n},s3=(e,t)=>{let n={};return null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),n},s4=(e,t)=>{let n={};return null!=e[hw]&&(n[hw]=(0,u.pY)(e[hw])),""===e.Rule?n[hx]=[]:null!=e[hS]&&(n[hx]=s7((0,u.L)(e[hS]),t)),n},s5=(e,t)=>{let n={};return null!=e[dy]&&(n[dy]=(0,u.pY)(e[dy])),null!=e[pj]&&(n[pj]=(0,u.AF)(e[pj])),null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),""===e.Filter||null!=e[u0]&&(n[u0]=s8((0,u.$I)(e[u0]),t)),null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),null!=e[hV]&&(n[hV]=ld(e[hV],t)),null!=e[uN]&&(n[uN]=a2(e[uN],t)),null!=e[uS]&&(n[uS]=aG(e[uS],t)),null!=e[uu]&&(n[uu]=aW(e[uu],t)),n},s6=(e,t)=>{let n={};return null!=e[pS]&&(n[pS]=(0,u.pY)(e[pS])),""===e.Tag?n[mg]=[]:null!=e[mm]&&(n[mg]=lb((0,u.L)(e[mm]),t)),n},s8=(e,t)=>null!=e[pS]?{Prefix:(0,u.pY)(e[pS])}:null!=e[mm]?{Tag:ly(e[mm],t)}:null!=e[lR]?{And:s6(e[lR],t)}:{$unknown:Object.entries(e)[0]},s7=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>s5(e,t)),s9=(e,t)=>{let n={};return null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),null!=e[mw]&&(n[mw]=le(e[mw],t)),n},le=(e,t)=>{let n={};return null!=e[fD]&&(n[fD]=(0,u.AF)(e[fD])),n},lt=(e,t)=>{let n={};return null!=e[dj]&&(n[dj]=(0,u.gx)(e[dj])),null!=e[p1]&&(n[p1]=(0,u.CE)((0,u.aH)(e[p1]))),n},ln=(e,t)=>{let n={};return null!=e[ui]&&(n[ui]=aD(e[ui],t)),null!=e[hb]&&(n[hb]=s1(e[hb],t)),n},lr=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>ln(e,t)),lo=(e,t)=>{let n={};return""===e.FilterRule?n[u8]=[]:null!=e[u4]&&(n[u8]=a5((0,u.L)(e[u4]),t)),n},li=(e,t)=>{let n={};return null!=e[h$]&&(n[h$]=(0,u.pY)(e[h$])),null!=e[d8]&&(n[d8]=(0,u.pY)(e[d8])),n},la=(e,t)=>{let n={};return""===e.Rule?n[hx]=[]:null!=e[hS]&&(n[hx]=ll((0,u.L)(e[hS]),t)),n},ls=(e,t)=>{let n={};return null!=e[l7]&&(n[l7]=li(e[l7],t)),null!=e[ca]&&(n[ca]=(0,u.gx)(e[ca])),n},ll=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>ls(e,t)),lc=(e,t)=>{let n={};return null!=e[lK]&&(n[lK]=(0,u.pY)(e[lK])),null!=e[h_]&&(n[h_]=(0,u.pY)(e[h_])),null!=e[h4]&&(n[h4]=(0,u.pY)(e[h4])),null!=e[uJ]&&(n[uJ]=(0,u.CE)((0,u.aH)(e[uJ]))),n},lu=(e,t)=>({}),ld=(e,t)=>{let n={};return null!=e[hN]&&(n[hN]=lp(e[hN],t)),null!=e[p5]&&(n[p5]=s3(e[p5],t)),n},lf=(e,t)=>{let n={};return null!=e[d3]&&(n[d3]=(0,u.pY)(e[d3])),n},lp=(e,t)=>{let n={};return null!=e[hE]&&(n[hE]=(0,u.pY)(e[hE])),n},lh=(e,t)=>({}),lm=(e,t)=>{let n={};return null!=e[cb]&&(n[cb]=(0,u.NK)(e[cb])),null!=e[ch]&&(n[ch]=(0,u.NK)(e[ch])),null!=e[cy]&&(n[cy]=(0,u.NK)(e[cy])),n},lg=(e,t)=>{let n={};return null!=e[ul]&&(n[ul]=lv(e[ul],t)),n},lv=(e,t)=>{let n={};return null!=e[pv]&&(n[pv]=(0,u.pY)(e[pv])),null!=e[uS]&&(n[uS]=aO(e[uS],t)),n},ly=(e,t)=>{let n={};return null!=e[d1]&&(n[d1]=(0,u.pY)(e[d1])),null!=e[mL]&&(n[mL]=(0,u.pY)(e[mL])),n},lb=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>ly(e,t)),lw=(e,t)=>{let n={};return null!=e[du]&&(n[du]=a7(e[du],t)),null!=e[pM]&&(n[pM]=(0,u.pY)(e[pM])),n},lS=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>lw(e,t)),lx=(e,t)=>{let n={};return null!=e[hU]&&(n[hU]=lu(e[hU],t)),null!=e[pA]&&(n[pA]=s$(e[pA],t)),n},lE=(e,t)=>{let n={};return null!=e[uv]&&(n[uv]=(0,u.AF)(e[uv])),null!=e[l9]&&(n[l9]=(0,u.pY)(e[l9])),n},lC=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>lE(e,t)),l_=(e,t)=>{let n={};return null!=e[dh]&&(n[dh]=(0,u.pY)(e[dh])),null!=e[mx]&&(n[mn]=(0,u.pY)(e[mx])),""===e.Event?n[uX]=[]:null!=e[uY]&&(n[uX]=a1((0,u.L)(e[uY]),t)),null!=e[u0]&&(n[u0]=sR(e[u0],t)),n},lk=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>l_(e,t)),lO=(e,t)=>{let n={};return null!=e[uy]&&(n[uy]=(0,u.CE)((0,u.aH)(e[uy]))),null!=e[uv]&&(n[uv]=(0,u.AF)(e[uv])),null!=e[hO]&&(n[hO]=(0,u.pY)(e[hO])),n},lA=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>lO(e,t)),lI=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),lP=(e,t)=>(0,u.Wg)(e,t).then(e=>t.utf8Encoder(e)),lT=e=>null!=e&&""!==e&&(!Object.getOwnPropertyNames(e).includes("length")||0!=e.length)&&(!Object.getOwnPropertyNames(e).includes("size")||0!=e.size),lR="And",lM="AnalyticsAndOperator",lN="AnalyticsConfiguration",lj="ACL",lD="AccessControlList",lL="AnalyticsConfigurationList",lB="AccessControlPolicy",lZ="AccessControlTranslation",lF="AccelerateConfiguration",lz="AbortDate",lU="AnalyticsExportDestination",lH="AnalyticsFilter",lq="AllowedHeader",lV="AllowedHeaders",lW="AnalyticsId",l$="AbortIncompleteMultipartUpload",lG="AccountId",lK="AccessKeyId",lY="AllowedMethod",lX="AllowedMethods",lQ="AllowedOrigin",lJ="AllowedOrigins",l0="AccessPointAlias",l1="AccessPointArn",l2="AllowQuotedRecordDelimiter",l3="AcceptRanges",l4="AbortRuleId",l5="ArchiveStatus",l6="AnalyticsS3BucketDestination",l8="AnalyticsS3ExportFileFormat",l7="ApplyServerSideEncryptionByDefault",l9="AccessTier",ce="Account",ct="Bucket",cn="BucketAccountId",cr="BucketAccelerateStatus",co="BypassGovernanceRetention",ci="BucketInfo",ca="BucketKeyEnabled",cs="BucketLifecycleConfiguration",cl="BucketLocationConstraint",cc="BucketLocationName",cu="BucketLogsPermission",cd="BucketLoggingStatus",cf="BucketLocationType",cp="BucketName",ch="BytesProcessed",cm="BlockPublicAcls",cg="BlockPublicPolicy",cv="BucketRegion",cy="BytesReturned",cb="BytesScanned",cw="BucketType",cS="BucketVersioningStatus",cx="Buckets",cE="Credentials",cC="ChecksumAlgorithm",c_="CannedACL",ck="CreateBucketConfiguration",cO="CacheControl",cA="ChecksumCRC32",cI="ChecksumCRC32C",cP="ContentDisposition",cT="CreationDate",cR="ContentEncoding",cM="CloudFunction",cN="CloudFunctionConfiguration",cj="ContentLanguage",cD="ContentLength",cL="ChecksumMode",cB="ContentMD5",cZ="CompletedMultipartUpload",cF="CORSConfiguration",cz="CORSRule",cU="CORSRules",cH="CommonPrefixes",cq="CompletedPart",cV="ContentRange",cW="ConfirmRemoveSelfBucketAccess",c$="CopySource",cG="ChecksumSHA1",cK="ChecksumSHA256",cY="CopySourceIfMatch",cX="CopySourceIfModifiedSince",cQ="CopySourceIfNoneMatch",cJ="CopySourceIfUnmodifiedSince",c0="CopySourceRange",c1="CopySourceSSECustomerAlgorithm",c2="CopySourceSSECustomerKey",c3="CopySourceSSECustomerKeyMD5",c4="CSV",c5="CopySourceVersionId",c6="CSVInput",c8="CSVOutput",c7="ContentType",c9="ContinuationToken",ue="CompressionType",ut="Checksum",un="Contents",ur="Code",uo="Comments",ui="Condition",ua="Delimiter",us="DaysAfterInitiation",ul="DataExport",uc="DeleteMarker",uu="DeleteMarkerReplication",ud="DeleteMarkerReplicationStatus",uf="DeleteMarkerVersionId",up="DeleteMarkers",uh="DisplayName",um="DataRedundancy",ug="DefaultRetention",uv="Days",uy="Date",ub="Deleted",uw="Delete",uS="Destination",ux="Description",uE="Expires",uC="EmailAddress",u_="EventBridgeConfiguration",uk="ExpectedBucketOwner",uO="ErrorCode",uA="EncryptionConfiguration",uI="ErrorDocument",uP="ExposeHeaders",uT="ExposeHeader",uR="ErrorMessage",uM="ExpiredObjectDeleteMarker",uN="ExistingObjectReplication",uj="ExistingObjectReplicationStatus",uD="EnableRequestProgress",uL="ExpiresString",uB="ExpectedSourceBucketOwner",uZ="ExpirationStatus",uF="EncodingType",uz="ETag",uU="EncryptionType",uH="EventThreshold",uq="ExpressionType",uV="Encryption",uW="Enabled",u$="End",uG="Error",uK="Errors",uY="Event",uX="Events",uQ="Expression",uJ="Expiration",u0="Filter",u1="FieldDelimiter",u2="FileHeaderInfo",u3="FetchOwner",u4="FilterRule",u5="FilterRuleName",u6="FilterRuleValue",u8="FilterRules",u7="Field",u9="Format",de="Frequency",dt="Grant",dn="GrantFullControl",dr="GlacierJobParameters",di="GrantRead",da="GrantReadACP",ds="GrantWrite",dl="GrantWriteACP",dc="Grants",du="Grantee",dd="HttpErrorCodeReturnedEquals",df="HostName",dp="HttpRedirectCode",dh="Id",dm="InventoryConfiguration",dg="InventoryConfigurationList",dv="IndexDocument",dy="ID",db="InventoryDestination",dw="IsEnabled",dS="InventoryEncryption",dx="InventoryFilter",dE="InventoryFormat",dC="InventoryFrequency",d_="InventoryId",dk="InventoryIncludedObjectVersions",dO="IsLatest",dA="IfMatch",dI="IfModifiedSince",dP="IfNoneMatch",dT="InventoryOptionalField",dR="IncludedObjectVersions",dM="IsPublic",dN="IgnorePublicAcls",dj="IsRestoreInProgress",dD="InputSerialization",dL="InventoryS3BucketDestination",dB="InventorySchedule",dZ="IsTruncated",dF="IntelligentTieringAndOperator",dz="IntelligentTieringAccessTier",dU="IntelligentTieringConfiguration",dH="IntelligentTieringConfigurationList",dq="IntelligentTieringDays",dV="IntelligentTieringFilter",dW="IntelligentTieringId",d$="IntelligentTieringStatus",dG="IfUnmodifiedSince",dK="Initiator",dY="Initiated",dX="JSON",dQ="JSONInput",dJ="JSONOutput",d0="JSONType",d1="Key",d2="KeyCount",d3="KeyId",d4="KeyMarker",d5="KMSContext",d6="KMSKeyId",d8="KMSMasterKeyID",d7="KeyPrefixEquals",d9="Location",fe="LocationConstraint",ft="LoggingEnabled",fn="LifecycleExpiration",fr="LambdaFunctionArn",fo="LambdaFunctionConfigurations",fi="LambdaFunctionConfiguration",fa="LocationInfo",fs="LastModified",fl="LocationNameAsString",fc="LocationPrefix",fu="LifecycleRule",fd="LifecycleRuleAndOperator",ff="LifecycleRuleFilter",fp="LocationType",fh="Marker",fm="MetricsAndOperator",fg="MaxAgeSeconds",fv="MetricsConfiguration",fy="MetricsConfigurationList",fb="MetadataDirective",fw="MaxDirectoryBuckets",fS="MfaDelete",fx="MetadataEntry",fE="MetricsFilter",fC="MFA",f_="MFADelete",fk="MetricsId",fO="MaxKeys",fA="MetadataKey",fI="MissingMeta",fP="MaxParts",fT="MetricsStatus",fR="MaxUploads",fM="MetadataValue",fN="Metrics",fj="Message",fD="Minutes",fL="Mode",fB="Name",fZ="NotificationConfiguration",fF="NotificationConfigurationFilter",fz="NextContinuationToken",fU="NoncurrentDays",fH="NotificationId",fq="NextKeyMarker",fV="NextMarker",fW="NewerNoncurrentVersions",f$="NextPartNumberMarker",fG="NextUploadIdMarker",fK="NoncurrentVersionExpiration",fY="NextVersionIdMarker",fX="NoncurrentVersionTransitions",fQ="NoncurrentVersionTransition",fJ="Owner",f0="ObjectAttributes",f1="OwnershipControls",f2="ObjectCannedACL",f3="OwnershipControlsRule",f4="OptionalFields",f5="ObjectIdentifier",f6="ObjectKey",f8="OutputLocation",f7="ObjectLockConfiguration",f9="ObjectLockEnabled",pe="ObjectLockEnabledForBucket",pt="ObjectLockLegalHold",pn="ObjectLockLegalHoldStatus",pr="ObjectLockMode",po="ObjectLockRetention",pi="ObjectLockRetentionMode",pa="ObjectLockRetainUntilDate",ps="ObjectLockRule",pl="ObjectOwnership",pc="OptionalObjectAttributes",pu="OwnerOverride",pd="ObjectParts",pf="OutputSerialization",pp="ObjectSizeGreaterThan",ph="ObjectSizeGreaterThanBytes",pm="ObjectSizeLessThan",pg="ObjectSizeLessThanBytes",pv="OutputSchemaVersion",py="ObjectSize",pb="ObjectVersionId",pw="Objects",pS="Prefix",px="PublicAccessBlockConfiguration",pE="PartsCount",pC="PartitionDateSource",p_="ParquetInput",pk="PartNumber",pO="PartNumberMarker",pA="PartitionedPrefix",pI="Payer",pP="Part",pT="Parquet",pR="Parts",pM="Permission",pN="Protocol",pj="Priority",pD="Quiet",pL="QueueArn",pB="QueueConfiguration",pZ="QueueConfigurations",pF="QuoteCharacter",pz="QuoteEscapeCharacter",pU="QuoteFields",pH="Queue",pq="Range",pV="RedirectAllRequestsTo",pW="RequestCharged",p$="ResponseCacheControl",pG="ResponseContentDisposition",pK="ResponseContentEncoding",pY="ResponseContentLanguage",pX="ResponseContentType",pQ="ReplicationConfiguration",pJ="RecordDelimiter",p0="ResponseExpires",p1="RestoreExpiryDate",p2="ReplicaKmsKeyID",p3="ReplaceKeyPrefixWith",p4="ReplaceKeyWith",p5="ReplicaModifications",p6="ReplicaModificationsStatus",p8="RestoreOutputPath",p7="RequestPayer",p9="RestrictPublicBuckets",he="RequestPaymentConfiguration",ht="RequestProgress",hn="RequestRoute",hr="ReplicationRuleAndOperator",ho="ReplicationRuleFilter",hi="ReplicationRuleStatus",ha="RestoreRequestType",hs="ReplicationRule",hl="RestoreRequest",hc="RoutingRules",hu="RoutingRule",hd="ReplicationStatus",hf="RestoreStatus",hp="RequestToken",hh="ReplicationTimeStatus",hm="ReplicationTimeValue",hg="ReplicationTime",hv="RetainUntilDate",hy="Restore",hb="Redirect",hw="Role",hS="Rule",hx="Rules",hE="Status",hC="StartAfter",h_="SecretAccessKey",hk="S3BucketDestination",hO="StorageClass",hA="StorageClassAnalysis",hI="StorageClassAnalysisDataExport",hP="StorageClassAnalysisSchemaVersion",hT="StatusCode",hR="SkipDestinationValidation",hM="SSE-KMS",hN="SseKmsEncryptedObjects",hj="SseKmsEncryptedObjectsStatus",hD="S3KeyFilter",hL="S3Key",hB="S3Location",hZ="SessionMode",hF="SelectObjectContentRequest",hz="SelectParameters",hU="SimplePrefix",hH="ScanRange",hq="SSE-S3",hV="SourceSelectionCriteria",hW="ServerSideEncryption",h$="SSEAlgorithm",hG="ServerSideEncryptionByDefault",hK="ServerSideEncryptionConfiguration",hY="SSECustomerAlgorithm",hX="SSECustomerKey",hQ="SSECustomerKeyMD5",hJ="SSEKMS",h0="SSEKMSEncryptionContext",h1="SSEKMSKeyId",h2="ServerSideEncryptionRule",h3="SSES3",h4="SessionToken",h5="S3",h6="Schedule",h8="Setting",h7="Size",h9="Start",me="Suffix",mt="Tagging",mn="TopicArn",mr="TargetBucket",mo="TagCount",mi="TopicConfiguration",ma="TopicConfigurations",ms="TaggingDirective",ml="TargetGrants",mc="TargetGrant",mu="TargetObjectKeyFormat",md="TargetPrefix",mf="TotalPartsCount",mp="TagSet",mh="TransitionStorageClass",mm="Tag",mg="Tags",mv="Tier",my="Tierings",mb="Tiering",mw="Time",mS="Token",mx="Topic",mE="Transitions",mC="Transition",m_="Type",mk="Upload",mO="UploadId",mA="UploadIdMarker",mI="UserMetadata",mP="URI",mT="Uploads",mR="Version",mM="VersionCount",mN="VersioningConfiguration",mj="VersionId",mD="VersionIdMarker",mL="Value",mB="Versions",mZ="WebsiteConfiguration",mF="WebsiteRedirectLocation",mz="Years",mU="analytics",mH="accelerate",mq="acl",mV="accept-ranges",mW="attributes",m$="cors",mG="cache-control",mK="content-disposition",mY="content-encoding",mX="content-language",mQ="content-length",mJ="content-md5",m0="content-range",m1="content-type",m2="continuation-token",m3="delete",m4="delimiter",m5="expires",m6="encryption",m8="encoding-type",m7="etag",m9="expiresstring",ge="fetch-owner",gt="id",gn="if-match",gr="if-modified-since",go="inventory",gi="if-none-match",ga="intelligent-tiering",gs="if-unmodified-since",gl="key-marker",gc="lifecycle",gu="legal-hold",gd="last-modified",gf="location",gp="logging",gh="list-type",gm="metrics",gg="marker",gv="max-directory-buckets",gy="member",gb="max-keys",gw="max-parts",gS="max-uploads",gx="notification",gE="ownershipControls",gC="object-lock",g_="policy",gk="publicAccessBlock",gO="partNumber",gA="policyStatus",gI="part-number-marker",gP="prefix",gT="replication",gR="requestPayment",gM="range",gN="response-cache-control",gj="response-content-disposition",gD="response-content-encoding",gL="response-content-language",gB="response-content-type",gZ="response-expires",gF="restore",gz="retention",gU="session",gH="start-after",gq="select",gV="select-type",gW="tagging",g$="torrent",gG="uploads",gK="uploadId",gY="upload-id-marker",gX="versioning",gQ="versionId",gJ='<?xml version="1.0" encoding="UTF-8"?>',g0="versions",g1="version-id-marker",g2="website",g3="xsi:type",g4="x-amz-acl",g5="x-amz-abort-date",g6="x-amz-access-point-alias",g8="x-amz-abort-rule-id",g7="x-amz-archive-status",g9="x-amz-bypass-governance-retention",ve="x-amz-bucket-location-name",vt="x-amz-bucket-location-type",vn="x-amz-bucket-object-lock-enabled",vr="x-amz-bucket-object-lock-token",vo="x-amz-bucket-region",vi="x-amz-checksum-algorithm",va="x-amz-checksum-crc32",vs="x-amz-checksum-crc32c",vl="x-amz-checksum-mode",vc="x-amz-confirm-remove-self-bucket-access",vu="x-amz-checksum-sha1",vd="x-amz-checksum-sha256",vf="x-amz-copy-source",vp="x-amz-copy-source-if-match",vh="x-amz-copy-source-if-modified-since",vm="x-amz-copy-source-if-none-match",vg="x-amz-copy-source-if-unmodified-since",vv="x-amz-create-session-mode",vy="x-amz-copy-source-range",vb="x-amz-copy-source-server-side-encryption-customer-algorithm",vw="x-amz-copy-source-server-side-encryption-customer-key",vS="x-amz-copy-source-server-side-encryption-customer-key-md5",vx="x-amz-copy-source-version-id",vE="x-amz-delete-marker",vC="x-amz-expiration",v_="x-amz-expected-bucket-owner",vk="x-amz-fwd-error-code",vO="x-amz-fwd-error-message",vA="x-amz-fwd-header-accept-ranges",vI="x-amz-fwd-header-cache-control",vP="x-amz-fwd-header-content-disposition",vT="x-amz-fwd-header-content-encoding",vR="x-amz-fwd-header-content-language",vM="x-amz-fwd-header-content-range",vN="x-amz-fwd-header-content-type",vj="x-amz-fwd-header-etag",vD="x-amz-fwd-header-expires",vL="x-amz-fwd-header-last-modified",vB="x-amz-fwd-header-x-amz-checksum-crc32",vZ="x-amz-fwd-header-x-amz-checksum-crc32c",vF="x-amz-fwd-header-x-amz-checksum-sha1",vz="x-amz-fwd-header-x-amz-checksum-sha256",vU="x-amz-fwd-header-x-amz-delete-marker",vH="x-amz-fwd-header-x-amz-expiration",vq="x-amz-fwd-header-x-amz-missing-meta",vV="x-amz-fwd-header-x-amz-mp-parts-count",vW="x-amz-fwd-header-x-amz-object-lock-legal-hold",v$="x-amz-fwd-header-x-amz-object-lock-mode",vG="x-amz-fwd-header-x-amz-object-lock-retain-until-date",vK="x-amz-fwd-header-x-amz-restore",vY="x-amz-fwd-header-x-amz-request-charged",vX="x-amz-fwd-header-x-amz-replication-status",vQ="x-amz-fwd-header-x-amz-storage-class",vJ="x-amz-fwd-header-x-amz-server-side-encryption",v0="x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id",v1="x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled",v2="x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm",v3="x-amz-fwd-header-x-amz-server-side-encryption-customer-key-md5",v4="x-amz-fwd-header-x-amz-tagging-count",v5="x-amz-fwd-header-x-amz-version-id",v6="x-amz-fwd-status",v8="x-amz-grant-full-control",v7="x-amz-grant-read",v9="x-amz-grant-read-acp",ye="x-amz-grant-write",yt="x-amz-grant-write-acp",yn="x-amz-mfa",yr="x-amz-metadata-directive",yo="x-amz-missing-meta",yi="x-amz-max-parts",ya="x-amz-mp-parts-count",ys="x-amz-object-attributes",yl="x-amz-object-lock-legal-hold",yc="x-amz-object-lock-mode",yu="x-amz-object-lock-retain-until-date",yd="x-amz-object-ownership",yf="x-amz-optional-object-attributes",yp="x-amz-part-number-marker",yh="x-amz-restore",ym="x-amz-request-charged",yg="x-amz-restore-output-path",yv="x-amz-request-payer",yy="x-amz-request-route",yb="x-amz-replication-status",yw="x-amz-request-token",yS="x-amz-storage-class",yx="x-amz-sdk-checksum-algorithm",yE="x-amz-skip-destination-validation",yC="x-amz-source-expected-bucket-owner",y_="x-amz-server-side-encryption",yk="x-amz-server-side-encryption-aws-kms-key-id",yO="x-amz-server-side-encryption-bucket-key-enabled",yA="x-amz-server-side-encryption-context",yI="x-amz-server-side-encryption-customer-algorithm",yP="x-amz-server-side-encryption-customer-key",yT="x-amz-server-side-encryption-customer-key-md5",yR="x-amz-tagging",yM="x-amz-tagging-count",yN="x-amz-tagging-directive",yj="x-amz-version-id",yD="x-amz-website-redirect-location",yL="x-id",yB=(e,t)=>lP(e,t).then(e=>{if(e.length){let t=new p.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(e,t)=>""===t.trim()&&t.includes("\n")?"":void 0});t.addEntity("#xD","\r"),t.addEntity("#10","\n");let n=t.parse(e),r="#text",o=Object.keys(n)[0],i=n[o];return i[r]&&(i[o]=i[r],delete i[r]),(0,u.sT)(i)}return{}}),yZ=async(e,t)=>{let n=await yB(e,t);return n.Error&&(n.Error.message=n.Error.message??n.Error.Message),n},yF=(e,t)=>t?.Code!==void 0?t.Code:404==e.statusCode?"NotFound":void 0},784:function(e,t,n){"use strict";n.d(t,{g:function(){return E}});var r=n(12321),o=n(91748),i=n(59743),a=n(89351),s=n(7638);class AbortSignal{constructor(){this.onabort=null,this._aborted=!1,Object.defineProperty(this,"_aborted",{value:!1,writable:!0})}get aborted(){return this._aborted}abort(){this._aborted=!0,this.onabort&&(this.onabort(this),this.onabort=null)}}class l{constructor(){this.signal=new AbortSignal}abort(){this.signal.abort()}}var c=n(51970),u=n(29004),d=n(47324);let f={lstatSync:()=>{}};var p=n(41438).Buffer;let h=e=>{if(null==e)return 0;if("string"==typeof e&&(e=p.from(e)),"number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("string"==typeof e.path)try{return f.lstatSync(e.path).size}catch(e){}};var m=n(41438),g=n(96704);async function*v(e,t){let n=1,r=0,o=t;for(;o<e.byteLength;)yield{partNumber:n,data:e.slice(r,o)},n+=1,o=(r=o)+t;yield{partNumber:n,data:e.slice(r),lastPart:!0}}async function*y(e,t,n){let r=1,o={chunks:[],length:0};for await(let i of n(e))for(o.chunks.push(i),o.length+=i.length;o.length>=t;){let e=o.chunks.length>1?m.Buffer.concat(o.chunks):o.chunks[0];yield{partNumber:r,data:e.slice(0,t)},o.chunks=[e.slice(t)],o.length=o.chunks[0].length,r+=1}yield{partNumber:r,data:m.Buffer.concat(o.chunks),lastPart:!0}}async function*b(e){for await(let t of e)yield m.Buffer.from(t)}async function*w(e){let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)return;yield m.Buffer.from(n)}}catch(e){throw e}finally{t.releaseLock()}}let S=(e,t)=>{if(e instanceof m.Buffer)return v(e,t);if(e instanceof g.Readable)return y(e,t,b);if(e instanceof String||"string"==typeof e||e instanceof Uint8Array)return v(m.Buffer.from(e),t);if("function"==typeof e.stream)return y(e.stream(),t,w);if(e instanceof ReadableStream)return y(e,t,w);throw Error("Body Data is unsupported format, expected data to be one of: string | Uint8Array | Buffer | Readable | ReadableStream | Blob;.")},x=5242880;class E extends d.EventEmitter{constructor(e){super(),this.MAX_PARTS=1e4,this.queueSize=4,this.partSize=x,this.leavePartsOnError=!1,this.tags=[],this.concurrentUploaders=[],this.uploadedParts=[],this.isMultiPart=!0,this.queueSize=e.queueSize||this.queueSize,this.partSize=e.partSize||this.partSize,this.leavePartsOnError=e.leavePartsOnError||this.leavePartsOnError,this.tags=e.tags||this.tags,this.client=e.client,this.params=e.params,this.__validateInput(),this.totalBytes=h(this.params.Body),this.bytesUploadedSoFar=0,this.abortController=e.abortController??new l}async abort(){this.abortController.abort()}async done(){return await Promise.race([this.__doMultipartUpload(),this.__abortTimeout(this.abortController.signal)])}on(e,t){return this.uploadEvent=e,super.on(e,t)}async __uploadUsingPut(e){this.isMultiPart=!1;let t={...this.params,Body:e.data},n=this.client.config,o=n.requestHandler,i=o instanceof d.EventEmitter?o:null,a=t=>{this.bytesUploadedSoFar=t.loaded,this.totalBytes=t.total,this.__notifyProgress({loaded:this.bytesUploadedSoFar,total:this.totalBytes,part:e.partNumber,Key:this.params.Key,Bucket:this.params.Bucket})};null!==i&&i.on("xhr.upload.progress",a);let s=await Promise.all([this.client.send(new r.U(t)),n?.endpoint?.()]),l=s[0],f=s[1];if(f||(f=(0,c.sD)(await (0,c.UM)(t,r.U,{...n}))),!f)throw Error('Could not resolve endpoint from S3 "client.config.endpoint()" nor EndpointsV2.');null!==i&&i.off("xhr.upload.progress",a);let p=this.params.Key.split("/").map(e=>(0,u.jc)(e)).join("/"),m=(0,u.jc)(this.params.Bucket),g=(()=>{let e=f.hostname.startsWith(`${m}.`);return this.client.config.forcePathStyle?`${f.protocol}//${f.hostname}/${m}/${p}`:e?`${f.protocol}//${f.hostname}/${p}`:`${f.protocol}//${m}.${f.hostname}/${p}`})();this.singleUploadResult={...l,Bucket:this.params.Bucket,Key:this.params.Key,Location:g};let v=h(e.data);this.__notifyProgress({loaded:v,total:v,part:1,Key:this.params.Key,Bucket:this.params.Bucket})}async __createMultipartUpload(){if(!this.createMultiPartPromise){let e={...this.params,Body:void 0};this.createMultiPartPromise=this.client.send(new o.p(e))}return this.createMultiPartPromise}async __doConcurrentUpload(e){for await(let t of e){if(this.uploadedParts.length>this.MAX_PARTS)throw Error(`Exceeded ${this.MAX_PARTS} as part of the upload to ${this.params.Key} and ${this.params.Bucket}.`);try{if(this.abortController.signal.aborted)return;if(1===t.partNumber&&t.lastPart)return await this.__uploadUsingPut(t);if(!this.uploadId){let{UploadId:e}=await this.__createMultipartUpload();if(this.uploadId=e,this.abortController.signal.aborted)return}let e=h(t.data)||0,n=this.client.config.requestHandler,r=n instanceof d.EventEmitter?n:null,o=0,a=(n,r)=>{(Number(r.query.partNumber)||-1)===t.partNumber&&(n.total&&e&&(this.bytesUploadedSoFar+=n.loaded-o,o=n.loaded),this.__notifyProgress({loaded:this.bytesUploadedSoFar,total:this.totalBytes,part:t.partNumber,Key:this.params.Key,Bucket:this.params.Bucket}))};null!==r&&r.on("xhr.upload.progress",a);let s=await this.client.send(new i.c({...this.params,UploadId:this.uploadId,Body:t.data,PartNumber:t.partNumber}));if(null!==r&&r.off("xhr.upload.progress",a),this.abortController.signal.aborted)return;if(!s.ETag)throw Error(`Part ${t.partNumber} is missing ETag in UploadPart response. Missing Bucket CORS configuration for ETag header?`);this.uploadedParts.push({PartNumber:t.partNumber,ETag:s.ETag,...s.ChecksumCRC32&&{ChecksumCRC32:s.ChecksumCRC32},...s.ChecksumCRC32C&&{ChecksumCRC32C:s.ChecksumCRC32C},...s.ChecksumSHA1&&{ChecksumSHA1:s.ChecksumSHA1},...s.ChecksumSHA256&&{ChecksumSHA256:s.ChecksumSHA256}}),null===r&&(this.bytesUploadedSoFar+=e),this.__notifyProgress({loaded:this.bytesUploadedSoFar,total:this.totalBytes,part:t.partNumber,Key:this.params.Key,Bucket:this.params.Bucket})}catch(e){if(!this.uploadId||this.leavePartsOnError)throw e}}}async __doMultipartUpload(){let e;let t=S(this.params.Body,this.partSize);for(let e=0;e<this.queueSize;e++){let e=this.__doConcurrentUpload(t);this.concurrentUploaders.push(e)}if(await Promise.all(this.concurrentUploaders),this.abortController.signal.aborted)throw Object.assign(Error("Upload aborted."),{name:"AbortError"});if(this.isMultiPart){this.uploadedParts.sort((e,t)=>e.PartNumber-t.PartNumber);let t={...this.params,Body:void 0,UploadId:this.uploadId,MultipartUpload:{Parts:this.uploadedParts}};e=await this.client.send(new a.G(t)),"string"==typeof e?.Location&&e.Location.includes("%2F")&&(e.Location=e.Location.replace(/%2F/g,"/"))}else e=this.singleUploadResult;return this.tags.length&&await this.client.send(new s.t({...this.params,Tagging:{TagSet:this.tags}})),e}__notifyProgress(e){this.uploadEvent&&this.emit(this.uploadEvent,e)}async __abortTimeout(e){return new Promise((t,n)=>{e.onabort=()=>{let e=Error("Upload aborted.");e.name="AbortError",n(e)}})}__validateInput(){if(!this.params)throw Error("InputError: Upload requires params to be passed to upload.");if(!this.client)throw Error("InputError: Upload requires a AWS client to do uploads with.");if(this.partSize<x)throw Error(`EntityTooSmall: Your proposed upload partsize [${this.partSize}] is smaller than the minimum allowed size [${x}] (5MB)`);if(this.queueSize<1)throw Error("Queue size: Must have at least one uploading queue.")}}},82873:function(e,t,n){"use strict";n.d(t,{Yv:function(){return I}}),function(e){e.MD5="MD5",e.CRC32="CRC32",e.CRC32C="CRC32C",e.SHA1="SHA1",e.SHA256="SHA256"}(i||(i={})),function(e){e.HEADER="header",e.TRAILER="trailer"}(a||(a={}));let r=i.MD5,o=i.CRC32;var i,a,s=n(21432);let l=[i.CRC32,i.CRC32C,i.SHA1,i.SHA256],c=[i.CRC32,i.CRC32C,i.SHA1,i.SHA256],u=(e,{requestChecksumRequired:t,requestAlgorithmMember:n},i)=>{let a=i?o:r;if(!n||!e[n])return t?a:void 0;let s=e[n];if(!l.includes(s))throw Error(`The checksum algorithm "${s}" is not supported by the client. Select one of ${l}.`);return s},d=e=>e===i.MD5?"content-md5":`x-amz-checksum-${e.toLowerCase()}`,f=(e,t)=>{let n=e.toLowerCase();for(let e of Object.keys(t))if(n===e.toLowerCase())return!0;return!1};var p=n(59855);let h=e=>void 0!==e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&!(0,p.e)(e);var m=n(57668),g=n(69128);let v=(e,t)=>({[i.MD5]:t.md5,[i.CRC32]:m.AwsCrc32,[i.CRC32C]:g.AwsCrc32c,[i.SHA1]:t.sha1,[i.SHA256]:t.sha256})[e];var y=n(30455);let b=(e,t)=>{let n=new e;return n.update((0,y._)(t||"")),n.digest()},w={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},S=(e,t)=>(n,r)=>async o=>{if(!s.aW.isInstance(o.request))return n(o);let{request:i}=o,{body:a,headers:l}=i,{base64Encoder:c,streamHasher:p}=e,{input:m,requestChecksumRequired:g,requestAlgorithmMember:y}=t,w=u(m,{requestChecksumRequired:g,requestAlgorithmMember:y},!!r.isS3ExpressBucket),S=a,x=l;if(w){let t=d(w),n=v(w,e);if(h(a)){let{getAwsChunkedEncodingStream:r,bodyLengthChecker:o}=e;S=r(a,{base64Encoder:c,bodyLengthChecker:o,checksumLocationName:t,checksumAlgorithmFn:n,streamHasher:p}),x={...l,"content-encoding":l["content-encoding"]?`${l["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":l["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":t},delete x["content-length"]}else if(!f(t,l)){let e=await b(n,a);x={...l,[t]:c(e)}}}return await n({...o,request:{...i,headers:x,body:S}})},x=(e=[])=>{let t=[];for(let n of c)e.includes(n)&&l.includes(n)&&t.push(n);return t},E=e=>{let t=e.lastIndexOf("-");if(-1!==t){let n=e.slice(t+1);if(!n.startsWith("0")){let e=parseInt(n,10);if(!isNaN(e)&&e>=1&&e<=1e4)return!0}}return!1};function C(e){return new Blob([e]).stream()}let _=async(e,{streamHasher:t,checksumAlgorithmFn:n,base64Encoder:r})=>{let o=h(e)?t(n,e):b(n,e);return r(await o)},k=async(e,{config:t,responseAlgorithms:n})=>{let r=x(n),{body:o,headers:i}=e;for(let e of r){let n=d(e),r=i[n];if(r){let i=v(e,t),{streamHasher:a,base64Encoder:s}=t,l=await _(o,{streamHasher:a,checksumAlgorithmFn:i,base64Encoder:s});if(l===r)break;throw Error(`Checksum mismatch: expected "${l}" but received "${r}" in response header "${n}".`)}}},O={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},A=(e,t)=>(n,r)=>async o=>{let i;if(!s.aW.isInstance(o.request))return n(o);let a=o.input,l=await n(o),c=l.response,{requestValidationModeMember:u,responseAlgorithms:f}=t;if(u&&"ENABLED"===a[u]){let{clientName:t,commandName:n}=r;if("S3Client"===t&&"GetObjectCommand"===n&&x(f).every(e=>{let t=d(e),n=c.headers[t];return!n||E(n)}))return l;let o=h(c.body);o&&(i=await e.streamCollector(c.body),c.body=C(i)),await k(l.response,{config:e,responseAlgorithms:f}),o&&i&&(c.body=C(i))}return l},I=(e,t)=>({applyToStack:n=>{n.add(S(e,t),w),n.addRelativeTo(A(e,t),O)}})},46189:function(e,t,n){"use strict";n.d(t,{$I:function(){return k},Hz:function(){return l},Ae:function(){return p},HW:function(){return g},nd:function(){return T},mS:function(){return L},D4:function(){return z},x4:function(){return R}});var r=n(21432),o=n(29004);let i="content-length";function a(){return(e,t)=>async n=>{let{request:a}=n;if(r.aW.isInstance(a)&&!(i in a.headers)){let e="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";"function"!=typeof t?.logger?.warn||t.logger instanceof o.vk?console.warn(e):t.logger.warn(e)}return e({...n})}}let s={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},l=e=>({applyToStack:e=>{e.add(a(),s)}}),c=e=>(t,n)=>async r=>{let o=await e.region(),i=e.region;n.__s3RegionRedirect&&(e.region=async()=>(e.region=i,n.__s3RegionRedirect));let a=await t(r);if(n.__s3RegionRedirect&&o!==await e.region())throw Error("Region was not restored following S3 region redirect.");return a},u={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function d(e){return(t,n)=>async r=>{try{return await t(r)}catch(o){if(e.followRegionRedirects&&o?.$metadata?.httpStatusCode===301){try{let t=o.$response.headers["x-amz-bucket-region"];n.logger?.debug(`Redirecting from ${await e.region()} to ${t}`),n.__s3RegionRedirect=t}catch(e){throw Error("Region redirect failed: "+e)}return t(r)}throw o}}}let f={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},p=e=>({applyToStack:t=>{t.add(d(e),f),t.addRelativeTo(c(e),u)}}),h=e=>(e,t)=>async n=>{let i=await e(n),{response:a}=i;if(r.Zn.isInstance(a)&&a.headers.expires){a.headers.expiresstring=a.headers.expires;try{(0,o.oT)(a.headers.expires)}catch(e){t.logger?.warn(`AWS SDK Warning for ${t.clientName}::${t.commandName} response parsing (${a.headers.expires}): ${e}`),delete a.headers.expires}}return i},m={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},g=e=>({applyToStack:t=>{t.addRelativeTo(h(e),m)}});class v{constructor(e={}){this.data=e,this.lastPurgeTime=Date.now()}get(e){let t=this.data[e];if(t)return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(!(this.lastPurgeTime+v.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e))for(let t in this.data){let n=this.data[t];if(!n.isRefreshing){let r=await n.identity;r.expiration&&r.expiration.getTime()<e&&delete this.data[t]}}}}v.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;class y{constructor(e,t=!1,n=Date.now()){this._identity=e,this.isRefreshing=t,this.accessed=n}get identity(){return this.accessed=Date.now(),this._identity}}class b{constructor(e,t=new v){this.createSessionFn=e,this.cache=t}async getS3ExpressIdentity(e,t){let n=t.Bucket,{cache:r}=this,o=r.get(n);return o?o.identity.then(e=>(e.expiration?.getTime()??0)<Date.now()?r.set(n,new y(this.getIdentity(n))).identity:((e.expiration?.getTime()??0)<Date.now()+b.REFRESH_WINDOW_MS&&!o.isRefreshing&&(o.isRefreshing=!0,this.getIdentity(n).then(e=>{r.set(n,new y(Promise.resolve(e)))})),e)):r.set(n,new y(this.getIdentity(n))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(e=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+e)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}}b.REFRESH_WINDOW_MS=6e4;var w=n(27362);n(4420);let S="Directory",x="S3Express",E="sigv4-s3express",C="X-Amz-S3session-Token",_=C.toLowerCase();class k extends w.L1{async signWithCredentials(e,t,n){let r=O(t);e.headers[_]=t.sessionToken;let o=this;return A(o,r),o.signRequest(e,n??{})}async presignWithCredentials(e,t,n){let r=O(t);delete e.headers[_],e.headers[C]=t.sessionToken,e.query=e.query??{},e.query[C]=t.sessionToken;let o=this;return A(o,r),this.presign(e,n)}}function O(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function A(e,t){let n=setTimeout(()=>{throw Error("SignatureV4S3Express credential override was created but not called.")},10),r=e.credentialProvider,o=()=>(clearTimeout(n),e.credentialProvider=r,Promise.resolve(t));e.credentialProvider=o}let I=e=>(t,n)=>async o=>{if(n.endpointV2){let t=n.endpointV2,i=t.properties?.authSchemes?.[0]?.name===E;if((t.properties?.backend===x||t.properties?.bucketType===S)&&(n.isS3ExpressBucket=!0),i){let t=o.input.Bucket;if(t){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:t});n.s3ExpressIdentity=i,r.aW.isInstance(o.request)&&i.sessionToken&&(o.request.headers[_]=i.sessionToken)}}}return t(o)},P={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},T=e=>({applyToStack:t=>{t.add(I(e),P)}}),R=(e,{session:t})=>{let[n,r]=t;return{...e,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,followRegionRedirects:e.followRegionRedirects??!1,s3ExpressIdentityProvider:e.s3ExpressIdentityProvider??new b(async e=>n().send(new r({Bucket:e,SessionMode:"ReadWrite"})))}},M=e=>t=>async n=>{let o=await t(n),{response:i}=o;if(!r.Zn.isInstance(i))return o;let{statusCode:a,body:s}=i;if(a<200||a>=300)return o;let l=await N(s,e),c=await j(l,e);if(0===l.length){let e=Error("S3 aborted request");throw e.name="InternalError",e}return c&&c.match("<Error>")&&(i.statusCode=400),i.body=l,o},N=(e=new Uint8Array,t)=>e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array),j=(e,t)=>N(e,t).then(e=>t.utf8Encoder(e)),D={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},L=e=>({applyToStack:t=>{t.addRelativeTo(M(e),D)}}),B=e=>"string"==typeof e&&0===e.indexOf("arn:")&&e.split(":").length>=6;function Z(){return e=>async t=>{let{input:{Bucket:n}}=t;if("string"==typeof n&&!B(n)&&n.indexOf("/")>=0){let e=Error(`Bucket name shouldn't contain '/', received '${n}'`);throw e.name="InvalidBucketName",e}return e({...t})}}let F={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},z=e=>({applyToStack:e=>{e.add(Z(),F)}})},52827:function(e,t,n){"use strict";function r(e){return t=>async n=>{let r={...n.input};for(let t of[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}]){let n=r[t.target];if(n){let o;"string"==typeof n?/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(n)?o=e.base64Decoder(n):(o=e.utf8Decoder(n),r[t.target]=e.base64Encoder(o)):(o=ArrayBuffer.isView(n)?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):new Uint8Array(n),r[t.target]=e.base64Encoder(o));let i=new e.md5;i.update(o),r[t.hash]=e.base64Encoder(await i.digest())}}return t({...n,input:r})}}n.d(t,{gc:function(){return i}});let o={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},i=e=>({applyToStack:t=>{t.add(r(e),o)}})},86810:function(e,t,n){"use strict";n.r(t),n.d(t,{locateWindow:function(){return o}});let r={};function o(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:r}},33747:function(e,t,n){"use strict";n.r(t),n.d(t,{fromUtf8:function(){return s},toUtf8:function(){return l}});var r=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var o=e.charCodeAt(n);if(o<128)t.push(o);else if(o<2048)t.push(o>>6|192,63&o|128);else if(n+1<e.length&&(64512&o)==55296&&(64512&e.charCodeAt(n+1))==56320){var i=65536+((1023&o)<<10)+(1023&e.charCodeAt(++n));t.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else t.push(o>>12|224,o>>6&63|128,63&o|128)}return Uint8Array.from(t)},o=function(e){for(var t="",n=0,r=e.length;n<r;n++){var o=e[n];o<128?t+=String.fromCharCode(o):192<=o&&o<224?t+=String.fromCharCode((31&o)<<6|63&e[++n]):240<=o&&o<365?t+=decodeURIComponent("%"+[o,e[++n],e[++n],e[++n]].map(function(e){return e.toString(16)}).join("%")):t+=String.fromCharCode((15&o)<<12|(63&e[++n])<<6|63&e[++n])}return t};function i(e){return new TextEncoder().encode(e)}function a(e){return new TextDecoder("utf-8").decode(e)}var s=function(e){return"function"==typeof TextEncoder?i(e):r(e)},l=function(e){return"function"==typeof TextDecoder?a(e):o(e)}},29673:function(e,t,n){"use strict";n.r(t),n.d(t,{fromUtf8:function(){return s},toUtf8:function(){return l}});var r=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var o=e.charCodeAt(n);if(o<128)t.push(o);else if(o<2048)t.push(o>>6|192,63&o|128);else if(n+1<e.length&&(64512&o)==55296&&(64512&e.charCodeAt(n+1))==56320){var i=65536+((1023&o)<<10)+(1023&e.charCodeAt(++n));t.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else t.push(o>>12|224,o>>6&63|128,63&o|128)}return Uint8Array.from(t)},o=function(e){for(var t="",n=0,r=e.length;n<r;n++){var o=e[n];o<128?t+=String.fromCharCode(o):192<=o&&o<224?t+=String.fromCharCode((31&o)<<6|63&e[++n]):240<=o&&o<365?t+=decodeURIComponent("%"+[o,e[++n],e[++n],e[++n]].map(function(e){return e.toString(16)}).join("%")):t+=String.fromCharCode((15&o)<<12|(63&e[++n])<<6|63&e[++n])}return t};function i(e){return new TextEncoder().encode(e)}function a(e){return new TextDecoder("utf-8").decode(e)}var s=function(e){return"function"==typeof TextEncoder?i(e):r(e)},l=function(e){return"function"==typeof TextDecoder?a(e):o(e)}},20117:function(e,t,n){"use strict";n.d(t,{T6:function(){return p},VD:function(){return h},WE:function(){return c},Yt:function(){return m},lC:function(){return i},py:function(){return l},rW:function(){return o},s:function(){return d},ve:function(){return s},vq:function(){return u}});var r=n(33146);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,s=0,l=(o+i)/2;if(o===i)s=0,a=0;else{var c=o-i;switch(s=l>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4}a/=6}return{h:a,s:s,l:l}}function a(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function s(e,t,n){if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,s=n,o=n;else{var o,i,s,l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;o=a(c,l,e+1/3),i=a(c,l,e),s=a(c,l,e-1/3)}return{r:255*o,g:255*i,b:255*s}}function l(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,s=o,l=o-i,c=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4}a/=6}return{h:a,s:c,v:s}}function c(e,t,n){e=6*(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100);var o=Math.floor(e),i=e-o,a=n*(1-t),s=n*(1-i*t),l=n*(1-(1-i)*t),c=o%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}function u(e,t,n,o){var i=[(0,r.FZ)(Math.round(e).toString(16)),(0,r.FZ)(Math.round(t).toString(16)),(0,r.FZ)(Math.round(n).toString(16))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function d(e,t,n,o,i){var a=[(0,r.FZ)(Math.round(e).toString(16)),(0,r.FZ)(Math.round(t).toString(16)),(0,r.FZ)(Math.round(n).toString(16)),(0,r.FZ)(f(o))];return i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function f(e){return Math.round(255*parseFloat(e)).toString(16)}function p(e){return h(e)/255}function h(e){return parseInt(e,16)}function m(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}},53099:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},76981:function(e,t,n){"use strict";n.d(t,{uA:function(){return a}});var r=n(20117),o=n(53099),i=n(33146);function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,s=null,l=!1,c=!1;return"string"==typeof e&&(e=p(e)),"object"==typeof e&&(h(e.r)&&h(e.g)&&h(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),l=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):h(e.h)&&h(e.s)&&h(e.v)?(o=(0,i.JX)(e.s),a=(0,i.JX)(e.v),t=(0,r.WE)(e.h,o,a),l=!0,c="hsv"):h(e.h)&&h(e.s)&&h(e.l)&&(o=(0,i.JX)(e.s),s=(0,i.JX)(e.l),t=(0,r.ve)(e.h,o,s),l=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:l,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var s="[-\\+]?\\d+%?",l="[-\\+]?\\d*\\.\\d+%?",c="(?:".concat(l,")|(?:").concat(s,")"),u="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),d="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),f={CSS_UNIT:new RegExp(c),rgb:RegExp("rgb"+u),rgba:RegExp("rgba"+d),hsl:RegExp("hsl"+u),hsla:RegExp("hsla"+d),hsv:RegExp("hsv"+u),hsva:RegExp("hsva"+d),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function p(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=f.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=f.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=f.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=f.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=f.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=f.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=f.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=f.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=f.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=f.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}function h(e){return!!f.CSS_UNIT.exec(String(e))}},66671:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var r=n(20117),o=n(53099),i=n(76981),a=n(33146),s=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,n,r=this.toRgb(),o=r.r/255,i=r.g/255,a=r.b/255;return .2126*(e=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.7152*(t=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(n=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t<n.length;t++){var i=n[t],a=i[0];if(e===i[1])return a}return!1},e.prototype.toString=function(e){var t=!!e;e=null!=e?e:this.format;var n=!1,r=this.a<1&&this.a>=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(t/100*255)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(t/100*255)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(t/100*255)))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a<t;a++)o.push(new e({h:(r+a*i)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}()},33146:function(e,t,n){"use strict";function r(e,t){i(e)&&(e="100%");var n=a(e);return(e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),1e-6>Math.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function a(e){return"string"==typeof e&&-1!==e.indexOf("%")}function s(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function l(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return c},JX:function(){return l},V2:function(){return o},Yq:function(){return s},sh:function(){return r}})},77116:function(e,t){"use strict";function n(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}t.Z=n},82785:function(e,t){"use strict";var n={animationIterationCount: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};t.Z=n},87922:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(7732),o=n(44194),i=n(56321),a=n(17680);n(6103);var s=n(64198),l=o.createContext(null),c=n(70826),u=n(75232),d=[];function f(e,t){var n=o.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),i=(0,r.Z)(n,1)[0],s=o.useRef(!1),f=o.useContext(l),p=o.useState(d),h=(0,r.Z)(p,2),m=h[0],g=h[1],v=f||(s.current?void 0:function(e){g(function(t){return[e].concat((0,c.Z)(t))})});function y(){i.parentElement||document.body.appendChild(i),s.current=!0}function b(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),s.current=!1}return(0,u.Z)(function(){return e?f?f(y):y():b(),b},[e]),(0,u.Z)(function(){m.length&&(m.forEach(function(e){return e()}),g(d))},[m]),[i,v]}var p=n(8042),h=n(35677);function m(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var g="rc-util-locker-".concat(Date.now()),v=0;function y(e){var t=!!e,n=o.useState(function(){return v+=1,"".concat(g,"_").concat(v)}),i=(0,r.Z)(n,1)[0];(0,u.Z)(function(){if(t){var e=(0,h.Z)(),n=m();(0,p.hq)("\nhtml body {\n  overflow-y: hidden;\n  ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),i)}else(0,p.jL)(i);return function(){(0,p.jL)(i)}},[t,i])}var b=!1;function w(e){return"boolean"==typeof e&&(b=e),b}var S=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},x=o.forwardRef(function(e,t){var n=e.open,c=e.autoLock,u=e.getContainer,d=e.debug,p=e.autoDestroy,h=void 0===p||p,m=e.children,g=o.useState(n),v=(0,r.Z)(g,2),b=v[0],x=v[1],E=b||n;o.useEffect(function(){(h||n)&&x(n)},[n,h]);var C=o.useState(function(){return S(u)}),_=(0,r.Z)(C,2),k=_[0],O=_[1];o.useEffect(function(){var e=S(u);O(null!=e?e:null)});var A=f(E&&!k,d),I=(0,r.Z)(A,2),P=I[0],T=I[1],R=null!=k?k:P;y(c&&n&&(0,a.Z)()&&(R===P||R===document.body));var M=null;m&&(0,s.Yr)(m)&&t&&(M=m.ref);var N=(0,s.x1)(M,t);if(!E||!(0,a.Z)()||void 0===k)return null;var j=!1===R||w(),D=m;return t&&(D=o.cloneElement(m,{ref:N})),o.createElement(l.Provider,{value:T},j?D:(0,i.createPortal)(D,R))})},41890:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}});var r=n(33581),o=n(7732),i=n(92486),a=n(87922),s=n(51865),l=n.n(s),c=n(60118),u=n(45251),d=n(99489),f=n(61372),p=n(70207),h=n(75232),m=n(97719),g=n(44194),v=n(27820),y=n(63290),b=n(64198);function w(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,s=i.content,c=o.x,u=void 0===c?0:c,d=o.y,f=void 0===d?0:d,p=g.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(!1!==n.autoArrow){var m=n.points[0],v=n.points[1],y=m[0],b=m[1],w=v[0],S=v[1];y!==w&&["t","b"].includes(y)?"t"===y?h.top=0:h.bottom=0:h.top=f,b!==S&&["l","r"].includes(b)?"l"===b?h.left=0:h.right=0:h.left=u}return g.createElement("div",{ref:p,className:l()("".concat(t,"-arrow"),a),style:h},s)}function S(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?g.createElement(y.ZP,(0,v.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return g.createElement("div",{style:{zIndex:r},className:l()("".concat(t,"-mask"),n)})}):null}var x=g.memo(function(e){return e.children},function(e,t){return t.cache}),E=g.forwardRef(function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,s=e.style,u=e.target,d=e.onVisibleChanged,f=e.open,p=e.keepDom,m=e.fresh,E=e.onClick,C=e.mask,_=e.arrow,k=e.arrowPos,O=e.align,A=e.motion,I=e.maskMotion,P=e.forceRender,T=e.getPopupContainer,R=e.autoDestroy,M=e.portal,N=e.zIndex,j=e.onMouseEnter,D=e.onMouseLeave,L=e.onPointerEnter,B=e.ready,Z=e.offsetX,F=e.offsetY,z=e.offsetR,U=e.offsetB,H=e.onAlign,q=e.onPrepare,V=e.stretch,W=e.targetWidth,$=e.targetHeight,G="function"==typeof n?n():n,K=f||p,Y=(null==T?void 0:T.length)>0,X=g.useState(!T||!Y),Q=(0,o.Z)(X,2),J=Q[0],ee=Q[1];if((0,h.Z)(function(){!J&&Y&&u&&ee(!0)},[J,Y,u]),!J)return null;var et="auto",en={left:"-1000vw",top:"-1000vh",right:et,bottom:et};if(B||!f){var er,eo=O.points,ei=O.dynamicInset||(null===(er=O._experimental)||void 0===er?void 0:er.dynamicInset),ea=ei&&"r"===eo[0][1],es=ei&&"b"===eo[0][0];ea?(en.right=z,en.left=et):(en.left=Z,en.right=et),es?(en.bottom=U,en.top=et):(en.top=F,en.bottom=et)}var el={};return V&&(V.includes("height")&&$?el.height=$:V.includes("minHeight")&&$&&(el.minHeight=$),V.includes("width")&&W?el.width=W:V.includes("minWidth")&&W&&(el.minWidth=W)),f||(el.pointerEvents="none"),g.createElement(M,{open:P||K,getContainer:T&&function(){return T(u)},autoDestroy:R},g.createElement(S,{prefixCls:a,open:f,zIndex:N,mask:C,motion:I}),g.createElement(c.Z,{onResize:H,disabled:!f},function(e){return g.createElement(y.ZP,(0,v.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:P,leavedClassName:"".concat(a,"-hidden")},A,{onAppearPrepare:q,onEnterPrepare:q,visible:f,onVisibleChanged:function(e){var t;null==A||null===(t=A.onVisibleChanged)||void 0===t||t.call(A,e),d(e)}}),function(n,o){var c=n.className,u=n.style,d=l()(a,c,i);return g.createElement("div",{ref:(0,b.sQ)(e,t,o),className:d,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(k.x||0,"px"),"--arrow-y":"".concat(k.y||0,"px")},en),el),u),{},{boxSizing:"border-box",zIndex:N},s),onMouseEnter:j,onMouseLeave:D,onPointerEnter:L,onClick:E},_&&g.createElement(w,{prefixCls:a,arrow:_,arrowPos:k,align:O}),g.createElement(x,{cache:!f&&!m},G))})}))}),C=g.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,b.Yr)(n),i=g.useCallback(function(e){(0,b.mH)(t,r?r(e):e)},[r]),a=(0,b.x1)(i,n.ref);return o?g.cloneElement(n,{ref:a}):n}),_=g.createContext(null);function k(e){return e?Array.isArray(e)?e:[e]:[]}function O(e,t,n,r){return g.useMemo(function(){var o=k(null!=n?n:t),i=k(null!=r?r:t),a=new Set(o),s=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]},[e,t,n,r])}var A=n(36859);function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function P(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var s,l=i[a];if(I(null===(s=e[l])||void 0===s?void 0:s.points,o,r))return"".concat(t,"-placement-").concat(l)}return""}function T(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function R(e){return e.ownerDocument.defaultView}function M(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=R(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some(function(e){return r.includes(e)})&&t.push(n),n=n.parentElement}return t}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function j(e){return N(parseFloat(e),0)}function D(e,t){var n=(0,r.Z)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=R(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,p=e.clientWidth,h=j(i),m=j(a),g=j(s),v=j(l),y=N(Math.round(c.width/f*1e3)/1e3),b=N(Math.round(c.height/u*1e3)/1e3),w=(f-p-g-v)*y,S=(u-d-h-m)*b,x=h*b,E=m*b,C=g*y,_=v*y,k=0,O=0;if("clip"===r){var A=j(o);k=A*y,O=A*b}var I=c.x+C-k,P=c.y+x-O,T=I+c.width+2*k-C-_-w,M=P+c.height+2*O-x-E-S;n.left=Math.max(n.left,I),n.top=Math.max(n.top,P),n.right=Math.min(n.right,T),n.bottom=Math.min(n.bottom,M)}}),n}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?parseFloat(r[1])/100*e:parseFloat(n)}function B(e,t){var n=t||[],r=(0,o.Z)(n,2),i=r[0],a=r[1];return[L(e.width,i),L(e.height,a)]}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function F(e,t){var n,r,o=t[0],i=t[1];return r="t"===o?e.y:"b"===o?e.y+e.height:e.y+e.height/2,{x:n="l"===i?e.x:"r"===i?e.x+e.width:e.x+e.width/2,y:r}}function z(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,r){return r===t?n[e]||"c":e}).join("")}function U(e,t,n,i,a,s,l){var c=g.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[i]||{}}),d=(0,o.Z)(c,2),p=d[0],m=d[1],v=g.useRef(0),y=g.useMemo(function(){return t?M(t):[]},[t]),b=g.useRef({}),w=function(){b.current={}};e||w();var S=(0,f.Z)(function(){if(t&&n&&e){var c,d,f,p,h=t,g=h.ownerDocument,v=R(h).getComputedStyle(h),w=v.width,S=v.height,x=v.position,E=h.style.left,C=h.style.top,_=h.style.right,k=h.style.bottom,O=h.style.overflow,I=(0,r.Z)((0,r.Z)({},a[i]),s),P=g.createElement("div");if(null===(T=h.parentElement)||void 0===T||T.appendChild(P),P.style.left="".concat(h.offsetLeft,"px"),P.style.top="".concat(h.offsetTop,"px"),P.style.position=x,P.style.height="".concat(h.offsetHeight,"px"),P.style.width="".concat(h.offsetWidth,"px"),h.style.left="0",h.style.top="0",h.style.right="auto",h.style.bottom="auto",h.style.overflow="hidden",Array.isArray(n))U={x:n[0],y:n[1],width:0,height:0};else{var T,M,j,L,U,H,q,V=n.getBoundingClientRect();V.x=null!==(H=V.x)&&void 0!==H?H:V.left,V.y=null!==(q=V.y)&&void 0!==q?q:V.top,U={x:V.x,y:V.y,width:V.width,height:V.height}}var W=h.getBoundingClientRect();W.x=null!==(M=W.x)&&void 0!==M?M:W.left,W.y=null!==(j=W.y)&&void 0!==j?j:W.top;var $=g.documentElement,G=$.clientWidth,K=$.clientHeight,Y=$.scrollWidth,X=$.scrollHeight,Q=$.scrollTop,J=$.scrollLeft,ee=W.height,et=W.width,en=U.height,er=U.width,eo={left:0,top:0,right:G,bottom:K},ei={left:-J,top:-Q,right:Y-J,bottom:X-Q},ea=I.htmlRegion,es="visible",el="visibleFirst";"scroll"!==ea&&ea!==el&&(ea=es);var ec=ea===el,eu=D(ei,y),ed=D(eo,y),ef=ea===es?ed:eu,ep=ec?ed:ef;h.style.left="auto",h.style.top="auto",h.style.right="0",h.style.bottom="0";var eh=h.getBoundingClientRect();h.style.left=E,h.style.top=C,h.style.right=_,h.style.bottom=k,h.style.overflow=O,null===(L=h.parentElement)||void 0===L||L.removeChild(P);var em=N(Math.round(et/parseFloat(w)*1e3)/1e3),eg=N(Math.round(ee/parseFloat(S)*1e3)/1e3);if(!(0===em||0===eg||(0,u.Sh)(n)&&!(0,A.Z)(n))){var ev=I.offset,ey=I.targetOffset,eb=B(W,ev),ew=(0,o.Z)(eb,2),eS=ew[0],ex=ew[1],eE=B(U,ey),eC=(0,o.Z)(eE,2),e_=eC[0],ek=eC[1];U.x-=e_,U.y-=ek;var eO=I.points||[],eA=(0,o.Z)(eO,2),eI=eA[0],eP=Z(eA[1]),eT=Z(eI),eR=F(U,eP),eM=F(W,eT),eN=(0,r.Z)({},I),ej=eR.x-eM.x+eS,eD=eR.y-eM.y+ex,eL=tm(ej,eD),eB=tm(ej,eD,ed),eZ=F(U,["t","l"]),eF=F(W,["t","l"]),ez=F(U,["b","r"]),eU=F(W,["b","r"]),eH=I.overflow||{},eq=eH.adjustX,eV=eH.adjustY,eW=eH.shiftX,e$=eH.shiftY,eG=function(e){return"boolean"==typeof e?e:e>=0};tg();var eK=eG(eV),eY=eT[0]===eP[0];if(eK&&"t"===eT[0]&&(d>ep.bottom||b.current.bt)){var eX=eD;eY?eX-=ee-en:eX=eZ.y-eU.y-ex;var eQ=tm(ej,eX),eJ=tm(ej,eX,ed);eQ>eL||eQ===eL&&(!ec||eJ>=eB)?(b.current.bt=!0,eD=eX,ex=-ex,eN.points=[z(eT,0),z(eP,0)]):b.current.bt=!1}if(eK&&"b"===eT[0]&&(c<ep.top||b.current.tb)){var e0=eD;eY?e0+=ee-en:e0=ez.y-eF.y-ex;var e1=tm(ej,e0),e2=tm(ej,e0,ed);e1>eL||e1===eL&&(!ec||e2>=eB)?(b.current.tb=!0,eD=e0,ex=-ex,eN.points=[z(eT,0),z(eP,0)]):b.current.tb=!1}var e3=eG(eq),e4=eT[1]===eP[1];if(e3&&"l"===eT[1]&&(p>ep.right||b.current.rl)){var e5=ej;e4?e5-=et-er:e5=eZ.x-eU.x-eS;var e6=tm(e5,eD),e8=tm(e5,eD,ed);e6>eL||e6===eL&&(!ec||e8>=eB)?(b.current.rl=!0,ej=e5,eS=-eS,eN.points=[z(eT,1),z(eP,1)]):b.current.rl=!1}if(e3&&"r"===eT[1]&&(f<ep.left||b.current.lr)){var e7=ej;e4?e7+=et-er:e7=ez.x-eF.x-eS;var e9=tm(e7,eD),te=tm(e7,eD,ed);e9>eL||e9===eL&&(!ec||te>=eB)?(b.current.lr=!0,ej=e7,eS=-eS,eN.points=[z(eT,1),z(eP,1)]):b.current.lr=!1}tg();var tt=!0===eW?0:eW;"number"==typeof tt&&(f<ed.left&&(ej-=f-ed.left-eS,U.x+er<ed.left+tt&&(ej+=U.x-ed.left+er-tt)),p>ed.right&&(ej-=p-ed.right-eS,U.x>ed.right-tt&&(ej+=U.x-ed.right+tt)));var tn=!0===e$?0:e$;"number"==typeof tn&&(c<ed.top&&(eD-=c-ed.top-ex,U.y+en<ed.top+tn&&(eD+=U.y-ed.top+en-tn)),d>ed.bottom&&(eD-=d-ed.bottom-ex,U.y>ed.bottom-tn&&(eD+=U.y-ed.bottom+tn)));var tr=W.x+ej,to=tr+et,ti=W.y+eD,ta=ti+ee,ts=U.x,tl=ts+er,tc=U.y,tu=tc+en,td=(Math.max(tr,ts)+Math.min(to,tl))/2-tr,tf=(Math.max(ti,tc)+Math.min(ta,tu))/2-ti;null==l||l(t,eN);var tp=eh.right-W.x-(ej+W.width),th=eh.bottom-W.y-(eD+W.height);1===em&&(ej=Math.round(ej),tp=Math.round(tp)),1===eg&&(eD=Math.round(eD),th=Math.round(th)),m({ready:!0,offsetX:ej/em,offsetY:eD/eg,offsetR:tp/em,offsetB:th/eg,arrowX:td/em,arrowY:tf/eg,scaleX:em,scaleY:eg,align:eN})}function tm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ef,r=W.x+e,o=W.y+t,i=r+et,a=o+ee,s=Math.max(r,n.left),l=Math.max(o,n.top);return Math.max(0,(Math.min(i,n.right)-s)*(Math.min(a,n.bottom)-l))}function tg(){d=(c=W.y+eD)+ee,p=(f=W.x+ej)+et}}}),x=function(){v.current+=1;var e=v.current;Promise.resolve().then(function(){v.current===e&&S()})},E=function(){m(function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})})};return(0,h.Z)(E,[i]),(0,h.Z)(function(){e||E()},[e]),[p.ready,p.offsetX,p.offsetY,p.offsetR,p.offsetB,p.arrowX,p.arrowY,p.scaleX,p.scaleY,p.align,x]}var H=n(70826);function q(e,t,n,r,o){(0,h.Z)(function(){if(e&&t&&n){var i=n,a=M(t),s=M(i),l=R(i),c=new Set([l].concat((0,H.Z)(a),(0,H.Z)(s)));function u(){r(),o()}return c.forEach(function(e){e.addEventListener("scroll",u,{passive:!0})}),l.addEventListener("resize",u,{passive:!0}),r(),function(){c.forEach(function(e){e.removeEventListener("scroll",u),l.removeEventListener("resize",u)})}}},[e,t,n])}function V(e,t,n,r,o,i,a,s){var l=g.useRef(e);l.current=e,g.useEffect(function(){if(t&&r&&(!o||i)){var e=function(e){var t;l.current&&!a((null===(t=e.composedPath)||void 0===t||null===(t=t.call(e))||void 0===t?void 0:t[0])||e.target)&&s(!1)},c=R(r);c.addEventListener("mousedown",e,!0),c.addEventListener("contextmenu",e,!0);var u=(0,d.A)(n);return u&&(u.addEventListener("mousedown",e,!0),u.addEventListener("contextmenu",e,!0)),function(){c.removeEventListener("mousedown",e,!0),c.removeEventListener("contextmenu",e,!0),u&&(u.removeEventListener("mousedown",e,!0),u.removeEventListener("contextmenu",e,!0))}}},[t,n,r,o,i])}n(6103);var W=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return g.forwardRef(function(t,n){var a,s,v=t.prefixCls,y=void 0===v?"rc-trigger-popup":v,b=t.children,w=t.action,S=void 0===w?"hover":w,x=t.showAction,k=t.hideAction,A=t.popupVisible,I=t.defaultPopupVisible,R=t.onPopupVisibleChange,M=t.afterPopupVisibleChange,N=t.mouseEnterDelay,j=t.mouseLeaveDelay,D=void 0===j?.1:j,L=t.focusDelay,B=t.blurDelay,Z=t.mask,F=t.maskClosable,z=void 0===F||F,H=t.getPopupContainer,$=t.forceRender,G=t.autoDestroy,K=t.destroyPopupOnHide,Y=t.popup,X=t.popupClassName,Q=t.popupStyle,J=t.popupPlacement,ee=t.builtinPlacements,et=void 0===ee?{}:ee,en=t.popupAlign,er=t.zIndex,eo=t.stretch,ei=t.getPopupClassNameFromAlign,ea=t.fresh,es=t.alignPoint,el=t.onPopupClick,ec=t.onPopupAlign,eu=t.arrow,ed=t.popupMotion,ef=t.maskMotion,ep=t.popupTransitionName,eh=t.popupAnimation,em=t.maskTransitionName,eg=t.maskAnimation,ev=t.className,ey=t.getTriggerDOMNode,eb=(0,i.Z)(t,W),ew=G||K||!1,eS=g.useState(!1),ex=(0,o.Z)(eS,2),eE=ex[0],eC=ex[1];(0,h.Z)(function(){eC((0,m.Z)())},[]);var e_=g.useRef({}),ek=g.useContext(_),eO=g.useMemo(function(){return{registerSubPopup:function(e,t){e_.current[e]=t,null==ek||ek.registerSubPopup(e,t)}}},[ek]),eA=(0,p.Z)(),eI=g.useState(null),eP=(0,o.Z)(eI,2),eT=eP[0],eR=eP[1],eM=g.useRef(null),eN=(0,f.Z)(function(e){eM.current=e,(0,u.Sh)(e)&&eT!==e&&eR(e),null==ek||ek.registerSubPopup(eA,e)}),ej=g.useState(null),eD=(0,o.Z)(ej,2),eL=eD[0],eB=eD[1],eZ=g.useRef(null),eF=(0,f.Z)(function(e){(0,u.Sh)(e)&&eL!==e&&(eB(e),eZ.current=e)}),ez=g.Children.only(b),eU=(null==ez?void 0:ez.props)||{},eH={},eq=(0,f.Z)(function(e){var t,n,r=eL;return(null==r?void 0:r.contains(e))||(null===(t=(0,d.A)(r))||void 0===t?void 0:t.host)===e||e===r||(null==eT?void 0:eT.contains(e))||(null===(n=(0,d.A)(eT))||void 0===n?void 0:n.host)===e||e===eT||Object.values(e_.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),eV=T(y,ed,eh,ep),eW=T(y,ef,eg,em),e$=g.useState(I||!1),eG=(0,o.Z)(e$,2),eK=eG[0],eY=eG[1],eX=null!=A?A:eK,eQ=(0,f.Z)(function(e){void 0===A&&eY(e)});(0,h.Z)(function(){eY(A||!1)},[A]);var eJ=g.useRef(eX);eJ.current=eX;var e0=g.useRef([]);e0.current=[];var e1=(0,f.Z)(function(e){var t;eQ(e),(null!==(t=e0.current[e0.current.length-1])&&void 0!==t?t:eX)!==e&&(e0.current.push(e),null==R||R(e))}),e2=g.useRef(),e3=function(){clearTimeout(e2.current)},e4=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e3(),0===t?e1(e):e2.current=setTimeout(function(){e1(e)},1e3*t)};g.useEffect(function(){return e3},[]);var e5=g.useState(!1),e6=(0,o.Z)(e5,2),e8=e6[0],e7=e6[1];(0,h.Z)(function(e){(!e||eX)&&e7(!0)},[eX]);var e9=g.useState(null),te=(0,o.Z)(e9,2),tt=te[0],tn=te[1],tr=g.useState(null),to=(0,o.Z)(tr,2),ti=to[0],ta=to[1],ts=function(e){ta([e.clientX,e.clientY])},tl=U(eX,eT,es&&null!==ti?ti:eL,J,et,en,ec),tc=(0,o.Z)(tl,11),tu=tc[0],td=tc[1],tf=tc[2],tp=tc[3],th=tc[4],tm=tc[5],tg=tc[6],tv=tc[7],ty=tc[8],tb=tc[9],tw=tc[10],tS=O(eE,S,x,k),tx=(0,o.Z)(tS,2),tE=tx[0],tC=tx[1],t_=tE.has("click"),tk=tC.has("click")||tC.has("contextMenu"),tO=(0,f.Z)(function(){e8||tw()});q(eX,eL,eT,tO,function(){eJ.current&&es&&tk&&e4(!1)}),(0,h.Z)(function(){tO()},[ti,J]),(0,h.Z)(function(){eX&&!(null!=et&&et[J])&&tO()},[JSON.stringify(en)]);var tA=g.useMemo(function(){var e=P(et,y,tb,es);return l()(e,null==ei?void 0:ei(tb))},[tb,ei,et,y,es]);g.useImperativeHandle(n,function(){return{nativeElement:eZ.current,popupElement:eM.current,forceAlign:tO}});var tI=g.useState(0),tP=(0,o.Z)(tI,2),tT=tP[0],tR=tP[1],tM=g.useState(0),tN=(0,o.Z)(tM,2),tj=tN[0],tD=tN[1],tL=function(){if(eo&&eL){var e=eL.getBoundingClientRect();tR(e.width),tD(e.height)}},tB=function(){tL(),tO()},tZ=function(e){e7(!1),tw(),null==M||M(e)},tF=function(){return new Promise(function(e){tL(),tn(function(){return e})})};function tz(e,t,n,r){eH[e]=function(o){var i;null==r||r(o),e4(t,n);for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];null===(i=eU[e])||void 0===i||i.call.apply(i,[eU,o].concat(s))}}(0,h.Z)(function(){tt&&(tw(),tt(),tn(null))},[tt]),(t_||tk)&&(eH.onClick=function(e){var t;eJ.current&&tk?e4(!1):!eJ.current&&t_&&(ts(e),e4(!0));for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=eU.onClick)||void 0===t||t.call.apply(t,[eU,e].concat(r))}),V(eX,tk,eL,eT,Z,z,eq,e4);var tU=tE.has("hover"),tH=tC.has("hover");tU&&(tz("onMouseEnter",!0,N,function(e){ts(e)}),tz("onPointerEnter",!0,N,function(e){ts(e)}),a=function(e){(eX||e8)&&null!=eT&&eT.contains(e.target)&&e4(!0,N)},es&&(eH.onMouseMove=function(e){var t;null===(t=eU.onMouseMove)||void 0===t||t.call(eU,e)})),tH&&(tz("onMouseLeave",!1,D),tz("onPointerLeave",!1,D),s=function(){e4(!1,D)}),tE.has("focus")&&tz("onFocus",!0,L),tC.has("focus")&&tz("onBlur",!1,B),tE.has("contextMenu")&&(eH.onContextMenu=function(e){var t;eJ.current&&tC.has("contextMenu")?e4(!1):(ts(e),e4(!0)),e.preventDefault();for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=eU.onContextMenu)||void 0===t||t.call.apply(t,[eU,e].concat(r))}),ev&&(eH.className=l()(eU.className,ev));var tq=(0,r.Z)((0,r.Z)({},eU),eH),tV={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(function(e){eb[e]&&(tV[e]=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];null===(t=tq[e])||void 0===t||t.call.apply(t,[tq].concat(r)),eb[e].apply(eb,r)})});var tW=g.cloneElement(ez,(0,r.Z)((0,r.Z)({},tq),tV)),t$={x:tm,y:tg},tG=eu?(0,r.Z)({},!0!==eu?eu:{}):null;return g.createElement(g.Fragment,null,g.createElement(c.Z,{disabled:!eX,ref:eF,onResize:tB},g.createElement(C,{getTriggerDOMNode:ey},tW)),g.createElement(_.Provider,{value:eO},g.createElement(E,{portal:e,ref:eN,prefixCls:y,popup:Y,className:l()(X,tA),style:Q,target:eL,onMouseEnter:a,onMouseLeave:s,onPointerEnter:a,zIndex:er,open:eX,keepDom:e8,fresh:ea,onClick:el,mask:Z,motion:eV,maskMotion:eW,onVisibleChanged:tZ,onPrepare:tF,forceRender:$,autoDestroy:ew,getPopupContainer:H,align:tb,arrow:tG,arrowPos:t$,ready:tu,offsetX:td,offsetY:tf,offsetR:tp,offsetB:th,onAlign:tO,stretch:eo,targetWidth:tT/tv,targetHeight:tj/ty})))})}(a.Z)},48472:function(e,t,n){"use strict";let r,o;n.d(t,{O7:function(){return Y},Q8:function(){return tc},YP:function(){return p},b6:function(){return C},jC:function(){return en},kp:function(){return e9}});var i,a,s=n(31549),l=n(44194),c=n(56321),u=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,"production"),d=function(e,t,n,r,o,i,a,s){if("production"!==u&&void 0===t)throw Error("invariant requires an error message argument");if(!e){var l;if(void 0===t)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],d=0;(l=Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}};let f=(0,l.createContext)(null);function p(){d(!!l.useContext,"useGoogleMap is React hook and requires React version 16.8+");let e=(0,l.useContext)(f);return d(!!e,"useGoogleMap needs a GoogleMap available up in the tree"),e}function h(e,t,n){return Object.keys(e).reduce(function(n,r){return t(n,e[r],r)},n)}function m(e,t){Object.keys(e).forEach(n=>t(e[n],n))}function g(e,t,n,r){let o={};return m(e,(e,i)=>{let a=n[i];a!==t[i]&&(o[i]=a,e(r,a))}),o}function v(e,t,n){return h(n,function(n,r,o){return"function"==typeof e[o]&&n.push(google.maps.event.addListener(t,r,e[o])),n},[])}function y(e){google.maps.event.removeListener(e)}function b(e=[]){e.forEach(y)}function w({updaterMap:e,eventMap:t,prevProps:n,nextProps:r,instance:o}){let i=v(r,o,t);return g(e,n,r,o),i}let S={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},x={extraMapTypes(e,t){t.forEach(function(t,n){e.mapTypes.set(String(n),t)})},center(e,t){e.setCenter(t)},clickableIcons(e,t){e.setClickableIcons(t)},heading(e,t){e.setHeading(t)},mapTypeId(e,t){e.setMapTypeId(t)},options(e,t){e.setOptions(t)},streetView(e,t){e.setStreetView(t)},tilt(e,t){e.setTilt(t)},zoom(e,t){e.setZoom(t)}};function E({children:e,options:t,id:n,mapContainerStyle:r,mapContainerClassName:o,center:i,onClick:a,onDblClick:c,onDrag:u,onDragEnd:d,onDragStart:p,onMouseMove:h,onMouseOut:m,onMouseOver:g,onMouseDown:v,onMouseUp:y,onRightClick:b,onCenterChanged:w,onLoad:S,onUnmount:x}){let[E,C]=(0,l.useState)(null),_=(0,l.useRef)(null),[k,O]=(0,l.useState)(null),[A,I]=(0,l.useState)(null),[P,T]=(0,l.useState)(null),[R,M]=(0,l.useState)(null),[N,j]=(0,l.useState)(null),[D,L]=(0,l.useState)(null),[B,Z]=(0,l.useState)(null),[F,z]=(0,l.useState)(null),[U,H]=(0,l.useState)(null),[q,V]=(0,l.useState)(null),[W,$]=(0,l.useState)(null),[G,K]=(0,l.useState)(null);return(0,l.useEffect)(()=>{t&&null!==E&&E.setOptions(t)},[E,t]),(0,l.useEffect)(()=>{null!==E&&void 0!==i&&E.setCenter(i)},[E,i]),(0,l.useEffect)(()=>{E&&c&&(null!==A&&google.maps.event.removeListener(A),I(google.maps.event.addListener(E,"dblclick",c)))},[c]),(0,l.useEffect)(()=>{E&&d&&(null!==P&&google.maps.event.removeListener(P),T(google.maps.event.addListener(E,"dragend",d)))},[d]),(0,l.useEffect)(()=>{E&&p&&(null!==R&&google.maps.event.removeListener(R),M(google.maps.event.addListener(E,"dragstart",p)))},[p]),(0,l.useEffect)(()=>{E&&v&&(null!==N&&google.maps.event.removeListener(N),j(google.maps.event.addListener(E,"mousedown",v)))},[v]),(0,l.useEffect)(()=>{E&&h&&(null!==D&&google.maps.event.removeListener(D),L(google.maps.event.addListener(E,"mousemove",h)))},[h]),(0,l.useEffect)(()=>{E&&m&&(null!==B&&google.maps.event.removeListener(B),Z(google.maps.event.addListener(E,"mouseout",m)))},[m]),(0,l.useEffect)(()=>{E&&g&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(E,"mouseover",g)))},[g]),(0,l.useEffect)(()=>{E&&y&&(null!==U&&google.maps.event.removeListener(U),H(google.maps.event.addListener(E,"mouseup",y)))},[y]),(0,l.useEffect)(()=>{E&&b&&(null!==q&&google.maps.event.removeListener(q),V(google.maps.event.addListener(E,"rightclick",b)))},[b]),(0,l.useEffect)(()=>{E&&a&&(null!==W&&google.maps.event.removeListener(W),$(google.maps.event.addListener(E,"click",a)))},[a]),(0,l.useEffect)(()=>{E&&u&&(null!==G&&google.maps.event.removeListener(G),K(google.maps.event.addListener(E,"drag",u)))},[u]),(0,l.useEffect)(()=>{E&&w&&(null!==k&&google.maps.event.removeListener(k),O(google.maps.event.addListener(E,"center_changed",w)))},[a]),(0,l.useEffect)(()=>{let e=null===_.current?null:new google.maps.Map(_.current,t);return C(e),null!==e&&S&&S(e),()=>{null!==e&&x&&x(e)}},[]),(0,s.jsx)("div",Object.assign({id:n,ref:_,style:r,className:o},{children:(0,s.jsx)(f.Provider,Object.assign({value:E},{children:null!==E?e:(0,s.jsx)(s.Fragment,{})}))}))}(0,l.memo)(E);class C extends l.PureComponent{constructor(){super(...arguments),this.state={map:null},this.registeredEvents=[],this.mapRef=null,this.getInstance=()=>null===this.mapRef?null:new google.maps.Map(this.mapRef,this.props.options),this.panTo=e=>{let t=this.getInstance();t&&t.panTo(e)},this.setMapCallback=()=>{null!==this.state.map&&this.props.onLoad&&this.props.onLoad(this.state.map)},this.getRef=e=>{this.mapRef=e}}componentDidMount(){let e=this.getInstance();this.registeredEvents=w({updaterMap:x,eventMap:S,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{map:e}},this.setMapCallback)}componentDidUpdate(e){null!==this.state.map&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:x,eventMap:S,prevProps:e,nextProps:this.props,instance:this.state.map}))}componentWillUnmount(){null!==this.state.map&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),b(this.registeredEvents))}render(){return(0,s.jsx)("div",Object.assign({id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName},{children:(0,s.jsx)(f.Provider,Object.assign({value:this.state.map},{children:null!==this.state.map?this.props.children:(0,s.jsx)(s.Fragment,{})}))}))}}/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function _(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function k(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})}let O="undefined"!=typeof document;function A({url:e,id:t,nonce:n}){return O?new Promise(function(r,o){let i=document.getElementById(t),a=window;if(i){let n=i.getAttribute("data-state");if(i.src===e&&"error"!==n){if("ready"===n)return r(t);{let e=a.initMap,n=i.onerror;a.initMap=function(){e&&e(),r(t)},i.onerror=function(e){n&&n(e),o(e)};return}}i.remove()}let s=document.createElement("script");s.type="text/javascript",s.src=e,s.id=t,s.async=!0,s.nonce=n,s.onerror=function(e){s.setAttribute("data-state","error"),o(e)},a.initMap=function(){s.setAttribute("data-state","ready"),r(t)},document.head.appendChild(s)}).catch(e=>{throw console.error("injectScript error: ",e),e}):Promise.reject(Error("document is undefined"))}function I(e){let t=e.href;return!!t&&(0===t.indexOf("https://fonts.googleapis.com/css?family=Roboto")||0===t.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text"))||("style"===e.tagName.toLowerCase()&&e.styleSheet&&e.styleSheet.cssText&&0===e.styleSheet.cssText.replace("\r\n","").indexOf(".gm-style")?(e.styleSheet.cssText="",!0):"style"===e.tagName.toLowerCase()&&e.innerHTML&&0===e.innerHTML.replace("\r\n","").indexOf(".gm-style")?(e.innerHTML="",!0):"style"===e.tagName.toLowerCase()&&!e.styleSheet&&!e.innerHTML)}function P(){let e=document.getElementsByTagName("head")[0],t=e.insertBefore.bind(e);e.insertBefore=function(n,r){I(n)||Reflect.apply(t,e,[n,r])};let n=e.appendChild.bind(e);e.appendChild=function(t){I(t)||Reflect.apply(n,e,[t])}}function T({googleMapsApiKey:e,googleMapsClientId:t,version:n="weekly",language:r,region:o,libraries:i,channel:a,mapIds:s,authReferrerPolicy:l}){let c=[];return d(e&&t||!(e&&t),"You need to specify either googleMapsApiKey or googleMapsClientId for @react-google-maps/api load script to work. You cannot use both at the same time."),e?c.push(`key=${e}`):t&&c.push(`client=${t}`),n&&c.push(`v=${n}`),r&&c.push(`language=${r}`),o&&c.push(`region=${o}`),i&&i.length&&c.push(`libraries=${i.sort().join(",")}`),a&&c.push(`channel=${a}`),s&&s.length&&c.push(`map_ids=${s.join(",")}`),l&&c.push(`auth_referrer_policy=${l}`),c.push("callback=initMap"),`https://maps.googleapis.com/maps/api/js?${c.join("&")}`}let R=!1;function M(){return(0,s.jsx)("div",{children:"Loading..."})}let N={id:"script-loader",version:"weekly"};class j extends l.PureComponent{constructor(){super(...arguments),this.check=(0,l.createRef)(),this.state={loaded:!1},this.cleanupCallback=()=>{delete window.google.maps,this.injectScript()},this.isCleaningUp=()=>k(this,void 0,void 0,function*(){return new Promise(function(e){if(R){if(O){let t=window.setInterval(function(){R||(window.clearInterval(t),e())},1)}}else e()})}),this.cleanup=()=>{R=!0;let e=document.getElementById(this.props.id);e&&e.parentNode&&e.parentNode.removeChild(e),Array.prototype.slice.call(document.getElementsByTagName("script")).filter(function(e){return"string"==typeof e.src&&e.src.includes("maps.googleapis")}).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)}),Array.prototype.slice.call(document.getElementsByTagName("link")).filter(function(e){return"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"===e.href}).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)}),Array.prototype.slice.call(document.getElementsByTagName("style")).filter(function(e){return void 0!==e.innerText&&e.innerText.length>0&&e.innerText.includes(".gm-")}).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)})},this.injectScript=()=>{this.props.preventGoogleFontsLoading&&P(),d(!!this.props.id,'LoadScript requires "id" prop to be a string: %s',this.props.id),A({id:this.props.id,nonce:this.props.nonce,url:T(this.props)}).then(()=>{this.props.onLoad&&this.props.onLoad(),this.setState(function(){return{loaded:!0}})}).catch(e=>{this.props.onError&&this.props.onError(e),console.error(`
          There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${this.props.googleMapsApiKey||"-"}) or Client ID (${this.props.googleMapsClientId||"-"}) to <LoadScript />
          Otherwise it is a Network issue.
        `)})}}componentDidMount(){if(O){if(window.google&&window.google.maps&&!R){console.error("google api is already presented");return}this.isCleaningUp().then(this.injectScript).catch(function(e){console.error("Error at injecting script after cleaning up: ",e)})}}componentDidUpdate(e){this.props.libraries!==e.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),O&&e.language!==this.props.language&&(this.cleanup(),this.setState(function(){return{loaded:!1}},this.cleanupCallback))}componentWillUnmount(){if(O){this.cleanup();let e=()=>{this.check.current||(delete window.google,R=!1)};window.setTimeout(e,1),this.props.onUnmount&&this.props.onUnmount()}}render(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||(0,s.jsx)(M,{})]})}}function D({id:e=N.id,version:t=N.version,nonce:n,googleMapsApiKey:o,googleMapsClientId:i,language:a,region:s,libraries:c,preventGoogleFontsLoading:u,channel:f,mapIds:p,authReferrerPolicy:h}){let m=(0,l.useRef)(!1),[g,v]=(0,l.useState)(!1),[y,b]=(0,l.useState)(void 0);(0,l.useEffect)(function(){return m.current=!0,()=>{m.current=!1}},[]),(0,l.useEffect)(function(){O&&u&&P()},[u]),(0,l.useEffect)(function(){g&&d(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")},[g]);let w=T({version:t,googleMapsApiKey:o,googleMapsClientId:i,language:a,region:s,libraries:c,channel:f,mapIds:p,authReferrerPolicy:h});(0,l.useEffect)(function(){if(O){if(window.google&&window.google.maps&&r===w){t();return}A({id:e,url:w,nonce:n}).then(t).catch(function(e){m.current&&b(e),console.warn(`
        There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${o||"-"}) or Client ID (${i||"-"})
        Otherwise it is a Network issue.
      `),console.error(e)})}function t(){m.current&&(v(!0),r=w)}},[e,w,n]);let S=(0,l.useRef)();return(0,l.useEffect)(function(){S.current&&c!==S.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),S.current=c},[c]),{isLoaded:g,loadError:y,url:w}}j.defaultProps=N;let L=(0,s.jsx)(M,{});function B(e){var{loadingElement:t,onLoad:n,onError:r,onUnmount:o,children:i}=e;let{isLoaded:a,loadError:s}=D(_(e,["loadingElement","onLoad","onError","onUnmount","children"]));return(0,l.useEffect)(function(){a&&"function"==typeof n&&n()},[a,n]),(0,l.useEffect)(function(){s&&"function"==typeof r&&r(s)},[s,r]),(0,l.useEffect)(function(){return()=>{o&&o()}},[o]),a?i:t||L}(0,l.memo)(B),function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(i||(i={}));let Z={},F={options(e,t){e.setOptions(t)}};function z({options:e,onLoad:t,onUnmount:n}){let r=(0,l.useContext)(f),[o,i]=(0,l.useState)(null);return(0,l.useEffect)(()=>{null!==o&&o.setMap(r)},[r]),(0,l.useEffect)(()=>{e&&null!==o&&o.setOptions(e)},[o,e]),(0,l.useEffect)(()=>{let a=new google.maps.TrafficLayer(Object.assign(Object.assign({},e||{}),{map:r}));return i(a),t&&t(a),()=>{null!==o&&(n&&n(o),o.setMap(null))}},[]),null}(0,l.memo)(z);class U extends l.PureComponent{constructor(){super(...arguments),this.state={trafficLayer:null},this.setTrafficLayerCallback=()=>{null!==this.state.trafficLayer&&this.props.onLoad&&this.props.onLoad(this.state.trafficLayer)},this.registeredEvents=[]}componentDidMount(){let e=new google.maps.TrafficLayer(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=w({updaterMap:F,eventMap:Z,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{trafficLayer:e}},this.setTrafficLayerCallback)}componentDidUpdate(e){null!==this.state.trafficLayer&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:F,eventMap:Z,prevProps:e,nextProps:this.props,instance:this.state.trafficLayer}))}componentWillUnmount(){null!==this.state.trafficLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),b(this.registeredEvents),this.state.trafficLayer.setMap(null))}render(){return null}}function H({onLoad:e,onUnmount:t}){let n=(0,l.useContext)(f),[r,o]=(0,l.useState)(null);return(0,l.useEffect)(()=>{null!==r&&r.setMap(n)},[n]),(0,l.useEffect)(()=>{let r=new google.maps.BicyclingLayer;return o(r),r.setMap(n),e&&e(r),()=>{null!==r&&(t&&t(r),r.setMap(null))}},[]),null}U.contextType=f,(0,l.memo)(H);class q extends l.PureComponent{constructor(){super(...arguments),this.state={bicyclingLayer:null},this.setBicyclingLayerCallback=()=>{null!==this.state.bicyclingLayer&&(this.state.bicyclingLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.bicyclingLayer))}}componentDidMount(){let e=new google.maps.BicyclingLayer;this.setState(()=>({bicyclingLayer:e}),this.setBicyclingLayerCallback)}componentWillUnmount(){null!==this.state.bicyclingLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))}render(){return null}}function V({onLoad:e,onUnmount:t}){let n=(0,l.useContext)(f),[r,o]=(0,l.useState)(null);return(0,l.useEffect)(()=>{null!==r&&r.setMap(n)},[n]),(0,l.useEffect)(()=>{let i=new google.maps.TransitLayer;return o(i),i.setMap(n),e&&e(i),()=>{null!==r&&(t&&t(r),this.state.transitLayer.setMap(null))}},[]),null}q.contextType=f,(0,l.memo)(V);class W extends l.PureComponent{constructor(){super(...arguments),this.state={transitLayer:null},this.setTransitLayerCallback=()=>{null!==this.state.transitLayer&&(this.state.transitLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.transitLayer))}}componentDidMount(){let e=new google.maps.TransitLayer;this.setState(function(){return{transitLayer:e}},this.setTransitLayerCallback)}componentWillUnmount(){null!==this.state.transitLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))}render(){return null}}W.contextType=f;let $={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},G={drawingMode(e,t){e.setDrawingMode(t)},options(e,t){e.setOptions(t)}};function K({options:e,drawingMode:t,onCircleComplete:n,onMarkerComplete:r,onOverlayComplete:o,onPolygonComplete:i,onPolylineComplete:a,onRectangleComplete:s,onLoad:c,onUnmount:u}){let p=(0,l.useContext)(f),[h,m]=(0,l.useState)(null),[g,v]=(0,l.useState)(null),[y,b]=(0,l.useState)(null),[w,S]=(0,l.useState)(null),[x,E]=(0,l.useState)(null),[C,_]=(0,l.useState)(null),[k,O]=(0,l.useState)(null);return(0,l.useEffect)(()=>{null!==h&&h.setMap(p)},[p]),(0,l.useEffect)(()=>{e&&null!==h&&h.setOptions(e)},[h,e]),(0,l.useEffect)(()=>{t&&null!==h&&h.setDrawingMode(t)},[h,t]),(0,l.useEffect)(()=>{h&&n&&(null!==g&&google.maps.event.removeListener(g),v(google.maps.event.addListener(h,"circlecomplete",n)))},[h,n]),(0,l.useEffect)(()=>{h&&r&&(null!==y&&google.maps.event.removeListener(y),b(google.maps.event.addListener(h,"markercomplete",r)))},[h,r]),(0,l.useEffect)(()=>{h&&o&&(null!==w&&google.maps.event.removeListener(w),S(google.maps.event.addListener(h,"overlaycomplete",o)))},[h,o]),(0,l.useEffect)(()=>{h&&i&&(null!==x&&google.maps.event.removeListener(x),E(google.maps.event.addListener(h,"polygoncomplete",i)))},[h,i]),(0,l.useEffect)(()=>{h&&a&&(null!==C&&google.maps.event.removeListener(C),_(google.maps.event.addListener(h,"polylinecomplete",a)))},[h,a]),(0,l.useEffect)(()=>{h&&s&&(null!==k&&google.maps.event.removeListener(k),O(google.maps.event.addListener(h,"rectanglecomplete",s)))},[h,s]),(0,l.useEffect)(()=>{d(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);let l=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},e||{}),{map:p}));return t&&l.setDrawingMode(t),n&&v(google.maps.event.addListener(l,"circlecomplete",n)),r&&b(google.maps.event.addListener(l,"markercomplete",r)),o&&S(google.maps.event.addListener(l,"overlaycomplete",o)),i&&E(google.maps.event.addListener(l,"polygoncomplete",i)),a&&_(google.maps.event.addListener(l,"polylinecomplete",a)),s&&O(google.maps.event.addListener(l,"rectanglecomplete",s)),m(l),c&&c(l),()=>{null!==h&&(g&&google.maps.event.removeListener(g),y&&google.maps.event.removeListener(y),w&&google.maps.event.removeListener(w),x&&google.maps.event.removeListener(x),C&&google.maps.event.removeListener(C),k&&google.maps.event.removeListener(k),u&&u(h),h.setMap(null))}},[]),null}let Y=(0,l.memo)(K);class X extends l.PureComponent{constructor(e){super(e),this.registeredEvents=[],this.state={drawingManager:null},this.setDrawingManagerCallback=()=>{null!==this.state.drawingManager&&this.props.onLoad&&this.props.onLoad(this.state.drawingManager)},d(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing)}componentDidMount(){let e=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=w({updaterMap:G,eventMap:$,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{drawingManager:e}},this.setDrawingManagerCallback)}componentDidUpdate(e){null!==this.state.drawingManager&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:G,eventMap:$,prevProps:e,nextProps:this.props,instance:this.state.drawingManager}))}componentWillUnmount(){null!==this.state.drawingManager&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),b(this.registeredEvents),this.state.drawingManager.setMap(null))}render(){return null}}X.contextType=f;let Q={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},J={animation(e,t){e.setAnimation(t)},clickable(e,t){e.setClickable(t)},cursor(e,t){e.setCursor(t)},draggable(e,t){e.setDraggable(t)},icon(e,t){e.setIcon(t)},label(e,t){e.setLabel(t)},map(e,t){e.setMap(t)},opacity(e,t){e.setOpacity(t)},options(e,t){e.setOptions(t)},position(e,t){e.setPosition(t)},shape(e,t){e.setShape(t)},title(e,t){e.setTitle(t)},visible(e,t){e.setVisible(t)},zIndex(e,t){e.setZIndex(t)}},ee={};function et({position:e,options:t,clusterer:n,noClustererRedraw:r,children:o,draggable:i,visible:a,animation:c,clickable:u,cursor:d,icon:p,label:h,opacity:m,shape:g,title:v,zIndex:y,onClick:b,onDblClick:w,onDrag:S,onDragEnd:x,onDragStart:E,onMouseOut:C,onMouseOver:_,onMouseUp:k,onMouseDown:O,onRightClick:A,onClickableChanged:I,onCursorChanged:P,onAnimationChanged:T,onDraggableChanged:R,onFlatChanged:M,onIconChanged:N,onPositionChanged:j,onShapeChanged:D,onTitleChanged:L,onVisibleChanged:B,onZindexChanged:Z,onLoad:F,onUnmount:z}){let U=(0,l.useContext)(f),[H,q]=(0,l.useState)(null),[V,W]=(0,l.useState)(null),[$,G]=(0,l.useState)(null),[K,Y]=(0,l.useState)(null),[X,Q]=(0,l.useState)(null),[J,et]=(0,l.useState)(null),[en,er]=(0,l.useState)(null),[eo,ei]=(0,l.useState)(null),[ea,es]=(0,l.useState)(null),[el,ec]=(0,l.useState)(null),[eu,ed]=(0,l.useState)(null),[ef,ep]=(0,l.useState)(null),[eh,em]=(0,l.useState)(null),[eg,ev]=(0,l.useState)(null),[ey,eb]=(0,l.useState)(null),[ew,eS]=(0,l.useState)(null),[ex,eE]=(0,l.useState)(null),[eC,e_]=(0,l.useState)(null),[ek,eO]=(0,l.useState)(null),[eA,eI]=(0,l.useState)(null),[eP,eT]=(0,l.useState)(null),[eR,eM]=(0,l.useState)(null);(0,l.useEffect)(()=>{null!==H&&H.setMap(U)},[U]),(0,l.useEffect)(()=>{void 0!==t&&null!==H&&H.setOptions(t)},[H,t]),(0,l.useEffect)(()=>{void 0!==i&&null!==H&&H.setDraggable(i)},[H,i]),(0,l.useEffect)(()=>{e&&null!==H&&H.setPosition(e)},[H,e]),(0,l.useEffect)(()=>{void 0!==a&&null!==H&&H.setVisible(a)},[H,a]),(0,l.useEffect)(()=>{c&&null!==H&&H.setAnimation(c)},[H,c]),(0,l.useEffect)(()=>{H&&w&&(null!==V&&google.maps.event.removeListener(V),W(google.maps.event.addListener(H,"dblclick",w)))},[w]),(0,l.useEffect)(()=>{H&&x&&(null!==$&&google.maps.event.removeListener($),G(google.maps.event.addListener(H,"dragend",x)))},[x]),(0,l.useEffect)(()=>{H&&E&&(null!==K&&google.maps.event.removeListener(K),Y(google.maps.event.addListener(H,"dragstart",E)))},[E]),(0,l.useEffect)(()=>{H&&O&&(null!==X&&google.maps.event.removeListener(X),Q(google.maps.event.addListener(H,"mousedown",O)))},[O]),(0,l.useEffect)(()=>{H&&C&&(null!==J&&google.maps.event.removeListener(J),et(google.maps.event.addListener(H,"mouseout",C)))},[C]),(0,l.useEffect)(()=>{H&&_&&(null!==en&&google.maps.event.removeListener(en),er(google.maps.event.addListener(H,"mouseover",_)))},[_]),(0,l.useEffect)(()=>{H&&k&&(null!==eo&&google.maps.event.removeListener(eo),ei(google.maps.event.addListener(H,"mouseup",k)))},[k]),(0,l.useEffect)(()=>{H&&A&&(null!==ea&&google.maps.event.removeListener(ea),es(google.maps.event.addListener(H,"rightclick",A)))},[A]),(0,l.useEffect)(()=>{H&&b&&(null!==el&&google.maps.event.removeListener(el),ec(google.maps.event.addListener(H,"click",b)))},[b]),(0,l.useEffect)(()=>{H&&S&&(null!==eu&&google.maps.event.removeListener(eu),ed(google.maps.event.addListener(H,"drag",S)))},[S]),(0,l.useEffect)(()=>{H&&I&&(null!==ef&&google.maps.event.removeListener(ef),ep(google.maps.event.addListener(H,"clickable_changed",I)))},[I]),(0,l.useEffect)(()=>{H&&P&&(null!==eh&&google.maps.event.removeListener(eh),em(google.maps.event.addListener(H,"cursor_changed",P)))},[P]),(0,l.useEffect)(()=>{H&&T&&(null!==eg&&google.maps.event.removeListener(eg),ev(google.maps.event.addListener(H,"animation_changed",T)))},[T]),(0,l.useEffect)(()=>{H&&R&&(null!==ey&&google.maps.event.removeListener(ey),eb(google.maps.event.addListener(H,"draggable_changed",R)))},[R]),(0,l.useEffect)(()=>{H&&M&&(null!==ew&&google.maps.event.removeListener(ew),eS(google.maps.event.addListener(H,"flat_changed",M)))},[M]),(0,l.useEffect)(()=>{H&&N&&(null!==ex&&google.maps.event.removeListener(ex),eE(google.maps.event.addListener(H,"icon_changed",N)))},[N]),(0,l.useEffect)(()=>{H&&j&&(null!==eC&&google.maps.event.removeListener(eC),e_(google.maps.event.addListener(H,"position_changed",j)))},[j]),(0,l.useEffect)(()=>{H&&D&&(null!==ek&&google.maps.event.removeListener(ek),eO(google.maps.event.addListener(H,"shape_changed",D)))},[D]),(0,l.useEffect)(()=>{H&&L&&(null!==eA&&google.maps.event.removeListener(eA),eI(google.maps.event.addListener(H,"title_changed",L)))},[L]),(0,l.useEffect)(()=>{H&&B&&(null!==eP&&google.maps.event.removeListener(eP),eT(google.maps.event.addListener(H,"visible_changed",B)))},[B]),(0,l.useEffect)(()=>{H&&Z&&(null!==eR&&google.maps.event.removeListener(eR),eM(google.maps.event.addListener(H,"zindex_changed",Z)))},[Z]),(0,l.useEffect)(()=>{let o=Object.assign(Object.assign(Object.assign({},t||ee),n?ee:{map:U}),{position:e}),s=new google.maps.Marker(o);return n?n.addMarker(s,!!r):s.setMap(U),e&&s.setPosition(e),void 0!==a&&s.setVisible(a),void 0!==i&&s.setDraggable(i),void 0!==u&&s.setClickable(u),"string"==typeof d&&s.setCursor(d),p&&s.setIcon(p),void 0!==h&&s.setLabel(h),void 0!==m&&s.setOpacity(m),g&&s.setShape(g),"string"==typeof v&&s.setTitle(v),"number"==typeof y&&s.setZIndex(y),w&&W(google.maps.event.addListener(s,"dblclick",w)),x&&G(google.maps.event.addListener(s,"dragend",x)),E&&Y(google.maps.event.addListener(s,"dragstart",E)),O&&Q(google.maps.event.addListener(s,"mousedown",O)),C&&et(google.maps.event.addListener(s,"mouseout",C)),_&&er(google.maps.event.addListener(s,"mouseover",_)),k&&ei(google.maps.event.addListener(s,"mouseup",k)),A&&es(google.maps.event.addListener(s,"rightclick",A)),b&&ec(google.maps.event.addListener(s,"click",b)),S&&ed(google.maps.event.addListener(s,"drag",S)),I&&ep(google.maps.event.addListener(s,"clickable_changed",I)),P&&em(google.maps.event.addListener(s,"cursor_changed",P)),T&&ev(google.maps.event.addListener(s,"animation_changed",T)),R&&eb(google.maps.event.addListener(s,"draggable_changed",R)),M&&eS(google.maps.event.addListener(s,"flat_changed",M)),N&&eE(google.maps.event.addListener(s,"icon_changed",N)),j&&e_(google.maps.event.addListener(s,"position_changed",j)),D&&eO(google.maps.event.addListener(s,"shape_changed",D)),L&&eI(google.maps.event.addListener(s,"title_changed",L)),B&&eT(google.maps.event.addListener(s,"visible_changed",B)),Z&&eM(google.maps.event.addListener(s,"zindex_changed",Z)),q(s),F&&F(s),()=>{null!==V&&google.maps.event.removeListener(V),null!==$&&google.maps.event.removeListener($),null!==K&&google.maps.event.removeListener(K),null!==X&&google.maps.event.removeListener(X),null!==J&&google.maps.event.removeListener(J),null!==en&&google.maps.event.removeListener(en),null!==eo&&google.maps.event.removeListener(eo),null!==ea&&google.maps.event.removeListener(ea),null!==el&&google.maps.event.removeListener(el),null!==ef&&google.maps.event.removeListener(ef),null!==eh&&google.maps.event.removeListener(eh),null!==eg&&google.maps.event.removeListener(eg),null!==ey&&google.maps.event.removeListener(ey),null!==ew&&google.maps.event.removeListener(ew),null!==ex&&google.maps.event.removeListener(ex),null!==eC&&google.maps.event.removeListener(eC),null!==eA&&google.maps.event.removeListener(eA),null!==eP&&google.maps.event.removeListener(eP),null!==eR&&google.maps.event.removeListener(eR),z&&z(s),n?n.removeMarker(s,!!r):s&&s.setMap(null)}},[]);let eN=(0,l.useMemo)(()=>o?l.Children.map(o,e=>{if(!(0,l.isValidElement)(e))return e;let t=e;return(0,l.cloneElement)(t,{anchor:H})}):null,[o,H]);return(0,s.jsx)(s.Fragment,{children:eN})||null}let en=(0,l.memo)(et);class er extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[]}componentDidMount(){let e=Object.assign(Object.assign(Object.assign({},this.props.options||ee),this.props.clusterer?ee:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(e),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=w({updaterMap:J,eventMap:Q,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)}componentDidUpdate(e){this.marker&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:J,eventMap:Q,prevProps:e,nextProps:this.props,instance:this.marker}))}componentWillUnmount(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),b(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))}render(){let e=null;return this.props.children&&(e=l.Children.map(this.props.children,e=>{if(!(0,l.isValidElement)(e))return e;let t=e;return(0,l.cloneElement)(t,{anchor:this.marker})})),e||null}}er.contextType=f;var eo=function(){function e(t,n){t.getClusterer().extend(e,google.maps.OverlayView),this.cluster=t,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(t.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return e.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},e.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},e.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var t=this.cluster.getClusterer();if(google.maps.event.trigger(t,"click",this.cluster),google.maps.event.trigger(t,"clusterclick",this.cluster),t.getZoomOnClick()){var n=t.getMaxZoom(),r=this.cluster.getBounds(),o=t.getMap();null!==o&&"fitBounds"in o&&o.fitBounds(r),this.timeOut=window.setTimeout(function(){var e=t.getMap();if(null!==e){"fitBounds"in e&&e.fitBounds(r);var o=e.getZoom()||0;null!==n&&o>n&&e.setZoom(n+1)}},100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},e.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},e.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},e.prototype.onAdd=function(){this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),null===(e=this.getPanes())||void 0===e||e.overlayMouseTarget.appendChild(this.div);var e,t=this.getMap();null!==t&&(this.boundsChangedListener=google.maps.event.addListener(t,"bounds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),null!==this.boundsChangedListener&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),null!==this.timeOut&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},e.prototype.draw=function(){if(this.visible&&null!==this.div&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=null!==e?"".concat(e.y,"px"):"0",this.div.style.left=null!==e?"".concat(e.x,"px"):"0"}},e.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},e.prototype.show=function(){var e,t,n,r;if(this.div&&this.center){var o=null===this.sums||void 0===this.sums.title||""===this.sums.title?this.cluster.getClusterer().getTitle():this.sums.title,i=this.backgroundPosition.split(" "),a=parseInt(i[0].replace(/^\s+|\s+$/g,""),10),s=parseInt(i[1].replace(/^\s+|\s+$/g,""),10),l=this.getPosFromLatLng(this.center);this.div.className=this.className,this.div.setAttribute("style","cursor: pointer; position: absolute; top: ".concat(null!==l?"".concat(l.y,"px"):"0","; left: ").concat(null!==l?"".concat(l.x,"px"):"0","; width: ").concat(this.width,"px; height: ").concat(this.height,"px; "));var c=document.createElement("img");c.alt=o,c.src=this.url,c.width=this.width,c.height=this.height,c.setAttribute("style","position: absolute; top: ".concat(s,"px; left: ").concat(a,"px")),this.cluster.getClusterer().enableRetinaIcons||(c.style.clip="rect(-".concat(s,"px, -").concat(a+this.width,"px, -").concat(s+this.height,", -").concat(a,")"));var u=document.createElement("div");u.setAttribute("style","position: absolute; top: ".concat(this.anchorText[0],"px; left: ").concat(this.anchorText[1],"px; color: ").concat(this.textColor,"; font-size: ").concat(this.textSize,"px; font-family: ").concat(this.fontFamily,"; font-weight: ").concat(this.fontWeight,"; fontStyle: ").concat(this.fontStyle,"; text-decoration: ").concat(this.textDecoration,"; text-align: center; width: ").concat(this.width,"px; line-height: ").concat(this.height,"px")),(null===(e=this.sums)||void 0===e?void 0:e.text)&&(u.innerText="".concat(null===(t=this.sums)||void 0===t?void 0:t.text)),(null===(n=this.sums)||void 0===n?void 0:n.html)&&(u.innerHTML="".concat(null===(r=this.sums)||void 0===r?void 0:r.html)),this.div.innerHTML="",this.div.appendChild(c),this.div.appendChild(u),this.div.title=o,this.div.style.display=""}this.visible=!0},e.prototype.useStyle=function(e){this.sums=e;var t=this.cluster.getClusterer().getStyles(),n=t[Math.min(t.length-1,Math.max(0,e.index-1))];this.url=n.url,this.height=n.height,this.width=n.width,n.className&&(this.className="".concat(this.clusterClassName," ").concat(n.className)),this.anchorText=n.anchorText||[0,0],this.anchorIcon=n.anchorIcon||[this.height/2,this.width/2],this.textColor=n.textColor||"black",this.textSize=n.textSize||11,this.textDecoration=n.textDecoration||"none",this.fontWeight=n.fontWeight||"bold",this.fontStyle=n.fontStyle||"normal",this.fontFamily=n.fontFamily||"Arial,sans-serif",this.backgroundPosition=n.backgroundPosition||"0 0"},e.prototype.setCenter=function(e){this.center=e},e.prototype.getPosFromLatLng=function(e){var t=this.getProjection().fromLatLngToDivPixel(e);return null!==t&&(t.x-=this.anchorIcon[1],t.y-=this.anchorIcon[0]),t},e}(),ei=function(){function e(e){this.markerClusterer=e,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new eo(this,this.markerClusterer.getStyles()),this.getSize=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}return e.prototype.getSize=function(){return this.markers.length},e.prototype.getMarkers=function(){return this.markers},e.prototype.getCenter=function(){return this.center},e.prototype.getMap=function(){return this.map},e.prototype.getClusterer=function(){return this.markerClusterer},e.prototype.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center,this.center),t=this.getMarkers(),n=0;n<t.length;n++){var r=t[n].getPosition();r&&e.extend(r)}return e},e.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},e.prototype.addMarker=function(e){if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter){var t=e.getPosition();if(t){var n=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(n-1)+t.lat())/n,(this.center.lng()*(n-1)+t.lng())/n),this.calculateBounds()}}}else{var r,t=e.getPosition();t&&(this.center=t,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var o=this.markers.length,i=this.markerClusterer.getMaxZoom(),a=null===(r=this.map)||void 0===r?void 0:r.getZoom();if(null!==i&&void 0!==a&&a>i)e.getMap()!==this.map&&e.setMap(this.map);else if(o<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(o===this.minClusterSize)for(var s=0;s<o;s++)this.markers[s].setMap(null);else e.setMap(null);return!0},e.prototype.isMarkerInClusterBounds=function(e){if(null!==this.bounds){var t=e.getPosition();if(t)return this.bounds.contains(t)}return!1},e.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},e.prototype.updateIcon=function(){var e,t=this.markers.length,n=this.markerClusterer.getMaxZoom(),r=null===(e=this.map)||void 0===e?void 0:e.getZoom();if(null!==n&&void 0!==r&&r>n||t<this.minClusterSize){this.clusterIcon.hide();return}this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show()},e.prototype.isMarkerAlreadyAdded=function(e){if(this.markers.includes)return this.markers.includes(e);for(var t=0;t<this.markers.length;t++)if(e===this.markers[t])return!0;return!1},e}();function ea(e,t){var n=e.length,r=Math.min(n.toString().length,t);return{text:n.toString(),index:r,title:""}}var es=2e3,el=500,ec="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",eu="png",ed=[53,56,66,78,90],ef="cluster",ep=function(){function e(t,n,r){void 0===n&&(n=[]),void 0===r&&(r={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createClusters=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.extend=this.extend.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend(e,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=r.gridSize||60,this.minClusterSize=r.minimumClusterSize||2,this.maxZoom=r.maxZoom||null,this.styles=r.styles||[],this.title=r.title||"",this.zoomOnClick=!0,void 0!==r.zoomOnClick&&(this.zoomOnClick=r.zoomOnClick),this.averageCenter=!1,void 0!==r.averageCenter&&(this.averageCenter=r.averageCenter),this.ignoreHidden=!1,void 0!==r.ignoreHidden&&(this.ignoreHidden=r.ignoreHidden),this.enableRetinaIcons=!1,void 0!==r.enableRetinaIcons&&(this.enableRetinaIcons=r.enableRetinaIcons),this.imagePath=r.imagePath||ec,this.imageExtension=r.imageExtension||eu,this.imageSizes=r.imageSizes||ed,this.calculator=r.calculator||ea,this.batchSize=r.batchSize||es,this.batchSizeIE=r.batchSizeIE||el,this.clusterClass=r.clusterClass||ef,-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(t)}return e.prototype.onZoomChanged=function(){var e,t;this.resetViewport(!1),((null===(e=this.getMap())||void 0===e?void 0:e.getZoom())===(this.get("minZoom")||0)||(null===(t=this.getMap())||void 0===t?void 0:t.getZoom())===this.get("maxZoom"))&&google.maps.event.trigger(this,"idle")},e.prototype.onIdle=function(){this.redraw()},e.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),null!==e&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},e.prototype.onRemove=function(){for(var e=0;e<this.markers.length;e++)this.markers[e].getMap()!==this.activeMap&&this.markers[e].setMap(this.activeMap);for(var e=0;e<this.clusters.length;e++)this.clusters[e].remove();this.clusters=[];for(var e=0;e<this.listeners.length;e++)google.maps.event.removeListener(this.listeners[e]);this.listeners=[],this.activeMap=null,this.ready=!1},e.prototype.draw=function(){},e.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e],width:this.imageSizes[e]})},e.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),t=new google.maps.LatLngBounds,n=0;n<e.length;n++){var r=e[n].getPosition();r&&t.extend(r)}var o=this.getMap();null!==o&&"fitBounds"in o&&o.fitBounds(t)},e.prototype.getGridSize=function(){return this.gridSize},e.prototype.setGridSize=function(e){this.gridSize=e},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize},e.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},e.prototype.getMaxZoom=function(){return this.maxZoom},e.prototype.setMaxZoom=function(e){this.maxZoom=e},e.prototype.getStyles=function(){return this.styles},e.prototype.setStyles=function(e){this.styles=e},e.prototype.getTitle=function(){return this.title},e.prototype.setTitle=function(e){this.title=e},e.prototype.getZoomOnClick=function(){return this.zoomOnClick},e.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},e.prototype.getAverageCenter=function(){return this.averageCenter},e.prototype.setAverageCenter=function(e){this.averageCenter=e},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden},e.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},e.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},e.prototype.getImageExtension=function(){return this.imageExtension},e.prototype.setImageExtension=function(e){this.imageExtension=e},e.prototype.getImagePath=function(){return this.imagePath},e.prototype.setImagePath=function(e){this.imagePath=e},e.prototype.getImageSizes=function(){return this.imageSizes},e.prototype.setImageSizes=function(e){this.imageSizes=e},e.prototype.getCalculator=function(){return this.calculator},e.prototype.setCalculator=function(e){this.calculator=e},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE},e.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},e.prototype.getClusterClass=function(){return this.clusterClass},e.prototype.setClusterClass=function(e){this.clusterClass=e},e.prototype.getMarkers=function(){return this.markers},e.prototype.getTotalMarkers=function(){return this.markers.length},e.prototype.getClusters=function(){return this.clusters},e.prototype.getTotalClusters=function(){return this.clusters.length},e.prototype.addMarker=function(e,t){this.pushMarkerTo(e),t||this.redraw()},e.prototype.addMarkers=function(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.pushMarkerTo(e[n]);t||this.redraw()},e.prototype.pushMarkerTo=function(e){var t=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",function(){t.ready&&(e.isAdded=!1,t.repaint())}),e.isAdded=!1,this.markers.push(e)},e.prototype.removeMarker_=function(e){var t=-1;if(this.markers.indexOf)t=this.markers.indexOf(e);else for(var n=0;n<this.markers.length;n++)if(e===this.markers[n]){t=n;break}return -1!==t&&(e.setMap(null),this.markers.splice(t,1),!0)},e.prototype.removeMarker=function(e,t){var n=this.removeMarker_(e);return!t&&n&&this.repaint(),n},e.prototype.removeMarkers=function(e,t){for(var n=!1,r=0;r<e.length;r++)n=n||this.removeMarker_(e[r]);return!t&&n&&this.repaint(),n},e.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},e.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout(function(){for(var t=0;t<e.length;t++)e[t].remove()},0)},e.prototype.getExtendedBounds=function(e){var t=this.getProjection(),n=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));null!==n&&(n.x+=this.gridSize,n.y-=this.gridSize);var r=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(null!==r&&(r.x-=this.gridSize,r.y+=this.gridSize),null!==n){var o=t.fromDivPixelToLatLng(n);null!==o&&e.extend(o)}if(null!==r){var i=t.fromDivPixelToLatLng(r);null!==i&&e.extend(i)}return e},e.prototype.redraw=function(){this.createClusters(0)},e.prototype.resetViewport=function(e){for(var t=0;t<this.clusters.length;t++)this.clusters[t].remove();this.clusters=[];for(var t=0;t<this.markers.length;t++){var n=this.markers[t];n.isAdded=!1,e&&n.setMap(null)}},e.prototype.distanceBetweenPoints=function(e,t){var n=6371,r=(t.lat()-e.lat())*Math.PI/180,o=(t.lng()-e.lng())*Math.PI/180,i=Math.sin(r/2)*Math.sin(r/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(t.lat()*Math.PI/180)*Math.sin(o/2)*Math.sin(o/2);return 2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i))*n},e.prototype.isMarkerInBounds=function(e,t){var n=e.getPosition();return!!n&&t.contains(n)},e.prototype.addToClosestCluster=function(e){for(var t,n=4e4,r=null,o=0;o<this.clusters.length;o++){var i=(t=this.clusters[o]).getCenter(),a=e.getPosition();if(i&&a){var s=this.distanceBetweenPoints(i,a);s<n&&(n=s,r=t)}}r&&r.isMarkerInClusterBounds(e)?r.addMarker(e):((t=new ei(this)).addMarker(e),this.clusters.push(t))},e.prototype.createClusters=function(e){var t=this;if(this.ready){0===e&&(google.maps.event.trigger(this,"clusteringbegin",this),null!==this.timerRefStatic&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var n=this.getMap(),r=null!==n&&("getBounds"in n)?n.getBounds():null,o=((null==n?void 0:n.getZoom())||0)>3?new google.maps.LatLngBounds(null==r?void 0:r.getSouthWest(),null==r?void 0:r.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),i=this.getExtendedBounds(o),a=Math.min(e+this.batchSize,this.markers.length),s=e;s<a;s++){var l=this.markers[s];!l.isAdded&&this.isMarkerInBounds(l,i)&&(!this.ignoreHidden||this.ignoreHidden&&l.getVisible())&&this.addToClosestCluster(l)}if(a<this.markers.length)this.timerRefStatic=window.setTimeout(function(){t.createClusters(a)},0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);for(var s=0;s<this.clusters.length;s++)this.clusters[s].updateIcon()}}},e.prototype.extend=function(e,t){return(function(e){for(var t in e.prototype)this.prototype[t]=e.prototype[t];return this}).apply(e,[t])},e}();let eh={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},em={averageCenter(e,t){e.setAverageCenter(t)},batchSizeIE(e,t){e.setBatchSizeIE(t)},calculator(e,t){e.setCalculator(t)},clusterClass(e,t){e.setClusterClass(t)},enableRetinaIcons(e,t){e.setEnableRetinaIcons(t)},gridSize(e,t){e.setGridSize(t)},ignoreHidden(e,t){e.setIgnoreHidden(t)},imageExtension(e,t){e.setImageExtension(t)},imagePath(e,t){e.setImagePath(t)},imageSizes(e,t){e.setImageSizes(t)},maxZoom(e,t){e.setMaxZoom(t)},minimumClusterSize(e,t){e.setMinimumClusterSize(t)},styles(e,t){e.setStyles(t)},title(e,t){e.setTitle(t)},zoomOnClick(e,t){e.setZoomOnClick(t)}},eg={};function ev(e){let{children:t,options:n,averageCenter:r,batchSizeIE:o,calculator:i,clusterClass:a,enableRetinaIcons:s,gridSize:c,ignoreHidden:u,imageExtension:d,imagePath:p,imageSizes:h,maxZoom:m,minimumClusterSize:g,styles:v,title:y,zoomOnClick:b,onClick:w,onClusteringBegin:S,onClusteringEnd:x,onMouseOver:E,onMouseOut:C,onLoad:_,onUnmount:k}=e,[O,A]=(0,l.useState)(null),I=(0,l.useContext)(f),[P,T]=(0,l.useState)(null),[R,M]=(0,l.useState)(null),[N,j]=(0,l.useState)(null),[D,L]=(0,l.useState)(null),[B,Z]=(0,l.useState)(null);return(0,l.useEffect)(()=>{O&&C&&(null!==D&&google.maps.event.removeListener(D),L(google.maps.event.addListener(O,eh.onMouseOut,C)))},[C]),(0,l.useEffect)(()=>{O&&E&&(null!==B&&google.maps.event.removeListener(B),Z(google.maps.event.addListener(O,eh.onMouseOver,E)))},[E]),(0,l.useEffect)(()=>{O&&w&&(null!==P&&google.maps.event.removeListener(P),T(google.maps.event.addListener(O,eh.onClick,w)))},[w]),(0,l.useEffect)(()=>{O&&S&&(null!==R&&google.maps.event.removeListener(R),M(google.maps.event.addListener(O,eh.onClusteringBegin,S)))},[S]),(0,l.useEffect)(()=>{O&&x&&(null!==N&&google.maps.event.removeListener(N),M(google.maps.event.addListener(O,eh.onClusteringEnd,x)))},[x]),(0,l.useEffect)(()=>{void 0!==r&&null!==O&&em.averageCenter(O,r)},[O,r]),(0,l.useEffect)(()=>{void 0!==o&&null!==O&&em.batchSizeIE(O,o)},[O,o]),(0,l.useEffect)(()=>{void 0!==i&&null!==O&&em.calculator(O,i)},[O,i]),(0,l.useEffect)(()=>{void 0!==a&&null!==O&&em.clusterClass(O,a)},[O,a]),(0,l.useEffect)(()=>{void 0!==s&&null!==O&&em.enableRetinaIcons(O,s)},[O,s]),(0,l.useEffect)(()=>{void 0!==c&&null!==O&&em.gridSize(O,c)},[O,c]),(0,l.useEffect)(()=>{void 0!==u&&null!==O&&em.ignoreHidden(O,u)},[O,u]),(0,l.useEffect)(()=>{void 0!==d&&null!==O&&em.imageExtension(O,d)},[O,d]),(0,l.useEffect)(()=>{void 0!==p&&null!==O&&em.imagePath(O,p)},[O,p]),(0,l.useEffect)(()=>{void 0!==h&&null!==O&&em.imageSizes(O,h)},[O,h]),(0,l.useEffect)(()=>{void 0!==m&&null!==O&&em.maxZoom(O,m)},[O,m]),(0,l.useEffect)(()=>{void 0!==g&&null!==O&&em.minimumClusterSize(O,g)},[O,g]),(0,l.useEffect)(()=>{void 0!==v&&null!==O&&em.styles(O,v)},[O,v]),(0,l.useEffect)(()=>{void 0!==y&&null!==O&&em.title(O,y)},[O,y]),(0,l.useEffect)(()=>{void 0!==b&&null!==O&&em.zoomOnClick(O,b)},[O,b]),(0,l.useEffect)(()=>{if(!I)return;let e=new ep(I,[],Object.assign({},n||eg));return r&&em.averageCenter(e,r),o&&em.batchSizeIE(e,o),i&&em.calculator(e,i),a&&em.clusterClass(e,a),s&&em.enableRetinaIcons(e,s),c&&em.gridSize(e,c),u&&em.ignoreHidden(e,u),d&&em.imageExtension(e,d),p&&em.imagePath(e,p),h&&em.imageSizes(e,h),m&&em.maxZoom(e,m),g&&em.minimumClusterSize(e,g),v&&em.styles(e,v),y&&em.title(e,y),b&&em.zoomOnClick(e,b),C&&L(google.maps.event.addListener(e,eh.onMouseOut,C)),E&&Z(google.maps.event.addListener(e,eh.onMouseOver,E)),w&&T(google.maps.event.addListener(e,eh.onClick,w)),S&&M(google.maps.event.addListener(e,eh.onClusteringBegin,S)),x&&j(google.maps.event.addListener(e,eh.onClusteringEnd,x)),A(e),_&&_(e),()=>{null!==D&&google.maps.event.removeListener(D),null!==B&&google.maps.event.removeListener(B),null!==P&&google.maps.event.removeListener(P),null!==R&&google.maps.event.removeListener(R),null!==N&&google.maps.event.removeListener(N),k&&k(e)}},[]),null!==O&&t(O)||null}(0,l.memo)(ev);class ey extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={markerClusterer:null},this.setClustererCallback=()=>{null!==this.state.markerClusterer&&this.props.onLoad&&this.props.onLoad(this.state.markerClusterer)}}componentDidMount(){if(this.context){let e=new ep(this.context,[],this.props.options);this.registeredEvents=w({updaterMap:em,eventMap:eh,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({markerClusterer:e}),this.setClustererCallback)}}componentDidUpdate(e){this.state.markerClusterer&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:em,eventMap:eh,prevProps:e,nextProps:this.props,instance:this.state.markerClusterer}))}componentWillUnmount(){null!==this.state.markerClusterer&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),b(this.registeredEvents),this.state.markerClusterer.setMap(null))}render(){return null!==this.state.markerClusterer?this.props.children(this.state.markerClusterer):null}}function eb(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}ey.contextType=f;var ew=function(){function e(t){void 0===t&&(t={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.bind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),this.extend(e,google.maps.OverlayView),this.content=t.content||"",this.disableAutoPan=t.disableAutoPan||!1,this.maxWidth=t.maxWidth||0,this.pixelOffset=t.pixelOffset||new google.maps.Size(0,0),this.position=t.position||new google.maps.LatLng(0,0),this.zIndex=t.zIndex||null,this.boxClass=t.boxClass||"infoBox",this.boxStyle=t.boxStyle||{},this.closeBoxMargin=t.closeBoxMargin||"2px",this.closeBoxURL=t.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",""===t.closeBoxURL&&(this.closeBoxURL=""),this.infoBoxClearance=t.infoBoxClearance||new google.maps.Size(1,1),void 0===t.visible&&(void 0===t.isHidden?t.visible=!0:t.visible=!t.isHidden),this.isHidden=!t.visible,this.alignBottom=t.alignBottom||!1,this.pane=t.pane||"floatPane",this.enableEventPropagation=t.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return e.prototype.createInfoBoxDiv=function(){var e=this,t=function(t){t.returnValue=!1,t.preventDefault&&t.preventDefault(),e.enableEventPropagation||eb(t)};if(!this.div){this.div=document.createElement("div"),this.setBoxStyle(),"string"==typeof this.content?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content));var n=this.getPanes();if(null!==n&&n[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(0!==this.maxWidth&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var r=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-r.left-r.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var o=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],i=0;i<o.length;i++)this.eventListeners.push(google.maps.event.addListener(this.div,o[i],eb));this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",function(){e.div&&(e.div.style.cursor="default")}))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",t),google.maps.event.trigger(this,"domready")}},e.prototype.getCloseBoxImg=function(){var e="";return""!==this.closeBoxURL&&(e='<img alt="" aria-hidden="true" src=\''+this.closeBoxURL+"' align=right style=' position: relative; cursor: pointer; margin: "+this.closeBoxMargin+";'>"),e},e.prototype.addClickHandler=function(){this.closeListener=this.div&&this.div.firstChild&&""!==this.closeBoxURL?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},e.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},e.prototype.getCloseClickHandler=function(){return this.closeClickHandler},e.prototype.panBox=function(e){if(this.div&&!e){var t=this.getMap();if(t instanceof google.maps.Map){var n=0,r=0,o=t.getBounds();o&&!o.contains(this.position)&&t.setCenter(this.position);var i=t.getDiv(),a=i.offsetWidth,s=i.offsetHeight,l=this.pixelOffset.width,c=this.pixelOffset.height,u=this.div.offsetWidth,d=this.div.offsetHeight,f=this.infoBoxClearance.width,p=this.infoBoxClearance.height,h=this.getProjection().fromLatLngToContainerPixel(this.position);null!==h&&(h.x<-l+f?n=h.x+l-f:h.x+u+l+f>a&&(n=h.x+u+l+f-a),this.alignBottom?h.y<-c+p+d?r=h.y+c-p-d:h.y+c+p>s&&(r=h.y+c+p-s):h.y<-c+p?r=h.y+c-p:h.y+d+c+p>s&&(r=h.y+d+c+p-s)),0===n&&0===r||t.panBy(n,r)}}},e.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.div.style[t]=e[t]);if(this.div.style.webkitTransform="translateZ(0)",void 0!==this.div.style.opacity&&""!==this.div.style.opacity){var n=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"',this.div.style.filter="alpha(opacity="+100*n+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",null!==this.zIndex&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},e.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView){var t=this.div.ownerDocument,n=t&&t.defaultView?t.defaultView.getComputedStyle(this.div,""):null;n&&(e.top=parseInt(n.borderTopWidth||"",10)||0,e.bottom=parseInt(n.borderBottomWidth||"",10)||0,e.left=parseInt(n.borderLeftWidth||"",10)||0,e.right=parseInt(n.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var r=this.div.currentStyle;r&&(e.top=parseInt(r.borderTopWidth||"",10)||0,e.bottom=parseInt(r.borderBottomWidth||"",10)||0,e.left=parseInt(r.borderLeftWidth||"",10)||0,e.right=parseInt(r.borderRightWidth||"",10)||0)}return e},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},e.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection().fromLatLngToDivPixel(this.position);null!==e&&(this.div.style.left=e.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(e.y+this.pixelOffset.height)+"px":this.div.style.top=e.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},e.prototype.setOptions=function(e){void 0===e&&(e={}),void 0!==e.boxClass&&(this.boxClass=e.boxClass,this.setBoxStyle()),void 0!==e.boxStyle&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),void 0!==e.content&&this.setContent(e.content),void 0!==e.disableAutoPan&&(this.disableAutoPan=e.disableAutoPan),void 0!==e.maxWidth&&(this.maxWidth=e.maxWidth),void 0!==e.pixelOffset&&(this.pixelOffset=e.pixelOffset),void 0!==e.alignBottom&&(this.alignBottom=e.alignBottom),void 0!==e.position&&this.setPosition(e.position),void 0!==e.zIndex&&this.setZIndex(e.zIndex),void 0!==e.closeBoxMargin&&(this.closeBoxMargin=e.closeBoxMargin),void 0!==e.closeBoxURL&&(this.closeBoxURL=e.closeBoxURL),void 0!==e.infoBoxClearance&&(this.infoBoxClearance=e.infoBoxClearance),void 0!==e.isHidden&&(this.isHidden=e.isHidden),void 0!==e.visible&&(this.isHidden=!e.visible),void 0!==e.enableEventPropagation&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},e.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),"string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px","string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},e.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},e.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},e.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},e.prototype.getContent=function(){return this.content},e.prototype.getPosition=function(){return this.position},e.prototype.getZIndex=function(){return this.zIndex},e.prototype.getVisible=function(){return null!=this.getMap()&&!this.isHidden},e.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},e.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},e.prototype.open=function(e,t){var n=this;t&&(this.position=t.getPosition(),this.moveListener=google.maps.event.addListener(t,"position_changed",function(){var e=t.getPosition();n.setPosition(e)}),this.mapListener=google.maps.event.addListener(t,"map_changed",function(){n.setMap(t.map)})),this.setMap(e),this.div&&this.panBox()},e.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0;e<this.eventListeners.length;e++)google.maps.event.removeListener(this.eventListeners[e]);this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},e.prototype.extend=function(e,t){return(function(e){for(var t in e.prototype)Object.prototype.hasOwnProperty.call(this,t)||(this.prototype[t]=e.prototype[t]);return this}).apply(e,[t])},e}();let eS={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},ex={options(e,t){e.setOptions(t)},position(e,t){t instanceof google.maps.LatLng?e.setPosition(t):e.setPosition(new google.maps.LatLng(t.lat,t.lng))},visible(e,t){e.setVisible(t)},zIndex(e,t){e.setZIndex(t)}},eE={};function eC({children:e,anchor:t,options:n,position:r,zIndex:o,onCloseClick:i,onDomReady:a,onContentChanged:s,onPositionChanged:u,onZindexChanged:p,onLoad:h,onUnmount:m}){let g=(0,l.useContext)(f),[v,y]=(0,l.useState)(null),[b,w]=(0,l.useState)(null),[S,x]=(0,l.useState)(null),[E,C]=(0,l.useState)(null),[k,O]=(0,l.useState)(null),[A,I]=(0,l.useState)(null),P=(0,l.useRef)(null);return(0,l.useEffect)(()=>{g&&null!==v&&(v.close(),t?v.open(g,t):v.getPosition()&&v.open(g))},[g,v,t]),(0,l.useEffect)(()=>{n&&null!==v&&v.setOptions(n)},[v,n]),(0,l.useEffect)(()=>{if(r&&null!==v){let e=r instanceof google.maps.LatLng?r:new google.maps.LatLng(r.lat,r.lng);v.setPosition(e)}},[r]),(0,l.useEffect)(()=>{"number"==typeof o&&null!==v&&v.setZIndex(o)},[o]),(0,l.useEffect)(()=>{v&&i&&(null!==b&&google.maps.event.removeListener(b),w(google.maps.event.addListener(v,"closeclick",i)))},[i]),(0,l.useEffect)(()=>{v&&a&&(null!==S&&google.maps.event.removeListener(S),x(google.maps.event.addListener(v,"domready",a)))},[a]),(0,l.useEffect)(()=>{v&&s&&(null!==E&&google.maps.event.removeListener(E),C(google.maps.event.addListener(v,"content_changed",s)))},[s]),(0,l.useEffect)(()=>{v&&u&&(null!==k&&google.maps.event.removeListener(k),O(google.maps.event.addListener(v,"position_changed",u)))},[u]),(0,l.useEffect)(()=>{v&&p&&(null!==A&&google.maps.event.removeListener(A),I(google.maps.event.addListener(v,"zindex_changed",p)))},[p]),(0,l.useEffect)(()=>{if(g){let e;let r=n||eE,{position:o}=r,l=_(r,["position"]);!o||o instanceof google.maps.LatLng||(e=new google.maps.LatLng(o.lat,o.lng));let c=new ew(Object.assign(Object.assign({},l),e?{position:e}:{}));P.current=document.createElement("div"),y(c),i&&w(google.maps.event.addListener(c,"closeclick",i)),a&&x(google.maps.event.addListener(c,"domready",a)),s&&C(google.maps.event.addListener(c,"content_changed",s)),u&&O(google.maps.event.addListener(c,"position_changed",u)),p&&I(google.maps.event.addListener(c,"zindex_changed",p)),c.setContent(P.current),t?c.open(g,t):c.getPosition()?c.open(g):d(!1,"You must provide either an anchor or a position prop for <InfoBox>."),h&&h(c)}return()=>{null!==v&&(b&&google.maps.event.removeListener(b),E&&google.maps.event.removeListener(E),S&&google.maps.event.removeListener(S),k&&google.maps.event.removeListener(k),A&&google.maps.event.removeListener(A),m&&m(v),v.close())}},[]),P.current?(0,c.createPortal)(l.Children.only(e),P.current):null}(0,l.memo)(eC);class e_ extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoBox:null},this.open=(e,t)=>{t?e.open(this.context,t):e.getPosition()?e.open(this.context):d(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},this.setInfoBoxCallback=()=>{null!==this.state.infoBox&&null!==this.containerElement&&(this.state.infoBox.setContent(this.containerElement),this.open(this.state.infoBox,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoBox))}}componentDidMount(){let e;let t=this.props.options||{},{position:n}=t,r=_(t,["position"]);!n||n instanceof google.maps.LatLng||(e=new google.maps.LatLng(n.lat,n.lng));let o=new ew(Object.assign(Object.assign({},r),e?{position:e}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=w({updaterMap:ex,eventMap:eS,prevProps:{},nextProps:this.props,instance:o}),this.setState({infoBox:o},this.setInfoBoxCallback)}componentDidUpdate(e){let{infoBox:t}=this.state;null!==t&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:ex,eventMap:eS,prevProps:e,nextProps:this.props,instance:t}))}componentWillUnmount(){let{onUnmount:e}=this.props,{infoBox:t}=this.state;null!==t&&(e&&e(t),b(this.registeredEvents),t.close())}render(){return this.containerElement?(0,c.createPortal)(l.Children.only(this.props.children),this.containerElement):null}}e_.contextType=f;var ek=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var r,o,i,a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n},eO={exports:{}};!function(e,t){!function(t,n){e.exports=n()}(0,function(){function e(n,r,o,i,a,s){if(!(a-i<=o)){var l=i+a>>1;t(n,r,l,i,a,s%2),e(n,r,o,i,l-1,s+1),e(n,r,o,l+1,a,s+1)}}function t(e,r,o,i,a,s){for(;a>i;){if(a-i>600){var l=a-i+1,c=o-i+1,u=Math.log(l),d=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*d*(l-d)/l)*(c-l/2<0?-1:1),p=Math.max(i,Math.floor(o-c*d/l+f)),h=Math.min(a,Math.floor(o+(l-c)*d/l+f));t(e,r,o,p,h,s)}var m=r[2*o+s],g=i,v=a;for(n(e,r,i,o),r[2*a+s]>m&&n(e,r,i,a);g<v;){for(n(e,r,g,v),g++,v--;r[2*g+s]<m;)g++;for(;r[2*v+s]>m;)v--}r[2*i+s]===m?n(e,r,i,v):n(e,r,++v,a),v<=o&&(i=v+1),o<=v&&(a=v-1)}}function n(e,t,n,o){r(e,n,o),r(t,2*n,2*o),r(t,2*n+1,2*o+1)}function r(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function o(e,t,n,r,o,i,a){for(var s,l,c=[0,e.length-1,0],u=[];c.length;){var d=c.pop(),f=c.pop(),p=c.pop();if(f-p<=a){for(var h=p;h<=f;h++)s=t[2*h],l=t[2*h+1],s>=n&&s<=o&&l>=r&&l<=i&&u.push(e[h]);continue}var m=Math.floor((p+f)/2);s=t[2*m],l=t[2*m+1],s>=n&&s<=o&&l>=r&&l<=i&&u.push(e[m]);var g=(d+1)%2;(0===d?n<=s:r<=l)&&(c.push(p),c.push(m-1),c.push(g)),(0===d?o>=s:i>=l)&&(c.push(m+1),c.push(f),c.push(g))}return u}function i(e,t,n,r,o,i){for(var s=[0,e.length-1,0],l=[],c=o*o;s.length;){var u=s.pop(),d=s.pop(),f=s.pop();if(d-f<=i){for(var p=f;p<=d;p++)a(t[2*p],t[2*p+1],n,r)<=c&&l.push(e[p]);continue}var h=Math.floor((f+d)/2),m=t[2*h],g=t[2*h+1];a(m,g,n,r)<=c&&l.push(e[h]);var v=(u+1)%2;(0===u?n-o<=m:r-o<=g)&&(s.push(f),s.push(h-1),s.push(v)),(0===u?n+o>=m:r+o>=g)&&(s.push(h+1),s.push(d),s.push(v))}return l}function a(e,t,n,r){var o=e-n,i=t-r;return o*o+i*i}var s=function(e){return e[0]},l=function(e){return e[1]},c=function(t,n,r,o,i){void 0===n&&(n=s),void 0===r&&(r=l),void 0===o&&(o=64),void 0===i&&(i=Float64Array),this.nodeSize=o,this.points=t;for(var a=t.length<65536?Uint16Array:Uint32Array,c=this.ids=new a(t.length),u=this.coords=new i(2*t.length),d=0;d<t.length;d++)c[d]=d,u[2*d]=n(t[d]),u[2*d+1]=r(t[d]);e(c,u,o,0,c.length-1,0)};return c.prototype.range=function(e,t,n,r){return o(this.ids,this.coords,e,t,n,r,this.nodeSize)},c.prototype.within=function(e,t,n){return i(this.ids,this.coords,e,t,n,this.nodeSize)},c})}(eO);var eA=eO.exports;let eI={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},eP=Math.fround||(o=new Float32Array(1),e=>(o[0]=+e,o[0]));class eT{constructor(e){this.options=eF(Object.create(eI),e),this.trees=Array(this.options.maxZoom+1)}load(e){let{log:t,minZoom:n,maxZoom:r,nodeSize:o}=this.options;t&&console.time("total time");let i=`prepare ${e.length} points`;t&&console.time(i),this.points=e;let a=[];for(let t=0;t<e.length;t++)e[t].geometry&&a.push(eM(e[t],t));this.trees[r+1]=new eA(a,ez,eU,o,Float32Array),t&&console.timeEnd(i);for(let e=r;e>=n;e--){let n=+Date.now();a=this._cluster(a,e),this.trees[e]=new eA(a,ez,eU,o,Float32Array),t&&console.log("z%d: %d clusters in %dms",e,a.length,+Date.now()-n)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let n=((e[0]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,e[1])),o=180===e[2]?180:((e[2]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,o=180;else if(n>o){let e=this.getClusters([n,r,180,i],t),a=this.getClusters([-180,r,o,i],t);return e.concat(a)}let a=this.trees[this._limitZoom(t)],s=a.range(eD(n),eL(i),eD(o),eL(r)),l=[];for(let e of s){let t=a.points[e];l.push(t.numPoints?eN(t):this.points[t.index])}return l}getChildren(e){let t=this._getOriginId(e),n=this._getOriginZoom(e),r="No cluster with the specified id.",o=this.trees[n];if(!o)throw Error(r);let i=o.points[t];if(!i)throw Error(r);let a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=o.within(i.x,i.y,a),l=[];for(let t of s){let n=o.points[t];n.parentId===e&&l.push(n.numPoints?eN(n):this.points[n.index])}if(0===l.length)throw Error(r);return l}getLeaves(e,t,n){t=t||10,n=n||0;let r=[];return this._appendLeaves(r,e,t,n,0),r}getTile(e,t,n){let r=this.trees[this._limitZoom(e)],o=Math.pow(2,e),{extent:i,radius:a}=this.options,s=a/i,l=(n-s)/o,c=(n+1+s)/o,u={features:[]};return this._addTileFeatures(r.range((t-s)/o,l,(t+1+s)/o,c),r.points,t,n,o,u),0===t&&this._addTileFeatures(r.range(1-s/o,l,1,c),r.points,o,n,o,u),t===o-1&&this._addTileFeatures(r.range(0,l,s/o,c),r.points,-1,n,o,u),u.features.length?u:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){let n=this.getChildren(e);if(t++,1!==n.length)break;e=n[0].properties.cluster_id}return t}_appendLeaves(e,t,n,r,o){for(let i of this.getChildren(t)){let t=i.properties;if(t&&t.cluster?o+t.point_count<=r?o+=t.point_count:o=this._appendLeaves(e,t.cluster_id,n,r,o):o<r?o++:e.push(i),e.length===n)break}return o}_addTileFeatures(e,t,n,r,o,i){for(let a of e){let e,s,l,c;let u=t[a],d=u.numPoints;if(d)e=ej(u),s=u.x,l=u.y;else{let t=this.points[u.index];e=t.properties,s=eD(t.geometry.coordinates[0]),l=eL(t.geometry.coordinates[1])}let f={type:1,geometry:[[Math.round(this.options.extent*(s*o-n)),Math.round(this.options.extent*(l*o-r))]],tags:e};d?c=u.id:this.options.generateId?c=u.index:this.points[u.index].id&&(c=this.points[u.index].id),void 0!==c&&(f.id=c),i.features.push(f)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(+e,this.options.maxZoom+1))}_cluster(e,t){let n=[],{radius:r,extent:o,reduce:i,minPoints:a}=this.options,s=r/(o*Math.pow(2,t));for(let r=0;r<e.length;r++){let o=e[r];if(o.zoom<=t)continue;o.zoom=t;let l=this.trees[t+1],c=l.within(o.x,o.y,s),u=o.numPoints||1,d=u;for(let e of c){let n=l.points[e];n.zoom>t&&(d+=n.numPoints||1)}if(d>u&&d>=a){let e=o.x*u,a=o.y*u,s=i&&u>1?this._map(o,!0):null,f=(r<<5)+(t+1)+this.points.length;for(let n of c){let r=l.points[n];if(r.zoom<=t)continue;r.zoom=t;let c=r.numPoints||1;e+=r.x*c,a+=r.y*c,r.parentId=f,i&&(s||(s=this._map(o,!0)),i(s,this._map(r)))}o.parentId=f,n.push(eR(e/d,a/d,f,d,s))}else if(n.push(o),d>1)for(let e of c){let r=l.points[e];r.zoom<=t||(r.zoom=t,n.push(r))}}return n}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t){if(e.numPoints)return t?eF({},e.properties):e.properties;let n=this.points[e.index].properties,r=this.options.map(n);return t&&r===n?eF({},r):r}}function eR(e,t,n,r,o){return{x:eP(e),y:eP(t),zoom:1/0,id:n,parentId:-1,numPoints:r,properties:o}}function eM(e,t){let[n,r]=e.geometry.coordinates;return{x:eP(eD(n)),y:eP(eL(r)),zoom:1/0,index:t,parentId:-1}}function eN(e){return{type:"Feature",id:e.id,properties:ej(e),geometry:{type:"Point",coordinates:[eB(e.x),eZ(e.y)]}}}function ej(e){let t=e.numPoints,n=t>=1e4?`${Math.round(t/1e3)}k`:t>=1e3?`${Math.round(t/100)/10}k`:t;return eF(eF({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:n})}function eD(e){return e/360+.5}function eL(e){let t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function eB(e){return(e-.5)*360}function eZ(e){return 360*Math.atan(Math.exp((180-360*e)*Math.PI/180))/Math.PI-90}function eF(e,t){for(let n in t)e[n]=t[n];return e}function ez(e){return e.x}function eU(e){return e.y}/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function eH(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}class eq{constructor({markers:e,position:t}){this.markers=e,t&&(t instanceof google.maps.LatLng?this._position=t:this._position=new google.maps.LatLng(t))}get bounds(){if(0!==this.markers.length||this._position)return this.markers.reduce((e,t)=>e.extend(t.getPosition()),new google.maps.LatLngBounds(this._position,this._position))}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>e.getVisible()).length}push(e){this.markers.push(e)}delete(){this.marker&&(this.marker.setMap(null),delete this.marker),this.markers.length=0}}let eV=(e,t,n)=>{let{northEast:r,southWest:o}=eW(e,t);return eG(e$({northEast:r,southWest:o},n),t)},eW=(e,t)=>({northEast:t.fromLatLngToDivPixel(e.getNorthEast()),southWest:t.fromLatLngToDivPixel(e.getSouthWest())}),e$=({northEast:e,southWest:t},n)=>(e.x+=n,e.y-=n,t.x-=n,t.y+=n,{northEast:e,southWest:t}),eG=({northEast:e,southWest:t},n)=>{let r=new google.maps.LatLngBounds;return r.extend(n.fromDivPixelToLatLng(e)),r.extend(n.fromDivPixelToLatLng(t)),r};class eK{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return eY(e)}}let eY=e=>e.map(e=>new eq({position:e.getPosition(),markers:[e]}));class eX extends eK{constructor(e){var{maxZoom:t,radius:n=60}=e,r=eH(e,["maxZoom","radius"]);super({maxZoom:t}),this.superCluster=new eT(Object.assign({maxZoom:this.maxZoom,radius:n},r)),this.state={zoom:null}}calculate(e){let t=!1;if(!ek(e.markers,this.markers)){t=!0,this.markers=[...e.markers];let n=this.markers.map(e=>({type:"Feature",geometry:{type:"Point",coordinates:[e.getPosition().lng(),e.getPosition().lat()]},properties:{marker:e}}));this.superCluster.load(n)}let n={zoom:e.map.getZoom()};return!t&&(this.state.zoom>this.maxZoom&&n.zoom>this.maxZoom||(t=t||!ek(this.state,n))),this.state=n,t&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:t}}cluster({map:e}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(e.getZoom())).map(this.transformCluster.bind(this))}transformCluster({geometry:{coordinates:[e,t]},properties:n}){if(n.cluster)return new eq({markers:this.superCluster.getLeaves(n.cluster_id,1/0).map(e=>e.properties.marker),position:new google.maps.LatLng({lat:t,lng:e})});{let e=n.marker;return new eq({markers:[e],position:e.getPosition()})}}}class eQ{constructor(e,t){this.markers={sum:e.length};let n=t.map(e=>e.count),r=n.reduce((e,t)=>e+t,0);this.clusters={count:t.length,markers:{mean:r/t.length,sum:r,min:Math.min(...n),max:Math.max(...n)}}}}class eJ{render({count:e,position:t},n){let r=e>Math.max(10,n.clusters.markers.mean)?"#ff0000":"#0000ff",o=window.btoa(`
  <svg fill="${r}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240">
    <circle cx="120" cy="120" opacity=".6" r="70" />
    <circle cx="120" cy="120" opacity=".3" r="90" />
    <circle cx="120" cy="120" opacity=".2" r="110" />
  </svg>`);return new google.maps.Marker({position:t,icon:{url:`data:image/svg+xml;base64,${o}`,scaledSize:new google.maps.Size(45,45)},label:{text:String(e),color:"rgba(255,255,255,0.9)",fontSize:"12px"},title:`Cluster of ${e} markers`,zIndex:Number(google.maps.Marker.MAX_ZINDEX)+e})}}function e0(e,t){for(let n in t.prototype)e.prototype[n]=t.prototype[n]}class e1{constructor(){e0(e1,google.maps.OverlayView)}}!function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click"}(a||(a={}));let e2=(e,t,n)=>{n.fitBounds(t.bounds)};class e3 extends e1{constructor({map:e,markers:t=[],algorithm:n=new eX({}),renderer:r=new eJ,onClusterClick:o=e2}){super(),this.markers=[...t],this.clusters=[],this.algorithm=n,this.renderer=r,this.onClusterClick=o,e&&this.setMap(e)}addMarker(e,t){!this.markers.includes(e)&&(this.markers.push(e),t||this.render())}addMarkers(e,t){e.forEach(e=>{this.addMarker(e,!0)}),t||this.render()}removeMarker(e,t){let n=this.markers.indexOf(e);return -1!==n&&(e.setMap(null),this.markers.splice(n,1),t||this.render(),!0)}removeMarkers(e,t){let n=!1;return e.forEach(e=>{n=this.removeMarker(e,!0)||n}),n&&!t&&this.render(),n}clearMarkers(e){this.markers.length=0,e||this.render()}render(){let e=this.getMap();if(e instanceof google.maps.Map&&this.getProjection()){google.maps.event.trigger(this,a.CLUSTERING_BEGIN,this);let{clusters:t,changed:n}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});(n||void 0==n)&&(this.reset(),this.clusters=t,this.renderClusters()),google.maps.event.trigger(this,a.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(e=>e.setMap(null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){let e=new eQ(this.markers,this.clusters),t=this.getMap();this.clusters.forEach(n=>{1===n.markers.length?n.marker=n.markers[0]:(n.marker=this.renderer.render(n,e),this.onClusterClick&&n.marker.addListener("click",e=>{google.maps.event.trigger(this,a.CLUSTER_CLICK,n),this.onClusterClick(e,n,t)})),n.marker.setMap(t)})}}function e4(e){let t=p(),[n,r]=(0,l.useState)(null);return(0,l.useEffect)(()=>{t&&null===n&&r(new e3(Object.assign(Object.assign({},e),{map:t})))},[t]),n}function e5({children:e,options:t}){let n=e4(t);return null!==n?e(n):null}(0,l.memo)(e5);let e6={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},e8={options(e,t){e.setOptions(t)},position(e,t){e.setPosition(t)},zIndex(e,t){e.setZIndex(t)}};function e7({children:e,anchor:t,options:n,position:r,zIndex:o,onCloseClick:i,onDomReady:a,onContentChanged:s,onPositionChanged:u,onZindexChanged:p,onLoad:h,onUnmount:m}){let g=(0,l.useContext)(f),[v,y]=(0,l.useState)(null),[b,w]=(0,l.useState)(null),[S,x]=(0,l.useState)(null),[E,C]=(0,l.useState)(null),[_,k]=(0,l.useState)(null),[O,A]=(0,l.useState)(null),I=(0,l.useRef)(null);return(0,l.useEffect)(()=>{null!==v&&(v.close(),t?v.open(g,t):v.getPosition()&&v.open(g))},[g,v,t]),(0,l.useEffect)(()=>{n&&null!==v&&v.setOptions(n)},[v,n]),(0,l.useEffect)(()=>{r&&null!==v&&v.setPosition(r)},[r]),(0,l.useEffect)(()=>{"number"==typeof o&&null!==v&&v.setZIndex(o)},[o]),(0,l.useEffect)(()=>{v&&i&&(null!==b&&google.maps.event.removeListener(b),w(google.maps.event.addListener(v,"closeclick",i)))},[i]),(0,l.useEffect)(()=>{v&&a&&(null!==S&&google.maps.event.removeListener(S),x(google.maps.event.addListener(v,"domready",a)))},[a]),(0,l.useEffect)(()=>{v&&s&&(null!==E&&google.maps.event.removeListener(E),C(google.maps.event.addListener(v,"content_changed",s)))},[s]),(0,l.useEffect)(()=>{v&&u&&(null!==_&&google.maps.event.removeListener(_),k(google.maps.event.addListener(v,"position_changed",u)))},[u]),(0,l.useEffect)(()=>{v&&p&&(null!==O&&google.maps.event.removeListener(O),A(google.maps.event.addListener(v,"zindex_changed",p)))},[p]),(0,l.useEffect)(()=>{let e=new google.maps.InfoWindow(Object.assign({},n||{}));return y(e),I.current=document.createElement("div"),i&&w(google.maps.event.addListener(e,"closeclick",i)),a&&x(google.maps.event.addListener(e,"domready",a)),s&&C(google.maps.event.addListener(e,"content_changed",s)),u&&k(google.maps.event.addListener(e,"position_changed",u)),p&&A(google.maps.event.addListener(e,"zindex_changed",p)),e.setContent(I.current),r&&e.setPosition(r),o&&e.setZIndex(o),t?e.open(g,t):e.getPosition()?e.open(g):d(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),h&&h(e),()=>{b&&google.maps.event.removeListener(b),E&&google.maps.event.removeListener(E),S&&google.maps.event.removeListener(S),_&&google.maps.event.removeListener(_),O&&google.maps.event.removeListener(O),m&&m(e),e.close()}},[]),I.current?(0,c.createPortal)(l.Children.only(e),I.current):null}let e9=(0,l.memo)(e7);class te extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoWindow:null},this.open=(e,t)=>{t?e.open(this.context,t):e.getPosition()?e.open(this.context):d(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},this.setInfoWindowCallback=()=>{null!==this.state.infoWindow&&null!==this.containerElement&&(this.state.infoWindow.setContent(this.containerElement),this.open(this.state.infoWindow,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoWindow))}}componentDidMount(){let e=new google.maps.InfoWindow(Object.assign({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=w({updaterMap:e8,eventMap:e6,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({infoWindow:e}),this.setInfoWindowCallback)}componentDidUpdate(e){null!==this.state.infoWindow&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:e8,eventMap:e6,prevProps:e,nextProps:this.props,instance:this.state.infoWindow}))}componentWillUnmount(){null!==this.state.infoWindow&&(b(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())}render(){return this.containerElement?(0,c.createPortal)(l.Children.only(this.props.children),this.containerElement):null}}te.contextType=f;let tt={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},tn={draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},path(e,t){e.setPath(t)},visible(e,t){e.setVisible(t)}},tr={};function to({options:e,draggable:t,editable:n,visible:r,path:o,onDblClick:i,onDragEnd:a,onDragStart:s,onMouseDown:c,onMouseMove:u,onMouseOut:d,onMouseOver:p,onMouseUp:h,onRightClick:m,onClick:g,onDrag:v,onLoad:y,onUnmount:b}){let w=(0,l.useContext)(f),[S,x]=(0,l.useState)(null),[E,C]=(0,l.useState)(null),[_,k]=(0,l.useState)(null),[O,A]=(0,l.useState)(null),[I,P]=(0,l.useState)(null),[T,R]=(0,l.useState)(null),[M,N]=(0,l.useState)(null),[j,D]=(0,l.useState)(null),[L,B]=(0,l.useState)(null),[Z,F]=(0,l.useState)(null),[z,U]=(0,l.useState)(null),[H,q]=(0,l.useState)(null);return(0,l.useEffect)(()=>{null!==S&&S.setMap(w)},[w]),(0,l.useEffect)(()=>{void 0!==e&&null!==S&&S.setOptions(e)},[S,e]),(0,l.useEffect)(()=>{void 0!==t&&null!==S&&S.setDraggable(t)},[S,t]),(0,l.useEffect)(()=>{void 0!==n&&null!==S&&S.setEditable(n)},[S,n]),(0,l.useEffect)(()=>{void 0!==r&&null!==S&&S.setVisible(r)},[S,r]),(0,l.useEffect)(()=>{void 0!==o&&null!==S&&S.setPath(o)},[S,o]),(0,l.useEffect)(()=>{S&&i&&(null!==E&&google.maps.event.removeListener(E),C(google.maps.event.addListener(S,"dblclick",i)))},[i]),(0,l.useEffect)(()=>{S&&a&&(null!==_&&google.maps.event.removeListener(_),k(google.maps.event.addListener(S,"dragend",a)))},[a]),(0,l.useEffect)(()=>{S&&s&&(null!==O&&google.maps.event.removeListener(O),A(google.maps.event.addListener(S,"dragstart",s)))},[s]),(0,l.useEffect)(()=>{S&&c&&(null!==I&&google.maps.event.removeListener(I),P(google.maps.event.addListener(S,"mousedown",c)))},[c]),(0,l.useEffect)(()=>{S&&u&&(null!==T&&google.maps.event.removeListener(T),R(google.maps.event.addListener(S,"mousemove",u)))},[u]),(0,l.useEffect)(()=>{S&&d&&(null!==M&&google.maps.event.removeListener(M),N(google.maps.event.addListener(S,"mouseout",d)))},[d]),(0,l.useEffect)(()=>{S&&p&&(null!==j&&google.maps.event.removeListener(j),D(google.maps.event.addListener(S,"mouseover",p)))},[p]),(0,l.useEffect)(()=>{S&&h&&(null!==L&&google.maps.event.removeListener(L),B(google.maps.event.addListener(S,"mouseup",h)))},[h]),(0,l.useEffect)(()=>{S&&m&&(null!==Z&&google.maps.event.removeListener(Z),F(google.maps.event.addListener(S,"rightclick",m)))},[m]),(0,l.useEffect)(()=>{S&&g&&(null!==z&&google.maps.event.removeListener(z),U(google.maps.event.addListener(S,"click",g)))},[g]),(0,l.useEffect)(()=>{S&&v&&(null!==H&&google.maps.event.removeListener(H),q(google.maps.event.addListener(S,"drag",v)))},[v]),(0,l.useEffect)(()=>{let l=new google.maps.Polyline(Object.assign(Object.assign({},e||tr),{map:w}));return o&&l.setPath(o),void 0!==r&&l.setVisible(r),void 0!==n&&l.setEditable(n),void 0!==t&&l.setDraggable(t),i&&C(google.maps.event.addListener(l,"dblclick",i)),a&&k(google.maps.event.addListener(l,"dragend",a)),s&&A(google.maps.event.addListener(l,"dragstart",s)),c&&P(google.maps.event.addListener(l,"mousedown",c)),u&&R(google.maps.event.addListener(l,"mousemove",u)),d&&N(google.maps.event.addListener(l,"mouseout",d)),p&&D(google.maps.event.addListener(l,"mouseover",p)),h&&B(google.maps.event.addListener(l,"mouseup",h)),m&&F(google.maps.event.addListener(l,"rightclick",m)),g&&U(google.maps.event.addListener(l,"click",g)),v&&q(google.maps.event.addListener(l,"drag",v)),x(l),y&&y(l),()=>{null!==E&&google.maps.event.removeListener(E),null!==_&&google.maps.event.removeListener(_),null!==O&&google.maps.event.removeListener(O),null!==I&&google.maps.event.removeListener(I),null!==T&&google.maps.event.removeListener(T),null!==M&&google.maps.event.removeListener(M),null!==j&&google.maps.event.removeListener(j),null!==L&&google.maps.event.removeListener(L),null!==Z&&google.maps.event.removeListener(Z),null!==z&&google.maps.event.removeListener(z),b&&b(l),l.setMap(null)}},[]),null}(0,l.memo)(to);class ti extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polyline:null},this.setPolylineCallback=()=>{null!==this.state.polyline&&this.props.onLoad&&this.props.onLoad(this.state.polyline)}}componentDidMount(){let e=new google.maps.Polyline(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=w({updaterMap:tn,eventMap:tt,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{polyline:e}},this.setPolylineCallback)}componentDidUpdate(e){null!==this.state.polyline&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:tn,eventMap:tt,prevProps:e,nextProps:this.props,instance:this.state.polyline}))}componentWillUnmount(){null!==this.state.polyline&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),b(this.registeredEvents),this.state.polyline.setMap(null))}render(){return null}}ti.contextType=f;let ta={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},ts={draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},path(e,t){e.setPath(t)},paths(e,t){e.setPaths(t)},visible(e,t){e.setVisible(t)}};function tl({options:e,draggable:t,editable:n,visible:r,path:o,paths:i,onDblClick:a,onDragEnd:s,onDragStart:c,onMouseDown:u,onMouseMove:d,onMouseOut:p,onMouseOver:h,onMouseUp:m,onRightClick:g,onClick:v,onDrag:y,onLoad:b,onUnmount:w}){let S=(0,l.useContext)(f),[x,E]=(0,l.useState)(null),[C,_]=(0,l.useState)(null),[k,O]=(0,l.useState)(null),[A,I]=(0,l.useState)(null),[P,T]=(0,l.useState)(null),[R,M]=(0,l.useState)(null),[N,j]=(0,l.useState)(null),[D,L]=(0,l.useState)(null),[B,Z]=(0,l.useState)(null),[F,z]=(0,l.useState)(null),[U,H]=(0,l.useState)(null),[q,V]=(0,l.useState)(null);return(0,l.useEffect)(()=>{null!==x&&x.setMap(S)},[S]),(0,l.useEffect)(()=>{void 0!==e&&null!==x&&x.setOptions(e)},[x,e]),(0,l.useEffect)(()=>{void 0!==t&&null!==x&&x.setDraggable(t)},[x,t]),(0,l.useEffect)(()=>{void 0!==n&&null!==x&&x.setEditable(n)},[x,n]),(0,l.useEffect)(()=>{void 0!==r&&null!==x&&x.setVisible(r)},[x,r]),(0,l.useEffect)(()=>{void 0!==o&&null!==x&&x.setPath(o)},[x,o]),(0,l.useEffect)(()=>{void 0!==i&&null!==x&&x.setPaths(i)},[x,i]),(0,l.useEffect)(()=>{x&&a&&(null!==C&&google.maps.event.removeListener(C),_(google.maps.event.addListener(x,"dblclick",a)))},[a]),(0,l.useEffect)(()=>{x&&s&&(null!==k&&google.maps.event.removeListener(k),O(google.maps.event.addListener(x,"dragend",s)))},[s]),(0,l.useEffect)(()=>{x&&c&&(null!==A&&google.maps.event.removeListener(A),I(google.maps.event.addListener(x,"dragstart",c)))},[c]),(0,l.useEffect)(()=>{x&&u&&(null!==P&&google.maps.event.removeListener(P),T(google.maps.event.addListener(x,"mousedown",u)))},[u]),(0,l.useEffect)(()=>{x&&d&&(null!==R&&google.maps.event.removeListener(R),M(google.maps.event.addListener(x,"mousemove",d)))},[d]),(0,l.useEffect)(()=>{x&&p&&(null!==N&&google.maps.event.removeListener(N),j(google.maps.event.addListener(x,"mouseout",p)))},[p]),(0,l.useEffect)(()=>{x&&h&&(null!==D&&google.maps.event.removeListener(D),L(google.maps.event.addListener(x,"mouseover",h)))},[h]),(0,l.useEffect)(()=>{x&&m&&(null!==B&&google.maps.event.removeListener(B),Z(google.maps.event.addListener(x,"mouseup",m)))},[m]),(0,l.useEffect)(()=>{x&&g&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(x,"rightclick",g)))},[g]),(0,l.useEffect)(()=>{x&&v&&(null!==U&&google.maps.event.removeListener(U),H(google.maps.event.addListener(x,"click",v)))},[v]),(0,l.useEffect)(()=>{x&&y&&(null!==q&&google.maps.event.removeListener(q),V(google.maps.event.addListener(x,"drag",y)))},[y]),(0,l.useEffect)(()=>{let l=new google.maps.Polygon(Object.assign(Object.assign({},e||{}),{map:S}));return o&&l.setPath(o),i&&l.setPaths(i),void 0!==r&&l.setVisible(r),void 0!==n&&l.setEditable(n),void 0!==t&&l.setDraggable(t),a&&_(google.maps.event.addListener(l,"dblclick",a)),s&&O(google.maps.event.addListener(l,"dragend",s)),c&&I(google.maps.event.addListener(l,"dragstart",c)),u&&T(google.maps.event.addListener(l,"mousedown",u)),d&&M(google.maps.event.addListener(l,"mousemove",d)),p&&j(google.maps.event.addListener(l,"mouseout",p)),h&&L(google.maps.event.addListener(l,"mouseover",h)),m&&Z(google.maps.event.addListener(l,"mouseup",m)),g&&z(google.maps.event.addListener(l,"rightclick",g)),v&&H(google.maps.event.addListener(l,"click",v)),y&&V(google.maps.event.addListener(l,"drag",y)),E(l),b&&b(l),()=>{null!==C&&google.maps.event.removeListener(C),null!==k&&google.maps.event.removeListener(k),null!==A&&google.maps.event.removeListener(A),null!==P&&google.maps.event.removeListener(P),null!==R&&google.maps.event.removeListener(R),null!==N&&google.maps.event.removeListener(N),null!==D&&google.maps.event.removeListener(D),null!==B&&google.maps.event.removeListener(B),null!==F&&google.maps.event.removeListener(F),null!==U&&google.maps.event.removeListener(U),w&&w(l),l.setMap(null)}},[]),null}let tc=(0,l.memo)(tl);class tu extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polygon:null},this.setPolygonCallback=()=>{null!==this.state.polygon&&this.props.onLoad&&this.props.onLoad(this.state.polygon)}}componentDidMount(){let e=new google.maps.Polygon(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=w({updaterMap:ts,eventMap:ta,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{polygon:e}},this.setPolygonCallback)}componentDidUpdate(e){null!==this.state.polygon&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:ts,eventMap:ta,prevProps:e,nextProps:this.props,instance:this.state.polygon}))}componentWillUnmount(){null!==this.state.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),b(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))}render(){return null}}tu.contextType=f;let td={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},tf={bounds(e,t){e.setBounds(t)},draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},visible(e,t){e.setVisible(t)}};function tp({options:e,bounds:t,draggable:n,editable:r,visible:o,onDblClick:i,onDragEnd:a,onDragStart:s,onMouseDown:c,onMouseMove:u,onMouseOut:d,onMouseOver:p,onMouseUp:h,onRightClick:m,onClick:g,onDrag:v,onBoundsChanged:y,onLoad:b,onUnmount:w}){let S=(0,l.useContext)(f),[x,E]=(0,l.useState)(null),[C,_]=(0,l.useState)(null),[k,O]=(0,l.useState)(null),[A,I]=(0,l.useState)(null),[P,T]=(0,l.useState)(null),[R,M]=(0,l.useState)(null),[N,j]=(0,l.useState)(null),[D,L]=(0,l.useState)(null),[B,Z]=(0,l.useState)(null),[F,z]=(0,l.useState)(null),[U,H]=(0,l.useState)(null),[q,V]=(0,l.useState)(null),[W,$]=(0,l.useState)(null);return(0,l.useEffect)(()=>{null!==x&&x.setMap(S)},[S]),(0,l.useEffect)(()=>{void 0!==e&&null!==x&&x.setOptions(e)},[x,e]),(0,l.useEffect)(()=>{void 0!==n&&null!==x&&x.setDraggable(n)},[x,n]),(0,l.useEffect)(()=>{void 0!==r&&null!==x&&x.setEditable(r)},[x,r]),(0,l.useEffect)(()=>{void 0!==o&&null!==x&&x.setVisible(o)},[x,o]),(0,l.useEffect)(()=>{void 0!==t&&null!==x&&x.setBounds(t)},[x,t]),(0,l.useEffect)(()=>{x&&i&&(null!==C&&google.maps.event.removeListener(C),_(google.maps.event.addListener(x,"dblclick",i)))},[i]),(0,l.useEffect)(()=>{x&&a&&(null!==k&&google.maps.event.removeListener(k),O(google.maps.event.addListener(x,"dragend",a)))},[a]),(0,l.useEffect)(()=>{x&&s&&(null!==A&&google.maps.event.removeListener(A),I(google.maps.event.addListener(x,"dragstart",s)))},[s]),(0,l.useEffect)(()=>{x&&c&&(null!==P&&google.maps.event.removeListener(P),T(google.maps.event.addListener(x,"mousedown",c)))},[c]),(0,l.useEffect)(()=>{x&&u&&(null!==R&&google.maps.event.removeListener(R),M(google.maps.event.addListener(x,"mousemove",u)))},[u]),(0,l.useEffect)(()=>{x&&d&&(null!==N&&google.maps.event.removeListener(N),j(google.maps.event.addListener(x,"mouseout",d)))},[d]),(0,l.useEffect)(()=>{x&&p&&(null!==D&&google.maps.event.removeListener(D),L(google.maps.event.addListener(x,"mouseover",p)))},[p]),(0,l.useEffect)(()=>{x&&h&&(null!==B&&google.maps.event.removeListener(B),Z(google.maps.event.addListener(x,"mouseup",h)))},[h]),(0,l.useEffect)(()=>{x&&m&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(x,"rightclick",m)))},[m]),(0,l.useEffect)(()=>{x&&g&&(null!==U&&google.maps.event.removeListener(U),H(google.maps.event.addListener(x,"click",g)))},[g]),(0,l.useEffect)(()=>{x&&v&&(null!==q&&google.maps.event.removeListener(q),V(google.maps.event.addListener(x,"drag",v)))},[v]),(0,l.useEffect)(()=>{x&&y&&(null!==W&&google.maps.event.removeListener(W),$(google.maps.event.addListener(x,"bounds_changed",y)))},[y]),(0,l.useEffect)(()=>{let l=new google.maps.Rectangle(Object.assign(Object.assign({},e||{}),{map:S}));return void 0!==o&&l.setVisible(o),void 0!==r&&l.setEditable(r),void 0!==n&&l.setDraggable(n),void 0!==t&&l.setBounds(t),i&&_(google.maps.event.addListener(l,"dblclick",i)),a&&O(google.maps.event.addListener(l,"dragend",a)),s&&I(google.maps.event.addListener(l,"dragstart",s)),c&&T(google.maps.event.addListener(l,"mousedown",c)),u&&M(google.maps.event.addListener(l,"mousemove",u)),d&&j(google.maps.event.addListener(l,"mouseout",d)),p&&L(google.maps.event.addListener(l,"mouseover",p)),h&&Z(google.maps.event.addListener(l,"mouseup",h)),m&&z(google.maps.event.addListener(l,"rightclick",m)),g&&H(google.maps.event.addListener(l,"click",g)),v&&V(google.maps.event.addListener(l,"drag",v)),y&&$(google.maps.event.addListener(l,"bounds_changed",y)),E(l),b&&b(l),()=>{null!==C&&google.maps.event.removeListener(C),null!==k&&google.maps.event.removeListener(k),null!==A&&google.maps.event.removeListener(A),null!==P&&google.maps.event.removeListener(P),null!==R&&google.maps.event.removeListener(R),null!==N&&google.maps.event.removeListener(N),null!==D&&google.maps.event.removeListener(D),null!==B&&google.maps.event.removeListener(B),null!==F&&google.maps.event.removeListener(F),null!==U&&google.maps.event.removeListener(U),null!==q&&google.maps.event.removeListener(q),null!==W&&google.maps.event.removeListener(W),w&&w(l),l.setMap(null)}},[]),null}(0,l.memo)(tp);class th extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={rectangle:null},this.setRectangleCallback=()=>{null!==this.state.rectangle&&this.props.onLoad&&this.props.onLoad(this.state.rectangle)}}componentDidMount(){let e=new google.maps.Rectangle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=w({updaterMap:tf,eventMap:td,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{rectangle:e}},this.setRectangleCallback)}componentDidUpdate(e){null!==this.state.rectangle&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:tf,eventMap:td,prevProps:e,nextProps:this.props,instance:this.state.rectangle}))}componentWillUnmount(){null!==this.state.rectangle&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),b(this.registeredEvents),this.state.rectangle.setMap(null))}render(){return null}}th.contextType=f;let tm={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},tg={center(e,t){e.setCenter(t)},draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},radius(e,t){e.setRadius(t)},visible(e,t){e.setVisible(t)}},tv={};function ty({options:e,center:t,radius:n,draggable:r,editable:o,visible:i,onDblClick:a,onDragEnd:s,onDragStart:c,onMouseDown:u,onMouseMove:d,onMouseOut:p,onMouseOver:h,onMouseUp:m,onRightClick:g,onClick:v,onDrag:y,onCenterChanged:b,onRadiusChanged:w,onLoad:S,onUnmount:x}){let E=(0,l.useContext)(f),[C,_]=(0,l.useState)(null),[k,O]=(0,l.useState)(null),[A,I]=(0,l.useState)(null),[P,T]=(0,l.useState)(null),[R,M]=(0,l.useState)(null),[N,j]=(0,l.useState)(null),[D,L]=(0,l.useState)(null),[B,Z]=(0,l.useState)(null),[F,z]=(0,l.useState)(null),[U,H]=(0,l.useState)(null),[q,V]=(0,l.useState)(null),[W,$]=(0,l.useState)(null),[G,K]=(0,l.useState)(null),[Y,X]=(0,l.useState)(null);return(0,l.useEffect)(()=>{null!==C&&C.setMap(E)},[E]),(0,l.useEffect)(()=>{void 0!==e&&null!==C&&C.setOptions(e)},[C,e]),(0,l.useEffect)(()=>{void 0!==r&&null!==C&&C.setDraggable(r)},[C,r]),(0,l.useEffect)(()=>{void 0!==o&&null!==C&&C.setEditable(o)},[C,o]),(0,l.useEffect)(()=>{void 0!==i&&null!==C&&C.setVisible(i)},[C,i]),(0,l.useEffect)(()=>{"number"==typeof n&&null!==C&&C.setRadius(n)},[C,n]),(0,l.useEffect)(()=>{void 0!==t&&null!==C&&C.setCenter(t)},[C,t]),(0,l.useEffect)(()=>{C&&a&&(null!==k&&google.maps.event.removeListener(k),O(google.maps.event.addListener(C,"dblclick",a)))},[a]),(0,l.useEffect)(()=>{C&&s&&(null!==A&&google.maps.event.removeListener(A),I(google.maps.event.addListener(C,"dragend",s)))},[s]),(0,l.useEffect)(()=>{C&&c&&(null!==P&&google.maps.event.removeListener(P),T(google.maps.event.addListener(C,"dragstart",c)))},[c]),(0,l.useEffect)(()=>{C&&u&&(null!==R&&google.maps.event.removeListener(R),M(google.maps.event.addListener(C,"mousedown",u)))},[u]),(0,l.useEffect)(()=>{C&&d&&(null!==N&&google.maps.event.removeListener(N),j(google.maps.event.addListener(C,"mousemove",d)))},[d]),(0,l.useEffect)(()=>{C&&p&&(null!==D&&google.maps.event.removeListener(D),L(google.maps.event.addListener(C,"mouseout",p)))},[p]),(0,l.useEffect)(()=>{C&&h&&(null!==B&&google.maps.event.removeListener(B),Z(google.maps.event.addListener(C,"mouseover",h)))},[h]),(0,l.useEffect)(()=>{C&&m&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(C,"mouseup",m)))},[m]),(0,l.useEffect)(()=>{C&&g&&(null!==U&&google.maps.event.removeListener(U),H(google.maps.event.addListener(C,"rightclick",g)))},[g]),(0,l.useEffect)(()=>{C&&v&&(null!==q&&google.maps.event.removeListener(q),V(google.maps.event.addListener(C,"click",v)))},[v]),(0,l.useEffect)(()=>{C&&y&&(null!==W&&google.maps.event.removeListener(W),$(google.maps.event.addListener(C,"drag",y)))},[y]),(0,l.useEffect)(()=>{C&&b&&(null!==G&&google.maps.event.removeListener(G),K(google.maps.event.addListener(C,"center_changed",b)))},[v]),(0,l.useEffect)(()=>{C&&w&&(null!==Y&&google.maps.event.removeListener(Y),X(google.maps.event.addListener(C,"radius_changed",w)))},[w]),(0,l.useEffect)(()=>{let l=new google.maps.Circle(Object.assign(Object.assign({},e||tv),{map:E}));return"number"==typeof n&&l.setRadius(n),void 0!==t&&l.setCenter(t),"number"==typeof n&&l.setRadius(n),void 0!==i&&l.setVisible(i),void 0!==o&&l.setEditable(o),void 0!==r&&l.setDraggable(r),a&&O(google.maps.event.addListener(l,"dblclick",a)),s&&I(google.maps.event.addListener(l,"dragend",s)),c&&T(google.maps.event.addListener(l,"dragstart",c)),u&&M(google.maps.event.addListener(l,"mousedown",u)),d&&j(google.maps.event.addListener(l,"mousemove",d)),p&&L(google.maps.event.addListener(l,"mouseout",p)),h&&Z(google.maps.event.addListener(l,"mouseover",h)),m&&z(google.maps.event.addListener(l,"mouseup",m)),g&&H(google.maps.event.addListener(l,"rightclick",g)),v&&V(google.maps.event.addListener(l,"click",v)),y&&$(google.maps.event.addListener(l,"drag",y)),b&&K(google.maps.event.addListener(l,"center_changed",b)),w&&X(google.maps.event.addListener(l,"radius_changed",w)),_(l),S&&S(l),()=>{null!==k&&google.maps.event.removeListener(k),null!==A&&google.maps.event.removeListener(A),null!==P&&google.maps.event.removeListener(P),null!==R&&google.maps.event.removeListener(R),null!==N&&google.maps.event.removeListener(N),null!==D&&google.maps.event.removeListener(D),null!==B&&google.maps.event.removeListener(B),null!==F&&google.maps.event.removeListener(F),null!==U&&google.maps.event.removeListener(U),null!==q&&google.maps.event.removeListener(q),null!==G&&google.maps.event.removeListener(G),null!==Y&&google.maps.event.removeListener(Y),x&&x(l),l.setMap(null)}},[]),null}(0,l.memo)(ty);class tb extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={circle:null},this.setCircleCallback=()=>{null!==this.state.circle&&this.props.onLoad&&this.props.onLoad(this.state.circle)}}componentDidMount(){let e=new google.maps.Circle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=w({updaterMap:tg,eventMap:tm,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{circle:e}},this.setCircleCallback)}componentDidUpdate(e){null!==this.state.circle&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:tg,eventMap:tm,prevProps:e,nextProps:this.props,instance:this.state.circle}))}componentWillUnmount(){null!==this.state.circle&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),b(this.registeredEvents),this.state.circle&&this.state.circle.setMap(null))}render(){return null}}tb.contextType=f;let tw={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},tS={add(e,t){e.add(t)},addgeojson(e,t,n){e.addGeoJson(t,n)},contains(e,t){e.contains(t)},foreach(e,t){e.forEach(t)},loadgeojson(e,t,n,r){e.loadGeoJson(t,n,r)},overridestyle(e,t,n){e.overrideStyle(t,n)},remove(e,t){e.remove(t)},revertstyle(e,t){e.revertStyle(t)},controlposition(e,t){e.setControlPosition(t)},controls(e,t){e.setControls(t)},drawingmode(e,t){e.setDrawingMode(t)},map(e,t){e.setMap(t)},style(e,t){e.setStyle(t)},togeojson(e,t){e.toGeoJson(t)}};function tx({options:e,onClick:t,onDblClick:n,onMouseDown:r,onMouseMove:o,onMouseOut:i,onMouseOver:a,onMouseUp:s,onRightClick:c,onAddFeature:u,onRemoveFeature:d,onRemoveProperty:p,onSetGeometry:h,onSetProperty:m,onLoad:g,onUnmount:v}){let y=(0,l.useContext)(f),[b,w]=(0,l.useState)(null),[S,x]=(0,l.useState)(null),[E,C]=(0,l.useState)(null),[_,k]=(0,l.useState)(null),[O,A]=(0,l.useState)(null),[I,P]=(0,l.useState)(null),[T,R]=(0,l.useState)(null),[M,N]=(0,l.useState)(null),[j,D]=(0,l.useState)(null),[L,B]=(0,l.useState)(null),[Z,F]=(0,l.useState)(null),[z,U]=(0,l.useState)(null),[H,q]=(0,l.useState)(null),[V,W]=(0,l.useState)(null);return(0,l.useEffect)(()=>{null!==b&&b.setMap(y)},[y]),(0,l.useEffect)(()=>{b&&n&&(null!==S&&google.maps.event.removeListener(S),x(google.maps.event.addListener(b,"dblclick",n)))},[n]),(0,l.useEffect)(()=>{b&&r&&(null!==E&&google.maps.event.removeListener(E),C(google.maps.event.addListener(b,"mousedown",r)))},[r]),(0,l.useEffect)(()=>{b&&o&&(null!==_&&google.maps.event.removeListener(_),k(google.maps.event.addListener(b,"mousemove",o)))},[o]),(0,l.useEffect)(()=>{b&&i&&(null!==O&&google.maps.event.removeListener(O),A(google.maps.event.addListener(b,"mouseout",i)))},[i]),(0,l.useEffect)(()=>{b&&a&&(null!==I&&google.maps.event.removeListener(I),P(google.maps.event.addListener(b,"mouseover",a)))},[a]),(0,l.useEffect)(()=>{b&&s&&(null!==T&&google.maps.event.removeListener(T),R(google.maps.event.addListener(b,"mouseup",s)))},[s]),(0,l.useEffect)(()=>{b&&c&&(null!==M&&google.maps.event.removeListener(M),N(google.maps.event.addListener(b,"rightclick",c)))},[c]),(0,l.useEffect)(()=>{b&&t&&(null!==j&&google.maps.event.removeListener(j),D(google.maps.event.addListener(b,"click",t)))},[t]),(0,l.useEffect)(()=>{b&&u&&(null!==L&&google.maps.event.removeListener(L),B(google.maps.event.addListener(b,"addfeature",u)))},[u]),(0,l.useEffect)(()=>{b&&d&&(null!==Z&&google.maps.event.removeListener(Z),F(google.maps.event.addListener(b,"removefeature",d)))},[d]),(0,l.useEffect)(()=>{b&&p&&(null!==z&&google.maps.event.removeListener(z),U(google.maps.event.addListener(b,"removeproperty",p)))},[p]),(0,l.useEffect)(()=>{b&&h&&(null!==H&&google.maps.event.removeListener(H),q(google.maps.event.addListener(b,"setgeometry",h)))},[h]),(0,l.useEffect)(()=>{b&&m&&(null!==V&&google.maps.event.removeListener(V),W(google.maps.event.addListener(b,"setproperty",m)))},[m]),(0,l.useEffect)(()=>{if(null!==y){let l=new google.maps.Data(Object.assign(Object.assign({},e||{}),{map:y}));n&&x(google.maps.event.addListener(l,"dblclick",n)),r&&C(google.maps.event.addListener(l,"mousedown",r)),o&&k(google.maps.event.addListener(l,"mousemove",o)),i&&A(google.maps.event.addListener(l,"mouseout",i)),a&&P(google.maps.event.addListener(l,"mouseover",a)),s&&R(google.maps.event.addListener(l,"mouseup",s)),c&&N(google.maps.event.addListener(l,"rightclick",c)),t&&D(google.maps.event.addListener(l,"click",t)),u&&B(google.maps.event.addListener(l,"addfeature",u)),d&&F(google.maps.event.addListener(l,"removefeature",d)),p&&U(google.maps.event.addListener(l,"removeproperty",p)),h&&q(google.maps.event.addListener(l,"setgeometry",h)),m&&W(google.maps.event.addListener(l,"setproperty",m)),w(l),g&&g(l)}return()=>{b&&(null!==S&&google.maps.event.removeListener(S),null!==E&&google.maps.event.removeListener(E),null!==_&&google.maps.event.removeListener(_),null!==O&&google.maps.event.removeListener(O),null!==I&&google.maps.event.removeListener(I),null!==T&&google.maps.event.removeListener(T),null!==M&&google.maps.event.removeListener(M),null!==j&&google.maps.event.removeListener(j),null!==L&&google.maps.event.removeListener(L),null!==Z&&google.maps.event.removeListener(Z),null!==z&&google.maps.event.removeListener(z),null!==H&&google.maps.event.removeListener(H),null!==V&&google.maps.event.removeListener(V),v&&v(b),b.setMap(null))}},[]),null}(0,l.memo)(tx);class tE extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={data:null},this.setDataCallback=()=>{null!==this.state.data&&this.props.onLoad&&this.props.onLoad(this.state.data)}}componentDidMount(){if(null!==this.context){let e=new google.maps.Data(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=w({updaterMap:tS,eventMap:tw,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({data:e}),this.setDataCallback)}}componentDidUpdate(e){null!==this.state.data&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:tS,eventMap:tw,prevProps:e,nextProps:this.props,instance:this.state.data}))}componentWillUnmount(){null!==this.state.data&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),b(this.registeredEvents),this.state.data&&this.state.data.setMap(null))}render(){return null}}tE.contextType=f;let tC={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},t_={options(e,t){e.setOptions(t)},url(e,t){e.setUrl(t)},zIndex(e,t){e.setZIndex(t)}};class tk extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={kmlLayer:null},this.setKmlLayerCallback=()=>{null!==this.state.kmlLayer&&this.props.onLoad&&this.props.onLoad(this.state.kmlLayer)}}componentDidMount(){let e=new google.maps.KmlLayer(Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=w({updaterMap:t_,eventMap:tC,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{kmlLayer:e}},this.setKmlLayerCallback)}componentDidUpdate(e){null!==this.state.kmlLayer&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:t_,eventMap:tC,prevProps:e,nextProps:this.props,instance:this.state.kmlLayer}))}componentWillUnmount(){null!==this.state.kmlLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),b(this.registeredEvents),this.state.kmlLayer.setMap(null))}render(){return null}}function tO(e,t){return"function"==typeof t?t(e.offsetWidth,e.offsetHeight):{x:0,y:0}}function tA(e,t){return new t(e.lat,e.lng)}function tI(e,t){return new t(new google.maps.LatLng(e.ne.lat,e.ne.lng),new google.maps.LatLng(e.sw.lat,e.sw.lng))}function tP(e,t,n){return e instanceof t?e:n(e,t)}function tT(e,t,n){return e instanceof t?e:n(e,t)}function tR(e,t,n){let r=e&&e.fromLatLngToDivPixel(n.getNorthEast()),o=e&&e.fromLatLngToDivPixel(n.getSouthWest());return r&&o?{left:`${o.x+t.x}px`,top:`${r.y+t.y}px`,width:`${r.x-o.x-t.x}px`,height:`${o.y-r.y-t.y}px`}:{left:"-9999px",top:"-9999px"}}function tM(e,t,n){let r=e&&e.fromLatLngToDivPixel(n);if(r){let{x:e,y:n}=r;return{left:`${e+t.x}px`,top:`${n+t.y}px`}}return{left:"-9999px",top:"-9999px"}}function tN(e,t,n,r){return void 0!==n?tR(e,t,tT(n,google.maps.LatLngBounds,tI)):tM(e,t,tP(r,google.maps.LatLng,tA))}function tj(e,t){return e.left===t.left&&e.top===t.top&&e.width===t.height&&e.height===t.height}function tD(e,t,n,r,o){class i extends google.maps.OverlayView{constructor(e,t,n,r){super(),this.container=e,this.pane=t,this.position=n,this.bounds=r}onAdd(){var e;let t=null===(e=this.getPanes())||void 0===e?void 0:e[this.pane];null==t||t.appendChild(this.container)}draw(){for(let[e,t]of Object.entries(tN(this.getProjection(),Object.assign({},this.container?tO(this.container,o):{x:0,y:0}),this.bounds,this.position)))this.container.style[e]=t}onRemove(){null!==this.container.parentNode&&this.container.parentNode.removeChild(this.container)}}return new i(e,t,n,r)}function tL(e){return e?(e instanceof google.maps.LatLng?e:new google.maps.LatLng(e.lat,e.lng))+"":""}function tB(e){return e?(e instanceof google.maps.LatLngBounds?e:new google.maps.LatLngBounds(new google.maps.LatLng(e.south,e.east),new google.maps.LatLng(e.north,e.west)))+"":""}function tZ({position:e,bounds:t,mapPaneName:n,zIndex:r,onLoad:o,onUnmount:i,getPixelPositionOffset:a,children:s}){let u=(0,l.useContext)(f),d=(0,l.useMemo)(()=>{let e=document.createElement("div");return e.style.position="absolute",e},[]),p=(0,l.useMemo)(()=>tD(d,n,e,t,a),[d,n,e,t]);return(0,l.useEffect)(()=>(null==o||o(p),null==p||p.setMap(u),()=>{null==i||i(p),null==p||p.setMap(null)}),[u,p]),(0,l.useEffect)(()=>{d.style.zIndex=`${r}`},[r,d]),c.createPortal(s,d)}tk.contextType=f,(0,l.memo)(tZ);class tF extends l.PureComponent{constructor(e){super(e),this.state={paneEl:null,containerStyle:{position:"absolute"}},this.updatePane=()=>{let e=this.props.mapPaneName,t=this.overlayView.getPanes();d(!!e,"OverlayView requires props.mapPaneName but got %s",e),t?this.setState({paneEl:t[e]}):this.setState({paneEl:null})},this.onAdd=()=>{var e,t;this.updatePane(),null===(t=(e=this.props).onLoad)||void 0===t||t.call(e,this.overlayView)},this.onPositionElement=()=>{let e=tN(this.overlayView.getProjection(),Object.assign({x:0,y:0},this.containerRef.current?tO(this.containerRef.current,this.props.getPixelPositionOffset):{}),this.props.bounds,this.props.position),{left:t,top:n,width:r,height:o}=this.state.containerStyle;tj(e,{left:t,top:n,width:r,height:o})||this.setState({containerStyle:Object.assign(Object.assign({},e),{position:"absolute"})})},this.draw=()=>{this.onPositionElement()},this.onRemove=()=>{var e,t;this.setState(()=>({paneEl:null})),null===(t=(e=this.props).onUnmount)||void 0===t||t.call(e,this.overlayView)},this.containerRef=(0,l.createRef)();let t=new google.maps.OverlayView;t.onAdd=this.onAdd,t.draw=this.draw,t.onRemove=this.onRemove,this.overlayView=t}componentDidMount(){this.overlayView.setMap(this.context)}componentDidUpdate(e){let t=tL(e.position),n=tL(this.props.position),r=tB(e.bounds),o=tB(this.props.bounds);(t!==n||r!==o)&&this.overlayView.draw(),e.mapPaneName!==this.props.mapPaneName&&this.updatePane()}componentWillUnmount(){this.overlayView.setMap(null)}render(){let e=this.state.paneEl;return e?c.createPortal((0,s.jsx)("div",Object.assign({ref:this.containerRef,style:this.state.containerStyle},{children:l.Children.only(this.props.children)})),e):null}}function tz(){}tF.FLOAT_PANE="floatPane",tF.MAP_PANE="mapPane",tF.MARKER_LAYER="markerLayer",tF.OVERLAY_LAYER="overlayLayer",tF.OVERLAY_MOUSE_TARGET="overlayMouseTarget",tF.contextType=f;let tU={onDblClick:"dblclick",onClick:"click"},tH={opacity(e,t){e.setOpacity(t)}};function tq({url:e,bounds:t,options:n,visible:r}){let o=(0,l.useContext)(f),i=new google.maps.LatLngBounds(new google.maps.LatLng(t.south,t.west),new google.maps.LatLng(t.north,t.east)),a=(0,l.useMemo)(()=>new google.maps.GroundOverlay(e,i,Object.assign({},n)),[]);return(0,l.useEffect)(()=>{null!==a&&a.setMap(o)},[o]),(0,l.useEffect)(()=>{void 0!==e&&null!==a&&(a.set("url",e),a.setMap(o))},[a,e]),(0,l.useEffect)(()=>{void 0!==r&&null!==a&&a.setOpacity(r?1:0)},[a,r]),(0,l.useEffect)(()=>{let e=new google.maps.LatLngBounds(new google.maps.LatLng(t.south,t.west),new google.maps.LatLng(t.north,t.east));void 0!==t&&null!==a&&(a.set("bounds",e),a.setMap(o))},[a,t]),null}(0,l.memo)(tq);class tV extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={groundOverlay:null},this.setGroundOverlayCallback=()=>{null!==this.state.groundOverlay&&this.props.onLoad&&this.props.onLoad(this.state.groundOverlay)}}componentDidMount(){d(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");let e=new google.maps.GroundOverlay(this.props.url,this.props.bounds,Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=w({updaterMap:tH,eventMap:tU,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{groundOverlay:e}},this.setGroundOverlayCallback)}componentDidUpdate(e){null!==this.state.groundOverlay&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:tH,eventMap:tU,prevProps:e,nextProps:this.props,instance:this.state.groundOverlay}))}componentWillUnmount(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))}render(){return null}}tV.defaultProps={onLoad:tz},tV.contextType=f;let tW={},t$={data(e,t){e.setData(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)}};function tG({data:e,onLoad:t,onUnmount:n,options:r}){let o=(0,l.useContext)(f),[i,a]=(0,l.useState)(null);return(0,l.useEffect)(()=>{google.maps.visualization||d(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),(0,l.useEffect)(()=>{d(!!e,"data property is required in HeatmapLayer %s",e)},[e]),(0,l.useEffect)(()=>{null!==i&&i.setMap(o)},[o]),(0,l.useEffect)(()=>{r&&null!==i&&i.setOptions(r)},[i,r]),(0,l.useEffect)(()=>{let s=new google.maps.visualization.HeatmapLayer(Object.assign(Object.assign({},r||{}),{data:e,map:o}));return a(s),t&&t(s),()=>{null!==i&&(n&&n(i),i.setMap(null))}},[]),null}(0,l.memo)(tG);class tK extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={heatmapLayer:null},this.setHeatmapLayerCallback=()=>{null!==this.state.heatmapLayer&&this.props.onLoad&&this.props.onLoad(this.state.heatmapLayer)}}componentDidMount(){d(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),d(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);let e=new google.maps.visualization.HeatmapLayer(Object.assign(Object.assign({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=w({updaterMap:t$,eventMap:tW,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{heatmapLayer:e}},this.setHeatmapLayerCallback)}componentDidUpdate(e){b(this.registeredEvents),this.registeredEvents=w({updaterMap:t$,eventMap:tW,prevProps:e,nextProps:this.props,instance:this.state.heatmapLayer})}componentWillUnmount(){null!==this.state.heatmapLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),b(this.registeredEvents),this.state.heatmapLayer.setMap(null))}render(){return null}}tK.contextType=f;let tY={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},tX={register(e,t,n){e.registerPanoProvider(t,n)},links(e,t){e.setLinks(t)},motionTracking(e,t){e.setMotionTracking(t)},options(e,t){e.setOptions(t)},pano(e,t){e.setPano(t)},position(e,t){e.setPosition(t)},pov(e,t){e.setPov(t)},visible(e,t){e.setVisible(t)},zoom(e,t){e.setZoom(t)}};class tQ extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={streetViewPanorama:null},this.setStreetViewPanoramaCallback=()=>{null!==this.state.streetViewPanorama&&this.props.onLoad&&this.props.onLoad(this.state.streetViewPanorama)}}componentDidMount(){let e=this.context.getStreetView();this.registeredEvents=w({updaterMap:tX,eventMap:tY,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({streetViewPanorama:e}),this.setStreetViewPanoramaCallback)}componentDidUpdate(e){null!==this.state.streetViewPanorama&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:tX,eventMap:tY,prevProps:e,nextProps:this.props,instance:this.state.streetViewPanorama}))}componentWillUnmount(){null!==this.state.streetViewPanorama&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),b(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))}render(){return null}}tQ.contextType=f;class tJ extends l.PureComponent{constructor(){super(...arguments),this.state={streetViewService:null},this.setStreetViewServiceCallback=()=>{null!==this.state.streetViewService&&this.props.onLoad&&this.props.onLoad(this.state.streetViewService)}}componentDidMount(){let e=new google.maps.StreetViewService;this.setState(function(){return{streetViewService:e}},this.setStreetViewServiceCallback)}componentWillUnmount(){null!==this.state.streetViewService&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)}render(){return null}}tJ.contextType=f;let t0={onDirectionsChanged:"directions_changed"},t1={directions(e,t){e.setDirections(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},panel(e,t){e.setPanel(t)},routeIndex(e,t){e.setRouteIndex(t)}};class t2 extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={directionsRenderer:null},this.setDirectionsRendererCallback=()=>{null!==this.state.directionsRenderer&&(this.state.directionsRenderer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.directionsRenderer))}}componentDidMount(){let e=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=w({updaterMap:t1,eventMap:t0,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{directionsRenderer:e}},this.setDirectionsRendererCallback)}componentDidUpdate(e){null!==this.state.directionsRenderer&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:t1,eventMap:t0,prevProps:e,nextProps:this.props,instance:this.state.directionsRenderer}))}componentWillUnmount(){null!==this.state.directionsRenderer&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),b(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))}render(){return(0,s.jsx)(s.Fragment,{})}}t2.contextType=f;let t3={onPlacesChanged:"places_changed"},t4={bounds(e,t){e.setBounds(t)}};class t5 extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=(0,l.createRef)(),this.state={searchBox:null},this.setSearchBoxCallback=()=>{null!==this.state.searchBox&&this.props.onLoad&&this.props.onLoad(this.state.searchBox)}}componentDidMount(){if(d(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),null!==this.containerElement&&null!==this.containerElement.current){let e=this.containerElement.current.querySelector("input");if(null!==e){let t=new google.maps.places.SearchBox(e,this.props.options);this.registeredEvents=w({updaterMap:t4,eventMap:t3,prevProps:{},nextProps:this.props,instance:t}),this.setState(function(){return{searchBox:t}},this.setSearchBoxCallback)}}}componentDidUpdate(e){null!==this.state.searchBox&&(b(this.registeredEvents),this.registeredEvents=w({updaterMap:t4,eventMap:t3,prevProps:e,nextProps:this.props,instance:this.state.searchBox}))}componentWillUnmount(){null!==this.state.searchBox&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),b(this.registeredEvents))}render(){return(0,s.jsx)("div",Object.assign({ref:this.containerElement},{children:l.Children.only(this.props.children)}))}}t5.contextType=f;let t6={onPlaceChanged:"place_changed"},t8={bounds(e,t){e.setBounds(t)},restrictions(e,t){e.setComponentRestrictions(t)},fields(e,t){e.setFields(t)},options(e,t){e.setOptions(t)},types(e,t){e.setTypes(t)}};class t7 extends l.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=(0,l.createRef)(),this.state={autocomplete:null},this.setAutocompleteCallback=()=>{null!==this.state.autocomplete&&this.props.onLoad&&this.props.onLoad(this.state.autocomplete)}}componentDidMount(){d(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);let e=this.containerElement.current.querySelector("input");if(e){let t=new google.maps.places.Autocomplete(e,this.props.options);this.registeredEvents=w({updaterMap:t8,eventMap:t6,prevProps:{},nextProps:this.props,instance:t}),this.setState(()=>({autocomplete:t}),this.setAutocompleteCallback)}}componentDidUpdate(e){b(this.registeredEvents),this.registeredEvents=w({updaterMap:t8,eventMap:t6,prevProps:e,nextProps:this.props,instance:this.state.autocomplete})}componentWillUnmount(){null!==this.state.autocomplete&&b(this.registeredEvents)}render(){return(0,s.jsx)("div",Object.assign({ref:this.containerElement,className:this.props.className},{children:l.Children.only(this.props.children)}))}}t7.defaultProps={className:""},t7.contextType=f},47453:function(e,t,n){"use strict";function r(e,t){return new Promise(function(n,r){var o=setTimeout(function(){r(Error("Promise timed out"))},t);e.then(function(e){return clearTimeout(o),n(e)}).catch(r)})}function o(e){return new Promise(function(t){return setTimeout(t,e)})}function i(e,t,n){var i=function(){try{return Promise.resolve(t(e))}catch(e){return Promise.reject(e)}};return o(n).then(function(){return r(i(),1e3)}).catch(function(t){null==e||e.log("warn","Callback Error",{error:t}),null==e||e.stats.increment("callback_error")}).then(function(){return e})}n.d(t,{FJ:function(){return r},UI:function(){return i}})},31262:function(e,t,n){"use strict";n.d(t,{Y:function(){return l},_:function(){return c}});var r=n(50836),o=n(23034),i=n(94154),a=function(){function e(){this._logs=[]}return e.prototype.log=function(e,t,n){var r=new Date;this._logs.push({level:e,message:t,time:r,extras:n})},Object.defineProperty(e.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),e.prototype.flush=function(){if(this.logs.length>1){var e=this._logs.reduce(function(e,t){var n,r,o,a=(0,i.pi)((0,i.pi)({},t),{json:JSON.stringify(t.extras,null," "),extras:t.extras});delete a.time;var s=null!==(o=null===(r=t.time)||void 0===r?void 0:r.toISOString())&&void 0!==o?o:"";return e[s]&&(s="".concat(s,"-").concat(Math.random())),(0,i.pi)((0,i.pi)({},e),((n={})[s]=a,n))},{});console.table?console.table(e):console.log(e)}else this.logs.forEach(function(e){var t=e.level,n=e.message,r=e.extras;"info"===t||"debug"===t?console.log(n,null!=r?r:""):console[t](n,null!=r?r:"")});this._logs=[]},e}(),s=n(83071),l=function(){return function(e){var t,n,r;this.retry=null===(t=e.retry)||void 0===t||t,this.type=null!==(n=e.type)&&void 0!==n?n:"plugin Error",this.reason=null!==(r=e.reason)&&void 0!==r?r:""}}(),c=function(){function e(e,t,n,o){void 0===t&&(t=(0,r.v4)()),void 0===n&&(n=new s.i),void 0===o&&(o=new a),this.attempts=0,this.event=e,this._id=t,this.logger=o,this.stats=n}return e.system=function(){},e.prototype.isSame=function(e){return e.id===this.id},e.prototype.cancel=function(e){if(e)throw e;throw new l({reason:"Context Cancel"})},e.prototype.log=function(e,t,n){this.logger.log(e,t,n)},Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),e.prototype.updateEvent=function(e,t){var n;if("integrations"===e.split(".")[0]){var r=e.split(".")[1];if((null===(n=this.event.integrations)||void 0===n?void 0:n[r])===!1)return this.event}return(0,o.N)(this.event,e,t),this.event},e.prototype.failedDelivery=function(){return this._failedDelivery},e.prototype.setFailedDelivery=function(e){this._failedDelivery=e},e.prototype.logs=function(){return this.logger.logs},e.prototype.flush=function(){this.logger.flush(),this.stats.flush()},e.prototype.toJSON=function(){return{id:this._id,event:this.event,logs:this.logger.logs,metrics:this.stats.metrics}},e}()},31313:function(e,t,n){"use strict";n.d(t,{M:function(){return a},Z:function(){return s}});var r=n(94154),o=n(32808);function i(e){var t=Math.random()+1,n=e.minTimeout,r=void 0===n?500:n,o=e.factor,i=void 0===o?2:o,a=e.attempt,s=e.maxTimeout;return Math.min(t*r*Math.pow(i,a),void 0===s?1/0:s)}var a="onRemoveFromFuture",s=function(e){function t(t,n,r){var o=e.call(this)||this;return o.future=[],o.maxAttempts=t,o.queue=n,o.seen=null!=r?r:{},o}return(0,r.ZT)(t,e),t.prototype.push=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.map(function(t){return!(e.updateAttempts(t)>e.maxAttempts||e.includes(t))&&(e.queue.push(t),!0)});return this.queue=this.queue.sort(function(t,n){return e.getAttempts(t)-e.getAttempts(n)}),r},t.prototype.pushWithBackoff=function(e){var t=this;if(0===this.getAttempts(e))return this.push(e)[0];var n=this.updateAttempts(e);return!(n>this.maxAttempts||this.includes(e))&&(setTimeout(function(){t.queue.push(e),t.future=t.future.filter(function(t){return t.id!==e.id}),t.emit(a)},i({attempt:n-1})),this.future.push(e),!0)},t.prototype.getAttempts=function(e){var t;return null!==(t=this.seen[e.id])&&void 0!==t?t:0},t.prototype.updateAttempts=function(e){return this.seen[e.id]=this.getAttempts(e)+1,this.getAttempts(e)},t.prototype.includes=function(e){return this.queue.includes(e)||this.future.includes(e)||!!this.queue.find(function(t){return t.id===e.id})||!!this.future.find(function(t){return t.id===e.id})},t.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(t.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),t}(o.Q)},1681:function(e,t,n){"use strict";n.d(t,{a:function(){return a},z:function(){return s}});var r=n(94154),o=n(31262);function i(e){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,e()];case 1:return[2,t.sent()];case 2:return[2,Promise.reject(t.sent())];case 3:return[2]}})})}function a(e,t){e.log("debug","plugin",{plugin:t.name});var n=new Date().getTime(),r=t[e.event.type];return void 0===r?Promise.resolve(e):i(function(){return r.apply(t,[e])}).then(function(e){var r=new Date().getTime()-n;return e.stats.gauge("plugin_time",r,["plugin:".concat(t.name)]),e}).catch(function(n){if(n instanceof o.Y&&"middleware_cancellation"===n.type)throw n;return n instanceof o.Y?e.log("warn",n.type,{plugin:t.name,error:n}):(e.log("error","plugin Error",{plugin:t.name,error:n}),e.stats.increment("plugin_error",1,["plugin:".concat(t.name)])),n})}function s(e,t){return a(e,t).then(function(t){if(t instanceof o._)return t;e.log("debug","Context canceled"),e.stats.increment("context_canceled"),e.cancel(t)})}},83071:function(e,t,n){"use strict";n.d(t,{i:function(){return a},s:function(){return i}});var r=n(94154),o=function(e){return({gauge:"g",counter:"c"})[e]},i=function(){function e(){this.metrics=[]}return e.prototype.increment=function(e,t,n){void 0===t&&(t=1),this.metrics.push({metric:e,value:t,tags:null!=n?n:[],type:"counter",timestamp:Date.now()})},e.prototype.gauge=function(e,t,n){this.metrics.push({metric:e,value:t,tags:null!=n?n:[],type:"gauge",timestamp:Date.now()})},e.prototype.flush=function(){var e=this.metrics.map(function(e){return(0,r.pi)((0,r.pi)({},e),{tags:e.tags.join(",")})});console.table?console.table(e):console.log(e),this.metrics=[]},e.prototype.serialize=function(){return this.metrics.map(function(e){return{m:e.metric,v:e.value,t:e.tags,k:o(e.type),e:e.timestamp}})},e}(),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.gauge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.prototype.increment=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.prototype.flush=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.prototype.serialize=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return[]},t}(i)},14353:function(e,t,n){"use strict";function r(e){return"string"==typeof e}function o(e){return"number"==typeof e}function i(e){return"function"==typeof e}function a(e){return null!=e}function s(e){return"object"===Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}n.d(t,{Gg:function(){return a},HD:function(){return r},PO:function(){return s},hj:function(){return o},mf:function(){return i}})},74771:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});var r=function(){var e,t,n=!1,r=new Promise(function(r,o){e=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n=!0,r.apply(void 0,e)},t=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n=!0,o.apply(void 0,e)}});return{resolve:e,reject:t,promise:r,isSettled:function(){return n}}}},32808:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var r=function(){function e(e){var t;this.callbacks={},this.warned=!1,this.maxListeners=null!==(t=null==e?void 0:e.maxListeners)&&void 0!==t?t:10}return e.prototype.warnIfPossibleMemoryLeak=function(e){!this.warned&&this.maxListeners&&this.callbacks[e].length>this.maxListeners&&(console.warn("Event Emitter: Possible memory leak detected; ".concat(String(e)," has exceeded ").concat(this.maxListeners," listeners.")),this.warned=!0)},e.prototype.on=function(e,t){return this.callbacks[e]?(this.callbacks[e].push(t),this.warnIfPossibleMemoryLeak(e)):this.callbacks[e]=[t],this},e.prototype.once=function(e,t){var n=this,r=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n.off(e,r),t.apply(n,o)};return this.on(e,r),this},e.prototype.off=function(e,t){var n,r=(null!==(n=this.callbacks[e])&&void 0!==n?n:[]).filter(function(e){return e!==t});return this.callbacks[e]=r,this},e.prototype.emit=function(e){for(var t,n=this,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];return(null!==(t=this.callbacks[e])&&void 0!==t?t:[]).forEach(function(e){e.apply(n,r)}),this},e}()},95299:function(e,t,n){"use strict";n.d(t,{G:function(){return o},s:function(){return i}});var r=n(60640);function o(){return!(0,r.j)()||window.navigator.onLine}function i(){return!o()}},84342:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var r="api.segment.io/v1"},70946:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var r=n(43112),o=n(31262),i=n(67050),a=function(e){function t(t,n){return e.call(this,t,n,new i.j)||this}return(0,r.ZT)(t,e),t.system=function(){return new this({type:"track",event:"system"})},t}(o._)},60640:function(e,t,n){"use strict";function r(){return"undefined"!=typeof window}function o(){return!r()}n.d(t,{j:function(){return r},s:function(){return o}})},4338:function(e,t,n){"use strict";function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}}n.d(t,{a:function(){return r}})},67050:function(e,t,n){"use strict";n.d(t,{j:function(){return p}});var r,o=n(43112),i=n(83071),a=n(34032),s=n(31189),l=n(67157),c=n(84342),u=function(e,t,n){var r=t.reduce(function(e,t){var n=t.split(":"),r=n[0],o=n[1];return e[r]=o,e},{});return{type:"Counter",metric:e,value:1,tags:(0,o.pi)((0,o.pi)({},r),{library:"analytics.js",library_version:"web"===n?"next-".concat(s.i):"npm:next-".concat(s.i)})}};function d(e){console.error("Error sending segment performance metrics",e)}var f=function(){function e(e){var t,n,r,o,i,a=this;if(this.host=null!==(t=null==e?void 0:e.host)&&void 0!==t?t:c.U,this.sampleRate=null!==(n=null==e?void 0:e.sampleRate)&&void 0!==n?n:1,this.flushTimer=null!==(r=null==e?void 0:e.flushTimer)&&void 0!==r?r:3e4,this.maxQueueSize=null!==(o=null==e?void 0:e.maxQueueSize)&&void 0!==o?o:20,this.protocol=null!==(i=null==e?void 0:e.protocol)&&void 0!==i?i:"https",this.queue=[],this.sampleRate>0){var s=!1,l=function(){s||(s=!0,a.flush().catch(d),s=!1,setTimeout(l,a.flushTimer))};l()}}return e.prototype.increment=function(e,t){if(!(!e.includes("analytics_js.")||0===t.length||Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var n=u(e,t,(0,l.B)());this.queue.push(n),e.includes("error")&&this.flush().catch(d)}},e.prototype.flush=function(){return(0,o.mG)(this,void 0,void 0,function(){var e=this;return(0,o.Jh)(this,function(t){switch(t.label){case 0:if(this.queue.length<=0)return[2];return[4,this.send().catch(function(t){d(t),e.sampleRate=0})];case 1:return t.sent(),[2]}})})},e.prototype.send=function(){return(0,o.mG)(this,void 0,void 0,function(){var e,t,n;return(0,o.Jh)(this,function(r){return e={series:this.queue},this.queue=[],t={"Content-Type":"text/plain"},n="".concat(this.protocol,"://").concat(this.host,"/m"),[2,(0,a.h)(n,{headers:t,body:JSON.stringify(e),method:"POST"})]})})},e}(),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.initRemoteMetrics=function(e){r=new f(e)},t.prototype.increment=function(t,n,o){e.prototype.increment.call(this,t,n,o),null==r||r.increment(t,null!=o?o:[])},t}(i.s)},97406:function(e,t,n){"use strict";function r(e,t){var n=t.methodName,r=t.integrationName,o=t.type,i=t.didError,a=void 0!==i&&i;e.stats.increment("analytics_js.integration.invoke".concat(a?".error":""),1,["method:".concat(n),"integration_name:".concat(r),"type:".concat(o)])}n.d(t,{z:function(){return r}})},31189:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r="1.69.0"},34032:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(98140),o=n.n(r),i=n(72009),a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,i.R)();return(n&&n.fetch||o()).apply(void 0,e)}},72009:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:null}},1851:function(e,t,n){"use strict";n.d(t,{jV:function(){return i},ql:function(){return a},wI:function(){return o}});var r="analytics";function o(){return window[r]}function i(e){r=e}function a(e){window[r]=e}},73788:function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(window.document.querySelectorAll("script")).find(function(t){return t.src===e})}function o(e,t){var n=r(e);if(void 0!==n){var o=null==n?void 0:n.getAttribute("status");if("loaded"===o)return Promise.resolve(n);if("loading"===o)return new Promise(function(e,t){n.addEventListener("load",function(){return e(n)}),n.addEventListener("error",function(e){return t(e)})})}return new Promise(function(n,r){var o,i=window.document.createElement("script");i.type="text/javascript",i.src=e,i.async=!0,i.setAttribute("status","loading");for(var a=0,s=Object.entries(null!=t?t:{});a<s.length;a++){var l=s[a],c=l[0],u=l[1];i.setAttribute(c,u)}i.onload=function(){i.onerror=i.onload=null,i.setAttribute("status","loaded"),n(i)},i.onerror=function(){i.onerror=i.onload=null,i.setAttribute("status","error"),r(Error("Failed to load ".concat(e)))};var d=window.document.getElementsByTagName("script")[0];null===(o=d.parentElement)||void 0===o||o.insertBefore(i,d)})}function i(e){var t=r(e);return void 0!==t&&t.remove(),Promise.resolve()}n.d(t,{t:function(){return i},v:function(){return o}})},93603:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var r=n(43112);function o(e,t){var n,o=Object.entries(null!==(n=t.integrations)&&void 0!==n?n:{}).reduce(function(e,t){var n,o,i=t[0],a=t[1];return"object"==typeof a?(0,r.pi)((0,r.pi)({},e),((n={})[i]=a,n)):(0,r.pi)((0,r.pi)({},e),((o={})[i]={},o))},{});return Object.entries(e.integrations).reduce(function(e,t){var n,i=t[0],a=t[1];return(0,r.pi)((0,r.pi)({},e),((n={})[i]=(0,r.pi)((0,r.pi)({},a),o[i]),n))},{})}},59361:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(43112),o=function(e,t){return(0,r.mG)(void 0,void 0,void 0,function(){var n;return(0,r.Jh)(this,function(o){return[2,(n=function(o){return(0,r.mG)(void 0,void 0,void 0,function(){var i;return(0,r.Jh)(this,function(r){switch(r.label){case 0:if(!e(o))return[3,2];return i=n,[4,t()];case 1:return[2,i.apply(void 0,[r.sent()])];case 2:return[2]}})})})(void 0)]})})}},27115:function(e,t,n){"use strict";n.d(t,{Kg:function(){return u},UH:function(){return l},Vl:function(){return c}});var r,o=n(1851),i=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,a=function(){var e;return Array.prototype.slice.call(document.querySelectorAll("script")).forEach(function(t){var n,r=null!==(n=t.getAttribute("src"))&&void 0!==n?n:"",o=i.exec(r);o&&o[1]&&(e=o[1])}),e},s=function(){var e;return null!=r?r:null===(e=(0,o.wI)())||void 0===e?void 0:e._cdn},l=function(e){var t=(0,o.wI)();t&&(t._cdn=e),r=e},c=function(){var e=s();return e?e:a()||"https://cdn.segment.com"},u=function(){var e=c();return"".concat(e,"/next-integrations")}},89040:function(e,t,n){"use strict";n.d(t,{$:function(){return m}});var r=n(43112),o=n(31313),i=n(70946),a=n(60640),s={getItem:function(){},setItem:function(){},removeItem:function(){}};try{s=(0,a.j)()&&window.localStorage?window.localStorage:s}catch(e){console.warn("Unable to access localStorage",e)}function l(e){var t=s.getItem(e);return(t?JSON.parse(t):[]).map(function(e){return new i._(e.event,e.id)})}function c(e,t){var n=l(e),o=(0,r.ev)((0,r.ev)([],t,!0),n,!0).reduce(function(e,t){var n;return(0,r.pi)((0,r.pi)({},e),((n={})[t.id]=t,n))},{});s.setItem(e,JSON.stringify(Object.values(o)))}function u(e){var t=s.getItem(e);return t?JSON.parse(t):{}}function d(e,t){var n=u(e);s.setItem(e,JSON.stringify((0,r.pi)((0,r.pi)({},n),t)))}function f(e){s.removeItem(e)}var p=function(){return new Date().getTime()};function h(e,t,n){void 0===n&&(n=0);var r=50,o="persisted-queue:v1:".concat(e,":lock"),i=function(e){return new Date().getTime()>e},a=s.getItem(o),l=a?JSON.parse(a):null,c=null===l||i(l);if(c){s.setItem(o,JSON.stringify(p()+r)),t(),s.removeItem(o);return}!c&&n<3?setTimeout(function(){h(e,t,n+1)},r):console.error("Unable to retrieve lock")}var m=function(e){function t(t,n){var o=e.call(this,t,[])||this,i="persisted-queue:v1:".concat(n,":items"),a="persisted-queue:v1:".concat(n,":seen"),s=[],p={};return h(n,function(){try{s=l(i),p=u(a),f(i),f(a),o.queue=(0,r.ev)((0,r.ev)([],s,!0),o.queue,!0),o.seen=(0,r.pi)((0,r.pi)({},p),o.seen)}catch(e){console.error(e)}}),window.addEventListener("pagehide",function(){if(o.todo>0){var e=(0,r.ev)((0,r.ev)([],o.queue,!0),o.future,!0);try{h(n,function(){c(i,e),d(a,o.seen)})}catch(e){console.error(e)}}}),o}return(0,r.ZT)(t,e),t}(o.Z)},43469:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var r=n(5779);function o(e,t){var n=new r.Facade(e,t);return"track"===e.type&&(n=new r.Track(e,t)),"identify"===e.type&&(n=new r.Identify(e,t)),"page"===e.type&&(n=new r.Page(e,t)),"alias"===e.type&&(n=new r.Alias(e,t)),"group"===e.type&&(n=new r.Group(e,t)),"screen"===e.type&&(n=new r.Screen(e,t)),Object.defineProperty(n,"obj",{value:e,writable:!0}),n}},67157:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r="npm";function o(){return r}},16993:function(e,t,n){"use strict";n.r(t),n.d(t,{applyDestinationMiddleware:function(){return a},sourceMiddlewarePlugin:function(){return s}});var r=n(43112),o=n(31262),i=n(43469);function a(e,t,n){return(0,r.mG)(this,void 0,void 0,function(){var o,a,s,l,c;function u(t,n){return(0,r.mG)(this,void 0,void 0,function(){var o,a,s;return(0,r.Jh)(this,function(l){switch(l.label){case 0:return o=!1,a=null,[4,n({payload:(0,i.D)(t,{clone:!0,traverse:!1}),integration:e,next:function(e){o=!0,null===e&&(a=null),e&&(a=e.obj)}})];case 1:return l.sent(),o||null===a||(a.integrations=(0,r.pi)((0,r.pi)({},t.integrations),((s={})[e]=!1,s))),[2,a]}})})}return(0,r.Jh)(this,function(e){switch(e.label){case 0:o=(0,i.D)(t,{clone:!0,traverse:!1}).rawEvent(),a=0,s=n,e.label=1;case 1:if(!(a<s.length))return[3,4];return l=s[a],[4,u(o,l)];case 2:if(null===(c=e.sent()))return[2,null];o=c,e.label=3;case 3:return a++,[3,1];case 4:return[2,o]}})})}function s(e,t){function n(n){return(0,r.mG)(this,void 0,void 0,function(){var a;return(0,r.Jh)(this,function(r){switch(r.label){case 0:return a=!1,[4,e({payload:(0,i.D)(n.event,{clone:!0,traverse:!1}),integrations:null!=t?t:{},next:function(e){a=!0,e&&(n.event=e.obj)}})];case 1:if(r.sent(),!a)throw new o.Y({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,n]}})})}return{name:"Source Middleware ".concat(e.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(e){return Promise.resolve(e)},track:n,page:n,identify:n,alias:n,group:n}}},13589:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(19434));function i(e,t){return function(){var n=this.traits(),r=this.properties?this.properties():{};return o.default(n,"address."+e)||o.default(n,e)||(t?o.default(n,"address."+t):null)||(t?o.default(n,t):null)||o.default(r,"address."+e)||o.default(r,e)||(t?o.default(r,"address."+t):null)||(t?o.default(r,t):null)}}function a(e){e.zip=i("postalCode","zip"),e.country=i("country"),e.street=i("street"),e.state=i("state"),e.city=i("city"),e.region=i("region")}t.default=a},2329:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Alias=void 0;var o=r(n(67483)),i=n(72851);function a(e,t){i.Facade.call(this,e,t)}t.Alias=a,o.default(a,i.Facade),a.prototype.action=function(){return"alias"},a.prototype.type=a.prototype.action,a.prototype.previousId=function(){return this.field("previousId")||this.field("from")},a.prototype.from=a.prototype.previousId,a.prototype.userId=function(){return this.field("userId")||this.field("to")},a.prototype.to=a.prototype.userId},55534:function(e,t){"use strict";function n(e){if("object"!=typeof e)return e;if("[object Object]"===Object.prototype.toString.call(e)){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=n(e[r]));return t}return Array.isArray(e)?e.map(n):e}Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=n},63884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Delete=void 0;var o=r(n(67483)),i=n(72851);function a(e,t){i.Facade.call(this,e,t)}t.Delete=a,o.default(a,i.Facade),a.prototype.type=function(){return"delete"}},72851:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Facade=void 0;var o=r(n(13589)),i=n(55534),a=r(n(3269)),s=r(n(41862)),l=r(n(19434)),c=r(n(58651));function u(e,t){t=t||{},this.raw=i.clone(e),"clone"in t||(t.clone=!0),t.clone&&(e=i.clone(e)),"traverse"in t||(t.traverse=!0),"timestamp"in e?e.timestamp=s.default(e.timestamp):e.timestamp=new Date,t.traverse&&c.default(e),this.opts=t,this.obj=e}t.Facade=u;var d=u.prototype;function f(e){return i.clone(e)}d.proxy=function(e){var t=e.split("."),n=this[e=t.shift()]||this.obj[e];return n?("function"==typeof n&&(n=n.call(this)||{}),0===t.length||(n=l.default(n,t.join("."))),this.opts.clone?f(n):n):n},d.field=function(e){var t=this.obj[e];return this.opts.clone?f(t):t},u.proxy=function(e){return function(){return this.proxy(e)}},u.field=function(e){return function(){return this.field(e)}},u.multi=function(e){return function(){var t=this.proxy(e+"s");if(Array.isArray(t))return t;var n=this.proxy(e);return n&&(n=[this.opts.clone?i.clone(n):n]),n||[]}},u.one=function(e){return function(){var t=this.proxy(e);if(t)return t;var n=this.proxy(e+"s");if(Array.isArray(n))return n[0]}},d.json=function(){var e=this.opts.clone?i.clone(this.obj):this.obj;return this.type&&(e.type=this.type()),e},d.rawEvent=function(){return this.raw},d.options=function(e){var t=this.obj.options||this.obj.context||{},n=this.opts.clone?i.clone(t):t;if(!e)return n;if(this.enabled(e)){var r=this.integrations(),o=r[e]||l.default(r,e);return"object"!=typeof o&&(o=l.default(this.options(),e)),"object"==typeof o?o:{}}},d.context=d.options,d.enabled=function(e){var t=this.proxy("options.providers.all");"boolean"!=typeof t&&(t=this.proxy("options.all")),"boolean"!=typeof t&&(t=this.proxy("integrations.all")),"boolean"!=typeof t&&(t=!0);var n=t&&a.default(e),r=this.integrations();if(r.providers&&r.providers.hasOwnProperty(e)&&(n=r.providers[e]),r.hasOwnProperty(e)){var o=r[e];n="boolean"!=typeof o||o}return!!n},d.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()},d.active=function(){var e=this.proxy("options.active");return null==e&&(e=!0),e},d.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")},d.sessionId=d.anonymousId,d.groupId=u.proxy("options.groupId"),d.traits=function(e){var t=this.proxy("options.traits")||{},n=this.userId();for(var r in e=e||{},n&&(t.id=n),e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=null==this[r]?this.proxy("options.traits."+r):this[r]();if(null==o)continue;t[e[r]]=o,delete t[r]}return t},d.library=function(){var e=this.proxy("options.library");return e?"string"==typeof e?{name:e,version:null}:e:{name:"unknown",version:null}},d.device=function(){var e=this.proxy("context.device");("object"!=typeof e||null===e)&&(e={});var t=this.library().name;return e.type||(t.indexOf("ios")>-1&&(e.type="ios"),t.indexOf("android")>-1&&(e.type="android")),e},d.userAgent=u.proxy("context.userAgent"),d.timezone=u.proxy("context.timezone"),d.timestamp=u.field("timestamp"),d.channel=u.field("channel"),d.ip=u.proxy("context.ip"),d.userId=u.field("userId"),o.default(d)},1296:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Group=void 0;var o=r(n(67483)),i=r(n(57939)),a=r(n(41862)),s=n(72851);function l(e,t){s.Facade.call(this,e,t)}t.Group=l,o.default(l,s.Facade);var c=l.prototype;c.action=function(){return"group"},c.type=c.action,c.groupId=s.Facade.field("groupId"),c.created=function(){var e=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(e)return a.default(e)},c.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.groupId();if(i.default(t))return t},c.traits=function(e){var t=this.properties(),n=this.groupId();for(var r in e=e||{},n&&(t.id=n),e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=null==this[r]?this.proxy("traits."+r):this[r]();if(null==o)continue;t[e[r]]=o,delete t[r]}return t},c.name=s.Facade.proxy("traits.name"),c.industry=s.Facade.proxy("traits.industry"),c.employees=s.Facade.proxy("traits.employees"),c.properties=function(){return this.field("traits")||this.field("properties")||{}}},3316:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Identify=void 0;var o=n(72851),i=r(n(19434)),a=r(n(67483)),s=r(n(57939)),l=r(n(41862)),c=function(e){return e.trim()};function u(e,t){o.Facade.call(this,e,t)}t.Identify=u,a.default(u,o.Facade);var d=u.prototype;d.action=function(){return"identify"},d.type=d.action,d.traits=function(e){var t=this.field("traits")||{},n=this.userId();for(var r in e=e||{},n&&(t.id=n),e){var o=null==this[r]?this.proxy("traits."+r):this[r]();null!=o&&(t[e[r]]=o,r!==e[r]&&delete t[r])}return t},d.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.userId();if(s.default(t))return t},d.created=function(){var e=this.proxy("traits.created")||this.proxy("traits.createdAt");if(e)return l.default(e)},d.companyCreated=function(){var e=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(e)return l.default(e)},d.companyName=function(){return this.proxy("traits.company.name")},d.name=function(){var e=this.proxy("traits.name");if("string"==typeof e)return c(e);var t=this.firstName(),n=this.lastName();if(t&&n)return c(t+" "+n)},d.firstName=function(){var e=this.proxy("traits.firstName");if("string"==typeof e)return c(e);var t=this.proxy("traits.name");if("string"==typeof t)return c(t).split(" ")[0]},d.lastName=function(){var e=this.proxy("traits.lastName");if("string"==typeof e)return c(e);var t=this.proxy("traits.name");if("string"==typeof t){var n=c(t).indexOf(" ");if(-1!==n)return c(t.substr(n+1))}},d.uid=function(){return this.userId()||this.username()||this.email()},d.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")},d.age=function(){var e=this.birthday(),t=i.default(this.traits(),"age");if(null!=t)return t;if(e instanceof Date){var n=new Date;return n.getFullYear()-e.getFullYear()}},d.avatar=function(){var e=this.traits();return i.default(e,"avatar")||i.default(e,"photoUrl")||i.default(e,"avatarUrl")},d.position=function(){var e=this.traits();return i.default(e,"position")||i.default(e,"jobTitle")},d.username=o.Facade.proxy("traits.username"),d.website=o.Facade.one("traits.website"),d.websites=o.Facade.multi("traits.website"),d.phone=o.Facade.one("traits.phone"),d.phones=o.Facade.multi("traits.phone"),d.address=o.Facade.proxy("traits.address"),d.gender=o.Facade.proxy("traits.gender"),d.birthday=o.Facade.proxy("traits.birthday")},5779:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Delete=t.Screen=t.Page=t.Track=t.Identify=t.Group=t.Alias=t.Facade=void 0;var o=n(72851);Object.defineProperty(t,"Facade",{enumerable:!0,get:function(){return o.Facade}});var i=n(2329);Object.defineProperty(t,"Alias",{enumerable:!0,get:function(){return i.Alias}});var a=n(1296);Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return a.Group}});var s=n(3316);Object.defineProperty(t,"Identify",{enumerable:!0,get:function(){return s.Identify}});var l=n(50160);Object.defineProperty(t,"Track",{enumerable:!0,get:function(){return l.Track}});var c=n(56697);Object.defineProperty(t,"Page",{enumerable:!0,get:function(){return c.Page}});var u=n(27201);Object.defineProperty(t,"Screen",{enumerable:!0,get:function(){return u.Screen}});var d=n(63884);Object.defineProperty(t,"Delete",{enumerable:!0,get:function(){return d.Delete}}),t.default=r(r({},o.Facade),{Alias:i.Alias,Group:a.Group,Identify:s.Identify,Track:l.Track,Page:c.Page,Screen:u.Screen,Delete:d.Delete})},57939:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/.+\@.+\..+/;function r(e){return n.test(e)}t.default=r},3269:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={Salesforce:!0};function r(e){return!n[e]}t.default=r},56697:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=r(n(67483)),i=n(72851),a=n(50160),s=r(n(57939));function l(e,t){i.Facade.call(this,e,t)}t.Page=l,o.default(l,i.Facade);var c=l.prototype;c.action=function(){return"page"},c.type=c.action,c.category=i.Facade.field("category"),c.name=i.Facade.field("name"),c.title=i.Facade.proxy("properties.title"),c.path=i.Facade.proxy("properties.path"),c.url=i.Facade.proxy("properties.url"),c.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},c.properties=function(e){var t=this.field("properties")||{},n=this.category(),r=this.name();for(var o in e=e||{},n&&(t.category=n),r&&(t.name=r),e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=null==this[o]?this.proxy("properties."+o):this[o]();if(null==i)continue;t[e[o]]=i,o!==e[o]&&delete t[o]}return t},c.email=function(){var e=this.proxy("context.traits.email")||this.proxy("properties.email");if(e)return e;var t=this.userId();if(s.default(t))return t},c.fullName=function(){var e=this.category(),t=this.name();return t&&e?e+" "+t:t},c.event=function(e){return e?"Viewed "+e+" Page":"Loaded a Page"},c.track=function(e){var t=this.json();return t.event=this.event(e),t.timestamp=this.timestamp(),t.properties=this.properties(),new a.Track(t,this.opts)}},27201:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Screen=void 0;var o=r(n(67483)),i=n(56697),a=n(50160);function s(e,t){i.Page.call(this,e,t)}t.Screen=s,o.default(s,i.Page),s.prototype.action=function(){return"screen"},s.prototype.type=s.prototype.action,s.prototype.event=function(e){return e?"Viewed "+e+" Screen":"Loaded a Screen"},s.prototype.track=function(e){var t=this.json();return t.event=this.event(e),t.timestamp=this.timestamp(),t.properties=this.properties(),new a.Track(t,this.opts)}},50160:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var o=r(n(67483)),i=n(72851),a=n(3316),s=r(n(57939)),l=r(n(19434));function c(e,t){i.Facade.call(this,e,t)}t.Track=c,o.default(c,i.Facade);var u=c.prototype;function d(e){if(e&&("number"==typeof e||"string"==typeof e&&!isNaN(e=parseFloat(e=e.replace(/\$/g,"")))))return e}u.action=function(){return"track"},u.type=u.action,u.event=i.Facade.field("event"),u.value=i.Facade.proxy("properties.value"),u.category=i.Facade.proxy("properties.category"),u.id=i.Facade.proxy("properties.id"),u.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")},u.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")},u.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")},u.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")},u.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")},u.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")},u.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")},u.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")},u.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")},u.sku=i.Facade.proxy("properties.sku"),u.tax=i.Facade.proxy("properties.tax"),u.name=i.Facade.proxy("properties.name"),u.price=i.Facade.proxy("properties.price"),u.total=i.Facade.proxy("properties.total"),u.repeat=i.Facade.proxy("properties.repeat"),u.coupon=i.Facade.proxy("properties.coupon"),u.shipping=i.Facade.proxy("properties.shipping"),u.discount=i.Facade.proxy("properties.discount"),u.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")},u.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")},u.description=i.Facade.proxy("properties.description"),u.plan=i.Facade.proxy("properties.plan"),u.subtotal=function(){var e=l.default(this.properties(),"subtotal"),t=this.total()||this.revenue();if(e)return e;if(!t)return 0;if(this.total()){var n=this.tax();n&&(t-=n),(n=this.shipping())&&(t-=n),(n=this.discount())&&(t+=n)}return t},u.products=function(){var e=this.properties(),t=l.default(e,"products");return Array.isArray(t)?t.filter(function(e){return null!==e}):[]},u.quantity=function(){return(this.obj.properties||{}).quantity||1},u.currency=function(){return(this.obj.properties||{}).currency||"USD"},u.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},u.query=i.Facade.proxy("options.query"),u.properties=function(e){var t=this.field("properties")||{};for(var n in e=e||{})if(Object.prototype.hasOwnProperty.call(e,n)){var r=null==this[n]?this.proxy("properties."+n):this[n]();if(null==r)continue;t[e[n]]=r,delete t[n]}return t},u.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()},u.email=function(){var e=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(e)return e;var t=this.userId();if(s.default(t))return t},u.revenue=function(){var e=this.proxy("properties.revenue"),t=this.event(),n=/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i;return!e&&t&&t.match(n)&&(e=this.proxy("properties.total")),d(e)},u.cents=function(){var e=this.revenue();return"number"!=typeof e?this.value()||0:100*e},u.identify=function(){var e=this.json();return e.traits=this.traits(),new a.Identify(e,this.opts)}},58651:function(e,t,n){"use strict";var r=n(70632);function o(e,t){return(void 0===t&&(t=!0),e&&"object"==typeof e)?i(e,t):Array.isArray(e)?a(e,t):r.is(e,t)?r.parse(e):e}function i(e,t){return Object.keys(e).forEach(function(n){e[n]=o(e[n],t)}),e}function a(e,t){return e.forEach(function(n,r){e[r]=o(n,t)}),e}e.exports=o},70632:function(e,t){"use strict";var n=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;t.parse=function(e){var t=[1,5,6,7,11,12],r=n.exec(e),o=0;if(!r)return new Date(e);for(var i,a=0;i=t[a];a++)r[i]=parseInt(r[i],10)||0;return r[2]=parseInt(r[2],10)||1,r[3]=parseInt(r[3],10)||1,r[2]--,r[8]=r[8]?(r[8]+"00").substring(0,3):0," "===r[4]?o=new Date().getTimezoneOffset():"Z"!==r[9]&&r[10]&&(o=60*r[11]+r[12],"+"===r[10]&&(o=0-o)),new Date(Date.UTC(r[1],r[2],r[3],r[5],r[6]+o,r[7],r[8]))},t.is=function(e,t){return"string"==typeof e&&(!t||!1!==/^\d{4}-\d{2}-\d{2}/.test(e))&&n.test(e)}},6748:function(e,t,n){"use strict";n.d(t,{Pg:function(){return C},y7:function(){return l},Jx:function(){return _},Qj:function(){return k},kr:function(){return O},iF:function(){return A}});var r,o=n(57668),i=n(93591);class a{constructor(e){if(this.bytes=e,8!==e.byteLength)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x7fffffffffffffff||e<-0x8000000000000000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let n=7,r=Math.abs(Math.round(e));n>-1&&r>0;n--,r/=256)t[n]=r;return e<0&&s(t),new a(t)}valueOf(){let e=this.bytes.slice(0),t=128&e[0];return t&&s(e),parseInt((0,i.N)(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function s(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class l{constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){let t=[];for(let n of Object.keys(e)){let r=this.fromUtf8(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}let n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),r=0;for(let e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case"long":let r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case"binary":let o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6),o.setUint16(1,e.value.byteLength,!1);let s=new Uint8Array(o.buffer);return s.set(e.value,3),s;case"string":let l=this.fromUtf8(e.value),c=new DataView(new ArrayBuffer(3+l.byteLength));c.setUint8(0,7),c.setUint16(1,l.byteLength,!1);let u=new Uint8Array(c.buffer);return u.set(l,3),u;case"timestamp":let d=new Uint8Array(9);return d[0]=8,d.set(a.fromNumber(e.value.valueOf()).bytes,1),d;case"uuid":if(!y.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let f=new Uint8Array(17);return f[0]=9,f.set((0,i.H)(e.value.replace(/\-/g,"")),1),f}}parse(e){let t={},n=0;for(;n<e.byteLength;){let r=e.getUint8(n++),o=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,r));switch(n+=r,e.getUint8(n++)){case 0:t[o]={type:c,value:!0};break;case 1:t[o]={type:c,value:!1};break;case 2:t[o]={type:u,value:e.getInt8(n++)};break;case 3:t[o]={type:d,value:e.getInt16(n,!1)},n+=2;break;case 4:t[o]={type:f,value:e.getInt32(n,!1)},n+=4;break;case 5:t[o]={type:p,value:new a(new Uint8Array(e.buffer,e.byteOffset+n,8))},n+=8;break;case 6:let s=e.getUint16(n,!1);n+=2,t[o]={type:h,value:new Uint8Array(e.buffer,e.byteOffset+n,s)},n+=s;break;case 7:let l=e.getUint16(n,!1);n+=2,t[o]={type:m,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,l))},n+=l;break;case 8:t[o]={type:g,value:new Date(new a(new Uint8Array(e.buffer,e.byteOffset+n,8)).valueOf())},n+=8;break;case 9:let y=new Uint8Array(e.buffer,e.byteOffset+n,16);n+=16,t[o]={type:v,value:`${(0,i.N)(y.subarray(0,4))}-${(0,i.N)(y.subarray(4,6))}-${(0,i.N)(y.subarray(6,8))}-${(0,i.N)(y.subarray(8,10))}-${(0,i.N)(y.subarray(10))}`};break;default:throw Error("Unrecognized header type tag")}}return t}}!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(r||(r={}));let c="boolean",u="byte",d="short",f="integer",p="long",h="binary",m="string",g="timestamp",v="uuid",y=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,b=4,w=8,S=4,x=16;function E({byteLength:e,byteOffset:t,buffer:n}){if(e<x)throw Error("Provided message too short to accommodate event stream message overhead");let r=new DataView(n,t,e),i=r.getUint32(0,!1);if(e!==i)throw Error("Reported message length does not match received message length");let a=r.getUint32(b,!1),s=r.getUint32(w,!1),l=r.getUint32(e-S,!1),c=new o.Crc32().update(new Uint8Array(n,t,w));if(s!==c.digest())throw Error(`The prelude checksum specified in the message (${s}) does not match the calculated CRC32 checksum (${c.digest()})`);if(c.update(new Uint8Array(n,t+w,e-(w+S))),l!==c.digest())throw Error(`The message checksum (${c.digest()}) did not match the expected value of ${l}`);return{headers:new DataView(n,t+w+S,a),body:new Uint8Array(n,t+w+S+a,i-a-(w+S+S))}}class C{constructor(e,t){this.headerMarshaller=new l(e,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(e){this.messageBuffer.push(this.decode(e))}endOfStream(){this.isEndOfStream=!0}getMessage(){let e=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage:()=>e,isEndOfStream:()=>t}}getAvailableMessages(){let e=this.messageBuffer;this.messageBuffer=[];let t=this.isEndOfStream;return{getMessages:()=>e,isEndOfStream:()=>t}}encode({headers:e,body:t}){let n=this.headerMarshaller.format(e),r=n.byteLength+t.byteLength+16,i=new Uint8Array(r),a=new DataView(i.buffer,i.byteOffset,i.byteLength),s=new o.Crc32;return a.setUint32(0,r,!1),a.setUint32(4,n.byteLength,!1),a.setUint32(8,s.update(i.subarray(0,8)).digest(),!1),i.set(n,12),i.set(t,n.byteLength+12),a.setUint32(r-4,s.update(i.subarray(8,r-4)).digest(),!1),i}decode(e){let{headers:t,body:n}=E(e);return{headers:this.headerMarshaller.parse(t),body:n}}formatHeaders(e){return this.headerMarshaller.format(e)}}class _{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async *asyncIterator(){for await(let e of this.options.inputStream){let t=this.options.decoder.decode(e);yield t}}}class k{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async *asyncIterator(){for await(let e of this.options.messageStream){let t=this.options.encoder.encode(e);yield t}this.options.includeEndFrame&&(yield new Uint8Array(0))}}class O{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async *asyncIterator(){for await(let e of this.options.messageStream){let t=await this.options.deserializer(e);void 0!==t&&(yield t)}}}class A{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async *asyncIterator(){for await(let e of this.options.inputStream){let t=this.options.serializer(e);yield t}}}},45114:function(e,t,n){"use strict";n.d(t,{BX:function(){return l},CF:function(){return u}});var r=n(21432),o=n(1754);function i(e){let t=[];for(let n of Object.keys(e).sort()){let r=e[n];if(n=(0,o.i)(n),Array.isArray(r))for(let e=0,i=r.length;e<i;e++)t.push(`${n}=${(0,o.i)(r[e])}`);else{let e=n;(r||"string"==typeof r)&&(e+=`=${(0,o.i)(r)}`),t.push(e)}}return t.join("&")}function a(e=0){return new Promise((t,n)=>{e&&setTimeout(()=>{let t=Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",n(t)},e)})}let s={supported:!!("undefined"!=typeof Request&&"keepalive"in new Request("https://[::1]"))};class l{static create(e){return"function"==typeof e?.handle?e:new l(e)}constructor(e){"function"==typeof e?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config))}destroy(){}async handle(e,{abortSignal:t}={}){this.config||(this.config=await this.configProvider);let n=this.config.requestTimeout,o=!0===this.config.keepAlive;if(t?.aborted){let e=Error("Request aborted");return e.name="AbortError",Promise.reject(e)}let l=e.path,c=i(e.query||{});c&&(l+=`?${c}`),e.fragment&&(l+=`#${e.fragment}`);let u="";if(null!=e.username||null!=e.password){let t=e.username??"",n=e.password??"";u=`${t}:${n}@`}let{port:d,method:f}=e,p=`${e.protocol}//${u}${e.hostname}${d?`:${d}`:""}${l}`,h={body:"GET"===f||"HEAD"===f?void 0:e.body,headers:new Headers(e.headers),method:f};"undefined"!=typeof AbortController&&(h.signal=t),s.supported&&(h.keepalive=o);let m=[fetch(new Request(p,h)).then(e=>{let t=e.headers,n={};for(let e of t.entries())n[e[0]]=e[1];return void 0!=e.body?{response:new r.Zn({headers:n,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then(t=>({response:new r.Zn({headers:n,reason:e.statusText,statusCode:e.status,body:t})}))}),a(n)];return t&&m.push(new Promise((e,n)=>{t.onabort=()=>{let e=Error("Request aborted");e.name="AbortError",n(e)}})),Promise.race(m)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(n=>(n[e]=t,n))}httpHandlerConfigs(){return this.config??{}}}var c=n(65046);let u=e=>"function"==typeof Blob&&e instanceof Blob?d(e):f(e);async function d(e){let t=await p(e);return new Uint8Array((0,c.G)(t))}async function f(e){let t=new Uint8Array(0),n=e.getReader(),r=!1;for(;!r;){let{done:e,value:o}=await n.read();if(o){let e=t;(t=new Uint8Array(e.length+o.length)).set(e),t.set(o,e.length)}r=e}return t}function p(e){return new Promise((t,n)=>{let r=new FileReader;r.onloadend=()=>{if(2!==r.readyState)return n(Error("Reader aborted too early"));let e=r.result??"",o=e.indexOf(","),i=o>-1?o+1:e.length;t(e.substring(i))},r.onabort=()=>n(Error("Read aborted")),r.onerror=()=>n(r.error),r.readAsDataURL(e)})}},59855:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});let r=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e)},51970:function(e,t,n){"use strict";n.d(t,{Q$:function(){return v},UM:function(){return p},a3:function(){return y},uW:function(){return b},sD:function(){return f}});let r=async e=>{let t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),l(t)){if(!0===e.ForcePathStyle)throw Error("Path-style addressing cannot be used with ARN buckets")}else s(t)&&(-1===t.indexOf(".")||String(e.Endpoint).startsWith("http:"))&&t.toLowerCase()===t&&!(t.length<3)||(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e},o=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,i=/(\d+\.){3}\d+/,a=/\.\./,s=e=>o.test(e)&&!i.test(e)&&!a.test(e),l=e=>{let[t,n,r,o,i,a]=e.split(":"),s="arn"===t&&e.split(":").length>=6,l=5===[t,n,r,i,a].filter(Boolean).length;if(s&&!l)throw Error(`Invalid ARN: ${e} was an invalid ARN.`);return"arn"===t&&!!n&&!!r&&!!i&&!!a},c=(e,t,n)=>{let r=async()=>{let r=n[e]??n[t];return"function"==typeof r?r():r};return"credentialScope"===e||"CredentialScope"===t?async()=>{let e="function"==typeof n.credentials?await n.credentials():n.credentials;return e?.credentialScope??e?.CredentialScope}:"endpoint"===e||"endpoint"===t?async()=>{let e=await r();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){let{protocol:t,hostname:n,port:r,path:o}=e;return`${t}//${n}${r?":"+r:""}${o}`}}return e}:r},u=async e=>void 0;var d=n(57526);let f=e=>"object"==typeof e?"url"in e?(0,d.e)(e.url):e:(0,d.e)(e),p=async(e,t,n,r)=>{if(!n.endpoint){let e=await u(n.serviceId||"");e&&(n.endpoint=()=>Promise.resolve(f(e)))}let o=await h(e,t,n);if("function"!=typeof n.endpointProvider)throw Error("config.endpointProvider is not set.");return n.endpointProvider(o,r)},h=async(e,t,n)=>{let o={},i=t?.getEndpointParameterInstructions?.()||{};for(let[t,r]of Object.entries(i))switch(r.type){case"staticContextParams":o[t]=r.value;break;case"contextParams":o[t]=e[r.name];break;case"clientContextParams":case"builtInParams":o[t]=await c(r.name,t,n)();break;default:throw Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(r))}return 0===Object.keys(i).length&&Object.assign(o,n),"s3"===String(n.serviceId).toLowerCase()&&await r(o),o};var m=n(35062);let g=({config:e,instructions:t})=>(n,r)=>async o=>{let i=await p(o.input,{getEndpointParameterInstructions:()=>t},{...e},r);r.endpointV2=i,r.authSchemes=i.properties?.authSchemes;let a=r.authSchemes?.[0];if(a){r.signing_region=a.signingRegion,r.signing_service=a.signingName;let e=(0,m.J)(r),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:a.signingRegion,signingRegion:a.signingRegion,signing_service:a.signingName,signingName:a.signingName,signingRegionSet:a.signingRegionSet},a.properties))}return n({...o})},v={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:n(87798).JK.name},y=(e,t)=>({applyToStack:n=>{n.addRelativeTo(g({config:e,instructions:t}),v)}}),b=e=>{let t=e.tls??!0,{endpoint:n}=e,r=null!=n?async()=>f(await (0,m.$)(n)()):void 0,o=!!n;return{...e,endpoint:r,tls:t,isCustomEndpoint:o,useDualstackEndpoint:(0,m.$)(e.useDualstackEndpoint??!1),useFipsEndpoint:(0,m.$)(e.useFipsEndpoint??!1)}}},58226:function(e,t,n){"use strict";n.d(t,{NQ:function(){return I},BC:function(){return b},yg:function(){return A}});var r,o=n(3627),i=n(21432),a=n(43350),s=new Uint8Array(16);function l(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(s)}for(var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,u=function(e){return"string"==typeof e&&c.test(e)},d=[],f=0;f<256;++f)d.push((f+256).toString(16).substr(1));var p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(d[e[t+0]]+d[e[t+1]]+d[e[t+2]]+d[e[t+3]]+"-"+d[e[t+4]]+d[e[t+5]]+"-"+d[e[t+6]]+d[e[t+7]]+"-"+d[e[t+8]]+d[e[t+9]]+"-"+d[e[t+10]]+d[e[t+11]]+d[e[t+12]]+d[e[t+13]]+d[e[t+14]]+d[e[t+15]]).toLowerCase();if(!u(n))throw TypeError("Stringified UUID is invalid");return n},h=function(e,t,n){var r=(e=e||{}).random||(e.rng||l)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return p(r)};let m=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):"string"==typeof e?Error(e):Error(`AWS SDK error wrapper for ${e}`);var g=n(35062);let v="AWS_MAX_ATTEMPTS",y="max_attempts";e=>{let t=e[v];if(!t)return;let n=parseInt(t);if(Number.isNaN(n))throw Error(`Environment variable ${v} mast be a number, got "${t}"`);return n},o.J;let b=e=>{let{retryStrategy:t}=e,n=(0,g.$)(e.maxAttempts??o.J);return{...e,maxAttempts:n,retryStrategy:async()=>t||(await (0,g.$)(e.retryMode)()===o.Ul.ADAPTIVE?new o.AY(n):new o.Uz(n))}},w="AWS_RETRY_MODE",S="retry_mode";e=>e[w],o.CA;var x=n(29004);let E=e=>e?.body instanceof ReadableStream,C=e=>(t,n)=>async r=>{let a=await e.retryStrategy(),s=await e.maxAttempts();if(!_(a))return a?.mode&&(n.userAgent=[...n.userAgent||[],["cfg/retry-mode",a.mode]]),a.retry(t,r);{let e=await a.acquireInitialRetryToken(n.partition_id),l=Error(),c=0,u=0,{request:d}=r,f=i.aW.isInstance(d);for(f&&(d.headers[o.lk]=h());;)try{f&&(d.headers[o.r5]=`attempt=${c+1}; max=${s}`);let{response:n,output:i}=await t(r);return a.recordSuccess(e),i.$metadata.attempts=c+1,i.$metadata.totalRetryDelay=u,{response:n,output:i}}catch(o){let t=k(o);if(l=m(o),f&&E(d))throw(n.logger instanceof x.vk?console:n.logger)?.warn("An error was encountered in a non-retryable streaming request."),l;try{e=await a.refreshRetryTokenForRetry(e,t)}catch(e){throw l.$metadata||(l.$metadata={}),l.$metadata.attempts=c+1,l.$metadata.totalRetryDelay=u,l}c=e.getRetryCount();let r=e.getRetryDelay();u+=r,await new Promise(e=>setTimeout(e,r))}}},_=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,k=e=>{let t={errorType:O(e)},n=P(e.$response);return n&&(t.retryAfterHint=n),t},O=e=>(0,a.pK)(e)?"THROTTLING":(0,a.iH)(e)?"TRANSIENT":(0,a.o7)(e)?"SERVER_ERROR":"CLIENT_ERROR",A={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},I=e=>({applyToStack:t=>{t.add(C(e),A)}}),P=e=>{if(!i.Zn.isInstance(e))return;let t=Object.keys(e.headers).find(e=>"retry-after"===e.toLowerCase());if(!t)return;let n=e.headers[t],r=Number(n);return new Date(Number.isNaN(r)?n:1e3*r)}},87798:function(e,t,n){"use strict";n.d(t,{p2:function(){return s},JK:function(){return a}});let r=(e,t)=>(n,r)=>async r=>{let{response:o}=await n(r);try{let n=await t(o,e);return{response:o,output:n}}catch(e){if(Object.defineProperty(e,"$response",{value:o}),!("$metadata"in e)){let t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";e.message+="\n  "+t}throw e}},o=(e,t)=>(n,r)=>async o=>{let i=r.endpointV2?.url&&e.urlParser?async()=>e.urlParser(r.endpointV2.url):e.endpoint;if(!i)throw Error("No valid endpoint provider available.");let a=await t(o.input,{...e,endpoint:i});return n({...o,request:a})},i={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},a={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function s(e,t,n){return{applyToStack:s=>{s.add(r(e,n),i),s.add(o(e,t),a)}}}},21432:function(e,t,n){"use strict";n.d(t,{aW:function(){return i},Zn:function(){return s},cA:function(){return r},Lb:function(){return l},AO:function(){return o}});let r=e=>{let t=e.httpHandler;return{setHttpHandler(e){t=e},httpHandler:()=>t,updateHttpClientConfig(e,n){t.updateHttpClientConfig(e,n)},httpHandlerConfigs:()=>t.httpHandlerConfigs()}},o=e=>({httpHandler:e.httpHandler()});n(4558);class i{constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static isInstance(e){if(!e)return!1;let t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){let e=new i({...this,headers:{...this.headers}});return e.query&&(e.query=a(e.query)),e}}function a(e){return Object.keys(e).reduce((t,n)=>{let r=e[n];return{...t,[n]:Array.isArray(r)?[...r]:r}},{})}class s{constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;let t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers}}function l(e){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(e)}},43350:function(e,t,n){"use strict";n.d(t,{Rk:function(){return c},bV:function(){return l},o7:function(){return f},pK:function(){return u},iH:function(){return d}});let r=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],o=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],i=["TimeoutError","RequestTimeout","RequestTimeoutException"],a=[500,502,503,504],s=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],l=e=>void 0!==e.$retryable,c=e=>r.includes(e.name),u=e=>e.$metadata?.httpStatusCode===429||o.includes(e.name)||e.$retryable?.throttling==!0,d=e=>i.includes(e.name)||s.includes(e?.code||"")||a.includes(e.$metadata?.httpStatusCode||0),f=e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;if(500<=t&&t<=599&&!d(e))return!0}return!1}},27362:function(e,t,n){"use strict";n.d(t,{L1:function(){return G}});var r=n(6748),o=n(93591),i=n(35062),a=n(19255),s=n(56906),l=n(30455);let c="X-Amz-Algorithm",u="X-Amz-Credential",d="X-Amz-Date",f="X-Amz-SignedHeaders",p="X-Amz-Expires",h="X-Amz-Signature",m="X-Amz-Security-Token",g="authorization",v=d.toLowerCase(),y=[g,v,"date"],b=h.toLowerCase(),w="x-amz-content-sha256",S=m.toLowerCase(),x={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},E=/^proxy-/,C=/^sec-/,_="AWS4-HMAC-SHA256",k="AWS4-HMAC-SHA256-PAYLOAD",O="UNSIGNED-PAYLOAD",A=50,I="aws4_request",P=604800,T={},R=[],M=(e,t,n)=>`${e}/${t}/${n}/${I}`,N=async(e,t,n,r,i)=>{let a=await j(e,t.secretAccessKey,t.accessKeyId),s=`${n}:${r}:${i}:${(0,o.N)(a)}:${t.sessionToken}`;if(s in T)return T[s];for(R.push(s);R.length>A;)delete T[R.shift()];let l=`AWS4${t.secretAccessKey}`;for(let t of[n,r,i,I])l=await j(e,l,t);return T[s]=l},j=(e,t,n)=>{let r=new e(t);return r.update((0,l._)(n)),r.digest()},D=({headers:e},t,n)=>{let r={};for(let o of Object.keys(e).sort()){if(void 0==e[o])continue;let i=o.toLowerCase();(!(i in x||t?.has(i)||E.test(i)||C.test(i))||n&&(!n||n.has(i)))&&(r[i]=e[o].trim().replace(/\s+/g," "))}return r};var L=n(1754);let B=({query:e={}})=>{let t=[],n={};for(let r of Object.keys(e).sort()){if(r.toLowerCase()===b)continue;t.push(r);let o=e[r];"string"==typeof o?n[r]=`${(0,L.i)(r)}=${(0,L.i)(o)}`:Array.isArray(o)&&(n[r]=o.slice(0).reduce((e,t)=>e.concat([`${(0,L.i)(r)}=${(0,L.i)(t)}`]),[]).sort().join("&"))}return t.map(e=>n[e]).filter(e=>e).join("&")};var Z=n(59855);let F=async({headers:e,body:t},n)=>{for(let t of Object.keys(e))if(t.toLowerCase()===w)return e[t];if(void 0==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||(0,Z.e)(t)){let e=new n;return e.update((0,l._)(t)),(0,o.N)(await e.digest())}return O},z=(e,t)=>{for(let n of(e=e.toLowerCase(),Object.keys(t)))if(e===n.toLowerCase())return!0;return!1},U=({headers:e,query:t,...n})=>({...n,headers:{...e},query:t?H(t):void 0}),H=e=>Object.keys(e).reduce((t,n)=>{let r=e[n];return{...t,[n]:Array.isArray(r)?[...r]:r}},{}),q=(e,t={})=>{let{headers:n,query:r={}}="function"==typeof e.clone?e.clone():U(e);for(let e of Object.keys(n)){let o=e.toLowerCase();"x-amz-"!==o.slice(0,6)||t.unhoistableHeaders?.has(o)||(r[e]=n[e],delete n[e])}return{...e,headers:n,query:r}},V=e=>{for(let t of Object.keys((e="function"==typeof e.clone?e.clone():U(e)).headers))y.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e},W=e=>$(e).toISOString().replace(/\.\d{3}Z$/,"Z"),$=e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?new Date(Number(e)?1e3*Number(e):e):e;class G{constructor({applyChecksum:e,credentials:t,region:n,service:o,sha256:l,uriEscapePath:c=!0}){this.headerMarshaller=new r.y7(a.G,s.$),this.service=o,this.sha256=l,this.uriEscapePath=c,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=(0,i.$)(n),this.credentialProvider=(0,i.$)(t)}async presign(e,t={}){let{signingDate:n=new Date,expiresIn:r=3600,unsignableHeaders:o,unhoistableHeaders:i,signableHeaders:a,signingRegion:s,signingService:l}=t,g=await this.credentialProvider();this.validateResolvedCredentials(g);let v=s??await this.regionProvider(),{longDate:y,shortDate:b}=K(n);if(r>P)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let w=M(b,v,l??this.service),S=q(V(e),{unhoistableHeaders:i});g.sessionToken&&(S.query[m]=g.sessionToken),S.query[c]=_,S.query[u]=`${g.accessKeyId}/${w}`,S.query[d]=y,S.query[p]=r.toString(10);let x=D(S,o,a);return S.query[f]=Y(x),S.query[h]=await this.getSignature(y,w,this.getSigningKey(g,v,b,l),this.createCanonicalRequest(S,x,await F(e,this.sha256))),S}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:n=new Date,priorSignature:r,signingRegion:i,signingService:a}){let s=i??await this.regionProvider(),{shortDate:l,longDate:c}=K(n),u=M(l,s,a??this.service),d=await F({headers:{},body:t},this.sha256),f=new this.sha256;f.update(e);let p=[k,c,u,r,(0,o.N)(await f.digest()),d].join("\n");return this.signString(p,{signingDate:n,signingRegion:s,signingService:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:n,signingService:r}){return this.signEvent({headers:this.headerMarshaller.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:n,signingService:r,priorSignature:e.priorSignature}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:n,signingService:r}={}){let i=await this.credentialProvider();this.validateResolvedCredentials(i);let a=n??await this.regionProvider(),{shortDate:s}=K(t),c=new this.sha256(await this.getSigningKey(i,a,s,r));return c.update((0,l._)(e)),(0,o.N)(await c.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:n,unsignableHeaders:r,signingRegion:o,signingService:i}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let s=o??await this.regionProvider(),l=V(e),{longDate:c,shortDate:u}=K(t),d=M(u,s,i??this.service);l.headers[v]=c,a.sessionToken&&(l.headers[S]=a.sessionToken);let f=await F(l,this.sha256);!z(w,l.headers)&&this.applyChecksum&&(l.headers[w]=f);let p=D(l,r,n),h=await this.getSignature(c,d,this.getSigningKey(a,s,u,i),this.createCanonicalRequest(l,p,f));return l.headers[g]=`${_} Credential=${a.accessKeyId}/${d}, SignedHeaders=${Y(p)}, Signature=${h}`,l}createCanonicalRequest(e,t,n){let r=Object.keys(t).sort();return`${e.method}
${this.getCanonicalPath(e)}
${B(e)}
${r.map(e=>`${e}:${t[e]}`).join("\n")}

${r.join(";")}
${n}`}async createStringToSign(e,t,n){let r=new this.sha256;r.update((0,l._)(n));let i=await r.digest();return`${_}
${e}
${t}
${(0,o.N)(i)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let n of e.split("/"))n?.length!==0&&"."!==n&&(".."===n?t.pop():t.push(n));return encodeURIComponent(`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`).replace(/%2F/g,"/")}return e}async getSignature(e,t,n,r){let i=await this.createStringToSign(e,t,r),a=new this.sha256(await n);return a.update((0,l._)(i)),(0,o.N)(await a.digest())}getSigningKey(e,t,n,r){return N(this.sha256,e,n,t,r||this.service)}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw Error("Resolved credential object is not valid")}}let K=e=>{let t=W(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}},Y=e=>Object.keys(e).sort().join(";")},29004:function(e,t,n){"use strict";n.d(t,{KU:function(){return c},mY:function(){return p},vk:function(){return r},oc:function(){return m},sI:function(){return es},Wg:function(){return d},TW:function(){return g},_w:function(){return U},to:function(){return el},CE:function(){return O},Wh:function(){return A},pY:function(){return I},$I:function(){return P},jc:function(){return eb},L:function(){return ew},kE:function(){return ev},sT:function(){return eS},jv:function(){return ef},UI:function(){return eE},gx:function(){return v},aH:function(){return q},oT:function(){return G},SQ:function(){return ey},Is:function(){return eA},AF:function(){return j},NK:function(){return N},PC:function(){return eu}});class r{trace(){}debug(){}info(){}warn(){}error(){}}let o=(e,t)=>{let n=[];if(e&&n.push(e),t)for(let e of t)n.push(e);return n},i=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,a=()=>{let e=[],t=[],n=!1,r=new Set,c=e=>e.sort((e,t)=>s[t.step]-s[e.step]||l[t.priority||"normal"]-l[e.priority||"normal"]),u=n=>{let i=!1,a=e=>{let t=o(e.name,e.aliases);if(t.includes(n)){for(let e of(i=!0,t))r.delete(e);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},d=n=>{let i=!1,a=e=>{if(e.middleware===n){for(let t of(i=!0,o(e.name,e.aliases)))r.delete(t);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},f=n=>(e.forEach(e=>{n.add(e.middleware,{...e})}),t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})}),n.identifyOnResolve?.(m.identifyOnResolve()),n),p=e=>{let t=[];return e.before.forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...p(e))}),t.push(e),e.after.reverse().forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...p(e))}),t},h=(n=!1)=>{let r=[],a=[],s={};return e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of o(t.name,t.aliases))s[e]=t;r.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of o(t.name,t.aliases))s[e]=t;a.push(t)}),a.forEach(e=>{if(e.toMiddleware){let t=s[e.toMiddleware];if(void 0===t){if(n)return;throw Error(`${e.toMiddleware} is not found when adding ${i(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}),c(r).map(p).reduce((e,t)=>(e.push(...t),e),[])},m={add:(t,n={})=>{let{name:a,override:s,aliases:l}=n,c={step:"initialize",priority:"normal",middleware:t,...n},u=o(a,l);if(u.length>0){if(u.some(e=>r.has(e))){if(!s)throw Error(`Duplicate middleware name '${i(a,l)}'`);for(let t of u){let n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===n)continue;let r=e[n];if(r.step!==c.step||c.priority!==r.priority)throw Error(`"${i(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${i(a,l)}" middleware with ${c.priority} priority in ${c.step} step.`);e.splice(n,1)}}for(let e of u)r.add(e)}e.push(c)},addRelativeTo:(e,n)=>{let{name:a,override:s,aliases:l}=n,c={middleware:e,...n},u=o(a,l);if(u.length>0){if(u.some(e=>r.has(e))){if(!s)throw Error(`Duplicate middleware name '${i(a,l)}'`);for(let e of u){let n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===n)continue;let r=t[n];if(r.toMiddleware!==c.toMiddleware||r.relation!==c.relation)throw Error(`"${i(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${i(a,l)}" middleware ${c.relation} "${c.toMiddleware}" middleware.`);t.splice(n,1)}}for(let e of u)r.add(e)}t.push(c)},clone:()=>f(a()),use:e=>{e.applyToStack(m)},remove:e=>"string"==typeof e?u(e):d(e),removeByTag:n=>{let i=!1,a=e=>{let{tags:t,name:a,aliases:s}=e;if(t&&t.includes(n)){for(let e of o(a,s))r.delete(e);return i=!0,!1}return!0};return e=e.filter(a),t=t.filter(a),i},concat:e=>{let t=f(a());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:f,identify:()=>h(!0).map(e=>{let t=e.step??e.relation+" "+e.toMiddleware;return i(e.name,e.aliases)+" - "+t}),identifyOnResolve:e=>("boolean"==typeof e&&(n=e),n),resolve:(e,t)=>{for(let n of h().map(e=>e.middleware).reverse())e=n(e,t);return n&&console.log(m.identify()),e}};return m},s={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},l={high:3,normal:2,low:1};class c{constructor(e){this.middlewareStack=a(),this.config=e}send(e,t,n){let r="function"!=typeof t?t:void 0,o="function"==typeof t?t:n,i=e.resolveMiddleware(this.middlewareStack,this.config,r);if(!o)return i(e).then(e=>e.output);i(e).then(e=>o(null,e.output),e=>o(e)).catch(()=>{})}destroy(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()}}var u=n(3649);let d=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return u.HE.mutate(e);if(!e)return u.HE.mutate(new Uint8Array);let n=t.streamCollector(e);return u.HE.mutate(await n)};var f=n(4558);class p{constructor(){this.middlewareStack=a()}static classBuilder(){return new h}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:o,commandName:i,inputFilterSensitiveLog:a,outputFilterSensitiveLog:s,smithyContext:l,additionalContext:c,CommandCtor:u}){for(let o of r.bind(this)(u,e,t,n))this.middlewareStack.use(o);let d=e.concat(this.middlewareStack),{logger:p}=t,h={logger:p,clientName:o,commandName:i,inputFilterSensitiveLog:a,outputFilterSensitiveLog:s,[f.zK]:{...l},...c},{requestHandler:m}=t;return d.resolve(e=>m.handle(e.request,n||{}),h)}}class h{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=e=>e,this._outputFilterSensitiveLog=e=>e,this._serializer=null,this._deserializer=null}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}build(){let e;let t=this;return e=class extends p{static getEndpointParameterInstructions(){return t._ep}constructor(e){super(),this.input=e,this.serialize=t._serializer,this.deserialize=t._deserializer,t._init(this)}resolveMiddleware(n,r,o){return this.resolveMiddlewareWithContext(n,r,o,{CommandCtor:e,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog,outputFilterSensitiveLog:t._outputFilterSensitiveLog,smithyContext:t._smithyContext,additionalContext:t._additionalContext})}}}}let m="***SensitiveInformation***",g=(e,t)=>{for(let n of Object.keys(e)){let r=e[n],o=async function(e,t,n){let o=new r(e);if("function"==typeof t)this.send(o,t);else{if("function"!=typeof n)return this.send(o,t);if("object"!=typeof t)throw Error(`Expected http options but got ${typeof t}`);this.send(o,t||{},n)}},i=(n[0].toLowerCase()+n.slice(1)).replace(/Command$/,"");t.prototype[i]=o}},v=e=>{switch(e){case"true":return!0;case"false":return!1;default:throw Error(`Unable to parse boolean value "${e}"`)}},y=e=>{if(null!=e){if("string"==typeof e){let t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&Z.warn(B(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw TypeError(`Expected number, got ${typeof e}: ${e}`)}},b=Math.ceil(17014118346046923e22*(2-11920928955078125e-23)),w=e=>{let t=y(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>b)throw TypeError(`Expected 32-bit float, got ${e}`);return t},S=e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw TypeError(`Expected integer, got ${typeof e}: ${e}`)}},x=e=>_(e,32),E=e=>_(e,16),C=e=>_(e,8),_=(e,t)=>{let n=S(e);if(void 0!==n&&k(n,t)!==n)throw TypeError(`Expected ${t}-bit integer, got ${e}`);return n},k=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},O=(e,t)=>{if(null==e){if(t)throw TypeError(`Expected a non-null value for ${t}`);throw TypeError("Expected a non-null value")}return e},A=e=>{if(null==e)return;if("object"==typeof e&&!Array.isArray(e))return e;let t=Array.isArray(e)?"array":typeof e;throw TypeError(`Expected object, got ${t}: ${e}`)},I=e=>{if(null!=e){if("string"==typeof e)return e;if(["boolean","number","bigint"].includes(typeof e))return Z.warn(B(`Expected string, got ${typeof e}: ${e}`)),String(e);throw TypeError(`Expected string, got ${typeof e}: ${e}`)}},P=e=>{if(null==e)return;let t=A(e),n=Object.entries(t).filter(([,e])=>null!=e).map(([e])=>e);if(0===n.length)throw TypeError("Unions must have exactly one non-null member. None were found.");if(n.length>1)throw TypeError(`Unions must have exactly one non-null member. Keys ${n} were not null.`);return t},T=e=>"string"==typeof e?w(M(e)):w(e),R=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,M=e=>{let t=e.match(R);if(null===t||t[0].length!==e.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat(e)},N=e=>"string"==typeof e?S(M(e)):S(e),j=e=>"string"==typeof e?x(M(e)):x(e),D=e=>"string"==typeof e?E(M(e)):E(e),L=e=>"string"==typeof e?C(M(e)):C(e),B=e=>String(TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),Z={warn:console.warn},F=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function U(e){let t=e.getUTCFullYear(),n=e.getUTCMonth(),r=e.getUTCDay(),o=e.getUTCDate(),i=e.getUTCHours(),a=e.getUTCMinutes(),s=e.getUTCSeconds(),l=o<10?`0${o}`:`${o}`,c=i<10?`0${i}`:`${i}`,u=a<10?`0${a}`:`${a}`,d=s<10?`0${s}`:`${s}`;return`${F[r]}, ${l} ${z[n]} ${t} ${c}:${u}:${d} GMT`}let H=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),q=e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-3339 date-times must be expressed as strings");let t=H.exec(e);if(!t)throw TypeError("Invalid RFC-3339 date-time value");let[n,r,o,i,a,s,l,c,u]=t,d=K(D(ea(r)),er(o,"month",1,12),er(i,"day",1,31),{hours:a,minutes:s,seconds:l,fractionalMilliseconds:c});return"Z"!=u.toUpperCase()&&d.setTime(d.getTime()-ei(u)),d},V=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),W=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),$=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),G=e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-7231 date-times must be expressed as strings");let t=V.exec(e);if(t){let[e,n,r,o,i,a,s,l]=t;return K(D(ea(o)),J(r),er(n,"day",1,31),{hours:i,minutes:a,seconds:s,fractionalMilliseconds:l})}if(t=W.exec(e)){let[e,n,r,o,i,a,s,l]=t;return Q(K(Y(o),J(r),er(n,"day",1,31),{hours:i,minutes:a,seconds:s,fractionalMilliseconds:l}))}if(t=$.exec(e)){let[e,n,r,o,i,a,s,l]=t;return K(D(ea(l)),J(n),er(r.trimLeft(),"day",1,31),{hours:o,minutes:i,seconds:a,fractionalMilliseconds:s})}throw TypeError("Invalid RFC-7231 date-time value")},K=(e,t,n,r)=>{let o=t-1;return et(e,o,n),new Date(Date.UTC(e,o,n,er(r.hours,"hour",0,23),er(r.minutes,"minute",0,59),er(r.seconds,"seconds",0,60),eo(r.fractionalMilliseconds)))},Y=e=>{let t=new Date().getUTCFullYear(),n=100*Math.floor(t/100)+D(ea(e));return n<t?n+100:n},X=15768e8,Q=e=>e.getTime()-new Date().getTime()>X?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,J=e=>{let t=z.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},ee=[31,28,31,30,31,30,31,31,30,31,30,31],et=(e,t,n)=>{let r=ee[t];if(1===t&&en(e)&&(r=29),n>r)throw TypeError(`Invalid day for ${z[t]} in ${e}: ${n}`)},en=e=>e%4==0&&(e%100!=0||e%400==0),er=(e,t,n,r)=>{let o=L(ea(e));if(o<n||o>r)throw TypeError(`${t} must be between ${n} and ${r}, inclusive`);return o},eo=e=>null==e?0:1e3*T("0."+e),ei=e=>{let t=e[0],n=1;if("+"==t)n=1;else if("-"==t)n=-1;else throw TypeError(`Offset direction, ${t}, must be "+" or "-"`);return n*(60*Number(e.substring(1,3))+Number(e.substring(4,6)))*6e4},ea=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)};class es extends Error{constructor(e){super(e.message),Object.setPrototypeOf(this,es.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}}let el=(e,t={})=>{Object.entries(t).filter(([,e])=>void 0!==e).forEach(([t,n])=>{(void 0==e[t]||""===e[t])&&(e[t]=n)});let n=e.message||e.Message||"UnknownError";return e.message=n,delete e.Message,e},ec=({output:e,parsedBody:t,exceptionCtor:n,errorCode:r})=>{let o=ed(e),i=o.httpStatusCode?o.httpStatusCode+"":void 0;throw el(new n({name:t?.code||t?.Code||r||i||"UnknownError",$fault:"client",$metadata:o}),t)},eu=e=>({output:t,parsedBody:n,errorCode:r})=>{ec({output:t,parsedBody:n,exceptionCtor:e,errorCode:r})},ed=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),ef=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},ep=e=>{let t=[];for(let n in f.f3){let r=f.f3[n];void 0!==e[r]&&t.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(e){this._checksumAlgorithms.push(e)},checksumAlgorithms(){return this._checksumAlgorithms}}},eh=e=>{let t={};return e.checksumAlgorithms().forEach(e=>{t[e.algorithmId()]=e.checksumConstructor()}),t},em=e=>{let t=e.retryStrategy;return{setRetryStrategy(e){t=e},retryStrategy:()=>t}},eg=e=>{let t={};return t.retryStrategy=e.retryStrategy(),t},ev=e=>({...ep(e),...em(e)}),ey=e=>({...eh(e),...eg(e)});function eb(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}let ew=e=>Array.isArray(e)?e:[e],eS=e=>{let t="#text";for(let n in e)e.hasOwnProperty(n)&&void 0!==e[n][t]?e[n]=e[n][t]:"object"==typeof e[n]&&null!==e[n]&&(e[n]=eS(e[n]));return e},ex=function(){let e=Object.getPrototypeOf(this).constructor,t=Function.bind.apply(String,[null,...arguments]),n=new t;return Object.setPrototypeOf(n,e.prototype),n};function eE(e,t,n){let r,o;if(void 0===t&&void 0===n)r={},o=e;else{if(r=e,"function"==typeof t)return eC(r,t,o=n);o=t}for(let e of Object.keys(o)){if(!Array.isArray(o[e])){r[e]=o[e];continue}e_(r,null,o,e)}return r}ex.prototype=Object.create(String.prototype,{constructor:{value:ex,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(ex,String);let eC=(e,t,n)=>eE(e,Object.entries(n).reduce((e,[n,r])=>(Array.isArray(r)?e[n]=r:"function"==typeof r?e[n]=[t,r()]:e[n]=[t,r],e),{})),e_=(e,t,n,r)=>{if(null!==t){let o=n[r];"function"==typeof o&&(o=[,o]);let[i=ek,a=eO,s=r]=o;("function"==typeof i&&i(t[s])||"function"!=typeof i&&i)&&(e[r]=a(t[s]));return}let[o,i]=n[r];if("function"==typeof i){let t;let n=void 0===o&&null!=(t=i()),a="function"==typeof o&&!!o(void 0)||"function"!=typeof o&&!!o;n?e[r]=t:a&&(e[r]=i())}else{let t=void 0===o&&null!=i,n="function"==typeof o&&!!o(i)||"function"!=typeof o&&!!o;(t||n)&&(e[r]=i)}},ek=e=>null!=e,eO=e=>e,eA=(e,t,n,r,o,i)=>{if(null!=t&&void 0!==t[n]){let t=r();if(t.length<=0)throw Error("Empty value provided for input HTTP label: "+n+".");e=e.replace(o,i?t.split("/").map(e=>eb(e)).join("/"):eb(t))}else throw Error("No value provided for input HTTP label: "+n+".");return e}},4558:function(e,t,n){"use strict";var r,o,i,a,s,l,c;n.d(t,{f3:function(){return a},cj:function(){return i},zK:function(){return u}}),function(e){e.HEADER="header",e.QUERY="query"}(r||(r={})),function(e){e.HEADER="header",e.QUERY="query"}(o||(o={})),function(e){e.HTTP="http",e.HTTPS="https"}(i||(i={})),function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(a||(a={})),function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"}(s||(s={}));let u="__smithy_context";(function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"})(l||(l={})),function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"}(c||(c={}))},57526:function(e,t,n){"use strict";function r(e){let t={};if(e=e.replace(/^\?/,""))for(let n of e.split("&")){let[e,r=null]=n.split("=");e=decodeURIComponent(e),r&&(r=decodeURIComponent(r)),e in t?Array.isArray(t[e])?t[e].push(r):t[e]=[t[e],r]:t[e]=r}return t}n.d(t,{e:function(){return o}});let o=e=>{let t;if("string"==typeof e)return o(new URL(e));let{hostname:n,pathname:i,port:a,protocol:s,search:l}=e;return l&&(t=r(l)),{hostname:n,port:a?parseInt(a):void 0,protocol:s,path:i,query:t}}},65046:function(e,t,n){"use strict";n.d(t,{G:function(){return l},s:function(){return c}});let r={},o=Array(64);for(let e=0,t=65,n=90;e+t<=n;e++){let n=String.fromCharCode(e+t);r[n]=e,o[e]=n}for(let e=0,t=97,n=122;e+t<=n;e++){let n=String.fromCharCode(e+t),i=e+26;r[n]=i,o[i]=n}for(let e=0;e<10;e++){r[e.toString(10)]=e+52;let t=e.toString(10),n=e+52;r[t]=n,o[n]=t}r["+"]=62,o[62]="+",r["/"]=63,o[63]="/";let i=6,a=8,s=63,l=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;let n=new ArrayBuffer(t),o=new DataView(n);for(let t=0;t<e.length;t+=4){let n=0,s=0;for(let o=t,a=t+3;o<=a;o++)if("="!==e[o]){if(!(e[o]in r))throw TypeError(`Invalid character ${e[o]} in base64 string.`);n|=r[e[o]]<<(a-o)*i,s+=i}else n>>=i;let l=t/4*3;n>>=s%a;let c=Math.floor(s/a);for(let e=0;e<c;e++){let t=(c-e-1)*a;o.setUint8(l+e,(n&255<<t)>>t)}}return new Uint8Array(n)};function c(e){let t="";for(let n=0;n<e.length;n+=3){let r=0,l=0;for(let t=n,o=Math.min(n+3,e.length);t<o;t++)r|=e[t]<<(o-t-1)*a,l+=a;let c=Math.ceil(l/i);r<<=c*i-l;for(let e=1;e<=c;e++){let n=(c-e)*i;t+=o[(r&s<<n)>>n]}t+="==".slice(0,4-c)}return t}},4420:function(e,t,n){"use strict";var r;n.d(t,{Bt:function(){return r},hu:function(){return o}});let o=(e,t,n)=>{if(t in e){if("true"===e[t])return!0;if("false"===e[t])return!1;throw Error(`Cannot load ${n} "${t}". Expected "true" or "false", got ${e[t]}.`)}};!function(e){e.ENV="env",e.CONFIG="shared config entry"}(r||(r={}))},93591:function(e,t,n){"use strict";n.d(t,{H:function(){return i},N:function(){return a}});let r={},o={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),r[e]=t,o[t]=e}function i(e){if(e.length%2!=0)throw Error("Hex encoded strings must have an even number length");let t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){let r=e.slice(n,n+2).toLowerCase();if(r in o)t[n/2]=o[r];else throw Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`)}return t}function a(e){let t="";for(let n=0;n<e.byteLength;n++)t+=r[e[n]];return t}},35062:function(e,t,n){"use strict";n.d(t,{J:function(){return o},$:function(){return i}});var r=n(4558);let o=e=>e[r.zK]||(e[r.zK]={}),i=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t}},3627:function(e,t,n){"use strict";n.d(t,{AY:function(){return w},J:function(){return r},Fe:function(){return l},CA:function(){return o},ok:function(){return s},E5:function(){return d},lk:function(){return m},sn:function(){return c},gZ:function(){return h},r5:function(){return g},RM:function(){return f},Ul:function(){return i},Uz:function(){return b},sb:function(){return u},Y2:function(){return p}}),function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(i||(i={}));let r=3,o=i.STANDARD;var i,a=n(43350);class s{constructor(e){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8;let t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(this.enabled){if(this.refillTokenBucket(),e>this.currentCapacity){let t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise(e=>setTimeout(e,t))}this.currentCapacity=this.currentCapacity-e}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=e}updateClientSendingRate(e){let t;if(this.updateMeasuredRate(),(0,a.pK)(e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let n=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(n)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){let e=Math.floor(2*this.getCurrentTimeInSeconds())/2;if(this.requestCount++,e>this.lastTxRateBucket){let t=this.requestCount/(e-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(t*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=e}}getPrecise(e){return parseFloat(e.toFixed(8))}}let l=100,c=2e4,u=500,d=500,f=5,p=10,h=1,m="amz-sdk-invocation-id",g="amz-sdk-request",v=()=>{let e=l;return{computeNextBackoffDelay:t=>Math.floor(Math.min(c,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}},y=({retryDelay:e,retryCount:t,retryCost:n})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(c,e),getRetryCost:()=>n});class b{constructor(e){this.maxAttempts=e,this.mode=i.STANDARD,this.capacity=d,this.retryBackoffStrategy=v(),this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return y({retryDelay:l,retryCount:0})}async refreshRetryTokenForRetry(e,t){let n=await this.getMaxAttempts();if(this.shouldRetry(e,t,n)){let n=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===n?u:l);let r=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),o=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,r):r,i=this.getCapacityCost(n);return this.capacity-=i,y({retryDelay:o,retryCount:e.getRetryCount()+1,retryCost:i})}throw Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(d,this.capacity+(e.getRetryCost()??h))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn(`Max attempts provider could not resolve. Using default of ${r}`),r}}shouldRetry(e,t,n){return e.getRetryCount()+1<n&&this.capacity>=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return"TRANSIENT"===e?p:f}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class w{constructor(e,t){this.maxAttemptsProvider=e,this.mode=i.ADAPTIVE;let{rateLimiter:n}=t??{};this.rateLimiter=n??new s,this.standardRetryStrategy=new b(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}}},3649:function(e,t,n){"use strict";n.d(t,{HE:function(){return l},LN:function(){return c},Ou:function(){return p}});var r=n(65046),o=n(19255),i=n(56906);function a(e,t="utf-8"){return"base64"===t?(0,r.s)(e):(0,o.G)(e)}function s(e,t){return"base64"===t?l.mutate((0,r.G)(e)):l.mutate((0,i.$)(e))}class l extends Uint8Array{static fromString(e,t="utf-8"){if("string"==typeof e)return s(e,t);throw Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,l.prototype),e}transformToString(e="utf-8"){return a(this,e)}}let c=(e,t)=>{let{base64Encoder:n,bodyLengthChecker:r,checksumAlgorithmFn:o,checksumLocationName:i,streamHasher:a}=t,s=void 0!==n&&void 0!==r&&void 0!==o&&void 0!==i&&void 0!==a,l=s?a(o,e):void 0,c=e.getReader();return new ReadableStream({async pull(e){let{value:t,done:o}=await c.read();if(o){if(e.enqueue(`0\r
`),s){let t=n(await l);e.enqueue(`${i}:${t}\r
`),e.enqueue(`\r
`)}e.close()}else e.enqueue(`${(r(t)||0).toString(16)}\r
${t}\r
`)}})};var u=n(45114),d=n(93591);let f="The stream has already been transformed.",p=e=>{if(!h(e)&&!m(e)){let t=e?.__proto__?.constructor?.name||e;throw Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${t}`)}let t=!1,n=async()=>{if(t)throw Error(f);return t=!0,await (0,u.CF)(e)},i=e=>{if("function"!=typeof e.stream)throw Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return e.stream()};return Object.assign(e,{transformToByteArray:n,transformToString:async e=>{let t=await n();if("base64"===e)return(0,r.s)(t);if("hex"===e)return(0,d.N)(t);if(void 0===e||"utf8"===e||"utf-8"===e)return(0,o.G)(t);if("function"==typeof TextDecoder)return new TextDecoder(e).decode(t);throw Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(t)throw Error(f);if(t=!0,h(e))return i(e);if(m(e))return e;throw Error(`Cannot transform payload to web stream, got ${e}`)}})},h=e=>"function"==typeof Blob&&e instanceof Blob,m=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream},1754:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});let r=e=>encodeURIComponent(e).replace(/[!'()*]/g,o),o=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`},56906:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});let r=e=>new TextEncoder().encode(e)},30455:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(56906);let o=e=>"string"==typeof e?(0,r.$)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)},19255:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});let r=e=>new TextDecoder("utf-8").decode(e)},57598:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r,o,i=n(44194);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"currentColor"},e),r||(r=i.createElement("g",{clipPath:"url(#premium-icon_svg__a)"},i.createElement("path",{fillRule:"evenodd",d:"M12 4.487 9 .844H3L0 4.487l6 6.857 6-6.857Zm-1.514.428H1.514L6 10.042l4.486-5.127Zm.05-.857H1.464l1.942-2.357h5.19l1.942 2.357Z",clipRule:"evenodd"}))),o||(o=i.createElement("defs",null,i.createElement("clipPath",{id:"premium-icon_svg__a"},i.createElement("path",{fill:"#fff",d:"M0 0h12v12H0z"})))))},1084:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r,o=n(44194);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=e=>o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),r||(r=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.919 7.953c.015-.11.18-1.11.851-2.125.586-.881 1.696-1.958 3.66-2.122v-1.42a.558.558 0 0 1 .942-.405l2.969 2.827c.115.11.178.265.171.425a.558.558 0 0 1-.198.41l-2.97 2.474a.562.562 0 0 1-.592.075.561.561 0 0 1-.324-.506V5.858a.56.56 0 0 1 1.119 0v.534l1.572-1.31-1.57-1.493v.658a.56.56 0 0 1-.607.557h-.01c-1.409.004-2.491.55-3.212 1.618a4.653 4.653 0 0 0-.695 1.695.564.564 0 0 1-.633.469.56.56 0 0 1-.473-.633zm6.133 1.719a.56.56 0 0 1 1.12 0v3.183c0 .776-.631 1.407-1.408 1.407h-8.86a1.409 1.409 0 0 1-1.409-1.406V3.683a1.41 1.41 0 0 1 1.408-1.408H6.88a.559.559 0 1 1 0 1.119H2.902a.29.29 0 0 0-.291.29v9.174c0 .16.13.29.29.29h8.86a.29.29 0 0 0 .29-.29V9.672z",clipRule:"evenodd"})))},20113:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r,o=n(44194);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=e=>o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),r||(r=o.createElement("path",{fill:"currentColor",d:"M13.667 11.667V2.333a2 2 0 0 0-2-2H9.38a.476.476 0 0 0 0 .953h2.333a1 1 0 0 1 1 1V6.5a.5.5 0 0 1-.5.5H10.81a.476.476 0 0 0 0 .953h1.405a.5.5 0 0 1 .5.5v3.261a1 1 0 0 1-1 1H7.5a.5.5 0 0 1-.5-.5V8.397c0-.245.2-.444.445-.444h.412a.476.476 0 0 0 0-.953H7a.952.952 0 0 0-.952.953v4.261a.5.5 0 0 1-.5.5H2.286a1 1 0 0 1-1-1V8.453a.5.5 0 0 1 .5-.5H3.19a.476.476 0 1 0 0-.953H1.786a.5.5 0 0 1-.5-.5V2.286a1 1 0 0 1 1-1h1.287a1 1 0 0 1 .517.144l4.073 2.456a.489.489 0 1 0 .504-.838L4.38.476a1 1 0 0 0-.514-.142H2.333a2 2 0 0 0-2 2v9.333a2 2 0 0 0 2 2h9.334a2 2 0 0 0 2-2z"})))},92847:function(e,t,n){"use strict";n.d(t,{r:function(){return l}});var r,o,i,a=n(44194);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let l=e=>a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),r||(r=a.createElement("path",{fill:"currentColor",d:"M12.154.875H1.86a.986.986 0 0 0-.984.984v10.282c0 .542.442.984.984.984h3.787a.492.492 0 1 0 0-.984H1.86V1.859h10.295v10.282h-1.148a.492.492 0 1 0 0 .984h1.148a.986.986 0 0 0 .985-.984V1.859a.986.986 0 0 0-.985-.984z"})),o||(o=a.createElement("path",{fill:"currentColor",d:"M8.764 12.633a.492.492 0 1 0 .984 0 .492.492 0 0 0-.984 0z"})),i||(i=a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.13 3.5h4.266a.492.492 0 1 1 0 .984H3.131a.492.492 0 1 1 0-.984zm5.634 2.242a.492.492 0 1 1 .984 0v5.14a.492.492 0 1 1-.984 0v-5.14zm-3.118.383H3.131a.492.492 0 1 0 0 .984h2.515a.492.492 0 1 0 0-.984zM3.131 8.75h2.515a.492.492 0 1 1 0 .984H3.131a.492.492 0 1 1 0-.984z",clipRule:"evenodd"})))},38367:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r,o,i=n(44194);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:16,height:15,fill:"none"},e),r||(r=i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.667 8a1.667 1.667 0 1 1-3.334 0 1.667 1.667 0 0 1 3.334 0Zm-1 0a.667.667 0 1 1-1.334 0 .667.667 0 0 1 1.334 0Z",clipRule:"evenodd"})),o||(o=i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.053.104c.406-.08.78.236.78.65v4.264c.675.096 1.405.149 2.167.149.762 0 1.492-.053 2.167-.149V.754c0-.414.374-.73.78-.65.996.197 1.98.462 2.86.99.753.45 1.36 1.09 1.36 1.906v8c0 .55-.281 1.024-.68 1.401-.4.377-.95.694-1.587.949-1.28.512-3.012.817-4.9.817-1.888 0-3.62-.305-4.9-.817-.638-.255-1.188-.572-1.586-.949-.4-.377-.68-.85-.68-1.4V3c0-.817.606-1.456 1.36-1.908.878-.527 1.863-.792 2.86-.99Zm-3.22 4.564V11c0 .187.093.415.368.675.262.248.66.493 1.186.712l-.074-.074L5.667 9.96 7 11.293l3-3 3.571 3.571c.085-.062.161-.126.228-.19.275-.26.368-.487.368-.674V4.668a4.415 4.415 0 0 1-.36.24c-.776.464-1.84.817-3.054 1.03-.847.147-1.778.229-2.753.229-.975 0-1.906-.082-2.753-.23-1.214-.212-2.278-.565-3.054-1.03a4.416 4.416 0 0 1-.36-.24ZM8 13.167c-1.378 0-2.642-.172-3.669-.458l1.336-1.335L7 12.707l3-3 2.66 2.66a7.628 7.628 0 0 1-.132.054c-1.134.454-2.734.746-4.528.746ZM14.167 3c0-.277-.216-.654-.875-1.05-.44-.263-1.024-.499-1.72-.685a.324.324 0 0 0-.405.317v3.253c.876-.198 1.602-.472 2.125-.786.659-.394.875-.772.875-1.049ZM1.833 3c0 .277.216.655.874 1.05.524.313 1.25.587 2.126.785V1.582a.324.324 0 0 0-.405-.317c-.696.186-1.28.422-1.72.686-.659.395-.875.772-.875 1.05Z",clipRule:"evenodd"})))},52629:function(e,t,n){"use strict";n.r(t),n.d(t,{ReactComponent:function(){return s}});var r,o,i=n(44194);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:16,height:11,fill:"none"},e),r||(r=i.createElement("path",{fill:"#ed1c24",d:"M9.084 11h3.613L5.935 7.503l7.742-4.006L6.916 0H3.303l6.761 3.497-7.742 4.006L9.084 11z"})),o||(o=i.createElement("path",{fill:"#ed1c24",d:"M16 8.405H0V6.6h16v1.805zM16 4.4H0V2.595h16V4.4z"})));t.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTEiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJNOS4wODQgMTFoMy42MTNMNS45MzUgNy41MDNsNy43NDItNC4wMDZMNi45MTYgMEgzLjMwM2w2Ljc2MSAzLjQ5Ny03Ljc0MiA0LjAwNkw5LjA4NCAxMXoiIGZpbGw9IiNlZDFjMjQiLz4KICAgIDxwYXRoIGQ9Ik0xNiA4LjQwNUgwVjYuNmgxNnYxLjgwNXpNMTYgNC40SDBWMi41OTVoMTZWNC40eiIgZmlsbD0iI2VkMWMyNCIvPgo8L3N2Zz4="},93437:function(e){"use strict";function t(){return null}function n(){return t}t.isRequired=t,e.exports={and:n,between:n,booleanSome:n,childrenHavePropXorChildren:n,childrenOf:n,childrenOfType:n,childrenSequenceOf:n,componentWithName:n,disallowedIf:n,elementType:n,empty:n,explicitNull:n,forbidExtraProps:Object,integer:n,keysOf:n,mutuallyExclusiveProps:n,mutuallyExclusiveTrueProps:n,nChildren:n,nonNegativeInteger:t,nonNegativeNumber:n,numericString:n,object:n,or:n,predicate:n,range:n,ref:n,requiredBy:n,restrictedProp:n,sequenceOf:n,shape:n,stringEndsWith:n,stringStartsWith:n,uniqueArray:n,uniqueArrayOf:n,valuesOf:n,withShape:n}},72755:function(e,t,n){e.exports=n(93437)},73739:function(e,t,n){"use strict";n.d(t,{sD:function(){return s},ZA:function(){return eh},xk:function(){return ev},bR:function(){return ey},ws:function(){return eT},KC:function(){return ek},AM:function(){return eX},MZ:function(){return ex},eR:function(){return eJ},Ib:function(){return eM}});/*!
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */var r,o,i,a,s=function(){function e(e){var t=e||{},n=t.ValidationData,r=t.Username,o=t.Password,i=t.AuthParameters,a=t.ClientMetadata;this.validationData=n||{},this.authParameters=i||{},this.clientMetadata=a||{},this.username=r,this.password=o}var t=e.prototype;return t.getUsername=function(){return this.username},t.getPassword=function(){return this.password},t.getValidationData=function(){return this.validationData},t.getAuthParameters=function(){return this.authParameters},t.getClientMetadata=function(){return this.clientMetadata},e}(),l=n(21468);if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(91483)}catch(e){}function c(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")}function u(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")}var d=function(){function e(e,t){e=this.words=e||[],void 0!=t?this.sigBytes=t:this.sigBytes=4*e.length}var t=e.prototype;return t.random=function(t){for(var n=[],r=0;r<t;r+=4)n.push(c());return new e(n,t)},t.toString=function(){return u(this)},e}(),f=n(95381),p=h;function h(e,t){null!=e&&this.fromString(e,t)}function m(){return new h(null)}var g=!0;function v(e,t,n,r,o,i){for(;--i>=0;){var a=t*this[e++]+n[r]+o;o=Math.floor(a/67108864),n[r++]=67108863&a}return o}function y(e,t,n,r,o,i){for(var a=32767&t,s=t>>15;--i>=0;){var l=32767&this[e],c=this[e++]>>15,u=s*l+c*a;o=((l=a*l+((32767&u)<<15)+n[r]+(1073741823&o))>>>30)+(u>>>15)+s*c+(o>>>30),n[r++]=1073741823&l}return o}function b(e,t,n,r,o,i){for(var a=16383&t,s=t>>14;--i>=0;){var l=16383&this[e],c=this[e++]>>14,u=s*l+c*a;o=((l=a*l+((16383&u)<<14)+n[r]+o)>>28)+(u>>14)+s*c,n[r++]=268435455&l}return o}var w="undefined"!=typeof navigator;w&&g&&"Microsoft Internet Explorer"==navigator.appName?(h.prototype.am=y,o=30):w&&g&&"Netscape"!=navigator.appName?(h.prototype.am=v,o=26):(h.prototype.am=b,o=28),h.prototype.DB=o,h.prototype.DM=(1<<o)-1,h.prototype.DV=1<<o;var S=52;h.prototype.FV=Math.pow(2,S),h.prototype.F1=S-o,h.prototype.F2=2*o-S;var x="0123456789abcdefghijklmnopqrstuvwxyz",E=[];for(a=0,i=48;a<=9;++a)E[i++]=a;for(a=10,i=97;a<36;++a)E[i++]=a;for(a=10,i=65;a<36;++a)E[i++]=a;function C(e){return x.charAt(e)}function _(e,t){var n=E[e.charCodeAt(t)];return null==n?-1:n}function k(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function O(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}function A(e){var t=m();return t.fromInt(e),t}function I(e,t){if(16==t)n=4;else if(8==t)n=3;else if(2==t)n=1;else if(32==t)n=5;else if(4==t)n=2;else throw Error("Only radix 2, 4, 8, 16, 32 are supported");this.t=0,this.s=0;for(var n,r=e.length,o=!1,i=0;--r>=0;){var a=_(e,r);if(a<0){"-"==e.charAt(r)&&(o=!0);continue}o=!1,0==i?this[this.t++]=a:i+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-i)-1)<<i,this[this.t++]=a>>this.DB-i):this[this.t-1]|=a<<i,(i+=n)>=this.DB&&(i-=this.DB)}this.clamp(),o&&h.ZERO.subTo(this,this)}function P(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function T(e){if(this.s<0)return"-"+this.negate().toString(e);if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else if(4==e)t=2;else throw Error("Only radix 2, 4, 8, 16, 32 are supported");var t,n,r=(1<<t)-1,o=!1,i="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(o=!0,i=C(n));a>=0;)s<t?n=(this[a]&(1<<s)-1)<<t-s|this[--a]>>(s+=this.DB-t):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(o=!0),o&&(i+=C(n));return o?i:"0"}function R(){var e=m();return h.ZERO.subTo(this,e),e}function M(){return this.s<0?this.negate():this}function N(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0}function j(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function D(){return this.t<=0?0:this.DB*(this.t-1)+j(this[this.t-1]^this.s&this.DM)}function L(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function B(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}function Z(e,t){var n,r=e%this.DB,o=this.DB-r,i=(1<<o)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>o|s,s=(this[n]&i)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()}function F(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){t.t=0;return}var r=e%this.DB,o=this.DB-r,i=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&i)<<o,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&i)<<o),t.t=this.t-n,t.clamp()}function z(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function U(e,t){var n=this.abs(),r=e.abs(),o=n.t;for(t.t=o+r.t;--o>=0;)t[o]=0;for(o=0;o<r.t;++o)t[o+n.t]=n.am(0,r[o],t,o,0,n.t);t.s=0,t.clamp(),this.s!=e.s&&h.ZERO.subTo(t,t)}function H(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function q(e,t,n){var r=e.abs();if(!(r.t<=0)){var o=this.abs();if(o.t<r.t){null!=t&&t.fromInt(0),null!=n&&this.copyTo(n);return}null==n&&(n=m());var i=m(),a=this.s,s=e.s,l=this.DB-j(r[r.t-1]);l>0?(r.lShiftTo(l,i),o.lShiftTo(l,n)):(r.copyTo(i),o.copyTo(n));var c=i.t,u=i[c-1];if(0!=u){var d=u*(1<<this.F1)+(c>1?i[c-2]>>this.F2:0),f=this.FV/d,p=(1<<this.F1)/d,g=1<<this.F2,v=n.t,y=v-c,b=null==t?m():t;for(i.dlShiftTo(y,b),n.compareTo(b)>=0&&(n[n.t++]=1,n.subTo(b,n)),h.ONE.dlShiftTo(c,b),b.subTo(i,i);i.t<c;)i[i.t++]=0;for(;--y>=0;){var w=n[--v]==u?this.DM:Math.floor(n[v]*f+(n[v-1]+g)*p);if((n[v]+=i.am(0,w,n,y,0,c))<w)for(i.dlShiftTo(y,b),n.subTo(b,n);n[v]<--w;)n.subTo(b,n)}null!=t&&(n.drShiftTo(c,t),a!=s&&h.ZERO.subTo(t,t)),n.t=c,n.clamp(),l>0&&n.rShiftTo(l,n),a<0&&h.ZERO.subTo(n,n)}}}function V(e){var t=m();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(h.ZERO)>0&&e.subTo(t,t),t}function W(){if(this.t<1)return 0;var e=this[0];if((1&e)==0)return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t}function $(e){return 0==this.compareTo(e)}function G(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function K(e){var t=m();return this.addTo(e,t),t}function Y(e){var t=m();return this.subTo(e,t),t}function X(e){var t=m();return this.multiplyTo(e,t),t}function Q(e){var t=m();return this.divRemTo(e,t,null),t}function J(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function ee(e){var t=m();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(h.ZERO)>0&&this.m.subTo(t,t),t}function et(e){var t=m();return e.copyTo(t),this.reduce(t),t}function en(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function er(e,t){e.squareTo(t),this.reduce(t)}function eo(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function ei(e,t,n){var r,o=e.bitLength(),i=A(1),a=new J(t);if(o<=0)return i;var s=[],l=3,c=(r=o<18?1:o<48?3:o<144?4:o<768?5:6)-1,u=(1<<r)-1;if(s[1]=a.convert(this),r>1){var d=m();for(a.sqrTo(s[1],d);l<=u;)s[l]=m(),a.mulTo(d,s[l-2],s[l]),l+=2}var f,p,h=e.t-1,g=!0,v=m();for(o=j(e[h])-1;h>=0;){for(o>=c?f=e[h]>>o-c&u:(f=(e[h]&(1<<o+1)-1)<<c-o,h>0&&(f|=e[h-1]>>this.DB+o-c)),l=r;(1&f)==0;)f>>=1,--l;if((o-=l)<0&&(o+=this.DB,--h),g)s[f].copyTo(i),g=!1;else{for(;l>1;)a.sqrTo(i,v),a.sqrTo(v,i),l-=2;l>0?a.sqrTo(i,v):(p=i,i=v,v=p),a.mulTo(v,s[f],i)}for(;h>=0&&(e[h]&1<<o)==0;)a.sqrTo(i,v),p=i,i=v,v=p,--o<0&&(o=this.DB-1,--h)}var y=a.revert(i);return n(null,y),y}/*!
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */function ea(e){return l.lW.from(new d().random(e).toString(),"hex")}J.prototype.convert=ee,J.prototype.revert=et,J.prototype.reduce=en,J.prototype.mulTo=eo,J.prototype.sqrTo=er,h.prototype.copyTo=k,h.prototype.fromInt=O,h.prototype.fromString=I,h.prototype.clamp=P,h.prototype.dlShiftTo=L,h.prototype.drShiftTo=B,h.prototype.lShiftTo=Z,h.prototype.rShiftTo=F,h.prototype.subTo=z,h.prototype.multiplyTo=U,h.prototype.squareTo=H,h.prototype.divRemTo=q,h.prototype.invDigit=W,h.prototype.addTo=G,h.prototype.toString=T,h.prototype.negate=R,h.prototype.abs=M,h.prototype.compareTo=N,h.prototype.bitLength=D,h.prototype.mod=V,h.prototype.equals=$,h.prototype.add=K,h.prototype.subtract=Y,h.prototype.multiply=X,h.prototype.divide=Q,h.prototype.modPow=ei,h.ZERO=A(0),h.ONE=A(1);var es=/^[89a-f]/i,el="FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",ec="userAttributes.",eu=function(){function e(e){this.N=new p(el,16),this.g=new p("2",16),this.k=new p(this.hexHash(""+this.padHex(this.N)+this.padHex(this.g)),16),this.smallAValue=this.generateRandomSmallA(),this.getLargeAValue(function(){}),this.infoBits=l.lW.from("Caldera Derived Key","utf8"),this.poolName=e}var t=e.prototype;return t.getSmallAValue=function(){return this.smallAValue},t.getLargeAValue=function(e){var t=this;this.largeAValue?e(null,this.largeAValue):this.calculateA(this.smallAValue,function(n,r){n&&e(n,null),t.largeAValue=r,e(null,t.largeAValue)})},t.generateRandomSmallA=function(){return new p(ea(128).toString("hex"),16)},t.generateRandomString=function(){return ea(40).toString("base64")},t.getRandomPassword=function(){return this.randomPassword},t.getSaltDevices=function(){return this.SaltToHashDevices},t.getVerifierDevices=function(){return this.verifierDevices},t.generateHashDevice=function(e,t,n){var r=this;this.randomPassword=this.generateRandomString();var o=""+e+t+":"+this.randomPassword,i=this.hash(o),a=ea(16).toString("hex");this.SaltToHashDevices=this.padHex(new p(a,16)),this.g.modPow(new p(this.hexHash(this.SaltToHashDevices+i),16),this.N,function(e,t){e&&n(e,null),r.verifierDevices=r.padHex(t),n(null,null)})},t.calculateA=function(e,t){var n=this;this.g.modPow(e,this.N,function(e,r){e&&t(e,null),r.mod(n.N).equals(p.ZERO)&&t(Error("Illegal paramater. A mod N cannot be 0."),null),t(null,r)})},t.calculateU=function(e,t){return this.UHexHash=this.hexHash(this.padHex(e)+this.padHex(t)),new p(this.UHexHash,16)},t.hash=function(e){var t=new f.Sha256;t.update(e);var n=t.digestSync(),r=l.lW.from(n).toString("hex");return Array(64-r.length).join("0")+r},t.hexHash=function(e){return this.hash(l.lW.from(e,"hex"))},t.computehkdf=function(e,t){var n=l.lW.concat([this.infoBits,l.lW.from("\x01","utf8")]),r=new f.Sha256(t);r.update(e);var o=r.digestSync(),i=new f.Sha256(o);return i.update(n),i.digestSync().slice(0,16)},t.getPasswordAuthenticationKey=function(e,t,n,r,o){var i=this;if(n.mod(this.N).equals(p.ZERO))throw Error("B cannot be zero.");if(this.UValue=this.calculateU(this.largeAValue,n),this.UValue.equals(p.ZERO))throw Error("U cannot be zero.");var a=""+this.poolName+e+":"+t,s=this.hash(a),c=new p(this.hexHash(this.padHex(r)+s),16);this.calculateS(c,n,function(e,t){e&&o(e,null),o(null,i.computehkdf(l.lW.from(i.padHex(t),"hex"),l.lW.from(i.padHex(i.UValue),"hex")))})},t.calculateS=function(e,t,n){var r=this;this.g.modPow(e,this.N,function(o,i){o&&n(o,null),t.subtract(r.k.multiply(i)).modPow(r.smallAValue.add(r.UValue.multiply(e)),r.N,function(e,t){e&&n(e,null),n(null,t.mod(r.N))})})},t.getNewPasswordRequiredChallengeUserAttributePrefix=function(){return ec},t.padHex=function(e){if(!(e instanceof p))throw Error("Not a BigInteger");var t=0>e.compareTo(p.ZERO),n=e.abs().toString(16);return n=n.length%2!=0?"0"+n:n,n=es.test(n)?"00"+n:n,t&&(n=new p(n.split("").map(function(e){var t=15&~parseInt(e,16);return"0123456789ABCDEF".charAt(t)}).join(""),16).add(p.ONE).toString(16)).toUpperCase().startsWith("FF8")&&(n=n.substring(2)),n},e}(),ed=function(){function e(e){this.jwtToken=e||"",this.payload=this.decodePayload()}var t=e.prototype;return t.getJwtToken=function(){return this.jwtToken},t.getExpiration=function(){return this.payload.exp},t.getIssuedAt=function(){return this.payload.iat},t.decodePayload=function(){var e=this.jwtToken.split(".")[1];try{return JSON.parse(l.lW.from(e,"base64").toString("utf8"))}catch(e){return{}}},e}();function ef(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ep(e,t)}function ep(e,t){return(ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}/*!
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */var eh=function(e){function t(t){var n=(void 0===t?{}:t).AccessToken;return e.call(this,n||"")||this}return ef(t,e),t}(ed);function em(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,eg(e,t)}function eg(e,t){return(eg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}/*!
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */var ev=function(e){function t(t){var n=(void 0===t?{}:t).IdToken;return e.call(this,n||"")||this}return em(t,e),t}(ed),ey=function(){function e(e){var t=(void 0===e?{}:e).RefreshToken;this.token=t||""}return e.prototype.getToken=function(){return this.token},e}(),eb="aws-amplify/5.0.4",ew={userAgent:eb+" js",product:"",navigator:null,isReactNative:!1};"undefined"!=typeof navigator&&navigator.product&&((ew.product=navigator.product||"",ew.navigator=navigator||null,"ReactNative"===navigator.product)?(ew.userAgent=eb+" react-native",ew.isReactNative=!0):(ew.userAgent=eb+" js",ew.isReactNative=!1));var eS=function(){return ew.userAgent},ex=function(){function e(e){var t=void 0===e?{}:e,n=t.IdToken,r=t.RefreshToken,o=t.AccessToken,i=t.ClockDrift;if(null==o||null==n)throw Error("Id token and Access Token must be present.");this.idToken=n,this.refreshToken=r,this.accessToken=o,this.clockDrift=void 0===i?this.calculateClockDrift():i}var t=e.prototype;return t.getIdToken=function(){return this.idToken},t.getRefreshToken=function(){return this.refreshToken},t.getAccessToken=function(){return this.accessToken},t.getClockDrift=function(){return this.clockDrift},t.calculateClockDrift=function(){return Math.floor(new Date/1e3)-Math.min(this.accessToken.getIssuedAt(),this.idToken.getIssuedAt())},t.isValid=function(){var e=Math.floor(new Date/1e3)-this.clockDrift;return e<this.accessToken.getExpiration()&&e<this.idToken.getExpiration()},e}(),eE=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],eC=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],e_=function(){function e(){}return e.prototype.getNowString=function(){var e=new Date,t=eC[e.getUTCDay()],n=eE[e.getUTCMonth()],r=e.getUTCDate(),o=e.getUTCHours();o<10&&(o="0"+o);var i=e.getUTCMinutes();i<10&&(i="0"+i);var a=e.getUTCSeconds();return a<10&&(a="0"+a),t+" "+n+" "+r+" "+o+":"+i+":"+a+" UTC "+e.getUTCFullYear()},e}(),ek=function(){function e(e){var t=void 0===e?{}:e,n=t.Name,r=t.Value;this.Name=n||"",this.Value=r||""}var t=e.prototype;return t.getValue=function(){return this.Value},t.setValue=function(e){return this.Value=e,this},t.getName=function(){return this.Name},t.setName=function(e){return this.Name=e,this},t.toString=function(){return JSON.stringify(this)},t.toJSON=function(){return{Name:this.Name,Value:this.Value}},e}(),eO={},eA=function(){function e(){}return e.setItem=function(e,t){return eO[e]=t,eO[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(eO,e)?eO[e]:void 0},e.removeItem=function(e){return delete eO[e]},e.clear=function(){return eO={}},e}(),eI=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.cognito.test-ls",1),this.storageWindow.removeItem("aws.cognito.test-ls")}catch(e){this.storageWindow=eA}}return e.prototype.getStorage=function(){return this.storageWindow},e}(),eP="undefined"!=typeof navigator?ew.isReactNative?"react-native":navigator.userAgent:"nodejs",eT=function(){function e(e){if(null==e||null==e.Username||null==e.Pool)throw Error("Username and Pool information are required.");this.username=e.Username||"",this.pool=e.Pool,this.Session=null,this.client=e.Pool.client,this.signInUserSession=null,this.authenticationFlowType="USER_SRP_AUTH",this.storage=e.Storage||new eI().getStorage(),this.keyPrefix="CognitoIdentityServiceProvider."+this.pool.getClientId(),this.userDataKey=this.keyPrefix+"."+this.username+".userData"}var t=e.prototype;return t.setSignInUserSession=function(e){this.clearCachedUserData(),this.signInUserSession=e,this.cacheTokens()},t.getSignInUserSession=function(){return this.signInUserSession},t.getUsername=function(){return this.username},t.getAuthenticationFlowType=function(){return this.authenticationFlowType},t.setAuthenticationFlowType=function(e){this.authenticationFlowType=e},t.initiateAuth=function(e,t){var n=this,r=e.getAuthParameters();r.USERNAME=this.username;var o=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),i={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:r,ClientMetadata:o};this.getUserContextData()&&(i.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",i,function(e,r){if(e)return t.onFailure(e);var o=r.ChallengeName,i=r.ChallengeParameters;return"CUSTOM_CHALLENGE"===o?(n.Session=r.Session,t.customChallenge(i)):(n.signInUserSession=n.getCognitoUserSession(r.AuthenticationResult),n.cacheTokens(),t.onSuccess(n.signInUserSession))})},t.authenticateUser=function(e,t){return"USER_PASSWORD_AUTH"===this.authenticationFlowType?this.authenticateUserPlainUsernamePassword(e,t):"USER_SRP_AUTH"===this.authenticationFlowType||"CUSTOM_AUTH"===this.authenticationFlowType?this.authenticateUserDefaultAuth(e,t):t.onFailure(Error("Authentication flow type is invalid."))},t.authenticateUserDefaultAuth=function(e,t){var n,r,o=this,i=new eu(this.pool.getUserPoolName()),a=new e_,s={};null!=this.deviceKey&&(s.DEVICE_KEY=this.deviceKey),s.USERNAME=this.username,i.getLargeAValue(function(c,u){c&&t.onFailure(c),s.SRP_A=u.toString(16),"CUSTOM_AUTH"===o.authenticationFlowType&&(s.CHALLENGE_NAME="SRP_A");var d=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),h={AuthFlow:o.authenticationFlowType,ClientId:o.pool.getClientId(),AuthParameters:s,ClientMetadata:d};o.getUserContextData(o.username)&&(h.UserContextData=o.getUserContextData(o.username)),o.client.request("InitiateAuth",h,function(s,c){if(s)return t.onFailure(s);var u=c.ChallengeParameters;o.username=u.USER_ID_FOR_SRP,o.userDataKey=o.keyPrefix+"."+o.username+".userData",n=new p(u.SRP_B,16),r=new p(u.SALT,16),o.getCachedDeviceKeyAndPassword(),i.getPasswordAuthenticationKey(o.username,e.getPassword(),n,r,function(e,n){e&&t.onFailure(e);var r=a.getNowString(),s=l.lW.concat([l.lW.from(o.pool.getUserPoolName(),"utf8"),l.lW.from(o.username,"utf8"),l.lW.from(u.SECRET_BLOCK,"base64"),l.lW.from(r,"utf8")]),p=new f.Sha256(n);p.update(s);var h=p.digestSync(),m=l.lW.from(h).toString("base64"),g={};g.USERNAME=o.username,g.PASSWORD_CLAIM_SECRET_BLOCK=u.SECRET_BLOCK,g.TIMESTAMP=r,g.PASSWORD_CLAIM_SIGNATURE=m,null!=o.deviceKey&&(g.DEVICE_KEY=o.deviceKey);var v=function e(t,n){return o.client.request("RespondToAuthChallenge",t,function(r,i){return r&&"ResourceNotFoundException"===r.code&&-1!==r.message.toLowerCase().indexOf("device")?(g.DEVICE_KEY=null,o.deviceKey=null,o.randomPassword=null,o.deviceGroupKey=null,o.clearCachedDeviceKeyAndPassword(),e(t,n)):n(r,i)})},y={ChallengeName:"PASSWORD_VERIFIER",ClientId:o.pool.getClientId(),ChallengeResponses:g,Session:c.Session,ClientMetadata:d};o.getUserContextData()&&(y.UserContextData=o.getUserContextData()),v(y,function(e,n){return e?t.onFailure(e):o.authenticateUserInternal(n,i,t)})})})})},t.authenticateUserPlainUsernamePassword=function(e,t){var n=this,r={};if(r.USERNAME=this.username,r.PASSWORD=e.getPassword(),!r.PASSWORD){t.onFailure(Error("PASSWORD parameter is required"));return}var o=new eu(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(r.DEVICE_KEY=this.deviceKey);var i=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),a={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:r,ClientMetadata:i};this.getUserContextData(this.username)&&(a.UserContextData=this.getUserContextData(this.username)),this.client.request("InitiateAuth",a,function(e,r){return e?t.onFailure(e):n.authenticateUserInternal(r,o,t)})},t.authenticateUserInternal=function(e,t,n){var r=this,o=e.ChallengeName,i=e.ChallengeParameters;if("SMS_MFA"===o)return this.Session=e.Session,n.mfaRequired(o,i);if("SELECT_MFA_TYPE"===o)return this.Session=e.Session,n.selectMFAType(o,i);if("MFA_SETUP"===o)return this.Session=e.Session,n.mfaSetup(o,i);if("SOFTWARE_TOKEN_MFA"===o)return this.Session=e.Session,n.totpRequired(o,i);if("CUSTOM_CHALLENGE"===o)return this.Session=e.Session,n.customChallenge(i);if("NEW_PASSWORD_REQUIRED"===o){this.Session=e.Session;var a=null,s=null,c=[],u=t.getNewPasswordRequiredChallengeUserAttributePrefix();if(i&&(a=JSON.parse(e.ChallengeParameters.userAttributes),s=JSON.parse(e.ChallengeParameters.requiredAttributes)),s)for(var d=0;d<s.length;d++)c[d]=s[d].substr(u.length);return n.newPasswordRequired(a,c)}if("DEVICE_SRP_AUTH"===o){this.Session=e.Session,this.getDeviceResponse(n);return}this.signInUserSession=this.getCognitoUserSession(e.AuthenticationResult),this.challengeName=o,this.cacheTokens();var f=e.AuthenticationResult.NewDeviceMetadata;if(null==f)return n.onSuccess(this.signInUserSession);t.generateHashDevice(e.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,e.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(o){if(o)return n.onFailure(o);var i={Salt:l.lW.from(t.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:l.lW.from(t.getVerifierDevices(),"hex").toString("base64")};r.verifierDevices=i.PasswordVerifier,r.deviceGroupKey=f.DeviceGroupKey,r.randomPassword=t.getRandomPassword(),r.client.request("ConfirmDevice",{DeviceKey:f.DeviceKey,AccessToken:r.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:i,DeviceName:eP},function(t,o){return t?n.onFailure(t):(r.deviceKey=e.AuthenticationResult.NewDeviceMetadata.DeviceKey,r.cacheDeviceKeyAndPassword(),!0===o.UserConfirmationNecessary)?n.onSuccess(r.signInUserSession,o.UserConfirmationNecessary):n.onSuccess(r.signInUserSession)})})},t.completeNewPasswordChallenge=function(e,t,n,r){var o=this;if(!e)return n.onFailure(Error("New password is required."));var i=new eu(this.pool.getUserPoolName()),a=i.getNewPasswordRequiredChallengeUserAttributePrefix(),s={};t&&Object.keys(t).forEach(function(e){s[a+e]=t[e]}),s.NEW_PASSWORD=e,s.USERNAME=this.username;var l={ChallengeName:"NEW_PASSWORD_REQUIRED",ClientId:this.pool.getClientId(),ChallengeResponses:s,Session:this.Session,ClientMetadata:r};this.getUserContextData()&&(l.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",l,function(e,t){return e?n.onFailure(e):o.authenticateUserInternal(t,i,n)})},t.getDeviceResponse=function(e,t){var n=this,r=new eu(this.deviceGroupKey),o=new e_,i={};i.USERNAME=this.username,i.DEVICE_KEY=this.deviceKey,r.getLargeAValue(function(a,s){a&&e.onFailure(a),i.SRP_A=s.toString(16);var c={ChallengeName:"DEVICE_SRP_AUTH",ClientId:n.pool.getClientId(),ChallengeResponses:i,ClientMetadata:t,Session:n.Session};n.getUserContextData()&&(c.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",c,function(t,i){if(t)return e.onFailure(t);var a=i.ChallengeParameters,s=new p(a.SRP_B,16),c=new p(a.SALT,16);r.getPasswordAuthenticationKey(n.deviceKey,n.randomPassword,s,c,function(t,r){if(t)return e.onFailure(t);var s=o.getNowString(),c=l.lW.concat([l.lW.from(n.deviceGroupKey,"utf8"),l.lW.from(n.deviceKey,"utf8"),l.lW.from(a.SECRET_BLOCK,"base64"),l.lW.from(s,"utf8")]),u=new f.Sha256(r);u.update(c);var d=u.digestSync(),p=l.lW.from(d).toString("base64"),h={};h.USERNAME=n.username,h.PASSWORD_CLAIM_SECRET_BLOCK=a.SECRET_BLOCK,h.TIMESTAMP=s,h.PASSWORD_CLAIM_SIGNATURE=p,h.DEVICE_KEY=n.deviceKey;var m={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:n.pool.getClientId(),ChallengeResponses:h,Session:i.Session};n.getUserContextData()&&(m.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",m,function(t,r){return t?e.onFailure(t):(n.signInUserSession=n.getCognitoUserSession(r.AuthenticationResult),n.cacheTokens(),e.onSuccess(n.signInUserSession))})})})})},t.confirmRegistration=function(e,t,n,r){var o={ClientId:this.pool.getClientId(),ConfirmationCode:e,Username:this.username,ForceAliasCreation:t,ClientMetadata:r};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("ConfirmSignUp",o,function(e){return e?n(e,null):n(null,"SUCCESS")})},t.sendCustomChallengeAnswer=function(e,t,n){var r=this,o={};o.USERNAME=this.username,o.ANSWER=e;var i=new eu(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(o.DEVICE_KEY=this.deviceKey);var a={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:o,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:n};this.getUserContextData()&&(a.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",a,function(e,n){return e?t.onFailure(e):r.authenticateUserInternal(n,i,t)})},t.sendMFACode=function(e,t,n,r){var o=this,i={};i.USERNAME=this.username,i.SMS_MFA_CODE=e;var a=n||"SMS_MFA";"SOFTWARE_TOKEN_MFA"===a&&(i.SOFTWARE_TOKEN_MFA_CODE=e),null!=this.deviceKey&&(i.DEVICE_KEY=this.deviceKey);var s={ChallengeName:a,ChallengeResponses:i,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:r};this.getUserContextData()&&(s.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",s,function(e,n){if(e)return t.onFailure(e);if("DEVICE_SRP_AUTH"===n.ChallengeName){o.getDeviceResponse(t);return}if(o.signInUserSession=o.getCognitoUserSession(n.AuthenticationResult),o.cacheTokens(),null==n.AuthenticationResult.NewDeviceMetadata)return t.onSuccess(o.signInUserSession);var r=new eu(o.pool.getUserPoolName());r.generateHashDevice(n.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,n.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(e){if(e)return t.onFailure(e);var i={Salt:l.lW.from(r.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:l.lW.from(r.getVerifierDevices(),"hex").toString("base64")};o.verifierDevices=i.PasswordVerifier,o.deviceGroupKey=n.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,o.randomPassword=r.getRandomPassword(),o.client.request("ConfirmDevice",{DeviceKey:n.AuthenticationResult.NewDeviceMetadata.DeviceKey,AccessToken:o.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:i,DeviceName:eP},function(e,r){return e?t.onFailure(e):(o.deviceKey=n.AuthenticationResult.NewDeviceMetadata.DeviceKey,o.cacheDeviceKeyAndPassword(),!0===r.UserConfirmationNecessary)?t.onSuccess(o.signInUserSession,r.UserConfirmationNecessary):t.onSuccess(o.signInUserSession)})})})},t.changePassword=function(e,t,n,r){if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return n(Error("User is not authenticated"),null);this.client.request("ChangePassword",{PreviousPassword:e,ProposedPassword:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:r},function(e){return e?n(e,null):n(null,"SUCCESS")})},t.enableMFA=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(Error("User is not authenticated"),null);var t=[],n={DeliveryMedium:"SMS",AttributeName:"phone_number"};t.push(n),this.client.request("SetUserSettings",{MFAOptions:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?e(t,null):e(null,"SUCCESS")})},t.setUserMfaPreference=function(e,t,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(Error("User is not authenticated"),null);this.client.request("SetUserMFAPreference",{SMSMfaSettings:e,SoftwareTokenMfaSettings:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?n(e,null):n(null,"SUCCESS")})},t.disableMFA=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(Error("User is not authenticated"),null);var t=[];this.client.request("SetUserSettings",{MFAOptions:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?e(t,null):e(null,"SUCCESS")})},t.deleteUser=function(e,t){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(Error("User is not authenticated"),null);this.client.request("DeleteUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:t},function(t){return t?e(t,null):(n.clearCachedUser(),e(null,"SUCCESS"))})},t.updateAttributes=function(e,t,n){var r=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(Error("User is not authenticated"),null);this.client.request("UpdateUserAttributes",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserAttributes:e,ClientMetadata:n},function(e,n){return e?t(e,null):r.getUserData(function(){return t(null,"SUCCESS",n)},{bypassCache:!0})})},t.getUserAttributes=function(e){if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return e(Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t,n){if(t)return e(t,null);for(var r=[],o=0;o<n.UserAttributes.length;o++){var i=new ek({Name:n.UserAttributes[o].Name,Value:n.UserAttributes[o].Value});r.push(i)}return e(null,r)})},t.getMFAOptions=function(e){if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return e(Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t,n){return t?e(t,null):e(null,n.MFAOptions)})},t.createGetUserRequest=function(){return this.client.promisifyRequest("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()})},t.refreshSessionIfPossible=function(e){var t=this;return void 0===e&&(e={}),new Promise(function(n){var r=t.signInUserSession.getRefreshToken();r&&r.getToken()?t.refreshSession(r,n,e.clientMetadata):n()})},t.getUserData=function(e,t){var n=this;if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return this.clearCachedUserData(),e(Error("User is not authenticated"),null);var r=this.getUserDataFromCache();if(!r){this.fetchUserData().then(function(t){e(null,t)}).catch(e);return}if(this.isFetchUserDataAndTokenRequired(t)){this.fetchUserData().then(function(e){return n.refreshSessionIfPossible(t).then(function(){return e})}).then(function(t){return e(null,t)}).catch(e);return}try{e(null,JSON.parse(r));return}catch(t){this.clearCachedUserData(),e(t,null);return}},t.getUserDataFromCache=function(){return this.storage.getItem(this.userDataKey)},t.isFetchUserDataAndTokenRequired=function(e){var t=(e||{}).bypassCache;return void 0!==t&&t},t.fetchUserData=function(){var e=this;return this.createGetUserRequest().then(function(t){return e.cacheUserData(t),t})},t.deleteAttributes=function(e,t){var n=this;if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return t(Error("User is not authenticated"),null);this.client.request("DeleteUserAttributes",{UserAttributeNames:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?t(e,null):n.getUserData(function(){return t(null,"SUCCESS")},{bypassCache:!0})})},t.resendConfirmationCode=function(e,t){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:t};this.client.request("ResendConfirmationCode",n,function(t,n){return t?e(t,null):e(null,n)})},t.getSession=function(e,t){if(void 0===t&&(t={}),null==this.username)return e(Error("Username is null. Cannot retrieve a new session"),null);if(null!=this.signInUserSession&&this.signInUserSession.isValid())return e(null,this.signInUserSession);var n="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,r=n+".idToken",o=n+".accessToken",i=n+".refreshToken",a=n+".clockDrift";if(this.storage.getItem(r)){var s=new ev({IdToken:this.storage.getItem(r)}),l=new eh({AccessToken:this.storage.getItem(o)}),c=new ey({RefreshToken:this.storage.getItem(i)}),u=new ex({IdToken:s,AccessToken:l,RefreshToken:c,ClockDrift:parseInt(this.storage.getItem(a),0)||0});if(u.isValid())return this.signInUserSession=u,e(null,this.signInUserSession);if(!c.getToken())return e(Error("Cannot retrieve a new session. Please authenticate."),null);this.refreshSession(c,e,t.clientMetadata)}else e(Error("Local storage is missing an ID Token, Please authenticate"),null)},t.refreshSession=function(e,t,n){var r=this,o=this.pool.wrapRefreshSessionCallback?this.pool.wrapRefreshSessionCallback(t):t,i={};i.REFRESH_TOKEN=e.getToken();var a="CognitoIdentityServiceProvider."+this.pool.getClientId(),s=a+".LastAuthUser";if(this.storage.getItem(s)){this.username=this.storage.getItem(s);var l=a+"."+this.username+".deviceKey";this.deviceKey=this.storage.getItem(l),i.DEVICE_KEY=this.deviceKey}var c={ClientId:this.pool.getClientId(),AuthFlow:"REFRESH_TOKEN_AUTH",AuthParameters:i,ClientMetadata:n};this.getUserContextData()&&(c.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",c,function(t,n){if(t)return"NotAuthorizedException"===t.code&&r.clearCachedUser(),o(t,null);if(n){var i=n.AuthenticationResult;return Object.prototype.hasOwnProperty.call(i,"RefreshToken")||(i.RefreshToken=e.getToken()),r.signInUserSession=r.getCognitoUserSession(i),r.cacheTokens(),o(null,r.signInUserSession)}})},t.cacheTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),t=e+"."+this.username+".idToken",n=e+"."+this.username+".accessToken",r=e+"."+this.username+".refreshToken",o=e+"."+this.username+".clockDrift",i=e+".LastAuthUser";this.storage.setItem(t,this.signInUserSession.getIdToken().getJwtToken()),this.storage.setItem(n,this.signInUserSession.getAccessToken().getJwtToken()),this.storage.setItem(r,this.signInUserSession.getRefreshToken().getToken()),this.storage.setItem(o,""+this.signInUserSession.getClockDrift()),this.storage.setItem(i,this.username)},t.cacheUserData=function(e){this.storage.setItem(this.userDataKey,JSON.stringify(e))},t.clearCachedUserData=function(){this.storage.removeItem(this.userDataKey)},t.clearCachedUser=function(){this.clearCachedTokens(),this.clearCachedUserData()},t.cacheDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,t=e+".deviceKey",n=e+".randomPasswordKey",r=e+".deviceGroupKey";this.storage.setItem(t,this.deviceKey),this.storage.setItem(n,this.randomPassword),this.storage.setItem(r,this.deviceGroupKey)},t.getCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,t=e+".deviceKey",n=e+".randomPasswordKey",r=e+".deviceGroupKey";this.storage.getItem(t)&&(this.deviceKey=this.storage.getItem(t),this.randomPassword=this.storage.getItem(n),this.deviceGroupKey=this.storage.getItem(r))},t.clearCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,t=e+".deviceKey",n=e+".randomPasswordKey",r=e+".deviceGroupKey";this.storage.removeItem(t),this.storage.removeItem(n),this.storage.removeItem(r)},t.clearCachedTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),t=e+"."+this.username+".idToken",n=e+"."+this.username+".accessToken",r=e+"."+this.username+".refreshToken",o=e+".LastAuthUser",i=e+"."+this.username+".clockDrift";this.storage.removeItem(t),this.storage.removeItem(n),this.storage.removeItem(r),this.storage.removeItem(o),this.storage.removeItem(i)},t.getCognitoUserSession=function(e){return new ex({IdToken:new ev(e),AccessToken:new eh(e),RefreshToken:new ey(e)})},t.forgotPassword=function(e,t){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:t};this.getUserContextData()&&(n.UserContextData=this.getUserContextData()),this.client.request("ForgotPassword",n,function(t,n){return t?e.onFailure(t):"function"==typeof e.inputVerificationCode?e.inputVerificationCode(n):e.onSuccess(n)})},t.confirmPassword=function(e,t,n,r){var o={ClientId:this.pool.getClientId(),Username:this.username,ConfirmationCode:e,Password:t,ClientMetadata:r};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("ConfirmForgotPassword",o,function(e){return e?n.onFailure(e):n.onSuccess("SUCCESS")})},t.getAttributeVerificationCode=function(e,t,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(Error("User is not authenticated"));this.client.request("GetUserAttributeVerificationCode",{AttributeName:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:n},function(e,n){return e?t.onFailure(e):"function"==typeof t.inputVerificationCode?t.inputVerificationCode(n):t.onSuccess("SUCCESS")})},t.verifyAttribute=function(e,t,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(Error("User is not authenticated"));this.client.request("VerifyUserAttribute",{AttributeName:e,Code:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?n.onFailure(e):n.onSuccess("SUCCESS")})},t.getDevice=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("GetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey},function(t,n){return t?e.onFailure(t):e.onSuccess(n)})},t.forgetSpecificDevice=function(e,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(Error("User is not authenticated"));this.client.request("ForgetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:e},function(e){return e?t.onFailure(e):t.onSuccess("SUCCESS")})},t.forgetDevice=function(e){var t=this;this.forgetSpecificDevice(this.deviceKey,{onFailure:e.onFailure,onSuccess:function(n){return t.deviceKey=null,t.deviceGroupKey=null,t.randomPassword=null,t.clearCachedDeviceKeyAndPassword(),e.onSuccess(n)}})},t.setDeviceStatusRemembered=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"remembered"},function(t){return t?e.onFailure(t):e.onSuccess("SUCCESS")})},t.setDeviceStatusNotRemembered=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"not_remembered"},function(t){return t?e.onFailure(t):e.onSuccess("SUCCESS")})},t.listDevices=function(e,t,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(Error("User is not authenticated"));var r={AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),Limit:e};t&&(r.PaginationToken=t),this.client.request("ListDevices",r,function(e,t){return e?n.onFailure(e):n.onSuccess(t)})},t.globalSignOut=function(e){var t=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("GlobalSignOut",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(n){return n?e.onFailure(n):(t.clearCachedUser(),e.onSuccess("SUCCESS"))})},t.signOut=function(e){var t=this;if(!e||"function"!=typeof e){this.cleanClientData();return}this.getSession(function(n,r){if(n)return e(n);t.revokeTokens(function(n){t.cleanClientData(),e(n)})})},t.revokeTokens=function(e){if(void 0===e&&(e=function(){}),"function"!=typeof e)throw Error("Invalid revokeTokenCallback. It should be a function.");if(!this.signInUserSession)return e(Error("User is not authenticated"));if(!this.signInUserSession.getAccessToken())return e(Error("No Access token available"));var t=this.signInUserSession.getRefreshToken().getToken(),n=this.signInUserSession.getAccessToken();if(this.isSessionRevocable(n)&&t)return this.revokeToken({token:t,callback:e});e()},t.isSessionRevocable=function(e){if(e&&"function"==typeof e.decodePayload)try{return!!e.decodePayload().origin_jti}catch(e){}return!1},t.cleanClientData=function(){this.signInUserSession=null,this.clearCachedUser()},t.revokeToken=function(e){var t=e.token,n=e.callback;this.client.requestWithRetry("RevokeToken",{Token:t,ClientId:this.pool.getClientId()},function(e){if(e)return n(e);n()})},t.sendMFASelectionAnswer=function(e,t){var n=this,r={};r.USERNAME=this.username,r.ANSWER=e;var o={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:r,ClientId:this.pool.getClientId(),Session:this.Session};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",o,function(r,o){return r?t.onFailure(r):(n.Session=o.Session,"SMS_MFA"===e)?t.mfaRequired(o.ChallengeName,o.ChallengeParameters):"SOFTWARE_TOKEN_MFA"===e?t.totpRequired(o.ChallengeName,o.ChallengeParameters):void 0})},t.getUserContextData=function(){return this.pool.getUserContextData(this.username)},t.associateSoftwareToken=function(e){var t=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("AssociateSoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t,n){return t?e.onFailure(t):e.associateSecretCode(n.SecretCode)}):this.client.request("AssociateSoftwareToken",{Session:this.Session},function(n,r){return n?e.onFailure(n):(t.Session=r.Session,e.associateSecretCode(r.SecretCode))})},t.verifySoftwareToken=function(e,t,n){var r=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("VerifySoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserCode:e,FriendlyDeviceName:t},function(e,t){return e?n.onFailure(e):n.onSuccess(t)}):this.client.request("VerifySoftwareToken",{Session:this.Session,UserCode:e,FriendlyDeviceName:t},function(e,t){if(e)return n.onFailure(e);r.Session=t.Session;var o={};o.USERNAME=r.username;var i={ChallengeName:"MFA_SETUP",ClientId:r.pool.getClientId(),ChallengeResponses:o,Session:r.Session};r.getUserContextData()&&(i.UserContextData=r.getUserContextData()),r.client.request("RespondToAuthChallenge",i,function(e,t){return e?n.onFailure(e):(r.signInUserSession=r.getCognitoUserSession(t.AuthenticationResult),r.cacheTokens(),n.onSuccess(r.signInUserSession))})})},e}();function eR(){}n(98140),eR.prototype.userAgent=eS();var eM=function(e){e&&(eR.prototype.userAgent&&!eR.prototype.userAgent.includes(e)&&(eR.prototype.userAgent=eR.prototype.userAgent.concat(" ",e)),eR.prototype.userAgent&&""!==eR.prototype.userAgent||(eR.prototype.userAgent=e))},eN=eR;function ej(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,eF(e,t)}function eD(e){var t="function"==typeof Map?new Map:void 0;return(eD=function(e){if(null===e||!eZ(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return eL(e,arguments,ez(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),eF(n,e)})(e)}function eL(e,t,n){return(eL=eB()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&eF(o,n.prototype),o}).apply(null,arguments)}function eB(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eZ(e){return -1!==Function.toString.call(e).indexOf("[native code]")}function eF(e,t){return(eF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ez(e){return(ez=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var eU=function(e){function t(t,n,r,o){var i;return(i=e.call(this,t)||this).code=n,i.name=r,i.statusCode=o,i}return ej(t,e),t}(eD(Error)),eH=function(){function e(e,t,n){this.endpoint=t||"https://cognito-idp."+e+".amazonaws.com/";var r=(n||{}).credentials;this.fetchOptions=r?{credentials:r}:{}}var t=e.prototype;return t.promisifyRequest=function(e,t){var n=this;return new Promise(function(r,o){n.request(e,t,function(e,t){e?o(new eU(e.message,e.code,e.name,e.statusCode)):r(t)})})},t.requestWithRetry=function(e,t,n){var r=this;eK(function(t){return new Promise(function(n,o){r.request(e,t,function(e,t){e?o(e):n(t)})})},[t],5e3).then(function(e){return n(null,e)}).catch(function(e){return n(e)})},t.request=function(e,t,n){var r,o,i={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+e,"X-Amz-User-Agent":eN.prototype.userAgent,"Cache-Control":"no-store"},a=Object.assign({},this.fetchOptions,{headers:i,method:"POST",mode:"cors",body:JSON.stringify(t)});fetch(this.endpoint,a).then(function(e){return r=e,e},function(e){if(e instanceof TypeError)throw Error("Network error");throw e}).then(function(e){return e.json().catch(function(){return{}})}).then(function(e){if(r.ok)return n(null,e);o=e;var t=(e.__type||e.code).split("#").pop(),i=Error(e.message||e.Message||null);return i.name=t,i.code=t,n(i)}).catch(function(e){if(r&&r.headers&&r.headers.get("x-amzn-errortype"))try{var t=r.headers.get("x-amzn-errortype").split(":")[0],o=Error(r.status?r.status.toString():null);return o.code=t,o.name=t,o.statusCode=r.status,n(o)}catch(e){}else e instanceof Error&&"Network error"===e.message&&(e.code="NetworkError");return n(e)})},e}(),eq={debug:function(){}},eV=function(e){var t="nonRetryable";return e&&e[t]};function eW(e,t,n,r){if(void 0===r&&(r=1),"function"!=typeof e)throw Error("functionToRetry must be a function");return eq.debug(e.name+" attempt #"+r+" with args: "+JSON.stringify(t)),e.apply(void 0,t).catch(function(o){if(eq.debug("error on "+e.name,o),eV(o))throw eq.debug(e.name+" non retryable error",o),o;var i=n(r,t,o);if(eq.debug(e.name+" retrying in "+i+" ms"),!1!==i)return new Promise(function(e){return setTimeout(e,i)}).then(function(){return eW(e,t,n,r+1)});throw o})}function e$(e){var t=100,n=100;return function(r){var o=Math.pow(2,r)*t+n*Math.random();return!(o>e)&&o}}var eG=3e5;function eK(e,t,n){return void 0===n&&(n=eG),eW(e,t,e$(n))}/*!
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */var eY=55,eX=function(){function e(e,t){var n=e||{},r=n.UserPoolId,o=n.ClientId,i=n.endpoint,a=n.fetchOptions,s=n.AdvancedSecurityDataCollectionFlag;if(!r||!o)throw Error("Both UserPoolId and ClientId are required.");if(r.length>eY||!/^[\w-]+_[0-9a-zA-Z]+$/.test(r))throw Error("Invalid UserPoolId format.");var l=r.split("_")[0];this.userPoolId=r,this.clientId=o,this.client=new eH(l,i,a),this.advancedSecurityDataCollectionFlag=!1!==s,this.storage=e.Storage||new eI().getStorage(),t&&(this.wrapRefreshSessionCallback=t)}var t=e.prototype;return t.getUserPoolId=function(){return this.userPoolId},t.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]},t.getClientId=function(){return this.clientId},t.signUp=function(e,t,n,r,o,i){var a=this,s={ClientId:this.clientId,Username:e,Password:t,UserAttributes:n,ValidationData:r,ClientMetadata:i};this.getUserContextData(e)&&(s.UserContextData=this.getUserContextData(e)),this.client.request("SignUp",s,function(t,n){return t?o(t,null):o(null,{user:new eT({Username:e,Pool:a,Storage:a.storage}),userConfirmed:n.UserConfirmed,userSub:n.UserSub,codeDeliveryDetails:n.CodeDeliveryDetails})})},t.getCurrentUser=function(){var e="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",t=this.storage.getItem(e);return t?new eT({Username:t,Pool:this,Storage:this.storage}):null},t.getUserContextData=function(e){if("undefined"!=typeof AmazonCognitoAdvancedSecurityData){var t=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var n=t.getData(e,this.userPoolId,this.clientId);if(n)return{EncodedData:n}}return{}}},e}(),eQ=n(69800),eJ=function(){function e(e){if(void 0===e&&(e={}),e.domain&&(this.domain=e.domain),e.path?this.path=e.path:this.path="/",Object.prototype.hasOwnProperty.call(e,"expires")?this.expires=e.expires:this.expires=365,Object.prototype.hasOwnProperty.call(e,"secure")?this.secure=e.secure:this.secure=!0,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!["strict","lax","none"].includes(e.sameSite))throw Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===e.sameSite&&!this.secure)throw Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=e.sameSite}else this.sameSite=null}var t=e.prototype;return t.setItem=function(e,t){var n={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(n.sameSite=this.sameSite),eQ.set(e,t,n),eQ.get(e)},t.getItem=function(e){return eQ.get(e)},t.removeItem=function(e){var t={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(t.sameSite=this.sameSite),eQ.remove(e,t)},t.clear=function(){for(var e=eQ.get(),t=Object.keys(e).length,n=0;n<t;++n)this.removeItem(Object.keys(e)[n]);return{}},e}();/*!
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */},66027:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,n){var r=["color: gray; font-weight: lighter","color: "+("query"===e?"#03A9F4":"red")+";","color: inherit;"],o=["%c apollo","%c"+e,"%c"+t.operationName];return"subscription"!==e&&(o.push("%c(in "+n+" ms)"),r.push("color: gray; font-weight: lighter;")),[o.join(" ")].concat(r)};t.default=n},99525:function(e,t,n){"use strict";r={value:!0};var r,o=n(43032),i=s(n(66027)),a=s(n(26535));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}var c=new o.ApolloLink(function(e,t){var n=new Date().getTime();return t(e).map(function(t){var r=e.query.definitions[0].operation,o=new Date().getTime()-n,s=(0,i.default)(r,e,o);return a.default.groupCollapsed.apply(a.default,l(s)),a.default.log("INIT",e),a.default.log("RESULT",t),a.default.groupEnd.apply(a.default,l(s)),t})});t.Z=c},26535:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){return e?e.bind(console):t},r=function(){var e="",t=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];(t=console).log.apply(t,[e].concat(r))},r=function(){t.apply(void 0,arguments),e+="> "},o=function(){e=e.slice(0,-2)};return{log:t,error:function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];(t=console).error.apply(t,[e].concat(r))},group:n(console.group,r),groupCollapsed:n(console.groupCollapsed,r),groupEnd:n(console.groupEnd,o)}}();t.default=r},70274:function(e,t){!function(e,n){n(t)}(0,function(e){"use strict";var t=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},n=function(){function e(e){var t=e.debug,n=void 0!==t&&t;this.debug=n,this.lines=[]}return e.prototype.emit=function(n,r){if(n in console){var o=e.prefix;console[n].apply(console,t([o],r))}},e.prototype.tailLogs=function(){var e=this;this.lines.forEach(function(t){var n=t[0],r=t[1];return e.emit(n,r)})},e.prototype.getLogs=function(){return this.lines},e.prototype.write=function(n,r){var o=e.buffer;this.lines=t(this.lines.slice(1-o),[[n,r]]),(this.debug||"log"!==n)&&this.emit(n,r)},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("log",e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("warn",e)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("error",e)},e.buffer=30,e.prefix="[apollo-cache-persist]",e}(),r=function(){function e(e){var t=e.cache,n=e.serialize,r=void 0===n||n;this.cache=t,this.serialize=r}return e.prototype.extract=function(){var e=this.cache.extract();return this.serialize&&(e=JSON.stringify(e)),e},e.prototype.restore=function(e){this.serialize&&"string"==typeof e&&(e=JSON.parse(e)),null!=e&&this.cache.restore(e)},e}(),o=function(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})},i=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(i){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}},a=function(){function e(e){var t=e.storage,n=e.key,r=void 0===n?"apollo-cache-persist":n;this.storage=t,this.key=r}return e.prototype.read=function(){return o(this,void 0,void 0,function(){return i(this,function(e){return[2,this.storage.getItem(this.key)]})})},e.prototype.write=function(e){return o(this,void 0,void 0,function(){return i(this,function(t){switch(t.label){case 0:return[4,this.storage.setItem(this.key,e)];case 1:return t.sent(),[2]}})})},e.prototype.purge=function(){return o(this,void 0,void 0,function(){return i(this,function(e){switch(e.label){case 0:return[4,this.storage.removeItem(this.key)];case 1:return e.sent(),[2]}})})},e.prototype.getSize=function(){return o(this,void 0,void 0,function(){var e;return i(this,function(t){switch(t.label){case 0:return[4,this.storage.getItem(this.key)];case 1:if(null==(e=t.sent()))return[2,0];return[2,"string"==typeof e?e.length:null]}})})},e}(),s=function(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})},l=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(i){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}},c=function(){function e(e,t){var n=e.log,r=e.cache,o=e.storage,i=t.maxSize,a=void 0===i?1048576:i,s=t.persistenceMapper;this.log=n,this.cache=r,this.storage=o,this.paused=!1,s&&(this.persistenceMapper=s),a&&(this.maxSize=a)}return e.prototype.persist=function(){return s(this,void 0,void 0,function(){var e,t;return l(this,function(n){switch(n.label){case 0:if(n.trys.push([0,6,,7]),e=this.cache.extract(),!(!this.paused&&this.persistenceMapper))return[3,2];return[4,this.persistenceMapper(e)];case 1:e=n.sent(),n.label=2;case 2:if(!(null!=this.maxSize&&"string"==typeof e&&e.length>this.maxSize&&!this.paused))return[3,4];return[4,this.purge()];case 3:return n.sent(),this.paused=!0,[2];case 4:if(this.paused)return[2];return[4,this.storage.write(e)];case 5:return n.sent(),this.log.info("string"==typeof e?"Persisted cache of size "+e.length+" characters":"Persisted cache"),[3,7];case 6:throw t=n.sent(),this.log.error("Error persisting cache",t),t;case 7:return[2]}})})},e.prototype.restore=function(){return s(this,void 0,void 0,function(){var e,t;return l(this,function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),[4,this.storage.read()];case 1:if(!(null!=(e=n.sent())))return[3,3];return[4,this.cache.restore(e)];case 2:return n.sent(),this.log.info("string"==typeof e?"Restored cache of size "+e.length+" characters":"Restored cache"),[3,4];case 3:this.log.info("No stored cache to restore"),n.label=4;case 4:return[3,6];case 5:throw t=n.sent(),this.log.error("Error restoring cache",t),t;case 6:return[2]}})})},e.prototype.purge=function(){return s(this,void 0,void 0,function(){var e;return l(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.storage.purge()];case 1:return t.sent(),this.log.info("Purged cache storage"),[3,3];case 2:throw e=t.sent(),this.log.error("Error purging cache storage",e),e;case 3:return[2]}})})},e}(),u=function(e){var t=e.cache;return function(e){var n=t.write,r=t.evict,o=t.modify;return t.write=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=n.apply(t,r);return e(),i},t.evict=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=r.apply(t,n);return e(),i},t.modify=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=o.apply(t,n);return e(),i},function(){t.write=n,t.evict=r,t.modify=o}}},d=function(e){var t=e.log,n=e.cache;return function(e){return t.warn("Trigger option `background` not available on web; using `write` trigger"),u({cache:n})(e)}},f=function(){function e(t,n){var r=this,o=t.log,i=t.persistor;this.fire=function(){if(!r.debounce){r.persist();return}null!=r.timeout&&clearTimeout(r.timeout),r.timeout=setTimeout(r.persist,r.debounce)},this.persist=function(){r.paused||r.persistor.persist()};var a=e.defaultDebounce,s=n.cache,l=n.debounce,c=n.trigger,f=void 0===c?"write":c;if(f)switch(this.debounce=null!=l?l:a,this.persistor=i,this.paused=!1,f){case"write":this.uninstall=u({cache:s})(this.fire);break;case"background":l&&o.warn("Debounce is not recommended with `background` trigger"),this.debounce=l,this.uninstall=d({cache:s,log:o})(this.fire);break;default:if("function"==typeof f)this.uninstall=f(this.fire);else throw Error("Unrecognized trigger option: "+f)}}return e.prototype.pause=function(){this.paused=!0},e.prototype.resume=function(){this.paused=!1},e.prototype.remove=function(){this.uninstall&&(this.uninstall(),this.uninstall=null,this.paused=!0)},e.defaultDebounce=1e3,e}(),p=function(){function e(e){if(!e.cache)throw Error("In order to persist your Apollo Cache, you need to pass in a cache. Please see https://www.apollographql.com/docs/react/basics/caching.html for our default InMemoryCache.");if(!e.storage)throw Error("In order to persist your Apollo Cache, you need to pass in an underlying storage provider. Please see https://github.com/apollographql/apollo-cache-persist#storage-providers");var t=new n(e),o=new r(e),i=new a(e),s=new c({log:t,cache:o,storage:i},e),l=new f({log:t,persistor:s},e);this.log=t,this.cache=o,this.storage=i,this.persistor=s,this.trigger=l}return e.prototype.persist=function(){return this.persistor.persist()},e.prototype.restore=function(){return this.persistor.restore()},e.prototype.purge=function(){return this.persistor.purge()},e.prototype.pause=function(){this.trigger.pause()},e.prototype.resume=function(){this.trigger.resume()},e.prototype.remove=function(){this.trigger.remove()},e.prototype.getLogs=function(e){if(void 0===e&&(e=!1),!e)return this.log.getLogs();this.log.tailLogs()},e.prototype.getSize=function(){return this.storage.getSize()},e}(),h=function(e){return new p(e).restore()},m=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(e){new v(e).restoreSync()},v=function(e){function t(t){var n=e.call(this,t)||this;return n.storage=new b(t),n.persistor=new y({log:n.log,cache:n.cache,storage:n.storage},t),n}return m(t,e),t.prototype.restoreSync=function(){this.persistor.restoreSync()},t}(p),y=function(e){function t(t,n){var r=t.log,o=t.cache,i=t.storage;return e.call(this,{log:r,cache:o,storage:i},n)||this}return m(t,e),t.prototype.restoreSync=function(){this.cache.restore(this.storage.readSync())},t}(c),b=function(e){function t(t){return e.call(this,t)||this}return m(t,e),t.prototype.readSync=function(){return this.storage.getItem(this.key)},t}(a),w=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){return this.storage.setItem(e,t)},e}(),S=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.get(e)},e.prototype.removeItem=function(e){return this.storage.remove(e)},e.prototype.setItem=function(e,t){return this.storage.set(e,t)},e}(),x=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){var n=this;return new Promise(function(r,o){n.storage.setItem(e,t).then(function(){return r()}).catch(function(){return o()})})},e}(),E=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){return null!==t?this.storage.setItem(e,t):this.removeItem(e)},e}(),C=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)||null},e.prototype.removeItem=function(e){var t=this;return new Promise(function(n,r){Promise.resolve(t.storage.removeItem(e)).then(function(){return n()}).catch(function(){return r()})})},e.prototype.setItem=function(e,t){var n=this;return new Promise(function(r,o){n.storage.setItem(e,t).then(function(){return r()}).catch(function(){return o()})})},e}(),_=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getString(e)||null},e.prototype.removeItem=function(e){return this.storage.delete(e)},e.prototype.setItem=function(e,t){return null!==t?this.storage.set(e,t):this.removeItem(e)},e}(),k=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){return null!==t?this.storage.setItem(e,t):this.removeItem(e)},e}();e.AsyncStorageWrapper=w,e.CachePersistor=p,e.IonicStorageWrapper=S,e.LocalForageWrapper=x,e.LocalStorageWrapper=E,e.MMKVStorageWrapper=C,e.MMKVWrapper=_,e.SessionStorageWrapper=k,e.SynchronousCachePersistor=v,e.SynchronousPersistor=y,e.SynchronousStorage=b,e.persistCache=h,e.persistCacheSync=g,Object.defineProperty(e,"__esModule",{value:!0})})},26446:function(e,t){"use strict";t.byteLength=c,t.toByteArray=d,t.fromByteArray=h;for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r}function u(e,t,n){return(t+n)*3/4-n}function d(e){var t,n,i=l(e),a=i[0],s=i[1],c=new o(u(e,a,s)),d=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[d++]=t>>16&255,c[d++]=t>>8&255,c[d++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[d++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[d++]=t>>8&255,c[d++]=255&t),c}function f(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,n){for(var r=[],o=t;o<n;o+=3)r.push(f((e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2])));return r.join("")}function h(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,l=r-o;s<l;s+=a)i.push(p(e,s,s+a>l?l:s+a));return 1===o?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},73706:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,(function(t){return e[t]}).bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(18),o=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var o=e.getVersionPrecision(t),i=e.getVersionPrecision(n),a=Math.max(o,i),s=0,l=e.map([t,n],function(t){var n=a-e.getVersionPrecision(t),r=t+Array(n+1).join(".0");return e.map(r.split("."),function(e){return Array(20-e.length).join("0")+e}).reverse()});for(r&&(s=a-Math.min(o,i)),a-=1;a>=s;){if(l[0][a]>l[1][a])return 1;if(l[0][a]===l[1][a]){if(a===s)return 0;a-=1}else if(l[0][a]<l[1][a])return -1}},e.map=function(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n+=1)r.push(t(e[n]));return r},e.find=function(e,t){var n,r;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(n=0,r=e.length;n<r;n+=1){var o=e[n];if(t(o,n))return o}},e.assign=function(e){for(var t,n,r=e,o=arguments.length,i=Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(Object.assign)return Object.assign.apply(Object,[e].concat(i));var s=function(){var e=i[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach(function(t){r[t]=e[t]})};for(t=0,n=i.length;t<n;t+=1)s();return e},e.getBrowserAlias=function(e){return r.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return r.BROWSER_MAP[e]||""},e}();t.default=o,e.exports=t.default},18:function(e,t,n){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(91))&&r.__esModule?r:{default:r},i=n(18);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){var e;function t(){}return t.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw Error("UserAgent should be a string");return new o.default(e,t)},t.parse=function(e){return new o.default(e).getResult()},e=null,a(t,[{key:"BROWSER_MAP",get:function(){return i.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return i.ENGINE_MAP}},{key:"OS_MAP",get:function(){return i.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return i.PLATFORMS_MAP}}]),t}();t.default=s,e.exports=t.default},91:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(92)),o=l(n(93)),i=l(n(94)),a=l(n(95)),s=l(n(17));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=s.default.find(r.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=s.default.find(o.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=s.default.find(i.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=s.default.find(a.default,function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return s.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,n={},r=0,o={},i=0;if(Object.keys(e).forEach(function(t){var a=e[t];"string"==typeof a?(o[t]=a,i+=1):"object"==typeof a&&(n[t]=a,r+=1)}),r>0){var a=Object.keys(n),l=s.default.find(a,function(e){return t.isOS(e)});if(l){var c=this.satisfies(n[l]);if(void 0!==c)return c}var u=s.default.find(a,function(e){return t.isPlatform(e)});if(u){var d=this.satisfies(n[u]);if(void 0!==d)return d}}if(i>0){var f=Object.keys(o),p=s.default.find(f,function(e){return t.isBrowser(e,!0)});if(void 0!==p)return this.compareVersion(o[p])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),o=s.default.getBrowserTypeByAlias(r);return t&&o&&(r=o.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,o=this.getBrowserVersion();if("string"==typeof o)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(o,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}();t.default=c,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(17))&&r.__esModule?r:{default:r},i=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=o.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=o.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=o.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=o.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=o.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=o.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=o.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=o.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=o.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=o.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=o.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=o.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=o.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=o.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=o.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=o.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=o.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=o.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=o.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=o.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=o.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=o.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=o.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=o.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=o.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=o.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=o.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:o.default.getFirstMatch(t,e),version:o.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(17))&&r.__esModule?r:{default:r},i=n(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=o.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:i.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=o.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=o.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=o.default.getWindowsVersionName(t);return{name:i.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:i.OS_MAP.iOS},n=o.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=o.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=o.default.getMacOSVersionName(t),r={name:i.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=o.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:i.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=o.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=o.default.getAndroidVersionName(t),r={name:i.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=o.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:i.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=o.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||o.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||o.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:i.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=o.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=o.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:i.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:i.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=o.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(17))&&r.__esModule?r:{default:r},i=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=o.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:i.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=o.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:i.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:i.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(17))&&r.__esModule?r:{default:r},i=n(18),a=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:i.ENGINE_MAP.Blink};var t=o.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:i.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:i.ENGINE_MAP.Trident},n=o.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:i.ENGINE_MAP.Presto},n=o.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:i.ENGINE_MAP.Gecko},n=o.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:i.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:i.ENGINE_MAP.WebKit},n=o.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=a,e.exports=t.default}})})},21468:function(e,t,n){"use strict";/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */var r,o=n(26446),i=n(47164),a=n(23161);function s(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function l(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(l()<t)throw RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"==typeof e){if("string"==typeof t)throw Error("If encoding is specified then the first argument must be a string");return h(this,e)}return d(this,e,t,n)}function d(e,t,n,r){if("number"==typeof t)throw TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?v(e,t,n,r):"string"==typeof t?m(e,t,n):y(e,t)}function f(e){if("number"!=typeof e)throw TypeError('"size" argument must be a number');if(e<0)throw RangeError('"size" argument must not be negative')}function p(e,t,n,r){return(f(t),t<=0)?c(e,t):void 0!==n?"string"==typeof r?c(e,t).fill(n,r):c(e,t).fill(n):c(e,t)}function h(e,t){if(f(t),e=c(e,t<0?0:0|b(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function m(e,t,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!u.isEncoding(n))throw TypeError('"encoding" must be a valid string encoding');var r=0|S(t,n),o=(e=c(e,r)).write(t,n);return o!==r&&(e=e.slice(0,o)),e}function g(e,t){var n=t.length<0?0:0|b(t.length);e=c(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function v(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=g(e,t),e}function y(e,t){if(u.isBuffer(t)){var n=0|b(t.length);return 0===(e=c(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||en(t.length)?c(e,0):g(e,t);if("Buffer"===t.type&&a(t.data))return g(e,t.data)}throw TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function b(e){if(e>=l())throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|e}function w(e){return+e!=e&&(e=0),u.alloc(+e)}function S(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ee(e).length;default:if(r)return X(e).length;t=(""+t).toLowerCase(),r=!0}}function x(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return B(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return R(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,t,n);default:if(r)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function E(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function C(e,t,n,r,o){if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),isNaN(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,o);if("number"==typeof t)return(t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function _(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else -1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,f=0;f<l;f++)if(c(e,i+f)!==c(t,f)){d=!1;break}if(d)return i}return -1}function k(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))break;e[n+a]=s}return a}function O(e,t,n,r){return et(X(t,e.length-n),e,n,r)}function A(e,t,n,r){return et(Q(t),e,n,r)}function I(e,t,n,r){return A(e,t,n,r)}function P(e,t,n,r){return et(ee(t),e,n,r)}function T(e,t,n,r){return et(J(t,e.length-n),e,n,r)}function R(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(i=e[o+1]))==128&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return j(r)}t.lW=u,r=w,t.h2=50,u.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:s(),r=l(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return d(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return p(null,e,t,n)},u.allocUnsafe=function(e){return h(null,e)},u.allocUnsafeSlow=function(e){return h(null,e)},u.isBuffer=function(e){return!!(null!=e&&e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!a(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,r=u.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(!u.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},u.byteLength=S,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)E(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)E(this,t,t+3),E(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)E(this,t,t+7),E(this,t+1,t+6),E(this,t+2,t+5),E(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0==arguments.length?M(this,0,e):x.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.h2;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,o){if(!u.isBuffer(e))throw TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,s=Math.min(i,a),l=this.slice(r,o),c=e.slice(t,n),d=0;d<s;++d)if(l[d]!==c[d]){i=l[d],a=c[d];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return C(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return C(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return k(this,e,t,n);case"utf8":case"utf-8":return O(this,e,t,n);case"ascii":return A(this,e,t,n);case"latin1":case"binary":return I(this,e,t,n);case"base64":return P(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(i)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var N=4096;function j(e){var t=e.length;if(t<=N)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=N));return n}function D(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function L(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function B(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=Y(e[i]);return o}function Z(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function F(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function z(e,t,n,r,o,i){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function U(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>(r?o:1-o)*8}function H(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>(r?o:3-o)*8&255}function q(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function V(e,t,n,r,o){return o||q(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function W(e,t,n,r,o){return o||q(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var o=t-e;n=new u(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},u.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return(t||F(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;z(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;z(this,e,t,n,o,0)}var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):H(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);z(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);z(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):H(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return V(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return V(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return W(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return W(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("sourceStart out of bounds");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o,i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:X(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function G(e){if((e=K(e).replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function K(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Y(e){return e<16?"0"+e.toString(16):e.toString(16)}function X(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function Q(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function J(e,t){for(var n,r,o=[],i=0;i<e.length&&!((t-=2)<0);++i)r=(n=e.charCodeAt(i))>>8,o.push(n%256),o.push(r);return o}function ee(e){return o.toByteArray(G(e))}function et(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function en(e){return e!=e}},41438:function(e,t,n){"use strict";/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */var r=n(26446),o=n(47164),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}function l(e){if(e>a)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return p(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return h(e,t);if(ArrayBuffer.isView(e))return m(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return g(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return c.from(r,t,n);var o=v(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function f(e,t,n){return(d(e),e<=0)?l(e):void 0!==t?"string"==typeof n?l(e).fill(t,n):l(e).fill(t):l(e)}function p(e){return d(e),l(e<0?0:0|y(e))}function h(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!c.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|w(e,t),r=l(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}function m(e){for(var t=e.length<0?0:0|y(e.length),n=l(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function g(e,t,n){var r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),c.prototype),r}function v(e){if(c.isBuffer(e)){var t=0|y(e.length),n=l(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||Q(e.length)?l(0):m(e):"Buffer"===e.type&&Array.isArray(e.data)?m(e.data):void 0}function y(e){if(e>=a)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),c.alloc(+e)}function w(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(o)return r?-1:W(e).length;t=(""+t).toLowerCase(),o=!0}}function S(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,n);case"utf8":case"utf-8":return R(this,t,n);case"ascii":return j(this,t,n);case"latin1":case"binary":return D(this,t,n);case"base64":return T(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function x(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function E(e,t,n,r,o){if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Q(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:C(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):C(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function C(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else -1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,f=0;f<l;f++)if(c(e,i+f)!==c(t,f)){d=!1;break}if(d)return i}return -1}function _(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(Q(s))break;e[n+a]=s}return a}function k(e,t,n,r){return Y(W(t,e.length-n),e,n,r)}function O(e,t,n,r){return Y($(t),e,n,r)}function A(e,t,n,r){return O(e,t,n,r)}function I(e,t,n,r){return Y(K(t),e,n,r)}function P(e,t,n,r){return Y(G(t,e.length-n),e,n,r)}function T(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function R(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(i=e[o+1]))==128&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return N(r)}t.kMaxLength=a,c.TYPED_ARRAY_SUPPORT=s(),c.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,n){return f(e,t,n)},c.allocUnsafe=function(e){return p(e)},c.allocUnsafeSlow=function(e){return p(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(X(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,r=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(X(i,Uint8Array)&&(i=c.from(i)),!c.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},c.byteLength=w,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)x(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)x(this,t,t+3),x(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);return this},c.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?R(this,0,e):S.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},i&&(c.prototype[i]=c.prototype.inspect),c.prototype.compare=function(e,t,n,r,o){if(X(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,s=Math.min(i,a),l=this.slice(r,o),u=e.slice(t,n),d=0;d<s;++d)if(l[d]!==u[d]){i=l[d],a=u[d];break}return i<a?-1:a<i?1:0},c.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return E(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return E(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":return O(this,e,t,n);case"latin1":case"binary":return A(this,e,t,n);case"base64":return I(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,t,n);default:if(i)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function N(e){var t=e.length;if(t<=M)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=M));return n}function j(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function D(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function L(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=J[e[i]];return o}function B(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function Z(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function F(e,t,n,r,o,i){if(!c.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function z(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function U(e,t,n,r,i){return t=+t,n>>>=0,i||z(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function H(e,t,n,r,i){return t=+t,n>>>=0,i||z(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,c.prototype),r},c.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||Z(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},c.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||Z(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},c.prototype.readUInt8=function(e,t){return e>>>=0,t||Z(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||Z(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||Z(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||Z(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||Z(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||Z(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||Z(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return(e>>>=0,t||Z(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||Z(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){e>>>=0,t||Z(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||Z(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||Z(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return e>>>=0,t||Z(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||Z(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||Z(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||Z(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;F(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;F(this,e,t,n,o,0)}var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeFloatLE=function(e,t,n){return U(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return U(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return H(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return H(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(!c.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var i=o-1;i>=0;--i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return o},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=c.isBuffer(e)?e:c.from(e,r),s=a.length;if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var q=/[^+/0-9A-Za-z-_]/g;function V(e){if((e=(e=e.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function W(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function $(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function G(e,t){for(var n,r,o=[],i=0;i<e.length&&!((t-=2)<0);++i)r=(n=e.charCodeAt(i))>>8,o.push(n%256),o.push(r);return o}function K(e){return r.toByteArray(V(e))}function Y(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}var J=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},38996:function(e,t,n){"use strict";n.r(t),n.d(t,{camelCase:function(){return h},camelCaseTransform:function(){return f},camelCaseTransformMerge:function(){return p},capitalCase:function(){return v},capitalCaseTransform:function(){return g},constantCase:function(){return b},dotCase:function(){return w},headerCase:function(){return S},noCase:function(){return s},paramCase:function(){return x},pascalCase:function(){return d},pascalCaseTransform:function(){return c},pascalCaseTransformMerge:function(){return u},pathCase:function(){return E},sentenceCase:function(){return _},sentenceCaseTransform:function(){return C},snakeCase:function(){return k}});var r=n(94154);function o(e){return e.toLowerCase()}var i=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],a=/[^A-Z0-9]+/gi;function s(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,r=void 0===n?i:n,s=t.stripRegexp,c=void 0===s?a:s,u=t.transform,d=void 0===u?o:u,f=t.delimiter,p=void 0===f?" ":f,h=l(l(e,r,"$1\0$2"),c,"\0"),m=0,g=h.length;"\0"===h.charAt(m);)m++;for(;"\0"===h.charAt(g-1);)g--;return h.slice(m,g).split("\0").map(d).join(p)}function l(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce(function(e,t){return e.replace(t,n)},e)}function c(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function u(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function d(e,t){return void 0===t&&(t={}),s(e,(0,r.pi)({delimiter:"",transform:c},t))}function f(e,t){return 0===t?e.toLowerCase():c(e,t)}function p(e,t){return 0===t?e.toLowerCase():u(e)}function h(e,t){return void 0===t&&(t={}),d(e,(0,r.pi)({transform:f},t))}function m(e){return e.charAt(0).toUpperCase()+e.substr(1)}function g(e){return m(e.toLowerCase())}function v(e,t){return void 0===t&&(t={}),s(e,(0,r.pi)({delimiter:" ",transform:g},t))}function y(e){return e.toUpperCase()}function b(e,t){return void 0===t&&(t={}),s(e,(0,r.pi)({delimiter:"_",transform:y},t))}function w(e,t){return void 0===t&&(t={}),s(e,(0,r.pi)({delimiter:"."},t))}function S(e,t){return void 0===t&&(t={}),v(e,(0,r.pi)({delimiter:"-"},t))}function x(e,t){return void 0===t&&(t={}),w(e,(0,r.pi)({delimiter:"-"},t))}function E(e,t){return void 0===t&&(t={}),w(e,(0,r.pi)({delimiter:"/"},t))}function C(e,t){var n=e.toLowerCase();return 0===t?m(n):n}function _(e,t){return void 0===t&&(t={}),s(e,(0,r.pi)({delimiter:" ",transform:C},t))}function k(e,t){return void 0===t&&(t={}),w(e,(0,r.pi)({delimiter:"_"},t))}},29203:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},83849:function(e,t){var n;/*!
  Copyright (c) 2018 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0!==(n=(function(){return o}).apply(t,[]))&&(e.exports=n)}()},6922:function(e,t){"use strict";/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */t.Q=i,t.q=a;var n=decodeURIComponent,r=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},o=t||{},i=e.split(";"),a=o.decode||n,l=0;l<i.length;l++){var c=i[l],u=c.indexOf("=");if(!(u<0)){var d=c.substring(0,u).trim();if(void 0==r[d]){var f=c.substring(u+1,c.length).trim();'"'===f[0]&&(f=f.slice(1,-1)),r[d]=s(f,a)}}}return r}function a(e,t,n){var i=n||{},a=i.encode||r;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!o.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=i.maxAge){var c=i.maxAge-0;if(isNaN(c)||!isFinite(c))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(c)}if(i.domain){if(!o.test(i.domain))throw TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invalid");l+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(l+="; HttpOnly"),i.secure&&(l+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l}function s(e,t){try{return t(e)}catch(t){return e}}},86724:function(e,t,n){"use strict";var r=n(80480),o={"text/plain":"Text","text/html":"Url",default:"Text"},i="Copy to clipboard: #{key}, Enter";function a(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function s(e,t){var n,s,l,c,u,d,f=!1;t||(t={}),n=t.debug||!1;try{if(l=r(),c=document.createRange(),u=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(r){if(r.stopPropagation(),t.format){if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e)}t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(d),c.selectNodeContents(d),u.addRange(c),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),s=a("message"in t?t.message:i),window.prompt(s,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(c):u.removeAllRanges()),d&&document.body.removeChild(d),l()}return f}e.exports=s},54274:function(e){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],i=0;i<4;i++)8*r+6*i<=8*e.length?n.push(t.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(r))>>>6-2*o);return n}};e.exports=n}()},6020:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",f="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,c),i=n-o<0,a=t.clone().add(r+(i?-1:1),c);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return({M:c,y:d,w:l,d:s,D:f,h:a,m:i,s:o,ms:r,Q:u})[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",w={};w[b]=g;var S="$isDayjsObject",x=function(e){return e instanceof k||!(!e||!e[S])},E=function e(t,n,r){var o;if(!t)return b;if("string"==typeof t){var i=t.toLowerCase();w[i]&&(o=i),n&&(w[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;w[s]=t,o=s}return!r&&o&&(b=o),o||!r&&b},C=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},_=y;_.l=E,_.i=x,_.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function g(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[S]=!0}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return _},v.isValid=function(){return this.$d.toString()!==p},v.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return C(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<C(e)},v.$g=function(e,t,n){return _.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!_.u(t)||t,u=_.p(e),p=function(e,t){var o=_.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(s)},h=function(e,t){return _.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case d:return r?p(1,0):p(31,11);case c:return r?p(1,g):p(0,g+1);case l:var b=this.$locale().weekStart||0,w=(m<b?m+7:m)-b;return p(r?v-w:v+(6-w),g);case s:case f:return h(y+"Hours",0);case a:return h(y+"Minutes",1);case i:return h(y+"Seconds",2);case o:return h(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,l=_.p(e),u="set"+(this.$u?"UTC":""),p=((n={})[s]=u+"Date",n[f]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[i]=u+"Minutes",n[o]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],h=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(f,1);m.$d[p](h),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[_.p(e)]()},v.add=function(r,u){var f,p=this;r=Number(r);var h=_.p(u),m=function(e){var t=C(p);return _.w(t.date(t.date()+Math.round(e*r)),p)};if(h===c)return this.set(c,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===s)return m(1);if(h===l)return m(7);var g=((f={})[i]=t,f[a]=n,f[o]=e,f)[h]||1,v=this.$d.getTime()+r*g;return _.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=_.z(this),i=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},f=function(e){return _.s(i%12||12,e,"0")},h=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return _.s(t.$y,4,"0");case"M":return s+1;case"MM":return _.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return _.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return _.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return _.s(a,2,"0");case"s":return String(t.$s);case"ss":return _.s(t.$s,2,"0");case"SSS":return _.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")})},v.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},v.diff=function(r,f,p){var h,m=this,g=_.p(f),v=C(r),y=(v.utcOffset()-this.utcOffset())*t,b=this-v,w=function(){return _.m(m,v)};switch(g){case d:h=w()/12;break;case c:h=w();break;case u:h=w()/3;break;case l:h=(b-y)/6048e5;break;case s:h=(b-y)/864e5;break;case a:h=b/n;break;case i:h=b/t;break;case o:h=b/e;break;default:h=b}return p?h:_.a(h)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return w[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=E(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return _.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),O=k.prototype;return C.prototype=O,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",c],["$y",d],["$D",f]].forEach(function(e){O[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),C.extend=function(e,t){return e.$i||(e(t,k,C),e.$i=!0),C},C.locale=E,C.isDayjs=x,C.unix=function(e){return C(1e3*e)},C.en=w[b],C.Ls=w,C.p={},C})},2785:function(e,t,n){!function(t,r){e.exports=r(n(6020))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),n={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};return t.default.locale(n,null,!0),n})},83898:function(e){!function(t,n){e.exports=n()}(0,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}}})},81488:function(e,t,n){!function(t,r){e.exports=r(n(6020))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),n={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return t.default.locale(n,null,!0),n})},80011:function(e,t,n){!function(t,r){e.exports=r(n(6020))}(0,function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),n={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return t.default.locale(n,null,!0),n})},26584:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var o=this.$utils(),i=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return o.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return o.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return o.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}});return r.bind(this)(i)}}})},46232:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e={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"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,i={},a=function(e){return(e=+e)+(e>68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=i[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=i.meridiem;if(r){for(var o=1;o<=24;o+=1)if(e.indexOf(r(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[o,function(e){this.afternoon=u(e,!1)}],a:[o,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[o,function(e){var t=i.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[o,function(e){var t=c("months"),n=(c("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[o,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){this.year=a(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function f(n){var r,o;r=n,o=i&&i.formats;for(var a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(t),s=a.length,l=0;l<s;l+=1){var c=a[l],u=d[c],f=u&&u[0],p=u&&u[1];a[l]=p?{regex:f,parser:p}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var o=a[n];if("string"==typeof o)r+=o.length;else{var i=o.regex,l=o.parser,c=e.slice(r),u=i.exec(c)[0];l.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(a=e.parseTwoDigitYear);var r=t.prototype,o=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if("string"==typeof s){var l=!0===a[2],c=!0===a[3],u=l||c,d=a[2];c&&(d=a[2]),i=this.$locale(),!l&&d&&(i=n.Ls[d]),this.$d=function(e,t,n){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var r=f(t)(e),o=r.year,i=r.month,a=r.day,s=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,d=r.zone,p=new Date,h=a||(o||i?1:p.getDate()),m=o||p.getFullYear(),g=0;o&&!i||(g=i>0?i-1:p.getMonth());var v=s||0,y=l||0,b=c||0,w=u||0;return d?new Date(Date.UTC(m,g,h,v,y,b,w+60*d.offset*1e3)):n?new Date(Date.UTC(m,g,h,v,y,b,w)):new Date(m,g,h,v,y,b,w)}catch(e){return new Date("")}}(t,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),i={}}else if(s instanceof Array)for(var p=s.length,h=1;h<=p;h+=1){a[1]=s[h-1];var m=n.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}h===p&&(this.$d=new Date(""))}else o.call(this,e)}}})},36005:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e,t,n=1e3,r=6e4,o=36e5,i=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,l=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:31536e6,months:2628e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof y},f=function(e,t,n){return new y(e,n,t.$l)},p=function(e){return t.p(e)+"s"},h=function(e){return e<0},m=function(e){return h(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},v=function(e,t){return e?h(e)?{negative:!0,format:""+g(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},y=function(){function h(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[p(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach(function(t){r.$d[p(t)]=e[t]}),this.calMilliseconds(),this;if("string"==typeof e){var o=e.match(c);if(o){var i=o.slice(2).map(function(e){return null!=e?Number(e):0});return this.$d.years=i[0],this.$d.months=i[1],this.$d.weeks=i[2],this.$d.days=i[3],this.$d.hours=i[4],this.$d.minutes=i[5],this.$d.seconds=i[6],this.calMilliseconds(),this}}return this}var g=h.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce(function(t,n){return t+(e.$d[n]||0)*u[n]},0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=m(e/s),e%=s,this.$d.months=m(e/l),e%=l,this.$d.days=m(e/i),e%=i,this.$d.hours=m(e/o),e%=o,this.$d.minutes=m(e/r),e%=r,this.$d.seconds=m(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=v(this.$d.years,"Y"),t=v(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=v(n,"D"),o=v(this.$d.hours,"H"),i=v(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=v(a,"S"),l=e.negative||t.negative||r.negative||o.negative||i.negative||s.negative,c=o.format||i.format||s.format?"T":"",u=(l?"-":"")+"P"+e.format+t.format+r.format+c+o.format+i.format+s.format;return"P"===u||"-P"===u?"P0D":u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,function(e,t){return t||String(r[e])})},g.as=function(e){return this.$ms/u[p(e)]},g.get=function(e){var t=this.$ms,n=p(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?m(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r;return r=t?e*u[p(t)]:d(e)?e.$ms:f(e,this).$ms,f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get("milliseconds")},g.asMilliseconds=function(){return this.as("milliseconds")},g.seconds=function(){return this.get("seconds")},g.asSeconds=function(){return this.as("seconds")},g.minutes=function(){return this.get("minutes")},g.asMinutes=function(){return this.as("minutes")},g.hours=function(){return this.get("hours")},g.asHours=function(){return this.as("hours")},g.days=function(){return this.get("days")},g.asDays=function(){return this.as("days")},g.weeks=function(){return this.get("weeks")},g.asWeeks=function(){return this.as("weeks")},g.months=function(){return this.get("months")},g.asMonths=function(){return this.as("months")},g.years=function(){return this.get("years")},g.asYears=function(){return this.as("years")},h}(),b=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,o){e=o,t=o().$utils(),o.duration=function(e,t){return f(e,{$l:o.locale()},t)},o.isDuration=d;var i=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?b(this,e,1):i.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?b(this,e,-1):a.bind(this)(e,t)}}})},12019:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e,t,n){t.prototype.isBetween=function(e,t,r,o){var i=n(e),a=n(t),s="("===(o=o||"()")[0],l=")"===o[1];return(s?this.isAfter(i,r):!this.isBefore(i,r))&&(l?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(i,r):!this.isAfter(i,r))&&(l?this.isAfter(a,r):!this.isBefore(a,r))}}})},27804:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e,t,n){var r=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,n,r,i){var a=e.name?e:e.$locale(),s=o(a[t]),l=o(a[n]),c=s||l.map(function(e){return e.slice(0,r)});if(!i)return c;var u=a.weekStart;return c.map(function(e,t){return c[(t+(u||0))%7]})},a=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})}(e.formats[t.toUpperCase()])},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.bind(this)()},n.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return i(a(),"months")},n.monthsShort=function(){return i(a(),"monthsShort","months",3)},n.weekdays=function(e){return i(a(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}})},8860:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e={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"};return function(t,n,r){var o=n.prototype,i=o.format;r.en.formats=e,o.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,r,o){var i=o&&o.toUpperCase();return r||n[o]||e[o]||n[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})}(t,void 0===n?{}:n);return i.call(this,r)}}})},6047:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e,t,n){e=e||{};var r=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,t,n,o){return r.fromToBase(e,t,n,o)}n.en.relativeTime=o,r.fromToBase=function(t,r,i,a,s){for(var l,c,u,d=i.$locale().relativeTime||o,f=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=f.length,h=0;h<p;h+=1){var m=f[h];m.d&&(l=a?n(t).diff(i,m.d,!0):i.diff(t,m.d,!0));var g=(e.rounding||Math.round)(Math.abs(l));if(u=l>0,g<=m.r||!m.r){g<=1&&h>0&&(m=f[h-1]);var v=d[m.l];s&&(g=s(""+g)),c="string"==typeof v?v.replace("%d",g):v(g,r,m.l,u);break}}if(r)return c;var y=u?d.future:d.past;return"function"==typeof y?y(c):y.replace("%s",c)},r.to=function(e,t){return i(e,t,this,!0)},r.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}}})},35547:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){var t={date:e,utc:!0,args:arguments};return new o(t)},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r)))return this;var a=16>=Math.abs(r)?60*r:r,s=this;if(o)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),o=i(e).local();return f.call(r,o,t,n)}}})},31790:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e="week",t="year";return function(n,r,o){var i=r.prototype;i.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(r),a=o(this).endOf(e);if(i.isBefore(a))return 1}var s=o(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}})},63588:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}})},41309:function(e){!function(t,n){e.exports=n()}(0,function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}})},64876:function(e){"use strict";var t=function(e){return n(e)&&!r(e)};function n(e){return!!e&&"object"==typeof e}function r(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||i(e)}var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e){return e.$$typeof===o}function a(e){return Array.isArray(e)?[]:{}}function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?m(a(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return s(e,n)})}function c(e,t){if(!t.customMerge)return m;var n=t.customMerge(e);return"function"==typeof n?n:m}function u(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function d(e){return Object.keys(e).concat(u(e))}function f(e,t){try{return t in e}catch(e){return!1}}function p(e,t){return f(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&d(e).forEach(function(t){r[t]=s(e[t],n)}),d(t).forEach(function(o){p(e,o)||(f(e,o)&&n.isMergeableObject(t[o])?r[o]=c(o,n)(e[o],t[o],n):r[o]=s(t[o],n))}),r}function m(e,n,r){(r=r||{}).arrayMerge=r.arrayMerge||l,r.isMergeableObject=r.isMergeableObject||t,r.cloneUnlessOtherwiseSpecified=s;var o=Array.isArray(n);return o!==Array.isArray(e)?s(n,r):o?r.arrayMerge(e,n,r):h(e,n,r)}m.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return m(e,n,t)},{})};var g=m;e.exports=g},759:function(e){"use strict";var t={single_source_shortest_paths:function(e,n,r){var o,i,a,s,l,c,u,d={},f={};f[n]=0;var p=t.PriorityQueue.make();for(p.push(n,0);!p.empty();)for(a in i=(o=p.pop()).value,s=o.cost,l=e[i]||{})l.hasOwnProperty(a)&&(c=s+l[a],u=f[a],(void 0===f[a]||u>c)&&(f[a]=c,p.push(a,c),d[a]=i));if(void 0!==r&&void 0===f[r])throw Error(["Could not find a path from ",n," to ",r,"."].join(""));return d},extract_shortest_path_from_predecessor_list:function(e,t){for(var n,r=[],o=t;o;)r.push(o),n=e[o],o=e[o];return r.reverse(),r},find_path:function(e,n,r){var o=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,o={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},16471:function(e){"use strict";e.exports=i;var t="֑-߿יִ-﷽ﹰ-ﻼ",n="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",r=RegExp("^[^"+n+"]*["+t+"]"),o=RegExp("^[^"+t+"]*["+n+"]");function i(e){return(e=String(e||""),r.test(e))?"rtl":o.test(e)?"ltr":"neutral"}},73668:function(e){"use strict";e.exports=function(e){for(var t=[],n=e.length,r=0;r<n;r++){var o=e.charCodeAt(r);if(o>=55296&&o<=56319&&n>r+1){var i=e.charCodeAt(r+1);i>=56320&&i<=57343&&(o=(o-55296)*1024+i-56320+65536,r+=1)}if(o<128){t.push(o);continue}if(o<2048){t.push(o>>6|192),t.push(63&o|128);continue}if(o<55296||o>=57344&&o<65536){t.push(o>>12|224),t.push(o>>6&63|128),t.push(63&o|128);continue}if(o>=65536&&o<=1114111){t.push(o>>18|240),t.push(o>>12&63|128),t.push(o>>6&63|128),t.push(63&o|128);continue}t.push(239,191,189)}return new Uint8Array(t).buffer}},35728:function(e,t,n){var r;e=n.nmd(e),function(o){e&&e.exports;var i="object"==typeof n.g&&n.g;(i.global===i||i.window===i)&&(o=i);var a=/([\0-\u02FF\u0370-\u1AAF\u1B00-\u1DBF\u1E00-\u20CF\u2100-\uD7FF\uE000-\uFE1F\uFE30-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])([\u0300-\u036F\u1AB0-\u1AFF\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]+)/g,s=/([\uD800-\uDBFF])([\uDC00-\uDFFF])/g,l=function(e){e=e.replace(a,function(e,t,n){return l(n)+t}).replace(s,"$2$1");for(var t="",n=e.length;n--;)t+=e.charAt(n);return t},c={version:"0.2.0",reverse:l};void 0!==(r=(function(){return c}).call(t,n,t,e))&&(e.exports=r)}(this)},47324:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function o(e){console&&console.warn&&console.warn(e)}t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=y,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function l(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){if(l(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"==typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=c(e))>0&&s.length>i&&!s.warned){s.warned=!0;var i,a,s,u=Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,o(u)}return e}function d(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=d.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?v(o):m(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function v(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function y(e,t){return new Promise(function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}w(e,t,i,{once:!0}),"error"!==t&&b(e,o,{once:!0})})}function b(e,t,n){"function"==typeof e.on&&w(e,"error",t,n)}function w(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else if("function"==typeof e.addEventListener)e.addEventListener(t,function o(i){r.once&&e.removeEventListener(t,o),n(i)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else for(var c=l.length,u=m(l,c),n=0;n<c;++n)r(u[n],this,t);return!0},a.prototype.addListener=function(e,t){return u(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return u(this,e,t,!0)},a.prototype.once=function(e,t){return l(t),this.on(e,f(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,f(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,o,i,a;if(l(t),void 0===(r=this._events)||void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():g(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0==arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},a.prototype.listenerCount=h,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},90734:function(e,t,n){"use strict";let r=n(22001),o=n(16579),i=n(12405);e.exports={XMLParser:o,XMLValidator:r,XMLBuilder:i}},427:function(e,t){"use strict";let n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r=n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",o="["+n+"]["+r+"]*",i=RegExp("^"+o+"$"),a=function(e,t){let n=[],r=t.exec(e);for(;r;){let o=[];o.startIndex=t.lastIndex-r[0].length;let i=r.length;for(let e=0;e<i;e++)o.push(r[e]);n.push(o),r=t.exec(e)}return n},s=function(e){return null!=i.exec(e)};t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,n){if(t){let r=Object.keys(t),o=r.length;for(let i=0;i<o;i++)"strict"===n?e[r[i]]=[t[r[i]]]:e[r[i]]=t[r[i]]}},t.getValue=function(e){return t.isExist(e)?e:""},t.isName=s,t.getAllMatches=a,t.nameRegexp=o},22001:function(e,t,n){"use strict";let r=n(427),o={allowBooleanAttributes:!1,unpairedTags:[]};function i(e){return" "===e||"	"===e||"\n"===e||"\r"===e}function a(e,t){let n=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let r=e.substr(n,t-n);if(t>5&&"xml"===r)return m("InvalidXml","XML declaration allowed only at the start of the document.",y(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t<e.length;t++)if("<"===e[t])n++;else if(">"===e[t]&&0==--n)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}t.validate=function(e,t){t=Object.assign({},o,t);let n=[],r=!1,l=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let o=0;o<e.length;o++)if("<"===e[o]&&"?"===e[o+1]){if(o+=2,(o=a(e,o)).err)return o}else if("<"===e[o]){let c=o;if("!"===e[++o]){o=s(e,o);continue}{let d=!1;"/"===e[o]&&(d=!0,o++);let p="";for(;o<e.length&&">"!==e[o]&&" "!==e[o]&&"	"!==e[o]&&"\n"!==e[o]&&"\r"!==e[o];o++)p+=e[o];if("/"===(p=p.trim())[p.length-1]&&(p=p.substring(0,p.length-1),o--),!v(p)){let t;return m("InvalidTag",t=0===p.trim().length?"Invalid space after '<'.":"Tag '"+p+"' is an invalid name.",y(e,o))}let g=u(e,o);if(!1===g)return m("InvalidAttr","Attributes for '"+p+"' have open quote.",y(e,o));let b=g.value;if(o=g.index,"/"===b[b.length-1]){let n=o-b.length,i=f(b=b.substring(0,b.length-1),t);if(!0!==i)return m(i.err.code,i.err.msg,y(e,n+i.err.line));r=!0}else if(d){if(!g.tagClosed)return m("InvalidTag","Closing tag '"+p+"' doesn't have proper closing.",y(e,o));if(b.trim().length>0)return m("InvalidTag","Closing tag '"+p+"' can't have attributes or invalid starting.",y(e,c));{let t=n.pop();if(p!==t.tagName){let n=y(e,t.tagStartPos);return m("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+p+"'.",y(e,c))}0==n.length&&(l=!0)}}else{let i=f(b,t);if(!0!==i)return m(i.err.code,i.err.msg,y(e,o-b.length+i.err.line));if(!0===l)return m("InvalidXml","Multiple possible root nodes found.",y(e,o));-1!==t.unpairedTags.indexOf(p)||n.push({tagName:p,tagStartPos:c}),r=!0}for(o++;o<e.length;o++)if("<"===e[o]){if("!"===e[o+1]){o=s(e,++o);continue}if("?"===e[o+1]){if((o=a(e,++o)).err)return o}else break}else if("&"===e[o]){let t=h(e,o);if(-1==t)return m("InvalidChar","char '&' is not expected.",y(e,o));o=t}else if(!0===l&&!i(e[o]))return m("InvalidXml","Extra text at the end",y(e,o));"<"===e[o]&&o--}}else{if(i(e[o]))continue;return m("InvalidChar","char '"+e[o]+"' is not expected.",y(e,o))}return r?1==n.length?m("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",y(e,n[0].tagStartPos)):!(n.length>0)||m("InvalidXml","Invalid '"+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):m("InvalidXml","Start tag expected.",1)};let l='"',c="'";function u(e,t){let n="",r="",o=!1;for(;t<e.length;t++){if(e[t]===l||e[t]===c)""===r?r=e[t]:r!==e[t]||(r="");else if(">"===e[t]&&""===r){o=!0;break}n+=e[t]}return""===r&&{value:n,index:t,tagClosed:o}}let d=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function f(e,t){let n=r.getAllMatches(e,d),o={};for(let e=0;e<n.length;e++){if(0===n[e][1].length)return m("InvalidAttr","Attribute '"+n[e][2]+"' has no space in starting.",b(n[e]));if(void 0!==n[e][3]&&void 0===n[e][4])return m("InvalidAttr","Attribute '"+n[e][2]+"' is without value.",b(n[e]));if(void 0===n[e][3]&&!t.allowBooleanAttributes)return m("InvalidAttr","boolean attribute '"+n[e][2]+"' is not allowed.",b(n[e]));let r=n[e][2];if(!g(r))return m("InvalidAttr","Attribute '"+r+"' is an invalid name.",b(n[e]));if(o.hasOwnProperty(r))return m("InvalidAttr","Attribute '"+r+"' is repeated.",b(n[e]));o[r]=1}return!0}function p(e,t){let n=/\d/;for("x"===e[t]&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(n))break}return -1}function h(e,t){if(";"===e[++t])return -1;if("#"===e[t])return p(e,++t);let n=0;for(;t<e.length;t++,n++)if(!e[t].match(/\w/)||!(n<20)){if(";"===e[t])break;return -1}return t}function m(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function g(e){return r.isName(e)}function v(e){return r.isName(e)}function y(e,t){let n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function b(e){return e.startIndex+e[1].length}},12405:function(e,t,n){"use strict";let r=n(53224),o={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:"  ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function i(e){this.options=Object.assign({},o,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=a,this.options.format?(this.indentate=s,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function a(e,t,n){let r=this.j2x(e,n+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,r.attrStr,n):this.buildObjectNode(r.val,t,r.attrStr,n)}function s(e){return this.options.indentBy.repeat(e)}function l(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e.substr(this.attrPrefixLen)}i.prototype.build=function(e){return this.options.preserveOrder?r(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)},i.prototype.j2x=function(e,t){let n="",r="";for(let o in e)if(void 0===e[o]);else if(null===e[o])"?"===o[0]?r+=this.indentate(t)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(t)+"<"+o+"/"+this.tagEndChar;else if(e[o]instanceof Date)r+=this.buildTextValNode(e[o],o,"",t);else if("object"!=typeof e[o]){let i=this.isAttribute(o);if(i)n+=this.buildAttrPairStr(i,""+e[o]);else if(o===this.options.textNodeName){let t=this.options.tagValueProcessor(o,""+e[o]);r+=this.replaceEntitiesValue(t)}else r+=this.buildTextValNode(e[o],o,"",t)}else if(Array.isArray(e[o])){let n=e[o].length,i="";for(let a=0;a<n;a++){let n=e[o][a];void 0===n||(null===n?"?"===o[0]?r+=this.indentate(t)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(t)+"<"+o+"/"+this.tagEndChar:"object"==typeof n?this.options.oneListGroup?i+=this.j2x(n,t+1).val:i+=this.processTextOrObjNode(n,o,t):i+=this.buildTextValNode(n,o,"",t))}this.options.oneListGroup&&(i=this.buildObjectNode(i,o,"",t)),r+=i}else if(this.options.attributesGroupName&&o===this.options.attributesGroupName){let t=Object.keys(e[o]),r=t.length;for(let i=0;i<r;i++)n+=this.buildAttrPairStr(t[i],""+e[o][t[i]])}else r+=this.processTextOrObjNode(e[o],o,t);return{attrStr:n,val:r}},i.prototype.buildAttrPairStr=function(e,t){return(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+t+'"'},i.prototype.buildObjectNode=function(e,t,n,r){if(""===e)return"?"===t[0]?this.indentate(r)+"<"+t+n+"?"+this.tagEndChar:this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar;{let o="</"+t+this.tagEndChar,i="";return("?"===t[0]&&(i="?",o=""),n&&-1===e.indexOf("<"))?this.indentate(r)+"<"+t+n+i+">"+e+o:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===i.length?this.indentate(r)+`<!--${e}-->`+this.newLine:this.indentate(r)+"<"+t+n+i+this.tagEndChar+e+this.indentate(r)+o}},i.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},i.prototype.buildTextValNode=function(e,t,n,r){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(r)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(r)+`<!--${e}-->`+this.newLine;if("?"===t[0])return this.indentate(r)+"<"+t+n+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(t,e);return""===(o=this.replaceEntitiesValue(o))?this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+"<"+t+n+">"+o+"</"+t+this.tagEndChar}},i.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let n=this.options.entities[t];e=e.replace(n.regex,n.val)}return e},e.exports=i},53224:function(e){let t="\n";function n(e,n){let o="";return n.format&&n.indentBy.length>0&&(o=t),r(e,n,"",o)}function r(e,t,n,l){let c="",u=!1;for(let d=0;d<e.length;d++){let f=e[d],p=o(f),h="";if(h=0===n.length?p:`${n}.${p}`,p===t.textNodeName){let e=f[p];a(h,t)||(e=s(e=t.tagValueProcessor(p,e),t)),u&&(c+=l),c+=e,u=!1;continue}if(p===t.cdataPropName){u&&(c+=l),c+=`<![CDATA[${f[p][0][t.textNodeName]}]]>`,u=!1;continue}if(p===t.commentPropName){c+=l+`<!--${f[p][0][t.textNodeName]}-->`,u=!0;continue}if("?"===p[0]){let e=i(f[":@"],t),n="?xml"===p?"":l,r=f[p][0][t.textNodeName];r=0!==r.length?" "+r:"",c+=n+`<${p}${r}${e}?>`,u=!0;continue}let m=l;""!==m&&(m+=t.indentBy);let g=i(f[":@"],t),v=l+`<${p}${g}`,y=r(f[p],t,h,m);-1!==t.unpairedTags.indexOf(p)?t.suppressUnpairedNode?c+=v+">":c+=v+"/>":(!y||0===y.length)&&t.suppressEmptyNode?c+=v+"/>":y&&y.endsWith(">")?c+=v+`>${y}${l}</${p}>`:(c+=v+">",y&&""!==l&&(y.includes("/>")||y.includes("</"))?c+=l+t.indentBy+y+l:c+=y,c+=`</${p}>`),u=!0}return c}function o(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let n=t[e];if(":@"!==n)return n}}function i(e,t){let n="";if(e&&!t.ignoreAttributes)for(let r in e){let o=t.attributeValueProcessor(r,e[r]);!0===(o=s(o,t))&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}="${o}"`}return n}function a(e,t){let n=(e=e.substr(0,e.length-t.textNodeName.length-1)).substr(e.lastIndexOf(".")+1);for(let r in t.stopNodes)if(t.stopNodes[r]===e||t.stopNodes[r]==="*."+n)return!0;return!1}function s(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n<t.entities.length;n++){let r=t.entities[n];e=e.replace(r.regex,r.val)}return e}e.exports=n},45738:function(e,t,n){let r=n(427);function o(e,t){let n={};if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let r=1,o=!1,f=!1,p="";for(;t<e.length;t++)if("<"!==e[t]||f){if(">"===e[t]){if(f?"-"===e[t-1]&&"-"===e[t-2]&&(f=!1,r--):r--,0===r)break}else"["===e[t]?o=!0:p+=e[t]}else{if(o&&s(e,t))t+=7,[entityName,val,t]=i(e,t+1),-1===val.indexOf("&")&&(n[d(entityName)]={regx:RegExp(`&${entityName};`,"g"),val:val});else if(o&&l(e,t))t+=8;else if(o&&c(e,t))t+=8;else if(o&&u(e,t))t+=9;else if(a)f=!0;else throw Error("Invalid DOCTYPE");r++,p=""}if(0!==r)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:t}}function i(e,t){let n="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)n+=e[t];if(-1!==(n=n.trim()).indexOf(" "))throw Error("External entites are not supported");let r=e[t++],o="";for(;t<e.length&&e[t]!==r;t++)o+=e[t];return[n,o,t]}function a(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}function s(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"N"===e[t+3]&&"T"===e[t+4]&&"I"===e[t+5]&&"T"===e[t+6]&&"Y"===e[t+7]}function l(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"L"===e[t+3]&&"E"===e[t+4]&&"M"===e[t+5]&&"E"===e[t+6]&&"N"===e[t+7]&&"T"===e[t+8]}function c(e,t){return"!"===e[t+1]&&"A"===e[t+2]&&"T"===e[t+3]&&"T"===e[t+4]&&"L"===e[t+5]&&"I"===e[t+6]&&"S"===e[t+7]&&"T"===e[t+8]}function u(e,t){return"!"===e[t+1]&&"N"===e[t+2]&&"O"===e[t+3]&&"T"===e[t+4]&&"A"===e[t+5]&&"T"===e[t+6]&&"I"===e[t+7]&&"O"===e[t+8]&&"N"===e[t+9]}function d(e){if(r.isName(e))return e;throw Error(`Invalid entity name ${e}`)}e.exports=o},70155:function(e,t){let n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e}},r=function(e){return Object.assign({},n,e)};t.buildOptions=r,t.defaultOptions=n},95767:function(e,t,n){"use strict";let r=n(427),o=n(60643),i=n(45738),a=n(82718);"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,r.nameRegexp);class s{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"₹"}},this.addExternalEntities=l,this.parseXml=p,this.parseTextData=c,this.resolveNameSpace=u,this.buildAttributesMap=f,this.isItStopNode=v,this.replaceEntitiesValue=m,this.readStopNodeData=S,this.saveTextToParentTag=g,this.addChild=h}}function l(e){let t=Object.keys(e);for(let n=0;n<t.length;n++){let r=t[n];this.lastEntities[r]={regex:RegExp("&"+r+";","g"),val:e[r]}}}function c(e,t,n,r,o,i,a){if(void 0!==e&&(this.options.trimValues&&!r&&(e=e.trim()),e.length>0)){a||(e=this.replaceEntitiesValue(e));let r=this.options.tagValueProcessor(t,e,n,o,i);return null==r?e:typeof r!=typeof e||r!==e?r:this.options.trimValues?x(e,this.options.parseTagValue,this.options.numberParseOptions):e.trim()===e?x(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function u(e){if(this.options.removeNSPrefix){let t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}let d=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function f(e,t,n){if(!this.options.ignoreAttributes&&"string"==typeof e){let n=r.getAllMatches(e,d),o=n.length,i={};for(let e=0;e<o;e++){let r=this.resolveNameSpace(n[e][1]),o=n[e][4],a=this.options.attributeNamePrefix+r;if(r.length){if(this.options.transformAttributeName&&(a=this.options.transformAttributeName(a)),"__proto__"===a&&(a="#__proto__"),void 0!==o){this.options.trimValues&&(o=o.trim()),o=this.replaceEntitiesValue(o);let e=this.options.attributeValueProcessor(r,o,t);null==e?i[a]=o:typeof e!=typeof o||e!==o?i[a]=e:i[a]=x(o,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(i[a]=!0)}}if(Object.keys(i).length){if(this.options.attributesGroupName){let e={};return e[this.options.attributesGroupName]=i,e}return i}}}let p=function(e){e=e.replace(/\r\n?/g,"\n");let t=new o("!xml"),n=t,r="",a="";for(let s=0;s<e.length;s++)if("<"===e[s]){if("/"===e[s+1]){let t=b(e,">",s,"Closing Tag is not closed."),o=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){let e=o.indexOf(":");-1!==e&&(o=o.substr(e+1))}this.options.transformTagName&&(o=this.options.transformTagName(o)),n&&(r=this.saveTextToParentTag(r,n,a));let i=a.substring(a.lastIndexOf(".")+1);if(o&&-1!==this.options.unpairedTags.indexOf(o))throw Error(`Unpaired tag can not be used as closing tag: </${o}>`);let l=0;i&&-1!==this.options.unpairedTags.indexOf(i)?(l=a.lastIndexOf(".",a.lastIndexOf(".")-1),this.tagsNodeStack.pop()):l=a.lastIndexOf("."),a=a.substring(0,l),n=this.tagsNodeStack.pop(),r="",s=t}else if("?"===e[s+1]){let t=w(e,s,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,a),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{let e=new o(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,a,t.tagName)),this.addChild(n,e,a)}s=t.closeIndex+1}else if("!--"===e.substr(s+1,3)){let t=b(e,"-->",s+4,"Comment is not closed.");if(this.options.commentPropName){let o=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,n,a),n.add(this.options.commentPropName,[{[this.options.textNodeName]:o}])}s=t}else if("!D"===e.substr(s+1,2)){let t=i(e,s);this.docTypeEntities=t.entities,s=t.i}else if("!["===e.substr(s+1,2)){let t=b(e,"]]>",s,"CDATA is not closed.")-2,o=e.substring(s+9,t);if(r=this.saveTextToParentTag(r,n,a),this.options.cdataPropName)n.add(this.options.cdataPropName,[{[this.options.textNodeName]:o}]);else{let e=this.parseTextData(o,n.tagname,a,!0,!1,!0);void 0==e&&(e=""),n.add(this.options.textNodeName,e)}s=t+2}else{let i=w(e,s,this.options.removeNSPrefix),l=i.tagName,c=i.tagExp,u=i.attrExpPresent,d=i.closeIndex;this.options.transformTagName&&(l=this.options.transformTagName(l)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,a,!1));let f=n;if(f&&-1!==this.options.unpairedTags.indexOf(f.tagname)&&(n=this.tagsNodeStack.pop(),a=a.substring(0,a.lastIndexOf("."))),l!==t.tagname&&(a+=a?"."+l:l),this.isItStopNode(this.options.stopNodes,a,l)){let t="";if(c.length>0&&c.lastIndexOf("/")===c.length-1)s=i.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(l))s=i.closeIndex;else{let n=this.readStopNodeData(e,l,d+1);if(!n)throw Error(`Unexpected end of ${l}`);s=n.i,t=n.tagContent}let r=new o(l);l!==c&&u&&(r[":@"]=this.buildAttributesMap(c,a,l)),t&&(t=this.parseTextData(t,l,a,!0,u,!0,!0)),a=a.substr(0,a.lastIndexOf(".")),r.add(this.options.textNodeName,t),this.addChild(n,r,a)}else{if(c.length>0&&c.lastIndexOf("/")===c.length-1){c="/"===l[l.length-1]?l=l.substr(0,l.length-1):c.substr(0,c.length-1),this.options.transformTagName&&(l=this.options.transformTagName(l));let e=new o(l);l!==c&&u&&(e[":@"]=this.buildAttributesMap(c,a,l)),this.addChild(n,e,a),a=a.substr(0,a.lastIndexOf("."))}else{let e=new o(l);this.tagsNodeStack.push(n),l!==c&&u&&(e[":@"]=this.buildAttributesMap(c,a,l)),this.addChild(n,e,a),n=e}r="",s=d}}}else r+=e[s];return t.child};function h(e,t,n){let r=this.options.updateTag(t.tagname,n,t[":@"]);!1===r||("string"==typeof r&&(t.tagname=r),e.addChild(t))}let m=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){let n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){let n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){let n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function g(e,t,n,r){return e&&(void 0===r&&(r=0===Object.keys(t.child).length),void 0!==(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,r))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function v(e,t,n){let r="*."+n;for(let n in e){let o=e[n];if(r===o||t===o)return!0}return!1}function y(e,t,n=">"){let r;let o="";for(let i=t;i<e.length;i++){let t=e[i];if(r)t===r&&(r="");else if('"'===t||"'"===t)r=t;else if(t===n[0]){if(!n[1]||e[i+1]===n[1])return{data:o,index:i}}else"	"===t&&(t=" ");o+=t}}function b(e,t,n,r){let o=e.indexOf(t,n);if(-1!==o)return o+t.length-1;throw Error(r)}function w(e,t,n,r=">"){let o=y(e,t+1,r);if(!o)return;let i=o.data,a=o.index,s=i.search(/\s/),l=i,c=!0;if(-1!==s&&(l=i.substr(0,s).replace(/\s\s*$/,""),i=i.substr(s+1)),n){let e=l.indexOf(":");-1!==e&&(c=(l=l.substr(e+1))!==o.data.substr(e+1))}return{tagName:l,tagExp:i,closeIndex:a,attrExpPresent:c}}function S(e,t,n){let r=n,o=1;for(;n<e.length;n++)if("<"===e[n]){if("/"===e[n+1]){let i=b(e,">",n,`${t} is not closed`);if(e.substring(n+2,i).trim()===t&&0==--o)return{tagContent:e.substring(r,n),i:i};n=i}else if("?"===e[n+1])n=b(e,"?>",n+1,"StopNode is not closed.");else if("!--"===e.substr(n+1,3))n=b(e,"-->",n+3,"StopNode is not closed.");else if("!["===e.substr(n+1,2))n=b(e,"]]>",n,"StopNode is not closed.")-2;else{let r=w(e,n,">");r&&((r&&r.tagName)===t&&"/"!==r.tagExp[r.tagExp.length-1]&&o++,n=r.closeIndex)}}}function x(e,t,n){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&a(e,n)}return r.isExist(e)?e:""}e.exports=s},16579:function(e,t,n){let{buildOptions:r}=n(70155),o=n(95767),{prettify:i}=n(21210),a=n(22001);class s{constructor(e){this.externalEntities={},this.options=r(e)}parse(e,t){if("string"==typeof e);else if(e.toString)e=e.toString();else throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let n=a.validate(e,t);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}let n=new o(this.options);n.addExternalEntities(this.externalEntities);let r=n.parseXml(e);return this.options.preserveOrder||void 0===r?r:i(r,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}e.exports=s},21210:function(e,t){"use strict";function n(e,t){return r(e,t)}function r(e,t,n){let s;let l={};for(let c=0;c<e.length;c++){let u=e[c],d=o(u),f="";if(f=void 0===n?d:n+"."+d,d===t.textNodeName)void 0===s?s=u[d]:s+=""+u[d];else if(void 0===d)continue;else if(u[d]){let e=r(u[d],t,f),n=a(e,t);u[":@"]?i(e,u[":@"],f,t):1!==Object.keys(e).length||void 0===e[t.textNodeName]||t.alwaysCreateTextNode?0===Object.keys(e).length&&(t.alwaysCreateTextNode?e[t.textNodeName]="":e=""):e=e[t.textNodeName],void 0!==l[d]&&l.hasOwnProperty(d)?(Array.isArray(l[d])||(l[d]=[l[d]]),l[d].push(e)):t.isArray(d,f,n)?l[d]=[e]:l[d]=e}}return"string"==typeof s?s.length>0&&(l[t.textNodeName]=s):void 0!==s&&(l[t.textNodeName]=s),l}function o(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let n=t[e];if(":@"!==n)return n}}function i(e,t,n,r){if(t){let o=Object.keys(t),i=o.length;for(let a=0;a<i;a++){let i=o[a];r.isArray(i,n+"."+i,!0,!0)?e[i]=[t[i]]:e[i]=t[i]}}}function a(e,t){let{textNodeName:n}=t,r=Object.keys(e).length;return 0===r||1===r&&(!!e[n]||"boolean"==typeof e[n]||0===e[n])}t.prettify=n},60643:function(e){"use strict";class t{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child})}}e.exports=t},59057:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=f();return function(){var n,r=p(e);return n=t?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),u(this,n)}}function u(e,t){return t&&("object"===r(t)||"function"==typeof t)?t:d(e)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=n(44194),g=n(56321),v=n(7862),y=n(15190),b=function(e){s(n,e);var t=c(n);function n(e){var r;return o(this,n),h(d(r=t.call(this,e)),"setFocusTrapElement",function(e){r.focusTrapElement=e}),"undefined"!=typeof document&&(r.previouslyFocusedElement=document.activeElement),r}return a(n,[{key:"componentDidMount",value:function(){var e=this.props.focusTrapOptions,t={returnFocusOnDeactivate:!1};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&"returnFocusOnDeactivate"!==n&&(t[n]=e[n]);var r=g.findDOMNode(this.focusTrapElement);this.focusTrap=this.props._createFocusTrap(r,t),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()}},{key:"componentDidUpdate",value:function(e){if(e.active&&!this.props.active){var t={returnFocus:this.props.focusTrapOptions.returnFocusOnDeactivate||!1};this.focusTrap.deactivate(t)}else!e.active&&this.props.active&&this.focusTrap.activate();e.paused&&!this.props.paused?this.focusTrap.unpause():!e.paused&&this.props.paused&&this.focusTrap.pause()}},{key:"componentWillUnmount",value:function(){this.focusTrap.deactivate(),!1!==this.props.focusTrapOptions.returnFocusOnDeactivate&&this.previouslyFocusedElement&&this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus()}},{key:"render",value:function(){var e=this,t=m.Children.only(this.props.children),n=function(n){e.setFocusTrapElement(n),"function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)};return m.cloneElement(t,{ref:n})}}]),n}(m.Component),w="undefined"==typeof Element?Function:Element;b.propTypes={active:v.bool,paused:v.bool,focusTrapOptions:v.shape({onActivate:v.func,onDeactivate:v.func,initialFocus:v.oneOfType([v.instanceOf(w),v.string,v.func]),fallbackFocus:v.oneOfType([v.instanceOf(w),v.string,v.func]),escapeDeactivates:v.bool,clickOutsideDeactivates:v.bool,returnFocusOnDeactivate:v.bool,setReturnFocus:v.oneOfType([v.instanceOf(w),v.string,v.func]),allowOutsideClick:v.func,preventScroll:v.bool}),children:v.oneOfType([v.element,v.instanceOf(w)])},b.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:y},e.exports=b},15190:function(e,t,n){var r,o=n(14674),i=n(31693),a=function(){var e=[];return{activateTrap:function(t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},deactivateTrap:function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}}}();function s(e,t){var n=document,s="string"==typeof e?n.querySelector(e):e,f=i({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),p={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},h={activate:m,deactivate:g,pause:v,unpause:y};return h;function m(e){if(!p.active){I(),p.active=!0,p.paused=!1,p.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:f.onActivate;return t&&t(),b(),h}}function g(e){if(p.active){clearTimeout(r),w(),p.active=!1,p.paused=!1,a.deactivateTrap(h);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:f.onDeactivate;t&&t();var n=e&&void 0!==e.returnFocus?e.returnFocus:f.returnFocusOnDeactivate;return n&&d(function(){P(E(p.nodeFocusedBeforeActivation))}),h}}function v(){!p.paused&&p.active&&(p.paused=!0,w())}function y(){p.paused&&p.active&&(p.paused=!1,I(),b())}function b(){if(p.active)return a.activateTrap(h),r=d(function(){P(x())}),n.addEventListener("focusin",_,!0),n.addEventListener("mousedown",C,{capture:!0,passive:!1}),n.addEventListener("touchstart",C,{capture:!0,passive:!1}),n.addEventListener("click",A,{capture:!0,passive:!1}),n.addEventListener("keydown",k,{capture:!0,passive:!1}),h}function w(){if(p.active)return n.removeEventListener("focusin",_,!0),n.removeEventListener("mousedown",C,!0),n.removeEventListener("touchstart",C,!0),n.removeEventListener("click",A,!0),n.removeEventListener("keydown",k,!0),h}function S(e){var t=f[e],r=t;if(!t)return null;if("string"==typeof t&&!(r=n.querySelector(t)))throw Error("`"+e+"` refers to no known node");if("function"==typeof t&&!(r=t()))throw Error("`"+e+"` did not return a node");return r}function x(){var e;if(!(e=null!==S("initialFocus")?S("initialFocus"):s.contains(n.activeElement)?n.activeElement:p.firstTabbableNode||S("fallbackFocus")))throw Error("Your focus-trap needs to have at least one focusable element");return e}function E(e){return S("setReturnFocus")||e}function C(e){if(!s.contains(e.target)){if(f.clickOutsideDeactivates){g({returnFocus:!o.isFocusable(e.target)});return}f.allowOutsideClick&&f.allowOutsideClick(e)||e.preventDefault()}}function _(e){s.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),P(p.mostRecentlyFocusedNode||x()))}function k(e){if(!1!==f.escapeDeactivates&&c(e)){e.preventDefault(),g();return}if(u(e)){O(e);return}}function O(e){if(I(),e.shiftKey&&e.target===p.firstTabbableNode){e.preventDefault(),P(p.lastTabbableNode);return}if(!e.shiftKey&&e.target===p.lastTabbableNode){e.preventDefault(),P(p.firstTabbableNode);return}}function A(e){!f.clickOutsideDeactivates&&!s.contains(e.target)&&!(f.allowOutsideClick&&f.allowOutsideClick(e))&&(e.preventDefault(),e.stopImmediatePropagation())}function I(){var e=o(s);p.firstTabbableNode=e[0]||x(),p.lastTabbableNode=e[e.length-1]||x()}function P(e){if(e!==n.activeElement){if(!e||!e.focus){P(x());return}e.focus(),p.mostRecentlyFocusedNode=e,l(e)&&e.select()}}}function l(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}function c(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}function u(e){return"Tab"===e.key||9===e.keyCode}function d(e){return setTimeout(e,0)}e.exports=s},73921:function(e,t,n){"use strict";n.d(t,{ZP:function(){return em},J9:function(){return ec},_t:function(){return es},wO:function(){return el},Ps:function(){return ei},HW:function(){return ea}});var r,o,i=n(43112);function a(e){return"object"==typeof e&&null!==e}function s(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}let l=/\r\n|[\n\r]/g;function c(e,t){let n=0,r=1;for(let o of e.body.matchAll(l)){if("number"==typeof o.index||s(!1),o.index>=t)break;n=o.index+o[0].length,r+=1}return{line:r,column:t+1-n}}function u(e){return d(e.source,c(e.source,e.start))}function d(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,o=t.line-1,i=e.locationOffset.line-1,a=t.line+i,s=1===t.line?n:0,l=t.column+s,c=`${e.name}:${a}:${l}
`,u=r.split(/\r\n|[\n\r]/g),d=u[o];if(d.length>120){let e=Math.floor(l/80),t=l%80,n=[];for(let e=0;e<d.length;e+=80)n.push(d.slice(e,e+80));return c+f([[`${a} |`,n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",n[e+1]]])}return c+f([[`${a-1} |`,u[o-1]],[`${a} |`,d],["|","^".padStart(l)],[`${a+1} |`,u[o+1]]])}function f(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}function p(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class h extends Error{constructor(e,...t){var n,r,o;let{nodes:i,source:s,positions:l,path:u,originalError:d,extensions:f}=p(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=d?d:void 0,this.nodes=m(Array.isArray(i)?i:i?[i]:void 0);let g=m(null===(n=this.nodes)||void 0===n?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=s?s:null==g?void 0:null===(r=g[0])||void 0===r?void 0:r.source,this.positions=null!=l?l:null==g?void 0:g.map(e=>e.start),this.locations=l&&s?l.map(e=>c(s,e)):null==g?void 0:g.map(e=>c(e.source,e.start));let v=a(null==d?void 0:d.extensions)?null==d?void 0:d.extensions:void 0;this.extensions=null!==(o=null!=f?f:v)&&void 0!==o?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,h):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+u(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+d(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function m(e){return void 0===e||0===e.length?void 0:e}function g(e,t,n){return new h(`Syntax Error: ${n}`,{source:e,positions:[t]})}var v=n(48500);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(r||(r={}));var y=n(16334),b=n(99408),w=n(71754);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(o||(o={}));class S{constructor(e){let t=new v.WU(o.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==o.EOF)do if(e.next)e=e.next;else{let t=I(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===o.COMMENT);return e}}function x(e){return e===o.BANG||e===o.DOLLAR||e===o.AMP||e===o.PAREN_L||e===o.PAREN_R||e===o.SPREAD||e===o.COLON||e===o.EQUALS||e===o.AT||e===o.BRACKET_L||e===o.BRACKET_R||e===o.BRACE_L||e===o.PIPE||e===o.BRACE_R}function E(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function C(e,t){return _(e.charCodeAt(t))&&k(e.charCodeAt(t+1))}function _(e){return e>=55296&&e<=56319}function k(e){return e>=56320&&e<=57343}function O(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return o.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function A(e,t,n,r,o){let i=e.line,a=1+n-e.lineStart;return new v.WU(t,n,r,i,a,o)}function I(e,t){let n=e.source.body,r=n.length,i=t;for(;i<r;){let t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return P(e,i);case 33:return A(e,o.BANG,i,i+1);case 36:return A(e,o.DOLLAR,i,i+1);case 38:return A(e,o.AMP,i,i+1);case 40:return A(e,o.PAREN_L,i,i+1);case 41:return A(e,o.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return A(e,o.SPREAD,i,i+3);break;case 58:return A(e,o.COLON,i,i+1);case 61:return A(e,o.EQUALS,i,i+1);case 64:return A(e,o.AT,i,i+1);case 91:return A(e,o.BRACKET_L,i,i+1);case 93:return A(e,o.BRACKET_R,i,i+1);case 123:return A(e,o.BRACE_L,i,i+1);case 124:return A(e,o.PIPE,i,i+1);case 125:return A(e,o.BRACE_R,i,i+1);case 34:if(34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2))return Z(e,i);return M(e,i)}if((0,w.X1)(t)||45===t)return T(e,i,t);if((0,w.LQ)(t))return F(e,i);throw g(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":E(t)||C(n,i)?`Unexpected character: ${O(e,i)}.`:`Invalid character: ${O(e,i)}.`)}return A(e,o.EOF,r,r)}function P(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(10===e||13===e)break;if(E(e))++i;else if(C(n,i))i+=2;else break}return A(e,o.COMMENT,t,i,n.slice(t+1,i))}function T(e,t,n){let r=e.source.body,i=t,a=n,s=!1;if(45===a&&(a=r.charCodeAt(++i)),48===a){if(a=r.charCodeAt(++i),(0,w.X1)(a))throw g(e.source,i,`Invalid number, unexpected digit after 0: ${O(e,i)}.`)}else i=R(e,i,a),a=r.charCodeAt(i);if(46===a&&(s=!0,a=r.charCodeAt(++i),i=R(e,i,a),a=r.charCodeAt(i)),(69===a||101===a)&&(s=!0,(43===(a=r.charCodeAt(++i))||45===a)&&(a=r.charCodeAt(++i)),i=R(e,i,a),a=r.charCodeAt(i)),46===a||(0,w.LQ)(a))throw g(e.source,i,`Invalid number, expected digit but got: ${O(e,i)}.`);return A(e,s?o.FLOAT:o.INT,t,i,r.slice(t,i))}function R(e,t,n){if(!(0,w.X1)(n))throw g(e.source,t,`Invalid number, expected digit but got: ${O(e,t)}.`);let r=e.source.body,o=t+1;for(;(0,w.X1)(r.charCodeAt(o));)++o;return o}function M(e,t){let n=e.source.body,r=n.length,i=t+1,a=i,s="";for(;i<r;){let r=n.charCodeAt(i);if(34===r)return s+=n.slice(a,i),A(e,o.STRING,t,i+1,s);if(92===r){s+=n.slice(a,i);let t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?N(e,i):j(e,i):B(e,i);s+=t.value,i+=t.size,a=i;continue}if(10===r||13===r)break;if(E(r))++i;else if(C(n,i))i+=2;else throw g(e.source,i,`Invalid character within String: ${O(e,i)}.`)}throw g(e.source,i,"Unterminated string.")}function N(e,t){let n=e.source.body,r=0,o=3;for(;o<12;){let e=n.charCodeAt(t+o++);if(125===e){if(o<5||!E(r))break;return{value:String.fromCodePoint(r),size:o}}if((r=r<<4|L(e))<0)break}throw g(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}function j(e,t){let n=e.source.body,r=D(n,t+2);if(E(r))return{value:String.fromCodePoint(r),size:6};if(_(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=D(n,t+8);if(k(e))return{value:String.fromCodePoint(r,e),size:12}}throw g(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function D(e,t){return L(e.charCodeAt(t))<<12|L(e.charCodeAt(t+1))<<8|L(e.charCodeAt(t+2))<<4|L(e.charCodeAt(t+3))}function L(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function B(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw g(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Z(e,t){let n=e.source.body,r=n.length,i=e.lineStart,a=t+3,s=a,l="",c=[];for(;a<r;){let r=n.charCodeAt(a);if(34===r&&34===n.charCodeAt(a+1)&&34===n.charCodeAt(a+2)){l+=n.slice(s,a),c.push(l);let r=A(e,o.BLOCK_STRING,t,a+3,(0,b.wv)(c).join("\n"));return e.line+=c.length-1,e.lineStart=i,r}if(92===r&&34===n.charCodeAt(a+1)&&34===n.charCodeAt(a+2)&&34===n.charCodeAt(a+3)){l+=n.slice(s,a),s=a+1,a+=4;continue}if(10===r||13===r){l+=n.slice(s,a),c.push(l),13===r&&10===n.charCodeAt(a+1)?a+=2:++a,l="",s=a,i=a;continue}if(E(r))++a;else if(C(n,a))a+=2;else throw g(e.source,a,`Invalid character within String: ${O(e,a)}.`)}throw g(e.source,a,"Unterminated string.")}function F(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if((0,w.HQ)(e))++i;else break}return A(e,o.NAME,t,i,n.slice(t,i))}var z=n(34962),U=n(77150);let H=function(e,t){return e instanceof t};class q{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,z.a)(!1,`Body must be a string. Received: ${(0,U.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,z.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,z.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function V(e){return H(e,q)}function W(e,t){return new $(e,t).parseDocument()}class ${constructor(e,t={}){let n=V(e)?e:new q(e);this._lexer=new S(n),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(o.NAME);return this.node(e,{kind:y.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:y.h.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===o.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw g(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e;let t=this._lexer.token;if(this.peek(o.BRACE_L))return this.node(t,{kind:y.h.OPERATION_DEFINITION,operation:v.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType();return this.peek(o.NAME)&&(e=this.parseName()),this.node(t,{kind:y.h.OPERATION_DEFINITION,operation:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(o.NAME);switch(e.value){case"query":return v.ku.QUERY;case"mutation":return v.ku.MUTATION;case"subscription":return v.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:y.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(e,{kind:y.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:y.h.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t;let n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(o.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:y.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,t,o.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(o.COLON),this.node(t,{kind:y.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(o.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(o.NAME)?this.node(e,{kind:y.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:y.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:y.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:y.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case o.BRACKET_L:return this.parseList(e);case o.BRACE_L:return this.parseObject(e);case o.INT:return this.advanceLexer(),this.node(t,{kind:y.h.INT,value:t.value});case o.FLOAT:return this.advanceLexer(),this.node(t,{kind:y.h.FLOAT,value:t.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:y.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:y.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:y.h.NULL});default:return this.node(t,{kind:y.h.ENUM,value:t.value})}case o.DOLLAR:if(e){if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){let e=this._lexer.token.value;throw g(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:y.h.STRING,value:e.value,block:e.kind===o.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:y.h.LIST,values:this.any(o.BRACKET_L,t,o.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:y.h.OBJECT,fields:this.any(o.BRACE_L,t,o.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(o.COLON),this.node(t,{kind:y.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(o.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(o.AT),this.node(t,{kind:y.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let t=this._lexer.token;if(this.expectOptionalToken(o.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(o.BRACKET_R),e=this.node(t,{kind:y.h.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(t,{kind:y.h.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:y.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(e,{kind:y.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(o.COLON);let n=this.parseNamedType();return this.node(e,{kind:y.h.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:y.h.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:y.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(o.COLON);let i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:y.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:a})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){let e;let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(o.COLON);let i=this.parseTypeReference();this.expectOptionalToken(o.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:y.h.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:y.h.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(e,{kind:y.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(e,{kind:y.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:y.h.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw g(this._lexer.source,this._lexer.token.start,`${G(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===o.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:y.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:y.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:y.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:a})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(r,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new v.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw g(this._lexer.source,t.start,`Expected ${K(e)}, found ${G(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===o.NAME&&t.value===e)this.advanceLexer();else throw g(this._lexer.source,t.start,`Expected "${e}", found ${G(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===o.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return g(this._lexer.source,t.start,`Unexpected ${G(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==o.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw g(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function G(e){let t=e.value;return K(e.kind)+(null!=t?` "${t}"`:"")}function K(e){return x(e)?`"${e}"`:e}var Y=new Map,X=new Map,Q=!0,J=!1;function ee(e){return e.replace(/[\s,]+/g," ").trim()}function et(e){return ee(e.source.body.substring(e.start,e.end))}function en(e){var t=new Set,n=[];return e.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,o=et(e.loc),i=X.get(r);i&&!i.has(o)?Q&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):i||X.set(r,i=new Set),i.add(o),t.has(o)||(t.add(o),n.push(e))}else n.push(e)}),(0,i.pi)((0,i.pi)({},e),{definitions:n})}function er(e){var t=new Set(e.definitions);t.forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function eo(e){var t=ee(e);if(!Y.has(t)){var n=W(e,{experimentalFragmentVariables:J,allowLegacyFragmentVariables:J});if(!n||"Document"!==n.kind)throw Error("Not a valid GraphQL document.");Y.set(t,er(en(n)))}return Y.get(t)}function ei(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]}),eo(r)}function ea(){Y.clear(),X.clear()}function es(){Q=!1}function el(){J=!0}function ec(){J=!1}var eu=ei,ed=ea,ef=es,ep=el,eh=ec;(function(e){e.gql=eu,e.resetCaches=ed,e.disableFragmentWarnings=ef,e.enableExperimentalFragmentVariables=ep,e.disableExperimentalFragmentVariables=eh})(ei||(ei={})),ei.default=ei;var em=ei},10063:function(e,t,n){"use strict";var r=n(99415),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function c(e){return r.isMemo(e)?s:l[e.$$typeof]||o}l[r.ForwardRef]=a,l[r.Memo]=s;var u=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,m=Object.prototype;function g(e,t,n){if("string"!=typeof t){if(m){var r=h(t);r&&r!==m&&g(e,r,n)}var o=d(t);f&&(o=o.concat(f(t)));for(var a=c(e),s=c(t),l=0;l<o.length;++l){var v=o[l];if(!i[v]&&!(n&&n[v])&&!(s&&s[v])&&!(a&&a[v])){var y=p(t,v);try{u(e,v,y)}catch(e){}}}}return e}e.exports=g},67268:function(e,t){"use strict";n={value:!0};var n,r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function o(e,t){if(!(e.indexOf("-")>-1))return parseInt(e,10)===t;var n=e.split("-");if("inf"===n[1])return t>=parseInt(n[0],10);var r=parseInt(n[0],10),o=parseInt(n[1],10);return t>=r&&t<=o}t.default={name:"interval",type:"postProcessor",options:{intervalSeparator:";",intervalRegex:/\((\S*)\).*?\[((.|\n)*)\]/,intervalSuffix:"_interval"},setOptions:function(e){this.options=r({},this.options,e)},process:function(e,t,n,i){var a=this,s=e.split(this.options.intervalSeparator),l=void 0;if(s.forEach(function(e){if(!l){var t=a.options.intervalRegex.exec(e);t&&o(t[1],n.count||0)&&(l=t[2])}}),!l){var c=r({},n);if("string"==typeof c.postProcess)delete c.postProcess;else{var u=c.postProcess.indexOf("interval");-1!==u&&c.postProcess.splice(u,1)}var d=void 0;"string"==typeof t?d=t.replace(this.options.intervalSuffix,""):t.length>-1&&(d=t.map(function(e){return e.replace(a.options.intervalSuffix,"")})),d&&(l=i.translate(d,c))}return l||e}}},3017:function(e,t,n){e.exports=n(67268).default},47164:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,f=n?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,f=23===o?5960464477539062e-23:0,p=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*m}},67483:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},17476:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function n(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */e.exports=function(e){return null!=e&&(t(e)||n(e)||!!e._isBuffer)}},27001:function(e,t){"use strict";n={value:!0};for(var n,r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},s=1;s<20;s++)a["f"+s]=111+s;function l(e,t,n){!t||"byKey"in t||(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(e){return d(e,t)}),o=function(e){return r.some(function(t){return f(t,e)})};return null==n?o:o(n)}function c(e,t){return l(e,t)}function u(e,t){return l(e,{byKey:!0},t)}function d(e,t){var n=t&&t.byKey,r={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in o)r[o[s]]=!1;var l=!0,c=!1,u=void 0;try{for(var d,f=i[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var m=d.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var v=h(m),y=o[v];1!==a&&y||(n?r.key=v:r.which=p(m)),y&&(r[y]=!g||null)}}catch(e){c=!0,u=e}finally{try{!l&&f.return&&f.return()}finally{if(c)throw u}}return r}function f(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&(null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r)return!1}return!0}function p(e){return a[e=h(e)]||e.toUpperCase().charCodeAt(0)}function h(e){return e=i[e=e.toLowerCase()]||e}n=l,n=l,n=c,t.TB=u},23161:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},69800:function(e,t,n){var r,o;/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */!function(i){var a;void 0!==(o="function"==typeof(r=i)?r.call(t,n,t,e):r)&&(e.exports=o),a=!0,e.exports=i(),a=!0}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(new Date*1+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,!0!==i[l]&&(s+="="+i[l].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var s=i[a].split("="),l=s.slice(1).join("=");n||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var c=t(s[0]);if(l=(r.read||r)(l,c)||t(l),n)try{l=JSON.parse(l)}catch(e){}if(o[c]=l,e===c)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}return n(function(){})})},69632:function(e,t,n){var r=n(86021),o=function(e){return/[height|width]$/.test(e)},i=function(e){var t="",n=Object.keys(e);return n.forEach(function(i,a){var s=e[i];o(i=r(i))&&"number"==typeof s&&(s+="px"),!0===s?t+=i:!1===s?t+="not "+i:t+="("+i+": "+s+")",a<n.length-1&&(t+=" and ")}),t},a=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(n,r){t+=i(n),r<e.length-1&&(t+=", ")}),t):i(e)};e.exports=a},83680:function(e,t,n){!/*!
    localForage -- Offline Storage, Improved
    Version 1.10.0
    https://localforage.github.io/localForage
    (c) 2013-2017 Mozilla, Apache License 2.0
*/function(t){e.exports=t()}(function(){return(function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var l=void 0;if(!s&&l)return require(a,!0);if(i)return i(a,!0);var c=Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){return o(t[a][1][e]||e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var i=void 0,a=0;a<r.length;a++)o(r[a]);return o})({1:[function(e,t,r){(function(e){"use strict";var n,r,o=e.MutationObserver||e.WebKitMutationObserver;if(o){var i=0,a=new o(u),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=i=++i%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var l=new e.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){r=!0;for(var e,t,n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}function d(e){1!==c.push(e)||r||n()}t.exports=d}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function o(){}var i={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==o&&p(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return i.reject(e,t)}r===e?i.reject(e,TypeError("Cannot resolve promise with itself")):i.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,i.reject(e,t))}function o(t){n||(n=!0,i.resolve(e,t))}var a=h(function(){t(o,r)});"error"===a.status&&r(a.value)}function h(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}function m(e){return e instanceof this?e:i.resolve(new this(o),e)}function g(e){var t=new this(o);return i.reject(t,e)}function v(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=Array(n),s=0,l=-1,c=new this(o);++l<n;)u(e[l],l);return c;function u(e,o){t.resolve(e).then(l,function(e){r||(r=!0,i.reject(c,e))});function l(e){a[o]=e,++s!==n||r||(r=!0,i.resolve(c,a))}}}function y(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=-1,s=new this(o);++a<n;)l(e[a]);return s;function l(e){t.resolve(e).then(function(e){r||(r=!0,i.resolve(s,e))},function(e){r||(r=!0,i.reject(s,e))})}}t.exports=c,c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(o);return this.state!==l?d(n,this.state===s?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){i.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},i.resolve=function(e,t){var n=h(f,t);if("error"===n.status)return i.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=s,e.outcome=t;for(var o=-1,a=e.queue.length;++o<a;)e.queue[o].callFulfilled(t)}return e},i.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},c.resolve=m,c.reject=g,c.all=v,c.race=y},{1:1}],3:[function(e,t,r){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var i=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}();function a(){try{if(!i||!i.open)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}function s(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(o){if("TypeError"!==o.name)throw o;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var l=Promise;function c(e,t){t&&e.then(function(e){t(null,e)},function(e){t(e)})}function u(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function d(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function f(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var p="local-forage-detect-blob-support",h=void 0,m={},g=Object.prototype.toString,v="readonly",y="readwrite";function b(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),o=0;o<t;o++)r[o]=e.charCodeAt(o);return n}function w(e){return new l(function(t){var n=e.transaction(p,y),r=s([""]);n.objectStore(p).put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/);t(navigator.userAgent.match(/Edge\//)||!e||parseInt(e[1],10)>=43)}}).catch(function(){return!1})}function S(e){return"boolean"==typeof h?l.resolve(h):w(e).then(function(e){return h=e})}function x(e){var t=m[e.name],n={};n.promise=new l(function(e,t){n.resolve=e,n.reject=t}),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then(function(){return n.promise}):t.dbReady=n.promise}function E(e){var t=m[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function C(e,t){var n=m[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function _(e,t){return new l(function(n,r){if(m[e.name]=m[e.name]||j(),e.db){if(!t)return n(e.db);x(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var a=i.open.apply(i,o);t&&(a.onupgradeneeded=function(t){var n=a.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(p)}catch(n){if("ConstraintError"===n.name)console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.');else throw n}}),a.onerror=function(e){e.preventDefault(),r(a.error)},a.onsuccess=function(){var t=a.result;t.onversionchange=function(e){e.target.close()},n(t),E(e)}})}function k(e){return _(e,!1)}function O(e){return _(e,!0)}function A(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,o=e.version>e.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),o||n){if(n){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function I(e){return new l(function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){t({__local_forage_encoded_blob:!0,data:btoa(n.target.result||""),type:e.type})},r.readAsBinaryString(e)})}function P(e){return s([b(atob(e.data))],{type:e.type})}function T(e){return e&&e.__local_forage_encoded_blob}function R(e){var t=this,n=t._initReady().then(function(){var e=m[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady});return u(n,e,e),n}function M(e){x(e);for(var t=m[e.name],n=t.forages,r=0;r<n.length;r++){var o=n[r];o._dbInfo.db&&(o._dbInfo.db.close(),o._dbInfo.db=null)}return e.db=null,k(e).then(function(t){return(e.db=t,A(e))?O(e):t}).then(function(r){e.db=t.db=r;for(var o=0;o<n.length;o++)n[o]._dbInfo.db=r}).catch(function(t){throw C(e,t),t})}function N(e,t,n,r){void 0===r&&(r=1);try{var o=e.db.transaction(e.storeName,t);n(null,o)}catch(o){if(r>0&&(!e.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return l.resolve().then(function(){if(!e.db||"NotFoundError"===o.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),O(e)}).then(function(){return M(e).then(function(){N(e,t,n,r-1)})}).catch(n);n(o)}}function j(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function D(e,t){var n=this;e=d(e);var r=new l(function(t,r){n.ready().then(function(){N(n._dbInfo,v,function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName).get(e);a.onsuccess=function(){var e=a.result;void 0===e&&(e=null),T(e)&&(e=P(e)),t(e)},a.onerror=function(){r(a.error)}}catch(e){r(e)}})}).catch(r)});return c(r,t),r}function L(e,t){var n=this,r=new l(function(t,r){n.ready().then(function(){N(n._dbInfo,v,function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName).openCursor(),s=1;a.onsuccess=function(){var n=a.result;if(n){var r=n.value;T(r)&&(r=P(r));var o=e(r,n.key,s++);void 0!==o?t(o):n.continue()}else t()},a.onerror=function(){r(a.error)}}catch(e){r(e)}})}).catch(r)});return c(r,t),r}function B(e,t,n){var r=this;e=d(e);var o=new l(function(n,o){var i;r.ready().then(function(){return(i=r._dbInfo,"[object Blob]"===g.call(t))?S(i.db).then(function(e){return e?t:I(t)}):t}).then(function(t){N(r._dbInfo,y,function(i,a){if(i)return o(i);try{var s=a.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var l=s.put(t,e);a.oncomplete=function(){void 0===t&&(t=null),n(t)},a.onabort=a.onerror=function(){var e=l.error?l.error:l.transaction.error;o(e)}}catch(e){o(e)}})}).catch(o)});return c(o,n),o}function Z(e,t){var n=this;e=d(e);var r=new l(function(t,r){n.ready().then(function(){N(n._dbInfo,y,function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName).delete(e);i.oncomplete=function(){t()},i.onerror=function(){r(a.error)},i.onabort=function(){var e=a.error?a.error:a.transaction.error;r(e)}}catch(e){r(e)}})}).catch(r)});return c(r,t),r}function F(e){var t=this,n=new l(function(e,n){t.ready().then(function(){N(t._dbInfo,y,function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName).clear();o.oncomplete=function(){e()},o.onabort=o.onerror=function(){var e=i.error?i.error:i.transaction.error;n(e)}}catch(e){n(e)}})}).catch(n)});return c(n,e),n}function z(e){var t=this,n=new l(function(e,n){t.ready().then(function(){N(t._dbInfo,v,function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName).count();i.onsuccess=function(){e(i.result)},i.onerror=function(){n(i.error)}}catch(e){n(e)}})}).catch(n)});return c(n,e),n}function U(e,t){var n=this,r=new l(function(t,r){if(e<0){t(null);return}n.ready().then(function(){N(n._dbInfo,v,function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),s=!1,l=a.openKeyCursor();l.onsuccess=function(){var n=l.result;if(!n){t(null);return}0===e?t(n.key):s?t(n.key):(s=!0,n.advance(e))},l.onerror=function(){r(l.error)}}catch(e){r(e)}})}).catch(r)});return c(r,t),r}function H(e){var t=this,n=new l(function(e,n){t.ready().then(function(){N(t._dbInfo,v,function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName).openKeyCursor(),a=[];i.onsuccess=function(){var t=i.result;if(!t){e(a);return}a.push(t.key),t.continue()},i.onerror=function(){n(i.error)}}catch(e){n(e)}})}).catch(n)});return c(n,e),n}function q(e,t){t=f.apply(this,arguments);var n,r=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||r.name,e.storeName=e.storeName||r.storeName);var o=this;if(e.name){var a=e.name===r.name&&o._dbInfo.db?l.resolve(o._dbInfo.db):k(e).then(function(t){var n=m[e.name],r=n.forages;n.db=t;for(var o=0;o<r.length;o++)r[o]._dbInfo.db=t;return t});n=e.storeName?a.then(function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;x(e);var r=m[e.name],o=r.forages;t.close();for(var a=0;a<o.length;a++){var s=o[a];s._dbInfo.db=null,s._dbInfo.version=n}return new l(function(t,r){var o=i.open(e.name,n);o.onerror=function(e){o.result.close(),r(e)},o.onupgradeneeded=function(){o.result.deleteObjectStore(e.storeName)},o.onsuccess=function(){var e=o.result;e.close(),t(e)}}).then(function(e){r.db=e;for(var t=0;t<o.length;t++){var n=o[t];n._dbInfo.db=e,E(n._dbInfo)}}).catch(function(t){throw(C(e,t)||l.resolve()).catch(function(){}),t})}}):a.then(function(t){x(e);var n=m[e.name],r=n.forages;t.close();for(var o=0;o<r.length;o++)r[o]._dbInfo.db=null;return new l(function(t,n){var r=i.deleteDatabase(e.name);r.onerror=function(){var e=r.result;e&&e.close(),n(r.error)},r.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}}).then(function(e){n.db=e;for(var t=0;t<r.length;t++)E(r[t]._dbInfo)}).catch(function(t){throw(C(e,t)||l.resolve()).catch(function(){}),t})})}else n=l.reject("Invalid arguments");return c(n,t),n}var V={_driver:"asyncStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var o=m[n.name];o||(o=j(),m[n.name]=o),o.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=R);var i=[];function a(){return l.resolve()}for(var s=0;s<o.forages.length;s++){var c=o.forages[s];c!==t&&i.push(c._initReady().catch(a))}var u=o.forages.slice(0);return l.all(i).then(function(){return n.db=o.db,k(n)}).then(function(e){return(n.db=e,A(n,t._defaultConfig.version))?O(n):e}).then(function(e){n.db=o.db=e,t._dbInfo=n;for(var r=0;r<u.length;r++){var i=u[r];i!==t&&(i._dbInfo.db=n.db,i._dbInfo.version=n.version)}})},_support:a(),iterate:L,getItem:D,setItem:B,removeItem:Z,clear:F,length:z,key:U,keys:H,dropInstance:q};function W(){return"function"==typeof openDatabase}var $="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",G="~~local_forage_type~",K=/^~~local_forage_type~([^~]+)~/,Y="__lfsc__:",X=Y.length,Q="arbf",J="blob",ee="si08",et="ui08",en="uic8",er="si16",eo="si32",ei="ur16",ea="ui32",es="fl32",el="fl64",ec=X+Q.length,eu=Object.prototype.toString;function ed(e){var t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=new ArrayBuffer(a),u=new Uint8Array(c);for(t=0;t<s;t+=4)n=$.indexOf(e[t]),r=$.indexOf(e[t+1]),o=$.indexOf(e[t+2]),i=$.indexOf(e[t+3]),u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c}function ef(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=$[n[t]>>2]+$[(3&n[t])<<4|n[t+1]>>4]+$[(15&n[t+1])<<2|n[t+2]>>6]+$[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var ep={serialize:function(e,t){var n="";if(e&&(n=eu.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===eu.call(e.buffer))){var r,o=Y;e instanceof ArrayBuffer?(r=e,o+=Q):(r=e.buffer,"[object Int8Array]"===n?o+=ee:"[object Uint8Array]"===n?o+=et:"[object Uint8ClampedArray]"===n?o+=en:"[object Int16Array]"===n?o+=er:"[object Uint16Array]"===n?o+=ei:"[object Int32Array]"===n?o+=eo:"[object Uint32Array]"===n?o+=ea:"[object Float32Array]"===n?o+=es:"[object Float64Array]"===n?o+=el:t(Error("Failed to get type for BinaryArray"))),t(o+ef(r))}else if("[object Blob]"===n){var i=new FileReader;i.onload=function(){t(Y+J+(G+e.type+"~")+ef(this.result))},i.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}},deserialize:function(e){if(e.substring(0,X)!==Y)return JSON.parse(e);var t,n=e.substring(ec),r=e.substring(X,ec);if(r===J&&K.test(n)){var o=n.match(K);t=o[1],n=n.substring(o[0].length)}var i=ed(n);switch(r){case Q:return i;case J:return s([i],{type:t});case ee:return new Int8Array(i);case et:return new Uint8Array(i);case en:return new Uint8ClampedArray(i);case er:return new Int16Array(i);case ei:return new Uint16Array(i);case eo:return new Int32Array(i);case ea:return new Uint32Array(i);case es:return new Float32Array(i);case el:return new Float64Array(i);default:throw Error("Unkown type: "+r)}},stringToBuffer:ed,bufferToString:ef};function eh(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function em(e,t,n,r,o,i){e.executeSql(n,r,o,function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],function(e,s){s.rows.length?i(e,a):eh(e,t,function(){e.executeSql(n,r,o,i)},i)},i):i(e,a)},i)}function eg(e,t){var n=this;e=d(e);var r=new l(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){em(n,o,"SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[e],function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=o.serializer.deserialize(r)),t(r)},function(e,t){r(t)})})}).catch(r)});return c(r,t),r}function ev(e,t){var n=this,r=new l(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){em(n,o,"SELECT * FROM "+o.storeName,[],function(n,r){for(var i=r.rows,a=i.length,s=0;s<a;s++){var l=i.item(s),c=l.value;if(c&&(c=o.serializer.deserialize(c)),void 0!==(c=e(c,l.key,s+1))){t(c);return}}t()},function(e,t){r(t)})})}).catch(r)});return c(r,t),r}function ey(e,t,n,r){var o=this;e=d(e);var i=new l(function(i,a){o.ready().then(function(){void 0===t&&(t=null);var s=t,l=o._dbInfo;l.serializer.serialize(t,function(t,c){c?a(c):l.db.transaction(function(n){em(n,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[e,t],function(){i(s)},function(e,t){a(t)})},function(t){if(t.code===t.QUOTA_ERR){if(r>0){i(ey.apply(o,[e,s,n,r-1]));return}a(t)}})})}).catch(a)});return c(i,n),i}function eb(e,t,n){return ey.apply(this,[e,t,n,1])}function ew(e,t){var n=this;e=d(e);var r=new l(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){em(n,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[e],function(){t()},function(e,t){r(t)})})}).catch(r)});return c(r,t),r}function eS(e){var t=this,n=new l(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){em(t,r,"DELETE FROM "+r.storeName,[],function(){e()},function(e,t){n(t)})})}).catch(n)});return c(n,e),n}function ex(e){var t=this,n=new l(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){em(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],function(t,n){e(n.rows.item(0).c)},function(e,t){n(t)})})}).catch(n)});return c(n,e),n}function eE(e,t){var n=this,r=new l(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){em(n,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[e+1],function(e,n){t(n.rows.length?n.rows.item(0).key:null)},function(e,t){r(t)})})}).catch(r)});return c(r,t),r}function eC(e){var t=this,n=new l(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){em(t,r,"SELECT key FROM "+r.storeName,[],function(t,n){for(var r=[],o=0;o<n.rows.length;o++)r.push(n.rows.item(o).key);e(r)},function(e,t){n(t)})})}).catch(n)});return c(n,e),n}function e_(e){return new l(function(t,n){e.transaction(function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(n,r){for(var o=[],i=0;i<r.rows.length;i++)o.push(r.rows.item(i).name);t({db:e,storeNames:o})},function(e,t){n(t)})},function(e){n(e)})})}function ek(e,t){t=f.apply(this,arguments);var n,r=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||r.name,e.storeName=e.storeName||r.storeName);var o=this;return c(n=e.name?new l(function(t){var n;n=e.name===r.name?o._dbInfo.db:openDatabase(e.name,"","",0),t(e.storeName?{db:n,storeNames:[e.storeName]}:e_(n))}).then(function(e){return new l(function(t,n){e.db.transaction(function(r){function o(e){return new l(function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],function(){t()},function(e,t){n(t)})})}for(var i=[],a=0,s=e.storeNames.length;a<s;a++)i.push(o(e.storeNames[a]));l.all(i).then(function(){t()}).catch(function(e){n(e)})},function(e){n(e)})})}):l.reject("Invalid arguments"),t),n}var eO={_driver:"webSQLStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var o=new l(function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction(function(o){eh(o,n,function(){t._dbInfo=n,e()},function(e,t){r(t)})},r)});return n.serializer=ep,o},_support:W(),iterate:ev,getItem:eg,setItem:eb,removeItem:ew,clear:eS,length:ex,key:eE,keys:eC,dropInstance:ek};function eA(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function eI(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(e){return!0}}function eP(){return!eI()||localStorage.length>0}function eT(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}});return c(n,e),n}function eR(e,t){var n=this;e=d(e);var r=n.ready().then(function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r});return c(r,t),r}function eM(e,t){var n=this,r=n.ready().then(function(){for(var t=n._dbInfo,r=t.keyPrefix,o=r.length,i=localStorage.length,a=1,s=0;s<i;s++){var l=localStorage.key(s);if(0===l.indexOf(r)){var c=localStorage.getItem(l);if(c&&(c=t.serializer.deserialize(c)),void 0!==(c=e(c,l.substring(o),a++)))return c}}});return c(r,t),r}function eN(e,t){var n=this,r=n.ready().then(function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t});return c(r,t),r}function ej(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo,n=localStorage.length,r=[],o=0;o<n;o++){var i=localStorage.key(o);0===i.indexOf(e.keyPrefix)&&r.push(i.substring(e.keyPrefix.length))}return r});return c(n,e),n}function eD(e){var t=this,n=t.keys().then(function(e){return e.length});return c(n,e),n}function eL(e,t){var n=this;e=d(e);var r=n.ready().then(function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)});return c(r,t),r}function eB(e,t,n){var r=this;e=d(e);var o=r.ready().then(function(){void 0===t&&(t=null);var n=t;return new l(function(o,i){var a=r._dbInfo;a.serializer.serialize(t,function(t,r){if(r)i(r);else try{localStorage.setItem(a.keyPrefix+e,t),o(n)}catch(e){("QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&i(e),i(e)}})})});return c(o,n),o}function eZ(e,t){if(t=f.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n,r=this.config();e.name=e.name||r.name,e.storeName=e.storeName||r.storeName}var o=this;return c(n=e.name?new l(function(t){t(e.storeName?eA(e,o._defaultConfig):e.name+"/")}).then(function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}}):l.reject("Invalid arguments"),t),n}var eF={_driver:"localStorageWrapper",_initStorage:function(e){var t=this,n={};if(e)for(var r in e)n[r]=e[r];return(n.keyPrefix=eA(e,t._defaultConfig),eP())?(t._dbInfo=n,n.serializer=ep,l.resolve()):l.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}(),iterate:eM,getItem:eR,setItem:eB,removeItem:eL,clear:eT,length:eD,key:eN,keys:ej,dropInstance:eZ},ez=function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)},eU=function(e,t){for(var n=e.length,r=0;r<n;){if(ez(e[r],t))return!0;r++}return!1},eH=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},eq={},eV={},eW={INDEXEDDB:V,WEBSQL:eO,LOCALSTORAGE:eF},e$=[eW.INDEXEDDB._driver,eW.WEBSQL._driver,eW.LOCALSTORAGE._driver],eG=["dropInstance"],eK=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(eG),eY={description:"",driver:e$.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function eX(e,t){e[t]=function(){var n=arguments;return e.ready().then(function(){return e[t].apply(e,n)})}}function eQ(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(eH(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var eJ=new(function(){function e(t){for(var n in o(this,e),eW)if(eW.hasOwnProperty(n)){var r=eW[n],i=r._driver;this[n]=i,eq[i]||this.defineDriver(r)}this._defaultConfig=eQ({},eY),this._config=eQ({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return e.prototype.config=function(e){if((void 0===e?"undefined":r(e))==="object"){if(this._ready)return Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new l(function(t,n){try{var r=e._driver,o=Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver){n(o);return}for(var i=eK.concat("_initStorage"),a=0,s=i.length;a<s;a++){var u=i[a];if((!eU(eG,u)||e[u])&&"function"!=typeof e[u]){n(o);return}}(function(){for(var t=function(e){return function(){var t=Error("Method "+e+" is not implemented by the current driver"),n=l.reject(t);return c(n,arguments[arguments.length-1]),n}},n=0,r=eG.length;n<r;n++){var o=eG[n];e[o]||(e[o]=t(o))}})();var d=function(n){eq[r]&&console.info("Redefining LocalForage driver: "+r),eq[r]=e,eV[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(d,n):d(!!e._support):d(!0)}catch(e){n(e)}});return u(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=eq[e]?l.resolve(eq[e]):l.reject(Error("Driver not found."));return u(r,t,n),r},e.prototype.getSerializer=function(e){var t=l.resolve(ep);return u(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then(function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready});return u(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;eH(e)||(e=[e]);var o=this._getSupportedDrivers(e);function i(){r._config.driver=r.driver()}function a(e){return r._extend(e),i(),r._ready=r._initStorage(r._config),r._ready}function s(e){return function(){var t=0;function n(){for(;t<e.length;){var o=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(o).then(a).catch(n)}i();var s=Error("No available storage method found.");return r._driverSet=l.reject(s),r._driverSet}return n()}}var c=null!==this._driverSet?this._driverSet.catch(function(){return l.resolve()}):l.resolve();return this._driverSet=c.then(function(){var e=o[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then(function(e){r._driver=e._driver,i(),r._wrapLibraryMethodsWithReady(),r._initDriver=s(o)})}).catch(function(){i();var e=Error("No available storage method found.");return r._driverSet=l.reject(e),r._driverSet}),u(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!eV[e]},e.prototype._extend=function(e){eQ(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var o=e[n];this.supports(o)&&t.push(o)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=eK.length;e<t;e++)eX(this,eK[e])},e.prototype.createInstance=function(t){return new e(t)},e}());t.exports=eJ},{3:3}]},{},[4])(4)})},94466:function(e,t,n){var r=n(65234)(n(83250),"DataView");e.exports=r},85208:function(e,t,n){var r=n(34440),o=n(84108),i=n(61085),a=n(77706),s=n(8636);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},81998:function(e,t,n){var r=n(90266),o=n(42875),i=n(45828),a=n(24115),s=n(67690);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},72887:function(e,t,n){var r=n(65234)(n(83250),"Map");e.exports=r},95678:function(e,t,n){var r=n(39016),o=n(62363),i=n(64348),a=n(53062),s=n(30262);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},95747:function(e,t,n){var r=n(65234)(n(83250),"Promise");e.exports=r},56616:function(e,t,n){var r=n(65234)(n(83250),"Set");e.exports=r},84546:function(e,t,n){var r=n(95678),o=n(83937),i=n(15009);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},19549:function(e,t,n){var r=n(81998),o=n(93210),i=n(48603),a=n(38947),s=n(70885),l=n(98938);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},70861:function(e,t,n){var r=n(83250).Symbol;e.exports=r},3526:function(e,t,n){var r=n(83250).Uint8Array;e.exports=r},98001:function(e,t,n){var r=n(65234)(n(83250),"WeakMap");e.exports=r},82274:function(e){function t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=t},8660:function(e){function t(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}e.exports=t},84004:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=t},69865:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}e.exports=t},82493:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=t},45436:function(e,t,n){var r=n(94365);function o(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}e.exports=o},99105:function(e){function t(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=t},75825:function(e,t,n){var r=n(18509),o=n(79312),i=n(55589),a=n(85778),s=n(5023),l=n(50922),c=Object.prototype.hasOwnProperty;function u(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&l(e),p=n||u||d||f,h=p?r(e.length,String):[],m=h.length;for(var g in e)(t||c.call(e,g))&&!(p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m)))&&h.push(g);return h}e.exports=u},29233:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=t},10111:function(e){function t(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=t},85115:function(e){function t(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}e.exports=t},1831:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=t},59512:function(e){function t(e){return e.split("")}e.exports=t},96026:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function n(e){return e.match(t)||[]}e.exports=n},73532:function(e,t,n){var r=n(87500),o=n(58260);function i(e,t,n){(void 0===n||o(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}e.exports=i},93192:function(e,t,n){var r=n(87500),o=n(58260),i=Object.prototype.hasOwnProperty;function a(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}e.exports=a},18498:function(e,t,n){var r=n(58260);function o(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return -1}e.exports=o},3792:function(e,t,n){var r=n(61701);function o(e,t,n,o){return r(e,function(e,r,i){t(o,e,n(e),i)}),o}e.exports=o},44265:function(e,t,n){var r=n(78618),o=n(62096);function i(e,t){return e&&r(t,o(t),e)}e.exports=i},31629:function(e,t,n){var r=n(78618),o=n(9882);function i(e,t){return e&&r(t,o(t),e)}e.exports=i},87500:function(e,t,n){var r=n(25595);function o(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e.exports=o},18361:function(e,t,n){var r=n(19549),o=n(84004),i=n(93192),a=n(44265),s=n(31629),l=n(46502),c=n(32166),u=n(67272),d=n(52066),f=n(54357),p=n(55713),h=n(87493),m=n(82865),g=n(11908),v=n(84046),y=n(55589),b=n(85778),w=n(37613),S=n(93702),x=n(60693),E=n(62096),C=n(9882),_=1,k=2,O=4,A="[object Arguments]",I="[object Array]",P="[object Boolean]",T="[object Date]",R="[object Error]",M="[object Function]",N="[object GeneratorFunction]",j="[object Map]",D="[object Number]",L="[object Object]",B="[object RegExp]",Z="[object Set]",F="[object String]",z="[object Symbol]",U="[object WeakMap]",H="[object ArrayBuffer]",q="[object DataView]",V="[object Float32Array]",W="[object Float64Array]",$="[object Int8Array]",G="[object Int16Array]",K="[object Int32Array]",Y="[object Uint8Array]",X="[object Uint8ClampedArray]",Q="[object Uint16Array]",J="[object Uint32Array]",ee={};function et(e,t,n,I,P,T){var R,j=t&_,D=t&k,B=t&O;if(n&&(R=P?n(e,I,P,T):n(e)),void 0!==R)return R;if(!S(e))return e;var Z=y(e);if(Z){if(R=m(e),!j)return c(e,R)}else{var F=h(e),z=F==M||F==N;if(b(e))return l(e,j);if(F==L||F==A||z&&!P){if(R=D||z?{}:v(e),!j)return D?d(e,s(R,e)):u(e,a(R,e))}else{if(!ee[F])return P?e:{};R=g(e,F,j)}}T||(T=new r);var U=T.get(e);if(U)return U;T.set(e,R),x(e)?e.forEach(function(r){R.add(et(r,t,n,r,e,T))}):w(e)&&e.forEach(function(r,o){R.set(o,et(r,t,n,o,e,T))});var H=B?D?p:f:D?C:E,q=Z?void 0:H(e);return o(q||e,function(r,o){q&&(r=e[o=r]),i(R,o,et(r,t,n,o,e,T))}),R}ee[A]=ee[I]=ee[H]=ee[q]=ee[P]=ee[T]=ee[V]=ee[W]=ee[$]=ee[G]=ee[K]=ee[j]=ee[D]=ee[L]=ee[B]=ee[Z]=ee[F]=ee[z]=ee[Y]=ee[X]=ee[Q]=ee[J]=!0,ee[R]=ee[M]=ee[U]=!1,e.exports=et},57890:function(e,t,n){var r=n(93702),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},13700:function(e,t,n){var r=n(84546),o=n(45436),i=n(99105),a=n(29233),s=n(31525),l=n(77026),c=200;function u(e,t,n,u){var d=-1,f=o,p=!0,h=e.length,m=[],g=t.length;if(!h)return m;n&&(t=a(t,s(n))),u?(f=i,p=!1):t.length>=c&&(f=l,p=!1,t=new r(t));e:for(;++d<h;){var v=e[d],y=null==n?v:n(v);if(v=u||0!==v?v:0,p&&y==y){for(var b=g;b--;)if(t[b]===y)continue e;m.push(v)}else f(t,y,u)||m.push(v)}return m}e.exports=u},61701:function(e,t,n){var r=n(44003),o=n(96313)(r);e.exports=o},5869:function(e,t,n){var r=n(61701);function o(e,t){var n=!0;return r(e,function(e,r,o){return n=!!t(e,r,o)}),n}e.exports=o},68146:function(e,t,n){var r=n(61701);function o(e,t){var n=[];return r(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}e.exports=o},44770:function(e){function t(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return -1}e.exports=t},22825:function(e,t,n){var r=n(10111),o=n(67123);function i(e,t,n,a,s){var l=-1,c=e.length;for(n||(n=o),s||(s=[]);++l<c;){var u=e[l];t>0&&n(u)?t>1?i(u,t-1,n,a,s):r(s,u):a||(s[s.length]=u)}return s}e.exports=i},39943:function(e,t,n){var r=n(72545)();e.exports=r},44003:function(e,t,n){var r=n(39943),o=n(62096);function i(e,t){return e&&r(e,t,o)}e.exports=i},40548:function(e,t,n){var r=n(24007),o=n(86040);function i(e,t){t=r(t,e);for(var n=0,i=t.length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}e.exports=i},4468:function(e,t,n){var r=n(10111),o=n(55589);function i(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}e.exports=i},69823:function(e,t,n){var r=n(70861),o=n(91339),i=n(25151),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function c(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):i(e)}e.exports=c},32586:function(e){var t=Object.prototype.hasOwnProperty;function n(e,n){return null!=e&&t.call(e,n)}e.exports=n},62902:function(e){function t(e,t){return null!=e&&t in Object(e)}e.exports=t},94365:function(e,t,n){var r=n(44770),o=n(56963),i=n(45898);function a(e,t,n){return t==t?i(e,t,n):r(e,o,n)}e.exports=a},33016:function(e,t,n){var r=n(69823),o=n(50440),i="[object Arguments]";function a(e){return o(e)&&r(e)==i}e.exports=a},34662:function(e,t,n){var r=n(88968),o=n(50440);function i(e,t,n,a,s){return e===t||(null!=e&&null!=t&&(o(e)||o(t))?r(e,t,n,a,i,s):e!=e&&t!=t)}e.exports=i},88968:function(e,t,n){var r=n(19549),o=n(14952),i=n(21080),a=n(86524),s=n(87493),l=n(55589),c=n(85778),u=n(50922),d=1,f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;function g(e,t,n,g,v,y){var b=l(e),w=l(t),S=b?p:s(e),x=w?p:s(t);S=S==f?h:S,x=x==f?h:x;var E=S==h,C=x==h,_=S==x;if(_&&c(e)){if(!c(t))return!1;b=!0,E=!1}if(_&&!E)return y||(y=new r),b||u(e)?o(e,t,n,g,v,y):i(e,t,S,n,g,v,y);if(!(n&d)){var k=E&&m.call(e,"__wrapped__"),O=C&&m.call(t,"__wrapped__");if(k||O){var A=k?e.value():e,I=O?t.value():t;return y||(y=new r),v(A,I,n,g,y)}}return!!_&&(y||(y=new r),a(e,t,n,g,v,y))}e.exports=g},52275:function(e,t,n){var r=n(87493),o=n(50440),i="[object Map]";function a(e){return o(e)&&r(e)==i}e.exports=a},50108:function(e,t,n){var r=n(19549),o=n(34662),i=1,a=2;function s(e,t,n,s){var l=n.length,c=l,u=!s;if(null==e)return!c;for(e=Object(e);l--;){var d=n[l];if(u&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++l<c;){var f=(d=n[l])[0],p=e[f],h=d[1];if(u&&d[2]){if(void 0===p&&!(f in e))return!1}else{var m=new r;if(s)var g=s(p,h,f,e,t,m);if(!(void 0===g?o(h,p,i|a,s,m):g))return!1}}return!0}e.exports=s},56963:function(e){function t(e){return e!=e}e.exports=t},99817:function(e,t,n){var r=n(45563),o=n(28597),i=n(93702),a=n(55784),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(e){return!(!i(e)||o(e))&&(r(e)?f:l).test(a(e))}e.exports=p},7170:function(e,t,n){var r=n(87493),o=n(50440),i="[object Set]";function a(e){return o(e)&&r(e)==i}e.exports=a},42448:function(e,t,n){var r=n(69823),o=n(66052),i=n(50440),a="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",S="[object Float64Array]",x="[object Int8Array]",E="[object Int16Array]",C="[object Int32Array]",_="[object Uint8Array]",k="[object Uint8ClampedArray]",O="[object Uint16Array]",A="[object Uint32Array]",I={};function P(e){return i(e)&&o(e.length)&&!!I[r(e)]}I["[object Float32Array]"]=I[S]=I[x]=I[E]=I[C]=I[_]=I[k]=I[O]=I[A]=!0,I[a]=I[s]=I[b]=I[l]=I[w]=I[c]=I[u]=I[d]=I[f]=I[p]=I[h]=I[m]=I[g]=I[v]=I[y]=!1,e.exports=P},55833:function(e,t,n){var r=n(15640),o=n(9906),i=n(80229),a=n(55589),s=n(94437);function l(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}e.exports=l},41351:function(e,t,n){var r=n(32840),o=n(82825),i=Object.prototype.hasOwnProperty;function a(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=a},71309:function(e,t,n){var r=n(93702),o=n(32840),i=n(84866),a=Object.prototype.hasOwnProperty;function s(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)"constructor"==s&&(t||!a.call(e,s))||n.push(s);return n}e.exports=s},78068:function(e,t,n){var r=n(61701),o=n(30568);function i(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,function(e,r,o){i[++n]=t(e,r,o)}),i}e.exports=i},15640:function(e,t,n){var r=n(50108),o=n(72198),i=n(94656);function a(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}e.exports=a},9906:function(e,t,n){var r=n(34662),o=n(13546),i=n(56708),a=n(5130),s=n(18802),l=n(94656),c=n(86040),u=1,d=2;function f(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,u|d)}}e.exports=f},92133:function(e,t,n){var r=n(19549),o=n(73532),i=n(39943),a=n(21241),s=n(93702),l=n(9882),c=n(11933);function u(e,t,n,d,f){e!==t&&i(t,function(i,l){if(f||(f=new r),s(i))a(e,t,l,n,u,d,f);else{var p=d?d(c(e,l),i,l+"",e,t,f):void 0;void 0===p&&(p=i),o(e,l,p)}},l)}e.exports=u},21241:function(e,t,n){var r=n(73532),o=n(46502),i=n(21327),a=n(32166),s=n(84046),l=n(79312),c=n(55589),u=n(18268),d=n(85778),f=n(45563),p=n(93702),h=n(54256),m=n(50922),g=n(11933),v=n(36222);function y(e,t,n,y,b,w,S){var x=g(e,n),E=g(t,n),C=S.get(E);if(C){r(e,n,C);return}var _=w?w(x,E,n+"",e,t,S):void 0,k=void 0===_;if(k){var O=c(E),A=!O&&d(E),I=!O&&!A&&m(E);_=E,O||A||I?c(x)?_=x:u(x)?_=a(x):A?(k=!1,_=o(E,!0)):I?(k=!1,_=i(E,!0)):_=[]:h(E)||l(E)?(_=x,l(x)?_=v(x):(!p(x)||f(x))&&(_=s(E))):k=!1}k&&(S.set(E,_),b(_,E,y,w,S),S.delete(E)),r(e,n,_)}e.exports=y},54466:function(e,t,n){var r=n(29233),o=n(40548),i=n(55833),a=n(78068),s=n(53340),l=n(31525),c=n(20315),u=n(80229),d=n(55589);function f(e,t,n){t=t.length?r(t,function(e){return d(e)?function(t){return o(t,1===e.length?e[0]:e)}:e}):[u];var f=-1;return t=r(t,l(i)),s(a(e,function(e,n,o){return{criteria:r(t,function(t){return t(e)}),index:++f,value:e}}),function(e,t){return c(e,t,n)})}e.exports=f},21785:function(e,t,n){var r=n(57121),o=n(56708);function i(e,t){return r(e,t,function(t,n){return o(e,n)})}e.exports=i},57121:function(e,t,n){var r=n(40548),o=n(32619),i=n(24007);function a(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var c=t[a],u=r(e,c);n(u,c)&&o(l,i(c,e),u)}return l}e.exports=a},86174:function(e){function t(e){return function(t){return null==t?void 0:t[e]}}e.exports=t},3293:function(e,t,n){var r=n(40548);function o(e){return function(t){return r(t,e)}}e.exports=o},61642:function(e){function t(e){return function(t){return null==e?void 0:e[t]}}e.exports=t},29735:function(e,t,n){var r=n(80229),o=n(20340),i=n(4173);function a(e,t){return i(o(e,t,r),e+"")}e.exports=a},32619:function(e,t,n){var r=n(93192),o=n(24007),i=n(5023),a=n(93702),s=n(86040);function l(e,t,n,l){if(!a(e))return e;t=o(t,e);for(var c=-1,u=t.length,d=u-1,f=e;null!=f&&++c<u;){var p=s(t[c]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)break;if(c!=d){var m=f[p];void 0===(h=l?l(m,p,f):void 0)&&(h=a(m)?m:i(t[c+1])?[]:{})}r(f,p,h),f=f[p]}return e}e.exports=l},46739:function(e,t,n){var r=n(89203),o=n(25595),i=n(80229),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},77379:function(e){function t(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}e.exports=t},53340:function(e){function t(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}e.exports=t},18509:function(e){function t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=t},86245:function(e,t,n){var r=n(70861),o=n(29233),i=n(55589),a=n(52624),s=1/0,l=r?r.prototype:void 0,c=l?l.toString:void 0;function u(e){if("string"==typeof e)return e;if(i(e))return o(e,u)+"";if(a(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}e.exports=u},21656:function(e,t,n){var r=n(62438),o=/^\s+/;function i(e){return e?e.slice(0,r(e)+1).replace(o,""):e}e.exports=i},31525:function(e){function t(e){return function(t){return e(t)}}e.exports=t},80135:function(e,t,n){var r=n(84546),o=n(45436),i=n(99105),a=n(77026),s=n(86262),l=n(77969),c=200;function u(e,t,n){var u=-1,d=o,f=e.length,p=!0,h=[],m=h;if(n)p=!1,d=i;else if(f>=c){var g=t?null:s(e);if(g)return l(g);p=!1,d=a,m=new r}else m=t?[]:h;e:for(;++u<f;){var v=e[u],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var b=m.length;b--;)if(m[b]===y)continue e;t&&m.push(y),h.push(v)}else d(m,y,n)||(m!==h&&m.push(y),h.push(v))}return h}e.exports=u},11928:function(e,t,n){var r=n(24007),o=n(77875),i=n(83744),a=n(86040);function s(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}e.exports=s},97676:function(e,t,n){var r=n(13700),o=n(22825),i=n(80135);function a(e,t,n){var a=e.length;if(a<2)return a?i(e[0]):[];for(var s=-1,l=Array(a);++s<a;)for(var c=e[s],u=-1;++u<a;)u!=s&&(l[s]=r(l[s]||c,e[u],t,n));return i(o(l,1),t,n)}e.exports=a},77026:function(e){function t(e,t){return e.has(t)}e.exports=t},24007:function(e,t,n){var r=n(55589),o=n(5130),i=n(44041),a=n(99835);function s(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}e.exports=s},3237:function(e,t,n){var r=n(77379);function o(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}e.exports=o},72962:function(e,t,n){var r=n(3526);function o(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}e.exports=o},46502:function(e,t,n){e=n.nmd(e);var r=n(83250),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function l(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}e.exports=l},97037:function(e,t,n){var r=n(72962);function o(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}e.exports=o},3429:function(e){var t=/\w*$/;function n(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}e.exports=n},99349:function(e,t,n){var r=n(70861),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;function a(e){return i?Object(i.call(e)):{}}e.exports=a},21327:function(e,t,n){var r=n(72962);function o(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}e.exports=o},88899:function(e,t,n){var r=n(52624);function o(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e==e,a=r(e),s=void 0!==t,l=null===t,c=t==t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e<t||u&&n&&i&&!o&&!a||l&&n&&i||!s&&i||!c)return -1}return 0}e.exports=o},20315:function(e,t,n){var r=n(88899);function o(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++o<s;){var c=r(i[o],a[o]);if(c){if(o>=l)return c;return c*("desc"==n[o]?-1:1)}}return e.index-t.index}e.exports=o},32166:function(e){function t(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=t},78618:function(e,t,n){var r=n(93192),o=n(87500);function i(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}e.exports=i},67272:function(e,t,n){var r=n(78618),o=n(44450);function i(e,t){return r(e,o(e),t)}e.exports=i},52066:function(e,t,n){var r=n(78618),o=n(94969);function i(e,t){return r(e,o(e),t)}e.exports=i},1622:function(e,t,n){var r=n(83250)["__core-js_shared__"];e.exports=r},17325:function(e,t,n){var r=n(8660),o=n(3792),i=n(55833),a=n(55589);function s(e,t){return function(n,s){var l=a(n)?r:o,c=t?t():{};return l(n,e,i(s,2),c)}}e.exports=s},66948:function(e,t,n){var r=n(29735),o=n(98132);function i(e){return r(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t})}e.exports=i},96313:function(e,t,n){var r=n(30568);function o(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}e.exports=o},72545:function(e){function t(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}e.exports=t},41254:function(e,t,n){var r=n(3237),o=n(63932),i=n(15233),a=n(99835);function s(e){return function(t){var n=o(t=a(t))?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}e.exports=s},25048:function(e,t,n){var r=n(85115),o=n(8820),i=n(12170),a=RegExp("['’]","g");function s(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}e.exports=s},29301:function(e,t,n){var r=n(55833),o=n(30568),i=n(62096);function a(e){return function(t,n,a){var s=Object(t);if(!o(t)){var l=r(n,3);t=i(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[l?t[c]:c]:void 0}}e.exports=a},86262:function(e,t,n){var r=n(56616),o=n(71607),i=n(77969),a=1/0,s=r&&1/i(new r([,-0]))[1]==a?function(e){return new r(e)}:o;e.exports=s},70492:function(e,t,n){var r=n(54256);function o(e){return r(e)?void 0:e}e.exports=o},33729:function(e,t,n){var r=n(61642)({À:"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",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"});e.exports=r},25595:function(e,t,n){var r=n(65234),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},14952:function(e,t,n){var r=n(84546),o=n(1831),i=n(77026),a=1,s=2;function l(e,t,n,l,c,u){var d=n&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var h=u.get(e),m=u.get(t);if(h&&m)return h==t&&m==e;var g=-1,v=!0,y=n&s?new r:void 0;for(u.set(e,t),u.set(t,e);++g<f;){var b=e[g],w=t[g];if(l)var S=d?l(w,b,g,t,e,u):l(b,w,g,e,t,u);if(void 0!==S){if(S)continue;v=!1;break}if(y){if(!o(t,function(e,t){if(!i(y,t)&&(b===e||c(b,e,n,l,u)))return y.push(t)})){v=!1;break}}else if(!(b===w||c(b,w,n,l,u))){v=!1;break}}return u.delete(e),u.delete(t),v}e.exports=l},21080:function(e,t,n){var r=n(70861),o=n(3526),i=n(58260),a=n(14952),s=n(81140),l=n(77969),c=1,u=2,d="[object Boolean]",f="[object Date]",p="[object Error]",h="[object Map]",m="[object Number]",g="[object RegExp]",v="[object Set]",y="[object String]",b="[object Symbol]",w="[object ArrayBuffer]",S="[object DataView]",x=r?r.prototype:void 0,E=x?x.valueOf:void 0;function C(e,t,n,r,x,C,_){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case w:if(e.byteLength!=t.byteLength||!C(new o(e),new o(t)))break;return!0;case d:case f:case m:return i(+e,+t);case p:return e.name==t.name&&e.message==t.message;case g:case y:return e==t+"";case h:var k=s;case v:var O=r&c;if(k||(k=l),e.size!=t.size&&!O)break;var A=_.get(e);if(A)return A==t;r|=u,_.set(e,t);var I=a(k(e),k(t),r,x,C,_);return _.delete(e),I;case b:if(E)return E.call(e)==E.call(t)}return!1}e.exports=C},86524:function(e,t,n){var r=n(54357),o=1,i=Object.prototype.hasOwnProperty;function a(e,t,n,a,s,l){var c=n&o,u=r(e),d=u.length;if(d!=r(t).length&&!c)return!1;for(var f=d;f--;){var p=u[f];if(!(c?p in t:i.call(t,p)))return!1}var h=l.get(e),m=l.get(t);if(h&&m)return h==t&&m==e;var g=!0;l.set(e,t),l.set(t,e);for(var v=c;++f<d;){var y=e[p=u[f]],b=t[p];if(a)var w=c?a(b,y,p,t,e,l):a(y,b,p,e,t,l);if(!(void 0===w?y===b||s(y,b,n,a,l):w)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var S=e.constructor,x=t.constructor;S!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof S&&S instanceof S&&"function"==typeof x&&x instanceof x)&&(g=!1)}return l.delete(e),l.delete(t),g}e.exports=a},33273:function(e,t,n){var r=n(62923),o=n(20340),i=n(4173);function a(e){return i(o(e,void 0,r),e+"")}e.exports=a},20302:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},54357:function(e,t,n){var r=n(4468),o=n(44450),i=n(62096);function a(e){return r(e,i,o)}e.exports=a},55713:function(e,t,n){var r=n(4468),o=n(94969),i=n(9882);function a(e){return r(e,i,o)}e.exports=a},77570:function(e,t,n){var r=n(58949);function o(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=o},72198:function(e,t,n){var r=n(18802),o=n(62096);function i(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}e.exports=i},65234:function(e,t,n){var r=n(99817),o=n(67736);function i(e,t){var n=o(e,t);return r(n)?n:void 0}e.exports=i},18490:function(e,t,n){var r=n(33540)(Object.getPrototypeOf,Object);e.exports=r},91339:function(e,t,n){var r=n(70861),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;function l(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}e.exports=l},44450:function(e,t,n){var r=n(82493),o=n(84506),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:r(a(e=Object(e)),function(t){return i.call(e,t)})}:o;e.exports=s},94969:function(e,t,n){var r=n(10111),o=n(18490),i=n(44450),a=n(84506),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},87493:function(e,t,n){var r=n(94466),o=n(72887),i=n(95747),a=n(56616),s=n(98001),l=n(69823),c=n(55784),u="[object Map]",d="[object Object]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",g=c(r),v=c(o),y=c(i),b=c(a),w=c(s),S=l;(r&&S(new r(new ArrayBuffer(1)))!=m||o&&S(new o)!=u||i&&S(i.resolve())!=f||a&&S(new a)!=p||s&&S(new s)!=h)&&(S=function(e){var t=l(e),n=t==d?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return m;case v:return u;case y:return f;case b:return p;case w:return h}return t}),e.exports=S},67736:function(e){function t(e,t){return null==e?void 0:e[t]}e.exports=t},13544:function(e,t,n){var r=n(24007),o=n(79312),i=n(55589),a=n(5023),s=n(66052),l=n(86040);function c(e,t,n){t=r(t,e);for(var c=-1,u=t.length,d=!1;++c<u;){var f=l(t[c]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(i(e)||o(e))}e.exports=c},63932:function(e){var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function n(e){return t.test(e)}e.exports=n},70605:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function n(e){return t.test(e)}e.exports=n},34440:function(e,t,n){var r=n(24545);function o(){this.__data__=r?r(null):{},this.size=0}e.exports=o},84108:function(e){function t(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=t},61085:function(e,t,n){var r=n(24545),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return i.call(t,e)?t[e]:void 0}e.exports=a},77706:function(e,t,n){var r=n(24545),o=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}e.exports=i},8636:function(e,t,n){var r=n(24545),o="__lodash_hash_undefined__";function i(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}e.exports=i},82865:function(e){var t=Object.prototype.hasOwnProperty;function n(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}e.exports=n},11908:function(e,t,n){var r=n(72962),o=n(97037),i=n(3429),a=n(99349),s=n(21327),l="[object Boolean]",c="[object Date]",u="[object Map]",d="[object Number]",f="[object RegExp]",p="[object Set]",h="[object String]",m="[object Symbol]",g="[object ArrayBuffer]",v="[object DataView]",y="[object Float32Array]",b="[object Float64Array]",w="[object Int8Array]",S="[object Int16Array]",x="[object Int32Array]",E="[object Uint8Array]",C="[object Uint8ClampedArray]",_="[object Uint16Array]",k="[object Uint32Array]";function O(e,t,n){var O=e.constructor;switch(t){case g:return r(e);case l:case c:return new O(+e);case v:return o(e,n);case y:case b:case w:case S:case x:case E:case C:case _:case k:return s(e,n);case u:return new O;case d:case h:return new O(e);case f:return i(e);case p:return new O;case m:return a(e)}}e.exports=O},84046:function(e,t,n){var r=n(57890),o=n(18490),i=n(32840);function a(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}e.exports=a},67123:function(e,t,n){var r=n(70861),o=n(79312),i=n(55589),a=r?r.isConcatSpreadable:void 0;function s(e){return i(e)||o(e)||!!(a&&e&&e[a])}e.exports=s},5023:function(e){var t=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function r(e,r){var o=typeof e;return!!(r=null==r?t:r)&&("number"==o||"symbol"!=o&&n.test(e))&&e>-1&&e%1==0&&e<r}e.exports=r},98132:function(e,t,n){var r=n(58260),o=n(30568),i=n(5023),a=n(93702);function s(e,t,n){if(!a(n))return!1;var s=typeof t;return("number"==s?!!(o(n)&&i(t,n.length)):"string"==s&&t in n)&&r(n[t],e)}e.exports=s},5130:function(e,t,n){var r=n(55589),o=n(52624),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}e.exports=s},58949:function(e){function t(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=t},28597:function(e,t,n){var r=n(1622),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function i(e){return!!o&&o in e}e.exports=i},32840:function(e){var t=Object.prototype;function n(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}e.exports=n},18802:function(e,t,n){var r=n(93702);function o(e){return e==e&&!r(e)}e.exports=o},90266:function(e){function t(){this.__data__=[],this.size=0}e.exports=t},42875:function(e,t,n){var r=n(18498),o=Array.prototype.splice;function i(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}e.exports=i},45828:function(e,t,n){var r=n(18498);function o(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=o},24115:function(e,t,n){var r=n(18498);function o(e){return r(this.__data__,e)>-1}e.exports=o},67690:function(e,t,n){var r=n(18498);function o(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}e.exports=o},39016:function(e,t,n){var r=n(85208),o=n(81998),i=n(72887);function a(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}e.exports=a},62363:function(e,t,n){var r=n(77570);function o(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}e.exports=o},64348:function(e,t,n){var r=n(77570);function o(e){return r(this,e).get(e)}e.exports=o},53062:function(e,t,n){var r=n(77570);function o(e){return r(this,e).has(e)}e.exports=o},30262:function(e,t,n){var r=n(77570);function o(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}e.exports=o},81140:function(e){function t(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=t},94656:function(e){function t(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}e.exports=t},32924:function(e,t,n){var r=n(67997),o=500;function i(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}e.exports=i},24545:function(e,t,n){var r=n(65234)(Object,"create");e.exports=r},82825:function(e,t,n){var r=n(33540)(Object.keys,Object);e.exports=r},84866:function(e){function t(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=t},8690:function(e,t,n){e=n.nmd(e);var r=n(20302),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},25151:function(e){var t=Object.prototype.toString;function n(e){return t.call(e)}e.exports=n},33540:function(e){function t(e,t){return function(n){return e(t(n))}}e.exports=t},20340:function(e,t,n){var r=n(82274),o=Math.max;function i(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}e.exports=i},83744:function(e,t,n){var r=n(40548),o=n(77379);function i(e,t){return t.length<2?e:r(e,o(t,0,-1))}e.exports=i},83250:function(e,t,n){var r=n(20302),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},11933:function(e){function t(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}e.exports=t},83937:function(e){var t="__lodash_hash_undefined__";function n(e){return this.__data__.set(e,t),this}e.exports=n},15009:function(e){function t(e){return this.__data__.has(e)}e.exports=t},77969:function(e){function t(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=t},4173:function(e,t,n){var r=n(46739),o=n(37357)(r);e.exports=o},37357:function(e){var t=800,n=16,r=Date.now;function o(e){var o=0,i=0;return function(){var a=r(),s=n-(a-i);if(i=a,s>0){if(++o>=t)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}e.exports=o},93210:function(e,t,n){var r=n(81998);function o(){this.__data__=new r,this.size=0}e.exports=o},48603:function(e){function t(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=t},38947:function(e){function t(e){return this.__data__.get(e)}e.exports=t},70885:function(e){function t(e){return this.__data__.has(e)}e.exports=t},98938:function(e,t,n){var r=n(81998),o=n(72887),i=n(95678),a=200;function s(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}e.exports=s},45898:function(e){function t(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return -1}e.exports=t},15233:function(e,t,n){var r=n(59512),o=n(63932),i=n(32205);function a(e){return o(e)?i(e):r(e)}e.exports=a},44041:function(e,t,n){var r=n(32924),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=a},86040:function(e,t,n){var r=n(52624),o=1/0;function i(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}e.exports=i},55784:function(e){var t=Function.prototype.toString;function n(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}e.exports=n},62438:function(e){var t=/\s/;function n(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}e.exports=n},32205:function(e){var t="\ud800-\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\ud83c[\udffb-\udfff]",i="[^"+t+"]",a="(?:\ud83c[\udde6-\uddff]){2}",s="[\ud800-\udbff][\udc00-\udfff]",l="(?:"+r+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*",d=c+l+u,f=RegExp(o+"(?="+o+")|(?:"+[i+r+"?",r,a,s,n].join("|")+")"+d,"g");function p(e){return e.match(f)||[]}e.exports=p},76061:function(e){var t="\ud800-\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",a="['’]",s="["+i+"]",l="\\d+",c="["+n+"]",u="["+r+"]",d="[^"+t+i+l+n+r+o+"]",f="(?:\ud83c[\udde6-\uddff]){2}",p="[\ud800-\udbff][\udc00-\udfff]",h="["+o+"]",m="(?:"+u+"|"+d+")",g="(?:"+h+"|"+d+")",v="(?:"+a+"(?:d|ll|m|re|s|t|ve))?",y="(?:"+a+"(?:D|LL|M|RE|S|T|VE))?",b="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",w="[\\ufe0e\\ufe0f]?",S="(?:\\u200d(?:"+["[^"+t+"]",f,p].join("|")+")"+w+b+")*",x="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",E="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",C=w+b+S,_="(?:"+[c,f,p].join("|")+")"+C,k=RegExp([h+"?"+u+"+"+v+"(?="+[s,h,"$"].join("|")+")",g+"+"+y+"(?="+[s,h+m,"$"].join("|")+")",h+"?"+m+"+"+v,h+"+"+y,E,x,l,_].join("|"),"g");function O(e){return e.match(k)||[]}e.exports=O},89309:function(e,t,n){var r=n(60844),o=n(25048)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)});e.exports=o},60844:function(e,t,n){var r=n(99835),o=n(51309);function i(e){return o(r(e).toLowerCase())}e.exports=i},74355:function(e,t,n){var r=n(55589);function o(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}e.exports=o},11286:function(e,t,n){var r=n(77379),o=n(98132),i=n(96843),a=Math.ceil,s=Math.max;function l(e,t,n){t=(n?o(e,t,n):void 0===t)?1:s(i(t),0);var l=null==e?0:e.length;if(!l||t<1)return[];for(var c=0,u=0,d=Array(a(l/t));c<l;)d[u++]=r(e,c,c+=t);return d}e.exports=l},89203:function(e){function t(e){return function(){return e}}e.exports=t},77837:function(e,t,n){var r=n(93702),o=n(80231),i=n(29153),a="Expected a function",s=Math.max,l=Math.min;function c(e,t,n){var c,u,d,f,p,h,m=0,g=!1,v=!1,y=!0;if("function"!=typeof e)throw TypeError(a);function b(t){var n=c,r=u;return c=u=void 0,m=t,f=e.apply(r,n)}function w(e){return m=e,p=setTimeout(E,t),g?b(e):f}function S(e){var n=e-h,r=e-m,o=t-n;return v?l(o,d-r):o}function x(e){var n=e-h,r=e-m;return void 0===h||n>=t||n<0||v&&r>=d}function E(){var e=o();if(x(e))return C(e);p=setTimeout(E,S(e))}function C(e){return(p=void 0,y&&c)?b(e):(c=u=void 0,f)}function _(){void 0!==p&&clearTimeout(p),m=0,c=h=u=p=void 0}function k(){return void 0===p?f:C(o())}function O(){var e=o(),n=x(e);if(c=arguments,u=this,h=e,n){if(void 0===p)return w(h);if(v)return clearTimeout(p),p=setTimeout(E,t),b(h)}return void 0===p&&(p=setTimeout(E,t)),f}return t=i(t)||0,r(n)&&(g=!!n.leading,d=(v="maxWait"in n)?s(i(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),O.cancel=_,O.flush=k,O}e.exports=c},8820:function(e,t,n){var r=n(33729),o=n(99835),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function s(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}e.exports=s},56257:function(e,t,n){var r=n(13700),o=n(22825),i=n(55833),a=n(29735),s=n(18268),l=n(77875),c=a(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),i(n,2)):[]});e.exports=c},58260:function(e){function t(e,t){return e===t||e!=e&&t!=t}e.exports=t},11198:function(e,t,n){var r=n(69865),o=n(5869),i=n(55833),a=n(55589),s=n(98132);function l(e,t,n){var l=a(e)?r:o;return n&&s(e,t,n)&&(t=void 0),l(e,i(t,3))}e.exports=l},64663:function(e,t,n){var r=n(82493),o=n(68146),i=n(55833),a=n(55589);function s(e,t){return(a(e)?r:o)(e,i(t,3))}e.exports=s},26969:function(e,t,n){var r=n(29301)(n(69312));e.exports=r},69312:function(e,t,n){var r=n(44770),o=n(55833),i=n(96843),a=Math.max;function s(e,t,n){var s=null==e?0:e.length;if(!s)return -1;var l=null==n?0:i(n);return l<0&&(l=a(s+l,0)),r(e,o(t,3),l)}e.exports=s},62923:function(e,t,n){var r=n(22825);function o(e){return(null==e?0:e.length)?r(e,1):[]}e.exports=o},13546:function(e,t,n){var r=n(40548);function o(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}e.exports=o},39907:function(e,t,n){var r=n(87500),o=n(17325),i=Object.prototype.hasOwnProperty,a=o(function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=a},45346:function(e,t,n){var r=n(32586),o=n(13544);function i(e,t){return null!=e&&o(e,t,r)}e.exports=i},56708:function(e,t,n){var r=n(62902),o=n(13544);function i(e,t){return null!=e&&o(e,t,r)}e.exports=i},80229:function(e){function t(e){return e}e.exports=t},79312:function(e,t,n){var r=n(33016),o=n(50440),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},55589:function(e){var t=Array.isArray;e.exports=t},30568:function(e,t,n){var r=n(45563),o=n(66052);function i(e){return null!=e&&o(e.length)&&!r(e)}e.exports=i},18268:function(e,t,n){var r=n(30568),o=n(50440);function i(e){return o(e)&&r(e)}e.exports=i},85778:function(e,t,n){e=n.nmd(e);var r=n(83250),o=n(37999),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},29787:function(e,t,n){var r=n(41351),o=n(87493),i=n(79312),a=n(55589),s=n(30568),l=n(85778),c=n(32840),u=n(50922),d="[object Map]",f="[object Set]",p=Object.prototype.hasOwnProperty;function h(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=o(e);if(t==d||t==f)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(p.call(e,n))return!1;return!0}e.exports=h},85466:function(e,t,n){var r=n(34662);function o(e,t){return r(e,t)}e.exports=o},45563:function(e,t,n){var r=n(69823),o=n(93702),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function c(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==l}e.exports=c},66052:function(e){var t=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}e.exports=n},37613:function(e,t,n){var r=n(52275),o=n(31525),i=n(8690),a=i&&i.isMap,s=a?o(a):r;e.exports=s},14698:function(e){function t(e){return null==e}e.exports=t},93702:function(e){function t(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=t},50440:function(e){function t(e){return null!=e&&"object"==typeof e}e.exports=t},54256:function(e,t,n){var r=n(69823),o=n(18490),i=n(50440),a="[object Object]",s=Object.prototype,l=Function.prototype.toString,c=s.hasOwnProperty,u=l.call(Object);function d(e){if(!i(e)||r(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}e.exports=d},60693:function(e,t,n){var r=n(7170),o=n(31525),i=n(8690),a=i&&i.isSet,s=a?o(a):r;e.exports=s},52624:function(e,t,n){var r=n(69823),o=n(50440),i="[object Symbol]";function a(e){return"symbol"==typeof e||o(e)&&r(e)==i}e.exports=a},50922:function(e,t,n){var r=n(42448),o=n(31525),i=n(8690),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},86474:function(e){function t(e){return void 0===e}e.exports=t},84602:function(e,t,n){var r=n(25048)(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});e.exports=r},62096:function(e,t,n){var r=n(75825),o=n(41351),i=n(30568);function a(e){return i(e)?r(e):o(e)}e.exports=a},9882:function(e,t,n){var r=n(75825),o=n(71309),i=n(30568);function a(e){return i(e)?r(e,!0):o(e)}e.exports=a},77875:function(e){function t(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=t},6554:function(e,t,n){var r=n(25048)(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()});e.exports=r},69107:function(e,t,n){var r=n(29233),o=n(55833),i=n(78068),a=n(55589);function s(e,t){return(a(e)?r:i)(e,o(t,3))}e.exports=s},67997:function(e,t,n){var r=n(95678),o="Expected a function";function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},88469:function(e,t,n){var r=n(92133),o=n(66948)(function(e,t,n){r(e,t,n)});e.exports=o},30606:function(e){var t="Expected a function";function n(e){if("function"!=typeof e)throw TypeError(t);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}e.exports=n},71607:function(e){function t(){}e.exports=t},80231:function(e,t,n){var r=n(83250),o=function(){return r.Date.now()};e.exports=o},73352:function(e,t,n){var r=n(29233),o=n(18361),i=n(11928),a=n(24007),s=n(78618),l=n(70492),c=n(33273),u=n(55713),d=1,f=2,p=4,h=c(function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,function(t){return t=a(t,e),c||(c=t.length>1),t}),s(e,u(e),n),c&&(n=o(n,d|f|p,l));for(var h=t.length;h--;)i(n,t[h]);return n});e.exports=h},55371:function(e,t,n){var r=n(55833),o=n(30606),i=n(57383);function a(e,t){return i(e,o(r(t)))}e.exports=a},40916:function(e,t,n){var r=n(54466),o=n(55589);function i(e,t,n,i){return null==e?[]:(o(t)||(t=null==t?[]:[t]),o(n=i?void 0:n)||(n=null==n?[]:[n]),r(e,t,n))}e.exports=i},50663:function(e,t,n){var r=n(17325)(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});e.exports=r},49335:function(e,t,n){var r=n(21785),o=n(33273)(function(e,t){return null==e?{}:r(e,t)});e.exports=o},57383:function(e,t,n){var r=n(29233),o=n(55833),i=n(57121),a=n(55713);function s(e,t){if(null==e)return{};var n=r(a(e),function(e){return[e]});return t=o(t),i(e,n,function(e,n){return t(e,n[0])})}e.exports=s},94437:function(e,t,n){var r=n(86174),o=n(3293),i=n(5130),a=n(86040);function s(e){return i(e)?r(a(e)):o(e)}e.exports=s},50305:function(e,t,n){var r=n(99835);function o(){var e=arguments,t=r(e[0]);return e.length<3?t:t.replace(e[1],e[2])}e.exports=o},71635:function(e,t,n){var r=n(22825),o=n(54466),i=n(29735),a=n(98132),s=i(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=s},84506:function(e){function t(){return[]}e.exports=t},37999:function(e){function t(){return!1}e.exports=t},89022:function(e,t,n){var r=n(77379),o=n(96843);function i(e,t,n){return e&&e.length?r(e,0,(t=n||void 0===t?1:o(t))<0?0:t):[]}e.exports=i},14633:function(e,t,n){var r=n(77837),o=n(93702),i="Expected a function";function a(e,t,n){var a=!0,s=!0;if("function"!=typeof e)throw TypeError(i);return o(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:a,maxWait:t,trailing:s})}e.exports=a},99558:function(e,t,n){var r=n(29153),o=1/0,i=17976931348623157e292;function a(e){return e?(e=r(e))===o||e===-o?(e<0?-1:1)*i:e==e?e:0:0===e?e:0}e.exports=a},96843:function(e,t,n){var r=n(99558);function o(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}e.exports=o},29153:function(e,t,n){var r=n(21656),o=n(93702),i=n(52624),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;function d(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=d},36222:function(e,t,n){var r=n(78618),o=n(9882);function i(e){return r(e,o(e))}e.exports=i},99835:function(e,t,n){var r=n(86245);function o(e){return null==e?"":r(e)}e.exports=o},90292:function(e,t,n){var r=n(80135);function o(e){return e&&e.length?r(e):[]}e.exports=o},51309:function(e,t,n){var r=n(41254)("toUpperCase");e.exports=r},92238:function(e,t,n){var r=n(13700),o=n(29735),i=n(18268),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},12170:function(e,t,n){var r=n(96026),o=n(70605),i=n(99835),a=n(76061);function s(e,t,n){return(e=i(e),void 0===(t=n?void 0:t))?o(e)?a(e):r(e):e.match(t)||[]}e.exports=s},79827:function(e,t,n){var r=n(82493),o=n(55833),i=n(29735),a=n(97676),s=n(18268),l=n(77875),c=i(function(e){var t=l(e);return s(t)&&(t=void 0),a(r(e,s),o(t,2))});e.exports=c},5681:function(e,t,n){!function(){var t=n(54274),r=n(29203).utf8,o=n(17476),i=n(29203).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?i.stringToBytes(e):r.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var s=t.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,f=271733878,p=0;p<s.length;p++)s[p]=(s[p]<<8|s[p]>>>24)&16711935|(s[p]<<24|s[p]>>>8)&4278255360;s[l>>>5]|=128<<l%32,s[(l+64>>>9<<4)+14]=l;for(var h=a._ff,m=a._gg,g=a._hh,v=a._ii,p=0;p<s.length;p+=16){var y=c,b=u,w=d,S=f;c=h(c,u,d,f,s[p+0],7,-680876936),f=h(f,c,u,d,s[p+1],12,-389564586),d=h(d,f,c,u,s[p+2],17,606105819),u=h(u,d,f,c,s[p+3],22,-1044525330),c=h(c,u,d,f,s[p+4],7,-176418897),f=h(f,c,u,d,s[p+5],12,1200080426),d=h(d,f,c,u,s[p+6],17,-1473231341),u=h(u,d,f,c,s[p+7],22,-45705983),c=h(c,u,d,f,s[p+8],7,1770035416),f=h(f,c,u,d,s[p+9],12,-1958414417),d=h(d,f,c,u,s[p+10],17,-42063),u=h(u,d,f,c,s[p+11],22,-1990404162),c=h(c,u,d,f,s[p+12],7,1804603682),f=h(f,c,u,d,s[p+13],12,-40341101),d=h(d,f,c,u,s[p+14],17,-1502002290),u=h(u,d,f,c,s[p+15],22,1236535329),c=m(c,u,d,f,s[p+1],5,-165796510),f=m(f,c,u,d,s[p+6],9,-1069501632),d=m(d,f,c,u,s[p+11],14,643717713),u=m(u,d,f,c,s[p+0],20,-373897302),c=m(c,u,d,f,s[p+5],5,-701558691),f=m(f,c,u,d,s[p+10],9,38016083),d=m(d,f,c,u,s[p+15],14,-660478335),u=m(u,d,f,c,s[p+4],20,-405537848),c=m(c,u,d,f,s[p+9],5,568446438),f=m(f,c,u,d,s[p+14],9,-1019803690),d=m(d,f,c,u,s[p+3],14,-187363961),u=m(u,d,f,c,s[p+8],20,1163531501),c=m(c,u,d,f,s[p+13],5,-1444681467),f=m(f,c,u,d,s[p+2],9,-51403784),d=m(d,f,c,u,s[p+7],14,1735328473),u=m(u,d,f,c,s[p+12],20,-1926607734),c=g(c,u,d,f,s[p+5],4,-378558),f=g(f,c,u,d,s[p+8],11,-2022574463),d=g(d,f,c,u,s[p+11],16,1839030562),u=g(u,d,f,c,s[p+14],23,-35309556),c=g(c,u,d,f,s[p+1],4,-1530992060),f=g(f,c,u,d,s[p+4],11,1272893353),d=g(d,f,c,u,s[p+7],16,-155497632),u=g(u,d,f,c,s[p+10],23,-1094730640),c=g(c,u,d,f,s[p+13],4,681279174),f=g(f,c,u,d,s[p+0],11,-358537222),d=g(d,f,c,u,s[p+3],16,-722521979),u=g(u,d,f,c,s[p+6],23,76029189),c=g(c,u,d,f,s[p+9],4,-640364487),f=g(f,c,u,d,s[p+12],11,-421815835),d=g(d,f,c,u,s[p+15],16,530742520),u=g(u,d,f,c,s[p+2],23,-995338651),c=v(c,u,d,f,s[p+0],6,-198630844),f=v(f,c,u,d,s[p+7],10,1126891415),d=v(d,f,c,u,s[p+14],15,-1416354905),u=v(u,d,f,c,s[p+5],21,-57434055),c=v(c,u,d,f,s[p+12],6,1700485571),f=v(f,c,u,d,s[p+3],10,-1894986606),d=v(d,f,c,u,s[p+10],15,-1051523),u=v(u,d,f,c,s[p+1],21,-2054922799),c=v(c,u,d,f,s[p+8],6,1873313359),f=v(f,c,u,d,s[p+15],10,-30611744),d=v(d,f,c,u,s[p+6],15,-1560198380),u=v(u,d,f,c,s[p+13],21,1309151649),c=v(c,u,d,f,s[p+4],6,-145523070),f=v(f,c,u,d,s[p+11],10,-1120210379),d=v(d,f,c,u,s[p+2],15,718787259),u=v(u,d,f,c,s[p+9],21,-343485551),c=c+y>>>0,u=u+b>>>0,d=d+w>>>0,f=f+S>>>0}return t.endian([c,u,d,f])};a._ff=function(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},a._gg=function(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},a._hh=function(e,t,n,r,o,i,a){var s=e+(t^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+t},a._ii=function(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(null==e)throw Error("Illegal argument "+e);var r=t.wordsToBytes(a(e,n));return n&&n.asBytes?r:n&&n.asString?i.bytesToString(r):t.bytesToHex(r)}}()},41862:function(e,t,n){"use strict";var r=n(70632),o=n(37239),i=n(22600),a=Object.prototype.toString;function s(e){return"[object Date]"===a.call(e)}function l(e){return"[object Number]"===a.call(e)}function c(e){return e<315576e5?1e3*e:e}e.exports=function(e){return s(e)?e:l(e)?new Date(c(e)):r.is(e)?r.parse(e):o.is(e)?o.parse(e):i.is(e)?i.parse(e):new Date(e)}},37239:function(e,t){"use strict";var n=/\d{13}/;t.is=function(e){return n.test(e)},t.parse=function(e){return new Date(e=parseInt(e,10))}},22600:function(e,t){"use strict";var n=/\d{10}/;t.is=function(e){return n.test(e)},t.parse=function(e){return new Date(1e3*parseInt(e,10))}},75362:function(e,t,n){"use strict";var r=n(22167),o=n(44194),i=/(?:[\0-"\$->@-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+/;t.NextAdapterPages=function(e){var t=e.children,n=e.shallow,a=void 0===n||n,s=r.useRouter(),l=s.asPath.match(i),c=l?l[0]:s.asPath,u=o.useMemo(function(){return"undefined"!=typeof window?s.isReady?window.location:{search:""}:{search:s.asPath.replace(i,"")}},[s.asPath,s.isReady]);return t(o.useMemo(function(){function e(e){return function(t){var n=t.hash,r=t.search;e({pathname:s.pathname,search:r,hash:n},{pathname:c,search:r,hash:n},{shallow:a,scroll:!1})}}return{push:e(s.push),replace:e(s.replace),location:u}},[u,c,s,a]))}},39642:function(e,t,n){"use strict";r={value:!0};var r,o=n(75362);n(22167),n(44194),t.Mm=o.NextAdapterPages,r=o.NextAdapterPages},98140:function(e){"use strict";let t=self.fetch.bind(self);e.exports=t,e.exports.default=e.exports},79895:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(14788)},34273:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(93631)}])},61808:function(e,t,n){"use strict";n.d(t,{G_:function(){return i},Uh:function(){return s},cA:function(){return c},z_:function(){return d},ki:function(){return C},FF:function(){return f},aU:function(){return p},kp:function(){return R},WH:function(){return _},uW:function(){return I},Ch:function(){return j},gw:function(){return S},PU:function(){return w},iw:function(){return E},k$:function(){return O},Jo:function(){return k},Ei:function(){return T},YK:function(){return h},df:function(){return x},Tk:function(){return A},yD:function(){return m},I$:function(){return v},Lu:function(){return y},fR:function(){return l},vN:function(){return g},ou:function(){return N},oT:function(){return P},gm:function(){return M.g},lF:function(){return b}});var r=n(44194),o=n(87665);let i=(e,t)=>{(0,r.useEffect)(()=>{e&&o.l.forEach(n=>n.buildingViewed(e,t))},[e])};var a=n(26478);let s=(e,t)=>({onClicked:(0,r.useCallback)(()=>{o.l.forEach(n=>n.mapPinClicked(e,t))},[]),onView:(0,r.useCallback)(n=>{let r=n.getMap().getZoom();r>=a.Q7-5&&o.l.forEach(n=>n.mapPinViewed(e,r,t))},[])}),l=()=>{let e=(0,r.useCallback)((e,t,n,r,i)=>{o.l.forEach(o=>o.submitReferral(e,t,n,r,i))},[]);return{onReferralContactAdded:(0,r.useCallback)((e,t,n,r)=>{o.l.forEach(o=>o.referralContactAdded(e,t,n,r))},[]),onReferralContactRemoved:(0,r.useCallback)((e,t,n,r)=>{o.l.forEach(o=>o.referralContactRemoved(e,t,n,r))},[]),onReferralsSubmitted:e,onLeadStatusUpdated:(0,r.useCallback)((e,t)=>{o.l.forEach(n=>n.leadStatusUpdated(e,t))},[])}},c=(e,t)=>{let n=(0,r.useCallback)(n=>{o.l.forEach(r=>r.buildingBrochureDownloaded(n,e,t))},[e,t]),i=(0,r.useCallback)(n=>{o.l.forEach(r=>r.mediaContentViewed(n.id,n.type,e,t))},[e,t]),a=(0,r.useCallback)(n=>{o.l.forEach(r=>r.mediaContentDownloaded(n.id,n.type,e,t))},[e,t]),s=(0,r.useCallback)(n=>{o.l.forEach(r=>r.tabViewed(n,e,t))},[e,t]),l=(0,r.useCallback)(()=>{o.l.forEach(n=>n.buildingPreviewed(e,t))},[e,t]),c=(0,r.useCallback)(e=>{o.l.forEach(n=>n.buildingCreated(e,t))},[t]),u=(0,r.useCallback)(n=>{o.l.forEach(r=>r.buildingEdited(e,t,n))},[e,t]),d=(0,r.useCallback)(e=>{o.l.forEach(n=>n.buildingApprovalRequested(e,t))},[t]),f=(0,r.useCallback)(e=>{o.l.forEach(n=>n.buildingApprovalRequestCancelled(e,t))},[t]);return{brochureDownloaded:n,mediaContentViewed:i,mediaContentDownloaded:a,tabViewed:s,buildingCreated:c,buildingEdited:u,buildingPreviewed:l,buildingApprovalRequested:d,buildingApprovalRequestCancelled:f,keyDateAdded:(0,r.useCallback)(n=>{o.l.forEach(r=>r.keyDateAdded(e,t,n))},[e,t]),keyDateUpdated:(0,r.useCallback)(n=>{o.l.forEach(r=>r.keyDateUpdated(e,t,n))},[e,t]),keyDateRemoved:(0,r.useCallback)(n=>{o.l.forEach(r=>r.keyDateRemoved(e,t,n))},[e,t])}};var u=n(38442);let d=e=>{var t,n;let{me:i}=(0,u.KR)(),a=null==i?void 0:null===(t=i.operator)||void 0===t?void 0:t.id,s=null==i?void 0:null===(n=i.operator)||void 0===n?void 0:n.name,l=(0,r.useCallback)((t,n)=>{o.l.forEach(r=>r.confirmUpToDateClicked(a,s,t,n,e))},[a,e]),c=(0,r.useCallback)((t,n)=>{o.l.forEach(r=>r.confirmUpToDateConfirmed(a,s,t,n,e))},[a,e]),d=(0,r.useCallback)((t,n)=>{o.l.forEach(r=>r.confirmUpToDateCancelled(a,s,t,n,e))},[a,e]),f=(0,r.useCallback)(()=>{o.l.forEach(e=>e.buildingCollapsed())},[]);return{confirmUpToDateClicked:l,confirmUpToDateConfirmed:c,confirmUpToDateCancelled:d,buildingCollapsed:f,allBuildingCollapsed:(0,r.useCallback)(()=>{o.l.forEach(e=>e.allBuildingCollapsed())},[]),buildingExpanded:(0,r.useCallback)(()=>{o.l.forEach(e=>e.buildingExpanded())},[]),allBuildingExpanded:(0,r.useCallback)(()=>{o.l.forEach(e=>e.allBuildingExpanded())},[])}},f=(e,t)=>({onView:(0,r.useCallback)(()=>{o.l.forEach(n=>n.buildingCardViewed(e,t))},[]),onClicked:(0,r.useCallback)(()=>{o.l.forEach(n=>n.buildingCardClicked(e,t))},[])}),p=e=>({onAdd:(0,r.useCallback)(t=>{o.l.forEach(n=>n.buildingsAddedToShortlist(t,e))},[e]),onRemove:(0,r.useCallback)(t=>{o.l.forEach(n=>n.buildingsRemovedFromShortlist(t,e))},[e])}),h=(e,t)=>({onPreview:(0,r.useCallback)(()=>{o.l.forEach(n=>n.officeSuitePreviewed(e,t))},[]),onEdit:(0,r.useCallback)(()=>{o.l.forEach(n=>n.officeSuiteEdited(e,t))},[])}),m=(e,t)=>{let n=(0,r.useCallback)(t=>{o.l.forEach(n=>n.addBuildingsToOpportunity(e,t))},[]),i=(0,r.useCallback)(n=>{o.l.forEach(r=>r.buildingRemovedFromOpportunity(e,n,t))},[]),a=(0,r.useCallback)(n=>{o.l.forEach(r=>r.spaceAddedToOpportunity(n,e,t))},[]),s=(0,r.useCallback)((e,t)=>{o.l.forEach(n=>n.duplicateButton(e,t))},[]),l=(0,r.useCallback)(e=>{o.l.forEach(t=>t.opportunityFieldGroupExpanded(e))},[]),c=(0,r.useCallback)(e=>{o.l.forEach(t=>t.opportunityFieldGroupCollapsed(e))},[]),u=(0,r.useCallback)(()=>{o.l.forEach(t=>t.opportunityTransferred(e.id))},[]);return{onAddBuildingsToOpportunity:n,onRemoveBuilding:i,onAddSpace:a,onDuplicateOpportunity:s,onFieldGroupExpanded:l,onFieldGroupCollapsed:c,onTransferred:u,onCollaboratorInvited:(0,r.useCallback)(()=>{o.l.forEach(t=>t.collaboratorInvited(e.id))},[]),onCollaboratorRemoved:(0,r.useCallback)(()=>{o.l.forEach(t=>t.collaboratorRemoved(e.id))},[]),onGroupingApplied:(0,r.useCallback)(()=>{o.l.forEach(t=>t.groupingApplied(e.id))},[])}},g=e=>{let t=(0,r.useCallback)(t=>{o.l.forEach(n=>n.buildingAddedToShortlist(t,e))},[]),n=(0,r.useCallback)(t=>{o.l.forEach(n=>n.buildingRemovedFromShortlist(t,e))},[]);return{onAddBuilding:t,onRemoveBuilding:n,onAddOfficeSuite:(0,r.useCallback)((t,n)=>{o.l.forEach(r=>r.officeSuiteAddedToShortlist({id:t,office:n},e))},[]),onRemoveOfficeSuite:(0,r.useCallback)((t,n)=>{o.l.forEach(r=>r.officeSuiteRemovedFromShortlist({id:t,office:n},e))},[]),onAllSpacesIncluded:(0,r.useCallback)(e=>{o.l.forEach(t=>t.allSpacesIncludedToShortlist({id:e}))},[])}},v=()=>{let{me:e}=(0,u.KR)();return{onChangePasswordCancel:(0,r.useCallback)(()=>o.l.forEach(t=>{var n,r;return t.cancelChangePassword(null==e?void 0:null===(n=e.operator)||void 0===n?void 0:n.id,null==e?void 0:null===(r=e.operator)||void 0===r?void 0:r.name)}),[null==e?void 0:e.operator]),onApplyPasswordSuccess:(0,r.useCallback)(()=>o.l.forEach(t=>{var n,r;return t.applyPasswordChangeSuccess(null==e?void 0:null===(n=e.operator)||void 0===n?void 0:n.id,null==e?void 0:null===(r=e.operator)||void 0===r?void 0:r.name)}),[null==e?void 0:e.operator]),onApplyPasswordFailed:(0,r.useCallback)(()=>o.l.forEach(t=>{var n,r;return t.applyPasswordChangeFailed(null==e?void 0:null===(n=e.operator)||void 0===n?void 0:n.id,null==e?void 0:null===(r=e.operator)||void 0===r?void 0:r.name)}),[null==e?void 0:e.operator])}},y=()=>{let{me:e}=(0,u.KR)();return{onDefaultMessageEnabled(){o.l.forEach(t=>{var n,r;return t.defaultReportMessageEnabled(null==e?void 0:null===(n=e.operator)||void 0===n?void 0:n.id,null==e?void 0:null===(r=e.operator)||void 0===r?void 0:r.name)})},onDefaultMessageDisabled(){o.l.forEach(t=>{var n,r;return t.defaultReportMessageDisabled(null==e?void 0:null===(n=e.operator)||void 0===n?void 0:n.id,null==e?void 0:null===(r=e.operator)||void 0===r?void 0:r.name)})},onSplashScreenUpdated(e){o.l.forEach(t=>t.splashScreenUpdated(e))},onFrontCoverCreated(){o.l.forEach(e=>e.frontCoverCreated())},onFrontCoverUpdated(){o.l.forEach(e=>e.frontCoverUpdated())},onFrontCoverRemoved(){o.l.forEach(e=>e.frontCoverRemoved())},onMarketingContentUploaded(){o.l.forEach(e=>e.marketingContentUploaded())},onMarketingContentDeleted(){o.l.forEach(e=>e.marketingContentDeleted())},onClosingSlideUploaded(){o.l.forEach(e=>e.closingSlideUploaded())},onClosingSlideDeleted(){o.l.forEach(e=>e.closingSlideDeleted())}}},b=(e,t)=>({onDetailsClicked(){o.l.forEach(n=>n.viewRequestDetailsClicked(e,t))},onEditClicked(){o.l.forEach(n=>n.viewRequestEditClicked(e,t))},onCancelled(){o.l.forEach(n=>n.viewRequestCancelled(e,t))}}),w=()=>({onApplied(e,t){o.l.forEach(n=>{n.mapFilterApplied(e,t)})},onChanged(e){o.l.forEach(t=>{t.mapFiltersChanged(e)})}}),S=()=>({onView:(0,r.useCallback)(()=>{o.l.forEach(e=>e.viewInsights())},[]),onSurveysClick:(0,r.useCallback)(()=>{o.l.forEach(e=>e.insightsSurveyClicked())},[])}),x=()=>({onView(){o.l.forEach(e=>e.viewOperators())},onTableAction(e,t){o.l.forEach(n=>n.operatorsTableAction(e,t))}}),E=()=>({onCollapse(){o.l.forEach(e=>{e.mapSidebarCollapsed()})},onExpand(){o.l.forEach(e=>{e.mapSidebarExpanded()})}}),C=()=>({clicked:(0,r.useCallback)(()=>{o.l.forEach(e=>e.promotionClicked())},[])}),_=()=>({onDataInsightsEnquired:(0,r.useCallback)(()=>{o.l.forEach(e=>e.dataInsightsEnquired())},[])}),k=()=>({onMergeOptions(e){o.l.forEach(t=>{t.mergeOptionsClicked(e)})}}),O=()=>({onHelpCenterViewed(e){o.l.forEach(t=>{t.helpCenterViewed(e)})}}),A=()=>({onColumnsViewChanged(e){o.l.forEach(t=>t.opportunityColumnsViewChanged(e))},onOpportunityAdded(e,t,n,r){o.l.forEach(o=>o.opportunityAdded(e,t,n,r))}}),I=()=>({onReportWizardOpen(){o.l.forEach(e=>e.reportWizardOpened())},onReportPathSelect(e){o.l.forEach(t=>t.reportPathSelected(e))},onContactRepresentative(){o.l.forEach(e=>e.representativeContacted())},onViewExampleReport(){o.l.forEach(e=>e.exampleReportViewed())},onViewPersonalisedMessageExample(){o.l.forEach(e=>e.personalisedMessageExampleViewed())},onViewCustomerPromptExample(){o.l.forEach(e=>e.customerPromptExampleViewed())},onPreviewReport(){o.l.forEach(e=>e.reportPreviewed())},onCopyReportLink(){o.l.forEach(e=>e.reportLinkCopied())},onGeneratePDF(e,t){o.l.forEach(n=>n.generatePDF(e,t))},onFeedbackResolved(e){o.l.forEach(t=>t.feedbackResolved(e))},onProspectLogoUploaded(e){o.l.forEach(t=>t.prospectLogoUploaded(e))},onReportUpdated(e,t,n,r,i){o.l.forEach(o=>o.reportUpdated(e,t,n,r,i))}}),P=()=>({onReportGenerated(e){o.l.forEach(t=>t.tourReportGenerated(e))},onBuildingAdded(e){o.l.forEach(t=>t.buildingAddedToTourScheduler(e,"OPPORTUNITY"))}}),T=()=>({onMissingRegionContactClicked(){o.l.forEach(e=>{e.missingRegionContactClicked()})}}),R=()=>({onMembersAccessRequested(e){o.l.forEach(t=>{t.membersAccessRequested(e)})},onMemberRemovalRequested(e){o.l.forEach(t=>{t.memberRemovalRequested(e)})},onMemberRequestRemoved(){o.l.forEach(e=>{e.memberRequestRemoved()})}});var M=n(41881);let N=()=>({onTalkToUsClicked(){o.l.forEach(e=>{e.talkToUsClicked()})}}),j=()=>({onNoteAdded(e){o.l.forEach(t=>t.enquiryNoteAdded(e))},onViewed(e){o.l.forEach(t=>t.enquiryViewed(e))},onMessageAdded(e){o.l.forEach(t=>t.enquiryMessageAdded(e))},onSpaceSuggested(e){o.l.forEach(t=>t.enquirySpaceSuggested(e))},onSpaceSuggestionAccepted(e,t){o.l.forEach(n=>n.enquirySuggestionAccepted(e,t))},onSpaceSuggestionDeclined(e,t){o.l.forEach(n=>n.enquirySuggestionDeclined(e,t))},onSpaceUpdated(e){o.l.forEach(t=>t.enquirySpaceUpdated(e))},onConfirmAvailability(e){o.l.forEach(t=>t.enquiryAvailabilityConfirmed(e))},onLeadStatusChanged(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;o.l.forEach(r=>r.enquiryLeadStatusChanged(e,t,n))}})},41881:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var r=n(87665);let o=()=>({onUpgradePlanContactClicked(){r.l.forEach(e=>{e.upgradePlanContactClicked()})}})},51176:function(e,t,n){"use strict";n.d(t,{gx:function(){return e3.g},_F:function(){return cO},aU:function(){return cI}});var r,o,i,a,s,l,c,u={};n.r(u),n.d(u,{e4:function(){return n2},assign:function(){return n1},al:function(){return nX},choose:function(){return n8},aT:function(){return n3},Sl:function(){return n4},vU:function(){return n5},Tn:function(){return n6},o$:function(){return nF},bf:function(){return nZ},OU:function(){return nq},yC:function(){return n9},lW:function(){return nW},xc:function(){return nK},BL:function(){return nQ},stop:function(){return nJ},Q8:function(){return nz},AE:function(){return nU},XA:function(){return nH}});var d={};n.r(d),n.d(d,{Content:function(){return ld},List:function(){return lc},Root:function(){return ll},Tabs:function(){return s9},TabsContent:function(){return li},TabsList:function(){return lt},TabsTrigger:function(){return lr},Trigger:function(){return lu},createTabsScope:function(){return s5}});var f=n(31549),p=n(44194),h=n.t(p,2),m=n(33569),g=n(40421),v=new g.k("I18n"),y=function(){function e(e){this._options=null,this._lang=null,this._dict={},this._options=Object.assign({},e),this._lang=this._options.language,!this._lang&&"undefined"!=typeof window&&window&&window.navigator&&(this._lang=window.navigator.language),v.debug(this._lang)}return e.prototype.setLanguage=function(e){this._lang=e},e.prototype.get=function(e,t){if(void 0===t&&(t=void 0),!this._lang)return void 0!==t?t:e;var n=this._lang,r=this.getByLanguage(e,n);return r||((n.indexOf("-")>0&&(r=this.getByLanguage(e,n.split("-")[0])),r)?r:void 0!==t?t:e)},e.prototype.getByLanguage=function(e,t,n){if(void 0===n&&(n=null),!t)return n;var r=this._dict[t];return r?r[e]:n},e.prototype.putVocabulariesForLanguage=function(e,t){var n=this._dict[e];n||(n=this._dict[e]={}),this._dict[e]=(0,m.__assign)((0,m.__assign)({},n),t)},e.prototype.putVocabularies=function(e){var t=this;Object.keys(e).map(function(n){t.putVocabulariesForLanguage(n,e[n])})},e}(),b=n(17825),w=new g.k("I18n"),S=null,x=null,E=function(){function e(){}return e.configure=function(t){return w.debug("configure I18n"),t&&(S=Object.assign({},S,t.I18n||t),e.createInstance()),S},e.getModuleName=function(){return"I18n"},e.createInstance=function(){w.debug("create I18n instance"),x||(x=new y(S))},e.setLanguage=function(t){return e.checkConfig(),x.setLanguage(t)},e.get=function(t,n){return e.checkConfig()?x.get(t,n):void 0===n?t:n},e.putVocabulariesForLanguage=function(t,n){return e.checkConfig(),x.putVocabulariesForLanguage(t,n)},e.putVocabularies=function(t){return e.checkConfig(),x.putVocabularies(t)},e.checkConfig=function(){return x||(x=new y(S)),!0},e}();b.d.register(E);let C={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Add your Profile":"Add your Profile","Add your Website":"Add your Website","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your Birthdate":"Enter your Birthdate","Enter your code":"Enter your code","Enter your Confirmation Code":"Enter your Confirmation Code","Enter your Email":"Enter your Email","Enter your Family Name":"Enter your Family Name","Enter your Given Name":"Enter your Given Name","Enter your Middle Name":"Enter your Middle Name","Enter your Name":"Enter your Name","Enter your Nickname":"Enter your Nickname","Enter your Password":"Enter your Password","Enter your phone number":"Enter your phone number","Enter your Preferred Username":"Enter your Preferred Username","Enter your username":"Enter your username","Forgot password?":"Forgot password?","Forgot your password?":"Forgot your password?","Hide password":"Hide password","It may take a minute to arrive":"It may take a minute to arrive",Loading:"Loading","New password":"New password",or:"or",Password:"Password","Phone Number":"Phone Number","Please confirm your Password":"Please confirm your Password","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send code":"Send code","Send Code":"Send Code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in to your account":"Sign in to your account","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"Sign in","Sign In":"Sign In","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting",Username:"Username","Verify Contact":"Verify Contact",Verify:"Verify","We Emailed You":"We Emailed You","We Sent A Code":"We Sent A Code","We Texted You":"We Texted You","Your code is on the way. To log in, enter the code we emailed to":"Your code is on the way. To log in, enter the code we emailed to","Your code is on the way. To log in, enter the code we sent you":"Your code is on the way. To log in, enter the code we sent you","Your code is on the way. To log in, enter the code we texted to":"Your code is on the way. To log in, enter the code we texted to"},_={"Account recovery requires verified contact information":"La recuperaci\xf3n de la cuenta requiere informaci\xf3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xf3n","Change Password":"Cambiar contrase\xf1a",Changing:"Cambiando",Code:"C\xf3digo","Confirm Password":"Confirmar contrase\xf1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xf3digo de SMS","Confirm TOTP Code":"Confirmar c\xf3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xf3digo de confirmaci\xf3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your code":"Ingrese el c\xf3digo","Enter your Email":"Escriba su Email","Enter your Password":"Escriba su Contrase\xf1a","Enter your phone number":"Ingrese el n\xfamero de tel\xe9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xbfOlvid\xf3 su contrase\xf1a?","Hide password":"Ocultar contrase\xf1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xf1a",or:"o",Password:"Contrase\xf1a","Phone Number":"N\xfamero de tel\xe9fono","Resend Code":"Reenviar c\xf3digo","Reset your password":"Restablecer su contrase\xf1a","Reset your Password":"Restablecer su Contrase\xf1a","Send code":"Enviar c\xf3digo","Send Code":"Enviar c\xf3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xf1a","Sign in to your account":"Iniciar sesi\xf3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xf3n con Amazon","Sign In with Apple":"Iniciar Sesi\xf3n con Apple","Sign In with Facebook":"Iniciar Sesi\xf3n con Facebook","Sign In with Google":"Iniciar Sesi\xf3n con Google","Sign in":"Iniciar sesi\xf3n","Sign In":"Iniciar Sesi\xf3n","Signing in":"Iniciando sesi\xf3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xf3nico","We Sent A Code":"Hemos enviado un c\xf3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xf3digo est\xe1 en camino. Para iniciar sesi\xf3n, escriba el c\xf3digo que hemos enviado por correo electr\xf3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xf3digo est\xe1 en camino. Para iniciar sesi\xf3n, escriba el c\xf3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xf3digo est\xe1 en camino. Para iniciar sesi\xf3n, escriba el c\xf3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xf3digo","Confirm Sign In":"Confirmar inicio de sesi\xf3n","Forgot Password":"Olvid\xe9 mi contrase\xf1a","Incorrect username or password.":"Nombre de usuario o contrase\xf1a incorrecta","Invalid password format":"Formato de contrase\xf1a inv\xe1lido","Invalid phone number format":"Formato de n\xfamero de tel\xe9fono inv\xe1lido","Loading...":"Cargando...","New Password":"Nueva contrase\xf1a","Resend a Code":"Reenviar un c\xf3digo","Sign Out":"Cerrar sesi\xf3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xedo","Your passwords must match":"Las contrase\xf1as deben coincidir"},k={"Account recovery requires verified contact information":"La r\xe9cup\xe9ration du compte n\xe9cessite des informations de contact v\xe9rifi\xe9es","Back to Sign In":"Retour \xe0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xe9er un nouveau compte","Create Account":"Cr\xe9er un compte","Creating Account":"Cr\xe9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your Email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xe9ro de t\xe9l\xe9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xe9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xe9ro de t\xe9l\xe9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xe9initialiser votre mot de passe","Reset your password":"R\xe9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xe0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xe9rifier le contact",Verify:"V\xe9rifier","We Sent A Code":"Nous avons envoy\xe9 un code","We Texted You":"Nous vous avons envoy\xe9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xe9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xe9j\xe0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xe9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot Password":"Mot de passe oubli\xe9","Have an account? ":"D\xe9j\xe0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xe9ro de t\xe9l\xe9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xe9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xe9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xe9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xe9j\xe0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xeatre renseign\xe9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xe9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xe7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xe7u sur ce num\xe9ro de t\xe9l\xe9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},O={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your Email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xe8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xe8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xe8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xe8 gi\xe0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot Password?":"Password dimenticata?","Have an account? ":"Gi\xe0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xe8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xe0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xf2 essere vuoto"},A={"Account recovery requires verified contact information":"アカウントの復旧には確認済みの連絡先が必要です","Back to Sign In":"サインインに戻る","Change Password":"パスワードを変える ",Changing:"変更中",Code:"コード","Confirm Password":"パスワードの確認","Confirm Sign Up":"登録する","Confirm SMS Code":"SMS コードを確認","Confirm TOTP Code":"TOTP コードを確認",Confirm:"確定","Confirmation Code":"確認コード",Confirming:"確認中","Create a new account":"新しいアカウントを作る","Create Account":"アカウントを作る","Creating Account":"アカウントの作成中","Dismiss alert":"アラートを閉じる",Email:"メールアドレス","Enter your code":"コードを入力","Enter your Email":"メールアドレスを入力","Enter your phone number":"電話番号を入力","Enter your username":"ユーザー名を入力 ","Forgot your password?":"パスワードを忘れましたか？ ","Hide password":"パスワードを非表示","It may take a minute to arrive":"到着するまでに 1 分かかることがあります。",Loading:"ロード中","New password":"新しいパスワード",or:"又は",Password:"パスワード ","Phone Number":"電話番号","Resend Code":"コードを再送信","Reset your Password":"パスワードをリセット","Reset your password":"パスワードをリセットする","Send code":"コードを送信","Send Code":"コードを送信",Sending:"送信中","Setup TOTP":"TOTP をセットアップ","Show password":"パスワードを表示","Sign in to your account":"アカウントにサインイン ","Sign In with Amazon":"Amazonでサインイン","Sign In with Apple":"Apple でサインイン","Sign In with Facebook":"Facebookでサインイン","Sign In with Google":"Googleでサインイン","Sign In":"サインイン ","Sign in":"サインイン","Signing in":"サインイン中",Skip:"スキップ",Submit:"送信",Submitting:"送信中",Username:"ユーザー名 ","Verify Contact":"連絡先を確認",Verify:"確認","We Sent A Code":"コードが送信されました","We Texted You":"テキストが送信されました","Your code is on the way. To log in, enter the code we sent you":"コードが途中です。ログインするには、送信したコードを入力してください。","An account with the given email already exists.":"入力されたメールアドレスのアカウントが既に存在します","Confirm a Code":"コードを確認","Confirm Sign In":"サインインする","Create account":"アカウントを作る ","Enter your password":"パスワードを入力 ","Enter your Password":"パスワードを入力","Please confirm your Password":"パスワードを入力","Forgot Password":"パスワードを忘れた ","Have an account? ":"アカウントを持っていますか？","Incorrect username or password":"ユーザー名かパスワードが異なります ","Invalid password format":"パスワードの形式が無効です ","Invalid phone number format":"不正な電話番号の形式です。\n+12345678900 の形式で入力してください","It may take a minute to arrive.":"コードを受信するまで数分かかる場合があります。","Lost your code? ":"コードを失くしましたか？","New Password":"新しいパスワード","No account? ":"アカウントが無いとき ","Password attempts exceeded":"サインインの試行回数が上限に達しました","Reset password":"パスワードをリセット ","Reset Password":"パスワードをリセット","Sign Out":"サインアウト ","Sign Up":"登録 ","User already exists":"既にユーザーが存在しています ","User does not exist":"ユーザーが存在しません ","Username cannot be empty":"ユーザー名は入力必須です","We Emailed You":"コードを送信しました","Your code is on the way. To log in, enter the code we emailed to":"ログインするには、メールに記載されたコードを入力してください。送信先:","Your code is on the way. To log in, enter the code we texted to":"ログインするには、テキストメッセージに記載されたコードを入力してください。送信先:"},I={"Account recovery requires verified contact information":"계정 복구를 위해 연락처 확인이 필요합니다","Back to Sign In":"로그인으로 돌아가기","Change Password":"비밀번호 변경하기",Changing:"변경중",Code:"코드","Confirm Password":"비밀번호 재확인","Confirm Sign Up":"회원가입 확인","Confirm SMS Code":"휴대폰 본인 확인","Confirm TOTP Code":"TOTP 인증번호 확인",Confirm:"확인","Confirmation Code":"인증번호",Confirming:"확인중","Create a new account":"회원가입","Create Account":"회원가입","Creating Account":"회원가입중","Dismiss alert":"알림 무시",Email:"이메일","Enter your code":"인증번호를 입력해주세요","Enter your Email":"이메일 입력","Enter your phone number":"전화번호 입력","Enter your username":"아이디를 입력해주세요","Hide password":"비밀번호 숨기기","It may take a minute to arrive":"도착하는 데 1분 정도 걸릴 수 있습니다",Loading:"로딩중","New password":"새 비밀번호",or:"또는",Password:"비밀번호","Phone Number":"전화번호","Resend Code":"인증번호 재전송","Reset your password":"비밀번호 재설정","Reset your Password":"비밀번호 재설정","Send code":"인증코드 보내기","Send Code":"코드 전송",Sending:"전송중","Setup TOTP":"TOTP 설정하기","Show password":"비밀번호 보이기","Sign in to your account":"로그인","Sign In with Amazon":"Amazon 로그인","Sign In with Apple":"Apple 로그인","Sign In with Facebook":"Facebook 로그인","Sign In with Google":"Google 로그인","Sign in":"로그인","Sign In":"로그인","Signing in":"로그인중",Skip:"다음에 하기",Submit:"확인",Submitting:"확인중",Username:"아이디","Verify Contact":"연락처 확인",Verify:"인증","We Emailed You":"이메일을 보냄","We Sent A Code":"코드를 보냄","We Texted You":"문자 메시지를 보냄","Your code is on the way. To log in, enter the code we emailed to":"코드가 전송 중입니다. 로그인하려면 이메일로 전송한 코드를 입력하세요","Your code is on the way. To log in, enter the code we sent you":"코드가 전송 중입니다. 로그인하려면 전송한 코드를 입력하세요","Your code is on the way. To log in, enter the code we texted to":"코드가 전송 중입니다. 로그인하려면 문자 메시지로 전송한 코드를 입력하세요",Birthdate:"생년월일","Family Name":"성","Forgot your password?":"비밀번호를 잊으셨나요?","Given Name":"이름",Name:"성함",Nickname:"닉네임","Preferred Username":"닉네임",Profile:"프로필","Reset Password":"비밀번호 재설정",Website:"웹사이트"},P={"Account recovery requires verified contact information":"Gjenoppretting av konto krever verifisert kontaktinformajson","Add your Profile":"Legg til profilen din","Add your Website":"Legg til nettsiden din","Back to Sign In":"Tilbake til innlogging","Change Password":"Bytt passord",Changing:"Endre",Code:"Kode","Confirm Password":"Bekreft passordet","Confirm Sign Up":"Bekreft registrering","Confirm SMS Code":"Bekreft SMS-kode","Confirm TOTP Code":"Bekreft TOTP-kode",Confirm:"Bekreft","Confirmation Code":"Bekreftelseskode",Confirming:"Bekrefter","Create a new account":"Opprett en ny konto","Create Account":"Opprett konto","Creating Account":"Oppretter konto","Dismiss alert":"Avvis varsel",Email:"E-post","Enter your Birthdate":"Skriv inn f\xf8dselsdatoen din","Enter your code":"Skriv inn koden din","Enter your Confirmation Code":"Skriv inn bekreftelseskoden din","Enter your Email":"Skriv inn e-postadressen din","Enter your Family Name":"Skriv inn etternavnet ditt","Enter your Given Name":"Skriv inn fornavnet ditt","Enter your Middle Name":"Skriv inn mellomnavnet ditt","Enter your Name":"Skriv inn navnet ditt","Enter your Nickname":"Skriv inn kallenavnet ditt","Enter your Password":"Skriv inn passordet ditt","Enter your phone number":"Skriv inn telefonnummeret ditt","Enter your Preferred Username":"Skriv inn det foretrukne brukernavnet ditt","Enter your username":"Skriv inn brukernavnet ditt","Forgot password?":"Glemt passord?","Forgot your password?":"Glemt passordet ditt?","Hide password":"Skjul passordet","It may take a minute to arrive":"Det kan ta et minutt for \xe5 komme frem",Loading:"Laster inn","New password":"Nytt passord",or:"eller",Password:"Passord","Phone Number":"Telefonnummer","Please confirm your Password":"Vennligst bekreft passordet ditt","Resend Code":"Send koden p\xe5 nytt","Reset your password":"Nullstill passordet ditt","Reset your Password":"Nullstill passordet ditt","Send code":"Send kode","Send Code":"Send kode",Sending:"Sender","Setup TOTP":"Konfigurer TOTP","Show password":"Vis passordet","Sign in to your account":"Logg inn p\xe5 kontoen din","Sign In with Amazon":"Logg inn med Amazon","Sign In with Apple":"Logg inn med Apple","Sign In with Facebook":"Logg inn med Facebook","Sign In with Google":"Logg inn med Google","Sign in":"Logg inn","Sign In":"Logg inn","Signing in":"Logger inn",Skip:"Hopp over",Submit:"Send inn",Submitting:"Sender inn",Username:"Brukernavn","Verify Contact":"Bekreft kontakt",Verify:"Bekreft","We Emailed You":"Vi sendte deg en e-post","We Sent A Code":"Vi sendte en kode","We Texted You":"Vi sendte deg en tekstmelding","Your code is on the way. To log in, enter the code we emailed to":"Koden din er p\xe5 vei. For \xe5 logge inn, skriv inn koden vi sendte e-post til","Your code is on the way. To log in, enter the code we sent you":"Koden din er p\xe5 vei. For \xe5 logge inn, skriv inn koden vi sendte deg","Your code is on the way. To log in, enter the code we texted to":"Koden din er p\xe5 vei. For \xe5 logge inn, skriv inn koden vi sendte tekstmelding til","An account with the given email already exists.":"Det finnes allerede en konto med denne e-postadressen","Confirm a Code":"Bekreft koden","Confirm Sign In":"Bekreft innlogging","Create account":"Opprett konto","Enter your password":"Skriv inn passordet ditt","Forgot Password":"Glemt passordet","Have an account? ":"Har en konto allerede? ","Incorrect username or password":"Feil brukernavn eller passord","Invalid password format":"Ugyldig passordformat","Invalid phone number format":"Ugyldig telefonnummerformat","Lost your code? ":"Mistet koden? ","New Password":"Nytt passord","No account? ":"Ingen konto? ","Password attempts exceeded":"For mange mislykkede passordfors\xf8k","Reset password":"Nullstill passord","Sign Out":"Logg ut","Sign Up":"Registrering","User already exists":"Brukeren finnes allerede","User does not exist":"Brukeren finnes ikke","Username cannot be empty":"Brukernavnet kan ikke v\xe6re tomt"},T={"Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens","Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create a new account":"Nieuw account aanmaken","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt","Dismiss alert":"Waarschuwing sluiten",Email:"E-mail","Enter your code":"Vul je code in","Enter your Email":"Vul je e-mail in","Enter your Password":"Vul je wachtwoord in","Enter your phone number":"Vul je telefoonnummer in","Enter your username":"Vul je gebruikersnaam in","Enter your Username":"Vul je gebruikersnaam in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord","It may take a minute to arrive":"Het kan even duren voordat deze aankomt",Loading:"Laden","New password":"Nieuw wachtwoord","New Password":"Nieuw Wachtwoord",or:"of",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Please confirm your Password":"Bevestig je wachtwoord","Resend Code":"Verstuur code nogmaals","Reset Password":"Wachtwoord resetten","Reset your password":"Reset je wachtwoord","Reset your Password":"Wachtwoord resetten","Send code":"Verstuur code","Send Code":"Verstuur Code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in to your account":"Inloggen op je account","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in":"Inloggen","Sign In":"Inloggen","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd",Username:"Gebruikersnaam","Verify Contact":"Verifieer Contact",Verify:"Verifieer","We Emailed You":"We hebben u een e-mail gestuurd","We Sent A Code":"We hebben een code gestuurd","We Texted You":"We hebben u een sms gestuurd","Your code is on the way. To log in, enter the code we emailed to":"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar","Your code is on the way. To log in, enter the code we sent you":"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd","Your code is on the way. To log in, enter the code we texted to":"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar","Your passwords must match":"Je wachtwoorden moeten overeenkomen"},R={"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xf3t do logowania","Change Password":"Zmień hasło",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierdź Hasło","Confirm Sign Up":"Potwierdź rejestrację","Confirm SMS Code":"Potwierdź kod SMS","Confirm TOTP Code":"Potwierdź hasło jednorazowe",Confirm:"Potwierdź","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xf3rz nowe konto","Create Account":"Utw\xf3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzuć alert",Email:"E-mail","Enter your code":"Wprowadź sw\xf3j kod","Enter your Email":"Wpisz sw\xf3j adres e-mail","Enter your phone number":"Wpisz sw\xf3j numer telefonu","Enter your username":"Wprowadź swoją nazwę użytkownika","Forgot your password?":"Zapomniałeś hasła? ","Hide password":"Ukryj hasło","It may take a minute to arrive":"Może to chwilę potrwać",Loading:"Ładowanie","New password":"Nowe hasło",or:"albo",Password:"Hasło","Phone Number":"Numer telefonu","Resend Code":"Wyślij kod ponownie","Reset your password":"Zresetuj swoje hasło","Reset your Password":"Zresetuj swoje hasło","Send code":"Wyślij kod","Send Code":"Zresetuj hasło",Sending:"Wysyłanie","Setup TOTP":"Konfiguruj TOTP","Show password":"Pokaż hasło","Sign in to your account":"Zaloguj się na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"Pomiń",Submit:"Wyślij",Submitting:"Wysyłanie",Username:"Nazwa użytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imię","Middle Name":"Drugie imię",Name:"Imię i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa użytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wysłaliśmy Ci wiadomość e-mail","We Sent A Code":"Wysłaliśmy kod","We Texted You":"Wysłaliśmy Ci wiadomość SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xf3j kod został wysłany. Aby się zalogować, wprowadź kod wysłany na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xf3j kod został wysłany. Aby się zalogować, wprowadź wysłany do Ciebie kod","Your code is on the way. To log in, enter the code we texted to":"Tw\xf3j kod został wysłany. Aby się zalogować, wprowadź kod wysłany do Ciebie w wiadomości SMS pod numer"},M={"Account recovery requires verified contact information":"A recupera\xe7\xe3o da conta requer informa\xe7\xf5es de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xf3digo","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscri\xe7\xe3o","Confirm SMS Code":"Confirme o c\xf3digo SMS","Confirm TOTP Code":"Confirme o c\xf3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xf3digo de confirma\xe7\xe3o",Confirming:"Confirmando","Create a new account":"Criar uma nova conta","Create Account":"Criar Conta","Creating Account":"Criando conta","Dismiss alert":"Descartar alerta",Email:"O email","Enter your code":"Insira seu c\xf3digo","Enter your Email":"Digite seu e-mail","Enter your phone number":"Digite seu n\xfamero de telefone","Enter your username":"entre com seu nome de usu\xe1rio","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha","It may take a minute to arrive":"Pode levar um minuto para chegar",Loading:"Carregando","New password":"Nova Senha",or:"ou",Password:"Senha","Phone Number":"N\xfamero de telefone","Resend Code":"Reenviar c\xf3digo","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar c\xf3digo","Send Code":"Enviar c\xf3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Fa\xe7a login em sua conta","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xe7a login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usu\xe1rio","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para voc\xea","We Sent A Code":"Enviamos um c\xf3digo","We Texted You":"Enviamos um SMS para voc\xea","Your code is on the way. To log in, enter the code we emailed to":"Seu c\xf3digo est\xe1 a caminho. Para fazer login, insira o c\xf3digo para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu c\xf3digo est\xe1 a caminho. Para fazer login, insira o c\xf3digo que enviamos para voc\xea","Your code is on the way. To log in, enter the code we texted to":"Seu c\xf3digo est\xe1 a caminho. Para fazer login, insira o c\xf3digo para o qual enviamos uma mensagem de texto"},N={"Account recovery requires verified contact information":"账户恢复需要验证过的联系方式","Back to Sign In":"回到登录","Change Password":"更改密码",Changing:"正在修改",Code:"确认码","Confirm Password":"确认密码","Confirm Sign Up":"确认注册","Confirm SMS Code":"确认短信验证码","Confirm TOTP Code":"确认 TOTP 代码",Confirm:"确认","Confirmation Code":"确认码",Confirming:"正在确认","Create a new account":"创建新账户","Create Account":"创建账户","Creating Account":"正在创建账户","Dismiss alert":"关闭警报",Email:"邮箱","Enter your code":"输入验证码","Enter your Email":"输入电子邮件","Enter your phone number":"输入电话号码","Enter your username":"输入用户名","Forgot your password?":"忘记密码了？","Hide password":"隐藏密码","It may take a minute to arrive":"可能需要一分钟才能到达",Loading:"正在加载","New password":"新密码",or:"或者",Password:"密码","Phone Number":"电话","Resend Code":"重发验证码","Reset your password":"重置密码","Reset your Password":"重置密码","Send Code":"发送确认码","Send code":"发送验证码",Sending:"正在发送","Setup TOTP":"设置 TOTP","Show password":"显示密码","Sign in to your account":"登录账户","Sign In with Amazon":"通过 Amazon 登录","Sign In with Apple":"通过 Apple 登录","Sign In with Facebook":"通过 Facebook 登录","Sign In with Google":"通过 Google 登录","Sign in":"登录","Sign In":"登录","Signing in":"正在登录",Skip:"跳过",Submit:"提交",Submitting:"正在提交",Username:"用户名","Verify Contact":"验证联系方式",Verify:"验证","We Emailed You":"我们给您发送了电子邮件","We Sent A Code":"我们发送了代码","We Texted You":"我们给您发送了短信","Your code is on the way. To log in, enter the code we emailed to":"您的代码正在发送中。要登录，请输入我们通过电子邮件发送给以下人员的代码：","Your code is on the way. To log in, enter the code we sent you":"您的代码正在发送中。要登录，请输入我们发送给您的代码","Your code is on the way. To log in, enter the code we texted to":"您的代码正在发送中。要登录，请输入我们通过短信发送给以下人员的代码：","Confirm a Code":"确认码","Confirm Sign In":"确认登录","Forgot Password":"忘记密码","Incorrect username or password":"用户名或密码错误","Invalid password format":"密码格式错误","Invalid phone number format":"电话格式错误，请使用格式 +12345678900","New Password":"新密码","Resend a Code":"重发确认码","Sign Out":"退出","Sign Up":"注册","User already exists":"用户已经存在","User does not exist":"用户不存在"},j={"Account recovery requires verified contact information":"F\xf6r att \xe5terst\xe4lla kontot beh\xf6ver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xf6senord",Changing:"\xc4ndra",Code:"Kod","Confirm Password":"Bekr\xe4fta l\xf6senord","Confirm Sign Up":"Bekr\xe4fta registrering","Confirm SMS Code":"Bekr\xe4fta SMS-kod","Confirm TOTP Code":"Bekr\xe4fta TOTP-kod",Confirm:"Bekr\xe4fta","Confirmation Code":"Verifikationskod",Confirming:"Bekr\xe4ftar","Create a new account":"Skapa ett nytt konto","Create Account":"Skapa konto","Creating Account":"Skapar konto","Dismiss alert":"Avvisa varning",Email:"E-post","Enter your code":"Skriv din kod","Enter your Email":"Fyll i din e-post","Enter your phone number":"Ange ditt telefonnummer","Enter your username":"Ange ditt anv\xe4ndarnamn","Forgot your password?":"Gl\xf6mt ditt l\xf6senord? ","Hide password":"D\xf6lj l\xf6senord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt l\xf6senord",or:"eller",Password:"L\xf6senord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"\xc5terst\xe4ll ditt l\xf6senord","Reset your Password":"\xc5terst\xe4ll ditt l\xf6senord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa l\xf6senord","Sign in to your account":"Logga in till ditt konto","Sign In with Amazon":"Logga in med Amazon","Sign In with Apple":"Logga in med Apple","Sign In with Facebook":"Logga in med Facebook","Sign In with Google":"Logga in med Google","Sign in":"Logga in","Sign In":"Logga in","Signing in":"Loggar in",Skip:"Hoppa \xf6ver",Submit:"Skicka",Submitting:"Skickar in",Username:"Anv\xe4ndarnamn","Verify Contact":"Verifiera kontakt",Verify:"Verifiera","We Sent A Code":"Vi skickade en kod","We Texted You":"Vi sms:ade dig","Your code is on the way. To log in, enter the code we emailed to":"Din kod \xe4r p\xe5 v\xe4g. F\xf6r att logga in, ange koden vi mejlade till","Your code is on the way. To log in, enter the code we sent you":"Din kod \xe4r p\xe5 v\xe4g. F\xf6r att logga in, ange koden vi skickade till dig","Your code is on the way. To log in, enter the code we texted to":"Din kod \xe4r p\xe5 v\xe4g. F\xf6r att logga in, ange koden vi sms:ade till","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Confirm a Code":"Bekr\xe4fta koden","Confirm Sign In":"Bekr\xe4fta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt l\xf6senord","Forgot Password":"Gl\xf6mt l\xf6senordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xe4ndarnamn eller l\xf6senord","Invalid password format":"Ogiltigt l\xf6senordsformat","Invalid phone number format":"Ogiltigt format f\xf6r telefonnummer","Lost your code? ":"F\xf6rlorat koden? ","New Password":"Nytt l\xf6senord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xf6rs\xf6k har uppn\xe5tts","Reset password":"\xc5terst\xe4ll l\xf6senord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Anv\xe4ndaren finns redan","User does not exist":"Anv\xe4ndaren finns inte","Username cannot be empty":"Anv\xe4ndarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"},D={"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","Back to Sign In":"Kembali ke Masuk","Change Password":"Ubah kata sandi",Changing:"Mengubah",Code:"Kode","Confirm Password":"Konfirmasi kata sandi","Confirm Sign Up":"Konfirmasi Pendaftaran","Confirm SMS Code":"Konfirmasi Kode SMS","Confirm TOTP Code":"Konfirmasi Kode TOTP",Confirm:"Konfirmasi","Confirmation Code":"Kode Konfirmasi",Confirming:"Mengkonfirmasi","Create a new account":"Buat akun baru","Create Account":"Buat Akun","Creating Account":"Membuat Akun","Dismiss alert":"Hentikan pemberitahuan",Email:"Email","Enter your code":"Masukkan kode anda","Enter your Email":"Masukkan email anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot your password?":"Lupa kata sandi? ","Hide password":"Sembunyikan kata sandi","It may take a minute to arrive":"Mungkin perlu waktu satu menit untuk tiba",Loading:"Memuat","New password":"Kata sandi baru",or:"atau",Password:"Kata sandi","Phone Number":"Nomor telepon","Resend Code":"Kirim ulang kodenya","Reset your Password":"Reset Kata Sandi","Reset your password":"Ubah kata sandi anda","Send code":"Kirim kode","Send Code":"Kirim Kode",Sending:"Mengirim","Setup TOTP":"Siapkan TOTP","Show password":"Tampilkan kata sandi","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with Apple":"Masuk dengan Apple","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign in":"Masuk","Sign In":"Masuk","Signing in":"Memasuki",Skip:"Lewati",Submit:"Ajukan",Submitting:"Mengajukan",Username:"Nama akun","Verify Contact":"Verifikasi Kontak",Verify:"Verifikasi","We Sent A Code":"Kami Mengirim Kode","We Texted You":"Kami mengirim SMS kepada Anda","Your code is on the way. To log in, enter the code we sent you":"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Confirm a Code":"Konfirmasi kode","Create account":"Buat akun","Enter your password":"Masukkan kata sandi anda","Forgot Password":"Lupa kata sandi","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","No account? ":"Tidak ada akun?","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Resend a Code":"Renvoyer un code","Reset password":"Ubah kata sandi anda",Send:"Kirim","Sign In with AWS":"Masuk dengan AWS","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google",SMS:"SMS","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.","User is disabled.":"Akun dinonaktifkan.","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"},L={"Account recovery requires verified contact information":"Hesap kurtarma, doğrulanmış iletişim bilgilerini gerektirir","Back to Sign In":"Oturum A\xe7maya Geri D\xf6n","Change Password":"Şifreyi Değiştir",Changing:"Değiştiriliyor",Code:"Kod","Confirm Password":"Şifreyi Doğrula","Confirm Sign Up":"Kayıt İşlemini Doğrula","Confirm SMS Code":"SMS Kodunu Doğrula","Confirm TOTP Code":"Tek Kullanımlık Şifreyi Doğrula",Confirm:"Doğrula","Confirmation Code":"Doğrulama Kodu",Confirming:"Doğrulanıyor","Create a new account":"Yeni bir hesap oluştur","Create Account":"Hesap Oluştur","Creating Account":"Hesap Oluşturuluyor","Dismiss alert":"Uyarıyı reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your Email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaranızı girin","Enter your username":"Kullanıcı adınızı girin","Forgot your password?":"Şifrenizi mi unuttunuz?","Hide password":"Şifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika s\xfcrebilir",Loading:"Y\xfckleniyor","New password":"Yeni şifre",or:"veya",Password:"Şifre","Phone Number":"Telefon Numarası","Resend Code":"Kodu Yeniden G\xf6nder","Reset your password":"Şifrenizi sıfırlayın","Reset your Password":"Şifrenizi Sıfırlayın","Send code":"Kod g\xf6nder","Send Code":"Kod G\xf6nder",Sending:"G\xf6nderiliyor","Setup TOTP":"Tek kullanımlık şifre kurulumu yap","Show password":"Şifreyi g\xf6ster","Sign in to your account":"Hesabınızda oturum a\xe7ın","Sign In with Amazon":"Amazon ile Oturum A\xe7","Sign In with Apple":"Apple ile Oturum A\xe7","Sign In with Facebook":"Facebook ile Oturum A\xe7","Sign In with Google":"Google ile Oturum A\xe7","Sign in":"Oturum a\xe7","Sign In":"Oturum A\xe7","Signing in":"Oturum a\xe7ılıyor",Skip:"Atla",Submit:"G\xf6nder",Submitting:"G\xf6nderiliyor",Username:"Kullanıcı adı","Verify Contact":"Kişiyi Doğrula",Verify:"Doğrula","We Emailed You":"Size E-posta G\xf6nderdik","We Sent A Code":"Bir Kod G\xf6nderdik","We Texted You":"Size Mesaj G\xf6nderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum a\xe7mak i\xe7in, g\xf6nderdiğimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum a\xe7mak i\xe7in, size g\xf6nderdiğimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum a\xe7mak i\xe7in, g\xf6nderdiğimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum A\xe7mayı Doğrula","Have an account? ":"Hesabınız var mı? ","Incorrect username or password":"Yanlış kullanıcı adı ya da şifre","Invalid password format":"Ge\xe7ersiz parola formatı","Invalid phone number format":"Ge\xe7ersiz telefon numarası formatı","Lost your code? ":"Kodu mu kaybettiniz? ","No account? ":"Hesabınız yok mu? ","Password attempts exceeded":"Maksimum oturum a\xe7ma girişimi aşıldı","Sign Out":"\xc7ıkış yap","Sign Up":"Kayıt Ol","User already exists":"Bu kullanıcı zaten var","User does not exist":"B\xf6yle bir kullanıcı mevcut değil","Username cannot be empty":"Kullanıcı adı boş olamaz"},B={"Account recovery requires verified contact information":"Восстановление учетной записи требует проверки контактной информации","Back to Sign In":"Назад, чтобы войти","Change Password":"изменять пароль",Changing:"Изменение",Code:"Код","Confirm Password":"Подтверждение пароля","Confirm Sign Up":"Подтверждение зарегистрироваться","Confirm SMS Code":"Подтверждение CMC-Код","Confirm TOTP Code":"Подтверждение TOTP-Код",Confirm:"Подтверждать","Confirmation Code":"код подтверждения",Confirming:"подтверждение","Create a new account":"Создавать новую учетную запись","Create Account":"Создать учетную запись","Creating Account":"создание учетная запись","Dismiss alert":"Закрыть оповещение",Email:"электронная почта","Enter your code":"ввести ваш Код","Enter your Email":"ввести ваш электронная почта","Enter your phone number":"ввести ваш номер телефона","Enter your username":"ввести ваш имя пользователя","Forgot your password?":"Забыли ваш пароль?","Hide password":"Скрывать пароль","It may take a minute to arrive":"Доставка может занять некоторое время",Loading:"Загрузка","New password":"Новый пароль",or:"или",Password:"Пароль","Phone Number":"Номер телефона","Resend Code":"Отправь еще раз Код","Reset your password":"сброс ваш пароль","Reset your Password":"сброс ваш Пароль","Send code":"Отправлять Код","Send Code":"Отправлять Код",Sending:"отправка","Setup TOTP":"Настраивать TOTP","Show password":"Показывать пароль","Sign in to your account":"знак в свой аккаунт","Sign In with Amazon":"знак в с Amazon","Sign In with Apple":"знак в с Apple","Sign In with Facebook":"знак в с Facebook","Sign In with Google":"знак в с Google","Sign in":"знак в","Sign In":"знак в","Signing in":"подписание в",Skip:"Пропускать",Submit:"Представлять на рассмотрение",Submitting:"Представив",Username:"Имя пользователя","Verify Contact":"Проверить контакт",Verify:"Проверить","We Emailed You":"Мы отправили вам электронное письмо","We Sent A Code":"Мы отправили код","We Texted You":"Мы отправили вам текстовое сообщение","Your code is on the way. To log in, enter the code we emailed to":"Ваш код отправлен. Чтобы войти в систему, введите код, который мы отправили по электронной почте","Your code is on the way. To log in, enter the code we sent you":"Ваш код отправлен. Чтобы войти в систему, введите код, который мы послали вам","Your code is on the way. To log in, enter the code we texted to":"Ваш код отправлен. Чтобы войти в систему, введите код, который мы отправили текстовым сообщением"},Z={"Account recovery requires verified contact information":"שחזור לקוח דורש עוד מידע","Back to Sign In":"חזור להרשמה","Change Password":"עדכון סיסמא",Changing:"מעדכן",Code:"קוד","Confirm Password":"אשר סיסמא","Confirm Sign Up":"אשר הרשמה","Confirm SMS Code":"אשר sms קוד","Confirm TOTP Code":"אשר totp קוד",Confirm:"אישור","Confirmation Code":"אישור קוד",Confirming:"מאשר","Create a new account":"צור משתמש חדש","Create Account":"צור משתמש","Creating Account":"יצירת משתמש","Dismiss alert":"הסר התראה",Email:"אימייל","Enter your code":"הכנס את הקוד","Enter your Email":"הכנס את המייל שלך","Enter your phone number":"הכנס את מספר הטלפון שלך","Enter your username":"הכנס את שם המתמש שלך","Forgot your password?":"שחכת סיסמא ?","Hide password":"הסתר סיסמא",Loading:"טוען","New password":"סיסמא חדשה",or:"אוֹ",Password:"סיסמא","Phone Number":"מספר טלפון","Resend Code":"שלח קוד שוב","Reset your password":"אפס סיסמא","Reset your Password":"אפס סיסמא","Send code":"שלח קוד","Send Code":"שלח קוד",Sending:"שולח","Setup TOTP":"Setup TOTP","Show password":"הצג סיסמא","Sign in to your account":"התחבר לחשבון שלך","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"התחבר","Sign In":"התחבר","Signing in":"מתחבר",Skip:"דלג",Submit:"שלח",Submitting:"שולח",Username:"שם משתמש","Verify Contact":"אמת איש קשר",Verify:"אמת"},F={"Account recovery requires verified contact information":"Відновлення облікового запису потребує контактної інформації","Back to Sign In":"Назад на сторінку входу","Change Password":"Змінити пароль",Changing:"Змінюємо",Code:"Код","Confirm Password":"Підтвердіть пароль","Confirm Sign Up":"Підтвердіть реєстрацію","Confirm SMS Code":"Підтвердіть SMS код","Confirm TOTP Code":"Підтвердіть TOTP код",Confirm:"Підтвердити","Confirmation Code":"Код підтвердження",Confirming:"Підтверджуємо","Create a new account":"Зареєструватися","Create Account":"Зареєструватися","Creating Account":"Реєструємо","Dismiss alert":"Відхилити сповіщення",Email:"Email","Enter your code":"Введіть код","Enter your Email":"Введіть ваш email","Enter your phone number":"Введіть ваш номер телефону","Enter your username":"Введіть ваше імʼя користувача","Forgot password?":"Забули пароль?","Forgot your password?":"Забули ваш пароль?","Hide password":"Сховати пароль","It may take a minute to arrive":"Доставка може тривати хвилину",Loading:"Загружаємо","New password":"Новий пароль",or:"або",Password:"Пароль","Phone Number":"Номер Телефону","Resend Code":"Відправити код повторно","Reset your password":"Скинути пароль","Reset your Password":"Скинути пароль","Send code":"Відправити код","Send Code":"Відправити код",Sending:"Відправляємо","Setup TOTP":"Налаштувати TOTP","Show password":"Показати пароль","Sign in to your account":"Увійти у ваш обліковий запис","Sign In with Amazon":"Увійти з Amazon","Sign In with Apple":"Увійти з Apple","Sign In with Facebook":"Увійти з Facebook","Sign In with Google":"Увійти з Google","Sign in":"Увійти","Sign In":"Увійти","Signing in":"Входимо",Skip:"Пропустити",Submit:"Відправити",Submitting:"Відправляємо",Username:"Імʼя користувача","Verify Contact":"Підтвердити Контакт",Verify:"Підтвердити","We Emailed You":"Ми відправили вам Email","We Sent A Code":"Ми відправили код","We Texted You":"Ми відправили вам текстове повідомлення","Your code is on the way. To log in, enter the code we emailed to":"Ваш код вже в дорозі. Щоб увійти, введіть код, що ми відправили вам на Email","Your code is on the way. To log in, enter the code we sent you":"Ваш код вже в дорозі. Щоб увійти, введіть код, що ми вам відправили","Your code is on the way. To log in, enter the code we texted to":"Ваш код вже в дорозі. Щоб увійти, введіть код, що ми відправили вам текстовим повідомленням","An account with the given email already exists.":"Обліковий запис з цим Email вже існує.","Confirm a Code":"Підтвердіть код","Confirm Sign In":"Підтвердіть вхід","Forgot Password":"Забули пароль","Incorrect username or password.":"Невірне імʼя користувача або пароль","Invalid password format":"Невірний формат паролю","Invalid phone number format":"Невірний формат номеру телефону","Loading...":"Загружаємо...","New Password":"Новий пароль","Resend a Code":"Відправити код повторно","Reset Password":"Скинути пароль","Sign Out":"Вийти","Sign Up with Amazon":"Зареєструватися з Amazon","Sign Up with Apple":"Зареєструватися з Apple","Sign Up with Facebook":"Зареєструватися з Facebook","Sign Up with Google":"Зареєструватися з Google","Sign Up":"Зареєструватися","User already exists":"Користувач вже існує","User does not exist":"Такий користувач не існує","Username cannot be empty":"Імʼя користувача не може бути пустим","Your passwords must match":"Паролі мають збігатися"},z={ADD_PROFILE:"Add your Profile",ADD_WEBSITE:"Add your Website",BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CODE_ARRIVAL:"It may take a minute to arrive",CODE_EMAILED:"Your code is on the way. To log in, enter the code we emailed to",CODE_SENT:"Your code is on the way. To log in, enter the code we sent you",CODE_TEXTED:"Your code is on the way. To log in, enter the code we texted to",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Please confirm your Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_BIRTHDATE:"Enter your Birthdate",ENTER_CODE:"Enter your code",ENTER_CONFIRMATION_CODE:"Enter your Confirmation Code",ENTER_EMAIL:"Enter your Email",ENTER_FAMILY_NAME:"Enter your Family Name",ENTER_GIVEN_NAME:"Enter your Given Name",ENTER_MIDDLE_NAME:"Enter your Middle Name",ENTER_NAME:"Enter your Name",ENTER_NICK_NAME:"Enter your Nickname",ENTER_PASSWORD:"Enter your Password",ENTER_PHONE_NUMBER:"Enter your Phone Number",ENTER_PREFERRED_USERNAME:"Enter your Preferred Username",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_PASSWORD:"Forgot Password?",FORGOT_YOUR_PASSWORD:"Forgot your password?",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",OR:"or",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",UPPERCASE_COPY:"COPY",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WE_EMAILED:"We Emailed You",WE_SENT_CODE:"We Sent A Code",WE_TEXTED:"We Texted You",WEBSITE:"Website"},U=Object.assign({},{"Account recovery requires verified contact information":"Zur\xfccksetzen des Account ben\xf6tigt einen verifizierten Account","Back to Sign In":"Zur\xfcck zur Anmeldung","Change Password":"Passwort \xe4ndern",Changing:"\xc4ndern von",Code:"Code","Confirm Password":"Passwort best\xe4tigen","Confirm Sign Up":"Registrierung best\xe4tigen","Confirm SMS Code":"SMS-Code best\xe4tigen","Confirm TOTP Code":"TOTP-Code best\xe4tigen",Confirm:"Best\xe4tigen","Confirmation Code":"Best\xe4tigungs-Code",Confirming:"Wird best\xe4tigt","Create a new account":"Einen neuen Account erstellen","Create Account":"Account erstellen","Creating Account":"Account wird erstellt","Dismiss alert":"Warnung verwerfen",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your Email":"Geben Sie Ihre E-Mail","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Forgot your password?":"Passwort vergessen? ","Hide password":"Passwort verbergen","It may take a minute to arrive":"Es kann eine Minute dauern, bis er ankommt",Loading:"Wird geladen","New password":"Neues Passwort",or:"oder",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xfccksetzen des Passwort","Reset your password":"Zur\xfccksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xdcberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xe4tigen","Confirm Sign In":"Anmeldung best\xe4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","Enter your Password":"Geben Sie Ihre Passwort ein","Sign Up with Facebook":"Mit Facebook registrieren","Sign Up with Google":"Mit Google registrieren","Forgot Password":"Passwort vergessen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xfcltiges Passwort-Format","Invalid phone number format":"Ung\xfcltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","It may take a minute to arrive.":"Es k\xf6nnte eine Minute dauern, bis der Code eintrifft.","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Reset password":"Passwort zur\xfccksetzen","Sign Out":"Abmelden","Sign Up":"Registrieren","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht","Username cannot be empty":"Benutzername darf nicht leer sein","We Emailed You":"Email wurde versendet","Your code is on the way. To log in, enter the code we emailed to":"Ihr Best\xe4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an","Your code is on the way. To log in, enter the code we texted to":"Ihr Best\xe4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"}),H=Object.assign({},C),q=Object.assign({},_),V=Object.assign({},k),W=Object.assign({},O),$=Object.assign({},A),G=Object.assign({},I),K=Object.assign({},P),Y=Object.assign({},T),X=Object.assign({},R),Q=Object.assign({},M),J=Object.assign({},N),ee=Object.assign({},j),et=Object.assign({},D),en=Object.assign({},L),er=Object.assign({},B),eo=Object.assign({},Z),ei=Object.assign({},F),ea=Object.assign({},Object.assign({},z));function es(e){return E.get(e)}let el={de:U,en:H,es:q,fr:V,id:et,it:W,ja:$,kr:G,ko:G,nb:K,nl:Y,pl:X,pt:Q,zh:J,sv:ee,tr:en,ru:er,he:eo,ua:ei},ec=e=>{var t;let n=Object.assign({default:void 0},e);return null!==(t=n.default)&&void 0!==t?t:n};function eu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function ed(e){return"string"==typeof e||"object"==typeof e&&"[object String]"===Object.prototype.toString.call(e)}function ef(e){return eu(e)&&"[object Map]"===Object.prototype.toString.call(e)}function ep(e){return eu(e)&&"[object Set]"===Object.prototype.toString.call(e)}function eh(e){if(null==e)return!0;if(eu(e)&&(ef(e)||ep(e)))return!e.size;if(eu(e)&&(ed(e)||Array.isArray(e)))return!e.length;for(let t in e)if(eb(e,t))return!1;return!0}function em(e){return Array.isArray(e)&&eh(e)}function eg(...e){return e.every(em)}function ev(e){return eu(e)&&eh(e)}function ey(...e){return e.every(ev)}function eb(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)}function ew(e){return"function"==typeof e}let eS=(e,t)=>t?`${e}--${t}`:"",ex=(e,t,n)=>n?`${e}--${t}`:"";function eE(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function eC(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})}var e_=n(31264),ek=n(73739),eO=n(19483);let eA=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+291","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"],eI={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:eA,isRequired:!0},preferred_username:{label:"Preferred Username",placeholder:"Enter your Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",placeholder:"Add your Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",placeholder:"Add your Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",placeholder:"Enter your Username",type:"text",autocomplete:"username",isRequired:!0}},eP=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],eT=e=>{var t;return null===(t=e.context.actorRef)||void 0===t?void 0:t.getSnapshot()},eR=e=>{var t;return null===(t=eT(e))||void 0===t?void 0:t.context},eM=({packageName:e,version:t})=>{(0,ek.Ib)(`${e}/${t}`)},eN=e=>{let t=e.trim().split("");for(let e=0;e<t.length;e++)e>0&&e<t.length-1&&(t[e]="*");return t.join("")},ej=e=>{if(e.length<4)return e;let t=e.split("");for(let e=0;e<t.length-4;e++)t[e]="*";return t.join("")},eD=e=>eC(void 0,void 0,void 0,function*(){try{yield(0,eO.x)(e,e=>eT(e).matches("autoSignIn"))}catch(e){}}),eL=({payload:{data:e,event:t}},n,r)=>eC(void 0,void 0,void 0,function*(){let{send:o}=n,i=n.getSnapshot(),{onSignIn:a,onSignOut:s}=null!=r?r:{};switch(t){case"tokenRefresh":i.matches("authenticated.idle")&&o("TOKEN_REFRESH");break;case"autoSignIn":if(!i.matches("authenticated")){yield eD(n);let t=eT(n.getSnapshot());(null==t?void 0:t.matches("autoSignIn"))&&o({type:"AUTO_SIGN_IN",data:e})}break;case"autoSignIn_failure":{yield eD(n);let t=eT(n.getSnapshot());(null==t?void 0:t.matches("autoSignIn"))&&o({type:"AUTO_SIGN_IN_FAILURE",data:e});break}case"signIn":ew(a)&&a();break;case"signOut":case"tokenRefresh_failure":ew(s)&&s(),i.matches("authenticated.idle")&&o("SIGN_OUT")}}),eB=(e,t=eL)=>{let n,r;return e_.X.listen("auth",(n=e,r=t,e=>{r(e,n)}),"authenticator-hub-handler")},eZ=e=>eP.some(t=>e.includes(t)),eF=(e,t,n)=>encodeURI(`otpauth://totp/${e}:${t}?secret=${n}&issuer=${e}`);function ez(e,...t){return Object.entries(e).reduce((e,[n,r])=>Object.assign(Object.assign({},e),{[n]:t.includes(n)?r:null==r?void 0:r.trim()}),{})}function eU(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function eH(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})}var eq=n(67591),eV=p.useLayoutEffect;function eW(e){return"state"in e}function e$(e){return 0!==e.status?e.state:e.machine.initialState}function eG(e){return"state"in e&&"machine"in e}n(48218);var eK=function(e,t){return e===t},eY=function(e,t){if(eG(e)){if(0===e.status&&t.current)return t.current;var n=e$(e);return t.current=0===e.status?n:null,n}return eW(e)?e.state:void 0};function eX(e,t,n,r){void 0===n&&(n=eK);var o=(0,p.useRef)(null),i=(0,p.useCallback)(function(t){return e.subscribe(t).unsubscribe},[e]),a=(0,p.useCallback)(function(){return r?r(e):eY(e,o)},[e,r]);return(0,eq.useSyncExternalStoreWithSelector)(i,a,a,t,n)}let eQ=e=>{let t=t=>n=>e({type:t,data:n});return{initializeMachine:t("INIT"),resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},eJ=e=>{var t,n,r,o,i;let a=null!==(t=eR(e))&&void 0!==t?t:{},{codeDeliveryDetails:s,remoteError:l,unverifiedContactMethods:c,validationError:u,totpSecretCode:d=null}=a,{socialProviders:f}=null!==(r=null===(n=e.context)||void 0===n?void 0:n.config)&&void 0!==r?r:{},p=null!==(o=null==a?void 0:a.user)&&void 0!==o?o:null===(i=e.context)||void 0===i?void 0:i.user,h=u&&Object.keys(u).length>0,m=eT(e),g=e.hasTag("pending")||(null==m?void 0:m.hasTag("pending")),v=(()=>{switch(!0){case e.matches("idle"):return"idle";case e.matches("setup"):return"setup";case e.matches("signOut"):return"signOut";case e.matches("authenticated"):return"authenticated";case null==m?void 0:m.matches("confirmSignUp"):return"confirmSignUp";case null==m?void 0:m.matches("confirmSignIn"):return"confirmSignIn";case null==m?void 0:m.matches("setupTOTP.edit"):case null==m?void 0:m.matches("setupTOTP.submit"):return"setupTOTP";case null==m?void 0:m.matches("signIn"):return"signIn";case null==m?void 0:m.matches("signUp"):return"signUp";case null==m?void 0:m.matches("forceNewPassword"):return"forceNewPassword";case null==m?void 0:m.matches("resetPassword"):return"resetPassword";case null==m?void 0:m.matches("confirmResetPassword"):return"confirmResetPassword";case null==m?void 0:m.matches("verifyUser"):return"verifyUser";case null==m?void 0:m.matches("confirmVerifyUser"):return"confirmVerifyUser";case null==m?void 0:m.matches("setupTOTP.getTotpSecretCode"):case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}})();return{authStatus:(e=>{switch(e){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}})(v),codeDeliveryDetails:s,error:l,hasValidationErrors:h,isPending:g,route:v,socialProviders:f,totpSecretCode:d,unverifiedContactMethods:c,user:p,validationErrors:u}},e0=({send:e,state:t})=>{let n=eQ(e),r=eJ(t);return Object.assign(Object.assign({},n),r)},e1=p.createContext(null),e2="`useAuthenticator` must be used inside an `Authenticator.Provider`.";var e3=n(44663);let e4=["username","email","phone_number","birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website","confirmation_code","password","confirm_password"],e5=e=>e4.includes(e),e6=e=>{var t;let n=null===(t=null==e?void 0:e.context.config)||void 0===t?void 0:t.loginMechanisms,[r]=null!=n?n:["username"];return r},e8=e=>e4.includes(e),e7=e=>e?Array.isArray(e)?e:[e]:null,e9=(e,t)=>{let{country_code:n}=eR(e),r=eI[t],{type:o}=r;return"tel"===o&&(r=Object.assign(Object.assign({},r),{dialCode:n})),r},te=e=>{let t=e6(e);return Object.assign(Object.assign({},e9(e,t)),{autocomplete:"username"})},tt=e=>({confirmation_code:Object.assign(Object.assign({},e9(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}),tn={signIn:e=>({username:Object.assign({},te(e)),password:Object.assign(Object.assign({},e9(e,"password")),{autocomplete:"current-password"})}),signUp:e=>{let{loginMechanisms:t,signUpAttributes:n}=e.context.config,r=e6(e),o=Array.from(new Set([...t,"password","confirm_password",...n])),i={};for(let t of o)if(e8(t)){let n=t===r?te(e):e9(e,t);i[t]=Object.assign({},n)}else console.debug(`Authenticator does not have a default implementation for ${t}. Customize SignUp FormFields to add your own.`);return i},confirmSignUp:e=>({confirmation_code:Object.assign(Object.assign({},e9(e,"confirmation_code")),{placeholder:"Enter your code"})}),confirmSignIn:tt,forceNewPassword:e=>{let{requiredAttributes:t}=eT(e).context,n=Array.from(new Set(["password","confirm_password",...t])),r={};for(let t of n)e8(t)?r[t]=Object.assign({},e9(e,t)):console.debug(`Authenticator does not have a default implementation for ${t}. Customize ForceNewPassword FormFields to add your own.`);return r},resetPassword:e=>{let{label:t}=eI[e6(e)];return{username:Object.assign(Object.assign({},te(e)),{label:`Enter your ${t.toLowerCase()}`,placeholder:`Enter your ${t.toLowerCase()}`})}},confirmResetPassword:e=>Object.assign(Object.assign({},tt(e)),{password:Object.assign(Object.assign({},e9(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:Object.assign(Object.assign({},e9(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})}),confirmVerifyUser:tt,setupTOTP:tt},tr=e=>{let t=Object.assign({},e);for(let[n,r]of Object.entries(e)){let{label:e,placeholder:o}=r;t[n]=Object.assign(Object.assign({},r),{label:e?es(e):void 0,placeholder:o?es(o):void 0})}return t},to=e=>Object.entries(e).sort((e,t)=>(e[1].order||Number.MAX_VALUE)-(t[1].order||Number.MAX_VALUE)).filter(e=>void 0!==e[1]),ti=(e,t)=>(0,tn[e])(t),ta=(e,t)=>{var n,r;let o=null===(r=null===(n=eR(t))||void 0===n?void 0:n.formFields)||void 0===r?void 0:r[e];return o&&0!==Object.keys(o).length?Object.entries(o).reduce((n,[r,o])=>{if("signIn"!==e&&"resetPassword"!==e||"username"!==r){if(e5(r)){let e=Object.assign(Object.assign({},eI[r]),o);return Object.assign(Object.assign({},n),{[r]:e})}return Object.assign(Object.assign({},n),{[r]:o})}{let e=Object.assign(Object.assign({},te(t)),o);return Object.assign(Object.assign({},n),{[r]:e})}},{}):{}},ts=(e,t)=>{let n=ti(e,t),r=ta(e,t),o=Object.assign(Object.assign({},n),r);return delete o.QR,tr(o)},tl=e=>e.map(e=>[e[0],Object.assign(Object.assign({},e[1]),{order:void 0})]),tc=(e,t)=>tl(to(ts(e,t))),tu=["confirmResetPassword","confirmSignIn","confirmSignUp","confirmVerifyUser","forceNewPassword","resetPassword","setupTOTP","signIn","signUp","verifyUser"],td=e=>tu.some(t=>t===e),tf=()=>!1;function tp(e,t){return e.length===t.length&&e.every((e,n)=>{let r=t[n];return!!(eg(e,r)||ey(e,r))||e===r})}let th=e=>(t,n)=>tp(e(t),e(n)),tm=e=>{var t,n,r;return Object.assign({},null===(r=null===(n=null===(t=eR(e))||void 0===t?void 0:t.formFields)||void 0===n?void 0:n.setupTOTP)||void 0===r?void 0:r.QR)},tg=e=>function(){return eH(this,void 0,void 0,function*(){return yield e3.g.setupTOTP(e)})},tv=e=>e.flatMap(([e,t])=>Object.assign({name:e},t)),ty=e=>e&&Object.entries(e).map(([e,t])=>ed(t)&&e?{name:e,label:t,type:"radio",value:t}:{}),tb=(e,t,n)=>td(e)?"verifyUser"===e?ty(n):tv(tc(e,t)):[];function tw(e){let t=p.useContext(e1);if(!t)throw Error(e2);let{service:n}=t,{send:r}=n,o=(0,p.useCallback)(e=>Object.assign({},e0({send:r,state:e})),[r]),i=e?th(e):tf,{authStatus:a}=t,s=eX(n,o,i),{route:l,totpSecretCode:c,unverifiedContactMethods:u,user:d}=s,f=eU(s,["route","totpSecretCode","unverifiedContactMethods","user"]),h=n.getSnapshot(),m="setupTOTP"===l?tm(h):null,g=tb(l,h,u);return Object.assign(Object.assign({},f),{authStatus:a,route:l,totpSecretCode:c,unverifiedContactMethods:u,user:d,fields:g,getTotpSecretCode:tg(d),QRFields:m})}let tS=({route:e})=>[e];function tx(e){let{route:t,initializeMachine:n}=tw(tS),r=p.useRef(!1);p.useEffect(()=>{r.current||"setup"!==t||(n(e),r.current=!0)},[n,t,e])}/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var tE=function(){return(tE=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function tC(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function t_(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function tk(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function tO(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}(function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"})(r||(r={})),function(e){e.Parent="#_parent",e.Internal="#_internal"}(o||(o={}));var tA=".",tI={},tP="xstate.guard",tT="",tR=r.Start,tM=r.Stop,tN=r.Raise,tj=r.Send,tD=r.Cancel,tL=r.NullEvent,tB=r.Assign;r.After,r.DoneState;var tZ=r.Log,tF=r.Init,tz=r.Invoke;r.ErrorExecution;var tU=r.ErrorPlatform,tH=r.ErrorCustom,tq=r.Update,tV=r.Choose,tW=r.Pure,t$=!0;function tG(e,t,n){void 0===n&&(n=tA);var r=tQ(e,n),o=tQ(t,n);return nc(o)?!!nc(r)&&o===r:nc(r)?r in o:Object.keys(r).every(function(e){return e in o&&tG(r[e],o[e])})}function tK(e){try{return nc(e)||"number"==typeof e?"".concat(e):e.type}catch(e){throw Error("Events must be strings or objects with a string event.type property.")}}function tY(e,t){try{if(ns(e))return e;return e.toString().split(t)}catch(t){throw Error("'".concat(e,"' is not a valid state path."))}}function tX(e){return"object"==typeof e&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function tQ(e,t){return tX(e)?e.value:ns(e)?tJ(e):"string"!=typeof e?e:tJ(tY(e,t))}function tJ(e){if(1===e.length)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function t0(e,t){for(var n={},r=Object.keys(e),o=0;o<r.length;o++){var i=r[o];n[i]=t(e[i],i,e,o)}return n}function t1(e,t,n){var r,o,i={};try{for(var a=t_(Object.keys(e)),s=a.next();!s.done;s=a.next()){var l=s.value,c=e[l];n(c)&&(i[l]=t(c,l,e))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return i}var t2=function(e){return function(t){var n,r,o=t;try{for(var i=t_(e),a=i.next();!a.done;a=i.next())o=o[a.value]}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}};function t3(e,t){return function(n){var r,o,i=n;try{for(var a=t_(e),s=a.next();!s.done;s=a.next()){var l=s.value;i=i[t][l]}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return i}}function t4(e){return e?nc(e)?[[e]]:t5(Object.keys(e).map(function(t){var n=e[t];return"string"==typeof n||n&&Object.keys(n).length?t4(e[t]).map(function(e){return[t].concat(e)}):[[t]]})):[[]]}function t5(e){var t;return(t=[]).concat.apply(t,tO([],tk(e),!1))}function t6(e){return ns(e)?e:[e]}function t8(e){return void 0===e?[]:t6(e)}function t7(e,t,n){if(nl(e))return e(t,n.data);var r,o,i={};try{for(var a=t_(Object.keys(e)),s=a.next();!s.done;s=a.next()){var l=s.value,c=e[l];nl(c)?i[l]=c(t,n.data):i[l]=c}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return i}function t9(e){return/^(done|error)\./.test(e)}function ne(e){return!!(e instanceof Promise||null!==e&&(nl(e)||"object"==typeof e)&&nl(e.then))}function nt(e){return null!==e&&"object"==typeof e&&"transition"in e&&"function"==typeof e.transition}function nn(e,t){var n,r,o=tk([[],[]],2),i=o[0],a=o[1];try{for(var s=t_(e),l=s.next();!l.done;l=s.next()){var c=l.value;t(c)?i.push(c):a.push(c)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return[i,a]}function nr(e,t){return t0(e.states,function(e,n){if(e){var r=(nc(t)?void 0:t[n])||(e?e.current:void 0);if(r)return{current:r,states:nr(e,r)}}})}function no(e,t){return{current:t,states:nr(e,t)}}function ni(e,t,n,r){return t$||na(!!e,"Attempting to update undefined context"),e?n.reduce(function(e,n){var o,i,a=n.assignment,s={state:r,action:n,_event:t},l={};if(nl(a))l=a(e,t.data,s);else try{for(var c=t_(Object.keys(a)),u=c.next();!u.done;u=c.next()){var d=u.value,f=a[d];l[d]=nl(f)?f(e,t.data,s):f}}catch(e){o={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}return Object.assign({},e,l)},e):e}var na=function(){};function ns(e){return Array.isArray(e)}function nl(e){return"function"==typeof e}function nc(e){return"string"==typeof e}function nu(e,t){return e?nc(e)?{type:tP,name:e,predicate:t?t[e]:void 0}:nl(e)?{type:tP,name:e.name,predicate:e}:e:void 0}function nd(e){try{return"subscribe"in e&&nl(e.subscribe)}catch(e){return!1}}var nf=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function np(e){return!!e&&"__xstatenode"in e}function nh(e){return!!e&&"function"==typeof e.send}(i={})[nf]=function(){return this},i[Symbol.observable]=function(){return this};var nm=function(){var e=0;return function(){return e++,e.toString(16)}}();function ng(e,t){return nc(e)||"number"==typeof e?tE({type:e},t):e}function nv(e,t){if(!nc(e)&&"$$type"in e&&"scxml"===e.$$type)return e;var n=ng(e);return tE({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function ny(e,t){return t6(t).map(function(t){return void 0===t||"string"==typeof t||np(t)?{target:t,event:e}:tE(tE({},t),{event:e})})}function nb(e){if(void 0!==e&&e!==tT)return t8(e)}function nw(e,t,n){if(!t$){var r=e.stack?" Stacktrace was '".concat(e.stack,"'"):"";if(e===t)console.error("Missing onError handler for invocation '".concat(n,"', error was '").concat(e,"'.").concat(r));else{var o=t.stack?" Stacktrace was '".concat(t.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(n,"'. ")+"Original error: '".concat(e,"'. ").concat(r," Current error is '").concat(t,"'.").concat(o))}}}function nS(e,t,n,r,o){var i=e.options.guards,a={state:o,cond:t,_event:r};if(t.type===tP)return((null==i?void 0:i[t.name])||t.predicate)(n,r.data,a);var s=null==i?void 0:i[t.type];if(!s)throw Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return s(n,r.data,a)}function nx(e){return"string"==typeof e?{type:e}:e}function nE(e,t,n){var r=function(){},o="object"==typeof e,i=o?e:null;return{next:((o?e.next:e)||r).bind(i),error:((o?e.error:t)||r).bind(i),complete:((o?e.complete:n)||r).bind(i)}}function nC(e,t){return"".concat(e,":invocation[").concat(t,"]")}function n_(e){return(e.type===tN||e.type===tj&&e.to===o.Internal)&&"number"!=typeof e.delay}var nk=function(e){return"atomic"===e.type||"final"===e.type};function nO(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function nA(e){return nO(e).filter(function(e){return"history"!==e.type})}function nI(e){var t=[e];return nk(e)?t:t.concat(t5(nA(e).map(nI)))}function nP(e,t){var n,r,o,i,a,s,l,c,u=nR(new Set(e)),d=new Set(t);try{for(var f=t_(d),p=f.next();!p.done;p=f.next())for(var h=p.value,m=h.parent;m&&!d.has(m);)d.add(m),m=m.parent}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}var g=nR(d);try{for(var v=t_(d),y=v.next();!y.done;y=v.next()){var h=y.value;if("compound"!==h.type||g.get(h)&&g.get(h).length){if("parallel"===h.type)try{for(var b=(a=void 0,t_(nA(h))),w=b.next();!w.done;w=b.next()){var S=w.value;d.has(S)||(d.add(S),u.get(S)?u.get(S).forEach(function(e){return d.add(e)}):S.initialStateNodes.forEach(function(e){return d.add(e)}))}}catch(e){a={error:e}}finally{try{w&&!w.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}}else u.get(h)?u.get(h).forEach(function(e){return d.add(e)}):h.initialStateNodes.forEach(function(e){return d.add(e)})}}catch(e){o={error:e}}finally{try{y&&!y.done&&(i=v.return)&&i.call(v)}finally{if(o)throw o.error}}try{for(var x=t_(d),E=x.next();!E.done;E=x.next())for(var h=E.value,m=h.parent;m&&!d.has(m);)d.add(m),m=m.parent}catch(e){l={error:e}}finally{try{E&&!E.done&&(c=x.return)&&c.call(x)}finally{if(l)throw l.error}}return d}function nT(e,t){var n=t.get(e);if(!n)return{};if("compound"===e.type){var r=n[0];if(!r)return{};if(nk(r))return r.key}var o={};return n.forEach(function(e){o[e.key]=nT(e,t)}),o}function nR(e){var t,n,r=new Map;try{for(var o=t_(e),i=o.next();!i.done;i=o.next()){var a=i.value;r.has(a)||r.set(a,[]),a.parent&&(r.has(a.parent)||r.set(a.parent,[]),r.get(a.parent).push(a))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function nM(e,t){var n=nP([e],t);return nT(e,nR(n))}function nN(e,t){return Array.isArray(e)?e.some(function(e){return e===t}):e instanceof Set&&e.has(t)}function nj(e){return tO([],tk(new Set(t5(tO([],tk(e.map(function(e){return e.ownEvents})),!1)))),!1)}function nD(e,t){return"compound"===t.type?nA(t).some(function(t){return"final"===t.type&&nN(e,t)}):"parallel"===t.type&&nA(t).every(function(t){return nD(e,t)})}function nL(e){return void 0===e&&(e=[]),e.reduce(function(e,t){return void 0!==t.meta&&(e[t.id]=t.meta),e},{})}function nB(e){return new Set(t5(e.map(function(e){return e.tags})))}var nZ=nv({type:tF});function nF(e,t){return t&&t[e]||void 0}function nz(e,t){var n;if(nc(e)||"number"==typeof e){var r=nF(e,t);n=nl(r)?{type:e,exec:r}:r||{type:e,exec:void 0}}else if(nl(e))n={type:e.name||e.toString(),exec:e};else{var r=nF(e.type,t);if(nl(r))n=tE(tE({},e),{exec:r});else if(r){var o=r.type||e.type;n=tE(tE(tE({},r),e),{type:o})}else n=e}return n}var nU=function(e,t){return e?(ns(e)?e:[e]).map(function(e){return nz(e,t)}):[]};function nH(e){var t=nz(e);return tE(tE({id:nc(e)?e:t.id},t),{type:t.type})}function nq(e,t){return{type:tN,event:"function"==typeof e?e:ng(e),delay:t?t.delay:void 0,id:null==t?void 0:t.id}}function nV(e,t,n,r){var o,i={_event:n},a=nv(nl(e.event)?e.event(t,n.data,i):e.event);if(nc(e.delay)){var s=r&&r[e.delay];o=nl(s)?s(t,n.data,i):s}else o=nl(e.delay)?e.delay(t,n.data,i):e.delay;return tE(tE({},e),{type:tN,_event:a,delay:o})}function nW(e,t){return{to:t?t.to:void 0,type:tj,event:nl(e)?e:ng(e),delay:t?t.delay:void 0,id:t&&void 0!==t.id?t.id:nl(e)?e.name:tK(e)}}function n$(e,t,n,r){var o,i={_event:n},a=nv(nl(e.event)?e.event(t,n.data,i):e.event);if(nc(e.delay)){var s=r&&r[e.delay];o=nl(s)?s(t,n.data,i):s}else o=nl(e.delay)?e.delay(t,n.data,i):e.delay;var l=nl(e.to)?e.to(t,n.data,i):e.to;return tE(tE({},e),{to:l,_event:a,event:a.data,delay:o})}function nG(e,t){return nW(e,tE(tE({},t),{to:o.Parent}))}function nK(){return nG(tq)}var nY=function(e,t,n){return tE(tE({},e),{value:nc(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},nX=function(e){return{type:tD,sendId:e}};function nQ(e){var t=nH(e);return{type:r.Start,activity:t,exec:void 0}}function nJ(e){var t=nl(e)?e:nH(e);return{type:r.Stop,activity:t,exec:void 0}}function n0(e,t,n){var o=nl(e.activity)?e.activity(t,n.data):e.activity,i="string"==typeof o?{id:o}:o;return{type:r.Stop,activity:i}}var n1=function(e){return{type:tB,assignment:e}};function n2(e,t){var n=t?"#".concat(t):"";return"".concat(r.After,"(").concat(e,")").concat(n)}function n3(e,t){var n="".concat(r.DoneState,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function n4(e,t){var n="".concat(r.DoneInvoke,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function n5(e,t){var n="".concat(r.ErrorPlatform,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function n6(e,t){if(!t$&&(!e||"function"==typeof e)){var n=e;e=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r="function"==typeof n?n.apply(void 0,tO([],tk(e),!1)):n;if(!r)throw Error("Attempted to forward event to undefined actor. This risks an infinite loop in the sender.");return r}}return nW(function(e,t){return t},tE(tE({},t),{to:e}))}function n8(e){return{type:r.Choose,conds:e}}var n7=function(e){var t,n,r=[];try{for(var o=t_(e),i=o.next();!i.done;i=o.next())for(var a=i.value,s=0;s<a.actions.length;){if(a.actions[s].type===tB){r.push(a.actions[s]),a.actions.splice(s,1);continue}s++}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r};function n9(e,t,n,r,i,a,s){void 0===s&&(s=!1);var l=s?[]:n7(i),c=l.length?ni(n,r,l,t):n,u=s?[n]:void 0,d=[];function f(i,l){var f;switch(l.type){case tN:var p=nV(l,c,r,e.options.delays);return a&&"number"==typeof p.delay&&a(p,c,r),p;case tj:var h=n$(l,c,r,e.options.delays);if(!t$){var m=l.delay;na(!nc(m)||"number"==typeof h.delay,"No delay reference for delay expression '".concat(m,"' was found on machine '").concat(e.id,"'"))}return a&&h.to!==o.Internal&&("entry"===i?d.push(h):a(h,c,r)),h;case tZ:var g=nY(l,c,r);return null==a||a(g,c,r),g;case tV:var v=null===(f=l.conds.find(function(n){var o=nu(n.cond,e.options.guards);return!o||nS(e,o,c,r,a?void 0:t)}))||void 0===f?void 0:f.actions;if(!v)return[];var y=tk(n9(e,t,c,r,[{type:i,actions:nU(t8(v),e.options.actions)}],a,s),2),b=y[0];return c=y[1],null==u||u.push(c),b;case tW:var v=l.get(c,r.data);if(!v)return[];var w=tk(n9(e,t,c,r,[{type:i,actions:nU(t8(v),e.options.actions)}],a,s),2),S=w[0];return c=w[1],null==u||u.push(c),S;case tM:var g=n0(l,c,r);return null==a||a(g,n,r),g;case tB:c=ni(c,r,[l],a?void 0:t),null==u||u.push(c);break;default:var x=nz(l,e.options.actions),E=x.exec;if(a)a(x,c,r);else if(E&&u){var C=u.length-1;x=tE(tE({},x),{exec:function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];E.apply(void 0,tO([u[C]],tk(t),!1))}})}return x}}function p(e){var t,n,o=[];try{for(var i=t_(e.actions),s=i.next();!s.done;s=i.next()){var l=s.value,u=f(e.type,l);u&&(o=o.concat(u))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return d.forEach(function(e){a(e,c,r)}),d.length=0,o}return[t5(i.map(p)),c]}function re(e,t){if(e===t)return!0;if(void 0===e||void 0===t)return!1;if(nc(e)||nc(t))return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(n){return re(e[n],t[n])})}function rt(e){return"object"==typeof e&&null!==e&&"value"in e&&"_event"in e}function rn(e,t){var n=e.exec;return tE(tE({},e),{exec:void 0!==n?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0})}var rr=function(){function e(e){var t,n=this;this.actions=[],this.activities=tI,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||tI,this.meta=nL(e.configuration),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=null!==(t=Array.isArray(e.tags)?new Set(e.tags):e.tags)&&void 0!==t?t:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return nj(n.configuration)}})}return e.from=function(t,n){return t instanceof e?t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t:new e({value:t,context:n,_event:nZ,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){if(t instanceof e){if(!t.actions.length)return t;var r=nZ;return new e({value:t.value,context:n,_event:r,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,n)},e.prototype.toStrings=function(e,t){var n=this;if(void 0===e&&(e=this.value),void 0===t&&(t="."),nc(e))return[e];var r=Object.keys(e);return r.concat.apply(r,tO([],tk(r.map(function(r){return n.toStrings(e[r],t).map(function(e){return r+t+e})})),!1))},e.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var t=e.tags;e.machine;var n=tC(e,["configuration","transitions","tags","machine"]);return tE(tE({},n),{tags:Array.from(t)})},e.prototype.matches=function(e){return tG(e,this.value)},e.prototype.hasTag=function(e){return this.tags.has(e)},e.prototype.can=function(e){t$&&na(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var t,n=null===(t=this.machine)||void 0===t?void 0:t.getTransitionData(this,e);return!!(null==n?void 0:n.transitions.length)&&n.transitions.some(function(e){return void 0!==e.target||e.actions.length})},e}(),ro={deferEvents:!1},ri=function(){function e(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=tE(tE({},ro),e)}return e.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents){this.schedule(e);return}this.process(e)}this.flushEvents()},e.prototype.schedule=function(e){if(!this.initialized||this.processingEvent){this.queue.push(e);return}if(0!==this.queue.length)throw Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},e.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(e){throw this.clear(),e}finally{this.processingEvent=!1}},e}(),ra=[],rs=function(e,t){ra.push(e);var n=t(e);return ra.pop(),n},rl=function(e){return e(ra[ra.length-1])};function rc(e){var t;return(t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}})[nf]=function(){return this},t}function ru(e,t,n,r){var o,i=nx(e.src),a=null===(o=null==t?void 0:t.options.services)||void 0===o?void 0:o[i.type],s=e.data?t7(e.data,n,r):void 0,l=a?rd(a,e.id,s):rc(e.id);return l.meta=e,l}function rd(e,t,n){var r=rc(t);if(r.deferred=!0,np(e)){var o=r.state=rs(void 0,function(){return(n?e.withContext(n):e).initialState});r.getSnapshot=function(){return o}}return r}function rf(e){try{return"function"==typeof e.send}catch(e){return!1}}function rp(e){return rf(e)&&"id"in e}function rh(e){var t;return tE(((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[nf]=function(){return this},t),e)}var rm=new Map,rg=0,rv={bookId:function(){return"x:".concat(rg++)},register:function(e,t){return rm.set(e,t),e},get:function(e){return rm.get(e)},free:function(e){rm.delete(e)}};function ry(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:void(t$||console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues"))}function rb(){var e=ry();if(e&&"__xstate__"in e)return e.__xstate__}function rw(e){if(ry()){var t=rb();t&&t.register(e)}}function rS(e,t){void 0===t&&(t={});var n=e.initialState,r=new Set,o=[],i=!1,a=function(){if(!i){for(i=!0;o.length>0;){var t=o.shift();n=e.transition(n,t,l),r.forEach(function(e){return e.next(n)})}i=!1}},s=rh({id:t.id,send:function(e){o.push(e),a()},getSnapshot:function(){return n},subscribe:function(e,t,o){var i=nE(e,t,o);return r.add(i),i.next(n),{unsubscribe:function(){r.delete(i)}}}}),l={parent:t.parent,self:s,id:t.id||"anonymous",observers:r};return n=e.start?e.start(l):n,s}var rx={sync:!1,autoForward:!1};!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(a||(a={}));var rE=function(){function e(t,n){void 0===n&&(n=e.defaultOptions);var i=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=a.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(e,t){if(ns(e))return i.batch(e),i.state;var n=nv(ng(e,t));if(i.status===a.Stopped)return t$||na(!1,'Event "'.concat(n.name,'" was sent to stopped service "').concat(i.machine.id,'". This service has already reached its final state, and will not transition.\nEvent: ').concat(JSON.stringify(n.data))),i.state;if(i.status!==a.Running&&!i.options.deferEvents)throw Error('Event "'.concat(n.name,'" was sent to uninitialized service "').concat(i.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(n.data)));return i.scheduler.schedule(function(){i.forward(n);var e=i._nextState(n);i.update(e,n)}),i._state},this.sendTo=function(e,t,n){var r=i.parent&&(t===o.Parent||i.parent.id===t),s=r?i.parent:nc(t)?t===o.Internal?i:i.children.get(t)||rv.get(t):nh(t)?t:void 0;if(!s){if(!r)throw Error("Unable to send event to child '".concat(t,"' from service '").concat(i.id,"'."));t$||na(!1,"Service '".concat(i.id,"' has no parent: unable to send event ").concat(e.type));return}if("machine"in s){if(i.status!==a.Stopped||i.parent!==s||i.state.done){var l=tE(tE({},e),{name:e.name===tH?"".concat(n5(i.id)):e.name,origin:i.sessionId});!n&&i.machine.config.predictableActionArguments?i._outgoingQueue.push([s,l]):s.send(l)}}else!n&&i.machine.config.predictableActionArguments?i._outgoingQueue.push([s,e.data]):s.send(e.data)},this._exec=function(e,t,n,o){void 0===o&&(o=i.machine.options.actions);var s=e.exec||nF(e.type,o),l=nl(s)?s:s?s.exec:e.exec;if(l)try{return l(t,n.data,i.machine.config.predictableActionArguments?{action:e,_event:n}:{action:e,state:i.state,_event:n})}catch(e){throw i.parent&&i.parent.send({type:"xstate.error",data:e}),e}switch(e.type){case tN:var c=e;i.defer(c);break;case tj:var u=e;if("number"==typeof u.delay){i.defer(u);return}u.to?i.sendTo(u._event,u.to,n===nZ):i.send(u._event);break;case tD:i.cancel(e.sendId);break;case tR:if(i.status!==a.Running)return;var d=e.activity;if(!i.machine.config.predictableActionArguments&&!i.state.activities[d.id||d.type])break;if(d.type===r.Invoke){var f=nx(d.src),p=i.machine.options.services?i.machine.options.services[f.type]:void 0,h=d.id,m=d.data;t$||na(!("forward"in d),"`forward` property is deprecated (found in invocation of '".concat(d.src,"' in in machine '").concat(i.machine.id,"'). ")+"Please use `autoForward` instead.");var g="autoForward"in d?d.autoForward:!!d.forward;if(!p){t$||na(!1,"No service found for invocation '".concat(d.src,"' in machine '").concat(i.machine.id,"'."));return}var v=m?t7(m,t,n):void 0;if("string"==typeof p)return;var y=nl(p)?p(t,n.data,{data:v,src:f,meta:d.meta}):p;if(!y)return;var b=void 0;np(y)&&(y=v?y.withContext(v):y,b={autoForward:g}),i.spawn(y,h,b)}else i.spawnActivity(d);break;case tM:i.stopChild(e.activity.id);break;case tZ:var w=e,S=w.label,x=w.value;S?i.logger(S,x):i.logger(x);break;default:t$||na(!1,"No implementation found for action type '".concat(e.type,"'"))}};var s=tE(tE({},e.defaultOptions),n),l=s.clock,c=s.logger,u=s.parent,d=s.id,f=void 0!==d?d:t.id;this.id=f,this.logger=c,this.clock=l,this.parent=u,this.options=s,this.scheduler=new ri({deferEvents:this.options.deferEvents}),this.sessionId=rv.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:rs(this,function(){return e._initialState=e.machine.initialState,e._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return t$||na(this.status!==a.NotStarted,"Attempted to read state from uninitialized service '".concat(this.id,"'. Make sure the service is started first.")),this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(e,t){var n,r;try{for(var o=t_(e.actions),i=o.next();!i.done;i=o.next()){var a=i.value;this.exec(a,e,t)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},e.prototype.update=function(e,t){var n,r,o,i,a,s,l,c,u=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||t===nZ)&&this.options.execute)this.execute(this.state);else for(var d=void 0;d=this._outgoingQueue.shift();)d[0].send(d[1]);if(this.children.forEach(function(e){u.state.children[e.id]=e}),this.devTools&&this.devTools.send(t.data,e),e.event)try{for(var f=t_(this.eventListeners),p=f.next();!p.done;p=f.next()){var h=p.value;h(e.event)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}try{for(var m=t_(this.listeners),g=m.next();!g.done;g=m.next()){var h=g.value;h(e,e.event)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}try{for(var v=t_(this.contextListeners),y=v.next();!y.done;y=v.next())(0,y.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(e){a={error:e}}finally{try{y&&!y.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}if(this.state.done){var b=e.configuration.find(function(e){return"final"===e.type&&e.parent===u.machine}),w=b&&b.doneData?t7(b.doneData,e.context,t):void 0;this._doneEvent=n4(this.id,w);try{for(var S=t_(this.doneListeners),x=S.next();!x.done;x=S.next()){var h=x.value;h(this._doneEvent)}}catch(e){l={error:e}}finally{try{x&&!x.done&&(c=S.return)&&c.call(S)}finally{if(l)throw l.error}}this._stop(),this._stopChildren(),rv.free(this.sessionId)}},e.prototype.onTransition=function(e){return this.listeners.add(e),this.status===a.Running&&e(this.state,this.state.event),this},e.prototype.subscribe=function(e,t,n){var r=this,o=nE(e,t,n);this.listeners.add(o.next),this.status!==a.NotStarted&&o.next(this.state);var i=function(){r.doneListeners.delete(i),r.stopListeners.delete(i),o.complete()};return this.status===a.Stopped?o.complete():(this.onDone(i),this.onStop(i)),{unsubscribe:function(){r.listeners.delete(o.next),r.doneListeners.delete(i),r.stopListeners.delete(i)}}},e.prototype.onEvent=function(e){return this.eventListeners.add(e),this},e.prototype.onSend=function(e){return this.sendListeners.add(e),this},e.prototype.onChange=function(e){return this.contextListeners.add(e),this},e.prototype.onStop=function(e){return this.stopListeners.add(e),this},e.prototype.onDone=function(e){return this.status===a.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},e.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},e.prototype.start=function(e){var t=this;if(this.status===a.Running)return this;this.machine._init(),rv.register(this.sessionId,this),this.initialized=!0,this.status=a.Running;var n=void 0===e?this.initialState:rs(this,function(){return rt(e)?t.machine.resolveState(e):t.machine.resolveState(rr.from(e,t.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){t.update(n,nZ)}),this},e.prototype._stopChildren=function(){this.children.forEach(function(e){nl(e.stop)&&e.stop()}),this.children.clear()},e.prototype._stop=function(){var e,t,n,r,o,i,s,l,c,u;try{for(var d=t_(this.listeners),f=d.next();!f.done;f=d.next()){var p=f.value;this.listeners.delete(p)}}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}try{for(var h=t_(this.stopListeners),m=h.next();!m.done;m=h.next()){var p=m.value;p(),this.stopListeners.delete(p)}}catch(e){n={error:e}}finally{try{m&&!m.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var g=t_(this.contextListeners),v=g.next();!v.done;v=g.next()){var p=v.value;this.contextListeners.delete(p)}}catch(e){o={error:e}}finally{try{v&&!v.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}try{for(var y=t_(this.doneListeners),b=y.next();!b.done;b=y.next()){var p=b.value;this.doneListeners.delete(p)}}catch(e){s={error:e}}finally{try{b&&!b.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}if(!this.initialized)return this;this.initialized=!1,this.status=a.Stopped,this._initialState=void 0;try{for(var w=t_(Object.keys(this.delayedEventsMap)),S=w.next();!S.done;S=w.next()){var x=S.value;this.clock.clearTimeout(this.delayedEventsMap[x])}}catch(e){c={error:e}}finally{try{S&&!S.done&&(u=w.return)&&u.call(w)}finally{if(c)throw c.error}}this.scheduler.clear(),this.scheduler=new ri({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var e=this,t=this.scheduler;return this._stop(),t.schedule(function(){var t=nv({type:"xstate.stop"}),n=rs(e,function(){var n=t5(tO([],tk(e.state.configuration),!1).sort(function(e,t){return t.order-e.order}).map(function(t){return nU(t.onExit,e.machine.options.actions)})),r=tk(n9(e.machine,e.state,e.state.context,t,[{type:"exit",actions:n}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),o=r[0],i=r[1],a=new rr({value:e.state.value,context:i,_event:t,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:o.filter(function(e){return!n_(e)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return a.changed=!0,a});e.update(n,t),e._stopChildren(),rv.free(e.sessionId)}),this},e.prototype.batch=function(e){var t=this;if(this.status===a.NotStarted&&this.options.deferEvents)t$||na(!1,"".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'" and are deferred. Make sure .start() is called for this service.\nEvent: ').concat(JSON.stringify(event)));else if(this.status!==a.Running)throw Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(e.length){var n=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var r,o,i=t.state,a=!1,s=[],l=function(e){var r=nv(e);t.forward(r),i=rs(t,function(){return t.machine.transition(i,r,void 0,n||void 0)}),s.push.apply(s,tO([],tk(t.machine.config.predictableActionArguments?i.actions:i.actions.map(function(e){return rn(e,i)})),!1)),a=a||!!i.changed};try{for(var c=t_(e),u=c.next();!u.done;u=c.next()){var d=u.value;l(d)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}i.changed=a,i.actions=s,t.update(i,nv(e[e.length-1]))})}},e.prototype.sender=function(e){return this.send.bind(this,e)},e.prototype._nextState=function(e,t){var n=this;void 0===t&&(t=!!this.machine.config.predictableActionArguments&&this._exec);var r=nv(e);if(0===r.name.indexOf(tU)&&!this.state.nextEvents.some(function(e){return 0===e.indexOf(tU)}))throw r.data.data;return rs(this,function(){return n.machine.transition(n.state,r,void 0,t||void 0)})},e.prototype.nextState=function(e){return this._nextState(e,!1)},e.prototype.forward=function(e){var t,n;try{for(var r=t_(this.forwardTo),o=r.next();!o.done;o=r.next()){var i=o.value,a=this.children.get(i);if(!a)throw Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(i,"'."));a.send(e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.defer=function(e){var t=this,n=this.clock.setTimeout(function(){"to"in e&&e.to?t.sendTo(e._event,e.to,!0):t.send(e._event)},e.delay);e.id&&(this.delayedEventsMap[e.id]=n)},e.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},e.prototype.exec=function(e,t,n){void 0===n&&(n=this.machine.options.actions),this._exec(e,t.context,t._event,n)},e.prototype.removeChild=function(e){var t;this.children.delete(e),this.forwardTo.delete(e),null===(t=this.state)||void 0===t||delete t.children[e]},e.prototype.stopChild=function(e){var t=this.children.get(e);t&&(this.removeChild(e),nl(t.stop)&&t.stop())},e.prototype.spawn=function(e,t,n){if(this.status!==a.Running)return rd(e,t);if(ne(e))return this.spawnPromise(Promise.resolve(e),t);if(nl(e))return this.spawnCallback(e,t);if(rp(e))return this.spawnActor(e,t);if(nd(e))return this.spawnObservable(e,t);if(np(e))return this.spawnMachine(e,tE(tE({},n),{id:t}));if(nt(e))return this.spawnBehavior(e,t);throw Error('Unable to spawn entity "'.concat(t,'" of type "').concat(typeof e,'".'))},e.prototype.spawnMachine=function(t,n){var r=this;void 0===n&&(n={});var o=new e(t,tE(tE({},this.options),{parent:this,id:n.id||t.id})),i=tE(tE({},rx),n);i.sync&&o.onTransition(function(e){r.send(tq,{state:e,id:o.id})});var a=o;return this.children.set(o.id,a),i.autoForward&&this.forwardTo.add(o.id),o.onDone(function(e){r.removeChild(o.id),r.send(nv(e,{origin:o.id}))}).start(),a},e.prototype.spawnBehavior=function(e,t){var n=rS(e,{id:t,parent:this});return this.children.set(t,n),n},e.prototype.spawnPromise=function(e,t){var n,r,o=this,i=!1;e.then(function(e){i||(r=e,o.removeChild(t),o.send(nv(n4(t,e),{origin:t})))},function(e){if(!i){o.removeChild(t);var n=n5(t,e);try{o.send(nv(n,{origin:t}))}catch(r){nw(e,r,t),o.devTools&&o.devTools.send(n,o.state),o.machine.strict&&o.stop()}}});var a=((n={id:t,send:function(){},subscribe:function(t,n,r){var o=nE(t,n,r),i=!1;return e.then(function(e){!i&&(o.next(e),i||o.complete())},function(e){i||o.error(e)}),{unsubscribe:function(){return i=!0}}},stop:function(){i=!0},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[nf]=function(){return this},n);return this.children.set(t,a),a},e.prototype.spawnCallback=function(e,t){var n,r,o,i=this,a=!1,s=new Set,l=new Set,c=function(e){r=e,l.forEach(function(t){return t(e)}),a||i.send(nv(e,{origin:t}))};try{o=e(c,function(e){s.add(e)})}catch(e){this.send(n5(t,e))}if(ne(o))return this.spawnPromise(o,t);var u=((n={id:t,send:function(e){return s.forEach(function(t){return t(e)})},subscribe:function(e){var t=nE(e);return l.add(t.next),{unsubscribe:function(){l.delete(t.next)}}},stop:function(){a=!0,nl(o)&&o()},toJSON:function(){return{id:t}},getSnapshot:function(){return r}})[nf]=function(){return this},n);return this.children.set(t,u),u},e.prototype.spawnObservable=function(e,t){var n,r,o=this,i=e.subscribe(function(e){r=e,o.send(nv(e,{origin:t}))},function(e){o.removeChild(t),o.send(nv(n5(t,e),{origin:t}))},function(){o.removeChild(t),o.send(nv(n4(t),{origin:t}))}),a=((n={id:t,send:function(){},subscribe:function(t,n,r){return e.subscribe(t,n,r)},stop:function(){return i.unsubscribe()},getSnapshot:function(){return r},toJSON:function(){return{id:t}}})[nf]=function(){return this},n);return this.children.set(t,a),a},e.prototype.spawnActor=function(e,t){return this.children.set(t,e),e},e.prototype.spawnActivity=function(e){var t=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(!t){t$||na(!1,"No implementation found for activity '".concat(e.type,"'"));return}var n=t(this.state.context,e);this.spawnEffect(e.id,n)},e.prototype.spawnEffect=function(e,t){var n;this.children.set(e,((n={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:t||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}})[nf]=function(){return this},n))},e.prototype.attachDev=function(){var e=ry();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var t="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(tE(tE({name:this.id,autoPause:!0,stateSanitizer:function(e){return{value:e.value,context:e.context,actions:e.actions}}},t),{features:tE({jump:!1,skip:!1},t?t.features:void 0)}),this.machine),this.devTools.init(this.state)}rw(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[nf]=function(){return this},e.prototype.getSnapshot=function(){return this.status===a.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,t){return setTimeout(e,t)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},e.interpret=rk,e}(),rC=function(e){return nc(e)?tE(tE({},rx),{name:e}):tE(tE(tE({},rx),{name:nm()}),e)};function r_(e,t){var n=rC(t);return rl(function(t){if(!t$){var r=np(e)||nl(e);na(!!t||r,'Attempted to spawn an Actor (ID: "'.concat(np(e)?e.id:"undefined",'") outside of a service. This will have no effect.'))}return t?t.spawn(e,n.name,n):rd(e,n.name)})}function rk(e,t){return new rE(e,t)}function rO(e){var t=p.useRef();return t.current||(t.current={v:e()}),t.current.v}var rA=function(){return(rA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},rI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},rP=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function rT(e,t){var n=rO(function(){return"function"==typeof e?e():e}),r=t.context,o=t.guards,i=t.actions,a=t.activities,s=t.services,l=t.delays,c=(t.state,rI(t,["context","guards","actions","activities","services","delays","state"])),u=rO(function(){var e={context:r,guards:o,actions:i,activities:a,services:s,delays:l};return rk(n.withConfig(e,function(){return rA(rA({},n.context),r)}),c)});return eV(function(){Object.assign(u.machine.options.actions,i),Object.assign(u.machine.options.guards,o),Object.assign(u.machine.options.activities,a),Object.assign(u.machine.options.services,s),Object.assign(u.machine.options.delays,l)},[i,o,a,s,l]),u}function rR(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=rP(t,2),o=r[0],i=void 0===o?{}:o,s=r[1],l=rT(e,i);return(0,p.useEffect)(function(){if(s){var e=l.subscribe(nE(s));return function(){e.unsubscribe()}}},[s]),(0,p.useEffect)(function(){var e=i.state;return l.start(e?rr.create(e):void 0),function(){l.stop(),l.status=a.NotStarted}},[]),l}function rM(e){if("string"==typeof e){var t={type:e};return t.toString=function(){return e},t}return e}function rN(e){return tE(tE({type:tz},e),{toJSON:function(){e.onDone,e.onError;var t=tC(e,["onDone","onError"]);return tE(tE({},t),{type:tz,src:rM(e.src)})}})}var rj="",rD="#",rL="*",rB={},rZ=function(e){return e[0]===rD},rF=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},rz=function(e,t,n){var r=n.slice(0,-1).some(function(e){return!("cond"in e)&&!("in"in e)&&(nc(e.target)||np(e.target))}),o=t===rj?"the transient event":"event '".concat(t,"'");na(!r,"One or more transitions for ".concat(o," on state '").concat(e.id,"' are unreachable. ")+"Make sure that the default transition is the last one defined.")},rU=function(){function e(t,n,r,o){void 0===r&&(r="context"in t?t.context:void 0);var i,a=this;this.config=t,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(rF(),n),this.parent=null==o?void 0:o.parent,this.key=this.config.key||(null==o?void 0:o.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:tA),this.id=this.config.id||tO([this.machine.key],tk(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!==(i=this.config.schema)&&void 0!==i?i:{},this.description=this.config.description,t$||na(!("parallel"in this.config),'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel?"Replace with `type: 'parallel'`":"Use `type: '".concat(this.type,"'`")," in the config for state node '").concat(this.id,"' instead.")),this.initial=this.config.initial,this.states=this.config.states?t0(this.config.states,function(t,n){var r,o=new e(t,{},void 0,{parent:a,key:n});return Object.assign(a.idMap,tE(((r={})[o.id]=o,r),o.idMap)),o}):rB;var s=0;function l(e){var t,n;e.order=s++;try{for(var r=t_(nO(e)),o=r.next();!o.done;o=r.next()){var i=o.value;l(i)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}l(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some(function(e){return e.event===rj}):rj in this.config.on),this.strict=!!this.config.strict,this.onEntry=t8(this.config.entry||this.config.onEntry).map(function(e){return nz(e)}),this.onExit=t8(this.config.exit||this.config.onExit).map(function(e){return nz(e)}),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=t8(this.config.invoke).map(function(e,t){if(np(e)){var n,r,o=nC(a.id,t);return a.machine.options.services=tE(((n={})[o]=e,n),a.machine.options.services),rN({src:o,id:o})}if(nc(e.src)){var o=e.id||nC(a.id,t);return rN(tE(tE({},e),{id:o,src:e.src}))}if(np(e.src)||nl(e.src)){var o=e.id||nC(a.id,t);return a.machine.options.services=tE(((r={})[o]=e.src,r),a.machine.options.services),rN(tE(tE({id:o},e),{src:o}))}var i=e.src;return rN(tE(tE({id:nC(a.id,t)},e),{src:i}))}),this.activities=t8(this.config.activities).concat(this.invoke).map(function(e){return nH(e)}),this.transition=this.transition.bind(this),this.tags=t8(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||nI(this).forEach(function(e){return e.on})},e.prototype.withConfig=function(t,n){var r=this.options,o=r.actions,i=r.activities,a=r.guards,s=r.services,l=r.delays;return new e(this.config,{actions:tE(tE({},o),t.actions),activities:tE(tE({},i),t.activities),guards:tE(tE({},a),t.guards),services:tE(tE({},s),t.services),delays:tE(tE({},l),t.delays)},null!=n?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return nl(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:t0(this.states,function(e){return e.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce(function(e,t){return e[t.eventType]=e[t.eventType]||[],e[t.eventType].push(t),e},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var t=e===rj,n=this.transitions.filter(function(n){var r=n.eventType===e;return t?r:r||n.eventType===rL});return this.__cache.candidates[e]=n,n},e.prototype.getDelayedTransitions=function(){var e=this,t=this.config.after;if(!t)return[];var n=function(t,n){var r=n2(nl(t)?"".concat(e.id,":delay[").concat(n,"]"):t,e.id);return e.onEntry.push(nW(r,{delay:t})),e.onExit.push(nX(r)),r};return(ns(t)?t.map(function(e,t){var r=n(e.delay,t);return tE(tE({},e),{event:r})}):t5(Object.keys(t).map(function(e,r){var o=t[e],i=nc(o)?{target:o}:o,a=isNaN(+e)?e:+e,s=n(a,r);return t8(i).map(function(e){return tE(tE({},e),{event:s,delay:a})})}))).map(function(t){var n=t.delay;return tE(tE({},e.formatTransition(t)),{delay:n})})},e.prototype.getStateNodes=function(e){var t,n=this;if(!e)return[];var r=e instanceof rr?e.value:tQ(e,this.delimiter);if(nc(r)){var o=this.getStateNode(r).initial;return void 0!==o?this.getStateNodes(((t={})[r]=o,t)):[this,this.states[r]]}var i=Object.keys(r),a=[this];return a.push.apply(a,tO([],tk(t5(i.map(function(e){return n.getStateNode(e).getStateNodes(r[e])}))),!1)),a},e.prototype.handles=function(e){var t=tK(e);return this.events.includes(t)},e.prototype.resolveState=function(e){var t=e instanceof rr?e:rr.create(e),n=Array.from(nP([],this.getStateNodes(t.value)));return new rr(tE(tE({},t),{value:this.resolve(t.value),configuration:n,done:nD(n,this),tags:nB(n),machine:this.machine}))},e.prototype.transitionLeafNode=function(e,t,n){var r=this.getStateNode(e).next(t,n);return r&&r.transitions.length?r:this.next(t,n)},e.prototype.transitionCompoundNode=function(e,t,n){var r=Object.keys(e),o=this.getStateNode(r[0])._transition(e[r[0]],t,n);return o&&o.transitions.length?o:this.next(t,n)},e.prototype.transitionParallelNode=function(e,t,n){var r,o,i={};try{for(var a=t_(Object.keys(e)),s=a.next();!s.done;s=a.next()){var l=s.value,c=e[l];if(c){var u=this.getStateNode(l)._transition(c,t,n);u&&(i[l]=u)}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}var d=Object.keys(i).map(function(e){return i[e]}),f=t5(d.map(function(e){return e.transitions}));if(!d.some(function(e){return e.transitions.length>0}))return this.next(t,n);var p=t5(Object.keys(i).map(function(e){return i[e].configuration}));return{transitions:f,exitSet:t5(d.map(function(e){return e.exitSet})),configuration:p,source:t,actions:t5(Object.keys(i).map(function(e){return i[e].actions}))}},e.prototype._transition=function(e,t,n){return nc(e)?this.transitionLeafNode(e,t,n):1===Object.keys(e).length?this.transitionCompoundNode(e,t,n):this.transitionParallelNode(e,t,n)},e.prototype.getTransitionData=function(e,t){return this._transition(e.value,e,nv(t))},e.prototype.next=function(e,t){var n,r,o,i=this,a=t.name,s=[],l=[];try{for(var c=t_(this.getCandidates(a)),u=c.next();!u.done;u=c.next()){var d=u.value,f=d.cond,p=d.in,h=e.context,m=!p||(nc(p)&&rZ(p)?e.matches(tQ(this.getStateNodeById(p).path,this.delimiter)):tG(tQ(p,this.delimiter),t2(this.path.slice(0,-2))(e.value))),g=!1;try{g=!f||nS(this.machine,f,h,t,e)}catch(e){throw Error("Unable to evaluate guard '".concat(f.name||f.type,"' in transition for event '").concat(a,"' in state node '").concat(this.id,"':\n").concat(e.message))}if(g&&m){void 0!==d.target&&(l=d.target),s.push.apply(s,tO([],tk(d.actions),!1)),o=d;break}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}if(o){if(!l.length)return{transitions:[o],exitSet:[],configuration:e.value?[this]:[],source:e,actions:s};var v=t5(l.map(function(t){return i.getRelativeStateNodes(t,e.historyValue)})),y=!!o.internal;return{transitions:[o],exitSet:y?[]:t5(l.map(function(e){return i.getPotentiallyReenteringNodes(e)})),configuration:v,source:e,actions:s}}},e.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var t=[],n=this,r=e;n&&n!==r;)t.push(n),n=n.parent;return n!==r?[]:(t.push(r),t)},e.prototype.getActions=function(e,t,n,r,o,i,a){var s,l,c,u,d=this,f=i?nP([],this.getStateNodes(i.value)):[],p=new Set;try{for(var h=t_(Array.from(e).sort(function(e,t){return e.order-t.order})),m=h.next();!m.done;m=h.next()){var g=m.value;(!nN(f,g)||nN(n.exitSet,g)||g.parent&&p.has(g.parent))&&p.add(g)}}catch(e){s={error:e}}finally{try{m&&!m.done&&(l=h.return)&&l.call(h)}finally{if(s)throw s.error}}try{for(var v=t_(f),y=v.next();!y.done;y=v.next()){var g=y.value;(!nN(e,g)||nN(n.exitSet,g.parent))&&n.exitSet.push(g)}}catch(e){c={error:e}}finally{try{y&&!y.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}n.exitSet.sort(function(e,t){return t.order-e.order});var b=Array.from(p).sort(function(e,t){return e.order-t.order}),w=new Set(n.exitSet),S=t5(b.map(function(e){var t=[];if("final"!==e.type)return t;var i=e.parent;if(!i.parent)return t;t.push(n3(e.id,e.doneData),n3(i.id,e.doneData?t7(e.doneData,r,o):void 0));var a=i.parent;return"parallel"===a.type&&nA(a).every(function(e){return nD(n.configuration,e)})&&t.push(n3(a.id)),t})),x=b.map(function(e){var t=e.onEntry,n=e.activities.map(function(e){return nQ(e)});return{type:"entry",actions:nU(a?tO(tO([],tk(t),!1),tk(n),!1):tO(tO([],tk(n),!1),tk(t),!1),d.machine.options.actions)}}).concat({type:"state_done",actions:S.map(function(e){return nq(e)})}),E=Array.from(w).map(function(e){return{type:"exit",actions:nU(tO(tO([],tk(e.onExit),!1),tk(e.activities.map(function(e){return nJ(e)})),!1),d.machine.options.actions)}}).concat({type:"transition",actions:nU(n.actions,this.machine.options.actions)}).concat(x);if(t){var C=nU(t5(tO([],tk(e),!1).sort(function(e,t){return t.order-e.order}).map(function(e){return e.onExit})),this.machine.options.actions).filter(function(e){return!n_(e)});return E.concat({type:"stop",actions:C})}return E},e.prototype.transition=function(e,t,n,r){void 0===e&&(e=this.initialState);var o,i=nv(t);if(e instanceof rr)o=void 0===n?e:this.resolveState(rr.from(e,n));else{var a=nc(e)?this.resolve(tJ(this.getResolvedPath(e))):this.resolve(e),s=null!=n?n:this.machine.context;o=this.resolveState(rr.from(a,s))}if(!t$&&i.name===rL)throw Error("An event cannot have the wildcard type ('".concat(rL,"')"));if(this.strict&&!this.events.includes(i.name)&&!t9(i.name))throw Error("Machine '".concat(this.id,"' does not accept event '").concat(i.name,"'"));var l=this._transition(o.value,o,i)||{transitions:[],configuration:[],exitSet:[],source:o,actions:[]},c=nP([],this.getStateNodes(o.value)),u=l.configuration.length?nP(c,l.configuration):c;return l.configuration=tO([],tk(u),!1),this.resolveTransition(l,o,o.context,r,i)},e.prototype.resolveRaisedTransition=function(e,t,n,r){var o,i=e.actions;return(e=this.transition(e,t,void 0,r))._event=n,e.event=n.data,(o=e.actions).unshift.apply(o,tO([],tk(i),!1)),e},e.prototype.resolveTransition=function(e,t,n,r,o){var i,a,s,l,c=this;void 0===o&&(o=nZ);var u=e.configuration,d=!t||e.transitions.length>0,f=d?e.configuration:t?t.configuration:[],p=nD(f,this),h=d?nM(this.machine,u):void 0,m=t?t.historyValue?t.historyValue:e.source?this.machine.historyValue(t.value):void 0:void 0,g=this.getActions(new Set(f),p,e,n,o,t,r),v=t?tE({},t.activities):{};try{for(var y=t_(g),b=y.next();!b.done;b=y.next()){var w=b.value;try{for(var S=(s=void 0,t_(w.actions)),x=S.next();!x.done;x=S.next()){var E=x.value;E.type===tR?v[E.activity.id||E.activity.type]=E:E.type===tM&&(v[E.activity.id||E.activity.type]=!1)}}catch(e){s={error:e}}finally{try{x&&!x.done&&(l=S.return)&&l.call(S)}finally{if(s)throw s.error}}}}catch(e){i={error:e}}finally{try{b&&!b.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}var C=tk(n9(this,t,n,o,g,r,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),_=C[0],k=C[1],O=tk(nn(_,n_),2),A=O[0],I=O[1],P=_.filter(function(e){var t;return e.type===tR&&(null===(t=e.activity)||void 0===t?void 0:t.type)===tz}).reduce(function(e,t){return e[t.activity.id]=ru(t.activity,c.machine,k,o),e},t?tE({},t.children):{}),T=new rr({value:h||t.value,context:k,_event:o,_sessionid:t?t._sessionid:null,historyValue:h?m?no(m,h):void 0:t?t.historyValue:void 0,history:!h||e.source?t:void 0,actions:h?I:[],activities:h?v:t?t.activities:{},events:[],configuration:f,transitions:e.transitions,children:P,done:p,tags:nB(f),machine:this}),R=n!==k;T.changed=o.name===tq||R;var M=T.history;M&&delete M.history;var N=!p&&(this._transient||u.some(function(e){return e._transient}));if(!d&&(!N||o.name===rj))return T;var j=T;if(!p)for(N&&(j=this.resolveRaisedTransition(j,{type:tL},o,r));A.length;){var D=A.shift();j=this.resolveRaisedTransition(j,D._event,o,r)}var L=j.changed||(M?!!j.actions.length||R||typeof M.value!=typeof j.value||!re(j.value,M.value):void 0);return j.changed=L,j.history=M,j},e.prototype.getStateNode=function(e){if(rZ(e))return this.machine.getStateNodeById(e);if(!this.states)throw Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var t=this.states[e];if(!t)throw Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return t},e.prototype.getStateNodeById=function(e){var t=rZ(e)?e.slice(rD.length):e;if(t===this.id)return this;var n=this.machine.idMap[t];if(!n)throw Error("Child state node '#".concat(t,"' does not exist on machine '").concat(this.id,"'"));return n},e.prototype.getStateNodeByPath=function(e){if("string"==typeof e&&rZ(e))try{return this.getStateNodeById(e.slice(1))}catch(e){}for(var t=tY(e,this.delimiter).slice(),n=this;t.length;){var r=t.shift();if(!r.length)break;n=n.getStateNode(r)}return n},e.prototype.resolve=function(e){var t,n=this;if(!e)return this.initialStateValue||rB;switch(this.type){case"parallel":return t0(this.initialStateValue,function(t,r){return t?n.getStateNode(r).resolve(e[r]||t):rB});case"compound":if(nc(e)){var r=this.getStateNode(e);if("parallel"===r.type||"compound"===r.type)return(t={})[e]=r.initialStateValue,t;return e}if(!Object.keys(e).length)return this.initialStateValue||{};return t0(e,function(e,t){return e?n.getStateNode(t).resolve(e):rB});default:return e||rB}},e.prototype.getResolvedPath=function(e){if(rZ(e)){var t=this.machine.idMap[e.slice(rD.length)];if(!t)throw Error("Unable to find state node '".concat(e,"'"));return t.path}return tY(e,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var e,t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)t=t1(this.states,function(e){return e.initialStateValue||rB},function(e){return"history"!==e.type});else if(void 0!==this.initial){if(!this.states[this.initial])throw Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));t=nk(this.states[this.initial])?this.initial:((e={})[this.initial]=this.states[this.initial].initialStateValue,e)}else t={};return this.__cache.initialStateValue=t,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(e,t){this._init();var n=this.getStateNodes(e);return this.resolveTransition({configuration:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=t?t:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this.initialStateValue;if(!e)throw Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var e;if("history"===this.type){var t=this.config;e=nc(t.target)&&rZ(t.target)?tJ(this.machine.getStateNodeById(t.target).path.slice(this.path.length-1)):t.target}return e},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(e,t,n){return void 0===n&&(n=!0),n?"history"===e.type?e.resolveHistory(t):e.initialStateNodes:[e]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var e=this;return nk(this)?[this]:"compound"!==this.type||this.initial?t5(t4(this.initialStateValue).map(function(t){return e.getFromRelativePath(t)})):(t$||na(!1,"Compound state node '".concat(this.id,"' has no initial state.")),[this])},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var t=tk(e),n=t[0],r=t.slice(1);if(!this.states)throw Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var o=this.getStateNode(n);if("history"===o.type)return o.resolveHistory();if(!this.states[n])throw Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(r)},e.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:t1(this.states,function(t,n){if(!e)return t.historyValue();var r=nc(e)?void 0:e[n];return t.historyValue(r||t.initialStateValue)},function(e){return!e.history})}},e.prototype.resolveHistory=function(e){var t=this;if("history"!==this.type)return[this];var n=this.parent;if(!e){var r=this.target;return r?t5(t4(r).map(function(e){return n.getFromRelativePath(e)})):n.initialStateNodes}var o=t3(n.path,"states")(e).current;return nc(o)?[n.getStateNode(o)]:t5(t4(o).map(function(e){return"deep"===t.history?n.getFromRelativePath(e):[n.states[e[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var e=this,t=t5(Object.keys(this.states).map(function(t){return e.states[t].stateIds}));return[this.id].concat(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){if(this.__cache.events)return this.__cache.events;var e,t,n,r,o=this.states,i=new Set(this.ownEvents);if(o)try{for(var a=t_(Object.keys(o)),s=a.next();!s.done;s=a.next()){var l=o[s.value];if(l.states)try{for(var c=(n=void 0,t_(l.events)),u=c.next();!u.done;u=c.next()){var d=u.value;i.add("".concat(d))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(i)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){return Array.from(new Set(this.transitions.filter(function(e){return!(!e.target&&!e.actions.length&&e.internal)}).map(function(e){return e.eventType})))},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(e){var t=this;if(void 0!==e)return e.map(function(e){if(!nc(e))return e;var n=e[0]===t.delimiter;if(n&&!t.parent)return t.getStateNodeByPath(e.slice(1));var r=n?t.key+e:e;if(!t.parent)return t.getStateNodeByPath(r);try{return t.parent.getStateNodeByPath(r)}catch(e){throw Error("Invalid transition definition for state node '".concat(t.id,"':\n").concat(e.message))}})},e.prototype.formatTransition=function(e){var t=this,n=nb(e.target),r="internal"in e?e.internal:!n||n.some(function(e){return nc(e)&&e[0]===t.delimiter}),o=this.machine.options.guards,i=this.resolveTarget(n),a=tE(tE({},e),{actions:nU(t8(e.actions)),cond:nu(e.cond,o),target:i,source:this,internal:r,eventType:e.event,toJSON:function(){return tE(tE({},a),{target:a.target?a.target.map(function(e){return"#".concat(e.id)}):void 0,source:"#".concat(t.id)})}});return a},e.prototype.formatTransitions=function(){var e,t,n,r=this;if(this.config.on){if(Array.isArray(this.config.on))n=this.config.on;else{var o=this.config.on,i=rL,a=o[i],s=void 0===a?[]:a,l=tC(o,["symbol"==typeof i?i:i+""]);n=t5(Object.keys(l).map(function(e){t$||e!==rj||na(!1,"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. "+'Please check the `on` configuration for "#'.concat(r.id,'".'));var t=ny(e,l[e]);return t$||rz(r,e,t),t}).concat(ny(rL,s)))}}else n=[];var c=this.config.always?ny("",this.config.always):[],u=this.config.onDone?ny(String(n3(this.id)),this.config.onDone):[];t$||na(!(this.config.onDone&&!this.parent),'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id,'".'));var d=t5(this.invoke.map(function(e){var t=[];return e.onDone&&t.push.apply(t,tO([],tk(ny(String(n4(e.id)),e.onDone)),!1)),e.onError&&t.push.apply(t,tO([],tk(ny(String(n5(e.id)),e.onError)),!1)),t})),f=this.after,p=t5(tO(tO(tO(tO([],tk(u),!1),tk(d),!1),tk(n),!1),tk(c),!1).map(function(e){return t8(e).map(function(e){return r.formatTransition(e)})}));try{for(var h=t_(f),m=h.next();!m.done;m=h.next()){var g=m.value;p.push(g)}}catch(t){e={error:t}}finally{try{m&&!m.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}return p},e}(),rH=!1;function rq(e,t){return t$||"predictableActionArguments"in e||rH||(rH=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new rU(e,t)}var rV=n1,rW=nK,r$=n6;let{assign:rG,stop:rK}=u,rY=e=>rK(e),rX=rG({attributeToVerify:e=>{}}),rQ=rG({challengeName:e=>{}}),rJ=rG({requiredAttributes:e=>{}}),r0=rG({remoteError:e=>""}),r1=rG({formValues:e=>({})}),r2=rG({touched:e=>({})}),r3=rG({unverifiedContactMethods:e=>{}}),r4=rG({username:e=>{}}),r5=rG({validationError:e=>({})}),r6=rG({totpSecretCode:(e,t)=>t.data}),r8=rG({challengeName:(e,t)=>{var n;return null===(n=t.data)||void 0===n?void 0:n.challengeName}}),r7=rG({requiredAttributes:(e,t)=>{var n,r;return null===(r=null===(n=t.data)||void 0===n?void 0:n.challengeParam)||void 0===r?void 0:r.requiredAttributes}}),r9=rG({redirectIntent:e=>"confirmPasswordReset"}),oe=rG({redirectIntent:e=>"confirmSignUp"}),ot=rG({authAttributes:(e,t)=>{var n,r;let[o]=e.loginMechanisms;return{username:null!==(n=e.formValues[o])&&void 0!==n?n:e.formValues.username,password:null===(r=e.formValues)||void 0===r?void 0:r.password}}}),on=rG({validationError:(e,t)=>t.data}),or=rG({remoteError:(e,t)=>{var n;return"NoUserPoolError"===t.data.name?"Configuration error (see console) – please contact the administrator":(null===(n=t.data)||void 0===n?void 0:n.message)||t.data}}),oo=rG({unverifiedContactMethods:(e,t)=>t.data.unverified}),oi=rG({user:(e,t)=>t.data.user||t.data}),oa=rG({username:(e,t)=>{let{formValues:{username:n,country_code:r}}=e;return r&&(n=`${r}${n}`),n}}),os=rG({codeDeliveryDetails:(e,t)=>t.data.codeDeliveryDetails}),ol=rG({authAttributes:(e,t)=>({username:e.formValues.username})}),oc=rG({formValues:(e,t)=>{let{name:n,value:r}=t.data;return Object.assign(Object.assign({},e.formValues),{[n]:r})}}),ou=rG({formValues:(e,t)=>ez(Object.assign(Object.assign({},e.formValues),t.data),"password")}),od=rG({touched:(e,t)=>{let{name:n}=t.data;return Object.assign(Object.assign({},e.touched),{[`${n}`]:!0})}}),of=e=>eC(void 0,void 0,void 0,function*(){let{username:t}=e;return yield e3.g.forgotPassword(t)}),op=rG({formValues:(e,t)=>{var n;let[r="username"]=e.loginMechanisms;if(!e.formValues.phone_number&&"phone_number"!==r)return e.formValues;let{formValues:o,country_code:i}=e,a=o.phone_number?"phone_number":"username",s=`${null!==(n=o.country_code)&&void 0!==n?n:i}${o[a]}`.replace(/[^A-Z0-9+]/gi,""),l=Object.assign(Object.assign({},o),{[a]:s});return delete l.country_code,l}});var oh=n(13546),om=n(88469);let og=(e,t,n,r)=>eC(void 0,void 0,void 0,function*(){let o=om({},...yield Promise.all(r.map(r=>r(e,t,n))));return eh(o)?Promise.resolve():Promise.reject(o)}),ov={getAmplifyConfig(){return eC(this,void 0,void 0,function*(){return b.d.configure()})},getCurrentUser(){return eC(this,void 0,void 0,function*(){return e3.g.currentAuthenticatedUser()})},handleSignUp(e){return eC(this,void 0,void 0,function*(){return e3.g.signUp(Object.assign(Object.assign({},e),{autoSignIn:{enabled:!0}}))})},handleSignIn({username:e,password:t}){return eC(this,void 0,void 0,function*(){return e3.g.signIn(e,t)})},handleConfirmSignIn({user:e,code:t,mfaType:n}){return eC(this,void 0,void 0,function*(){return e3.g.confirmSignIn(e,t,n)})},handleConfirmSignUp({username:e,code:t}){return eC(this,void 0,void 0,function*(){return yield e3.g.confirmSignUp(e,t)})},handleForgotPasswordSubmit({username:e,code:t,password:n}){return eC(this,void 0,void 0,function*(){return e3.g.forgotPasswordSubmit(e,t,n)})},handleForgotPassword(e){return eC(this,void 0,void 0,function*(){return e3.g.forgotPassword(e)})},validateCustomSignUp(e,t){return eC(this,void 0,void 0,function*(){})},validateFormPassword(e,t,n){return eC(this,void 0,void 0,function*(){let{password:r}=e,{password:o}=t;if(!o||!n)return null;let i=[],a=+(null==n?void 0:n.passwordPolicyMinLength);r.length<a&&i.push(`Password must have at least ${a} characters`);let s=null==n?void 0:n.passwordPolicyCharacters;return null==s||s.forEach(e=>{switch(e){case"REQUIRES_LOWERCASE":/[a-z]/.test(r)||i.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(r)||i.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(r)||i.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":eZ(r)||i.push("Password must have special characters")}}),0!==i.length?{password:i}:null})},validateConfirmPassword(e,t){return eC(this,void 0,void 0,function*(){let{password:n,confirm_password:r}=e,{confirm_password:o,password:i}=t;return n||r?(n||r)&&n!==r&&(o&&i||(null==n?void 0:n.length)>=6&&(null==r?void 0:r.length)>=6)?{confirm_password:"Your passwords must match"}:void 0:null})},validatePreferredUsername(e,t){return eC(this,void 0,void 0,function*(){})}},oy=["SMS_MFA","SOFTWARE_TOKEN_MFA"],ob=e=>oh(e,"data.challengeName"),ow=(e,t)=>e===t,oS=e=>oy.includes(e);function ox({services:e}){return rq({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"getTotpSecretCode",exit:["clearFormValues","clearError","clearTouched"],states:{getTotpSecretCode:{invoke:{src:"getTotpSecretCode",onDone:{target:"edit",actions:"setTotpSecretCode"},onError:{target:"edit",actions:"setRemoteError"}}},edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:e=>({user:e.user})},rejected:{type:"final",data:(e,t)=>({intent:e.redirectIntent,authAttributes:e.authAttributes})}}},{actions:{clearAttributeToVerify:rX,clearChallengeName:rQ,clearRequiredAttributes:rJ,clearError:r0,clearFormValues:r1,clearTouched:r2,clearUnverifiedContactMethods:r3,clearValidationError:r5,handleInput:oc,handleSubmit:ou,handleBlur:od,parsePhoneNumber:op,setChallengeName:r8,setConfirmResetPasswordIntent:r9,setConfirmSignUpIntent:oe,setRequiredAttributes:r7,setCredentials:ot,setFieldErrors:on,setRemoteError:or,setTotpSecretCode:r6,setUnverifiedContactMethods:oo,setUser:oi,setUsernameAuthAttributes:ol,sendUpdate:rW()},guards:{shouldAutoSignIn:e=>"autoSignIn"===(null==e?void 0:e.intent),shouldAutoSubmit:e=>"autoSignInSubmit"===(null==e?void 0:e.intent),shouldConfirmSignIn:(e,t)=>oS(ob(t)),shouldForceChangePassword:(e,t)=>ow(ob(t),"NEW_PASSWORD_REQUIRED"),shouldRedirectToConfirmResetPassword:(e,t)=>"PasswordResetRequiredException"===t.data.code,shouldRedirectToConfirmSignUp:(e,t)=>"UserNotConfirmedException"===t.data.code,shouldRequestVerification:(e,t)=>{let{unverified:n,verified:r}=t.data;return eh(r)&&!eh(n)},shouldSetupTOTP:(e,t)=>ow(ob(t),"MFA_SETUP")},services:{signIn(t){return eC(this,void 0,void 0,function*(){let{authAttributes:n={},formValues:r={}}=t,{username:o,password:i}=Object.assign(Object.assign({},n),r);return yield e.handleSignIn({username:o,password:i})})},confirmSignIn(t){return eC(this,void 0,void 0,function*(){let{challengeName:n,user:r}=t,{confirmation_code:o}=t.formValues,i=oS(n)?n:void 0;return yield e.handleConfirmSignIn({user:r,code:o,mfaType:i}),yield e3.g.currentAuthenticatedUser()})},forceNewPassword(e){return eC(this,void 0,void 0,function*(){let{user:t,formValues:n}=e,r,{password:o,confirm_password:i,phone_number:a,country_code:s}=n,l=eE(n,["password","confirm_password","phone_number","country_code"]);a&&(r=`${s}${a}`.replace(/[^A-Z0-9+]/gi,""),l=Object.assign(Object.assign({},l),{phone_number:r}));try{let e=yield e3.g.completeNewPassword(t,o,l);return e.challengeName?e:e3.g.currentAuthenticatedUser()}catch(e){return Promise.reject(e)}})},getTotpSecretCode(e){return eC(this,void 0,void 0,function*(){let{user:t}=e;return e3.g.setupTOTP(t)})},verifyTotpToken(e){return eC(this,void 0,void 0,function*(){let{formValues:t,user:n}=e,{confirmation_code:r}=t;return e3.g.verifyTotpToken(n,r)})},federatedSignIn(e,t){return eC(this,void 0,void 0,function*(){let{provider:e}=t.data;return yield e3.g.federatedSignIn({provider:e})})},checkVerifiedContact(e){return eC(this,void 0,void 0,function*(){let{user:t}=e;return yield e3.g.verifiedContact(t)})},verifyUser(e){return eC(this,void 0,void 0,function*(){let{unverifiedAttr:t}=e.formValues,n=yield e3.g.verifyCurrentUserAttribute(t);return e.attributeToVerify=t,n})},confirmVerifyUser(e){return eC(this,void 0,void 0,function*(){let{attributeToVerify:t}=e,{confirmation_code:n}=e.formValues;return yield e3.g.verifyCurrentUserAttributeSubmit(t,n)})},validateFields(e){return eC(this,void 0,void 0,function*(){return og(e.formValues,e.touched,e.passwordSettings,[ov.validateFormPassword,ov.validateConfirmPassword])})}}})}let oE=rq({initial:"pending",id:"signOutActor",predictableActionArguments:!0,states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:()=>e3.g.signOut()}});function oC({services:e}){return rq({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:r0,clearFormValues:r1,clearTouched:r2,clearUsername:r4,clearValidationError:r5,handleInput:oc,handleSubmit:ou,handleBlur:od,resendCode:of,setFieldErrors:on,setRemoteError:or,setUsername:oa,sendUpdate:rW()},guards:{shouldAutoConfirmReset:(e,t)=>!(!e.intent||"confirmPasswordReset"!==e.intent)},services:{resetPassword(t){return eC(this,void 0,void 0,function*(){let{username:n}=t;return e.handleForgotPassword(n)})},confirmResetPassword(t){return eC(this,void 0,void 0,function*(){let{username:n}=t,{confirmation_code:r,password:o}=t.formValues;return e.handleForgotPasswordSubmit({username:n,code:r,password:o})})},validateFields(e,t){return eC(this,void 0,void 0,function*(){return og(e.formValues,e.touched,e.passwordSettings,[ov.validateFormPassword,ov.validateConfirmPassword])})}}})}var o_=n(57383);function ok({services:e}){return rq({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:(e,t)=>{let{username:n,password:r}=e.authAttributes;return{user:oh(t,"data.user")||e.user,authAttributes:{username:n,password:r},intent:e.intent}}}}},{guards:{isUserAlreadyConfirmed:(e,t)=>"User is already confirmed."===t.data.message,shouldInitConfirmSignUp:e=>e.intent&&"confirmSignUp"===e.intent,shouldSkipConfirm:(e,t)=>t.data.userConfirmed},actions:{clearError:r0,clearFormValues:r1,clearTouched:r2,clearValidationError:r5,handleInput:oc,handleSubmit:ou,handleBlur:od,parsePhoneNumber:op,setCredentials:ot,setFieldErrors:on,setRemoteError:or,setCodeDeliveryDetails:os,setUser:oi,sendUpdate:rW(),setAutoSignInIntent:rV({intent:e=>"confirmSignUp"===(null==e?void 0:e.intent)?"autoSignInSubmit":"autoSignIn"})},services:{confirmSignUp(t,n){return eC(this,void 0,void 0,function*(){let{user:n,authAttributes:r,formValues:o}=t,{confirmation_code:i}=o,a=oh(n,"username")||oh(r,"username");return yield e.handleConfirmSignUp({username:a,code:i})})},resendConfirmationCode(e,t){return eC(this,void 0,void 0,function*(){let{user:t,authAttributes:n}=e,r=oh(t,"username")||oh(n,"username");return e3.g.resendSignUp(r)})},federatedSignIn(e,t){return eC(this,void 0,void 0,function*(){let{provider:e}=t.data;return yield e3.g.federatedSignIn({provider:e})})},signUp(t,n){return eC(this,void 0,void 0,function*(){let{formValues:n,loginMechanisms:r}=t,[o="username"]=r,{[o]:i,password:a}=n,s=o_(n,(e,t)=>{switch(t){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return t.startsWith("custom:")}});return yield e.handleSignUp({username:i,password:a,attributes:s})})},validateSignUp(t,n){return eC(this,void 0,void 0,function*(){return og(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])})}}})}let{choose:oO}=u;function oA(){return rq({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:ov,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:{target:"setup"}}},setup:{initial:"waitConfig",states:{waitConfig:{on:{INIT:{actions:["configure","setHasSetup"],target:"applyConfig"}}},applyConfig:{invoke:{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig",target:"goToInitialState"}}},goToInitialState:{always:[{target:"#authenticator.signUp",cond:"isInitialStateSignUp"},{target:"#authenticator.resetPassword",cond:"isInitialStateResetPassword"},{target:"#authenticator.signIn"}]}}},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignInActor"}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignUpActor"},autoSignIn:{invoke:{src:"getCurrentUser",onDone:"#authenticator.authenticated",onError:"#authenticator.setup.goToInitialState"}}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"#authenticator.signIn",actions:"setActorDoneData",cond:"shouldAutoSignIn"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopResetPasswordActor"}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:["stopSignOutActor","clearUser"]}},on:{"done.invoke.signOutActor":[{target:"setup",cond:"shouldSetup"},{target:"setup.goToInitialState"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},AUTO_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:oO([{cond:"hasActor",actions:r$(e=>e.actorRef)}]),setUser:rV({user:(e,t)=>t.data}),setActorDoneData:rV({actorDoneData:(e,t)=>{var n,r;return{authAttributes:Object.assign({},null===(n=t.data)||void 0===n?void 0:n.authAttributes),intent:null===(r=t.data)||void 0===r?void 0:r.intent}},user:(e,t)=>{var n;return null===(n=t.data)||void 0===n?void 0:n.user}}),clearUser:rV({user:void 0}),clearActorDoneData:rV({actorDoneData:void 0}),applyAmplifyConfig:rV({config(e,t){var n,r,o,i,a,s,l,c,u;let d=null!==(r=null===(n=t.data.aws_cognito_username_attributes)||void 0===n?void 0:n.map(e=>e.toLowerCase()))&&void 0!==r?r:[],f=null!==(i=null===(o=t.data.aws_cognito_verification_mechanisms)||void 0===o?void 0:o.map(e=>e.toLowerCase()))&&void 0!==i?i:[],p=null!==(s=null===(a=t.data.aws_cognito_signup_attributes)||void 0===a?void 0:a.map(e=>e.toLowerCase()))&&void 0!==s?s:[],h=null!==(c=null===(l=t.data.aws_cognito_social_providers)||void 0===l?void 0:l.map(e=>e.toLowerCase()))&&void 0!==c?c:[],m=t.data.aws_cognito_password_protection_settings||{};0===d.length&&d.push("username");let{loginMechanisms:g,signUpAttributes:v,socialProviders:y,initialState:b,formFields:w}=e.config;return{loginMechanisms:null!=g?g:d,formFields:null!==(u=oI(w))&&void 0!==u?u:{},passwordSettings:m,signUpAttributes:null!=v?v:Array.from(new Set([...f,...p])),socialProviders:null!=y?y:h.sort(),initialState:b}}}),spawnSignInActor:rV({actorRef:(e,t)=>{var n,r,o,i,a,s,l;let{services:c}=e;return r_(ox({services:c}).withContext({authAttributes:null!==(r=null===(n=e.actorDoneData)||void 0===n?void 0:n.authAttributes)&&void 0!==r?r:{},user:e.user,intent:null===(o=e.actorDoneData)||void 0===o?void 0:o.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:null===(i=e.config)||void 0===i?void 0:i.passwordSettings,loginMechanisms:null===(a=e.config)||void 0===a?void 0:a.loginMechanisms,socialProviders:null===(s=e.config)||void 0===s?void 0:s.socialProviders,formFields:null===(l=e.config)||void 0===l?void 0:l.formFields}),{name:"signInActor"})}}),spawnSignUpActor:rV({actorRef:(e,t)=>{var n,r,o,i,a,s,l;let{services:c}=e;return r_(ok({services:c}).withContext({authAttributes:null!==(r=null===(n=e.actorDoneData)||void 0===n?void 0:n.authAttributes)&&void 0!==r?r:{},country_code:"+1",intent:null===(o=e.actorDoneData)||void 0===o?void 0:o.intent,formValues:{},touched:{},validationError:{},loginMechanisms:null===(i=e.config)||void 0===i?void 0:i.loginMechanisms,socialProviders:null===(a=e.config)||void 0===a?void 0:a.socialProviders,formFields:null===(s=e.config)||void 0===s?void 0:s.formFields,passwordSettings:null===(l=e.config)||void 0===l?void 0:l.passwordSettings}),{name:"signUpActor"})}}),spawnResetPasswordActor:rV({actorRef:(e,t)=>{var n,r,o,i,a;let{services:s}=e;return r_(oC({services:s}).withContext({formValues:{},touched:{},intent:null===(n=e.actorDoneData)||void 0===n?void 0:n.intent,username:null===(o=null===(r=e.actorDoneData)||void 0===r?void 0:r.authAttributes)||void 0===o?void 0:o.username,formFields:null===(i=e.config)||void 0===i?void 0:i.formFields,validationError:{},passwordSettings:null===(a=e.config)||void 0===a?void 0:a.passwordSettings}),{name:"resetPasswordActor"})}}),spawnSignOutActor:rV({actorRef:e=>r_(oE.withContext({user:e.user}),{name:"signOutActor"})}),stopSignInActor:rY("signInActor"),stopSignUpActor:rY("signUpActor"),stopResetPasswordActor:rY("resetPasswordActor"),stopSignOutActor:rY("signOutActor"),configure:rV((e,t)=>{let n=t.data,{services:r}=n,o=eE(n,["services"]);return{services:Object.assign(Object.assign({},ov),r),config:o}}),setHasSetup:rV({hasSetup:!0})},guards:{isInitialStateSignUp:e=>"signUp"===e.config.initialState,isInitialStateResetPassword:e=>"resetPassword"===e.config.initialState,shouldRedirectToSignUp:(e,t)=>{var n;return"confirmSignUp"===(null===(n=t.data)||void 0===n?void 0:n.intent)},shouldRedirectToResetPassword:(e,t)=>{var n;return"confirmPasswordReset"===(null===(n=t.data)||void 0===n?void 0:n.intent)},shouldAutoSignIn:(e,t)=>{var n,r;return"autoSignIn"===(null===(n=t.data)||void 0===n?void 0:n.intent)||"autoSignInSubmit"===(null===(r=t.data)||void 0===r?void 0:r.intent)},shouldSetup:e=>!1===e.hasSetup,hasActor:e=>!!e.actorRef},services:{getCurrentUser:(e,t)=>e.services.getCurrentUser(),getAmplifyConfig:(e,t)=>e.services.getAmplifyConfig()}})}function oI(e){return e&&Object.keys(e).forEach(t=>{Object.keys(e[t]).forEach(n=>{let r=e[t][n];r.required=r.isRequired})}),e}let oP=e=>(t,n)=>eH(void 0,void 0,void 0,function*(){yield eL(t,n,e)});function oT({children:e}){let[t,n]=p.useState("configuring");p.useEffect(()=>{e3.g.currentAuthenticatedUser().then(()=>{n("authenticated")}).catch(()=>{n("unauthenticated")})},[]);let r=(0,p.useContext)(e1),o=rR(oA),i=(0,p.useMemo)(()=>r||{authStatus:t,service:o},[t,r,o]),{service:a}=i;return(0,p.useEffect)(()=>eB(a,oP({onSignIn:()=>{n("authenticated")},onSignOut:()=>{n("unauthenticated")}})),[a]),p.createElement(e1.Provider,{value:i},e)}let oR=p.createContext(null),oM=()=>{let e=p.useContext(oR);if(!e)throw Error("`useCustomComponents` cannot be used outside of a `CustomComponentsContext.Provider`");return e},oN={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},oj={getBackToSignInText:()=>es(ea.BACK_SIGN_IN),getChangePasswordText:()=>es(ea.CHANGE_PASSWORD),getChangingText:()=>es(ea.CHANGING_PASSWORD),getConfirmText:()=>es(ea.CONFIRM),getConfirmingText:()=>es(ea.CONFIRMING),getCopyText:()=>es(ea.UPPERCASE_COPY),getHidePasswordText:()=>es(ea.HIDE_PASSWORD),getLoadingText:()=>es(ea.LOADING),getOrText:()=>es(ea.OR),getResendCodeText:()=>es(ea.RESEND_CODE),getSendCodeText:()=>es(ea.SEND_CODE),getSendingText:()=>es(ea.SENDING),getShowPasswordText:()=>es(ea.SHOW_PASSWORD),getSubmitText:()=>es(ea.SUBMIT),getSubmittingText:()=>es(ea.SUBMITTING),getSignInTabText:()=>es(ea.SIGN_IN_TAB),getSignUpTabText:()=>es(ea.CREATE_ACCOUNT),getForgotPasswordText:e=>es(e?ea.FORGOT_PASSWORD:ea.FORGOT_YOUR_PASSWORD),getSigningInText:()=>es(ea.SIGNING_IN_BUTTON),getSignInText:()=>es(ea.SIGN_IN_BUTTON),getCreatingAccountText:()=>es(ea.CREATING_ACCOUNT),getCreateAccountText:()=>es(ea.CREATE_ACCOUNT),getDeliveryMessageText:e=>{let{DeliveryMedium:t,Destination:n}=null!=e?e:{},r="EMAIL"===t,o="SMS"===t,i=es(ea.CODE_ARRIVAL);return r||o?`${es(r?ea.CODE_EMAILED:ea.CODE_TEXTED)} ${n}. ${i}.`:`${es(ea.CODE_SENT)}. ${i}.`},getDeliveryMethodText:e=>{let{DeliveryMedium:t}=null!=e?e:{},n="EMAIL"===t;return es(n||"SMS"!==t?n?ea.WE_EMAILED:ea.WE_TEXTED:ea.WE_SENT_CODE)},getChallengeText:e=>{switch(e){case"SMS_MFA":return es(ea.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return es(ea.CONFIRM_TOTP);default:throw Error(`${es("Unexpected challengeName encountered in ConfirmSignIn:")} ${e}`)}},getResetYourPasswordText:()=>es(ea.RESET_PASSWORD),getSetupTOTPText:()=>es(ea.SETUP_TOTP),getSetupTOTPInstructionsText:()=>es("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below."),getCopiedText:()=>es("COPIED"),getSignInWithFederationText:(e,t)=>es(`Sign ${"signIn"===e?"In":"Up"} with ${oN[t]}`),getSkipText:()=>es(ea.SKIP),getVerifyText:()=>es(ea.VERIFY),getVerifyContactText:()=>es(ea.VERIFY_CONTACT),getAccountRecoveryInfoText:()=>es(ea.VERIFY_HEADING)};var oD=n(83849);!function(e){e.Alert="amplify-alert",e.AlertIcon="amplify-alert__icon",e.AlertHeading="amplify-alert__heading",e.AlertBody="amplify-alert__body",e.AlertDismiss="amplify-alert__dismiss",e.Autocomplete="amplify-autocomplete",e.AutocompleteMenu="amplify-autocomplete__menu",e.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",e.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",e.AutocompleteMenuHeader="amplify-autocomplete__menu__header",e.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",e.AutocompleteMenuOption="amplify-autocomplete__menu__option",e.AutocompleteMenuOptions="amplify-autocomplete__menu__options",e.Badge="amplify-badge",e.Button="amplify-button",e.ButtonGroup="amplify-buttongroup",e.ButtonLoaderWrapper="amplify-button__loader-wrapper",e.Card="amplify-card",e.Checkbox="amplify-checkbox",e.CheckboxButton="amplify-checkbox__button",e.CheckboxIcon="amplify-checkbox__icon",e.CheckboxInput="amplify-checkbox__input",e.CheckboxLabel="amplify-checkbox__label",e.CheckboxField="amplify-checkboxfield",e.Collection="amplify-collection",e.CollectionItems="amplify-collection-items",e.CollectionSearch="amplify-collection-search",e.CollectionPagination="amplify-collection-pagination",e.CountryCodeSelect="amplify-countrycodeselect",e.DialCodeSelect="amplify-dialcodeselect",e.Divider="amplify-divider",e.DividerLabel="amplify-divider--label",e.Expander="amplify-expander",e.ExpanderContent="amplify-expander__content",e.ExpanderContentText="amplify-expander__content__text",e.ExpanderHeader="amplify-expander__header",e.ExpanderIcon="amplify-expander__icon",e.ExpanderItem="amplify-expander__item",e.ExpanderTrigger="amplify-expander__trigger",e.Field="amplify-field",e.FieldDescription="amplify-field__description",e.FieldErrorMessage="amplify-field__error-message",e.FieldGroup="amplify-field-group",e.FieldGroupControl="amplify-field-group__control",e.FieldGroupOuterEnd="amplify-field-group__outer-end",e.FieldGroupOuterStart="amplify-field-group__outer-start",e.FieldGroupInnerEnd="amplify-field-group__inner-end",e.FieldGroupInnerStart="amplify-field-group__inner-start",e.FieldGroupIcon="amplify-field-group__icon",e.FieldGroupIconButton="amplify-field-group__icon-button",e.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",e.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",e.FieldShowPassword="amplify-field__show-password",e.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",e.FileUploaderDropZone="amplify-fileuploader__dropzone",e.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",e.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",e.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",e.FileUploaderFile="amplify-fileuploader__file",e.FileUploaderFileWrapper="amplify-fileuploader__file__wrapper",e.FileUploaderFileName="amplify-fileuploader__file__name",e.FileUploaderFileSize="amplify-fileuploader__file__size",e.FileUploaderFileInfo="amplify-fileuploader__file__info",e.FileUploaderFileImage="amplify-fileuploader__file__image",e.FileUploaderFileMain="amplify-fileuploader__file__main",e.FileUploaderFileStatus="amplify-fileuploader__file__status",e.FileUploaderLoader="amplify-fileuploader__loader",e.FileUploaderPreviewer="amplify-fileuploader__previewer",e.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",e.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",e.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",e.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",e.Flex="amplify-flex",e.Grid="amplify-grid",e.Heading="amplify-heading",e.HighlightMatch="amplify-highlightmatch",e.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",e.Icon="amplify-icon",e.Image="amplify-image",e.Input="amplify-input",e.Label="amplify-label",e.Link="amplify-link",e.Loader="amplify-loader",e.LoaderDeterminate="amplify-loader--determinate",e.LoaderPercentageText="amplify-loader__percentage-text",e.MenuContent="amplify-menu-content",e.MenuContentWrapper="amplify-menu-content-wrapper",e.MenuItem="amplify-menu-content__item",e.MenuTrigger="amplify-menu-trigger",e.Pagination="amplify-pagination",e.PaginationItemButton="amplify-pagination__item-button",e.PaginationItemCurrent="amplify-pagination__item-current",e.PaginationItemEllipsis="amplify-pagination__item-ellipsis",e.PasswordField="amplify-passwordfield",e.PhoneNumberField="amplify-phonenumberfield",e.Placeholder="amplify-placeholder",e.Radio="amplify-radio",e.RadioButton="amplify-radio__button",e.RadioInput="amplify-radio__input",e.RadioLabel="amplify-radio__label",e.RadioGroupField="amplify-radiogroupfield",e.RadioGroup="amplify-radiogroup",e.Rating="amplify-rating",e.ScrollView="amplify-scrollview",e.SearchField="amplify-searchfield",e.SearchFieldClear="amplify-searchfield__clear",e.SearchFieldSearch="amplify-searchfield__search",e.Select="amplify-select",e.SelectField="amplify-selectfield",e.SelectWrapper="amplify-select__wrapper",e.SelectIconWrapper="amplify-select__icon-wrapper",e.SliderField="amplify-sliderfield",e.SliderFieldGroup="amplify-sliderfield__group",e.SliderFieldLabel="amplify-sliderfield__label",e.SliderFieldRange="amplify-sliderfield__range",e.SliderFieldRoot="amplify-sliderfield__root",e.SliderFieldThumb="amplify-sliderfield__thumb",e.SliderFieldTrack="amplify-sliderfield__track",e.StepperField="amplify-stepperfield",e.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",e.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",e.StepperFieldInput="amplify-stepperfield__input",e.StorageManager="amplify-storagemanager",e.StorageManagerDropZone="amplify-storagemanager__dropzone",e.StorageManagerDropZoneIcon="amplify-storagemanager__dropzone__icon",e.StorageManagerDropZoneText="amplify-storagemanager__dropzone__text",e.StorageManagerFilePicker="amplify-storagemanager__file__picker",e.StorageManagerFile="amplify-storagemanager__file",e.StorageManagerFileWrapper="amplify-storagemanager__file__wrapper",e.StorageManagerFileList="amplify-storagemanager__file__list",e.StorageManagerFileName="amplify-storagemanager__file__name",e.StorageManagerFileSize="amplify-storagemanager__file__size",e.StorageManagerFileInfo="amplify-storagemanager__file__info",e.StorageManagerFileImage="amplify-storagemanager__file__image",e.StorageManagerFileMain="amplify-storagemanager__file__main",e.StorageManagerFileStatus="amplify-storagemanager__file__status",e.StorageManagerLoader="amplify-storagemanager__loader",e.StorageManagerPreviewer="amplify-storagemanager__previewer",e.StorageManagerPreviewerText="amplify-storagemanager__previewer__text",e.SwitchField="amplify-switchfield",e.SwitchLabel="amplify-switch-label",e.SwitchThumb="amplify-switch-thumb",e.SwitchTrack="amplify-switch-track",e.SwitchWrapper="amplify-switch__wrapper",e.Table="amplify-table",e.TableCaption="amplify-table__caption",e.TableBody="amplify-table__body",e.TableTd="amplify-table__td",e.TableTh="amplify-table__th",e.TableFoot="amplify-table__foot",e.TableHead="amplify-table__head",e.TableRow="amplify-table__row",e.Tabs="amplify-tabs",e.TabItems="amplify-tabs-item",e.Text="amplify-text",e.Textarea="amplify-textarea",e.TextAreaField="amplify-textareafield",e.TextField="amplify-textfield",e.ToggleButton="amplify-togglebutton",e.ToggleButtonGroup="amplify-togglebuttongroup",e.VisuallyHidden="amplify-visually-hidden"}(s||(s={}));let oL={Alert:{className:s.Alert,components:["Alert"],description:"Top level element that wraps the Alert primitive"},AlertIcon:{className:s.AlertIcon,components:["Alert"],description:"Class applied to Icon component within the Alert primitive"},AlertHeading:{className:s.AlertHeading,components:["Alert"],description:"Class applied to the heading View"},AlertBody:{className:s.AlertBody,components:["Alert"],description:"Class applied to the body View"},AlertDismiss:{className:s.AlertDismiss,components:["Alert"],description:"Class applied to the close Button"},Autocomplete:{className:s.Autocomplete,components:["Autocomplete"],description:"Top level element that wraps the Autocomplete primitive"},AutocompleteMenu:{className:s.AutocompleteMenu,components:["Autocomplete"],description:"Top level element that wraps the dropdown menu"},AutocompleteMenuEmpty:{className:s.AutocompleteMenuEmpty,components:["Autocomplete"],description:"Class applied to the no options slot of menu"},AutocompleteMenuFooter:{className:s.AutocompleteMenuFooter,components:["Autocomplete"],description:"Class applied to menu footer"},AutocompleteMenuHeader:{className:s.AutocompleteMenuHeader,components:["Autocomplete"],description:"Class applied to menu header"},AutocompleteMenuLoading:{className:s.AutocompleteMenuLoading,components:["Autocomplete"],description:"Class applied to the loading slot of menu"},AutocompleteMenuOption:{className:s.AutocompleteMenuOption,components:["Autocomplete"],description:"Class applied to each li option"},AutocompleteMenuOptions:{className:s.AutocompleteMenuOptions,components:["Autocomplete"],description:"Class applied to ul container element"},Badge:{className:s.Badge,components:["Badge"],description:"Top level element that wraps the Badge component"},Button:{className:s.Button,components:["Button"],description:"Top level element that wraps the Button primitive"},ButtonGroup:{className:s.ButtonGroup},ButtonLoaderWrapper:{className:s.ButtonLoaderWrapper,components:["Button"],description:"Class applied to the Loader component within the Button Loading state"},Card:{className:s.Card,components:["Card"],description:"Top level element that wraps the Card primitive"},Checkbox:{className:s.Checkbox,components:["Checkbox"],description:"Top level element that wraps the Checkbox primitive"},CheckboxButton:{className:s.CheckboxButton,components:["Checkbox"],description:"Wrapper for the checked icon within the Checkbox primitive"},CheckboxIcon:{className:s.CheckboxIcon,components:["Checkbox"],description:"Class applied to the checked icon within the Checkbox primitive"},CheckboxInput:{className:s.CheckboxInput,components:["Checkbox"],description:"Class applied to the visually hidden checkbox input within the Checkbox primitive"},CheckboxLabel:{className:s.CheckboxLabel,components:["Checkbox"],description:"Class applied to the label within the Checkbox primitive"},CheckboxField:{className:s.CheckboxField,components:["CheckboxField"],description:"Top level element that wraps the CheckboxField primitive"},Collection:{className:s.Collection,components:["Collection"],description:"Top level element that wraps the Collection primitive"},CollectionItems:{className:s.CollectionItems,components:["Collection"],description:"Class applied to the element that wraps all the items in a collection"},CollectionSearch:{className:s.CollectionSearch,components:["Collection"],description:"Class applied to the element that wraps the collection search box"},CollectionPagination:{className:s.CollectionPagination,components:["Collection"],description:"Class applied to the element that wraps the pagination component in a collection"},CountryCodeSelect:{className:s.CountryCodeSelect,components:["PhoneNumberField"],description:"Class applied to the Dial Code Select within the PhoneNumberField primitive"},DialCodeSelect:{className:s.DialCodeSelect,components:["PhoneNumberField"],description:"Class applied to the Dial Code Select within the PhoneNumberField primitive"},Divider:{className:s.Divider,components:["Divider"],description:"Top level element that wraps the Divider primitive"},DividerLabel:{className:s.DividerLabel,components:["Divider"],description:"Class applied to the label of the Divider component"},Expander:{className:s.Expander,components:["Expander"],description:"Top level element that wraps the Expander primitive"},ExpanderContent:{className:s.ExpanderContent,components:["Expander"],description:"Expander content container"},ExpanderContentText:{className:s.ExpanderContentText,components:["Expander"],description:"Expander content text"},ExpanderHeader:{className:s.ExpanderHeader,components:["Expander"],description:"Expander item header"},ExpanderIcon:{className:s.ExpanderIcon,components:["Expander"],description:"Icon to indicate whether an item is expanded or collapsed"},ExpanderItem:{className:s.ExpanderItem,components:["Expander"],description:"Expander item(containier for header, trigger, and content)"},ExpanderTrigger:{className:s.ExpanderTrigger,components:["Expander"],description:"Expander item trigger(button)"},Field:{className:s.Field},FieldDescription:{className:s.FieldDescription},FieldErrorMessage:{className:s.FieldErrorMessage},FieldGroup:{className:s.FieldGroup},FieldGroupControl:{className:s.FieldGroupControl},FieldGroupOuterEnd:{className:s.FieldGroupOuterEnd},FieldGroupOuterStart:{className:s.FieldGroupOuterStart},FieldGroupInnerEnd:{className:s.FieldGroupInnerEnd},FieldGroupInnerStart:{className:s.FieldGroupInnerStart},FieldGroupIcon:{className:s.FieldGroupIcon},FieldGroupIconButton:{className:s.FieldGroupIconButton},FieldGroupHasInnerEnd:{className:s.FieldGroupHasInnerEnd},FieldGroupHasInnerStart:{className:s.FieldGroupHasInnerStart},FieldShowPassword:{className:s.FieldShowPassword},FieldGroupFieldWrapper:{className:s.FieldGroupFieldWrapper},FileUploaderDropZone:{className:s.FileUploaderDropZone,components:["FileUploader"]},FileUploaderDropZoneIcon:{className:s.FileUploaderDropZoneIcon,components:["FileUploader"]},FileUploaderDropZoneText:{className:s.FileUploaderDropZoneText,components:["FileUploader"]},FileUploaderDropZoneButton:{className:s.FileUploaderDropZoneButton,components:["FileUploader"]},FileUploaderFile:{className:s.FileUploaderFile,components:["FileUploader"]},FileUploaderFileWrapper:{className:s.FileUploaderFileWrapper,components:["FileUploader"]},FileUploaderFileName:{className:s.FileUploaderFileName,components:["FileUploader"]},FileUploaderLoader:{className:s.FileUploaderLoader,components:["FileUploader"]},FileUploaderFileSize:{className:s.FileUploaderFileSize,components:["FileUploader"]},FileUploaderFileInfo:{className:s.FileUploaderFileInfo,components:["FileUploader"]},FileUploaderFileImage:{className:s.FileUploaderFileImage,components:["FileUploader"]},FileUploaderFileMain:{className:s.FileUploaderFileMain,components:["FileUploader"]},FileUploaderFileStatus:{className:s.FileUploaderFileStatus,components:["FileUploader"]},FileUploaderPreviewer:{className:s.FileUploaderPreviewer,components:["FileUploader"]},FileUploaderPreviewerText:{className:s.FileUploaderPreviewerText,components:["FileUploader"]},FileUploaderPreviewerBody:{className:s.FileUploaderPreviewerBody,components:["FileUploader"]},FileUploaderPreviewerFooter:{className:s.FileUploaderPreviewerFooter,components:["FileUploader"]},FileUploaderPreviewerFooterActions:{className:s.FileUploaderPreviewerFooterActions,components:["FileUploader"]},Flex:{className:s.Flex,components:["Flex"],description:"Top level element that wraps the Flex primitive"},Grid:{className:s.Grid,components:["Grid"],description:"Top level element that wraps the Grid primitive"},Heading:{className:s.Heading,components:["Heading"],description:"Top level element that wraps the Heading primitive"},HighlightMatch:{className:s.HighlightMatch,components:["HighlightMatch"],description:"Top level element that wraps the HighlightMatch primitive"},HighlightMatchHighlighted:{className:s.HighlightMatchHighlighted,components:["HighlightMatch"],description:"Class applied to the highlighted text of the HighlightMatch primitive"},Icon:{className:s.Icon,components:["Icon"],description:"Top level element that wraps the Icon primitive"},Image:{className:s.Image,components:["Image"],description:"Top level element that wraps the Image primitive"},Input:{className:s.Input},Label:{className:s.Label},Link:{className:s.Link,components:["Link"],description:"Top level element that wraps the Link primitive"},Loader:{className:s.Loader,components:["Loader"],description:"Top level element that wraps the Loader primitive"},LoaderDeterminate:{className:s.LoaderDeterminate,components:["Loader"],description:"Class applied to a determinate loader"},LoaderPercentageText:{className:s.LoaderPercentageText,components:["Loader"],description:"Class applied to the percentage text of loader"},MenuContent:{className:s.MenuContent,components:["Menu"],description:"Menu content container (Flex)"},MenuContentWrapper:{className:s.MenuContentWrapper,components:["Menu"],description:"Menu content wrapper"},MenuItem:{className:s.MenuItem,components:["Menu"],description:"Menu item button (MenuButton, wrapped in amplify-menu-content class)"},MenuTrigger:{className:s.MenuTrigger,components:["Menu"],description:"Menu trigger button (MenuButton, not wrapped in amplify-menu-content class)"},Pagination:{className:s.Pagination,components:["Pagination"],description:"Top level element that wraps the Pagination primitive"},PaginationItemButton:{className:s.PaginationItemButton,components:["Pagination"],description:"Class applied to the pagination buttons"},PaginationItemCurrent:{className:s.PaginationItemCurrent,components:["Pagination"],description:"Class applied to the currently selected pagination button"},PaginationItemEllipsis:{className:s.PaginationItemEllipsis,components:["Pagination"],description:"Class applied to the ellipsis within the Pagination primitive"},PasswordField:{className:s.PasswordField,components:["PasswordField"],description:"Top level element that wraps the PasswordField primitive"},PhoneNumberField:{className:s.PhoneNumberField,components:["PhoneNumberField"],description:"Top level element that wraps the PhoneNumberField primitive"},Placeholder:{className:s.Placeholder,components:["Placeholder"],description:"Top level element that wraps the Placeholder primitive"},Radio:{className:s.Radio,components:["RadioGroupField","Radio"],description:"Top level element that wraps the Radio primitive"},RadioButton:{className:s.RadioButton,components:["RadioGroupField","Radio"],description:"Class applied to the displayed radio button"},RadioInput:{className:s.RadioInput,components:["RadioGroupField","Radio"],description:"Class applied to the visually hidden radio input"},RadioLabel:{className:s.RadioLabel,components:["RadioGroupField","Radio"],description:"Class applied to the radio label"},RadioGroupField:{className:s.RadioGroupField,components:["RadioGroupField"],description:"Top level element that wraps the RadioGroupField primitive"},RadioGroup:{className:s.RadioGroup,components:["RadioGroupField"],description:"Class applied to the radio group wrapper"},Rating:{className:s.Rating,components:["Rating"],description:"Top level element that wraps the Rating primitive"},ScrollView:{className:s.ScrollView,components:["ScrollView"],description:"Top level element that wraps the ScrollView primitive"},SearchField:{className:s.SearchField,components:["SearchField"],description:"Top level element that wraps the SearchField primitive"},SearchFieldClear:{className:s.SearchFieldClear,components:["SearchField"],description:"Class applied to the search field clear button"},SearchFieldSearch:{className:s.SearchFieldSearch,components:["SearchField"],description:"Class applied to the search button"},Select:{className:s.Select,components:["Select","SelectField"],description:"Class applied to the select element"},SelectField:{className:s.SelectField,components:["SelectField"],description:"Top level element that wraps the SelectField primitive"},SelectWrapper:{className:s.SelectWrapper,components:["Select","SelectField"],description:"Class applied to the select wrapper"},SelectIconWrapper:{className:s.SelectIconWrapper,components:["Select","SelectField"],description:"Class applied to the select icon wrapper"},SliderField:{className:s.SliderField,components:["SliderField"],description:"Top level element that wraps the SliderField primitive"},SliderFieldGroup:{className:s.SliderFieldGroup,components:["SliderField"],description:"Class applied to the element that wraps the slider root"},SliderFieldLabel:{className:s.SliderFieldLabel,components:["SliderField"],description:"Class applied to the slider label"},SliderFieldRange:{className:s.SliderFieldRange,components:["SliderField"],description:"Class applied to the filled in portion of the slider track"},SliderFieldRoot:{className:s.SliderFieldRoot,components:["SliderField"],description:"Class applied to the slider root which wraps the track and thumb"},SliderFieldThumb:{className:s.SliderFieldThumb,components:["SliderField"],description:"Class applied to the slider thumb"},SliderFieldTrack:{className:s.SliderFieldTrack,components:["SliderField"],description:"Class applied to the slider track"},StepperField:{className:s.StepperField,components:["StepperField"],description:"Top level element that wraps the StepperField primitive"},StepperFieldButtonDecrease:{className:s.StepperFieldButtonDecrease,components:["StepperField"],description:"Class applied to the decrease button"},StepperFieldButtonIncrease:{className:s.StepperFieldButtonIncrease,components:["StepperField"],description:"Class applied to the increase button"},StepperFieldInput:{className:s.StepperFieldInput,components:["StepperField"],description:"Class applied to the StepperField input"},StorageManager:{className:s.StorageManager,components:["StorageManager"]},StorageManagerDropZone:{className:s.StorageManagerDropZone,components:["StorageManager"]},StorageManagerDropZoneIcon:{className:s.StorageManagerDropZoneIcon,components:["StorageManager"]},StorageManagerDropZoneText:{className:s.StorageManagerDropZoneText,components:["StorageManager"]},StorageManagerFilePicker:{className:s.StorageManagerFilePicker,components:["StorageManager"]},StorageManagerFile:{className:s.StorageManagerFile,components:["StorageManager"]},StorageManagerFileWrapper:{className:s.StorageManagerFileWrapper,components:["StorageManager"]},StorageManagerFileList:{className:s.StorageManagerFileList,components:["StorageManager"]},StorageManagerFileName:{className:s.StorageManagerFileName,components:["StorageManager"]},StorageManagerLoader:{className:s.StorageManagerLoader,components:["StorageManager"]},StorageManagerFileSize:{className:s.StorageManagerFileSize,components:["StorageManager"]},StorageManagerFileInfo:{className:s.StorageManagerFileInfo,components:["StorageManager"]},StorageManagerFileImage:{className:s.StorageManagerFileImage,components:["StorageManager"]},StorageManagerFileMain:{className:s.StorageManagerFileMain,components:["StorageManager"]},StorageManagerFileStatus:{className:s.StorageManagerFileStatus,components:["StorageManager"]},StorageManagerPreviewer:{className:s.StorageManagerPreviewer,components:["StorageManager"]},StorageManagerPreviewerText:{className:s.StorageManagerPreviewerText,components:["StorageManager"]},SwitchField:{className:s.SwitchField,components:["SwitchField"],description:"Top level element that wraps the SwitchField primitive"},SwitchLabel:{className:s.SwitchLabel,components:["SwitchField"],description:"Class applied to the SwitchField label text"},SwitchThumb:{className:s.SwitchThumb,components:["SwitchField"],description:"Class applied to the SwitchField thumb"},SwitchTrack:{className:s.SwitchTrack,components:["SwitchField"],description:"Class applied to the SwitchField track"},SwitchWrapper:{className:s.SwitchWrapper,components:["SwitchField"],description:"Class applied to the label element that wraps the SwitchField label and track"},Table:{className:s.Table,components:["Table"],description:"Top level element that wraps the Table primitive"},TableCaption:{className:s.TableCaption,components:["Table"],description:"Class applied to the content provided as the caption prop"},TableBody:{className:s.TableBody,components:["Table"],description:"Class applied to TableBody component"},TableTd:{className:s.TableTd,components:["Table"],description:'Class applied to TableCell component rendered as a <td> element (<TableCell as="td" />)'},TableTh:{className:s.TableTh,components:["Table"],description:'Class applied to TableCell comopnent rendered as a <th> element (<TableCell as="th" />)'},TableFoot:{className:s.TableFoot,components:["Table"],description:"Class applied to TableFoot component"},TableHead:{className:s.TableHead,components:["Table"],description:"Class applied to TableHead component"},TableRow:{className:s.TableRow,components:["Table"],description:"Class applied to TableRow component"},Tabs:{className:s.Tabs,components:["Tabs"],description:"Top level element that wraps the Tabs primitive"},TabItems:{className:s.TabItems,components:["Tabs"],description:"Top level element that wraps the TabItem primitive"},Text:{className:s.Text,components:["Text"],description:"Top level element that wraps the Text primitive"},Textarea:{className:s.Textarea,components:["TextAreaField"],description:"Class applied to the text area"},TextAreaField:{className:s.TextAreaField,components:["TextAreaField"],description:"Top level element that wraps the TextAreaField primitive"},TextField:{className:s.TextField,components:["TextField"],description:"Top level element that wraps the TextField primitive"},ToggleButton:{className:s.ToggleButton,components:["ToggleButton"],description:"Top level element that wraps the ToggleButton primitive"},ToggleButtonGroup:{className:s.ToggleButtonGroup,components:["ToggleButton","ToggleButtonGroup"],description:"Top level element that wraps the ToggleButtonGroup primitive"},VisuallyHidden:{className:s.VisuallyHidden,components:["VisuallyHidden"],description:"Top level element that wraps the VisuallyHidden primitive"}},oB={Alert:oL.Alert.className,AlertIcon:oL.AlertIcon.className,AlertHeading:oL.AlertHeading.className,AlertBody:oL.AlertBody.className,AlertDismiss:oL.AlertDismiss.className,Autocomplete:oL.Autocomplete.className,AutocompleteMenu:oL.AutocompleteMenu.className,AutocompleteMenuEmpty:oL.AutocompleteMenuEmpty.className,AutocompleteMenuFooter:oL.AutocompleteMenuFooter.className,AutocompleteMenuHeader:oL.AutocompleteMenuHeader.className,AutocompleteMenuLoading:oL.AutocompleteMenuLoading.className,AutocompleteMenuOption:oL.AutocompleteMenuOption.className,AutocompleteMenuOptions:oL.AutocompleteMenuOptions.className,Badge:oL.Badge.className,Button:oL.Button.className,ButtonGroup:oL.ButtonGroup.className,ButtonLoaderWrapper:oL.ButtonLoaderWrapper.className,Card:oL.Card.className,Checkbox:oL.Checkbox.className,CheckboxButton:oL.CheckboxButton.className,CheckboxIcon:oL.CheckboxIcon.className,CheckboxInput:oL.CheckboxInput.className,CheckboxLabel:oL.CheckboxLabel.className,CheckboxField:oL.CheckboxField.className,Collection:oL.Collection.className,CollectionItems:oL.CollectionItems.className,CollectionSearch:oL.CollectionSearch.className,CollectionPagination:oL.CollectionPagination.className,CountryCodeSelect:oL.CountryCodeSelect.className,DialCodeSelect:oL.DialCodeSelect.className,Divider:oL.Divider.className,DividerLabel:oL.DividerLabel.className,Expander:oL.Expander.className,ExpanderContent:oL.ExpanderContent.className,ExpanderContentText:oL.ExpanderContentText.className,ExpanderHeader:oL.ExpanderHeader.className,ExpanderIcon:oL.ExpanderIcon.className,ExpanderItem:oL.ExpanderItem.className,ExpanderTrigger:oL.ExpanderTrigger.className,Field:oL.Field.className,FieldDescription:oL.FieldDescription.className,FieldErrorMessage:oL.FieldErrorMessage.className,FieldGroup:oL.FieldGroup.className,FieldGroupControl:oL.FieldGroupControl.className,FieldGroupOuterEnd:oL.FieldGroupOuterEnd.className,FieldGroupOuterStart:oL.FieldGroupOuterStart.className,FieldGroupInnerEnd:oL.FieldGroupInnerEnd.className,FieldGroupInnerStart:oL.FieldGroupInnerStart.className,FieldGroupIcon:oL.FieldGroupIcon.className,FieldGroupIconButton:oL.FieldGroupIconButton.className,FieldGroupHasInnerEnd:oL.FieldGroupHasInnerEnd.className,FieldGroupHasInnerStart:oL.FieldGroupHasInnerStart.className,FieldShowPassword:oL.FieldShowPassword.className,FieldGroupFieldWrapper:oL.FieldGroupFieldWrapper.className,FileUploaderDropZone:oL.FileUploaderDropZone.className,FileUploaderDropZoneIcon:oL.FileUploaderDropZoneIcon.className,FileUploaderDropZoneText:oL.FileUploaderDropZoneText.className,FileUploaderDropZoneButton:oL.FileUploaderDropZoneButton.className,FileUploaderFile:oL.FileUploaderFile.className,FileUploaderFileWrapper:oL.FileUploaderFileWrapper.className,FileUploaderFileName:oL.FileUploaderFileName.className,FileUploaderLoader:oL.FileUploaderLoader.className,FileUploaderFileSize:oL.FileUploaderFileSize.className,FileUploaderFileInfo:oL.FileUploaderFileInfo.className,FileUploaderFileImage:oL.FileUploaderFileImage.className,FileUploaderFileMain:oL.FileUploaderFileMain.className,FileUploaderFileStatus:oL.FileUploaderFileStatus.className,FileUploaderPreviewer:oL.FileUploaderPreviewer.className,FileUploaderPreviewerText:oL.FileUploaderPreviewerText.className,FileUploaderPreviewerBody:oL.FileUploaderPreviewerBody.className,FileUploaderPreviewerFooter:oL.FileUploaderPreviewerFooter.className,FileUploaderPreviewerFooterActions:oL.FileUploaderPreviewerFooterActions.className,Flex:oL.Flex.className,Grid:oL.Grid.className,Heading:oL.Heading.className,HighlightMatch:oL.HighlightMatch.className,HighlightMatchHighlighted:oL.HighlightMatchHighlighted.className,Icon:oL.Icon.className,Image:oL.Image.className,Input:oL.Input.className,Label:oL.Label.className,Link:oL.Link.className,Loader:oL.Loader.className,LoaderDeterminate:oL.LoaderDeterminate.className,LoaderPercentageText:oL.LoaderPercentageText.className,MenuContent:oL.MenuContent.className,MenuContentWrapper:oL.MenuContentWrapper.className,MenuItem:oL.MenuItem.className,MenuTrigger:oL.MenuTrigger.className,Pagination:oL.Pagination.className,PaginationItemButton:oL.PaginationItemButton.className,PaginationItemCurrent:oL.PaginationItemCurrent.className,PaginationItemEllipsis:oL.PaginationItemEllipsis.className,PasswordField:oL.PasswordField.className,PhoneNumberField:oL.PhoneNumberField.className,Placeholder:oL.Placeholder.className,Radio:oL.Radio.className,RadioButton:oL.RadioButton.className,RadioInput:oL.RadioInput.className,RadioLabel:oL.RadioLabel.className,RadioGroupField:oL.RadioGroupField.className,RadioGroup:oL.RadioGroup.className,Rating:oL.Rating.className,ScrollView:oL.ScrollView.className,SearchField:oL.SearchField.className,SearchFieldClear:oL.SearchFieldClear.className,SearchFieldSearch:oL.SearchFieldSearch.className,Select:oL.Select.className,SelectField:oL.SelectField.className,SelectWrapper:oL.SelectWrapper.className,SelectIconWrapper:oL.SelectIconWrapper.className,SliderField:oL.SliderField.className,SliderFieldGroup:oL.SliderFieldGroup.className,SliderFieldLabel:oL.SliderFieldLabel.className,SliderFieldRange:oL.SliderFieldRange.className,SliderFieldRoot:oL.SliderFieldRoot.className,SliderFieldThumb:oL.SliderFieldThumb.className,SliderFieldTrack:oL.SliderFieldTrack.className,StepperField:oL.StepperField.className,StepperFieldButtonDecrease:oL.StepperFieldButtonDecrease.className,StepperFieldButtonIncrease:oL.StepperFieldButtonIncrease.className,StepperFieldInput:oL.StepperFieldInput.className,StorageManager:oL.StorageManager.className,StorageManagerDropZone:oL.StorageManagerDropZone.className,StorageManagerDropZoneIcon:oL.StorageManagerDropZoneIcon.className,StorageManagerDropZoneText:oL.StorageManagerDropZoneText.className,StorageManagerFilePicker:oL.StorageManagerFilePicker.className,StorageManagerFile:oL.StorageManagerFile.className,StorageManagerFileWrapper:oL.StorageManagerFileWrapper.className,StorageManagerFileList:oL.StorageManagerFileList.className,StorageManagerFileName:oL.StorageManagerFileName.className,StorageManagerLoader:oL.StorageManagerLoader.className,StorageManagerFileSize:oL.StorageManagerFileSize.className,StorageManagerFileInfo:oL.StorageManagerFileInfo.className,StorageManagerFileImage:oL.StorageManagerFileImage.className,StorageManagerFileMain:oL.StorageManagerFileMain.className,StorageManagerFileStatus:oL.StorageManagerFileStatus.className,StorageManagerPreviewer:oL.StorageManagerPreviewer.className,StorageManagerPreviewerText:oL.StorageManagerPreviewerText.className,SwitchField:oL.SwitchField.className,SwitchLabel:oL.SwitchLabel.className,SwitchThumb:oL.SwitchThumb.className,SwitchTrack:oL.SwitchTrack.className,SwitchWrapper:oL.SwitchWrapper.className,Table:oL.Table.className,TableCaption:oL.TableCaption.className,TableBody:oL.TableBody.className,TableTd:oL.TableTd.className,TableTh:oL.TableTh.className,TableFoot:oL.TableFoot.className,TableHead:oL.TableHead.className,TableRow:oL.TableRow.className,Tabs:oL.Tabs.className,TabItems:oL.TabItems.className,Text:oL.Text.className,Textarea:oL.Textarea.className,TextAreaField:oL.TextAreaField.className,TextField:oL.TextField.className,ToggleButton:oL.ToggleButton.className,ToggleButtonGroup:oL.ToggleButtonGroup.className,VisuallyHidden:oL.VisuallyHidden.className},oZ="Dismiss alert",oF="Country code",oz={passwordIsHidden:"Password is hidden",passwordIsShown:"Password is shown",showPassword:"Show password"},oU={backgroundColor:"colors",color:"colors",borderRadius:"radii",fontSize:"fontSizes",fontWeight:"fontWeights",fontFamily:"fonts",lineHeight:"lineHeights",opacity:"opacities",boxShadow:"shadows",transform:"transforms",left:"space",right:"space",top:"space",bottom:"space",height:"space",width:"space",letterSpacing:"space",margin:"space",marginBlock:"space",marginBlockEnd:"space",marginBlockStart:"space",marginInline:"space",marginInlineEnd:"space",marginInlineStart:"space",marginLeft:"space",marginRight:"space",marginTop:"space",marginBottom:"space",maxHeight:"space",maxWidth:"space",minHeight:"space",minWidth:"space",padding:"space",paddingBlock:"space",paddingBlockEnd:"space",paddingBlockStart:"space",paddingInline:"space",paddingInlineEnd:"space",paddingInlineStart:"space",paddingLeft:"space",paddingRight:"space",paddingTop:"space",paddingBottom:"space",gap:"space",columnGap:"space",rowGap:"space"};var oH=n(84602),oq=n(51974);let oV="amplify",oW=["offsetX","offsetY","blurRadius","spreadRadius","color"];function o$(e){return e?oq(e)?`var(--${oK({path:e.replace(/\{|\}/g,"").replace(".value","").split(".")})})`:e:""}function oG(e){let{value:t}=e;return ed(t)?o$(t):oX(t)?oW.map(n=>o$(oX(e)?e[n]:t[n])).join(" "):t}function oK({path:e=[]}){return`${oH([oV,...e].join(" "))}`}function oY(e){return eu(e)&&eb(e,"value")}function oX(e){return eu(e)&&eb(e,"offsetX")}function oQ({tokens:e,path:t=[],setupToken:n}){if(eb(e,"value"))return n({token:e,path:t});let r={};for(let o in e)if(eb(e,o)){let i=e[o],a=eu(i)?i:{value:i};r[o]=oQ({tokens:a,path:t.concat(o),setupToken:n})}return r}let oJ={alignContent:"alignContent",alignItems:"alignItems",alignSelf:"alignSelf",area:"gridArea",autoColumns:"gridAutoColumns",autoFlow:"gridAutoFlow",autoRows:"gridAutoRows",backgroundColor:"backgroundColor",backgroundImage:"backgroundImage",basis:"flexBasis",border:"border",borderRadius:"borderRadius",bottom:"bottom",boxShadow:"boxShadow",color:"color",column:"gridColumn",columnEnd:"gridColumnEnd",columnGap:"columnGap",columnSpan:"gridColumn",columnStart:"gridColumnStart",direction:"flexDirection",display:"display",flex:"flex",fontFamily:"fontFamily",fontSize:"fontSize",fontStyle:"fontStyle",fontWeight:"fontWeight",gap:"gap",grow:"flexGrow",height:"height",justifyContent:"justifyContent",left:"left",letterSpacing:"letterSpacing",lineHeight:"lineHeight",margin:"margin",marginBlock:"marginBlock",marginBlockEnd:"marginBlockEnd",marginBlockStart:"marginBlockStart",marginBottom:"marginBlockEnd",marginInline:"marginInline",marginInlineEnd:"marginInlineEnd",marginInlineStart:"marginInlineStart",marginLeft:"marginInlineStart",marginRight:"marginInlineEnd",marginTop:"marginBlockStart",maxHeight:"maxHeight",maxWidth:"maxWidth",minHeight:"minHeight",minWidth:"minWidth",objectFit:"objectFit",objectPosition:"objectPosition",opacity:"opacity",order:"order",overflow:"overflow",padding:"padding",paddingBlock:"paddingBlock",paddingBlockEnd:"paddingBlockEnd",paddingBlockStart:"paddingBlockStart",paddingBottom:"paddingBlockEnd",paddingInline:"paddingInline",paddingInlineEnd:"paddingInlineEnd",paddingInlineStart:"paddingInlineStart",paddingLeft:"paddingInlineStart",paddingRight:"paddingInlineEnd",paddingTop:"paddingBlockStart",position:"position",resize:"resize",right:"right",row:"gridRow",rowEnd:"gridRowEnd",rowGap:"rowGap",rowSpan:"gridRow",rowStart:"gridRowStart",shrink:"flexShrink",templateAreas:"gridTemplateAreas",templateColumns:"gridTemplateColumns",templateRows:"gridTemplateRows",textAlign:"textAlign",textDecoration:"textDecoration",textTransform:"textTransform",top:"top",transform:"transform",transformOrigin:"transformOrigin",width:"width",whiteSpace:"whiteSpace",wrap:"flexWrap"};Object.keys(oJ);let o0={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},o1={red:{10:{value:"hsl(0, 75%, 95%)"},20:{value:"hsl(0, 75%, 85%)"},40:{value:"hsl(0, 75%, 75%)"},60:{value:"hsl(0, 50%, 50%)"},80:{value:"hsl(0, 95%, 30%)"},90:{value:"hsl(0, 100%, 20%)"},100:{value:"hsl(0, 100%, 15%)"}},orange:{10:{value:"hsl(30, 75%, 95%)"},20:{value:"hsl(30, 75%, 85%)"},40:{value:"hsl(30, 75%, 75%)"},60:{value:"hsl(30, 50%, 50%)"},80:{value:"hsl(30, 95%, 30%)"},90:{value:"hsl(30, 100%, 20%)"},100:{value:"hsl(30, 100%, 15%)"}},yellow:{10:{value:"hsl(60, 75%, 95%)"},20:{value:"hsl(60, 75%, 85%)"},40:{value:"hsl(60, 75%, 75%)"},60:{value:"hsl(60, 50%, 50%)"},80:{value:"hsl(60, 95%, 30%)"},90:{value:"hsl(60, 100%, 20%)"},100:{value:"hsl(60, 100%, 15%)"}},green:{10:{value:"hsl(130, 60%, 95%)"},20:{value:"hsl(130, 60%, 90%)"},40:{value:"hsl(130, 44%, 63%)"},60:{value:"hsl(130, 43%, 46%)"},80:{value:"hsl(130, 33%, 37%)"},90:{value:"hsl(130, 27%, 29%)"},100:{value:"hsl(130, 22%, 23%)"}},teal:{10:{value:"hsl(190, 75%, 95%)"},20:{value:"hsl(190, 75%, 85%)"},40:{value:"hsl(190, 70%, 70%)"},60:{value:"hsl(190, 50%, 50%)"},80:{value:"hsl(190, 95%, 30%)"},90:{value:"hsl(190, 100%, 20%)"},100:{value:"hsl(190, 100%, 15%)"}},blue:{10:{value:"hsl(220, 95%, 95%)"},20:{value:"hsl(220, 85%, 85%)"},40:{value:"hsl(220, 70%, 70%)"},60:{value:"hsl(220, 50%, 50%)"},80:{value:"hsl(220, 95%, 30%)"},90:{value:"hsl(220, 100%, 20%)"},100:{value:"hsl(220, 100%, 15%)"}},purple:{10:{value:"hsl(300, 95%, 95%)"},20:{value:"hsl(300, 85%, 85%)"},40:{value:"hsl(300, 70%, 70%)"},60:{value:"hsl(300, 50%, 50%)"},80:{value:"hsl(300, 95%, 30%)"},90:{value:"hsl(300, 100%, 20%)"},100:{value:"hsl(300, 100%, 15%)"}},pink:{10:{value:"hsl(340, 95%, 95%)"},20:{value:"hsl(340, 90%, 85%)"},40:{value:"hsl(340, 70%, 70%)"},60:{value:"hsl(340, 50%, 50%)"},80:{value:"hsl(340, 95%, 30%)"},90:{value:"hsl(340, 100%, 20%)"},100:{value:"hsl(340, 100%, 15%)"}},neutral:{10:{value:"hsl(210, 5%, 98%)"},20:{value:"hsl(210, 5%, 94%)"},40:{value:"hsl(210, 5%, 87%)"},60:{value:"hsl(210, 10%, 58%)"},80:{value:"hsl(210, 10%, 40%)"},90:{value:"hsl(210, 25%, 25%)"},100:{value:"hsl(210, 50%, 10%)"}},brand:{primary:{10:{value:"{colors.teal.10.value}"},20:{value:"{colors.teal.20.value}"},40:{value:"{colors.teal.40.value}"},60:{value:"{colors.teal.60.value}"},80:{value:"{colors.teal.80.value}"},90:{value:"{colors.teal.90.value}"},100:{value:"{colors.teal.100.value}"}},secondary:{10:{value:"{colors.purple.10.value}"},20:{value:"{colors.purple.20.value}"},40:{value:"{colors.purple.40.value}"},60:{value:"{colors.purple.60.value}"},80:{value:"{colors.purple.80.value}"},90:{value:"{colors.purple.90.value}"},100:{value:"{colors.purple.100.value}"}}},font:{primary:{value:"{colors.neutral.100.value}"},secondary:{value:"{colors.neutral.90.value}"},tertiary:{value:"{colors.neutral.80.value}"},disabled:{value:"{colors.neutral.60.value}"},inverse:{value:"{colors.white.value}"},interactive:{value:"{colors.brand.primary.80.value}"},hover:{value:"{colors.brand.primary.90.value}"},focus:{value:"{colors.brand.primary.100.value}"},active:{value:"{colors.brand.primary.100.value}"},info:{value:"{colors.blue.90.value}"},warning:{value:"{colors.orange.90.value}"},error:{value:"{colors.red.90.value}"},success:{value:"{colors.green.90.value}"}},background:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.10.value}"},tertiary:{value:"{colors.neutral.20.value}"},quaternary:{value:"{colors.neutral.60.value}"},disabled:{value:"{colors.background.tertiary.value}"},info:{value:"{colors.blue.20.value}"},warning:{value:"{colors.orange.20.value}"},error:{value:"{colors.red.20.value}"},success:{value:"{colors.green.20.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.border.tertiary.value}"},pressed:{value:"{colors.brand.primary.100.value}"},focus:{value:"{colors.brand.primary.100.value}"},error:{value:"{colors.red.80.value}"}},shadow:{primary:{value:"hsla(210, 50%, 10%, 0.25)"},secondary:{value:"hsla(210, 50%, 10%, 0.15)"},tertiary:{value:"hsla(210, 50%, 10%, 0.05)"}},overlay:{10:{value:"hsla(0, 0%, 0%, 0.1)"},20:{value:"hsla(0, 0%, 0%, 0.2)"},30:{value:"hsla(0, 0%, 0%, 0.3)"},40:{value:"hsla(0, 0%, 0%, 0.4)"},50:{value:"hsla(0, 0%, 0%, 0.5)"},60:{value:"hsla(0, 0%, 0%, 0.6)"},70:{value:"hsla(0, 0%, 0%, 0.7)"},80:{value:"hsla(0, 0%, 0%, 0.8)"},90:{value:"hsla(0, 0%, 0%, 0.9)"}},black:{value:"hsl(0, 0%, 0%)"},white:{value:"hsl(0, 0%, 100%)"},transparent:{value:"transparent"}},o2={alignItems:{value:"center"},justifyContent:{value:"space-between"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}}},o3={menu:{width:{value:"100%"},marginBlockStart:{value:"{space.xxxs}"},backgroundColor:{value:"{colors.background.primary}"},borderColor:{value:"{colors.border.primary}"},borderWidth:{value:"{borderWidths.small}"},borderStyle:{value:"solid"},borderRadius:{value:"{radii.small}"},options:{display:{value:"flex"},flexDirection:{value:"column"},maxHeight:{value:"300px"}},option:{backgroundColor:{value:"{colors.background.primary}"},color:{value:"currentcolor"},cursor:{value:"pointer"},transitionDuration:{value:"{time.short}"},transitionProperty:{value:"background-color, color"},transitionTimingFunction:{value:"ease"},_active:{backgroundColor:{value:"{colors.brand.primary.80}"},color:{value:"{colors.white}"}}},_empty:{display:{value:"flex"}},_loading:{alignItems:{value:"center"},display:{value:"flex"},gap:{value:"{space.xxxs}"}},spaceShared:{paddingBlock:{value:"{space.xs}"},paddingInline:{value:"{space.small}"}}}},o4={maxWidth:{value:"60rem"},modal:{width:{value:"{space.relative.full}"},height:{value:"{space.relative.full}"},backgroundColor:{value:"{colors.overlay.50.value}"},top:{value:"{space.zero}"},left:{value:"{space.zero}"}},container:{widthMax:{value:"30rem"}},router:{borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.medium.value}"}},footer:{paddingBottom:{value:"{space.medium.value}"}},form:{padding:{value:"{space.xl.value}"}},state:{inactive:{backgroundColor:{value:"{colors.background.secondary.value}"}}},orContainer:{color:{value:"{colors.neutral.80.value}"},orLine:{backgroundColor:{value:"{colors.background.primary.value}"}}}},o5={color:{value:"{colors.font.primary.value}"},lineHeight:{value:1},fontWeight:{value:"{fontWeights.semibold.value}"},fontSize:{value:"{fontSizes.small.value}"},textAlign:{value:"center"},paddingVertical:{value:"{space.xs.value}"},paddingHorizontal:{value:"{space.small.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xl.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},small:{fontSize:{value:"{fontSizes.xs.value}"},paddingVertical:{value:"{space.xxs.value}"},paddingHorizontal:{value:"{space.xs.value}"}},large:{fontSize:{value:"{fontSizes.medium.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"}}},o6={fontWeight:{value:"{fontWeights.bold.value}"},transitionDuration:{value:"{components.fieldcontrol.transitionDuration.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},lineHeight:{value:"{components.fieldcontrol.lineHeight.value}"},paddingBlockStart:{value:"{components.fieldcontrol.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.paddingInlineEnd.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},borderWidth:{value:"{components.fieldcontrol.borderWidth.value}"},borderStyle:{value:"{components.fieldcontrol.borderStyle.value}"},borderRadius:{value:"{components.fieldcontrol.borderRadius.value}"},color:{value:"{colors.font.primary.value}"},_hover:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.brand.primary.60.value}"}},_focus:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{color:{value:"{colors.font.active.value}"},backgroundColor:{value:"{colors.brand.primary.20.value}"},borderColor:{value:"{colors.brand.primary.100.value}"}},_loading:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},primary:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.font.inverse.value}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.100.value}"},color:{value:"{colors.font.inverse.value}"}}},menu:{borderWidth:{value:"{space.zero.value}"},backgroundColor:{value:"transparent"},justifyContent:{value:"start"},_hover:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_focus:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_active:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.90.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}}},link:{backgroundColor:{value:"transparent"},borderColor:{value:"transparent"},borderWidth:{value:"{space.zero.value}"},color:{value:"{colors.font.interactive.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.hover.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.20.value}"},color:{value:"{colors.font.active.value}"}},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}}},warning:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.red.60}"},borderWidth:{value:"{borderWidths.small}"},color:{value:"{colors.red.60}"},_hover:{borderColor:{value:"{colors.red.80}"},backgroundColor:{value:"{colors.red.10}"},color:{value:"{colors.font.error}"}},_focus:{borderColor:{value:"{colors.red.80}"},backgroundColor:{value:"{colors.red.10}"},color:{value:"{colors.red.80}"},boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow}"}},_active:{borderColor:{value:"{colors.red.100}"},backgroundColor:{value:"{colors.red.20}"},color:{value:"{colors.red.100}"}},_disabled:{borderColor:{value:"{colors.border.tertiary}"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled}"}},_loading:{borderColor:{value:"{colors.border.tertiary}"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled}"}}},destructive:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.red.60}"},color:{value:"{colors.font.inverse}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled}"},color:{value:"{colors.font.disabled}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled}"},color:{value:"{colors.font.disabled}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.80}"},color:{value:"{colors.font.inverse}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.80}"},color:{value:"{colors.font.inverse}"},boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.100}"},color:{value:"{colors.font.inverse}"}}},small:{fontSize:{value:"{components.fieldcontrol.small.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.small.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.small.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.small.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.small.paddingInlineEnd.value}"}},large:{fontSize:{value:"{components.fieldcontrol.large.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.large.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.large.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.large.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.large.paddingInlineEnd.value}"}},loaderWrapper:{alignItems:{value:"center"},gap:{value:"{space.xs.value}"}}},o8={backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"none"},padding:{value:"{space.medium.value}"},outlined:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{components.card.boxShadow.value}"}},elevated:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"{shadows.medium.value}"}}},o7={cursor:{value:"pointer"},alignItems:{value:"center"},_disabled:{cursor:{value:"not-allowed"}},button:{position:{value:"relative"},alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},before:{width:{value:"100%"},height:{value:"100%"},borderWidth:{value:"{borderWidths.medium.value}"},borderRadius:{value:"20%"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},_focus:{outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.error.value}"}}}}},icon:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"20%"},opacity:{value:"{opacities.0.value}"},transform:{value:"scale(0)"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.short.value}"},transitionTimingFunction:{value:"ease-in-out"},_checked:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},_indeterminate:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}},o9={alignItems:{value:"flex-start"},alignContent:{value:"center"},flexDirection:{value:"column"},justifyContent:{value:"center"}},ie={pagination:{current:{color:{value:"{components.pagination.current.color}"},backgroundColor:{value:"{components.pagination.current.backgroundColor}"}},button:{color:{value:"{components.pagination.button.color}"},_hover:{backgroundColor:{value:"{components.pagination.button.hover.backgroundColor}"},color:{value:"{components.pagination.button.hover.color}"}},_disabled:{color:{value:"{components.pagination.button.disabled.color}"}}}},search:{input:{color:{value:"{components.searchfield.color}"}},button:{color:{value:"{components.searchfield.button.color}"},_active:{backgroundColor:{value:"{components.searchfield.button._active.backgroundColor}"},borderColor:{value:"{components.searchfield.button._active.borderColor}"},color:{value:"{components.searchfield.button._active.color}"}},_disabled:{backgroundColor:{value:"{components.searchfield.button._disabled.backgroundColor}"},borderColor:{value:"{components.searchfield.button._disabled.borderColor}"},color:{value:"{components.searchfield.button._disabled.color}"}},_focus:{backgroundColor:{value:"{components.searchfield.button._focus.backgroundColor}"},borderColor:{value:"{components.searchfield.button._focus.borderColor}"},color:{value:"{components.searchfield.button._focus.color}"}},_hover:{backgroundColor:{value:"{components.searchfield.button._hover.backgroundColor}"},borderColor:{value:"{components.searchfield.button._hover.borderColor}"},color:{value:"{components.searchfield.button._hover.color}"}}}}},it={fontSize:{value:"{fontSizes.xs}"},gap:{value:"{space.relative.medium}"},svg:{path:{fill:{value:"{colors.font.primary}"}}},toolTip:{bottom:{value:"{space.large}"},color:{value:"{colors.teal.100}"},fontSize:{value:"{fontSizes.xxs}"}}},ir={height:{value:"{space.relative.full.value}"}},io={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.medium.value}"},label:{color:{value:"{colors.font.tertiary.value}"},paddingInline:{value:"{space.medium.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.background.primary.value}"}},small:{borderWidth:{value:"{borderWidths.small.value}"}},large:{borderWidth:{value:"{borderWidths.large.value}"}},opacity:{value:"{opacities.60.value}"}},ii={display:{value:"block"},backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},width:{value:"100%"},item:{marginTop:{value:"1px"},boxShadow:{value:"{shadows.small.value}"},borderBottomLeftRadius:{value:"{radii.medium.value}"},borderBottomRightRadius:{value:"{radii.medium.value}"},borderTopLeftRadius:{value:"{radii.medium.value}"},borderTopRightRadius:{value:"{radii.medium.value}"},borderStartStartRadius:{value:"{radii.medium.value}"},borderStartEndRadius:{value:"{radii.medium.value}"},borderEndStartRadius:{value:"{radii.medium.value}"},borderEndEndRadius:{value:"{radii.medium.value}"},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},header:{boxShadow:{value:{offsetX:"0",offsetY:"1px",blurRadius:"0",color:"{colors.overlay.20.value}"}}},trigger:{minHeight:{value:"3rem"},paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},alignItems:{value:"center"},justifyContent:{value:"space-between"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}}},content:{paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},text:{color:{value:"{colors.font.secondary.value}"},paddingBlockStart:{value:"{space.medium.value}"},paddingBlockEnd:{value:"{space.medium.value}"}},_open:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}},_closed:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},icon:{transitionDuration:{value:"{time.medium.value}"},transitionTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},ia={gap:{value:"{space.xs.value}"},fontSize:{value:"{fontSizes.medium.value}"},flexDirection:{value:"column"},small:{gap:{value:"{space.xxxs.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{gap:{value:"{space.small.value}"},fontSize:{value:"{fontSizes.large.value}"}},label:{color:{value:"{colors.font.secondary.value}"}}},is={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.small.value}"},color:{value:"{colors.font.primary.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"},fontSize:{value:"{components.field.fontSize.value}"},lineHeight:{value:"{lineHeights.medium.value}"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},small:{fontSize:{value:"{components.field.small.fontSize.value}"},paddingBlockStart:{value:"{space.xxs.value}"},paddingBlockEnd:{value:"{space.xxs.value}"},paddingInlineStart:{value:"{space.small.value}"},paddingInlineEnd:{value:"{space.small.value}"}},large:{fontSize:{value:"{components.field.large.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}},quiet:{borderStyle:{value:"none"},borderInlineStart:{value:"none"},borderInlineEnd:{value:"none"},borderBlockStart:{value:"none"},borderRadius:{value:"0"},_focus:{borderBlockEndColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.focus.value}",blurRadius:"0px"}}},_error:{borderBlockEndColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.error.value}",blurRadius:"0px"}}}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.focus.value}"}}},_disabled:{color:{value:"{colors.font.disabled.value}"},cursor:{value:"not-allowed"},borderColor:{value:"{colors.transparent.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.error.value}"}}}}},il={gap:{value:"{space.zero.value}"},vertical:{alignItems:{value:"center"}},outer:{alignItems:{value:"center"}}},ic={error:{color:{value:"{colors.font.error.value}"},fontSize:{value:"{fontSizes.small.value}"}},description:{color:{value:"{colors.font.secondary.value}"},fontStyle:{value:"italic"},fontSize:{value:"{fontSizes.small.value}"}}},iu={dropzone:{backgroundColor:{value:"{colors.background.primary}"},borderRadius:{value:"{radii.small}"},borderColor:{value:"{colors.border.primary}"},borderStyle:{value:"dashed"},borderWidth:{value:"{borderWidths.small}"},gap:{value:"{space.small}"},paddingBlock:{value:"{space.xl}"},paddingInline:{value:"{space.large}"},textAlign:{value:"center"},_active:{backgroundColor:{value:"{colors.brand.primary.10}"},borderRadius:{value:"{components.fileuploader.dropzone.borderRadius}"},borderColor:{value:"{colors.border.pressed}"},borderStyle:{value:"{components.fileuploader.dropzone.borderStyle}"},borderWidth:{value:"{borderWidths.medium}"}},icon:{color:{value:"{colors.border.primary}"},fontSize:{value:"{fontSizes.xxl}"}},text:{color:{value:"{colors.font.tertiary}"},fontSize:{value:"{fontSizes.medium}"},fontWeight:{value:"{fontWeights.bold}"}}},file:{backgroundColor:{value:"{colors.background.primary}"},borderRadius:{value:"{radii.small}"},borderColor:{value:"{colors.border.primary}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small}"},paddingBlock:{value:"{space.xs}"},paddingInline:{value:"{space.small}"},gap:{value:"{space.small}"},alignItems:{value:"baseline"},name:{fontSize:{value:"{fontSizes.medium}"},fontWeight:{value:"{fontWeights.bold}"},color:{value:"{colors.font.primary}"}},size:{fontSize:{value:"{fontSizes.small}"},fontWeight:{value:"{fontWeights.normal}"},color:{value:"{colors.font.tertiary}"}},image:{width:{value:"{space.xxl}"},height:{value:"{space.xxl}"},backgroundColor:{value:"{colors.background.secondary}"},color:{value:"{colors.font.tertiary}"},borderRadius:{value:"{radii.small}"}}},loader:{strokeLinecap:{value:"round"},strokeEmpty:{value:"{colors.border.secondary}"},strokeFilled:{value:"{components.loader.strokeFilled}"},strokeWidth:{value:"{borderWidths.large}"}},previewer:{backgroundColor:{value:"{colors.background.primary}"},borderColor:{value:"{colors.border.primary}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small}"},borderRadius:{value:"{radii.small}"},paddingBlock:{value:"{space.zero}"},paddingInline:{value:"{space.zero}"},maxHeight:{value:"40rem"},maxWidth:{value:"auto"},text:{fontSize:{value:"{fontSizes.medium}"},fontWeight:{value:"{fontWeights.bold}"},color:{value:"{colors.font.primary}"}},body:{paddingBlock:{value:"{space.medium}"},paddingInline:{value:"{space.medium}"},gap:{value:"{space.small}"}},footer:{borderColor:{value:"{colors.border.secondary}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small}"},paddingBlock:{value:"{space.medium}"},paddingInline:{value:"{space.medium}"},justifyContent:{value:"space-between"}}}},id={gap:{value:"{space.medium.value}"},justifyContent:{value:"normal"},alignItems:{value:"stretch"},alignContent:{value:"normal"},flexWrap:{value:"nowrap"}},ip={color:{value:"{colors.font.primary.value}"},lineHeight:{value:"{lineHeights.small.value}"},1:{fontSize:{value:"{fontSizes.xxxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},2:{fontSize:{value:"{fontSizes.xxxl.value}"},fontWeight:{value:"{fontWeights.normal.value}"}},3:{fontSize:{value:"{fontSizes.xxl.value}"},fontWeight:{value:"{fontWeights.medium.value}"}},4:{fontSize:{value:"{fontSizes.xl.value}"},fontWeight:{value:"{fontWeights.semibold.value}"}},5:{fontSize:{value:"{fontSizes.large.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},6:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}},ih={highlighted:{fontWeight:{value:"{fontWeights.bold}"}}},im={lineHeight:{value:1},height:{value:"1em"}},ig={maxWidth:{value:"100%"},height:{value:"auto"},objectFit:{value:"initial"},objectPosition:{value:"initial"}},iv={banner:{height:{value:"150px "},width:{value:"400px "}},button:{backgroundColor:{value:"#e8e8e8"},borderRadius:{value:"5px"},color:{value:"black"}},dialog:{height:{value:"50vh"},minHeight:{value:"400px"},minWidth:{value:"400px"},width:{value:"30vw"}},header:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}},iy={active:{color:{value:"{colors.font.active.value}"}},color:{value:"{colors.font.interactive.value}"},focus:{color:{value:"{colors.font.focus.value}"}},hover:{color:{value:"{colors.font.hover.value}"}},visited:{color:{value:"{colors.font.interactive.value}"}}},ib={cameraModule:{backgroundColor:{value:"{colors.black}"}}},iw={width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},fontSize:{value:"{fontSizes.xs.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"},fontSize:{value:"{fontSizes.xxs.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"},fontSize:{value:"{fontSizes.small.value}"}},linear:{width:{value:"100%"},minWidth:{value:"5rem"},fontSize:{value:"{fontSizes.medium.value}"},strokeWidth:{value:"{fontSizes.medium.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{strokeWidth:{value:"{fontSizes.small.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{strokeWidth:{value:"{fontSizes.large.value}"},fontSize:{value:"{fontSizes.large.value}"}}},text:{fill:{value:"{colors.font.primary.value}"}}},iS={backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.medium.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{shadows.large.value}"},flexDirection:{value:"column"},gap:{value:"{space.zero.value}"},maxWidth:{value:"30rem"},minWidth:{value:"14rem"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},item:{minHeight:{value:"2.5rem"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}},ix={current:{alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.overlay.40.value}"}},button:{color:{value:"{colors.font.primary.value}"},paddingInlineStart:{value:"{space.xxs.value}"},paddingInlineEnd:{value:"{space.xxs.value}"},transitionProperty:{value:"background-color"},transitionDuration:{value:"{time.medium.value}"},hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},disabled:{color:{value:"{colors.font.disabled.value}"}}},ellipsis:{alignItems:{value:"baseline"},justifyContent:{value:"center"},paddingInlineStart:{value:"{space.xs.value}"},paddingInlineEnd:{value:"{space.xs.value}"}},itemContainer:{marginLeft:{value:"{space.xxxs.value}"},marginRight:{value:"{space.xxxs.value}"}},itemShared:{height:{value:"{fontSizes.xxl.value}"},minWidth:{value:"{fontSizes.xxl.value}"},borderRadius:{value:"{fontSizes.medium.value}"}}},iE={color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}},iC={color:{value:"{components.fieldcontrol.color}"},borderColor:{value:"{components.fieldcontrol.borderColor}"},fontSize:{value:"{components.fieldcontrol.fontSize}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor}"}}},i_={borderRadius:{value:"{radii.small.value}"},transitionDuration:{value:"{time.long.value}"},startColor:{value:"{colors.background.secondary.value}"},endColor:{value:"{colors.background.tertiary.value}"},small:{height:{value:"{space.small.value}"}},default:{height:{value:"{space.medium.value}"}},large:{height:{value:"{space.large.value}"}}},ik={alignItems:{value:"center"},justifyContent:{value:"flex-start"},gap:{value:"inherit"},_disabled:{cursor:{value:"not-allowed"}},button:{alignItems:{value:"center"},justifyContent:{value:"center"},width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},boxSizing:{value:"border-box"},borderWidth:{value:"{borderWidths.medium.value}"},borderStyle:{value:"solid"},borderRadius:{value:"50%"},borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.background.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},padding:{value:"{borderWidths.medium.value}"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},_checked:{color:{value:"{colors.brand.primary.80.value}"},_disabled:{color:{value:"{colors.background.disabled.value}"}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.primary.value}"}}},label:{color:{value:"{components.text.color.value}"},_disabled:{color:{value:"{colors.font.disabled.value}"}}}},iO={radio:{borderWidth:{value:"{components.radio.button.borderWidth}"},borderColor:{value:"{components.radio.button.borderColor}"},backgroundColor:{value:"{components.radio.button.backgroundColor}"},_checked:{color:{value:"{components.radio.button._checked.color}"}},label:{color:{value:"{components.radio.label.color}"}}},label:{color:{value:"{components.field.label.color}"}}},iA={large:{size:{value:"{fontSizes.xxxl.value}"}},default:{size:{value:"{fontSizes.xl.value}"}},small:{size:{value:"{fontSizes.small.value}"}},filled:{color:{value:"{colors.brand.secondary.80.value}"}},empty:{color:{value:"{colors.background.tertiary.value}"}}},iI={color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},backgroundColor:{value:"{colors.background.primary.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}},iP={paddingInlineEnd:{value:"{space.xxl.value}"},wrapper:{flex:{value:"1"},display:{value:"block"},position:{value:"relative"},cursor:{value:"pointer"}},iconWrapper:{alignItems:{value:"center"},position:{value:"absolute"},top:{value:"50%"},right:{value:"{space.medium.value}"},transform:{value:"translateY(-50%)"},pointerEvents:{value:"none"}},option:{backgroundColor:{value:"{colors.background.primary.value}"},color:{value:"{colors.font.primary.value}"},_disabled:{color:{value:"{colors.font.disabled.value}"}}},whiteSpace:{value:"nowrap"},minWidth:{value:"6.5rem"},small:{minWidth:{value:"5.5rem"}},large:{minWidth:{value:"7.5rem"}}},iT={borderColor:{value:"{components.fieldcontrol.borderColor}"},color:{value:"{components.fieldcontrol.color}"},flexDirection:{value:"column"},fontSize:{value:"{components.fieldcontrol.fontSize}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor}"}},label:{color:{value:"{components.field.label.color}"}}},iR={paddingBlock:{value:"{space.xs.value}"},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"9999px"},height:{value:"0.375rem"},minWidth:{value:"10rem"}},range:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"9999px"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},thumb:{width:{value:"1.25rem"},height:{value:"1.25rem"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.small.value}"},borderRadius:{value:"50%"},borderWidth:{value:"{borderWidths.medium.value}"},borderColor:{value:"{colors.border.primary.value}"},borderStyle:{value:"solid"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"},borderColor:{value:"transparent"},boxShadow:{value:"none"}},_hover:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.focus.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},small:{track:{height:{value:"0.25rem"}},thumb:{width:{value:"1rem"},height:{value:"1rem"}}},large:{track:{height:{value:"0.625rem"}},thumb:{width:{value:"1.5rem"},height:{value:"1.5rem"}}}},iM={borderColor:{value:"{components.fieldcontrol.borderColor}"},flexDirection:{value:"column"},input:{color:{value:"{components.fieldcontrol.color}"},fontSize:{value:"{components.fieldcontrol.fontSize}"},textAlign:{value:"center"}},button:{color:{value:"{components.button.color}"},backgroundColor:{value:"{colors.transparent}"},_active:{color:{value:"{components.button._active.color}"},backgroundColor:{value:"{components.button._active.backgroundColor}"}},_focus:{color:{value:"{components.button._focus.color}"},backgroundColor:{value:"{components.button._focus.backgroundColor}"}},_disabled:{color:{value:"{components.button._disabled.color}"},backgroundColor:{value:"{components.fieldcontrol._disabled.backgroundColor}"}},_hover:{color:{value:"{components.button._hover.color}"},backgroundColor:{value:"{components.button._hover.backgroundColor}"}}}},iN=Object.assign(Object.assign({},iu),{filelist:{flexDirection:"column",gap:"{space.small}"}}),ij={xxxs:{value:"0.375rem"},xxs:{value:"0.5rem"},xs:{value:"0.75rem"},small:{value:"0.875rem"},medium:{value:"1rem"},large:{value:"1.25rem"},xl:{value:"1.5rem"},xxl:{value:"2rem"},xxxl:{value:"2.5rem"},xxxxl:{value:"3rem"}},iD={zero:{value:"0"},xxxs:{value:"0.25rem"},xxs:{value:"0.375rem"},xs:{value:"0.5rem"},small:{value:"0.75rem"},medium:{value:"1rem"},large:{value:"1.5rem"},xl:{value:"2.0rem"},xxl:{value:"3.0rem"},xxxl:{value:"4.5rem"},relative:{xxxs:{value:"0.25em"},xxs:{value:"0.375em"},xs:{value:"0.5em"},small:{value:"0.75em"},medium:{value:"1em"},large:{value:"1.5em"},xl:{value:"2.0em"},xxl:{value:"3.0em"},xxxl:{value:"4.5em"},full:{value:"100%"}}},iL={components:{alert:o2,authenticator:o4,autocomplete:o3,badge:o5,button:o6,card:o8,checkbox:o7,checkboxfield:o9,collection:ie,copy:it,countrycodeselect:ir,divider:io,expander:ii,field:ia,fieldcontrol:is,fieldgroup:il,fieldmessages:ic,fileuploader:iu,flex:id,heading:ip,icon:im,highlightmatch:ih,image:ig,inappmessaging:iv,link:iy,liveness:ib,loader:iw,menu:iS,pagination:ix,passwordfield:iE,phonenumberfield:iC,placeholder:i_,radio:ik,radiogroup:iO,rating:iA,searchfield:iI,select:iP,selectfield:iT,sliderfield:iR,stepperfield:iM,storagemanager:iN,switchfield:{_disabled:{opacity:{value:"{opacities.60.value}"}},_focused:{shadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},fontSize:{value:"{fontSizes.medium.value}"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},label:{padding:{value:"{space.xs.value}"}},thumb:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.tertiary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{transform:{value:"{transforms.slideX.medium.value}"}},transition:{duration:{value:"{time.medium.value}"}},width:{value:"{space.relative.medium.value}"}},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{backgroundColor:{value:"{colors.brand.primary.80.value}"}},height:{value:"{space.relative.medium.value}"},padding:{value:"{outlineWidths.medium.value}"},transition:{duration:{value:"{time.short.value}"}},width:{value:"{space.relative.xl.value}"},_error:{backgroundColor:{value:"{colors.background.error.value}"}}}},table:{borderCollapse:{value:"collapse"},display:{value:"table"},width:{value:"100%"},head:{display:{value:"table-header-group"},verticalAlign:{value:"middle"}},body:{display:{value:"table-row-group"},verticalAlign:{value:"middle"}},foot:{display:{value:"table-footer-group"},verticalAlign:{value:"middle"}},row:{display:{value:"table-row"},verticalAlign:{value:"middle"},hover:{backgroundColor:{value:"{colors.background.tertiary.value}"}},striped:{backgroundColor:{value:"{colors.background.secondary.value}"}}},header:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},data:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.normal.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},caption:{captionSide:{value:"bottom"},color:{value:"{colors.font.primary.value}"},display:{value:"table-caption"},fontSize:{value:"{fontSizes.medium.value}"},textAlign:{value:"center"},wordBreak:{value:"break-all"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}}}},tabs:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},gap:{value:"0"},item:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},color:{value:"{colors.font.secondary.value}"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"},textAlign:{value:"center"},transitionDuration:{value:"{time.medium.value}"},_hover:{color:{value:"{colors.font.hover.value}"}},_focus:{color:{value:"{colors.font.focus.value}"}},_active:{color:{value:"{colors.font.interactive.value}"},borderColor:{value:"{colors.font.interactive.value}"},backgroundColor:{value:"transparent"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}}}},text:{color:{value:"{colors.font.primary.value}"},primary:{color:{value:"{colors.font.primary.value}"}},secondary:{color:{value:"{colors.font.secondary.value}"}},tertiary:{color:{value:"{colors.font.tertiary.value}"}},error:{color:{value:"{colors.font.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"}},success:{color:{value:"{colors.font.success.value}"}},info:{color:{value:"{colors.font.info.value}"}}},textareafield:{color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}},textfield:{color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}},togglebutton:{borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.font.primary.value}"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.font.primary.value}"}},_active:{backgroundColor:{value:"{colors.transparent.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},borderColor:{value:"{colors.border.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{borderColor:{value:"{colors.border.pressed.value}"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.overlay.20.value}"},_hover:{backgroundColor:{value:"{colors.overlay.30.value}"}}},primary:{backgroundColor:{value:"{colors.transparent.value}"},borderWidth:{value:"{borderWidths.small.value}"},_focus:{borderColor:{value:"{colors.border.focus.value}"},backgroundColor:{value:"{colors.transparent.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"},color:{value:"{colors.font.primary.value}"}},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.background.primary.value}"},_focus:{backgroundColor:{value:"{colors.border.focus.value}"},borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.background.primary.value}"}},_hover:{borderColor:{value:"{colors.brand.primary.60.value}"},backgroundColor:{value:"{colors.brand.primary.60.value}"},boxShadow:{value:"{colors.brand.primary.60.value}"},color:{value:"{colors.background.primary.value}"}}}},link:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"}},_hover:{color:{value:"{colors.overlay.90.value}"},backgroundColor:{value:"{colors.transparent.value}"}}}}},togglebuttongroup:{alignItems:{value:"center"},alignContent:{value:"center"},justifyContent:{value:"flex-start"}}},borderWidths:o0,colors:o1,fonts:{default:{variable:{value:"'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,\n        'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',\n        sans-serif"},static:{value:"'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',\n        'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif"}}},fontSizes:ij,fontWeights:{hairline:{value:100},thin:{value:200},light:{value:300},normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800},black:{value:900}},lineHeights:{small:{value:"1.25"},medium:{value:"1.5"},large:{value:"2"}},opacities:{0:{value:"0"},10:{value:"0.1"},20:{value:"0.2"},30:{value:"0.3"},40:{value:"0.4"},50:{value:"0.5"},60:{value:"0.6"},70:{value:"0.7"},80:{value:"0.8"},90:{value:"0.9"},100:{value:"1"}},outlineOffsets:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},outlineWidths:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},radii:{xs:{value:"0.125rem"},small:{value:"0.25rem"},medium:{value:"0.5rem"},large:{value:"1rem"},xl:{value:"2rem"},xxl:{value:"4rem"},xxxl:{value:"8rem"}},shadows:{small:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"4px",color:"{colors.shadow.tertiary.value}"}},medium:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"6px",color:"{colors.shadow.secondary.value}"}},large:{value:{offsetX:"0px",offsetY:"4px",blurRadius:"12px",color:"{colors.shadow.primary.value}"}}},space:iD,time:{short:{value:"100ms"},medium:{value:"250ms"},long:{value:"500ms"}},transforms:{slideX:{small:{value:"translateX(0.5em)"},medium:{value:"translateX(1em)"},large:{value:"translateX(2em)"}}}};ij.xxs,ij.xs,ij.small,ij.medium,ij.large,ij.xl,ij.xxl,ij.xxxl,iD.xxxs,iD.xs,iD.small,iD.medium,iD.large,iD.xl,iD.xxl,iD.xxxl;let iB={tokens:iL,breakpoints:{values:{base:0,small:480,medium:768,large:992,xl:1280,xxl:1536},defaultBreakpoint:"base"},name:"default-theme"},iZ=e=>e in oU,iF=e=>"string"==typeof e&&0===e.length,iz=e=>null==e||iF(e),iU=e=>Object.keys(e),iH=(e,t,n)=>{if("string"!=typeof t)return t;if(t.includes(" "))return t.split(" ").map(t=>iH(e,t,n)).join(" ");if(iZ(e)){let r=t.split("."),o=n[oU[e]];for(let e=0;e<r.length&&o;e++)o=o[r[e]];return oY(o)?`var(--${oK({path:[oU[e],...r]})})`:t}return t},iq=({breakpoint:e,breakpoints:t,values:n})=>{var r;let o={},i=iU(t).sort((e,n)=>t[e]-t[n]);return Array.isArray(n)?n.forEach((e,t)=>{o[i[t]]=e}):"object"==typeof n&&(o=iU(r=n).reduce((e,t)=>t in iB.breakpoints.values?Object.assign(Object.assign({},e),{[t]:r[t]}):e,{})),(({breakpoint:e,breakpoints:t,values:n})=>{let r=n[e];if(void 0!==r)return r;let o=iU(t).sort((e,n)=>t[n]-t[e]);for(let t of o.slice(o.indexOf(e))){let e=n[t];if(void 0!==e)return e}return null})({breakpoint:e,breakpoints:t,values:o})},iV=({breakpoints:e})=>{let t=iU(e).sort((t,n)=>e[n]-e[t]);return t.map((n,r)=>{let o="",i=e[n],a=t[r-1],s=a?e[a]-1:null;return i>=0&&(o=`(min-width: ${i}px)`),null!==s&&(o&&(o+=" and "),o+=`(max-width: ${s}px)`),{breakpoint:n,query:o,maxWidth:s,minWidth:i}})},iW="undefined"==typeof window?p.useEffect:p.useLayoutEffect,i$=({breakpoints:e,defaultBreakpoint:t})=>{let n="undefined"!=typeof window&&void 0!==window.matchMedia?window.matchMedia:null,r=p.useMemo(()=>iV({breakpoints:e}),[e]),[o,i]=p.useState(t),a=p.useCallback((e,t)=>{e&&i(t)},[i]);return iW(()=>{if(!n)return;let e=r.map(({query:e,breakpoint:t})=>{let r=n(e);a(r.matches,t);let o=e=>{e.matches&&i(t)};return r.addEventListener("change",o),()=>r.removeEventListener("change",o)});return()=>{e.forEach(e=>e())}},[e,i,n,r]),p.useDebugValue(o,e=>e),o};var iG=n(38440),iK=n(31489);let iY=({token:e,path:t})=>{let n=`--${oK({path:t})}`,{value:r}=e;return{name:n,original:r,path:t,value:oG(e),toString:()=>`var(${n})`}};function iX(e,t=iB){let n=iG([{},t,e]),r=oQ({tokens:n.tokens,setupToken:iY}),{breakpoints:o,name:i}=n,a=`[data-amplify-theme="${i}"] {
`+iK(r).map(e=>`${e.name}: ${e.value};`).join("\n")+"\n}\n",s=[];return n.overrides&&(s=n.overrides.map(e=>{let t=oQ({tokens:e.tokens,setupToken:iY}),r=iK(t).map(e=>`${e.name}: ${e.value};`).join("\n");if("selector"in e&&(a+=`
${e.selector} {
${r}
}
`),"mediaQuery"in e&&(a+=`
@media (${e.mediaQuery}) {
  [data-amplify-theme="${i}"] {
    ${r}
  }
}
`),"breakpoint"in e){let t=n.breakpoints.values[e.breakpoint];a+=`
@media (min-width: ${t}px) {
  [data-amplify-theme="${i}"] {
    ${r}
  }
}
`}return"colorMode"in e&&(a+=`
@media (prefers-color-scheme: ${e.colorMode}) {
          [data-amplify-theme="${i}"][data-amplify-color-mode="system"] {
${r}
}
        }

[data-amplify-theme="${i}"][data-amplify-color-mode="${e.colorMode}"] {
${r}
}
`),Object.assign(Object.assign({},e),{tokens:t})})),{tokens:r,breakpoints:o,name:i,cssText:a,overrides:s}}let iQ=p.createContext({theme:iX()}),iJ=e=>void 0===e||void 0===e.theme?iX():e.theme,i0=()=>iJ(p.useContext(iQ)),i1=({value:e,propKey:t,tokens:n})=>oY(e)?e.toString():ed(e)?ed(t)?iH(t,e,n):e:null,i2=e=>"auto"===e||"number"==typeof e&&!isNaN(e)||"string"==typeof e&&!isNaN(parseFloat(e)),i3=e=>"auto"===e?"auto":`span ${e}`,i4=e=>i2(e)?i3(e):Array.isArray(e)?e.map(e=>i3(e)):"object"==typeof e&&null!=e?Object.entries(e).reduce((e,[t,n])=>Object.assign(Object.assign({},e),{[t]:i3(n)}),{}):null,i5=e=>{let{rowSpan:t,columnSpan:n,row:r,column:o}=e,i=eE(e,["rowSpan","columnSpan","row","column"]),{rowFromSpanValue:a,columnFromSpanValue:s}=p.useMemo(()=>({rowFromSpanValue:i4(t),columnFromSpanValue:i4(n)}),[t,n]);return Object.assign({row:iz(r)?a:r,column:iz(o)?s:o},i)},i6=({props:e={},style:t={},breakpoint:n,breakpoints:r,tokens:o})=>{let i={};return Object.keys(e).filter(t=>null!==e[t]).forEach(a=>{if(a in oJ){let i=e[a];if(!i||iF(i))return;let s=oJ[a],l="";oY(i)?l=i.toString():"string"==typeof i?l=iH(a,i,o):"number"==typeof i?l=i:"object"==typeof i&&(l=i1({propKey:a,tokens:o,value:iq({values:i,breakpoint:n,breakpoints:r})})),t=Object.assign(Object.assign({},t),{[s]:l})}else void 0!==e[a]&&(i[a]=e[a])}),{propStyles:t,nonStyleProps:i}},i8=(e,t)=>{let{breakpoints:{values:n,defaultBreakpoint:r},tokens:o}=i0(),i=i$({breakpoints:n,defaultBreakpoint:r}),a=i5(e);return p.useMemo(()=>i6({props:a,style:t,breakpoint:i,breakpoints:n,tokens:o}),[a,t,n,i,o])},i7=p.forwardRef((e,t)=>{var{as:n="div",children:r,testId:o,ariaLabel:i,isDisabled:a,style:s,inert:l}=e;let{propStyles:c,nonStyleProps:u}=i8(eE(e,["as","children","testId","ariaLabel","isDisabled","style","inert"]),s);return p.createElement(n,Object.assign({"aria-label":i,"data-testid":o,disabled:a,ref:t,inert:l?"":null,style:c},u),r)});i7.displayName="View";let i9=p.forwardRef((e,t)=>{var{className:n,children:r}=e,o=eE(e,["className","children"]);return p.createElement(i7,Object.assign({className:oD(oB.Flex,n),ref:t},o),r)});i9.displayName="Flex";let ae="linear-empty",at="linear-filled",an="circular-empty",ar="circular-filled",ao=84*Math.PI,ai=p.forwardRef((e,t)=>{var{className:n,filledColor:r,emptyColor:o,size:i,variation:a,isDeterminate:s=!1,isPercentageTextHidden:l=!1,percentage:c=0}=e,u=eE(e,["className","filledColor","emptyColor","size","variation","isDeterminate","isPercentageTextHidden","percentage"]);c=Math.min(c,100);let d=`${c=Math.max(c,0)}%`,f=oD(oB.Loader,eS(oB.Loader,i),eS(oB.Loader,a),s?oB.LoaderDeterminate:null,n),h=p.createElement("g",null,p.createElement("line",{x1:"0",x2:"100%",y1:"50%",y2:"50%",style:{stroke:String(o)},"data-testid":ae}),p.createElement("line",{x1:"0",x2:s?d:"100%",y1:"50%",y2:"50%",style:{stroke:s&&0===c?"none":r?String(r):void 0},"data-testid":at}),s?p.createElement("text",{"aria-live":"polite",className:oD(oB.LoaderPercentageText,l?oB.VisuallyHidden:null),x:`${-1+c}%`,y:"200%"},d):null),m=p.createElement("g",null,p.createElement("circle",{cx:"50%",cy:"50%",r:"42%",strokeWidth:"8%",style:{stroke:String(o)},"data-testid":an}),p.createElement("circle",{cx:"50%",cy:"50%",r:"42%",strokeWidth:"8%",style:{stroke:String(r),strokeDasharray:s?`${ao}% ${ao}%`:void 0,strokeDashoffset:s?ao-ao*c/100+"%":void 0},"data-testid":ar}),s?p.createElement("text",{"aria-live":"polite",className:oD(oB.LoaderPercentageText,l?oB.VisuallyHidden:null),x:"130%",y:"80%"},d):null);return p.createElement(i7,Object.assign({as:"svg",className:f,"data-size":i,"data-variation":a,ref:t,role:"img"},u),"linear"===a?h:m)});ai.displayName="Loader";let aa=p.forwardRef((e,t)=>{var n,{className:r,children:o,isFullWidth:i=!1,isDisabled:a,isLoading:s,loadingText:l="",size:c,type:u="button",variation:d}=e,f=eE(e,["className","children","isFullWidth","isDisabled","isLoading","loadingText","size","type","variation"]);let h=oD(oB.Button,oB.FieldGroupControl,eS(oB.Button,d),eS(oB.Button,c),ex(oB.Button,"disabled",null!==(n=null!=a?a:s)&&void 0!==n?n:f.disabled),ex(oB.Button,"loading",s),ex(oB.Button,"fullwidth",i),r);return p.createElement(i7,Object.assign({ref:t,as:"button",className:h,"data-fullwidth":i,"data-loading":s,"data-size":c,"data-variation":d,isDisabled:null!=a?a:s,type:u},f),s?p.createElement(i9,{as:"span",className:oB.ButtonLoaderWrapper},p.createElement(ai,{size:c}),l||null):o)});aa.displayName="Button";let as={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},al=p.forwardRef((e,t)=>{var{className:n,children:r,isTruncated:o,level:i=6}=e,a=eE(e,["className","children","isTruncated","level"]);return p.createElement(i7,Object.assign({as:as[i],className:oD(oB.Heading,eS(oB.Heading,i),ex(oB.Heading,"truncated",o),n),ref:t},a),r)});al.displayName="Heading";let ac=p.forwardRef((e,t)=>{var{as:n="p",className:r,children:o,isTruncated:i,variation:a}=e,s=eE(e,["as","className","children","isTruncated","variation"]);let l=oD(oB.Text,eS(oB.Text,a),ex(oB.Text,"truncated",i),r);return p.createElement(i7,Object.assign({as:n,className:l,"data-truncate":i,"data-variation":a,ref:t},s),o)});ac.displayName="Text";let au=e=>Object.fromEntries(new FormData(e.target));function ad(){let{submitForm:e,updateBlur:t,updateForm:n}=tw(e=>[e.submitForm,e.updateBlur,e.updateForm]);return{handleBlur:(0,p.useCallback)(({target:{name:e}})=>{t({name:e})},[t]),handleChange:(0,p.useCallback)(({target:{checked:e,name:t,type:r,value:o}})=>{n({name:t,value:"checkbox"!==r||e?o:void 0})},[n]),handleSubmit:(0,p.useCallback)(t=>{t.preventDefault(),e(au(t))},[e])}}let af=e=>{let{className:t}=e,n=eE(e,["className"]);return p.createElement(i7,Object.assign({as:"span",width:"1em",height:"1em",className:oD(oB.Icon,t)},n),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z",fill:"currentColor"})))},ap=e=>{let{className:t}=e,n=eE(e,["className"]);return p.createElement(i7,Object.assign({as:"span",width:"1em",height:"1em",className:oD(oB.Icon,t)},n),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V15H13V17ZM13 13H11V7H13V13Z",fill:"currentColor"})))},ah=e=>{let{className:t}=e,n=eE(e,["className"]);return p.createElement(i7,Object.assign({as:"span",width:"1em",height:"1em",className:oD(oB.Icon,t)},n),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M11 7H13V9H11V7ZM11 11H13V17H11V11ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})))},am=e=>{let{className:t}=e,n=eE(e,["className"]);return p.createElement(i7,Object.assign({as:"span",width:"1em",height:"1em",className:oD(oB.Icon,t)},n),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z",fill:"currentColor"})))},ag=({variation:e,ariaHidden:t})=>{switch(e){case"info":return p.createElement(ah,{"aria-hidden":t,className:oB.AlertIcon});case"error":return p.createElement(ap,{"aria-hidden":t,className:oB.AlertIcon});case"warning":return p.createElement(am,{"aria-hidden":t,className:oB.AlertIcon});case"success":return p.createElement(af,{"aria-hidden":t,className:oB.AlertIcon});default:return null}};ag.displayName="AlertIcon";let av=e=>{let{className:t,size:n}=e,r=eE(e,["className","size"]);return p.createElement(i7,Object.assign({as:"span",width:null!=n?n:"1em",height:null!=n?n:"1em",className:oD(oB.Icon,t)},r),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n?{width:n,height:n}:void 0},p.createElement("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z",fill:"currentColor"})))},ay=p.forwardRef((e,t)=>{var{buttonRef:n,children:r,className:o,dismissButtonLabel:i=oZ,hasIcon:a=!0,heading:s,isDismissible:l=!1,onDismiss:c,variation:u}=e,d=eE(e,["buttonRef","children","className","dismissButtonLabel","hasIcon","heading","isDismissible","onDismiss","variation"]);let[f,h]=p.useState(!1),m=p.useCallback(()=>{h(!f),ew(c)&&c()},[h,c,f]);return f?null:p.createElement(i9,Object.assign({className:oD(oB.Alert,o,eS(oB.Alert,u)),"data-variation":u,ref:t,role:"alert"},d),a&&p.createElement(ag,{variation:u,ariaHidden:!0}),p.createElement(i7,{flex:"1"},s&&p.createElement(i7,{className:oB.AlertHeading},s),p.createElement(i7,{className:oB.AlertBody},r)),l&&p.createElement(aa,{ariaLabel:i,variation:"link",className:oB.AlertDismiss,onClick:m,ref:n},p.createElement(av,{"aria-hidden":"true"})))});ay.displayName="Alert";let ab=()=>{let{error:e}=tw(e=>[e.error]);return p.createElement(p.Fragment,null,e?p.createElement(ay,{variation:"error",isDismissible:!0},es(e)):null)},aw=p.forwardRef((e,t)=>{var{as:n="span",children:r,className:o}=e,i=eE(e,["as","children","className"]);return p.createElement(i7,Object.assign({as:n,className:oD(oB.VisuallyHidden,o),ref:t},i),r)});aw.displayName="VisuallyHidden";let aS=e=>{let{className:t}=e,n=eE(e,["className"]);return p.createElement(i7,Object.assign({as:"span",width:"1em",height:"1em",className:oD(oB.Icon,t)},n),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M12 6.0002C15.79 6.0002 19.17 8.1302 20.82 11.5002C20.23 12.7202 19.4 13.7702 18.41 14.6202L19.82 16.0302C21.21 14.8002 22.31 13.2602 23 11.5002C21.27 7.1102 17 4.0002 12 4.0002C10.73 4.0002 9.51 4.2002 8.36 4.5702L10.01 6.2202C10.66 6.0902 11.32 6.0002 12 6.0002ZM10.93 7.14019L13 9.2102C13.57 9.4602 14.03 9.9202 14.28 10.4902L16.35 12.5602C16.43 12.2202 16.49 11.8602 16.49 11.4902C16.5 9.0102 14.48 7.0002 12 7.0002C11.63 7.0002 11.28 7.05019 10.93 7.14019ZM2.01 3.8702L4.69 6.5502C3.06 7.8302 1.77 9.5302 1 11.5002C2.73 15.8902 7 19.0002 12 19.0002C13.52 19.0002 14.98 18.7102 16.32 18.1802L19.74 21.6002L21.15 20.1902L3.42 2.4502L2.01 3.8702ZM9.51 11.3702L12.12 13.9802C12.08 13.9902 12.04 14.0002 12 14.0002C10.62 14.0002 9.5 12.8802 9.5 11.5002C9.5 11.4502 9.51 11.4202 9.51 11.3702V11.3702ZM6.11 7.97019L7.86 9.7202C7.63 10.2702 7.5 10.8702 7.5 11.5002C7.5 13.9802 9.52 16.0002 12 16.0002C12.63 16.0002 13.23 15.8702 13.77 15.6402L14.75 16.6202C13.87 16.8602 12.95 17.0002 12 17.0002C8.21 17.0002 4.83 14.8702 3.18 11.5002C3.88 10.0702 4.9 8.89019 6.11 7.97019Z",fill:"currentColor"})))},ax=e=>{let{className:t}=e,n=eE(e,["className"]);return p.createElement(i7,Object.assign({as:"span",width:"1em",height:"1em",className:oD(oB.Icon,t)},n),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M12 6C15.79 6 19.17 8.13 20.82 11.5C19.17 14.87 15.79 17 12 17C8.21 17 4.83 14.87 3.18 11.5C4.83 8.13 8.21 6 12 6ZM12 4C7 4 2.73 7.11 1 11.5C2.73 15.89 7 19 12 19C17 19 21.27 15.89 23 11.5C21.27 7.11 17 4 12 4ZM12 9C13.38 9 14.5 10.12 14.5 11.5C14.5 12.88 13.38 14 12 14C10.62 14 9.5 12.88 9.5 11.5C9.5 10.12 10.62 9 12 9ZM12 7C9.52 7 7.5 9.02 7.5 11.5C7.5 13.98 9.52 16 12 16C14.48 16 16.5 13.98 16.5 11.5C16.5 9.02 14.48 7 12 7Z",fill:"currentColor"})))},{passwordIsHidden:aE,passwordIsShown:aC,showPassword:a_}=oz,ak=p.forwardRef((e,t)=>{var{fieldType:n,passwordIsHiddenLabel:r=aE,passwordIsShownLabel:o=aC,showPasswordButtonLabel:i=a_,size:a}=e,s=eE(e,["fieldType","passwordIsHiddenLabel","passwordIsShownLabel","showPasswordButtonLabel","size"]);return p.createElement(aa,Object.assign({"aria-checked":"password"!==n,ariaLabel:i,className:oB.FieldShowPassword,ref:t,role:"switch",size:a},s),p.createElement(aw,{"aria-live":"polite"},"password"===n?r:o),"password"===n?p.createElement(ax,{size:a}):p.createElement(aS,{size:a}))});ak.displayName="ShowPasswordButton";let aO="qa-field-description",aA=e=>{var{descriptiveText:t,labelHidden:n}=e,r=eE(e,["descriptiveText","labelHidden"]);return t?p.createElement(ac,Object.assign({"data-testid":aO,className:oD(oB.FieldDescription,{[oB.VisuallyHidden]:n})},r),t):null};aA.displayName="FieldDescription";let aI=e=>{var{errorMessage:t,hasError:n}=e,r=eE(e,["errorMessage","hasError"]);return n&&t?p.createElement(ac,Object.assign({className:oB.FieldErrorMessage},r),t):null};aI.displayName="FieldErrorMessage";let aP=p.forwardRef((e,t)=>{var{children:n,className:r,innerEndComponent:o,innerStartComponent:i,orientation:a="horizontal",outerEndComponent:s,outerStartComponent:l,variation:c}=e,u=eE(e,["children","className","innerEndComponent","innerStartComponent","orientation","outerEndComponent","outerStartComponent","variation"]);let d=null!=o,f=null!=i?oB.FieldGroupHasInnerStart:null,h=d?oB.FieldGroupHasInnerEnd:null,m=oD(oB.FieldGroup,f,h,eS(oB.FieldGroup,a),r);return p.createElement(i9,Object.assign({className:m,"data-orientation":a,ref:t},u),l&&p.createElement(i7,{className:oD(oB.FieldGroupOuterStart,eS(oB.FieldGroupOuterStart,c))},l),p.createElement(i7,{className:oD(oB.FieldGroupFieldWrapper,eS(oB.FieldGroupFieldWrapper,a)),"data-orientation":a},i&&p.createElement(i7,{className:oB.FieldGroupInnerStart},i),n,o&&p.createElement(i7,{className:oB.FieldGroupInnerEnd},o)),s&&p.createElement(i7,{className:oD(oB.FieldGroupOuterEnd,eS(oB.FieldGroupOuterEnd,c))},s))});aP.displayName="FieldGroup";let aT=p.forwardRef((e,t)=>{var{autoComplete:n,checked:r,className:o,defaultChecked:i,defaultValue:a,id:s,isDisabled:l,isReadOnly:c,isRequired:u,size:d,type:f="text",hasError:h=!1,value:m,variation:g,onBlur:v,onChange:y,onCopy:b,onCut:w,onFocus:S,onInput:x,onPaste:E,onSelect:C,onWheel:_}=e,k=eE(e,["autoComplete","checked","className","defaultChecked","defaultValue","id","isDisabled","isReadOnly","isRequired","size","type","hasError","value","variation","onBlur","onChange","onCopy","onCut","onFocus","onInput","onPaste","onSelect","onWheel"]);let O=oD(oB.Input,oB.FieldGroupControl,eS(oB.Input,g),ex(oB.Input,"error",h),eS(oB.Input,d),o);return p.createElement(i7,Object.assign({"aria-invalid":h,as:"input",autoComplete:n,checked:r,className:O,"data-size":d,"data-variation":g,defaultChecked:i,defaultValue:a,isDisabled:l,id:s,onBlur:v,onChange:y,onCopy:b,onCut:w,onFocus:S,onInput:x,onPaste:E,onSelect:C,onWheel:_,readOnly:c,ref:t,required:u,type:f,value:m},k))});aT.displayName="Input";let aR=p.forwardRef((e,t)=>{var{children:n,className:r,visuallyHidden:o}=e,i=eE(e,["children","className","visuallyHidden"]);return p.createElement(i7,Object.assign({as:"label",className:oD(oB.Label,r,{[oB.VisuallyHidden]:o}),ref:t},i),n)});aR.displayName="Label";let aM=e=>{let t={styleProps:{},rest:{}};return Object.keys(e).forEach(n=>{n in oJ?t.styleProps=Object.assign(Object.assign({},t.styleProps),{[n]:e[n]}):t.rest=Object.assign(Object.assign({},t.rest),{[n]:e[n]})}),t},aN=(null==globalThis?void 0:globalThis.document)?p.useLayoutEffect:()=>{},aj="amplify-id",aD=h["useId".toString()]||(()=>{}),aL=0,aB=e=>{let[t,n]=p.useState(aD());return aN(()=>{e||n(e=>null!=e?e:String(aL++))},[e]),null!=e?e:t?`${aj}-${t}`:""},aZ=p.forwardRef((e,t)=>{let{className:n,descriptiveText:r,errorMessage:o,hasError:i=!1,id:a,innerEndComponent:s,innerStartComponent:l,label:c,labelHidden:u=!1,outerEndComponent:d,outerStartComponent:f,size:h,testId:m,variation:g,inputStyles:v}=e,y=eE(e,["className","descriptiveText","errorMessage","hasError","id","innerEndComponent","innerStartComponent","label","labelHidden","outerEndComponent","outerStartComponent","size","testId","variation","inputStyles"]),b=aB(a),w=aB(),S=r?w:void 0,{styleProps:x,rest:E}=aM(y);return p.createElement(i9,Object.assign({className:oD(oB.Field,eS(oB.Field,h),oB.TextField,n),"data-size":h,testId:m},x),p.createElement(aR,{htmlFor:b,visuallyHidden:u},c),p.createElement(aA,{id:w,labelHidden:u,descriptiveText:r}),p.createElement(aP,{outerStartComponent:f,outerEndComponent:d,innerStartComponent:l,innerEndComponent:s,variation:g},p.createElement(aT,Object.assign({"aria-describedby":S,hasError:i,id:b,ref:t,size:h,variation:g},v,E))),p.createElement(aI,{hasError:i,errorMessage:o}))});aZ.displayName="TextField";let aF=p.forwardRef((e,t)=>{var{autoComplete:n="current-password",label:r,className:o,hideShowPassword:i=!1,passwordIsHiddenLabel:a,passwordIsShownLabel:s,showPasswordButtonLabel:l,showPasswordButtonRef:c,size:u}=e,d=eE(e,["autoComplete","label","className","hideShowPassword","passwordIsHiddenLabel","passwordIsShownLabel","showPasswordButtonLabel","showPasswordButtonRef","size"]);let[f,h]=p.useState("password"),m=p.useCallback(()=>{h("password"===f?"text":"password")},[h,f]);return p.createElement(aZ,Object.assign({autoComplete:n,outerEndComponent:i?null:p.createElement(ak,{fieldType:f,onClick:m,passwordIsHiddenLabel:a,passwordIsShownLabel:s,ref:c,size:u,showPasswordButtonLabel:l}),size:u,type:f,label:r,className:oD(oB.PasswordField,o),ref:t},d))});aF.displayName="PasswordField";let az=e=>{let{className:t}=e,n=eE(e,["className"]);return p.createElement(i7,Object.assign({as:"span",width:"1em",height:"1em",className:oD(oB.Icon,t)},n),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M16.59 8.58984L12 13.1698L7.41 8.58984L6 9.99984L12 15.9998L18 9.99984L16.59 8.58984Z",fill:"currentColor"})))},aU=p.forwardRef((e,t)=>{var{autoComplete:n,className:r,size:o,variation:i,value:a,defaultValue:s,hasError:l,icon:c=p.createElement(az,null),iconColor:u,children:d,placeholder:f,isDisabled:h,isRequired:m}=e,g=eE(e,["autoComplete","className","size","variation","value","defaultValue","hasError","icon","iconColor","children","placeholder","isDisabled","isRequired"]);let v=void 0===a&&void 0===s&&f,y=oD(oB.Select,oB.FieldGroupControl,eS(oB.Select,o),eS(oB.Select,i),ex(oB.Select,"error",l),r);return p.createElement(i7,{className:oB.SelectWrapper},p.createElement(i7,Object.assign({"aria-invalid":l,as:"select",autoComplete:n,value:a,defaultValue:v?"":s,isDisabled:h,required:m,"data-size":o,"data-variation":i,className:y,ref:t},g),f&&p.createElement("option",{value:""},f),d),p.createElement(i9,{className:oB.SelectIconWrapper,color:u},c))});aU.displayName="Select";let aH=p.forwardRef((e,t)=>{let{children:n,className:r,descriptiveText:o,errorMessage:i,hasError:a=!1,id:s,label:l,labelHidden:c=!1,options:u,size:d,testId:f,inputStyles:h}=e,m=eE(e,["children","className","descriptiveText","errorMessage","hasError","id","label","labelHidden","options","size","testId","inputStyles"]),g=aB(s),v=aB(),y=o?v:void 0,{styleProps:b,rest:w}=aM(m);return p.createElement(i9,Object.assign({className:oD(oB.Field,eS(oB.Field,d),oB.SelectField,r),"data-size":d,testId:f},b),p.createElement(aR,{htmlFor:g,visuallyHidden:c},l),p.createElement(aA,{id:v,labelHidden:c,descriptiveText:o}),p.createElement(aU,Object.assign({"aria-describedby":y,hasError:a,id:g,ref:t,size:d},w,h),(({children:e,options:t})=>e?((null==t?void 0:t.length)&&console.warn("Amplify UI: <SelectField> component  defaults to rendering children over `options`. When using the `options` prop, omit children."),e):null==t?void 0:t.map((e,t)=>p.createElement("option",{label:e,value:e,key:`${e}-${t}`},e)))({children:n,options:u})),p.createElement(aI,{hasError:a,errorMessage:i}))});aH.displayName="SelectField";let aq=p.forwardRef((e,t)=>{var{className:n,dialCodeList:r,isReadOnly:o}=e,i=eE(e,["className","dialCodeList","isReadOnly"]);let a=null!=r?r:eA,s=p.useMemo(()=>a.map(e=>p.createElement("option",{key:e,value:e,disabled:o},e)),[a,o]);return p.createElement(aH,Object.assign({"aria-disabled":o,autoComplete:"tel-country-code",className:oD(oB.CountryCodeSelect,oB.DialCodeSelect,n),labelHidden:!0,ref:t},i),s)});aq.displayName="CountryCodeSelect";let aV=p.forwardRef((e,t)=>{var{autoComplete:n="tel-national",className:r,countryCodeName:o,countryCodeLabel:i=oF,countryCodeRef:a,defaultCountryCode:s,defaultDialCode:l,dialCodeLabel:c=oF,dialCodeList:u,dialCodeName:d,dialCodeRef:f,hasError:h,isDisabled:m,isReadOnly:g,onCountryCodeChange:v,onDialCodeChange:y,onInput:b,size:w,variation:S}=e,x=eE(e,["autoComplete","className","countryCodeName","countryCodeLabel","countryCodeRef","defaultCountryCode","defaultDialCode","dialCodeLabel","dialCodeList","dialCodeName","dialCodeRef","hasError","isDisabled","isReadOnly","onCountryCodeChange","onDialCodeChange","onInput","size","variation"]);let E=null!=d?d:o,C=null!=c?c:i,_=null!=l?l:s,k=null!=y?y:v,O=null!=f?f:a;return p.createElement(aZ,Object.assign({outerStartComponent:p.createElement(aq,{defaultValue:_,dialCodeList:u,className:r,hasError:h,isDisabled:m,isReadOnly:g,label:C,name:E,onChange:k,ref:O,size:w,variation:S}),autoComplete:n,className:oD(oB.PhoneNumberField,r),hasError:h,isDisabled:m,isReadOnly:g,onInput:b,ref:t,size:w,type:"tel",variation:S},x))});aV.displayName="PhoneNumberField";let aW=({errors:e,id:t,dataAttr:n})=>{if(!((null==e?void 0:e.length)>0))return null;let r=n?{[n]:!0}:{};return p.createElement(i7,Object.assign({},r,{id:t}),e.map(e=>p.createElement(ac,{key:e,role:"alert",variation:"error"},es(e))))};function a$(e){var{autocomplete:t,dialCode:n,name:r,type:o}=e,i=eE(e,["autocomplete","dialCode","name","type"]);let{validationErrors:a}=tw(({validationErrors:e})=>[e]),s=p.useMemo(()=>e7(a[r]),[r,a]),l=(null==s?void 0:s.length)>0,c=aB(),u=l?c:void 0;return"tel"===o?p.createElement(p.Fragment,null,p.createElement(aV,Object.assign({},i,{name:r,defaultDialCode:n,dialCodeName:"country_code",autoComplete:t,hasError:l,"aria-describedby":u})),p.createElement(aW,{dataAttr:"data-amplify-sign-up-errors",errors:s,id:c})):"password"===o?p.createElement(p.Fragment,null,p.createElement(aF,Object.assign({},i,{name:r,autoComplete:t,hasError:l,"aria-describedby":u})),p.createElement(aW,{dataAttr:"data-amplify-sign-up-errors",errors:s,id:c})):p.createElement(p.Fragment,null,p.createElement(aZ,Object.assign({},i,{name:r,autoComplete:t,hasError:l,type:o,"aria-describedby":u})),p.createElement(aW,{dataAttr:"data-amplify-sign-up-errors",errors:s,id:c}))}function aG(){let{fields:e}=tw(({route:e})=>[e]),t=p.useRef(e.map((e,t)=>p.createElement(a$,Object.assign({key:t},e)))).current;return p.createElement(p.Fragment,null,t)}let aK=e=>"signIn"===e||"signUp";function aY({children:e,className:t,variation:n="default"}){let{route:r}=tw(({route:e})=>[e]),{components:{Header:o,Footer:i}}=oM();return p.createElement(i7,{className:t,"data-amplify-authenticator":"","data-variation":n},p.createElement(i7,{"data-amplify-container":""},p.createElement(o,null),p.createElement(i7,{"data-amplify-router":"","data-amplify-router-content":aK(r)?void 0:""},e),p.createElement(i,null)))}let{getDeliveryMessageText:aX,getDeliveryMethodText:aQ,getConfirmingText:aJ,getConfirmText:a0,getResendCodeText:a1}=oj;function a2({className:e,variation:t}){let{isPending:n,resendCode:r,codeDeliveryDetails:o}=tw(e=>[e.isPending,e.resendCode,e.codeDeliveryDetails]),{handleChange:i,handleSubmit:a}=ad(),{components:{ConfirmSignUp:{Header:s=a2.Header,Footer:l=a2.Footer}}}=oM();return p.createElement(aY,{className:e,variation:t},p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-confirmsignup":"",method:"post",onChange:i,onSubmit:a},p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:n},p.createElement(s,null),p.createElement(i9,{direction:"column"},p.createElement(ac,{className:"amplify-authenticator__subtitle"},aX(o)),p.createElement(aG,null),p.createElement(ab,null),p.createElement(aa,{variation:"primary",isDisabled:n,type:"submit",loadingText:aJ(),isLoading:n,fontWeight:"normal"},a0()),p.createElement(aa,{onClick:r,type:"button",fontWeight:"normal"},a1())),p.createElement(l,null))))}a2.Header=()=>{let{codeDeliveryDetails:e}=tw(e=>[e.codeDeliveryDetails]);return p.createElement(al,{level:4},aQ(e))},a2.Footer=function(){return null};let{getChangePasswordText:a3,getChangingText:a4,getBackToSignInText:a5}=oj,a6=({className:e,variation:t})=>{let{isPending:n,toSignIn:r}=tw(e=>[e.isPending,e.toSignIn]),{handleBlur:o,handleChange:i,handleSubmit:a}=ad(),{components:{ForceNewPassword:{FormFields:s=a6.FormFields}}}=oM();return p.createElement(aY,{className:e,variation:t},p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-forcenewpassword":"",method:"post",onChange:i,onSubmit:a,onBlur:o},p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:n},p.createElement(al,{level:3},a3()),p.createElement(s,null),p.createElement(ab,null),p.createElement(aa,{isDisabled:n,type:"submit",variation:"primary",isLoading:n,loadingText:a4(),fontWeight:"normal"},a3()),p.createElement(aa,{onClick:r,type:"button",fontWeight:"normal",variation:"link",size:"small"},a5()))))};a6.FormFields=function(){return p.createElement(aG,null)};var a8=n(86099);let{getConfirmText:a7,getConfirmingText:a9,getBackToSignInText:se}=oj,st=()=>{let{isPending:e,toSignIn:t}=tw(e=>[e.isPending,e.toSignIn]);return p.createElement(i9,{direction:"column"},p.createElement(aa,{isDisabled:e,type:"submit",variation:"primary",fontWeight:"normal",isLoading:e,loadingText:a9()},a7()),p.createElement(aa,{onClick:t,type:"button",variation:"link",fontWeight:"normal",size:"small"},se()))},sn=new g.k("SetupTOTP-logger"),{getSetupTOTPText:sr,getCopiedText:so,getLoadingText:si}=oj,sa=({className:e,variation:t})=>{var n;let{totpSecretCode:r,isPending:o,user:i,QRFields:a}=tw(e=>[e.isPending,e.totpSecretCode]),{handleChange:s,handleSubmit:l}=ad(),{components:{SetupTOTP:{Header:c=sa.Header,Footer:u=sa.Footer}}}=oM(),[d,f]=p.useState(!0),[h,m]=p.useState(),[g,v]=p.useState("COPY"),{totpIssuer:y="AWSCognito",totpUsername:b=null==i?void 0:i.username}=null!==(n=a)&&void 0!==n?n:{},w=p.useCallback(()=>eC(void 0,void 0,void 0,function*(){try{let e=eF(y,b,r),t=yield a8.toDataURL(e);m(t)}catch(e){sn.error(e)}finally{f(!1)}}),[y,b,r]);return p.useEffect(()=>{h||w()},[w,h]),p.createElement(aY,{className:e,variation:t},p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-setup-totp":"",method:"post",onChange:s,onSubmit:l},p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:o},p.createElement(c,null),p.createElement(i9,{direction:"column"},d?p.createElement("p",null,si(),"…"):p.createElement("img",{"data-amplify-qrcode":!0,src:h,alt:"qr code",width:"228",height:"228"}),p.createElement(i9,{"data-amplify-copy":!0},p.createElement("div",null,r),p.createElement(i9,{"data-amplify-copy-svg":!0,onClick:()=>{navigator.clipboard.writeText(r),v(so())}},p.createElement("div",{"data-amplify-copy-tooltip":!0},g),p.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"})))),p.createElement(aG,null),p.createElement(ab,null)),p.createElement(st,null),p.createElement(u,null))))};sa.Header=function(){return p.createElement(al,{level:3},sr())},sa.Footer=function(){return null};var ss=n(62632);function sl(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function sc(e,t=[]){let n=[];function r(t,r){let o=(0,p.createContext)(r),i=n.length;function a(t){let{scope:n,children:r,...a}=t,s=(null==n?void 0:n[e][i])||o,l=(0,p.useMemo)(()=>a,Object.values(a));return(0,p.createElement)(s.Provider,{value:l},r)}function s(n,a){let s=(null==a?void 0:a[e][i])||o,l=(0,p.useContext)(s);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return n=[...n,r],a.displayName=t+"Provider",[a,s]}let o=()=>{let t=n.map(e=>(0,p.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,p.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return o.scopeName=e,[r,su(o,...t)]}function su(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return(0,p.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function sd(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function sf(...e){return t=>e.forEach(e=>sd(e,t))}function sp(...e){return(0,p.useCallback)(sf(...e),e)}var sh=n(27820);let sm=(0,p.forwardRef)((e,t)=>{let{children:n,...r}=e,o=p.Children.toArray(n),i=o.find(sy);if(i){let e=i.props.children,n=o.map(t=>t!==i?t:p.Children.count(e)>1?p.Children.only(null):(0,p.isValidElement)(e)?e.props.children:null);return(0,p.createElement)(sg,(0,sh.Z)({},r,{ref:t}),(0,p.isValidElement)(e)?(0,p.cloneElement)(e,void 0,n):null)}return(0,p.createElement)(sg,(0,sh.Z)({},r,{ref:t}),n)});sm.displayName="Slot";let sg=(0,p.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,p.isValidElement)(n)?(0,p.cloneElement)(n,{...sb(r,n.props),ref:sf(t,n.ref)}):p.Children.count(n)>1?p.Children.only(null):null});sg.displayName="SlotClone";let sv=({children:e})=>(0,p.createElement)(p.Fragment,null,e);function sy(e){return(0,p.isValidElement)(e)&&e.type===sv}function sb(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...e)=>{null==i||i(...e),null==o||o(...e)}:"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function sw(e){let t=e+"CollectionProvider",[n,r]=sc(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:n}=e,r=p.useRef(null),i=p.useRef(new Map).current;return p.createElement(o,{scope:t,itemMap:i,collectionRef:r},n)},s=e+"CollectionSlot",l=p.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=sp(t,i(s,n).collectionRef);return p.createElement(sm,{ref:o},r)}),c=e+"CollectionItemSlot",u="data-radix-collection-item";function d(t){let n=i(e+"CollectionConsumer",t);return p.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${u}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:a,Slot:l,ItemSlot:p.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,a=p.useRef(null),s=sp(t,a),l=i(c,n);return p.useEffect(()=>(l.itemMap.set(a,{ref:a,...o}),()=>void l.itemMap.delete(a))),p.createElement(sm,{[u]:"",ref:s},r)})},d,r]}let sS=(null==globalThis?void 0:globalThis.document)?p.useLayoutEffect:()=>{},sx=h["useId".toString()]||(()=>void 0),sE=0;function sC(e){let[t,n]=p.useState(sx());return sS(()=>{e||n(e=>null!=e?e:String(sE++))},[e]),e||(t?`radix-${t}`:"")}var s_=n(56321);let sk=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,p.forwardRef)((e,n)=>{let{asChild:r,...o}=e,i=r?sm:t;return(0,p.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,p.createElement)(i,(0,ss.Z)({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function sO(e){let t=(0,p.useRef)(e);return(0,p.useEffect)(()=>{t.current=e}),(0,p.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function sA({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,o]=sI({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,s=sO(n);return[a,(0,p.useCallback)(t=>{if(i){let n=t,r="function"==typeof t?n(e):t;r!==e&&s(r)}else o(t)},[i,e,o,s])]}function sI({defaultProp:e,onChange:t}){let n=(0,p.useState)(e),[r]=n,o=(0,p.useRef)(r),i=sO(t);return(0,p.useEffect)(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}let sP=(0,p.createContext)(void 0);function sT(e){let t=(0,p.useContext)(sP);return e||t||"ltr"}let sR="rovingFocusGroup.onEntryFocus",sM={bubbles:!1,cancelable:!0},sN="RovingFocusGroup",[sj,sD,sL]=sw(sN),[sB,sZ]=sc(sN,[sL]),[sF,sz]=sB(sN),sU=(0,p.forwardRef)((e,t)=>(0,p.createElement)(sj.Provider,{scope:e.__scopeRovingFocusGroup},(0,p.createElement)(sj.Slot,{scope:e.__scopeRovingFocusGroup},(0,p.createElement)(sH,(0,ss.Z)({},e,{ref:t}))))),sH=(0,p.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,...u}=e,d=(0,p.useRef)(null),f=sp(t,d),h=sT(i),[m=null,g]=sA({prop:a,defaultProp:s,onChange:l}),[v,y]=(0,p.useState)(!1),b=sO(c),w=sD(n),S=(0,p.useRef)(!1);return(0,p.useEffect)(()=>{let e=d.current;if(e)return e.addEventListener(sR,b),()=>e.removeEventListener(sR,b)},[b]),(0,p.createElement)(sF,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:m,onItemFocus:(0,p.useCallback)(e=>g(e),[g]),onItemShiftTab:(0,p.useCallback)(()=>y(!0),[])},(0,p.createElement)(sk.div,(0,ss.Z)({tabIndex:v?-1:0,"data-orientation":r},u,{ref:f,style:{outline:"none",...e.style},onMouseDown:sl(e.onMouseDown,()=>{S.current=!0}),onFocus:sl(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!v){let t=new CustomEvent(sR,sM);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=w().filter(e=>e.focusable);sK([e.find(e=>e.active),e.find(e=>e.id===m),...e].filter(Boolean).map(e=>e.ref.current))}}S.current=!1}),onBlur:sl(e.onBlur,()=>y(!1))})))}),sq="RovingFocusGroupItem",sV=(0,p.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,...i}=e,a=sC(),s=sz(sq,n),l=s.currentTabStopId===a,c=sD(n);return(0,p.createElement)(sj.ItemSlot,{scope:n,id:a,focusable:r,active:o},(0,p.createElement)(sk.span,(0,ss.Z)({tabIndex:l?0:-1,"data-orientation":s.orientation},i,{ref:t,onMouseDown:sl(e.onMouseDown,e=>{r?s.onItemFocus(a):e.preventDefault()}),onFocus:sl(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:sl(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){s.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=sG(e,s.orientation,s.dir);if(void 0!==t){e.preventDefault();let n=c().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=s.loop?sY(n,r+1):n.slice(r+1)}setTimeout(()=>sK(n))}})})))}),sW={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function s$(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function sG(e,t,n){let r=s$(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return sW[r]}function sK(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function sY(e,t){return e.map((n,r)=>e[(t+r)%e.length])}let sX=sU,sQ=sV;function sJ(e,t){return(0,p.useReducer)((e,n)=>{let r=t[e][n];return null!=r?r:e},e)}let s0=e=>{let{present:t,children:n}=e,r=s1(t),o="function"==typeof n?n({present:r.isPresent}):p.Children.only(n),i=sp(r.ref,o.ref);return"function"==typeof n||r.isPresent?(0,p.cloneElement)(o,{ref:i}):null};function s1(e){let[t,n]=(0,p.useState)(),r=(0,p.useRef)({}),o=(0,p.useRef)(e),i=(0,p.useRef)("none"),[a,s]=sJ(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,p.useEffect)(()=>{let e=s2(r.current);i.current="mounted"===a?e:"none"},[a]),sS(()=>{let t=r.current,n=o.current;if(n!==e){let r=i.current,a=s2(t);if(e)s("MOUNT");else if("none"===a||(null==t?void 0:t.display)==="none")s("UNMOUNT");else{let e=r!==a;n&&e?s("ANIMATION_OUT"):s("UNMOUNT")}o.current=e}},[e,s]),sS(()=>{if(t){let e=e=>{let n=s2(r.current).includes(e.animationName);e.target===t&&n&&(0,s_.flushSync)(()=>s("ANIMATION_END"))},n=e=>{e.target===t&&(i.current=s2(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:(0,p.useCallback)(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}function s2(e){return(null==e?void 0:e.animationName)||"none"}s0.displayName="Presence";let s3="Tabs",[s4,s5]=sc(s3,[sZ]),s6=sZ(),[s8,s7]=s4(s3),s9=(0,p.forwardRef)((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=sT(s),[d,f]=sA({prop:r,onChange:o,defaultProp:i});return(0,p.createElement)(s8,{scope:n,baseId:sC(),value:d,onValueChange:f,orientation:a,dir:u,activationMode:l},(0,p.createElement)(sk.div,(0,ss.Z)({dir:u,"data-orientation":a},c,{ref:t})))}),le="TabsList",lt=(0,p.forwardRef)((e,t)=>{let{__scopeTabs:n,loop:r=!0,...o}=e,i=s7(le,n),a=s6(n);return(0,p.createElement)(sX,(0,ss.Z)({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),(0,p.createElement)(sk.div,(0,ss.Z)({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),ln="TabsTrigger",lr=(0,p.forwardRef)((e,t)=>{let{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=s7(ln,n),s=s6(n),l=la(a.baseId,r),c=ls(a.baseId,r),u=r===a.value;return(0,p.createElement)(sQ,(0,ss.Z)({asChild:!0},s,{focusable:!o,active:u}),(0,p.createElement)(sk.button,(0,ss.Z)({type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},i,{ref:t,onMouseDown:sl(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(r)}),onKeyDown:sl(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&a.onValueChange(r)}),onFocus:sl(e.onFocus,()=>{let e="manual"!==a.activationMode;u||o||!e||a.onValueChange(r)})})))}),lo="TabsContent",li=(0,p.forwardRef)((e,t)=>{let{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,s=s7(lo,n),l=la(s.baseId,r),c=ls(s.baseId,r),u=r===s.value,d=(0,p.useRef)(u);return(0,p.useEffect)(()=>{let e=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,p.createElement)(s0,{present:o||u},({present:n})=>(0,p.createElement)(sk.div,(0,ss.Z)({"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!n,id:c,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),n&&i))});function la(e,t){return`${e}-trigger-${t}`}function ls(e,t){return`${e}-content-${t}`}let ll=s9,lc=lt,lu=lr,ld=li,{Root:lf,List:lp,Trigger:lh,Content:lm}=ec(d),lg=e=>p.isValidElement(e),lv=p.forwardRef((e,t)=>{var{ariaLabel:n,children:r,className:o,defaultIndex:i=0,currentIndex:a,onChange:s,indicatorPosition:l,spacing:c}=e,u=eE(e,["ariaLabel","children","className","defaultIndex","currentIndex","onChange","indicatorPosition","spacing"]);let d={defaultValue:i.toString(),value:null!=a?a.toString():void 0,onValueChange:s},f=p.Children.toArray(r).filter(e=>!!e);return p.createElement(lf,Object.assign({},d),p.createElement(lp,{"aria-label":n},p.createElement(i9,Object.assign({className:oD(oB.Tabs,o),"data-indicator-position":l,ref:t},u),p.Children.map(f,(e,t)=>{if(lg(e))return p.cloneElement(e,{"data-spacing":c,key:t,value:`${t}`})}))),p.Children.map(f,(e,t)=>{if(lg(e))return p.createElement(lm,{key:t,value:`${t}`},e.props.children)}))}),ly=p.forwardRef((e,t)=>{var{className:n,title:r}=e,o=eE(e,["className","title"]);return p.createElement(i7,Object.assign({as:lh,className:oD(oB.TabItems,n),ref:t},o),r)});lv.displayName="Tabs",ly.displayName="TabItem",function(e){e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google"}(l||(l={})),function(e){e.Email="email",e.PhoneNumber="phone_number"}(c||(c={}));let lb=p.forwardRef((e,t)=>{var{className:n,orientation:r="horizontal",size:o,label:i}=e,a=eE(e,["className","orientation","size","label"]);let s=oD(oB.Divider,eS(oB.Divider,r),eS(oB.Divider,o),i?oB.DividerLabel:null,n);return p.createElement(i7,Object.assign({"aria-orientation":r,as:"hr",className:s,"data-size":o,"data-label":i,ref:t},a))});lb.displayName="Divider";let lw={minX:0,minY:0,width:24,height:24},lS=p.forwardRef((e,t)=>{let n;var{className:r,as:o="svg",fill:i="currentColor",pathData:a,viewBox:s=lw,children:l,paths:c}=e,u=eE(e,["className","as","fill","pathData","viewBox","children","paths"]);let d=s.minX?s.minX:lw.minX,f=s.minY?s.minY:lw.minY,h=s.width?s.width:lw.width,m=s.height?s.height:lw.height;return l&&(n=l),c&&(n=c.map((e,t)=>p.createElement("path",Object.assign({},e,{key:t})))),a&&(n=p.createElement("path",{d:a,fill:i})),p.createElement(i7,Object.assign({as:o,className:oD(oB.Icon,r),ref:t,viewBox:`${d} ${f} ${h} ${m}`},u),n)});lS.displayName="Icon";let lx=()=>p.createElement("svg",{"aria-label":"Apple icon",className:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},p.createElement("path",{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"})),lE=()=>p.createElement("svg",{"aria-label":"Google icon",className:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},p.createElement("path",{d:"M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",fill:"#4285F4"}),p.createElement("path",{d:"M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",fill:"#34A853"}),p.createElement("path",{d:"M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",fill:"#FBBC05"}),p.createElement("path",{d:"M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",fill:"#EB4335"})),lC=()=>p.createElement(lS,{className:"federated-sign-in-icon",ariaLabel:"Facebook icon",viewBox:{minX:0,minY:0,width:279,height:538},pathData:"M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",fill:"#1877F2"}),l_=()=>p.createElement("svg",{"aria-label":"Amazon icon",className:"amplify-icon federated-sign-in-icon",viewBox:"0 0 243 264",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},p.createElement("path",{d:"M230.826 208.039C227.468 203.683 208.551 205.982 200.056 206.998C197.471 207.321 197.076 205.042 199.407 203.405C214.475 192.665 239.201 195.766 242.082 199.364C244.966 202.982 241.337 228.071 227.173 240.049C225.001 241.888 222.93 240.904 223.898 238.468C227.077 230.431 234.205 212.419 230.826 208.039ZM123.769 264C71.0234 264 39.0764 241.955 14.7853 217.542C9.97339 212.706 3.71799 206.296 0.311513 200.691C-1.09773 198.372 2.59096 195.022 5.04421 196.844C35.239 219.268 79.1012 239.538 122.53 239.538C151.82 239.538 188.046 227.47 217.669 214.868C222.147 212.966 222.147 219.18 221.512 221.061C221.183 222.032 206.515 236.221 186.247 247.047C167.304 257.166 143.397 264 123.769 264Z",fill:"#F2541B"}),p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M142.943 111.185C142.943 124.756 143.268 136.054 136.406 148.123C130.856 157.913 122.027 163.95 112.222 163.95C98.8288 163.95 90.9806 153.772 90.9806 138.693C90.9806 109.036 117.677 103.647 142.943 103.647V111.185ZM178.166 196.081C175.858 198.15 171.635 198.22 169.914 196.894C157.974 187.684 149.89 173.688 149.89 173.688C130.706 193.156 117.127 199 92.2879 199C62.8772 199 40 180.905 40 144.729C40 116.461 55.3552 97.2408 77.2563 87.823C96.2094 79.5256 122.684 78.0173 142.943 75.7517C142.943 75.7517 144.633 53.933 138.699 45.9806C134.098 39.8163 126.272 36.9329 119.089 36.9329C106.127 36.8829 93.61 43.9051 91.1262 57.4188C90.4136 61.2829 87.5533 64.5261 84.54 64.206L51.0823 60.5922C48.5156 60.2951 45.0381 57.6639 45.8636 53.3081C53.644 12.3684 90.7373 0 123.989 0C140.983 0 163.21 4.51651 176.608 17.3349C193.597 33.1648 191.969 54.2755 191.969 77.2722V131.51C191.969 147.835 198.768 154.987 205.151 163.775C207.376 166.953 207.886 170.714 205.04 173.032C197.902 178.999 178.166 196.081 178.166 196.081Z",fill:"#F2541B"})),lk=e=>{let t;let{icon:n,provider:r,text:o}=e,{toFederatedSignIn:i}=tw();return"facebook"===n?t=p.createElement(lC,null):"google"===n?t=p.createElement(lE,null):"amazon"===n?t=p.createElement(l_,null):"apple"===n&&(t=p.createElement(lx,null)),p.createElement(aa,{onClick:e=>{e.preventDefault(),i({provider:r})},className:"federated-sign-in-button",fontWeight:"normal",gap:"1rem"},t,p.createElement(ac,{as:"span"},o))},{getSignInWithFederationText:lO,getOrText:lA}=oj;function lI(){let{route:e,socialProviders:t}=tw(({route:e,socialProviders:t})=>[e,t]);return 0===t.length?null:p.createElement(i9,{direction:"column",padding:"0 0 1rem 0",className:"federated-sign-in-container"},t.map(t=>{switch(t){case"amazon":return p.createElement(lk,{icon:"amazon",key:t,provider:l.Amazon,text:lO(e,t)});case"apple":return p.createElement(lk,{icon:"apple",key:t,provider:l.Apple,text:lO(e,t)});case"facebook":return p.createElement(lk,{icon:"facebook",key:t,provider:l.Facebook,text:lO(e,t)});case"google":return p.createElement(lk,{icon:"google",key:t,provider:l.Google,text:lO(e,t)});default:console.error(`Authenticator does not support ${t}. Please open an issue: https://github.com/aws-amplify/amplify-ui/issues/choose`)}}),p.createElement(lb,{size:"small",label:lA()}))}let{getSignInText:lP,getSigningInText:lT,getForgotPasswordText:lR}=oj;function lM(){let{isPending:e}=tw(e=>[e.isPending]),{handleChange:t,handleSubmit:n}=ad(),{components:{SignIn:{Header:r=lM.Header,Footer:o=lM.Footer}}}=oM();return p.createElement(i7,null,p.createElement(r,null),p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-signin":"",method:"post",onSubmit:n,onChange:t},p.createElement(lI,null),p.createElement(i9,{direction:"column"},p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:e},p.createElement(aw,null,p.createElement("legend",null,lP())),p.createElement(aG,null)),p.createElement(ab,null),p.createElement(aa,{isDisabled:e,isFullWidth:!0,type:"submit",variation:"primary",isLoading:e,loadingText:lT()},lP()))),p.createElement(o,null))}lM.Footer=()=>{let{toResetPassword:e}=tw(e=>[e.toResetPassword]);return p.createElement(i7,{"data-amplify-footer":""},p.createElement(aa,{fontWeight:"normal",onClick:e,size:"small",variation:"link"},lR()))},lM.Header=function(){return null};let{getCreateAccountText:lN,getCreatingAccountText:lj}=oj;function lD(){let{hasValidationErrors:e,isPending:t}=tw(e=>[e.hasValidationErrors,e.isPending]),{handleChange:n,handleBlur:r,handleSubmit:o}=ad(),{components:{SignUp:{Header:i=lD.Header,FormFields:a=lD.FormFields,Footer:s=lD.Footer}}}=oM();return p.createElement(i7,null,p.createElement(i,null),p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-signup":"",method:"post",onChange:n,onSubmit:o,onBlur:r},p.createElement(lI,null),p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:t},p.createElement(i9,{direction:"column"},p.createElement(a,null),p.createElement(ab,null)),p.createElement(aa,{isDisabled:e||t,isFullWidth:!0,type:"submit",variation:"primary",isLoading:t,loadingText:lj()},lN()))),p.createElement(s,null))}lD.Header=function(){return null},lD.FormFields=function(){return p.createElement(aG,null)},lD.Footer=function(){return null};let{getSignInTabText:lL,getSignUpTabText:lB}=oj,lZ=({className:e,hideSignUp:t,variation:n})=>{let{route:r,toSignIn:o,toSignUp:i}=tw(e=>[e.route,e.toSignIn,e.toSignUp]);return p.createElement(aY,{className:e,variation:n},t?p.createElement(i7,{"data-amplify-router-content":""},"signIn"===r&&p.createElement(lM,null)):p.createElement(lv,{indicatorPosition:"top",currentIndex:"signIn"===r?0:1,spacing:"equal",justifyContent:"center",onChange:()=>"signIn"===r?i():o()},p.createElement(ly,{title:lL()},p.createElement(i7,{"data-amplify-router-content":""},"signIn"===r&&p.createElement(lM,null))),p.createElement(ly,{title:lB()},p.createElement(i7,{"data-amplify-router-content":""},"signUp"===r&&p.createElement(lD,null)))))},{getSubmitText:lF,getSubmittingText:lz}=oj,lU=e=>{let{cancelButtonSendType:t,cancelButtonText:n,submitButtonText:r}=e,{isPending:o,resendCode:i,skipVerification:a,toSignIn:s}=tw(e=>[e.isPending]),l=o?p.createElement(p.Fragment,null,lz(),"…"):p.createElement(p.Fragment,null,lF()),c=null!=r?r:l;return p.createElement(i9,{direction:"column"},p.createElement(aa,{fontWeight:"normal",variation:"primary",isDisabled:o,type:"submit"},c),p.createElement(aa,{onClick:()=>{switch(t){case"SKIP":a();break;case"RESEND":i();break;case"SIGN_IN":s();break;default:return}},type:"button",variation:"link",fontWeight:"normal",size:"small"},n))},{getAccountRecoveryInfoText:lH,getSkipText:lq}=oj,lV=({className:e,variation:t})=>{let{isPending:n}=tw(e=>[e.isPending]),{handleChange:r,handleSubmit:o}=ad(),{components:{ConfirmVerifyUser:{Header:i=lV.Header,Footer:a=lV.Footer}}}=oM();return p.createElement(aY,{className:e,variation:t},p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-confirmverifyuser":"",method:"post",onChange:r,onSubmit:o},p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:n},p.createElement(i,null),p.createElement(i9,{direction:"column"},p.createElement(aG,null)),p.createElement(ab,null),p.createElement(lU,{cancelButtonText:lq(),cancelButtonSendType:"SKIP"}),p.createElement(a,null))))};lV.Header=function(){return p.createElement(al,{level:3},lH())},lV.Footer=function(){return null};let lW=p.createContext({name:"default"}),l$=()=>(0,p.useContext)(lW),lG=(e,t)=>{var{children:n,className:r,id:o,isDisabled:i,testId:a,value:s,labelPosition:l,height:c,width:u,bottom:d,left:f,position:h,padding:m,right:g,top:v}=e,y=eE(e,["children","className","id","isDisabled","testId","value","labelPosition","height","width","bottom","left","position","padding","right","top"]);let{currentValue:b,defaultValue:w,name:S,hasError:x,isGroupDisabled:E,isRequired:C,isReadOnly:_,onChange:k,size:O,labelPosition:A}=l$(),I=E||i||_&&w!==s,P=void 0!==b?s===b:void 0,T=void 0!==w?s===w:void 0,R=l||A;return p.createElement(i9,{as:"label",className:oD(oB.Radio,ex(oB.Radio,"disabled",I),r),"data-disabled":I,"data-label-position":R,height:c,width:u,bottom:d,top:v,right:g,left:f,position:h,padding:m},n&&p.createElement(ac,{as:"span",className:oB.RadioLabel,"data-disabled":I},n),p.createElement(aT,Object.assign({checked:P,className:oD(oB.VisuallyHidden,oB.RadioInput),defaultChecked:T,hasError:x,id:o,isDisabled:I,isReadOnly:_,isRequired:C,onChange:k,ref:t,type:"radio",name:S,value:s},y)),p.createElement(i9,{"aria-hidden":"true",as:"span",className:oD(oB.RadioButton,eS(oB.RadioButton,O)),"data-size":O,testId:a}))},lK=p.forwardRef(lG);lK.displayName="Radio";let lY=(e,t)=>e&&t?`${e}-${t}`:void 0,lX=p.forwardRef((e,t)=>{var{children:n,className:r,defaultValue:o,descriptiveText:i,errorMessage:a,hasError:s=!1,id:l,isDisabled:c,isRequired:u,isReadOnly:d,label:f,labelHidden:h=!1,labelPosition:m,onChange:g,name:v,size:y,testId:b,value:w}=e,S=eE(e,["children","className","defaultValue","descriptiveText","errorMessage","hasError","id","isDisabled","isRequired","isReadOnly","label","labelHidden","labelPosition","onChange","name","size","testId","value"]);let x=aB(l),E=aB(),C=i?E:void 0,_=lY(b,oB.RadioGroup),k=p.useMemo(()=>({currentValue:w,defaultValue:o,hasError:s,isRequired:u,isReadOnly:d,isGroupDisabled:c,onChange:g,size:y,name:v,labelPosition:m}),[o,s,c,u,d,g,y,v,w,m]);return p.createElement(i9,Object.assign({as:"fieldset",className:oD(oB.Field,eS(oB.Field,y),oB.RadioGroupField,r),"data-size":y,ref:t,role:"radiogroup",testId:b},S),p.createElement(aw,{as:"legend"},f),p.createElement(aR,{"aria-hidden":!0,visuallyHidden:h},f),p.createElement(aA,{id:E,labelHidden:h,descriptiveText:i}),p.createElement(i9,{"aria-describedby":C,className:oB.RadioGroup,id:x,testId:_},p.createElement(lW.Provider,{value:k},n)),p.createElement(aI,{hasError:s,errorMessage:a}))});lX.displayName="RadioGroupField";let{getSkipText:lQ,getVerifyText:lJ,getVerifyContactText:l0,getAccountRecoveryInfoText:l1}=oj,l2=e=>Object.entries(e).map(([e,t])=>p.createElement(lK,{name:"unverifiedAttr",value:e,key:e},((e,t)=>{let n=es(e),r=t;if("Phone Number"===e)r=ej(t);else if("Email"===e){let e=t.split("@");r=`${eN(e[0])}@${e[1]}`}return`${n}: ${r}`})(eI[e].label,t))),l3=({className:e,variation:t})=>{let{components:{VerifyUser:{Header:n=l3.Header,Footer:r=l3.Footer}}}=oM(),{isPending:o,unverifiedContactMethods:i}=tw(({isPending:e,unverifiedContactMethods:t})=>[e,t]),{handleChange:a,handleSubmit:s}=ad(),l=o?p.createElement(p.Fragment,null,"Verifying…"):p.createElement(p.Fragment,null,lJ()),c=p.createElement(lX,{label:l0(),labelHidden:!0,name:"verify_context",isDisabled:o},l2(i));return p.createElement(aY,{className:e,variation:t},p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-verifyuser":"",method:"post",onChange:a,onSubmit:s},p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:o},p.createElement(n,null),c,p.createElement(ab,null),p.createElement(lU,{cancelButtonText:lQ(),cancelButtonSendType:"SKIP",submitButtonText:l}),p.createElement(r,null))))};l3.Header=function(){return p.createElement(al,{level:3},l1())},l3.Footer=function(){return null};let{getChallengeText:l4}=oj,l5=({className:e,variation:t})=>{let{isPending:n}=tw(e=>[e.isPending]),{handleChange:r,handleSubmit:o}=ad(),{components:{ConfirmSignIn:{Header:i=l5.Header,Footer:a=l5.Footer}}}=oM();return p.createElement(aY,{className:e,variation:t},p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-confirmsignin":"",method:"post",onChange:r,onSubmit:o},p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:n},p.createElement(i,null),p.createElement(i9,{direction:"column"},p.createElement(aG,null),p.createElement(ab,null)),p.createElement(st,null),p.createElement(a,null))))};l5.Header=function(){let{user:{challengeName:e}}=tw(({user:e})=>[e]);return p.createElement(al,{level:3},l4(e))},l5.Footer=function(){return null};let{getResendCodeText:l6,getResetYourPasswordText:l8}=oj,l7=({className:e,variation:t})=>{let{isPending:n}=tw(e=>[e.isPending]),{handleBlur:r,handleChange:o,handleSubmit:i}=ad(),{components:{ConfirmResetPassword:{Header:a=l7.Header,Footer:s=l7.Footer}}}=oM();return p.createElement(aY,{className:e,variation:t},p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-confirmresetpassword":"",method:"post",onSubmit:i,onChange:o,onBlur:r},p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:n},p.createElement(a,null),p.createElement(i9,{direction:"column"},p.createElement(aG,null)),p.createElement(ab,null),p.createElement(lU,{cancelButtonSendType:"RESEND",cancelButtonText:l6()}),p.createElement(s,null))))};l7.Header=function(){let e=l8();return p.createElement(al,{level:3},e)},l7.Footer=function(){return null};let{getBackToSignInText:l9,getSendingText:ce,getSendCodeText:ct,getResetYourPasswordText:cn}=oj,cr=({className:e,variation:t})=>{let{isPending:n}=tw(e=>[e.isPending]),{handleChange:r,handleSubmit:o}=ad(),{components:{ResetPassword:{Header:i=cr.Header,Footer:a=cr.Footer}}}=oM();return p.createElement(aY,{className:e,variation:t},p.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-resetpassword":"",method:"post",onChange:r,onSubmit:o},p.createElement(i9,{as:"fieldset",direction:"column",isDisabled:n},p.createElement(i,null),p.createElement(i9,{direction:"column"},p.createElement(aG,null)),p.createElement(ab,null),p.createElement(lU,{cancelButtonText:l9(),cancelButtonSendType:"SIGN_IN",submitButtonText:n?p.createElement(p.Fragment,null,ce(),"…"):p.createElement(p.Fragment,null,ct())}),p.createElement(a,null))))};cr.Header=function(){return p.createElement(al,{level:3},cn())},cr.Footer=function(){return null};let co=e=>"signIn"===e||"signUp"===e;function ci(){return null}function ca({className:e,hideSignUp:t,variation:n}){let{route:r}=tw(({route:e})=>[e]),o=(0,p.useMemo)(()=>(e=>{switch(e){case"authenticated":case"idle":case"setup":case"transition":return ci;case"confirmSignUp":return a2;case"confirmSignIn":return l5;case"setupTOTP":return sa;case"signIn":case"signUp":return lZ;case"forceNewPassword":return a6;case"resetPassword":return cr;case"confirmResetPassword":return l7;case"verifyUser":return l3;case"confirmVerifyUser":return lV;default:return console.warn(`Unhandled Authenticator route - please open an issue: ${e}`),ci}})(r),[r]);return p.createElement(o,{className:e,hideSignUp:co(r)?t:void 0,variation:n})}let cs={Header:()=>null,SignIn:{Header:lM.Header,Footer:lM.Footer},SignUp:{Header:lD.Header,FormFields:lD.FormFields,Footer:lD.Footer},ConfirmSignUp:{Header:a2.Header,Footer:a2.Footer},SetupTOTP:{Header:sa.Header,Footer:sa.Footer},ConfirmResetPassword:{Header:l7.Header,Footer:l7.Footer},ConfirmSignIn:{Header:l5.Header,Footer:l5.Footer},VerifyUser:{Header:l3.Header,Footer:l3.Footer},ConfirmVerifyUser:{Header:lV.Header,Footer:lV.Footer},ForceNewPassword:{FormFields:a6.FormFields},ResetPassword:{Header:cr.Header,Footer:cr.Footer},Footer:()=>null},cl="4.6.4";function cc({children:e,className:t,components:n,formFields:r,hideSignUp:o,initialState:i,loginMechanisms:a,signUpAttributes:s,services:l,socialProviders:c,variation:u}){let{route:d,signOut:f,user:h}=tw(({route:e,signOut:t,user:n})=>[e,t,n]);tx({initialState:i,loginMechanisms:a,services:l,signUpAttributes:s,socialProviders:c,formFields:r});let m=p.useMemo(()=>({components:Object.assign(Object.assign({},cs),n)}),[n]);return"authenticated"===d||"signOut"===d?e?p.createElement(p.Fragment,null,ew(e)?e({signOut:f,user:h}):e):null:p.createElement(oR.Provider,{value:m},p.createElement(ca,{className:t,hideSignUp:o,variation:u}))}function cu(e){return p.useEffect(()=>{eM({packageName:"@aws-amplify/ui-react",version:cl})},[]),p.createElement(oT,null,p.createElement(cc,Object.assign({},e)))}cu.Provider=oT,cu.ResetPassword=cr,cu.SetupTOTP=sa,cu.SignIn=lM,cu.SignUp=lD,cu.ForceNewPassword=a6;var cd=n(73352),cf=n.n(cd),cp=n(49626),ch=n.n(cp),cm=n(74992),cg=n(7726),cv={identityPoolId:cg.O.NEXT_PUBLIC_VALVE_AWS_COGNITO_IDENTITY_POOL_ID,region:cg.O.NEXT_PUBLIC_VALVE_AWS_REGION,userPoolId:cg.O.NEXT_PUBLIC_VALVE_AWS_COGNITO_USER_POOL_ID,userPoolWebClientId:cg.O.NEXT_PUBLIC_VALVE_AWS_COGNITO_USER_POOL_WEB_CLIENT_ID,mandatorySignIn:!1,oauth:{options:{AdvancedSecurityDataCollectionFlag:!0}}};let cy="".concat(cg.O.NEXT_PUBLIC_AGENT_URL,"/signin");function cb(){return cg.O.NEXT_PUBLIC_VALVE_AWS_OAUTH_DOMAIN&&["localhost","colliers.valvespace.com","colliers-test.valvespace.com","sso-test-agent.valvespace.com"].includes(window.location.hostname)?{domain:cg.O.NEXT_PUBLIC_VALVE_AWS_OAUTH_DOMAIN,scope:["email","openid","aws.cognito.signin.user.admin","profile"],redirectSignIn:cy,redirectSignOut:cy,responseType:"code",label:"Sign in with SSO"}:{}}let cw=p.forwardRef((e,t)=>{var{className:n}=e,r=eE(e,["className"]);return p.createElement(i7,Object.assign({as:"img",ref:t,className:oD(oB.Image,n)},r))});cw.displayName="Image";let cS=()=>{let{tokens:e}=i0();return(0,f.jsx)(i7,{textAlign:"center",padding:e.space.large,children:(0,f.jsx)(cw,{alt:"Valve",src:"/logo.svg",height:40})})};var cx=n(43229),cE=n(72477),cC=n(29787),c_=n.n(cC);let ck=()=>{(0,p.useEffect)(()=>{let e=e_.X.listen("auth",e=>{var t,n,r;switch(null==e?void 0:null===(t=e.payload)||void 0===t?void 0:t.event){case"forgotPassword":cx.ZP.success({content:"Code has been successfully sent to your inbox",key:null==e?void 0:null===(n=e.payload)||void 0===n?void 0:n.event});break;case"forgotPasswordSubmit":cx.ZP.success({content:"Password has been changed successfully",key:null==e?void 0:null===(r=e.payload)||void 0===r?void 0:r.event})}});return()=>e()},[]);let e=()=>{e3.g.federatedSignIn()},t=cb();return(0,f.jsxs)("div",{className:"mx-8 -mb-8 mt-8 flex flex-col gap-4",children:[(0,f.jsx)("div",{className:"mb-4 text-3xl font-medium",children:E.get("Sign in to your account")}),!c_()(t)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(cE.ZP,{type:"primary",size:"large",block:!0,onClick:e,children:t.label}),(0,f.jsx)("div",{className:"text-center",children:E.get("or")})]})]})};n(37534),E.putVocabularies(el),E.setLanguage("en"),E.putVocabulariesForLanguage("en",{"Send code":"Send code via email","Incorrect username or password.":"The username or password you entered is incorrect, please double check and re-enter. If you need assistance please contact ".concat(cg.O.NEXT_PUBLIC_PRODUCT_SALES_EMAIL,"."),"User does not exist.":"The username or password  you entered is incorrect, please double check and re-enter. If you need assistance please contact ".concat(cg.O.NEXT_PUBLIC_PRODUCT_SALES_EMAIL,".")}),b.d.configure({Auth:{...cv,oauth:cb(),cookieStorage:{domain:cg.O.NEXT_PUBLIC_COOKIE_DOMAIN,path:"/",expires:365,secure:"production"===cg.O.NEXT_PUBLIC_NODE_ENV}}});let cO=e=>{let{children:t,skipAuth:n}=e,{analytics:r}=(0,cm.Qo)(),o=e=>{var t;let n=cf()(null==e?void 0:e.payload,["signInUserSession","challengeParam","pool","storage"]);switch(null==e?void 0:null===(t=e.payload)||void 0===t?void 0:t.event){case"signIn":r.track("User Signed In",n);break;case"signUp":r.track("User Signed Up",n);break;case"signOut":r.track("User Signed Out",n);break;case"configured":r.track("AWS Configured",n);break;case"signIn_failure":r.track("Sign In Failed",n)}};return(0,p.useEffect)(()=>{let e=e_.X.listen("auth",o);return()=>e()},[]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(ch(),{src:"https://amazon-cognito-assets.".concat(cg.O.NEXT_PUBLIC_VALVE_AWS_REGION,".amazoncognito.com/amazon-cognito-advanced-security-data.min.js")}),n?t:(0,f.jsx)(cu,{hideSignUp:!0,components:{Header:cS,SignIn:{Header:ck}},children:t})]})};var cA=n(90666);function cI(){let e=(0,cA.x)();return(0,p.useCallback)(async()=>{localStorage.clear(),await e.clearStore(),await e3.g.signOut()},[e])}},558:function(e,t,n){"use strict";n.d(t,{p:function(){return H}});var r=n(31549),o=n(44194),i=n(70826),a=n(51865),s=n.n(a),l=n(76933),c=n(25431),u=n(8005),d=n(2196),f=n(51761);function p(e,t,n){return"boolean"==typeof n?n:!!e.length||(0,d.Z)(t).some(e=>e.type===f.Z)}var h=n(82698),m=n(2916),g=e=>{let{componentCls:t,bodyBg:n,lightSiderBg:r,lightTriggerBg:o,lightTriggerColor:i}=e;return{["".concat(t,"-sider-light")]:{background:r,["".concat(t,"-sider-trigger")]:{color:i,background:o},["".concat(t,"-sider-zero-width-trigger")]:{color:i,background:o,border:"1px solid ".concat(n),borderInlineStart:0}}}};let v=e=>{let{antCls:t,componentCls:n,colorText:r,triggerColor:o,footerBg:i,triggerBg:a,headerHeight:s,headerPadding:l,headerColor:c,footerPadding:u,triggerHeight:d,zeroTriggerHeight:f,zeroTriggerWidth:p,motionDurationMid:m,motionDurationSlow:v,fontSize:y,borderRadius:b,bodyBg:w,headerBg:S,siderBg:x}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:w,"&, *":{boxSizing:"border-box"},["&".concat(n,"-has-sider")]:{flexDirection:"row",["> ".concat(n,", > ").concat(n,"-content")]:{width:0}},["".concat(n,"-header, &").concat(n,"-footer")]:{flex:"0 0 auto"},["".concat(n,"-sider")]:{position:"relative",minWidth:0,background:x,transition:"all ".concat(m,", background 0s"),"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,["".concat(t,"-menu").concat(t,"-menu-inline-collapsed")]:{width:"auto"}},"&-has-trigger":{paddingBottom:d},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:d,color:o,lineHeight:(0,h.bf)(d),textAlign:"center",background:a,cursor:"pointer",transition:"all ".concat(m)},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:e.calc(p).mul(-1).equal(),zIndex:1,width:p,height:f,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:x,borderStartStartRadius:0,borderStartEndRadius:b,borderEndEndRadius:b,borderEndStartRadius:0,cursor:"pointer",transition:"background ".concat(v," ease"),"&::after":{position:"absolute",inset:0,background:"transparent",transition:"all ".concat(v),content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(p).mul(-1).equal(),borderStartStartRadius:b,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:b}}}}},g(e)),{"&-rtl":{direction:"rtl"}}),["".concat(n,"-header")]:{height:s,padding:l,color:c,lineHeight:(0,h.bf)(s),background:S,["".concat(t,"-menu")]:{lineHeight:"inherit"}},["".concat(n,"-footer")]:{padding:u,color:r,fontSize:y,background:i},["".concat(n,"-content")]:{flex:"auto",color:r,minHeight:0}}},y=e=>{let{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:o,controlHeightSM:i,marginXXS:a,colorTextLightSolid:s,colorBgContainer:l}=e,c=1.25*r;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*n,headerPadding:"0 ".concat(c,"px"),headerColor:o,footerPadding:"".concat(i,"px ").concat(c,"px"),footerBg:t,siderBg:"#001529",triggerHeight:r+2*a,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:o}};var b=(0,m.I$)("Layout",e=>[v(e)],y,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function S(e){let{suffixCls:t,tagName:n,displayName:r}=e;return e=>o.forwardRef((r,i)=>o.createElement(e,Object.assign({ref:i,suffixCls:t,tagName:n},r)))}let x=o.forwardRef((e,t)=>{let{prefixCls:n,suffixCls:r,className:i,tagName:a}=e,l=w(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:u}=o.useContext(c.E_),d=u("layout",n),[f,p,h]=b(d),m=r?"".concat(d,"-").concat(r):d;return f(o.createElement(a,Object.assign({className:s()(n||m,i,p,h),ref:t},l)))}),E=o.forwardRef((e,t)=>{let{direction:n}=o.useContext(c.E_),[r,a]=o.useState([]),{prefixCls:d,className:f,rootClassName:h,children:m,hasSider:g,tagName:v,style:y}=e,S=w(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),x=(0,l.Z)(S,["suffixCls"]),{getPrefixCls:E,layout:C}=o.useContext(c.E_),_=E("layout",d),k=p(r,m,g),[O,A,I]=b(_),P=s()(_,{["".concat(_,"-has-sider")]:k,["".concat(_,"-rtl")]:"rtl"===n},null==C?void 0:C.className,f,h,A,I),T=o.useMemo(()=>({siderHook:{addSider:e=>{a(t=>[].concat((0,i.Z)(t),[e]))},removeSider:e=>{a(t=>t.filter(t=>t!==e))}}}),[]);return O(o.createElement(u.V.Provider,{value:T},o.createElement(v,Object.assign({ref:t,className:P,style:Object.assign(Object.assign({},null==C?void 0:C.style),y)},x),m)))}),C=S({tagName:"div",displayName:"Layout"})(E),_=S({suffixCls:"header",tagName:"header",displayName:"Header"})(x),k=S({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(x),O=S({suffixCls:"content",tagName:"main",displayName:"Content"})(x),A=C;A.Header=_,A.Footer=k,A.Content=O,A.Sider=f.Z,A._InternalSiderContext=f.D;var I=A,P=n(2490),T=n(38442),R=n(42020),M=n(15401),N=n.n(M),j=n(71401),D=n(57020),L=n(6278),B=n(63422),Z=n(16915);let F=e=>{let{text:t,href:n}=e;return(0,r.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,r.jsx)(N(),{href:n,children:t}),(0,r.jsx)(Z.T,{})]})},z=()=>{let{t:e}=(0,D.$G)(),t=(0,j.usePathname)(),{me:n}=(0,T.KR)(),{canManageSubscription:o}=(0,T.dB)(),i=(0,L.LW)({key:"/account",label:e("account:menu.account.title","Account"),children:[(0,L.LW)({key:"/account/profile",label:(0,r.jsx)(N(),{href:"/account/profile",children:e("account:menu.account.profile","Profile")})}),(0,L.LW)({key:"/account/password",label:(0,r.jsx)(N(),{href:"/account/password",children:e("account:menu.account.password","Password")})}),(0,L.LW)({key:"/account/preferences",label:(0,r.jsx)(N(),{href:"/account/preferences",children:e("account:menu.account.preferences","Preferences")})})]}),a=[(0,L.LW)({key:"/account/company/general",label:(0,r.jsx)(N(),{href:"/account/company/general",children:e("account:menu.company.general","General")})}),(0,L.LW)({key:"/account/company/members",label:(0,r.jsx)(N(),{href:"/account/company/members",children:e("account:menu.company.members","Members")})})];o&&a.push((0,L.LW)({key:"/account/company/subscription",label:(0,r.jsx)(N(),{href:"/account/company/subscription",children:e("account:menu.company.subscription","Subscription")})}));let s=[i,(0,L.LW)({key:"/account/company",label:e("account:menu.company.title","Company"),children:a})],l=[];if((null==n?void 0:n.canCreateDigitalReport)&&l.push((0,L.LW)({key:"/account/application/digital-report",label:(0,r.jsx)(N(),{href:"/account/application/digital-report",children:e("account:menu.application.digital-report","Digital report")})})),l.push((0,L.LW)({key:"/account/application/pdf-report",label:(0,r.jsx)(N(),{href:"/account/application/pdf-report",children:e("account:menu.application.pdf-report","PDF report")})})),(null==n?void 0:n.type)!==B.FWD.Agent&&l.push((0,L.LW)({key:"/account/application/branding",label:(0,r.jsx)(F,{text:e("account:menu.application.branding","Branding"),href:"/account/application/branding"})})),l.length>0){let t=(0,L.LW)({key:"/account/application",label:e("account:menu.application.title","Application"),children:l});s.push(t)}return[s,{selectedKeys:(0,L.Vu)(t)}]},U=()=>{let[e,{selectedKeys:t}]=z();return(0,r.jsx)(R.Z,{className:"!border-e-0",mode:"inline",items:e,selectedKeys:t,defaultOpenKeys:t,defaultSelectedKeys:t})},H=e=>{var t,n,o;let{children:i,header:a}=e,{me:s}=(0,T.KR)();return(0,r.jsxs)(I,{className:"bg-white",children:[(0,r.jsxs)(I.Sider,{width:256,theme:"light",className:"!sticky top-[56px] h-fit",children:[(0,r.jsx)("div",{className:"px-3 py-3 pl-6",children:(0,r.jsx)(P.n5,{name:null==s?void 0:null===(t=s.contact)||void 0===t?void 0:t.name,avatarUrl:null==s?void 0:null===(n=s.contact)||void 0===n?void 0:n.avatarUrl,caption:null!==(o=null==s?void 0:s.userName)&&void 0!==o?o:"-"})}),(0,r.jsx)(U,{})]}),(0,r.jsxs)(I,{children:[a&&(0,r.jsx)(I.Header,{className:"flex items-center border-l border-gray-300 bg-white px-10",children:(0,r.jsx)(a,{})}),(0,r.jsx)(I.Content,{className:"border-l border-gray-200 bg-white",children:i})]})]})}},16915:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(31549);n(44194);var o=n(38442),i=n(57598);let a=e=>{let{className:t}=e,{isPayingCustomer:n,loading:a}=(0,o.dB)();return n||a?null:(0,r.jsx)(i.r,{className:t})}},68359:function(e,t,n){"use strict";n.d(t,{LN:function(){return G},_3:function(){return J}});var r=n(31549),o=n(51865),i=n.n(o),a=n(44194),s=n(72477),l=n(71635),c=n.n(l),u=n(71401),d=n(22167),f=n(57597),p=n(57020),h=n(61808),m=n(2490),g=n(2986),v=n(38442),y=n(64129),b=n(63422);let w="/",S=()=>{let{t:e}=(0,p.$G)(),{push:t}=(0,d.useRouter)(),n=(0,u.usePathname)(),{actions:{setRequestedBounds:o}}=(0,y.LQ)(),{onApplied:i}=(0,h.PU)(),[l]=(0,b.kDo)(),{me:S,updateRegion:x}=(0,v.KR)(),E=null==S?void 0:S.id,C=(0,a.useCallback)(()=>()=>{n!==w&&t(w,w,{shallow:!0})},[n,t]),_=(0,a.useCallback)(async e=>{try{let t=await (0,f.OQ)(e,null==S?void 0:S.bounds),n=null==t?void 0:t[0];n&&o(n.geometry.viewport.toJSON())}catch(e){console.error("Error",e)}},[null==S?void 0:S.bounds,o]),k=(0,a.useCallback)(e=>{C(),_(e),i("location",e)},[C,_]),O=e=>{var t,n;o(null===(n=(0,f.k0)(e))||void 0===n?void 0:null===(t=n.toJSON)||void 0===t?void 0:t.call(n)),l({variables:{data:{selectedRegion:{connect:{id:e.id}}},where:{id:E}}}).then(()=>{x(e)})},A=c()(null==S?void 0:S.regions,"name").map(t=>new g.q({id:t.id,value:t.name,renderer:()=>{var n;return(0,r.jsxs)("div",{className:"group flex justify-between text-gray-700",children:[(0,r.jsx)("div",{className:"overflow-hidden text-ellipsis",children:t.name}),(0,r.jsx)("div",{children:t.id===(null==S?void 0:null===(n=S.selectedRegion)||void 0===n?void 0:n.id)?(0,r.jsx)("span",{className:"mr-2 text-xs",children:e("agent:location-search.primary","Primary")}):(0,r.jsx)(s.ZP,{size:"small",type:"link",className:"text-bold hidden text-xs group-hover:block",onClick:e=>{O(t),e.stopPropagation()},children:e("agent:location-search.make-primary","Make primary")})})]})}}));return(0,r.jsx)(m.RD,{placeholder:e("agent:location-search.placeholder","Search location"),onSelect:k,defaultOptions:A})},x=e=>{let{searchComponent:t,menu:n}=e;return(0,r.jsxs)("div",{className:"flex w-full justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(m.TR,{}),t&&(0,r.jsx)("div",{className:"ml-8 w-72 xl:w-80",children:t})]}),n]})};var E=n(44871),C=n(99723),_=n(68435),k=n(70568),O=n(15401),A=n.n(O),I=n(1084),P=n(51176),T=n(7726),R=n(6278),M=n(16915);let N={[b.FWD.Agent]:T.O.NEXT_PUBLIC_AGENT_HELP_CENTER_URL,[b.FWD.Operator]:T.O.NEXT_PUBLIC_OPERATOR_HELP_CENTER_URL,[b.FWD.Platform]:T.O.NEXT_PUBLIC_PLATFORM_HELP_CENTER_URL},j=()=>{let{t:e}=(0,p.$G)(),{me:t}=(0,v.KR)(),n=(0,P.aU)(),{onHelpCenterViewed:o}=(0,h.k$)();return(0,a.useMemo)(()=>{var i,a,s,l,c;let u=[],d=(e,t)=>(0,r.jsxs)(A(),{href:t,children:[e,(0,r.jsx)(M.T,{className:"mb-1 ml-1"})]});(null==t?void 0:t.type)===b.FWD.Operator&&(null==t?void 0:null===(a=t.operator)||void 0===a?void 0:null===(i=a.marketplaceSettings)||void 0===i?void 0:i.enabled)&&u.push((0,R.LW)({key:"/market",label:(0,r.jsx)(A(),{href:"/market",children:e("agent:menu.market","Market")})})),u.push((0,R.LW)({key:"/map",label:(0,r.jsx)(A(),{href:"/map",children:e("agent:menu.map","Map")})}),(0,R.LW)({key:"/opportunities",label:d(e("agent:menu.opportunities","Opportunities"),"/opportunities")})),(null===(s=t.permissions)||void 0===s?void 0:s.includes(b.tNS.AccessToBuildings))&&u.push((0,R.LW)({key:"/buildings",label:(0,r.jsx)(A(),{href:"/buildings",children:e("agent:menu.buildings","Buildings")})})),u.push((0,R.LW)({key:"/insights",label:d(e("agent:menu.insights","Insights"),"/insights")}));let f=[(0,R.LW)({key:"/name",label:null==t?void 0:null===(l=t.contact)||void 0===l?void 0:l.name,disabled:!0})];return(null==t?void 0:t.type)===b.FWD.Platform&&f.push((0,R.LW)({key:"/admin",label:(0,r.jsx)(A(),{href:T.O.NEXT_PUBLIC_ADMIN_URL,target:"_blank",children:e("agent:menu.admin","Admin")}),icon:(0,r.jsx)(I.r,{className:"inline"})})),f.push((0,R.LW)({key:"/account/profile",label:(0,r.jsx)(A(),{href:"/account/profile",children:e("agent:menu.account","Account")}),icon:(0,r.jsx)(E.Z,{})})),(null==t?void 0:t.type)&&f.push((0,R.LW)({key:"/help",label:(0,r.jsx)(A(),{href:N[null==t?void 0:t.type],target:"_blank",rel:"noreferrer",children:e("agent:menu.help","Help")}),icon:(0,r.jsx)(C.Z,{}),onClick:()=>o(null==t?void 0:t.type)})),f.push((0,R.LW)({key:"/logout",label:e("text.logout","Logout"),icon:(0,r.jsx)(_.Z,{}),onClick:n})),u.push((0,R.LW)({key:"/user",label:(0,r.jsx)(k.C,{className:"drop-shadow-md",icon:(0,r.jsx)(E.Z,{}),src:null==t?void 0:null===(c=t.contact)||void 0===c?void 0:c.avatarUrl}),children:f})),u},[t,e])};var D=n(42020);let L=e=>{let{items:t,className:n}=e,o=(0,u.usePathname)();return(0,r.jsx)(D.Z,{mode:"horizontal",selectedKeys:(0,R.Vu)(o),triggerSubMenuAction:"click",expandIcon:()=>null,className:n,items:t})};var B=n(86727),Z=n(3810);let F=()=>{let{t:e}=(0,p.$G)(),{onUpgradePlanContactClicked:t}=(0,h.gm)();return(0,r.jsx)(A(),{href:"/account/company/subscription",children:(0,r.jsx)(Z.zx,{type:"primary",onClick:()=>t(),children:e("agent:upgrade","Upgrade")})})},z="/add-buildings",U="/shortlist",H=[z,U],q=(e,t)=>t&&!H.includes(e),V=()=>{let{t:e}=(0,p.$G)(),{isPayingCustomer:t,loading:n}=(0,v.dB)(),{shortlistBuildingIds:o,opportunityIdToAddBuildings:i}=(0,v.wJ)(),a=(0,u.usePathname)(),s=(0,u.useSearchParams)();if(n)return null;if(!t)return(0,r.jsx)(F,{});let l=q(a,(null==o?void 0:o.length)>0);return(0,r.jsx)(B.Z,{count:o.length,children:(0,r.jsx)(A(),{href:{pathname:i?z:U,query:s.toString()},children:(0,r.jsx)(Z.zx,{type:l?"primary":"default",children:i?e("text.add-buildings","Add buildings"):e("text.shortlist","Shortlist")})})})},W=e=>{let{searchComponent:t}=e,n=j();return(0,r.jsx)(x,{searchComponent:t,menu:(0,r.jsxs)("nav",{className:"flex grow items-center gap-4",children:[(0,r.jsx)(L,{className:"flex w-full items-end justify-end border-b-0 leading-[56px]",items:n}),(0,r.jsx)(V,{})]})})},$={white:"bg-white",gray:"bg-gray-100"},G=e=>{let{hideNavigation:t,searchComponent:n=(0,r.jsx)(S,{}),background:o,children:a}=e;return(0,r.jsxs)(r.Fragment,{children:[!t&&(0,r.jsx)("header",{className:"fixed top-0 z-50 h-14 w-full border-b border-gray-300 bg-white px-3",children:(0,r.jsx)(W,{searchComponent:n})}),(0,r.jsx)("main",{className:i()("relative flex min-h-screen flex-col",$[o],{"pt-14":!t}),children:a})]})};var K=n(63132),Y=n(75379),X=n(89090);let Q=()=>{let{t:e}=(0,p.$G)(),t=(0,d.useRouter)(),{opportunity:n,opportunityId:o}=(0,K.no)(),{opportunityName:i}=(0,Y.UB)(),a=()=>t.push({pathname:"/opportunities/".concat(o),query:{tab:X.sw.REPORT}});return(0,r.jsx)("div",{className:"sticky top-0 z-10 bg-white",children:(0,r.jsxs)("div",{className:"flex h-14 items-center justify-between px-3 shadow",children:[(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(m.TR,{}),(0,r.jsxs)("div",{className:"flex flex-col gap-0.5 border-l pl-4",children:[(0,r.jsx)("div",{className:"text-base font-medium",children:e("generate-report","Generate report")}),(0,r.jsx)("div",{className:"text-xs text-gray-400",children:i(n)})]})]}),(0,r.jsx)(s.ZP,{onClick:a,children:e("close","Close")})]})})},J=e=>{let{children:t}=e;return(0,r.jsx)(K.eW,{children:(0,r.jsxs)(K.vq,{children:[(0,r.jsx)(Q,{}),t]})})};n(558)},17099:function(e,t,n){"use strict";n.d(t,{T:function(){return d},Y:function(){return r}});var r,o=n(31549),i=n(86727),a=n(51865),s=n.n(a),l=n(26478),c=n(29287);!function(e){e.BUILDING="building",e.SPACE="space"}(r||(r={}));let u={[l.sX.Available]:c.Z.colors.green[500],[l.sX.Occupied]:c.Z.colors.gray[700],[l.sX.AvailableSoon]:c.Z.colors.orange[500],[l.sX.LimitedAvailability]:c.Z.colors.orange[500],[l.sX.UnderOffer]:c.Z.colors.orange[500]},d=e=>{let{className:t,status:n,label:r,variant:a="building"}=e,l=s()("text-xs",t,{"border rounded-full p-2":"space"===a}),c="space"===a?{width:"6px",height:"6px"}:{width:"8px",height:"8px"};return(0,o.jsx)("div",{className:l,children:(0,o.jsx)(i.Z,{color:u[n],styles:{indicator:{...c}},text:r})})}},96701:function(e,t,n){"use strict";n.d(t,{G:function(){return l}});var r=n(31549);n(44194);var o=n(26392),i=n(13185),a=n(57020),s=n(63422);let l=e=>{let{building:t,children:n}=e,{t:l}=(0,a.$G)();return(null==t?void 0:t.buildingGroup)===s.tmx.Standard?(0,r.jsx)(r.Fragment,{children:n}):(0,r.jsxs)("div",{className:"relative",children:[n,(0,r.jsx)("div",{className:"absolute inset-0 z-10 rounded bg-white opacity-60",children:(0,r.jsx)(i.Z,{title:l("visible-only-company","Building is not public and only visible for internal use"),children:(0,r.jsx)(o.Z,{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform text-2xl"})})})]})}},12191:function(e,t,n){"use strict";n.d(t,{x:function(){return S}});var r=n(31549),o=n(44194),i=n(62632),a=n(74747),s=n(32962),l=function(e,t){return o.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:a.Z}))},c=o.forwardRef(l),u=n(81228),d=function(e,t){return o.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:u.Z}))},f=o.forwardRef(d),p=n(98371),h=n(51865),m=n.n(h),g=n(70350),v=n(57020),y=n(38075),b=n(38442),w=n(1288);let S=e=>{let{showCheckbox:t}=e,{t:n}=(0,v.$G)(),[{sort:i,order:a},s]=(0,y.RF)(),{buildings:l,selectedBuildings:u,selectedSpaces:d,addBuildingsToSelection:h,addSpacesToSelection:S,removeBuildingsFromSelection:x,removeSpacesFromSelection:E}=(0,b.gB)(),C=(0,o.useMemo)(()=>(0,w.R)(t),[]),_=(0,o.useMemo)(()=>null==l?void 0:l.map(e=>{let{id:t}=e;return t}),[l]),k=(0,o.useMemo)(()=>null==l?void 0:l.flatMap(e=>{let{officeSuites:t}=e;return null==t?void 0:t.map(e=>{let{id:t}=e;return t})}),[l]),O=(null==u?void 0:u.length)===(null==l?void 0:l.length),A=(null==d?void 0:d.length)===(null==k?void 0:k.length),I=!!((null==d?void 0:d.length)&&!A||(null==u?void 0:u.length)&&!O),P=O&&A,T=(0,o.useCallback)(e=>{e.target.checked?(h(_),S(k)):(x(_),E(k))},[_,k]);return(0,r.jsx)("div",{className:"flex items-center gap-2 border-b border-gray-50 bg-neutral-50 py-4 pb-3 pl-12",children:C.map(e=>{let{key:t,name:o,headerClassName:l,sortable:u=!0}=e,d=i===t&&a===g.KM.ASC,h=i===t&&a===g.KM.DESC;return(0,r.jsxs)("div",{className:l,onClick:()=>{if(d)return s({sort:void 0,order:void 0});u&&s({sort:t,order:h?g.KM.ASC:g.KM.DESC})},children:["checkbox"===t&&(0,r.jsx)("div",{className:"w-6",children:(0,r.jsx)(p.Z,{indeterminate:I,checked:P,onChange:T})}),(0,r.jsxs)("div",{className:m()("flex cursor-pointer items-center justify-between gap-1 border-r pr-4 font-medium",{"hover:text-blue-300":u}),children:[(0,r.jsx)("div",{children:o(n)}),u&&(0,r.jsxs)("div",{className:"mt-0.5 flex flex-col text-xs leading-none text-gray-400",children:[(0,r.jsx)(c,{className:m()("-mb-0.5",{"text-blue-300":d})}),(0,r.jsx)(f,{className:m()("-mt-0.5",{"text-blue-300":h})})]})]})]},t)})})}},54920:function(e,t,n){"use strict";var r;n.d(t,{$:function(){return r}}),function(e){e[e.CREATE_SPACE=0]="CREATE_SPACE",e[e.ADD_TO_SHORTLIST=1]="ADD_TO_SHORTLIST",e[e.REMOVE_BUILDING_FROM_SHORTLIST=2]="REMOVE_BUILDING_FROM_SHORTLIST",e[e.REMOVE_SPACE_FROM_SHORTLIST=3]="REMOVE_SPACE_FROM_SHORTLIST"}(r||(r={}))},1288:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var r=n(76107);let o=e=>{let t=[{key:r.KZ.NAME,name:e=>e("text.building-space-name","Building/Space name"),className:"w-3/12",headerClassName:"w-3/12 text-bold"},{key:r.KZ.TYPE,name:e=>e("space-type","Space type"),className:"w-1/12 text-left ml-2",headerClassName:"w-1/12 text-bold"},{key:r.KZ.DESKS,name:e=>e("number-of-desks-short","Desks"),className:"w-1/12 text-center",headerClassName:"w-1/12 text-bold"},{key:r.KZ.COST_PER_DESK,name:e=>e("cost-per-desk-short","Cost/desk"),className:"w-1/12 text-center",headerClassName:"w-1/12 text-bold"},{key:r.KZ.COST_PER_MONTH,name:e=>e("text.cost-per-month-short","Cost/month"),className:"w-1/12 text-center",headerClassName:"w-1/12 text-bold"},{key:r.KZ.STATUS,name:e=>e("text.status","Status"),className:"w-2/12 text-left mr-4 ml-2",headerClassName:"w-2/12 text-bold",sortable:!1},{key:r.KZ.UPDATED_AT,name:e=>e("text.last-updated","Last updated"),className:"w-1/12 text-left",headerClassName:"w-1/12 text-bold"},{key:"actions",name:()=>"",sortable:!1,className:"flex flex-1 justify-end",headerClassName:"flex flex-1 justify-end"}];return e&&t.unshift({key:"checkbox",name:()=>"",sortable:!1,className:"w-6"}),t}},2986:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(31549),o=n(3097);class i{get key(){return this.props.id}get value(){return this.props.value}get children(){var e,t,n;return null!==(n=null===(e=(t=this.props).renderer)||void 0===e?void 0:e.call(t))&&void 0!==n?n:this.props.label}render(){return(0,r.jsx)(o.default.Option,{value:this.value,children:this.children},this.key)}constructor(e){if(this.props=e,e.label&&e.renderer)throw Error("Either label or renderer should be provided")}}},21791:function(e,t,n){"use strict";n.d(t,{w:function(){return O},a:function(){return E}});var r=n(31791),o=n(31549),i=n(77045),a=n(14603),s=n(8738),l=n(36008),c=n(13185),u=n(72477),d=n(73921),f=n(75379),p=n(57020),h=n(61808),m=n(89090),g=n(76152),v=n(38442),y=n(63422),b=n(87203),w=n(44226),S=n(9511);let x=(0,S.fX)([m.cc.ADD_OPTION,m.cc.EDIT_OPTION]),E=()=>(0,f.Kx)({form:x,optionId:S.Zp,referralId:S.yz});function C(){let e=(0,r._)(["\n  mutation acceptSuggestion($suggestionId: ID!) {\n    opportunity {\n      referral {\n        suggestion {\n          accept(id: $suggestionId) {\n            success\n          }\n        }\n      }\n    }\n  }\n\n  mutation declineSuggestion($suggestionId: ID!) {\n    opportunity {\n      referral {\n        suggestion {\n          decline(id: $suggestionId) {\n            success\n          }\n        }\n      }\n    }\n  }\n"]);return C=function(){return e},e}let _={id:0,from:1,isRange:!1},k=(0,g.B)().toISOString(),O=()=>{let{t:e}=(0,p.$G)(),{enquiry:t}=(0,b.BA)(),[n,r]=E(),{canManageLeadSuggestions:d,canCreateLeadSuggestions:g,canManageEnquiryOptions:S}=(0,v.dB)(),{optionName:x}=(0,f.UB)(),{onSpaceSuggestionAccepted:C,onSpaceSuggestionDeclined:O}=(0,h.Ch)(),[A,{loading:I}]=(0,y.d44)({refetchQueries:[y.S$I,y.IU]}),[P,{loading:T}]=(0,y.sd)({refetchQueries:[y.S$I]}),R=(t,n)=>({id:t.id,publicId:t.publicId,name:x(t,n),type:w.G.Option,availableFrom:t.availableFromCondition,termLength:t.termLengthCondition,desks:t.sizeDesks,size:t.sizeSpace,price:t.costCondition,enquiryId:null,createdAt:null,updatedAt:null,status:null,rejectReason:null,actions:S&&(0,o.jsx)(c.Z,{title:e("enquiries:table.option.edit","Edit option"),children:(0,o.jsx)(u.ZP,{icon:(0,o.jsx)(i.Z,{}),size:"small",onClick:()=>r({form:m.cc.EDIT_OPTION,optionId:t.publicId})})})}),M=n=>({id:n.id,publicId:null,name:n.officeSuite.name,type:w.G.Suggestion,availableFrom:n.officeSuite.availableFrom,termLength:null,desks:n.officeSuite.sizeDesks,size:n.officeSuite.sizeSpace,price:n.officeSuite.monthlyQuotingRateTotal?{...n.officeSuite.monthlyQuotingRateTotal,unit:y.Wwg.PerMonth,currency:n.officeSuite.monthlyQuotingRateCurrency}:null,enquiryId:null,createdAt:null,updatedAt:null,status:null,rejectReason:null,actions:d&&(0,o.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,o.jsx)(c.Z,{title:e("enquiries:table.suggestion.accept","Accept suggestion"),children:(0,o.jsx)(u.ZP,{className:"border-gray-500 text-green-600",type:"link",icon:(0,o.jsx)(a.Z,{}),size:"small",onClick:()=>A({variables:{suggestionId:n.id},onCompleted:()=>{C(t.id,n.officeSuite.id)}}),loading:I})}),(0,o.jsx)(c.Z,{title:e("enquiries:table.suggestion.remove","Remove suggestion"),children:(0,o.jsx)(u.ZP,{className:"border-gray-500",type:"link",icon:(0,o.jsx)(s.Z,{}),size:"small",onClick:()=>P({variables:{suggestionId:n.id},onCompleted:()=>{O(t.id,n.officeSuite.id)}}),danger:!0,loading:T})})]})});return t?t.leads.map(n=>({id:n.id,publicId:null,type:w.G.Building,name:n.office.name,availableFrom:{id:0,from:k,isRange:!1},termLength:_,desks:_,size:{..._,unit:y.d_w.SquareMeter},price:null,status:n.status,enquiryId:t.id,createdAt:t.createdAt,updatedAt:t.updatedAt,rejectReason:n.rejectReason,actions:g&&(0,o.jsx)(c.Z,{title:e("enquiries:table.suggestion.create","Create suggestion"),children:(0,o.jsx)(u.ZP,{icon:(0,o.jsx)(l.Z,{}),size:"small",onClick:()=>r({form:m.cc.ADD_OPTION,referralId:n.id})})}),children:n.offers.length||n.suggestions.length?[...n.offers.map(R),...n.suggestions.map(M)]:void 0})):[]};(0,d.ZP)(C())},87203:function(e,t,n){"use strict";n.d(t,{BA:function(){return m},ix:function(){return h}});var r=n(31791),o=n(31549),i=n(44194),a=n(73921),s=n(80229),l=n.n(s),c=n(3810),u=n(38442),d=n(63422);function f(){let e=(0,r._)(["\n  fragment EnquiryPermissions on Enquiry {\n    id\n    leads {\n      id\n      office {\n        id\n        operator {\n          id\n          enquirySystemSettings {\n            enabled\n            averageResponseTime\n          }\n        }\n      }\n    }\n  }\n\n  fragment Enquiry on Enquiry {\n    ...EnquiryPermissions\n    ...EnquiryDetailsHeaderView\n    ...EnquiryNotesView\n    ...EnquiryDetailsBuildingsView\n    ...EnquiryDetailsOverviewView\n    createdBy {\n      id\n      agent {\n        id\n        isEnquirySystemEnabled\n      }\n    }\n    lastViewedAt\n    unreadMessageCount\n    opportunity {\n      id\n      companyName\n      contactFullName\n      brokerFullName\n      termLengthCondition {\n        id\n        from\n        to\n        isRange\n      }\n      availableFromCondition {\n        id\n        from\n        to\n        isRange\n      }\n      budgetCondition {\n        id\n        from\n        to\n        isRange\n        unit\n        currency\n      }\n      sizeDesks {\n        id\n        from\n        to\n        isRange\n      }\n      sizeSpace {\n        id\n        from\n        to\n        isRange\n        unit\n      }\n    }\n  }\n\n  query opportunityEnquiry($enquiryId: ID!) {\n    enquiry(id: $enquiryId) {\n      ...Enquiry\n    }\n  }\n"]);return f=function(){return e},e}let p=(0,i.createContext)(null),h=e=>{var t;let{enquiryId:n,onUpdated:r=l(),children:a}=e,{data:s,loading:f,refetch:h,client:m}=(0,d.TzR)({variables:{enquiryId:n},skip:!n});(0,i.useEffect)(()=>()=>{(null==s?void 0:s.enquiry)&&m.cache.modify({id:m.cache.identify(s.enquiry),fields:{lastViewedAt:()=>new Date().toISOString(),unreadMessageCount:()=>0}})},[null==s?void 0:null===(t=s.enquiry)||void 0===t?void 0:t.id]);let{canAccessEnquiryDetails:g}=(0,u.dB)();return g(null==s?void 0:s.enquiry.leads[0].office.operator)?(0,o.jsx)(p.Provider,{value:{enquiry:null==s?void 0:s.enquiry,refetch:h,onUpdated:r},children:!f&&(null==s?void 0:s.enquiry)?a:(0,o.jsx)(c.$j,{height:"100%"})}):null};function m(){let e=(0,i.useContext)(p);if(!e)throw Error("OpportunityEnquiry.* component must be rendered as child of OpportunityEnquiry component");return e}(0,a.ZP)(f())},44226:function(e,t,n){"use strict";var r;n.d(t,{G:function(){return r}}),function(e){e[e.Building=0]="Building",e[e.Option=1]="Option",e[e.Suggestion=2]="Suggestion"}(r||(r={}))},2490:function(e,t,n){"use strict";n.d(t,{Nc:function(){return tv},Bz:function(){return tu},GP:function(){return t6},Dm:function(){return eL},iT:function(){return s8},YD:function(){return lb},TU:function(){return s7},h9:function(){return ll},AO:function(){return gO},Qk:function(){return Z},ML:function(){return sl},uc:function(){return yo},eR:function(){return c_},rK:function(){return yu},OR:function(){return su},MX:function(){return sV},od:function(){return lg},ri:function(){return sM},k9:function(){return sc},jK:function(){return R},aJ:function(){return lL},n2:function(){return C},rl:function(){return yn},RD:function(){return y},XL:function(){return sQ},TR:function(){return lB},pt:function(){return gY},g4:function(){return sH},gV:function(){return ts},jC:function(){return s6},lk:function(){return s5},Xl:function(){return z},$2:function(){return tr},db:function(){return v8},Wx:function(){return te},Yf:function(){return yi},ZV:function(){return lu},$B:function(){return ti},V$:function(){return yl},dX:function(){return ly},fT:function(){return lv},Cb:function(){return eF},p2:function(){return nz},lE:function(){return ye},Rj:function(){return j},vp:function(){return gR},_p:function(){return lT},n5:function(){return lf},en:function(){return cC},Z:function(){return sR},Qe:function(){return cE}});var r,o,i=n(31549),a=n(80229),s=n.n(a),l=n(44194),c=n(3097),u=n(57020);let d=e=>{let{children:t,placeholder:n,onSelect:r,...o}=e,{t:a}=(0,u.$G)(),s=(0,l.useRef)(null),d=(e,t)=>{s.current.blur(),r(e,t)};return(0,i.jsx)(c.default,{className:"w-full",ref:s,showSearch:!0,allowClear:!0,defaultActiveFirstOption:!1,notFoundContent:null,placeholder:n||a("agent:location-search.placeholder","Search location"),optionLabelProp:"label",onSelect:d,...o,children:t})};var f=n(38442);let p=()=>{let e=(0,l.useMemo)(()=>new window.google.maps.places.AutocompleteService,[]);return{getPlacePredictions:async t=>new Promise(n=>{e.getPlacePredictions(t,(e,t)=>t===window.google.maps.places.PlacesServiceStatus.OK?n(null==e?void 0:e.sort((e,t)=>(null==e?void 0:e.distance_meters)-(null==t?void 0:t.distance_meters))):n([]))})}};var h=n(90011),m=n(39978),g=n(2986);let v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,[n,r]=(0,l.useState)(),[o,i]=(0,l.useState)(null),a=p(),s=()=>{var e;(null===(e=navigator)||void 0===e?void 0:e.geolocation)&&navigator.geolocation.getCurrentPosition(e=>{var t,n;i(new google.maps.LatLng(null==e?void 0:null===(t=e.coords)||void 0===t?void 0:t.latitude,null==e?void 0:null===(n=e.coords)||void 0===n?void 0:n.longitude))})},[{loading:c,value:u},d]=(0,h.Z)(async()=>{if(!n)return[];let e=o||(null==t?void 0:t.getCenter());return(await a.getPlacePredictions({bounds:t,radius:100,location:e,origin:e||(null==t?void 0:t.getCenter()),input:n})).map(e=>new g.q({id:e.place_id,label:e.description,value:e.description}))},[o,n,t]);(0,m.Z)(d,500,[n]);let f=async()=>{o||s()};return{input:n,setInput:r,suggestions:(null==n?void 0:n.length)&&u.length?u:e,loadUserLocation:f,loading:c}},y=e=>{let{value:t,onSelect:n=s(),defaultOptions:r,...o}=e,{me:a}=(0,f.KR)(),{input:l,setInput:c,suggestions:u,loadUserLocation:p,loading:h}=v(r,null==a?void 0:a.bounds),m=()=>c(null),g=e=>{c(e),n(e)},y=e=>{"Enter"===e.key&&n(l)};return(0,i.jsx)(d,{defaultValue:t,value:l,onSearch:c,onSelect:g,onFocus:p,onInputKeyDown:y,onClear:m,onBlur:m,loading:h,...o,children:u.map(e=>e.render())})};var b=n(99723),w=n(17998),S=n(13185),x=n(51865),E=n.n(x);let C=e=>{let{label:t,tooltip:n,required:r,hasError:o=!1}=e;return(0,i.jsxs)("div",{className:"flex items-center gap-1",children:[(0,i.jsx)(w.Z.Paragraph,{ellipsis:{rows:2},className:"!mb-0",children:(0,i.jsxs)("div",{className:E()({"text-red-500":o}),children:[t,r&&(0,i.jsx)("span",{className:"ml-[0.25rem] text-red-500",children:"*"})]})}),n&&(0,i.jsx)(S.Z,{title:n,children:(0,i.jsx)(b.Z,{})})]})};var _=n(74992),k=n(7726),O=n(87665),A=n(66786),I=n.n(A);let P=e=>{let{apiKey:t}=e;return(0,i.jsx)(I(),{children:(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n      (function(apiKey){\n      (function(p,e,n,d,o){var v,w,x,y,z;o=p[d]=p[d]||{};o._q=o._q||[];\n      v=['initialize','identify','updateOptions','pageLoad','track'];for(w=0,x=v.length;w<x;++w)(function(m){\n          o[m]=o[m]||function(){o._q[m===v[0]?'unshift':'push']([m].concat([].slice.call(arguments,0)));};})(v[w]);\n          y=e.createElement(n);y.async=!0;y.src='https://cdn.eu.pendo.io/agent/static/'+apiKey+'/pendo.js';\n          z=e.getElementsByTagName(n)[0];z.parentNode.insertBefore(y,z);})(window,document,'script','pendo');\n      })('".concat(t,"');\n      ")}})})};var T=(0,l.memo)(P);let R=()=>{let{me:e}=(0,f.KR)(),{analytics:t}=(0,_.Qo)(),{isAccepted:n}=(0,_.Yd)();if((0,l.useEffect)(()=>{n&&(null==e?void 0:e.id)&&setTimeout(()=>(0,O.V)(e,t),0)},[null==e?void 0:e.id,n]),!e||!n)return null;let r=[];return k.O.NEXT_PUBLIC_PENDO_TOKEN&&r.push((0,i.jsx)(T,{apiKey:k.O.NEXT_PUBLIC_PENDO_TOKEN},"pendo")),(0,i.jsx)(i.Fragment,{children:r})};var M=n(72477),N=n(6278);let j=e=>{let{className:t,buildingId:n,spaceId:r,onAdd:o,onRemove:a,tooltipProvider:l=s(),...c}=e,{t:d}=(0,u.$G)(),{checkIsInShortlist:p,addToShortlist:h,removeFromShortlist:m,checkIsAddedToOpportunity:g}=(0,f.wJ)(),v=e=>{(0,N.UW)(e),h([{buildingId:n,suiteIds:r?[r]:[]}]),null==o||o(r)},y=e=>{(0,N.UW)(e),m(n,[r]),null==a||a(r)},b=g(n,r),w=E()("text-xs",t);if(!n)return null;if(b)return(0,i.jsx)(M.ZP,{className:w,disabled:!0,...c,children:d("text.added","Added")});let x=p(n,r),C=l(x);return x?(0,i.jsx)(S.Z,{title:C,children:(0,i.jsx)(M.ZP,{className:w,onClick:y,...c,children:d("remove","Remove")})}):(0,i.jsx)(S.Z,{title:C,children:(0,i.jsx)(M.ZP,{className:w,type:"primary",onClick:v,...c,children:d("add","Add")})})};var D=n(56043),L=n(97326),B=n(98371);let Z=e=>{let{name:t,label:n,...r}=e,{t:o}=(0,u.$G)(),a=D.Z.useWatch([t,"isRange"]),s=D.Z.useWatch([t,"from"]);return(0,i.jsx)(D.Z.Item,{label:n,...r,children:(0,i.jsxs)("div",{className:"flex items-center gap-4",children:[(0,i.jsx)(D.Z.Item,{name:[t,"from"],noStyle:!0,children:(0,i.jsx)(L.Z,{className:"w-[184px]",min:1,placeholder:"2"})}),(0,i.jsx)(D.Z.Item,{noStyle:!0,name:[t,"to"],rules:[{required:a,message:o("validation:max-value","Please input maximum value")}],children:(0,i.jsx)(L.Z,{disabled:!a,className:"w-[184px]",placeholder:"300",min:s})}),(0,i.jsx)(D.Z.Item,{name:[t,"isRange"],valuePropName:"checked",noStyle:!0,children:(0,i.jsx)(B.Z,{children:o("use-range","Use range")})})]})})};var F=n(46665);let z=()=>{let{officeModalId:e,setOfficeModalId:t}=(0,f.A)(),n=()=>t(void 0);return(0,i.jsx)(F.Z,{width:1190,destroyOnClose:!0,footer:null,open:!!e,onCancel:n,style:{top:32},styles:{content:{padding:0}},children:(0,i.jsx)(s5,{officeId:e})})};var U=n(39907),H=n.n(U),q=n(50663),V=n.n(q),W=n(61808),$=n(38075),G=n(38474),K=n(71094),Y=n(3810),X=n(37492),Q=n(77045),J=n(8738),ee=n(14603),et=n(54920),en=n(36008);let er=e=>{var t;let{building:n,onAction:r}=e,{t:o}=(0,u.$G)(),{isPayingCustomer:a}=(0,f.dB)();return(null==n?void 0:null===(t=n.actions)||void 0===t?void 0:t.includes(et.$.CREATE_SPACE))?(0,i.jsx)(S.Z,{title:a?o("create-space","Create space"):o("agent:space.disabled-tooltip","Space creation is currently unavailable for freemium accounts. To access this feature, please upgrade to the Professional plan"),children:(0,i.jsx)(M.ZP,{size:"small",onClick:()=>null==r?void 0:r(et.$.CREATE_SPACE,n.id),icon:(0,i.jsx)(en.Z,{}),disabled:!a})}):null},eo=e=>{var t,n,r,o,a;let{building:s,onEdit:c,onAction:d,searchQuery:p="",showCheckbox:h,addonBefore:m}=e,{t:g}=(0,u.$G)(),{selectedBuildings:v,addBuildingsToSelection:y,addSpacesToSelection:b,removeBuildingsFromSelection:w,removeSpacesFromSelection:x}=(0,f.gB)(),{showShortlistControls:E}=(0,f.dB)(),C=null==s?void 0:s.id,_=null==v?void 0:null===(t=v.includes)||void 0===t?void 0:t.call(v,C),k=null==s?void 0:null===(r=s.officeSuites)||void 0===r?void 0:null===(n=r.map)||void 0===n?void 0:n.call(r,e=>{let{id:t}=e;return t}),O=(0,l.useCallback)(e=>{e.target.checked?(y([C]),b(k)):(w([C]),x(k))},[C]),A=(null==s?void 0:null===(o=s.actions)||void 0===o?void 0:o.includes(et.$.ADD_TO_SHORTLIST))&&E;return(0,i.jsxs)("div",{className:"flex items-center gap-2 border-b border-gray-200 bg-white p-4 ",children:[(0,i.jsx)("div",{className:"flex h-3 w-6 items-center",children:m}),h&&(0,i.jsx)("div",{className:"w-6",children:(0,i.jsx)(B.Z,{checked:_,onChange:O})}),(0,i.jsx)("div",{className:"flex-1",children:(0,i.jsx)(tv,{building:s,onClick:c,searchQuery:p})}),(0,i.jsxs)("div",{className:"flex gap-2",children:[(0,i.jsx)(er,{building:s,onAction:d}),c&&(0,i.jsx)(S.Z,{title:g("edit","Edit"),children:(0,i.jsx)(M.ZP,{size:"small",onClick:()=>c(s.id),icon:(0,i.jsx)(Q.Z,{})})}),(null==s?void 0:null===(a=s.actions)||void 0===a?void 0:a.includes(et.$.REMOVE_BUILDING_FROM_SHORTLIST))&&(0,i.jsx)(S.Z,{title:g("remove-from-shortlist","Remove from shortlist"),children:(0,i.jsx)(M.ZP,{size:"small",onClick:()=>null==d?void 0:d(et.$.REMOVE_BUILDING_FROM_SHORTLIST,s.id),icon:(0,i.jsx)(J.Z,{}),className:"border-blue-500 text-blue-500"})}),A&&(0,i.jsx)(S.Z,{title:g("add-to-shortlist","Add to shortlist"),children:(0,i.jsx)(M.ZP,{size:"small",onClick:()=>null==d?void 0:d(et.$.ADD_TO_SHORTLIST,s.id),icon:(0,i.jsx)(ee.Z,{})})})]})]})},ei=(0,l.memo)(eo);var ea=n(31791),es=n(73921),el=n(76107),ec=n(1288);let eu=e=>{let{desk:t,onEdit:n}=e,{t:r}=(0,u.$G)();if(n)return(0,i.jsx)(S.Z,{title:r("edit","Edit"),children:(0,i.jsx)(M.ZP,{size:"small",onClick:()=>n(t.buildingId,t.spaceId,t.id),icon:(0,i.jsx)(Q.Z,{})})})};var ed=n(60342),ef=n.n(ed);let ep=e=>{let{desk:t,onEdit:n,searchQuery:r}=e,{t:o}=(0,u.$G)(),a=()=>null==n?void 0:n(t.buildingId,t.spaceId,t.id),s=(0,i.jsx)(ef(),{textToHighlight:t.name,highlightClassName:"p-0 bg-yellow-300",searchWords:[r],autoEscape:!0});return(0,i.jsxs)("div",{className:"flex flex-col pl-6",children:[(0,i.jsx)("div",{className:"flex items-center gap-2",children:n?(0,i.jsx)("div",{className:"cursor-pointer text-blue-500 hover:text-blue-300",onClick:a,children:s}):s}),(0,i.jsx)("div",{className:"text-gray-600",children:(0,i.jsx)("div",{className:"flex flex-col gap-2",children:t.externalId&&(0,i.jsx)(i.Fragment,{children:o("text.desk-id-id","Desk ID: {{id}}",{id:t.externalId})})})})]})},eh=e=>{let{desk:t}=e,{t:n}=(0,u.$G)();return n("desk-types.".concat(t.type,".title"))};function em(){let e=(0,ea._)(["\n  fragment DeskView on Desk {\n    id\n    name\n    spaceId\n    buildingId\n    externalId\n    type\n    floor\n    isBookingEnabled\n    dailyCost {\n      ...DailyCostInputView\n    }\n    hourlyCost {\n      ...HourlyCostInputView\n    }\n    createdAt\n    updatedAt\n  }\n"]);return em=function(){return e},e}let eg={[el.KZ.NAME]:ep,[el.KZ.TYPE]:eh,actions:eu},ev=e=>{let{isVisible:t=!0,...n}=e,{desk:r}=n,o=(0,l.useMemo)(()=>(0,ec.R)(!0),[]);return t?(0,i.jsx)("div",{className:E()("flex items-center gap-2 border-b border-gray-200 bg-neutral-50 py-3 pr-4 last:border-0",r.spaceId?"pl-12":"pl-6"),children:o.map(e=>{let{key:t,className:r}=e,o=eg[t];return(0,i.jsx)("div",{className:r,children:o&&(0,i.jsx)(o,{...n})},t)})}):null},ey=(0,l.memo)(ev);(0,es.ZP)(em());var eb=n(57597);let ew=e=>{var t;let{suite:n,onAction:r}=e,{t:o}=(0,u.$G)(),{showShortlistControls:a}=(0,f.dB)();return a&&(null==n?void 0:null===(t=n.actions)||void 0===t?void 0:t.includes(et.$.ADD_TO_SHORTLIST))?(0,i.jsx)(S.Z,{title:o("add-to-shortlist","Add to shortlist"),children:(0,i.jsx)(M.ZP,{size:"small",onClick:()=>null==r?void 0:r(et.$.ADD_TO_SHORTLIST,n.office.id,n.id),icon:(0,i.jsx)(ee.Z,{})})}):null},eS=e=>{let{suite:t,onEdit:n}=e,{t:r}=(0,u.$G)();if(n)return(0,i.jsx)(S.Z,{title:r("edit","Edit"),children:(0,i.jsx)(M.ZP,{size:"small",onClick:()=>n(t.office.id,t.id),icon:(0,i.jsx)(Q.Z,{})})})},ex=e=>{var t;let{suite:n,onAction:r}=e,{t:o}=(0,u.$G)();return(null==n?void 0:null===(t=n.actions)||void 0===t?void 0:t.includes(et.$.REMOVE_SPACE_FROM_SHORTLIST))?(0,i.jsx)(S.Z,{title:o("remove-from-shortlist","Remove from shortlist"),children:(0,i.jsx)(M.ZP,{size:"small",onClick:()=>null==r?void 0:r(et.$.REMOVE_SPACE_FROM_SHORTLIST,n.office.id,null==n?void 0:n.id),icon:(0,i.jsx)(J.Z,{}),className:"border-blue-500 text-blue-500"})}):null},eE=e=>{let{suite:t,onAction:n,onEdit:r}=e;return(0,i.jsxs)("div",{className:"flex gap-2",children:[(0,i.jsx)(eS,{suite:t,onEdit:r}),(0,i.jsx)(ex,{suite:t,onAction:n}),(0,i.jsx)(ew,{suite:t,onAction:n})]})},eC=e=>{let{suite:t,onEdit:n,searchQuery:r}=e,{t:o}=(0,u.$G)(),{showExternalSpaceId:a}=(0,f.dB)(),s=(0,l.useMemo)(()=>({autoEscape:!0,highlightClassName:"p-0 bg-yellow-300",searchWords:[r]}),[r]),c=()=>null==n?void 0:n(t.office.id,t.id),{name:d}=(0,N.kv)(t,o),p=(0,i.jsx)(ef(),{textToHighlight:d,highlightClassName:"p-0 bg-yellow-300",searchWords:[r],autoEscape:!0}),h=a&&(null==t?void 0:t.externalId);return(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsxs)("div",{className:"flex flex-col",children:[n?(0,i.jsx)("div",{className:"cursor-pointer font-medium text-blue-500 hover:text-blue-300",onClick:c,children:p}):p,h&&(0,i.jsxs)("div",{className:"text-gray-600",children:["ID:"," ",(0,i.jsx)(ef(),{textToHighlight:t.externalId,...s})]})]}),(0,i.jsx)(Y.J$,{space:t})]})},e_=e=>{let{suite:t}=e,{selectedSpaces:n,addSpacesToSelection:r,removeSpacesFromSelection:o}=(0,f.gB)(),a=t.id,s=n.includes(a),c=(0,l.useCallback)(e=>{e.target.checked?r([a]):o([a])},[a]);return(0,i.jsx)(B.Z,{checked:s,onChange:c})};var ek=n(26478),eO=n(63422);let eA=e=>{let{space:t,editable:n}=e,[r,{loading:o}]=(0,eO.kAf)({update(e,n,r){e.modify({id:e.identify(t),fields:{status:()=>r.variables.data.status,updatedAt:()=>new Date().toISOString(),actualizedAt:()=>new Date().toISOString()}})}}),a=e=>{r({variables:{data:{spaceIds:[t.id],status:e}}})};return(0,i.jsx)(ye,{options:Object.values(eO.sXm),value:t.status,onChange:a,colorProvider:N.oK,labelProvider:ek.pQ,loading:o,editable:n})},eI=e=>{let{suite:t}=e,{t:n}=(0,u.$G)();return null===t.type?n("space-type:not-specified.title","Not specified"):(0,N.NN)(n,t.type)};function eP(){let e=(0,ea._)(["\n  fragment SuiteView on OfficeSuite {\n    id\n    actualizedAt\n    updatedAt\n    externalId\n    name\n    type\n    status\n    floor\n    monthlyQuotingRateCurrency\n    monthlyQuotingRateSpace {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateSpace {\n      id\n      from\n      to\n      isRange\n    }\n    availableFrom {\n      isRange\n      to\n      from\n      id\n    }\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n    sizeSpace {\n      id\n      from\n      to\n      isRange\n      unit\n    }\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateDesk {\n      id\n      from\n      to\n      isRange\n    }\n    office {\n      id\n    }\n    ...SpaceVisibilityView\n  }\n"]);return eP=function(){return e},e}let eT={[el.KZ.NAME]:eC,[el.KZ.TYPE]:eI,[el.KZ.STATUS]:e=>{let{suite:t,editable:n}=e;return(0,N.ol)(t)?null:(0,i.jsx)(eA,{space:t,editable:n})},[el.KZ.DESKS]:e=>{let{suite:t}=e;return(0,eb.qs)(null==t?void 0:t.sizeDesks)},[el.KZ.COST_PER_DESK]:e=>{let{suite:t}=e;return(0,eb.qO)(null==t?void 0:t.monthlyQuotingRateDesk,null==t?void 0:t.monthlyQuotingRateCurrency)},[el.KZ.COST_PER_MONTH]:e=>{let{suite:t}=e;return(0,eb.$g)(null==t?void 0:t.monthlyQuotingRateTotal,null==t?void 0:t.monthlyQuotingRateCurrency)},[el.KZ.UPDATED_AT]:e=>{let{suite:t}=e;return(0,i.jsx)(Y.YO,{date:(null==t?void 0:t.actualizedAt)||(null==t?void 0:t.updatedAt),isSuite:!0})},actions:eE,checkbox:e_},eR=e=>{let{showCheckbox:t,isVisible:n=!0,...r}=e,o=(0,l.useMemo)(()=>(0,ec.R)(t),[]);return n?(0,i.jsx)("div",{className:"flex items-center gap-2 border-b border-gray-200 bg-neutral-50 py-3 pl-12 pr-4",children:o.map(e=>{let{key:t,className:n}=e,o=eT[t];return(0,i.jsx)("div",{className:n,children:o&&(0,i.jsx)(o,{...r})},t)})}):null},eM=(0,l.memo)(eR);(0,es.ZP)(eP());let eN=e=>{let{items:t,showCheckbox:n,onBuildingClick:r,onSuiteClick:o,onDeskClick:a,onDeskCreate:s,handleAction:l,searchQuery:c,editable:u}=e,{collapseBuilding:d,expandBuilding:p,expandedBuildingIds:h}=(0,f.Yz)(),m=e=>h.includes(e)?d(e):p(e);return(0,i.jsx)(Y.Jd,{items:t,overscan:2,children:e=>{if((0,X.nT)(e)){var t;let o=(null===(t=e.officeSuites)||void 0===t?void 0:t.length)>0,a=h.includes(e.id)?G.Z:K.Z;return(0,i.jsx)(ei,{building:e,showCheckbox:n,onEdit:r,onAction:l,searchQuery:c,addonBefore:o&&(0,i.jsx)(a,{className:"cursor-pointer",onClick:()=>m(e.id)})},"building-".concat(e.id))}return(0,X.JV)(e)?(0,i.jsx)(eM,{suite:e,showCheckbox:n,onEdit:o,onDeskCreate:s,onAction:l,searchQuery:c,isVisible:h.includes(e.office.id),editable:u},"suite-".concat(e.id)):(0,X.dP)(e)?(0,i.jsx)(ey,{desk:e,searchQuery:c,onEdit:a,isVisible:h.includes(e.buildingId)},"desk-".concat(e.id)):void 0}})},ej=e=>{let{items:t,showCheckbox:n,onBuildingClick:r,onSuiteClick:o,onDeskClick:a,onDeskCreate:s,handleAction:l,searchQuery:c,editable:u}=e;return(0,i.jsx)(Y.Jd,{items:t,overscan:2,children:e=>(0,X.JV)(e)?(0,i.jsx)(eM,{suite:e,showCheckbox:n,onEdit:o,onDeskCreate:s,onAction:l,searchQuery:c,editable:u},"suite-".concat(e.id)):(0,X.dP)(e)?(0,i.jsx)(ey,{desk:e,searchQuery:c,onEdit:a},"desk-".concat(e.id)):(0,i.jsx)(ei,{building:e,showCheckbox:n,onEdit:r,onAction:l,searchQuery:c},"building-".concat(e.id))})};var eD=n(12191);let eL=e=>{let{buildings:t,collapsible:n=!1,editable:r=!0,showCheckbox:o,...a}=e,{addToShortlist:s,removeBuildingFromShortlist:c,removeSpacesFromShortlist:u}=(0,f.wJ)(),{onAddBuilding:d,onRemoveBuilding:p,onAddOfficeSuite:h,onRemoveOfficeSuite:m}=(0,W.vN)("BUILDINGS"),[,g]=(0,$.z9)(),[{search:v}]=(0,$.RF)(),y=(0,l.useCallback)((e,n,r)=>{let o=t.find(e=>e.id===n);switch(e){case et.$.CREATE_SPACE:g({building:n,form:$.jI.NEW});break;case et.$.ADD_TO_SHORTLIST:s([{buildingId:n,suiteIds:r?[r]:[]}]),r?h(r,o):d(o);break;case et.$.REMOVE_BUILDING_FROM_SHORTLIST:c(n),p(o);break;case et.$.REMOVE_SPACE_FROM_SHORTLIST:u(n,r?[r]:[]),m(r,o)}},[s,c,u]),b=t.flatMap(e=>{let[t,n]=V()(e.desks,e=>e.spaceId),r=H()(t,e=>e.spaceId);return[e,...e.officeSuites.flatMap(e=>{var t;return(null===(t=r[e.id])||void 0===t?void 0:t.length)?[e,...r[e.id]]:e}),...n]}),w=n?eN:ej;return(0,i.jsx)("div",{className:"mb-6 flex-auto px-6",children:(0,i.jsx)(w,{...a,items:b,showCheckbox:o,searchQuery:v,handleAction:y,editable:r})})};eL.TableHeader=eD.x;var eB=n(63378),eZ=n(420);let eF=()=>{let{t:e}=(0,u.$G)(),[{sort:t,order:n}]=(0,$.RF)(),{buildings:r,loading:o}=(0,eZ.j)(),a=(0,l.useMemo)(()=>{let e=null==r?void 0:r.map(e=>({...e,officeSuites:(0,N.z9)(null==e?void 0:e.officeSuites,{sort:t,order:n}),desks:[],customerRequests:[]})),o=(0,N.$w)(e||[],{sort:t,order:n});return null==o?void 0:o.map(e=>({...e,actions:[et.$.REMOVE_BUILDING_FROM_SHORTLIST],officeSuites:e.officeSuites.map(e=>({...e,actions:[et.$.REMOVE_SPACE_FROM_SHORTLIST]}))}))},[r,t,n]);return o?(0,i.jsx)(Y.$j,{height:"h-full"}):(null==r?void 0:r.length)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"pt-6",children:(0,i.jsx)(eL.TableHeader,{})}),(0,i.jsx)("div",{className:"flex flex-1",children:(0,i.jsx)(eL,{buildings:a,editable:!1})})]}):(0,i.jsx)(eB.Z,{className:"mt-20",image:eB.Z.PRESENTED_IMAGE_SIMPLE,description:e("agent:search.no-results","No results")})},ez=e=>{let{className:t,children:n}=e;return(0,i.jsx)("div",{className:E()("text-gray-700",t),children:n})},eU=e=>{let{className:t,children:n}=e;return(0,i.jsx)("p",{className:E()("body-base-accent",t),children:n})};function eH(){let e=(0,ea._)(["\n  fragment AvailableFromView on AvailabilityCondition {\n    id\n    from\n    to\n    isRange\n  }\n"]);return eH=function(){return e},e}let eq=e=>{let{availableFromCondition:t}=e,{t:n}=(0,u.$G)(),r=(0,eb.Ox)(t);return r?(0,i.jsxs)("div",{children:[(0,i.jsx)(ez,{children:n("available-from","Available from")}),(0,i.jsx)(eU,{children:r})]}):null};function eV(){let e=(0,ea._)(["\n    fragment CostPerDeskViewOfficeSuite on OfficeSuiteCostCondition {\n      from\n      to\n      isRange\n    }\n  "]);return eV=function(){return e},e}function eW(){let e=(0,ea._)(["\n    fragment CostPerDeskViewOffer on OfficeCostCondition {\n      id\n      currency\n    }\n  "]);return eW=function(){return e},e}(0,es.ZP)(eH());let e$=e=>{let{costCondition:t,monthlyQuotingRateDesk:n}=e,{t:r}=(0,u.$G)(),o=(0,eb.Yw)({short:!0,data:{from:(0,eb.T4)(null==n?void 0:n.from,null==t?void 0:t.currency),to:(0,eb.T4)(null==n?void 0:n.to,null==t?void 0:t.currency),isRange:null==n?void 0:n.isRange}});return o?(0,i.jsxs)("div",{children:[(0,i.jsx)(ez,{children:r("cost-per-desk","Cost per desk")}),(0,i.jsx)(eU,{children:r("text.cost-desk-per-month","{{cost}} per month",{cost:o})})]}):null};(0,es.ZP)(eV()),(0,es.ZP)(eW());var eG=n(2149);function eK(){let e=(0,ea._)(["\n  fragment CostPerSpaceUnitView on OfficeSuite {\n    sizeSpace {\n      from\n      to\n      unit\n      isRange\n    }\n    monthlyQuotingRateSpace {\n      from\n    }\n  }\n"]);return eK=function(){return e},e}let eY=e=>{var t;let{sizeSpace:n,monthlyQuotingRateSpace:r,currency:o}=e,{t:a}=(0,u.$G)(),s=(0,eb.Yw)({data:{from:(0,eb.T4)(null==r?void 0:r.from,o)}});return s?(0,i.jsxs)("div",{children:[(0,i.jsx)(ez,{children:a("text.cost-per-name","Cost per {{name}}",{name:null===(t=eG._M[null==n?void 0:n.unit])||void 0===t?void 0:t.viewLabel})}),(0,i.jsx)(eU,{children:s})]}):null};(0,es.ZP)(eK());let eX=e=>{let{description:t}=e,{t:n}=(0,u.$G)();return t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ez,{children:n("description","Description")}),(0,i.jsx)("div",{className:"rich-text",dangerouslySetInnerHTML:{__html:t}})]}):null};function eQ(){let e=(0,ea._)(["\n  fragment OfferMonthlyCostOfOccupancyView on Offer {\n    termLengthCondition {\n      from\n      to\n      isRange\n    }\n    costCondition {\n      from\n      to\n      isRange\n      currency\n      unit\n    }\n  }\n"]);return eQ=function(){return e},e}function eJ(){let e=(0,ea._)(["\n  fragment OfficeSuiteMonthlyCostOfOccupancyView on OfficeSuite {\n    monthlyQuotingRateCurrency\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n  }\n"]);return eJ=function(){return e},e}let e0=e=>{var t;let{offer:n,officeSuite:r}=e,{t:o}=(0,u.$G)(),a=(null==r?void 0:r.monthlyQuotingRateTotal)||(0,eb.z7)(n),s=(null==r?void 0:r.monthlyQuotingRateCurrency)||(null==n?void 0:null===(t=n.costCondition)||void 0===t?void 0:t.currency);return(null==a?void 0:a.from)?(0,i.jsxs)("div",{className:"mt-4 flex justify-between",children:[(0,i.jsx)("div",{className:"text-gray-400",children:o("monthly-cost-of-occupancy","Monthly cost of occupancy")}),(0,i.jsx)(eU,{children:(0,eb.qO)(a,s)})]}):null};function e1(){let e=(0,ea._)(["\n  fragment SizeDesksView on OfficeSuiteSizeDesksCondition {\n    id\n    from\n    to\n    isRange\n  }\n"]);return e1=function(){return e},e}(0,es.ZP)(eQ()),(0,es.ZP)(eJ());let e2=e=>{let{sizeDesks:t}=e,{t:n}=(0,u.$G)(),r=(0,eb.Yw)({data:t,units:eG._M,short:!0});return r?(0,i.jsxs)("div",{children:[(0,i.jsx)(ez,{children:n("number-of-desks","Number of desks")}),(0,i.jsx)(eU,{children:r})]}):null};function e3(){let e=(0,ea._)(["\n    fragment SizeSpaceViewOfferOrOfficeSuite on OfficeSuiteSizeSpaceCondition {\n      id\n      from\n      to\n      unit\n      isRange\n    }\n  "]);return e3=function(){return e},e}function e4(){let e=(0,ea._)(["\n    fragment SizeSpaceViewOffer on OfficeSizeCondition {\n      id\n      from\n      to\n      unit\n      isRange\n    }\n  "]);return e4=function(){return e},e}(0,es.ZP)(e1());let e5=e=>{let{sizeSpace:t,officeSizeCondition:n}=e,{t:r}=(0,u.$G)(),o=(0,eb.Yw)({data:null!=t?t:(null==n?void 0:n.unit)!==eO.jgg.Desk?n:{},units:eG._M,short:!0});return o?(0,i.jsxs)("div",{children:[(0,i.jsx)(ez,{children:r("text.space-size","Space size")}),(0,i.jsx)(eU,{children:o})]}):null};function e6(){let e=(0,ea._)(["\n  fragment TermLengthView on TermLengthCondition {\n    id\n    from\n    to\n    isRange\n  }\n"]);return e6=function(){return e},e}(0,es.ZP)(e3()),(0,es.ZP)(e4());let e8=e=>{let{termLengthCondition:t}=e,{t:n}=(0,u.$G)(),r=(0,eb.me)(t);return r?(0,i.jsxs)("div",{children:[(0,i.jsx)(ez,{children:n("text.term-length","Term length")}),(0,i.jsx)(eU,{children:r})]}):null};function e7(){let e=(0,ea._)(["\n    fragment OptionViewOffer on Offer {\n      description\n      availableFromCondition {\n        ...AvailableFromView\n      }\n      termLengthCondition {\n        ...TermLengthView\n      }\n      ...OfferMonthlyCostOfOccupancyView\n      costCondition {\n        ...CostPerDeskViewOffer\n      }\n      officeSizeCondition {\n        ...SizeSpaceViewOffer\n      }\n      sizeDesks {\n        ...SizeDesksView\n      }\n      sizeSpace {\n        ...SizeSpaceViewOfferOrOfficeSuite\n      }\n    }\n  "]);return e7=function(){return e},e}function e9(){let e=(0,ea._)(["\n    fragment OptionViewOfficeSuite on OfficeSuite {\n      id\n      description\n      availableFrom {\n        ...AvailableFromView\n      }\n      ...OfficeSuiteMonthlyCostOfOccupancyView\n      monthlyQuotingRateSpace {\n        id\n        from\n      }\n      monthlyQuotingRateDesk {\n        ...CostPerDeskViewOfficeSuite\n      }\n      monthlyQuotingRateCurrency\n      availableFrom {\n        ...AvailableFromView\n      }\n      sizeDesks {\n        ...SizeDesksView\n      }\n      sizeSpace {\n        ...SizeSpaceViewOfferOrOfficeSuite\n      }\n      ...CostPerSpaceUnitView\n    }\n  "]);return e9=function(){return e},e}(0,es.ZP)(e6());let te=e=>{var t,n;let{option:r,space:o,className:a}=e;return(0,i.jsxs)("div",{className:a,children:[(0,i.jsx)("div",{className:"pb-4",children:(0,i.jsx)(eX,{description:(null==r?void 0:r.description)||(null==o?void 0:o.description)})}),(0,i.jsxs)("div",{className:"grid grid-cols-4 gap-4",children:[(0,i.jsx)(e8,{termLengthCondition:null==r?void 0:r.termLengthCondition}),(0,i.jsx)(eq,{availableFromCondition:(null==o?void 0:o.availableFrom)||(null==r?void 0:r.availableFromCondition)}),(0,i.jsx)(e2,{sizeDesks:(null==r?void 0:r.sizeDesks)||(null==o?void 0:o.sizeDesks)}),(0,i.jsx)(e5,{sizeSpace:(null==r?void 0:r.sizeSpace)||(null==o?void 0:o.sizeSpace),officeSizeCondition:null==r?void 0:r.officeSizeCondition}),(0,i.jsx)(e$,{costCondition:null==r?void 0:r.costCondition,monthlyQuotingRateDesk:null==o?void 0:o.monthlyQuotingRateDesk}),(0,i.jsx)(eY,{sizeSpace:(null==r?void 0:r.sizeSpace)||(null==o?void 0:o.sizeSpace),monthlyQuotingRateSpace:null==o?void 0:o.monthlyQuotingRateSpace,currency:null!==(n=null==o?void 0:o.monthlyQuotingRateCurrency)&&void 0!==n?n:null==r?void 0:null===(t=r.costCondition)||void 0===t?void 0:t.currency})]}),(0,i.jsx)(e0,{offer:r,officeSuite:o})]})};(0,es.ZP)(e7()),(0,es.ZP)(e9());var tt=n(70568);function tn(){let e=(0,ea._)(["\n  fragment OperatorNameWithLogoView on Office {\n    id\n    name\n    operator {\n      id\n      name\n      logo\n    }\n  }\n"]);return tn=function(){return e},e}let tr=e=>{var t,n;let{office:r,className:o,size:a="default",onClick:s}=e;return r?(0,i.jsxs)("div",{onClick:()=>null==s?void 0:s(r.id),className:E()(o,"flex items-center gap-2",{"cursor-pointer hover:text-blue-300":s}),children:[(0,i.jsx)(tt.C,{src:(0,N.mi)(null==r?void 0:null===(t=r.operator)||void 0===t?void 0:t.logo),size:a,className:"flex-shrink-0"}),(0,i.jsxs)("div",{className:"overflow-x-hidden",children:[(0,i.jsx)("div",{className:"truncate text-xs",children:null==r?void 0:null===(n=r.operator)||void 0===n?void 0:n.name}),(0,i.jsx)("div",{className:"truncate text-sm font-semibold",children:null==r?void 0:r.name})]})]}):null};(0,es.ZP)(tn());var to=n(45168);let ti=e=>{let{onClick:t}=e;return(0,i.jsx)("div",{role:"button",tabIndex:0,className:"arrow prev",onClick:t,onKeyPress:t,children:(0,i.jsx)(to.Z,{})})};var ta=n(98856);let ts=e=>{let{onClick:t}=e;return(0,i.jsx)("div",{role:"button",tabIndex:0,className:"arrow next",onClick:t,onKeyPress:t,children:(0,i.jsx)(ta.Z,{})})};var tl=n(60043);function tc(){let e=(0,ea._)(["\n  fragment BuildingAddressView on Office {\n    id\n    shortAddress\n    longAddress\n  }\n"]);return tc=function(){return e},e}let tu=e=>{let{building:t,size:n="small",type:r="short",className:o,icon:a=(0,i.jsx)(tl.Z,{})}=e,s="long"===r?null==t?void 0:t.longAddress:null==t?void 0:t.shortAddress;return(0,i.jsxs)("div",{className:E()(o,"flex items-center gap-1 text-gray-700"),children:[s?a:null,(0,i.jsx)("div",{className:E()("flex-1 truncate empty:hidden","small"===n?"text-xs":"text-sm"),children:s})]})};(0,es.ZP)(tc());var td=n(38666);let tf=e=>{var t;let{building:n}=e,{t:r}=(0,u.$G)();return(null==n?void 0:null===(t=n.customerRequests)||void 0===t?void 0:t.some(e=>e.status===eO.ZQg.Pending))?(0,i.jsx)(S.Z,{className:"absolute right-1 top-1 z-20 flex h-6 w-6",title:r("agent:building-forms.building-group.awaiting-approval","Awaiting approval"),children:(0,i.jsx)("div",{className:"align-center cursor-pointer justify-center rounded-full bg-black bg-opacity-60",children:(0,i.jsx)(td.Z,{className:"text-white"})})}):null},tp=e=>{let{building:t,onClick:n,searchQuery:r=""}=e,o=(0,l.useMemo)(()=>({autoEscape:!0,highlightClassName:"p-0 bg-yellow-300",searchWords:[r]}),[r]),a=()=>{let e=(0,i.jsx)("div",{className:"flex items-center gap-2",children:(0,i.jsx)(w.Z.Title,{className:"mb-0 font-bold",level:5,children:null==t?void 0:t.name})});return n?(0,i.jsx)("div",{className:"cursor-pointer text-xl font-semibold text-blue-500 hover:text-blue-300",onClick:()=>null==n?void 0:n(null==t?void 0:t.id),children:e}):(0,i.jsx)("div",{className:"text-xl font-semibold",children:e})};return(0,i.jsxs)("div",{children:[a(),(0,i.jsx)(ef(),{className:"block text-gray-700",textToHighlight:null==t?void 0:t.longAddress,...o}),(null==t?void 0:t.externalId)&&(0,i.jsxs)("div",{className:"text-gray-600",children:["ID:"," ",(0,i.jsx)(ef(),{textToHighlight:t.externalId,...o})]})]})},th=e=>{let{building:t,onClick:n,searchQuery:r}=e,{showOperatorName:o}=(0,f.dB)();return o?(0,i.jsx)(tr,{size:"large",office:t,onClick:n}):(0,i.jsx)(tp,{onClick:n,building:t,searchQuery:r})};var tm=n(96701);function tg(){let e=(0,ea._)(["\n  fragment BuildingRowView on Office {\n    id\n    name\n    externalId\n    buildingGroup\n    customerRequests {\n      id\n      status\n      type\n    }\n    photos {\n      id\n      url\n    }\n    ...OperatorNameWithLogoView\n    longAddress\n  }\n"]);return tg=function(){return e},e}let tv=e=>{let{building:t,onClick:n,searchQuery:r}=e;return t?(0,i.jsxs)("div",{className:"flex gap-4",children:[(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(tm.G,{building:t,children:(0,i.jsx)(Y.dB,{className:"relative z-0 rounded",building:t,width:115,height:70})}),(0,i.jsx)(tf,{building:t})]}),(0,i.jsx)(th,{onClick:n,building:t,searchQuery:r})]}):null};(0,es.ZP)(tg());var ty=n(99754),tb=n(94138),tw=n(1171);let tS=500,tx=(0,l.createContext)(null);function tE(){let e=(0,l.useContext)(tx);if(!e)throw Error("BuildingView.* component must be rendered as child of BuildingView component");return e}let tC=()=>{let{building:e}=tE();return(0,i.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,i.jsx)("div",{className:"opacity:85 text-sm",children:e.operator.name}),(0,i.jsx)("div",{className:"mb-2 text-xl font-semibold text-black",children:e.name}),(0,i.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,i.jsx)(tl.Z,{className:"text-xs text-gray-700"}),e.longAddress]})]})},t_=e=>{let{onBrochureDownload:t}=e,{building:n}=tE();return n.operator.isPayingCustomer?(0,i.jsx)(i.Fragment,{children:n.brochures.map(e=>(0,i.jsx)(Y.Ww,{brochure:e,onDownload:t},e.id))}):null};var tk=n(18134);let tO=10,tA=()=>{var e,t,n,r,o,a,s,l,c;let{t:d}=(0,u.$G)(),{building:f}=tE(),p=(null==f?void 0:null===(e=f.commission)||void 0===e?void 0:e.rate)===tO;return(0,i.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,i.jsx)("div",{className:"text-base font-semibold",children:p?(0,i.jsx)(u.cC,{i18nKey:"agent:commission.title-standard",defaults:"{{operatorName}} offers <accent>{{amount}}%</accent> standard commission for {{buildingName}}",values:{operatorName:null==f?void 0:null===(t=f.operator)||void 0===t?void 0:t.name,amount:null==f?void 0:null===(n=f.commission)||void 0===n?void 0:n.rate,buildingName:null==f?void 0:f.name},components:{accent:(0,i.jsx)("span",{className:"text-blue-500"})}}):(0,i.jsx)(u.cC,{i18nKey:"agent:commission.title",defaults:"{{operatorName}} offers <accent>{{amount}}%</accent> commission for {{buildingName}}",values:{operatorName:null==f?void 0:null===(r=f.operator)||void 0===r?void 0:r.name,amount:null==f?void 0:null===(o=f.commission)||void 0===o?void 0:o.rate,buildingName:null==f?void 0:f.name},components:{accent:(0,i.jsx)("span",{className:"text-blue-500"})}})}),(null==f?void 0:null===(a=f.commission)||void 0===a?void 0:a.description)&&(0,i.jsx)("div",{children:null==f?void 0:null===(s=f.commission)||void 0===s?void 0:s.description}),(null==f?void 0:null===(l=f.commission)||void 0===l?void 0:l.detailsLink)&&(0,i.jsxs)("a",{href:null==f?void 0:null===(c=f.commission)||void 0===c?void 0:c.detailsLink,target:"_blank",rel:"noreferrer",children:[(0,i.jsx)(tk.Z,{className:"mr-2 text-gray-500"}),d("commission-details","View commission details")]})]})},tI=()=>(0,i.jsx)("div",{className:"mt-4 border-t pt-4",children:(0,i.jsx)(u.cC,{i18nKey:"commission-note",defaults:"Note: <accent>Valve</accent> is not responsible for the processing of commissions or fee positions",components:{accent:(0,i.jsx)("span",{className:"font-bold"})}})});var tP=n(62632),tT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},tR=n(32962),tM=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:tT}))},tN=l.forwardRef(tM);let tj=()=>{let{t:e}=(0,u.$G)();return(0,i.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,i.jsxs)("div",{className:"mb-1 text-lg font-semibold",children:[(0,i.jsx)(tN,{className:"mr-2 text-yellow-500"}),e("commission-not-set","Commission not yet specified")]}),(0,i.jsx)("div",{className:"text-gray-700",children:e("commission-not-set-description","This is a new feature, and is taking time for operators to upload their commissions. Please confirm commission with the operator")})]})},tD=()=>{var e;let{building:t}=tE();return(null==t?void 0:null===(e=t.commission)||void 0===e?void 0:e.rate)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(tA,{}),(0,i.jsx)(tI,{})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(tj,{}),(0,i.jsx)(tI,{})]})};var tL=n(49880);let tB=()=>{let{building:e}=tE();return(0,i.jsx)(Y.Mi,{monthlyQuotingRate:e.monthlyQuotingRate,icon:(0,i.jsx)(tL.Z,{className:"text-gray-700"})})},tZ=()=>{let{building:e}=tE();return(0,i.jsxs)(tb.Z,{align:"middle",className:"mb-2",gutter:8,children:[(0,i.jsx)(tw.Z,{children:(0,i.jsx)(tt.C,{size:56,src:e.operator.logo})}),(0,i.jsxs)(tw.Z,{children:[(0,i.jsx)("div",{className:"text-sm",children:e.operator.name}),(0,i.jsx)("div",{className:"text-2xl font-semibold",children:e.name})]})]})};var tF=n(89022),tz=n.n(tF);function tU(){let e=(0,ea._)(["\n  fragment OfficeGalleryView on Office {\n    id\n    name\n    photos {\n      id\n      url\n    }\n    marketingContent {\n      id\n      name\n      imageUrl\n    }\n    floorplans {\n      id\n      name\n      drawingUrl\n      url\n      floor\n    }\n    virtualTours {\n      id\n      url\n      name\n    }\n    vimeos {\n      id\n      vimeoId\n    }\n  }\n"]);return tU=function(){return e},e}let tH=e=>{var t;let{onMediaView:n,onMediaDownload:r}=e,{t:o}=(0,u.$G)(),{building:a}=tE(),s=!a.operator.isPayingCustomer,l=s?tz()(a.photos,3):a.photos,c=s?[]:a.vimeos,d=s?[]:null!==(t=a.floorplans)&&void 0!==t?t:[],f=s?[]:a.marketingContent,p=sR({photos:l,virtualTours:s?[]:a.virtualTours,floorplans:d.map(e=>{var t;return{...e,url:null!==(t=e.drawingUrl)&&void 0!==t?t:e.url,name:(0,N._Z)(e,o)}}),vimeos:c,marketingContent:f.map(e=>({...e,url:e.imageUrl}))}),h=(e,t,n)=>(0,i.jsx)("div",{className:"absolute bottom-3 right-3 z-[1]",children:(0,i.jsxs)("div",{className:"flex gap-[1px] text-white",children:[e.floor?(0,i.jsx)("div",{className:"flex h-8 items-center whitespace-nowrap bg-black/60 px-3",children:(0,i.jsx)(su,{floor:e.floor})}):null,(0,i.jsx)("div",{className:"flex h-8 items-center bg-black/60 px-3",children:(0,i.jsx)(sH,{type:e.type})}),(0,i.jsx)("div",{className:"flex h-8 items-center bg-black/60 px-3",children:"".concat(t+1," / ").concat(n.length)})]})});return p.length?(0,i.jsx)(sM,{items:p,onMediaDownload:r,onMediaView:n,addonsRenderer:h,withThumbnails:!0,withLightbox:!0,withDownload:!0}):null};(0,es.ZP)(tU());var tq=n(17099);function tV(){let e=(0,ea._)(["\n  fragment AvailabilityPanelView on Office {\n    id\n    availability {\n      ...AvailabilityPanelTextView\n    }\n    officeSuites {\n      id\n      type\n    }\n    operator {\n      id\n      isPayingCustomer\n    }\n  }\n"]);return tV=function(){return e},e}let tW=e=>{let{className:t,building:n,onShowAll:r}=e,{t:o}=(0,u.$G)(),{availability:a,officeSuites:s}=n,{availableOfficeSuitesCount:l,availableSoonOfficesCount:c,limitedAvailabilityCount:d}=null!=a?a:{},f=[{condition:l,status:ek.sX.Available,label:(0,i.jsx)(u.cC,{i18nKey:"agent:availability-panel.available-spaces",defaults:"This building has <accent>{{ count }} available spaces</accent>",count:l,components:{accent:(0,i.jsx)("span",{className:"font-bold"})}})},{condition:c,status:ek.sX.AvailableSoon,label:o("agent:availability-panel.available-soon","This building is fully occupied, but some spaces will be available within 3 months")},{condition:d,status:ek.sX.LimitedAvailability,label:o("agent:availability-panel.limited-availability","This building has reserved spaces that may become available soon")},{condition:s&&0!==s.length,status:ek.sX.Occupied,label:o("agent:availability-panel.all-occupied","This building is fully occupied")}].find(e=>e.condition);return f?(0,i.jsxs)("div",{className:E()("flex items-center justify-between rounded bg-gray-100 p-3",t),children:[(0,i.jsx)(tq.T,{status:f.status,label:f.label,variant:tq.Y.BUILDING}),l>0&&(0,i.jsx)(Y.zx,{className:"p-0",type:"link",onClick:r,children:o("text.show","Show")})]}):null};(0,es.ZP)(tV());let t$=e=>{var t,n;let{onClickOnAvailability:r}=e,{t:o}=(0,u.$G)(),{building:a}=tE(),s=a.operator.mapPin,l=null!==(n=a.amenities)&&void 0!==n?n:[],c=null===(t=a.address)||void 0===t?void 0:t.location,d=!!a.keyDates.length;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:"mb-12 whitespace-pre-line",children:a.description}),(0,i.jsx)(tW,{className:"mb-12 rounded-sm",building:a,onShowAll:r}),(0,i.jsx)(Y.a2,{className:"mb-6",amenities:l}),d&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"mb-4 text-base font-semibold",children:o("key-dates","Key dates")}),(0,i.jsx)(lL,{keyDates:a.keyDates})]}),c?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Y.J7,{className:"mb-4",transport:c.transport}),(0,i.jsx)("div",{style:{height:400},children:(0,i.jsx)(Y.J4,{lat:c.latitude,lng:c.longitude,icon:{url:s,scaledSize:new window.google.maps.Size(48,61)}})})]}):null]})};function tG(){let e=(0,ea._)(["\n  fragment PromotionView on Office {\n    ...BuildingPhotoView\n    promotion {\n      id\n      banner {\n        url\n        description\n        gradientColor\n        textColor\n      }\n    }\n  }\n"]);return tG=function(){return e},e}let tK=272,tY=98,tX=()=>{var e,t,n;let{building:r}=tE();return r.promotion?(0,i.jsxs)("div",{className:"relative mb-4 rounded-sm shadow-lg",children:[(0,i.jsx)(Y.dB,{building:r,photo:r.promotion.banner.url,width:tK,height:tY,className:"absolute top-0 h-full w-full rounded-sm text-center",imgixParams:{auto:"compress",fit:"crop",q:50,w:tK,h:tY}}),(0,i.jsx)("div",{className:"relative rounded-sm p-4",style:(0,eb.Rp)(null===(e=r.promotion.banner)||void 0===e?void 0:e.gradientColor),children:(0,i.jsx)("div",{className:"whitespace-pre-line font-semibold",style:{color:null===(t=r.promotion.banner)||void 0===t?void 0:t.textColor},children:null===(n=r.promotion.banner)||void 0===n?void 0:n.description})})]}):null};(0,es.ZP)(tG());let tQ=e=>{let{onAdd:t,onRemove:n}=e,{building:r}=tE();return(0,i.jsx)(j,{className:"w-full",buildingId:r.id,onAdd:t,onRemove:n})};var tJ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},t0=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:tJ}))},t1=l.forwardRef(t0),t2=n(15401),t3=n.n(t2);let t4=()=>{let{t:e}=(0,u.$G)(),{building:t}=tE();return t.operator.isPayingCustomer&&t.websiteURL?(0,i.jsxs)(t3(),{className:"flex items-center gap-2 text-blue-500 hover:text-blue-300",href:t.websiteURL,target:"_blank",children:[(0,i.jsx)(t1,{className:"text-xs text-gray-700"}),e("text.view-homepage","View homepage")]}):null};function t5(){let e=(0,ea._)(["\n  fragment BuildingView on Office {\n    id\n    name\n    websiteURL\n    description\n    ...OfficeGalleryView\n    ...PromotionView\n    availability(where: $suiteWhere) {\n      ...AvailabilityPanelTextView\n    }\n    operator {\n      id\n      logo\n      name\n      mapPin\n      isPayingCustomer\n    }\n    officeSuites(where: $suiteWhere) {\n      ...SpaceCardView\n    }\n    monthlyQuotingRate {\n      ...MonthlyQuotingRateView\n    }\n    amenities {\n      ...AmenityView\n    }\n    longAddress\n    address {\n      location {\n        ...SpaceCardLocation\n        transport {\n          ...TransportOptionView\n        }\n      }\n    }\n    keyDates {\n      ...KeyDateView\n    }\n    brochures {\n      ...BrochureView\n    }\n    commission {\n      ...CommissionView\n    }\n  }\n"]);return t5=function(){return e},e}let t6=e=>{let{building:t,loading:n,children:r,gallery:o,side:a}=e,{t:s}=(0,u.$G)();return n&&!t?(0,i.jsx)("div",{className:"align-center flex h-screen flex-col justify-center",children:(0,i.jsx)(ty.Z,{size:"large"})}):(null==t?void 0:t.id)?(0,i.jsxs)(tx.Provider,{value:{building:t},children:[o,(0,i.jsx)("div",{className:"mx-auto max-w-6xl bg-white py-6",children:(0,i.jsxs)(tb.Z,{justify:"space-between",children:[(0,i.jsx)(tw.Z,{span:17,children:r}),(0,i.jsx)(tw.Z,{span:6,children:a})]})})]}):(0,i.jsx)("h1",{className:"flex items-center justify-center text-2xl",style:{height:tS},children:s("building-not-found","Building not found")})};t6.Gallery=tH,t6.Name=tZ,t6.Website=t4,t6.Promotion=tX,t6.Address=tC,t6.Cost=tB,t6.Shortlist=tQ,t6.Brochures=t_,t6.Overview=t$,t6.Commission=tD,(0,es.ZP)(t5());var t8=n(93263),t7=n(86535),t9=n(28182),ne=n(6020),nt=n.n(ne);let nn=(e,t)=>{let n=nt()(),r=e?nt()(e):null,o=n.add(3,"month");return t===ek.sX.Occupied&&r&&r.isAfter(n)&&r.isBefore(o)},nr=e=>{var t;if(N.mA.has(e.type)||!(null==e?void 0:e.status))return null;let n=null==e?void 0:null===(t=e.availableFrom)||void 0===t?void 0:t.from,r=nn(n,e.status)?ek.sX.AvailableSoon:e.status,o=(0,ek.pQ)(r),i=(r===ek.sX.Occupied||r===ek.sX.AvailableSoon)&&n?nt()(n).format("MMM YYYY"):null;return{status:r,label:i?"".concat(o,": ").concat(i):o}},no=(0,l.createContext)(null);function ni(){let e=(0,l.useContext)(no);if(!e)throw Error("SpaceCard.* component must be rendered as child of SpaceCard component");return e}let na=()=>{let{space:e}=ni(),t=nr(e);if(!(null==t?void 0:t.status))return null;let{status:n,label:r}=t;return(0,i.jsx)(tq.T,{status:n,label:r,variant:tq.Y.SPACE})};var ns={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"},nl=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:ns}))},nc=l.forwardRef(nl);function nu(){let e=(0,ea._)(["\n  fragment CoverView on OfficeSuite {\n    id\n    name\n    floor\n    photos {\n      id\n      url\n    }\n  }\n"]);return nu=function(){return e},e}let nd=t9.ZP.div.withConfig({componentId:"sc-b22467e0-0"})(["position:absolute;top:",";right:",";padding:0 8px;height:24px;line-height:24px;background:rgba(16,18,21,0.7);border-radius:12px;color:#fff;cursor:pointer;z-index:1;"],e=>e.theme.spacing[2],e=>e.theme.spacing[2]),nf=e=>{var t,n;let{officeSuite:r,containerRef:o}=e,[a,s]=(0,l.useState)(),c=null!==(n=null==r?void 0:r.photos)&&void 0!==n?n:[],u=c[0];(0,l.useEffect)(()=>{var e;s(null===(e=o.current)||void 0===e?void 0:e.clientHeight)},[null===(t=o.current)||void 0===t?void 0:t.clientHeight]);let d=c.map(e=>{let{url:t}=e;return{photo:"".concat(t,"?compress=auto&w=1500"),thumbnail:"".concat(t,"?compress=auto&w=100"),caption:r.floor,subcaption:r.name}});return(0,i.jsx)(Y.ri,{images:d,children:e=>{let{open:t}=e;return(0,i.jsxs)("div",{className:"relative",children:[c.length>1&&(0,i.jsx)(nd,{onClick:t,children:(0,i.jsxs)("div",{className:"flex items-center gap-1",children:[c.length,(0,i.jsx)(nc,{})]})}),(0,i.jsx)(Y.Ee,{src:u.url,height:a,width:240,onClick:t,className:"cursor-pointer"})]})}})};(0,es.ZP)(nu());let np=()=>{let{space:e}=ni();return(null==e?void 0:e.description)?(0,i.jsx)(sc,{className:"rich-text",html:null==e?void 0:e.description}):null},nh=()=>{let{t:e}=(0,u.$G)(),{space:t}=ni(),n=(0,eb.qs)(null==t?void 0:t.sizeDesks);return n?(0,i.jsxs)(tw.Z,{className:"mb-2",span:12,children:[(0,i.jsx)("div",{className:"text-gray-600",children:e("number-of-desks","Number of desks")}),(0,i.jsx)("strong",{children:n})]}):null};function nm(){return(nm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let ng=e=>l.createElement("svg",nm({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),fg||(fg=l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.555.333h-2.333a1 1 0 0 0-1 1v1.963H7.259a1 1 0 0 0-1 1V6.26H4.296a1 1 0 0 0-1 1v1.963H1.333a1 1 0 0 0-1 1v2.444a1 1 0 0 0 1 1h11.333a1 1 0 0 0 1-1V1.335a1 1 0 0 0-1-1h-.11zm0 1.111h-2.222v1.963a1 1 0 0 1-1 1H7.37V6.37a1 1 0 0 1-1 1H4.407v1.963a1 1 0 0 1-1 1H1.444v2.223h11.111V1.444z",clipRule:"evenodd"}))),nv=()=>{let{t:e}=(0,u.$G)(),{space:t}=ni();return(null==t?void 0:t.floor)?(0,i.jsx)(S.Z,{title:e("office-suite-card.floor-level","Floor level"),children:(0,i.jsxs)(tb.Z,{gutter:4,align:"middle",children:[(0,i.jsx)(tw.Z,{children:(0,i.jsx)(ng,{className:"text-gray-700"})}),(0,i.jsx)(tw.Z,{children:t.floor})]})}):null},ny=()=>{let{space:e}=ni();return(0,i.jsx)(sV,{floorplans:null==e?void 0:e.floorplans})};function nb(){return(nb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let nw=e=>l.createElement("svg",nb({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),fv||(fv=l.createElement("path",{fill:"#788897",fillRule:"evenodd",d:"M9.818 1.333H6.99L1.333 6.99v2.829l8.485-8.486zm1.415 0-9.9 9.9v.194c0 .442.001.706.019.9a.75.75 0 0 0 .03.18.332.332 0 0 0 .11.11.81.81 0 0 0 .18.03c.195.019.458.02.901.02h.155l9.938-9.94v-.154c0-.442 0-.706-.019-.9a.818.818 0 0 0-.03-.18.332.332 0 0 0-.11-.111.821.821 0 0 0-.18-.03 11.176 11.176 0 0 0-.9-.019h-.194zM6.97 12.667H4.142l8.524-8.525V6.97L6.97 12.667zm1.414 0h3.042c.443 0 .707-.001.901-.02a.81.81 0 0 0 .18-.03.332.332 0 0 0 .11-.11.818.818 0 0 0 .03-.18c.018-.194.02-.458.02-.9V8.384l-4.283 4.283zM2.573 1.333h3.002L1.333 5.576V2.573c0-.442.001-.706.019-.9a.82.82 0 0 1 .03-.18.333.333 0 0 1 .11-.111.82.82 0 0 1 .18-.03c.195-.018.458-.019.901-.019zM.519.988c-.186.314-.186.738-.186 1.585v8.854c0 .847 0 1.271.186 1.585.114.193.275.355.469.469.314.186.737.186 1.585.186h8.853c.848 0 1.272 0 1.586-.186.193-.114.354-.276.469-.469.185-.314.185-.738.185-1.585V2.573c0-.847 0-1.271-.185-1.585a1.334 1.334 0 0 0-.47-.469c-.313-.186-.737-.186-1.585-.186H2.573c-.848 0-1.271 0-1.585.186a1.333 1.333 0 0 0-.47.469z",clipRule:"evenodd"})));function nS(){return(nS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let nx=e=>l.createElement("svg",nS({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),fy||(fy=l.createElement("path",{fill:"#788897",fillRule:"evenodd",d:"M4.786 3.667c-.423 0-.635 0-.792.093a.667.667 0 0 0-.235.234c-.093.157-.093.369-.093.793v4.426c0 .424 0 .636.093.793a.667.667 0 0 0 .235.235c.157.092.369.092.792.092h4.427c.424 0 .636 0 .793-.092a.667.667 0 0 0 .234-.235c.093-.157.093-.369.093-.793V4.787c0-.424 0-.636-.093-.793a.667.667 0 0 0-.234-.234c-.157-.093-.37-.093-.793-.093H4.786zM.333 2.573c0-.847 0-1.271.186-1.585C.633.795.794.633.988.519c.314-.186.737-.186 1.585-.186h8.853c.848 0 1.272 0 1.586.186.193.114.354.276.469.469.185.314.185.738.185 1.585v8.854c0 .847 0 1.271-.185 1.585a1.334 1.334 0 0 1-.47.469c-.313.186-.737.186-1.585.186H2.573c-.848 0-1.271 0-1.585-.186a1.333 1.333 0 0 1-.47-.469c-.185-.314-.185-.738-.185-1.585V2.573z",clipRule:"evenodd"})));function nE(){return(nE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let nC=e=>l.createElement("svg",nE({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),fb||(fb=l.createElement("g",{clipPath:"url(#exterior-interior_svg__a)"},l.createElement("g",{clipPath:"url(#exterior-interior_svg__b)"},l.createElement("path",{fill:"#788897",fillRule:"evenodd",d:"M2.573 1.333h8.853c.443 0 .707.001.901.02.117.01.166.024.18.029a.332.332 0 0 1 .11.111.82.82 0 0 1 .03.18c.018.194.02.458.02.9v8.854c0 .442-.002.706-.02.9a.82.82 0 0 1-.03.18.333.333 0 0 1-.11.111.826.826 0 0 1-.18.03c-.194.018-.458.019-.9.019H2.572c-.443 0-.706-.001-.9-.02a.825.825 0 0 1-.18-.029.334.334 0 0 1-.111-.111.821.821 0 0 1-.03-.18c-.018-.3-.025-.6-.019-.9V2.573c0-.442.001-.706.019-.9a.82.82 0 0 1 .03-.18.333.333 0 0 1 .11-.111.82.82 0 0 1 .18-.03c.195-.018.459-.019.902-.019zm-2.24 1.24c0-.847 0-1.271.186-1.585C.633.795.794.633.988.519c.314-.186.737-.186 1.585-.186h8.853c.848 0 1.272 0 1.586.186.193.114.354.276.469.469.185.314.185.738.185 1.585v8.854c0 .847 0 1.271-.185 1.585a1.334 1.334 0 0 1-.47.469c-.313.186-.737.186-1.585.186H2.573c-.848 0-1.271 0-1.585-.186a1.333 1.333 0 0 1-.47-.469c-.185-.314-.185-.738-.185-1.585V2.573zm3.601 2.094C3.666 5.13 3.666 5.754 3.666 7s0 1.87.268 2.333a2 2 0 0 0 .732.732c.464.268 1.088.268 2.334.268s1.869 0 2.333-.268a2 2 0 0 0 .732-.732c.268-.464.268-1.087.268-2.333s0-1.87-.268-2.333a2 2 0 0 0-.732-.732C8.869 3.667 8.246 3.667 7 3.667s-1.87 0-2.334.268a2 2 0 0 0-.732.732z",clipRule:"evenodd"})),l.createElement("g",{clipPath:"url(#exterior-interior_svg__c)"},l.createElement("path",{fill:"#788897",fillRule:"evenodd",d:"M4.786 3.667c-.423 0-.635 0-.792.093a.667.667 0 0 0-.235.234c-.093.157-.093.369-.093.793v4.426c0 .424 0 .636.093.793a.667.667 0 0 0 .235.235c.157.092.369.092.792.092h4.427c.424 0 .636 0 .793-.092a.668.668 0 0 0 .234-.235c.093-.157.093-.369.093-.793V4.787c0-.424 0-.636-.093-.793a.667.667 0 0 0-.234-.234c-.157-.093-.37-.093-.793-.093H4.786zM.333 2.573c0-.847 0-1.271.186-1.585C.633.795.794.633.988.519c.314-.186.737-.186 1.585-.186h8.853c.848 0 1.272 0 1.586.186.193.114.354.276.469.469.185.314.185.738.185 1.585v8.854c0 .847 0 1.271-.185 1.585a1.334 1.334 0 0 1-.47.469c-.313.186-.737.186-1.585.186H2.573c-.848 0-1.271 0-1.585-.186a1.333 1.333 0 0 1-.47-.469c-.185-.314-.185-.738-.185-1.585V2.573z",clipRule:"evenodd"})))),fw||(fw=l.createElement("defs",null,l.createElement("clipPath",{id:"exterior-interior_svg__a"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"})),l.createElement("clipPath",{id:"exterior-interior_svg__b"},l.createElement("path",{fill:"#fff",d:"M7 0h7v14H7z"})),l.createElement("clipPath",{id:"exterior-interior_svg__c"},l.createElement("path",{fill:"#fff",d:"M0 0h7v14H0z"})))));function n_(){return(n_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let nk=e=>l.createElement("svg",n_({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),fS||(fS=l.createElement("path",{fill:"#788897",fillRule:"evenodd",d:"M2.573 1.333h8.853c.443 0 .707.001.901.02.117.01.166.024.18.029a.333.333 0 0 1 .11.111.818.818 0 0 1 .03.18c.018.194.02.458.02.9v8.854c0 .442-.002.706-.02.9a.818.818 0 0 1-.03.18.333.333 0 0 1-.11.111.822.822 0 0 1-.18.03c-.194.018-.458.019-.9.019H2.572c-.443 0-.706-.001-.9-.02a.821.821 0 0 1-.18-.029.334.334 0 0 1-.111-.111.821.821 0 0 1-.03-.18 11.18 11.18 0 0 1-.019-.9V2.573c0-.442.001-.706.019-.9a.82.82 0 0 1 .03-.18.333.333 0 0 1 .11-.111.821.821 0 0 1 .18-.03c.195-.018.458-.019.901-.019zm-2.24 1.24c0-.847 0-1.271.186-1.585C.633.795.794.633.988.519c.314-.186.737-.186 1.585-.186h8.853c.848 0 1.272 0 1.586.186.193.114.354.276.469.469.185.314.185.738.185 1.585v8.854c0 .847 0 1.271-.185 1.585a1.334 1.334 0 0 1-.47.469c-.313.186-.737.186-1.585.186H2.573c-.848 0-1.271 0-1.585-.186a1.333 1.333 0 0 1-.47-.469c-.185-.314-.185-.738-.185-1.585V2.573zm3.601 2.094C3.666 5.13 3.666 5.754 3.666 7c0 1.246 0 1.87.268 2.333a2 2 0 0 0 .732.732c.464.268 1.088.268 2.334.268s1.869 0 2.333-.268a2 2 0 0 0 .732-.732c.268-.464.268-1.087.268-2.333 0-1.246 0-1.87-.268-2.333a2 2 0 0 0-.732-.732C8.869 3.667 8.246 3.667 7 3.667c-1.246 0-1.87 0-2.334.268a2 2 0 0 0-.732.732z",clipRule:"evenodd"}))),nO=()=>{let{t:e}=(0,u.$G)(),{space:t}=ni(),{label:n,tooltip:r,icon:o}=(0,l.useMemo)(()=>{switch(null==t?void 0:t.spaceLocation){case eO.Y$Z.Interior:return{label:e("space-location.interior","Interior"),tooltip:e("office-suite-card.space-location.tooltip.interior","Doesn't have windows"),icon:(0,i.jsx)(nk,{})};case eO.Y$Z.Exterior:return{label:e("space-location.exterior","Exterior"),tooltip:e("office-suite-card.space-location.tooltip.exterior","Has windows"),icon:(0,i.jsx)(nx,{})};case eO.Y$Z.EntireFloor:return{label:e("space-location.entire-floor","Entire floor"),tooltip:e("office-suite-card.space-location.tooltip.entire-floor","Entire floor rent"),icon:(0,i.jsx)(nw,{})};case eO.Y$Z.ExteriorInterior:return{label:e("space-location.exterior-interior","Exterior & Interior"),tooltip:e("office-suite-card.space-location.tooltip.exterior-interior","Both exterior and interior"),icon:(0,i.jsx)(nC,{})};default:return{}}},[location,e]);return(0,i.jsx)(S.Z,{title:r,children:(0,i.jsxs)(tb.Z,{gutter:4,align:"middle",children:[(0,i.jsx)(tw.Z,{children:o}),(0,i.jsx)(tw.Z,{children:n})]})})},nA=()=>{let{space:e}=ni();return(0,i.jsx)("strong",{className:"text-lg leading-tight",children:null==e?void 0:e.name})},nI=()=>{let{t:e}=(0,u.$G)(),{space:t}=ni(),n=(0,eb.qO)(null==t?void 0:t.monthlyQuotingRateDesk,null==t?void 0:t.monthlyQuotingRateCurrency);return n?(0,i.jsxs)(tw.Z,{className:"mb-2",span:12,children:[(0,i.jsx)("div",{className:"text-gray-600",children:e("sizes.per-desk","per desk")}),(0,i.jsx)("strong",{children:n})]}):null},nP=()=>{var e;let{t}=(0,u.$G)(),{space:n}=ni(),r=(0,eb.qO)(null==n?void 0:n.monthlyQuotingRateSpace,null==n?void 0:n.monthlyQuotingRateCurrency);if(!r)return null;let o=(null==n?void 0:null===(e=n.sizeSpace)||void 0===e?void 0:e.unit)===eO.d_w.SquareFoot?t("sizes.per-sq-ft","per ft\xb2"):t("sizes.per-sq-m","per m\xb2");return(0,i.jsxs)(tw.Z,{className:"mb-2",span:12,children:[(0,i.jsx)("div",{className:"text-gray-600",children:o}),(0,i.jsx)("strong",{children:r})]})},nT=()=>{let{space:e}=ni(),t=(0,eb.qO)(null==e?void 0:e.monthlyQuotingRateTotal,null==e?void 0:e.monthlyQuotingRateCurrency);return(0,i.jsx)("strong",{className:"text-base",children:t})},nR=e=>{let{buildingId:t,onAdd:n,onRemove:r}=e,{t:o}=(0,u.$G)(),{space:a}=ni();return(0,i.jsx)(j,{className:"w-full",buildingId:t,spaceId:null==a?void 0:a.id,onAdd:()=>n(a.id),onRemove:()=>r(a.id),tooltipProvider:e=>e?o("remove-from-shortlist","Remove from shortlist"):o("add-to-shortlist","Add to shortlist")})},nM=()=>{let{t:e}=(0,u.$G)(),{space:t}=ni(),n=(0,eb.kh)(null==t?void 0:t.sizeSpace);return n?(0,i.jsxs)(tw.Z,{className:"mb-2",span:12,children:[(0,i.jsx)("div",{className:"text-gray-600",children:e("text.space-size","Space size")}),(0,i.jsx)("strong",{children:n})]}):null},nN=()=>{let{space:e}=ni();return(0,i.jsx)(Y.YO,{date:(null==e?void 0:e.actualizedAt)||(null==e?void 0:e.updatedAt)})},nj=()=>{let{space:e}=ni();return(0,i.jsx)(Y.J$,{space:e})};function nD(){let e=(0,ea._)(["\n  fragment SpaceCardView on OfficeSuite {\n    id\n    isPublic\n    actualizedAt\n    updatedAt\n    externalId\n    name\n    type\n    status\n    description\n    floor\n    availableFrom {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateDesk {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateSpace {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateCurrency\n    sizeSpace {\n      id\n      from\n      to\n      isRange\n      unit\n    }\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n    spaceLocation\n    floorplans {\n      ...FloorplansGalleryView\n    }\n    ...CoverView\n  }\n"]);return nD=function(){return e},e}function nL(){let e=(0,ea._)(["\n  fragment SpaceCardLocation on Location {\n    id\n    latitude\n    longitude\n  }\n"]);return nL=function(){return e},e}let nB=t9.ZP.div.withConfig({componentId:"sc-838826d-0"})(["&:hover{.ant-checkbox-inner{background-color:",";&::after{border-color:",";}}.ant-checkbox-wrapper{display:block;}}"],e=>e.theme.colors.gray[400],e=>e.theme.colors.gray[400]),nZ=(0,t9.ZP)(t8.Z).withConfig({componentId:"sc-838826d-1"})(["display:flex;&.ant-card{position:relative;border-radius:4px;border:1px solid ",";overflow:hidden;.ant-card-cover{display:flex;width:240px;min-width:240px;align-items:center;justify-content:center;overflow:hidden;background-color:",";img{border-radius:0;}.imgix{object-fit:cover;}&:empty{display:none;}}}.ant-card-body{flex-grow:1;padding:0;}"],e=>e.theme.colors.gray[400],e=>e.theme.colors.gray[100]),nF=t9.ZP.div.withConfig({componentId:"sc-838826d-2"})(["border-bottom:1px solid ",";margin-bottom:8px;"],e=>(0,t7.m4)(e.theme.colors.gray[400],.6)),nz=e=>{var t;let{space:n,className:r,title:o,footer:a,children:s}=e,c=(0,l.useRef)(null),u=null!==(t=null==n?void 0:n.photos[0])&&void 0!==t&&t;return(0,i.jsx)(no.Provider,{value:{space:n},children:(0,i.jsx)(nB,{className:r,children:(0,i.jsx)(nZ,{cover:u?(0,i.jsx)(nf,{containerRef:c,officeSuite:n}):null,bordered:!1,children:(0,i.jsxs)("div",{ref:c,className:"flex h-full flex-col px-4 pb-1",children:[(0,i.jsx)("div",{className:"my-2",children:o}),(0,i.jsx)("div",{className:"flex h-full gap-4 border-t border-gray-400 py-2",children:s}),a]})})})})};nz.Name=nA,nz.UpdatedAt=nN,nz.Visibility=nj,nz.PriceTotal=nT,nz.Availability=na,nz.Description=np,nz.Floor=nv,nz.Location=nO,nz.Floorplans=ny,nz.Space=nM,nz.Desks=nh,nz.PriceDesks=nI,nz.PriceSpace=nP,nz.Shortlist=nR,nz.Separator=nF,(0,es.ZP)(nD()),(0,es.ZP)(nL());var nU={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M697.8 481.4c33.6-35 54.2-82.3 54.2-134.3v-10.2C752 229.3 663.9 142 555.3 142H259.4c-15.1 0-27.4 12.3-27.4 27.4v679.1c0 16.3 13.2 29.5 29.5 29.5h318.7c117 0 211.8-94.2 211.8-210.5v-11c0-73-37.4-137.3-94.2-175.1zM328 238h224.7c57.1 0 103.3 44.4 103.3 99.3v9.5c0 54.8-46.3 99.3-103.3 99.3H328V238zm366.6 429.4c0 62.9-51.7 113.9-115.5 113.9H328V542.7h251.1c63.8 0 115.5 51 115.5 113.9v10.8z"}}]},name:"bold",theme:"outlined"},nH=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:nU}))},nq=l.forwardRef(nH),nV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M798 160H366c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h181.2l-156 544H229c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8H474.4l156-544H798c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"italic",theme:"outlined"},nW=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:nV}))},n$=l.forwardRef(nW),nG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z"}}]},name:"ordered-list",theme:"outlined"},nK=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:nG}))},nY=l.forwardRef(nK),nX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},nQ=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:nX}))},nJ=l.forwardRef(nQ);/*!
 * isobject <https://github.com/jonschlinkert/isobject>
 *
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */function n0(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}/*!
 * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
 *
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */function n1(e){return!0===n0(e)&&"[object Object]"===Object.prototype.toString.call(e)}var n2=function(e){var t,n;return!1!==n1(e)&&"function"==typeof(t=e.constructor)&&!1!==n1(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")},n3=n(79895),n4="undefined"!=typeof Symbol,n5="undefined"!=typeof Map,n6="undefined"!=typeof Set,n8=n4?Symbol("immer-nothing"):((fx={})["immer-nothing"]=!0,fx),n7=n4?Symbol("immer-draftable"):"__$immer_draftable",n9=n4?Symbol("immer-state"):"__$immer_state",re=n4?Symbol.iterator:"@@iterator",rt=function(e,t){return(rt=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function rn(e,t){function n(){this.constructor=e}rt(e,t),e.prototype=(n.prototype=t.prototype,new n)}function rr(e){return!!e&&!!e[n9]}function ro(e){return!!e&&(ri(e)||Array.isArray(e)||!!e[n7]||!!e.constructor[n7]||rh(e)||rm(e))}function ri(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return!t||t===Object.prototype}(function(e){e[e.Object=0]="Object",e[e.Array=1]="Array",e[e.Map=2]="Map",e[e.Set=3]="Set"})(fE||(fE={})),function(e){e[e.ProxyObject=0]="ProxyObject",e[e.ProxyArray=1]="ProxyArray",e[e.ES5Object=2]="ES5Object",e[e.ES5Array=3]="ES5Array",e[e.Map=4]="Map",e[e.Set=5]="Set"}(fC||(fC={}));var ra="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function rs(e,t){rc(e)===fE.Object?ra(e).forEach(function(n){return t(n,e[n],e)}):e.forEach(function(n,r){return t(r,n,e)})}function rl(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!!n&&!!n.enumerable}function rc(e){if(e||rS(),e[n9])switch(e[n9].type){case fC.ES5Object:case fC.ProxyObject:return fE.Object;case fC.ES5Array:case fC.ProxyArray:return fE.Array;case fC.Map:return fE.Map;case fC.Set:return fE.Set}return Array.isArray(e)?fE.Array:rh(e)?fE.Map:rm(e)?fE.Set:fE.Object}function ru(e,t){return rc(e)===fE.Map?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function rd(e,t){return rc(e)===fE.Map?e.get(t):e[t]}function rf(e,t,n){switch(rc(e)){case fE.Map:e.set(t,n);break;case fE.Set:e.delete(t),e.add(n);break;default:e[t]=n}}function rp(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function rh(e){return n5&&e instanceof Map}function rm(e){return n6&&e instanceof Set}function rg(e){return e.copy||e.base}function rv(e,t){if(void 0===t&&(t=!1),Array.isArray(e))return e.slice();var n=Object.create(Object.getPrototypeOf(e));return ra(e).forEach(function(r){if(r!==n9){var o=Object.getOwnPropertyDescriptor(e,r),i=o.value;if(o.get){if(!t)throw Error("Immer drafts cannot have computed properties");i=o.get.call(e)}o.enumerable?n[r]=i:Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0})}}),n}function ry(e,t){if(!(!ro(e)||rr(e)||Object.isFrozen(e))){var n=rc(e);n===fE.Set?e.add=e.clear=e.delete=rb:n===fE.Map&&(e.set=e.clear=e.delete=rb),Object.freeze(e),t&&rs(e,function(e,t){return ry(t,!0)})}}function rb(){throw Error("This object has been frozen and should not be mutated")}function rw(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0})}function rS(){throw Error("Illegal state, please file a bug")}var rx=function(){function e(e,t){this.drafts=[],this.parent=e,this.immer=t,this.canAutoFreeze=!0}return e.prototype.usePatches=function(e){e&&(this.patches=[],this.inversePatches=[],this.patchListener=e)},e.prototype.revoke=function(){this.leave(),this.drafts.forEach(rE),this.drafts=null},e.prototype.leave=function(){this===e.current&&(e.current=this.parent)},e.enter=function(t){var n=new e(e.current,t);return e.current=n,n},e}();function rE(e){var t=e[n9];t.type===fC.ProxyObject||t.type===fC.ProxyArray?t.revoke():t.revoked=!0}function rC(e,t,n){var r=n.drafts[0],o=void 0!==t&&t!==r;if(e.willFinalize(n,t,o),o){if(r[n9].modified)throw n.revoke(),Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.");ro(t)&&(t=r_(e,t,n),n.parent||rA(e,t)),n.patches&&(n.patches.push({op:"replace",path:[],value:t}),n.inversePatches.push({op:"replace",path:[],value:r[n9].base}))}else t=r_(e,r,n,[]);return n.revoke(),n.patches&&n.patchListener(n.patches,n.inversePatches),t!==n8?t:void 0}function r_(e,t,n,r){var o=t[n9];if(!o)return Object.isFrozen(t)?t:rk(e,t,n);if(o.scope!==n)return t;if(!o.modified)return rA(e,o.base,!0),o.base;if(!o.finalized){if(o.finalized=!0,rk(e,o.draft,n,r),e.onDelete&&o.type!==fC.Set){if(e.useProxies)rs(o.assigned,function(t,n){n||e.onDelete(o,t)});else{var i=o.base,a=o.copy;rs(i,function(t){ru(a,t)||e.onDelete(o,t)})}}e.onCopy&&e.onCopy(o),e.autoFreeze&&n.canAutoFreeze&&ry(o.copy,!1),r&&n.patches&&r2(o,r,n.patches,n.inversePatches)}return o.copy}function rk(e,t,n,r){var o=t[n9];return o&&((o.type===fC.ES5Object||o.type===fC.ES5Array)&&(o.copy=rv(o.draft,!0)),t=o.copy),rs(t,function(i,a){return rO(e,n,t,o,t,i,a,r)}),t}function rO(e,t,n,r,o,i,a,s){if(a===o)throw Error("Immer forbids circular references");var l=!!r&&o===n,c=rm(o);if(rr(a)){var u=s&&l&&!c&&!ru(r.assigned,i)?s.concat(i):void 0;rf(o,i,a=r_(e,a,t,u)),rr(a)&&(t.canAutoFreeze=!1)}else{if(l&&rp(a,rd(r.base,i)))return;ro(a)&&(rs(a,function(o,i){return rO(e,t,n,r,a,o,i,s)}),t.parent||rA(e,a))}l&&e.onAssign&&!c&&e.onAssign(r,i,a)}function rA(e,t,n){void 0===n&&(n=!1),e.autoFreeze&&!rr(t)&&ry(t,n)}function rI(e,t){var n=Array.isArray(e),r={type:n?fC.ProxyArray:fC.ProxyObject,scope:t?t.scope:rx.current,modified:!1,finalized:!1,assigned:{},parent:t,base:e,draft:null,drafts:{},copy:null,revoke:null,isManual:!1},o=r,i=rP;n&&(o=[r],i=rT);var a=Proxy.revocable(o,i),s=a.revoke,l=a.proxy;return r.draft=l,r.revoke=s,l}var rP={get:function(e,t){if(t===n9)return e;var n=e.drafts;if(!e.modified&&ru(n,t))return n[t];var r=rg(e)[t];if(e.finalized||!ro(r))return r;if(e.modified){if(r!==rR(e.base,t))return r;n=e.copy}return n[t]=e.scope.immer.createProxy(r,e)},has:function(e,t){return t in rg(e)},ownKeys:function(e){return Reflect.ownKeys(rg(e))},set:function(e,t,n){if(!e.modified){var r=rR(e.base,t);if(n?rp(r,n)||n===e.drafts[t]:rp(r,n)&&t in e.base)return!0;rN(e),rM(e)}return e.assigned[t]=!0,e.copy[t]=n,!0},deleteProperty:function(e,t){return void 0!==rR(e.base,t)||t in e.base?(e.assigned[t]=!1,rN(e),rM(e)):e.assigned[t]&&delete e.assigned[t],e.copy&&delete e.copy[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Reflect.getOwnPropertyDescriptor(rg(e),t);return n&&(n.writable=!0,n.configurable=e.type!==fC.ProxyArray||"length"!==t),n},defineProperty:function(){throw Error("Object.defineProperty() cannot be used on an Immer draft")},getPrototypeOf:function(e){return Object.getPrototypeOf(e.base)},setPrototypeOf:function(){throw Error("Object.setPrototypeOf() cannot be used on an Immer draft")}},rT={};function rR(e,t){var n=e[n9],r=Reflect.getOwnPropertyDescriptor(n?rg(n):e,t);return r&&r.value}function rM(e){if(!e.modified){if(e.modified=!0,e.type===fC.ProxyObject||e.type===fC.ProxyArray){var t=e.copy=rv(e.base);rs(e.drafts,function(e,n){t[e]=n}),e.drafts=void 0}e.parent&&rM(e.parent)}}function rN(e){e.copy||(e.copy=rv(e.base))}function rj(e,t,n){e.drafts.forEach(function(e){e[n9].finalizing=!0}),n?rr(t)&&t[n9].scope===e&&rW(e.drafts):(e.patches&&r$(e.drafts[0]),rW(e.drafts))}function rD(e,t){var n=Array.isArray(e),r=rU(e);rs(r,function(t){rq(r,t,n||rl(e,t))});var o={type:n?fC.ES5Array:fC.ES5Object,scope:t?t.scope:rx.current,modified:!1,finalizing:!1,finalized:!1,assigned:{},parent:t,base:e,draft:r,copy:null,revoked:!1,isManual:!1};return rw(r,n9,o),r}function rL(e,t){var n=e[n9];if(n&&!n.finalizing){n.finalizing=!0;var r=e[t];return n.finalizing=!1,r}return e[t]}function rB(e,t){rV(e);var n=rL(rg(e),t);return e.finalizing?n:n===rL(e.base,t)&&ro(n)?(rz(e),e.copy[t]=e.scope.immer.createProxy(n,e)):n}function rZ(e,t,n){if(rV(e),e.assigned[t]=!0,!e.modified){if(rp(n,rL(rg(e),t)))return;rF(e),rz(e)}e.copy[t]=n}function rF(e){!e.modified&&(e.modified=!0,e.parent&&rF(e.parent))}function rz(e){e.copy||(e.copy=rU(e.base))}function rU(e){var t=e&&e[n9];if(t){t.finalizing=!0;var n=rv(t.draft,!0);return t.finalizing=!1,n}return rv(e)}rs(rP,function(e,t){rT[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),rT.deleteProperty=function(e,t){if(isNaN(parseInt(t)))throw Error("Immer only supports deleting array indices");return rP.deleteProperty.call(this,e[0],t)},rT.set=function(e,t,n){if("length"!==t&&isNaN(parseInt(t)))throw Error("Immer only supports setting array indices and the 'length' property");return rP.set.call(this,e[0],t,n,e[0])};var rH={};function rq(e,t,n){var r=rH[t];r?r.enumerable=n:rH[t]=r={configurable:!0,enumerable:n,get:function(){return rB(this[n9],t)},set:function(e){rZ(this[n9],t,e)}},Object.defineProperty(e,t,r)}function rV(e){if(!0===e.revoked)throw Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(rg(e)))}function rW(e){for(var t=e.length-1;t>=0;t--){var n=e[t][n9];if(!n.modified)switch(n.type){case fC.ES5Array:rK(n)&&rF(n);break;case fC.ES5Object:rG(n)&&rF(n)}}}function r$(e){if(e&&"object"==typeof e){var t=e[n9];if(t){var n=t.base,r=t.draft,o=t.assigned,i=t.type;if(i===fC.ES5Object)rs(r,function(e){e!==n9&&(void 0!==n[e]||ru(n,e)?o[e]||r$(r[e]):(o[e]=!0,rF(t)))}),rs(n,function(e){void 0!==r[e]||ru(r,e)||(o[e]=!1,rF(t))});else if(i===fC.ES5Array){if(rK(t)&&(rF(t),o.length=!0),r.length<n.length)for(var a=r.length;a<n.length;a++)o[a]=!1;else for(var a=n.length;a<r.length;a++)o[a]=!0;for(var s=Math.min(r.length,n.length),a=0;a<s;a++)void 0===o[a]&&r$(r[a])}}}}function rG(e){for(var t=e.base,n=e.draft,r=Object.keys(n),o=r.length-1;o>=0;o--){var i=r[o],a=t[i];if(void 0===a&&!ru(t,i))return!0;var s=n[i],l=s&&s[n9];if(l?l.base!==a:!rp(s,a))return!0}return r.length!==Object.keys(t).length}function rK(e){var t=e.draft;if(t.length!==e.base.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!!n&&!n.get}var rY=function(e){if(!e)throw Error("Map is not polyfilled");function t(e,t){return this[n9]={type:fC.Map,parent:t,scope:t?t.scope:rx.current,modified:!1,finalized:!1,copy:void 0,assigned:void 0,base:e,draft:this,isManual:!1,revoked:!1},this}rn(t,e);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return rg(this[n9]).size},enumerable:!0,configurable:!0}),n.has=function(e){return rg(this[n9]).has(e)},n.set=function(e,t){var n=this[n9];return rV(n),rg(n).get(e)!==t&&(rQ(n),n.scope.immer.markChanged(n),n.assigned.set(e,!0),n.copy.set(e,t),n.assigned.set(e,!0)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[n9];return rV(t),rQ(t),t.scope.immer.markChanged(t),t.assigned.set(e,!1),t.copy.delete(e),!0},n.clear=function(){var e=this[n9];return rV(e),rQ(e),e.scope.immer.markChanged(e),e.assigned=new Map,e.copy.clear()},n.forEach=function(e,t){var n=this;rg(this[n9]).forEach(function(r,o,i){e.call(t,n.get(o),o,n)})},n.get=function(e){var t=this[n9];rV(t);var n=rg(t).get(e);if(t.finalized||!ro(n)||n!==t.base.get(e))return n;var r=t.scope.immer.createProxy(n,t);return rQ(t),t.copy.set(e,r),r},n.keys=function(){return rg(this[n9]).keys()},n.values=function(){var e,t=this,n=this.keys();return(e={})[re]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},n.entries=function(){var e,t=this,n=this.keys();return(e={})[re]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},n[re]=function(){return this.entries()},t}(Map);function rX(e,t){return new rY(e,t)}function rQ(e){e.copy||(e.assigned=new Map,e.copy=new Map(e.base))}var rJ=function(e){if(!e)throw Error("Set is not polyfilled");function t(e,t){return this[n9]={type:fC.Set,parent:t,scope:t?t.scope:rx.current,modified:!1,finalized:!1,copy:void 0,base:e,draft:this,drafts:new Map,revoked:!1,isManual:!1},this}rn(t,e);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return rg(this[n9]).size},enumerable:!0,configurable:!0}),n.has=function(e){var t=this[n9];return(rV(t),t.copy)?!!(t.copy.has(e)||t.drafts.has(e)&&t.copy.has(t.drafts.get(e))):t.base.has(e)},n.add=function(e){var t=this[n9];return rV(t),t.copy?t.copy.add(e):t.base.has(e)||(r1(t),t.scope.immer.markChanged(t),t.copy.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[n9];return rV(t),r1(t),t.scope.immer.markChanged(t),t.copy.delete(e)||!!t.drafts.has(e)&&t.copy.delete(t.drafts.get(e))},n.clear=function(){var e=this[n9];return rV(e),r1(e),e.scope.immer.markChanged(e),e.copy.clear()},n.values=function(){var e=this[n9];return rV(e),r1(e),e.copy.values()},n.entries=function(){var e=this[n9];return rV(e),r1(e),e.copy.entries()},n.keys=function(){return this.values()},n[re]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}(Set);function r0(e,t){return new rJ(e,t)}function r1(e){e.copy||(e.copy=new Set,e.base.forEach(function(t){if(ro(t)){var n=e.scope.immer.createProxy(t,e);e.drafts.set(t,n),e.copy.add(n)}else e.copy.add(t)}))}function r2(e,t,n,r){switch(e.type){case fC.ProxyObject:case fC.ES5Object:case fC.Map:return r4(e,t,n,r);case fC.ES5Array:case fC.ProxyArray:return r3(e,t,n,r);case fC.Set:return r5(e,t,n,r)}}function r3(e,t,n,r){var o,i,a=e.base,s=e.assigned,l=e.copy;l||rS(),l.length<a.length&&(a=(o=[l,a])[0],l=o[1],n=(i=[r,n])[0],r=i[1]);for(var c=l.length-a.length,u=0;a[u]===l[u]&&u<a.length;)++u;for(var d=a.length;d>u&&a[d-1]===l[d+c-1];)--d;for(var f=u;f<d;++f)if(s[f]&&l[f]!==a[f]){var p=t.concat([f]);n.push({op:"replace",path:p,value:l[f]}),r.push({op:"replace",path:p,value:a[f]})}for(var h=n.length,f=d+c-1;f>=d;--f){var p=t.concat([f]);n[h+f-d]={op:"add",path:p,value:l[f]},r.push({op:"remove",path:p})}}function r4(e,t,n,r){var o=e.base,i=e.copy;rs(e.assigned,function(e,a){var s=rd(o,e),l=rd(i,e),c=a?ru(o,e)?"replace":"add":"remove";if(s!==l||"replace"!==c){var u=t.concat(e);n.push("remove"===c?{op:c,path:u}:{op:c,path:u,value:l}),r.push("add"===c?{op:"remove",path:u}:"remove"===c?{op:"add",path:u,value:s}:{op:"replace",path:u,value:s})}})}function r5(e,t,n,r){var o=e.base,i=e.copy,a=0;o.forEach(function(e){if(!i.has(e)){var o=t.concat([a]);n.push({op:"remove",path:o,value:e}),r.unshift({op:"add",path:o,value:e})}a++}),a=0,i.forEach(function(e){if(!o.has(e)){var i=t.concat([a]);n.push({op:"add",path:i,value:e}),r.unshift({op:"remove",path:i,value:e})}a++})}function r6(e,t){return t.forEach(function(t){var n=t.path,r=t.op;n.length||rS();for(var o=e,i=0;i<n.length-1;i++)if(!(o=rd(o,n[i]))||"object"!=typeof o)throw Error("Cannot apply patch, path doesn't resolve: "+n.join("/"));var a=rc(o),s=r8(t.value),l=n[n.length-1];switch(r){case"replace":switch(a){case fE.Map:return o.set(l,s);case fE.Set:throw Error('Sets cannot have "replace" patches.');default:return o[l]=s}case"add":switch(a){case fE.Array:return o.splice(l,0,s);case fE.Map:return o.set(l,s);case fE.Set:return o.add(s);default:return o[l]=s}case"remove":switch(a){case fE.Array:return o.splice(l,1);case fE.Map:return o.delete(l);case fE.Set:return o.delete(t.value);default:return delete o[l]}default:throw Error("Unsupported patch operation: "+r)}}),e}function r8(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(r8);if(rh(e))return new Map(Array.from(e.entries()).map(function(e){return[e[0],r8(e[1])]}));if(rm(e))return new Set(Array.from(e).map(r8));var t=Object.create(Object.getPrototypeOf(e));for(var n in e)t[n]=r8(e[n]);return t}/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */function r7(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function r9(){}var oe={useProxies:"undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,autoFreeze:void 0===n3&&"verifyMinified"===r9.name,onAssign:null,onDelete:null,onCopy:null},ot=new(function(){function e(e){var t=this;this.useProxies=!1,this.autoFreeze=!1,rs(oe,function(n,r){var o,i;t[n]=null!=(i=null===(o=e)||void 0===o?void 0:o[n])?i:r}),this.setUseProxies(this.useProxies),this.produce=this.produce.bind(this),this.produceWithPatches=this.produceWithPatches.bind(this)}return e.prototype.produce=function(e,t,n){var r,o=this;if("function"==typeof e&&"function"!=typeof t){var i=t;t=e;var a=this;return function(e){var n=arguments,r=this;void 0===e&&(e=i);for(var o=[],s=1;s<arguments.length;s++)o[s-1]=n[s];return a.produce(e,function(e){return t.call.apply(t,r7([r,e],o))})}}if("function"!=typeof t)throw Error("The first or second argument to `produce` must be a function");if(void 0!==n&&"function"!=typeof n)throw Error("The third argument to `produce` must be a function or undefined");if(ro(e)){var s=rx.enter(this),l=this.createProxy(e,void 0),c=!0;try{r=t(l),c=!1}finally{c?s.revoke():s.leave()}return"undefined"!=typeof Promise&&r instanceof Promise?r.then(function(e){return s.usePatches(n),rC(o,e,s)},function(e){throw s.revoke(),e}):(s.usePatches(n),rC(this,r,s))}if((r=t(e))!==n8)return void 0===r&&(r=e),rA(this,r,!0),r},e.prototype.produceWithPatches=function(e,t,n){var r,o,i=this;return"function"==typeof e?function(t){for(var n=arguments,r=[],o=1;o<arguments.length;o++)r[o-1]=n[o];return i.produceWithPatches(t,function(t){return e.apply(void 0,r7([t],r))})}:(n&&rS(),[this.produce(e,t,function(e,t){r=e,o=t}),r,o])},e.prototype.createDraft=function(e){if(!ro(e))throw Error("First argument to `createDraft` must be a plain object, an array, or an immerable object");var t=rx.enter(this),n=this.createProxy(e,void 0);return n[n9].isManual=!0,t.leave(),n},e.prototype.finishDraft=function(e,t){var n=e&&e[n9];if(!n||!n.isManual)throw Error("First argument to `finishDraft` must be a draft returned by `createDraft`");if(n.finalized)throw Error("The given draft is already finalized");var r=n.scope;return r.usePatches(t),rC(this,void 0,r)},e.prototype.setAutoFreeze=function(e){this.autoFreeze=e},e.prototype.setUseProxies=function(e){this.useProxies=e},e.prototype.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}return rr(e)?r6(e,t):this.produce(e,function(e){return r6(e,t.slice(n+1))})},e.prototype.createProxy=function(e,t){var n=rh(e)?rX(e,t):rm(e)?r0(e,t):this.useProxies?rI(e,t):rD(e,t);return(t?t.scope:rx.current).drafts.push(n),n},e.prototype.willFinalize=function(e,t,n){this.useProxies||rj(e,t,n)},e.prototype.markChanged=function(e){this.useProxies?rM(e):rF(e)},e}()),on=ot.produce;ot.produceWithPatches.bind(ot),ot.setAutoFreeze.bind(ot),ot.setUseProxies.bind(ot),ot.applyPatches.bind(ot);var or=ot.createDraft.bind(ot),oo=ot.finishDraft.bind(ot),oi=n(35728);function oa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function os(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function ol(e,t){if(null==e)return{};var n,r,o=os(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var oc=new WeakMap,ou=new WeakMap,od=new WeakMap,of=new WeakMap,op=new WeakMap,oh=new WeakMap,om=/\s/,og=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,ov=/['\u2018\u2019]/,oy=55296,ob=57343,ow=8205,oS=e=>{for(var t=0,n=null,r=e.charCodeAt(0);r;){if(oC(r)){var o=o_(r,e,t);if("SURR"===n||"BMP"===n)break;t+=2,n=o?"MOD":"SURR",r=e.charCodeAt(t);continue}if(r===ow){t+=1,n="ZWJ",r=e.charCodeAt(t);continue}if(oO(r)){if(n&&"ZWJ"!==n&&"VAR"!==n)break;t+=1,n="BMP",r=e.charCodeAt(t);continue}if(ok(r)){if(n&&"ZWJ"!==n)break;t+=1,n="VAR",r=e.charCodeAt(t);continue}"MOD"===n&&(t+=1);break}return t||1},ox=e=>{for(var t,n=0,r=0,o=!1;t=e.charAt(r);){var i=oS(t);if(oE(t=e.slice(r,r+i),e.slice(r+i)))o=!0,n+=i;else if(o)break;else n+=i;r+=i}return n},oE=(e,t)=>{if(om.test(e))return!1;if(ov.test(e)){var n=t.charAt(0),r=oS(n);if(oE(n=t.slice(0,r),t.slice(r)))return!0}return!og.test(e)},oC=e=>oy<=e&&e<=ob,o_=(e,t,n)=>{if(55356===e){var r=t.charCodeAt(n+1);return r<=57343&&r>=57339}return!1},ok=e=>e<=65039&&e>=65024,oO=e=>10084===e||9794===e||9792===e||9760===e||9877===e||9992===e||9711===e;function oA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oA(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var oP={above(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=oP.path(e,o),s="lowest"===r;for(var[l,c]of oP.levels(e,{at:a,voids:n,match:i,reverse:s}))if(!oK.isText(l)&&!oL.equals(a,c))return[l,c]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:oP.point(e,t,{edge:"end"}),focus:oP.end(e,[])},{distance:i=1}=r,a=0;for(var s of oP.positions(e,oI({},r,{at:o}))){if(a>i)break;0!==a&&(n=s),a++}return n},before(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:oP.start(e,[]),focus:oP.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var s of oP.positions(e,oI({},r,{at:o,reverse:!0}))){if(a>i)break;0!==a&&(n=s),a++}return n},deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){e.deleteFragment()},edges:(e,t)=>[oP.start(e,t),oP.end(e,t)],end:(e,t)=>oP.point(e,t,{edge:"end"}),first(e,t){var n=oP.path(e,t,{edge:"start"});return oP.node(e,n)},fragment(e,t){var n=oP.range(e,t);return oM.fragment(e,n)},hasBlocks:(e,t)=>t.children.some(t=>oP.isBlock(e,t)),hasInlines:(e,t)=>t.children.some(t=>oK.isText(t)||oP.isInline(e,t)),hasTexts:(e,t)=>t.children.every(e=>oK.isText(e)),insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>oT.isElement(t)&&!e.isInline(t),isEditor:e=>n2(e)&&"function"==typeof e.addMark&&"function"==typeof e.apply&&"function"==typeof e.deleteBackward&&"function"==typeof e.deleteForward&&"function"==typeof e.deleteFragment&&"function"==typeof e.insertBreak&&"function"==typeof e.insertFragment&&"function"==typeof e.insertNode&&"function"==typeof e.insertText&&"function"==typeof e.isInline&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&(null===e.marks||n2(e.marks))&&(null===e.selection||oV.isRange(e.selection))&&oM.isNodeList(e.children)&&oD.isOperationList(e.operations),isEnd(e,t,n){var r=oP.end(e,n);return oz.equals(t,r)},isEdge:(e,t,n)=>oP.isStart(e,t,n)||oP.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&oK.isText(r)&&""===r.text&&!e.isVoid(t)},isInline:(e,t)=>oT.isElement(t)&&e.isInline(t),isNormalizing(e){var t=od.get(e);return void 0===t||t},isStart(e,t,n){if(0!==t.offset)return!1;var r=oP.start(e,n);return oz.equals(t,r)},isVoid:(e,t)=>oT.isElement(t)&&e.isVoid(t),last(e,t){var n=oP.path(e,t,{edge:"end"});return oP.node(e,n)},leaf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=oP.path(e,t,n);return[oM.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],s=oP.path(e,n);for(var[l,c]of oM.levels(e,s))if(i(l)&&(a.push([l,c]),!o&&oP.isVoid(e,l)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(oV.isExpanded(n)){var[r]=oP.nodes(e,{match:oK.isText});if(!r)return{};var[o]=r;return ol(o,["text"])}var{anchor:i}=n,{path:a}=i,[s]=oP.leaf(e,a);if(0===i.offset){var l=oP.previous(e,{at:a,match:oK.isText}),c=oP.above(e,{match:t=>oP.isBlock(e,t)});if(l&&c){var[u,d]=l,[,f]=c;oL.isAncestor(f,d)&&(s=u)}}return ol(s,["text"])},next(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var[,a]=oP.last(e,i),[,s]=oP.last(e,[]),l=[a,s];if(oL.isPath(i)&&0===i.length)throw Error("Cannot get the next node from the root node!");if(null==o){if(oL.isPath(i)){var[c]=oP.parent(e,i);o=e=>c.children.includes(e)}else o=()=>!0}var[,u]=oP.nodes(e,{at:l,match:o,mode:n,voids:r});return u}},node(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=oP.path(e,t,n);return[oM.get(e,r),r]},*nodes(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:i=e.selection,mode:a="all",universal:s=!1,reverse:l=!1,voids:c=!1}=o,{match:u}=o;if(u||(u=()=>!0),i){if(oR.isSpan(i))t=i[0],n=i[1];else{var d=oP.path(e,i,{edge:"start"}),f=oP.path(e,i,{edge:"end"});t=l?f:d,n=l?d:f}var p=oM.nodes(e,{reverse:l,from:t,to:n,pass:t=>{var[n]=t;return!c&&oP.isVoid(e,n)}}),h=[];for(var[m,g]of p){var v=r&&0===oL.compare(g,r[1]);if("highest"!==a||!v){if(!u(m)){if(s&&!v&&oK.isText(m))return;continue}if("lowest"===a&&v){r=[m,g];continue}var y="lowest"===a?r:[m,g];y&&(s?h.push(y):yield y),r=[m,g]}}"lowest"===a&&r&&(s?h.push(r):yield r),s&&(yield*h)}},normalize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1}=t,r=e=>oc.get(e)||[];if(oP.isNormalizing(e)){if(n){var o=Array.from(oM.nodes(e),e=>{var[,t]=e;return t});oc.set(e,o)}0!==r(e).length&&oP.withoutNormalizing(e,()=>{for(var t=42*r(e).length,n=0;0!==r(e).length;){if(n>t)throw Error("\n            Could not completely normalize the editor after ".concat(t," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n          "));var o=r(e).pop(),i=oP.node(e,o);e.normalizeNode(i),n++}})}},parent(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=oP.path(e,t,n),o=oL.parent(r);return oP.node(e,o)},path(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(oL.isPath(t)){if("start"===o){var[,i]=oM.first(e,t);t=i}else if("end"===o){var[,a]=oM.last(e,t);t=a}}return oV.isRange(t)&&(t="start"===o?oV.start(t):"end"===o?oV.end(t):oL.common(t.anchor.path,t.focus.path)),oz.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t},pathRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return oP.pathRefs(e).delete(o),o.current=null,t}};return oP.pathRefs(e).add(o),o},pathRefs(e){var t=of.get(e);return t||(t=new Set,of.set(e,t)),t},point(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(oL.isPath(t)){if("end"===r){var o,[,i]=oM.last(e,t);o=i}else{var[,a]=oM.first(e,t);o=a}var s=oM.get(e,o);if(!oK.isText(s))throw Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:"end"===r?s.text.length:0}}if(oV.isRange(t)){var[l,c]=oV.edges(t);return"start"===r?l:c}return t},pointRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return oP.pointRefs(e).delete(o),o.current=null,t}};return oP.pointRefs(e).add(o),o},pointRefs(e){var t=op.get(e);return t||(t=new Set,op.set(e,t)),t},*positions(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1}=t;if(n){var i=oP.range(e,n),[a,s]=oV.edges(i),l=o?s:a,c="",u=0,d=0,f=null,p=!1,h=()=>{null==f&&(f="character"===r?oS(c):"word"===r?ox(c):"line"===r||"block"===r?c.length:1,c=c.slice(f)),d=o?d-f:d+f,u-=f,f=u>=0?null:0-u};for(var[m,g]of oP.nodes(e,{at:n,reverse:o})){if(oT.isElement(m)){if(e.isVoid(m)){yield oP.start(e,g);continue}if(e.isInline(m))continue;if(oP.hasInlines(e,m)){var v=oL.isAncestor(g,s.path)?s:oP.end(e,g),y=oL.isAncestor(g,a.path)?a:oP.start(e,g),b=oP.string(e,{anchor:y,focus:v});c=o?(0,oi.reverse)(b):b,p=!0}}if(oK.isText(m)){var w=oL.equals(g,l.path);for(u=m.text.length,d=o?u:0,w&&(u=o?l.offset:u-l.offset,d=l.offset),(w||p||"offset"===r)&&(yield{path:g,offset:d});""!==c;)if(h(),u>=0)yield{path:g,offset:d};else break;p=!1}}}},previous(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var[,a]=oP.first(e,i),[,s]=oP.first(e,[]),l=[a,s];if(oL.isPath(i)&&0===i.length)throw Error("Cannot get the previous node from the root node!");if(null==o){if(oL.isPath(i)){var[c]=oP.parent(e,i);o=e=>c.children.includes(e)}else o=()=>!0}var[,u]=oP.nodes(e,{reverse:!0,at:l,match:o,mode:n,voids:r});return u}},range:(e,t,n)=>oV.isRange(t)&&!n?t:{anchor:oP.start(e,t),focus:oP.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return oP.rangeRefs(e).delete(o),o.current=null,t}};return oP.rangeRefs(e).add(o),o},rangeRefs(e){var t=oh.get(e);return t||(t=new Set,oh.set(e,t)),t},removeMark(e,t){e.removeMark(t)},start:(e,t)=>oP.point(e,t,{edge:"start"}),string(e,t){var n=oP.range(e,t),[r,o]=oV.edges(n),i="";for(var[a,s]of oP.nodes(e,{at:n,match:oK.isText})){var l=a.text;oL.equals(s,o.path)&&(l=l.slice(0,o.offset)),oL.equals(s,r.path)&&(l=l.slice(r.offset)),i+=l}return i},transform(e,t){e.children=or(e.children);var n=e.selection&&or(e.selection);switch(t.type){case"insert_node":var{path:r,node:o}=t,i=oM.parent(e,r),a=r[r.length-1];if(i.children.splice(a,0,o),n)for(var[s,l]of oV.points(n))n[l]=oz.transform(s,t);break;case"insert_text":var{path:c,offset:u,text:d}=t,f=oM.leaf(e,c),p=f.text.slice(0,u),h=f.text.slice(u);if(f.text=p+d+h,n)for(var[m,g]of oV.points(n))n[g]=oz.transform(m,t);break;case"merge_node":var{path:v}=t,y=oM.get(e,v),b=oL.previous(v),w=oM.get(e,b),S=oM.parent(e,v),x=v[v.length-1];if(oK.isText(y)&&oK.isText(w))w.text+=y.text;else if(oK.isText(y)||oK.isText(w))throw Error('Cannot apply a "merge_node" operation at path ['.concat(v,"] to nodes of different interaces: ").concat(y," ").concat(w));else w.children.push(...y.children);if(S.children.splice(x,1),n)for(var[E,C]of oV.points(n))n[C]=oz.transform(E,t);break;case"move_node":var{path:_,newPath:k}=t;if(oL.isAncestor(_,k))throw Error("Cannot move a path [".concat(_,"] to new path [").concat(k,"] because the destination is inside itself."));var O=oM.get(e,_),A=oM.parent(e,_),I=_[_.length-1];A.children.splice(I,1);var P=oL.transform(_,t),T=oM.get(e,oL.parent(P)),R=P[P.length-1];if(T.children.splice(R,0,O),n)for(var[M,N]of oV.points(n))n[N]=oz.transform(M,t);break;case"remove_node":var{path:j}=t,D=j[j.length-1];if(oM.parent(e,j).children.splice(D,1),n)for(var[L,B]of oV.points(n)){var Z=oz.transform(L,t);if(null!=n&&null!=Z)n[B]=Z;else{var F=void 0,z=void 0;for(var[U,H]of oM.texts(e))if(-1===oL.compare(H,j))F=[U,H];else{z=[U,H];break}F?(L.path=F[1],L.offset=F[0].text.length):z?(L.path=z[1],L.offset=0):n=null}}break;case"remove_text":var{path:q,offset:V,text:W}=t,$=oM.leaf(e,q),G=$.text.slice(0,V),K=$.text.slice(V+W.length);if($.text=G+K,n)for(var[Y,X]of oV.points(n))n[X]=oz.transform(Y,t);break;case"set_node":var{path:Q,newProperties:J}=t;if(0===Q.length)throw Error("Cannot set properties on the root node!");var ee=oM.get(e,Q);for(var et in J){if("children"===et||"text"===et)throw Error('Cannot set the "'.concat(et,'" property of nodes!'));var en=J[et];null==en?delete ee[et]:ee[et]=en}break;case"set_selection":var{newProperties:er}=t;if(null==er)n=er;else if(null==n){if(!oV.isRange(er))throw Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(er)," when there is no current selection."));n=er}else Object.assign(n,er);break;case"split_node":var eo,{path:ei,position:ea,properties:es}=t;if(0===ei.length)throw Error('Cannot apply a "split_node" operation at path ['.concat(ei,"] because the root node cannot be split."));var el=oM.get(e,ei),ec=oM.parent(e,ei),eu=ei[ei.length-1];if(oK.isText(el)){var ed=el.text.slice(0,ea),ef=el.text.slice(ea);el.text=ed,eo=oI({},el,{},es,{text:ef})}else{var ep=el.children.slice(0,ea),eh=el.children.slice(ea);el.children=ep,eo=oI({},el,{},es,{children:eh})}if(ec.children.splice(eu+1,0,eo),n)for(var[em,eg]of oV.points(n))n[eg]=oz.transform(em,t)}e.children=oo(e.children),n?e.selection=rr(n)?oo(n):n:e.selection=null},unhangRange(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=oV.edges(t);if(0!==o.offset||0!==i.offset||oV.isCollapsed(t))return t;var a=oP.above(e,{at:i,match:t=>oP.isBlock(e,t)}),s=a?a[1]:[],l={anchor:oP.start(e,[]),focus:i},c=!0;for(var[u,d]of oP.nodes(e,{at:l,match:oK.isText,reverse:!0,voids:r})){if(c){c=!1;continue}if(""!==u.text||oL.isBefore(d,s)){i={path:d,offset:u.text.length};break}}return{anchor:o,focus:i}},void(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return oP.above(e,oI({},t,{match:t=>oP.isVoid(e,t)}))},withoutNormalizing(e,t){var n=oP.isNormalizing(e);od.set(e,!1),t(),od.set(e,n),oP.normalize(e)}},oT={isElement:e=>n2(e)&&oM.isNodeList(e.children)&&!oP.isEditor(e),isElementList:e=>Array.isArray(e)&&(0===e.length||oT.isElement(e[0])),matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},oR={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(oL.isPath)},oM={ancestor(e,t){var n=oM.get(e,t);if(oK.isText(n))throw Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of oL.ancestors(t,n)){var o=[oM.ancestor(e,r),r];yield o}},child(e,t){if(oK.isText(e))throw Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(null==n)throw Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=n,o=oM.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var s=oM.child(o,a),l=t.concat(a);yield[s,l],a=r?a-1:a+1}},common(e,t,n){var r=oL.common(t,n);return[oM.get(e,r),r]},descendant(e,t){var n=oM.get(e,t);if(oP.isEditor(n))throw Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of oM.nodes(e,t))0!==r.length&&(yield[n,r])},*elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of oM.nodes(e,t))oT.isElement(n)&&(yield[n,r])},first(e,t){for(var n=t.slice(),r=oM.get(e,n);r&&!oK.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(oK.isText(e))throw Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));return on(e,e=>{var[n,r]=oV.edges(t);for(var[,o]of oM.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!oV.includes(t,n)}})){if(!oV.includes(t,o)){var i=oM.parent(e,o),a=o[o.length-1];i.children.splice(a,1)}if(oL.equals(o,r.path)){var s=oM.leaf(e,o);s.text=s.text.slice(0,r.offset)}if(oL.equals(o,n.path)){var l=oM.leaf(e,o);l.text=l.text.slice(n.offset)}}delete e.selection}).children},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(oK.isText(n)||!n.children[o])throw Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(oK.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:e=>oK.isText(e)||oT.isElement(e)||oP.isEditor(e),isNodeList:e=>Array.isArray(e)&&(0===e.length||oM.isNode(e[0])),last(e,t){for(var n=t.slice(),r=oM.get(e,n);r&&!oK.isText(r)&&0!==r.children.length;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=oM.get(e,t);if(!oK.isText(n))throw Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of oL.levels(t,n)){var o=oM.get(e,r);yield[o,r]}},matches:(e,t)=>oT.isElement(e)&&oT.matches(e,t)||oK.isText(e)&&oK.matches(e,t),*nodes(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],l=e;!(i&&(r?oL.isBefore(s,i):oL.isAfter(s,i)));){if(a.has(l)||(yield[l,s]),!a.has(l)&&!oK.isText(l)&&0!==l.children.length&&(null==n||!1===n([l,s]))){a.add(l);var c=r?l.children.length-1:0;oL.isAncestor(s,o)&&(c=o[s.length]),s=s.concat(c),l=oM.get(e,s);continue}if(0===s.length)break;if(!r){var u=oL.next(s);if(oM.has(e,u)){s=u,l=oM.get(e,s);continue}}if(r&&0!==s[s.length-1]){s=oL.previous(s),l=oM.get(e,s);continue}s=oL.parent(s),l=oM.get(e,s),a.add(l)}},parent(e,t){var n=oL.parent(t),r=oM.get(e,n);if(oK.isText(r))throw Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>oK.isText(e)?e.text:e.children.map(oM.string).join(""),*texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of oM.nodes(e,t))oK.isText(n)&&(yield[n,r])}};function oN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oN(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oN(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var oD={isNodeOperation:e=>oD.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!n2(e))return!1;switch(e.type){case"insert_node":case"remove_node":return oL.isPath(e.path)&&oM.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&oL.isPath(e.path);case"merge_node":return"number"==typeof e.position&&("number"==typeof e.target||null===e.target)&&oL.isPath(e.path)&&n2(e.properties);case"move_node":return oL.isPath(e.path)&&oL.isPath(e.newPath);case"set_node":return oL.isPath(e.path)&&n2(e.properties)&&n2(e.newProperties);case"set_selection":return null===e.properties&&oV.isRange(e.newProperties)||null===e.newProperties&&oV.isRange(e.properties)||n2(e.properties)&&n2(e.newProperties);case"split_node":return oL.isPath(e.path)&&"number"==typeof e.position&&("number"==typeof e.target||null===e.target)&&n2(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&(0===e.length||oD.isOperation(e[0])),isSelectionOperation:e=>oD.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>oD.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return oj({},e,{type:"remove_node"});case"insert_text":return oj({},e,{type:"remove_text"});case"merge_node":return oj({},e,{type:"split_node",path:oL.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(oL.equals(t,n))return e;var r=oL.transform(n,e),o=oL.transform(oL.next(n),e);return oj({},e,{path:r,newPath:o});case"remove_node":return oj({},e,{type:"insert_node"});case"remove_text":return oj({},e,{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return oj({},e,{properties:a,newProperties:i});case"set_selection":var{properties:s,newProperties:l}=e;if(null==s)return oj({},e,{properties:l,newProperties:null});if(null==l)return oj({},e,{properties:null,newProperties:s});return oj({},e,{properties:l,newProperties:s});case"split_node":return oj({},e,{type:"merge_node",path:oL.next(e.path)})}}},oL={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=oL.levels(e,t);return n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r];if(o!==t[r])break;n.push(o)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return -1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return oL.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return oL.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return oL.equals(r,o)&&i<a},equals:(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),isAfter:(e,t)=>1===oL.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===oL.compare(e,t),isBefore:(e,t)=>-1===oL.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===oL.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===oL.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===oL.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===oL.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&oL.equals(n,r)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(0===e.length)throw Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(0===e.length)throw Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(0===e.length)throw Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!oL.isAncestor(t,e)&&!oL.equals(e,t))throw Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return on(e,r=>{var{affinity:o="forward"}=n;if(0!==e.length)switch(t.type){case"insert_node":var{path:i}=t;(oL.equals(i,r)||oL.endsBefore(i,r)||oL.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(oL.equals(a,r)||oL.isAncestor(a,r))return null;oL.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:l}=t;oL.equals(s,r)||oL.endsBefore(s,r)?r[s.length-1]-=1:oL.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=l);break;case"split_node":var{path:c,position:u}=t;if(oL.equals(c,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else oL.endsBefore(c,r)?r[c.length-1]+=1:oL.isAncestor(c,r)&&e[c.length]>=u&&(r[c.length-1]+=1,r[c.length]-=u);break;case"move_node":var{path:d,newPath:f}=t;if(oL.equals(d,f))return;if(oL.isAncestor(d,r)||oL.equals(d,r)){var p=f.slice();if(oL.endsBefore(d,f)&&d.length<f.length){var h=Math.min(f.length,d.length)-1;p[h]-=1}return p.concat(r.slice(d.length))}oL.endsBefore(f,r)||oL.equals(f,r)||oL.isAncestor(f,r)?(oL.endsBefore(d,r)&&(r[d.length-1]-=1),r[f.length-1]+=1):oL.endsBefore(d,r)&&(oL.equals(f,r)&&(r[f.length-1]+=1),r[d.length-1]-=1)}})}},oB={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=oL.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}};function oZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oZ(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var oz={compare(e,t){var n=oL.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>1===oz.compare(e,t),isBefore:(e,t)=>-1===oz.compare(e,t),equals:(e,t)=>e.offset===t.offset&&oL.equals(e.path,t.path),isPoint:e=>n2(e)&&"number"==typeof e.offset&&oL.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return on(e,e=>{var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":e.path=oL.transform(o,t,n);break;case"insert_text":oL.equals(t.path,o)&&t.offset<=i&&(e.offset+=t.text.length);break;case"merge_node":oL.equals(t.path,o)&&(e.offset+=t.position),e.path=oL.transform(o,t,n);break;case"remove_text":oL.equals(t.path,o)&&t.offset<=i&&(e.offset-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(oL.equals(t.path,o)||oL.isAncestor(t.path,o))return null;e.path=oL.transform(o,t,n);break;case"split_node":if(oL.equals(t.path,o)){if(t.position===i&&null==r)return null;(t.position<i||t.position===i&&"forward"===r)&&(e.offset-=t.position,e.path=oL.transform(o,t,oF({},n,{affinity:"forward"})))}else e.path=oL.transform(o,t,n)}})}},oU={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=oz.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}};function oH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oH(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var oV={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return oV.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=oV.edges(e);return t},equals:(e,t)=>oz.equals(e.anchor,t.anchor)&&oz.equals(e.focus,t.focus),includes(e,t){if(oV.isRange(t)){if(oV.includes(e,t.anchor)||oV.includes(e,t.focus))return!0;var[n,r]=oV.edges(e),[o,i]=oV.edges(t);return oz.isBefore(n,o)&&oz.isAfter(r,i)}var[a,s]=oV.edges(e),l=!1,c=!1;return oz.isPoint(t)?(l=oz.compare(t,a)>=0,c=0>=oz.compare(t,s)):(l=oL.compare(t,a.path)>=0,c=0>=oL.compare(t,s.path)),l&&c},intersection(e,t){var n=ol(e,["anchor","focus"]),[r,o]=oV.edges(e),[i,a]=oV.edges(t),s=oz.isBefore(r,i)?i:r,l=oz.isBefore(o,a)?o:a;return oz.isBefore(l,s)?null:oq({anchor:s,focus:l},n)},isBackward(e){var{anchor:t,focus:n}=e;return oz.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return oz.equals(t,n)},isExpanded:e=>!oV.isCollapsed(e),isForward:e=>!oV.isBackward(e),isRange:e=>n2(e)&&oz.isPoint(e.anchor)&&oz.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=oV.edges(e);return t},transform(e,t,n){var r,o,{affinity:i="inward"}=n;return"inward"===i?oV.isForward(e)?(r="forward",o="backward"):(r="backward",o="forward"):"outward"===i?oV.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i),on(e,e=>{var n=oz.transform(e.anchor,t,{affinity:r}),i=oz.transform(e.focus,t,{affinity:o});if(!n||!i)return null;e.anchor=n,e.focus=i})}},oW={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=oV.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}};function o$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oG(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o$(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var oK={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;for(var o in e)if((!r||"text"!==o)&&e[o]!==t[o])return!1;for(var i in t)if((!r||"text"!==i)&&e[i]!==t[i])return!1;return!0},isText:e=>n2(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&(0===e.length||oK.isText(e[0])),matches(e,t){for(var n in t)if("text"!==n&&e[n]!==t[n])return!1;return!0},decorations(e,t){var n=[oG({},e)];for(var r of t){var o=ol(r,["anchor","focus"]),[i,a]=oV.edges(r),s=[],l=0;for(var c of n){var{length:u}=c.text,d=l;if(l+=u,i.offset<=d&&a.offset>=d+u){Object.assign(c,o),s.push(c);continue}if(i.offset>d+u||a.offset<d||a.offset===d&&0!==d){s.push(c);continue}var f=c,p=void 0,h=void 0;if(a.offset<d+u){var m=a.offset-d;h=oG({},f,{text:f.text.slice(m)}),f=oG({},f,{text:f.text.slice(0,m)})}if(i.offset>d){var g=i.offset-d;p=oG({},f,{text:f.text.slice(0,g)}),f=oG({},f,{text:f.text.slice(g)})}Object.assign(f,o),p&&s.push(p),s.push(f),h&&s.push(h)}n=s}return n}};function oY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oX(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oY(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var oQ={transform(e,t){e.children=or(e.children);var n=e.selection&&or(e.selection);switch(t.type){case"insert_node":var{path:r,node:o}=t,i=oM.parent(e,r),a=r[r.length-1];if(i.children.splice(a,0,o),n)for(var[s,l]of oV.points(n))n[l]=oz.transform(s,t);break;case"insert_text":var{path:c,offset:u,text:d}=t,f=oM.leaf(e,c),p=f.text.slice(0,u),h=f.text.slice(u);if(f.text=p+d+h,n)for(var[m,g]of oV.points(n))n[g]=oz.transform(m,t);break;case"merge_node":var{path:v}=t,y=oM.get(e,v),b=oL.previous(v),w=oM.get(e,b),S=oM.parent(e,v),x=v[v.length-1];if(oK.isText(y)&&oK.isText(w))w.text+=y.text;else if(oK.isText(y)||oK.isText(w))throw Error('Cannot apply a "merge_node" operation at path ['.concat(v,"] to nodes of different interaces: ").concat(y," ").concat(w));else w.children.push(...y.children);if(S.children.splice(x,1),n)for(var[E,C]of oV.points(n))n[C]=oz.transform(E,t);break;case"move_node":var{path:_,newPath:k}=t;if(oL.isAncestor(_,k))throw Error("Cannot move a path [".concat(_,"] to new path [").concat(k,"] because the destination is inside itself."));var O=oM.get(e,_),A=oM.parent(e,_),I=_[_.length-1];A.children.splice(I,1);var P=oL.transform(_,t),T=oM.get(e,oL.parent(P)),R=P[P.length-1];if(T.children.splice(R,0,O),n)for(var[M,N]of oV.points(n))n[N]=oz.transform(M,t);break;case"remove_node":var{path:j}=t,D=j[j.length-1];if(oM.parent(e,j).children.splice(D,1),n)for(var[L,B]of oV.points(n)){var Z=oz.transform(L,t);if(null!=n&&null!=Z)n[B]=Z;else{var F=void 0,z=void 0;for(var[U,H]of oM.texts(e))if(-1===oL.compare(H,j))F=[U,H];else{z=[U,H];break}F?(L.path=F[1],L.offset=F[0].text.length):z?(L.path=z[1],L.offset=0):n=null}}break;case"remove_text":var{path:q,offset:V,text:W}=t,$=oM.leaf(e,q),G=$.text.slice(0,V),K=$.text.slice(V+W.length);if($.text=G+K,n)for(var[Y,X]of oV.points(n))n[X]=oz.transform(Y,t);break;case"set_node":var{path:Q,newProperties:J}=t;if(0===Q.length)throw Error("Cannot set properties on the root node!");var ee=oM.get(e,Q);for(var et in J){if("children"===et||"text"===et)throw Error('Cannot set the "'.concat(et,'" property of nodes!'));var en=J[et];null==en?delete ee[et]:ee[et]=en}break;case"set_selection":var{newProperties:er}=t;if(null==er)n=er;else if(null==n){if(!oV.isRange(er))throw Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(er)," when there is no current selection."));n=er}else Object.assign(n,er);break;case"split_node":var eo,{path:ei,position:ea,properties:es}=t;if(0===ei.length)throw Error('Cannot apply a "split_node" operation at path ['.concat(ei,"] because the root node cannot be split."));var el=oM.get(e,ei),ec=oM.parent(e,ei),eu=ei[ei.length-1];if(oK.isText(el)){var ed=el.text.slice(0,ea),ef=el.text.slice(ea);el.text=ed,eo=oX({},el,{},es,{text:ef})}else{var ep=el.children.slice(0,ea),eh=el.children.slice(ea);el.children=ep,eo=oX({},el,{},es,{children:eh})}if(ec.children.splice(eu+1,0,eo),n)for(var[em,eg]of oV.points(n))n[eg]=oz.transform(em,t)}e.children=oo(e.children),n?e.selection=rr(n)?oo(n):n:e.selection=null}};function oJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oJ(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var o1={insertNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};oP.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:s,select:l}=n;if(oM.isNode(t)&&(t=[t]),0!==t.length){var[c]=t;if(a||(a=e.selection?e.selection:e.children.length>0?oP.end(e,[]):[0],l=!0),null==l&&(l=!1),oV.isRange(a)){if(r||(a=oP.unhangRange(e,a)),oV.isCollapsed(a))a=a.anchor;else{var[,u]=oV.edges(a),d=oP.pointRef(e,u);o8.delete(e,{at:a}),a=d.unref()}}if(oz.isPoint(a)){null==s&&(s=oK.isText(c)?e=>oK.isText(e):e.isInline(c)?t=>oK.isText(t)||oP.isInline(e,t):t=>oP.isBlock(e,t));var[f]=oP.nodes(e,{at:a.path,match:s,mode:i,voids:o});if(!f)return;var[,p]=f,h=oP.pathRef(e,p),m=oP.isEnd(e,a,p);o8.splitNodes(e,{at:a,match:s,mode:i,voids:o});var g=h.unref();a=m?oL.next(g):g}var v=oL.parent(a),y=a[a.length-1];if(!(!o&&oP.void(e,{at:v}))){for(var b of t){var w=v.concat(y);y++,e.apply({type:"insert_node",path:w,node:b})}if(l){var S=oP.end(e,a);S&&o8.select(e,S)}}}})},liftNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};oP.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=oL.isPath(n)?o3(e,n):t=>oP.isBlock(e,t)),n)for(var a of Array.from(oP.nodes(e,{at:n,match:i,mode:r,voids:o}),t=>{var[,n]=t;return oP.pathRef(e,n)})){var s=a.unref();if(s.length<2)throw Error("Cannot lift node at a path [".concat(s,"] because it has a depth of less than `2`."));var[l,c]=oP.node(e,oL.parent(s)),u=s[s.length-1],{length:d}=l.children;if(1===d){var f=oL.next(c);o8.moveNodes(e,{at:s,to:f,voids:o}),o8.removeNodes(e,{at:c,voids:o})}else if(0===u)o8.moveNodes(e,{at:s,to:c,voids:o});else if(u===d-1){var p=oL.next(c);o8.moveNodes(e,{at:s,to:p,voids:o})}else{var h=oL.next(s),m=oL.next(c);o8.splitNodes(e,{at:h,voids:o}),o8.moveNodes(e,{at:s,to:m,voids:o})}}})},mergeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};oP.withoutNormalizing(e,()=>{var n,r,{match:o,at:i=e.selection}=t,{hanging:a=!1,voids:s=!1,mode:l="lowest"}=t;if(i){if(null==o){if(oL.isPath(i)){var[c]=oP.parent(e,i);o=e=>c.children.includes(e)}else o=t=>oP.isBlock(e,t)}if(!a&&oV.isRange(i)&&(i=oP.unhangRange(e,i)),oV.isRange(i)){if(oV.isCollapsed(i))i=i.anchor;else{var[,u]=oV.edges(i),d=oP.pointRef(e,u);o8.delete(e,{at:i}),i=d.unref(),null==t.at&&o8.select(e,i)}}var[f]=oP.nodes(e,{at:i,match:o,voids:s,mode:l}),p=oP.previous(e,{at:i,match:o,voids:s,mode:l});if(f&&p){var[h,m]=f,[g,v]=p;if(0!==m.length&&0!==v.length){var y=oL.next(v),b=oL.common(m,v),w=oL.isSibling(m,v),S=Array.from(oP.levels(e,{at:m}),e=>{var[t]=e;return t}).slice(b.length).slice(0,-1),x=oP.above(e,{at:m,mode:"highest",match:e=>S.includes(e)&&oT.isElement(e)&&1===e.children.length}),E=x&&oP.pathRef(e,x[1]);if(oK.isText(h)&&oK.isText(g)){var C=ol(h,["text"]);r=g.text.length,n=C}else if(oT.isElement(h)&&oT.isElement(g)){var C=ol(h,["children"]);r=g.children.length,n=C}else throw Error("Cannot merge the node at path [".concat(m,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(h)," ").concat(JSON.stringify(g)));w||o8.moveNodes(e,{at:m,to:y,voids:s}),E&&o8.removeNodes(e,{at:E.current,voids:s}),oT.isElement(g)&&oP.isEmpty(e,g)||oK.isText(g)&&""===g.text?o8.removeNodes(e,{at:v,voids:s}):e.apply({type:"merge_node",path:y,position:r,target:null,properties:n}),E&&E.unref()}}}})},moveNodes(e,t){oP.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=oL.isPath(r)?o3(e,r):t=>oP.isBlock(e,t));var s=oP.pathRef(e,n);for(var l of Array.from(oP.nodes(e,{at:r,match:a,mode:o,voids:i}),t=>{var[,n]=t;return oP.pathRef(e,n)})){var c=l.unref(),u=s.current;0!==c.length&&e.apply({type:"move_node",path:c,newPath:u})}s.unref()}})},removeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};oP.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i)for(var s of(null==a&&(a=oL.isPath(i)?o3(e,i):t=>oP.isBlock(e,t)),!n&&oV.isRange(i)&&(i=oP.unhangRange(e,i)),Array.from(oP.nodes(e,{at:i,match:a,mode:o,voids:r}),t=>{var[,n]=t;return oP.pathRef(e,n)}))){var l=s.unref();if(l){var[c]=oP.node(e,l);e.apply({type:"remove_node",path:l,node:c})}}})},setNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};oP.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection}=n,{hanging:i=!1,mode:a="lowest",split:s=!1,voids:l=!1}=n;if(o){if(null==r&&(r=oL.isPath(o)?o3(e,o):t=>oP.isBlock(e,t)),!i&&oV.isRange(o)&&(o=oP.unhangRange(e,o)),s&&oV.isRange(o)){var c=oP.rangeRef(e,o,{affinity:"inward"}),[u,d]=oV.edges(o),f="lowest"===a?"lowest":"highest";o8.splitNodes(e,{at:d,match:r,mode:f,voids:l}),o8.splitNodes(e,{at:u,match:r,mode:f,voids:l}),o=c.unref(),null==n.at&&o8.select(e,o)}for(var[p,h]of oP.nodes(e,{at:o,match:r,mode:a,voids:l})){var m={},g={};if(0!==h.length){for(var v in t)"children"!==v&&"text"!==v&&t[v]!==p[v]&&(m[v]=p[v],g[v]=t[v]);0!==Object.keys(g).length&&e.apply({type:"set_node",path:h,properties:m,newProperties:g})}}}})},splitNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};oP.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:s=!1}=t;if(null==o&&(o=t=>oP.isBlock(e,t)),oV.isRange(i)&&(i=o2(e,i)),oL.isPath(i)){var l=i,c=oP.point(e,l),[u]=oP.parent(e,l);o=e=>e===u,a=c.path.length-l.length+1,i=c,s=!0}if(i){var d=oP.pointRef(e,i,{affinity:"backward"}),[f]=oP.nodes(e,{at:i,match:o,mode:n,voids:r});if(f){var p=oP.void(e,{at:i,mode:"highest"}),h=0;if(!r&&p){var[m,g]=p;if(oT.isElement(m)&&e.isInline(m)){var v=oP.after(e,g);if(!v){var y={text:""},b=oL.next(g);o8.insertNodes(e,y,{at:b,voids:r}),v=oP.point(e,b)}i=v,s=!0}a=i.path.length-g.length+1,s=!0}var w=oP.pointRef(e,i),S=i.path.length-a,[,x]=f,E=i.path.slice(0,S),C=0===a?i.offset:i.path[S]+h,_=null;for(var[k,O]of oP.levels(e,{at:E,reverse:!0,voids:r})){var A=!1;if(O.length<x.length||0===O.length||!r&&oP.isVoid(e,k))break;var I=d.current,P=oP.isEnd(e,I,O);if(s||!d||!oP.isEdge(e,I,O)){A=!0;var T=ol(k,["text","children"]);e.apply({type:"split_node",path:O,position:C,target:_,properties:T})}_=C,C=O[O.length-1]+(A||P?1:0)}if(null==t.at){var R=w.current||oP.end(e,[]);o8.select(e,R)}d.unref(),w.unref()}}})},unsetNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;o8.setNodes(e,r,n)},unwrapNodes(e,t){oP.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=oL.isPath(i)?o3(e,i):t=>oP.isBlock(e,t)),oL.isPath(i)&&(i=oP.range(e,i));var s=oV.isRange(i)?oP.rangeRef(e,i):null,l=Array.from(oP.nodes(e,{at:i,match:a,mode:n,voids:o}),t=>{var[,n]=t;return oP.pathRef(e,n)}),c=function(t){var n=t.unref(),[i]=oP.node(e,n),a=oP.range(e,n);r&&s&&(a=oV.intersection(s.current,a)),o8.liftNodes(e,{at:a,match:e=>i.children.includes(e),voids:o})};for(var u of l)c(u);s&&s.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};oP.withoutNormalizing(e,()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:s=e.selection}=n;if(s){if(null==a&&(a=oL.isPath(s)?o3(e,s):e.isInline(t)?t=>oP.isInline(e,t)||oK.isText(t):t=>oP.isBlock(e,t)),o&&oV.isRange(s)){var[l,c]=oV.edges(s),u=oP.rangeRef(e,s,{affinity:"inward"});o8.splitNodes(e,{at:c,match:a,voids:i}),o8.splitNodes(e,{at:l,match:a,voids:i}),s=u.unref(),null==n.at&&o8.select(e,s)}for(var[,d]of Array.from(oP.nodes(e,{at:s,match:e.isInline(t)?t=>oP.isBlock(e,t):e=>oP.isEditor(e),mode:"lowest",voids:i}))){var f=oV.isRange(s)?oV.intersection(s,oP.range(e,d)):s;if(f){var p=Array.from(oP.nodes(e,{at:f,match:a,mode:r,voids:i}));p.length>0&&function(){var[n]=p,r=p[p.length-1],[,o]=n,[,a]=r,s=oL.equals(o,a)?oL.parent(o):oL.common(o,a),l=oP.range(e,o,a),[c]=oP.node(e,s),u=s.length+1,d=oL.next(a.slice(0,u)),f=o0({},t,{children:[]});o8.insertNodes(e,f,{at:d,voids:i}),o8.moveNodes(e,{at:l,match:e=>c.children.includes(e),to:d.concat(0),voids:i})}()}}}})}},o2=(e,t)=>{if(oV.isCollapsed(t))return t.anchor;var[,n]=oV.edges(t),r=oP.pointRef(e,n);return o8.delete(e,{at:t}),r.unref()},o3=(e,t)=>{var[n]=oP.node(e,t);return e=>e===n};function o4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o5(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o4(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o4(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var o8=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o6(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o6(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},oQ,{},o1,{},{collapse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r){if("anchor"===n)o8.select(e,r.anchor);else if("focus"===n)o8.select(e,r.focus);else if("start"===n){var[o]=oV.edges(r);o8.select(e,o)}else if("end"===n){var[,i]=oV.edges(r);o8.select(e,i)}}},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){"start"===a&&(a=oV.isBackward(n)?"focus":"anchor"),"end"===a&&(a=oV.isBackward(n)?"anchor":"focus");var{anchor:s,focus:l}=n,c={distance:r,unit:o},u={};if(null==a||"anchor"===a){var d=i?oP.before(e,s,c):oP.after(e,s,c);d&&(u.anchor=d)}if(null==a||"focus"===a){var f=i?oP.before(e,l,c):oP.after(e,l,c);f&&(u.focus=f)}o8.setSelection(e,u)}},select(e,t){var{selection:n}=e;if(t=oP.range(e,t),n){o8.setSelection(e,t);return}if(!oV.isRange(t))throw Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})},setPoint(e,t,n){var{selection:r}=e,{edge:o="both"}=n;if(r){"start"===o&&(o=oV.isBackward(r)?"focus":"anchor"),"end"===o&&(o=oV.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,s="anchor"===o?i:a;o8.setSelection(e,{["anchor"===o?"anchor":"focus"]:o5({},s,{},t)})}},setSelection(e,t){var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"!==i||null==t.anchor||oz.equals(t.anchor,n.anchor))&&("focus"!==i||null==t.focus||oz.equals(t.focus,n.focus))&&("anchor"===i||"focus"===i||t[i]===n[i])||(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}}},{},{delete(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};oP.withoutNormalizing(e,()=>{var n,{reverse:r=!1,unit:o="character",distance:i=1,voids:a=!1}=t,{at:s=e.selection,hanging:l=!1}=t;if(s){if(oV.isRange(s)&&oV.isCollapsed(s)&&(s=s.anchor),oz.isPoint(s)){var c=oP.void(e,{at:s,mode:"highest"});if(!a&&c){var[,u]=c;s=u}else{var d={unit:o,distance:i},f=r?oP.before(e,s,d)||oP.start(e,[]):oP.after(e,s,d)||oP.end(e,[]);s={anchor:s,focus:f},l=!0}}if(oL.isPath(s)){o8.removeNodes(e,{at:s,voids:a});return}if(!oV.isCollapsed(s)){l||(s=oP.unhangRange(e,s,{voids:a}));var[p,h]=oV.edges(s),m=oP.above(e,{match:t=>oP.isBlock(e,t),at:p,voids:a}),g=oP.above(e,{match:t=>oP.isBlock(e,t),at:h,voids:a}),v=m&&g&&!oL.equals(m[1],g[1]),y=oL.equals(p.path,h.path),b=a?null:oP.void(e,{at:p,mode:"highest"}),w=a?null:oP.void(e,{at:h,mode:"highest"});if(b){var S=oP.before(e,p);S&&m&&oL.isAncestor(m[1],S.path)&&(p=S)}if(w){var x=oP.after(e,h);x&&g&&oL.isAncestor(g[1],x.path)&&(h=x)}var E=[];for(var C of oP.nodes(e,{at:s,voids:a})){var[_,k]=C;(!n||0!==oL.compare(k,n))&&(!a&&oP.isVoid(e,_)||!oL.isCommon(k,p.path)&&!oL.isCommon(k,h.path))&&(E.push(C),n=k)}var O=Array.from(E,t=>{var[,n]=t;return oP.pathRef(e,n)}),A=oP.pointRef(e,p),I=oP.pointRef(e,h);if(!y&&!b){var P=A.current,[T]=oP.leaf(e,P),{path:R}=P,{offset:M}=p,N=T.text.slice(M);e.apply({type:"remove_text",path:R,offset:M,text:N})}for(var j of O){var D=j.unref();o8.removeNodes(e,{at:D,voids:a})}if(!w){var L=I.current,[B]=oP.leaf(e,L),{path:Z}=L,F=y?p.offset:0,z=B.text.slice(F,h.offset);e.apply({type:"remove_text",path:Z,offset:F,text:z})}!y&&v&&I.current&&A.current&&o8.mergeNodes(e,{at:I.current,hanging:!0,voids:a});var U=I.unref()||A.unref();null==t.at&&U&&o8.select(e,U)}}})},insertFragment(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};oP.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=e.selection}=n;if(t.length&&i){if(oV.isRange(i)){if(r||(i=oP.unhangRange(e,i)),oV.isCollapsed(i))i=i.anchor;else{var[,a]=oV.edges(i);if(!o&&oP.void(e,{at:a}))return;var s=oP.pointRef(e,a);o8.delete(e,{at:i}),i=s.unref()}}else oL.isPath(i)&&(i=oP.start(e,i));if(!(!o&&oP.void(e,{at:i}))){var l=oP.above(e,{at:i,match:t=>oP.isInline(e,t),mode:"highest",voids:o});if(l){var[,c]=l;oP.isEnd(e,i,c)?i=oP.after(e,c):oP.isStart(e,i,c)&&(i=oP.before(e,c))}var[,u]=oP.above(e,{match:t=>oP.isBlock(e,t),at:i,voids:o}),d=oP.isStart(e,i,u),f=oP.isEnd(e,i,u),p=!d||d&&f,h=!f,[,m]=oM.first({children:t},[]),[,g]=oM.last({children:t},[]),v=[],y=t=>{var[n,r]=t;return!(p&&oL.isAncestor(r,m)&&oT.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)||h&&oL.isAncestor(r,g)&&oT.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))};for(var b of oM.nodes({children:t},{pass:y}))b[1].length>0&&y(b)&&v.push(b);var w=[],S=[],x=[],E=!0,C=!1;for(var[_]of v)oT.isElement(_)&&!e.isInline(_)?(E=!1,C=!0,S.push(_)):E?w.push(_):x.push(_);var[k]=oP.nodes(e,{at:i,match:t=>oK.isText(t)||oP.isInline(e,t),mode:"highest",voids:o}),[,O]=k,A=oP.isStart(e,i,O),I=oP.isEnd(e,i,O),P=oP.pathRef(e,f?oL.next(u):u),T=oP.pathRef(e,I?oL.next(O):O);o8.splitNodes(e,{at:i,match:t=>C?oP.isBlock(e,t):oK.isText(t)||oP.isInline(e,t),mode:C?"lowest":"highest",voids:o});var R=oP.pathRef(e,!A||A&&I?oL.next(O):O);if(o8.insertNodes(e,w,{at:R.current,match:t=>oK.isText(t)||oP.isInline(e,t),mode:"highest",voids:o}),o8.insertNodes(e,S,{at:P.current,match:t=>oP.isBlock(e,t),mode:"lowest",voids:o}),o8.insertNodes(e,x,{at:T.current,match:t=>oK.isText(t)||oP.isInline(e,t),mode:"highest",voids:o}),!n.at){M=x.length>0?oL.previous(T.current):S.length>0?oL.previous(P.current):oL.previous(R.current);var M,N=oP.end(e,M);o8.select(e,N)}R.unref(),P.unref(),T.unref()}}})},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};oP.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(o){if(oL.isPath(o)&&(o=oP.range(e,o)),oV.isRange(o)){if(oV.isCollapsed(o))o=o.anchor;else{var i=oV.end(o);if(!r&&oP.void(e,{at:i}))return;var a=oP.pointRef(e,i);o8.delete(e,{at:o,voids:r}),o=a.unref(),o8.setSelection(e,{anchor:o,focus:o})}}if(!(!r&&oP.void(e,{at:o}))){var{path:s,offset:l}=o;e.apply({type:"insert_text",path:s,offset:l,text:t})}}})}});function o7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o9(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o7(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o7(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ie=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of oP.pathRefs(e))oB.transform(n,t);for(var r of oP.pointRefs(e))oU.transform(r,t);for(var o of oP.rangeRefs(e))oW.transform(o,t);var i=new Set,a=[],s=e=>{if(e){var t=e.join(",");i.has(t)||(i.add(t),a.push(e))}},l=oc.get(e)||[],c=it(t);for(var u of l)s(oL.transform(u,t));for(var d of c)s(d);oc.set(e,a),oP.transform(e,t),e.operations.push(t),oP.normalize(e),"set_selection"===t.type&&(e.marks=null),ou.get(e)||(ou.set(e,!0),Promise.resolve().then(()=>{ou.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r){if(oV.isExpanded(r))o8.setNodes(e,{[t]:n},{match:oK.isText,split:!0});else{var o=o9({},oP.marks(e)||{},{[t]:n});e.marks=o,e.onChange()}}},deleteBackward:t=>{var{selection:n}=e;n&&oV.isCollapsed(n)&&o8.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&oV.isCollapsed(n)&&o8.delete(e,{unit:t})},deleteFragment:()=>{var{selection:t}=e;t&&oV.isExpanded(t)&&o8.delete(e)},getFragment:()=>{var{selection:t}=e;return t&&oV.isExpanded(t)?oM.fragment(e,t):[]},insertBreak:()=>{o8.splitNodes(e,{always:!0})},insertFragment:t=>{o8.insertFragment(e,t)},insertNode:t=>{o8.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(oV.isCollapsed(n)){var o=oP.above(e,{match:t=>oP.isInline(e,t),mode:"highest"});if(o){var[,i]=o;if(oP.isEnd(e,n.anchor,i)){var a=oP.after(e,i);o8.setSelection(e,{anchor:a,focus:a})}}}if(r){var s=o9({text:t},r);o8.insertNodes(e,s)}else o8.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!oK.isText(n)){if(oT.isElement(n)&&0===n.children.length){var o={text:""};o8.insertNodes(e,o,{at:r.concat(0),voids:!0});return}for(var i=!oP.isEditor(n)&&oT.isElement(n)&&(e.isInline(n)||0===n.children.length||oK.isText(n.children[0])||e.isInline(n.children[0])),a=0,s=0;s<n.children.length;s++,a++){var l=n.children[s],c=n.children[s-1],u=s===n.children.length-1;if((oK.isText(l)||oT.isElement(l)&&e.isInline(l))!==i)o8.removeNodes(e,{at:r.concat(a),voids:!0}),a--;else if(oT.isElement(l)){if(e.isInline(l)){if(null!=c&&oK.isText(c)){if(u){var d={text:""};o8.insertNodes(e,d,{at:r.concat(a+1),voids:!0}),a++}}else{var f={text:""};o8.insertNodes(e,f,{at:r.concat(a),voids:!0}),a++}}}else null!=c&&oK.isText(c)&&(oK.equals(l,c,{loose:!0})?(o8.mergeNodes(e,{at:r.concat(a),voids:!0}),a--):""===c.text?(o8.removeNodes(e,{at:r.concat(a-1),voids:!0}),a--):u&&""===l.text&&(o8.removeNodes(e,{at:r.concat(a),voids:!0}),a--))}}},removeMark:t=>{var{selection:n}=e;if(n){if(oV.isExpanded(n))o8.unsetNodes(e,t,{match:oK.isText,split:!0});else{var r=o9({},oP.marks(e)||{});delete r[t],e.marks=r,e.onChange()}}}};return e},it=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return oL.levels(t);case"insert_node":var{node:n,path:r}=e;return[...oL.levels(r),...oK.isText(n)?[]:Array.from(oM.nodes(n),e=>{var[,t]=e;return r.concat(t)})];case"merge_node":var{path:o}=e;return[...oL.ancestors(o),oL.previous(o)];case"move_node":var{path:i,newPath:a}=e;if(oL.equals(i,a))return[];var s=[],l=[];for(var c of oL.ancestors(i)){var u=oL.transform(c,e);s.push(u)}for(var d of oL.ancestors(a)){var f=oL.transform(d,e);l.push(f)}return[...s,...l];case"remove_node":var{path:p}=e;return[...oL.ancestors(p)];case"split_node":var{path:h}=e;return[...oL.levels(h),oL.next(h)];default:return[]}},ir=n(14633),io=n.n(ir);function ii(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function ia(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function is(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return ia(n.overflowY,t)||ia(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function il(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var ic=function(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof a?a:function(e){return e!==a};if(!ii(e))throw TypeError("Invalid target");for(var c,u,d=document.scrollingElement||document.documentElement,f=[],p=e;ii(p)&&l(p);){if((p=null==(u=(c=p).parentElement)?c.getRootNode().host||null:u)===d){f.push(p);break}null!=p&&p===document.body&&is(p)&&!is(document.documentElement)||null!=p&&is(p,s)&&f.push(p)}for(var h=n.visualViewport?n.visualViewport.width:innerWidth,m=n.visualViewport?n.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),b=y.height,w=y.width,S=y.top,x=y.right,E=y.bottom,C=y.left,_="start"===o||"nearest"===o?S:"end"===o?E:S+b/2,k="center"===i?C+w/2:"end"===i?x:C,O=[],A=0;A<f.length;A++){var I=f[A],P=I.getBoundingClientRect(),T=P.height,R=P.width,M=P.top,N=P.right,j=P.bottom,D=P.left;if("if-needed"===r&&S>=0&&C>=0&&E<=m&&x<=h&&S>=M&&E<=j&&C>=D&&x<=N)break;var L=getComputedStyle(I),B=parseInt(L.borderLeftWidth,10),Z=parseInt(L.borderTopWidth,10),F=parseInt(L.borderRightWidth,10),z=parseInt(L.borderBottomWidth,10),U=0,H=0,q="offsetWidth"in I?I.offsetWidth-I.clientWidth-B-F:0,V="offsetHeight"in I?I.offsetHeight-I.clientHeight-Z-z:0,W="offsetWidth"in I?0===I.offsetWidth?0:R/I.offsetWidth:0,$="offsetHeight"in I?0===I.offsetHeight?0:T/I.offsetHeight:0;if(d===I)U="start"===o?_:"end"===o?_-m:"nearest"===o?il(v,v+m,m,Z,z,v+_,v+_+b,b):_-m/2,H="start"===i?k:"center"===i?k-h/2:"end"===i?k-h:il(g,g+h,h,B,F,g+k,g+k+w,w),U=Math.max(0,U+v),H=Math.max(0,H+g);else{U="start"===o?_-M-Z:"end"===o?_-j+z+V:"nearest"===o?il(M,j,T,Z,z+V,_,_+b,b):_-(M+T/2)+V/2,H="start"===i?k-D-B:"center"===i?k-(D+R/2)+q/2:"end"===i?k-N+F+q:il(D,N,R,B,F+q,k,k+w,w);var G=I.scrollLeft,K=I.scrollTop;_+=K-(U=Math.max(0,Math.min(K+U/$,I.scrollHeight-T/$+V))),k+=G-(H=Math.max(0,Math.min(G+H/W,I.scrollWidth-R/W+q)))}O.push({el:I,top:U,left:H})}return O};function iu(e){return e===Object(e)&&0!==Object.keys(e).length}function id(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)})}function ip(e){return!1===e?{block:"end",inline:"nearest"}:iu(e)?e:{block:"start",inline:"nearest"}}var ih=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(iu(t)&&"function"==typeof t.behavior)return t.behavior(n?ic(e,t):[]);if(n){var r=ip(t);return id(ic(e,r),r.behavior)}},im=n(16471),ig=n.n(im),iv=n(56321),iy=n(27001);function ib(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iw(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function iS(e,t){if(null==e)return{};var n,r,o=iw(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ix=0;class iE{constructor(){this.id="".concat(ix++)}}var iC=new WeakMap,i_=new WeakMap,ik=new WeakMap,iO=new WeakMap,iA=new WeakMap,iI=new WeakMap,iP=new WeakMap,iT=new WeakMap,iR=new WeakMap,iM=new WeakMap,iN=Symbol("placeholder"),ij=e=>iL(e)&&8===e.nodeType,iD=e=>iL(e)&&1===e.nodeType,iL=e=>e instanceof Node,iB=e=>iL(e)&&3===e.nodeType,iZ=e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length,iF=e=>{var[t,n]=e;if(iD(t)&&t.childNodes.length){var r=n===t.childNodes.length,o=r?"backward":"forward";for(t=iz(t,r?n-1:n,o);iD(t)&&t.childNodes.length;){var i=r?t.childNodes.length-1:0;t=iz(t,i,o)}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]},iz=(e,t,n)=>{for(var{childNodes:r}=e,o=r[t],i=t,a=!1,s=!1;(ij(o)||iD(o)&&0===o.childNodes.length||iD(o)&&"false"===o.getAttribute("contenteditable"))&&(!a||!s);){if(i>=r.length){a=!0,i=t-1,n="backward";continue}if(i<0){s=!0,i=t+1,n="forward";continue}o=r[i],i+="forward"===n?1:-1}return o},iU=e=>{var t="";if(iB(e)&&e.nodeValue)return e.nodeValue;if(iD(e)){for(var n of Array.from(e.childNodes))t+=iU(n);var r=getComputedStyle(e).getPropertyValue("display");("block"===r||"list"===r||"BR"===e.tagName)&&(t+="\n")}return t},iH={findKey(e,t){var n=iP.get(t);return n||(n=new iE,iP.set(t,n)),n},findPath(e,t){for(var n=[],r=t;;){var o=i_.get(r);if(null==o){if(oP.isEditor(r))return n;break}var i=iC.get(r);if(null==i)break;n.unshift(i),r=o}throw Error("Unable to find the path for Slate node: ".concat(JSON.stringify(t)))},isFocused:e=>!!iR.get(e),isReadOnly:e=>!!iT.get(e),blur(e){var t=iH.toDOMNode(e,e);iR.set(e,!1),window.document.activeElement===t&&t.blur()},focus(e){var t=iH.toDOMNode(e,e);iR.set(e,!0),window.document.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){var{selection:t}=e,n=window.getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&o8.deselect(e)},hasDOMNode(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:o=!1}=r,i=iH.toDOMNode(e,e);try{n=iD(t)?t:t.parentElement}catch(e){if(!e.message.includes('Permission denied to access property "nodeType"'))throw e}return!!n&&n.closest("[data-slate-editor]")===i&&(!o||n.isContentEditable||!!n.getAttribute("data-slate-zero-width"))},insertData(e,t){e.insertData(t)},setFragmentData(e,t){e.setFragmentData(t)},toDOMNode(e,t){var n=oP.isEditor(t)?ik.get(e):iA.get(iH.findKey(e,t));if(!n)throw Error("Cannot resolve a DOM node from Slate node: ".concat(JSON.stringify(t)));return n},toDOMPoint(e,t){var n,[r]=oP.node(e,t.path),o=iH.toDOMNode(e,r);oP.void(e,{at:t})&&(t={path:t.path,offset:0});var i="[data-slate-string], [data-slate-zero-width]",a=Array.from(o.querySelectorAll(i)),s=0;for(var l of a){var c=l.childNodes[0];if(null!=c&&null!=c.textContent){var{length:u}=c.textContent,d=l.getAttribute("data-slate-length"),f=s+(null==d?u:parseInt(d,10));if(t.offset<=f){n=[c,Math.min(u,Math.max(0,t.offset-s))];break}s=f}}if(!n)throw Error("Cannot resolve a DOM point from Slate point: ".concat(JSON.stringify(t)));return n},toDOMRange(e,t){var{anchor:n,focus:r}=t,o=oV.isBackward(t),i=iH.toDOMPoint(e,n),a=oV.isCollapsed(t)?i:iH.toDOMPoint(e,r),s=window.document.createRange(),[l,c]=o?a:i,[u,d]=o?i:a,f=!!(iD(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),p=!!(iD(u)?u:u.parentElement).getAttribute("data-slate-zero-width");return s.setStart(l,f?1:c),s.setEnd(u,p?1:d),s},toSlateNode(e,t){var n=iD(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?iO.get(n):null;if(!r)throw Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},findEventRange(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n,{clientX:r,clientY:o,target:i}=t;if(null==r||null==o)throw Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var a=iH.toSlateNode(e,t.target),s=iH.findPath(e,a);if(oP.isVoid(e,a)){var l=i.getBoundingClientRect(),c=e.isInline(a)?r-l.left<l.left+l.width-r:o-l.top<l.top+l.height-o,u=oP.point(e,s,{edge:c?"start":"end"}),d=c?oP.before(e,u):oP.after(e,u);if(d)return oP.range(e,d)}var{document:f}=window;if(f.caretRangeFromPoint)n=f.caretRangeFromPoint(r,o);else{var p=f.caretPositionFromPoint(r,o);p&&((n=f.createRange()).setStart(p.offsetNode,p.offset),n.setEnd(p.offsetNode,p.offset))}if(!n)throw Error("Cannot resolve a Slate range from a DOM event: ".concat(t));return iH.toSlateRange(e,n)},toSlatePoint(e,t){var[n,r]=iF(t),o=n.parentNode,i=null,a=0;if(o){var s=o.closest('[data-slate-void="true"]'),l=o.closest("[data-slate-leaf]"),c=null;if(l){i=l.closest('[data-slate-node="text"]');var u=window.document.createRange();u.setStart(i,0),u.setEnd(n,r);var d=u.cloneContents();[...d.querySelectorAll("[data-slate-zero-width]"),...d.querySelectorAll("[contenteditable=false]")].forEach(e=>{e.parentNode.removeChild(e)}),a=d.textContent.length,c=i}else s&&(i=(l=s.querySelector("[data-slate-leaf]")).closest('[data-slate-node="text"]'),a=(c=l).textContent.length);c&&a===c.textContent.length&&o.hasAttribute("data-slate-zero-width")&&a--}if(!i)throw Error("Cannot resolve a Slate point from DOM point: ".concat(t));var f=iH.toSlateNode(e,i);return{path:iH.findPath(e,f),offset:a}},toSlateRange(e,t){if((t instanceof Selection?t.anchorNode:t.startContainer)&&(t instanceof Selection?(n=t.anchorNode,r=t.anchorOffset,o=t.focusNode,i=t.focusOffset,a=t.isCollapsed):(n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,a=t.collapsed)),null==n||null==o||null==r||null==i)throw Error("Cannot resolve a Slate range from DOM range: ".concat(t));var n,r,o,i,a,s=iH.toSlatePoint(e,[n,r]),l=a?s:iH.toSlatePoint(e,[o,i]);return{anchor:s,focus:l}}},iq=(0,l.createContext)(!1),iV=(0,l.createContext)(null),iW=()=>{var e=(0,l.useContext)(iV);if(!e)throw Error("The `useEditor` hook must be used inside the <Slate> component's context.");return e},i$=(0,l.createContext)(null),iG=()=>{var e=(0,l.useContext)(i$);if(!e)throw Error("The `useSlate` hook must be used inside the <SlateProvider> component's context.");var[t]=e;return t},iK=e=>{var{editor:t,children:n,onChange:r,value:o}=e,i=iS(e,["editor","children","onChange","value"]),[a,s]=(0,l.useState)(0),c=(0,l.useMemo)(()=>(t.children=o,Object.assign(t,i),[t]),[a,o,...Object.values(i)]),u=(0,l.useCallback)(()=>{r(t.children),s(a+1)},[a,r]);return iM.set(t,u),(0,l.useEffect)(()=>()=>{iM.set(t,()=>{})},[]),l.createElement(i$.Provider,{value:c},l.createElement(iV.Provider,{value:t},l.createElement(iq.Provider,{value:iH.isFocused(t)},n)))},iY=(0,l.createContext)(!1),iX=()=>(0,l.useContext)(iY),iQ=(0,l.createContext)(!1),iJ=e=>{var t=e,{apply:n,onChange:r}=t;return t.apply=e=>{var r=[];switch(e.type){case"insert_text":case"remove_text":case"set_node":for(var[o,i]of oP.levels(t,{at:e.path})){var a=iH.findKey(t,o);r.push([i,a])}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":for(var[s,l]of oP.levels(t,{at:oL.parent(e.path)})){var c=iH.findKey(t,s);r.push([l,c])}}for(var[u,d]of(n(e),r)){var[f]=oP.node(t,u);iP.set(f,d)}},t.setFragmentData=e=>{var{selection:n}=t;if(n){var[r,o]=oV.edges(n),i=oP.void(t,{at:r.path}),a=oP.void(t,{at:o.path});if(!oV.isCollapsed(n)||i){var s=iH.toDOMRange(t,n),l=s.cloneContents(),c=l.childNodes[0];if(l.childNodes.forEach(e=>{e.textContent&&""!==e.textContent.trim()&&(c=e)}),a){var[u]=a,d=s.cloneRange(),f=iH.toDOMNode(t,u);d.setEndAfter(f),l=d.cloneContents()}if(i&&(c=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach(e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),iB(c)){var p=document.createElement("span");p.style.whiteSpace="pre",p.appendChild(c),l.appendChild(p),c=p}var h=JSON.stringify(t.getFragment()),m=window.btoa(encodeURIComponent(h));c.setAttribute("data-slate-fragment",m),e.setData("application/x-slate-fragment",m);var g=document.createElement("div");g.appendChild(l),g.setAttribute("hidden","true"),document.body.appendChild(g),e.setData("text/html",g.innerHTML),e.setData("text/plain",iU(g)),document.body.removeChild(g)}}},t.insertData=e=>{var n=e.getData("application/x-slate-fragment");if(n){var r=JSON.parse(decodeURIComponent(window.atob(n)));o8.insertFragment(t,r);return}var o=e.getData("text/plain");if(o){var i=o.split(/\r\n|\r|\n/),a=!1;for(var s of i)a&&o8.splitNodes(t,{always:!0}),o8.insertText(t,s),a=!0}},t.onChange=()=>{iv.unstable_batchedUpdates(()=>{var e=iM.get(t);e&&e(),r()})},t},i0=e=>{var{isLast:t,leaf:n,parent:r,text:o}=e,i=iW(),a=iH.findPath(i,o),s=oL.parent(a);return i.isVoid(r)?l.createElement(i2,{length:oM.string(r).length}):""!==n.text||r.children[r.children.length-1]!==o||i.isInline(r)||""!==oP.string(i,s)?""===n.text?l.createElement(i2,null):t&&"\n"===n.text.slice(-1)?l.createElement(i1,{isTrailing:!0,text:n.text}):l.createElement(i1,{text:n.text}):l.createElement(i2,{isLineBreak:!0})},i1=e=>{var{text:t,isTrailing:n=!1}=e;return l.createElement("span",{"data-slate-string":!0},t,n?"\n":null)},i2=e=>{var{length:t=0,isLineBreak:n=!1}=e;return l.createElement("span",{"data-slate-zero-width":n?"n":"z","data-slate-length":t},"\uFEFF",n?l.createElement("br",null):null)},i3=e=>{var{leaf:t,isLast:n,text:r,parent:o,renderLeaf:i=e=>l.createElement(i5,Object.assign({},e))}=e,a=l.createElement(i0,{isLast:n,leaf:t,parent:o,text:r});return t[iN]&&(a=l.createElement(l.Fragment,null,l.createElement("span",{contentEditable:!1,style:{pointerEvents:"none",display:"inline-block",verticalAlign:"text-top",width:"0",maxWidth:"100%",whiteSpace:"nowrap",opacity:"0.333"}},t.placeholder),a)),i({attributes:{"data-slate-leaf":!0},children:a,leaf:t,text:r})},i4=l.memo(i3,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&oK.matches(t.leaf,e.leaf)),i5=e=>{var{attributes:t,children:n}=e;return l.createElement("span",Object.assign({},t),n)},i6="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,i8=e=>{for(var{decorations:t,isLast:n,parent:r,renderLeaf:o,text:i}=e,a=iW(),s=(0,l.useRef)(null),c=oK.decorations(i,t),u=iH.findKey(a,i),d=[],f=0;f<c.length;f++){var p=c[f];d.push(l.createElement(i4,{isLast:n&&f===c.length-1,key:"".concat(u.id,"-").concat(f),leaf:p,text:i,parent:r,renderLeaf:o}))}return i6(()=>{s.current?(iA.set(u,s.current),iI.set(i,s.current),iO.set(s.current,i)):(iA.delete(u),iI.delete(i))}),l.createElement("span",{"data-slate-node":"text",ref:s},d)},i7=l.memo(i8,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text),i9=e=>{var{decorate:t,decorations:n,element:r,renderElement:o=e=>l.createElement(at,Object.assign({},e)),renderLeaf:i,selection:a}=e,s=(0,l.useRef)(null),c=iW(),u=iX(),d=c.isInline(r),f=iH.findKey(c,r),p=l.createElement(ar,{decorate:t,decorations:n,node:r,renderElement:o,renderLeaf:i,selection:a}),h={"data-slate-node":"element",ref:s};if(d&&(h["data-slate-inline"]=!0),!d&&oP.hasInlines(c,r)){var m=oM.string(r),g=ig()(m);"rtl"===g&&(h.dir=g)}if(oP.isVoid(c,r)){h["data-slate-void"]=!0,!u&&d&&(h.contentEditable=!1);var v=d?"span":"div",[[y]]=oM.texts(r);p=u?null:l.createElement(v,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},l.createElement(i7,{decorations:[],isLast:!1,parent:r,text:y})),iC.set(y,0),i_.set(y,r)}return i6(()=>{s.current?(iA.set(f,s.current),iI.set(r,s.current),iO.set(s.current,r)):(iA.delete(f),iI.delete(r))}),l.createElement(iQ.Provider,{value:!!a},o({attributes:h,children:p,element:r}))},ae=l.memo(i9,(e,t)=>e.decorate===t.decorate&&e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&an(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&oV.equals(e.selection,t.selection))),at=e=>{var{attributes:t,children:n,element:r}=e,o=iW().isInline(r)?"span":"div";return l.createElement(o,Object.assign({},t,{style:{position:"relative"}}),n)},an=(e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(!oV.equals(r,o))return!1}return!0},ar=e=>{for(var{decorate:t,decorations:n,node:r,renderElement:o,renderLeaf:i,selection:a}=e,s=iW(),c=iH.findPath(s,r),u=[],d=oT.isElement(r)&&!s.isInline(r)&&oP.hasInlines(s,r),f=0;f<r.children.length;f++){var p=c.concat(f),h=r.children[f],m=iH.findKey(s,h),g=oP.range(s,p),v=a&&oV.intersection(g,a),y=t([h,p]);for(var b of n){var w=oV.intersection(b,g);w&&y.push(w)}oT.isElement(h)?u.push(l.createElement(ae,{decorate:t,decorations:y,element:h,key:m.id,renderElement:o,renderLeaf:i,selection:v})):u.push(l.createElement(i7,{decorations:y,key:m.id,isLast:d&&f===r.children.length-1,parent:r,renderLeaf:i,text:h})),iC.set(h,f),i_.set(h,r)}return l.createElement(l.Fragment,null,u)};"undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream;var ao="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),ai="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),aa="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),as="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])/i.test(navigator.userAgent),al={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z"},ac={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},au={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},ad=e=>{var t=al[e],n=ac[e],r=au[e],o=t&&(0,iy.TB)(t),i=n&&(0,iy.TB)(n),a=r&&(0,iy.TB)(r);return e=>!!(o&&o(e)||ao&&i&&i(e)||!ao&&a&&a(e))},af={isBold:ad("bold"),isCompose:ad("compose"),isMoveBackward:ad("moveBackward"),isMoveForward:ad("moveForward"),isDeleteBackward:ad("deleteBackward"),isDeleteForward:ad("deleteForward"),isDeleteLineBackward:ad("deleteLineBackward"),isDeleteLineForward:ad("deleteLineForward"),isDeleteWordBackward:ad("deleteWordBackward"),isDeleteWordForward:ad("deleteWordForward"),isExtendBackward:ad("extendBackward"),isExtendForward:ad("extendForward"),isExtendLineBackward:ad("extendLineBackward"),isExtendLineForward:ad("extendLineForward"),isItalic:ad("italic"),isMoveLineBackward:ad("moveLineBackward"),isMoveLineForward:ad("moveLineForward"),isMoveWordBackward:ad("moveWordBackward"),isMoveWordForward:ad("moveWordForward"),isRedo:ad("redo"),isSplitBlock:ad("splitBlock"),isTransposeCharacter:ad("transposeCharacter"),isUndo:ad("undo")};function ap(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ah(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ap(Object(n),!0).forEach(function(t){ib(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ap(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var am=!(ai||as),ag=e=>{var{autoFocus:t,decorate:n=av,onDOMBeforeInput:r,placeholder:o,readOnly:i=!1,renderElement:a,renderLeaf:s,style:c={},as:u="div"}=e,d=iS(e,["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","style","as"]),f=iG(),p=(0,l.useRef)(null);iT.set(f,i);var h=(0,l.useMemo)(()=>({isComposing:!1,isUpdatingSelection:!1,latestElement:null}),[]);i6(()=>{p.current?(ik.set(f,p.current),iI.set(f,p.current),iO.set(p.current,f)):iI.delete(f)}),i6(()=>{var{selection:e}=f,t=window.getSelection();if(!h.isComposing&&t&&iH.isFocused(f)){var n="None"!==t.type;if(!(!e&&!n||n&&e&&oV.equals(iH.toSlateRange(f,t),e))){var r=iH.toDOMNode(f,f);h.isUpdatingSelection=!0,t.removeAllRanges();var o=e&&iH.toDOMRange(f,e);o&&(t.addRange(o),ih(o.startContainer.parentElement,{scrollMode:"if-needed"})),setTimeout(()=>{o&&ai&&r.focus(),h.isUpdatingSelection=!1})}}}),(0,l.useEffect)(()=>{p.current&&t&&p.current.focus()},[t]);var m=(0,l.useCallback)(e=>{if(!i&&ab(f,e.target)&&!aS(e,r)){var{selection:t}=f,{inputType:n}=e,o=e.dataTransfer||e.data||void 0;if("insertCompositionText"!==n&&"deleteCompositionText"!==n){if(e.preventDefault(),!n.startsWith("delete")||n.startsWith("deleteBy")){var[a]=e.getTargetRanges();if(a){var s=iH.toSlateRange(f,a);t&&oV.equals(t,s)||o8.select(f,s)}}if(t&&oV.isExpanded(t)&&n.startsWith("delete")){oP.deleteFragment(f);return}switch(n){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":oP.deleteFragment(f);break;case"deleteContent":case"deleteContentForward":oP.deleteForward(f);break;case"deleteContentBackward":oP.deleteBackward(f);break;case"deleteEntireSoftLine":oP.deleteBackward(f,{unit:"line"}),oP.deleteForward(f,{unit:"line"});break;case"deleteHardLineBackward":oP.deleteBackward(f,{unit:"block"});break;case"deleteSoftLineBackward":oP.deleteBackward(f,{unit:"line"});break;case"deleteHardLineForward":oP.deleteForward(f,{unit:"block"});break;case"deleteSoftLineForward":oP.deleteForward(f,{unit:"line"});break;case"deleteWordBackward":oP.deleteBackward(f,{unit:"word"});break;case"deleteWordForward":oP.deleteForward(f,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":oP.insertBreak(f);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":o instanceof DataTransfer?iH.insertData(f,o):"string"==typeof o&&oP.insertText(f,o)}}}},[i]);i6(()=>(p.current&&p.current.addEventListener("beforeinput",m),()=>{p.current&&p.current.removeEventListener("beforeinput",m)}),[m]);var g=(0,l.useCallback)(io()(()=>{if(!i&&!h.isComposing&&!h.isUpdatingSelection){var{activeElement:e}=window.document,t=iH.toDOMNode(f,f),n=window.getSelection();if(e===t?(h.latestElement=e,iR.set(f,!0)):iR.delete(f),n&&ab(f,n.anchorNode)&&ab(f,n.focusNode)){var r=iH.toSlateRange(f,n);o8.select(f,r)}else o8.deselect(f)}},100),[i]);i6(()=>(window.document.addEventListener("selectionchange",g),()=>{window.document.removeEventListener("selectionchange",g)}),[g]);var v=n([f,[]]);if(o&&1===f.children.length&&1===Array.from(oM.texts(f)).length&&""===oM.string(f)){var y=oP.start(f,[]);v.push({[iN]:!0,placeholder:o,anchor:y,focus:y})}return l.createElement(iY.Provider,{value:i},l.createElement(u,Object.assign({"data-gramm":!1,role:i?void 0:"textbox"},d,{spellCheck:am?d.spellCheck:void 0,autoCorrect:am?d.autoCorrect:void 0,autoCapitalize:am?d.autoCapitalize:void 0,"data-slate-editor":!0,"data-slate-node":"value",contentEditable:!i||void 0,suppressContentEditableWarning:!0,ref:p,style:ah({outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},c),onBeforeInput:(0,l.useCallback)(e=>{if(!am&&!i&&!aw(e,d.onBeforeInput)&&ab(f,e.target)){e.preventDefault();var t=e.data;oP.insertText(f,t)}},[i]),onBlur:(0,l.useCallback)(e=>{if(!(i||h.isUpdatingSelection||!ab(f,e.target)||aw(e,d.onBlur))&&h.latestElement!==window.document.activeElement){var{relatedTarget:t}=e;if(!(t===iH.toDOMNode(f,f)||iD(t)&&t.hasAttribute("data-slate-spacer"))){if(null!=t&&iL(t)&&iH.hasDOMNode(f,t)){var n=iH.toSlateNode(f,t);if(oT.isElement(n)&&!f.isVoid(n))return}iR.delete(f)}}},[i,d.onBlur]),onClick:(0,l.useCallback)(e=>{if(!i&&ay(f,e.target)&&!aw(e,d.onClick)&&iL(e.target)){var t=iH.toSlateNode(f,e.target),n=iH.findPath(f,t),r=oP.start(f,n);if(oP.void(f,{at:r})){var o=oP.range(f,r);o8.select(f,o)}}},[i,d.onClick]),onCompositionEnd:(0,l.useCallback)(e=>{!ab(f,e.target)||aw(e,d.onCompositionEnd)||(h.isComposing=!1,aa||ai||!e.data||oP.insertText(f,e.data))},[d.onCompositionEnd]),onCompositionStart:(0,l.useCallback)(e=>{ab(f,e.target)&&!aw(e,d.onCompositionStart)&&(h.isComposing=!0)},[d.onCompositionStart]),onCopy:(0,l.useCallback)(e=>{ab(f,e.target)&&!aw(e,d.onCopy)&&(e.preventDefault(),iH.setFragmentData(f,e.clipboardData))},[d.onCopy]),onCut:(0,l.useCallback)(e=>{if(!i&&ab(f,e.target)&&!aw(e,d.onCut)){e.preventDefault(),iH.setFragmentData(f,e.clipboardData);var{selection:t}=f;t&&oV.isExpanded(t)&&oP.deleteFragment(f)}},[i,d.onCut]),onDragOver:(0,l.useCallback)(e=>{if(ay(f,e.target)&&!aw(e,d.onDragOver)){var t=iH.toSlateNode(f,e.target);oP.isVoid(f,t)&&e.preventDefault()}},[d.onDragOver]),onDragStart:(0,l.useCallback)(e=>{if(ay(f,e.target)&&!aw(e,d.onDragStart)){var t=iH.toSlateNode(f,e.target),n=iH.findPath(f,t);if(oP.void(f,{at:n})){var r=oP.range(f,n);o8.select(f,r)}iH.setFragmentData(f,e.dataTransfer)}},[d.onDragStart]),onDrop:(0,l.useCallback)(e=>{if(ay(f,e.target)&&!i&&!aw(e,d.onDrop)&&(!am||!aa&&e.dataTransfer.files.length>0)){e.preventDefault();var t=iH.findEventRange(f,e),n=e.dataTransfer;o8.select(f,t),iH.insertData(f,n)}},[i,d.onDrop]),onFocus:(0,l.useCallback)(e=>{if(!i&&!h.isUpdatingSelection&&ab(f,e.target)&&!aw(e,d.onFocus)){var t=iH.toDOMNode(f,f);if(h.latestElement=window.document.activeElement,ai&&e.target!==t){t.focus();return}iR.set(f,!0)}},[i,d.onFocus]),onKeyDown:(0,l.useCallback)(e=>{if(!i&&ab(f,e.target)&&!aw(e,d.onKeyDown)){var{nativeEvent:t}=e,{selection:n}=f;if(af.isRedo(t)){e.preventDefault(),f.redo&&f.redo();return}if(af.isUndo(t)){e.preventDefault(),f.undo&&f.undo();return}if(af.isMoveLineBackward(t)){e.preventDefault(),o8.move(f,{unit:"line",reverse:!0});return}if(af.isMoveLineForward(t)){e.preventDefault(),o8.move(f,{unit:"line"});return}if(af.isExtendLineBackward(t)){e.preventDefault(),o8.move(f,{unit:"line",edge:"focus",reverse:!0});return}if(af.isExtendLineForward(t)){e.preventDefault(),o8.move(f,{unit:"line",edge:"focus"});return}if(af.isMoveBackward(t)){e.preventDefault(),n&&oV.isCollapsed(n)?o8.move(f,{reverse:!0}):o8.collapse(f,{edge:"start"});return}if(af.isMoveForward(t)){e.preventDefault(),n&&oV.isCollapsed(n)?o8.move(f):o8.collapse(f,{edge:"end"});return}if(af.isMoveWordBackward(t)){e.preventDefault(),o8.move(f,{unit:"word",reverse:!0});return}if(af.isMoveWordForward(t)){e.preventDefault(),o8.move(f,{unit:"word"});return}if(!am){if(af.isBold(t)||af.isItalic(t)||af.isTransposeCharacter(t)){e.preventDefault();return}if(af.isSplitBlock(t)){e.preventDefault(),oP.insertBreak(f);return}if(af.isDeleteBackward(t)){e.preventDefault(),n&&oV.isExpanded(n)?oP.deleteFragment(f):oP.deleteBackward(f);return}if(af.isDeleteForward(t)){e.preventDefault(),n&&oV.isExpanded(n)?oP.deleteFragment(f):oP.deleteForward(f);return}if(af.isDeleteLineBackward(t)){e.preventDefault(),n&&oV.isExpanded(n)?oP.deleteFragment(f):oP.deleteBackward(f,{unit:"line"});return}if(af.isDeleteLineForward(t)){e.preventDefault(),n&&oV.isExpanded(n)?oP.deleteFragment(f):oP.deleteForward(f,{unit:"line"});return}if(af.isDeleteWordBackward(t)){e.preventDefault(),n&&oV.isExpanded(n)?oP.deleteFragment(f):oP.deleteBackward(f,{unit:"word"});return}if(af.isDeleteWordForward(t)){e.preventDefault(),n&&oV.isExpanded(n)?oP.deleteFragment(f):oP.deleteForward(f,{unit:"word"});return}}}},[i,d.onKeyDown]),onPaste:(0,l.useCallback)(e=>{(!am||iZ(e.nativeEvent))&&!i&&ab(f,e.target)&&!aw(e,d.onPaste)&&(e.preventDefault(),iH.insertData(f,e.clipboardData))},[i,d.onPaste])}),l.createElement(ar,{decorate:n,decorations:v,node:f,renderElement:a,renderLeaf:s,selection:f.selection})))},av=()=>[],ay=(e,t)=>iL(t)&&iH.hasDOMNode(e,t),ab=(e,t)=>iL(t)&&iH.hasDOMNode(e,t,{editable:!0}),aw=(e,t)=>!!t&&(t(e),e.isDefaultPrevented()||e.isPropagationStopped()),aS=(e,t)=>!!t&&(t(e),e.defaultPrevented);function ax(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aE=new WeakMap,aC=new WeakMap;class a_{}class ak extends a_{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();var{offset:t,path:n}=e;this.offset=t,this.path=n}}class aO extends a_{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();var{offset:t,path:n}=e;this.offset=t,this.path=n}}var aA=(e,t)=>{var n=e.text.length;aE.set(e,[n,t])},aI=e=>aE.get(e),aP=(e,t)=>{var n=e.text.length;aC.set(e,[n,t])},aT=e=>aC.get(e);function aR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aR(Object(n),!0).forEach(function(t){ax(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var aN=new WeakSet,aj=e=>{var t=[],n=e=>{if(null!=e){var r=t[t.length-1];if("string"==typeof e){var o={text:e};aN.add(o),e=o}if(oK.isText(e)){var i=e;oK.isText(r)&&aN.has(r)&&aN.has(i)&&oK.equals(r,i,{loose:!0})?r.text+=i.text:t.push(i)}else if(oT.isElement(e))t.push(e);else if(e instanceof a_){var a=t[t.length-1];oK.isText(a)||(n(""),a=t[t.length-1]),e instanceof ak?aA(a,e):e instanceof aO&&aP(a,e)}else throw Error("Unexpected hyperscript child object: ".concat(e))}};for(var r of e.flat(1/0))n(r);return t};function aD(e,t,n){return aM({},t,{children:aj(n)})}function aL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aL(Object(n),!0).forEach(function(t){ax(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var aZ={anchor:function(e,t,n){return new ak(t)},cursor:function(e,t,n){return[new ak(t),new aO(t)]},editor:function(e,t,n){var r,o=[];for(var i of n)oV.isRange(i)?r=i:o.push(i);var a=aj(o),s={},l=ie();for(var[c,u]of(Object.assign(l,t),l.children=a,oM.texts(l))){var d=aI(c),f=aT(c);if(null!=d){var[p]=d;s.anchor={path:u,offset:p}}if(null!=f){var[h]=f;s.focus={path:u,offset:h}}}if(s.anchor&&!s.focus)throw Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<anchor />`. For collapsed selections, use `<cursor />` instead.");if(!s.anchor&&s.focus)throw Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return null!=r?l.selection=r:oV.isRange(s)&&(l.selection=s),l},element:aD,focus:function(e,t,n){return new aO(t)},fragment:function(e,t,n){return aj(n)},selection:function(e,t,n){var r=n.find(e=>e instanceof ak),o=n.find(e=>e instanceof aO);if(!r||null==r.offset||null==r.path)throw Error("The <selection> hyperscript tag must have an <anchor> tag as a child with `path` and `offset` attributes defined.");if(!o||null==o.offset||null==o.path)throw Error("The <selection> hyperscript tag must have a <focus> tag as a child with `path` and `offset` attributes defined.");return aM({anchor:{offset:r.offset,path:r.path},focus:{offset:o.offset,path:o.path}},t)},text:function(e,t,n){var r=aj(n);if(r.length>1)throw Error("The <text> hyperscript tag must only contain a single node's worth of children.");var[o]=r;if(null==o&&(o={text:""}),!oK.isText(o))throw Error("\n    The <text> hyperscript tag can only contain text content as children.");return aN.delete(o),Object.assign(o,t),o}},aF=e=>function(t,n){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=e[t];if(!a)throw Error("No hyperscript creator found for tag: <".concat(t,">"));return null==n&&(n={}),n2(n)||(o=[n].concat(o),n={}),a(t,n,o=o.filter(e=>!!e).flat())},az=e=>{var t={},n=function(n){var r=e[n];if("object"!=typeof r)throw Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(n,">  tag you passed: ").concat(r));t[n]=(e,t,n)=>aD("element",aB({},r,{},t),n)};for(var r in e)n(r);return t},aU=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{elements:t={}}=e;return aF(aB({},aZ,{},az(t),{},e.creators))}();let aH={bold:"bold",italic:"italic",underline:"underline",anchor:"anchor",fontColor:"font-color",paragraph:"paragraph",bulletedList:"bulleted-list",numberedList:"numbered-list",listItem:"list-item"},{paragraph:aq,numberedList:aV,bulletedList:aW,listItem:a$}=aH,aG={P:()=>({type:aq}),LI:()=>({type:a$}),OL:()=>({type:aV}),UL:()=>({type:aW})},aK={B:()=>({bold:!0}),I:()=>({italic:!0}),U:()=>({underline:!0}),A:e=>({anchor:e.getAttribute("href")}),SPAN:e=>{let t=e.getAttribute("style");return{fontColor:(null==t?void 0:t.includes(": "))?t.split(": ")[1]:"#fff"}}},aY=[aV,aW],aX={isMarkActive:(e,t)=>{let n=oP.marks(e);return!!n&&!0===n[t]},isBlockActive:(e,t)=>{let[n]=oP.nodes(e,{match:e=>e.type===t});return!!n},toggleMark:function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];aX.isMarkActive(e,t)?oP.removeMark(e,t):oP.addMark(e,t,n)},toggleBlock:(e,t)=>{let n=aX.isBlockActive(e,t),r=aY.includes(t);function o(){return n?"paragraph":r?"list-item":t}if(o8.unwrapNodes(e,{match:e=>aY.includes(e.type),split:!0}),o8.setNodes(e,{type:o()}),!n&&r){let n={type:t,children:[]};o8.wrapNodes(e,n)}}},aQ=e=>{if(oK.isText(e)){let{text:t}=e,{anchor:n,bold:r,italic:o,underline:i}=e,a=e["font-color"];return r&&(t="<b>".concat(t,"</b>")),o&&(t="<i>".concat(t,"</i>")),i&&(t="<u>".concat(t,"</u>")),n&&(t='<a href="'.concat(n.startsWith("http")?n:"https://".concat(n),'">').concat(t,"</a>")),a&&(t='<span style="color: '.concat(a,'">').concat(t,"</span>")),t}let t=e.children.map(e=>aQ(e)).join("");switch(e.type){case aq:return t?"<p>".concat(t,"</p>"):"<p><br /></p>";case aV:return"<ol>".concat(t,"</ol>");case aW:return"<ul>".concat(t,"</ul>");case a$:return"<li>".concat(t,"</li>");default:return t}},aJ=e=>{if("\n"===e.textContent||"\n  "===e.textContent)return null;if(3===e.nodeType)return e.textContent;if(1!==e.nodeType)return null;if("BR"===e.nodeName)return"";let{nodeName:t}=e,n=Array.from(e.childNodes).map(aJ);if(0===n.length&&(n=[{text:""}]),"BODY"===t)return aU("fragment",{},n);if(aG[t]){let r=aG[t](e);return"P"!==t||n.length?aU("element",r,n):aU("element",r,[{text:""}])}if(aK[t]){let r=aK[t](e);return n.map(e=>aU("text",r,e))}return null},a0=e=>e.split("\n").map(e=>({type:aq,children:[{text:e}]})),a1=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?aJ(new DOMParser().parseFromString(e,"text/html").body):a0(e)},a2=e=>{let{format:t,children:n}=e,r=iG();function o(e){e.preventDefault(),aX.toggleBlock(r,t)}return(0,i.jsx)(M.ZP,{className:"!border-0",type:aX.isBlockActive(r,t)?"primary":"default",size:"small",onMouseDown:o,children:n})},{listItem:a3,bulletedList:a4,numberedList:a5}=aH,a6=e=>{let{attributes:t,children:n,element:r}=e;switch(r.type){case a3:return(0,i.jsx)("li",{...t,children:n});case a4:return(0,i.jsx)("ul",{...t,children:n});case a5:return(0,i.jsx)("ol",{...t,children:n});default:return(0,i.jsx)("p",{...t,children:n})}},{bold:a8,italic:a7,underline:a9,fontColor:se,anchor:st}=aH,sn=e=>{let{attributes:t,children:n,leaf:r}=e;return r[a8]&&(n=(0,i.jsx)("b",{children:n})),r[a7]&&(n=(0,i.jsx)("i",{children:n})),r[a9]&&(n=(0,i.jsx)("u",{children:n})),r[st]&&(n=(0,i.jsx)("a",{rel:"noopener noreferrer",href:r[st],target:"_blank",children:n})),r[se]&&(n=(0,i.jsx)("span",{style:{color:r[se]},children:n})),(0,i.jsx)("span",{...t,children:n})},sr=e=>{let{format:t,children:n}=e,r=iG();function o(e){e.preventDefault(),aX.toggleMark(r,t)}return(0,i.jsx)(M.ZP,{className:"!border-0",type:aX.isMarkActive(r,t)?"primary":"default",size:"small",onMouseDown:o,children:n})},{bold:so,italic:si,bulletedList:sa,numberedList:ss}=aH,sl=e=>{let{value:t,onChange:n}=e,r=t||"",[o,a]=(0,l.useState)(a1(r,r.includes("<"))),s=(0,l.useMemo)(()=>iJ(ie()),[]),c=(0,l.useCallback)(e=>(0,i.jsx)(a6,{...e}),[]),u=(0,l.useCallback)(e=>(0,i.jsx)(sn,{...e}),[]);return(0,i.jsxs)(iK,{editor:s,value:o,onChange:e=>{a(e),null==n||n(e.map(e=>aQ(e)).join(""))},children:[(0,i.jsxs)("div",{className:"mb-2 flex gap-2",children:[(0,i.jsx)(sr,{format:so,children:(0,i.jsx)(nq,{})}),(0,i.jsx)(sr,{format:si,children:(0,i.jsx)(n$,{})}),(0,i.jsx)(a2,{format:ss,children:(0,i.jsx)(nY,{})}),(0,i.jsx)(a2,{format:sa,children:(0,i.jsx)(nJ,{})})]}),(0,i.jsx)("div",{className:"rich-text w-[608px] cursor-text rounded border p-4",children:(0,i.jsx)(ag,{className:"min-h-[96px] w-full",renderElement:c,renderLeaf:u,spellCheck:!0})})]})},sc=e=>{let{html:t,className:n}=e;return(0,i.jsx)("div",{className:n,dangerouslySetInnerHTML:{__html:t}})},su=e=>{let{floor:t}=e;return t?(0,i.jsxs)("div",{className:"flex items-center gap-1",children:[(0,i.jsx)(ng,{}),(0,i.jsx)("span",{children:t})]}):null};var sd=n(30093),sf=n(71607),sp=n.n(sf),sh=n(75379),sm=n(70350),sg=n(48233),sv=n.n(sg);let sy=5,sb=.5,sw=.15,sS=e=>{let{customClassName:t,currentIndex:n,totalCount:r,visibleCount:o=sy,onChange:a}=e,[s,c]=(0,l.useState)(0);(0,l.useEffect)(()=>{c(Math.min(Math.max(n-o+Math.ceil(o/2),0),Math.max(r-o,0)))},[n,r,o]);let u=(0,l.useMemo)(()=>({"--dots-visible":Math.min(r,o),"--dots-shift":-s}),[s,r,o]),d=(0,l.useMemo)(()=>Array(r).fill(1).map((e,t)=>Math.max(1-Math.min(Math.abs(t-n),Math.floor(o/2))*sw,sb)),[n,r,o]);return(0,i.jsx)("div",{className:E()(sv().dots,t),style:u,children:(0,i.jsx)("div",{className:sv().viewport,children:(0,i.jsx)("div",{className:sv().list,children:d.map((e,t)=>(0,i.jsx)("button",{className:E()(sv().item,t===n&&sv().active),style:{transform:"scale(".concat(e,")")},onClick:e=>{e.stopPropagation(),null==a||a(t)},children:t+1},t))})})})};var sx=n(796),sE=n(85926);let sC=[sm.hA.VIRTUAL_TOUR,sm.hA.VIMEO],s_=e=>{let{className:t,item:n,onDownload:r}=e,[o,a]=(0,h.Z)(async()=>{await (0,eb.Sv)(n.url,n.name),null==r||r(n)},[n,r]);return sC.includes(n.type)?null:(0,i.jsx)("div",{className:E()(t,"flex h-8 w-9 cursor-pointer items-center justify-center bg-black/60 text-white"),onClick:a,children:o.loading?(0,i.jsx)(sx.Z,{}):(0,i.jsx)(sE.Z,{})})},sk=e=>{let{item:t,imgixParams:n,width:r,height:o,imageClassName:a}=e;return[sm.hA.VIRTUAL_TOUR,sm.hA.VIMEO].includes(t.type)?(0,i.jsx)("div",{className:"relative h-full w-full overflow-hidden",children:(0,i.jsx)("iframe",{title:"tour",loading:"lazy",className:"h-full w-full",src:t.url,allowFullScreen:!0,allow:"xr-spatial-tracking"})}):(0,i.jsx)(Y.Ee,{className:a,src:t.url,imgixParams:n,width:r,height:o,htmlAttributes:{style:{height:o}}})},sO=async e=>{try{let t=await fetch("https://vimeo.com/api/oembed.json?url=".concat(e));if(!t.ok)return"";let n=await t.json();return null==n?void 0:n.thumbnail_url}catch{return""}},sA=e=>{let{current:t,total:n}=e;return(0,i.jsxs)("div",{className:"flex gap-1",children:[void 0!==t&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{children:t}),(0,i.jsx)("div",{children:"/"})]}),(0,i.jsx)("div",{children:n})]})},sI=e=>{let{items:t,type:n,current:r,onClick:o}=e,{t:a}=(0,u.$G)(),[s,c]=(0,l.useState)(""),d=t.length,{title:f,icon:p}=(0,l.useMemo)(()=>({[sm.hA.PHOTO]:{title:a("photos","Photos"),icon:(0,i.jsx)(sH,{type:n})},[sm.hA.VIMEO]:{title:a("videos","Videos"),icon:(0,i.jsx)(sH,{type:n})},[sm.hA.FLOORPLAN]:{title:a("floor-plans","Floorplans"),icon:(0,i.jsx)(sH,{type:n})},[sm.hA.MARKETING_CONTENT]:{title:a("promo","Promo"),icon:(0,i.jsx)(sH,{type:n})},[sm.hA.VIRTUAL_TOUR]:{title:a("tours","Tours"),icon:(0,i.jsx)(sH,{type:n})}})[n],[n]);return((0,l.useEffect)(()=>{var e;let r=null==t?void 0:null===(e=t[0])||void 0===e?void 0:e.url;if(r&&n===sm.hA.VIRTUAL_TOUR){let e=new URL(r).searchParams.get("m");c("https://my.matterport.com/api/v1/player/models/".concat(e,"/thumb?height=112"));return}if(r&&n===sm.hA.VIMEO){sO(r).then(c);return}c(r)},[n,t,c]),0===d)?null:(0,i.jsxs)("div",{className:E()("relative flex cursor-pointer items-end overflow-hidden rounded-lg text-xs md:h-20 md:w-40 lg:h-28 lg:w-52",void 0!==r&&0!==d&&"pointer-events-none cursor-auto bg-black/80"),onClick:()=>o(n),children:[(0,i.jsx)("div",{"data-testid":"thumbnail-image",className:"absolute hidden h-full w-full md:block",...s?{style:{backgroundImage:"url(".concat(s,")"),backgroundSize:"cover"}}:{}}),(0,i.jsxs)("div",{className:"relative flex w-full items-center justify-between gap-1 bg-black/60 px-2 py-1 text-sm text-white",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[p,(0,i.jsx)("div",{className:"truncate after:content-[':'] md:after:content-['']",children:f})]}),(0,i.jsx)("div",{className:E()("rounded-lg text-xs md:ml-2 md:px-2 md:py-1",void 0!==r&&0!==d&&"bg-black/80"),children:(0,i.jsx)(sA,{current:r,total:d})})]})]})},sP=e=>{let{items:t,currentIndex:n,onSelectIndex:r}=e,o=H()(t,e=>e.type),a=Object.keys(o).length>1,s=t[n],c=(0,l.useCallback)(e=>{let n=o[e][0];r(t.indexOf(n))},[t,r]);return t.length&&a?(0,i.jsx)("div",{className:"flex flex-wrap gap-3",children:[sm.hA.PHOTO,sm.hA.VIRTUAL_TOUR,sm.hA.FLOORPLAN,sm.hA.VIMEO,sm.hA.MARKETING_CONTENT].map(e=>{var t;return(0,i.jsx)(sI,{type:e,items:null!==(t=o[e])&&void 0!==t?t:[],current:s.type===e?o[e].indexOf(s)+1:void 0,onClick:c},e)})}):null};function sT(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.map(e=>{let{url:r,...o}=e;return{type:t,url:(0,N.mi)(r,{fit:"crop",ar:"8:5",...n}),...o}})}function sR(e){let{photos:t,floorplans:n,marketingContent:r,virtualTours:o,vimeos:i}=e;return(0,l.useMemo)(()=>{var e;return[...sT(null!=t?t:[],sm.hA.PHOTO),...sT(null!=o?o:[],sm.hA.VIRTUAL_TOUR),...sT(null!=n?n:[],sm.hA.FLOORPLAN,{fit:"fill",fill:"solid","fill-color":"ffffff"}),...sT(null!==(e=null==i?void 0:i.map(e=>({...e,url:"https://player.vimeo.com/video/".concat(e.vimeoId)})))&&void 0!==e?e:[],sm.hA.VIMEO),...sT(null!=r?r:[],sm.hA.MARKETING_CONTENT)]},[t,n,r,o])}let sM=e=>{let{items:t,width:n,withThumbnails:r=!1,withLightbox:o=!1,withDownload:a=!1,addonsRenderer:s,onMediaDownload:c,onMediaView:u=sp()}=e,d=(0,l.useRef)(null),[f,p]=(0,l.useState)(0),h=(0,l.useCallback)((e,n)=>{p(n),u(t[n])},[]),m=(0,l.useCallback)(e=>{var t;return null===(t=d.current)||void 0===t?void 0:t.goTo(e)},[d]),g=()=>{var e;return null===(e=d.current)||void 0===e?void 0:e.prev()},v=()=>{var e;return null===(e=d.current)||void 0===e?void 0:e.next()};return(0,sh.NR)((0,l.useCallback)(e=>{"ArrowLeft"===e.code&&g(),"ArrowRight"===e.code&&v()},[g,v])),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(Y.ey,{withCaption:!0,children:(0,i.jsx)(sd.Z,{className:"overflow-hidden",arrows:!0,lazyLoad:"progressive",infinite:!1,ref:d,appendDots:()=>(0,i.jsx)(sS,{currentIndex:f,totalCount:t.length,onChange:m}),beforeChange:h,children:t.map(e=>(0,i.jsx)(Y.M1,{caption:e.name,content:(0,i.jsx)(sk,{imageClassName:"max-h-screen",item:e,width:n,imgixParams:{fit:"max"}}),children:t=>{let{ref:r,open:a}=t;return(0,i.jsx)("div",{ref:r,className:"h-full w-full cursor-pointer",onClick:o?a:void 0,children:(0,i.jsx)(sk,{imageClassName:"mx-auto",item:e,width:n,height:tS,imgixParams:{fit:"max"}})})}},e.url))})}),a&&(0,i.jsx)(s_,{className:"absolute bottom-3 left-3 z-[1]",item:t[f],onDownload:c}),s&&s(t[f],f,t)]}),r&&(0,i.jsx)("div",{className:"select-none bg-gray-100 p-3 empty:hidden",children:(0,i.jsx)(sP,{items:t,currentIndex:f,onSelectIndex:m})})]})};var sN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"}}]},name:"camera",theme:"outlined"},sj=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:sN}))},sD=l.forwardRef(sj),sL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"video-camera",theme:"outlined"},sB=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:sL}))},sZ=l.forwardRef(sB),sF=n(20113),sz=n(92847),sU=n(38367);let sH=e=>{let{type:t}=e;switch(t){case sm.hA.PHOTO:return(0,i.jsx)(sD,{});case sm.hA.FLOORPLAN:return(0,i.jsx)(sF.r,{});case sm.hA.MARKETING_CONTENT:return(0,i.jsx)(sz.r,{});case sm.hA.VIRTUAL_TOUR:return(0,i.jsx)(sU.r,{});case sm.hA.VIMEO:return(0,i.jsx)(sZ,{});default:return null}};function sq(){let e=(0,ea._)(["\n  fragment FloorplansGalleryView on Floorplan {\n    id\n    url\n    drawingUrl\n    name\n    floor\n  }\n"]);return sq=function(){return e},e}let sV=e=>{let{floorplans:t,onViewed:n=sp()}=e,{t:r}=(0,u.$G)();if(!(null==t?void 0:t.length))return null;let o=t.map(e=>{var t;return{photo:null!==(t=e.drawingUrl)&&void 0!==t?t:e.url,caption:(0,N._Z)(e,r),subcaption:r("text.floor","Floor")}});return(0,i.jsx)(Y.ri,{images:o,onImageViewed:(e,r)=>n(t[r]),children:e=>{let{open:t}=e;return(0,i.jsx)(M.ZP,{className:"flex items-center gap-1.5",icon:(0,i.jsx)(sF.r,{}),size:"small",onClick:t,children:r("floor-plans-count","Floorplans ({{count}})",{count:o.length})})}})};(0,es.ZP)(sq());var sW={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z"}}]},name:"flag",theme:"outlined"},s$=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:sW}))},sG=l.forwardRef(s$),sK=n(17303),sY=n(27135),sX=n(52334);let sQ=()=>{let{t:e}=(0,u.$G)();return(0,i.jsx)("div",{className:"rounded bg-gray-100 p-8",children:(0,i.jsx)(lu,{size:"large",subject:e("agent:availability.locked.subject","Upgrade to show full availability"),body:e("agent:availability.locked.body","Hey Valve Team, we are interested in showing our full availability to agents. Could you tell us a bit more about suitable plans, that allow us to show our full availability."),content:e("agent:availability.locked.content","Your Spaces, Pricing and Availability is currently not visible to Agents and Brokers, to upgrade, contact our Sales Team.")})})};function sJ(){let e=(0,ea._)(["\n  fragment AvailabilityView on Office {\n    address {\n      location {\n        id\n        latitude\n        longitude\n      }\n    }\n    officeSuites {\n      ...SpaceCardView\n    }\n    operator {\n      id\n      isPayingCustomer\n    }\n    ...AnalyticsBuilding\n  }\n"]);return sJ=function(){return e},e}let s0=e=>{var t;let{building:n}=e,{t:r}=(0,u.$G)(),o=(0,f.dB)(),{me:a}=(0,f.KR)(),{onAddOfficeSuite:s,onRemoveOfficeSuite:c}=(0,W.vN)("BUILDING_MODAL"),d=(0,l.useMemo)(()=>{var e,t;return a.type!==eO.FWD.Operator||o.showShortlistControls&&(null==n?void 0:null===(e=n.operator)||void 0===e?void 0:e.id)===(null==a?void 0:null===(t=a.operator)||void 0===t?void 0:t.id)},[a,o,n]),p=(0,$.kg)(null==n?void 0:null===(t=n.address)||void 0===t?void 0:t.location),h=(0,l.useMemo)(()=>(0,N.Yk)(null==n?void 0:n.officeSuites),[null==n?void 0:n.officeSuites]),[m,g]=(0,l.useState)([]);(0,l.useEffect)(()=>{1===h.length&&S()},[h]);let v=e=>s(e,n),y=e=>c(e,n),b=e=>g(e),w=()=>g([]),S=()=>g(h.map(e=>e[0].type));return o.showLockedAvailabilityPanel(n)?(0,i.jsx)(sQ,{}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"text-right",children:[(0,i.jsx)(M.ZP,{onClick:w,type:"link",children:r("collapse-all","Collapse all")}),(0,i.jsx)(M.ZP,{onClick:S,type:"link",children:r("expand-all","Expand all")})]}),(0,i.jsx)(sY.Z,{ghost:!0,expandIconPosition:"end",expandIcon:e=>{let{isActive:t}=e;return(0,i.jsx)(K.Z,{rotate:t?0:-90,className:"text-base text-black"})},onChange:b,activeKey:m,children:h.map(e=>(0,i.jsx)(sY.Z.Panel,{header:(0,i.jsx)("div",{className:"py-2 text-base font-bold text-black",children:"".concat((0,N.NN)(r,e[0].type,!0)," (").concat(e.length,")")}),className:"after:mr-3 after:block after:border-b after:content-[''] last:after:hidden",children:e.map(e=>(0,i.jsxs)(nz,{space:e,className:"mb-4",title:(0,i.jsxs)(tb.Z,{align:"middle",gutter:8,className:"h-full",children:[(0,i.jsx)(tw.Z,{children:(0,i.jsxs)(sX.Z,{children:[(0,i.jsx)(nz.Name,{}),(0,i.jsx)(nz.Visibility,{})]})}),(0,i.jsx)(tw.Z,{className:"ml-auto text-right",children:(0,i.jsxs)(sX.Z,{size:"large",children:[(0,i.jsx)(nz.PriceTotal,{}),(0,i.jsx)(nz.Availability,{})]})})]}),footer:d?(0,i.jsxs)("div",{className:"flex items-center justify-between border-t border-gray-400 py-2",children:[p&&(0,i.jsx)(nz.UpdatedAt,{}),(0,i.jsx)("div",{className:"w-fit",children:(0,i.jsx)(nz.Shortlist,{buildingId:n.id,onAdd:v,onRemove:y})})]}):null,children:[(0,i.jsx)(tw.Z,{span:14,children:(0,i.jsx)("div",{className:"flex h-full flex-col justify-between",children:(0,i.jsxs)(sX.Z,{wrap:!0,className:"mb-2",children:[(0,i.jsx)(nz.Description,{}),(0,i.jsx)(nz.Floor,{}),(0,i.jsx)(nz.Location,{}),(0,i.jsx)(nz.Floorplans,{})]})})}),(0,i.jsx)(tw.Z,{span:10,children:(0,i.jsxs)(tb.Z,{gutter:8,children:[(0,i.jsx)(nz.Desks,{}),(0,i.jsx)(nz.Space,{}),(0,i.jsx)(nz.PriceDesks,{}),(0,i.jsx)(nz.PriceSpace,{})]})})]},e.id))},e[0].type))})]})};(0,es.ZP)(sJ());var s1=n(89653);function s2(){let e=(0,ea._)(["\n  mutation reportIssue($data: ReportIssueInput) {\n    reportIssue(data: $data) {\n      success\n    }\n  }\n"]);return s2=function(){return e},e}let s3={message:""},s4=e=>{let{officeId:t}=e,{t:n}=(0,u.$G)(),[r]=D.Z.useForm(),[o,{data:a,loading:s,called:l}]=(0,eO.I5)();async function c(e){let{message:n}=e;await o({variables:{data:{message:n,buildingId:t}}})}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:"mb-4",children:n("agent:report-form.provide-feedback","Please provide feedback regarding this building below.")}),(0,i.jsxs)(D.Z,{form:r,initialValues:s3,onFinish:c,children:[(0,i.jsx)(D.Z.Item,{name:"message",rules:[{required:!0,message:n("validation:required-field","This field is required")}],children:(0,i.jsx)(s1.default.TextArea,{placeholder:n("agent:report-form.placeholder","Ex. Building details are outdated or does not reflect the actual situation"),rows:6})}),(0,i.jsxs)(D.Z.Item,{children:[!l||s?(0,i.jsx)(M.ZP,{htmlType:"submit",type:"primary",loading:s,children:n("send","Send")}):null,l&&!s&&(null==a?void 0:a.reportIssue.success)?(0,i.jsxs)("div",{children:[(0,i.jsx)(ee.Z,{className:"mr-1 text-blue-500"}),n("agent:report-form.thank-you","Thank you for reporting. We will respond to you shortly.")]}):null,!l||s||(null==a?void 0:a.reportIssue.success)?null:(0,i.jsx)("div",{children:n("error-default","Something went wrong, please try again")})]})]})]})};(0,es.ZP)(s2()),function(e){e.OVERVIEW="Overview",e.AVAILABILITY="Availability",e.REPORT="ReportIssue"}(f_||(f_={}));let s5=e=>{var t;let{officeId:n,onError:r}=e,{t:o}=(0,u.$G)(),{spaceFilters:a}=(0,$.aN)(),{showShortlistControls:s,showAvailabilityTab:c,checkIfCanAccessCommission:d}=(0,f.dB)(),{data:p,error:h,loading:m}=(0,eO.thO)({variables:{where:{id:Number(n)},suiteWhere:a},skip:!n,errorPolicy:"all"}),[g,v]=(0,l.useState)("Overview"),y=null==p?void 0:p.office;h&&(null==r||r(h)),(0,W.G_)(y,"BUILDING_MODAL");let{onAddBuilding:b,onRemoveBuilding:w}=(0,W.vN)("BUILDING_MODAL"),{brochureDownloaded:S,tabViewed:x,mediaContentViewed:C,mediaContentDownloaded:_}=(0,W.cA)(y,"BUILDING_MODAL"),k=()=>b(y),O=()=>w(y),A=e=>{v(e),null==x||x(e)},I=d(null==y?void 0:null===(t=y.operator)||void 0===t?void 0:t.id),P=(0,i.jsx)(M.ZP,{className:E()("text-black hover:text-blue-500",{"text-blue-600 hover:text-blue-600":"ReportIssue"===g}),type:"link",onClick:()=>v("ReportIssue"),icon:(0,i.jsx)(sG,{}),children:(0,i.jsx)("span",{className:"hidden sm:inline-block",children:o("text.report-content","Report content issue")})});return h?(0,i.jsx)("div",{className:"p-40 text-center text-black",children:o("error-default","Something went wrong, please try again")}):(0,i.jsx)("div",{children:(0,i.jsxs)(t6,{building:y,loading:m,gallery:(0,i.jsx)(t6.Gallery,{onMediaDownload:_,onMediaView:C}),side:(0,i.jsxs)("div",{className:"sticky top-4",children:[(0,i.jsx)(t6.Promotion,{}),(0,i.jsxs)("div",{className:"mb-4 flex flex-col gap-4 rounded p-4 shadow",children:[(0,i.jsx)(t6.Address,{}),(0,i.jsx)(t6.Cost,{}),(0,i.jsx)(t6.Website,{}),s&&(0,i.jsx)(t6.Shortlist,{onAdd:k,onRemove:O})]}),I&&(0,i.jsx)("div",{className:"mb-4 rounded p-4 shadow",children:(0,i.jsx)(t6.Commission,{})}),(0,i.jsx)(t6.Brochures,{onBrochureDownload:S})]}),children:[(0,i.jsx)(t6.Name,{}),(0,i.jsx)(sK.Z,{activeKey:g,onChange:A,tabBarExtraContent:P,items:[{key:"Overview",label:o("text.overview","Overview"),children:(0,i.jsx)(t6.Overview,{onClickOnAvailability:()=>A("Availability")})},...c(y)?[{key:"Availability",label:o("text.availability","Availability"),children:(0,i.jsx)(s0,{building:y})}]:[],{key:"ReportIssue",label:"",children:(0,i.jsx)(s4,{officeId:n})}]})]})})},s6=e=>{let{children:t,className:n}=e;return(0,i.jsx)("div",{className:E()(n,"mb-2 text-xs text-gray-400"),children:t})},s8=e=>{let{list:t,title:n,getKey:r,getHeader:o,children:a}=e,{t:s}=(0,u.$G)(),[c,d]=(0,l.useState)([]);(0,l.useEffect)(()=>{1===t.length&&h()},[t]);let f=e=>d(e),p=()=>d([]),h=()=>d(t.map(r));return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"mb-4 flex flex-row items-center justify-between",children:[n,(0,i.jsxs)("div",{children:[(0,i.jsx)(M.ZP,{onClick:p,type:"link",children:s("collapse-all","Collapse all")}),(0,i.jsx)(M.ZP,{onClick:h,type:"link",children:s("expand-all","Expand all")})]})]}),(0,i.jsx)(sY.Z,{ghost:!0,expandIconPosition:"end",expandIcon:e=>{let{isActive:t}=e;return(0,i.jsx)(K.Z,{rotate:t?0:-90,className:"text-base text-black"})},onChange:f,activeKey:c,children:t.map(e=>(0,i.jsx)(sY.Z.Panel,{header:o(e),className:"after:mr-3 after:block after:border-b after:content-[''] last:after:hidden",children:a(e)},r(e)))})]})},s7=e=>{let{testId:t,onClick:n,subject:r,body:o}=e,{t:a}=(0,u.$G)(),s=()=>{let e="mailto:".concat(k.O.NEXT_PUBLIC_PRODUCT_SALES_EMAIL,"?subject=").concat(encodeURIComponent(r));return o?e+"&body=".concat(encodeURIComponent(o)):e};return(0,i.jsx)(t3(),{href:s(),children:(0,i.jsx)(M.ZP,{onClick:n,type:"primary","data-testid":t,children:a("agent:subscription.contact-sales","Contact sales")})})};var s9=n(86724),le=n.n(s9),lt=n(65578),ln=function(e){void 0===e&&(e={});var t=(0,l.useState)(e),n=t[0],r=t[1];return[n,(0,l.useCallback)(function(e){r(function(t){return Object.assign({},t,e instanceof Function?e(t):e)})},[])]},lr=function(){var e=(0,lt.Z)(),t=ln({value:void 0,error:void 0,noUserInteraction:!0}),n=t[0],r=t[1];return[n,(0,l.useCallback)(function(t){if(e())try{if("string"!=typeof t&&"number"!=typeof t){var n,o,i=Error("Cannot copy typeof "+typeof t+" to clipboard, must be a string");r({value:t,error:i,noUserInteraction:!0});return}if(""===t){var i=Error("Cannot copy empty string to clipboard.");r({value:t,error:i,noUserInteraction:!0});return}o=t.toString(),n=le()(o),r({value:o,error:void 0,noUserInteraction:n})}catch(e){r({value:o,error:e,noUserInteraction:n})}},[])]},lo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},li=function(e,t){return l.createElement(tR.Z,(0,tP.Z)({},e,{ref:t,icon:lo}))},la=l.forwardRef(li),ls=n(43229);let ll=e=>{let{url:t,onCopied:n}=e,{t:r}=(0,u.$G)(),[,o]=lr(),a=()=>{o(t),n(),ls.ZP.success({content:r("url-copied","URL copied to clipboard")})};return(0,i.jsx)(M.ZP,{type:"link",icon:(0,i.jsx)(la,{}),onClick:a,className:"px-0",children:r("copy-link","Copy link")})};var lc=n(54600);let lu=e=>{let{subject:t,content:n,body:r,size:o="default"}=e,{t:a}=(0,u.$G)(),s="large"===o;return(0,i.jsxs)("div",{className:E()("flex flex-col items-center gap-3",{"text-center":s}),children:[(0,i.jsxs)("div",{className:E()("flex items-center gap-1",{"flex-col":s}),children:[(0,i.jsx)(lc.Z,{className:E()({"text-2xl":s})}),(0,i.jsx)("span",{className:E()({"text-base font-semibold":s}),children:a("text.this-is-paid-feature","This is a paid feature")})]}),n,(0,i.jsx)(s7,{subject:t,body:r})]})};var ld=n(44871);let lf=e=>{let{name:t,avatarUrl:n,caption:r,size:o="default"}=e;return(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(tt.C,{icon:(0,i.jsx)(ld.Z,{}),src:n,alt:t,size:o}),(0,i.jsxs)("div",{className:"min-w-0",children:[(0,i.jsx)(w.Z.Paragraph,{className:"mb-0",ellipsis:!0,children:t}),r&&(0,i.jsx)(w.Z.Paragraph,{className:"mb-0 text-xs",type:"secondary",ellipsis:!0,children:r})]})]})};var lp=n(49626),lh=n.n(lp),lm=n(94718);let lg=()=>{let{isAccepted:e}=(0,_.Yd)();return["production","stage"].includes(k.O.NEXT_PUBLIC_ENVIRONMENT)&&e?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(lh(),{src:"https://www.googletagmanager.com/gtag/js?id=".concat(lm.vt)}),(0,i.jsx)(lh(),{dangerouslySetInnerHTML:{__html:"\n        window.dataLayer = window.dataLayer || [];\n        function gtag(){dataLayer.push(arguments);}\n        gtag('js', new Date());\n        gtag('config', '".concat(lm.vt,"');\n      ")},id:"script-tracking"})]}):null},lv=e=>{let{t}=(0,u.$G)(),{me:n}=(0,f.KR)(),r=t("text.title","Title"),o=(0,eb.Pr)(null==n?void 0:n.type,t).title;return(0,i.jsx)(D.Z.Item,{...e,label:r,rules:[(0,eb.YW)(r,50,t,{html:!1})],children:(0,i.jsx)(s1.default,{placeholder:o})})},ly=e=>{let{t}=(0,u.$G)(),{me:n}=(0,f.KR)(),r=t("text.message","Message"),o=(0,eb.Pr)(null==n?void 0:n.type,t).message;return(0,i.jsx)(D.Z.Item,{...e,label:r,rules:[(0,eb.YW)(r,500,t,{html:!1})],children:(0,i.jsx)(s1.default.TextArea,{size:"large",placeholder:o,autoSize:{minRows:6}})})},lb=e=>{let{company:t,className:n,size:r="default"}=e;return(0,i.jsxs)("div",{className:E()(n,"flex items-center gap-2"),children:[(0,i.jsx)(tt.C,{src:(0,N.mi)(t.logo),size:r,className:"flex-shrink-0"}),(0,i.jsx)("div",{className:"overflow-x-hidden",children:(0,i.jsx)("div",{className:"truncate text-xs",children:t.name})})]})};var lw=n(72665);let lS=e=>{let{testId:t,subject:n,body:r}=e,{onUpgradePlanContactClicked:o}=(0,W.gm)();return(0,i.jsx)(s7,{testId:t,subject:n,body:r,onClick:o})},lx=e=>{let{children:t}=e;return(0,i.jsx)("p",{className:"text-sm",children:t})};var lE=n(36569),lC=n.n(lE);let l_=e=>{let{images:t}=e;return(0,i.jsx)("div",{className:E()(lC().promoCarousel,"h-[560px] w-[580px] bg-zinc-300"),children:(0,i.jsx)(sd.Z,{autoplay:!0,autoplaySpeed:5e3,rootClassName:"h-full w-full bg-zinc-300",children:null==t?void 0:t.map((e,t)=>(0,i.jsx)(Y.Ee,{src:e,alt:"Image ".concat(t+1),width:550,height:460,className:"object-cover",imgixParams:{q:100}},e))})})};var lk=n(65529);let lO=e=>{let{items:t}=e;return(0,i.jsx)(i.Fragment,{children:t.map((e,n)=>(0,i.jsxs)("div",{className:E()("flex items-center gap-2",{"mb-3":n!==t.length-1}),children:[(0,i.jsx)(lk.Z,{className:"text-xl text-blue-500"}),(0,i.jsx)("p",{className:"text-sm",children:e.header?(0,i.jsxs)("span",{children:[(0,i.jsx)("strong",{className:"font-bold",children:e.header}),e.description&&" - ".concat(e.description)]}):e.description})]},n))})},lA=e=>{let{children:t}=e;return(0,i.jsx)(w.Z.Title,{level:5,className:"mb-2 font-bold",children:t})};var lI=n(41881);let lP=e=>{let{testId:t}=e,{t:n}=(0,u.$G)(),{onUpgradePlanContactClicked:r}=(0,lI.g)();return(0,i.jsx)(t3(),{href:"/account/company/subscription",children:(0,i.jsx)(M.ZP,{type:"primary",onClick:r,"data-testid":t,children:n("agent:upgrade-promo.upgrade-now","Upgrade now")})})},lT=e=>{let{isBeta:t,testId:n,title:r,description:o,listHeader:a,listItems:s,button:l,images:c}=e,{t:d}=(0,u.$G)();return(0,i.jsxs)("div",{className:"box-shadow mx-auto my-28 flex w-[900px] flex-row shadow-lg","data-testid":n,children:[(0,i.jsxs)("div",{className:"relative flex w-[320px] flex-col justify-center bg-white p-8",children:[(0,i.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,i.jsx)(lT.Title,{children:r}),t&&(0,i.jsx)(lw.Z,{color:"success",children:"Beta"})]}),o&&(0,i.jsx)(lT.Description,{children:o}),a&&(0,i.jsx)("div",{className:"mb-4 mt-8",children:(0,i.jsx)(lT.Description,{children:a})}),(0,i.jsx)("div",{className:"mb-16",children:(0,i.jsx)(lT.List,{items:s})}),(0,i.jsx)("div",{className:"absolute bottom-8 right-8 pl-8",children:"upgrade"===l.variant?(0,i.jsx)(lT.Upgrade,{testId:l.testId}):(0,i.jsxs)("div",{className:"flex flex-col items-end gap-2",children:[t&&d("text.interested-in-beta-testing","Are you interested in testing our beta version? Please get in touch"),(0,i.jsx)(lT.ContactSales,{testId:l.testId,subject:l.contactMail.subject,body:l.contactMail.body})]})})]}),(0,i.jsx)(lT.ImageCarousel,{images:c})]})};lT.Title=lA,lT.Description=lx,lT.List=lO,lT.Upgrade=lP,lT.ContactSales=lS,lT.ImageCarousel=l_;var lR=n(32990),lM=n(40916),lN=n.n(lM),lj=n(76152);function lD(){let e=(0,ea._)(["\n  fragment KeyDateView on KeyDate {\n    id\n    date\n    format\n    type\n    description\n  }\n"]);return lD=function(){return e},e}let lL=e=>{let{keyDates:t,extra:n}=e,{t:r}=(0,u.$G)(),o=lN()(t,e=>new Date(e.date).getTime(),"desc");return(0,i.jsx)(lR.Z,{mode:"left",items:o.map((e,t)=>({key:e.type+t,label:lj.B.utc(e.date).format((0,N.W3)(e.format)[1]),children:(0,i.jsxs)("div",{className:"flex gap-2",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"whitespace-nowrap font-bold",children:(0,N.Sb)(r,e.type)}),(0,i.jsx)("div",{children:e.description})]}),null==n?void 0:n(e)]})}))})};(0,es.ZP)(lD());let lB=()=>{var e;let{me:t}=(0,f.KR)(),n=(0,N.c1)(null==t?void 0:null===(e=t.agent)||void 0===e?void 0:e.branding);return(0,i.jsx)(t3(),{href:"/",children:(0,i.jsx)(Y.Ee,{src:n,width:104,height:40,imgixParams:{auto:"compress",fit:"fill",fill:"solid",h:40,w:104,dpr:1}})})};var lZ=n(70524),lF=n(40153),lz=n(27820),lU=n(33581),lH=n(52986),lq=n(92486),lV=n(4062),lW=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function l$(e){return"string"==typeof e}var lG=function(e){var t,n=e.className,r=e.prefixCls,o=e.style,i=e.active,a=e.status,s=e.iconPrefix,c=e.icon,u=(e.wrapperStyle,e.stepNumber),d=e.disabled,f=e.description,p=e.title,h=e.subTitle,m=e.progressDot,g=e.stepIcon,v=e.tailContent,y=e.icons,b=e.stepIndex,w=e.onStepClick,S=e.onClick,x=e.render,C=(0,lq.Z)(e,lW),_={};w&&!d&&(_.role="button",_.tabIndex=0,_.onClick=function(e){null==S||S(e),w(b)},_.onKeyDown=function(e){var t=e.which;(t===lV.Z.ENTER||t===lV.Z.SPACE)&&w(b)});var k=function(){var e,t,n=E()("".concat(r,"-icon"),"".concat(s,"icon"),(e={},(0,lH.Z)(e,"".concat(s,"icon-").concat(c),c&&l$(c)),(0,lH.Z)(e,"".concat(s,"icon-check"),!c&&"finish"===a&&(y&&!y.finish||!y)),(0,lH.Z)(e,"".concat(s,"icon-cross"),!c&&"error"===a&&(y&&!y.error||!y)),e)),o=l.createElement("span",{className:"".concat(r,"-icon-dot")});return t=m?"function"==typeof m?l.createElement("span",{className:"".concat(r,"-icon")},m(o,{index:u-1,status:a,title:p,description:f})):l.createElement("span",{className:"".concat(r,"-icon")},o):c&&!l$(c)?l.createElement("span",{className:"".concat(r,"-icon")},c):y&&y.finish&&"finish"===a?l.createElement("span",{className:"".concat(r,"-icon")},y.finish):y&&y.error&&"error"===a?l.createElement("span",{className:"".concat(r,"-icon")},y.error):c||"finish"===a||"error"===a?l.createElement("span",{className:n}):l.createElement("span",{className:"".concat(r,"-icon")},u),g&&(t=g({index:u-1,status:a,title:p,description:f,node:t})),t},O=a||"wait",A=E()("".concat(r,"-item"),"".concat(r,"-item-").concat(O),n,(t={},(0,lH.Z)(t,"".concat(r,"-item-custom"),c),(0,lH.Z)(t,"".concat(r,"-item-active"),i),(0,lH.Z)(t,"".concat(r,"-item-disabled"),!0===d),t)),I=(0,lU.Z)({},o),P=l.createElement("div",(0,lz.Z)({},C,{className:A,style:I}),l.createElement("div",(0,lz.Z)({onClick:S},_,{className:"".concat(r,"-item-container")}),l.createElement("div",{className:"".concat(r,"-item-tail")},v),l.createElement("div",{className:"".concat(r,"-item-icon")},k()),l.createElement("div",{className:"".concat(r,"-item-content")},l.createElement("div",{className:"".concat(r,"-item-title")},p,h&&l.createElement("div",{title:"string"==typeof h?h:void 0,className:"".concat(r,"-item-subtitle")},h)),f&&l.createElement("div",{className:"".concat(r,"-item-description")},f))));return x&&(P=x(P)||null),P},lK=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function lY(e){var t,n=e.prefixCls,r=void 0===n?"rc-steps":n,o=e.style,i=void 0===o?{}:o,a=e.className,s=(e.children,e.direction),c=void 0===s?"horizontal":s,u=e.type,d=void 0===u?"default":u,f=e.labelPlacement,p=void 0===f?"horizontal":f,h=e.iconPrefix,m=void 0===h?"rc":h,g=e.status,v=void 0===g?"process":g,y=e.size,b=e.current,w=void 0===b?0:b,S=e.progressDot,x=void 0!==S&&S,C=e.stepIcon,_=e.initial,k=void 0===_?0:_,O=e.icons,A=e.onChange,I=e.itemRender,P=e.items,T=void 0===P?[]:P,R=(0,lq.Z)(e,lK),M="navigation"===d,N="inline"===d,j=N||x,D=N?"horizontal":c,L=N?void 0:y,B=j?"vertical":p,Z=E()(r,"".concat(r,"-").concat(D),a,(t={},(0,lH.Z)(t,"".concat(r,"-").concat(L),L),(0,lH.Z)(t,"".concat(r,"-label-").concat(B),"horizontal"===D),(0,lH.Z)(t,"".concat(r,"-dot"),!!j),(0,lH.Z)(t,"".concat(r,"-navigation"),M),(0,lH.Z)(t,"".concat(r,"-inline"),N),t)),F=function(e){A&&w!==e&&A(e)},z=function(e,t){var n=(0,lU.Z)({},e),o=k+t;return"error"===v&&t===w-1&&(n.className="".concat(r,"-next-error")),n.status||(o===w?n.status=v:o<w?n.status="finish":n.status="wait"),N&&(n.icon=void 0,n.subTitle=void 0),!n.render&&I&&(n.render=function(e){return I(n,e)}),l.createElement(lG,(0,lz.Z)({},n,{active:o===w,stepNumber:o+1,stepIndex:o,key:o,prefixCls:r,iconPrefix:m,wrapperStyle:i,progressDot:j,stepIcon:C,icons:O,onStepClick:A&&F}))};return l.createElement("div",(0,lz.Z)({className:Z,style:i},R),T.filter(function(e){return e}).map(z))}lY.Step=lG;var lX=lY,lQ=n(25431),lJ=n(3690),l0=n(46212),l1=n(9722),l2=n(82698),l3=n(61885),l4=n(2916),l5=n(39564),l6=e=>{let{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:o}=e;return{["".concat(t,"-item-custom")]:{["> ".concat(t,"-item-container > ").concat(t,"-item-icon")]:{height:"auto",background:"none",border:0,["> ".concat(t,"-icon")]:{top:n,width:r,height:r,fontSize:o,lineHeight:"".concat((0,l2.bf)(r))}}},["&:not(".concat(t,"-vertical)")]:{["".concat(t,"-item-custom")]:{["".concat(t,"-item-icon")]:{width:"auto",background:"none"}}}}},l8=e=>{let{componentCls:t}=e,n="".concat(t,"-item");return{["".concat(t,"-horizontal")]:{["".concat(n,"-tail")]:{transform:"translateY(-50%)"}}}},l7=e=>{let{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:o}=e,i=e.calc(e.paddingXS).add(e.lineWidth).equal(),a={["".concat(t,"-item-container ").concat(t,"-item-content ").concat(t,"-item-title")]:{color:r}};return{["&".concat(t,"-inline")]:{width:"auto",display:"inline-flex",["".concat(t,"-item")]:{flex:"none","&-container":{padding:"".concat((0,l2.bf)(i)," ").concat((0,l2.bf)(e.paddingXXS)," 0"),margin:"0 ".concat((0,l2.bf)(e.calc(e.marginXXS).div(2).equal())),borderRadius:e.borderRadiusSM,cursor:"pointer",transition:"background-color ".concat(e.motionDurationMid),"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:"calc(50% - ".concat((0,l2.bf)(e.calc(n).div(2).equal()),")"),["> ".concat(t,"-icon")]:{top:0},["".concat(t,"-icon-dot")]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(i).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},["&:first-child ".concat(t,"-item-tail")]:{width:"50%",marginInlineStart:"50%"},["&:last-child ".concat(t,"-item-tail")]:{display:"block",width:"50%"},"&-wait":Object.assign({["".concat(t,"-item-icon ").concat(t,"-icon ").concat(t,"-icon-dot")]:{backgroundColor:e.colorBorderBg,border:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(o)}},a),"&-finish":Object.assign({["".concat(t,"-item-tail::after")]:{backgroundColor:o},["".concat(t,"-item-icon ").concat(t,"-icon ").concat(t,"-icon-dot")]:{backgroundColor:o,border:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(o)}},a),"&-error":a,"&-active, &-process":Object.assign({["".concat(t,"-item-icon")]:{width:n,height:n,marginInlineStart:"calc(50% - ".concat((0,l2.bf)(e.calc(n).div(2).equal()),")"),top:0}},a),["&:not(".concat(t,"-item-active) > ").concat(t,"-item-container[role='button']:hover")]:{["".concat(t,"-item-title")]:{color:r}}}}}},l9=e=>{let{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:o}=e;return{["&".concat(t,"-label-vertical")]:{["".concat(t,"-item")]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:"0 ".concat((0,l2.bf)(e.paddingLG))},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},["&".concat(t,"-small:not(").concat(t,"-dot)")]:{["".concat(t,"-item")]:{"&-icon":{marginInlineStart:e.calc(n).sub(o).div(2).add(e.controlHeightLG).equal()}}}}}},ce=e=>{let{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:o,motionDurationSlow:i}=e;return{["&".concat(t,"-navigation")]:{paddingTop:e.paddingSM,["&".concat(t,"-small")]:{["".concat(t,"-item")]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},["".concat(t,"-item")]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:"opacity ".concat(i),["".concat(t,"-item-content")]:{maxWidth:n},["".concat(t,"-item-title")]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},l3.vS),{"&::after":{display:"none"}})},["&:not(".concat(t,"-item-active)")]:{["".concat(t,"-item-container[role='button']")]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:"calc(50% - ".concat((0,l2.bf)(e.calc(e.paddingSM).div(2).equal()),")"),insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(r),borderBottom:"none",borderInlineStart:"none",borderInlineEnd:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(r),transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:o,transition:"width ".concat(i,", inset-inline-start ").concat(i),transitionTimingFunction:"ease-out",content:'""'}},["".concat(t,"-item").concat(t,"-item-active::before")]:{insetInlineStart:0,width:"100%"}},["&".concat(t,"-navigation").concat(t,"-vertical")]:{["> ".concat(t,"-item")]:{marginInlineEnd:0,"&::before":{display:"none"},["&".concat(t,"-item-active::before")]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:"calc(100% - ".concat((0,l2.bf)(e.marginLG),")")},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},["> ".concat(t,"-item-container > ").concat(t,"-item-tail")]:{visibility:"hidden"}}},["&".concat(t,"-navigation").concat(t,"-horizontal")]:{["> ".concat(t,"-item > ").concat(t,"-item-container > ").concat(t,"-item-tail")]:{visibility:"hidden"}}}},ct=e=>{let{antCls:t,componentCls:n,iconSize:r,iconSizeSM:o,processIconColor:i,marginXXS:a,lineWidthBold:s,lineWidth:l,paddingXXS:c}=e,u=e.calc(r).add(e.calc(s).mul(4).equal()).equal(),d=e.calc(o).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{["&".concat(n,"-with-progress")]:{["".concat(n,"-item")]:{paddingTop:c,["&-process ".concat(n,"-item-container ").concat(n,"-item-icon ").concat(n,"-icon")]:{color:i}},["&".concat(n,"-vertical > ").concat(n,"-item ")]:{paddingInlineStart:c,["> ".concat(n,"-item-container > ").concat(n,"-item-tail")]:{top:a,insetInlineStart:e.calc(r).div(2).sub(l).add(c).equal()}},["&, &".concat(n,"-small")]:{["&".concat(n,"-horizontal ").concat(n,"-item:first-child")]:{paddingBottom:c,paddingInlineStart:c}},["&".concat(n,"-small").concat(n,"-vertical > ").concat(n,"-item > ").concat(n,"-item-container > ").concat(n,"-item-tail")]:{insetInlineStart:e.calc(o).div(2).sub(l).add(c).equal()},["&".concat(n,"-label-vertical ").concat(n,"-item ").concat(n,"-item-tail")]:{top:e.calc(r).div(2).add(c).equal()},["".concat(n,"-item-icon")]:{position:"relative",["".concat(t,"-progress")]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:"".concat((0,l2.bf)(u)," !important"),height:"".concat((0,l2.bf)(u)," !important")}}},["&".concat(n,"-small")]:{["&".concat(n,"-label-vertical ").concat(n,"-item ").concat(n,"-item-tail")]:{top:e.calc(o).div(2).add(c).equal()},["".concat(n,"-item-icon ").concat(t,"-progress-inner")]:{width:"".concat((0,l2.bf)(d)," !important"),height:"".concat((0,l2.bf)(d)," !important")}}}}},cn=e=>{let{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:o,dotSize:i,motionDurationSlow:a}=e;return{["&".concat(t,"-dot, &").concat(t,"-dot").concat(t,"-small")]:{["".concat(t,"-item")]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:"".concat((0,l2.bf)(e.calc(n).div(2).equal())," 0"),padding:0,"&::after":{width:"calc(100% - ".concat((0,l2.bf)(e.calc(e.marginSM).mul(2).equal()),")"),height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal(),paddingInlineEnd:0,lineHeight:"".concat((0,l2.bf)(i)),background:"transparent",border:0,["".concat(t,"-icon-dot")]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:"all ".concat(a),"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(i).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},["&-process ".concat(t,"-item-icon")]:{position:"relative",top:e.calc(i).sub(o).div(2).equal(),width:o,height:o,lineHeight:"".concat((0,l2.bf)(o)),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal()},["&-process ".concat(t,"-icon")]:{["&:first-child ".concat(t,"-icon-dot")]:{insetInlineStart:0}}}},["&".concat(t,"-vertical").concat(t,"-dot")]:{["".concat(t,"-item-icon")]:{marginTop:e.calc(e.controlHeight).sub(i).div(2).equal(),marginInlineStart:0,background:"none"},["".concat(t,"-item-process ").concat(t,"-item-icon")]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:e.calc(i).sub(o).div(2).equal(),marginInlineStart:0},["".concat(t,"-item > ").concat(t,"-item-container > ").concat(t,"-item-tail")]:{top:e.calc(e.controlHeight).sub(i).div(2).equal(),insetInlineStart:0,margin:0,padding:"".concat((0,l2.bf)(e.calc(i).add(e.paddingXS).equal())," 0 ").concat((0,l2.bf)(e.paddingXS)),"&::after":{marginInlineStart:e.calc(i).sub(e.lineWidth).div(2).equal()}},["&".concat(t,"-small")]:{["".concat(t,"-item-icon")]:{marginTop:e.calc(e.controlHeightSM).sub(i).div(2).equal()},["".concat(t,"-item-process ").concat(t,"-item-icon")]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},["".concat(t,"-item > ").concat(t,"-item-container > ").concat(t,"-item-tail")]:{top:e.calc(e.controlHeightSM).sub(i).div(2).equal()}},["".concat(t,"-item:first-child ").concat(t,"-icon-dot")]:{insetInlineStart:0},["".concat(t,"-item-content")]:{width:"inherit"}}}},cr=e=>{let{componentCls:t}=e;return{["&".concat(t,"-rtl")]:{direction:"rtl",["".concat(t,"-item")]:{"&-subtitle":{float:"left"}},["&".concat(t,"-navigation")]:{["".concat(t,"-item::after")]:{transform:"rotate(-45deg)"}},["&".concat(t,"-vertical")]:{["> ".concat(t,"-item")]:{"&::after":{transform:"rotate(225deg)"},["".concat(t,"-item-icon")]:{float:"right"}}},["&".concat(t,"-dot")]:{["".concat(t,"-item-icon ").concat(t,"-icon-dot, &").concat(t,"-small ").concat(t,"-item-icon ").concat(t,"-icon-dot")]:{float:"right"}}}}},co=e=>{let{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:o,colorTextDescription:i}=e;return{["&".concat(t,"-small")]:{["&".concat(t,"-horizontal:not(").concat(t,"-label-vertical) ").concat(t,"-item")]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},["".concat(t,"-item-icon")]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:"0 ".concat((0,l2.bf)(e.marginXS)),fontSize:r,lineHeight:"".concat((0,l2.bf)(n)),textAlign:"center",borderRadius:n},["".concat(t,"-item-title")]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:"".concat((0,l2.bf)(n)),"&::after":{top:e.calc(n).div(2).equal()}},["".concat(t,"-item-description")]:{color:i,fontSize:o},["".concat(t,"-item-tail")]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},["".concat(t,"-item-custom ").concat(t,"-item-icon")]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,["> ".concat(t,"-icon")]:{fontSize:n,lineHeight:"".concat((0,l2.bf)(n)),transform:"none"}}}}},ci=e=>{let{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{["&".concat(t,"-vertical")]:{display:"flex",flexDirection:"column",["> ".concat(t,"-item")]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",["".concat(t,"-item-icon")]:{float:"left",marginInlineEnd:e.margin},["".concat(t,"-item-content")]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},["".concat(t,"-item-title")]:{lineHeight:"".concat((0,l2.bf)(r))},["".concat(t,"-item-description")]:{paddingBottom:e.paddingSM}},["> ".concat(t,"-item > ").concat(t,"-item-container > ").concat(t,"-item-tail")]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:"".concat((0,l2.bf)(e.calc(e.marginXXS).mul(1.5).add(r).equal())," 0 ").concat((0,l2.bf)(e.calc(e.marginXXS).mul(1.5).equal())),"&::after":{width:e.lineWidth,height:"100%"}},["> ".concat(t,"-item:not(:last-child) > ").concat(t,"-item-container > ").concat(t,"-item-tail")]:{display:"block"},[" > ".concat(t,"-item > ").concat(t,"-item-container > ").concat(t,"-item-content > ").concat(t,"-item-title")]:{"&::after":{display:"none"}},["&".concat(t,"-small ").concat(t,"-item-container")]:{["".concat(t,"-item-tail")]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:"".concat((0,l2.bf)(e.calc(e.marginXXS).mul(1.5).add(n).equal())," 0 ").concat((0,l2.bf)(e.calc(e.marginXXS).mul(1.5).equal()))},["".concat(t,"-item-title")]:{lineHeight:"".concat((0,l2.bf)(n))}}}}};let ca="wait",cs="process",cl="finish",cc="error",cu=(e,t)=>{let n="".concat(t.componentCls,"-item"),r="".concat(e,"IconColor"),o="".concat(e,"TitleColor"),i="".concat(e,"DescriptionColor"),a="".concat(e,"TailColor"),s="".concat(e,"IconBgColor"),l="".concat(e,"IconBorderColor"),c="".concat(e,"DotColor");return{["".concat(n,"-").concat(e," ").concat(n,"-icon")]:{backgroundColor:t[s],borderColor:t[l],["> ".concat(t.componentCls,"-icon")]:{color:t[r],["".concat(t.componentCls,"-icon-dot")]:{background:t[c]}}},["".concat(n,"-").concat(e).concat(n,"-custom ").concat(n,"-icon")]:{["> ".concat(t.componentCls,"-icon")]:{color:t[c]}},["".concat(n,"-").concat(e," > ").concat(n,"-container > ").concat(n,"-content > ").concat(n,"-title")]:{color:t[o],"&::after":{backgroundColor:t[a]}},["".concat(n,"-").concat(e," > ").concat(n,"-container > ").concat(n,"-content > ").concat(n,"-description")]:{color:t[i]},["".concat(n,"-").concat(e," > ").concat(n,"-container > ").concat(n,"-tail::after")]:{backgroundColor:t[a]}}},cd=e=>{let{componentCls:t,motionDurationSlow:n}=e,r="".concat(t,"-item"),o="".concat(r,"-icon");return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",["> ".concat(r,"-container > ").concat(r,"-tail, > ").concat(r,"-container >  ").concat(r,"-content > ").concat(r,"-title::after")]:{display:"none"}}},["".concat(r,"-container")]:{outline:"none","&:focus-visible":{[o]:Object.assign({},(0,l3.oN)(e))}},["".concat(o,", ").concat(r,"-content")]:{display:"inline-block",verticalAlign:"top"},[o]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:"".concat((0,l2.bf)(e.iconSize)),textAlign:"center",borderRadius:e.iconSize,border:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," transparent"),transition:"background-color ".concat(n,", border-color ").concat(n),["".concat(t,"-icon")]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},["".concat(r,"-tail")]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:"background ".concat(n),content:'""'}},["".concat(r,"-title")]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:"".concat((0,l2.bf)(e.titleLineHeight)),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},["".concat(r,"-subtitle")]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},["".concat(r,"-description")]:{color:e.colorTextDescription,fontSize:e.fontSize}},cu(ca,e)),cu(cs,e)),{["".concat(r,"-process > ").concat(r,"-container > ").concat(r,"-title")]:{fontWeight:e.fontWeightStrong}}),cu(cl,e)),cu(cc,e)),{["".concat(r).concat(t,"-next-error > ").concat(t,"-item-title::after")]:{background:e.colorError},["".concat(r,"-disabled")]:{cursor:"not-allowed"}})},cf=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{["& ".concat(t,"-item")]:{["&:not(".concat(t,"-item-active)")]:{["& > ".concat(t,"-item-container[role='button']")]:{cursor:"pointer",["".concat(t,"-item")]:{["&-title, &-subtitle, &-description, &-icon ".concat(t,"-icon")]:{transition:"color ".concat(n)}},"&:hover":{["".concat(t,"-item")]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},["&:not(".concat(t,"-item-process)")]:{["& > ".concat(t,"-item-container[role='button']:hover")]:{["".concat(t,"-item")]:{"&-icon":{borderColor:e.colorPrimary,["".concat(t,"-icon")]:{color:e.colorPrimary}}}}}}},["&".concat(t,"-horizontal:not(").concat(t,"-label-vertical)")]:{["".concat(t,"-item")]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},["&:last-child ".concat(t,"-item-title")]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},cp=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,l3.Wf)(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),cd(e)),cf(e)),l6(e)),co(e)),ci(e)),l8(e)),l9(e)),cn(e)),ce(e)),cr(e)),ct(e)),l7(e))}},ch=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive});var cm=(0,l4.I$)("Steps",e=>{let{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:o,colorPrimary:i,colorTextDescription:a,colorTextQuaternary:s,colorError:l,colorBorderSecondary:c,colorSplit:u}=e;return[cp((0,l5.IX)(e,{processIconColor:r,processTitleColor:o,processDescriptionColor:o,processIconBgColor:i,processIconBorderColor:i,processDotColor:i,processTailColor:u,waitTitleColor:a,waitDescriptionColor:a,waitTailColor:u,waitDotColor:t,finishIconColor:i,finishTitleColor:o,finishDescriptionColor:a,finishTailColor:i,finishDotColor:i,errorIconColor:r,errorTitleColor:l,errorDescriptionColor:l,errorTailColor:u,errorIconBgColor:l,errorIconBorderColor:l,errorDotColor:l,stepsNavActiveColor:i,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:c}))]},ch),cg=n(2196);function cv(e){return e.filter(e=>e)}function cy(e,t){return e||cv((0,cg.Z)(t).map(e=>{if(l.isValidElement(e)){let{props:t}=e;return Object.assign({},t)}return null}))}var cb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let cw=e=>{let{percent:t,size:n,className:r,rootClassName:o,direction:i,items:a,responsive:s=!0,current:c=0,children:u,style:d}=e,f=cb(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:p}=(0,l0.Z)(s),{getPrefixCls:h,direction:m,steps:g}=l.useContext(lQ.E_),v=l.useMemo(()=>s&&p?"vertical":i,[p,i]),y=(0,lJ.Z)(n),b=h("steps",e.prefixCls),[w,x,C]=cm(b),_="inline"===e.type,k=h("",e.iconPrefix),O=cy(a,u),A=_?void 0:t,I=Object.assign(Object.assign({},null==g?void 0:g.style),d),P=E()(null==g?void 0:g.className,{["".concat(b,"-rtl")]:"rtl"===m,["".concat(b,"-with-progress")]:void 0!==A},r,o,x,C),T={finish:l.createElement(lZ.Z,{className:"".concat(b,"-finish-icon")}),error:l.createElement(lF.Z,{className:"".concat(b,"-error-icon")})},R=e=>{let{node:t,status:n}=e;if("process"===n&&void 0!==A){let e="small"===y?32:40;return l.createElement("div",{className:"".concat(b,"-progress-icon")},l.createElement(l1.Z,{type:"circle",percent:A,size:e,strokeWidth:4,format:()=>null}),t)}return t},M=(e,t)=>e.description?l.createElement(S.Z,{title:e.description},t):t;return w(l.createElement(lX,Object.assign({icons:T},f,{style:I,current:c,size:y,items:O,itemRender:_?M:void 0,stepIcon:R,direction:v,prefixCls:b,iconPrefix:k,className:P})))};cw.Step=lX.Step;var cS=cw;let cx=(0,l.createContext)({});function cE(){return(0,l.useContext)(cx)}let cC=e=>{let{steps:t}=e,[n,r]=(0,l.useState)(),o=t.filter(e=>!e.useEnabled||e.useEnabled()),a=(0,l.useMemo)(()=>{let e=t.find(e=>e.key===n);if(!e){var o;r(null===(o=t[0])||void 0===o?void 0:o.key)}return e},[n,t]),s=(0,l.useCallback)(()=>{var e;r(null===(e=t[t.indexOf(a)+1])||void 0===e?void 0:e.key)},[a,t]),c=(0,l.useCallback)(()=>{var e;r(null===(e=t[t.indexOf(a)-1])||void 0===e?void 0:e.key)},[a,t]),u=(0,l.useCallback)(e=>{var n;r(null===(n=t[t.findIndex(t=>t.key===e)])||void 0===n?void 0:n.key)},[a,t]);if(!a)return null;let{Header:d,Aside:f,Footer:p}=a;return(0,i.jsxs)(cx.Provider,{value:{goNextStep:s,goPrevStep:c,goToStep:u},children:[d&&(0,i.jsx)("div",{className:"border-grey-600 mx-auto mb-8 mt-10 w-[424px] border-b pb-8",children:(0,i.jsx)(a.Header,{})}),(0,i.jsxs)("div",{className:E()("flex gap-8",{"pb-16":!!p}),children:[(0,i.jsx)("div",{className:"flex flex-1",children:(0,i.jsx)("div",{className:"ml-auto",children:(0,i.jsx)(cS,{direction:"vertical",size:"small",current:o.indexOf(a),items:o.map(e=>({title:e.title}))})})}),(0,i.jsx)("div",{className:"flex shrink-0 grow-0 basis-[424px] flex-col gap-8",children:t.map((e,r)=>r>t.findIndex(e=>e.key===a.key)?null:(0,i.jsx)("div",{className:E()({hidden:e.key!==n}),children:(0,i.jsx)(e.Content,{})},e.key))}),(0,i.jsx)("aside",{className:"flex-1",children:(0,i.jsx)("div",{className:"max-w-[256px]",children:f&&(0,i.jsx)("div",{className:"border-grey-600 border-l pl-4 text-xs",children:(0,i.jsx)(f,{})})})})]}),p&&(0,i.jsx)("div",{className:"fixed bottom-0 z-10 w-full border-t bg-white",children:(0,i.jsx)("div",{className:"mx-auto flex w-[424px] py-3",children:(0,i.jsx)(p,{})})})]})},c_=e=>{let{type:t}=e,n=(0,$.Cc)(t);return(0,i.jsx)(lT,{...n})};var ck=n(14467),cO=n(70247),cA=n(27523),cI=n(87203);let cP=e=>{let{className:t}=e,{enquiry:{opportunity:n}}=(0,cI.BA)();return(0,i.jsxs)("div",{className:E()(t,"bg-gray-100 px-6 py-4"),children:[(0,i.jsxs)("div",{className:"flex gap-10",children:[(0,i.jsx)(cO.Y,{opportunity:n}),(0,i.jsx)(ck.J,{opportunity:n})]}),(0,i.jsx)(cA.I,{opportunity:n})]})};var cT=n(17256),cR=n(82578),cM=n(21791),cN=n(44226),cj=n(66344),cD=n(63132),cL=n(28560),cB=n(37540);function cZ(){let e=(0,ea._)(["\n  fragment FloorPlan on Floorplan {\n    id\n    name\n    url\n    floor\n    drawing\n    drawingUrl\n    original {\n      id\n    }\n  }\n"]);return cZ=function(){return e},e}function cF(){let e=(0,ea._)(["\n  fragment FloorSelectView on Floorplan {\n    floor\n  }\n"]);return cF=function(){return e},e}function cz(){let e=(0,ea._)(["\n  mutation createOption($data: CreateOptionInput!) {\n    option {\n      create(data: $data) {\n        option {\n          id\n        }\n      }\n    }\n  }\n"]);return cz=function(){return e},e}function cU(){let e=(0,ea._)(["\n  query getOption($data: GetOptionInput!) {\n    option {\n      get(data: $data) {\n        id\n        referralId\n        name\n        description\n        availableFrom\n        location\n        floor\n        type\n        location\n        price {\n          from\n          to\n        }\n        size {\n          from\n          to\n          unit\n        }\n        desks {\n          from\n          to\n        }\n        termLength {\n          from\n          to\n        }\n        currency\n        photos {\n          id\n          url\n        }\n        floorplans {\n          ...FloorPlan\n        }\n      }\n    }\n  }\n  ","\n"]);return cU=function(){return e},e}function cH(){let e=(0,ea._)(["\n  mutation updateOption($data: UpdateOptionInput!) {\n    option {\n      update(data: $data) {\n        success\n      }\n    }\n  }\n"]);return cH=function(){return e},e}function cq(){let e=(0,ea._)(["\n  query suggestedFloorPlans($data: SuggestedFloorPlansInput!) {\n    suggestedFloorPlans(data: $data) {\n      ...FloorPlan\n    }\n  }\n  ","\n"]);return cq=function(){return e},e}let cV={};(function(e){e.Canceled="CANCELED",e.Confirmed="CONFIRMED",e.Pending="PENDING"})(fk||(fk={})),function(e){e.Presale="PRESALE",e.Private="PRIVATE",e.Standard="STANDARD"}(fO||(fO={})),function(e){e.Distributor="DISTRIBUTOR",e.Provider="PROVIDER"}(fA||(fA={})),function(e){e.Aed="AED",e.Afn="AFN",e.All="ALL",e.Amd="AMD",e.Ars="ARS",e.Aud="AUD",e.Azn="AZN",e.Bam="BAM",e.Bdt="BDT",e.Bgn="BGN",e.Bhd="BHD",e.Bif="BIF",e.Bnd="BND",e.Bob="BOB",e.Brl="BRL",e.Bwp="BWP",e.Byn="BYN",e.Bzd="BZD",e.Cad="CAD",e.Cdf="CDF",e.Chf="CHF",e.Clp="CLP",e.Cny="CNY",e.Cop="COP",e.Crc="CRC",e.Cve="CVE",e.Czk="CZK",e.Djf="DJF",e.Dkk="DKK",e.Dop="DOP",e.Dzd="DZD",e.Eek="EEK",e.Egp="EGP",e.Ern="ERN",e.Etb="ETB",e.Eur="EUR",e.Gbp="GBP",e.Gel="GEL",e.Ghs="GHS",e.Gnf="GNF",e.Gtq="GTQ",e.Hkd="HKD",e.Hnl="HNL",e.Hrk="HRK",e.Huf="HUF",e.Idr="IDR",e.Ils="ILS",e.Inr="INR",e.Iqd="IQD",e.Irr="IRR",e.Isk="ISK",e.Jmd="JMD",e.Jod="JOD",e.Jpy="JPY",e.Kes="KES",e.Khr="KHR",e.Kmf="KMF",e.Krw="KRW",e.Kwd="KWD",e.Kzt="KZT",e.Lbp="LBP",e.Lkr="LKR",e.Ltl="LTL",e.Lvl="LVL",e.Lyd="LYD",e.Mad="MAD",e.Mdl="MDL",e.Mga="MGA",e.Mkd="MKD",e.Mmk="MMK",e.Mop="MOP",e.Mur="MUR",e.Mxn="MXN",e.Myr="MYR",e.Mzn="MZN",e.Nad="NAD",e.Ngn="NGN",e.Nio="NIO",e.Nok="NOK",e.Npr="NPR",e.Nzd="NZD",e.Omr="OMR",e.Pab="PAB",e.Pen="PEN",e.Php="PHP",e.Pkr="PKR",e.Pln="PLN",e.Pyg="PYG",e.Qar="QAR",e.Ron="RON",e.Rsd="RSD",e.Rub="RUB",e.Rwf="RWF",e.Sar="SAR",e.Sdg="SDG",e.Sek="SEK",e.Sgd="SGD",e.Sos="SOS",e.Syp="SYP",e.Thb="THB",e.Tnd="TND",e.Top="TOP",e.Try="TRY",e.Ttd="TTD",e.Twd="TWD",e.Tzs="TZS",e.Uah="UAH",e.Ugx="UGX",e.Usd="USD",e.Uyu="UYU",e.Uzs="UZS",e.Vef="VEF",e.Vnd="VND",e.Xaf="XAF",e.Xof="XOF",e.Yer="YER",e.Zar="ZAR",e.Zmk="ZMK",e.Zwl="ZWL"}(fI||(fI={})),function(e){e.Dedicated="DEDICATED",e.Hot="HOT"}(fP||(fP={})),function(e){e.Requested="REQUESTED",e.Submitted="SUBMITTED"}(fT||(fT={})),function(e){e.Amenities="AMENITIES",e.LargerOptionsSize="LARGER_OPTIONS_SIZE",e.LessDesks="LESS_DESKS",e.LessExpensive="LESS_EXPENSIVE",e.Location="LOCATION",e.MoreDesks="MORE_DESKS",e.MoreOptions="MORE_OPTIONS",e.Other="OTHER",e.SmallerOptionsSize="SMALLER_OPTIONS_SIZE"}(fR||(fR={})),function(e){e.RequestContract="REQUEST_CONTRACT",e.RequestToView="REQUEST_TO_VIEW",e.SignContract="SIGN_CONTRACT"}(fM||(fM={})),function(e){e.Date="DATE",e.Month="MONTH",e.Quarter="QUARTER",e.Year="YEAR"}(fN||(fN={})),function(e){e.Built="BUILT",e.Closed="CLOSED",e.Launched="LAUNCHED",e.Renovated="RENOVATED",e.UpdateOperator="UPDATE_OPERATOR"}(fj||(fj={})),function(e){e.DigitalReportCreated="DIGITAL_REPORT_CREATED",e.DigitalReportDocumentCreated="DIGITAL_REPORT_DOCUMENT_CREATED",e.DigitalReportDocumentOpened="DIGITAL_REPORT_DOCUMENT_OPENED",e.DigitalReportDocumentUpdated="DIGITAL_REPORT_DOCUMENT_UPDATED",e.DigitalReportFeedbackCreated="DIGITAL_REPORT_FEEDBACK_CREATED",e.DigitalReportUpdated="DIGITAL_REPORT_UPDATED",e.OpportunityTransferred="OPPORTUNITY_TRANSFERRED",e.OptionsMerged="OPTIONS_MERGED",e.OptionCreated="OPTION_CREATED",e.OptionRemoved="OPTION_REMOVED",e.OptionUpdated="OPTION_UPDATED",e.ReactionCreated="REACTION_CREATED",e.ReferralCreated="REFERRAL_CREATED",e.ReferralRemoved="REFERRAL_REMOVED",e.ViewRequestCreated="VIEW_REQUEST_CREATED"}(fD||(fD={})),function(e){e.Dislike="DISLIKE",e.Like="LIKE"}(fL||(fL={})),function(e){e.SquareFoot="SQUARE_FOOT",e.SquareMeter="SQUARE_METER"}(fB||(fB={})),function(e){e.EntireFloor="ENTIRE_FLOOR",e.Exterior="EXTERIOR",e.ExteriorInterior="EXTERIOR_INTERIOR",e.Interior="INTERIOR",e.NotSpecified="NOT_SPECIFIED"}(fZ||(fZ={})),function(e){e.Available="AVAILABLE",e.Occupied="OCCUPIED",e.UnderOffer="UNDER_OFFER"}(fF||(fF={})),function(e){e.CoworkingDesks="COWORKING_DESKS",e.EventSpace="EVENT_SPACE",e.MeetingRoom="MEETING_ROOM",e.Membership="MEMBERSHIP",e.NotSpecified="NOT_SPECIFIED",e.PipelineManagedSpace="PIPELINE_MANAGED_SPACE",e.PrivateOffice="PRIVATE_OFFICE",e.SelfContainedManagedSpace="SELF_CONTAINED_MANAGED_SPACE"}(fz||(fz={})),function(e){e.Base="BASE",e.Horizontal="HORIZONTAL",e.HorizontalVideo="HORIZONTAL_VIDEO",e.Vertical="VERTICAL"}(fU||(fU={})),function(e){e.SubwayStation="SUBWAY_STATION",e.TrainStation="TRAIN_STATION",e.TramStation="TRAM_STATION",e.TransitStation="TRANSIT_STATION"}(fH||(fH={})),function(e){e.Agent="AGENT",e.Operator="OPERATOR",e.Platform="PLATFORM"}(fq||(fq={})),function(e){e.Calendly="CALENDLY",e.Email="EMAIL"}(fV||(fV={})),function(e){e.NotRequested="NOT_REQUESTED",e.Requested="REQUESTED"}(fW||(fW={})),function(e){e.Matterport="MATTERPORT",e.Video="VIDEO"}(f$||(f$={}));let cW=(0,es.Ps)(cZ());(0,es.Ps)(cF());let c$=(0,es.Ps)(cz());function cG(e){let t={...cV,...e};return cL.D(c$,t)}let cK=(0,es.Ps)(cU(),cW);function cY(e){let t={...cV,...e};return cB.a(cK,t)}let cX=(0,es.Ps)(cH());function cQ(e){let t={...cV,...e};return cL.D(cX,t)}let cJ=(0,es.Ps)(cq(),cW);function c0(e){let t={...cV,...e};return cB.a(cJ,t)}let c1={"en-GB":fB.SquareFoot,"en-US":fB.SquareFoot,fr:fB.SquareMeter};var c2=n(10061);function c3(){let e=(0,ea._)(["\n  fragment FloorPlan on Floorplan {\n    id\n    name\n    url\n    floor\n    drawing\n    drawingUrl\n    original {\n      id\n    }\n  }\n"]);return c3=function(){return e},e}function c4(){let e=(0,ea._)(["\n  query suggestedFloorPlans($data: SuggestedFloorPlansInput!) {\n    suggestedFloorPlans(data: $data) {\n      ...FloorPlan\n    }\n  }\n"]);return c4=function(){return e},e}function c5(e){return"number"==typeof(null==e?void 0:e.originalId)}let c6=e=>{let{data:t,loading:n}=c0({variables:{data:{referralId:e}},skip:!e});return{suggestedFloorPlans:(0,l.useMemo)(()=>{var e,n;return null!==(n=null==t?void 0:null===(e=t.suggestedFloorPlans)||void 0===e?void 0:e.map(e=>{let{id:t,...n}=e;return{...n,id:void 0,originalId:t}}))&&void 0!==n?n:[]},[t]),loading:n}};(0,es.ZP)(c3()),(0,es.ZP)(c4());let c8=()=>{let{t:e}=(0,u.$G)(),t=D.Z.useWatch("type");return(0,i.jsx)(D.Z.Item,{name:"availableFrom",label:e("available-from","Available from"),hidden:(0,N.ol)({type:t}),children:(0,i.jsx)(Y.Mt,{disabledDate:e=>0>e.diff(new Date,"days"),className:"!w-[184px]"})})},c7=320,c9=9,ue=()=>{let{t:e}=(0,u.$G)(),t=e("description","Description");return(0,i.jsx)(D.Z.Item,{name:"description",label:t,rules:[(0,eb.YW)(t,c7,e,{html:!0}),(0,eb.ro)(t,c9,e)],children:(0,i.jsx)(sl,{})})},ut=e=>{let{to:t,children:n,...r}=e,{t:o}=(0,u.$G)(),{setFieldValue:a}=D.Z.useFormInstance(),s=D.Z.useWatch(t),[c,d]=(0,l.useState)(!1);(0,l.useEffect)(()=>{s&&d(!0)},[s]);let f=e=>{e.target.checked||a(t,null),d(e.target.checked)};return(0,i.jsx)(D.Z.Item,{...r,children:(0,i.jsxs)("div",{className:"flex items-center gap-4",children:[n({isRange:c}),(0,i.jsx)(B.Z,{checked:c,onChange:f,children:o("use-range","Use range")})]})})},un=(e,t)=>({validator:(n,r)=>"number"==typeof r&&r===e?Promise.reject(t("validation:equal-to","Value is equal to {{value}}",{value:e})):Promise.resolve(),type:"number"}),ur=(e,t)=>({max:e,type:"number",message:t("validation:more-than","Value is more than {{value}}",{value:e})}),uo=["desks","from"],ui=["desks","to"],ua=()=>{let{t:e}=(0,u.$G)(),t=D.Z.useWatch(ui);return(0,i.jsx)(ut,{label:e("number-of-desks","Number of desks"),to:ui,children:n=>{let{isRange:r}=n;return(0,i.jsxs)("div",{className:"flex items-center gap-4",children:[(0,i.jsx)(D.Z.Item,{name:uo,rules:[ur(t,e),un(t,e)],dependencies:[ui],noStyle:!0,children:(0,i.jsx)(L.Z,{precision:0,min:0,className:"!w-[184px]"})}),(0,i.jsx)("div",{className:"w-2",children:"—"}),(0,i.jsx)(D.Z.Item,{name:ui,noStyle:!0,children:(0,i.jsx)(L.Z,{precision:0,disabled:!r,className:"!w-[184px]"})})]})}})};var us=n(7687);function ul(){return(ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let uc=e=>l.createElement("svg",ul({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),fG||(fG=l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.667 11.667V2.333a2 2 0 0 0-2-2H9.38a.476.476 0 0 0 0 .953h2.333a1 1 0 0 1 1 1V6.5a.5.5 0 0 1-.5.5H10.81a.476.476 0 0 0 0 .953h1.405a.5.5 0 0 1 .5.5v3.261a1 1 0 0 1-1 1H7.5a.5.5 0 0 1-.5-.5V8.397c0-.245.2-.444.445-.444h.412a.476.476 0 0 0 0-.953H7a.952.952 0 0 0-.952.953v4.261a.5.5 0 0 1-.5.5H2.286a1 1 0 0 1-1-1V8.453a.5.5 0 0 1 .5-.5H3.19a.476.476 0 1 0 0-.953H1.786a.5.5 0 0 1-.5-.5V2.286a1 1 0 0 1 1-1h1.287a1 1 0 0 1 .517.144l4.073 2.456a.489.489 0 1 0 .504-.838L4.38.476a1 1 0 0 0-.514-.142H2.333a2 2 0 0 0-2 2v9.333a2 2 0 0 0 2 2h9.334a2 2 0 0 0 2-2z",clipRule:"evenodd"})));function uu(){let e=(0,ea._)(["\n  fragment FloorSelectView on Floorplan {\n    floor\n  }\n"]);return uu=function(){return e},e}let ud=e=>{let{value:t,onChange:n,floorPlans:r,...o}=e,{t:a}=(0,u.$G)(),s=(0,l.useCallback)((e,r)=>{let o=()=>null==n?void 0:n(e,r);return t?F.Z.confirm({onOk:o,title:a("agent:confirm.floor-confirm.title","Are you sure want to change floor?"),content:a("agent:confirm.floor-confirm.content","If you change the floor, all changes from the floorplan will disappear")}):o()},[t]);return(0,i.jsx)(c.default,{value:t,placeholder:a("agent:select-floor","Select floor"),onChange:s,...o,children:us.M.map(e=>(0,i.jsx)(c.default.Option,{value:e,children:(0,i.jsxs)("div",{className:"flex items-center justify-between",children:[(0,i.jsx)("div",{children:e}),(null==r?void 0:r.find(t=>t.floor===e))&&(0,i.jsx)(uc,{className:"h-3 w-3"})]})},e))})};(0,es.ZP)(uu());let uf=e=>{let{floorPlans:t,loading:n,disabled:r}=e,{t:o}=(0,u.$G)();return(0,i.jsx)(D.Z.Item,{label:o("floor","Floor"),name:"floor",children:(0,i.jsx)(ud,{floorPlans:t,loading:n,disabled:r,className:"!w-[408px]"})})};var up=n(56879),uh=n(74355),um=n.n(uh),ug=n(70810);function uv(e){let t=atob(e.split(",")[1]),n=[];for(let e=0;e<t.length;e++)n.push(t.charCodeAt(e));return new Blob([new Uint8Array(n)],{type:"image/png"})}let uy=async(e,t,n)=>{let r={Bucket:k.O.NEXT_PUBLIC_CDN_BUCKET,Key:"".concat(t,"/").concat((0,ug.Z)()),Body:e,...n?{ACL:n}:null},o=await (0,eb.p7)(r);return{...e,name:"",url:o.Location,uid:e.uid||(0,ug.Z)()}},ub=e=>{let{allowedFileTypes:t,limit:n}=e,{t:r}=(0,u.$G)();return(0,i.jsxs)("div",{className:"m-2 grid gap-2",children:[(0,i.jsx)("div",{className:"text-base",children:r("agent:upload.title","Drag and drop a file here or simply click to add file")}),(0,i.jsx)("div",{className:"brand-text-secondary text-sm",children:r("agent:upload.files-and-limit","Please use {{files}} files not bigger than {{limit}}MB",{files:null==t?void 0:t.join(", "),limit:n})}),(0,i.jsx)("div",{children:(0,i.jsx)(M.ZP,{type:"primary",children:r("add-file","Add file")})})]})},uw=e=>{let{name:t,fullName:n,Child:r}=e,o=D.Z.useFormInstance(),a=D.Z.useWatch([...n,"url"]),s=D.Z.useWatch([...n,"isDeleted"]),l=()=>{o.setFields([{name:[...n,"isDeleted"],value:!0}])};return(0,i.jsxs)("div",{className:E()({hidden:s}),children:[(0,i.jsx)(D.Z.Item,{hidden:!0,name:[...t,"id"],children:(0,i.jsx)(s1.default,{})}),(0,i.jsx)(D.Z.Item,{hidden:!0,name:[...t,"url"],children:(0,i.jsx)(s1.default,{})}),(0,i.jsx)(D.Z.Item,{valuePropName:"checked",hidden:!0,name:[...n,"isDeleted"],children:(0,i.jsx)(B.Z,{})}),(0,i.jsx)(r,{fullName:n,name:t,remove:l,url:a})]})},uS=e=>{let t=e.name.split("."),n=t[t.length-1],r=(0,ug.Z)();return new File([e],"".concat(r,".").concat(n))},ux=e=>e.split(".").slice(0,-1).join("."),uE=10,uC=e=>{let{name:t,path:n,itemRender:r,allowedFileTypes:o=[sm.Tv.JPG,sm.Tv.PNG,sm.Tv.WEBP],limitInMb:a=uE,description:s,itemsClassName:c}=e,{t:d}=(0,u.$G)(),f=D.Z.useFormInstance(),p=D.Z.useWatch(t),h=(null==p?void 0:p.filter(e=>!(null==e?void 0:e.isDeleted)).length)>0,m=um()(t),[g,v]=(0,l.useState)(!1),{lock:y,unlock:b}=(0,c2.Pn)(),w=Object.keys(sm.Tv).filter(e=>o.includes(sm.Tv[e])),S=async e=>{let t=new eb.CU(e).maxSize(a,d("agent:file-upload.message.limit-exceeded","File must be smaller than {{limit}}MB",{limit:a})).type(o,d("agent:file-upload.message.allowed-file-types","Allowed file types: {{types}}",{types:w.join(", ")}));try{let n=await t.validate();if(!n.isValid)return ls.ZP.error(n.errors.join(", ")),up.Z.LIST_IGNORE;return e}catch(e){return ls.ZP.error(d("validation:invalid-file","Invalid file")),up.Z.LIST_IGNORE}},x=async e=>{var r,o;let{file:i,onSuccess:a,onError:s}=e;v(!0),y(i.name);try{let e=await uy(uS(i),n,sm.Co.PUBLIC_READ),o=null!==(r=f.getFieldValue(t))&&void 0!==r?r:[];f.setFields([{name:[...m,o.length,"url"],value:e.url},{name:[...m,o.length,"name"],value:ux(i.name)}]),null==a||a(i)}catch(e){ls.ZP.error(null!==(o=null==e?void 0:e.message)&&void 0!==o?o:d("error-default","Something went wrong, please try again")),null==s||s(e)}finally{v(!1),b(i.name)}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(up.Z.Dragger,{multiple:!0,disabled:g,beforeUpload:S,showUploadList:!1,customRequest:x,accept:o.join(","),children:(0,i.jsx)(ty.Z,{spinning:g,children:(0,i.jsx)(ub,{allowedFileTypes:w,limit:a})})}),h&&s&&(0,i.jsx)("div",{className:"brand-text-secondary-dark my-4",children:s}),(0,i.jsx)(D.Z.List,{name:t,children:e=>(0,i.jsx)("div",{className:c,children:e.map(e=>(0,i.jsx)(uw,{fullName:[...m,e.name],name:[e.name],Child:r},e.key))})})]})};var u_=n(6665),uk=n(40470),uO=n(47324),uA=n.n(uO);function uI(){}function uP(e){return null==e?uI:function(){return this.querySelector(e)}}function uT(e){"function"!=typeof e&&(e=uP(e));for(var t=this._groups,n=t.length,r=Array(n),o=0;o<n;++o)for(var i,a,s=t[o],l=s.length,c=r[o]=Array(l),u=0;u<l;++u)(i=s[u])&&(a=e.call(i,i.__data__,u,s))&&("__data__"in i&&(a.__data__=i.__data__),c[u]=a);return new fa(r,this._parents)}function uR(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function uM(){return[]}function uN(e){return null==e?uM:function(){return this.querySelectorAll(e)}}function uj(e){return function(){return uR(e.apply(this,arguments))}}function uD(e){e="function"==typeof e?uj(e):uN(e);for(var t=this._groups,n=t.length,r=[],o=[],i=0;i<n;++i)for(var a,s=t[i],l=s.length,c=0;c<l;++c)(a=s[c])&&(r.push(e.call(a,a.__data__,c,s)),o.push(a));return new fa(r,o)}function uL(e){return function(){return this.matches(e)}}function uB(e){return function(t){return t.matches(e)}}var uZ=Array.prototype.find;function uF(e){return function(){return uZ.call(this.children,e)}}function uz(){return this.firstElementChild}function uU(e){return this.select(null==e?uz:uF("function"==typeof e?e:uB(e)))}var uH=Array.prototype.filter;function uq(){return Array.from(this.children)}function uV(e){return function(){return uH.call(this.children,e)}}function uW(e){return this.selectAll(null==e?uq:uV("function"==typeof e?e:uB(e)))}function u$(e){"function"!=typeof e&&(e=uL(e));for(var t=this._groups,n=t.length,r=Array(n),o=0;o<n;++o)for(var i,a=t[o],s=a.length,l=r[o]=[],c=0;c<s;++c)(i=a[c])&&e.call(i,i.__data__,c,a)&&l.push(i);return new fa(r,this._parents)}function uG(e){return Array(e.length)}function uK(){return new fa(this._enter||this._groups.map(uG),this._parents)}function uY(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function uX(e){return function(){return e}}function uQ(e,t,n,r,o,i){for(var a,s=0,l=t.length,c=i.length;s<c;++s)(a=t[s])?(a.__data__=i[s],r[s]=a):n[s]=new uY(e,i[s]);for(;s<l;++s)(a=t[s])&&(o[s]=a)}function uJ(e,t,n,r,o,i,a){var s,l,c,u=new Map,d=t.length,f=i.length,p=Array(d);for(s=0;s<d;++s)(l=t[s])&&(p[s]=c=a.call(l,l.__data__,s,t)+"",u.has(c)?o[s]=l:u.set(c,l));for(s=0;s<f;++s)c=a.call(e,i[s],s,i)+"",(l=u.get(c))?(r[s]=l,l.__data__=i[s],u.delete(c)):n[s]=new uY(e,i[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(p[s])===l&&(o[s]=l)}function u0(e){return e.__data__}function u1(e,t){if(!arguments.length)return Array.from(this,u0);var n=t?uJ:uQ,r=this._parents,o=this._groups;"function"!=typeof e&&(e=uX(e));for(var i=o.length,a=Array(i),s=Array(i),l=Array(i),c=0;c<i;++c){var u=r[c],d=o[c],f=d.length,p=u2(e.call(u,u&&u.__data__,c,r)),h=p.length,m=s[c]=Array(h),g=a[c]=Array(h);n(u,d,m,g,l[c]=Array(f),p,t);for(var v,y,b=0,w=0;b<h;++b)if(v=m[b]){for(b>=w&&(w=b+1);!(y=g[w])&&++w<h;);v._next=y||null}}return(a=new fa(a,r))._enter=s,a._exit=l,a}function u2(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function u3(){return new fa(this._exit||this._groups.map(uG),this._parents)}function u4(e,t,n){var r=this.enter(),o=this,i=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(o=t(o))&&(o=o.selection()),null==n?i.remove():n(i),r&&o?r.merge(o).order():o}function u5(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,o=n.length,i=r.length,a=Math.min(o,i),s=Array(o),l=0;l<a;++l)for(var c,u=n[l],d=r[l],f=u.length,p=s[l]=Array(f),h=0;h<f;++h)(c=u[h]||d[h])&&(p[h]=c);for(;l<o;++l)s[l]=n[l];return new fa(s,this._parents)}function u6(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,o=e[t],i=o.length-1,a=o[i];--i>=0;)(r=o[i])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this}function u8(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=u7);for(var n=this._groups,r=n.length,o=Array(r),i=0;i<r;++i){for(var a,s=n[i],l=s.length,c=o[i]=Array(l),u=0;u<l;++u)(a=s[u])&&(c[u]=a);c.sort(t)}return new fa(o,this._parents).order()}function u7(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function u9(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function de(){return Array.from(this)}function dt(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],o=0,i=r.length;o<i;++o){var a=r[o];if(a)return a}return null}function dn(){let e=0;for(let t of this)++e;return e}function dr(){return!this.node()}function di(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var o,i=t[n],a=0,s=i.length;a<s;++a)(o=i[a])&&e.call(o,o.__data__,a,i);return this}uY.prototype={constructor:uY,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var da="http://www.w3.org/1999/xhtml",ds={svg:"http://www.w3.org/2000/svg",xhtml:da,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function dl(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),ds.hasOwnProperty(t)?{space:ds[t],local:e}:e}function dc(e){return function(){this.removeAttribute(e)}}function du(e){return function(){this.removeAttributeNS(e.space,e.local)}}function dd(e,t){return function(){this.setAttribute(e,t)}}function df(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function dp(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function dh(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function dm(e,t){var n=dl(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?du:dc:"function"==typeof t?n.local?dh:dp:n.local?df:dd)(n,t))}function dg(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function dv(e){return function(){this.style.removeProperty(e)}}function dy(e,t,n){return function(){this.style.setProperty(e,t,n)}}function db(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function dw(e,t,n){return arguments.length>1?this.each((null==t?dv:"function"==typeof t?db:dy)(e,t,null==n?"":n)):dS(this.node(),e)}function dS(e,t){return e.style.getPropertyValue(t)||dg(e).getComputedStyle(e,null).getPropertyValue(t)}function dx(e){return function(){delete this[e]}}function dE(e,t){return function(){this[e]=t}}function dC(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function d_(e,t){return arguments.length>1?this.each((null==t?dx:"function"==typeof t?dC:dE)(e,t)):this.node()[e]}function dk(e){return e.trim().split(/^|\s+/)}function dO(e){return e.classList||new dA(e)}function dA(e){this._node=e,this._names=dk(e.getAttribute("class")||"")}function dI(e,t){for(var n=dO(e),r=-1,o=t.length;++r<o;)n.add(t[r])}function dP(e,t){for(var n=dO(e),r=-1,o=t.length;++r<o;)n.remove(t[r])}function dT(e){return function(){dI(this,e)}}function dR(e){return function(){dP(this,e)}}function dM(e,t){return function(){(t.apply(this,arguments)?dI:dP)(this,e)}}function dN(e,t){var n=dk(e+"");if(arguments.length<2){for(var r=dO(this.node()),o=-1,i=n.length;++o<i;)if(!r.contains(n[o]))return!1;return!0}return this.each(("function"==typeof t?dM:t?dT:dR)(n,t))}function dj(){this.textContent=""}function dD(e){return function(){this.textContent=e}}function dL(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function dB(e){return arguments.length?this.each(null==e?dj:("function"==typeof e?dL:dD)(e)):this.node().textContent}function dZ(){this.innerHTML=""}function dF(e){return function(){this.innerHTML=e}}function dz(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function dU(e){return arguments.length?this.each(null==e?dZ:("function"==typeof e?dz:dF)(e)):this.node().innerHTML}function dH(){this.nextSibling&&this.parentNode.appendChild(this)}function dq(){return this.each(dH)}function dV(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function dW(){return this.each(dV)}function d$(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===da&&t.documentElement.namespaceURI===da?t.createElement(e):t.createElementNS(n,e)}}function dG(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function dK(e){var t=dl(e);return(t.local?dG:d$)(t)}function dY(e){var t="function"==typeof e?e:dK(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function dX(){return null}function dQ(e,t){var n="function"==typeof e?e:dK(e),r=null==t?dX:"function"==typeof t?t:uP(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function dJ(){var e=this.parentNode;e&&e.removeChild(this)}function d0(){return this.each(dJ)}function d1(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function d2(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function d3(e){return this.select(e?d2:d1)}function d4(e){return arguments.length?this.property("__data__",e):this.node().__data__}function d5(e){return function(t){e.call(this,t,this.__data__)}}function d6(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function d8(e){return function(){var t=this.__on;if(t){for(var n,r=0,o=-1,i=t.length;r<i;++r)(n=t[r],e.type&&n.type!==e.type||n.name!==e.name)?t[++o]=n:this.removeEventListener(n.type,n.listener,n.options);++o?t.length=o:delete this.__on}}}function d7(e,t,n){return function(){var r,o=this.__on,i=d5(t);if(o){for(var a=0,s=o.length;a<s;++a)if((r=o[a]).type===e.type&&r.name===e.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=i,r.options=n),r.value=t;return}}this.addEventListener(e.type,i,n),r={type:e.type,name:e.name,value:t,listener:i,options:n},o?o.push(r):this.__on=[r]}}function d9(e,t,n){var r,o,i=d6(e+""),a=i.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var l,c=0,u=s.length;c<u;++c)for(r=0,l=s[c];r<a;++r)if((o=i[r]).type===l.type&&o.name===l.name)return l.value}return}for(r=0,s=t?d7:d8;r<a;++r)this.each(s(i[r],t,n));return this}function fe(e,t,n){var r=dg(e),o=r.CustomEvent;"function"==typeof o?o=new o(t,n):(o=r.document.createEvent("Event"),n?(o.initEvent(t,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(t,!1,!1)),e.dispatchEvent(o)}function ft(e,t){return function(){return fe(this,e,t)}}function fn(e,t){return function(){return fe(this,e,t.apply(this,arguments))}}function fr(e,t){return this.each(("function"==typeof t?fn:ft)(e,t))}function*fo(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,o=e[t],i=0,a=o.length;i<a;++i)(r=o[i])&&(yield r)}dA.prototype={add:function(e){0>this._names.indexOf(e)&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var fi=[null];function fa(e,t){this._groups=e,this._parents=t}function fs(){return new fa([[document.documentElement]],fi)}function fl(){return this}fa.prototype=fs.prototype={constructor:fa,select:uT,selectAll:uD,selectChild:uU,selectChildren:uW,filter:u$,data:u1,enter:uK,exit:u3,join:u4,merge:u5,selection:fl,order:u6,sort:u8,call:u9,nodes:de,node:dt,size:dn,empty:dr,each:di,attr:dm,style:dw,property:d_,classed:dN,text:dB,html:dU,raise:dq,lower:dW,append:dY,insert:dQ,remove:d0,clone:d3,datum:d4,on:d9,dispatch:fr,[Symbol.iterator]:fo};var fc=fs,fu={value:()=>{}};function fd(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw Error("illegal type: "+e);r[e]=[]}return new ff(r)}function ff(e){this._=e}function fp(e,t){return e.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:n}})}function fh(e,t){for(var n,r=0,o=e.length;r<o;++r)if((n=e[r]).name===t)return n.value}function fm(e,t,n){for(var r=0,o=e.length;r<o;++r)if(e[r].name===t){e[r]=fu,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}ff.prototype=fd.prototype={constructor:ff,on:function(e,t){var n,r=this._,o=fp(e+"",r),i=-1,a=o.length;if(arguments.length<2){for(;++i<a;)if((n=(e=o[i]).type)&&(n=fh(r[n],e.name)))return n;return}if(null!=t&&"function"!=typeof t)throw Error("invalid callback: "+t);for(;++i<a;)if(n=(e=o[i]).type)r[n]=fm(r[n],e.name,t);else if(null==t)for(n in r)r[n]=fm(r[n],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new ff(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,o=Array(n),i=0;i<n;++i)o[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(r=this._[e],i=0,n=r.length;i<n;++i)r[i].value.apply(t,o)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(var r=this._[e],o=0,i=r.length;o<i;++o)r[o].value.apply(t,n)}};var fg,fv,fy,fb,fw,fS,fx,fE,fC,f_,fk,fO,fA,fI,fP,fT,fR,fM,fN,fj,fD,fL,fB,fZ,fF,fz,fU,fH,fq,fV,fW,f$,fG,fK,fY,fX=fd,fQ=0,fJ=0,f0=0,f1=1e3,f2=0,f3=0,f4=0,f5="object"==typeof performance&&performance.now?performance:Date,f6="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function f8(){return f3||(f6(f7),f3=f5.now()+f4)}function f7(){f3=0}function f9(){this._call=this._time=this._next=null}function pe(e,t,n){var r=new f9;return r.restart(e,t,n),r}function pt(){f8(),++fQ;for(var e,t=fK;t;)(e=f3-t._time)>=0&&t._call.call(void 0,e),t=t._next;--fQ}function pn(){f3=(f2=f5.now())+f4,fQ=fJ=0;try{pt()}finally{fQ=0,po(),f3=0}}function pr(){var e=f5.now(),t=e-f2;t>f1&&(f4-=t,f2=e)}function po(){for(var e,t,n=fK,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:fK=t);fY=e,pi(r)}function pi(e){if(!fQ){fJ&&(fJ=clearTimeout(fJ));var t=e-f3;t>24?(e<1/0&&(fJ=setTimeout(pn,e-f5.now()-f4)),f0&&(f0=clearInterval(f0))):(f0||(f2=f5.now(),f0=setInterval(pr,f1)),fQ=1,f6(pn))}}function pa(e,t,n){var r=new f9;return t=null==t?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}f9.prototype=pe.prototype={constructor:f9,restart:function(e,t,n){if("function"!=typeof e)throw TypeError("callback is not a function");n=(null==n?f8():+n)+(null==t?0:+t),this._next||fY===this||(fY?fY._next=this:fK=this,fY=this),this._call=e,this._time=n,pi()},stop:function(){this._call&&(this._call=null,this._time=1/0,pi())}};var ps=fX("start","end","cancel","interrupt"),pl=[],pc=0,pu=1,pd=2,pf=3,pp=4,ph=5,pm=6;function pg(e,t,n,r,o,i){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};pw(e,n,{name:t,index:r,group:o,on:ps,tween:pl,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:pc})}function pv(e,t){var n=pb(e,t);if(n.state>pc)throw Error("too late; already scheduled");return n}function py(e,t){var n=pb(e,t);if(n.state>pf)throw Error("too late; already running");return n}function pb(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error("transition not found");return n}function pw(e,t,n){var r,o=e.__transition;function i(e){n.state=pu,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(i){var c,u,d,f;if(n.state!==pu)return l();for(c in o)if((f=o[c]).name===n.name){if(f.state===pf)return pa(a);f.state===pp?(f.state=pm,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete o[c]):+c<t&&(f.state=pm,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete o[c])}if(pa(function(){n.state===pf&&(n.state=pp,n.timer.restart(s,n.delay,n.time),s(i))}),n.state=pd,n.on.call("start",e,e.__data__,n.index,n.group),n.state===pd){for(c=0,n.state=pf,r=Array(d=n.tween.length),u=-1;c<d;++c)(f=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(t){for(var o=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=ph,1),i=-1,a=r.length;++i<a;)r[i].call(e,o);n.state===ph&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=pm,n.timer.stop(),delete o[t],o)return;delete e.__transition}o[t]=n,n.timer=pe(i,0,n.time)}function pS(e,t){var n,r,o,i=e.__transition,a=!0;if(i){for(o in t=null==t?null:t+"",i){if((n=i[o]).name!==t){a=!1;continue}r=n.state>pd&&n.state<ph,n.state=pm,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete i[o]}a&&delete e.__transition}}function px(e){return this.each(function(){pS(this,e)})}function pE(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var pC=180/Math.PI,p_={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function pk(e,t,n,r,o,i){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,a=-a),{translateX:o,translateY:i,rotate:Math.atan2(t,e)*pC,skewX:Math.atan(l)*pC,scaleX:a,scaleY:s}}function pO(e){return null==e?p_:(r||(r=document.createElementNS("http://www.w3.org/2000/svg","g")),r.setAttribute("transform",e),e=r.transform.baseVal.consolidate())?pk((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):p_}function pA(e,t,n,r){function o(e){return e.length?e.pop()+" ":""}function i(e,r,o,i,a,s){if(e!==o||r!==i){var l=a.push("translate(",null,t,null,n);s.push({i:l-4,x:pE(e,o)},{i:l-2,x:pE(r,i)})}else(o||i)&&a.push("translate("+o+t+i+n)}function a(e,t,n,i){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:pE(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}function s(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:pE(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}function l(e,t,n,r,i,a){if(e!==n||t!==r){var s=i.push(o(i)+"scale(",null,",",null,")");a.push({i:s-4,x:pE(e,n)},{i:s-2,x:pE(t,r)})}else(1!==n||1!==r)&&i.push(o(i)+"scale("+n+","+r+")")}return function(t,n){var r=[],o=[];return t=e(t),n=e(n),i(t.translateX,t.translateY,n.translateX,n.translateY,r,o),a(t.rotate,n.rotate,r,o),s(t.skewX,n.skewX,r,o),l(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,o),t=n=null,function(e){for(var t,n=-1,i=o.length;++n<i;)r[(t=o[n]).i]=t.x(e);return r.join("")}}}var pI=pA(function(e){let t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?p_:pk(t.a,t.b,t.c,t.d,t.e,t.f)},"px, ","px)","deg)"),pP=pA(pO,", ",")",")");function pT(e,t){var n,r;return function(){var o=py(this,e),i=o.tween;if(i!==n){r=n=i;for(var a=0,s=r.length;a<s;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}}o.tween=r}}function pR(e,t,n){var r,o;if("function"!=typeof n)throw Error();return function(){var i=py(this,e),a=i.tween;if(a!==r){o=(r=a).slice();for(var s={name:t,value:n},l=0,c=o.length;l<c;++l)if(o[l].name===t){o[l]=s;break}l===c&&o.push(s)}i.tween=o}}function pM(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,o=pb(this.node(),n).tween,i=0,a=o.length;i<a;++i)if((r=o[i]).name===e)return r.value;return null}return this.each((null==t?pT:pR)(n,e,t))}function pN(e,t,n){var r=e._id;return e.each(function(){var e=py(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)}),function(e){return pb(e,r).value[t]}}function pj(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function pD(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function pL(){}var pB=.7,pZ=1.4285714285714286,pF="\\s*([+-]?\\d+)\\s*",pz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",pU="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",pH=/^#([0-9a-f]{3,8})$/,pq=RegExp(`^rgb\\(${pF},${pF},${pF}\\)$`),pV=RegExp(`^rgb\\(${pU},${pU},${pU}\\)$`),pW=RegExp(`^rgba\\(${pF},${pF},${pF},${pz}\\)$`),p$=RegExp(`^rgba\\(${pU},${pU},${pU},${pz}\\)$`),pG=RegExp(`^hsl\\(${pz},${pU},${pU}\\)$`),pK=RegExp(`^hsla\\(${pz},${pU},${pU},${pz}\\)$`),pY={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function pX(){return this.rgb().formatHex()}function pQ(){return this.rgb().formatRgb()}function pJ(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=pH.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?p0(t):3===n?new p4(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?p1(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?p1(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=pq.exec(e))?new p4(t[1],t[2],t[3],1):(t=pV.exec(e))?new p4(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=pW.exec(e))?p1(t[1],t[2],t[3],t[4]):(t=p$.exec(e))?p1(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=pG.exec(e))?ht(t[1],t[2]/100,t[3]/100,1):(t=pK.exec(e))?ht(t[1],t[2]/100,t[3]/100,t[4]):pY.hasOwnProperty(e)?p0(pY[e]):"transparent"===e?new p4(NaN,NaN,NaN,0):null}function p0(e){return new p4(e>>16&255,e>>8&255,255&e,1)}function p1(e,t,n,r){return r<=0&&(e=t=n=NaN),new p4(e,t,n,r)}function p2(e){return(e instanceof pL||(e=pJ(e)),e)?new p4((e=e.rgb()).r,e.g,e.b,e.opacity):new p4}function p3(e,t,n,r){return 1==arguments.length?p2(e):new p4(e,t,n,null==r?1:r)}function p4(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function p5(){return`#${he(this.r)}${he(this.g)}${he(this.b)}`}function p6(){return`#${he(this.r)}${he(this.g)}${he(this.b)}${he((isNaN(this.opacity)?1:this.opacity)*255)}`}function p8(){let e=p7(this.opacity);return`${1===e?"rgb(":"rgba("}${p9(this.r)}, ${p9(this.g)}, ${p9(this.b)}${1===e?")":`, ${e})`}`}function p7(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function p9(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function he(e){return((e=p9(e))<16?"0":"")+e.toString(16)}function ht(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ho(e,t,n,r)}function hn(e){if(e instanceof ho)return new ho(e.h,e.s,e.l,e.opacity);if(e instanceof pL||(e=pJ(e)),!e)return new ho;if(e instanceof ho)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+(n<r)*6:n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new ho(a,s,l,e.opacity)}function hr(e,t,n,r){return 1==arguments.length?hn(e):new ho(e,t,n,null==r?1:r)}function ho(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function hi(e){return(e=(e||0)%360)<0?e+360:e}function ha(e){return Math.max(0,Math.min(1,e||0))}function hs(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function hl(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}function hc(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,s=r<t-1?e[r+2]:2*i-o;return hl((n-r/t)*t,a,o,i,s)}}function hu(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return hl((n-r/t)*t,o,i,a,s)}}pj(pL,pJ,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:pX,formatHex:pX,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return hn(this).formatHsl()},formatRgb:pQ,toString:pQ}),pj(p4,p3,pD(pL,{brighter(e){return e=null==e?pZ:Math.pow(pZ,e),new p4(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?pB:Math.pow(pB,e),new p4(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new p4(p9(this.r),p9(this.g),p9(this.b),p7(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:p5,formatHex:p5,formatHex8:p6,formatRgb:p8,toString:p8})),pj(ho,hr,pD(pL,{brighter(e){return e=null==e?pZ:Math.pow(pZ,e),new ho(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?pB:Math.pow(pB,e),new ho(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new p4(hs(e>=240?e-240:e+120,o,r),hs(e,o,r),hs(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new ho(hi(this.h),ha(this.s),ha(this.l),p7(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=p7(this.opacity);return`${1===e?"hsl(":"hsla("}${hi(this.h)}, ${100*ha(this.s)}%, ${100*ha(this.l)}%${1===e?")":`, ${e})`}`}}));var hd=e=>()=>e;function hf(e,t){return function(n){return e+n*t}}function hp(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function hh(e){return 1==(e=+e)?hm:function(t,n){return n-t?hp(t,n,e):hd(isNaN(t)?n:t)}}function hm(e,t){var n=t-e;return n?hf(e,n):hd(isNaN(e)?t:e)}var hg=function e(t){var n=hh(t);function r(e,t){var r=n((e=p3(e)).r,(t=p3(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=hm(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function hv(e){return function(t){var n,r,o=t.length,i=Array(o),a=Array(o),s=Array(o);for(n=0;n<o;++n)r=p3(t[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=e(i),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=s(e),r+""}}}hv(hc),hv(hu);var hy=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,hb=RegExp(hy.source,"g");function hw(e){return function(){return e}}function hS(e){return function(t){return e(t)+""}}function hx(e,t){var n,r,o,i=hy.lastIndex=hb.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=hy.exec(e))&&(r=hb.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:pE(n,r)})),i=hb.lastIndex;return i<t.length&&(o=t.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?hS(l[0].x):hw(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function hE(e,t){var n;return("number"==typeof t?pE:t instanceof pJ?hg:(n=pJ(t))?(t=n,hg):hx)(e,t)}function hC(e){return function(){this.removeAttribute(e)}}function h_(e){return function(){this.removeAttributeNS(e.space,e.local)}}function hk(e,t,n){var r,o,i=n+"";return function(){var a=this.getAttribute(e);return a===i?null:a===r?o:o=t(r=a,n)}}function hO(e,t,n){var r,o,i=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===i?null:a===r?o:o=t(r=a,n)}}function hA(e,t,n){var r,o,i;return function(){var a,s,l=n(this);return null==l?void this.removeAttribute(e):(a=this.getAttribute(e))===(s=l+"")?null:a===r&&s===o?i:(o=s,i=t(r=a,l))}}function hI(e,t,n){var r,o,i;return function(){var a,s,l=n(this);return null==l?void this.removeAttributeNS(e.space,e.local):(a=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:a===r&&s===o?i:(o=s,i=t(r=a,l))}}function hP(e,t){var n=dl(e),r="transform"===n?pP:hE;return this.attrTween(e,"function"==typeof t?(n.local?hI:hA)(n,r,pN(this,"attr."+e,t)):null==t?(n.local?h_:hC)(n):(n.local?hO:hk)(n,r,t))}function hT(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function hR(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function hM(e,t){var n,r;function o(){var o=t.apply(this,arguments);return o!==r&&(n=(r=o)&&hR(e,o)),n}return o._value=t,o}function hN(e,t){var n,r;function o(){var o=t.apply(this,arguments);return o!==r&&(n=(r=o)&&hT(e,o)),n}return o._value=t,o}function hj(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();var r=dl(e);return this.tween(n,(r.local?hM:hN)(r,t))}function hD(e,t){return function(){pv(this,e).delay=+t.apply(this,arguments)}}function hL(e,t){return t=+t,function(){pv(this,e).delay=t}}function hB(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?hD:hL)(t,e)):pb(this.node(),t).delay}function hZ(e,t){return function(){py(this,e).duration=+t.apply(this,arguments)}}function hF(e,t){return t=+t,function(){py(this,e).duration=t}}function hz(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?hZ:hF)(t,e)):pb(this.node(),t).duration}function hU(e,t){if("function"!=typeof t)throw Error();return function(){py(this,e).ease=t}}function hH(e){var t=this._id;return arguments.length?this.each(hU(t,e)):pb(this.node(),t).ease}function hq(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw Error();py(this,e).ease=n}}function hV(e){if("function"!=typeof e)throw Error();return this.each(hq(this._id,e))}function hW(e){"function"!=typeof e&&(e=uL(e));for(var t=this._groups,n=t.length,r=Array(n),o=0;o<n;++o)for(var i,a=t[o],s=a.length,l=r[o]=[],c=0;c<s;++c)(i=a[c])&&e.call(i,i.__data__,c,a)&&l.push(i);return new md(r,this._parents,this._name,this._id)}function h$(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,o=n.length,i=Math.min(r,o),a=Array(r),s=0;s<i;++s)for(var l,c=t[s],u=n[s],d=c.length,f=a[s]=Array(d),p=0;p<d;++p)(l=c[p]||u[p])&&(f[p]=l);for(;s<r;++s)a[s]=t[s];return new md(a,this._parents,this._name,this._id)}function hG(e){return(e+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e})}function hK(e,t,n){var r,o,i=hG(t)?pv:py;return function(){var a=i(this,e),s=a.on;s!==r&&(o=(r=s).copy()).on(t,n),a.on=o}}function hY(e,t){var n=this._id;return arguments.length<2?pb(this.node(),n).on.on(e):this.each(hK(n,e,t))}function hX(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function hQ(){return this.on("end.remove",hX(this._id))}function hJ(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=uP(e));for(var r=this._groups,o=r.length,i=Array(o),a=0;a<o;++a)for(var s,l,c=r[a],u=c.length,d=i[a]=Array(u),f=0;f<u;++f)(s=c[f])&&(l=e.call(s,s.__data__,f,c))&&("__data__"in s&&(l.__data__=s.__data__),d[f]=l,pg(d[f],t,n,f,d,pb(s,n)));return new md(i,this._parents,t,n)}function h0(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=uN(e));for(var r=this._groups,o=r.length,i=[],a=[],s=0;s<o;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var f,p=e.call(l,l.__data__,d,c),h=pb(l,n),m=0,g=p.length;m<g;++m)(f=p[m])&&pg(f,t,n,m,p,h);i.push(p),a.push(l)}return new md(i,a,t,n)}var h1=fc.prototype.constructor;function h2(){return new h1(this._groups,this._parents)}function h3(e,t){var n,r,o;return function(){var i=dS(this,e),a=(this.style.removeProperty(e),dS(this,e));return i===a?null:i===n&&a===r?o:o=t(n=i,r=a)}}function h4(e){return function(){this.style.removeProperty(e)}}function h5(e,t,n){var r,o,i=n+"";return function(){var a=dS(this,e);return a===i?null:a===r?o:o=t(r=a,n)}}function h6(e,t,n){var r,o,i;return function(){var a=dS(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=dS(this,e)),a===l?null:a===r&&l===o?i:(o=l,i=t(r=a,s))}}function h8(e,t){var n,r,o,i,a="style."+t,s="end."+a;return function(){var l=py(this,e),c=l.on,u=null==l.value[a]?i||(i=h4(t)):void 0;(c!==n||o!==u)&&(r=(n=c).copy()).on(s,o=u),l.on=r}}function h7(e,t,n){var r="transform"==(e+="")?pI:hE;return null==t?this.styleTween(e,h3(e,r)).on("end.style."+e,h4(e)):"function"==typeof t?this.styleTween(e,h6(e,r,pN(this,"style."+e,t))).each(h8(this._id,e)):this.styleTween(e,h5(e,r,t),n).on("end.style."+e,null)}function h9(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function me(e,t,n){var r,o;function i(){var i=t.apply(this,arguments);return i!==o&&(r=(o=i)&&h9(e,i,n)),r}return i._value=t,i}function mt(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw Error();return this.tween(r,me(e,t,null==n?"":n))}function mn(e){return function(){this.textContent=e}}function mr(e){return function(){var t=e(this);this.textContent=null==t?"":t}}function mo(e){return this.tween("text","function"==typeof e?mr(pN(this,"text",e)):mn(null==e?"":e+""))}function mi(e){return function(t){this.textContent=e.call(this,t)}}function ma(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&mi(r)),t}return r._value=e,r}function ms(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw Error();return this.tween(t,ma(e))}function ml(){for(var e=this._name,t=this._id,n=mp(),r=this._groups,o=r.length,i=0;i<o;++i)for(var a,s=r[i],l=s.length,c=0;c<l;++c)if(a=s[c]){var u=pb(a,t);pg(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new md(r,this._parents,e,n)}function mc(){var e,t,n=this,r=n._id,o=n.size();return new Promise(function(i,a){var s={value:a},l={value:function(){0==--o&&i()}};n.each(function(){var n=py(this,r),o=n.on;o!==e&&((t=(e=o).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t}),0===o&&i()})}var mu=0;function md(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function mf(e){return fc().transition(e)}function mp(){return++mu}var mh=fc.prototype;md.prototype=mf.prototype={constructor:md,select:hJ,selectAll:h0,selectChild:mh.selectChild,selectChildren:mh.selectChildren,filter:hW,merge:h$,selection:h2,transition:ml,call:mh.call,nodes:mh.nodes,node:mh.node,size:mh.size,empty:mh.empty,each:mh.each,on:hY,attr:hP,attrTween:hj,style:h7,styleTween:mt,text:mo,textTween:ms,remove:hQ,tween:pM,delay:hB,duration:hz,ease:hH,easeVarying:hV,end:mc,[Symbol.iterator]:mh[Symbol.iterator]};var mm={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function mg(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}function mv(e){var t,n;e instanceof md?(t=e._id,e=e._name):(t=mp(),(n=mm).time=f8(),e=null==e?null:e+"");for(var r=this._groups,o=r.length,i=0;i<o;++i)for(var a,s=r[i],l=s.length,c=0;c<l;++c)(a=s[c])&&pg(a,e,t,c,s,n||mg(a,t));return new md(r,this._parents,e,t)}fc.prototype.interrupt=px,fc.prototype.transition=mv;let{abs:my,max:mb,min:mw}=Math;function mS(e){return{type:e}}function mx(e){return"string"==typeof e?new fa([[document.querySelector(e)]],[document.documentElement]):new fa([[e]],fi)}function mE(e){let t;for(;t=e.sourceEvent;)e=t;return e}function mC(e,t){if(e=mE(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var o=t.getBoundingClientRect();return[e.clientX-o.left-t.clientLeft,e.clientY-o.top-t.clientTop]}}return[e.pageX,e.pageY]}["w","e"].map(mS),["n","s"].map(mS),["n","w","e","s","nw","ne","sw","se"].map(mS);let m_={passive:!1},mk={capture:!0,passive:!1};function mO(e){e.stopImmediatePropagation()}function mA(e){e.preventDefault(),e.stopImmediatePropagation()}function mI(e){var t=e.document.documentElement,n=mx(e).on("dragstart.drag",mA,mk);"onselectstart"in t?n.on("selectstart.drag",mA,mk):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function mP(e,t){var n=e.document.documentElement,r=mx(e).on("dragstart.drag",null);t&&(r.on("click.drag",mA,mk),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var mT=e=>()=>e;function mR(e,{sourceEvent:t,subject:n,target:r,identifier:o,active:i,x:a,y:s,dx:l,dy:c,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:i,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:c,enumerable:!0,configurable:!0},_:{value:u}})}function mM(e){return!e.ctrlKey&&!e.button}function mN(){return this.parentNode}function mj(e,t){return null==t?{x:e.x,y:e.y}:t}function mD(){return navigator.maxTouchPoints||"ontouchstart"in this}function mL(){var e,t,n,r,o=mM,i=mN,a=mj,s=mD,l={},c=fX("start","drag","end"),u=0,d=0;function f(e){e.on("mousedown.drag",p).filter(s).on("touchstart.drag",g).on("touchmove.drag",v,m_).on("touchend.drag touchcancel.drag",y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(a,s){if(!r&&o.call(this,a,s)){var l=b(this,i.call(this,a,s),a,s,"mouse");l&&(mx(a.view).on("mousemove.drag",h,mk).on("mouseup.drag",m,mk),mI(a.view),mO(a),n=!1,e=a.clientX,t=a.clientY,l("start",a))}}function h(r){if(mA(r),!n){var o=r.clientX-e,i=r.clientY-t;n=o*o+i*i>d}l.mouse("drag",r)}function m(e){mx(e.view).on("mousemove.drag mouseup.drag",null),mP(e.view,n),mA(e),l.mouse("end",e)}function g(e,t){if(o.call(this,e,t)){var n,r,a=e.changedTouches,s=i.call(this,e,t),l=a.length;for(n=0;n<l;++n)(r=b(this,s,e,t,a[n].identifier,a[n]))&&(mO(e),r("start",e,a[n]))}}function v(e){var t,n,r=e.changedTouches,o=r.length;for(t=0;t<o;++t)(n=l[r[t].identifier])&&(mA(e),n("drag",e,r[t]))}function y(e){var t,n,o=e.changedTouches,i=o.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),t=0;t<i;++t)(n=l[o[t].identifier])&&(mO(e),n("end",e,o[t]))}function b(e,t,n,r,o,i){var s,d,p,h=c.copy(),m=mC(i||n,t);if(null!=(p=a.call(e,new mR("beforestart",{sourceEvent:n,target:f,identifier:o,active:u,x:m[0],y:m[1],dx:0,dy:0,dispatch:h}),r)))return s=p.x-m[0]||0,d=p.y-m[1]||0,function n(i,a,c){var g,v=m;switch(i){case"start":l[o]=n,g=u++;break;case"end":delete l[o],--u;case"drag":m=mC(c||a,t),g=u}h.call(i,e,new mR(i,{sourceEvent:a,subject:p,target:f,identifier:o,active:g,x:m[0]+s,y:m[1]+d,dx:m[0]-v[0],dy:m[1]-v[1],dispatch:h}),r)}}return f.filter=function(e){return arguments.length?(o="function"==typeof e?e:mT(!!e),f):o},f.container=function(e){return arguments.length?(i="function"==typeof e?e:mT(e),f):i},f.subject=function(e){return arguments.length?(a="function"==typeof e?e:mT(e),f):a},f.touchable=function(e){return arguments.length?(s="function"==typeof e?e:mT(!!e),f):s},f.on=function(){var e=c.on.apply(c,arguments);return e===c?f:e},f.clickDistance=function(e){return arguments.length?(d=(e=+e)*e,f):Math.sqrt(d)},f}function mB(e){for(var t,n,r=-1,o=e.length,i=0,a=0,s=e[o-1],l=0;++r<o;)t=s,s=e[r],l+=n=t[0]*s[1]-s[0]*t[1],i+=(t[0]+s[0])*n,a+=(t[1]+s[1])*n;return[i/(l*=3),a/l]}function mZ(e,t,n){this.k=e,this.x=t,this.y=n}mR.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e},mZ.prototype={constructor:mZ,scale:function(e){return 1===e?this:new mZ(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new mZ(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var mF=new mZ(1,0,0);mZ.prototype;let mz=2,mU={svg:{width:800,height:500},button:{height:24,width:24,radius:4,fill:"var(--brand-error-color)"},polygon:{stroke:"#3c8aff",fill:"#3c8aff",strokeWidth:3},mask:{baseFill:"#fff",fill:"#000",opacity:.15},handle:{stroke:"#3c8aff",strokeWidth:2,radius:4,fill:"#fff",fillHover:"#8db5ff"}},mH=15,mq=3;function mV(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"M"+e.map(e=>e.join(" ")).join(" L ")+(t?" Z":"")}function mW(e){return[Math.min(Math.max(e[0],mz),mU.svg.width-mz),Math.min(Math.max(e[1],mz),mU.svg.height-mz)]}function m$(e,t,n){return mG(e,t,n,!0)}function mG(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=[...n.slice(t+1),...n.slice(0,r?t+1:t)];return!(mK([e,o[0]],o)||mK([e,o[o.length-1]],o))}function mK(e,t){if(t.length<2)return!1;for(let n=0;n<t.length-1;n++)if(mX(e,[t[n],t[n+1]]))return!0;return!1}function mY(e,t){let[n,r]=e,[o,i]=t;return n===o&&r===i}function mX(e,t){let[n,r]=e,[o,i]=t;if(mY(n,o)||mY(n,i)||mY(r,o)||mY(r,i))return!1;let a=n[0]-r[0],s=o[0]-i[0],l=n[1]-r[1],c=o[1]-i[1],u=a*c-l*s;if(0==u)return!1;let d=n[0]*r[1]-n[1]*r[0],f=o[0]*i[1]-o[1]*i[0],p=(d*s-a*f)/u,h=(d*c-l*f)/u;return!(p<Math.min(n[0],r[0])||p>Math.max(n[0],r[0])||p<Math.min(o[0],i[0])||p>Math.max(o[0],i[0])||h<Math.min(n[1],r[1])||h>Math.max(n[1],r[1])||h<Math.min(o[1],i[1])||h>Math.max(o[1],i[1]))}class mQ{get points(){return this._points}get lastPoint(){return this._points[this._points.length-1]}addPoint(e){this._points.push(e),this._update()}insertPoint(e,t){this._points.splice(e,0,t),this._update()}updatePoint(e,t){this._points[e]=t,this._update()}_update(){this._path.attr("d",mV(this._points,this._closed))}constructor(e,t=[],{closed:n=!0,style:r,className:o}={}){var i,a,s;this.remove=()=>{this._path.remove()},this.lower=()=>{this._path.lower()},this._path=e.append("path"),this._path.attr("fill",null!==(i=null==r?void 0:r.fill)&&void 0!==i?i:"none").attr("stroke",null!==(a=null==r?void 0:r.stroke)&&void 0!==a?a:mU.polygon.stroke).attr("stroke-width",mU.polygon.strokeWidth).attr("opacity",null!==(s=null==r?void 0:r.opacity)&&void 0!==s?s:1),o&&this._path.attr("class",o),this._points=[...t],this._closed=n,this._update()}}class mJ{get mask(){return this._mask}hide(){this._blackRectangle.attr("opacity",0)}show(){this._blackRectangle.attr("opacity",mU.mask.opacity)}destroy(){this._mask.remove(),this._blackRectangle.remove()}constructor(e){let t=(0,ug.Z)();this._mask=e.layers.background.append("mask").attr("id",t),this._mask.append("rect").attr("x",0).attr("y",0).attr("height","100%").attr("width","100%").attr("fill",mU.mask.baseFill),this._blackRectangle=e.layers.background.append("rect").attr("mask","url(#".concat(t,")")).attr("x",0).attr("y",0).attr("height","100%").attr("width","100%").attr("fill",mU.mask.fill),this.hide()}}class m0{update(e){let[t,n]=e;this._handle.attr("cx",t).attr("cy",n)}onClick(e){this._handle.on("click",t=>{e([t.offsetX,t.offsetY])}).on("mouseover",function(){mx(this).attr("fill",mU.handle.fillHover)}).on("mouseout",function(){mx(this).attr("fill",mU.handle.fill)}).style("cursor","hand")}onDrag(e,t,n){this._handle.call(mL().on("drag",t=>{let{x:n,y:r}=t;e([n,r])}).on("start",e=>{let{x:n,y:r}=e;null==t||t([n,r])}).on("end",e=>{let{x:t,y:r}=e;null==n||n([t,r])}))}constructor(e,t,{style:n}={}){var r;this.remove=()=>{this._handle.remove()},this._handle=e.append("circle"),this._handle.attr("class","ignored").attr("fill",mU.handle.fill).attr("r",mU.handle.radius).attr("stroke",mU.handle.stroke).attr("stroke-width",mU.handle.strokeWidth).attr("opacity",null!==(r=null==n?void 0:n.opacity)&&void 0!==r?r:1),this.update(t)}}let m1="M 360 184 h -8 c 4.4 0 8 -3.6 8 -8 v 8 h 304 v -8 c 0 4.4 3.6 8 8 8 h -8 v 72 h 72 v -80 c 0 -35.3 -28.7 -64 -64 -64 H 352 c -35.3 0 -64 28.7 -64 64 v 80 h 72 v -72 z m 504 72 H 160 c -17.7 0 -32 14.3 -32 32 v 32 c 0 4.4 3.6 8 8 8 h 60.4 l 24.7 523 c 1.6 34.1 29.8 61 63.9 61 h 454 c 34.2 0 62.3 -26.8 63.9 -61 l 24.7 -523 H 888 c 4.4 0 8 -3.6 8 -8 v -32 c 0 -17.7 -14.3 -32 -32 -32 z M 731.3 840 H 292.7 l -24.2 -512 h 487 l -24.2 512 z";class m2{update(e){let[t,n]=e;this._button.attr("transform","translate(".concat(t-mU.button.width/2,", ").concat(n-mU.button.height/2,")"))}onClick(e){this._button.on("click",t=>{e([t.offsetX,t.offsetY])})}hide(){this._button.transition().duration(100).attr("opacity",0)}show(){this._button.transition().duration(100).attr("opacity",1)}constructor(e,t){this.remove=()=>{this._button.remove()},this._button=e.append("g").style("cursor","hand").on("mouseenter",()=>this._buttonBackground.transition().duration(100).attr("opacity",.9)).on("mouseleave",()=>this._buttonBackground.transition().duration(100).attr("opacity",1)).attr("opacity",0),this.update(t),this._buttonBackground=this._button.append("rect").attr("width",mU.button.width).attr("height",mU.button.height).attr("fill",mU.button.fill).attr("rx",mU.button.radius).attr("opacity",1),this._button.append("path").attr("d",m1).attr("transform","scale(0.015) translate(300, 300)").attr("fill","white")}}class m3{insertPoint(e,t){this._points.splice(e,0,t),this._update()}updatePoint(e,t){this._points[e]=t,this._update()}select(){this._selected=!0,this._button.show(),this._path.attr("opacity",.1).style("cursor","default")}deselect(){this._selected=!1,this._button.hide(),this._path.attr("opacity",0).style("cursor","hand")}remove(){this._root.remove()}_update(){this._path.attr("d",mV(this._points)),this._button.update(mB(this._points))}constructor(e,t){this.events=new(uA()),this._points=[...t],this._selected=!1,this._root=e.append("g").on("click",()=>{this.select(),this.events.emit("select")}).on("mouseenter",()=>{this._selected||this._button.show()}).on("mouseleave",()=>{this._selected||this._button.hide()}).lower(),this._path=this._root.append("path").style("cursor","hand").attr("fill",mU.polygon.fill).attr("opacity",0).attr("d",mV(t)),this._button=new m2(this._root,mB(this._points)),this._button.onClick(()=>this.events.emit("remove"))}}class m4{remove(){this._handles.forEach(e=>e.remove()),this._middleHandles.forEach(e=>e.remove())}_getMiddlePointByIndex(e){let[t,n]=this._getPointByIndex(e),[r,o]=this._getPointByIndex(e+1);return[(t+r)/2,(n+o)/2]}_getPointByIndex(e){return e<0&&(e+=this._polygon.points.length),this._polygon.points[e%this._polygon.points.length]}constructor(e,t){this._middleHandles=[],this._createPointHandle=e=>{let t=new m0(this._container,e);return t.onDrag(e=>{var n,r;let o=this._handles.indexOf(t),i=mW(e);if(!mG(i,o,this._polygon.points))return;t.update(i),this.events.emit("update",o,i);let a=this._getMiddlePointByIndex(o);null===(n=this._middleHandles[o])||void 0===n||n.update(a);let s=this._getMiddlePointByIndex(o-1);null===(r=this._middleHandles[0===o?this._middleHandles.length-1:o-1])||void 0===r||r.update(s)}),t},this._createMiddleHandle=e=>{let t;let n=new m0(this._container,e,{style:{opacity:.5}});return n.onDrag(e=>{let r=this._middleHandles.indexOf(n),o=mW(e);m$(o,r,this._polygon.points)&&(n.update(o),t.updatePoint(1,o))},e=>{this._polygon.points.length===mH-1&&this._middleHandles.forEach(e=>e.remove());let r=mW(e),o=this._middleHandles.indexOf(n);(t=new mQ(this._container,[this._getPointByIndex(o),r,this._getPointByIndex(o+1)],{closed:!1,style:{opacity:.3}})).lower()},e=>{t.remove();let r=this._middleHandles.indexOf(n),o=mW(e);if(!m$(o,r,this._polygon.points)){let e=this._getMiddlePointByIndex(r);n.update(e);return}if(this._handles.splice(r+1,0,this._createPointHandle(o)),this.events.emit("add",r+1,o),this._polygon.points.length===mH){this._middleHandles.length=0;return}let i=this._getMiddlePointByIndex(r);n.update(i);let a=this._getMiddlePointByIndex(r+1);this._middleHandles.splice(r+1,0,this._createMiddleHandle(a))}),n},this.events=new(uA()),this._container=e,this._polygon=t,this._handles=this._polygon.points.map(this._createPointHandle),t.points.length!==mH&&(this._middleHandles=Array(this._handles.length).fill(void 0).map((e,t)=>this._createMiddleHandle(this._getMiddlePointByIndex(t))))}}class m5{get points(){return this._polygon.points}deselect(){this._polygonRemove.deselect()}remove(){this._polygon.remove(),this._polygonHandles.remove(),this._polygonMask.remove(),this._polygonRemove.remove()}constructor(e,t){this._handleAddPoint=(e,t)=>{this._polygon.insertPoint(e,t),this._polygonMask.insertPoint(e,t),this._polygonRemove.insertPoint(e,t),this.events.emit("add",e,t)},this._handleUpdatePoint=(e,t)=>{this._polygon.updatePoint(e,t),this._polygonMask.updatePoint(e,t),this._polygonRemove.updatePoint(e,t),this.events.emit("update",e,t)},this.events=new(uA()),this._polygon=new mQ(e.layers.drawing,t),this._polygonMask=new mQ(e.darkArea.mask,t,{style:{fill:mU.mask.fill,stroke:"none"}}),this._polygonHandles=new m4(e.layers.handle,this._polygon),this._polygonHandles.events.on("add",this._handleAddPoint),this._polygonHandles.events.on("update",this._handleUpdatePoint),this._polygonRemove=new m3(e.layers.handle,t),this._polygonRemove.events.on("select",()=>this.events.emit("select")),this._polygonRemove.events.on("remove",()=>this.events.emit("remove"))}}class m6{onStop(){var e,t;null===(e=this._drawStartHandler)||void 0===e||e.remove(),null===(t=this._group)||void 0===t||t.remove()}constructor(e){this._handleStartDrawing=e=>{let t=[e.offsetX,e.offsetY];this._group=this._manager.layers.handle.append("g").attr("class","ignored"),this._path=this._group.append("path").attr("stroke",mU.polygon.stroke).attr("stroke-width",mU.polygon.strokeWidth),this._newPolygon=new mQ(this._manager.layers.drawing,[t],{closed:!1,className:"ignored"}),this._drawHandler=this._manager.layers.overlay.append("rect").attr("width","100%").attr("height","100%").attr("opacity","0").on("click",this._handleNewPoint).on("mousemove",this._handleMouseMove).style("cursor","crosshair"),this._closeHandle=new m0(this._manager.layers.overlay,t)},this._handleNewPoint=e=>{var t,n,r,o;let i=[e.offsetX,e.offsetY];!this._newPolygon||mK([this._newPolygon.lastPoint,i],this._newPolygon.points.slice(0,-1))||(null===(t=this._newPolygon)||void 0===t||t.addPoint(i),this._group&&new m0(this._group,i),(null===(n=this._newPolygon)||void 0===n?void 0:n.points.length)===mH&&this._closePolygon(),(null===(r=this._newPolygon)||void 0===r?void 0:r.points.length)===mq&&(null===(o=this._closeHandle)||void 0===o||o.onClick(this._closePolygon)))},this._handleMouseMove=e=>{var t,n;this._path&&(null===(t=this._newPolygon)||void 0===t?void 0:t.lastPoint)&&this._path.attr("d",mV([null===(n=this._newPolygon)||void 0===n?void 0:n.lastPoint,[e.offsetX,e.offsetY]]))},this._closePolygon=()=>{var e,t,n;this._newPolygon&&(this._manager.addPolygon(this._newPolygon.points),this._path=void 0,this._newPolygon.remove(),this._newPolygon=void 0,null===(e=this._drawHandler)||void 0===e||e.remove(),null===(t=this._group)||void 0===t||t.remove(),null===(n=this._closeHandle)||void 0===n||n.remove())},this._manager=e,this._drawStartHandler=this._manager.layers.interact.append("rect").attr("width","100%").attr("height","100%").attr("opacity","0").on("click",this._handleStartDrawing).style("cursor","crosshair")}}class m8{get polygons(){return this._polygons}get darkArea(){return this._darkMask}get drawings(){return{polygons:this._polygons.map(e=>{let{points:t}=e;return{points:t}})}}get hasDrawings(){return this._polygons.length>0}destroy(){var e,t;null===(e=(t=this._mode).onStop)||void 0===e||e.call(t),this._root.html("")}addPolygon(e){this._polygons.push(this._createPolygon(e)),this._darkMask.show(),this.events.emit("update")}clear(){this._polygons.forEach(e=>e.remove()),this._polygons.length=0,this._darkMask.hide(),this.events.emit("update")}async exportImage(){this._root.selectAll(".ignored").remove();let e=new XMLSerializer().serializeToString(this._root.node()),[t,n]=await Promise.all([(0,eb.po)(this._baseImage),(0,eb.po)("data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(e))))]),r=mU.svg.width/mU.svg.height,o=t.width/t.height,i=o>r?t.width:Math.round(t.height*r),a=o>r?Math.round(t.width/r):t.height,s=window.document.createElement("canvas");s.width=i,s.height=a;let l=s.getContext("2d");return null==l||l.drawImage(t,(i-t.width)/2,(a-t.height)/2),null==l||l.drawImage(n,0,0,i,a),s.toDataURL("image/png")}constructor(e,t,n={}){var r,o;this._createPolygon=e=>{let t=new m5(this,e);return t.events.on("select",()=>{this._polygons.forEach(e=>{e!==t&&e.deselect()})}),t.events.on("remove",()=>{t.remove(),this._polygons=this._polygons.filter(e=>e!==t),0===this._polygons.length&&this._darkMask.hide(),this.events.emit("update")}),t},this.events=new(uA()),this._baseImage=t,this._root=mx(e).attr("class","root").attr("height",mU.svg.height).attr("width",mU.svg.width),this.layers={background:this._root.append("g").attr("class","background"),drawing:this._root.append("g").attr("class","drawing"),interact:this._root.append("g").attr("class","interact"),handle:this._root.append("g").attr("class","handle"),overlay:this._root.append("g").attr("class","overlay")},this.layers.background.append("image").attr("class","ignored").attr("href",t).attr("height",mU.svg.height).attr("width",mU.svg.width),this._darkMask=new mJ(this),this._polygons=null!==(o=null==n?void 0:null===(r=n.polygons)||void 0===r?void 0:r.map(e=>this._createPolygon(e.points)))&&void 0!==o?o:[],this._polygons.length>0&&this._darkMask.show(),this._mode=new m6(this)}}let m7=e=>{var t;let{url:n,fullName:r,name:o,remove:a}=e,{t:s}=(0,u.$G)(),c=(0,l.useRef)(null),{me:d}=(0,f.KR)(),p=D.Z.useFormInstance(),h=D.Z.useWatch(r),m=D.Z.useWatch("floor"),{addMiddleware:g,removeMiddleware:v}=(0,c2.Pn)(),[y,b]=(0,l.useState)(),[w,S]=(0,l.useState)(!1),[x,E]=(0,l.useState)(!1),[C,_]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if((null==c?void 0:c.current)&&h){let{url:e,drawing:t}=h,n=new m8(null==c?void 0:c.current,e,t);return n.events.on("update",()=>{_(n.hasDrawings)}),b(n),_(n.hasDrawings),()=>{null==n||n.destroy()}}},[n,h,x]);let k=(0,l.useCallback)(async()=>{if(!x||!y)return;if(!y.hasDrawings){E(!1),p.setFieldValue([...r,"drawing"],null),p.setFieldValue([...r,"drawingUrl"],null);return}let e=await y.exportImage();if(!e)return;E(!1),S(!0);let t=await uy(uv(e),"option-floorplan",sm.Co.PUBLIC_READ);p.setFieldValue([...r,"drawing"],y.drawings),p.setFieldValue([...r,"drawingUrl"],t.url),S(!1)},[x,y]);(0,l.useEffect)(()=>{let e=r.join("_");return g(e,k),()=>v(e)},[k]);let O=()=>{null==y||y.clear()},A=null!==(t=null==h?void 0:h.drawingUrl)&&void 0!==t?t:null==h?void 0:h.url,I=s("floor-number","Floor {{number}}",{number:m}),P=(null==h?void 0:h.name)?"".concat(h.name," - ").concat(I):I;return(0,i.jsx)(Y.ey,{options:{mainClass:"pswp__inverse"},children:(0,i.jsx)(Y.M1,{content:(0,i.jsx)(Y.Ee,{src:A,className:"max-h-screen !max-w-full"}),children:e=>{var t;let{ref:n,open:r}=e;return(0,i.jsxs)("div",{className:"brand-bg-secondary-lighter mb-4 rounded",children:[(0,i.jsxs)("div",{className:"flex items-center justify-between gap-2 px-2 pt-2",children:[(0,i.jsx)("div",{className:"truncate text-base",children:P}),x?(0,i.jsxs)("div",{className:"flex gap-2",children:[(0,i.jsx)(M.ZP,{disabled:!C,icon:(0,i.jsx)(u_.Z,{}),onClick:O,className:"mr-2",children:s("clear-drawing","Clear drawing")}),(0,i.jsx)(M.ZP,{onClick:()=>E(!1),children:s("cancel","Cancel")}),(0,i.jsx)(M.ZP,{type:"primary",onClick:k,children:s("save","Save")})]}):(0,i.jsxs)("div",{className:"flex gap-2",children:[(null==d?void 0:null===(t=d.agent)||void 0===t?void 0:t.isFloorPlanDrawingEnabled)&&(0,i.jsx)(M.ZP,{onClick:()=>E(!0),icon:(0,i.jsx)(Q.Z,{}),children:(null==h?void 0:h.drawing)?s("agent:edit-floorplans","Edit drawing"):s("agent:draw-on-floorplans","Draw on floorplan")}),(0,i.jsx)(M.ZP,{onClick:r,children:s("agent:preview","Preview")}),(0,i.jsx)(M.ZP,{onClick:a,icon:(0,i.jsx)(uk.Z,{})})]})]}),(0,i.jsxs)("div",{className:"p-2",children:[(0,i.jsx)(ty.Z,{spinning:w,children:x?(0,i.jsx)("div",{className:"flex w-full justify-center",children:(0,i.jsx)("svg",{ref:c})}):(0,i.jsx)("div",{ref:n,children:(0,i.jsx)(Y.Ee,{className:"mx-auto",src:A,fit:"contain"})})}),(0,i.jsx)(D.Z.Item,{name:[...o,"drawing"],noStyle:!0,children:(0,i.jsx)(s1.default,{hidden:!0})}),(0,i.jsx)(D.Z.Item,{name:[...o,"drawingUrl"],noStyle:!0,children:(0,i.jsx)(s1.default,{hidden:!0})})]})]})}})})},m9=e=>{var t;let{onSelectFloor:n}=e,{t:r}=(0,u.$G)(),{me:o}=(0,f.KR)(),a=D.Z.useWatch("floor");return(0,i.jsxs)(D.Z.Item,{label:r("floor-plans","Floorplans"),children:[(0,i.jsx)(uC,{name:"floorplans",path:"option-floorplan",itemRender:m7,description:(0,i.jsx)(i.Fragment,{children:(null==o?void 0:null===(t=o.agent)||void 0===t?void 0:t.isFloorPlanDrawingEnabled)&&r("agent:floorplans-let-view","Let your viewers know exactly where the offered space is located on the floorplan map. This will higher the chance of your space to be visible.")})}),!a&&(0,i.jsxs)("div",{className:"brand-border-secondary-light mt-4 rounded border p-6 text-center",children:[(0,i.jsx)("div",{className:"text-base",children:r("agent:please-choose-floor","Please choose a floor to view existing floorplans")}),(0,i.jsx)(M.ZP,{type:"link",onClick:n,children:r("agent:select-floor","Select floor")})]})]})},ge=()=>{let{t:e}=(0,u.$G)();return(0,i.jsx)(D.Z.Item,{name:"name",label:e("option-title","Option title"),children:(0,i.jsx)(s1.default,{"data-testid":"option-title",className:"!w-[408px]",allowClear:!0})})},gt=e=>{let{url:t,remove:n}=e;return(0,i.jsx)(Y.Cn,{file:{url:t},onDelete:n})},gn=()=>{let{t:e}=(0,u.$G)();return(0,i.jsx)(D.Z.Item,{label:e("photos","Photos"),children:(0,i.jsx)(uC,{name:"photos",path:"officesuite",itemRender:gt,itemsClassName:"mt-4 flex gap-4 flex-wrap"})})};var gr=n(95907);let go=()=>{let{t:e}=(0,u.$G)(),t=(0,l.useMemo)(()=>({[fZ.Interior]:e("space-location.interior","Interior"),[fZ.Exterior]:e("space-location.exterior","Exterior"),[fZ.EntireFloor]:e("space-location.entire-floor","Entire floor"),[fZ.ExteriorInterior]:e("space-location.exterior-interior","Exterior & Interior"),[fZ.NotSpecified]:e("space-location.not-specified","Not specified")}),[e]);return(0,i.jsx)(D.Z.Item,{name:"location",label:e("placement","Placement"),children:(0,i.jsx)(gr.ZP.Group,{children:(0,i.jsx)("div",{className:"flex gap-2",children:Object.values(fZ).map(e=>(0,i.jsx)(gr.ZP,{value:e,"data-testid":"placement-option",children:t[e]},e))})})})},gi=()=>{let{t:e}=(0,u.$G)(),t=(0,l.useMemo)(()=>({[fI.Gbp]:e("currencies:GBP","GBP - British Pound"),[fI.Eur]:e("currencies:EUR","EUR - Euro"),[fI.Usd]:e("currencies:USD","USD - US Dollar"),[fI.Inr]:e("currencies:INR","INR - Indian Rupee"),[fI.Cad]:e("currencies:CAD","CAD - Canadian Dollar"),[fI.Aud]:e("currencies:AUD","AUD - Australian Dollar"),[fI.Sgd]:e("currencies:SGD","SGD - Singapore Dollar"),[fI.Hkd]:e("currencies:HKD","HKD - Hong Kong Dollar"),[fI.Cny]:e("currencies:CNY","CNY - Chinese Renminbi Yuan"),[fI.Jpy]:e("currencies:JPY","JPY - Japanese Yen"),[fI.Chf]:e("currencies:CHF","CHF - Swiss Franc"),[fI.Idr]:e("currencies:IDR","IDR - Indonesian Rupiah"),[fI.Aed]:e("currencies:AED","AED - United Arab Emirates Dirham"),[fI.Czk]:e("currencies:CZK","CZK - Czech Koruna"),[fI.Dkk]:e("currencies:DKK","DKK - Danish Krone"),[fI.Egp]:e("currencies:EGP","EGP - Egyptian Pound"),[fI.Huf]:e("currencies:HUF","HUF - Hungarian Forint"),[fI.Ils]:e("currencies:ILS","ILS - Israeli New Shekel"),[fI.Mad]:e("currencies:MAD","MAD - Moroccan Dirham"),[fI.Ngn]:e("currencies:NGN","NGN - Nigerian Naira"),[fI.Pln]:e("currencies:PLN","PLN - Polish Złoty"),[fI.Ron]:e("currencies:RON","RON - Romanian Leu"),[fI.Rub]:e("currencies:RUB","RUB - Russian Ruble"),[fI.Sek]:e("currencies:SEK","SEK - Swedish Krona"),[fI.Thb]:e("currencies:THB","THB - Thai Baht"),[fI.Try]:e("currencies:TRY","TRY - Turkish Lira"),[fI.Ugx]:e("currencies:UGX","UGX - Ugandan Shilling"),[fI.Vnd]:e("currencies:VND","VND - Vietnamese Đồng"),[fI.Zar]:e("currencies:ZAR","ZAR - South African Rand"),[fI.Krw]:e("currencies:KRW","KRW - South Korean Won"),[fI.Php]:e("currencies:PHP","PHP - Phillipine Peso"),[fI.Nok]:e("currencies:NOK","NOK - Norwegian Krone"),[fI.Uah]:e("currencies:UAH","UAH - Ukrainian Hryvnia"),[fI.Byn]:e("currencies:BYN","BYN - Belarusian Ruble")}),[]);return(0,i.jsx)(D.Z.Item,{name:"currency",noStyle:!0,children:(0,i.jsx)(c.default,{placeholder:e("select-currency","Select currency"),className:"!w-[208px]",children:Object.values(fI).filter(e=>t[e]).map(e=>(0,i.jsx)(c.default.Option,{value:e,children:t[e]},e))})})},ga=["price","from"],gs=["price","to"],gl=()=>{let{t:e}=(0,u.$G)(),t=D.Z.useWatch(gs);return(0,i.jsx)(ut,{label:e("monthly-cost-of-occupancy","Monthly cost of occupancy"),to:gs,children:n=>{let{isRange:r}=n;return(0,i.jsxs)("div",{className:"flex items-center gap-4",children:[(0,i.jsx)(gi,{}),(0,i.jsx)(D.Z.Item,{name:ga,rules:[ur(t,e),un(t,e)],noStyle:!0,dependencies:[gs],children:(0,i.jsx)(L.Z,{className:"!w-[184px]",precision:0,min:0})}),(0,i.jsx)("div",{className:"w-2",children:"—"}),(0,i.jsx)(D.Z.Item,{name:gs,noStyle:!0,children:(0,i.jsx)(L.Z,{className:"!w-[184px]",precision:0,disabled:!r})})]})}})},gc=()=>{let{t:e}=(0,u.$G)(),t=(0,l.useMemo)(()=>({[fB.SquareFoot]:e("size-unit.square-foot","ft\xb2"),[fB.SquareMeter]:e("size-unit.square-meter","m\xb2")}),[]);return(0,i.jsx)(D.Z.Item,{name:["size","unit"],noStyle:!0,children:(0,i.jsx)(c.default,{placeholder:e("select-unit","Select unit"),className:"!w-[208px]",children:Object.values(fB).map(e=>(0,i.jsx)(c.default.Option,{value:e,children:t[e]},e))})})},gu=["size","from"],gd=["size","to"],gf=()=>{let{t:e}=(0,u.$G)(),t=D.Z.useWatch(gd);return(0,i.jsx)(ut,{label:e("size","Size"),to:gd,children:n=>{let{isRange:r}=n;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(gc,{}),(0,i.jsx)(D.Z.Item,{name:gu,rules:[ur(t,e),un(t,e)],noStyle:!0,dependencies:[gd],children:(0,i.jsx)(L.Z,{precision:0,min:0,className:"!w-[184px]"})}),(0,i.jsx)("div",{className:"w-2",children:"—"}),(0,i.jsx)(D.Z.Item,{name:gd,noStyle:!0,children:(0,i.jsx)(L.Z,{precision:0,disabled:!r,className:"!w-[184px]"})})]})}})},gp=e=>{var t;let{suggestedFloorPlans:n,onAdd:r}=e,{t:o}=(0,u.$G)(),a=null!==(t=D.Z.useWatch("floorplans"))&&void 0!==t?t:[],s=D.Z.useWatch("floor");function l(e){return e.floor===s}function c(e){return!a.find(t=>{var n;return c5(t)?t.originalId===e.originalId:(null===(n=t.original)||void 0===n?void 0:n.id)===e.originalId})}let d=n.filter(l).filter(c);return(0,i.jsx)(i.Fragment,{children:null==d?void 0:d.map(e=>(0,i.jsxs)(tb.Z,{className:"brand-bg-secondary-lighter mb-2 rounded p-2",justify:"space-between",align:"middle",children:[(0,i.jsx)(tw.Z,{children:e.name}),(0,i.jsx)(tw.Z,{children:(0,i.jsx)(M.ZP,{onClick:()=>r(e),children:o("add","Add")})})]},e.name))})},gh=60,gm=["termLength","from"],gg=["termLength","to"],gv=()=>{let{t:e}=(0,u.$G)(),t=D.Z.useWatch(gg);return(0,i.jsx)(ut,{label:e("text.term-length-months","Term length, months"),to:gg,children:n=>{let{isRange:r}=n;return(0,i.jsxs)("div",{className:"flex items-center gap-4",children:[(0,i.jsx)(D.Z.Item,{name:gm,rules:[ur(t,e),ur(gh,e),un(t,e)],noStyle:!0,dependencies:[gg],children:(0,i.jsx)(L.Z,{precision:0,min:0,className:"!w-[184px]",size:"middle"})}),(0,i.jsx)("div",{className:"w-2",children:"—"}),(0,i.jsx)(D.Z.Item,{name:gg,rules:[ur(gh,e)],noStyle:!0,children:(0,i.jsx)(L.Z,{precision:0,disabled:!r,className:"!w-[184px]",size:"middle"})})]})}})},gy=()=>{let{t:e}=(0,u.$G)(),t=(0,l.useMemo)(()=>({[fz.SelfContainedManagedSpace]:{title:e("space-type:self-contained-managed-space.title","Managed space (licence)"),description:e("space-type:self-contained-managed-space.description","Large turn key requirements with some customisation, including a private kitchen area.")},[fz.PrivateOffice]:{title:e("space-type:private-office.title","Private office"),description:e("space-type:private-office.description","Fully furnished private offices with shared facilities.")},[fz.Membership]:{title:e("space-type:membership.title","Membership"),description:e("space-type:membership.description","Business lounge access usually without a coworking desk.")},[fz.PipelineManagedSpace]:{title:e("space-type:pipeline-managed-space.title","Prebuilt space (lease)"),description:e("space-type:pipeline-managed-space.description","Space that is owned, operated and leased by the landlord. Available with short term leases.")},[fz.CoworkingDesks]:{title:e("space-type:coworking-desks.title","Coworking desks"),description:e("space-type:coworking-desks.description","Hot desks and fixed desks in a coworking environment.")},[fz.MeetingRoom]:{title:e("space-type:meeting-room.title","Meeting room"),description:e("space-type:meeting-room.description","A room where a number of people can have a meeting.")},[fz.EventSpace]:{title:e("space-type:event-space.title","Event space"),description:e("space-type:event-space.description","Dedicated space for hosting standing and/or seated events.")},[fz.NotSpecified]:{title:e("space-type:not-specified.title","Not specified"),description:null}}),[]);return(0,i.jsx)(D.Z.Item,{name:"type",label:e("space-type","Space type"),children:(0,i.jsx)(c.default,{placeholder:e("select-type","Select type"),size:"middle",optionLabelProp:"label","data-testid":"space-type",className:"!w-[408px]",children:Object.entries(t).map(e=>{let[t,n]=e;return(0,i.jsxs)(c.default.Option,{label:n.title,"data-testid":"space-type-option",value:t,children:[n.title,n.description&&(0,i.jsx)("div",{className:"brand-text-secondary whitespace-normal text-xs font-normal",children:n.description})]},t)})})})};!function(e){e.DETAILS="details",e.CONTENT="content"}(o||(o={}));let gb={forceRender:!0},gw={name:"details",description:"details",type:"details",availableFrom:"details",termLength:"details",location:"details",floor:"details",desks:"details",size:"details",price:"details",photos:"content",floorplans:"content"},gS=e=>{let{referralId:t,form:n,initialValues:r,onFormFinish:o,onClose:a,isLoading:s=!1}=e,{t:c}=(0,u.$G)(),{isLocked:d,waitForMiddleware:f}=(0,c2.Pn)(),[p,h]=(0,l.useState)(!1),[m,g]=(0,l.useState)("details"),{suggestedFloorPlans:v,loading:y}=c6(t),b=async e=>{var t;let o=null!==(t=null==r?void 0:r.floorplans)&&void 0!==t?t:[],i=o.filter(t=>t.floor!==e).map(e=>({...e,isDeleted:!0})),a=o.filter(t=>t.floor===e),s=v.filter(t=>t.floor===e).filter(e=>!(null==o?void 0:o.find(t=>{let{original:n}=t;return(null==n?void 0:n.id)===e.originalId})));n.setFieldValue("floorplans",[...a,...s,...i])};function w(e){setTimeout(()=>{n.scrollToField(e,{behavior:"smooth",block:"center"})},0)}(0,l.useEffect)(()=>{r&&n.resetFields()},[r]);let S=(0,l.useCallback)(async()=>{try{h(!0),await n.validateFields(),await f(),n.submit()}catch(o){var e,t,r;let n=null==o?void 0:null===(t=o.errorFields)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.name;g(null!==(r=gw[null==n?void 0:n[0]])&&void 0!==r?r:"content"),w(n)}finally{h(!1)}},[n,f]),x=(0,l.useCallback)(()=>{g(gw.floor),w("floor")},[n]),E=e=>{let{type:t,floor:r}=e;t&&N.mA.has(t)&&n.setFieldsValue({availableFrom:null,status:eO.sXm.Available}),r&&b(r)},C=e=>{var t;let r=null!==(t=n.getFieldValue("floorplans"))&&void 0!==t?t:[];n.setFieldsValue({floorplans:[...r,e]})},_=()=>{null==a||a(),n.resetFields()},k=()=>{if(!n.isFieldsTouched()){_();return}F.Z.confirm({title:c("agent:confirm.discard.title","Discard changes"),content:c("agent:confirm.discard.content","Do you want to discard changes?"),okText:c("discard","Discard"),okButtonProps:{type:"primary",danger:!0},onOk:_,cancelText:c("cancel","Cancel"),centered:!0})},O=[{...gb,label:c("details","Details"),key:"details",children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ge,{}),(0,i.jsx)(ue,{}),(0,i.jsx)(gv,{}),(0,i.jsx)(gy,{}),(0,i.jsx)(c8,{}),(0,i.jsx)(ua,{}),(0,i.jsx)(gf,{}),(0,i.jsx)(gl,{}),(0,i.jsx)(uf,{floorPlans:v,loading:y,disabled:y}),(0,i.jsx)(go,{})]})},{...gb,label:c("agent:content","Content"),key:"content",children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(gn,{}),(0,i.jsx)(m9,{onSelectFloor:x}),(0,i.jsx)(gp,{suggestedFloorPlans:v,onAdd:C})]})}];return(0,i.jsx)(ty.Z,{spinning:s,className:"!fixed h-full !max-h-max",children:(0,i.jsxs)(D.Z,{form:n,initialValues:r,onFinish:o,onValuesChange:E,layout:"vertical",className:"!mx-6 !pb-6",children:[(0,i.jsx)(sK.Z,{items:O,onChange:e=>g(e),activeKey:m}),(0,i.jsxs)("div",{className:"mt-4 flex gap-4",children:[(0,i.jsx)(M.ZP,{type:"primary",onClick:S,"data-testid":"save-button",loading:s||d||p,disabled:s||d||p,children:c("save","Save")}),(0,i.jsx)(M.ZP,{onClick:k,children:c("cancel","Cancel")})]})]})})},gx=(0,c2.$k)(gS);var gE=n(49335),gC=n.n(gE);let g_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.filter(e=>!e.isDeleted).filter(e=>!e.id).map(e=>gC()(e,t.create||[])),r=e.filter(e=>!e.isDeleted).filter(e=>e.id).map(e=>gC()(e,t.update||[])),o=e.filter(e=>e.isDeleted).filter(e=>e.id).map(e=>gC()(e,t.delete||[]));return{...n?{create:n}:{},...r?{update:r}:{},...o?{delete:o}:{}}};function gk(){let e=(0,ea._)(["\n  mutation createOption($data: CreateOptionInput!) {\n    option {\n      create(data: $data) {\n        option {\n          id\n        }\n      }\n    }\n  }\n"]);return gk=function(){return e},e}let gO=e=>{let{open:t,onClose:n,referralId:r}=e,{t:o}=(0,u.$G)(),[a]=D.Z.useForm(),{refetch:s}=(0,cD.eP)(),{me:c}=(0,f.KR)(),[d,{loading:p}]=cG(),h=(0,l.useMemo)(()=>{var e;if(c)return{referralId:r,price:{from:null,to:null},currency:c.currency||fI.Gbp,size:{from:null,to:null,unit:null!==(e=c1[c.locale])&&void 0!==e?e:fB.SquareFoot},desks:{from:null,to:null},termLength:{from:null,to:null},location:fZ.NotSpecified,type:fz.NotSpecified}},[c]),m=async e=>{try{await d({variables:{data:{...e,referralId:r,photos:g_(e.photos,{create:["url"]}),floorplans:g_(e.floorplans,{create:["url","name","floor","drawing","drawingUrl","originalId"]})}}}),ls.ZP.success(o("agent:option-create","Option successfully created")),null==n||n(),s()}catch(e){ls.ZP.error(o("error-default","Something went wrong, please try again"))}},g=()=>{if(!a.isFieldsTouched()){n();return}F.Z.confirm({title:o("agent:confirm.discard.title","Discard changes"),content:o("agent:confirm.discard.content","Do you want to discard changes?"),okText:o("discard","Discard"),okButtonProps:{type:"primary",danger:!0},onOk:n,cancelText:o("cancel","Cancel"),centered:!0})};return(0,i.jsx)(cj.Z,{title:o("text.create-option","Create option"),closable:!1,width:768,open:t,onClose:g,forceRender:!0,styles:{body:{padding:0}},children:(0,i.jsx)(gx,{referralId:r,form:a,onFormFinish:m,initialValues:h,isLoading:p,onClose:n})})};(0,es.ZP)(gk());var gA=n(5384),gI=n.n(gA);function gP(){let e=(0,ea._)(["\n  query getOption($data: GetOptionInput!) {\n    option {\n      get(data: $data) {\n        id\n        referralId\n        name\n        description\n        availableFrom\n        location\n        floor\n        type\n        location\n        price {\n          from\n          to\n        }\n        size {\n          from\n          to\n          unit\n        }\n        desks {\n          from\n          to\n        }\n        termLength {\n          from\n          to\n        }\n        currency\n        photos {\n          id\n          url\n        }\n        floorplans {\n          ...FloorPlan\n        }\n      }\n    }\n  }\n"]);return gP=function(){return e},e}function gT(){let e=(0,ea._)(["\n  mutation updateOption($data: UpdateOptionInput!) {\n    option {\n      update(data: $data) {\n        success\n      }\n    }\n  }\n"]);return gT=function(){return e},e}let gR=e=>{let{open:t,optionId:n,onClose:r=s(),onUpdated:o=s()}=e,{t:a}=(0,u.$G)(),[c]=D.Z.useForm(),{me:d}=(0,f.KR)(),[p,{loading:h}]=cQ({onCompleted(){o()}}),{data:m,loading:g,error:v,refetch:y}=cY({variables:{data:{id:n}},skip:!n}),b=null==m?void 0:m.option.get,w=(0,l.useMemo)(()=>{var e,t,n,r,o;if(b&&d)return{...null!=b?b:{},size:{from:null==b?void 0:null===(e=b.size)||void 0===e?void 0:e.from,to:null==b?void 0:null===(t=b.size)||void 0===t?void 0:t.to,unit:null!==(o=null!==(r=null==b?void 0:null===(n=b.size)||void 0===n?void 0:n.unit)&&void 0!==r?r:c1[null==d?void 0:d.locale])&&void 0!==o?o:fB.SquareFoot},availableFrom:(null==b?void 0:b.availableFrom)?nt()(null==b?void 0:b.availableFrom):null,location:(null==b?void 0:b.location)||fZ.NotSpecified,type:(null==b?void 0:b.type)||fz.NotSpecified}},[b,d]),S=async e=>{try{await p({variables:{data:{...e,id:n,photos:g_(e.photos,{create:["url"],update:["id"],delete:["id"]}),floorplans:g_(e.floorplans,{create:["url","name","floor","drawing","drawingUrl","originalId"],update:["id","name","floor","drawing","drawingUrl"],delete:["id"]})}}}),y(),ls.ZP.success(a("agent:option-update","Option successfully updated")),null==r||r()}catch(e){ls.ZP.error(a("error-default","Something went wrong, please try again"))}};if(v)return(0,i.jsx)(gI(),{statusCode:404});let x=()=>{if(!c.isFieldsTouched()){r();return}F.Z.confirm({title:a("agent:confirm.discard.title","Discard changes"),content:a("agent:confirm.discard.content","Do you want to discard changes?"),okText:a("discard","Discard"),okButtonProps:{type:"primary",danger:!0},onOk:r,cancelText:a("cancel","Cancel"),centered:!0})};return(0,i.jsx)(cj.Z,{title:a("text.update-option","Review & edit option"),closable:!1,width:970,open:t,onClose:x,styles:{body:{padding:0}},forceRender:!0,children:(0,i.jsx)(gx,{referralId:null==b?void 0:b.referralId,form:c,onFormFinish:S,initialValues:w,isLoading:h||g,isUpdate:!0,onClose:r})})};(0,es.ZP)(gP()),(0,es.ZP)(gT());var gM=n(68164),gN=n(74215),gj=n(76833),gD=n(68174),gL=n(71553),gB=n(44663);async function gZ(){return(await gB.g.currentSession()).getAccessToken().getJwtToken()}let gF=new(n(3576)).h({typePolicies:{Opportunity:{keyFields:["publicId"]},Building:{keyFields:["publicId"]},DigitalReport:{keyFields:["id"]}}});var gz=n(5969),gU=n(40351),gH=n(45216);let gq=(0,gz.q)(e=>{var t,n;let{graphQLErrors:r,networkError:o,operation:i}=e;console.error({graphQLErrors:r,networkError:o,operation:i});let a=(0,gU.nZ)(),s=null===(n=i.getContext())||void 0===n?void 0:null===(t=n.headers)||void 0===t?void 0:t["x-transaction-id"];a.setTransactionName(s),a.setExtra("operationName",i.operationName),a.setExtra("variables",JSON.stringify(i.variables,null,2)),r&&r.map(e=>{let{message:t}=e;return(0,gH.uT)(t)}),o&&(gV(o)?(0,gH.uT)(o.message):(0,gH.Tb)(o))});function gV(e){return"object"==typeof e&&null!==e&&"response"in e&&"statusCode"in e}let gW={"x-transaction-id":(0,ug.Z)()},g$=(0,gM.L)({uri:k.O.NEXT_PUBLIC_MANAGEMENT_API_SERVER_URL}),gG=(0,gL.v)(async(e,t)=>{let{headers:n}=t,r=await gZ();return{headers:{...gW,...n,authorization:r?"Bearer ".concat(r):""}}}),gK=new gN.f({link:gj.i.from([gq,gG.concat(g$)]),credentials:"same-origin",cache:gF,name:"core-web"}),gY=e=>{let{children:t}=e;return(0,i.jsx)(gD.e,{client:gK,children:t})};function gX(){let e=(0,ea._)(["\n  fragment OptionStatusView on Offer {\n    id\n    publicId\n    availableFromCondition {\n      id\n      from\n      to\n    }\n  }\n"]);return gX=function(){return e},e}let gQ=e=>{let{option:t,editable:n}=e,[r,{loading:o}]=cQ(),{refetch:a}=(0,cI.BA)(),s=async e=>{await r({variables:{data:{id:t.publicId,availableFrom:e===N.jK.Available?nt()():null}}}),a()},c=(0,l.useMemo)(()=>{if(!t.availableFrom)return N.jK.Occupied;let{from:e}=t.availableFrom;return!e||nt()(e).isAfter(nt()())?N.jK.Occupied:N.jK.Available},[t]);return(0,i.jsx)(ye,{value:c,onChange:s,options:Object.values(N.jK),colorProvider:N.ZT,labelProvider:N.UT,loading:o,editable:n})};(0,es.ZP)(gX());let gJ=e=>{let{option:t}=e,{canManageEnquiryOptions:n}=(0,f.dB)(),r=(0,l.useMemo)(()=>t.type!==cN.G.Suggestion&&t.type===cN.G.Option&&n,[t]);return(0,i.jsx)(gY,{children:(0,i.jsx)(gQ,{option:t,editable:r})})},g0=(e,t)=>(null==e?void 0:e.from)&&(null==t?void 0:t.from)?e.from-t.from:1,g1=e=>[cN.G.Option,cN.G.Suggestion].includes(e);function g2(){let e=(0,ea._)(["\n  fragment EnquiryDetailsBuildingsView on Enquiry {\n    id\n    status\n    leads {\n      id\n      status\n      office {\n        id\n        name\n      }\n      suggestions {\n        id\n        officeSuite {\n          id\n          name\n          availableFrom {\n            ...AvailableFromView\n          }\n          monthlyQuotingRateCurrency\n          monthlyQuotingRateTotal {\n            id\n            from\n            to\n            isRange\n          }\n          sizeDesks {\n            ...SizeDesksView\n          }\n          sizeSpace {\n            id\n            from\n            to\n            isRange\n            unit\n          }\n        }\n      }\n      offers {\n        id\n        publicId\n        name\n        termLengthCondition {\n          ...TermLengthView\n        }\n        availableFromCondition {\n          ...AvailableFromView\n        }\n        costCondition {\n          id\n          from\n          to\n          isRange\n          currency\n          unit\n        }\n        sizeDesks {\n          ...SizeDesksView\n        }\n        sizeSpace {\n          id\n          from\n          to\n          isRange\n          unit\n        }\n      }\n      ...RejectReasonView\n    }\n  }\n"]);return g2=function(){return e},e}let g3=()=>{let{t:e}=(0,u.$G)(),[t,n]=(0,l.useState)(null),r=(0,cM.w)(),{onUpdated:o,refetch:a}=(0,cI.BA)(),{onLeadStatusChanged:s}=(0,W.Ch)(),{canManageEnquiryLeadStatus:c}=(0,f.dB)(),d=[{key:"name",title:e("name","Name"),width:200,render:(t,n)=>{let{name:r,type:o}=n;return(0,i.jsxs)("div",{className:"flex items-center gap-2 font-medium",children:[(0,i.jsx)("div",{className:"truncate",children:r}),o===cN.G.Suggestion&&(0,i.jsx)(S.Z,{title:e("enquiries:table.suggestion.tooltip","Suggested by operator"),children:(0,i.jsx)(cT.Z,{})})]})}},{key:"availableFrom",title:e("text.available-from","Available from"),sorter:(e,t)=>{var n,r;return e.availableFrom&&t.availableFrom?(0,lj.B)(null===(n=t.availableFrom)||void 0===n?void 0:n.from).diff((0,lj.B)(null===(r=e.availableFrom)||void 0===r?void 0:r.from)):1},render:(e,t)=>{let{availableFrom:n,type:r}=t;return n&&g1(r)&&(0,eb.Ox)(n)}},{key:"termLength",title:e("text.term-length-months","Term length, months"),sorter:(e,t)=>g0(null==e?void 0:e.termLength,t.termLength),render:(e,t)=>{let{termLength:n,type:r}=t;return n&&g1(r)&&(0,eb.me)(n)}},{key:"desks",title:e("text.number-of-desks","Number of desks"),sorter:(e,t)=>g0(null==e?void 0:e.desks,t.desks),render:(e,t)=>{let{desks:n,type:r}=t;return n&&g1(r)&&(0,eb.qs)(n)}},{key:"size",title:e("text.space-size","Space size"),sorter:(e,t)=>g0(null==e?void 0:e.size,null==t?void 0:t.size),render:(e,t)=>{let{size:n,type:r}=t;return n&&g1(r)&&(0,eb.kh)(n)}},{key:"price",title:e("text.monthly-cost-of-occupancy","Monthly cost of occupancy"),sorter:(e,t)=>g0(null==e?void 0:e.price,null==t?void 0:t.price),render:(e,t)=>{let{price:n,type:r}=t;return n&&g1(r)&&(0,eb.XQ)(n)}},{key:"lead",title:e("text.status","Status"),width:180,render:(e,t)=>t.type===cN.G.Building?(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)(yn,{lead:t,editable:c,onChange:e=>{if(o(),e===eO.kKd.Rejected)return n(t.id);s(t.id,e,null)}}),(0,i.jsx)(yl,{lead:t})]}):(0,i.jsx)(gJ,{option:t})},{key:"actions",dataIndex:"actions",className:"text-right"}];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(cR.Z,{dataSource:r,columns:d,rowKey:"id",tableLayout:"fixed",pagination:!1,expandable:{defaultExpandAllRows:!0},rowClassName:e=>E()({"opacity-60":e.type===cN.G.Suggestion})}),(0,i.jsx)(yu,{leadId:t,open:!!t,onClose:()=>n(null),onSubmit:async()=>await a()})]})};(0,es.ZP)(g2());var g4=n(45069);function g5(){let e=(0,ea._)(["\n  mutation createEnquiryMessage($enquiryId: ID!, $content: String!) {\n    opportunity {\n      enquiry {\n        createMessage(enquiryId: $enquiryId, content: $content) {\n          success\n          query {\n            enquiry(id: $enquiryId) {\n              ...EnquiryMessages\n            }\n          }\n        }\n      }\n    }\n  }\n"]);return g5=function(){return e},e}let g6=e=>{let{disabled:t}=e,{t:n}=(0,u.$G)(),{enquiry:r}=(0,cI.BA)(),{onMessageAdded:o}=(0,W.Ch)(),[a]=D.Z.useForm(),[s,{loading:l}]=(0,eO._yR)(),c=async e=>{await s({variables:{enquiryId:r.id,content:e.content},onCompleted(){o(r.id),a.resetFields()}})},d=e=>{"Enter"!==e.key||e.shiftKey||(a.submit(),e.preventDefault())};return(0,i.jsx)(D.Z,{form:a,initialValues:{content:""},onFinish:c,onKeyDown:d,children:(0,i.jsx)(ty.Z,{spinning:l,size:"small",children:(0,i.jsx)(D.Z.Item,{name:"content",rules:[{required:!0}],children:(0,i.jsx)(s1.default.TextArea,{disabled:t,placeholder:n("enquiries:chat.input.placeholder","Write a message"),autoSize:{minRows:1,maxRows:2}})})})})};(0,es.ZP)(g5());var g8=n(70826),g7=n(72694),g9=n(14715),ve=n(24425),vt=n(22662),vn=n(51859);let vr=l.createContext({});vr.Consumer;var vo=n(85905),vi=n(27545),va=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let vs=e=>{var{prefixCls:t,className:n,avatar:r,title:o,description:i}=e,a=va(e,["prefixCls","className","avatar","title","description"]);let{getPrefixCls:s}=(0,l.useContext)(lQ.E_),c=s("list",t),u=E()("".concat(c,"-item-meta"),n),d=l.createElement("div",{className:"".concat(c,"-item-meta-content")},o&&l.createElement("h4",{className:"".concat(c,"-item-meta-title")},o),i&&l.createElement("div",{className:"".concat(c,"-item-meta-description")},i));return l.createElement("div",Object.assign({},a,{className:u}),r&&l.createElement("div",{className:"".concat(c,"-item-meta-avatar")},r),(o||i)&&d)},vl=l.forwardRef((e,t)=>{let{prefixCls:n,children:r,actions:o,extra:i,styles:a,className:s,classNames:c,colStyle:u}=e,d=va(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:f,itemLayout:p}=(0,l.useContext)(vr),{getPrefixCls:h,list:m}=(0,l.useContext)(lQ.E_),g=e=>{var t,n;return E()(null===(n=null===(t=null==m?void 0:m.item)||void 0===t?void 0:t.classNames)||void 0===n?void 0:n[e],null==c?void 0:c[e])},v=e=>{var t,n;return Object.assign(Object.assign({},null===(n=null===(t=null==m?void 0:m.item)||void 0===t?void 0:t.styles)||void 0===n?void 0:n[e]),null==a?void 0:a[e])},y=()=>{let e=!1;return l.Children.forEach(r,t=>{"string"==typeof t&&(e=!0)}),e&&l.Children.count(r)>1},b=()=>"vertical"===p?!!i:!y(),w=h("list",n),S=o&&o.length>0&&l.createElement("ul",{className:E()("".concat(w,"-item-action"),g("actions")),key:"actions",style:v("actions")},o.map((e,t)=>l.createElement("li",{key:"".concat(w,"-item-action-").concat(t)},e,t!==o.length-1&&l.createElement("em",{className:"".concat(w,"-item-action-split")})))),x=f?"div":"li",C=l.createElement(x,Object.assign({},d,f?{}:{ref:t},{className:E()("".concat(w,"-item"),{["".concat(w,"-item-no-flex")]:!b()},s)}),"vertical"===p&&i?[l.createElement("div",{className:"".concat(w,"-item-main"),key:"content"},r,S),l.createElement("div",{className:E()("".concat(w,"-item-extra"),g("extra")),key:"extra",style:v("extra")},i)]:[r,S,(0,vo.Tm)(i,{key:"extra"})]);return f?l.createElement(vi.Z,{ref:t,flex:1,style:u},C):C});vl.Meta=vs;var vc=vl;let vu=e=>{let{listBorderedCls:t,componentCls:n,paddingLG:r,margin:o,itemPaddingSM:i,itemPaddingLG:a,marginLG:s,borderRadiusLG:l}=e;return{["".concat(t)]:{border:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:l,["".concat(n,"-header,").concat(n,"-footer,").concat(n,"-item")]:{paddingInline:r},["".concat(n,"-pagination")]:{margin:"".concat((0,l2.bf)(o)," ").concat((0,l2.bf)(s))}},["".concat(t).concat(n,"-sm")]:{["".concat(n,"-item,").concat(n,"-header,").concat(n,"-footer")]:{padding:i}},["".concat(t).concat(n,"-lg")]:{["".concat(n,"-item,").concat(n,"-header,").concat(n,"-footer")]:{padding:a}}}},vd=e=>{let{componentCls:t,screenSM:n,screenMD:r,marginLG:o,marginSM:i,margin:a}=e;return{["@media screen and (max-width:".concat(r,"px)")]:{["".concat(t)]:{["".concat(t,"-item")]:{["".concat(t,"-item-action")]:{marginInlineStart:o}}},["".concat(t,"-vertical")]:{["".concat(t,"-item")]:{["".concat(t,"-item-extra")]:{marginInlineStart:o}}}},["@media screen and (max-width: ".concat(n,"px)")]:{["".concat(t)]:{["".concat(t,"-item")]:{flexWrap:"wrap",["".concat(t,"-action")]:{marginInlineStart:i}}},["".concat(t,"-vertical")]:{["".concat(t,"-item")]:{flexWrap:"wrap-reverse",["".concat(t,"-item-main")]:{minWidth:e.contentWidth},["".concat(t,"-item-extra")]:{margin:"auto auto ".concat((0,l2.bf)(a))}}}}}},vf=e=>{let{componentCls:t,antCls:n,controlHeight:r,minHeight:o,paddingSM:i,marginLG:a,padding:s,itemPadding:l,colorPrimary:c,itemPaddingSM:u,itemPaddingLG:d,paddingXS:f,margin:p,colorText:h,colorTextDescription:m,motionDurationSlow:g,lineWidth:v,headerBg:y,footerBg:b,emptyTextPadding:w,metaMarginBottom:S,avatarMarginRight:x,titleMarginBottom:E,descriptionFontSize:C}=e;return{["".concat(t)]:Object.assign(Object.assign({},(0,l3.Wf)(e)),{position:"relative","*":{outline:"none"},["".concat(t,"-header")]:{background:y},["".concat(t,"-footer")]:{background:b},["".concat(t,"-header, ").concat(t,"-footer")]:{paddingBlock:i},["".concat(t,"-pagination")]:{marginBlockStart:a,["".concat(n,"-pagination-options")]:{textAlign:"start"}},["".concat(t,"-spin")]:{minHeight:o,textAlign:"center"},["".concat(t,"-items")]:{margin:0,padding:0,listStyle:"none"},["".concat(t,"-item")]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:l,color:h,["".concat(t,"-item-meta")]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",["".concat(t,"-item-meta-avatar")]:{marginInlineEnd:x},["".concat(t,"-item-meta-content")]:{flex:"1 0",width:0,color:h},["".concat(t,"-item-meta-title")]:{margin:"0 0 ".concat((0,l2.bf)(e.marginXXS)," 0"),color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:h,transition:"all ".concat(g),"&:hover":{color:c}}},["".concat(t,"-item-meta-description")]:{color:m,fontSize:C,lineHeight:e.lineHeight}},["".concat(t,"-item-action")]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:"0 ".concat((0,l2.bf)(f)),color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},["".concat(t,"-item-action-split")]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:v,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},["".concat(t,"-empty")]:{padding:"".concat((0,l2.bf)(s)," 0"),color:m,fontSize:e.fontSizeSM,textAlign:"center"},["".concat(t,"-empty-text")]:{padding:w,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},["".concat(t,"-item-no-flex")]:{display:"block"}}),["".concat(t,"-grid ").concat(n,"-col > ").concat(t,"-item")]:{display:"block",maxWidth:"100%",marginBlockEnd:p,paddingBlock:0,borderBlockEnd:"none"},["".concat(t,"-vertical ").concat(t,"-item")]:{alignItems:"initial",["".concat(t,"-item-main")]:{display:"block",flex:1},["".concat(t,"-item-extra")]:{marginInlineStart:a},["".concat(t,"-item-meta")]:{marginBlockEnd:S,["".concat(t,"-item-meta-title")]:{marginBlockStart:0,marginBlockEnd:E,color:h,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},["".concat(t,"-item-action")]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:"0 ".concat((0,l2.bf)(s)),"&:first-child":{paddingInlineStart:0}}}},["".concat(t,"-split ").concat(t,"-item")]:{borderBlockEnd:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"&:last-child":{borderBlockEnd:"none"}},["".concat(t,"-split ").concat(t,"-header")]:{borderBlockEnd:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},["".concat(t,"-split").concat(t,"-empty ").concat(t,"-footer")]:{borderTop:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},["".concat(t,"-loading ").concat(t,"-spin-nested-loading")]:{minHeight:r},["".concat(t,"-split").concat(t,"-something-after-last-item ").concat(n,"-spin-container > ").concat(t,"-items > ").concat(t,"-item:last-child")]:{borderBlockEnd:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},["".concat(t,"-lg ").concat(t,"-item")]:{padding:d},["".concat(t,"-sm ").concat(t,"-item")]:{padding:u},["".concat(t,":not(").concat(t,"-vertical)")]:{["".concat(t,"-item-no-flex")]:{["".concat(t,"-item-action")]:{float:"right"}}}}},vp=e=>({contentWidth:220,itemPadding:"".concat((0,l2.bf)(e.paddingContentVertical)," 0"),itemPaddingSM:"".concat((0,l2.bf)(e.paddingContentVerticalSM)," ").concat((0,l2.bf)(e.paddingContentHorizontal)),itemPaddingLG:"".concat((0,l2.bf)(e.paddingContentVerticalLG)," ").concat((0,l2.bf)(e.paddingContentHorizontalLG)),headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize});var vh=(0,l4.I$)("List",e=>{let t=(0,l5.IX)(e,{listBorderedCls:"".concat(e.componentCls,"-bordered"),minHeight:e.controlHeightLG});return[vf(t),vu(t),vd(t)]},vp),vm=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function vg(e){var{pagination:t=!1,prefixCls:n,bordered:r=!1,split:o=!0,className:i,rootClassName:a,style:s,children:c,itemLayout:u,loadMore:d,grid:f,dataSource:p=[],size:h,header:m,footer:g,loading:v=!1,rowKey:y,renderItem:b,locale:w}=e,S=vm(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]);let x=t&&"object"==typeof t?t:{},[C,_]=l.useState(x.defaultCurrent||1),[k,O]=l.useState(x.defaultPageSize||10),{getPrefixCls:A,renderEmpty:I,direction:P,list:T}=l.useContext(lQ.E_),R={current:1,total:0},M=e=>(n,r)=>{var o;_(n),O(r),t&&(null===(o=null==t?void 0:t[e])||void 0===o||o.call(t,n,r))},N=M("onChange"),j=M("onShowSizeChange"),D=(e,t)=>{let n;return b?((n="function"==typeof y?y(e):y?e[y]:e.key)||(n="list-item-".concat(t)),l.createElement(l.Fragment,{key:n},b(e,t))):null},L=()=>!!(d||t||g),B=A("list",n),[Z,F,z]=vh(B),U=v;"boolean"==typeof U&&(U={spinning:U});let H=!!(null==U?void 0:U.spinning),q=(0,lJ.Z)(h),V="";switch(q){case"large":V="lg";break;case"small":V="sm"}let W=E()(B,{["".concat(B,"-vertical")]:"vertical"===u,["".concat(B,"-").concat(V)]:V,["".concat(B,"-split")]:o,["".concat(B,"-bordered")]:r,["".concat(B,"-loading")]:H,["".concat(B,"-grid")]:!!f,["".concat(B,"-something-after-last-item")]:L(),["".concat(B,"-rtl")]:"rtl"===P},null==T?void 0:T.className,i,a,F,z),$=(0,g7.Z)(R,{total:p.length,current:C,pageSize:k},t||{}),G=Math.ceil($.total/$.pageSize);$.current>G&&($.current=G);let K=t&&l.createElement("div",{className:E()("".concat(B,"-pagination"))},l.createElement(vn.Z,Object.assign({align:"end"},$,{onChange:N,onShowSizeChange:j}))),Y=(0,g8.Z)(p);t&&p.length>($.current-1)*$.pageSize&&(Y=(0,g8.Z)(p).splice(($.current-1)*$.pageSize,$.pageSize));let X=Object.keys(f||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),Q=(0,l0.Z)(X),J=l.useMemo(()=>{for(let e=0;e<g9.c4.length;e+=1){let t=g9.c4[e];if(Q[t])return t}},[Q]),ee=l.useMemo(()=>{if(!f)return;let e=J&&f[J]?f[J]:f.column;if(e)return{width:"".concat(100/e,"%"),maxWidth:"".concat(100/e,"%")}},[JSON.stringify(f),J]),et=H&&l.createElement("div",{style:{minHeight:53}});if(Y.length>0){let e=Y.map((e,t)=>D(e,t));et=f?l.createElement(vt.Z,{gutter:f.gutter},l.Children.map(e,e=>l.createElement("div",{key:null==e?void 0:e.key,style:ee},e))):l.createElement("ul",{className:"".concat(B,"-items")},e)}else c||H||(et=l.createElement("div",{className:"".concat(B,"-empty-text")},(null==w?void 0:w.emptyText)||(null==I?void 0:I("List"))||l.createElement(ve.Z,{componentName:"List"})));let en=$.position||"bottom",er=l.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return Z(l.createElement(vr.Provider,{value:er},l.createElement("div",Object.assign({style:Object.assign(Object.assign({},null==T?void 0:T.style),s),className:W},S),("top"===en||"both"===en)&&K,m&&l.createElement("div",{className:"".concat(B,"-header")},m),l.createElement(ty.Z,Object.assign({},U),et,c),g&&l.createElement("div",{className:"".concat(B,"-footer")},g),d||("bottom"===en||"both"===en)&&K)))}vg.Item=vc;var vv=vg;function vy(){let e=(0,ea._)(["\n  fragment EnquiryMessages on Enquiry {\n    id\n    messages {\n      ...EnquiryMessageView\n    }\n  }\n\n  query opportunityEnquiryMessages($enquiryId: ID!) {\n    enquiry(id: $enquiryId) {\n      ...EnquiryMessages\n    }\n  }\n"]);return vy=function(){return e},e}let vb=(0,l.createContext)(null),vw=e=>{var t;let{children:n}=e,{enquiry:r}=(0,cI.BA)(),{data:o,loading:a}=(0,eO.Qc7)({variables:{enquiryId:r.id},skip:!r.id,pollInterval:3e4});return(0,i.jsx)(vb.Provider,{value:{messages:null!==(t=null==o?void 0:o.enquiry.messages)&&void 0!==t?t:[]},children:a?(0,i.jsx)(Y.$j,{height:"100%"}):n})};function vS(){let e=(0,l.useContext)(vb);if(!e)throw Error("OpportunityEnquiry.* component must be rendered as child of OpportunityEnquiry component");return e}(0,es.ZP)(vy());var vx=n(86727);function vE(){let e=(0,ea._)(["\n  fragment EnquiryMessageView on EnquiryMessage {\n    id\n    content\n    createdBy {\n      id\n      contact {\n        name\n        avatarUrl\n      }\n    }\n    createdAt\n  }\n"]);return vE=function(){return e},e}let vC=e=>{var t,n,r;let{message:o}=e,{me:a}=(0,f.KR)(),{enquiry:s}=(0,cI.BA)(),l=(0,lj.B)(o.createdAt).isBefore(s.lastViewedAt)||o.createdBy.id===a.id;return(0,i.jsx)(vv.Item,{children:(0,i.jsx)(vv.Item.Meta,{avatar:(0,i.jsx)(tt.C,{icon:(0,i.jsx)(ld.Z,{}),alt:null===(t=o.createdBy.contact)||void 0===t?void 0:t.name,src:null===(n=o.createdBy.contact)||void 0===n?void 0:n.avatarUrl}),title:(0,i.jsx)(vx.Z,{className:"text-blue-500",count:l?0:1,offset:[8,8],dot:!0,children:null===(r=o.createdBy.contact)||void 0===r?void 0:r.name}),description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w.Z.Paragraph,{className:"mb-0 whitespace-pre-line",children:o.content}),(0,i.jsx)(w.Z.Text,{className:"text-xs text-gray-400",children:(0,lj.B)(o.createdAt).fromNow()})]})})})};(0,es.ZP)(vE());let v_=()=>{let{messages:e}=vS();return e.length?(0,i.jsx)(vv,{className:"max-h-[500px] overflow-auto",dataSource:e,rowKey:"id",split:!1,renderItem:e=>(0,i.jsx)(vC,{message:e})}):null},vk=e=>{let{title:t}=e,{t:n}=(0,u.$G)(),{enquiry:r}=(0,cI.BA)(),o=r.createdBy.agent.isEnquirySystemEnabled;return(0,i.jsxs)("div",{className:"h-full p-4 pb-0",children:[(0,i.jsx)(w.Z.Title,{level:4,className:"mb-5",children:t}),(0,i.jsxs)(vw,{children:[(0,i.jsx)(g6,{disabled:!o}),!o&&(0,i.jsx)(g4.Z,{className:"mb-3",message:n("enquiries:chat.message","Agent is currently not using the Enquiry System. As they still receive your updates via email, further communication will occur via email or phone"),type:"warning",showIcon:!0}),(0,i.jsx)(v_,{})]})]})};function vO(){let e=(0,ea._)(["\n  fragment EnquiryDetailsHeaderView on Enquiry {\n    id\n    leads {\n      id\n      office {\n        id\n        operator {\n          id\n          name\n        }\n      }\n    }\n  }\n"]);return vO=function(){return e},e}let vA=()=>{let{t:e}=(0,u.$G)(),{enquiry:t}=(0,cI.BA)();return(0,i.jsx)(w.Z.Title,{level:5,children:e("enquiries:enquiry-details.title","Enquiry: {{operator}}",{operator:null==t?void 0:t.leads[0].office.operator.name})})};(0,es.ZP)(vO());let vI=e=>{let{onNext:t,onPrevious:n}=e,{t:r}=(0,u.$G)();return(0,i.jsxs)(sX.Z,{size:"small",children:[(0,i.jsx)(M.ZP,{icon:(0,i.jsx)(G.Z,{}),onClick:n,disabled:!n,size:"small",children:r("previous","Previous")}),(0,i.jsx)(M.ZP,{icon:(0,i.jsx)(K.Z,{}),onClick:t,disabled:!t,size:"small",children:r("next","Next")})]})};function vP(){let e=(0,ea._)(["\n  mutation createEnquiryNote($enquiryId: ID!, $content: String!) {\n    opportunity {\n      enquiry {\n        createNote(enquiryId: $enquiryId, content: $content) {\n          success\n          query {\n            enquiry(id: $enquiryId) {\n              ...Enquiry\n            }\n          }\n        }\n      }\n    }\n  }\n"]);return vP=function(){return e},e}let vT=()=>{let{t:e}=(0,u.$G)(),{enquiry:t}=(0,cI.BA)(),{onNoteAdded:n}=(0,W.Ch)(),[r]=D.Z.useForm(),[o,{loading:a}]=(0,eO.cRD)(),s=async e=>{await o({variables:{enquiryId:t.id,content:e.content},onCompleted(){n(t.id),r.resetFields()}})},l=e=>{"Enter"!==e.key||e.shiftKey||(r.submit(),e.preventDefault())};return(0,i.jsx)(D.Z,{form:r,initialValues:{content:""},onFinish:s,onKeyDown:l,children:(0,i.jsx)(ty.Z,{spinning:a,size:"small",children:(0,i.jsx)(D.Z.Item,{name:"content",rules:[{required:!0}],children:(0,i.jsx)(s1.default.TextArea,{placeholder:e("enquiries:internal-notes.placeholder","Write a note"),autoSize:{minRows:1,maxRows:2}})})})})};(0,es.ZP)(vP());let vR=e=>{var t,n,r;let{note:o}=e;return(0,i.jsx)(vv.Item,{children:(0,i.jsx)(vv.Item.Meta,{avatar:(0,i.jsx)(tt.C,{icon:(0,i.jsx)(ld.Z,{}),alt:null===(t=o.createdBy.contact)||void 0===t?void 0:t.name,src:null===(n=o.createdBy.contact)||void 0===n?void 0:n.avatarUrl}),title:(0,i.jsx)(w.Z.Text,{className:"text-blue-500",children:null===(r=o.createdBy.contact)||void 0===r?void 0:r.name}),description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w.Z.Paragraph,{className:"mb-0 whitespace-pre-line",children:o.content}),(0,i.jsx)(w.Z.Text,{className:"text-xs text-gray-400",children:(0,lj.B)(o.createdAt).fromNow()})]})})})},vM=()=>{let{enquiry:e}=(0,cI.BA)();return e.notes.length?(0,i.jsx)(vv,{className:"max-h-[500px] overflow-auto",dataSource:e.notes,rowKey:"id",split:!1,renderItem:e=>(0,i.jsx)(vR,{note:e})}):null};function vN(){let e=(0,ea._)(["\n  fragment EnquiryNotesView on Enquiry {\n    notes {\n      id\n      content\n      createdBy {\n        id\n        contact {\n          name\n          avatarUrl\n        }\n      }\n      createdAt\n    }\n  }\n"]);return vN=function(){return e},e}let vj=()=>{let{t:e}=(0,u.$G)();return(0,i.jsxs)("div",{className:"h-full bg-neutral-50 p-4 pb-0",children:[(0,i.jsx)(w.Z.Title,{level:4,className:"mb-5",children:e("enquiries:internal-notes.title","Internal notes")}),(0,i.jsx)(vT,{}),(0,i.jsx)(vM,{})]})};(0,es.ZP)(vN());var vD={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},vL=l.createContext({}),vB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let vZ=e=>(0,cg.Z)(e).map(e=>Object.assign(Object.assign({},null==e?void 0:e.props),{key:e.key}));function vF(e,t,n){let r=l.useMemo(()=>t||vZ(n),[t,n]);return l.useMemo(()=>r.map(t=>{var{span:n}=t;return Object.assign(Object.assign({},vB(t,["span"])),{span:"number"==typeof n?n:(0,g9.m9)(e,n)})}),[r,e])}function vz(e,t,n){let r=e,o=!1;return(void 0===n||n>t)&&(r=Object.assign(Object.assign({},e),{span:t}),o=void 0!==n),[r,o]}function vU(e,t){let n=[],r=[],o=t,i=!1;return e.filter(e=>e).forEach((a,s)=>{let l=null==a?void 0:a.span,c=l||1;if(s===e.length-1){let[e,t]=vz(a,o,l);i=i||t,r.push(e),n.push(r);return}if(c<o)o-=c,r.push(a);else{let[e,s]=vz(a,o,c);i=i||s,r.push(e),n.push(r),o=t,r=[]}}),[n,i]}var vH=(e,t)=>{let[n,r]=(0,l.useMemo)(()=>vU(t,e),[t,e]);return n},vq=e=>{let{children:t}=e;return t};function vV(e){return null!=e}var vW=e=>{let{itemPrefixCls:t,component:n,span:r,className:o,style:i,labelStyle:a,contentStyle:s,bordered:c,label:u,content:d,colon:f,type:p}=e,h=n;return c?l.createElement(h,{className:E()({["".concat(t,"-item-label")]:"label"===p,["".concat(t,"-item-content")]:"content"===p},o),style:i,colSpan:r},vV(u)&&l.createElement("span",{style:a},u),vV(d)&&l.createElement("span",{style:s},d)):l.createElement(h,{className:E()("".concat(t,"-item"),o),style:i,colSpan:r},l.createElement("div",{className:"".concat(t,"-item-container")},(u||0===u)&&l.createElement("span",{className:E()("".concat(t,"-item-label"),{["".concat(t,"-item-no-colon")]:!f}),style:a},u),(d||0===d)&&l.createElement("span",{className:E()("".concat(t,"-item-content")),style:s},d)))};function v$(e,t,n){let{colon:r,prefixCls:o,bordered:i}=t,{component:a,type:s,showLabel:c,showContent:u,labelStyle:d,contentStyle:f}=n;return e.map((e,t)=>{let{label:n,children:p,prefixCls:h=o,className:m,style:g,labelStyle:v,contentStyle:y,span:b=1,key:w}=e;return"string"==typeof a?l.createElement(vW,{key:"".concat(s,"-").concat(w||t),className:m,style:g,labelStyle:Object.assign(Object.assign({},d),v),contentStyle:Object.assign(Object.assign({},f),y),span:b,colon:r,component:a,itemPrefixCls:h,bordered:i,label:c?n:null,content:u?p:null,type:s}):[l.createElement(vW,{key:"label-".concat(w||t),className:m,style:Object.assign(Object.assign(Object.assign({},d),g),v),span:1,colon:r,component:a[0],itemPrefixCls:h,bordered:i,label:n,type:"label"}),l.createElement(vW,{key:"content-".concat(w||t),className:m,style:Object.assign(Object.assign(Object.assign({},f),g),y),span:2*b-1,component:a[1],itemPrefixCls:h,bordered:i,content:p,type:"content"})]})}var vG=e=>{let t=l.useContext(vL),{prefixCls:n,vertical:r,row:o,index:i,bordered:a}=e;return r?l.createElement(l.Fragment,null,l.createElement("tr",{key:"label-".concat(i),className:"".concat(n,"-row")},v$(o,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),l.createElement("tr",{key:"content-".concat(i),className:"".concat(n,"-row")},v$(o,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):l.createElement("tr",{key:i,className:"".concat(n,"-row")},v$(o,e,Object.assign({component:a?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))};let vK=e=>{let{componentCls:t,labelBg:n}=e;return{["&".concat(t,"-bordered")]:{["> ".concat(t,"-view")]:{overflow:"hidden",border:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"> table":{tableLayout:"auto"},["".concat(t,"-row")]:{borderBottom:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"&:last-child":{borderBottom:"none"},["> ".concat(t,"-item-label, > ").concat(t,"-item-content")]:{padding:"".concat((0,l2.bf)(e.padding)," ").concat((0,l2.bf)(e.paddingLG)),borderInlineEnd:"".concat((0,l2.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"&:last-child":{borderInlineEnd:"none"}},["> ".concat(t,"-item-label")]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:"none"}}}},["&".concat(t,"-middle")]:{["".concat(t,"-row")]:{["> ".concat(t,"-item-label, > ").concat(t,"-item-content")]:{padding:"".concat((0,l2.bf)(e.paddingSM)," ").concat((0,l2.bf)(e.paddingLG))}}},["&".concat(t,"-small")]:{["".concat(t,"-row")]:{["> ".concat(t,"-item-label, > ").concat(t,"-item-content")]:{padding:"".concat((0,l2.bf)(e.paddingXS)," ").concat((0,l2.bf)(e.padding))}}}}}},vY=e=>{let{componentCls:t,extraColor:n,itemPaddingBottom:r,itemPaddingEnd:o,colonMarginRight:i,colonMarginLeft:a,titleMarginBottom:s}=e;return{[t]:Object.assign(Object.assign(Object.assign({},(0,l3.Wf)(e)),vK(e)),{"&-rtl":{direction:"rtl"},["".concat(t,"-header")]:{display:"flex",alignItems:"center",marginBottom:s},["".concat(t,"-title")]:Object.assign(Object.assign({},l3.vS),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),["".concat(t,"-extra")]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},["".concat(t,"-view")]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},["".concat(t,"-row")]:{"> th, > td":{paddingBottom:r,paddingInlineEnd:o},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},["".concat(t,"-item-label")]:{color:e.colorTextTertiary,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:"".concat((0,l2.bf)(a)," ").concat((0,l2.bf)(i))},["&".concat(t,"-item-no-colon::after")]:{content:'""'}},["".concat(t,"-item-no-label")]:{"&::after":{margin:0,content:'""'}},["".concat(t,"-item-content")]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},["".concat(t,"-item")]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",["".concat(t,"-item-label")]:{display:"inline-flex",alignItems:"baseline"},["".concat(t,"-item-content")]:{display:"inline-flex",alignItems:"baseline",minWidth:0}}},"&-middle":{["".concat(t,"-row")]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{["".concat(t,"-row")]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},vX=e=>({labelBg:e.colorFillAlter,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText});var vQ=(0,l4.I$)("Descriptions",e=>vY((0,l5.IX)(e,{})),vX),vJ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let v0=e=>{let{prefixCls:t,title:n,extra:r,column:o,colon:i=!0,bordered:a,layout:s,children:c,className:u,rootClassName:d,style:f,size:p,labelStyle:h,contentStyle:m,items:g}=e,v=vJ(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:y,direction:b,descriptions:w}=l.useContext(lQ.E_),S=y("descriptions",t),x=(0,l0.Z)(),C=l.useMemo(()=>{var e;return"number"==typeof o?o:null!==(e=(0,g9.m9)(x,Object.assign(Object.assign({},vD),o)))&&void 0!==e?e:3},[x,o]),_=vF(x,g,c),k=(0,lJ.Z)(p),O=vH(C,_),[A,I,P]=vQ(S),T=l.useMemo(()=>({labelStyle:h,contentStyle:m}),[h,m]);return A(l.createElement(vL.Provider,{value:T},l.createElement("div",Object.assign({className:E()(S,null==w?void 0:w.className,{["".concat(S,"-").concat(k)]:k&&"default"!==k,["".concat(S,"-bordered")]:!!a,["".concat(S,"-rtl")]:"rtl"===b},u,d,I,P),style:Object.assign(Object.assign({},null==w?void 0:w.style),f)},v),(n||r)&&l.createElement("div",{className:"".concat(S,"-header")},n&&l.createElement("div",{className:"".concat(S,"-title")},n),r&&l.createElement("div",{className:"".concat(S,"-extra")},r)),l.createElement("div",{className:"".concat(S,"-view")},l.createElement("table",null,l.createElement("tbody",null,O.map((e,t)=>l.createElement(vG,{key:t,index:t,colon:i,prefixCls:S,vertical:"vertical"===s,bordered:a,row:e}))))))))};v0.Item=vq;var v1=v0,v2=n(90292),v3=n.n(v2);function v4(){let e=(0,ea._)(["\n  fragment EnquiryDetailsOverviewView on Enquiry {\n    leads {\n      id\n      contacts {\n        id\n        email\n      }\n      office {\n        id\n        operator {\n          id\n          enquirySystemSettings {\n            enabled\n            averageResponseTime\n          }\n        }\n      }\n    }\n    createdAt\n    updatedAt\n  }\n"]);return v4=function(){return e},e}let v5=()=>{let{t:e}=(0,u.$G)(),{enquiry:t}=(0,cI.BA)(),n=t.leads[0].office.operator,r=[{key:"1",label:e("text.contact","Contact"),children:v3()(t.leads.flatMap(e=>e.contacts.map(e=>e.email))).join(", ")||n.name},{key:"2",label:e("text.average-response-time","Average response time"),children:lj.B.duration(n.enquirySystemSettings.averageResponseTime,"seconds").humanize()},{key:"3",label:e("text.contact-date","Contact date"),children:(0,lj.B)(t.createdAt).format("DD/MM/YYYY")},{key:"4",label:e("last-updated","Last updated"),children:(0,lj.B)(t.updatedAt).format("DD/MM/YYYY")}];return(0,i.jsx)(v1,{items:r})};(0,es.ZP)(v4());let v6=()=>{let{enquiry:e}=(0,cI.BA)();return(0,i.jsx)(yo,{enquiry:e,canAccess:!0})},v8=e=>{let{enquiryId:t,onUpdated:n=s(),children:r}=e,{onViewed:o}=(0,W.Ch)();return(0,l.useEffect)(()=>{t&&o(t)},[t]),(0,i.jsx)(cI.ix,{enquiryId:t,onUpdated:n,children:r})};v8.Header=vA,v8.Overview=v5,v8.Buildings=g3,v8.Notes=vj,v8.Chat=vk,v8.Navigator=vI,v8.Status=v6,v8.About=cP;var v7=n(39830);let v9=(0,t9.ZP)(c.default).withConfig({componentId:"sc-ef5d5b31-0"})(["&:not(.ant-select-customize-input) .ant-select-selector{border-radius:999px;}&:not(.ant-select-customize-input).ant-select-disabled{.ant-select-selector{background:white;}}"]);function ye(e){let{value:t,onChange:n,options:r,colorProvider:o,labelProvider:a,loading:s=!1,editable:l=!0}=e;return(0,i.jsx)(v9,{"data-testid":"status-select",loading:s,onClick:N.UW,onChange:n,value:t,popupMatchSelectWidth:!1,disabled:!l,suffixIcon:l?void 0:null,options:r.map(e=>({value:e,label:(0,i.jsx)("div",{className:"flex items-center gap-2 pl-1","data-testid":"status-select-option",children:(0,i.jsx)(vx.Z,{className:"truncate",color:o(e),text:a(e)})})}))})}function yt(){let e=(0,ea._)(["\n  fragment LeadStatusView on Lead {\n    id\n    status\n  }\n\n  mutation updateLeadStatus($status: LeadStatusType!, $id: Int!) {\n    updateLead(data: { status: $status }, where: { id: $id }) {\n      ...LeadStatusView\n      opportunity {\n        id\n        enquiries {\n          id\n          leads {\n            id\n            status\n          }\n        }\n      }\n    }\n  }\n"]);return yt=function(){return e},e}let yn=e=>{let{lead:t,editable:n=!0,onChange:r=s()}=e,{t:o}=(0,u.$G)(),{message:a}=v7.Z.useApp(),[c,{loading:d}]=(0,eO.Dd1)({onError(){a.error(o("error-default","Something went wrong, please try again"))}}),{me:p}=(0,f.KR)(),h=async e=>{await c({variables:{id:t.id,status:e}}),r(e)},m=(0,l.useMemo)(()=>p?({[eO.FWD.Agent]:Object.values(eO.kKd),[eO.FWD.Operator]:Object.values(eO.kKd).filter(e=>![eO.kKd.NotSubmitted].includes(e)),[eO.FWD.Platform]:Object.values(eO.kKd)})[p.type]:[],[p]);return(0,i.jsx)(ye,{value:t.status,onChange:h,options:m,colorProvider:N.R8,labelProvider:N.$d,loading:d,editable:n})};function yr(){let e=(0,ea._)(["\n  fragment EnquiryStatusView on Enquiry {\n    id\n    status\n    createdAt\n  }\n"]);return yr=function(){return e},e}(0,es.ZP)(yt());let yo=e=>{let{enquiry:t,canAccess:n}=e,{t:r}=(0,u.$G)(),o={[eO.uc9.Requested]:{background:"bg-amber-500",icon:(0,i.jsx)(b.Z,{className:"text-white"}),label:r("enquiries:status.requested","Requested"),tooltip:n?r("enquiries:status.tooltip.requested","Pricing and availability requested"):r("enquiries:operator.no-access","Operator is currently not using the Enquiry System. As they still receive your enquiry via email, further communication will occur via email or phone")},[eO.uc9.Submitted]:{background:"bg-blue-500",icon:(0,i.jsx)(lk.Z,{className:"text-white"}),label:r("enquiries:status.confirmed","Confirmed"),tooltip:r("enquiries:status.tooltip.confirmed","Pricing and availability confirmed")}}[t.status];return(0,i.jsx)(S.Z,{title:o.tooltip,children:(0,i.jsxs)("div",{className:"flex w-fit cursor-pointer items-center gap-2 whitespace-nowrap rounded border bg-white",children:[(0,i.jsx)("div",{className:E()("rounded-l border-r px-2 py-1",o.background),children:o.icon}),(0,i.jsx)(w.Z.Text,{className:E()("w-max pr-2 leading-none",{"opacity-60":!n}),children:o.label})]})})};(0,es.ZP)(yr());let yi=e=>{let{spaces:t=[],offers:n=[],mutationLoading:r,onSpaceSelect:o}=e,{t:a}=(0,u.$G)(),[s,c]=(0,l.useState)(null),d=(0,l.useCallback)(e=>{o(e),c(e.id)},[o]),f=null==n?void 0:n.flatMap(e=>{var t;return null===(t=e.officeSuites)||void 0===t?void 0:t.map(e=>{let{id:t}=e;return t})}),p=(0,l.useMemo)(()=>(0,N.Yk)(t),[t]);return(null==t?void 0:t.length)?(0,i.jsx)(s8,{list:p,title:(0,i.jsx)("div",{className:"my-4 text-xl font-medium",children:a("agent:options-view.options-based-on-building-inventory","Options based on the building inventory")}),getKey:e=>e[0].type,getHeader:e=>(0,i.jsx)("div",{className:"py-2 text-base font-bold text-black",children:"".concat((0,N.NN)(a,e[0].type,!0)," (").concat(e.length,")")}),children:e=>e.map(e=>{let t=null==f?void 0:f.filter(t=>t===(null==e?void 0:e.id));return(0,i.jsxs)(nz,{className:"mb-4",space:e,title:(0,i.jsxs)(tb.Z,{align:"middle",gutter:8,className:"h-full",children:[(0,i.jsx)(tw.Z,{children:(0,i.jsxs)(sX.Z,{children:[(0,i.jsx)(nz.Name,{}),(0,i.jsx)(nz.Visibility,{})]})}),(0,i.jsx)(tw.Z,{className:"ml-auto text-right",children:(0,i.jsxs)(sX.Z,{size:"large",children:[(0,i.jsx)(nz.PriceTotal,{}),(0,i.jsx)(nz.Availability,{})]})})]}),footer:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(nz.Separator,{}),(0,i.jsxs)("div",{className:"ml-auto flex items-center gap-4 py-1",children:[(null==t?void 0:t.length)?(0,i.jsxs)("div",{className:"text-gray-800",children:[a("agent:options-view.matching-spaces","Options for this suite:"),(0,i.jsx)("span",{className:"pl-1 font-bold",children:null==t?void 0:t.length})]}):null,(0,i.jsx)(M.ZP,{type:"primary",onClick:()=>d(e),loading:r&&s===e.id,children:a("add","Add")})]})]}),children:[(0,i.jsx)(tw.Z,{span:14,children:(0,i.jsx)("div",{className:"flex h-full flex-col justify-between",children:(0,i.jsxs)(sX.Z,{wrap:!0,className:"mb-2",children:[(0,i.jsx)(nz.Description,{}),(0,i.jsx)(nz.Floor,{}),(0,i.jsx)(nz.Location,{}),(0,i.jsx)(nz.Floorplans,{})]})})}),(0,i.jsx)(tw.Z,{span:10,children:(0,i.jsxs)(tb.Z,{gutter:8,children:[(0,i.jsx)(nz.Desks,{}),(0,i.jsx)(nz.Space,{}),(0,i.jsx)(nz.PriceDesks,{}),(0,i.jsx)(nz.PriceSpace,{})]})})]},e.id)})}):null},ya={[eO.q1m.BadLeadRequirements]:u.ZP.t("lead.rejection-feedback.bad-requirements","Requirements are not clear enough."),[eO.q1m.BadLeadInventorySelection]:u.ZP.t("lead.rejection-feedback.bad-inventory-selection","Selected buildings or spaces are not matching."),[eO.q1m.OccupiedInventory]:u.ZP.t("lead.rejection-feedback.occupied-inventory","Selected buildings or spaces are occupied."),[eO.q1m.Other]:u.ZP.t("lead.rejection-feedback.other","Other reason.")};function ys(){let e=(0,ea._)(["\n  fragment RejectReasonView on EnquiryLead {\n    status\n    rejectReason {\n      id\n      reasons\n      comment\n      createdAt\n    }\n  }\n"]);return ys=function(){return e},e}let yl=e=>{var t;let{lead:n}=e,{t:r}=(0,u.$G)();return n.status===eO.kKd.Rejected&&n.rejectReason?(0,i.jsx)(S.Z,{placement:"top",title:(0,i.jsxs)("div",{children:[r("enquiries.lead-declined","Declined"),(0,i.jsxs)(i.Fragment,{children:[":"," ",null===(t=n.rejectReason.reasons)||void 0===t?void 0:t.map(e=>(0,i.jsx)("div",{children:ya[e]},e)),(0,i.jsx)("div",{children:n.rejectReason.comment}),(0,lj.B)(n.rejectReason.createdAt).fromNow()]})]}),children:(0,i.jsx)(tN,{className:"text-red-600"})}):null};function yc(){let e=(0,ea._)(["\n  mutation rejectLead($id: Int!, $data: RejectReasonInput!) {\n    opportunity {\n      referral {\n        reject(id: $id, data: $data) {\n          success\n        }\n      }\n    }\n  }\n"]);return yc=function(){return e},e}(0,es.ZP)(ys());let yu=e=>{let{open:t,onClose:n,leadId:r,onSubmit:o=s()}=e,{t:a}=(0,u.$G)(),[l]=D.Z.useForm(),[c,{loading:d}]=(0,eO.xHN)(),{onLeadStatusChanged:f}=(0,W.Ch)(),p=async e=>{try{await c({variables:{id:r,data:{...e,comment:e.comment||null}}}),f(r,eO.kKd.Rejected,e.comment),await o(),n(),ls.ZP.success(a("lead.rejection-feedback.success-message","Your feedback has been successfully sent.")),l.resetFields()}catch(e){ls.ZP.error(a("error-default","Something went wrong, please try again"))}},h=()=>{n(),l.resetFields()},m=a("lead.rejection-feedback.modal.comments.label","Comments");return(0,i.jsx)(F.Z,{title:a("lead.rejection-feedback.modal.title","Please provide a decline reason"),open:t,onCancel:h,styles:{body:{padding:"24px 0 0"}},footer:!1,width:400,children:(0,i.jsxs)(D.Z,{form:l,initialValues:{reasons:[],comment:null},onFinish:p,layout:"vertical",children:[(0,i.jsx)(D.Z.Item,{name:"reasons",children:(0,i.jsx)(B.Z.Group,{children:Object.entries(ya).map(e=>{let[t,n]=e;return(0,i.jsx)("div",{className:"mb-2",children:(0,i.jsx)(B.Z,{value:t,children:n})},t)})})}),(0,i.jsx)(D.Z.Item,{name:"comment",label:m,rules:[e=>{let{getFieldValue:t}=e;return{required:t("reasons").includes(eO.q1m.Other),message:a("lead.rejection-feedback.modal.comments.error",'Comments are required if you choose "Other reasons"')}},(0,eb.YW)(m,200,a,{html:!1})],children:(0,i.jsx)(s1.default.TextArea,{placeholder:a("lead.rejection-feedback.modal.comments.placeholder","Tell us more about your reason (max. 200 characters)"),rows:4})}),(0,i.jsx)("div",{className:"text-right",children:(0,i.jsx)(Y.k4,{form:l,loading:d,children:a("lead.rejection-feedback.modal.button","Send")})})]})})};(0,es.ZP)(yc())},14467:function(e,t,n){"use strict";n.d(t,{J:function(){return c}});var r=n(31791),o=n(31549),i=n(73921),a=n(57020),s=n(38442);function l(){let e=(0,r._)(["\n  fragment OpportunityBrokerView on Opportunity {\n    brokerEmail\n    brokerPhone\n    brokerFullName\n  }\n"]);return l=function(){return e},e}let c=e=>{let{opportunity:t}=e,{t:n}=(0,a.$G)();if(!(0,s.dB)().showBrokerDetails||!t)return null;let{brokerEmail:r,brokerPhone:i,brokerFullName:l}=t;return l||r||i?(0,o.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,o.jsx)("div",{className:"text-gray-400",children:n("text.broker","Broker")}),(0,o.jsx)("div",{children:l}),(0,o.jsx)("div",{children:i}),(0,o.jsx)("a",{href:"mailto:".concat(r),children:r})]}):null};(0,i.ZP)(l())},70247:function(e,t,n){"use strict";n.d(t,{Y:function(){return c}});var r=n(31791),o=n(31549),i=n(73921),a=n(57020),s=n(78989);function l(){let e=(0,r._)(["\n  fragment OpportunityCompanyView on Opportunity {\n    id\n    companyWebsite\n    companyIndustry\n    companySize\n  }\n"]);return l=function(){return e},e}let c=e=>{let{opportunity:t}=e,{t:n}=(0,a.$G)(),{companyWebsite:r,companyIndustry:i,companySize:l}=t;if(r||i||l)return(0,o.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,o.jsx)("div",{className:"text-gray-400",children:n("text.about-company","About company")}),i?(0,o.jsx)("div",{children:(0,s.A)(null==t?void 0:t.companyIndustry)}):null,l?(0,o.jsx)("div",{children:n("text.amount-employees","{{amount}} employees",{amount:s.m[l]})}):null,r?(0,o.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",children:n("text.company-website","Company website")}):null]})};(0,i.ZP)(l())},27523:function(e,t,n){"use strict";n.d(t,{I:function(){return u}});var r=n(31791),o=n(31549),i=n(73921),a=n(57597),s=n(57020);function l(){let e=(0,r._)(["\n  fragment OpportunityRequirementsView on Opportunity {\n    id\n    termLengthCondition {\n      id\n      from\n      to\n      isRange\n    }\n    availableFromCondition {\n      id\n      from\n      to\n      isRange\n    }\n    budgetCondition {\n      id\n      from\n      to\n      isRange\n      unit\n      currency\n    }\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n    sizeSpace {\n      id\n      from\n      to\n      isRange\n      unit\n    }\n  }\n"]);return l=function(){return e},e}let c=(e,t)=>({label:e,value:t}),u=e=>{let{opportunity:t}=e,{t:n}=(0,s.$G)(),r=[c(n("text.term-length","Term length"),(0,a.me)(null==t?void 0:t.termLengthCondition)),c(n("text.desks","Desks"),(0,a.qs)(null==t?void 0:t.sizeDesks)),c(n("text.space-size","Space size"),(0,a.kh)(null==t?void 0:t.sizeSpace)),c(n("text.move-in-date","Move in date"),(0,a.Ox)(null==t?void 0:t.availableFromCondition)),c(n("text.budget","Budget"),(0,a.XQ)(null==t?void 0:t.budgetCondition))];return(0,o.jsx)("div",{className:"flex gap-4",children:r.map(e=>(0,o.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1 rounded bg-white px-4 py-2",children:[(0,o.jsx)("div",{className:"text-gray-400",children:e.label}),(0,o.jsx)("div",{className:"text-center text-base font-medium leading-tight",children:e.value||"TBC"})]},e.label))})};(0,i.ZP)(l())},89090:function(e,t,n){"use strict";n.d(t,{cc:function(){return r},sw:function(){return o},BZ:function(){return c},gl:function(){return X},dG:function(){return M}}),function(e){e.ADD_OPTION="add-option",e.EDIT_OPTION="edit-option"}(r||(r={})),function(e){e.MANAGEMENT="management",e.ENQUIRY="enquiry",e.REPORT="report",e.TOURS="tours"}(o||(o={}));var r,o,i=n(75379),a=n(9511);let s=(0,a.fX)([r.ADD_OPTION,r.EDIT_OPTION]),l=(0,a.fX)([o.MANAGEMENT,o.ENQUIRY,o.REPORT,o.TOURS]),c=()=>(0,i.Kx)({form:s,tab:(0,a.Wc)(l,o.MANAGEMENT),referralId:a.Zp,optionId:a.Zp,enquiryId:a.Zp});var u=n(31549),d=n(39830),f=n(57020),p=n(31791),h=n(90011),m=n(56043),g=n(46665),v=n(17998),y=n(3097),b=n(89653),w=n(52334),S=n(72477),x=n(73921),E=n(51424),C=n(61808),_=n(2490),k=n(38442),O=n(6278),A=n(63422);function I(){let e=(0,p._)(["\n  fragment TransferOpportunityFormView on OpportunityOverview {\n    id\n    ownerId\n  }\n\n  query members(\n    $isAgent: Boolean!\n    $isOperator: Boolean!\n    $excludeMyself: Boolean!\n  ) {\n    me {\n      id\n      agent @skip(if: $isOperator) {\n        id\n        members(where: { onlyActive: true, excludeMyself: $excludeMyself }) {\n          ...Member\n        }\n      }\n      operator @skip(if: $isAgent) {\n        id\n        members(where: { onlyActive: true, excludeMyself: $excludeMyself }) {\n          ...Member\n        }\n      }\n    }\n  }\n\n  mutation transferOpportunity($id: Int!, $data: OpportunityTransferInput!) {\n    opportunity {\n      transfer(where: { id: $id }, data: $data) {\n        id\n        companyName\n        user {\n          id\n          contact {\n            id\n            name\n          }\n        }\n      }\n    }\n  }\n"]);return I=function(){return e},e}let P=200,T={member:null,message:""},R=e=>{var t,n;let{opportunity:r,onTransferred:o}=e,{t:a}=(0,f.$G)(),{opportunityName:s}=(0,i.UB)(),{onTransferred:l}=(0,C.yD)({id:r.id},"OPPORTUNITY"),{message:c}=d.Z.useApp(),[p]=m.Z.useForm(),{me:x}=(0,k.KR)(),{data:I,loading:R}=(0,A.RwO)({variables:{isAgent:(null==x?void 0:x.type)===A.FWD.Agent,isOperator:[A.FWD.Operator,A.FWD.Platform].includes(null==x?void 0:x.type),excludeMyself:!(0,O.Fs)(null==x?void 0:x.permissions,[E.tN.AccessToAllOpportunities])||(null==x?void 0:x.id)===r.ownerId}}),[M]=(0,A.kl6)({onCompleted(e){let t=e.opportunity.transfer;l(),c.success(a("transfer-opportunity.success","{{name}} was successfully transferred to {{owner}}",{name:s(t),owner:t.user.contact.name}))},onError(){c.error(a("error-default","Something went wrong, please try again"))}}),[{loading:N},j]=(0,h.Z)(async e=>{await M({variables:{id:r.id,data:{userId:e.member,message:e.message}}}),await o(),D()}),D=()=>g.Z.destroyAll(),L=(null==x?void 0:x.type)===A.FWD.Agent?null==I?void 0:null===(t=I.me)||void 0===t?void 0:t.agent:null==I?void 0:null===(n=I.me)||void 0===n?void 0:n.operator;return(0,u.jsxs)(m.Z,{id:"transfer-opportunity-form",form:p,initialValues:T,onFinish:j,layout:"vertical",children:[(0,u.jsx)(v.Z.Paragraph,{children:(0,u.jsx)(f.cC,{i18nKey:"transfer-opportunity.description",defaults:"Transferring an opportunity to another member will give them the rights to view and edit. You will <strong>no longer have access</strong> to this opportunity afterwards.",components:{strong:(0,u.jsx)("span",{className:"font-bold"})}})}),(0,u.jsx)(m.Z.Item,{name:"member",label:a("recipient","Recipient"),rules:[{required:!0}],children:(0,u.jsx)(y.default,{showSearch:!0,placeholder:a("transfer-opportunity.select-member.label","Select a member"),optionFilterProp:"children",filterOption:(e,t)=>{var n;return(null!==(n=null==t?void 0:t.children)&&void 0!==n?n:"").toLowerCase().includes(e.toLowerCase())},options:null==L?void 0:L.members.filter(e=>e.id!==r.ownerId).map(e=>({value:e.id,children:e.name,label:(0,u.jsx)(_.n5,{avatarUrl:e.avatarUrl,name:e.name,size:"small"})})),loading:R,allowClear:!0})}),(0,u.jsx)(m.Z.Item,{name:"message",label:a("text.message","Message"),rules:[{max:P}],children:(0,u.jsx)(b.default.TextArea,{placeholder:a("transfer-opportunity.message.placeholder","Leave a message for the recipient"),maxLength:P})}),(0,u.jsxs)(w.Z,{className:"w-full justify-end",children:[(0,u.jsx)(S.ZP,{onClick:D,children:a("cancel","Cancel")}),(0,u.jsx)(S.ZP,{htmlType:"submit",type:"primary",loading:N,children:a("transfer","Transfer")})]})]})};(0,x.ZP)(I());let M=e=>{let{t}=(0,f.$G)(),{modal:n}=d.Z.useApp();return()=>{n.confirm({icon:null,closable:!0,maskClosable:!0,title:t("transfer-opportunity.title","Transfer opportunity"),content:(0,u.jsx)(R,{...e}),footer:null})}};var N=n(71094);let j=e=>{var t;let{maxCount:n}=e,r=m.Z.useWatch("members"),o=null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0;return(0,u.jsxs)("div",{className:"rounded bg-white p-1",children:[(0,u.jsxs)("span",{children:[o," / ",n]}),(0,u.jsx)(N.Z,{className:"ml-1"})]})},D=3,L=()=>{var e;let{t}=(0,f.$G)(),{organization:n}=(0,k.KR)(),r=(null!==(e=m.Z.useWatch("existingMembers"))&&void 0!==e?e:[]).map(e=>e.id),o=D-r.length,i=null==n?void 0:n.members.filter(e=>!r.includes(e.id)&&e.status===A.XY6.Active).map(e=>({value:e.id,children:e.name,label:(0,u.jsx)(_.n5,{avatarUrl:e.avatarUrl,name:e.name,size:20})}));return(0,u.jsx)(m.Z.Item,{name:"members",label:t("collaborators","Collaborators"),rules:[{required:!0}],children:(0,u.jsx)(y.default,{mode:"multiple",maxCount:o,suffixIcon:(0,u.jsx)(j,{maxCount:o}),showSearch:!0,placeholder:t("share-opportunity.select-member.label","Select a member"),optionFilterProp:"children",filterOption:(e,t)=>{var n;return(null!==(n=null==t?void 0:t.children)&&void 0!==n?n:"").toLowerCase().includes(e.toLowerCase())},options:i,allowClear:!0})})};var B=n(44871),Z=n(62632),F=n(44194),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 655.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 518 759.6 444.7 759.6 362c0-137-110.8-248-247.5-248S264.7 225 264.7 362c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 901.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 641.2 432.2 610 512.2 610c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 534c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 362c0-45.9 17.9-89.1 50.3-121.6S466.3 190 512.2 190s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 362c0 45.9-17.9 89.1-50.3 121.6C601.1 516.1 558 534 512.2 534zM880 772H640c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h240c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-delete",theme:"outlined"},U=n(32962),H=function(e,t){return F.createElement(U.Z,(0,Z.Z)({},e,{ref:t,icon:z}))},q=F.forwardRef(H),V=n(43229),W=n(70568);function $(){let e=(0,p._)(["\n  mutation removeOpportunityMember($opportunityId: Int!, $userId: Int!) {\n    opportunity {\n      member {\n        remove(opportunityId: $opportunityId, userId: $userId) {\n          success\n        }\n      }\n    }\n  }\n"]);return $=function(){return e},e}let G=e=>{let{opportunity:t,onRemoved:n}=e,{t:r}=(0,f.$G)(),{me:o,organization:i}=(0,k.KR)(),{onCollaboratorRemoved:a}=(0,C.yD)({id:t.id},"OPPORTUNITY"),[s,{loading:l}]=(0,A.qOq)({async onCompleted(e,t){let{variables:{userId:o}}=t,s=i.members.find(e=>e.id===o);a(),V.ZP.success(r("share-opportunity.remove","{{member}} has been removed from collaborators",{member:s.name})),await n()},onError(){V.ZP.error(r("error-default","Something went wrong, please try again"))}}),c=async e=>await s({variables:{opportunityId:t.id,userId:e.id}});return(0,u.jsx)(m.Z.List,{name:"existingMembers",children:(e,n)=>{let{remove:i}=n;return(0,u.jsx)(u.Fragment,{children:e.map((e,n)=>(0,u.jsx)(m.Z.Item,{dependencies:["existingMembers"],noStyle:!0,children:a=>{let{getFieldValue:s}=a,d=s(["existingMembers",e.name]);return(0,u.jsxs)("div",{className:"flex items-center gap-2 border-b border-gray-100 py-2",children:[(0,u.jsx)(W.C,{icon:(0,u.jsx)(B.Z,{}),src:d.avatarUrl}),(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)(v.Z.Text,{ellipsis:!0,children:"".concat(d.name," ").concat(d.id===t.ownerId?"(".concat(r("owner","Owner"),")"):"")}),(0,u.jsx)(v.Z.Text,{className:"text-xs text-gray-400",ellipsis:!0,children:d.email})]}),![t.ownerId,o.id].includes(d.id)&&(0,u.jsx)(S.ZP,{disabled:l,icon:(0,u.jsx)(q,{}),className:"ml-auto",onClick:()=>c(d).then(()=>i(n))})]},d.id)}},e.key))})}})};function K(){let e=(0,p._)(["\n  fragment ShareOpportunityFormView on OpportunityOverview {\n    id\n    ownerId\n    members {\n      ...Member\n    }\n  }\n\n  mutation shareOpportunity(\n    $opportunityId: Int!\n    $data: [AddOpportunityMemberInput!]!\n  ) {\n    opportunity {\n      member {\n        add(opportunityId: $opportunityId, data: $data) {\n          success\n        }\n      }\n    }\n  }\n"]);return K=function(){return e},e}(0,x.ZP)($());let Y=e=>{var t;let{opportunity:n,onShared:r,onRemoved:o}=e,{t:i}=(0,f.$G)(),{organization:a}=(0,k.KR)(),{onCollaboratorInvited:s}=(0,C.yD)({id:n.id},"OPPORTUNITY"),{message:l}=d.Z.useApp(),[c]=m.Z.useForm(),[p]=(0,A.vdl)({onCompleted(e,t){let{variables:{data:n}}=t,r=n.map(e=>e.userId),o=a.members.filter(e=>r.includes(e.id));s(),l.success(i("share-opportunity.success","{{members}} invited to collaborate",{members:o.map(e=>e.name).join(", ")}))},onError(){l.error(i("error-default","Something went wrong, please try again"))}}),[{loading:y},b]=(0,h.Z)(async e=>{await p({variables:{opportunityId:n.id,data:e.members.map(e=>({userId:e}))}}),await r(),x()}),x=()=>g.Z.destroyAll(),E={existingMembers:null!==(t=null==n?void 0:n.members)&&void 0!==t?t:[],members:[]};return(0,u.jsxs)(m.Z,{id:"share-opportunity-form",form:c,initialValues:E,onFinish:b,layout:"vertical",children:[(0,u.jsx)(v.Z.Paragraph,{children:i("share-opportunity.description","Collaborators are allowed to adjust your shortlist and generate reports. A maximum of 3 people can collaborate on the same opportunity.")}),(0,u.jsx)("div",{className:"my-4",children:(0,u.jsx)(G,{opportunity:n,onRemoved:o})}),(0,u.jsx)(L,{}),(0,u.jsxs)(w.Z,{className:"w-full justify-end",children:[(0,u.jsx)(S.ZP,{onClick:x,children:i("cancel","Cancel")}),(0,u.jsx)(S.ZP,{htmlType:"submit",type:"primary",loading:y,children:i("invite","Invite")})]})]})};(0,x.ZP)(K());let X=e=>{let{t}=(0,f.$G)(),{modal:n}=d.Z.useApp();return()=>{n.confirm({icon:null,closable:!0,maskClosable:!0,width:480,title:t("share-opportunity.title","Manage collaborators"),content:(0,u.jsx)(Y,{...e}),footer:null})}}},76107:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function i(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function a(e){var t=i(e,"string");return"symbol"===r(t)?t:String(t)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function f(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return c(e)}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){if(Array.isArray(e))return e}function g(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}}function b(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(e){return m(e)||g(e)||y(e)||b()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,{Nr:function(){return ej},KZ:function(){return E},J$:function(){return C}});var E,C,_={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},k=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.init(t,n)}return l(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||_,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,x(x({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}()),O=function(){function e(){o(this,e),this.observers={}}return l(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(function(e){return e!==t})}}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})}}]),e}();function A(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function I(e){return null==e?"":""+e}function P(e,t,n){e.forEach(function(e){t[e]&&(n[e]=t[e])})}function T(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function R(e,t,n){var r=T(e,t,Object);r.obj[r.k]=n}function M(e,t,n,r){var o=T(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n)}function N(e,t){var n=T(e,t),r=n.obj,o=n.k;if(r)return r[o]}function j(e,t,n){var r=N(e,n);return void 0!==r?r:N(t,n)}function D(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):D(e[r],t[r],n):e[r]=t[r]);return e}function L(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var B={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Z(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return B[e]}):e}var F="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,z=[" ",",","?","!",";"];function U(e,t,n){t=t||"",n=n||"";var r=z.filter(function(e){return 0>t.indexOf(e)&&0>n.indexOf(e)});if(0===r.length)return!0;var o=new RegExp("(".concat(r.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}function H(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o||"string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,s=r.slice(i,i+a).join(n),l=o[s];void 0===l&&r.length>i+a;)a++,l=o[s=r.slice(i,i+a).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=r.slice(i+a).join(n);if(c)return H(l,c,n);return}o=o[r[i]]}return o}}function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(e){var t=$();return function(){var n,r=p(e);return n=t?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),f(this,n)}}function $(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var G=function(e){d(n,e);var t=W(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return o(this,n),r=t.call(this),F&&O.call(c(r)),r.data=e||{},r.options=i,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return l(n,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=N(this.data,a);return s||!i||"string"!=typeof n?s:H(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),R(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)("string"==typeof n[o]||"[object Array]"===Object.prototype.toString.apply(n[o]))&&this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);var s=N(this.data,a)||{};r?D(s,n,o):s=V(V({},s),n),R(this.data,a,s),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?V(V({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(O),K={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))}),t}};function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e){var t=J();return function(){var n,r=p(e);return n=t?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),f(this,n)}}function J(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ee={},et=function(e){d(n,e);var t=Q(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,n),r=t.call(this),F&&O.call(c(r)),P(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,c(r)),r.options=i,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=k.create("translator"),r}return l(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!U(e,n,r);if(i&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(o=l.shift()),e=l.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,o){var i=this;if("object"!==r(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"===r(t)&&(t=X({},t)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var a=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),c=l.key,u=l.namespaces,d=u[u.length-1],f=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(p){var h=t.nsSeparator||this.options.nsSeparator;return a?{res:"".concat(d).concat(h).concat(c),usedKey:c,exactUsedKey:c,usedLng:f,usedNS:d}:"".concat(d).concat(h).concat(c)}return a?{res:c,usedKey:c,exactUsedKey:c,usedLng:f,usedNS:d}:c}var m=this.resolve(e,t),g=m&&m.res,v=m&&m.usedKey||c,y=m&&m.exactUsedKey||c,b=Object.prototype.toString.apply(g),w=["[object Number]","[object Function]","[object RegExp]"],S=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,E="string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g;if(x&&g&&E&&0>w.indexOf(b)&&!("string"==typeof S&&"[object Array]"===b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var C=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,X(X({},t),{},{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return a?(m.res=C,m):C}if(s){var _="[object Array]"===b,k=_?[]:{},O=_?y:v;for(var A in g)if(Object.prototype.hasOwnProperty.call(g,A)){var I="".concat(O).concat(s).concat(A);k[A]=this.translate(I,X(X({},t),{joinArrays:!1,ns:u})),k[A]===I&&(k[A]=g[A])}g=k}}else if(x&&"string"==typeof S&&"[object Array]"===b)(g=g.join(S))&&(g=this.extendTranslation(g,e,t,o));else{var P=!1,T=!1,R=void 0!==t.count&&"string"!=typeof t.count,M=n.hasDefaultValue(t),N=R?this.pluralResolver.getSuffix(f,t.count,t):"",j=t["defaultValue".concat(N)]||t.defaultValue;!this.isValidLookup(g)&&M&&(P=!0,g=j),this.isValidLookup(g)||(T=!0,g=c);var D=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&T?void 0:g,L=M&&j!==g&&this.options.updateMissing;if(T||P||L){if(this.logger.log(L?"updateKey":"missingKey",f,d,c,L?j:g),s){var B=this.resolve(c,X(X({},t),{},{keySeparator:!1}));B&&B.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Z=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var z=0;z<F.length;z++)Z.push(F[z]);else"all"===this.options.saveMissingTo?Z=this.languageUtils.toResolveHierarchy(t.lng||this.language):Z.push(t.lng||this.language);var U=function(e,n,r){var o=M&&r!==g?r:D;i.options.missingKeyHandler?i.options.missingKeyHandler(e,d,n,o,L,t):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(e,d,n,o,L,t),i.emit("missingKey",e,d,n,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&R?Z.forEach(function(e){i.pluralResolver.getSuffixes(e,t).forEach(function(n){U([e],c+n,t["defaultValue".concat(n)]||j)})}):U(Z,c,j))}g=this.extendTranslation(g,e,t,m,o),T&&g===c&&this.options.appendNamespaceToMissingKey&&(g="".concat(d,":").concat(c)),(T||P)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(d,":").concat(c):c,P?g:void 0):this.options.parseMissingKeyHandler(g))}return a?(m.res=g,m):g}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,X(X({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(X(X({},n),{interpolation:X(X({},this.options.interpolation),n.interpolation)}));var a,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);a=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=X(X({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);a<(u&&u.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))},n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f="string"==typeof d?[d]:d;return null!=e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=K.handle(f,e,t,this.options&&this.options.postProcessPassResolved?X({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;a.options.fallbackNS&&(u=u.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,f=d&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);u.forEach(function(e){a.isValidLookup(t)||(i=e,!ee["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(ee["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(function(n){if(!a.isValidLookup(t)){o=n;var i,l=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(l,c,n,e,s);else{d&&(u=a.pluralResolver.getSuffix(n,s.count,s));var u,h="".concat(a.options.pluralSeparator,"zero");if(d&&(l.push(c+u),f&&l.push(c+h)),p){var m="".concat(c).concat(a.options.contextSeparator).concat(s.context);l.push(m),d&&(l.push(m+u),f&&l.push(m+h))}}for(;i=l.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,s))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),n}(O);function en(e){return e.charAt(0).toUpperCase()+e.slice(1)}var er=function(){function e(t){o(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=k.create("languageUtils")}return l(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=en(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=en(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=en(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);(!n.options.supportedLngs||n.isSupportedCode(r))&&(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&0===e.indexOf(r))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(function(e){0>o.indexOf(e)&&i(n.formatLanguageCode(e))}),o}}]),e}(),eo=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],ei={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},ea=["v1","v2","v3"],es={zero:0,one:1,two:2,few:3,many:4,other:5};function el(){var e={};return eo.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:ei[t.fc]}})}),e}var ec=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.languageUtils=t,this.options=n,this.logger=k.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=el()}return l(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(function(e,t){return es[e]-es[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):r.numbers.map(function(r){return t.getSuffix(e,r,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!ea.includes(this.options.compatibilityJSON)}}]),e}();function eu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ed(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eu(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ef(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4)||void 0===arguments[4]||arguments[4],i=j(e,t,n);return!i&&o&&"string"==typeof n&&void 0===(i=H(e,n,r))&&(i=H(t,n,r)),i}var ep=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=k.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return l(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:Z,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?L(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?L(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?L(t.nestingPrefix):t.nestingPrefixEscaped||L("$t("),this.nestingSuffix=t.nestingSuffix?L(t.nestingSuffix):t.nestingSuffixEscaped||L(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(0>e.indexOf(s.formatSeparator)){var o=ef(t,l,e,s.options.keySeparator,s.options.ignoreJSONStructure);return s.alwaysFormat?s.format(o,void 0,n,ed(ed(ed({},r),t),{},{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),c=i.join(s.formatSeparator).trim();return s.format(ef(t,l,a,s.options.keySeparator,s.options.ignoreJSONStructure),c,n,ed(ed(ed({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach(function(t){for(a=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(i=u(n))){if("function"==typeof d){var l=d(e,o,r);i="string"==typeof l?l:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else if(f){i=o[0];continue}else s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"==typeof i||s.useRawValueToEscape||(i=I(i));var c=t.safeValue(i);if(e=e.replace(o[0],c),f?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,o,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0];var a=(i=this.interpolate(i,o)).match(/'/g),s=i.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o=ed(ed({},t),o))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete o.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var l=[];(o=(o=ed({},a)).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;var c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=I(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce(function(e,t){return i.format(e,t,a.lng,ed(ed({},a),{},{interpolationkey:n[1].trim()}))},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function em(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eh(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eg(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&0>o.indexOf(":")?n.currency||(n.currency=o.trim()):"relativetime"===t&&0>o.indexOf(":")?n.range||(n.range=o.trim()):o.split(";").forEach(function(e){if(e){var t=e.split(":"),r=w(t),o=r[0],i=r.slice(1),a=i.join(":").trim().replace(/^'+|'+$/g,"");n[o.trim()]||(n[o.trim()]=a),"false"===a&&(n[o.trim()]=!1),"true"===a&&(n[o.trim()]=!0),isNaN(a)||(n[o.trim()]=parseInt(a,10))}})}return{formatName:t,formatOptions:n}}function ev(e){var t={};return function(n,r,o){var i=r+JSON.stringify(o),a=t[i];return a||(a=e(r,o),t[i]=a),a(n)}}var ey=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=k.create("formatter"),this.options=t,this.formats={number:ev(function(e,t){var n=new Intl.NumberFormat(e,em({},t));return function(e){return n.format(e)}}),currency:ev(function(e,t){var n=new Intl.NumberFormat(e,em(em({},t),{},{style:"currency"}));return function(e){return n.format(e)}}),datetime:ev(function(e,t){var n=new Intl.DateTimeFormat(e,em({},t));return function(e){return n.format(e)}}),relativetime:ev(function(e,t){var n=new Intl.RelativeTimeFormat(e,em({},t));return function(e){return n.format(e,t.range||"day")}}),list:ev(function(e,t){var n=new Intl.ListFormat(e,em({},t));return function(e){return n.format(e)}})},this.init(t)}return l(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=ev(t)}},{key:"format",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(function(e,t){var i=eg(t),a=i.formatName,s=i.formatOptions;if(r.formats[a]){var l=e;try{var c=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},u=c.locale||c.lng||o.locale||o.lng||n;l=r.formats[a](e,u,em(em(em({},s),o),c))}catch(e){r.logger.warn(e)}return l}return r.logger.warn("there was no format function for ".concat(a)),e},e)}}]),e}();function eb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ew(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eb(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eS(e){var t=ex();return function(){var n,r=p(e);return n=t?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),f(this,n)}}function ex(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eE(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}var eC=function(e){d(n,e);var t=eS(n);function n(e,r,i){var a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o(this,n),a=t.call(this),F&&O.call(c(a)),a.backend=e,a.store=r,a.services=i,a.languageUtils=i.languageUtils,a.options=s,a.logger=k.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(i,s.backend,s),a}return l(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i={},a={},s={},l={};return e.forEach(function(e){var r=!0;t.forEach(function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?void 0===a[s]&&(a[s]=!0):(o.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===l[t]&&(l[t]=!0)))}),r||(s[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){M(n.loaded,[o],i),eE(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach(function(t){void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:i,callback:a});return}this.readingCalls++;var s=function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(s&&l&&o<r.maxRetries){setTimeout(function(){r.read.call(r,e,t,n,o+1,2*i,a)},i);return}a(s,l)},l=this.backend[n].bind(this.backend);if(2===l.length){try{var c=l(e,t);c&&"function"==typeof c.then?c.then(function(e){return s(null,e)}).catch(s):s(null,c)}catch(e){s(e)}return}return l(e,t,s)}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)})}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=n&&""!==n){if(this.backend&&this.backend.create){var s,l=ew(ew({},i),{},{isUpdate:o}),c=this.backend.create.bind(this.backend);if(c.length<6)try{(s=5===c.length?c(e,t,n,r,l):c(e,t,n,r))&&"function"==typeof s.then?s.then(function(e){return a(null,e)}).catch(a):a(null,s)}catch(e){a(e)}else c(e,t,n,r,a,l)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}]),n}(O);function e_(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===r(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===r(e[2])||"object"===r(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function ek(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function eO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eO(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eI(e){var t=eP();return function(){var n,r=p(e);return n=t?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),f(this,n)}}function eP(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eT(){}function eR(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}var eM=function(e){d(n,e);var t=eI(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(o(this,n),e=t.call(this),F&&O.call(c(e)),e.options=ek(r),e.services={},e.logger=k,e.modules={external:[]},eR(c(e)),i&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,i),f(e,c(e));setTimeout(function(){e.init(r,i)},0)}return e}return l(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));var r=e_();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=eA(eA(eA({},r),this.options),ek(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=eA(eA({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){this.modules.logger?k.init(o(this.modules.logger),this.options):k.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=ey);var i,a=new er(this.options);this.store=new G(this.options.resources,this.options);var s=this.services;s.logger=k,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new ec(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(s.formatter=o(i),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new ep(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new eC(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.languageDetector&&(s.languageDetector=o(this.modules.languageDetector),s.languageDetector.init&&s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=o(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new et(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.external.forEach(function(t){t.init&&t.init(e)})}if(this.format=this.options.interpolation.format,n||(n=eT),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}});var c=A(),u=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eT,r=n,o="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){if(e){var n=t.services.languageUtils.toResolveHierarchy(e);n.forEach(function(e){0>i.indexOf(e)&&i.push(e)})}};o?a(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return a(e)}),this.options.preload&&this.options.preload.forEach(function(e){return a(e)}),this.services.backendConnector.load(i,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)})}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=A();return e||(e=this.languages),t||(t=this.options.ns),n||(n=eT),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&K.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=A();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},i=function(e,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})},a=function(t){e||t||!n.services.languageDetector||(t=[]);var r="string"==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);r&&(n.language||o(r),n.translator.language||n.translator.changeLanguage(r),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(r)),n.loadResources(r,function(e){i(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var o=this,i=function e(t,i){if("object"!==r(i)){for(var a,s,l=arguments.length,c=Array(l>2?l-2:0),u=2;u<l;u++)c[u-2]=arguments[u];a=o.options.overloadTranslationOptionHandler([t,i].concat(c))}else a=eA({},i);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,a.keyPrefix=a.keyPrefix||n||e.keyPrefix;var d=o.options.keySeparator||".";return s=a.keyPrefix&&Array.isArray(t)?t.map(function(e){return"".concat(a.keyPrefix).concat(d).concat(e)}):a.keyPrefix?"".concat(a.keyPrefix).concat(d).concat(t):t,o.t(s,a)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,e)&&(!o||a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=A();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>n.options.ns.indexOf(e)&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=A();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter(function(e){return 0>r.indexOf(e)});return o.length?(this.options.preload=r.concat(o),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new er(e_())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eT,o=eA(eA(eA({},this.options),t),{isClone:!0}),i=new n(o);return(void 0!==t.debug||void 0!==t.prefix)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(function(t){i[t]=e[t]}),i.services=eA({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new et(i.services,i.options),i.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))}),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(O);h(eM,"createInstance",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new eM(e,t)});var eN=eM.createInstance();eN.createInstance=eM.createInstance,eN.createInstance,eN.dir,eN.init,eN.loadResources,eN.reloadResources,eN.use,eN.changeLanguage,eN.getFixedT,eN.t,eN.exists,eN.setDefaultNamespace,eN.hasLoadedNamespace,eN.loadNamespaces,eN.loadLanguages,function(e){e.NAME="name",e.DESKS="desks",e.COST_PER_DESK="cost_per_desk",e.AVAILABLE_FROM="available_from",e.TYPE="type",e.STATUS="status",e.VISIBILITY="visibility",e.COST_PER_MONTH="cost_per_month",e.UPDATED_AT="updated_at"}(E||(E={})),function(e){e.PUBLIC="PUBLIC",e.PRIVATE="PRIVATE"}(C||(C={})),eN.t("office-suite-visibility.label.PUBLIC","Public"),eN.t("office-suite-visibility.label.PRIVATE","Private");let ej=Object.values(E)},78989:function(e,t,n){"use strict";n.d(t,{A:function(){return a},m:function(){return r}});var r,o=n(57020),i=n(63422);function a(e){switch(e){case i.h3G.AerospaceAndDefence:return o.ZP.t("industries:aerospace-and-defence","Aerospace and Defence");case i.h3G.Automotive:return o.ZP.t("industries:automotive","Automotive");case i.h3G.BankingAndFinancialServicesAndInsurance:return o.ZP.t("industries:banking-and-financial-services-and-insurance","Banking / Financial Services / Insurance");case i.h3G.BusinessServices:return o.ZP.t("industries:business-services","Business Services");case i.h3G.Charities:return o.ZP.t("industries:charities","Charities");case i.h3G.Chemicals:return o.ZP.t("industries:chemicals","Chemicals");case i.h3G.Education:return o.ZP.t("industries:education","Education");case i.h3G.EngineeringAndConstruction:return o.ZP.t("industries:engineering-and-construction","Engineering and Construction");case i.h3G.ForestPaperAndPackaging:return o.ZP.t("industries:forest-paper-and-packaging","Forest, Paper and Packaging");case i.h3G.GovernmentAndPublicServices:return o.ZP.t("industries:government-and-public-services","Government and Public Services");case i.h3G.Healthcare:return o.ZP.t("industries:healthcare","Healthcare");case i.h3G.HospitalityAndLeisure:return o.ZP.t("industries:hospitality-and-leisure","Hospitality and Leisure");case i.h3G.LegalServices:return o.ZP.t("industries:legal-services","Legal Services");case i.h3G.Manufacturing:return o.ZP.t("industries:manufacturing","Manufacturing");case i.h3G.MediaAndCreative:return o.ZP.t("industries:media-and-creative","Media and Creative");case i.h3G.MiningAndMetals:return o.ZP.t("industries:mining-and-metals","Mining and Metals");case i.h3G.OilAndGas:return o.ZP.t("industries:oil-and-gas","Oil and Gas");case i.h3G.Other:return o.ZP.t("industries:other","Other");case i.h3G.PharmaceuticalAndLifeSciences:return o.ZP.t("industries:pharmaceutical-and-life-sciences","Pharmaceutical and Life Sciences");case i.h3G.PowerAndUtilities:return o.ZP.t("industries:power-and-utilities","Power and Utilities");case i.h3G.PrivateEquity:return o.ZP.t("industries:private-equity","Private Equity");case i.h3G.RealEstate:return o.ZP.t("industries:real-estate","Real Estate");case i.h3G.RetailAndConsumer:return o.ZP.t("industries:retail-and-consumer","Retail and Consumer");case i.h3G.SportsAndEntertainment:return o.ZP.t("industries:sports-and-entertainment","Sports & Entertainment");case i.h3G.Technology:return o.ZP.t("industries:technology","Technology");case i.h3G.Telecommunications:return o.ZP.t("industries:telecommunications","Telecommunications");case i.h3G.TransportAndLogistics:return o.ZP.t("industries:transport-and-logistics","Transport and Logistics")}}!function(e){e.FROM_1_TO_10="1-10",e.FROM_11_TO_50="11-50",e.FROM_51_TO_200="51-200",e.FROM_201_TO_500="201-500",e.FROM_501_TO_1000="501-1000",e.FROM_1001_TO_5000="1001-5000",e.FROM_5001_TO_10000="5001-10,000",e.FROM_10000="10,000+"}(r||(r={}))},7687:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r=["LG","G",...Array.from(Array(100).keys(),e=>e+1)].map(String)},81701:function(e,t,n){"use strict";var r,o,i;n.d(t,{Wi:function(){return o},i8:function(){return i},vx:function(){return r}}),function(e){e.PREVIEW="preview",e.GENERAL="general",e.BOOKING="booking",e.MEDIA="media"}(r||(r={})),function(e){e.PREVIEW="preview",e.GENERAL="general",e.AMENITIES="amenities",e.PRICING="pricing",e.WORKING_HOURS="working-hours",e.ADDRESS="address",e.MEDIA="media",e.KEY_DATES="key-dates"}(o||(o={})),function(e){e.GENERAL="general",e.BOOKING="booking"}(i||(i={}))},7726:function(e,t,n){"use strict";n.d(t,{O:function(){return th}}),function(e){function t(e){}function n(e){throw Error()}function r(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)}e.assertEqual=e=>e,e.assertIs=t,e.assertNever=n,e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=r,e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(tt||(tt={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(tn||(tn={}));let r=tt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),o=e=>{switch(typeof e){case"undefined":return r.undefined;case"string":return r.string;case"number":return isNaN(e)?r.nan:r.number;case"boolean":return r.boolean;case"function":return r.function;case"bigint":return r.bigint;case"symbol":return r.symbol;case"object":if(Array.isArray(e))return r.array;if(null===e)return r.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return r.promise;if("undefined"!=typeof Map&&e instanceof Map)return r.map;if("undefined"!=typeof Set&&e instanceof Set)return r.set;if("undefined"!=typeof Date&&e instanceof Date)return r.date;return r.object;default:return r.unknown}},i=tt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),a=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class s extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(r);else if("invalid_return_type"===o.code)r(o.returnTypeError);else if("invalid_arguments"===o.code)r(o.argumentsError);else if(0===o.path.length)n._errors.push(t(o));else{let e=n,r=0;for(;r<o.path.length;){let n=o.path[r];r===o.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(o))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}toString(){return this.message}get message(){return JSON.stringify(this.issues,tt.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}s.create=e=>new s(e);let l=(e,t)=>{let n;switch(e.code){case i.invalid_type:n=e.received===r.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case i.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,tt.jsonStringifyReplacer)}`;break;case i.unrecognized_keys:n=`Unrecognized key(s) in object: ${tt.joinValues(e.keys,", ")}`;break;case i.invalid_union:n="Invalid input";break;case i.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${tt.joinValues(e.options)}`;break;case i.invalid_enum_value:n=`Invalid enum value. Expected ${tt.joinValues(e.options)}, received '${e.received}'`;break;case i.invalid_arguments:n="Invalid function arguments";break;case i.invalid_return_type:n="Invalid function return type";break;case i.invalid_date:n="Invalid date";break;case i.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:tt.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case i.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case i.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case i.custom:n="Invalid input";break;case i.invalid_intersection_types:n="Intersection results could not be merged";break;case i.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case i.not_finite:n="Number must be finite";break;default:n=t.defaultError,tt.assertNever(e)}return{message:n}},c=l;function u(e){c=e}function d(){return c}let f=e=>{let{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],a={...o,path:i},s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(a,{data:t,defaultError:s}).message;return{...o,path:i,message:o.message||s}},p=[];function h(e,t){let n=f({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,d(),l].filter(e=>!!e)});e.common.issues.push(n)}class m{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if("aborted"===r.status)return g;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let e of t)n.push({key:await e.key,value:await e.value});return m.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:o}=r;if("aborted"===t.status||"aborted"===o.status)return g;"dirty"===t.status&&e.dirty(),"dirty"===o.status&&e.dirty(),(void 0!==o.value||r.alwaysSet)&&(n[t.value]=o.value)}return{status:e.value,value:n}}}let g=Object.freeze({status:"aborted"}),v=e=>({status:"dirty",value:e}),y=e=>({status:"valid",value:e}),b=e=>"aborted"===e.status,w=e=>"dirty"===e.status,S=e=>"valid"===e.status,x=e=>"undefined"!=typeof Promise&&e instanceof Promise;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(tr||(tr={}));class E{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let C=(e,t)=>{if(S(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new s(e.common.issues);return this._error=t,this._error}}};function _(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:o}:{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=r?r:t.defaultError}:{message:null!=n?n:t.defaultError},description:o}}class k{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return o(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:o(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new m,ctx:{common:e.parent.common,data:e.data,parsedType:o(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(x(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:o(e)},i=this._parseSync({data:e,path:r.path,parent:r});return C(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:o(e)},r=this._parse({data:e,path:n.path,parent:n});return C(n,await (x(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{let o=e(t),a=()=>r.addIssue({code:i.custom,...n(t)});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(e=>!!e||(a(),!1)):!!o||(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new em({schema:this,typeName:to.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return eg.create(this,this._def)}nullable(){return ev.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Y.create(this,this._def)}promise(){return eh.create(this,this._def)}or(e){return J.create([this,e],this._def)}and(e){return er.create(this,e,this._def)}transform(e){return new em({..._(this._def),schema:this,typeName:to.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t="function"==typeof e?e:()=>e;return new ey({..._(this._def),innerType:this,defaultValue:t,typeName:to.ZodDefault})}brand(){return new ex({typeName:to.ZodBranded,type:this,..._(this._def)})}catch(e){let t="function"==typeof e?e:()=>e;return new eb({..._(this._def),innerType:this,catchValue:t,typeName:to.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eE.create(this,e)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let O=/^c[^\s-]{8,}$/i,A=/^[a-z][a-z0-9]*$/,I=/[0-9A-HJKMNP-TV-Z]{26}/,P=/^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i,T=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\])|(\[IPv6:(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))\])|([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])*(\.[A-Za-z]{2,})+))$/,R=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,M=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,N=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,j=e=>e.precision?e.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function D(e,t){return!!(("v4"===t||!t)&&M.test(e)||("v6"===t||!t)&&N.test(e))}class L extends k{constructor(){super(...arguments),this._regex=(e,t,n)=>this.refinement(t=>e.test(t),{validation:t,code:i.invalid_string,...tr.errToObj(n)}),this.nonempty=e=>this.min(1,tr.errToObj(e)),this.trim=()=>new L({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new L({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new L({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(e){let t;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==r.string){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.string,received:t.parsedType}),g}let n=new m;for(let r of this._def.checks)if("min"===r.kind)e.data.length<r.value&&(h(t=this._getOrReturnCtx(e,t),{code:i.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),n.dirty());else if("max"===r.kind)e.data.length>r.value&&(h(t=this._getOrReturnCtx(e,t),{code:i.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),n.dirty());else if("length"===r.kind){let o=e.data.length>r.value,a=e.data.length<r.value;(o||a)&&(t=this._getOrReturnCtx(e,t),o?h(t,{code:i.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):a&&h(t,{code:i.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),n.dirty())}else if("email"===r.kind)T.test(e.data)||(h(t=this._getOrReturnCtx(e,t),{validation:"email",code:i.invalid_string,message:r.message}),n.dirty());else if("emoji"===r.kind)R.test(e.data)||(h(t=this._getOrReturnCtx(e,t),{validation:"emoji",code:i.invalid_string,message:r.message}),n.dirty());else if("uuid"===r.kind)P.test(e.data)||(h(t=this._getOrReturnCtx(e,t),{validation:"uuid",code:i.invalid_string,message:r.message}),n.dirty());else if("cuid"===r.kind)O.test(e.data)||(h(t=this._getOrReturnCtx(e,t),{validation:"cuid",code:i.invalid_string,message:r.message}),n.dirty());else if("cuid2"===r.kind)A.test(e.data)||(h(t=this._getOrReturnCtx(e,t),{validation:"cuid2",code:i.invalid_string,message:r.message}),n.dirty());else if("ulid"===r.kind)I.test(e.data)||(h(t=this._getOrReturnCtx(e,t),{validation:"ulid",code:i.invalid_string,message:r.message}),n.dirty());else if("url"===r.kind)try{new URL(e.data)}catch(o){h(t=this._getOrReturnCtx(e,t),{validation:"url",code:i.invalid_string,message:r.message}),n.dirty()}else"regex"===r.kind?(r.regex.lastIndex=0,r.regex.test(e.data)||(h(t=this._getOrReturnCtx(e,t),{validation:"regex",code:i.invalid_string,message:r.message}),n.dirty())):"trim"===r.kind?e.data=e.data.trim():"includes"===r.kind?e.data.includes(r.value,r.position)||(h(t=this._getOrReturnCtx(e,t),{code:i.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),n.dirty()):"toLowerCase"===r.kind?e.data=e.data.toLowerCase():"toUpperCase"===r.kind?e.data=e.data.toUpperCase():"startsWith"===r.kind?e.data.startsWith(r.value)||(h(t=this._getOrReturnCtx(e,t),{code:i.invalid_string,validation:{startsWith:r.value},message:r.message}),n.dirty()):"endsWith"===r.kind?e.data.endsWith(r.value)||(h(t=this._getOrReturnCtx(e,t),{code:i.invalid_string,validation:{endsWith:r.value},message:r.message}),n.dirty()):"datetime"===r.kind?j(r).test(e.data)||(h(t=this._getOrReturnCtx(e,t),{code:i.invalid_string,validation:"datetime",message:r.message}),n.dirty()):"ip"===r.kind?D(e.data,r.version)||(h(t=this._getOrReturnCtx(e,t),{validation:"ip",code:i.invalid_string,message:r.message}),n.dirty()):tt.assertNever(r);return{status:n.value,value:e.data}}_addCheck(e){return new L({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...tr.errToObj(e)})}url(e){return this._addCheck({kind:"url",...tr.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...tr.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...tr.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...tr.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...tr.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...tr.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...tr.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,...tr.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...tr.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...tr.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...tr.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...tr.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...tr.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...tr.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...tr.errToObj(t)})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function B(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r;return parseInt(e.toFixed(o).replace(".",""))%parseInt(t.toFixed(o).replace(".",""))/Math.pow(10,o)}L.create=e=>{var t;return new L({checks:[],typeName:to.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,..._(e)})};class Z extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==r.number){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.number,received:t.parsedType}),g}let n=new m;for(let r of this._def.checks)"int"===r.kind?tt.isInteger(e.data)||(h(t=this._getOrReturnCtx(e,t),{code:i.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:i.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:i.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==B(e.data,r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:i.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(h(t=this._getOrReturnCtx(e,t),{code:i.not_finite,message:r.message}),n.dirty()):tt.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,tr.toString(t))}gt(e,t){return this.setLimit("min",e,!1,tr.toString(t))}lte(e,t){return this.setLimit("max",e,!0,tr.toString(t))}lt(e,t){return this.setLimit("max",e,!1,tr.toString(t))}setLimit(e,t,n,r){return new Z({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:tr.toString(r)}]})}_addCheck(e){return new Z({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:tr.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:tr.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:tr.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:tr.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:tr.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:tr.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:tr.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:tr.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:tr.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&tt.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}Z.create=e=>new Z({checks:[],typeName:to.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,..._(e)});class F extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==r.bigint){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.bigint,received:t.parsedType}),g}let n=new m;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:i.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(h(t=this._getOrReturnCtx(e,t),{code:i.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(h(t=this._getOrReturnCtx(e,t),{code:i.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):tt.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,tr.toString(t))}gt(e,t){return this.setLimit("min",e,!1,tr.toString(t))}lte(e,t){return this.setLimit("max",e,!0,tr.toString(t))}lt(e,t){return this.setLimit("max",e,!1,tr.toString(t))}setLimit(e,t,n,r){return new F({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:tr.toString(r)}]})}_addCheck(e){return new F({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:tr.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:tr.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:tr.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:tr.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:tr.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}F.create=e=>{var t;return new F({checks:[],typeName:to.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,..._(e)})};class z extends k{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==r.boolean){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.boolean,received:t.parsedType}),g}return y(e.data)}}z.create=e=>new z({typeName:to.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,..._(e)});class U extends k{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==r.date){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.date,received:t.parsedType}),g}if(isNaN(e.data.getTime()))return h(this._getOrReturnCtx(e),{code:i.invalid_date}),g;let n=new m;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(h(t=this._getOrReturnCtx(e,t),{code:i.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),n.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(h(t=this._getOrReturnCtx(e,t),{code:i.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):tt.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new U({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:tr.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:tr.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}U.create=e=>new U({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:to.ZodDate,..._(e)});class H extends k{_parse(e){if(this._getType(e)!==r.symbol){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.symbol,received:t.parsedType}),g}return y(e.data)}}H.create=e=>new H({typeName:to.ZodSymbol,..._(e)});class q extends k{_parse(e){if(this._getType(e)!==r.undefined){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.undefined,received:t.parsedType}),g}return y(e.data)}}q.create=e=>new q({typeName:to.ZodUndefined,..._(e)});class V extends k{_parse(e){if(this._getType(e)!==r.null){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.null,received:t.parsedType}),g}return y(e.data)}}V.create=e=>new V({typeName:to.ZodNull,..._(e)});class W extends k{constructor(){super(...arguments),this._any=!0}_parse(e){return y(e.data)}}W.create=e=>new W({typeName:to.ZodAny,..._(e)});class $ extends k{constructor(){super(...arguments),this._unknown=!0}_parse(e){return y(e.data)}}$.create=e=>new $({typeName:to.ZodUnknown,..._(e)});class G extends k{_parse(e){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.never,received:t.parsedType}),g}}G.create=e=>new G({typeName:to.ZodNever,..._(e)});class K extends k{_parse(e){if(this._getType(e)!==r.undefined){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.void,received:t.parsedType}),g}return y(e.data)}}K.create=e=>new K({typeName:to.ZodVoid,..._(e)});class Y extends k{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),o=this._def;if(t.parsedType!==r.array)return h(t,{code:i.invalid_type,expected:r.array,received:t.parsedType}),g;if(null!==o.exactLength){let e=t.data.length>o.exactLength.value,r=t.data.length<o.exactLength.value;(e||r)&&(h(t,{code:e?i.too_big:i.too_small,minimum:r?o.exactLength.value:void 0,maximum:e?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),n.dirty())}if(null!==o.minLength&&t.data.length<o.minLength.value&&(h(t,{code:i.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),n.dirty()),null!==o.maxLength&&t.data.length>o.maxLength.value&&(h(t,{code:i.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>o.type._parseAsync(new E(t,e,t.path,n)))).then(e=>m.mergeArray(n,e));let a=[...t.data].map((e,n)=>o.type._parseSync(new E(t,e,t.path,n)));return m.mergeArray(n,a)}get element(){return this._def.type}min(e,t){return new Y({...this._def,minLength:{value:e,message:tr.toString(t)}})}max(e,t){return new Y({...this._def,maxLength:{value:e,message:tr.toString(t)}})}length(e,t){return new Y({...this._def,exactLength:{value:e,message:tr.toString(t)}})}nonempty(e){return this.min(1,e)}}function X(e){if(e instanceof Q){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=eg.create(X(r))}return new Q({...e._def,shape:()=>t})}return e instanceof Y?new Y({...e._def,type:X(e.element)}):e instanceof eg?eg.create(X(e.unwrap())):e instanceof ev?ev.create(X(e.unwrap())):e instanceof eo?eo.create(e.items.map(e=>X(e))):e}Y.create=(e,t)=>new Y({type:e,minLength:null,maxLength:null,exactLength:null,typeName:to.ZodArray,..._(t)});class Q extends k{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=tt.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==r.object){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.object,received:t.parsedType}),g}let{status:t,ctx:n}=this._processInputParams(e),{shape:o,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof G&&"strip"===this._def.unknownKeys))for(let e in n.data)a.includes(e)||s.push(e);let l=[];for(let e of a){let t=o[e],r=n.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new E(n,r,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof G){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of s)l.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)s.length>0&&(h(n,{code:i.unrecognized_keys,keys:s}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of s){let r=n.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new E(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let n=await t.key;e.push({key:n,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>m.mergeObjectSync(t,e)):m.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return tr.errToObj,new Q({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,o,i,a;let s=null!==(i=null===(o=(r=this._def).errorMap)||void 0===o?void 0:o.call(r,t,n).message)&&void 0!==i?i:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(a=tr.errToObj(e).message)&&void 0!==a?a:s}:{message:s}}}:{}})}strip(){return new Q({...this._def,unknownKeys:"strip"})}passthrough(){return new Q({...this._def,unknownKeys:"passthrough"})}extend(e){return new Q({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Q({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:to.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Q({...this._def,catchall:e})}pick(e){let t={};return tt.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new Q({...this._def,shape:()=>t})}omit(e){let t={};return tt.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new Q({...this._def,shape:()=>t})}deepPartial(){return X(this)}partial(e){let t={};return tt.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new Q({...this._def,shape:()=>t})}required(e){let t={};return tt.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof eg;)e=e._def.innerType;t[n]=e}}),new Q({...this._def,shape:()=>t})}keyof(){return ed(tt.objectKeys(this.shape))}}Q.create=(e,t)=>new Q({shape:()=>e,unknownKeys:"strip",catchall:G.create(),typeName:to.ZodObject,..._(t)}),Q.strictCreate=(e,t)=>new Q({shape:()=>e,unknownKeys:"strict",catchall:G.create(),typeName:to.ZodObject,..._(t)}),Q.lazycreate=(e,t)=>new Q({shape:e,unknownKeys:"strip",catchall:G.create(),typeName:to.ZodObject,..._(t)});class J extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new s(e.ctx.common.issues));return h(t,{code:i.invalid_union,unionErrors:n}),g}if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(r);{let e;let r=[];for(let o of n){let n={...t,common:{...t.common,issues:[]},parent:null},i=o._parseSync({data:t.data,path:t.path,parent:n});if("valid"===i.status)return i;"dirty"!==i.status||e||(e={result:i,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let o=r.map(e=>new s(e));return h(t,{code:i.invalid_union,unionErrors:o}),g}}get options(){return this._def.options}}J.create=(e,t)=>new J({options:e,typeName:to.ZodUnion,..._(t)});let ee=e=>{if(e instanceof ec)return ee(e.schema);if(e instanceof em)return ee(e.innerType());if(e instanceof eu)return[e.value];if(e instanceof ef)return e.options;if(e instanceof ep)return Object.keys(e.enum);if(e instanceof ey)return ee(e._def.innerType);if(e instanceof q)return[void 0];else if(e instanceof V)return[null];else return null};class et extends k{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==r.object)return h(t,{code:i.invalid_type,expected:r.object,received:t.parsedType}),g;let n=this.discriminator,o=t.data[n],a=this.optionsMap.get(o);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(h(t,{code:i.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),g)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let n of t){let t=ee(n.shape[e]);if(!t)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let o of t){if(r.has(o))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);r.set(o,n)}}return new et({typeName:to.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,..._(n)})}}function en(e,t){let n=o(e),i=o(t);if(e===t)return{valid:!0,data:e};if(n===r.object&&i===r.object){let n=tt.objectKeys(t),r=tt.objectKeys(e).filter(e=>-1!==n.indexOf(e)),o={...e,...t};for(let n of r){let r=en(e[n],t[n]);if(!r.valid)return{valid:!1};o[n]=r.data}return{valid:!0,data:o}}if(n===r.array&&i===r.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r<e.length;r++){let o=en(e[r],t[r]);if(!o.valid)return{valid:!1};n.push(o.data)}return{valid:!0,data:n}}return n===r.date&&i===r.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class er extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(b(e)||b(r))return g;let o=en(e.value,r.value);return o.valid?((w(e)||w(r))&&t.dirty(),{status:t.value,value:o.data}):(h(n,{code:i.invalid_intersection_types}),g)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}er.create=(e,t,n)=>new er({left:e,right:t,typeName:to.ZodIntersection,..._(n)});class eo extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==r.array)return h(n,{code:i.invalid_type,expected:r.array,received:n.parsedType}),g;if(n.data.length<this._def.items.length)return h(n,{code:i.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),g;!this._def.rest&&n.data.length>this._def.items.length&&(h(n,{code:i.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let o=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new E(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(o).then(e=>m.mergeArray(t,e)):m.mergeArray(t,o)}get items(){return this._def.items}rest(e){return new eo({...this._def,rest:e})}}eo.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eo({items:e,typeName:to.ZodTuple,rest:null,..._(t)})};class ei extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==r.object)return h(n,{code:i.invalid_type,expected:r.object,received:n.parsedType}),g;let o=[],a=this._def.keyType,s=this._def.valueType;for(let e in n.data)o.push({key:a._parse(new E(n,e,n.path,e)),value:s._parse(new E(n,n.data[e],n.path,e))});return n.common.async?m.mergeObjectAsync(t,o):m.mergeObjectSync(t,o)}get element(){return this._def.valueType}static create(e,t,n){return new ei(t instanceof k?{keyType:e,valueType:t,typeName:to.ZodRecord,..._(n)}:{keyType:L.create(),valueType:e,typeName:to.ZodRecord,..._(t)})}}class ea extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==r.map)return h(n,{code:i.invalid_type,expected:r.map,received:n.parsedType}),g;let o=this._def.keyType,a=this._def.valueType,s=[...n.data.entries()].map(([e,t],r)=>({key:o._parse(new E(n,e,n.path,[r,"key"])),value:a._parse(new E(n,t,n.path,[r,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of s){let r=await n.key,o=await n.value;if("aborted"===r.status||"aborted"===o.status)return g;("dirty"===r.status||"dirty"===o.status)&&t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of s){let r=n.key,o=n.value;if("aborted"===r.status||"aborted"===o.status)return g;("dirty"===r.status||"dirty"===o.status)&&t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}}}}ea.create=(e,t,n)=>new ea({valueType:t,keyType:e,typeName:to.ZodMap,..._(n)});class es extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==r.set)return h(n,{code:i.invalid_type,expected:r.set,received:n.parsedType}),g;let o=this._def;null!==o.minSize&&n.data.size<o.minSize.value&&(h(n,{code:i.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),t.dirty()),null!==o.maxSize&&n.data.size>o.maxSize.value&&(h(n,{code:i.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),t.dirty());let a=this._def.valueType;function s(e){let n=new Set;for(let r of e){if("aborted"===r.status)return g;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let l=[...n.data.values()].map((e,t)=>a._parse(new E(n,e,n.path,t)));return n.common.async?Promise.all(l).then(e=>s(e)):s(l)}min(e,t){return new es({...this._def,minSize:{value:e,message:tr.toString(t)}})}max(e,t){return new es({...this._def,maxSize:{value:e,message:tr.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}es.create=(e,t)=>new es({valueType:e,minSize:null,maxSize:null,typeName:to.ZodSet,..._(t)});class el extends k{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==r.function)return h(t,{code:i.invalid_type,expected:r.function,received:t.parsedType}),g;function n(e,n){return f({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,d(),l].filter(e=>!!e),issueData:{code:i.invalid_arguments,argumentsError:n}})}function o(e,n){return f({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,d(),l].filter(e=>!!e),issueData:{code:i.invalid_return_type,returnTypeError:n}})}let a={errorMap:t.common.contextualErrorMap},c=t.data;return this._def.returns instanceof eh?y(async(...e)=>{let t=new s([]),r=await this._def.args.parseAsync(e,a).catch(r=>{throw t.addIssue(n(e,r)),t}),i=await c(...r);return await this._def.returns._def.type.parseAsync(i,a).catch(e=>{throw t.addIssue(o(i,e)),t})}):y((...e)=>{let t=this._def.args.safeParse(e,a);if(!t.success)throw new s([n(e,t.error)]);let r=c(...t.data),i=this._def.returns.safeParse(r,a);if(!i.success)throw new s([o(r,i.error)]);return i.data})}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new el({...this._def,args:eo.create(e).rest($.create())})}returns(e){return new el({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new el({args:e||eo.create([]).rest($.create()),returns:t||$.create(),typeName:to.ZodFunction,..._(n)})}}class ec extends k{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ec.create=(e,t)=>new ec({getter:e,typeName:to.ZodLazy,..._(t)});class eu extends k{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return h(t,{received:t.data,code:i.invalid_literal,expected:this._def.value}),g}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ed(e,t){return new ef({values:e,typeName:to.ZodEnum,..._(t)})}eu.create=(e,t)=>new eu({value:e,typeName:to.ZodLiteral,..._(t)});class ef extends k{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{expected:tt.joinValues(n),received:t.parsedType,code:i.invalid_type}),g}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{received:t.data,code:i.invalid_enum_value,options:n}),g}return y(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return ef.create(e)}exclude(e){return ef.create(this.options.filter(t=>!e.includes(t)))}}ef.create=ed;class ep extends k{_parse(e){let t=tt.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==r.string&&n.parsedType!==r.number){let e=tt.objectValues(t);return h(n,{expected:tt.joinValues(e),received:n.parsedType,code:i.invalid_type}),g}if(-1===t.indexOf(e.data)){let e=tt.objectValues(t);return h(n,{received:n.data,code:i.invalid_enum_value,options:e}),g}return y(e.data)}get enum(){return this._def.values}}ep.create=(e,t)=>new ep({values:e,typeName:to.ZodNativeEnum,..._(t)});class eh extends k{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==r.promise&&!1===t.common.async?(h(t,{code:i.invalid_type,expected:r.promise,received:t.parsedType}),g):y((t.parsedType===r.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eh.create=(e,t)=>new eh({type:e,typeName:to.ZodPromise,..._(t)});class em extends k{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===to.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null;if("preprocess"===r.type){let e=r.transform(n.data);return n.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:n.path,parent:n})):this._def.schema._parseSync({data:e,path:n.path,parent:n})}let o={addIssue:e=>{h(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(o.addIssue=o.addIssue.bind(o),"refinement"===r.type){let e=e=>{let t=r.refinement(e,o);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?g:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?g:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type){if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>S(e)?Promise.resolve(r.transform(e.value,o)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!S(e))return e;let i=r.transform(e.value,o);if(i instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:i}}}tt.assertNever(r)}}em.create=(e,t,n)=>new em({schema:e,typeName:to.ZodEffects,effect:t,..._(n)}),em.createWithPreprocess=(e,t,n)=>new em({schema:t,effect:{type:"preprocess",transform:e},typeName:to.ZodEffects,..._(n)});class eg extends k{_parse(e){return this._getType(e)===r.undefined?y(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eg.create=(e,t)=>new eg({innerType:e,typeName:to.ZodOptional,..._(t)});class ev extends k{_parse(e){return this._getType(e)===r.null?y(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ev.create=(e,t)=>new ev({innerType:e,typeName:to.ZodNullable,..._(t)});class ey extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===r.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ey.create=(e,t)=>new ey({innerType:e,typeName:to.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,..._(t)});class eb extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return x(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new s(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new s(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}eb.create=(e,t)=>new eb({innerType:e,typeName:to.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,..._(t)});class ew extends k{_parse(e){if(this._getType(e)!==r.nan){let t=this._getOrReturnCtx(e);return h(t,{code:i.invalid_type,expected:r.nan,received:t.parsedType}),g}return{status:"valid",value:e.data}}}ew.create=e=>new ew({typeName:to.ZodNaN,..._(e)});let eS=Symbol("zod_brand");class ex extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class eE extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),v(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new eE({in:e,out:t,typeName:to.ZodPipeline})}}let eC=(e,t={},n)=>e?W.create().superRefine((r,o)=>{var i,a;if(!e(r)){let e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null===(a=null!==(i=e.fatal)&&void 0!==i?i:n)||void 0===a||a,l="string"==typeof e?{message:e}:e;o.addIssue({code:"custom",...l,fatal:s})}}):W.create(),e_={object:Q.lazycreate};!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline"}(to||(to={}));let ek=(e,t={message:`Input not instance of ${e.name}`})=>eC(t=>t instanceof e,t),eO=L.create,eA=Z.create,eI=ew.create,eP=F.create,eT=z.create,eR=U.create,eM=H.create,eN=q.create,ej=V.create,eD=W.create,eL=$.create,eB=G.create,eZ=K.create,eF=Y.create,ez=Q.create,eU=Q.strictCreate,eH=J.create,eq=et.create,eV=er.create,eW=eo.create,e$=ei.create,eG=ea.create,eK=es.create,eY=el.create,eX=ec.create,eQ=eu.create,eJ=ef.create,e0=ep.create,e1=eh.create,e2=em.create,e3=eg.create,e4=ev.create,e5=em.createWithPreprocess,e6=eE.create,e8=()=>eA().optional(),e7=()=>eT().optional(),e9={string:e=>L.create({...e,coerce:!0}),number:e=>Z.create({...e,coerce:!0}),boolean:e=>z.create({...e,coerce:!0}),bigint:e=>F.create({...e,coerce:!0}),date:e=>U.create({...e,coerce:!0})},te=g;var tt,tn,tr,to,ti=Object.freeze({__proto__:null,defaultErrorMap:l,setErrorMap:u,getErrorMap:d,makeIssue:f,EMPTY_PATH:p,addIssueToContext:h,ParseStatus:m,INVALID:g,DIRTY:v,OK:y,isAborted:b,isDirty:w,isValid:S,isAsync:x,get util(){return tt},get objectUtil(){return tn},ZodParsedType:r,getParsedType:o,ZodType:k,ZodString:L,ZodNumber:Z,ZodBigInt:F,ZodBoolean:z,ZodDate:U,ZodSymbol:H,ZodUndefined:q,ZodNull:V,ZodAny:W,ZodUnknown:$,ZodNever:G,ZodVoid:K,ZodArray:Y,ZodObject:Q,ZodUnion:J,ZodDiscriminatedUnion:et,ZodIntersection:er,ZodTuple:eo,ZodRecord:ei,ZodMap:ea,ZodSet:es,ZodFunction:el,ZodLazy:ec,ZodLiteral:eu,ZodEnum:ef,ZodNativeEnum:ep,ZodPromise:eh,ZodEffects:em,ZodTransformer:em,ZodOptional:eg,ZodNullable:ev,ZodDefault:ey,ZodCatch:eb,ZodNaN:ew,BRAND:eS,ZodBranded:ex,ZodPipeline:eE,custom:eC,Schema:k,ZodSchema:k,late:e_,get ZodFirstPartyTypeKind(){return to},coerce:e9,any:eD,array:eF,bigint:eP,boolean:eT,date:eR,discriminatedUnion:eq,effect:e2,enum:eJ,function:eY,instanceof:ek,intersection:eV,lazy:eX,literal:eQ,map:eG,nan:eI,nativeEnum:e0,never:eB,null:ej,nullable:e4,number:eA,object:ez,oboolean:e7,onumber:e8,optional:e3,ostring:()=>eO().optional(),pipeline:e6,preprocess:e5,promise:e1,record:e$,set:eK,strictObject:eU,string:eO,symbol:eM,transformer:e2,tuple:eW,undefined:eN,union:eH,unknown:eL,void:eZ,NEVER:te,ZodIssueCode:i,quotelessJson:a,ZodError:s}),ta=n(79895);function ts(e){let t=e.runtimeEnvStrict??e.runtimeEnv??ta.env;if(e.emptyStringAsUndefined)for(let[e,n]of Object.entries(t))""===n&&delete t[e];if(e.skipValidation)return t;let n="object"==typeof e.client?e.client:{},r="object"==typeof e.server?e.server:{},o="object"==typeof e.shared?e.shared:{},i=ez(n),a=ez(r),s=ez(o),l=e.isServer??("undefined"==typeof window||"Deno"in window),c=i.merge(s),u=a.merge(s).merge(i),d=l?u.safeParse(t):c.safeParse(t),f=e.onValidationError??(e=>{throw console.error("❌ Invalid environment variables:",e.flatten().fieldErrors),Error("Invalid environment variables")}),p=e.onInvalidAccess??(e=>{throw Error("❌ Attempted to access a server-side environment variable on the client")});if(!1===d.success)return f(d.error);let h=t=>!e.clientPrefix||!t.startsWith(e.clientPrefix)&&!(t in s.shape),m=e=>l||!h(e),g=e=>"__esModule"===e||"$$typeof"===e,v=(e.extends??[]).reduce((e,t)=>Object.assign(e,t),{});return new Proxy(Object.assign(d.data,v),{get(e,t){if("string"==typeof t&&!g(t))return m(t)?Reflect.get(e,t):p(t)}})}var tl=n(79895);let tc=()=>ts({server:{VERCEL:ti.string().optional(),VERCEL_ENV:ti.enum(["development","preview","production"]).optional(),VERCEL_URL:ti.string().optional(),VERCEL_BRANCH_URL:ti.string().optional(),VERCEL_REGION:ti.string().optional(),VERCEL_AUTOMATION_BYPASS_SECRET:ti.string().optional(),VERCEL_GIT_PROVIDER:ti.string().optional(),VERCEL_GIT_REPO_SLUG:ti.string().optional(),VERCEL_GIT_REPO_OWNER:ti.string().optional(),VERCEL_GIT_REPO_ID:ti.string().optional(),VERCEL_GIT_COMMIT_REF:ti.string().optional(),VERCEL_GIT_COMMIT_SHA:ti.string().optional(),VERCEL_GIT_COMMIT_MESSAGE:ti.string().optional(),VERCEL_GIT_COMMIT_AUTHOR_LOGIN:ti.string().optional(),VERCEL_GIT_COMMIT_AUTHOR_NAME:ti.string().optional(),VERCEL_GIT_PREVIOUS_SHA:ti.string().optional(),VERCEL_GIT_PULL_REQUEST_ID:ti.string().optional()},runtimeEnv:tl.env});var tu=n(79895);let td="NEXT_PUBLIC_";function tf(e){let t="object"==typeof e.client?e.client:{},n="object"==typeof e.server?e.server:{},r=e.shared,o=e.runtimeEnv?e.runtimeEnv:{...tu.env,...e.experimental__runtimeEnv};return ts({...e,shared:r,client:t,server:n,clientPrefix:td,runtimeEnv:o})}var tp=n(79895);let th=tf({extends:[tc()],server:{WITH_SOURCE_MAPS:ti.enum(["true","false"])},client:{NEXT_PUBLIC_API_SERVER_URL:ti.string().url().min(1),NEXT_PUBLIC_UPLOADS_BUCKET:ti.string().min(1),NEXT_PUBLIC_CDN_BUCKET:ti.string().min(1),NEXT_PUBLIC_GOOGLE_MAPS_API_KEY:ti.string().min(1),NEXT_PUBLIC_PRODUCT_SALES_EMAIL:ti.string().email().min(1),NEXT_PUBLIC_NODE_ENV:ti.enum(["production","development","test"]),NEXT_PUBLIC_ENVIRONMENT:ti.enum(["production","development","stage"]),NEXT_PUBLIC_SENTRY_DSN:ti.string().min(1).optional(),NEXT_PUBLIC_VALVE_AWS_REGION:ti.string().min(1),NEXT_PUBLIC_VALVE_AWS_COGNITO_USER_POOL_ID:ti.string().min(1),NEXT_PUBLIC_VALVE_AWS_COGNITO_IDENTITY_POOL_ID:ti.string().min(1),NEXT_PUBLIC_VALVE_AWS_COGNITO_USER_POOL_WEB_CLIENT_ID:ti.string().min(1),NEXT_PUBLIC_VALVE_AWS_OAUTH_DOMAIN:ti.string().min(1),NEXT_PUBLIC_REPORT_URL:ti.string().url().min(1),NEXT_PUBLIC_AGENT_URL:ti.string().url().min(1),NEXT_PUBLIC_ADMIN_URL:ti.string().url().min(1),NEXT_PUBLIC_ANALYTICS_WRITE_KEY:ti.string().min(1),NEXT_PUBLIC_CONSOLE_URL:ti.string().url().min(1),NEXT_PUBLIC_BRANDING_URL:ti.string().url().min(1),NEXT_PUBLIC_SHARE_URL:ti.string().url().min(1),NEXT_PUBLIC_UNLEASH_PROXY_URL:ti.string().url().min(1),NEXT_PUBLIC_UNLEASH_CLIENT_KEY:ti.string().min(1),NEXT_PUBLIC_COOKIE_DOMAIN:ti.string().min(1),NEXT_PUBLIC_INSIGHTS_SURVEY_URL:ti.string().url().min(1),NEXT_PUBLIC_CACHE_PERSITOR_DEBUG_ENABLED:ti.enum(["true","false"]).optional(),NEXT_PUBLIC_APOLLO_LOGGER_ENABLED:ti.enum(["true","false"]).optional(),NEXT_PUBLIC_MANAGEMENT_API_SERVER_URL:ti.string().url().min(1),NEXT_PUBLIC_DIGITAL_REPORT_EXAMPLE:ti.string().url().min(1),NEXT_PUBLIC_OPERATOR_HELP_CENTER_URL:ti.string().url().min(1),NEXT_PUBLIC_AGENT_HELP_CENTER_URL:ti.string().url().min(1),NEXT_PUBLIC_PLATFORM_HELP_CENTER_URL:ti.string().url().min(1),NEXT_PUBLIC_PRIVACY_POLICY_URL:ti.string().url().min(1),NEXT_PUBLIC_COOKIE_CONSENT_KEY:ti.string().min(1),NEXT_PUBLIC_PENDO_TOKEN:ti.string().min(1).optional(),NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA:ti.string().min(1).optional(),NEXT_PUBLIC_MAINTENANCE_MODE:ti.enum(["true","false"]).optional()},runtimeEnv:{WITH_SOURCE_MAPS:tp.env.WITH_SOURCE_MAPS,NEXT_PUBLIC_PRODUCT_SALES_EMAIL:"product-sales@valvespace.com",NEXT_PUBLIC_API_SERVER_URL:"https://core.prod.valvespace.com",NEXT_PUBLIC_UPLOADS_BUCKET:"prod-valve-uploads",NEXT_PUBLIC_CDN_BUCKET:"cdn.valvespace.com",NEXT_PUBLIC_GOOGLE_MAPS_API_KEY:"AIzaSyD5-b1TtQXxGmgwklXNKyXyOKKKbNzdhUY",NEXT_PUBLIC_NODE_ENV:"production",NEXT_PUBLIC_ENVIRONMENT:"production",NEXT_PUBLIC_SENTRY_DSN:"https://ab2ac4cc414a4d1ebe3de44892a1bfed@o293033.ingest.us.sentry.io/1537411",NEXT_PUBLIC_VALVE_AWS_REGION:"eu-west-2",NEXT_PUBLIC_VALVE_AWS_COGNITO_USER_POOL_ID:"eu-west-2_T3JYaSDEr",NEXT_PUBLIC_VALVE_AWS_COGNITO_IDENTITY_POOL_ID:"eu-west-2:7cb751e9-9b1b-4586-a125-34018af2c8ea",NEXT_PUBLIC_VALVE_AWS_COGNITO_USER_POOL_WEB_CLIENT_ID:"4k21mv9utg31dquie84br5hite",NEXT_PUBLIC_VALVE_AWS_OAUTH_DOMAIN:"valve-production.auth.eu-west-2.amazoncognito.com",NEXT_PUBLIC_REPORT_URL:"https://report.valvespace.com",NEXT_PUBLIC_AGENT_URL:"https://agent.valvespace.com",NEXT_PUBLIC_ADMIN_URL:"https://admin.valvespace.com",NEXT_PUBLIC_ANALYTICS_WRITE_KEY:"VHVdKmy2BM8vFNNjetMlHKWE7my9tpX2",NEXT_PUBLIC_CONSOLE_URL:"https://admin.valvespace.com/gql-playground",NEXT_PUBLIC_BRANDING_URL:"https://s3.eu-west-2.amazonaws.com/cdn.valvespace.com/branding/{currentDomain}/login.css",NEXT_PUBLIC_SHARE_URL:"https://share.valvespace.com",NEXT_PUBLIC_UNLEASH_PROXY_URL:"https://lb.dev.unleash.valvespace.com/proxy",NEXT_PUBLIC_UNLEASH_CLIENT_KEY:"u3RTN4PJ4WrLgTEz",NEXT_PUBLIC_COOKIE_DOMAIN:".valvespace.com",NEXT_PUBLIC_INSIGHTS_SURVEY_URL:"https://t.maze.co/157903043",NEXT_PUBLIC_CACHE_PERSITOR_DEBUG_ENABLED:tp.env.NEXT_PUBLIC_CACHE_PERSITOR_DEBUG_ENABLED,NEXT_PUBLIC_APOLLO_LOGGER_ENABLED:tp.env.NEXT_PUBLIC_APOLLO_LOGGER_ENABLED,NEXT_PUBLIC_MANAGEMENT_API_SERVER_URL:"https://management.prod.valvespace.com/graphql",NEXT_PUBLIC_DIGITAL_REPORT_EXAMPLE:"https://share.valvespace.com/en-US/cljcwzco7001h08l769fxftf2?token=1d30269bdbb8b3843dd2fe2e41e9952a&building=cl7jdgbg7000b09l0a503g2qx",NEXT_PUBLIC_OPERATOR_HELP_CENTER_URL:"https://intercom.help/valve/en/collections/3855382-operator-help-center",NEXT_PUBLIC_AGENT_HELP_CENTER_URL:"https://intercom.help/valve/en/collections/3855332-broker-help-center",NEXT_PUBLIC_PLATFORM_HELP_CENTER_URL:"https://intercom.help/valve/en/",NEXT_PUBLIC_PRIVACY_POLICY_URL:"https://valvespace.com/privacy-policy",NEXT_PUBLIC_COOKIE_CONSENT_KEY:"valve.cookieConsent",NEXT_PUBLIC_PENDO_TOKEN:"58a6d237-d725-4d16-6f58-24daa1276e5c",NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA:"d19dcd2bbca3c4c19e5fe810f9452d21f4f2b8cf",NEXT_PUBLIC_MAINTENANCE_MODE:tp.env.NEXT_PUBLIC_MAINTENANCE_MODE}})},37492:function(e,t,n){"use strict";function r(e){return(null==e?void 0:e.__typename)==="BuildingMapPin"}function o(e){return(null==e?void 0:e.__typename)==="BuildingRegionError"}function i(e){return(null==e?void 0:e.__typename)==="Desk"}function a(e){return(null==e?void 0:e.__typename)==="File"}function s(e){return(null==e?void 0:e.__typename)==="Floorplan"}function l(e){return(null==e?void 0:e.__typename)==="MarketingContent"}function c(e){return(null==e?void 0:e.__typename)==="Offer"}function u(e){return(null==e?void 0:e.__typename)==="Office"}function d(e){return(null==e?void 0:e.__typename)==="OfficeSuite"}function f(e){return(null==e?void 0:e.__typename)==="Operator"}function p(e){return(null==e?void 0:e.__typename)==="Photo"}function h(e){return(null==e?void 0:e.__typename)==="SpaceFloorplanPlace"}function m(e){return(null==e?void 0:e.__typename)==="ViewRequestEmailPayload"}n.d(t,{E9:function(){return l},Ey:function(){return p},JV:function(){return d},S6:function(){return f},V:function(){return h},ZP:function(){return c},ZY:function(){return r},dP:function(){return i},gK:function(){return o},kP:function(){return m},nT:function(){return u},uo:function(){return s},zE:function(){return a}})},63422:function(e,t,n){"use strict";n.d(t,{tmx:function(){return o},h3G:function(){return a},uCS:function(){return l},Fa6:function(){return c},ZQg:function(){return u},zGO:function(){return d},f7f:function(){return h},UW1:function(){return g},zcd:function(){return v},$0d:function(){return y},uc9:function(){return w},e6o:function(){return E},NuG:function(){return C},pbT:function(){return _},kKd:function(){return k},RzR:function(){return A},UBk:function(){return I},XY6:function(){return P},Zdo:function(){return T},Wwg:function(){return R},jgg:function(){return N},Y$Z:function(){return D},d_w:function(){return L},sXm:function(){return B},YtL:function(){return Z},$MC:function(){return F},KhY:function(){return sG},S$I:function(){return aB},GTJ:function(){return z},vQg:function(){return H},FY:function(){return q},xO2:function(){return V},lom:function(){return Y},IU:function(){return cb},q1m:function(){return X},SnD:function(){return Q},WYs:function(){return J},tNS:function(){return et},FWD:function(){return en},ajO:function(){return er},z8l:function(){return eo},d44:function(){return aj},QVc:function(){return lF},uc7:function(){return lh},rfE:function(){return sr},OHR:function(){return lY},RNS:function(){return sL},Kx5:function(){return sb},HMj:function(){return lU},PTT:function(){return lq},thO:function(){return cn},ohR:function(){return lG},L9n:function(){return cf},z4w:function(){return sc},JA0:function(){return lQ},zHH:function(){return sz},Zw6:function(){return ln},M1P:function(){return si},LrK:function(){return aX},MJK:function(){return sI},hCz:function(){return ca},_yR:function(){return aI},hWL:function(){return ly},cRD:function(){return aM},a1l:function(){return sH},VO_:function(){return sJ},xMm:function(){return lP},Cqi:function(){return la},ijp:function(){return sj},VWA:function(){return aH},dwn:function(){return s8},sd:function(){return aL},g5K:function(){return s3},Nok:function(){return co},zr9:function(){return lf},QvU:function(){return sp},$I9:function(){return s_},FYT:function(){return cC},_38:function(){return s$},rLR:function(){return sV},rJe:function(){return sX},hwP:function(){return a3},BE1:function(){return a5},m7q:function(){return sZ},UEB:function(){return cu},RwO:function(){return lk},oQd:function(){return s1},Cku:function(){return ce},Lo:function(){return lW},Xty:function(){return sE},VtR:function(){return lw},EjS:function(){return sK},Qc7:function(){return aT},TzR:function(){return aZ},H0O:function(){return cg},pr4:function(){return cy},ImQ:function(){return a9},oO4:function(){return lB},MAc:function(){return le},OoG:function(){return s9},bbP:function(){return cw},xHN:function(){return aE},xyY:function(){return lg},zDg:function(){return aJ},qOq:function(){return lx},n5i:function(){return s5},uaP:function(){return aV},nsh:function(){return ll},I5:function(){return aO},miC:function(){return sd},gC_:function(){return a1},iSQ:function(){return lo},cNy:function(){return l0},OpJ:function(){return l2},U99:function(){return l4},jLE:function(){return l6},cqZ:function(){return l7},vdl:function(){return lC},HIU:function(){return st},ur0:function(){return ck},QFF:function(){return sm},jQK:function(){return sT},eUr:function(){return sv},f_w:function(){return sS},kl6:function(){return lA},h6p:function(){return a$},QW9:function(){return ss},zJF:function(){return sO},eUX:function(){return lD},Dd1:function(){return a_},kzs:function(){return aK},lpp:function(){return lR},DKY:function(){return lN},CFF:function(){return cx},kAf:function(){return ch},FHF:function(){return sM},ZgH:function(){return az},kDo:function(){return cl},mzf:function(){return lu},kfp:function(){return a8}});var r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,y,b,w,S,x,E,C,_,k,O,A,I,P,T,R,M,N,j,D,L,B,Z,F,z,U,H,q,V,W,$,G,K,Y,X,Q,J,ee,et,en,er,eo,ei=n(31791),ea=n(73921),es=n(28560),el=n(37540),ec=n(43112),eu=n(84401),ed=n(45480),ef=n(90666),ep=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function eh(e,t){var n,r=eu.useRef(),o=eu.useRef(),i=eu.useRef(),a=(0,ed.J)(t,r.current||{}),s=null!==(n=null==a?void 0:a.query)&&void 0!==n?n:e;o.current=t,i.current=s;var l=(0,el.A)((0,ef.x)(t&&t.client),s),c=l.useQuery((0,ec.pi)((0,ec.pi)({},a),{skip:!r.current})),u=c.observable.options.initialFetchPolicy||l.getDefaultFetchPolicy(),d=Object.assign(c,{called:!!r.current}),f=eu.useMemo(function(){for(var e={},t=function(t){var n=d[t];e[t]=function(){return r.current||(r.current=Object.create(null),l.forceUpdateState()),n.apply(this,arguments)}},n=0,o=ep;n<o.length;n++)t(o[n]);return e},[]);return Object.assign(d,f),[eu.useCallback(function(e){r.current=e?(0,ec.pi)((0,ec.pi)({},e),{fetchPolicy:e.fetchPolicy||u}):{fetchPolicy:u};var t=(0,ed.J)(o.current,(0,ec.pi)({query:i.current},r.current)),n=l.executeQuery((0,ec.pi)((0,ec.pi)({},t),{skip:!1})).then(function(e){return Object.assign(e,f)});return n.catch(function(){}),n},[]),d]}function em(){let e=(0,ei._)(["\n  fragment AvailabilityPanelTextView on OfficeAvailability {\n    availableFrom\n    availableOfficeSuitesCount\n    availableSoonOfficesCount\n    limitedAvailabilityCount\n    totalOfficeSuitesCount\n  }\n"]);return em=function(){return e},e}function eg(){let e=(0,ei._)(["\n  fragment AvailabilityPanelView on Office {\n    id\n    availability {\n      ...AvailabilityPanelTextView\n    }\n    officeSuites {\n      id\n      type\n    }\n    operator {\n      id\n      isPayingCustomer\n    }\n  }\n  ","\n"]);return eg=function(){return e},e}function ev(){let e=(0,ei._)(["\n  fragment OfficeGalleryView on Office {\n    id\n    name\n    photos {\n      id\n      url\n    }\n    marketingContent {\n      id\n      name\n      imageUrl\n    }\n    floorplans {\n      id\n      name\n      drawingUrl\n      url\n      floor\n    }\n    virtualTours {\n      id\n      url\n      name\n    }\n    vimeos {\n      id\n      vimeoId\n    }\n  }\n"]);return ev=function(){return e},e}function ey(){let e=(0,ei._)(["\n  fragment BuildingPhotoView on Office {\n    id\n    name\n    photos {\n      id\n      url\n    }\n  }\n"]);return ey=function(){return e},e}function eb(){let e=(0,ei._)(["\n  fragment PromotionView on Office {\n    ...BuildingPhotoView\n    promotion {\n      id\n      banner {\n        url\n        description\n        gradientColor\n        textColor\n      }\n    }\n  }\n  ","\n"]);return eb=function(){return e},e}function ew(){let e=(0,ei._)(["\n  fragment FloorplansGalleryView on Floorplan {\n    id\n    url\n    drawingUrl\n    name\n    floor\n  }\n"]);return ew=function(){return e},e}function eS(){let e=(0,ei._)(["\n  fragment CoverView on OfficeSuite {\n    id\n    name\n    floor\n    photos {\n      id\n      url\n    }\n  }\n"]);return eS=function(){return e},e}function ex(){let e=(0,ei._)(["\n  fragment SpaceCardView on OfficeSuite {\n    id\n    isPublic\n    actualizedAt\n    updatedAt\n    externalId\n    name\n    type\n    status\n    description\n    floor\n    availableFrom {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateDesk {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateSpace {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateCurrency\n    sizeSpace {\n      id\n      from\n      to\n      isRange\n      unit\n    }\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n    spaceLocation\n    floorplans {\n      ...FloorplansGalleryView\n    }\n    ...CoverView\n  }\n  ","\n  ","\n"]);return ex=function(){return e},e}function eE(){let e=(0,ei._)(["\n  fragment MonthlyQuotingRateView on MonthlyQuotingRateCondition {\n    id\n    isRange\n    from\n    to\n    unit\n    currency\n  }\n"]);return eE=function(){return e},e}function eC(){let e=(0,ei._)(["\n  fragment AmenityView on OfficeAmenity {\n    id\n    key\n  }\n"]);return eC=function(){return e},e}function e_(){let e=(0,ei._)(["\n  fragment SpaceCardLocation on Location {\n    id\n    latitude\n    longitude\n  }\n"]);return e_=function(){return e},e}function ek(){let e=(0,ei._)(["\n  fragment TransportOptionView on Transport {\n    id\n    type\n    name\n    lines\n    duration {\n      text\n      value\n    }\n    distance {\n      text\n      value\n    }\n  }\n"]);return ek=function(){return e},e}function eO(){let e=(0,ei._)(["\n  fragment KeyDateView on KeyDate {\n    id\n    date\n    format\n    type\n    description\n  }\n"]);return eO=function(){return e},e}function eA(){let e=(0,ei._)(["\n  fragment BrochureView on File {\n    id\n    mimeType\n    name\n    url\n  }\n"]);return eA=function(){return e},e}function eI(){let e=(0,ei._)(["\n  fragment CommissionView on Commission {\n    id\n    rate\n    description\n    detailsLink\n  }\n"]);return eI=function(){return e},e}function eP(){let e=(0,ei._)(["\n  fragment BuildingView on Office {\n    id\n    name\n    websiteURL\n    description\n    ...OfficeGalleryView\n    ...PromotionView\n    availability(where: $suiteWhere) {\n      ...AvailabilityPanelTextView\n    }\n    operator {\n      id\n      logo\n      name\n      mapPin\n      isPayingCustomer\n    }\n    officeSuites(where: $suiteWhere) {\n      ...SpaceCardView\n    }\n    monthlyQuotingRate {\n      ...MonthlyQuotingRateView\n    }\n    amenities {\n      ...AmenityView\n    }\n    longAddress\n    address {\n      location {\n        ...SpaceCardLocation\n        transport {\n          ...TransportOptionView\n        }\n      }\n    }\n    keyDates {\n      ...KeyDateView\n    }\n    brochures {\n      ...BrochureView\n    }\n    commission {\n      ...CommissionView\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return eP=function(){return e},e}function eT(){let e=(0,ei._)(["\n  fragment LeadStatusView on Lead {\n    id\n    status\n  }\n"]);return eT=function(){return e},e}function eR(){let e=(0,ei._)(["\n  fragment AnalyticsBuilding on Office {\n    id\n    operator {\n      id\n      name\n    }\n    promotion {\n      id\n    }\n  }\n"]);return eR=function(){return e},e}function eM(){let e=(0,ei._)(["\n  fragment AvailabilityView on Office {\n    address {\n      location {\n        id\n        latitude\n        longitude\n      }\n    }\n    officeSuites {\n      ...SpaceCardView\n    }\n    operator {\n      id\n      isPayingCustomer\n    }\n    ...AnalyticsBuilding\n  }\n  ","\n  ","\n"]);return eM=function(){return e},e}function eN(){let e=(0,ei._)(["\n  fragment OptionStatusView on Offer {\n    id\n    publicId\n    availableFromCondition {\n      id\n      from\n      to\n    }\n  }\n"]);return eN=function(){return e},e}function ej(){let e=(0,ei._)(["\n  fragment EnquiryMessageView on EnquiryMessage {\n    id\n    content\n    createdBy {\n      id\n      contact {\n        name\n        avatarUrl\n      }\n    }\n    createdAt\n  }\n"]);return ej=function(){return e},e}function eD(){let e=(0,ei._)(["\n  fragment EnquiryMessages on Enquiry {\n    id\n    messages {\n      ...EnquiryMessageView\n    }\n  }\n  ","\n"]);return eD=function(){return e},e}function eL(){let e=(0,ei._)(["\n  fragment EnquiryPermissions on Enquiry {\n    id\n    leads {\n      id\n      office {\n        id\n        operator {\n          id\n          enquirySystemSettings {\n            enabled\n            averageResponseTime\n          }\n        }\n      }\n    }\n  }\n"]);return eL=function(){return e},e}function eB(){let e=(0,ei._)(["\n  fragment EnquiryDetailsHeaderView on Enquiry {\n    id\n    leads {\n      id\n      office {\n        id\n        operator {\n          id\n          name\n        }\n      }\n    }\n  }\n"]);return eB=function(){return e},e}function eZ(){let e=(0,ei._)(["\n  fragment EnquiryNotesView on Enquiry {\n    notes {\n      id\n      content\n      createdBy {\n        id\n        contact {\n          name\n          avatarUrl\n        }\n      }\n      createdAt\n    }\n  }\n"]);return eZ=function(){return e},e}function eF(){let e=(0,ei._)(["\n  fragment AvailableFromView on AvailabilityCondition {\n    id\n    from\n    to\n    isRange\n  }\n"]);return eF=function(){return e},e}function ez(){let e=(0,ei._)(["\n  fragment SizeDesksView on OfficeSuiteSizeDesksCondition {\n    id\n    from\n    to\n    isRange\n  }\n"]);return ez=function(){return e},e}function eU(){let e=(0,ei._)(["\n  fragment TermLengthView on TermLengthCondition {\n    id\n    from\n    to\n    isRange\n  }\n"]);return eU=function(){return e},e}function eH(){let e=(0,ei._)(["\n  fragment RejectReasonView on EnquiryLead {\n    status\n    rejectReason {\n      id\n      reasons\n      comment\n      createdAt\n    }\n  }\n"]);return eH=function(){return e},e}function eq(){let e=(0,ei._)(["\n  fragment EnquiryDetailsBuildingsView on Enquiry {\n    id\n    status\n    leads {\n      id\n      status\n      office {\n        id\n        name\n      }\n      suggestions {\n        id\n        officeSuite {\n          id\n          name\n          availableFrom {\n            ...AvailableFromView\n          }\n          monthlyQuotingRateCurrency\n          monthlyQuotingRateTotal {\n            id\n            from\n            to\n            isRange\n          }\n          sizeDesks {\n            ...SizeDesksView\n          }\n          sizeSpace {\n            id\n            from\n            to\n            isRange\n            unit\n          }\n        }\n      }\n      offers {\n        id\n        publicId\n        name\n        termLengthCondition {\n          ...TermLengthView\n        }\n        availableFromCondition {\n          ...AvailableFromView\n        }\n        costCondition {\n          id\n          from\n          to\n          isRange\n          currency\n          unit\n        }\n        sizeDesks {\n          ...SizeDesksView\n        }\n        sizeSpace {\n          id\n          from\n          to\n          isRange\n          unit\n        }\n      }\n      ...RejectReasonView\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n"]);return eq=function(){return e},e}function eV(){let e=(0,ei._)(["\n  fragment EnquiryDetailsOverviewView on Enquiry {\n    leads {\n      id\n      contacts {\n        id\n        email\n      }\n      office {\n        id\n        operator {\n          id\n          enquirySystemSettings {\n            enabled\n            averageResponseTime\n          }\n        }\n      }\n    }\n    createdAt\n    updatedAt\n  }\n"]);return eV=function(){return e},e}function eW(){let e=(0,ei._)(["\n  fragment Enquiry on Enquiry {\n    ...EnquiryPermissions\n    ...EnquiryDetailsHeaderView\n    ...EnquiryNotesView\n    ...EnquiryDetailsBuildingsView\n    ...EnquiryDetailsOverviewView\n    createdBy {\n      id\n      agent {\n        id\n        isEnquirySystemEnabled\n      }\n    }\n    lastViewedAt\n    unreadMessageCount\n    opportunity {\n      id\n      companyName\n      contactFullName\n      brokerFullName\n      termLengthCondition {\n        id\n        from\n        to\n        isRange\n      }\n      availableFromCondition {\n        id\n        from\n        to\n        isRange\n      }\n      budgetCondition {\n        id\n        from\n        to\n        isRange\n        unit\n        currency\n      }\n      sizeDesks {\n        id\n        from\n        to\n        isRange\n      }\n      sizeSpace {\n        id\n        from\n        to\n        isRange\n        unit\n      }\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return eW=function(){return e},e}function e$(){let e=(0,ei._)(["\n  fragment OfferMonthlyCostOfOccupancyView on Offer {\n    termLengthCondition {\n      from\n      to\n      isRange\n    }\n    costCondition {\n      from\n      to\n      isRange\n      currency\n      unit\n    }\n  }\n"]);return e$=function(){return e},e}function eG(){let e=(0,ei._)(["\n  fragment CostPerDeskViewOffer on OfficeCostCondition {\n    id\n    currency\n  }\n"]);return eG=function(){return e},e}function eK(){let e=(0,ei._)(["\n  fragment SizeSpaceViewOffer on OfficeSizeCondition {\n    id\n    from\n    to\n    unit\n    isRange\n  }\n"]);return eK=function(){return e},e}function eY(){let e=(0,ei._)(["\n  fragment SizeSpaceViewOfferOrOfficeSuite on OfficeSuiteSizeSpaceCondition {\n    id\n    from\n    to\n    unit\n    isRange\n  }\n"]);return eY=function(){return e},e}function eX(){let e=(0,ei._)(["\n  fragment OptionViewOffer on Offer {\n    description\n    availableFromCondition {\n      ...AvailableFromView\n    }\n    termLengthCondition {\n      ...TermLengthView\n    }\n    ...OfferMonthlyCostOfOccupancyView\n    costCondition {\n      ...CostPerDeskViewOffer\n    }\n    officeSizeCondition {\n      ...SizeSpaceViewOffer\n    }\n    sizeDesks {\n      ...SizeDesksView\n    }\n    sizeSpace {\n      ...SizeSpaceViewOfferOrOfficeSuite\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return eX=function(){return e},e}function eQ(){let e=(0,ei._)(["\n  fragment OfficeSuiteMonthlyCostOfOccupancyView on OfficeSuite {\n    monthlyQuotingRateCurrency\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n  }\n"]);return eQ=function(){return e},e}function eJ(){let e=(0,ei._)(["\n  fragment CostPerDeskViewOfficeSuite on OfficeSuiteCostCondition {\n    from\n    to\n    isRange\n  }\n"]);return eJ=function(){return e},e}function e0(){let e=(0,ei._)(["\n  fragment CostPerSpaceUnitView on OfficeSuite {\n    sizeSpace {\n      from\n      to\n      unit\n      isRange\n    }\n    monthlyQuotingRateSpace {\n      from\n    }\n  }\n"]);return e0=function(){return e},e}function e1(){let e=(0,ei._)(["\n  fragment OptionViewOfficeSuite on OfficeSuite {\n    id\n    description\n    availableFrom {\n      ...AvailableFromView\n    }\n    ...OfficeSuiteMonthlyCostOfOccupancyView\n    monthlyQuotingRateSpace {\n      id\n      from\n    }\n    monthlyQuotingRateDesk {\n      ...CostPerDeskViewOfficeSuite\n    }\n    monthlyQuotingRateCurrency\n    availableFrom {\n      ...AvailableFromView\n    }\n    sizeDesks {\n      ...SizeDesksView\n    }\n    sizeSpace {\n      ...SizeSpaceViewOfferOrOfficeSuite\n    }\n    ...CostPerSpaceUnitView\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return e1=function(){return e},e}function e2(){let e=(0,ei._)(["\n  fragment Building on Office {\n    id\n    externalId\n    name\n    buildingGroup\n    photos {\n      id\n      url\n    }\n    longAddress\n    shortAddress\n    address {\n      id\n      addressLineOne\n      addressLineTwo\n      addressLineThree\n      addressLineFour\n      city\n      postCode\n    }\n  }\n"]);return e2=function(){return e},e}function e3(){let e=(0,ei._)(["\n  fragment EmailForDistributorView on Office {\n    emailForDistributors\n    operator {\n      emailForDistributors\n    }\n  }\n"]);return e3=function(){return e},e}function e4(){let e=(0,ei._)(["\n  fragment ViewRequestSettings on Office {\n    viewRequestSettings {\n      ... on CalendlyViewRequestSettings {\n        type\n        url\n      }\n      ... on EmailViewRequestSettings {\n        type\n      }\n    }\n  }\n"]);return e4=function(){return e},e}function e5(){let e=(0,ei._)(["\n  fragment BuildingForm on Office {\n    ...Building\n    isActive\n    websiteURL\n    description\n    buildingGroup\n    address {\n      id\n      location {\n        id\n        latitude\n        longitude\n        transport {\n          ...TransportOptionView\n        }\n      }\n      addressLineOne\n      addressLineTwo\n      addressLineThree\n      addressLineFour\n      city\n      country\n      region\n      postCodePartOne\n      postCodePartTwo\n    }\n    operator {\n      id\n      name\n      logo\n      isPayingCustomer\n      mapPin\n      company {\n        id\n      }\n    }\n    contacts {\n      id\n      name\n      email\n    }\n    photos {\n      id\n      order\n      url\n    }\n    brochures {\n      id\n      name\n      mimeType\n      url\n    }\n    floorplans {\n      id\n      floor\n      url\n      name\n    }\n    marketingContent {\n      id\n      name\n      imageUrl\n    }\n    amenities {\n      id\n      key\n    }\n    monthlyQuotingRate {\n      id\n      currency\n      from\n      to\n      unit\n      isRange\n    }\n    vimeos {\n      id\n      vimeoId\n    }\n    virtualTours {\n      id\n      name\n      type\n      url\n    }\n    workDays {\n      week {\n        monday\n        tuesday\n        wednesday\n        thursday\n        friday\n        saturday\n        sunday\n      }\n    }\n    keyDates {\n      ...KeyDateView\n    }\n    customerRequests {\n      id\n      status\n      type\n    }\n    commission {\n      ...CommissionView\n    }\n    ...EmailForDistributorView\n    ...ViewRequestSettings\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return e5=function(){return e},e}function e6(){let e=(0,ei._)(["\n  fragment DailyCostInputView on DailyCost {\n    amount\n    currency\n  }\n"]);return e6=function(){return e},e}function e8(){let e=(0,ei._)(["\n  fragment HourlyCostInputView on HourlyCost {\n    amount\n    currency\n  }\n"]);return e8=function(){return e},e}function e7(){let e=(0,ei._)(["\n  fragment DeskForm on Desk {\n    id\n    name\n    spaceId\n    buildingId\n    externalId\n    type\n    floor\n    createdAt\n    updatedAt\n    isBookingEnabled\n    dailyCost {\n      ...DailyCostInputView\n    }\n    hourlyCost {\n      ...HourlyCostInputView\n    }\n  }\n  ","\n  ","\n"]);return e7=function(){return e},e}function e9(){let e=(0,ei._)(["\n  fragment Floorplan on Floorplan {\n    id\n    url\n    name\n    floor\n  }\n"]);return e9=function(){return e},e}function te(){let e=(0,ei._)(["\n  fragment SpaceInputView on OfficeSuiteSizeSpaceCondition {\n    from\n    unit\n  }\n"]);return te=function(){return e},e}function tt(){let e=(0,ei._)(["\n  fragment DesksInputView on OfficeSuiteSizeDesksCondition {\n    from\n    isRange\n    to\n  }\n"]);return tt=function(){return e},e}function tn(){let e=(0,ei._)(["\n  fragment ActionsDropdownView on OfficeSuite {\n    id\n    type\n    office {\n      id\n    }\n  }\n"]);return tn=function(){return e},e}function tr(){let e=(0,ei._)(["\n  fragment SpaceForm on OfficeSuite {\n    publicId\n    externalId\n    updatedAt\n    name\n    description\n    floor\n    type\n    spaceLocation\n    status\n    isPublic\n    isBookingEnabled\n    monthlyQuotingRateCurrency\n    monthlyQuotingRateTotal {\n      isRange\n      from\n      to\n    }\n    office {\n      id\n    }\n    floorplanPlaces {\n      ... on SpaceFloorplanPlace {\n        floorplan {\n          ...Floorplan\n        }\n      }\n      ... on Floorplan {\n        ...Floorplan\n      }\n    }\n    photos {\n      id\n      url\n      order\n    }\n    availableFrom {\n      from\n      to\n    }\n    sizeSpace {\n      ...SpaceInputView\n    }\n    sizeDesks {\n      ...DesksInputView\n    }\n    dailyCost {\n      ...DailyCostInputView\n    }\n    hourlyCost {\n      ...HourlyCostInputView\n    }\n    ...ActionsDropdownView\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return tr=function(){return e},e}function to(){let e=(0,ei._)(["\n  fragment EnquiriesView on Enquiry {\n    id\n  }\n"]);return to=function(){return e},e}function ti(){let e=(0,ei._)(["\n  fragment EnquiryOverview on Enquiry {\n    id\n    status\n    lastViewedAt\n    unreadMessageCount\n    leads {\n      id\n      status\n      office {\n        id\n        name\n        operator {\n          id\n          name\n          logo\n          enquirySystemSettings {\n            enabled\n            averageResponseTime\n          }\n        }\n      }\n      offers {\n        id\n      }\n      ...RejectReasonView\n    }\n    createdAt\n    updatedAt\n  }\n  ","\n"]);return ti=function(){return e},e}function ta(){let e=(0,ei._)(["\n  fragment EnquiryAgentView on EnquiryOpportunity {\n    id\n    brokerFullName\n    contactFullName\n  }\n"]);return ta=function(){return e},e}function ts(){let e=(0,ei._)(["\n  fragment EnquiriesState on Enquiry {\n    ...EnquiryOverview\n    createdBy {\n      id\n      agent {\n        id\n        name\n      }\n    }\n    unreadMessageCount\n    lastViewedAt\n    opportunity {\n      id\n      companyName\n      ...EnquiryAgentView\n      budgetCondition {\n        id\n        isRange\n        from\n        to\n        currency\n        unit\n      }\n      availableFromCondition {\n        id\n        isRange\n        from\n        to\n      }\n      termLengthCondition {\n        id\n        isRange\n        from\n        to\n      }\n    }\n  }\n  ","\n  ","\n"]);return ts=function(){return e},e}function tl(){let e=(0,ei._)(["\n  fragment GroupBuildingsCardView on Office {\n    id\n    photos {\n      id\n      url\n    }\n    name\n  }\n"]);return tl=function(){return e},e}function tc(){let e=(0,ei._)(["\n  fragment ActivityEventAuthor on OpportunityEventOwner {\n    id\n    name\n    avatarUrl\n  }\n"]);return tc=function(){return e},e}function tu(){let e=(0,ei._)(["\n  fragment DigitalReportCreatedEventView on DigitalReportCreatedEvent {\n    id\n    type\n    createdAt\n    digitalReport {\n      id\n      type\n    }\n    createdBy {\n      ...ActivityEventAuthor\n    }\n  }\n  ","\n"]);return tu=function(){return e},e}function td(){let e=(0,ei._)(["\n  fragment DigitalReportUpdatedEventView on DigitalReportUpdatedEvent {\n    id\n    type\n    before {\n      type\n    }\n    after {\n      type\n    }\n    createdAt\n    createdBy {\n      ...ActivityEventAuthor\n    }\n  }\n  ","\n"]);return td=function(){return e},e}function tf(){let e=(0,ei._)(["\n  fragment DigitalReportFeedbackEventView on DigitalReportFeedbackCreatedEvent {\n    id\n    type\n    createdAt\n    feedback {\n      id\n      comment\n      proposals\n      status\n    }\n  }\n"]);return tf=function(){return e},e}function tp(){let e=(0,ei._)(["\n  fragment DigitalReportDocumentEventView on DigitalReportDocumentEvent {\n    id\n    type\n    createdAt\n    document {\n      id\n      referral {\n        id\n        building {\n          name\n        }\n      }\n      option {\n        id\n        name\n      }\n    }\n    createdBy {\n      ...ActivityEventAuthor\n    }\n  }\n  ","\n"]);return tp=function(){return e},e}function th(){let e=(0,ei._)(["\n  fragment ReferralEventView on ReferralEvent {\n    type\n    referral {\n      id\n      building {\n        name\n      }\n    }\n    option {\n      name\n    }\n    createdAt\n    createdBy {\n      ...ActivityEventAuthor\n    }\n  }\n  ","\n"]);return th=function(){return e},e}function tm(){let e=(0,ei._)(["\n  fragment OptionEventView on OptionEvent {\n    id\n    type\n    createdAt\n    option {\n      id\n      name\n    }\n    referral {\n      id\n      building {\n        name\n      }\n    }\n    createdBy {\n      ...ActivityEventAuthor\n    }\n  }\n  ","\n"]);return tm=function(){return e},e}function tg(){let e=(0,ei._)(["\n  fragment ViewRequestEventView on ViewRequestEvent {\n    id\n    type\n    createdAt\n    viewRequest {\n      id\n      type\n      building {\n        id\n        name\n      }\n      payload {\n        ... on ViewRequestEmailPayload {\n          optionPublicId\n        }\n      }\n    }\n  }\n"]);return tg=function(){return e},e}function tv(){let e=(0,ei._)(["\n  fragment ReactionEventView on ReactionEvent {\n    id\n    type\n    reaction\n    createdAt\n    referral {\n      id\n      building {\n        id\n        name\n      }\n    }\n    option {\n      id\n      name\n    }\n    createdAt\n  }\n"]);return tv=function(){return e},e}function ty(){let e=(0,ei._)(["\n  fragment OpportunityTransferredEventView on OpportunityTransferredEvent {\n    id\n    type\n    message\n    prevOwner {\n      id\n      name\n    }\n    owner {\n      id\n      name\n    }\n    createdAt\n    createdBy {\n      ...ActivityEventAuthor\n    }\n  }\n  ","\n"]);return ty=function(){return e},e}function tb(){let e=(0,ei._)(["\n  fragment ReportActivitiesView on Opportunity {\n    id\n    events {\n      ...DigitalReportCreatedEventView\n      ...DigitalReportUpdatedEventView\n      ...DigitalReportFeedbackEventView\n      ...DigitalReportDocumentEventView\n      ...ReferralEventView\n      ...OptionEventView\n      ...ViewRequestEventView\n      ...ReactionEventView\n      ...OpportunityTransferredEventView\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return tb=function(){return e},e}function tw(){let e=(0,ei._)(["\n  fragment AddBuildingsDropdownView on Lead {\n    id\n  }\n"]);return tw=function(){return e},e}function tS(){let e=(0,ei._)(["\n  fragment ReportUrl on Report {\n    url\n  }\n"]);return tS=function(){return e},e}function tx(){let e=(0,ei._)(["\n  fragment Member on Member {\n    id\n    type\n    name\n    email\n    status\n    role\n    avatarUrl\n    createdAt\n    updatedAt\n    requests {\n      id\n      type\n      status\n      createdAt\n    }\n  }\n"]);return tx=function(){return e},e}function tE(){let e=(0,ei._)(["\n  fragment OpportunityOverviewCard on OpportunityOverview {\n    id\n    ownerId\n    companyName\n    status\n    photos\n    referralsCount\n    optionsCount\n    isDeleted\n    updatedAt\n    members {\n      ...Member\n    }\n  }\n  ","\n"]);return tE=function(){return e},e}function tC(){let e=(0,ei._)(["\n  fragment OpportunityOverviewTable on OpportunityOverview {\n    id\n    companyName\n    status\n    referralsCount\n    optionsCount\n    isDeleted\n    updatedAt\n    availableFrom {\n      from\n      to\n      isRange\n    }\n    termLength {\n      from\n      to\n      isRange\n    }\n    sizeDesks {\n      from\n      to\n      isRange\n    }\n    budget {\n      from\n      to\n      isRange\n      unit\n      currency\n    }\n    members {\n      ...Member\n    }\n  }\n  ","\n"]);return tC=function(){return e},e}function t_(){let e=(0,ei._)(["\n  fragment ShareOpportunityFormView on OpportunityOverview {\n    id\n    ownerId\n    members {\n      ...Member\n    }\n  }\n  ","\n"]);return t_=function(){return e},e}function tk(){let e=(0,ei._)(["\n  fragment TransferOpportunityFormView on OpportunityOverview {\n    id\n    ownerId\n  }\n"]);return tk=function(){return e},e}function tO(){let e=(0,ei._)(["\n  fragment OperatorNameWithLogoView on Office {\n    id\n    name\n    operator {\n      id\n      name\n      logo\n    }\n  }\n"]);return tO=function(){return e},e}function tA(){let e=(0,ei._)(["\n  fragment BuildingAddressView on Office {\n    id\n    shortAddress\n    longAddress\n  }\n"]);return tA=function(){return e},e}function tI(){let e=(0,ei._)(["\n  fragment OfficeAvailability on OfficeAvailability {\n    totalOfficeSuitesCount\n    availableOfficeSuitesCount\n    availableSoonOfficesCount\n    limitedAvailabilityCount\n    uncertainOfficeSuitesCount\n    availableFrom\n  }\n"]);return tI=function(){return e},e}function tP(){let e=(0,ei._)(["\n  fragment MediaIconsView on Office {\n    operator {\n      id\n      isPayingCustomer\n    }\n    floorplans {\n      id\n    }\n    brochures {\n      id\n    }\n    marketingContent {\n      id\n    }\n    virtualTours {\n      id\n    }\n  }\n"]);return tP=function(){return e},e}function tT(){let e=(0,ei._)(["\n  fragment SidebarOfficeCardView on Office {\n    id\n    buildingGroup\n    ...AnalyticsBuilding\n    ...OperatorNameWithLogoView\n    ...BuildingAddressView\n    photos {\n      id\n      url\n    }\n    monthlyQuotingRate {\n      id\n      from\n      to\n      currency\n      isRange\n      unit\n    }\n    availability(where: $suiteWhere) {\n      ...OfficeAvailability\n    }\n    ...MediaIconsView\n    commission {\n      ...CommissionView\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return tT=function(){return e},e}function tR(){let e=(0,ei._)(["\n  fragment BuildingCardView on Office {\n    id\n    name\n    buildingGroup\n    ...BuildingAddressView\n    availability(where: $suiteWhere) {\n      ...OfficeAvailability\n    }\n    monthlyQuotingRate {\n      id\n      from\n      to\n      isRange\n      unit\n      currency\n    }\n    photos {\n      id\n      url\n    }\n    operator {\n      id\n      logo\n      name\n    }\n    commission {\n      ...CommissionView\n    }\n  }\n  ","\n  ","\n  ","\n"]);return tR=function(){return e},e}function tM(){let e=(0,ei._)(["\n  fragment PromotionalCardView on Office {\n    id\n    promotion {\n      id\n      banner {\n        id\n        url\n        description\n        gradientColor\n        textColor\n      }\n    }\n    availability(where: $suiteWhere) {\n      availableOfficeSuitesCount\n    }\n    monthlyQuotingRate {\n      id\n      currency\n      from\n      to\n      unit\n      isRange\n    }\n    ...AnalyticsBuilding\n    ...OperatorNameWithLogoView\n    ...BuildingPhotoView\n  }\n  ","\n  ","\n  ","\n"]);return tM=function(){return e},e}function tN(){let e=(0,ei._)(["\n  fragment BuildingMapPin on BuildingMapPin {\n    latitude\n    longitude\n    iconUrl\n    buildingId\n    promotionId\n    operatorId\n    operatorName\n    operatorType\n  }\n"]);return tN=function(){return e},e}function tj(){let e=(0,ei._)(["\n  fragment OperatorsFilterView on Operator {\n    id\n    name\n    logo\n    isPayingCustomer\n    mapPin\n  }\n"]);return tj=function(){return e},e}function tD(){let e=(0,ei._)(["\n  fragment AnalyticsOpportunity on Opportunity {\n    id\n  }\n"]);return tD=function(){return e},e}function tL(){let e=(0,ei._)(["\n  fragment AnalyticsOfficeSuite on OfficeSuite {\n    id\n    office {\n      id\n      operator {\n        id\n        name\n      }\n    }\n  }\n"]);return tL=function(){return e},e}function tB(){let e=(0,ei._)(["\n  fragment AnalyticsBuildingPin on BuildingMapPin {\n    buildingId\n    operatorId\n    operatorName\n    promotionId\n  }\n"]);return tB=function(){return e},e}function tZ(){let e=(0,ei._)(["\n  fragment Price on OfficeSuiteCostCondition {\n    id\n    from\n    to\n    isRange\n  }\n"]);return tZ=function(){return e},e}function tF(){let e=(0,ei._)(["\n  fragment SizeDesks on OfficeSuite {\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n  }\n"]);return tF=function(){return e},e}function tz(){let e=(0,ei._)(["\n  fragment SizeSpace on OfficeSuite {\n    sizeSpace {\n      id\n      from\n      to\n      unit\n      isRange\n    }\n  }\n"]);return tz=function(){return e},e}function tU(){let e=(0,ei._)(["\n  fragment AvailableFrom on OfficeSuite {\n    availableFrom {\n      id\n      from\n      to\n      isRange\n    }\n  }\n"]);return tU=function(){return e},e}function tH(){let e=(0,ei._)(["\n  fragment Space on OfficeSuite {\n    id\n    name\n    externalId\n    updatedAt\n    status\n    type\n    monthlyQuotingRateDesk {\n      ...Price\n    }\n    monthlyQuotingRateSpace {\n      ...Price\n    }\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateCurrency\n    ...SizeDesks\n    ...SizeSpace\n    ...AvailableFrom\n  }\n  ","\n  ","\n  ","\n  ","\n"]);return tH=function(){return e},e}function tq(){let e=(0,ei._)(["\n  fragment BaseOfficeSuite on OfficeSuite {\n    id\n    publicId\n    type\n    isActive\n    externalId\n    name\n    description\n    floor\n    spaceLocation\n    status\n    updatedAt\n    createdAt\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateDesk {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateSpace {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateCurrency\n    photos {\n      id\n      url\n      type\n      width\n      height\n    }\n    status\n  }\n"]);return tq=function(){return e},e}function tV(){let e=(0,ei._)(["\n  fragment OfficeSuiteFloorplans on OfficeSuite {\n    floorplans {\n      id\n      url\n      name\n      floor\n    }\n  }\n"]);return tV=function(){return e},e}function tW(){let e=(0,ei._)(["\n  fragment FullOfficeSuite on OfficeSuite {\n    ...BaseOfficeSuite\n    ...SizeDesks\n    ...SizeSpace\n    ...AvailableFrom\n    ...OfficeSuiteFloorplans\n    isBookingEnabled\n    office {\n      id\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return tW=function(){return e},e}function t$(){let e=(0,ei._)(["\n  fragment Template on Template {\n    id\n    name\n    style\n    type\n    logoUrl\n  }\n"]);return t$=function(){return e},e}function tG(){let e=(0,ei._)(["\n  fragment PdfReportFormView on Agent {\n    marketingContent {\n      id\n      name\n      imageUrl\n      type\n      style\n      template {\n        ...Template\n      }\n    }\n    templates {\n      ...Template\n    }\n  }\n  ","\n"]);return tG=function(){return e},e}function tK(){let e=(0,ei._)(["\n  fragment MeAgent on Agent {\n    id\n    name\n    logo\n    website\n    primaryColor\n    branding {\n      id\n      logo\n      logoSvg\n      alternativeLogo\n      templateType\n      backgroundUrl\n      imageUrl\n      videoUrl\n      cssVars\n    }\n    isFloorPlanDrawingEnabled\n    isOpportunityTransferEnabled\n    isReferralGroupingEnabled\n    isOpportunityCollaborationEnabled\n    isEnquirySystemEnabled\n    members {\n      ...Member\n    }\n    ...PdfReportFormView\n  }\n  ","\n  ","\n"]);return tK=function(){return e},e}function tY(){let e=(0,ei._)(["\n  fragment AnalyticsOperator on Operator {\n    id\n    name\n  }\n"]);return tY=function(){return e},e}function tX(){let e=(0,ei._)(["\n  fragment ReferralContact on Contact {\n    id\n    email\n    type\n    isVerified\n    name\n    createdAt\n  }\n"]);return tX=function(){return e},e}function tQ(){let e=(0,ei._)(["\n  fragment MeOperator on Operator {\n    ...AnalyticsOperator\n    logo\n    website\n    mapPin\n    isPayingCustomer\n    primaryColor\n    marketplaceSettings {\n      enabled\n    }\n    isOpportunityTransferEnabled\n    isReferralGroupingEnabled\n    isOpportunityCollaborationEnabled\n    enquirySystemSettings {\n      enabled\n      averageResponseTime\n    }\n    emailForDistributors\n    company {\n      id\n    }\n    members {\n      ...Member\n    }\n    contacts(where: { types: [] }) {\n      ...ReferralContact\n    }\n  }\n  ","\n  ","\n  ","\n"]);return tQ=function(){return e},e}function tJ(){let e=(0,ei._)(["\n  fragment DigitalReportFormView on User {\n    reportTitle\n    reportMessage\n  }\n"]);return tJ=function(){return e},e}function t0(){let e=(0,ei._)(["\n  fragment BrandingView on AgentBranding {\n    id\n    logo\n    logoSvg\n    alternativeLogo\n  }\n"]);return t0=function(){return e},e}function t1(){let e=(0,ei._)(["\n  fragment Me on User {\n    id\n    type\n    userName\n    currency\n    reportTitle\n    reportMessage\n    contact {\n      id\n      name\n      avatarUrl\n      jobTitle\n      email\n      emails {\n        id\n        value\n        type\n      }\n      phones {\n        id\n        value\n        type\n      }\n    }\n    operator {\n      id\n      name\n      logo\n      website\n      mapPin\n    }\n    agent {\n      id\n      name\n      logo\n      website\n      branding {\n        ...BrandingView\n      }\n    }\n    regions {\n      id\n      name\n      polygon\n    }\n    selectedRegion {\n      id\n      name\n      polygon\n    }\n    locale\n  }\n  ","\n"]);return t1=function(){return e},e}function t2(){let e=(0,ei._)(["\n  fragment FullMe on User {\n    ...Me\n    permissions\n    currency\n    termAndCondition {\n      id\n      isAccepted\n      updatedAt\n      documentHtmlUrl\n      documentPdfUrl\n    }\n  }\n  ","\n"]);return t2=function(){return e},e}function t3(){let e=(0,ei._)(["\n  fragment MeState on User {\n    id\n    type\n    userName\n    contact {\n      id\n      name\n      avatarUrl\n      jobTitle\n      email\n      createdAt\n      updatedAt\n      phones {\n        id\n        value\n        type\n      }\n    }\n    regions {\n      id\n      name\n      polygon\n    }\n    selectedRegion {\n      id\n      name\n      polygon\n    }\n    locale\n    permissions\n    currency\n    termAndCondition {\n      id\n      isAccepted\n      updatedAt\n      documentHtmlUrl\n      documentPdfUrl\n    }\n    agent {\n      ...MeAgent\n    }\n    operator {\n      ...MeOperator\n    }\n    canCreateDigitalReport\n    canSendLeads\n    ...DigitalReportFormView\n    ...FullMe\n  }\n  ","\n  ","\n  ","\n  ","\n"]);return t3=function(){return e},e}function t4(){let e=(0,ei._)(["\n  fragment BuildingRowView on Office {\n    id\n    name\n    externalId\n    buildingGroup\n    customerRequests {\n      id\n      status\n      type\n    }\n    photos {\n      id\n      url\n    }\n    ...OperatorNameWithLogoView\n    longAddress\n  }\n  ","\n"]);return t4=function(){return e},e}function t5(){let e=(0,ei._)(["\n  fragment SpaceVisibilityView on OfficeSuite {\n    isPublic\n  }\n"]);return t5=function(){return e},e}function t6(){let e=(0,ei._)(["\n  fragment SuiteView on OfficeSuite {\n    id\n    actualizedAt\n    updatedAt\n    externalId\n    name\n    type\n    status\n    floor\n    monthlyQuotingRateCurrency\n    monthlyQuotingRateSpace {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateSpace {\n      id\n      from\n      to\n      isRange\n    }\n    availableFrom {\n      isRange\n      to\n      from\n      id\n    }\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n    sizeSpace {\n      id\n      from\n      to\n      isRange\n      unit\n    }\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateDesk {\n      id\n      from\n      to\n      isRange\n    }\n    office {\n      id\n    }\n    ...SpaceVisibilityView\n  }\n  ","\n"]);return t6=function(){return e},e}function t8(){let e=(0,ei._)(["\n  fragment DeskView on Desk {\n    id\n    name\n    spaceId\n    buildingId\n    externalId\n    type\n    floor\n    isBookingEnabled\n    dailyCost {\n      ...DailyCostInputView\n    }\n    hourlyCost {\n      ...HourlyCostInputView\n    }\n    createdAt\n    updatedAt\n  }\n  ","\n  ","\n"]);return t8=function(){return e},e}function t7(){let e=(0,ei._)(["\n  fragment BuildingState on Office {\n    ...BuildingRowView\n    ...AnalyticsBuilding\n    officeSuites {\n      ...SuiteView\n    }\n    desks {\n      ...DeskView\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n"]);return t7=function(){return e},e}function t9(){let e=(0,ei._)(["\n  fragment ContactOperatorsFormView on Opportunity {\n    id\n    meta\n    enquiries {\n      id\n    }\n  }\n"]);return t9=function(){return e},e}function ne(){let e=(0,ei._)(["\n  fragment OpportunityCompanyView on Opportunity {\n    id\n    companyWebsite\n    companyIndustry\n    companySize\n  }\n"]);return ne=function(){return e},e}function nt(){let e=(0,ei._)(["\n  fragment OpportunityRequirementsView on Opportunity {\n    id\n    termLengthCondition {\n      id\n      from\n      to\n      isRange\n    }\n    availableFromCondition {\n      id\n      from\n      to\n      isRange\n    }\n    budgetCondition {\n      id\n      from\n      to\n      isRange\n      unit\n      currency\n    }\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n    sizeSpace {\n      id\n      from\n      to\n      isRange\n      unit\n    }\n  }\n"]);return nt=function(){return e},e}function nn(){let e=(0,ei._)(["\n  fragment OpportunityHeadInfoView on Opportunity {\n    id\n    createdAt\n    detailsUpdatedAt\n  }\n"]);return nn=function(){return e},e}function nr(){let e=(0,ei._)(["\n  fragment ShareView on Opportunity {\n    id\n    members {\n      ...Member\n    }\n  }\n  ","\n"]);return nr=function(){return e},e}function no(){let e=(0,ei._)(["\n  fragment ContactView on Opportunity {\n    contactEmail\n    contactPhone\n    contactFullName\n  }\n"]);return no=function(){return e},e}function ni(){let e=(0,ei._)(["\n  fragment OpportunityBrokerView on Opportunity {\n    brokerEmail\n    brokerPhone\n    brokerFullName\n  }\n"]);return ni=function(){return e},e}function na(){let e=(0,ei._)(["\n  fragment DetailsView on Opportunity {\n    id\n    companyLocation {\n      address\n    }\n    notes\n    ...OpportunityCompanyView\n    ...OpportunityRequirementsView\n    ...OpportunityHeadInfoView\n    ...ShareView\n    ...ContactView\n    ...OpportunityBrokerView\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return na=function(){return e},e}function ns(){let e=(0,ei._)(["\n  fragment OpportunityFormView on Opportunity {\n    id\n    detailsUpdatedAt\n    availableFromCondition {\n      id\n      isRange\n      from\n      to\n    }\n    brokerEmail\n    brokerFullName\n    brokerPhone\n    budgetCondition {\n      id\n      isRange\n      currency\n      from\n      to\n      unit\n    }\n    companyIndustry\n    companyName\n    companySize\n    companyWebsite\n    contactEmail\n    contactFullName\n    contactPhone\n    termLengthCondition {\n      id\n      isRange\n      from\n      to\n    }\n    notes\n    sizeSpace {\n      id\n      isRange\n      from\n      to\n      unit\n    }\n    sizeDesks {\n      id\n      isRange\n      from\n      to\n    }\n    companyLocation {\n      address\n      latitude\n      longitude\n    }\n  }\n"]);return ns=function(){return e},e}function nl(){let e=(0,ei._)(["\n  fragment OpportunityTabsView on Opportunity {\n    notifications {\n      ... on DigitalReportUnresolvedFeedbackNotification {\n        type\n      }\n    }\n  }\n"]);return nl=function(){return e},e}function nc(){let e=(0,ei._)(["\n  fragment OpportunityView on Opportunity {\n    isDeleted\n    companyName\n    status\n    introTitle\n    introMessage\n    user {\n      id\n    }\n    ...DetailsView\n    ...OpportunityFormView\n    ...OpportunityTabsView\n  }\n  ","\n  ","\n  ","\n"]);return nc=function(){return e},e}function nu(){let e=(0,ei._)(["\n  fragment DigitalReportDocument on DigitalReportDocument {\n    id\n    createdAt\n    optionId\n    referralId\n    status\n    updatedAt\n    url\n  }\n"]);return nu=function(){return e},e}function nd(){let e=(0,ei._)(["\n  fragment DigitalReportAnalytics on DigitalReportAnalytics {\n    visitsCount\n    lastVisitAt\n  }\n"]);return nd=function(){return e},e}function nf(){let e=(0,ei._)(["\n  fragment DigitalReport on DigitalReport {\n    id\n    documents {\n      ...DigitalReportDocument\n    }\n    analytics {\n      ...DigitalReportAnalytics\n    }\n    showOperatorDetails\n    type\n    url\n    logoUrl\n  }\n  ","\n  ","\n"]);return nf=function(){return e},e}function np(){let e=(0,ei._)(["\n  fragment OpportunityState on Opportunity {\n    ...ContactOperatorsFormView\n    ...OpportunityView\n    digitalReport {\n      ...DigitalReport\n    }\n    report {\n      id\n      url\n    }\n  }\n  ","\n  ","\n  ","\n"]);return np=function(){return e},e}function nh(){let e=(0,ei._)(["\n  fragment BuildingDetailsView on Office {\n    ...OperatorNameWithLogoView\n    ...BuildingAddressView\n  }\n  ","\n  ","\n"]);return nh=function(){return e},e}function nm(){let e=(0,ei._)(["\n  fragment InaccessibleReferralView on Office {\n    id\n    name\n    createdAt\n    updatedAt\n    publicId\n    buildingGroup\n    isActive\n    regions {\n      id\n      name\n    }\n    coverPhoto {\n      id\n      url\n    }\n    operator {\n      id\n      name\n      logo\n    }\n    address {\n      id\n      addressLineOne\n      addressLineTwo\n    }\n  }\n"]);return nm=function(){return e},e}function ng(){let e=(0,ei._)(["\n  fragment EnquiryStatusView on Enquiry {\n    id\n    status\n    createdAt\n  }\n"]);return ng=function(){return e},e}function nv(){let e=(0,ei._)(["\n  fragment OptionDetailsView on Offer {\n    description\n    name\n    floor\n    spaceType\n    spaceLocation\n    floorplans {\n      ...FloorplansGalleryView\n    }\n    photos {\n      id\n      url\n    }\n  }\n  ","\n"]);return nv=function(){return e},e}function ny(){let e=(0,ei._)(["\n  fragment AddOptionModalOfferView on Offer {\n    officeSuites {\n      id\n      externalId\n    }\n  }\n"]);return ny=function(){return e},e}function nb(){let e=(0,ei._)(["\n  fragment OfferView on Offer {\n    id\n    publicId\n    updatedAt\n    ...OptionDetailsView\n    ...AddOptionModalOfferView\n    availableFromCondition {\n      id\n      from\n      to\n      isRange\n    }\n    termLengthCondition {\n      id\n      from\n      to\n      isRange\n    }\n    costCondition {\n      id\n      from\n      to\n      isRange\n      currency\n      unit\n    }\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n    sizeSpace {\n      id\n      from\n      to\n      unit\n      isRange\n    }\n  }\n  ","\n  ","\n"]);return nb=function(){return e},e}function nw(){let e=(0,ei._)(["\n  fragment ScheduleViewingControlView on Lead {\n    id\n    viewing {\n      id\n    }\n    viewRequests {\n      id\n    }\n  }\n"]);return nw=function(){return e},e}function nS(){let e=(0,ei._)(["\n  fragment AddOptionModalView on Lead {\n    id\n    publicId\n    building {\n      ... on Office {\n        id\n        name\n        operator {\n          id\n          isPayingCustomer\n        }\n        officeSuites {\n          ...SpaceCardView\n        }\n        ...AnalyticsBuilding\n      }\n    }\n    offers {\n      ...AddOptionModalOfferView\n    }\n  }\n  ","\n  ","\n  ","\n"]);return nS=function(){return e},e}function nx(){let e=(0,ei._)(["\n  fragment ReferralView on Lead {\n    id\n    publicId\n    contacts {\n      id\n      email\n    }\n    building {\n      ... on Office {\n        ...BuildingPhotoView\n        ...BuildingDetailsView\n        ...AnalyticsBuilding\n      }\n      ... on BuildingRegionError {\n        message\n        partialBuilding {\n          ...InaccessibleReferralView\n        }\n      }\n    }\n    status\n    enquiry {\n      ...EnquiryStatusView\n      leads {\n        id\n        office {\n          id\n          operator {\n            id\n            enquirySystemSettings {\n              enabled\n            }\n          }\n        }\n      }\n    }\n    offers {\n      ...OfferView\n    }\n    ...ScheduleViewingControlView\n    ...AddOptionModalView\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return nx=function(){return e},e}function nE(){let e=(0,ei._)(["\n  fragment NewContactView on Lead {\n    id\n    building {\n      ... on Office {\n        id\n        operator {\n          id\n          name\n        }\n      }\n    }\n    suggestedContacts {\n      email\n    }\n  }\n"]);return nE=function(){return e},e}function nC(){let e=(0,ei._)(["\n  fragment ReferralContactLeadView on Lead {\n    id\n    building {\n      ... on Office {\n        id\n        operator {\n          id\n          name\n        }\n      }\n    }\n  }\n"]);return nC=function(){return e},e}function n_(){let e=(0,ei._)(["\n  fragment ReferralContactView on ReferralContact {\n    id\n    email\n  }\n"]);return n_=function(){return e},e}function nk(){let e=(0,ei._)(["\n  fragment ContactsView on Lead {\n    id\n    ...NewContactView\n    ...ReferralContactLeadView\n    contacts {\n      ...ReferralContactView\n    }\n  }\n  ","\n  ","\n  ","\n"]);return nk=function(){return e},e}function nO(){let e=(0,ei._)(["\n  fragment ReferralsGroupedView on Lead {\n    order\n    group {\n      id\n      name\n      description\n      order\n    }\n  }\n"]);return nO=function(){return e},e}function nA(){let e=(0,ei._)(["\n  fragment ReferralsView on Lead {\n    ...ContactsView\n    building {\n      ...BuildingRowView\n    }\n    ...ReferralsGroupedView\n  }\n  ","\n  ","\n  ","\n"]);return nA=function(){return e},e}function nI(){let e=(0,ei._)(["\n  fragment SimpleMapView on Office {\n    address {\n      location {\n        latitude\n        longitude\n      }\n    }\n    operator {\n      mapPin\n    }\n  }\n"]);return nI=function(){return e},e}function nP(){let e=(0,ei._)(["\n  fragment ViewingOfficeCardView on Office {\n    ...OperatorNameWithLogoView\n    ...BuildingPhotoView\n    ...BuildingAddressView\n  }\n  ","\n  ","\n  ","\n"]);return nP=function(){return e},e}function nT(){let e=(0,ei._)(["\n  fragment ViewingFormView on Viewing {\n    id\n    endsAt\n    notes\n    startsAt\n    ready\n    contact {\n      id\n      name\n      phones {\n        id\n        value\n      }\n    }\n  }\n"]);return nT=function(){return e},e}function nR(){let e=(0,ei._)(["\n  fragment AnalyticsViewRequest on ViewRequest {\n    id\n    type\n  }\n"]);return nR=function(){return e},e}function nM(){let e=(0,ei._)(["\n  fragment ViewRequest on ViewRequest {\n    payload {\n      ... on ViewRequestCalendlyPayload {\n        eventUrl\n      }\n    }\n    ...AnalyticsViewRequest\n  }\n  ","\n"]);return nM=function(){return e},e}function nN(){let e=(0,ei._)(["\n  fragment ViewingView on Lead {\n    id\n    building {\n      ...ViewingOfficeCardView\n    }\n    viewing {\n      ...ViewingFormView\n    }\n    viewRequests {\n      ...ViewRequest\n    }\n  }\n  ","\n  ","\n  ","\n"]);return nN=function(){return e},e}function nj(){let e=(0,ei._)(["\n  fragment ViewingListView on Lead {\n    ...ViewingView\n  }\n  ","\n"]);return nj=function(){return e},e}function nD(){let e=(0,ei._)(["\n  fragment ViewingsView on Lead {\n    id\n    building {\n      ...SimpleMapView\n    }\n    viewing {\n      id\n      ready\n      startsAt\n      endsAt\n    }\n    ...ViewingListView\n  }\n  ","\n  ","\n"]);return nD=function(){return e},e}function nL(){let e=(0,ei._)(["\n  fragment ReferralsState on Lead {\n    ...ReferralView\n    ...ReferralsView\n    ...ViewingsView\n    order\n    group {\n      id\n      name\n      description\n      order\n    }\n  }\n  ","\n  ","\n  ","\n"]);return nL=function(){return e},e}function nB(){let e=(0,ei._)(["\n  fragment ShortlistBuilding on Office {\n    ...Building\n    ...OperatorNameWithLogoView\n    officeSuites(where: $spacesWhere) {\n      ...SuiteView\n    }\n  }\n  ","\n  ","\n  ","\n"]);return nB=function(){return e},e}function nZ(){let e=(0,ei._)(["\n  fragment SortableSpace on OfficeSuite {\n    name\n    type\n    status\n    availableFrom {\n      id\n      from\n      to\n      isRange\n    }\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n    sizeSpace {\n      id\n      from\n      to\n      isRange\n      unit\n    }\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateDesk {\n      id\n      from\n      to\n      isRange\n    }\n  }\n"]);return nZ=function(){return e},e}function nF(){let e=(0,ei._)(["\n  mutation rejectLead($id: Int!, $data: RejectReasonInput!) {\n    opportunity {\n      referral {\n        reject(id: $id, data: $data) {\n          success\n        }\n      }\n    }\n  }\n"]);return nF=function(){return e},e}function nz(){let e=(0,ei._)(["\n  mutation updateLeadStatus($status: LeadStatusType!, $id: Int!) {\n    updateLead(data: { status: $status }, where: { id: $id }) {\n      ...LeadStatusView\n      opportunity {\n        id\n        enquiries {\n          id\n          leads {\n            id\n            status\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return nz=function(){return e},e}function nU(){let e=(0,ei._)(["\n  mutation reportIssue($data: ReportIssueInput) {\n    reportIssue(data: $data) {\n      success\n    }\n  }\n"]);return nU=function(){return e},e}function nH(){let e=(0,ei._)(["\n  mutation createEnquiryMessage($enquiryId: ID!, $content: String!) {\n    opportunity {\n      enquiry {\n        createMessage(enquiryId: $enquiryId, content: $content) {\n          success\n          query {\n            enquiry(id: $enquiryId) {\n              ...EnquiryMessages\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return nH=function(){return e},e}function nq(){let e=(0,ei._)(["\n  query opportunityEnquiryMessages($enquiryId: ID!) {\n    enquiry(id: $enquiryId) {\n      ...EnquiryMessages\n    }\n  }\n  ","\n"]);return nq=function(){return e},e}function nV(){let e=(0,ei._)(["\n  mutation createEnquiryNote($enquiryId: ID!, $content: String!) {\n    opportunity {\n      enquiry {\n        createNote(enquiryId: $enquiryId, content: $content) {\n          success\n          query {\n            enquiry(id: $enquiryId) {\n              ...Enquiry\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return nV=function(){return e},e}function nW(){let e=(0,ei._)(["\n  mutation acceptSuggestion($suggestionId: ID!) {\n    opportunity {\n      referral {\n        suggestion {\n          accept(id: $suggestionId) {\n            success\n          }\n        }\n      }\n    }\n  }\n"]);return nW=function(){return e},e}function n$(){let e=(0,ei._)(["\n  mutation declineSuggestion($suggestionId: ID!) {\n    opportunity {\n      referral {\n        suggestion {\n          decline(id: $suggestionId) {\n            success\n          }\n        }\n      }\n    }\n  }\n"]);return n$=function(){return e},e}function nG(){let e=(0,ei._)(["\n  query opportunityEnquiry($enquiryId: ID!) {\n    enquiry(id: $enquiryId) {\n      ...Enquiry\n    }\n  }\n  ","\n"]);return nG=function(){return e},e}function nK(){let e=(0,ei._)(["\n  mutation updateTemplate($id: ID!, $data: TemplateUpdateInput!) {\n    agent {\n      template {\n        update(id: $id, data: $data) {\n          ...Template\n        }\n      }\n    }\n  }\n  ","\n"]);return nK=function(){return e},e}function nY(){let e=(0,ei._)(["\n  mutation createTemplate($data: TemplateCreateInput!) {\n    agent {\n      template {\n        create(data: $data) {\n          ...Template\n        }\n      }\n    }\n  }\n  ","\n"]);return nY=function(){return e},e}function nX(){let e=(0,ei._)(["\n  mutation removeTemplate($id: ID!) {\n    agent {\n      template {\n        remove(id: $id) {\n          query {\n            me {\n              ...MeState\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return nX=function(){return e},e}function nQ(){let e=(0,ei._)(["\n  mutation updateAgent($data: AgentUpdateInput!) {\n    agent {\n      update(data: $data) {\n        success\n        query {\n          me {\n            ...MeState\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return nQ=function(){return e},e}function nJ(){let e=(0,ei._)(["\n  mutation updateOperator($data: OperatorUpdateInput!) {\n    operator {\n      update(data: $data) {\n        success\n        query {\n          me {\n            ...MeState\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return nJ=function(){return e},e}function n0(){let e=(0,ei._)(["\n  mutation createContact($email: String!) {\n    operator {\n      contacts {\n        create(email: $email) {\n          id\n        }\n      }\n    }\n  }\n"]);return n0=function(){return e},e}function n1(){let e=(0,ei._)(["\n  mutation removeOperatorContact($contactId: Int!, $replaceId: Int) {\n    operator {\n      contacts {\n        remove(contactId: $contactId, replaceId: $replaceId) {\n          success\n          reason\n        }\n      }\n    }\n  }\n"]);return n1=function(){return e},e}function n2(){let e=(0,ei._)(["\n  mutation resendConfirmation($contactId: Int!) {\n    operator {\n      contacts {\n        resend(contactId: $contactId) {\n          success\n        }\n      }\n    }\n  }\n"]);return n2=function(){return e},e}function n3(){let e=(0,ei._)(["\n  mutation inviteAgents($data: [MemberCreateInput!]!) {\n    agent {\n      members {\n        create(data: $data) {\n          ...Member\n        }\n      }\n    }\n  }\n  ","\n"]);return n3=function(){return e},e}function n4(){let e=(0,ei._)(["\n  mutation inviteOperators($data: [MemberCreateInput!]!) {\n    operator {\n      members {\n        create(data: $data) {\n          ...Member\n        }\n      }\n    }\n  }\n  ","\n"]);return n4=function(){return e},e}function n5(){let e=(0,ei._)(["\n  query verifyUsername($value: String!) {\n    verifyUsername(value: $value) {\n      success\n    }\n  }\n"]);return n5=function(){return e},e}function n6(){let e=(0,ei._)(["\n  query passwordPolicy {\n    passwordPolicy {\n      minimumLength\n      requireUppercase\n      requireLowercase\n      requireNumbers\n      requireSymbols\n    }\n  }\n"]);return n6=function(){return e},e}function n8(){let e=(0,ei._)(["\n  query shortOpportunity($id: Int!) {\n    opportunity(id: $id) {\n      id\n      companyName\n    }\n  }\n"]);return n8=function(){return e},e}function n7(){let e=(0,ei._)(["\n  mutation addReferral($id: Int!, $sources: [LeadSource!]) {\n    opportunity {\n      addReferrals(where: { id: $id }, sources: $sources) {\n        id\n        detailsUpdatedAt\n        leads {\n          ...ReferralsState\n        }\n      }\n    }\n  }\n  ","\n"]);return n7=function(){return e},e}function n9(){let e=(0,ei._)(["\n  mutation createBuilding($data: OfficeCreateInput!) {\n    createOffice(data: $data) {\n      ...BuildingForm\n    }\n  }\n  ","\n"]);return n9=function(){return e},e}function re(){let e=(0,ei._)(["\n  mutation updateBuilding(\n    $data: OfficeUpdateInput!\n    $where: OfficeWhereUniqueInput!\n  ) {\n    updateOffice(data: $data, where: $where) {\n      ...BuildingForm\n    }\n  }\n  ","\n"]);return re=function(){return e},e}function rt(){let e=(0,ei._)(["\n  mutation cancelBuildingApprovalRequest($requestId: ID!, $buildingId: Int!) {\n    building {\n      request {\n        cancel(id: $requestId) {\n          success\n          query {\n            building(id: $buildingId) {\n              id\n              ...AnalyticsBuilding\n              customerRequests {\n                id\n                type\n                status\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return rt=function(){return e},e}function rn(){let e=(0,ei._)(["\n  mutation requestBuildingApproval($buildingId: Int!) {\n    building {\n      request {\n        create(data: { type: APPROVAL_REQUESTED, buildingId: $buildingId }) {\n          success\n          query {\n            building(id: $buildingId) {\n              id\n              ...AnalyticsBuilding\n              customerRequests {\n                id\n                type\n                status\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return rn=function(){return e},e}function rr(){let e=(0,ei._)(["\n  query deskBookedSlots($deskId: String!) {\n    deskBookedSlots(deskId: $deskId) {\n      bookingId\n      dateFrom\n      dateTo\n    }\n  }\n"]);return rr=function(){return e},e}function ro(){let e=(0,ei._)(["\n  query spaceBookedSlots($spacePublicId: String!) {\n    spaceBookedSlots(spacePublicId: $spacePublicId) {\n      bookingId\n      dateFrom\n      dateTo\n    }\n  }\n"]);return ro=function(){return e},e}function ri(){let e=(0,ei._)(["\n  query spacePreview($id: Int!) {\n    space(id: $id) {\n      ...SpaceCardView\n    }\n    offices(where: { officeSuites_some: { id: $id } }) {\n      id\n      address {\n        id\n        location {\n          ...SpaceCardLocation\n        }\n      }\n    }\n  }\n  ","\n  ","\n"]);return ri=function(){return e},e}function ra(){let e=(0,ei._)(["\n  query buildingForm($id: Int) {\n    building(id: $id) {\n      ...BuildingForm\n    }\n  }\n  ","\n"]);return ra=function(){return e},e}function rs(){let e=(0,ei._)(["\n  query buildingSuggestedContacts($referralId: Int, $providerId: Int) {\n    buildingSuggestedContacts(\n      referralId: $referralId\n      providerId: $providerId\n    ) {\n      name\n      email\n    }\n  }\n"]);return rs=function(){return e},e}function rl(){let e=(0,ei._)(["\n  query suggestedReferralEmails($operatorId: Int!) {\n    suggestedReferralEmails(operatorId: $operatorId) {\n      originalContactId\n      name\n      email\n    }\n  }\n"]);return rl=function(){return e},e}function rc(){let e=(0,ei._)(["\n  query operator($where: OperatorWhereUniqueInput) {\n    operator(where: $where) {\n      id\n      name\n      emailForDistributors\n      logo\n      isPayingCustomer\n      mapPin\n      company {\n        id\n      }\n      website\n      primaryColor\n      marketplaceSettings {\n        enabled\n      }\n    }\n  }\n"]);return rc=function(){return e},e}function ru(){let e=(0,ei._)(["\n  query deskForm($id: String!) {\n    desk(id: $id) {\n      ...DeskForm\n    }\n  }\n  ","\n"]);return ru=function(){return e},e}function rd(){let e=(0,ei._)(["\n  mutation updateDesk($data: DeskUpdateInput!, $where: DeskWhereUniqueInput!) {\n    updateDesk(data: $data, where: $where) {\n      ...DeskView\n    }\n  }\n  ","\n"]);return rd=function(){return e},e}function rf(){let e=(0,ei._)(["\n  mutation createDesk($data: DeskCreateInput!) {\n    createDesk(data: $data) {\n      ...DeskView\n    }\n  }\n  ","\n"]);return rf=function(){return e},e}function rp(){let e=(0,ei._)(["\n  query spaceForm($id: Int) {\n    space(id: $id) {\n      ...SpaceForm\n    }\n  }\n  ","\n"]);return rp=function(){return e},e}function rh(){let e=(0,ei._)(["\n  mutation updateSpace(\n    $data: OfficeSuiteUpdateInput!\n    $where: OfficeSuiteWhereUniqueInput!\n  ) {\n    updateOfficeSuite(data: $data, where: $where) {\n      ...SpaceForm\n    }\n  }\n  ","\n"]);return rh=function(){return e},e}function rm(){let e=(0,ei._)(["\n  mutation createSpace($data: OfficeSuiteCreateInput!) {\n    createOfficeSuite(data: $data) {\n      ...SpaceForm\n    }\n  }\n  ","\n"]);return rm=function(){return e},e}function rg(){let e=(0,ei._)(["\n  query buildingForSuiteForm($id: Int) {\n    building(id: $id) {\n      id\n      buildingGroup\n      name\n      operator {\n        id\n      }\n      floorplans {\n        id\n        name\n        floor\n        url\n      }\n      workDays {\n        week {\n          monday\n          tuesday\n          wednesday\n          thursday\n          friday\n          saturday\n          sunday\n        }\n      }\n      ...AnalyticsBuilding\n    }\n  }\n  ","\n"]);return rg=function(){return e},e}function rv(){let e=(0,ei._)(["\n  mutation markActualized($spaceIds: [Int!]!, $buildingIds: [Int!]!) {\n    provider {\n      markSpacesActualized(data: { spaceIds: $spaceIds }) {\n        success\n      }\n      markBuildingsActualized(data: { buildingIds: $buildingIds }) {\n        success\n      }\n    }\n  }\n"]);return rv=function(){return e},e}function ry(){let e=(0,ei._)(["\n  mutation confirmEnquiryAvailability($enquiryId: ID!) {\n    opportunity {\n      enquiry {\n        confirmAvailability(enquiryId: $enquiryId) {\n          success\n          query {\n            enquiry(id: $enquiryId) {\n              id\n              status\n            }\n          }\n        }\n      }\n    }\n  }\n"]);return ry=function(){return e},e}function rb(){let e=(0,ei._)(["\n  mutation createLeadSuggestion($data: LeadSuggestionCreateInput!) {\n    opportunity {\n      referral {\n        suggestion {\n          create(data: $data) {\n            success\n          }\n        }\n      }\n    }\n  }\n"]);return rb=function(){return e},e}function rw(){let e=(0,ei._)(["\n  query enquiries($where: EnquiresWhereInput!) {\n    enquiries(where: $where) {\n      ...EnquiriesState\n    }\n  }\n  ","\n"]);return rw=function(){return e},e}function rS(){let e=(0,ei._)(["\n  mutation duplicateOpportunity($id: Int!) {\n    duplicateOpportunity(where: { id: $id }) {\n      id\n    }\n  }\n"]);return rS=function(){return e},e}function rx(){let e=(0,ei._)(["\n  query opportunityEnquiries($id: Int!, $where: EnquiresWhereInput!) {\n    opportunity(id: $id) {\n      id\n      enquiries(where: $where) {\n        ...EnquiryOverview\n      }\n    }\n  }\n  ","\n"]);return rx=function(){return e},e}function rE(){let e=(0,ei._)(["\n  mutation groupReferrals($id: Int!, $data: [ReferralGroupInput!]!) {\n    opportunity {\n      referral {\n        group(opportunityId: $id, data: $data) {\n          success\n        }\n      }\n    }\n  }\n"]);return rE=function(){return e},e}function rC(){let e=(0,ei._)(["\n  mutation createOfferFromSpaces($data: OfferFromSpacesCreateInput!) {\n    createOfferFromSpaces(data: $data) {\n      ...OfferView\n    }\n  }\n  ","\n"]);return rC=function(){return e},e}function r_(){let e=(0,ei._)(["\n  mutation mergeOptions($data: OptionsMergeInput!) {\n    mergeOptions(data: $data) {\n      ...OfferView\n    }\n  }\n  ","\n"]);return r_=function(){return e},e}function rk(){let e=(0,ei._)(["\n  mutation deleteOffer($where: OfferWhereUniqueInput!) {\n    deleteOffer(where: $where) {\n      id\n    }\n  }\n"]);return rk=function(){return e},e}function rO(){let e=(0,ei._)(["\n  mutation removeReferral($where: LeadWhereUniqueInput!) {\n    opportunity {\n      referral {\n        remove(where: $where) {\n          success\n        }\n      }\n    }\n  }\n"]);return rO=function(){return e},e}function rA(){let e=(0,ei._)(["\n  mutation createViewing($referralId: Int!) {\n    createViewing(where: { id: $referralId }, data: {}) {\n      ...ViewingsView\n    }\n  }\n  ","\n"]);return rA=function(){return e},e}function rI(){let e=(0,ei._)(["\n  query referralSpaces($where: LeadWhereUniqueInput!) {\n    lead(where: $where) {\n      ...AddOptionModalView\n    }\n  }\n  ","\n"]);return rI=function(){return e},e}function rP(){let e=(0,ei._)(["\n  mutation connectReferralBuilding(\n    $data: OfficeWhereUniqueInput!\n    $where: LeadWhereUniqueInput!\n  ) {\n    updateLead(data: { office: { connect: $data } }, where: $where) {\n      ...ReferralView\n    }\n  }\n  ","\n"]);return rP=function(){return e},e}function rT(){let e=(0,ei._)(["\n  mutation resolveFeedback($feedbackId: ID!, $opportunityId: Int!) {\n    opportunity {\n      digitalReport {\n        feedback {\n          resolve(id: $feedbackId) {\n            success\n            query {\n              opportunity(id: $opportunityId) {\n                ...OpportunityTabsView\n                ...ReportActivitiesView\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n  ","\n"]);return rT=function(){return e},e}function rR(){let e=(0,ei._)(["\n  mutation createReport($opportunityId: Int!) {\n    opportunity {\n      report {\n        create(opportunityId: $opportunityId) {\n          query {\n            opportunity(id: $opportunityId) {\n              id\n              report {\n                id\n                url\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"]);return rR=function(){return e},e}function rM(){let e=(0,ei._)(["\n  mutation removeViewRequest($id: Int!) {\n    deleteViewRequestById(id: $id) {\n      success\n    }\n  }\n"]);return rM=function(){return e},e}function rN(){let e=(0,ei._)(["\n  mutation updateViewing($id: Int!, $data: ViewingUpdateWithoutLeadDataInput!) {\n    updateViewing(where: { id: $id }, data: $data) {\n      ...ViewingsView\n    }\n  }\n  ","\n"]);return rN=function(){return e},e}function rj(){let e=(0,ei._)(["\n  mutation deleteViewing($id: Int!) {\n    deleteViewing(where: { id: $id }) {\n      ...ViewingsView\n    }\n  }\n  ","\n"]);return rj=function(){return e},e}function rD(){let e=(0,ei._)(["\n  mutation addLeadContact(\n    $data: ReferralContactsAddInput!\n    $opportunityId: Int!\n  ) {\n    opportunity {\n      referral {\n        contact {\n          add(data: $data) {\n            contact {\n              id\n              email\n            }\n            query {\n              opportunity(id: $opportunityId) {\n                id\n                leads {\n                  ...ReferralsState\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return rD=function(){return e},e}function rL(){let e=(0,ei._)(["\n  mutation removeLeadContact(\n    $data: ReferralContactsRemoveInput!\n    $opportunityId: Int!\n  ) {\n    opportunity {\n      referral {\n        contact {\n          remove(data: $data) {\n            success\n            query {\n              opportunity(id: $opportunityId) {\n                id\n                detailsUpdatedAt\n                leads {\n                  ...ReferralsState\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return rL=function(){return e},e}function rB(){let e=(0,ei._)(["\n  mutation createEnquiry($opportunityId: Int!, $data: CreateEnquiryInput!) {\n    opportunity {\n      enquiry {\n        create(data: $data) {\n          success\n          query {\n            opportunity(id: $opportunityId) {\n              ...OpportunityState\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return rB=function(){return e},e}function rZ(){let e=(0,ei._)(["\n  query opportunitiesOverview(\n    $where: OpportunityOverviewWhereInput\n    $orderBy: OpportunityOverviewOrderByInput\n  ) {\n    opportunitiesOverview(where: $where, orderBy: $orderBy) {\n      ...OpportunityOverviewCard\n      ...OpportunityOverviewTable\n    }\n  }\n  ","\n  ","\n"]);return rZ=function(){return e},e}function rF(){let e=(0,ei._)(["\n  mutation removeOpportunityMember($opportunityId: Int!, $userId: Int!) {\n    opportunity {\n      member {\n        remove(opportunityId: $opportunityId, userId: $userId) {\n          success\n        }\n      }\n    }\n  }\n"]);return rF=function(){return e},e}function rz(){let e=(0,ei._)(["\n  mutation shareOpportunity(\n    $opportunityId: Int!\n    $data: [AddOpportunityMemberInput!]!\n  ) {\n    opportunity {\n      member {\n        add(opportunityId: $opportunityId, data: $data) {\n          success\n        }\n      }\n    }\n  }\n"]);return rz=function(){return e},e}function rU(){let e=(0,ei._)(["\n  query members(\n    $isAgent: Boolean!\n    $isOperator: Boolean!\n    $excludeMyself: Boolean!\n  ) {\n    me {\n      id\n      agent @skip(if: $isOperator) {\n        id\n        members(where: { onlyActive: true, excludeMyself: $excludeMyself }) {\n          ...Member\n        }\n      }\n      operator @skip(if: $isAgent) {\n        id\n        members(where: { onlyActive: true, excludeMyself: $excludeMyself }) {\n          ...Member\n        }\n      }\n    }\n  }\n  ","\n"]);return rU=function(){return e},e}function rH(){let e=(0,ei._)(["\n  mutation transferOpportunity($id: Int!, $data: OpportunityTransferInput!) {\n    opportunity {\n      transfer(where: { id: $id }, data: $data) {\n        id\n        companyName\n        user {\n          id\n          contact {\n            id\n            name\n          }\n        }\n      }\n    }\n  }\n"]);return rH=function(){return e},e}function rq(){let e=(0,ei._)(["\n  mutation createOpportunity($data: OpportunityCreateInput!) {\n    opportunity {\n      create(data: $data) {\n        ...OpportunityFormView\n        leads {\n          office {\n            operator {\n              id\n              name\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return rq=function(){return e},e}function rV(){let e=(0,ei._)(["\n  mutation updateOpportunity(\n    $data: OpportunityUpdateInput!\n    $where: OpportunityWhereUniqueInput!\n  ) {\n    opportunity {\n      update(data: $data, where: $where) {\n        ...OpportunityFormView\n      }\n    }\n  }\n  ","\n"]);return rV=function(){return e},e}function rW(){let e=(0,ei._)(["\n  mutation updateOpportunityStatus($status: OpportunityStatusType!, $id: Int!) {\n    opportunity {\n      update(data: { status: $status }, where: { id: $id }) {\n        id\n        status\n      }\n    }\n  }\n"]);return rW=function(){return e},e}function r$(){let e=(0,ei._)(["\n  mutation updateDigitalReport(\n    $id: ID!\n    $data: UpdateDigitalReportInput!\n    $opportunityId: Int!\n  ) {\n    opportunity {\n      digitalReport {\n        update(id: $id, data: $data) {\n          query {\n            opportunity(id: $opportunityId) {\n              publicId\n              introTitle\n              introMessage\n              digitalReport {\n                ...DigitalReport\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return r$=function(){return e},e}function rG(){let e=(0,ei._)(["\n  query promotionalCard(\n    $where: OfficeWhereUniqueInput!\n    $suiteWhere: OfficeSuiteWhereInput\n  ) {\n    office(where: $where) {\n      ...PromotionalCardView\n    }\n  }\n  ","\n"]);return rG=function(){return e},e}function rK(){let e=(0,ei._)(["\n  mutation acceptTermAndCondition($data: AcceptTermAndConditionInput!) {\n    acceptTermAndCondition(data: $data) {\n      ...FullMe\n    }\n  }\n  ","\n"]);return rK=function(){return e},e}function rY(){let e=(0,ei._)(["\n  query buildingMapPins($where: OfficeWhereInput) {\n    buildingMapPins(where: $where) {\n      ...BuildingMapPin\n    }\n  }\n  ","\n"]);return rY=function(){return e},e}function rX(){let e=(0,ei._)(["\n  query buildingMarketplacePins($where: OfficeWhereInput) {\n    buildingMarketplacePins(where: $where) {\n      ...BuildingMapPin\n    }\n  }\n  ","\n"]);return rX=function(){return e},e}function rQ(){let e=(0,ei._)(["\n  query operatorOfficesAgg {\n    operators {\n      ...OperatorsFilterView\n    }\n  }\n  ","\n"]);return rQ=function(){return e},e}function rJ(){let e=(0,ei._)(["\n  query buildings($where: OfficeWhereInput) {\n    buildings(where: $where) {\n      ...Building\n      ...OperatorNameWithLogoView @skip(if: true)\n      officeSuites {\n        ...Space\n      }\n      desks {\n        ...DeskView\n      }\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n"]);return rJ=function(){return e},e}function r0(){let e=(0,ei._)(["\n  query buildingAmenities {\n    amenities {\n      id\n      key\n      icon\n    }\n  }\n"]);return r0=function(){return e},e}function r1(){let e=(0,ei._)(["\n  mutation cancelCustomerRequest($requestId: ID!) {\n    customerRequest {\n      cancel(id: $requestId) {\n        success\n      }\n    }\n  }\n"]);return r1=function(){return e},e}function r2(){let e=(0,ei._)(["\n  mutation restoreAgentAccess($id: Int!) {\n    agent {\n      members {\n        restore(id: $id) {\n          success\n        }\n      }\n    }\n  }\n"]);return r2=function(){return e},e}function r3(){let e=(0,ei._)(["\n  mutation restoreOperatorAccess($id: Int!) {\n    operator {\n      members {\n        restore(id: $id) {\n          success\n        }\n      }\n    }\n  }\n"]);return r3=function(){return e},e}function r4(){let e=(0,ei._)(["\n  mutation retryRequest($requestId: ID!) {\n    customerRequest {\n      retry(id: $requestId) {\n        success\n      }\n    }\n  }\n"]);return r4=function(){return e},e}function r5(){let e=(0,ei._)(["\n  mutation revokeAgentAccess($id: Int!) {\n    agent {\n      members {\n        remove(id: $id) {\n          success\n        }\n      }\n    }\n  }\n"]);return r5=function(){return e},e}function r6(){let e=(0,ei._)(["\n  mutation revokeOperatorAccess($id: Int!) {\n    operator {\n      members {\n        remove(id: $id) {\n          success\n        }\n      }\n    }\n  }\n"]);return r6=function(){return e},e}function r8(){let e=(0,ei._)(["\n  query officeCard(\n    $where: OfficeWhereUniqueInput!\n    $suiteWhere: OfficeSuiteWhereInput\n  ) {\n    office(where: $where) {\n      ...PromotionalCardView\n      ...SidebarOfficeCardView\n    }\n  }\n  ","\n  ","\n"]);return r8=function(){return e},e}function r7(){let e=(0,ei._)(["\n  query buildingView(\n    $where: OfficeWhereUniqueInput!\n    $suiteWhere: OfficeSuiteWhereInput\n  ) {\n    office(where: $where) {\n      ...BuildingView\n    }\n  }\n  ","\n"]);return r7=function(){return e},e}function r9(){let e=(0,ei._)(["\n  mutation deleteOpportunity($id: Int!, $isDeleted: Boolean!) {\n    opportunity {\n      update(data: { isDeleted: $isDeleted }, where: { id: $id }) {\n        id\n        isDeleted\n      }\n    }\n  }\n"]);return r9=function(){return e},e}function oe(){let e=(0,ei._)(["\n  mutation createDigitalReport($opportunityId: Int!) {\n    opportunity {\n      digitalReport {\n        create(data: { opportunityId: $opportunityId }) {\n          success\n          query {\n            opportunity(id: $opportunityId) {\n              id\n              publicId\n              digitalReport {\n                ...DigitalReport\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return oe=function(){return e},e}function ot(){let e=(0,ei._)(["\n  mutation updateUser($data: UserUpdateInput!, $where: UserWhereUniqueInput!) {\n    updateUser(data: $data, where: $where) {\n      ...FullMe\n    }\n  }\n  ","\n"]);return ot=function(){return e},e}function on(){let e=(0,ei._)(["\n  query me {\n    me {\n      ...MeState\n    }\n  }\n  ","\n"]);return on=function(){return e},e}function or(){let e=(0,ei._)(["\n  query buildingsState($where: OfficeWhereInput) {\n    buildings(where: $where) {\n      ...BuildingState\n    }\n  }\n  ","\n"]);return or=function(){return e},e}function oo(){let e=(0,ei._)(["\n  mutation updateSpaceAvailability($data: SpaceAvailabilityUpdateInput!) {\n    space {\n      updateAvailability(data: $data) {\n        id\n        status\n      }\n    }\n  }\n"]);return oo=function(){return e},e}function oi(){let e=(0,ei._)(["\n  query opportunityEvents($id: Int!) {\n    opportunity(id: $id) {\n      ...ReportActivitiesView\n    }\n  }\n  ","\n"]);return oi=function(){return e},e}function oa(){let e=(0,ei._)(["\n  query opportunity($id: Int!) {\n    opportunity(id: $id) {\n      ...OpportunityState\n    }\n  }\n  ","\n"]);return oa=function(){return e},e}function os(){let e=(0,ei._)(["\n  query referralsState(\n    $id: Int!\n    $referralsWhere: LeadWhereInput\n    $referralsSkip: Int\n    $referralsFirst: Int\n    $referralsSearchText: String\n  ) {\n    opportunity(id: $id) {\n      id\n      detailsUpdatedAt\n      leadOrderBy\n      leads(\n        where: $referralsWhere\n        skip: $referralsSkip\n        first: $referralsFirst\n        search: $referralsSearchText\n      ) {\n        ...ReferralsState\n      }\n    }\n  }\n  ","\n"]);return os=function(){return e},e}function ol(){let e=(0,ei._)(["\n  mutation updateReferralsOrder(\n    $id: Int!\n    $referralsOrderBy: LeadOrderBy\n    $referralsWhere: LeadWhereInput\n    $referralsSearchText: String\n  ) {\n    opportunity {\n      update(where: { id: $id }, data: { leadOrderBy: $referralsOrderBy }) {\n        id\n        leadOrderBy\n        leads(where: $referralsWhere, search: $referralsSearchText) {\n          ...ReferralsState\n        }\n      }\n    }\n  }\n  ","\n"]);return ol=function(){return e},e}function oc(){let e=(0,ei._)(["\n  query draftOpportunity($id: Int!) {\n    opportunity(id: $id) {\n      id\n      companyLocation {\n        latitude\n        longitude\n      }\n      leads {\n        id\n        offers {\n          officeSuites {\n            id\n          }\n        }\n        office {\n          id\n        }\n      }\n    }\n  }\n"]);return oc=function(){return e},e}function ou(){let e=(0,ei._)(["\n  query shortlistBuildings(\n    $buildingsWhere: OfficeWhereInput\n    $spacesWhere: OfficeSuiteWhereInput\n  ) {\n    buildings: offices(where: $buildingsWhere) {\n      ...ShortlistBuilding\n    }\n  }\n  ","\n"]);return ou=function(){return e},e}let od={};(function(e){e.Canceled="CANCELED",e.Confirmed="CONFIRMED"})(r||(r={})),function(e){e.Presale="PRESALE",e.Private="PRIVATE",e.Standard="STANDARD"}(o||(o={})),function(e){e.Private="PRIVATE",e.Public="PUBLIC"}(i||(i={})),function(e){e.AerospaceAndDefence="AEROSPACE_AND_DEFENCE",e.Automotive="AUTOMOTIVE",e.BankingAndFinancialServicesAndInsurance="BANKING_AND_FINANCIAL_SERVICES_AND_INSURANCE",e.BusinessServices="BUSINESS_SERVICES",e.Charities="CHARITIES",e.Chemicals="CHEMICALS",e.Education="EDUCATION",e.EngineeringAndConstruction="ENGINEERING_AND_CONSTRUCTION",e.ForestPaperAndPackaging="FOREST_PAPER_AND_PACKAGING",e.GovernmentAndPublicServices="GOVERNMENT_AND_PUBLIC_SERVICES",e.Healthcare="HEALTHCARE",e.HospitalityAndLeisure="HOSPITALITY_AND_LEISURE",e.LegalServices="LEGAL_SERVICES",e.Manufacturing="MANUFACTURING",e.MediaAndCreative="MEDIA_AND_CREATIVE",e.MiningAndMetals="MINING_AND_METALS",e.OilAndGas="OIL_AND_GAS",e.Other="OTHER",e.PharmaceuticalAndLifeSciences="PHARMACEUTICAL_AND_LIFE_SCIENCES",e.PowerAndUtilities="POWER_AND_UTILITIES",e.PrivateEquity="PRIVATE_EQUITY",e.RealEstate="REAL_ESTATE",e.RetailAndConsumer="RETAIL_AND_CONSUMER",e.SportsAndEntertainment="SPORTS_AND_ENTERTAINMENT",e.Technology="TECHNOLOGY",e.Telecommunications="TELECOMMUNICATIONS",e.TransportAndLogistics="TRANSPORT_AND_LOGISTICS"}(a||(a={})),function(e){e.From_1To_10="FROM_1_TO_10",e.From_11To_50="FROM_11_TO_50",e.From_51To_200="FROM_51_TO_200",e.From_201To_500="FROM_201_TO_500",e.From_501To_1000="FROM_501_TO_1000",e.From_1001To_5000="FROM_1001_TO_5000",e.From_5001To_10000="FROM_5001_TO_10000",e.From_10000="FROM_10000"}(s||(s={})),function(e){e.Landline="LANDLINE",e.Organization="ORGANIZATION",e.Personal="PERSONAL",e.Primary="PRIMARY",e.Work="WORK"}(l||(l={})),function(e){e.Aed="AED",e.Afn="AFN",e.All="ALL",e.Amd="AMD",e.Ars="ARS",e.Aud="AUD",e.Azn="AZN",e.Bam="BAM",e.Bdt="BDT",e.Bgn="BGN",e.Bhd="BHD",e.Bif="BIF",e.Bnd="BND",e.Bob="BOB",e.Brl="BRL",e.Bwp="BWP",e.Byn="BYN",e.Bzd="BZD",e.Cad="CAD",e.Cdf="CDF",e.Chf="CHF",e.Clp="CLP",e.Cny="CNY",e.Cop="COP",e.Crc="CRC",e.Cve="CVE",e.Czk="CZK",e.Djf="DJF",e.Dkk="DKK",e.Dop="DOP",e.Dzd="DZD",e.Eek="EEK",e.Egp="EGP",e.Ern="ERN",e.Etb="ETB",e.Eur="EUR",e.Gbp="GBP",e.Gel="GEL",e.Ghs="GHS",e.Gnf="GNF",e.Gtq="GTQ",e.Hkd="HKD",e.Hnl="HNL",e.Hrk="HRK",e.Huf="HUF",e.Idr="IDR",e.Ils="ILS",e.Inr="INR",e.Iqd="IQD",e.Irr="IRR",e.Isk="ISK",e.Jmd="JMD",e.Jod="JOD",e.Jpy="JPY",e.Kes="KES",e.Khr="KHR",e.Kmf="KMF",e.Krw="KRW",e.Kwd="KWD",e.Kzt="KZT",e.Lbp="LBP",e.Lkr="LKR",e.Ltl="LTL",e.Lvl="LVL",e.Lyd="LYD",e.Mad="MAD",e.Mdl="MDL",e.Mga="MGA",e.Mkd="MKD",e.Mmk="MMK",e.Mop="MOP",e.Mur="MUR",e.Mxn="MXN",e.Myr="MYR",e.Mzn="MZN",e.Nad="NAD",e.Ngn="NGN",e.Nio="NIO",e.Nok="NOK",e.Npr="NPR",e.Nzd="NZD",e.Omr="OMR",e.Pab="PAB",e.Pen="PEN",e.Php="PHP",e.Pkr="PKR",e.Pln="PLN",e.Pyg="PYG",e.Qar="QAR",e.Ron="RON",e.Rsd="RSD",e.Rub="RUB",e.Rwf="RWF",e.Sar="SAR",e.Sdg="SDG",e.Sek="SEK",e.Sgd="SGD",e.Sos="SOS",e.Syp="SYP",e.Thb="THB",e.Tnd="TND",e.Top="TOP",e.Try="TRY",e.Ttd="TTD",e.Twd="TWD",e.Tzs="TZS",e.Uah="UAH",e.Ugx="UGX",e.Usd="USD",e.Uyu="UYU",e.Uzs="UZS",e.Vef="VEF",e.Vnd="VND",e.Xaf="XAF",e.Xof="XOF",e.Yer="YER",e.Zar="ZAR",e.Zmk="ZMK",e.Zwl="ZWL"}(c||(c={})),function(e){e.Pending="PENDING",e.Rejected="REJECTED",e.Resolved="RESOLVED"}(u||(u={})),function(e){e.ApprovalRequested="APPROVAL_REQUESTED",e.BuildingProposal="BUILDING_PROPOSAL",e.UserRestoreAccess="USER_RESTORE_ACCESS",e.UserRevokeAccess="USER_REVOKE_ACCESS",e.VerifyContact="VERIFY_CONTACT"}(d||(d={})),function(e){e.Created="CREATED",e.FileUploaded="FILE_UPLOADED",e.Imported="IMPORTED",e.Verified="VERIFIED"}(f||(f={})),function(e){e.UpsertSpaces="UPSERT_SPACES"}(p||(p={})),function(e){e.Dedicated="DEDICATED",e.Hot="HOT"}(h||(h={})),function(e){e.Requested="REQUESTED",e.Submitted="SUBMITTED"}(m||(m={})),function(e){e.Amenities="AMENITIES",e.LargerOptionsSize="LARGER_OPTIONS_SIZE",e.LessDesks="LESS_DESKS",e.LessExpensive="LESS_EXPENSIVE",e.Location="LOCATION",e.MoreDesks="MORE_DESKS",e.MoreOptions="MORE_OPTIONS",e.Other="OTHER",e.SmallerOptionsSize="SMALLER_OPTIONS_SIZE"}(g||(g={})),function(e){e.Created="CREATED",e.Resolved="RESOLVED"}(v||(v={})),function(e){e.RequestContract="REQUEST_CONTRACT",e.RequestToView="REQUEST_TO_VIEW",e.SignContract="SIGN_CONTRACT"}(y||(y={})),function(e){e.Pending="PENDING",e.Processing="PROCESSING",e.Sent="SENT"}(b||(b={})),function(e){e.Requested="REQUESTED",e.Submitted="SUBMITTED"}(w||(w={})),function(e){e.Delete="DELETE",e.Get="GET",e.Patch="PATCH",e.Post="POST",e.Put="PUT"}(S||(S={})),function(e){e.LeadDadi="LeadDADI",e.LeadDadiOriginal="LeadDADIOriginal",e.Pyze="Pyze",e.Ultrasoft="Ultrasoft"}(x||(x={})),function(e){e.Date="DATE",e.Month="MONTH",e.Quarter="QUARTER",e.Year="YEAR"}(E||(E={})),function(e){e.Built="BUILT",e.Closed="CLOSED",e.Launched="LAUNCHED",e.Renovated="RENOVATED",e.UpdateOperator="UPDATE_OPERATOR"}(C||(C={})),function(e){e.IdAsc="ID_ASC",e.OfficeLocationAsc="OFFICE_LOCATION_ASC",e.OfficeLocationDesc="OFFICE_LOCATION_DESC",e.OfficeNameAsc="OFFICE_NAME_ASC",e.OfficeNameDesc="OFFICE_NAME_DESC",e.OperatorNameAsc="OPERATOR_NAME_ASC",e.OperatorNameDesc="OPERATOR_NAME_DESC",e.OptionsNoOptions="OPTIONS_NO_OPTIONS",e.OptionsOptions="OPTIONS_OPTIONS"}(_||(_={})),function(e){e.Accepted="ACCEPTED",e.NotSubmitted="NOT_SUBMITTED",e.Overturn="OVERTURN",e.Pending="PENDING",e.Rejected="REJECTED"}(k||(k={})),function(e){e.Custom="CUSTOM",e.Predefined="PREDEFINED"}(O||(O={})),function(e){e.Closing="CLOSING",e.Cover="COVER",e.Picture="PICTURE"}(A||(A={})),function(e){e.Admin="ADMIN",e.Member="MEMBER"}(I||(I={})),function(e){e.Active="ACTIVE",e.Inactive="INACTIVE",e.Pending="PENDING"}(P||(P={})),function(e){e.PerDesk="PER_DESK",e.PerSquareFoot="PER_SQUARE_FOOT",e.PerSquareMeter="PER_SQUARE_METER"}(T||(T={})),function(e){e.PerMonth="PER_MONTH",e.PerYear="PER_YEAR",e.Total="TOTAL"}(R||(R={})),function(e){e.BuildingGroupAsc="buildingGroup_ASC",e.BuildingGroupDesc="buildingGroup_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.DeskPerMonthCostAsc="deskPerMonthCost_ASC",e.DeskPerMonthCostDesc="deskPerMonthCost_DESC",e.ExternalIdAsc="externalId_ASC",e.ExternalIdDesc="externalId_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsActiveAsc="isActive_ASC",e.IsActiveDesc="isActive_DESC",e.IsDeletedAsc="isDeleted_ASC",e.IsDeletedDesc="isDeleted_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.WebsiteUrlAsc="websiteURL_ASC",e.WebsiteUrlDesc="websiteURL_DESC"}(M||(M={})),function(e){e.Desk="DESK",e.SquareFoot="SQUARE_FOOT",e.SquareMeter="SQUARE_METER"}(N||(N={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.ExternalIdAsc="externalId_ASC",e.ExternalIdDesc="externalId_DESC",e.FloorAsc="floor_ASC",e.FloorDesc="floor_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsActiveAsc="isActive_ASC",e.IsActiveDesc="isActive_DESC",e.MonthlyQuotingRateCurrencyAsc="monthlyQuotingRateCurrency_ASC",e.MonthlyQuotingRateCurrencyDesc="monthlyQuotingRateCurrency_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.SpaceLocationAsc="spaceLocation_ASC",e.SpaceLocationDesc="spaceLocation_DESC",e.StatusAsc="status_ASC",e.StatusDesc="status_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(j||(j={})),function(e){e.EntireFloor="ENTIRE_FLOOR",e.Exterior="EXTERIOR",e.ExteriorInterior="EXTERIOR_INTERIOR",e.Interior="INTERIOR",e.NotSpecified="NOT_SPECIFIED"}(D||(D={})),function(e){e.SquareFoot="SQUARE_FOOT",e.SquareMeter="SQUARE_METER"}(L||(L={})),function(e){e.Available="AVAILABLE",e.Occupied="OCCUPIED",e.UnderOffer="UNDER_OFFER"}(B||(B={})),function(e){e.Contact="CONTACT",e.TeamMember="TEAM_MEMBER"}(Z||(Z={})),function(e){e.Premium="PREMIUM",e.Standard="STANDARD"}(F||(F={})),function(e){e.DigitalReportCreated="DIGITAL_REPORT_CREATED",e.DigitalReportDocumentCreated="DIGITAL_REPORT_DOCUMENT_CREATED",e.DigitalReportDocumentOpened="DIGITAL_REPORT_DOCUMENT_OPENED",e.DigitalReportDocumentUpdated="DIGITAL_REPORT_DOCUMENT_UPDATED",e.DigitalReportFeedbackCreated="DIGITAL_REPORT_FEEDBACK_CREATED",e.DigitalReportUpdated="DIGITAL_REPORT_UPDATED",e.OpportunityTransferred="OPPORTUNITY_TRANSFERRED",e.OptionsMerged="OPTIONS_MERGED",e.OptionCreated="OPTION_CREATED",e.OptionRemoved="OPTION_REMOVED",e.OptionUpdated="OPTION_UPDATED",e.ReactionCreated="REACTION_CREATED",e.ReferralCreated="REFERRAL_CREATED",e.ReferralRemoved="REFERRAL_REMOVED",e.ViewRequestCreated="VIEW_REQUEST_CREATED"}(z||(z={})),function(e){e.IdAsc="id_ASC",e.OfficeLocationAsc="officeLocation_ASC",e.OfficeLocationDesc="officeLocation_DESC",e.OfficeNameAsc="officeName_ASC",e.OfficeNameDesc="officeName_DESC",e.OperatorNameAsc="operatorName_ASC",e.OperatorNameDesc="operatorName_DESC"}(U||(U={})),function(e){e.DigitalReportUnresolvedFeedback="DIGITAL_REPORT_UNRESOLVED_FEEDBACK"}(H||(H={})),function(e){e.CompanyNameAsc="companyName_ASC",e.CompanyNameDesc="companyName_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(q||(q={})),function(e){e.Active="ACTIVE",e.Lost="LOST",e.Onhold="ONHOLD",e.Won="WON"}(V||(V={})),function(e){e.Common="COMMON",e.Cover="COVER",e.FeaturedOne="FEATURED_ONE",e.FeaturedTwo="FEATURED_TWO"}(W||(W={})),function(e){e.Created="CREATED",e.Finished="FINISHED",e.Paused="PAUSED",e.Scheduled="SCHEDULED",e.Started="STARTED"}($||($={})),function(e){e.Day="DAY",e.Hour="HOUR",e.Month="MONTH"}(G||(G={})),function(e){e.InternalError="INTERNAL_ERROR",e.InvalidBuildingTimezone="INVALID_BUILDING_TIMEZONE",e.InvalidDailyBookingDates="INVALID_DAILY_BOOKING_DATES",e.NoBuildingWorkdays="NO_BUILDING_WORKDAYS",e.NoSpaceRate="NO_SPACE_RATE",e.PastStartDate="PAST_START_DATE",e.UnsupportedBookingInterval="UNSUPPORTED_BOOKING_INTERVAL",e.UnsupportedRatePeriod="UNSUPPORTED_RATE_PERIOD"}(K||(K={})),function(e){e.Dislike="DISLIKE",e.Like="LIKE"}(Y||(Y={})),function(e){e.BadLeadInventorySelection="BAD_LEAD_INVENTORY_SELECTION",e.BadLeadRequirements="BAD_LEAD_REQUIREMENTS",e.OccupiedInventory="OCCUPIED_INVENTORY",e.Other="OTHER"}(X||(X={})),function(e){e.CoworkingDesks="COWORKING_DESKS",e.EventSpace="EVENT_SPACE",e.MeetingRoom="MEETING_ROOM",e.Membership="MEMBERSHIP",e.NotSpecified="NOT_SPECIFIED",e.PipelineManagedSpace="PIPELINE_MANAGED_SPACE",e.PrivateOffice="PRIVATE_OFFICE",e.SelfContainedManagedSpace="SELF_CONTAINED_MANAGED_SPACE"}(Q||(Q={})),function(e){e.Base="BASE",e.Horizontal="HORIZONTAL",e.HorizontalVideo="HORIZONTAL_VIDEO",e.Vertical="VERTICAL"}(J||(J={})),function(e){e.SubwayStation="SUBWAY_STATION",e.TrainStation="TRAIN_STATION",e.TramStation="TRAM_STATION",e.TransitStation="TRANSIT_STATION"}(ee||(ee={})),function(e){e.AccessToAllOpportunities="ACCESS_TO_ALL_OPPORTUNITIES",e.AccessToBuildings="ACCESS_TO_BUILDINGS",e.AgentsPermissions="AGENTS_PERMISSIONS",e.ContentManagement="CONTENT_MANAGEMENT",e.ManageCompanyDetails="MANAGE_COMPANY_DETAILS",e.ManagePrivateBuildings="MANAGE_PRIVATE_BUILDINGS",e.ManagePublicBuildings="MANAGE_PUBLIC_BUILDINGS",e.PublishBuildings="PUBLISH_BUILDINGS",e.ReferralsAndReports="REFERRALS_AND_REPORTS",e.UserManagement="USER_MANAGEMENT",e.UserManagementSetRole="USER_MANAGEMENT_SET_ROLE",e.UserRoleManagement="USER_ROLE_MANAGEMENT",e.UserRoleManagementDelete="USER_ROLE_MANAGEMENT_DELETE",e.UserRoleSuperAdminManagement="USER_ROLE_SUPER_ADMIN_MANAGEMENT"}(et||(et={})),function(e){e.Agent="AGENT",e.Operator="OPERATOR",e.Platform="PLATFORM"}(en||(en={})),function(e){e.Calendly="CALENDLY",e.Email="EMAIL"}(er||(er={})),function(e){e.Matterport="MATTERPORT",e.Video="VIDEO"}(eo||(eo={}));let of=(0,ea.Ps)(em());(0,ea.Ps)(eg(),of);let op=(0,ea.Ps)(ev()),oh=(0,ea.Ps)(ey()),om=(0,ea.Ps)(eb(),oh),og=(0,ea.Ps)(ew()),ov=(0,ea.Ps)(eS()),oy=(0,ea.Ps)(ex(),og,ov),ob=(0,ea.Ps)(eE()),ow=(0,ea.Ps)(eC()),oS=(0,ea.Ps)(e_()),ox=(0,ea.Ps)(ek()),oE=(0,ea.Ps)(eO()),oC=(0,ea.Ps)(eA()),o_=(0,ea.Ps)(eI()),ok=(0,ea.Ps)(eP(),op,om,of,oy,ob,ow,oS,ox,oE,oC,o_),oO=(0,ea.Ps)(eT()),oA=(0,ea.Ps)(eR());(0,ea.Ps)(eM(),oy,oA),(0,ea.Ps)(eN());let oI=(0,ea.Ps)(ej()),oP=(0,ea.Ps)(eD(),oI),oT=(0,ea.Ps)(eL()),oR=(0,ea.Ps)(eB()),oM=(0,ea.Ps)(eZ()),oN=(0,ea.Ps)(eF()),oj=(0,ea.Ps)(ez()),oD=(0,ea.Ps)(eU()),oL=(0,ea.Ps)(eH()),oB=(0,ea.Ps)(eq(),oN,oj,oD,oL),oZ=(0,ea.Ps)(eV()),oF=(0,ea.Ps)(eW(),oT,oR,oM,oB,oZ),oz=(0,ea.Ps)(e$()),oU=(0,ea.Ps)(eG()),oH=(0,ea.Ps)(eK()),oq=(0,ea.Ps)(eY());(0,ea.Ps)(eX(),oN,oD,oz,oU,oH,oj,oq);let oV=(0,ea.Ps)(eQ()),oW=(0,ea.Ps)(eJ()),o$=(0,ea.Ps)(e0());(0,ea.Ps)(e1(),oN,oV,oW,oj,oq,o$);let oG=(0,ea.Ps)(e2()),oK=(0,ea.Ps)(e3()),oY=(0,ea.Ps)(e4()),oX=(0,ea.Ps)(e5(),oG,ox,oE,o_,oK,oY),oQ=(0,ea.Ps)(e6()),oJ=(0,ea.Ps)(e8()),o0=(0,ea.Ps)(e7(),oQ,oJ),o1=(0,ea.Ps)(e9()),o2=(0,ea.Ps)(te()),o3=(0,ea.Ps)(tt()),o4=(0,ea.Ps)(tn()),o5=(0,ea.Ps)(tr(),o1,o2,o3,oQ,oJ,o4);(0,ea.Ps)(to());let o6=(0,ea.Ps)(ti(),oL),o8=(0,ea.Ps)(ta()),o7=(0,ea.Ps)(ts(),o6,o8);(0,ea.Ps)(tl());let o9=(0,ea.Ps)(tc()),ie=(0,ea.Ps)(tu(),o9),it=(0,ea.Ps)(td(),o9),ir=(0,ea.Ps)(tf()),io=(0,ea.Ps)(tp(),o9),ii=(0,ea.Ps)(th(),o9),ia=(0,ea.Ps)(tm(),o9),is=(0,ea.Ps)(tg()),il=(0,ea.Ps)(tv()),ic=(0,ea.Ps)(ty(),o9),iu=(0,ea.Ps)(tb(),ie,it,ir,io,ii,ia,is,il,ic);(0,ea.Ps)(tw()),(0,ea.Ps)(tS());let id=(0,ea.Ps)(tx()),ip=(0,ea.Ps)(tE(),id),ih=(0,ea.Ps)(tC(),id);(0,ea.Ps)(t_(),id),(0,ea.Ps)(tk());let im=(0,ea.Ps)(tO()),ig=(0,ea.Ps)(tA()),iv=(0,ea.Ps)(tI()),iy=(0,ea.Ps)(tP()),ib=(0,ea.Ps)(tT(),oA,im,ig,iv,iy,o_);(0,ea.Ps)(tR(),ig,iv,o_);let iw=(0,ea.Ps)(tM(),oA,im,oh),iS=(0,ea.Ps)(tN()),ix=(0,ea.Ps)(tj());(0,ea.Ps)(tD()),(0,ea.Ps)(tL()),(0,ea.Ps)(tB());let iE=(0,ea.Ps)(tZ()),iC=(0,ea.Ps)(tF()),i_=(0,ea.Ps)(tz()),ik=(0,ea.Ps)(tU()),iO=(0,ea.Ps)(tH(),iE,iC,i_,ik),iA=(0,ea.Ps)(tq()),iI=(0,ea.Ps)(tV());(0,ea.Ps)(tW(),iA,iC,i_,ik,iI);let iP=(0,ea.Ps)(t$()),iT=(0,ea.Ps)(tG(),iP),iR=(0,ea.Ps)(tK(),id,iT),iM=(0,ea.Ps)(tY()),iN=(0,ea.Ps)(tX()),ij=(0,ea.Ps)(tQ(),iM,id,iN),iD=(0,ea.Ps)(tJ()),iL=(0,ea.Ps)(t0()),iB=(0,ea.Ps)(t1(),iL),iZ=(0,ea.Ps)(t2(),iB),iF=(0,ea.Ps)(t3(),iR,ij,iD,iZ),iz=(0,ea.Ps)(t4(),im),iU=(0,ea.Ps)(t5()),iH=(0,ea.Ps)(t6(),iU),iq=(0,ea.Ps)(t8(),oQ,oJ),iV=(0,ea.Ps)(t7(),iz,oA,iH,iq),iW=(0,ea.Ps)(t9()),i$=(0,ea.Ps)(ne()),iG=(0,ea.Ps)(nt()),iK=(0,ea.Ps)(nn()),iY=(0,ea.Ps)(nr(),id),iX=(0,ea.Ps)(no()),iQ=(0,ea.Ps)(ni()),iJ=(0,ea.Ps)(na(),i$,iG,iK,iY,iX,iQ),i0=(0,ea.Ps)(ns()),i1=(0,ea.Ps)(nl()),i2=(0,ea.Ps)(nc(),iJ,i0,i1),i3=(0,ea.Ps)(nu()),i4=(0,ea.Ps)(nd()),i5=(0,ea.Ps)(nf(),i3,i4),i6=(0,ea.Ps)(np(),iW,i2,i5),i8=(0,ea.Ps)(nh(),im,ig),i7=(0,ea.Ps)(nm()),i9=(0,ea.Ps)(ng()),ae=(0,ea.Ps)(nv(),og),at=(0,ea.Ps)(ny()),an=(0,ea.Ps)(nb(),ae,at),ar=(0,ea.Ps)(nw()),ao=(0,ea.Ps)(nS(),oy,oA,at),ai=(0,ea.Ps)(nx(),oh,i8,oA,i7,i9,an,ar,ao),aa=(0,ea.Ps)(nE()),as=(0,ea.Ps)(nC()),al=(0,ea.Ps)(n_()),ac=(0,ea.Ps)(nk(),aa,as,al),au=(0,ea.Ps)(nO()),ad=(0,ea.Ps)(nA(),ac,iz,au),af=(0,ea.Ps)(nI()),ap=(0,ea.Ps)(nP(),im,oh,ig),ah=(0,ea.Ps)(nT()),am=(0,ea.Ps)(nR()),ag=(0,ea.Ps)(nM(),am),av=(0,ea.Ps)(nN(),ap,ah,ag),ay=(0,ea.Ps)(nj(),av),ab=(0,ea.Ps)(nD(),af,ay),aw=(0,ea.Ps)(nL(),ai,ad,ab),aS=(0,ea.Ps)(nB(),oG,im,iH);(0,ea.Ps)(nZ());let ax=(0,ea.Ps)(nF());function aE(e){let t={...od,...e};return es.D(ax,t)}let aC=(0,ea.Ps)(nz(),oO);function a_(e){let t={...od,...e};return es.D(aC,t)}let ak=(0,ea.Ps)(nU());function aO(e){let t={...od,...e};return es.D(ak,t)}let aA=(0,ea.Ps)(nH(),oP);function aI(e){let t={...od,...e};return es.D(aA,t)}let aP=(0,ea.Ps)(nq(),oP);function aT(e){let t={...od,...e};return el.a(aP,t)}let aR=(0,ea.Ps)(nV(),oF);function aM(e){let t={...od,...e};return es.D(aR,t)}let aN=(0,ea.Ps)(nW());function aj(e){let t={...od,...e};return es.D(aN,t)}let aD=(0,ea.Ps)(n$());function aL(e){let t={...od,...e};return es.D(aD,t)}let aB=(0,ea.Ps)(nG(),oF);function aZ(e){let t={...od,...e};return el.a(aB,t)}let aF=(0,ea.Ps)(nK(),iP);function az(e){let t={...od,...e};return es.D(aF,t)}let aU=(0,ea.Ps)(nY(),iP);function aH(e){let t={...od,...e};return es.D(aU,t)}let aq=(0,ea.Ps)(nX(),iF);function aV(e){let t={...od,...e};return es.D(aq,t)}let aW=(0,ea.Ps)(nQ(),iF);function a$(e){let t={...od,...e};return es.D(aW,t)}let aG=(0,ea.Ps)(nJ(),iF);function aK(e){let t={...od,...e};return es.D(aG,t)}let aY=(0,ea.Ps)(n0());function aX(e){let t={...od,...e};return es.D(aY,t)}let aQ=(0,ea.Ps)(n1());function aJ(e){let t={...od,...e};return es.D(aQ,t)}let a0=(0,ea.Ps)(n2());function a1(e){let t={...od,...e};return es.D(a0,t)}let a2=(0,ea.Ps)(n3(),id);function a3(e){let t={...od,...e};return es.D(a2,t)}let a4=(0,ea.Ps)(n4(),id);function a5(e){let t={...od,...e};return es.D(a4,t)}let a6=(0,ea.Ps)(n5());function a8(e){return eh(a6,{...od,...e})}let a7=(0,ea.Ps)(n6());function a9(e){let t={...od,...e};return el.a(a7,t)}let se=(0,ea.Ps)(n8());function st(e){let t={...od,...e};return el.a(se,t)}let sn=(0,ea.Ps)(n7(),aw);function sr(e){let t={...od,...e};return es.D(sn,t)}let so=(0,ea.Ps)(n9(),oX);function si(e){let t={...od,...e};return es.D(so,t)}let sa=(0,ea.Ps)(re(),oX);function ss(e){let t={...od,...e};return es.D(sa,t)}let sl=(0,ea.Ps)(rt(),oA);function sc(e){let t={...od,...e};return es.D(sl,t)}let su=(0,ea.Ps)(rn(),oA);function sd(e){let t={...od,...e};return es.D(su,t)}let sf=(0,ea.Ps)(rr());function sp(e){let t={...od,...e};return el.a(sf,t)}let sh=(0,ea.Ps)(ro());function sm(e){let t={...od,...e};return el.a(sh,t)}let sg=(0,ea.Ps)(ri(),oy,oS);function sv(e){let t={...od,...e};return el.a(sg,t)}let sy=(0,ea.Ps)(ra(),oX);function sb(e){let t={...od,...e};return el.a(sy,t)}(0,ea.Ps)(rs());let sw=(0,ea.Ps)(rl());function sS(e){let t={...od,...e};return el.a(sw,t)}let sx=(0,ea.Ps)(rc());function sE(e){let t={...od,...e};return el.a(sx,t)}let sC=(0,ea.Ps)(ru(),o0);function s_(e){let t={...od,...e};return el.a(sC,t)}let sk=(0,ea.Ps)(rd(),iq);function sO(e){let t={...od,...e};return es.D(sk,t)}let sA=(0,ea.Ps)(rf(),iq);function sI(e){let t={...od,...e};return es.D(sA,t)}let sP=(0,ea.Ps)(rp(),o5);function sT(e){let t={...od,...e};return el.a(sP,t)}let sR=(0,ea.Ps)(rh(),o5);function sM(e){let t={...od,...e};return es.D(sR,t)}let sN=(0,ea.Ps)(rm(),o5);function sj(e){let t={...od,...e};return es.D(sN,t)}let sD=(0,ea.Ps)(rg(),oA);function sL(e){let t={...od,...e};return el.a(sD,t)}let sB=(0,ea.Ps)(rv());function sZ(e){let t={...od,...e};return es.D(sB,t)}let sF=(0,ea.Ps)(ry());function sz(e){let t={...od,...e};return es.D(sF,t)}let sU=(0,ea.Ps)(rb());function sH(e){let t={...od,...e};return es.D(sU,t)}let sq=(0,ea.Ps)(rw(),o7);function sV(e){let t={...od,...e};return el.a(sq,t)}let sW=(0,ea.Ps)(rS());function s$(e){let t={...od,...e};return es.D(sW,t)}let sG=(0,ea.Ps)(rx(),o6);function sK(e){let t={...od,...e};return el.a(sG,t)}let sY=(0,ea.Ps)(rE());function sX(e){let t={...od,...e};return es.D(sY,t)}let sQ=(0,ea.Ps)(rC(),an);function sJ(e){let t={...od,...e};return es.D(sQ,t)}let s0=(0,ea.Ps)(r_(),an);function s1(e){let t={...od,...e};return es.D(s0,t)}let s2=(0,ea.Ps)(rk());function s3(e){let t={...od,...e};return es.D(s2,t)}let s4=(0,ea.Ps)(rO());function s5(e){let t={...od,...e};return es.D(s4,t)}let s6=(0,ea.Ps)(rA(),ab);function s8(e){let t={...od,...e};return es.D(s6,t)}let s7=(0,ea.Ps)(rI(),ao);function s9(e){let t={...od,...e};return el.a(s7,t)}function le(e){return eh(s7,{...od,...e})}let lt=(0,ea.Ps)(rP(),ai);function ln(e){let t={...od,...e};return es.D(lt,t)}let lr=(0,ea.Ps)(rT(),i1,iu);function lo(e){let t={...od,...e};return es.D(lr,t)}let li=(0,ea.Ps)(rR());function la(e){let t={...od,...e};return es.D(li,t)}let ls=(0,ea.Ps)(rM());function ll(e){let t={...od,...e};return es.D(ls,t)}let lc=(0,ea.Ps)(rN(),ab);function lu(e){let t={...od,...e};return es.D(lc,t)}let ld=(0,ea.Ps)(rj(),ab);function lf(e){let t={...od,...e};return es.D(ld,t)}let lp=(0,ea.Ps)(rD(),aw);function lh(e){let t={...od,...e};return es.D(lp,t)}let lm=(0,ea.Ps)(rL(),aw);function lg(e){let t={...od,...e};return es.D(lm,t)}let lv=(0,ea.Ps)(rB(),i6);function ly(e){let t={...od,...e};return es.D(lv,t)}let lb=(0,ea.Ps)(rZ(),ip,ih);function lw(e){let t={...od,...e};return el.a(lb,t)}let lS=(0,ea.Ps)(rF());function lx(e){let t={...od,...e};return es.D(lS,t)}let lE=(0,ea.Ps)(rz());function lC(e){let t={...od,...e};return es.D(lE,t)}let l_=(0,ea.Ps)(rU(),id);function lk(e){let t={...od,...e};return el.a(l_,t)}let lO=(0,ea.Ps)(rH());function lA(e){let t={...od,...e};return es.D(lO,t)}let lI=(0,ea.Ps)(rq(),i0);function lP(e){let t={...od,...e};return es.D(lI,t)}let lT=(0,ea.Ps)(rV(),i0);function lR(e){let t={...od,...e};return es.D(lT,t)}let lM=(0,ea.Ps)(rW());function lN(e){let t={...od,...e};return es.D(lM,t)}let lj=(0,ea.Ps)(r$(),i5);function lD(e){let t={...od,...e};return es.D(lj,t)}let lL=(0,ea.Ps)(rG(),iw);function lB(e){let t={...od,...e};return el.a(lL,t)}let lZ=(0,ea.Ps)(rK(),iZ);function lF(e){let t={...od,...e};return es.D(lZ,t)}let lz=(0,ea.Ps)(rY(),iS);function lU(e){let t={...od,...e};return el.a(lz,t)}let lH=(0,ea.Ps)(rX(),iS);function lq(e){let t={...od,...e};return el.a(lH,t)}let lV=(0,ea.Ps)(rQ(),ix);function lW(e){let t={...od,...e};return el.a(lV,t)}let l$=(0,ea.Ps)(rJ(),oG,im,iO,iq);function lG(e){return eh(l$,{...od,...e})}let lK=(0,ea.Ps)(r0());function lY(e){let t={...od,...e};return el.a(lK,t)}let lX=(0,ea.Ps)(r1());function lQ(e){let t={...od,...e};return es.D(lX,t)}let lJ=(0,ea.Ps)(r2());function l0(e){let t={...od,...e};return es.D(lJ,t)}let l1=(0,ea.Ps)(r3());function l2(e){let t={...od,...e};return es.D(l1,t)}let l3=(0,ea.Ps)(r4());function l4(e){let t={...od,...e};return es.D(l3,t)}let l5=(0,ea.Ps)(r5());function l6(e){let t={...od,...e};return es.D(l5,t)}let l8=(0,ea.Ps)(r6());function l7(e){let t={...od,...e};return es.D(l8,t)}let l9=(0,ea.Ps)(r8(),iw,ib);function ce(e){let t={...od,...e};return el.a(l9,t)}let ct=(0,ea.Ps)(r7(),ok);function cn(e){let t={...od,...e};return el.a(ct,t)}let cr=(0,ea.Ps)(r9());function co(e){let t={...od,...e};return es.D(cr,t)}let ci=(0,ea.Ps)(oe(),i5);function ca(e){let t={...od,...e};return es.D(ci,t)}let cs=(0,ea.Ps)(ot(),iZ);function cl(e){let t={...od,...e};return es.D(cs,t)}let cc=(0,ea.Ps)(on(),iF);function cu(e){let t={...od,...e};return el.a(cc,t)}let cd=(0,ea.Ps)(or(),iV);function cf(e){let t={...od,...e};return el.a(cd,t)}let cp=(0,ea.Ps)(oo());function ch(e){let t={...od,...e};return es.D(cp,t)}let cm=(0,ea.Ps)(oi(),iu);function cg(e){let t={...od,...e};return el.a(cm,t)}let cv=(0,ea.Ps)(oa(),i6);function cy(e){let t={...od,...e};return el.a(cv,t)}let cb=(0,ea.Ps)(os(),aw);function cw(e){let t={...od,...e};return el.a(cb,t)}let cS=(0,ea.Ps)(ol(),aw);function cx(e){let t={...od,...e};return es.D(cS,t)}let cE=(0,ea.Ps)(oc());function cC(e){let t={...od,...e};return el.a(cE,t)}let c_=(0,ea.Ps)(ou(),aS);function ck(e){let t={...od,...e};return el.a(c_,t)}},38075:function(e,t,n){"use strict";n.d(t,{jI:function(){return r},AK:function(){return o},qy:function(){return u},L0:function(){return en},mN:function(){return J},RF:function(){return x},z9:function(){return v},K$:function(){return I},aN:function(){return F.a},ZT:function(){return P},et:function(){return K},VI:function(){return j},dc:function(){return X},kg:function(){return L},vb:function(){return Z},Cc:function(){return Q}});var r,o,i=n(44194),a=n(36512),s=n(57597),l=n(57490),c=n(38442);let u=()=>{let{me:e}=(0,c.KR)();return{withDefaultCurrency:(0,i.useCallback)(t=>{let n=null!=t?t:null==e?void 0:e.currency;return a.Q[n]},[null==e?void 0:e.currency]),withDefaultSizeSpaceUnit:(0,i.useCallback)(t=>{var n,r;return null!==(r=null!=t?t:null===(n=l.Z[null==e?void 0:e.locale])||void 0===n?void 0:n.defaultSizeUnit)&&void 0!==r?r:l.a.defaultSizeUnit},[null==e?void 0:e.locale]),withDefaultNumberFormat:(0,i.useCallback)(t=>(0,s.uf)(t,null==e?void 0:e.locale),[null==e?void 0:e.locale])}};(function(e){e.UPDATE="update",e.NEW="new",e.DESK="desk"})(r||(r={})),function(e){e.Buildings="buildings",e.Enquiries="enquiries"}(o||(o={}));var d=n(75379),f=n(9511),p=n(81701);let h=(0,f.fX)([r.NEW,r.UPDATE,r.DESK]),m=(0,f.fX)([p.Wi.ADDRESS,p.Wi.AMENITIES,p.Wi.GENERAL,p.Wi.MEDIA,p.Wi.PREVIEW,p.Wi.PRICING,p.Wi.WORKING_HOURS,p.Wi.KEY_DATES,p.vx.GENERAL,p.vx.BOOKING,p.vx.MEDIA,p.vx.PREVIEW,p.i8.BOOKING,p.i8.GENERAL]),g=(0,f.fX)([o.Buildings,o.Enquiries]),v=e=>{let t=(0,f.Wc)(m,e),n=(0,f.Wc)(g,o.Buildings);return(0,d.Kx)({building:f.yz,space:f.yz,desk:f.Zp,referral:f.yz,operator:f.yz,form:h,tab:t,view:n,enquiryId:f.Zp})};var y=n(70350),b=n(76107);let w=(0,f.fX)([b.KZ.NAME,b.KZ.TYPE,b.KZ.STATUS,b.KZ.VISIBILITY,b.KZ.DESKS,b.KZ.COST_PER_DESK,b.KZ.COST_PER_MONTH,b.KZ.UPDATED_AT]),S=(0,f.fX)([y.KM.ASC,y.KM.DESC]),x=()=>(0,d.Kx)({[b.KZ.AVAILABLE_FROM]:f.Zp,[b.KZ.COST_PER_DESK]:(0,f.Wc)(f.Cl,[]),[b.KZ.COST_PER_MONTH]:(0,f.Wc)(f.Cl,[]),[b.KZ.DESKS]:(0,f.Wc)(f.Cl,[]),[b.KZ.NAME]:f.Zp,[b.KZ.STATUS]:(0,f.Wc)(f.V3,[]),[b.KZ.VISIBILITY]:(0,f.Wc)(f.V3,[]),[b.KZ.TYPE]:(0,f.Wc)(f.V3,[]),[b.KZ.UPDATED_AT]:(0,f.Wc)(f.V3,[]),sort:w,order:S,search:f.Zp});var E=n(31791),C=n(73921),_=n(71401),k=n(6278),O=n(63422);function A(){let e=(0,E._)(["\n  fragment BuildingMapPin on BuildingMapPin {\n    latitude\n    longitude\n    iconUrl\n    buildingId\n    promotionId\n    operatorId\n    operatorName\n    operatorType\n  }\n\n  query buildingMapPins($where: OfficeWhereInput) {\n    buildingMapPins(where: $where) {\n      ...BuildingMapPin\n    }\n  }\n\n  query buildingMarketplacePins($where: OfficeWhereInput) {\n    buildingMarketplacePins(where: $where) {\n      ...BuildingMapPin\n    }\n  }\n"]);return A=function(){return e},e}let I=e=>{var t,n,r;let{mapFilters:o}=e,i=(0,_.usePathname)(),a=(0,k.Ni)(o),s={where:{...a?{officeSuites_some:a}:{},AND:(null==o?void 0:null===(t=o.amenityIds)||void 0===t?void 0:t.length)?null==o?void 0:o.amenityIds.map(e=>({amenities_some:{id:e}})):void 0}},l="/market"===i,c=(0,O.PTT)({variables:s,skip:!l}),u=(0,O.HMj)({variables:s,skip:l});return l?{buildings:null==c?void 0:null===(r=c.data)||void 0===r?void 0:r.buildingMarketplacePins,loading:c.loading}:{buildings:null==u?void 0:null===(n=u.data)||void 0===n?void 0:n.buildingMapPins,loading:u.loading}};(0,C.ZP)(A());let P=()=>{let{me:e}=(0,c.KR)();return(null==e?void 0:e.type)===O.FWD.Agent?{...null==e?void 0:e.operator,...null==e?void 0:e.agent}:{...null==e?void 0:e.agent,...null==e?void 0:e.operator}};var T=n(90292),R=n.n(T);function M(){let e=(0,E._)(["\n  fragment OperatorsFilterView on Operator {\n    id\n    name\n    logo\n    isPayingCustomer\n    mapPin\n  }\n"]);return M=function(){return e},e}function N(){let e=(0,E._)(["\n  query operatorOfficesAgg {\n    operators {\n      ...OperatorsFilterView\n    }\n  }\n"]);return N=function(){return e},e}let j=e=>{var t;let{data:n,loading:r}=(0,O.Lo)(),{buildingsDisplayedOnMap:o}=(0,c.eC)(),a=null!==(t=null==n?void 0:n.operators)&&void 0!==t?t:[],s=(0,i.useMemo)(()=>{let e=R()(null==o?void 0:o.map(e=>e.operatorId));return a.filter(t=>e.includes(t.id)).sort((e,t)=>{var n;return null===(n=e.name)||void 0===n?void 0:n.localeCompare(t.name)})},[a,o]),l=s.map(e=>e.id),u=(0,i.useMemo)(()=>{if(!e)return s;let t=e.toLowerCase().trim();return s.filter(e=>e.name.toLowerCase().includes(t))},[e,s]),d=u.map(e=>e.id),f=s.filter(e=>!d.includes(e.id));return{allOperators:a,visibleOperators:s,visibleOperatorsIds:l,filteredOperators:u,invisibleOperators:f,loading:r}};(0,C.ZP)(M()),(0,C.ZP)(N());let D={id:43,name:"UK [UP]",polygon:{points:[{lat:52.90387054038678,lng:-12.902632022405522},{lat:59.685715678819456,lng:-8.683882022405522},{lat:59.574626550429166,lng:-.07060077240552243},{lat:52.155336551731324,lng:3.4889695400944776},{lat:49.66222809979697,lng:-.3342726474055224},{lat:50.05883615977867,lng:-10.661421084905522}]}},L=e=>(0,i.useMemo)(()=>{var t;return(null===(t=(0,s.AK)([D],e))||void 0===t?void 0:t.length)>0},[e]);var B=n(74992);function Z(){let e=(0,B.ye)("booking");return{checkIfCanHaveDesks(t){var n;return null!==(n=(null==t?void 0:t.type)===O.SnD.CoworkingDesks&&e)&&void 0!==n&&n}}}var F=n(39654),z=n(39830),U=n(62923),H=n.n(U),q=n(49335),V=n.n(q),W=n(57020);let $=["photos","floorplans","marketingContent"];function G(e){let t=Object.values(V()(e,$)).filter(Boolean);return H()(t).some(e=>!(null==e?void 0:e.__typename))}let K=()=>{let{modal:e}=z.Z.useApp();return async t=>{let n=sessionStorage.getItem("mediaTCAccepted");return!G(t)||!!n||await e.confirm({icon:!1,content:W.ZP.t("agent:operator-forms.content","Valve does not permit the usage of infringing content on its platform/services. By uploading content to the Valve platform, you agree that you have all necessary rights use and distribute this content. You also agree to Valve’s Operator T&Cs."),okText:W.ZP.t("agree","Agree"),onOk:()=>{sessionStorage.setItem("mediaTCAccepted","true")},cancelText:W.ZP.t("cancel","Cancel"),centered:!0})}};var Y=n(51424);let X=()=>{let{me:e}=(0,c.KR)();return{checkIfCanRemove:t=>e.id===t.user.id,checkIfCanTransfer:t=>e.id===t.user.id||(0,k.Fs)(e.permissions,[Y.tN.AccessToAllOpportunities]),checkIfCanManageCollaborators:t=>(null==e?void 0:e.id)===t.user.id||(0,k.Fs)(e.permissions,[Y.tN.AccessToAllOpportunities])}},Q=e=>{let{t}=(0,W.$G)();return(0,k.Wi)(e,t)};function J(e){return{canApply:e.some(e=>e.canApply),canReset:e.some(e=>e.canReset),apply(){e.forEach(e=>e.apply())},cancel(){e.forEach(e=>e.cancel())},reset(){e.forEach(e=>e.reset())}}}var ee=n(85466),et=n.n(ee);function en(e,t){let[n,r]=(0,i.useState)(e.value);return{value:n,setValue:r,canApply:!et()(n,e.value),canReset:!et()(t,e.value),apply(){e.setValue(n)},cancel(){r(e.value)},reset(){r(t),e.setValue(t)}}}},16296:function(e,t,n){"use strict";n.d(t,{_s:function(){return _},o$:function(){return h},cS:function(){return b}});var r=n(6020),o=n.n(r),i=n(14698),a=n.n(i);let s=e=>a()(null==e?void 0:e.from)&&a()(null==e?void 0:e.to),l=e=>!a()(e.from)&&!a()(e.to),c=e=>{let{availableFromCondition:t,termLengthCondition:n}=null!=e?e:{};if(null==t?void 0:t.to)return o()(t.to);if(null==n?void 0:n.from){var r;return o()(null!==(r=null==t?void 0:t.from)&&void 0!==r?r:Date.now()).add(n.from,"months")}return null},u=e=>{var t;let{availableFromCondition:n,termLengthCondition:r}=null!=e?e:{};return s(n)&&s(r)?null:{from:o()(null!==(t=null==n?void 0:n.from)&&void 0!==t?t:Date.now()),to:c(e)}},d=e=>{let{budgetCondition:t}=null!=e?e:{};if(s(t))return null;if(!l(t))return{to:t.from};let{from:n,to:r,currency:o}=t;return{from:n,to:r,currency:o}},f=e=>{let{sizeDesks:t}=null!=e?e:{};if(s(t))return null;if(!l(t))return{to:t.from};let{from:n,to:r}=t;return{from:n,to:r}},p=e=>{let{sizeSpace:t}=null!=e?e:{};if(s(t))return null;if(!l(t))return{to:t.from};let{from:n,to:r}=t;return{from:n,to:r}},h=e=>({availableFrom:u(e),sizeDesks:f(e),sizeSpace:p(e),quotingRate:d(e)}),m=e=>{let{availableFrom:t,availableTo:n}=e;return t||n?{from:t&&o()(t),to:n&&o()(n)}:null},g=e=>{let{sizeDesksFrom:t,sizeDesksTo:n}=e;return t||n?{from:t,to:n}:null},v=e=>{let{sizeSpaceFrom:t,sizeSpaceTo:n,sizeSpaceUnit:r}=e;return t||n||r?{from:t,to:n,unit:r}:null},y=e=>{let{quotingRateFrom:t,quotingRateTo:n,currency:r,onlyWithSuites:o}=e;return t||n||r||o?{from:t,to:n,currency:r,onlyWithSuites:o}:null},b=e=>{var t,n,r;return{availableFrom:m(e),operatorIds:null!==(t=e.operatorIds)&&void 0!==t?t:[],spaceType:null!==(n=e.spaceType)&&void 0!==n?n:[],amenityIds:null!==(r=e.amenityIds)&&void 0!==r?r:[],quotingRate:y(e),sizeDesks:g(e),sizeSpace:v(e)}};var w=n(55371),S=n.n(w),x=n(9511);let E=e=>{let{from:t,to:n,currency:r,onlyWithSuites:o}=null!=e?e:{};return s(e)?{}:{quotingRateFrom:t,quotingRateTo:n,currency:r,onlyWithSuites:o}},C=e=>{let{from:t,to:n,unit:r}=null!=e?e:{};return s(e)?{}:{sizeSpaceFrom:t,sizeSpaceTo:n,sizeSpaceUnit:r}},_=e=>{let{availableFrom:t,quotingRate:n,sizeDesks:r,sizeSpace:o,...i}=e,s={availableFrom:(null==t?void 0:t.from)?(0,x.zZ)(t.from.toDate()):void 0,availableTo:(null==t?void 0:t.to)?(0,x.zZ)(t.to.toDate()):void 0,sizeDesksFrom:null==r?void 0:r.from,sizeDesksTo:null==r?void 0:r.to,...C(o),...E(n),...i};return S()(s,a())}},39654:function(e,t,n){"use strict";n.d(t,{a:function(){return p}});var r=n(44194),o=n(56840),i=n(9511),a=n(61808),s=n(6278),l=n(16296),c=n(63422);let u=(0,i.Mt)(Object.values(c.SnD)),d=(0,i.fX)(Object.values(c.Fa6)),f=(0,i.fX)(Object.values(c.d_w)),p=()=>{let{onChanged:e}=(0,a.PU)(),[t,n]=(0,i.Kx)({availableFrom:i.Zp,availableTo:i.Zp,sizeDesksFrom:i.yz,sizeDesksTo:i.yz,sizeSpaceFrom:i.yz,sizeSpaceTo:i.yz,sizeSpaceUnit:f,quotingRateFrom:i.yz,quotingRateTo:i.yz,currency:d,onlyWithSuites:i.dJ,spaceType:u,amenityIds:i.Cl,operatorIds:i.Cl},{updateType:"replace"}),c=(0,r.useMemo)(()=>(0,l.cS)(t),[t]);function p(t){if("object"==typeof t)return e(t),n((0,l._s)(t));if("function"==typeof t){let r=t(c);e(r),n((0,l._s)(r))}}let h=()=>p(o.ZP.mapFilters),m=(0,r.useMemo)(()=>(0,s.Ni)(c),[c]);return{mapFilters:c,setMapFilters:p,resetMapFilters:h,spaceFilters:m}}},87665:function(e,t,n){"use strict";n.d(t,{V:function(){return w},l:function(){return b}});var r=n(63422),o=n(67997),i=n.n(o);let a="Operator Unknown",s=(e,t)=>({buildingsPayload:e.reduce((e,t)=>{var n,r,o,i,s,l;return e.building_ids.push(null==t?void 0:t.id),e.operator_ids.includes(null==t?void 0:null===(n=t.operator)||void 0===n?void 0:n.id)||(e.operator_ids.push(null==t?void 0:null===(o=t.operator)||void 0===o?void 0:o.id),e.operator_names.push(null!==(s=null==t?void 0:null===(i=t.operator)||void 0===i?void 0:i.name)&&void 0!==s?s:a)),(null==t?void 0:null===(r=t.promotion)||void 0===r?void 0:r.id)&&e.promotion_ids.push(null==t?void 0:null===(l=t.promotion)||void 0===l?void 0:l.id),e},{building_ids:[],operator_ids:[],operator_names:[],promotion_ids:[],origin:t})}),l=(e,t)=>({buildingsPayload:e.reduce((e,t)=>{if(e.building_ids.push(null==t?void 0:t.buildingId),!e.operator_ids.includes(null==t?void 0:t.operatorId)){var n;e.operator_ids.push(null==t?void 0:t.operatorId),e.operator_names.push(null!==(n=null==t?void 0:t.operatorName)&&void 0!==n?n:a)}return(null==t?void 0:t.promotionId)&&e.promotion_ids.push(null==t?void 0:t.promotionId),e},{building_ids:[],operator_ids:[],operator_names:[],promotion_ids:[],origin:t})}),c=(e,t)=>({buildingPayload:i()(()=>{var n,r,o,i;return{building_id:null==e?void 0:e.id,operator_id:null==e?void 0:null===(n=e.operator)||void 0===n?void 0:n.id,operator_name:null!==(i=null==e?void 0:null===(r=e.operator)||void 0===r?void 0:r.name)&&void 0!==i?i:a,promotion_id:null==e?void 0:null===(o=e.promotion)||void 0===o?void 0:o.id,origin:t}},()=>[e,t])()}),u=(e,t)=>({buildingPayload:i()(()=>{var n;return{building_id:null==e?void 0:e.buildingId,operator_id:null==e?void 0:e.operatorId,operator_name:null!==(n=null==e?void 0:e.operatorName)&&void 0!==n?n:a,promotion_id:null==e?void 0:e.promotionId,origin:t}},()=>[e,t])()}),d=(e,t)=>({officeSuitePayload:i()(()=>{var n,r,o,i,s;return{office_suite_id:null==e?void 0:e.id,operator_id:null==e?void 0:null===(r=e.office)||void 0===r?void 0:null===(n=r.operator)||void 0===n?void 0:n.id,operator_name:null!==(s=null==e?void 0:null===(i=e.office)||void 0===i?void 0:null===(o=i.operator)||void 0===o?void 0:o.name)&&void 0!==s?s:a,origin:t}},()=>[e,t])()}),f=e=>{let{opportunity:t}=e;return{opportunity_id:null==t?void 0:t.id}},p=e=>({countOptions:e.reduce((e,t)=>e+(null==t?void 0:t.offers.length),0)}),h=e=>({viewRequest_id:e.id,viewRequest_type:e.type});class m{initialize(e){}postEvent(e,t){}mapPinClicked(e,t){}mapPinViewed(e,t,n){}buildingCardViewed(e,t){}buildingCardClicked(e,t){}buildingRemovedFromShortlist(e,t){}buildingsRemovedFromShortlist(e,t){}buildingBrochureDownloaded(e,t,n){}confirmUpToDateClicked(e,t,n,r,o){}confirmUpToDateConfirmed(e,t,n,r,o){}confirmUpToDateCancelled(e,t,n,r,o){}allBuildingCollapsed(){}buildingCollapsed(){}allBuildingExpanded(){}buildingExpanded(){}mediaContentViewed(e,t,n,r){}mediaContentDownloaded(e,t,n,r){}tabViewed(e,t,n){}buildingCreated(e,t){}buildingPreviewed(e,t){}buildingApprovalRequested(e,t){}buildingApprovalRequestCancelled(e,t){}buildingEdited(e,t,n){}keyDateAdded(e,t,n){}keyDateUpdated(e,t,n){}keyDateRemoved(e,t,n){}officeSuitePreviewed(e,t){}officeSuiteEdited(e,t){}officeSuiteAddedToShortlist(e,t){}officeSuiteRemovedFromShortlist(e,t){}spaceAddedToOpportunity(e,t,n){}buildingViewed(e,t){let{buildingPayload:n}=c(e,t);this.postEvent("Building Viewed",n)}buildingAddedToShortlist(e,t){let{buildingPayload:n}=c(e,t);this.postEvent("Building Added to Shortlist",n)}allSpacesIncludedToShortlist(e){let t=f({opportunity:e});this.postEvent("All spaces included to shortlist",t)}buildingsAddedToShortlist(e,t){let{buildingsPayload:n}=l(e,t);this.postEvent("Buildings Added to Shortlist",n)}addBuildingsToOpportunity(e,t){let n=f({opportunity:e});this.postEvent("Add buildings to Opportunity ",{...n,destination:t})}reportUpdated(e,t,n,o,i){let a=p(t),s=n.type===r.$0d.SignContract?n.documents:[];this.postEvent("Digital report updated",{countBuildings:e,...a,showOperatorDetails:n.showOperatorDetails,numberOfProvidedContracts:s.length,type:n.type,introTitle:o,introMessage:i})}feedbackResolved(e){this.postEvent("Shortlist feedback resolved",{feedbackId:e})}prospectLogoUploaded(e){this.postEvent("Prospect logo uploaded",{digitalReportId:e})}generatePDF(e,t){let n=p(t);this.postEvent("PDF report generated in opportunities",{countBuildings:e,...n})}reportWizardOpened(){this.postEvent("Report Wizard triggered",{})}reportPathSelected(e){switch(e){case"digital":return this.postEvent("Digital Report Path Selected",{});case"pdf":return this.postEvent("PDF Report Path Selected",{});default:throw Error("Unsupported report path: ".concat(e))}}representativeContacted(){this.postEvent("Sales Representative contacted",{})}exampleReportViewed(){this.postEvent("View example report",{})}personalisedMessageExampleViewed(){this.postEvent("Example report reviewed - Personalised message",{})}customerPromptExampleViewed(){this.postEvent("Example report reviewed - Customer prompt",{})}reportLinkCopied(){this.postEvent("Link copied",{})}reportPreviewed(){this.postEvent("Report previewed",{})}duplicateButton(e,t){let n=p(t);this.postEvent("Opportunity duplicated",{countBuildings:e,...n})}buildingRemovedFromOpportunity(e,t,n){let{buildingsPayload:r}=s(t,n),o=f({opportunity:e});this.postEvent("Buildings Removed from Opportunity",{...o,...r})}opportunityAdded(e,t,n,r){this.postEvent("Opportunity Added",{opportunity_id:e,building_ids:t,operator_ids:n,operator_names:r})}submitReferral(e,t,n,r,o){this.postEvent("Referral Submitted",{opportunity_id:e,lead_ids:t,operator_ids:n,operator_names:r,building_ids:o})}referralContactAdded(e,t,n,r){}referralContactRemoved(e,t,n,r){}leadStatusUpdated(e,t){}opportunityFieldGroupExpanded(e){this.postEvent("Opportunity form section expanded",{section:e})}opportunityFieldGroupCollapsed(e){this.postEvent("Opportunity form section collapsed",{section:e})}opportunityTransferred(e){this.postEvent("Opportunity transferred",{opportunity_id:e})}collaboratorInvited(e){this.postEvent("Collaborator invited",{opportunity_id:e})}collaboratorRemoved(e){this.postEvent("Collaborator removed",{opportunity_id:e})}groupingApplied(e){this.postEvent("Grouping applied",{opportunity_id:e})}mapSidebarCollapsed(){}mapSidebarExpanded(){}mapFilterApplied(e,t){}mapFiltersChanged(e){}helpCenterViewed(e){}applyPasswordChangeSuccess(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]}applyPasswordChangeFailed(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]}cancelChangePassword(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]}defaultReportMessageEnabled(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]}defaultReportMessageDisabled(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]}splashScreenUpdated(e){}frontCoverCreated(){}frontCoverUpdated(){}frontCoverRemoved(){}marketingContentUploaded(){}marketingContentDeleted(){}closingSlideUploaded(){}closingSlideDeleted(){}viewRequestDetailsClicked(e,t){}viewRequestEditClicked(e,t){}viewRequestCancelled(e,t){}viewInsights(){this.postEvent("Insights viewed",{})}insightsSurveyClicked(){this.postEvent("Insights survey clicked",{})}promotionClicked(){this.postEvent("Building promotion enquired",{})}missingRegionContactClicked(){this.postEvent("Missing region contact clicked",{})}upgradePlanContactClicked(){this.postEvent("Upgrade plan contact button clicked",{})}talkToUsClicked(){this.postEvent("Talk to us clicked",{})}viewOperators(){this.postEvent("Operators viewed",{})}operatorsTableAction(e,t){this.postEvent("Operators table action",{action:e,params:t})}dataInsightsEnquired(){this.postEvent("Data insights report enquired",{})}mergeOptionsClicked(e){this.postEvent("Options merged",{optionsCount:e})}opportunityColumnsViewChanged(e){this.postEvent("Opportunities view changed",{columns:e})}buildingAddedToTourScheduler(e,t){}tourReportGenerated(e){}membersAccessRequested(e){this.postEvent("Members access requested",{membersCount:e})}memberRemovalRequested(e){this.postEvent("Member removal requested",{memberId:e})}memberRequestRemoved(){this.postEvent("Member request removed",{})}enquiryNoteAdded(e){this.postEvent("Internal note written",{enquiryId:e})}enquiryMessageAdded(e){this.postEvent("Chat message sent",{enquiryId:e})}enquiryViewed(e){this.postEvent("Individual enquiry viewed",{enquiryId:e})}enquirySpaceSuggested(e){this.postEvent("Space suggested",{enquiryId:e})}enquirySuggestionAccepted(e,t){this.postEvent("Space suggestion accepted",{enquiryId:e,spaceId:t})}enquirySuggestionDeclined(e,t){this.postEvent("Space suggestion declined",{enquiryId:e,spaceId:t})}enquirySpaceUpdated(e){this.postEvent("Enquiry option updated",{enquiryId:e})}enquiryAvailabilityConfirmed(e){this.postEvent("Enquiry availability confirmed",{enquiryId:e})}enquiryLeadStatusChanged(e,t,n){this.postEvent("Enquiry Lead Status Changed",{leadId:e,status:t,comment:(null==n?void 0:n.length)>0})}}class g extends m{initialize(){}_postEvent(e,t){this._engine.track(e,t)}postEvent(){}buildingEdited(e,t,n){let r=this.getCalendlyState(e,n);this.trackCalendlyState(e,t,r)}buildingCreated(e,t){let n=this.getCalendlyState(null,e);this.trackCalendlyState(e,t,n)}trackCalendlyState(e,t,n){let{isChanged:r,status:o}=n;if(!r)return;let{buildingPayload:i}=c(e,t);this._postEvent("Calendly integration ".concat(o),i)}getCalendlyState(e,t){let n=t.viewRequestSettings.type,o=n===r.ajO.Calendly?"enabled":"disabled";return{isChanged:!e||e.viewRequestSettings.type!==n,status:o}}constructor(e){super(),this._engine=e}}class v extends m{initialize(e){if(this.isInitialized||!this.canTrackUser(e))return;if(this.isInitialized=!0,this.client=this.getPendoClient(),null===this.client)return console.error("pendo is not integrated");let t=this.getParent(e);if(null===t)return;let n=e.type===r.FWD.Agent||t.isPayingCustomer,[o,...i]=e.contact.name.split(" ");this.client.initialize({visitor:{id:e.id,email:e.contact.email,firstName:o,lastName:i.join(" ")},account:{id:t.id,accountName:t.name,payingStatus:n,marketSegment:e.type,location:"N/A",planPrice:"N/A",contractStartDate:"N/A",accountCreationDate:e.contact.createdAt}}),setTimeout(()=>this.validateInstall(),2e3)}canTrackUser(e){return e.type!==r.FWD.Platform}getParent(e){return(e.operator?e.operator:e.agent)||null}getPendoClient(){return void 0===window.pendo?null:window.pendo}validateInstall(){let e=this.getPendoClient();try{e.validateInstall()}catch(e){console.error("pendo client is not working properly",e)}}constructor(e){super(),this.segment=e,this.isInitialized=!1}}class y extends m{initialize(e){var t,n,o,i,a,s,l,c,u,d,f,p,h,m,g,v,y,b,w,S,x,E,C,_;let k={};e.type===r.FWD.Agent?k={id:null===(u=e.agent)||void 0===u?void 0:u.id,name:null===(d=e.agent)||void 0===d?void 0:d.name,website:null===(f=e.agent)||void 0===f?void 0:f.website,canCollaborate:null===(p=e.agent)||void 0===p?void 0:p.isOpportunityCollaborationEnabled,canTransfer:null===(h=e.agent)||void 0===h?void 0:h.isOpportunityTransferEnabled,canGroup:null===(m=e.agent)||void 0===m?void 0:m.isReferralGroupingEnabled,canAccessEnquirySystem:null===(g=e.agent)||void 0===g?void 0:g.isEnquirySystemEnabled}:e.type===r.FWD.Operator&&(k={id:null===(v=e.operator)||void 0===v?void 0:v.id,name:null===(y=e.operator)||void 0===y?void 0:y.name,website:null===(b=e.operator)||void 0===b?void 0:b.website,canCollaborate:null===(w=e.operator)||void 0===w?void 0:w.isOpportunityCollaborationEnabled,canTransfer:null===(S=e.operator)||void 0===S?void 0:S.isOpportunityTransferEnabled,canGroup:null===(x=e.operator)||void 0===x?void 0:x.isReferralGroupingEnabled,canAccessEnquirySystem:null!==(_=null===(C=e.operator)||void 0===C?void 0:null===(E=C.enquirySystemSettings)||void 0===E?void 0:E.enabled)&&void 0!==_&&_}),this._engine.identify(String(e.id),{type:e.type,agent_id:null===(t=e.agent)||void 0===t?void 0:t.id,operator_id:null===(n=e.operator)||void 0===n?void 0:n.id,name:null===(o=e.contact)||void 0===o?void 0:o.name,email:null===(i=e.contact)||void 0===i?void 0:i.email,company:k,screen:{width:window.screen.width,height:window.screen.height},zoom:Math.round(window.outerWidth/window.innerWidth*100),canDrawOnFloorplans:null===(a=e.agent)||void 0===a?void 0:a.isFloorPlanDrawingEnabled,payingCustomer:null===(s=e.operator)||void 0===s?void 0:s.isPayingCustomer,canOpenMarketplace:null===(c=e.operator)||void 0===c?void 0:null===(l=c.marketplaceSettings)||void 0===l?void 0:l.enabled,canCreateDigitalReport:e.canCreateDigitalReport,canSendLeads:e.canSendLeads})}postEvent(e,t){this._engine.track(e,t)}mapPinClicked(e,t){let{buildingPayload:n}=u(e,t);this.postEvent("Map Pin Clicked",n)}mapPinViewed(e,t,n){let{buildingPayload:r}=u(e,n);this.postEvent("Map Pin Viewed",{...r,zoom:t})}buildingCardViewed(e,t){let{buildingPayload:n}=u(e,t);this.postEvent("Building Card Viewed",n)}buildingCardClicked(e,t){let{buildingPayload:n}=u(e,t);this.postEvent("Building Card Clicked",n)}buildingPreviewed(e,t){let{buildingPayload:n}=c(e,t);this.postEvent("Building Previewed",n)}buildingApprovalRequested(e,t){let{buildingPayload:n}=c(e,t);this.postEvent("Building approval requested",n)}buildingApprovalRequestCancelled(e,t){let{buildingPayload:n}=c(e,t);this.postEvent("Building approval request cancelled",n)}buildingEdited(e,t){let{buildingPayload:n}=c(e,t);this.postEvent("Building Edited",n)}keyDateAdded(e,t,n){let{buildingPayload:r}=c(e,t);this.postEvent("Building Key Date Added",{...r,type:n})}keyDateUpdated(e,t,n){let{buildingPayload:r}=c(e,t);this.postEvent("Building Key Date Updated",{...r,type:n})}keyDateRemoved(e,t,n){let{buildingPayload:r}=c(e,t);this.postEvent("Building Key Date Removed",{...r,type:n})}officeSuitePreviewed(e,t){let{officeSuitePayload:n}=d(e,t);this.postEvent("Office Suite Previewed",n)}officeSuiteEdited(e,t){let{officeSuitePayload:n}=d(e,t);this.postEvent("Office Suite Edited",n)}buildingRemovedFromShortlist(e,t){let{buildingPayload:n}=c(e,t);this.postEvent("Building Removed from Shortlist",n)}buildingsRemovedFromShortlist(e,t){let{buildingsPayload:n}=l(e,t);this.postEvent("Buildings Removed from Shortlist",n)}buildingBrochureDownloaded(e,t,n){let{buildingPayload:r}=c(t,n);this.postEvent("Building Brochure Downloaded",{brochure_id:e,...r})}confirmUpToDateClicked(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;this.postEvent('"Confirm up to date" clicked',{operator_id:e,operator_name:t,space_ids:n,building_ids:r,origin:o})}confirmUpToDateConfirmed(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;this.postEvent('"Confirm up to date" confirmed',{operator_id:e,operator_name:t,space_ids:n,building_ids:r,origin:o})}confirmUpToDateCancelled(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;this.postEvent('"Confirm up to date" cancelled',{operator_id:e,operator_name:t,space_ids:n,building_ids:r,origin:o})}allBuildingCollapsed(){this.postEvent("Collapse All",{action:"All Buildings"})}buildingCollapsed(){this.postEvent("Collapse/Expand single Building",{action:"Collapse individual"})}allBuildingExpanded(){this.postEvent("Expand all",{action:"All Buildings"})}buildingExpanded(){this.postEvent("Collapse/Expand single Building",{action:"Expand Individual"})}officeSuiteAddedToShortlist(e,t){let{officeSuitePayload:n}=d(e,t);this.postEvent("Space Added to Shortlist",n)}officeSuiteRemovedFromShortlist(e,t){let{officeSuitePayload:n}=d(e,t);this.postEvent("Space Removed from Shortlist",n)}spaceAddedToOpportunity(e,t,n){let{officeSuitePayload:r}=d(e,n),o=f({opportunity:t});this.postEvent("Space added to Opportunity",{...o,...r})}mediaContentViewed(e,t,n,r){let{buildingPayload:o}=c(n,r);this.postEvent("Media Content Viewed",{id:e,type:t,...o})}mediaContentDownloaded(e,t,n,r){let{buildingPayload:o}=c(n,r);this.postEvent("Media Content Downloaded",{id:e,type:t,...o})}tabViewed(e,t,n){let{buildingPayload:r}=c(t,n);this.postEvent("Tab Viewed",{tab:e,...r})}referralContactAdded(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a;this.postEvent("Referral Contact Added",{opportunity_id:e,building_id:t,operator_id:n,operator_name:r})}referralContactRemoved(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a;this.postEvent("Referral Contact Removed",{opportunity_id:e,building_id:t,operator_id:n,operator_name:r})}leadStatusUpdated(e,t){this.postEvent("Lead Status Updated",{lead_id:e,status:t})}mapSidebarCollapsed(){this.postEvent("Building Menu card sizing",{action:"Collapse"})}mapSidebarExpanded(){this.postEvent("Building Menu card sizing",{action:"Expand"})}mapFilterApplied(e,t){this.postEvent("Map filter applied",{name:e,value:t})}mapFiltersChanged(e){this.postEvent("Map filters changed",e)}applyPasswordChangeSuccess(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;this.postEvent("Apply password change - Successful",{operator_id:e,operator_name:t})}applyPasswordChangeFailed(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;this.postEvent("Apply password change - Fail",{operator_id:e,operator_name:t})}cancelChangePassword(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;this.postEvent("Cancel password change",{operator_id:e,operator_name:t})}defaultReportMessageEnabled(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;this.postEvent("Default Digital report message - On",{operator_id:e,operator_name:t})}defaultReportMessageDisabled(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;this.postEvent("Default Digital report message - Off",{operator_id:e,operator_name:t})}splashScreenUpdated(e){this.postEvent("Splash screen updated",{template_type:e})}frontCoverCreated(){this.postEvent("Front cover added",{})}frontCoverUpdated(){this.postEvent("Front cover updated",{})}frontCoverRemoved(){this.postEvent("Front cover deleted",{})}marketingContentUploaded(){this.postEvent("Marketing content uploaded",{})}marketingContentDeleted(){this.postEvent("Marketing content deleted",{})}closingSlideUploaded(){this.postEvent("Closing slide uploaded",{})}closingSlideDeleted(){this.postEvent("Closing slide deleted",{})}viewRequestDetailsClicked(e,t){let{buildingPayload:n}=c(e,"OPPORTUNITY");this.postEvent("View request details clicked",{...n,...h(t)})}viewRequestEditClicked(e,t){let{buildingPayload:n}=c(e,"OPPORTUNITY");this.postEvent("View request edit clicked",{...n,...h(t)})}viewRequestCancelled(e,t){let{buildingPayload:n}=c(e,"OPPORTUNITY");this.postEvent("View request cancelled",{...n,...h(t)})}helpCenterViewed(e){this.postEvent("Helpcenter viewed",{type:e})}buildingAddedToTourScheduler(e,t){this.postEvent("Building added to tour scheduler",c(e,t))}tourReportGenerated(e){this.postEvent("Tour report generated in tour scheduler",{opportunity_id:e})}allSpacesIncluded(e){this.postEvent("All spaces included",{opportunity_id:e})}constructor(e){super(),this._engine=e}}let b=[];function w(e,t){b.push(new y(t)),b.push(new g(t)),b.push(new v(t)),b.forEach(async t=>await t.initialize(e))}},76152:function(e,t,n){"use strict";n.d(t,{B:function(){return o.a}});var r=n(6020),o=n.n(r),i=n(46232),a=n.n(i),s=n(36005),l=n.n(s),c=n(12019),u=n.n(c),d=n(8860),f=n.n(d),p=n(6047),h=n.n(p),m=n(35547),g=n.n(m);o().extend(g()),o().extend(f()),o().extend(h()),o().extend(u()),o().extend(a()),o().extend(l())},93631:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{default:function(){return tA}});var o,i=n(31549),a=n(44194),s=n(37647),l=n(62632),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z"}}]},name:"notification",theme:"outlined"},u=n(32962),d=function(e,t){return a.createElement(u.Z,(0,l.Z)({},e,{ref:t,icon:c}))},f=a.forwardRef(d),p=n(68174),h=n(72477),m=n(66786),g=n.n(m),v=n(22167),y=n.n(v),b=n(28182),w=n(94718),S=n(74992),x=n(57597),E=n(3810),C=n(45216),_=n(33267),k=n(40351),O=n(95849),A=n(56007);n(10063);let I="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function P(e){let t=e.match(/^([^.]+)/);return null!==t&&parseInt(t[0])>=17}let T={componentStack:null,error:null,eventId:null};function R(e,t){let n=new WeakMap;function r(e,t){if(!n.has(e)){if(e.cause)return n.set(e,!0),r(e.cause,t);e.cause=t}}r(e,t)}class M extends a.Component{constructor(e){super(e),M.prototype.__init.call(this),this.state=T,this._openFallbackReportDialog=!0;let t=(0,k.s3)();t&&e.showDialog&&(this._openFallbackReportDialog=!1,t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&(0,_.jp)({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,{componentStack:t}){let{beforeCapture:n,onError:r,showDialog:o,dialogOptions:i}=this.props;(0,k.$e)(s=>{if(P(a.version)&&(0,O.VZ)(e)){let n=Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,R(e,n)}n&&n(s,e,t);let l=(0,C.Tb)(e,{captureContext:{contexts:{react:{componentStack:t}}},mechanism:{handled:!!this.props.fallback}});r&&r(e,t,l),o&&(this._lastEventId=l,this._openFallbackReportDialog&&(0,_.jp)({...i,eventId:l})),this.setState({error:e,componentStack:t,eventId:l})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:r}=this.props;r&&r(e,t,n)}__init(){this.resetErrorBoundary=()=>{let{onReset:e}=this.props,{error:t,componentStack:n,eventId:r}=this.state;e&&e(t,n,r),this.setState(T)}}render(){let{fallback:e,children:t}=this.props,n=this.state;if(n.error){let t;return(t="function"==typeof e?a.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:this.resetErrorBoundary,eventId:n.eventId}):e,a.isValidElement(t))?t:(e&&I&&A.kg.warn("fallback did not produce a valid ReactElement"),null)}return"function"==typeof t?t():t}}var N=n(29287),j=n(51176),D=n(2490),L=n(84896),B=n(31605),Z=n(14068),F=n(58611),z=n(61382),U=n(17303),H=n(35763),q=n(22904),V=n(31645),W=n(51865),$=n.n(W),G=(0,a.createContext)({}),K=n(79895),Y=void 0!==K&&null!=K.versions&&null!=K.versions.node,X=function(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.matchMedia&&!Y},Q=function(e,t){for(var n=Object.assign({},e),r=0;r<t.length;r+=1){var o=t[r];delete n[o]}return n},J=n(56321),ee=n(68166),et=function(e){return(0,L.Z)({},e.componentCls,{position:"fixed",insetInlineEnd:0,bottom:0,zIndex:99,display:"flex",alignItems:"center",width:"100%",paddingInline:24,paddingBlock:0,boxSizing:"border-box",lineHeight:"64px",backgroundColor:(0,ee.uK)(e.colorBgElevated,.6),borderBlockStart:"1px solid ".concat(e.colorSplit),"-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)",color:e.colorText,transition:"all 0.2s ease 0s","&-left":{flex:1,color:e.colorText},"&-right":{color:e.colorText,"> *":{marginInlineEnd:8,"&:last-child":{marginBlock:0,marginInline:0}}}})};function en(e){return(0,ee.Xj)("ProLayoutFooterToolbar",function(t){return[et((0,Z.Z)((0,Z.Z)({},t),{},{componentCls:".".concat(e)}))]})}function er(e,t){var n=t.stylish;return(0,ee.Xj)("ProLayoutFooterToolbarStylish",function(t){var r=(0,Z.Z)((0,Z.Z)({},t),{},{componentCls:".".concat(e)});return n?[(0,L.Z)({},"".concat(r.componentCls),null==n?void 0:n(r))]:[]})}var eo=["children","className","extra","portalDom","style","renderContent"],ei=function(e){var t=e.children,n=e.className,r=e.extra,o=e.portalDom,s=void 0===o||o,l=e.style,c=e.renderContent,u=(0,B.Z)(e,eo),d=(0,a.useContext)(q.ZP.ConfigContext),f=d.getPrefixCls,p=d.getTargetContainer,h=e.prefixCls||f("pro"),m="".concat(h,"-footer-bar"),g=en(m),v=g.wrapSSR,y=g.hashId,b=(0,a.useContext)(G),w=(0,a.useMemo)(function(){var e=b.hasSiderMenu,t=b.isMobile,n=b.siderWidth;return e?n?t?"100%":"calc(100% - ".concat(n,"px)"):"100%":void 0},[b.collapsed,b.hasSiderMenu,b.isMobile,b.siderWidth]),S=(0,a.useMemo)(function(){return("undefined"==typeof window?"undefined":(0,F.Z)(window))===void 0||("undefined"==typeof document?"undefined":(0,F.Z)(document))===void 0?null:(null==p?void 0:p())||document.body},[]),x=er("".concat(m,".").concat(m,"-stylish"),{stylish:e.stylish}),E=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"".concat(m,"-left ").concat(y).trim(),children:r}),(0,i.jsx)("div",{className:"".concat(m,"-right ").concat(y).trim(),children:t})]});(0,a.useEffect)(function(){return b&&null!=b&&b.setHasFooterToolbar?(null==b||b.setHasFooterToolbar(!0),function(){var e;null==b||null===(e=b.setHasFooterToolbar)||void 0===e||e.call(b,!1)}):function(){}},[]);var C=(0,i.jsx)("div",(0,Z.Z)((0,Z.Z)({className:$()(n,y,m,(0,L.Z)({},"".concat(m,"-stylish"),!!e.stylish)),style:(0,Z.Z)({width:w},l)},Q(u,["prefixCls"])),{},{children:c?c((0,Z.Z)((0,Z.Z)((0,Z.Z)({},e),b),{},{leftWidth:w}),E):E})),_=X()&&s&&S?(0,J.createPortal)(C,S,m):C;return x.wrapSSR(v((0,i.jsx)(a.Fragment,{children:_},m)))},ea=function(e){return(0,L.Z)({},e.componentCls,{width:"100%","&-wide":{maxWidth:1152,margin:"0 auto"}})};function es(e){return(0,ee.Xj)("ProLayoutGridContent",function(t){return[ea((0,Z.Z)((0,Z.Z)({},t),{},{componentCls:".".concat(e)}))]})}var el=function(e){var t=(0,a.useContext)(G),n=e.children,r=e.contentWidth,o=e.className,s=e.style,l=(0,a.useContext)(q.ZP.ConfigContext).getPrefixCls,c=e.prefixCls||l("pro"),u=r||t.contentWidth,d="".concat(c,"-grid-content"),f=es(d),p=f.wrapSSR,h=f.hashId,m="Fixed"===u&&"top"===t.layout;return p((0,i.jsx)("div",{className:$()(d,h,o,(0,L.Z)({},"".concat(d,"-wide"),m)),style:s,children:(0,i.jsx)("div",{className:"".concat(c,"-grid-content-children ").concat(h).trim(),children:n})}))},ec=n(75377),eu=n(99754),ed=["isLoading","pastDelay","timedOut","error","retry"],ef=function(e){e.isLoading,e.pastDelay,e.timedOut,e.error,e.retry;var t=(0,B.Z)(e,ed);return(0,i.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,i.jsx)(eu.Z,(0,Z.Z)({size:"large"},t))})},ep=n(37988),eh=function(e){if(!e)return 1;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},em=function(e){var t=(0,ee.dQ)().token,n=e.children,r=e.style,o=e.className,s=e.markStyle,l=e.markClassName,c=e.zIndex,u=void 0===c?9:c,d=e.gapX,f=void 0===d?212:d,p=e.gapY,h=void 0===p?222:p,m=e.width,g=void 0===m?120:m,v=e.height,y=void 0===v?64:v,b=e.rotate,w=void 0===b?-22:b,S=e.image,x=e.offsetLeft,E=e.offsetTop,C=e.fontStyle,_=void 0===C?"normal":C,k=e.fontWeight,O=void 0===k?"normal":k,A=e.fontColor,I=void 0===A?t.colorFill:A,P=e.fontSize,T=void 0===P?16:P,R=e.fontFamily,M=void 0===R?"sans-serif":R,N=e.prefixCls,j=(0,(0,a.useContext)(q.ZP.ConfigContext).getPrefixCls)("pro-layout-watermark",N),D=$()("".concat(j,"-wrapper"),o),L=$()(j,l),B=(0,a.useState)(""),F=(0,ep.Z)(B,2),z=F[0],U=F[1];return(0,a.useEffect)(function(){var t=document.createElement("canvas"),n=t.getContext("2d"),r=eh(n),o="".concat((f+g)*r,"px"),i="".concat((h+y)*r,"px"),a=x||f/2,s=E||h/2;if(t.setAttribute("width",o),t.setAttribute("height",i),!n){console.error("当前环境不支持Canvas");return}n.translate(a*r,s*r),n.rotate(Math.PI/180*Number(w));var l=g*r,c=y*r,u=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=Number(T)*r;n.font="".concat(_," normal ").concat(O," ").concat(i,"px/").concat(c,"px ").concat(M),n.fillStyle=I,Array.isArray(e)?null==e||e.forEach(function(e,t){return n.fillText(e,0,t*i+o)}):n.fillText(e,0,o?o+i:0),U(t.toDataURL())};if(S){var d=new Image;d.crossOrigin="anonymous",d.referrerPolicy="no-referrer",d.src=S,d.onload=function(){if(n.drawImage(d,0,0,l,c),U(t.toDataURL()),e.content){u(e.content,d.height+8);return}};return}if(e.content){u(e.content);return}},[f,h,x,E,w,_,O,g,y,M,I,S,e.content,T]),(0,i.jsxs)("div",{style:(0,Z.Z)({position:"relative"},r),className:D,children:[n,(0,i.jsx)("div",{className:L,style:(0,Z.Z)((0,Z.Z)({zIndex:u,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(f+g,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},z?{backgroundImage:"url('".concat(z,"')")}:{}),s)})]})},eg=[576,768,992,1200].map(function(e){return"@media (max-width: ".concat(e,"px)")}),ev=(0,ep.Z)(eg,4),ey=ev[0],eb=ev[1],ew=ev[2],eS=ev[3],ex=function(e){var t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,y;return(0,L.Z)({},e.componentCls,(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({position:"relative","&-children-container":{paddingBlockStart:0,paddingBlockEnd:null===(t=e.layout)||void 0===t||null===(t=t.pageContainer)||void 0===t?void 0:t.paddingBlockPageContainerContent,paddingInline:null===(n=e.layout)||void 0===n||null===(n=n.pageContainer)||void 0===n?void 0:n.paddingInlinePageContainerContent},"&-children-container-no-header":{paddingBlockStart:null===(r=e.layout)||void 0===r||null===(r=r.pageContainer)||void 0===r?void 0:r.paddingBlockPageContainerContent},"&-affix":(0,L.Z)({},"".concat(e.antCls,"-affix"),(0,L.Z)({},"".concat(e.componentCls,"-warp"),{backgroundColor:null===(o=e.layout)||void 0===o||null===(o=o.pageContainer)||void 0===o?void 0:o.colorBgPageContainerFixed,transition:"background-color 0.3s",boxShadow:"0 2px 8px #f0f1f2"}))},"& &-warp-page-header",(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({paddingBlockStart:(null!==(i=null===(a=e.layout)||void 0===a||null===(a=a.pageContainer)||void 0===a?void 0:a.paddingBlockPageContainerContent)&&void 0!==i?i:40)/4,paddingBlockEnd:(null!==(s=null===(l=e.layout)||void 0===l||null===(l=l.pageContainer)||void 0===l?void 0:l.paddingBlockPageContainerContent)&&void 0!==s?s:40)/2,paddingInlineStart:null===(c=e.layout)||void 0===c||null===(c=c.pageContainer)||void 0===c?void 0:c.paddingInlinePageContainerContent,paddingInlineEnd:null===(u=e.layout)||void 0===u||null===(u=u.pageContainer)||void 0===u?void 0:u.paddingInlinePageContainerContent},"& ~ ".concat(e.proComponentsCls,"-grid-content"),(0,L.Z)({},"".concat(e.proComponentsCls,"-page-container-children-content"),{paddingBlock:(null!==(d=null===(f=e.layout)||void 0===f||null===(f=f.pageContainer)||void 0===f?void 0:f.paddingBlockPageContainerContent)&&void 0!==d?d:24)/3})),"".concat(e.antCls,"-page-header-breadcrumb"),{paddingBlockStart:(null!==(p=null===(h=e.layout)||void 0===h||null===(h=h.pageContainer)||void 0===h?void 0:h.paddingBlockPageContainerContent)&&void 0!==p?p:40)/4+10}),"".concat(e.antCls,"-page-header-heading"),{paddingBlockStart:(null!==(m=null===(g=e.layout)||void 0===g||null===(g=g.pageContainer)||void 0===g?void 0:g.paddingBlockPageContainerContent)&&void 0!==m?m:40)/4}),"".concat(e.antCls,"-page-header-footer"),{marginBlockStart:(null!==(v=null===(y=e.layout)||void 0===y||null===(y=y.pageContainer)||void 0===y?void 0:y.paddingBlockPageContainerContent)&&void 0!==v?v:40)/4})),"&-detail",(0,L.Z)({display:"flex"},ey,{display:"block"})),"&-main",{width:"100%"}),"&-row",(0,L.Z)({display:"flex",width:"100%"},eb,{display:"block"})),"&-content",{flex:"auto",width:"100%"}),"&-extraContent",(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({flex:"0 1 auto",minWidth:"242px",marginInlineStart:88,textAlign:"end"},eS,{marginInlineStart:44}),ew,{marginInlineStart:20}),eb,{marginInlineStart:0,textAlign:"start"}),ey,{marginInlineStart:0})))};function eE(e,t){return(0,ee.Xj)("ProLayoutPageContainer",function(n){var r;return[ex((0,Z.Z)((0,Z.Z)({},n),{},{componentCls:".".concat(e),layout:(0,Z.Z)((0,Z.Z)({},null==n?void 0:n.layout),{},{pageContainer:(0,Z.Z)((0,Z.Z)({},null==n||null===(r=n.layout)||void 0===r?void 0:r.pageContainer),t)})}))]})}function eC(e,t){var n=t.stylish;return(0,ee.Xj)("ProLayoutPageContainerStylish",function(t){var r=(0,Z.Z)((0,Z.Z)({},t),{},{componentCls:".".concat(e)});return n?[(0,L.Z)({},"div".concat(r.componentCls),null==n?void 0:n(r))]:[]})}var e_=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,ek=function(e){return"*"===e||"x"===e||"X"===e},eO=function(e){var t=parseInt(e,10);return isNaN(t)?e:t},eA=function(e,t){return(0,F.Z)(e)!==(0,F.Z)(t)?[String(e),String(t)]:[e,t]},eI=function(e,t){if(ek(e)||ek(t))return 0;var n=eA(eO(e),eO(t)),r=(0,ep.Z)(n,2),o=r[0],i=r[1];return o>i?1:o<i?-1:0},eP=function(e,t){for(var n=0;n<Math.max(e.length,t.length);n++){var r=eI(e[n]||"0",t[n]||"0");if(0!==r)return r}return 0},eT=function(e){var t,n=e.match(e_);return null==n||null===(t=n.shift)||void 0===t||t.call(n),n},eR=function(e,t){var n=eT(e),r=eT(t),o=n.pop(),i=r.pop(),a=eP(n,r);return 0!==a?a:o||i?o?-1:1:0},eM=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","childrenContentStyle","style","prefixCls","hashId","value","breadcrumbRender"],eN=["children","loading","className","style","footer","affixProps","token","fixedHeader","breadcrumbRender","footerToolBarProps","childrenContentStyle"];function ej(e){return"object"===(0,F.Z)(e)?e:{spinning:e}}var eD=function(e){var t=e.tabList,n=e.tabActiveKey,r=e.onTabChange,o=e.hashId,a=e.tabBarExtraContent,s=e.tabProps,l=e.prefixedClassName;return Array.isArray(t)||a?(0,i.jsx)(U.Z,(0,Z.Z)((0,Z.Z)({className:"".concat(l,"-tabs ").concat(o).trim(),activeKey:n,onChange:function(e){r&&r(e)},tabBarExtraContent:a,items:null==t?void 0:t.map(function(e,t){var n;return(0,Z.Z)((0,Z.Z)({label:e.tab},e),{},{key:(null===(n=e.key)||void 0===n?void 0:n.toString())||(null==t?void 0:t.toString())})})},s),{},{children:0>eR(H.Z,"4.23.0")?null==t?void 0:t.map(function(e,t){return(0,i.jsx)(U.Z.TabPane,(0,Z.Z)({tab:e.tab},e),e.key||t)}):null})):null},eL=function(e,t,n,r){return e||t?(0,i.jsx)("div",{className:"".concat(n,"-detail ").concat(r).trim(),children:(0,i.jsx)("div",{className:"".concat(n,"-main ").concat(r).trim(),children:(0,i.jsxs)("div",{className:"".concat(n,"-row ").concat(r).trim(),children:[e&&(0,i.jsx)("div",{className:"".concat(n,"-content ").concat(r).trim(),children:e}),t&&(0,i.jsx)("div",{className:"".concat(n,"-extraContent ").concat(r).trim(),children:t})]})})}):null},eB=function(e){var t,n=e.title,r=e.content,o=e.pageHeaderRender,a=e.header,s=e.prefixedClassName,l=e.extraContent,c=(e.childrenContentStyle,e.style,e.prefixCls),u=e.hashId,d=e.value,f=e.breadcrumbRender,p=(0,B.Z)(e,eM),h=function(){if(f)return f};if(!1===o)return null;if(o)return(0,i.jsxs)(i.Fragment,{children:[" ",o((0,Z.Z)((0,Z.Z)({},e),d))]});var m=n;n||!1===n||(m=d.title);var g=(0,Z.Z)((0,Z.Z)((0,Z.Z)({},d),{},{title:m},p),{},{footer:eD((0,Z.Z)((0,Z.Z)({},p),{},{hashId:u,breadcrumbRender:f,prefixedClassName:s}))},a),v=g.breadcrumb,y=(!v||!(null!=v&&v.itemRender)&&!(null!=v&&null!==(t=v.items)&&void 0!==t&&t.length))&&!f;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(e){return!g[e]})&&y&&!r&&!l?null:(0,i.jsx)(ec.m,(0,Z.Z)((0,Z.Z)({},g),{},{className:"".concat(s,"-warp-page-header ").concat(u).trim(),breadcrumb:!1===f?void 0:(0,Z.Z)((0,Z.Z)({},g.breadcrumb),d.breadcrumbProps),breadcrumbRender:h(),prefixCls:c,children:(null==a?void 0:a.children)||eL(r,l,s,u)}))},eZ=function(e){var t,n,r=e.children,o=e.loading,s=void 0!==o&&o,l=e.className,c=e.style,u=e.footer,d=e.affixProps,f=e.token,p=e.fixedHeader,h=e.breadcrumbRender,m=e.footerToolBarProps,g=e.childrenContentStyle,v=(0,B.Z)(e,eN),y=(0,a.useContext)(G);(0,a.useEffect)(function(){var e;return y&&null!=y&&y.setHasPageContainer?(null==y||null===(e=y.setHasPageContainer)||void 0===e||e.call(y,function(e){return e+1}),function(){var e;null==y||null===(e=y.setHasPageContainer)||void 0===e||e.call(y,function(e){return e-1})}):function(){}},[]);var b=(0,a.useContext)(z.L_).token,w=(0,a.useContext)(q.ZP.ConfigContext).getPrefixCls,S=e.prefixCls||w("pro"),x="".concat(S,"-page-container"),E=eE(x,f),C=E.wrapSSR,_=E.hashId,k=eC("".concat(x,".").concat(x,"-stylish"),{stylish:e.stylish}),O=(0,a.useMemo)(function(){var e;return!1!=h&&(h||(null==v||null===(e=v.header)||void 0===e?void 0:e.breadcrumbRender))},[h,null==v||null===(t=v.header)||void 0===t?void 0:t.breadcrumbRender]),A=eB((0,Z.Z)((0,Z.Z)({},v),{},{breadcrumbRender:O,ghost:!0,hashId:_,prefixCls:void 0,prefixedClassName:x,value:y})),I=(0,a.useMemo)(function(){if(a.isValidElement(s))return s;if("boolean"==typeof s&&!s)return null;var e=ej(s);return e.spinning?(0,i.jsx)(ef,(0,Z.Z)({},e)):null},[s]),P=(0,a.useMemo)(function(){return r?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:$()(_,"".concat(x,"-children-container"),(0,L.Z)({},"".concat(x,"-children-container-no-header"),!A)),style:g,children:r})}):null},[r,x,g,_]),T=(0,a.useMemo)(function(){var t=I||P;if(e.waterMarkProps||y.waterMarkProps){var n=(0,Z.Z)((0,Z.Z)({},y.waterMarkProps),e.waterMarkProps);return(0,i.jsx)(em,(0,Z.Z)((0,Z.Z)({},n),{},{children:t}))}return t},[e.waterMarkProps,y.waterMarkProps,I,P]),R=$()(x,_,l,(0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(x,"-with-footer"),u),"".concat(x,"-with-affix"),p&&A),"".concat(x,"-stylish"),!!v.stylish));return C(k.wrapSSR((0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{style:c,className:R,children:[p&&A?(0,i.jsx)(V.Z,(0,Z.Z)((0,Z.Z)({offsetTop:y.hasHeader&&y.fixedHeader?null===(n=b.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader:1},d),{},{className:"".concat(x,"-affix ").concat(_).trim(),children:(0,i.jsx)("div",{className:"".concat(x,"-warp ").concat(_).trim(),children:A})})):A,T&&(0,i.jsx)(el,{children:T})]}),u&&(0,i.jsx)(ei,(0,Z.Z)((0,Z.Z)({stylish:v.footerStylish,prefixCls:S},m),{},{children:u}))]})))},eF=function(e){return(0,i.jsx)(z._Y,{needDeps:!0,children:(0,i.jsx)(eZ,(0,Z.Z)({},e))})},ez=n(17998),eU=n(27826),eH=n.n(eU);let eq=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g(),{children:(0,i.jsx)("meta",{name:"robots",content:"noindex, follow, noarchive"})}),(0,i.jsx)(eF,{className:"flex h-full items-center",children:(0,i.jsxs)("div",{className:"flex flex-col items-center gap-12",children:[(0,i.jsx)(eH(),{src:"/logo.svg",alt:"Valve",width:130,height:28}),(0,i.jsx)(eH(),{src:"/maintenance.svg",alt:"We'll be back soon",width:579,height:319}),(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)(ez.Z.Title,{level:2,children:"We'll be back soon"}),(0,i.jsx)(ez.Z.Text,{children:"We are down for maintenance and expect to be back online in a few minutes"})]})]})})]});var eV=n(68359),eW=n(38442),e$=n(63422),eG=n(31791),eK=n(85926),eY=n(46665),eX=n(73921),eQ=n(15401),eJ=n.n(eQ),e0=n(57020);function e1(){let e=(0,eG._)(["\n  mutation acceptTermAndCondition($data: AcceptTermAndConditionInput!) {\n    acceptTermAndCondition(data: $data) {\n      ...FullMe\n    }\n  }\n"]);return e1=function(){return e},e}let e2=()=>{let{t:e}=(0,e0.$G)(),{me:t,loading:n}=(0,eW.KR)(),r=(0,j.aU)(),o=null==t?void 0:t.termAndCondition,[a]=(0,e$.QVc)(),s=null==o?void 0:o.updatedAt,l=null==o?void 0:o.documentPdfUrl;return(0,i.jsxs)(eY.Z,{open:!n&&!(null==o?void 0:o.isAccepted),okText:e("agent:terms-conditions.accept","Accept terms & conditions"),onOk:()=>a({variables:{data:{termAndConditionId:null==o?void 0:o.id}}}),width:"768px",centered:!0,cancelText:e("agent:terms-conditions.logout","Logout"),onCancel:r,closable:!1,children:[(0,i.jsx)("div",{className:"-mx-2 flex h-[500px] justify-center overflow-scroll",children:(0,i.jsx)("iframe",{title:"Terms and conditions",className:"w-full",src:null==o?void 0:o.documentHtmlUrl})}),(0,i.jsxs)("div",{className:"-mb-4 mt-3 flex justify-between",children:[s&&(0,i.jsx)("div",{className:"text-black",children:e("text.last-updated-at","Last updated: {{at}}",{at:(0,x.cz)(s,"MMMM YYYY")})}),l&&(0,i.jsx)(eJ(),{href:l,children:(0,i.jsx)(h.ZP,{type:"link",icon:(0,i.jsx)(eK.Z,{}),className:"px-0",target:"_blank",children:e("download-pdf","Download PDF")})})]})]})};(0,eX.ZP)(e1());let e3=e=>{var t;let{children:n}=e,{me:r}=(0,eW.KR)();return(null==r?void 0:r.type)===e$.FWD.Operator&&(null==r?void 0:null===(t=r.termAndCondition)||void 0===t?void 0:t.isAccepted)===!1?(0,i.jsx)(e2,{}):n},e4=e=>{let{children:t}=e;return t},e5=e=>{let{children:t,settings:n,settingsByType:r,hideNavigation:o=!1,searchComponent:a,background:s,Context:l=e4}=e,{me:c}=(0,eW.KR)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(D.jK,{}),(0,i.jsx)(eW.Ak,{override:n,overrideByType:r,children:(0,i.jsx)(E.zy,{locale:null==c?void 0:c.locale,children:(0,i.jsx)(e3,{children:(0,i.jsx)(S.uB,{children:(0,i.jsx)(l,{children:(0,i.jsx)(eV.LN,{hideNavigation:o,searchComponent:a,background:s,children:t})})})})})})]})};var e6=n(7726),e8=n(3576),e7=n(74215),e9=n(76833),te=n(71553),tt=n(5969),tn=n(68164),tr=n(99525),to=n(70274),ti=n(64876),ta=n.n(ti),ts=n(83680),tl=n.n(ts),tc=n(85466),tu=n.n(tc),td=n(6278);let tf="__APOLLO_STATE__",tp=tl().createInstance({name:"valveDB-".concat(e6.O.NEXT_PUBLIC_NODE_ENV),storeName:tf}),th=(0,tt.q)(e=>{var t,n;let{graphQLErrors:r,networkError:o,operation:i}=e;console.error({graphQLErrors:r,networkError:o,operation:i});let a=(0,k.nZ)(),s=null===(n=i.getContext())||void 0===n?void 0:null===(t=n.headers)||void 0===t?void 0:t["x-transaction-id"];a.setTransactionName(s),a.setExtra("operationName",i.operationName),a.setExtra("variables",JSON.stringify(i.variables,null,2)),r&&r.map(e=>{let{message:t}=e;return(0,C.uT)(t)}),o&&(tm(o)?(0,C.uT)(o.message):(0,C.Tb)(o))});function tm(e){return"object"==typeof e&&null!==e&&"response"in e&&"statusCode"in e}let tg=(0,tn.L)({uri:e6.O.NEXT_PUBLIC_API_SERVER_URL,credentials:"same-origin",fetch:!1}),tv=(0,te.v)(async(e,t)=>{let{headers:n}=t,r=await (0,td.D3)();return{headers:{...n,...r}}}).concat(tg),ty=new e8.h,tb="GITLAB_COMMIT_SHA",tw=e6.O.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA,tS=async()=>{let e=new to.CachePersistor({cache:ty,storage:new to.LocalForageWrapper(tp),debug:"true"===e6.O.NEXT_PUBLIC_CACHE_PERSITOR_DEBUG_ENABLED,maxSize:5242880});if(await tp.getItem(tb)===tw)try{await e.restore()}catch(t){await e.purge()}else await e.purge(),await tp.setItem(tb,tw)};function tx(){return new e7.f({ssrMode:!1,link:e9.i.from([..."true"===e6.O.NEXT_PUBLIC_APOLLO_LOGGER_ENABLED?[tr.Z]:[],th,tv]),cache:ty,defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first"}},name:"core-web"})}async function tE(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;await tS();let t=null!=r?r:tx();if(e){let n=t.extract(),r=ta()(e,n,{arrayMerge:(e,t)=>[...t,...e.filter(e=>t.every(t=>!tu()(e,t)))]});try{t.cache.restore(r)}catch(e){await t.cache.reset()}}return r||(r=t),t}function tC(e){let[t,n]=(0,a.useState)(),r=e[tf];return(0,a.useEffect)(()=>{(async function(){n(await tE(r))})().catch(console.error)},[]),t}n(7076);let t_={url:e6.O.NEXT_PUBLIC_UNLEASH_PROXY_URL,clientKey:e6.O.NEXT_PUBLIC_UNLEASH_CLIENT_KEY,refreshInterval:60,appName:"valvespace",environment:null!==(o=e6.O.NEXT_PUBLIC_ENVIRONMENT)&&void 0!==o?o:"development"};y().events.on("routeChangeComplete",w.LV);let tk=b.ZP.div.withConfig({componentId:"sc-e498ae2b-0"})(["height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:",";"],e=>e.theme.colors.gray[400]);class tO extends a.Component{static async getInitialProps(e){let{Component:t,ctx:n}=e;try{let e={};return t.getInitialProps&&(e=await t.getInitialProps(n)),e.query=n.query,{pageProps:e}}catch(e){return{errorEventId:(0,C.Tb)(e,n)}}}static getDerivedStateFromProps(e,t){return{errorEventId:e.errorEventId||t.errorEventId||void 0}}componentDidCatch(e,t){let n=(0,C.Tb)(e,{extra:t});this.setState({errorEventId:n})}handleReportError(){(0,_.jp)({eventId:this.state.errorEventId})}render(){let{children:e,settings:t}=this.props;return(0,i.jsx)(b.f6,{theme:N.Z,children:(0,i.jsx)(M,{fallback:()=>(0,i.jsx)(tk,{children:(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)("div",{className:"text-xl",children:"Something went wrong"}),(0,i.jsxs)("div",{className:"mb-4",children:["You can"," ",(0,i.jsx)(h.ZP,{className:"p-0",type:"link",onClick:()=>{window.location.reload()},children:"reload the page"})," ","or return to"," ",(0,i.jsx)(h.ZP,{className:"p-0",type:"link",onClick:()=>{window.history.back()},children:"previous page"})]}),(0,i.jsx)(h.ZP,{type:"primary",icon:(0,i.jsx)(f,{}),onClick:this.handleReportError,children:"Report the Error"})]})}),showDialog:!0,children:(0,i.jsxs)(S.sx,{children:[(0,i.jsx)(S.jx,{apiKey:e6.O.NEXT_PUBLIC_ANALYTICS_WRITE_KEY,children:(0,i.jsx)(j._F,{skipAuth:null==t?void 0:t.skipAuth,children:(0,i.jsx)(S.TA,{config:t_,children:(0,i.jsx)(S.TT,{name:"maintenance_mode",fallback:(0,i.jsx)(eq,{}),reversed:!0,children:(0,i.jsx)(eW.QM,{children:(0,i.jsx)(eW.pC,{children:(0,i.jsx)(E.ih,{children:(0,i.jsx)(e5,{...t,children:e})})})})})})})}),(0,i.jsx)(D.od,{})]})})})}constructor(e){super(e),this.state={errorEventId:void 0}}}var tA=e=>{var t;let{Component:n,pageProps:r}=e;(0,s.Z)(x.i_);let o=tC(r);return o?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g(),{children:(0,i.jsx)("title",{children:"Valve"})}),(0,i.jsx)(p.e,{client:o,children:(0,i.jsx)(tO,{settings:null!==(t=n.settings)&&void 0!==t?t:{},children:(0,i.jsx)(n,{...r})})}),(0,i.jsx)(E.c$,{})]}):null}},38442:function(e,t,n){"use strict";n.d(t,{QM:function(){return w.Q},pE:function(){return c},Ak:function(){return O},pC:function(){return v},Yz:function(){return I.Yz},gB:function(){return I.gB},eC:function(){return P.eC},KR:function(){return w.K},A:function(){return u},dB:function(){return A},wJ:function(){return y}});var r=n(31549),o=n(44194),i=n(75379),a=n(9511),s=n(2490);let l=(0,o.createContext)({}),c=e=>{let{children:t}=e,[n,o]=(0,i.Wd)("office",a.yz);return(0,r.jsxs)(l.Provider,{value:{officeModalId:n,setOfficeModalId:o},children:[t,(0,r.jsx)(s.Xl,{})]})},u=()=>(0,o.useContext)(l);var d=n(31791),f=n(79170),p=n(73921),h=n(63422);function m(){let e=(0,d._)(["\n  query draftOpportunity($id: Int!) {\n    opportunity(id: $id) {\n      id\n      companyLocation {\n        latitude\n        longitude\n      }\n      leads {\n        id\n        offers {\n          officeSuites {\n            id\n          }\n        }\n        office {\n          id\n        }\n      }\n    }\n  }\n"]);return m=function(){return e},e}let g=(0,o.createContext)({}),v=e=>{let{children:t}=e,[n,i]=(0,f.Z)("shortlistBuildings",{}),[a,s]=(0,o.useState)(n||{}),[l,c]=(0,f.Z)("blacklist",{buildingIds:[],suiteIds:[]}),[u,d]=(0,f.Z)("opportunityIdToAddBuildings",null),{data:p}=(0,h.FYT)({variables:{id:Number(u)},skip:!u,onCompleted:e=>{c(e.opportunity.leads.reduce((e,t)=>{var n;return{...e,buildingIds:(null===(n=t.office)||void 0===n?void 0:n.id)?[...e.buildingIds,t.office.id]:e.buildingIds,suiteIds:[...e.suiteIds,...t.offers.flatMap(e=>e.officeSuites.map(e=>e.id))]}},{buildingIds:[],suiteIds:[]}))}});(0,o.useEffect)(()=>{s(n||{})},[n]);let m=(0,o.useMemo)(()=>Object.keys(a).map(Number),[a]),v=(0,o.useMemo)(()=>Object.values(a).flatMap(e=>e),[a]),y=(0,o.useCallback)((e,t)=>{var n;return t?null===(n=a[e])||void 0===n?void 0:n.includes(t):!!a[e]},[a]),b=(0,o.useCallback)((e,t)=>t?l.suiteIds.includes(t):l.buildingIds.includes(e),[l]),w=(0,o.useCallback)((e,t)=>!!u&&b(e,t),[u,b]),S=(0,o.useCallback)(()=>{i({}),s({})},[i]),x=e=>{i(e),s(e)},E=(0,o.useCallback)(e=>{s(t=>{let n={...t};return e.forEach(e=>{let{buildingId:t,suiteIds:r=[]}=e,o=t.toString();n[o]||(n[o]=[]),n[o]=[...new Set([...n[o],...r])]}),i(n),n})},[i]),C=(0,o.useCallback)(e=>{s(t=>{let n={...t,...e.filter(e=>!m.includes(e)).reduce((e,t)=>({...e,[t]:[]}),{})};return i(n),n})},[m,i]),_=(0,o.useCallback)(e=>{let t=e.toString();s(e=>{let n={...e};return delete n[t],i(n),n})},[i]),k=(0,o.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.toString();s(e=>{var r;let o=null===(r=e[n])||void 0===r?void 0:r.filter(e=>!t.includes(e)),a={...e};return(null==o?void 0:o.length)===0?delete a[n]:a[n]=o,i(a),a})},[i]),O=(0,o.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.toString();s(e=>{var r,o;let a=null===(r=e[n])||void 0===r?void 0:r.filter(e=>!t.includes(e)),s={...e};return(null==t?void 0:null===(o=t.filter(Boolean))||void 0===o?void 0:o.length)===0?delete s[n]:s[n]=a,i(s),s})},[i]),A=(0,o.useCallback)(()=>{c({buildingIds:[],suiteIds:[]})},[]);return(0,r.jsx)(g.Provider,{value:{shortlist:a,shortlistBuildingIds:m,shortlistSpaceIds:v,checkIsInShortlist:y,checkIsInBlacklist:b,checkIsAddedToOpportunity:w,clearShortlist:S,setShortlist:x,addToShortlist:E,addManyBuildingsToShortlist:C,removeFromShortlist:O,removeBuildingFromShortlist:_,removeSpacesFromShortlist:k,blacklist:l,setBlacklist:c,clearBlacklist:A,opportunityIdToAddBuildings:u,setOpportunityIdToAddBuildings:d,opportunity:null==p?void 0:p.opportunity,isEmpty:!m.length},children:t})},y=()=>(0,o.useContext)(g);(0,p.ZP)(m());var b=n(6278),w=n(12275);let S=e=>{var t,n;return{isPayingCustomer:!1,showOperatorName:!1,showContactOperators:!1,showBrokerDetails:!1,showMapFilter:!0,showSpaceVisibility:!1,showExternalSpaceId:!0,showViewRequestSettings:!0,showShortlistControls:!0,showOperatorsFilter:!0,showAvailability:!0,isOpportunityTransferEnabled:!1,isReferralGroupingEnabled:!1,isOpportunityCollaborationEnabled:!1,canAccessEnquirySystem:!1,canManageCompanyDetails:(0,b.Fs)(null!==(t=null==e?void 0:e.permissions)&&void 0!==t?t:[],[h.tNS.ManageCompanyDetails]),canManageCompanyMembers:(0,b.Fs)(null!==(n=null==e?void 0:e.permissions)&&void 0!==n?n:[],[h.tNS.UserManagement]),canManageReferralContacts:!0,canManageSubscription:!1,canCreateLeadSuggestions:!1,canManageLeadSuggestions:!1,canManageEnquiryLeadStatus:!1,canManageEnquiryOptions:!1,skipAuth:!1,showLockedAvailabilityPanel:()=>!1,showAvailabilityTab:()=>!0,checkIfCanAccessAvailability:()=>!0,checkIfCanAccessCommission:()=>!0,canAccessEnquiryDetails:()=>!0}},x=e=>{var t,n,r,o,i,a;let s=null==e?void 0:e.operator.isPayingCustomer,l=e=>{var t;return null!=e&&null!==(t=e.officeSuites)&&void 0!==t&&!!t.length||!s};return{...S(e),isPayingCustomer:s,showBrokerDetails:!0,showSpaceVisibility:!0,showShortlistControls:s,canManageSubscription:!s,isOpportunityTransferEnabled:null==e?void 0:null===(t=e.operator)||void 0===t?void 0:t.isOpportunityTransferEnabled,isReferralGroupingEnabled:null==e?void 0:null===(n=e.operator)||void 0===n?void 0:n.isReferralGroupingEnabled,isOpportunityCollaborationEnabled:null==e?void 0:null===(r=e.operator)||void 0===r?void 0:r.isOpportunityCollaborationEnabled,canAccessEnquirySystem:null!==(a=null==e?void 0:null===(i=e.operator)||void 0===i?void 0:null===(o=i.enquirySystemSettings)||void 0===o?void 0:o.enabled)&&void 0!==a&&a,canCreateLeadSuggestions:!0,canManageEnquiryLeadStatus:!0,canManageEnquiryOptions:!0,showLockedAvailabilityPanel:t=>(null==t?void 0:t.operator.id)===(null==e?void 0:e.operator.id)&&!s,showAvailabilityTab:l,checkIfCanAccessAvailability:()=>!0,checkIfCanAccessCommission:t=>t===(null==e?void 0:e.operator.id),canAccessEnquiryDetails:t=>{var n,r,o,i;return null!==(i=(null==t?void 0:t.id)===(null==e?void 0:null===(n=e.operator)||void 0===n?void 0:n.id)&&(null==e?void 0:null===(o=e.operator)||void 0===o?void 0:null===(r=o.enquirySystemSettings)||void 0===r?void 0:r.enabled))&&void 0!==i&&i}}},E=e=>{var t,n,r,o,i;let a=e=>{var t;return(null==e?void 0:null===(t=e.officeSuites)||void 0===t?void 0:t.length)>0};return{...S(e),isPayingCustomer:!0,showOperatorName:!0,showContactOperators:null!==(i=null==e?void 0:e.canSendLeads)&&void 0!==i&&i,showViewRequestSettings:!1,showExternalSpaceId:!1,canManageReferralContacts:(0,b.Fs)(null==e?void 0:e.permissions,[h.tNS.ManagePrivateBuildings]),canManageSubscription:!1,canManageLeadSuggestions:!0,isOpportunityTransferEnabled:null==e?void 0:null===(t=e.agent)||void 0===t?void 0:t.isOpportunityTransferEnabled,isReferralGroupingEnabled:null==e?void 0:null===(n=e.agent)||void 0===n?void 0:n.isReferralGroupingEnabled,isOpportunityCollaborationEnabled:null==e?void 0:null===(r=e.agent)||void 0===r?void 0:r.isOpportunityCollaborationEnabled,canAccessEnquirySystem:null==e?void 0:null===(o=e.agent)||void 0===o?void 0:o.isEnquirySystemEnabled,showLockedAvailabilityPanel:()=>!1,showAvailabilityTab:a,checkIfCanAccessAvailability:e=>{var t;return null==e?void 0:null===(t=e.operator)||void 0===t?void 0:t.isPayingCustomer},checkIfCanAccessCommission:()=>!0,canAccessEnquiryDetails:e=>{var t;return null==e?void 0:null===(t=e.enquirySystemSettings)||void 0===t?void 0:t.enabled}}},C=e=>{var t;return{...S(e),isPayingCustomer:!0,showContactOperators:!0,showBrokerDetails:!0,showSpaceVisibility:!0,canManageSubscription:!0,isOpportunityTransferEnabled:!0,isReferralGroupingEnabled:!0,isOpportunityCollaborationEnabled:!0,canAccessEnquirySystem:null==e?void 0:null===(t=e.agent)||void 0===t?void 0:t.isEnquirySystemEnabled,canCreateLeadSuggestions:!0,canManageLeadSuggestions:!0,canManageEnquiryLeadStatus:!0,showLockedAvailabilityPanel:()=>!1,showAvailabilityTab:()=>!0,checkIfCanAccessAvailability:()=>!0,checkIfCanAccessCommission:()=>!0}},_={[h.FWD.Agent]:e=>E(e),[h.FWD.Operator]:e=>x(e),[h.FWD.Platform]:e=>C(e)},k=(0,o.createContext)({}),O=e=>{var t;let{children:n,override:i={},overrideByType:a={}}=e,{me:s,loading:l}=(0,w.K)(),c=(0,o.useMemo)(()=>{var e;return(null!==(e=_[null==s?void 0:s.type])&&void 0!==e?e:S)(s)},[null==s?void 0:s.type,null==s?void 0:s.permissions]),u=null!==(t=a[null==s?void 0:s.type])&&void 0!==t?t:{};return(0,r.jsx)(k.Provider,{value:{...c,...i,...u,loading:l},children:n})},A=()=>(0,o.useContext)(k);var I=n(18529),P=n(64129)},64129:function(e,t,n){"use strict";let r;n.d(t,{eW:function(){return x},sf:function(){return p},sh:function(){return T.s},BN:function(){return k},Au:function(){return I},p8:function(){return z},eC:function(){return E},Cp:function(){return T.C},LQ:function(){return h},FS:function(){return P}});var o=n(31549),i=n(44194),a=n(79170),s=n(71401),l=n(56840),c=n(57597),u=n(61808),d=n(12275);let f=(0,i.createContext)({state:{},actions:{}});function p(e){var t;let n=(0,s.usePathname)(),{me:r}=(0,d.K)(),{onApplied:p}=(0,u.PU)(),[h,m]=(0,a.Z)("mapCenterLat",null),[g,v]=(0,a.Z)("mapCenterLng",null),y=(0,i.useMemo)(()=>{if(Number(h)&&Number(g))return{lat:Number(h),lng:Number(g)}},[h,g]),b=(0,i.useCallback)(e=>{m(e.lat),v(e.lng)},[m,v]),[w,S]=(0,a.Z)("mapZoom",null),[x,E]=(0,i.useState)(l.ZP.bounds),[C,_]=(0,a.Z)("drawMode",l.ZP.drawMode),[k,O]=(0,a.Z)("drawPath",[]);(0,i.useEffect)(()=>{if((!y||!w)&&(null==r?void 0:r.regions.length)){var e;(null==r?void 0:null===(e=r.selectedRegion)||void 0===e?void 0:e.id)?E((0,c.k0)(null==r?void 0:r.selectedRegion).toJSON()):E((0,c.sO)(null==r?void 0:r.regions).toJSON())}},[y,w,null==r?void 0:r.regions,null==r?void 0:null===(t=r.selectedRegion)||void 0===t?void 0:t.id]),(0,i.useEffect)(()=>{_(null),O(null)},[n]);let A=e=>{e&&p("area",e),O(e)},[I,P]=(0,i.useState)(null),T={state:{mapCenter:y,mapZoom:w,requestedBounds:x,mapBounds:I,drawMode:C,drawPath:k},actions:(0,i.useMemo)(()=>({setMapCenter:b,setMapZoom:S,setRequestedBounds:E,setDrawMode:_,setDrawPath:A,setMapBounds:P}),[])};return(0,o.jsx)(f.Provider,{value:T,...e})}let h=()=>(0,i.useContext)(f);var m=n(11198),g=n.n(m),v=n(70350),y=n(38075),b=n(6278);function w(e){let{latitude:t,longitude:n}=null!=e?e:{};return g()([t,n],isFinite)}let S=(0,i.createContext)({});function x(e){let{state:{drawMode:t,drawPath:n,mapBounds:r},actions:{setDrawMode:a}}=h(),{mapFilters:s}=(0,y.aN)(),{buildings:l,loading:c}=(0,y.K$)({mapFilters:s}),u=(0,i.useMemo)(()=>{let e=null!=l?l:[];if(n&&t===v.mB.SELECTED)try{let t=new google.maps.Polygon({paths:n});e=e.filter(e=>google.maps.geometry.poly.containsLocation(new google.maps.LatLng({lat:e.latitude,lng:e.longitude}),t))}catch(e){console.error("Failed to find building",e),a(null)}return e.filter(w)},[n,t,null==l?void 0:l.length]),d=(0,i.useMemo)(()=>{var e;return(null==s?void 0:null===(e=s.operatorIds)||void 0===e?void 0:e.length)?u.filter(e=>{var t;return null==s?void 0:null===(t=s.operatorIds)||void 0===t?void 0:t.includes(e.operatorId)}):u},[null==s?void 0:s.operatorIds,u]),f=(0,i.useMemo)(()=>r?(0,b.oJ)(d,r):d,[d,r]);return(0,o.jsx)(S.Provider,{value:{buildings:d,buildingsDisplayedOnMap:u,loading:c,buildingsInViewport:f},...e})}let E=()=>(0,i.useContext)(S);var C=n(79827),_=n.n(C);let k=4,O=(0,i.createContext)({}),A=(e,t)=>{let n=new google.maps.LatLng(e);return t.sort((e,t)=>{let r=new google.maps.LatLng({lat:e.latitude,lng:e.longitude}),o=new google.maps.LatLng({lat:t.latitude,lng:t.longitude});return google.maps.geometry.spherical.computeDistanceBetween(r,n)-google.maps.geometry.spherical.computeDistanceBetween(o,n)})};function I(e){let{state:{mapCenter:t}}=h(),[n,r]=(0,i.useState)([]),{buildings:a,buildingsInViewport:s}=E(),l=(0,i.useCallback)(e=>r(t=>_()(t,[e],e=>e.buildingId)),[]),c=(0,i.useMemo)(()=>A(t,s.filter(e=>e.promotionId)).slice(0,k),[null==t?void 0:t.lat,null==t?void 0:t.lng,s]),u=(0,i.useMemo)(()=>A(t,s).map(e=>({...e,promotionId:null})),[null==t?void 0:t.lat,null==t?void 0:t.lng,s]),d=(0,i.useMemo)(()=>[...c,...u],[null==t?void 0:t.lat,null==t?void 0:t.lng,u,c]),f=(0,i.useCallback)(()=>{r(a)},[a]),p=(0,i.useCallback)(()=>{r([])},[]);return(0,o.jsx)(O.Provider,{value:{buildings:d,selectedBuildings:n,promotedBuildings:c,basicBuildings:u,toggleBuildingSelection:l,selectAll:f,selectNone:p},...e})}let P=()=>(0,i.useContext)(O);var T=n(98438);let R=e=>{let t;let n=new Set,r=(e,r)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach(n=>n(t,e))}},o=()=>t,i={setState:r,getState:o,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(r,o,i);return i},M=e=>e?R(e):R;var N=n(81136);let{useDebugValue:j}=i,{useSyncExternalStoreWithSelector:D}=N,L=!1,B=e=>e;function Z(e,t=B,n){n&&!L&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),L=!0);let r=D(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return j(r),r}let F=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?M(e):e,n=(e,n)=>Z(t,e,n);return Object.assign(n,t),n},z=(r=e=>({buildingId:null,setBuildingId:t=>e({buildingId:t})}))?F(r):F},98438:function(e,t,n){"use strict";n.d(t,{C:function(){return u},s:function(){return c}});var r=n(31549),o=n(44194),i=n(79170),a=n(61808);let s=(0,o.createContext)({}),l=!0,c=e=>{let[t,n]=(0,i.Z)("mapSidebarExpanded",l),{onCollapse:o,onExpand:c}=(0,a.iw)(),u=()=>{n(!t),t?o():c()};return(0,r.jsx)(s.Provider,{value:{isExpanded:t,toggleExpanded:u},...e})},u=()=>(0,o.useContext)(s)},12275:function(e,t,n){"use strict";n.d(t,{K:function(){return w},Q:function(){return b}});var r=n(31791),o=n(31549),i=n(44194),a=n(79170),s=n(73921),l=n(71607),c=n.n(l),u=n(36512),d=n(56840),f=n(74992),p=n(57597),h=n(45216),m=n(70658),g=n(63422);function v(){let e=(0,r._)(["\n  fragment Member on Member {\n    id\n    type\n    name\n    email\n    status\n    role\n    avatarUrl\n    createdAt\n    updatedAt\n    requests {\n      id\n      type\n      status\n      createdAt\n    }\n  }\n\n  fragment ReferralContact on Contact {\n    id\n    email\n    type\n    isVerified\n    name\n    createdAt\n  }\n\n  fragment MeAgent on Agent {\n    id\n    name\n    logo\n    website\n    primaryColor\n    branding {\n      id\n      logo\n      logoSvg\n      alternativeLogo\n      templateType\n      backgroundUrl\n      imageUrl\n      videoUrl\n      cssVars\n    }\n    isFloorPlanDrawingEnabled\n    isOpportunityTransferEnabled\n    isReferralGroupingEnabled\n    isOpportunityCollaborationEnabled\n    isEnquirySystemEnabled\n    members {\n      ...Member\n    }\n    ...PdfReportFormView\n  }\n\n  fragment MeOperator on Operator {\n    ...AnalyticsOperator\n    logo\n    website\n    mapPin\n    isPayingCustomer\n    primaryColor\n    marketplaceSettings {\n      enabled\n    }\n    isOpportunityTransferEnabled\n    isReferralGroupingEnabled\n    isOpportunityCollaborationEnabled\n    enquirySystemSettings {\n      enabled\n      averageResponseTime\n    }\n    emailForDistributors\n    company {\n      id\n    }\n    members {\n      ...Member\n    }\n    contacts(where: { types: [] }) {\n      ...ReferralContact\n    }\n  }\n\n  fragment MeState on User {\n    id\n    type\n    userName\n    contact {\n      id\n      name\n      avatarUrl\n      jobTitle\n      email\n      createdAt\n      updatedAt\n      phones {\n        id\n        value\n        type\n      }\n    }\n    regions {\n      id\n      name\n      polygon\n    }\n    selectedRegion {\n      id\n      name\n      polygon\n    }\n    locale\n    permissions\n    currency\n    termAndCondition {\n      id\n      isAccepted\n      updatedAt\n      documentHtmlUrl\n      documentPdfUrl\n    }\n    agent {\n      ...MeAgent\n    }\n    operator {\n      ...MeOperator\n    }\n    canCreateDigitalReport\n    canSendLeads\n    ...DigitalReportFormView\n    ...FullMe\n  }\n\n  query me {\n    me {\n      ...MeState\n    }\n  }\n"]);return v=function(){return e},e}let y=(0,i.createContext)({me:null,organization:null,loading:!1,refetch:()=>Promise.resolve(null),updateRegion:c()}),b=e=>{var t,n,r,s,l,c,v,b,w,S,x,E,C,_,k,O,A,I,P;let{children:T}=e,R=(0,f.dG)(),[M,N]=(0,a.Z)("userCurrency",u.L.value),[j,D]=(0,a.Z)("permissions",[]),{data:L,loading:B,refetch:Z,updateQuery:F}=(0,g.UEB)({onCompleted:e=>{let{me:{locale:t,currency:n,permissions:r,id:o,type:i,contact:a}}=e;(0,p.i_)(t),N(n),D(r),R({userId:"".concat(o)}),(0,h.av)({id:String(o),email:null==a?void 0:a.email,segment:i})}}),z=e=>{F(t=>({...t,me:{...t.me,selectedRegion:e}}))},U=(0,i.useMemo)(()=>{var e,t,n,r,o;return(null==L?void 0:null===(e=L.me)||void 0===e?void 0:e.selectedRegion)?(0,p.k0)(null==L?void 0:null===(n=L.me)||void 0===n?void 0:n.selectedRegion):null!==(o=(0,p.sO)(null!==(r=null==L?void 0:null===(t=L.me)||void 0===t?void 0:t.regions)&&void 0!==r?r:[]))&&void 0!==o?o:null},[null==L?void 0:null===(t=L.me)||void 0===t?void 0:t.regions,null==L?void 0:null===(n=L.me)||void 0===n?void 0:n.selectedRegion]),H=null!==(C=null==L?void 0:null===(r=L.me)||void 0===r?void 0:r.agent)&&void 0!==C?C:{branding:d.ZP.branding,logo:d.ZP.branding.logo},q=(null==L?void 0:null===(s=L.me)||void 0===s?void 0:s.type)===g.FWD.Agent?H:null==L?void 0:null===(l=L.me)||void 0===l?void 0:l.operator,V={planType:(null==L?void 0:null===(v=L.me)||void 0===v?void 0:null===(c=v.operator)||void 0===c?void 0:c.isPayingCustomer)&&(null==L?void 0:null===(b=L.me)||void 0===b?void 0:b.type)===g.FWD.Operator?m.Qe.ENTERPRISE:m.Qe.FREE,activeUsers:(null==L?void 0:null===(x=L.me)||void 0===x?void 0:null===(S=x.operator)||void 0===S?void 0:null===(w=S.members)||void 0===w?void 0:w.filter(e=>e.status===g.XY6.Active).length)||0,billingCycle:"-",renewalDate:"-"};return(0,o.jsx)(y.Provider,{value:{me:{...null==L?void 0:L.me,locale:null!==(_=null==L?void 0:L.me.locale)&&void 0!==_?_:d.ZP.locale,currency:null!==(k=null!=M?M:null==L?void 0:L.me.currency)&&void 0!==k?k:g.Fa6.Gbp,permissions:null!=j?j:null==L?void 0:L.me.permissions,regions:null!==(O=null==L?void 0:L.me.regions)&&void 0!==O?O:[],canCreateDigitalReport:null!==(A=null==L?void 0:L.me.canCreateDigitalReport)&&void 0!==A&&A,bounds:U,agent:{...H,branding:{...null!==(I=null==H?void 0:H.branding)&&void 0!==I?I:{...d.ZP.branding},logo:null!==(P=null==H?void 0:null===(E=H.branding)||void 0===E?void 0:E.logo)&&void 0!==P?P:d.ZP.branding.logo}},subscription:V},organization:q,loading:B,refetch:Z,updateRegion:z},children:T})},w=()=>(0,i.useContext)(y);(0,s.ZP)(v())},18529:function(e,t,n){"use strict";n.d(t,{Jd:function(){return E},Vq:function(){return v},Yz:function(){return C},gB:function(){return y}});var r=n(31791),o=n(31549),i=n(44194),a=n(73921),s=n(38075),l=n(6278),c=n(63422);function u(){let e=(0,r._)(["\n  query buildingsState($where: OfficeWhereInput) {\n    buildings(where: $where) {\n      ...BuildingState\n    }\n  }\n"]);return u=function(){return e},e}function d(){let e=(0,r._)(["\n  mutation updateSpaceAvailability($data: SpaceAvailabilityUpdateInput!) {\n    space {\n      updateAvailability(data: $data) {\n        id\n        status\n      }\n    }\n  }\n"]);return d=function(){return e},e}function f(){let e=(0,r._)(["\n  fragment BuildingState on Office {\n    ...BuildingRowView\n    ...AnalyticsBuilding\n    officeSuites {\n      ...SuiteView\n    }\n    desks {\n      ...DeskView\n    }\n  }\n"]);return f=function(){return e},e}let p=(0,i.createContext)({}),h=e=>{let{monthlyQuotingRateDesk:t,monthlyQuotingRateTotal:n,sizeDesks:r}=e,o=(null==n?void 0:n.from)/(null==r?void 0:r.from),i=(null==n?void 0:n.from)/(null==r?void 0:r.to);return{monthlyQuotingRateDesk:t||{id:null==n?void 0:n.id,isRange:!1,from:Math.min(o,i)}}},m=e=>{let{monthlyQuotingRateSpace:t,monthlyQuotingRateTotal:n,sizeSpace:r}=e,o=(null==n?void 0:n.from)*12/(null==r?void 0:r.from);return{monthlyQuotingRateSpace:t||{id:null==n?void 0:n.id,isRange:!1,from:o}}},g=e=>null==e?void 0:e.map(e=>{var t;return{...e,officeSuites:null==e?void 0:null===(t=e.officeSuites)||void 0===t?void 0:t.map(e=>({...e,...h(e),...m(e)}))}}),v=e=>{let{children:t}=e,[{operator:n}]=(0,s.z9)(),[r]=(0,s.RF)(),{data:a,loading:u,error:d,refetch:f}=(0,c.L9n)({variables:{where:{operator:{id:n||void 0}}}}),h=(0,i.useMemo)(()=>g(null==a?void 0:a.buildings),[null==a?void 0:a.buildings]),m=(0,i.useMemo)(()=>{let{order:e,sort:t}=r,n=(0,l.jl)(h,r).map(n=>({...n,officeSuites:(0,l.z9)(n.officeSuites,{order:e,sort:t})}));return(0,l.$w)(n,{order:e,sort:t})},[h,r]),[v,y]=(0,i.useState)([]),[b,w]=(0,i.useState)([]),S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return y(t=>{let n=null==e?void 0:e.filter(e=>!(null==t?void 0:t.includes(e)));return[...t,...n]})},x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return w(t=>{let n=null==e?void 0:e.filter(e=>!(null==t?void 0:t.includes(e)));return[...t,...n]})},E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return y(t=>t.filter(t=>!e.includes(t)))},C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return w(t=>t.filter(t=>!e.includes(t)))},_=()=>{y([]),w([])};return(0,o.jsx)(p.Provider,{value:{allBuildings:h,buildings:m,refetch:f,loading:u,error:d,selectedBuildings:v,selectedSpaces:b,addBuildingsToSelection:S,removeBuildingsFromSelection:E,addSpacesToSelection:x,removeSpacesFromSelection:C,resetSelection:_},children:t})},y=()=>(0,i.useContext)(p);(0,a.ZP)(u()),(0,a.ZP)(d()),(0,a.ZP)(f());var b=n(79170),w=n(57020),S=n(61808);let x=(0,i.createContext)({}),E=e=>{let{children:t}=e,{t:n}=(0,w.$G)(),{buildingCollapsed:r,buildingExpanded:a,allBuildingCollapsed:c,allBuildingExpanded:u}=(0,S.z_)("BUILDINGS"),[{search:d}]=(0,s.RF)(),{buildings:f}=y(),[p,h]=(0,b.Z)("buildings.list.expanded",[]),[m,g]=(0,i.useState)((null==p?void 0:p.length)?p:f.map(e=>e.id)),v=m.length===f.length;(0,i.useEffect)(()=>h(m),[m]);let E=e=>{a(),g(t=>[...t,e])},C=e=>{r(),g(t=>t.filter(t=>t!==e))},_=()=>{v?(c(),g([])):(u(),g(f.map(e=>e.id)))};return(0,i.useEffect)(()=>{d&&g(f.filter(e=>e.officeSuites.find(e=>{let{name:t}=(0,l.kv)(e,n);return t.toLowerCase().includes(d.toLowerCase())})).map(e=>e.id))},[d,f,n]),(0,o.jsx)(x.Provider,{value:{expandedBuildingIds:m,expandBuilding:E,collapseBuilding:C,toggleAllBuildings:_,allBuildingsExpanded:v},children:t})},C=()=>(0,i.useContext)(x)},63132:function(e,t,n){"use strict";n.d(t,{V9:function(){return k},eW:function(){return d},vq:function(){return x},nf:function(){return O},no:function(){return f},eP:function(){return E}});var r=n(31791),o=n(31549),i=n(44194),a=n(73921),s=n(71401),l=n(63422);function c(){let e=(0,r._)(["\n  fragment OpportunityView on Opportunity {\n    isDeleted\n    companyName\n    status\n    introTitle\n    introMessage\n    user {\n      id\n    }\n    ...DetailsView\n    ...OpportunityFormView\n    ...OpportunityTabsView\n  }\n\n  fragment DigitalReportDocument on DigitalReportDocument {\n    id\n    createdAt\n    optionId\n    referralId\n    status\n    updatedAt\n    url\n  }\n\n  fragment DigitalReportAnalytics on DigitalReportAnalytics {\n    visitsCount\n    lastVisitAt\n  }\n\n  fragment DigitalReport on DigitalReport {\n    id\n    documents {\n      ...DigitalReportDocument\n    }\n    analytics {\n      ...DigitalReportAnalytics\n    }\n    showOperatorDetails\n    type\n    url\n    logoUrl\n  }\n\n  fragment OpportunityState on Opportunity {\n    ...ContactOperatorsFormView\n    ...OpportunityView\n    digitalReport {\n      ...DigitalReport\n    }\n    report {\n      id\n      url\n    }\n  }\n\n  query opportunity($id: Int!) {\n    opportunity(id: $id) {\n      ...OpportunityState\n    }\n  }\n"]);return c=function(){return e},e}let u=(0,i.createContext)({}),d=e=>{let{children:t}=e,n=Number((0,s.useParams)().id),{data:r,loading:i,refetch:a,updateQuery:c}=(0,l.pr4)({variables:{id:n},skip:!n}),d=null==r?void 0:r.opportunity;return(0,o.jsx)(u.Provider,{value:{opportunityId:n,opportunity:d,digitalReport:null==d?void 0:d.digitalReport,report:null==d?void 0:d.report,updateOpportunityQuery:c,loading:i,refetch:a},children:t})},f=()=>(0,i.useContext)(u);(0,a.ZP)(c());var p=n(6278),h=n(24015);function m(){let e=(0,r._)(["\n  fragment ReferralsView on Lead {\n    ...ContactsView\n    building {\n      ...BuildingRowView\n    }\n    ...ReferralsGroupedView\n  }\n"]);return m=function(){return e},e}function g(){let e=(0,r._)(["\n  fragment ReferralsState on Lead {\n    ...ReferralView\n    ...ReferralsView\n    ...ViewingsView\n    order\n    group {\n      id\n      name\n      description\n      order\n    }\n  }\n"]);return g=function(){return e},e}function v(){let e=(0,r._)(["\n  query referralsState(\n    $id: Int!\n    $referralsWhere: LeadWhereInput\n    $referralsSkip: Int\n    $referralsFirst: Int\n    $referralsSearchText: String\n  ) {\n    opportunity(id: $id) {\n      id\n      detailsUpdatedAt\n      leadOrderBy\n      leads(\n        where: $referralsWhere\n        skip: $referralsSkip\n        first: $referralsFirst\n        search: $referralsSearchText\n      ) {\n        ...ReferralsState\n      }\n    }\n  }\n"]);return v=function(){return e},e}function y(){let e=(0,r._)(["\n  mutation updateReferralsOrder(\n    $id: Int!\n    $referralsOrderBy: LeadOrderBy\n    $referralsWhere: LeadWhereInput\n    $referralsSearchText: String\n  ) {\n    opportunity {\n      update(where: { id: $id }, data: { leadOrderBy: $referralsOrderBy }) {\n        id\n        leadOrderBy\n        leads(where: $referralsWhere, search: $referralsSearchText) {\n          ...ReferralsState\n        }\n      }\n    }\n  }\n"]);return y=function(){return e},e}let b=null,w=h.l.ASC,S=(0,i.createContext)({}),x=e=>{var t,n,r;let{children:a}=e,{opportunityId:s}=f(),[c,u]=(0,i.useState)(),[d,h]=(0,i.useState)(""),[m,g]=(0,i.useState)(null),v=!c,y={id:s,referralsWhere:v?void 0:{status:c},referralsSearchText:d},{data:x,refetch:E,loading:C,called:_,updateQuery:k}=(0,l.bbP)({variables:y,skip:!s}),{orderBy:O,sorting:A}=(0,p.af)(null==x?void 0:null===(t=x.opportunity)||void 0===t?void 0:t.leadOrderBy,b,w),I=O===b,[P,{loading:T}]=(0,l.CFF)();async function R(e){k(t=>({...t,opportunity:{...t.opportunity,leadOrderBy:e}})),await P({variables:{...y,referralsOrderBy:e},optimisticResponse:t=>{var n;return{opportunity:{update:{id:t.id,leadOrderBy:e,leads:null==x?void 0:null===(n=x.opportunity)||void 0===n?void 0:n.leads}}}}})}let M=null!==(r=null==x?void 0:null===(n=x.opportunity)||void 0===n?void 0:n.leads)&&void 0!==r?r:[],N=M.some(e=>{let{status:t}=e;return t!==l.kKd.Rejected}),j=!!(!C&&_&&!(null==M?void 0:M.length)&&v),D=!j&&N,L=M.some(e=>!e.enquiry);return(0,o.jsx)(S.Provider,{value:{referrals:M,refetch:E,isEmpty:j,canCreateReport:D,canEnquiryReferrals:L,loading:C||T,status:c,setStatus:u,orderBy:O,orderBySorting:A,setSearchInput:h,selectedOption:m,setSelectedOption:g,isDefaultOrder:I,searchInput:d,updateReferralsOrder:R,updateReferralsQuery:k},children:a})},E=()=>(0,i.useContext)(S);function C(){let e=(0,r._)(["\n  query opportunityEvents($id: Int!) {\n    opportunity(id: $id) {\n      ...ReportActivitiesView\n    }\n  }\n"]);return C=function(){return e},e}(0,a.ZP)(m()),(0,a.ZP)(g()),(0,a.ZP)(v()),(0,a.ZP)(y());let _=(0,i.createContext)({}),k=e=>{var t;let{children:n}=e,r=Number((0,s.useParams)().id),{data:i,loading:a,refetch:c}=(0,l.H0O)({variables:{id:r},skip:!r}),u=null==i?void 0:i.opportunity;return(0,o.jsx)(_.Provider,{value:{events:null!==(t=null==u?void 0:u.events)&&void 0!==t?t:[],loading:a,refetch:c},children:n})},O=()=>(0,i.useContext)(_);(0,a.ZP)(C())},24015:function(e,t,n){"use strict";var r,o;n.d(t,{U:function(){return r},l:function(){return o}}),function(e){e.OPERATOR_NAME="OPERATOR_NAME",e.OFFICE_NAME="OFFICE_NAME",e.OPTIONS="OPTIONS"}(r||(r={})),function(e){e.ASC="ASC",e.DESC="DESC",e.OPTIONS="OPTIONS",e.NO_OPTIONS="NO_OPTIONS"}(o||(o={}))},420:function(e,t,n){"use strict";n.d(t,{j:function(){return S}});var r=n(31791),o=n(31549),i=n(44194),a=n(39830),s=n(73921),l=n(85466),c=n.n(l),u=n(14698),d=n.n(u),f=n(57020),p=n(61808),h=n(38075),m=n(38442),g=n(6278),v=n(63422);function y(){let e=(0,r._)(["\n  fragment ShortlistBuilding on Office {\n    ...Building\n    ...OperatorNameWithLogoView\n    officeSuites(where: $spacesWhere) {\n      ...SuiteView\n    }\n  }\n\n  query shortlistBuildings(\n    $buildingsWhere: OfficeWhereInput\n    $spacesWhere: OfficeSuiteWhereInput\n  ) {\n    buildings: offices(where: $buildingsWhere) {\n      ...ShortlistBuilding\n    }\n  }\n"]);return y=function(){return e},e}let b=(0,i.createContext)({}),w=e=>{let{children:t}=e,{t:n}=(0,f.$G)(),{message:r}=a.Z.useApp(),{shortlistBuildingIds:s,shortlistSpaceIds:l,shortlist:u,setShortlist:y,opportunityIdToAddBuildings:w}=(0,m.wJ)(),{onAllSpacesIncluded:S}=(0,p.vN)("SHORTLIST"),x=(0,i.useMemo)(()=>({buildingsWhere:{id_in:s},spacesWhere:{id_in:(l||[]).filter(e=>!d()(e))}}),[s,l]),{data:E,loading:C,refetch:_}=(0,v.ur0)({variables:x}),{mapFilters:k}=(0,h.aN)(),O=async()=>{var e;let t={spacesWhere:(0,g.Ni)(k),buildingsWhere:{id_in:s,AND:(null==k?void 0:null===(e=k.amenityIds)||void 0===e?void 0:e.length)?null==k?void 0:k.amenityIds.map(e=>({amenities_some:{id:e}})):void 0}},{data:o}=await _(t),i=o.buildings.reduce((e,t)=>{var n,r;return e[t.id]=null!==(r=null===(n=t.officeSuites)||void 0===n?void 0:n.map(e=>e.id))&&void 0!==r?r:[],e},{});if(c()(u,i)){r.info(n("agent:shortlist.no-spaces","There's no additional spaces to include"));return}y(i),S(w),r.success(n("agent:shortlist.success","All spaces have been included"))};return(0,o.jsx)(b.Provider,{value:{buildings:null==E?void 0:E.buildings,refetch:_,loading:C,includeAllSpaces:O},children:t})};t.Z=w;let S=()=>(0,i.useContext)(b);(0,s.ZP)(y())},70658:function(e,t,n){"use strict";var r,o,i,a,s,l;n.d(t,{Lh:function(){return s},Qe:function(){return r},nL:function(){return a},pj:function(){return l},yh:function(){return o},yp:function(){return i}}),function(e){e.FREE="Free",e.PROFESSIONAL="Professional",e.PROFESSIONAL_PLUS="Professional+",e.ENTERPRISE="Enterprise"}(r||(r={})),function(e){e.CUSTOM="Custom",e.INCLUDED="Included",e.EXCLUDED="Excluded"}(o||(o={})),function(e){e.LONDON="London",e.REST_OF_UK="Rest of UK",e.EUROPE="Europe",e.US="US",e.OTHER="Other regions"}(i||(i={})),function(e){e.QUARTERLY="quarterly",e.YEARLY="yearly"}(a||(a={})),function(e){e.PER_BUILDING="PER_BUILDING",e.PLATFORM_FEE="PLATFORM_FEE"}(s||(s={})),function(e){e.MONTHLY="MONTHLY",e.QUARTERLY="QUARTERLY",e.YEARLY="YEARLY"}(l||(l={}))},6278:function(e,t,n){"use strict";n.d(t,{jK:function(){return o},qx:function(){return r},mA:function(){return eS},QY:function(){return eQ},ol:function(){return eE},_Z:function(){return ek},LW:function(){return eb},bd:function(){return ei},jl:function(){return b},oJ:function(){return e2},Pp:function(){return eA},c1:function(){return e_},af:function(){return e1},W3:function(){return eg},wB:function(){return ev},Sb:function(){return ey},R8:function(){return e7},$d:function(){return e8},TL:function(){return eL},sX:function(){return eD},ZT:function(){return tt},UT:function(){return te},D3:function(){return ed},Vu:function(){return tn},Ni:function(){return et},kv:function(){return eo},oK:function(){return e5},qc:function(){return em},NN:function(){return eh},RB:function(){return eZ},Wi:function(){return eM},Yk:function(){return H},In:function(){return eU},Fs:function(){return eT},mL:function(){return eX},mi:function(){return er},cG:function(){return eY},PF:function(){return eC},z9:function(){return z},$w:function(){return $},UW:function(){return ew}});var r,o,i=n(89309),a=n.n(i),s=n(11198),l=n.n(s),c=n(29787),u=n.n(c),d=n(51309),f=n.n(d),p=n(76107),h=n(76152),m=n(63422);function g(e,t){return e&&e.length?1!==e.length&&e[1]?n=>{let r=t(n);return(null==r?void 0:r.isRange)?(null==r?void 0:r.from)<=e[1]&&(null==r?void 0:r.to)>=e[0]:(null==r?void 0:r.from)&&(null==r?void 0:r.from)>=e[0]&&(null==r?void 0:r.from)<=e[1]}:n=>{let r=t(n);return(null==r?void 0:r.from)>=e[0]||(null==r?void 0:r.to)>=e[0]}:void 0}let v=[function(e){let{status:t=[],available_from:n}=e,r=t.filter(e=>!u()(e)).map(e=>m.sXm[f()(a()(e))]);if(r.length)return e=>{var t;let o=e.status===m.sXm.Available&&(0,h.B)(null===(t=e.availableFrom)||void 0===t?void 0:t.from).isAfter((0,h.B)(n));return[m.sXm.Available,m.sXm.Occupied].every(e=>r.includes(e))?r.includes(e.status):(!r.includes(m.sXm.Available)||!o)&&(!!r.includes(m.sXm.Occupied)&&!!o||r.includes(e.status))}},function(e){let{visibility:t=[]}=e;if(t.length)return e=>!!(t.includes(p.J$.PUBLIC)&&e.isPublic||t.includes(p.J$.PRIVATE)&&!e.isPublic)},function(e){let{type:t=[]}=e,n=t.filter(e=>!u()(e)).map(e=>m.SnD[f()(a()(e))]);if(n.length)return e=>n.includes(e.type)},function(e){let{available_from:t}=e;if(t)return e=>{var n;return(0,h.B)(null==e?void 0:null===(n=e.availableFrom)||void 0===n?void 0:n.from)<=(0,h.B)(t)}},function(e){let{desks:t=[]}=e;return g(t,e=>null==e?void 0:e.sizeDesks)},function(e){let{cost_per_desk:t=[]}=e;return g(t,e=>null==e?void 0:e.monthlyQuotingRateDesk)},function(e){let{cost_per_month:t=[]}=e;return g(t,e=>null==e?void 0:e.monthlyQuotingRateTotal)},function(e){let{updated_at:t=[]}=e;if(!t||!(null==t?void 0:t.length))return;let n=t[0]?h.B.utc(t[0]):null,r=t[1]?h.B.utc(t[1]):null;return e=>{let t=(0,h.B)(null==e?void 0:e.updatedAt);return(!n||t>=n)&&(!r||t<=r)}}],y=[function(e){let{search:t}=e;if(t){let e=t.toLowerCase();return t=>{var n,r,o,i,a;return[null!==(r=null==t?void 0:t.name)&&void 0!==r?r:"",null!==(o=null==t?void 0:t.externalId)&&void 0!==o?o:"",null!==(i=null==t?void 0:t.longAddress)&&void 0!==i?i:"",...null!==(a=null==t?void 0:null===(n=t.officeSuites)||void 0===n?void 0:n.map(e=>e.name))&&void 0!==a?a:[]].map(e=>e.toLowerCase()).filter(t=>t.includes(e)).length>0}}}];function b(e,t){if(!(null==e?void 0:e.length))return[];let n=y.map(e=>e(t)).filter(Boolean),r=v.map(e=>e(t)).filter(Boolean),o=e=>e.filter(e=>l()(r,t=>t(e)));return e.filter(e=>l()(n,t=>t(e))).map(e=>{var t;if(!(null==e?void 0:null===(t=e.officeSuites)||void 0===t?void 0:t.length))return(null==r?void 0:r.length)?void 0:e;let n=o(e.officeSuites);if(null==n?void 0:n.length)return{...e,officeSuites:n}}).filter(Boolean)}var w=n(13546),S=n.n(w),x=n(40916),E=n.n(x),C=n(70350),_=n(31791),k=n(73921),O=n(39907),A=n.n(O),I=n(80229),P=n.n(I),T=n(50663),R=n.n(T);function M(){let e=(0,_._)(["\n  fragment SortableSpace on OfficeSuite {\n    name\n    type\n    status\n    availableFrom {\n      id\n      from\n      to\n      isRange\n    }\n    sizeDesks {\n      id\n      from\n      to\n      isRange\n    }\n    sizeSpace {\n      id\n      from\n      to\n      isRange\n      unit\n    }\n    monthlyQuotingRateTotal {\n      id\n      from\n      to\n      isRange\n    }\n    monthlyQuotingRateDesk {\n      id\n      from\n      to\n      isRange\n    }\n  }\n"]);return M=function(){return e},e}let N=(e,t)=>E()(e,e=>e.name.toLowerCase(),t),j=(e,t)=>E()(e,e=>{var t,n;return null!==(n=null===(t=e.sizeDesks)||void 0===t?void 0:t.from)&&void 0!==n?n:0},t),D=(e,t)=>E()(e,e=>{var t,n;return null!==(n=null===(t=e.monthlyQuotingRateDesk)||void 0===t?void 0:t.from)&&void 0!==n?n:0},t),L=(e,t)=>E()(e,e=>{var t,n;return null!==(n=null===(t=e.monthlyQuotingRateTotal)||void 0===t?void 0:t.from)&&void 0!==n?n:0},t),B=(e,t)=>E()(e,e=>e.type,t),Z=(e,t)=>{var n;let r=Date.now(),o=N(e,t),i=A()(o,e=>e.status),a=null!==(n=i[m.sXm.Available])&&void 0!==n?n:[],[s,l]=R()(a,e=>{var t,n;return((null===(t=e.availableFrom)||void 0===t?void 0:t.from)?new Date(null===(n=e.availableFrom)||void 0===n?void 0:n.from).getTime():r)<=r}),c=[...s,...l,...i[m.sXm.UnderOffer]||[],...i[m.sXm.Occupied]||[]];return t===C.KM.ASC?c:[...c].reverse()},F={[p.KZ.NAME]:N,[p.KZ.DESKS]:j,[p.KZ.COST_PER_DESK]:D,[p.KZ.TYPE]:B,[p.KZ.STATUS]:Z,[p.KZ.VISIBILITY]:P(),[p.KZ.COST_PER_MONTH]:L,[p.KZ.AVAILABLE_FROM]:P(),[p.KZ.UPDATED_AT]:P()};function z(e,t){var n;let{sort:r=p.KZ.STATUS,order:o=C.KM.ASC}=t;return e?(null!==(n=F[r])&&void 0!==n?n:N)(e,o):[]}let U=[m.SnD.PrivateOffice,m.SnD.SelfContainedManagedSpace,m.SnD.PipelineManagedSpace,m.SnD.CoworkingDesks,m.SnD.MeetingRoom,m.SnD.EventSpace,m.SnD.Membership,m.SnD.NotSpecified,null];function H(e){let t=Object.values(A()(null!=e?e:[],e=>{var t;return null!==(t=e.type)&&void 0!==t?t:m.SnD.NotSpecified})).map(e=>Z(e,C.KM.ASC));return E()(t,e=>U.indexOf(e[0].type))}(0,k.ZP)(M());let q={[p.KZ.NAME]:"name",[p.KZ.DESKS]:["sizeDesks","from"],[p.KZ.COST_PER_DESK]:["monthlyQuotingRateDesk","from"],[p.KZ.AVAILABLE_FROM]:"availableFrom",[p.KZ.TYPE]:"type",[p.KZ.STATUS]:"status",[p.KZ.VISIBILITY]:"visibility",[p.KZ.COST_PER_MONTH]:["monthlyQuotingRateTotal","from"],[p.KZ.UPDATED_AT]:"updatedAt"},V=(e,t,n)=>e&&t?e&&t?n?e>t?1:-1:e<t?1:-1:0:e?-1:1,W={name:(e,t)=>E()(e,e=>e.name.toLowerCase(),t)},$=(e,t)=>{let{sort:n=p.KZ.NAME,order:r=C.KM.ASC}=t,o=r!==C.KM.DESC,i=F[n],a=W[n];return!a&&i?[...e].sort((e,t)=>V(S()(e.officeSuites[0],q[n]),S()(t.officeSuites[0],q[n]),o)):a(e,r)};var G=n(45563),K=n.n(G);let Y=.1,X=e=>(null==e?void 0:e.filterFn)!==void 0,Q=e=>K()(e),J=e=>{let{field:t,precision:n=0,filterField:r=t}=e;return{condition:e=>{var n,r;return!!(null===(n=e[t])||void 0===n?void 0:n.from)||!!(null===(r=e[t])||void 0===r?void 0:r.to)},filters:[{condition:e=>{var n,r;return!!(null===(n=e[t])||void 0===n?void 0:n.to)&&!!(null===(r=e[t])||void 0===r?void 0:r.from)},filterFn:e=>({[r]:{OR:[{from_lte:Number(e[t].to)+n,to_gte:Number(e[t].from)-n,to_not:null},{from_gte:Number(e[t].from)-n,from_lte:Number(e[t].to)+n,to:null},{to_gte:Number(e[t].from)-n,to_lte:Number(e[t].to)+n,from:null}]}})},{condition:e=>{var n;return!(null===(n=e[t])||void 0===n?void 0:n.to)},filterFn:e=>({[r]:{OR:[{from_gte:Number(e[t].from)-n,to_gte:Number(e[t].from)-n,to_not:null},{from_gte:Number(e[t].from)-n,to:null},{to_gte:Number(e[t].from)-n,from:null}]}})},{condition:e=>{var n;return!(null===(n=e[t])||void 0===n?void 0:n.from)},filterFn:e=>({[r]:{OR:[{from_lte:Number(e[t].to)+n,to_lte:Number(e[t].to)+n},{from:null,to_lte:Number(e[t].to)+n},{from_lte:Number(e[t].to)+n,to_gte:Number(e[t].to)+n},{from_lte:Number(e[t].to)+n,to:null}]}})}]}},ee=[J({field:"sizeDesks"}),J({field:"sizeSpace"}),{condition:e=>{let{sizeSpace:t}=e;return!!(null==t?void 0:t.unit)},filters:[e=>{let{sizeSpace:t}=e;return{sizeSpace:{unit:t.unit}}}]},J({field:"quotingRate",filterField:"monthlyQuotingRateTotal",precision:Y}),{condition:e=>{let{quotingRate:t}=e;return!!(null==t?void 0:t.currency)},filters:[e=>{let{quotingRate:t}=e;return{monthlyQuotingRateCurrency:t.currency}}]},{condition:e=>{let{availableFrom:t}=e;return!!(null==t?void 0:t.from)},filters:[()=>({availableFrom:{from:null},status:m.sXm.Available}),e=>{var t;let{availableFrom:n}=e;return{status_in:[m.sXm.Available,m.sXm.Occupied],availableFrom:{from_lte:null===(t=n.from)||void 0===t?void 0:t.startOf("day").toISOString()}}},()=>({availableFrom:null,status:m.sXm.Available})]},{condition:e=>{let{spaceType:t}=e;return t&&(null==t?void 0:t.length)>0},filters:[e=>{let{spaceType:t}=e;return{type_in:t}}]},{condition:e=>{let{quotingRate:t}=e;return null==t?void 0:t.onlyWithSuites},filters:[()=>({id_gt:0})]}],et=e=>{let t=ee.filter(t=>{let{condition:n}=t;return!n||n(e)}).map(t=>{let{filters:n}=t,r=[...n.filter(X).filter(t=>{let{condition:n}=t;return!n||n(e)}).map(t=>{let{filterFn:n}=t;return n(e)}),...n.filter(Q).map(t=>t(e))];return r?1===r.length?r[0]:{OR:r}:null}).filter(Boolean);if(0!==t.length)return{AND:t}};var en=n(32829);let er=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{let n=new URL(e);if(!n.hostname.includes("imgix"))return e;if(n.search.includes("mark"))return"".concat(e,"&auto=compress");return decodeURIComponent((0,en.KV)(e,{auto:"format",...t}))}catch(t){return e}};function eo(e,t){var n,r;return{name:null!==(r=null==e?void 0:null===(n=e.name)||void 0===n?void 0:n.trim())&&void 0!==r?r:t("untitled","Untitled")}}function ei(e,t){let n=null!=t?t:P(),r=e.from?n(e.from):null,o=e.isRange&&e.to?n(e.to):null;return{from:r,to:o,isRange:!!o&&e.isRange}}var ea=n(61078),es=n(51176);let el=async()=>{try{return(await es.gx.currentSession()).getAccessToken().getJwtToken()}catch(e){console.error("Error while getting token: ",e)}},ec=async()=>{let e=await el();return{Authorization:"Bearer ".concat(e)}},eu=()=>({"x-transaction-id":(0,ea.randomBytes)(20).toString("hex")}),ed=async()=>{let e=await ec(),t=eu();return{...e,...t}};var ef=n(84602),ep=n.n(ef);let eh=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e((!t||t===m.SnD.NotSpecified)&&n?"space-type:miscellaneous.title":"space-type:".concat(ep()(t),".title"))},em=(e,t)=>e("space-type:".concat(ep()(t),".description")),eg=e=>{switch(e){case m.e6o.Date:return["date","ll"];case m.e6o.Month:return["month","MMM YYYY"];case m.e6o.Quarter:return["quarter","[Q]Q YYYY"];case m.e6o.Year:return["year","YYYY"];default:return[]}},ev=(e,t)=>{switch(t){case m.e6o.Date:return e("agent:key-format.date","Day/Month/Year");case m.e6o.Month:return e("agent:key-format.month","Month/Year");case m.e6o.Quarter:return e("agent:key-format.quarter","Quarter/Year");case m.e6o.Year:return e("agent:key-format.year","Year");default:return""}},ey=(e,t)=>{switch(t){case m.NuG.Built:return e("key-type.built","Built (Practical Completion)");case m.NuG.Launched:return e("key-type.launched","Launch");case m.NuG.Renovated:return e("key-type.renovated","Renovated");case m.NuG.UpdateOperator:return e("key-type.update-operator","Changed operator");case m.NuG.Closed:return e("key-type.closed","Closed down");default:return""}};function eb(e){let{key:t,label:n,icon:r,children:o,disabled:i,onClick:a}=e;return{key:t,icon:r,children:o,label:n,disabled:i,onClick:a}}let ew=e=>e.stopPropagation(),eS=new Set([m.SnD.CoworkingDesks,m.SnD.EventSpace,m.SnD.MeetingRoom,m.SnD.Membership,m.SnD.NotSpecified]),ex=new Set([m.SnD.PipelineManagedSpace,m.SnD.PrivateOffice,m.SnD.SelfContainedManagedSpace]);function eE(e){return!(null==e?void 0:e.type)||!ex.has(e.type)}let eC=e=>e.preventDefault();function e_(e){return(null==e?void 0:e.logoSvg)||(null==e?void 0:e.logo)}function ek(e,t){return e.floor?[e.name,t("text.floor-name","{{floor}} floor",{floor:e.floor})].filter(Boolean).join(" - "):e.name}let eO=[{group:m.tmx.Private,permission:m.tNS.ManagePrivateBuildings},{group:m.tmx.Standard,permission:m.tNS.ManagePublicBuildings}],eA=(e,t)=>{let n=eO.filter(e=>{let{permission:n}=e;return null==t?void 0:t.includes(n)}).map(e=>{let{group:t}=e;return t});return n.includes(e)?e:n[0]};var eI=n(93702),eP=n.n(eI);let eT=(e,t)=>t.every(eR(e)),eR=e=>t=>{let{permission:n,when:r}=eP()(t)?t:{permission:t,when:!0};return!r||e.includes(n)};!function(e){e[e.GENERAL=0]="GENERAL",e[e.OPPORTUNITY=1]="OPPORTUNITY",e[e.MEMBERS=2]="MEMBERS",e[e.BRANDING=3]="BRANDING",e[e.ENQUIRY_FOR_AGENT=4]="ENQUIRY_FOR_AGENT",e[e.ENQUIRY_FOR_OPERATOR=5]="ENQUIRY_FOR_OPERATOR"}(r||(r={}));let eM=(e,t)=>({0:{isBeta:!1,testId:"general-sales-panel-card",title:t("agent:upgrade-promo.general.title","Enhanced Team Management"),description:t("agent:upgrade-promo.general.description","Unlock the full control over your team structure and permissions"),listHeader:t("agent:upgrade-promo.general.list-header","What you can expect:"),listItems:[{description:t("agent:upgrade-promo.general.tailor-opportunities-description","Manage access for team members")},{description:t("agent:upgrade-promo.general.book-tours-description","Manage roles and permissions")}],images:["https://valvespace.imgix.net/upgrade-promo/account/general-promo.png"],button:{variant:"upgrade",testId:"contact-sales-panel-general"}},1:{isBeta:!1,testId:"opportunity-sales-panel-card",title:t("agent:upgrade-promo.opportunity.title","Elevate client engagement with opportunities"),listItems:[{header:t("agent:upgrade-promo.opportunity.tailor-opportunities","Tailor opportunities"),description:t("agent:upgrade-promo.opportunity.tailor-opportunities-description","Select and share the best building and space options to meet customer needs.")},{header:t("agent:upgrade-promo.opportunity.customize-brand","Customize your brand"),description:t("agent:upgrade-promo.opportunity.customize-brand-description","Add your own content and branding elements")},{header:t("agent:upgrade-promo.opportunity.streamline-proposals","Streamline proposals"),description:t("agent:upgrade-promo.opportunity.streamline-proposals-description","Design, share, and update proposals seamlessly.")},{header:t("agent:upgrade-promo.opportunity.book-tours","Book tours instantly"),description:t("agent:upgrade-promo.opportunity.book-tours-description","Eliminate delays and schedule tours instantly.")}],images:["https://valvespace.imgix.net/upgrade-promo/opportunities/opportunities_building_promo.png","https://valvespace.imgix.net/upgrade-promo/opportunities/opportunities_digital_promo.png","https://valvespace.imgix.net/upgrade-promo/opportunities/opportunities_tour_promo.png"],button:{variant:"upgrade",testId:"contact-sales-panel-opportunity"}},2:{isBeta:!1,testId:"members-sales-panel-card",title:t("agent:upgrade-promo.members.title","Enhanced Team Management"),description:t("agent:upgrade-promo.members.description","Unlock the full control over your team structure and permissions"),listHeader:t("agent:upgrade-promo.members.list-header","What you can expect:"),listItems:[{description:t("agent:upgrade-promo.members.tailor-opportunities-description","Manage access for team members")},{description:t("agent:upgrade-promo.members.book-tours-description","Manage roles and permissions")}],images:["https://valvespace.imgix.net/upgrade-promo/account/members-promo.png"],button:{variant:"upgrade",testId:"contact-sales-panel-members"}},3:{isBeta:!1,testId:"branding-sales-panel-card",title:t("agent:upgrade-promo.branding.title","Customize Your Brand Identity"),description:t("agent:upgrade-promo.branding.description","Enhance your visibility and appeal to agents and brokers with customized branding"),listHeader:t("agent:upgrade-promo.branding.list-header","What you can expect:"),listItems:[{description:t("agent:upgrade-promo.branding.customize-pin-description","Customizable map pin")},{description:t("agent:upgrade-promo.branding.adjust-color-description","Adjustable colour palette")}],images:["https://valvespace.imgix.net/upgrade-promo/account/branding-promo.png"],button:{variant:"upgrade",testId:"contact-sales-panel-branding"}},4:{testId:"enquiries-sales-panel-card",title:t("agent:upgrade-promo.enquiry.title","Enquiry System"),description:null,isBeta:!0,listHeader:t("agent:upgrade-promo.enquiry.description","A centralised communication system for agents and operators"),listItems:[{description:t("agent:upgrade-promo.enquiry.track-lead-statuses","Track lead statuses")},{description:t("agent:upgrade-promo.enquiry.sync-inventory-automatically","Sync automatically with operators' inventory")},{description:t("agent:upgrade-promo.enquiry.communicate-directly","Communicate directly with operators")},{description:t("agent:upgrade-promo.enquiry.send-reports-faster","Send out reports faster")}],images:["https://valvespace.imgix.net/upgrade-promo/enquiry/status-promo.png","https://valvespace.imgix.net/upgrade-promo/enquiry/inventory-promo.png","https://valvespace.imgix.net/upgrade-promo/enquiry/chat-promo.png","https://valvespace.imgix.net/upgrade-promo/enquiry/report-promo.png"],button:{variant:"contact",contactMail:{subject:"Enquiry about enquiry system",body:"Hey, I'm interested in testing the enquiry system. Please send me all relevant information and enable my account. Thank you."},testId:"contact-sales-panel-enquiries"}},5:{isBeta:!0,testId:"enquiries-sales-panel-card",title:t("agent:upgrade-promo.enquiry.title","Enquiry System"),description:null,listHeader:t("agent:upgrade-promo.enquiry.description","A centralised communication system for agents and operators"),listItems:[{description:t("agent:upgrade-promo.enquiry.respond-to-lead-requests","Respond directly to lead requests")},{description:t("agent:upgrade-promo.enquiry.confirm-pricing-and-availability","Confirm pricing and availability")},{description:t("agent:upgrade-promo.enquiry.resolve-unclear-requirements","Resolve unclear lead requirements")},{description:t("agent:upgrade-promo.enquiry.update-opportunities-instantly","Update agents' opportunities instantly")}],images:["https://valvespace.imgix.net/upgrade-promo/enquiry/respond-directly-promo.png","https://valvespace.imgix.net/upgrade-promo/enquiry/confirm-pricing-promo.png","https://valvespace.imgix.net/upgrade-promo/enquiry/chat-with-agent-promo.png","https://valvespace.imgix.net/upgrade-promo/enquiry/update-opportunity-promo.png"],button:{variant:"contact",contactMail:{subject:"Enquiry about enquiry system",body:"Hey, I'm interested in testing the enquiry system. Please send me all relevant information and enable my account. Thank you."},testId:"contact-sales-panel-enquiries"}}})[e];var eN=n(57020);let ej={[m.xO2.Active]:"rgba(6,99,240,1)",[m.xO2.Lost]:"rgba(255,77,79,1)",[m.xO2.Onhold]:"rgba(140,140,140,1)",[m.xO2.Won]:"rgba(82,196,26,1)"};function eD(e){switch(e){case m.xO2.Active:return eN.ZP.t("agent:opportunity-status.active","Active");case m.xO2.Lost:return eN.ZP.t("agent:opportunity-status.lost","Lost");case m.xO2.Onhold:return eN.ZP.t("agent:opportunity-status.on-hold","On hold");case m.xO2.Won:return eN.ZP.t("agent:opportunity-status.won","Won")}}function eL(e){return ej[e]}var eB=n(70658);let eZ=e=>({[eB.Qe.FREE]:{testId:"free-subscription-card",title:e("agent:subscription.free.title","Free"),description:e("subscription.free.description","Ideal for making your locations visible in the market"),price:{[eB.Lh.PER_BUILDING]:{[eB.pj.MONTHLY]:{amount:{[eB.yp.LONDON]:0,[eB.yp.REST_OF_UK]:0,[eB.yp.EUROPE]:0,[eB.yp.US]:0,[eB.yp.OTHER]:0},description:e("agent:subscription.free.price-description","Forever")}}},features:[{description:e("agent:subscription.free.feature1","Building visibility to brokers")},{description:e("agent:subscription.free.feature2","Basic marketing materials available for brokers")},{description:e("agent:subscription.free.feature3","Amenities on building level")},{description:e("agent:subscription.free.feature4","Referrals from brokers")}],button:{testId:"contact-sales-panel-free"}},[eB.Qe.PROFESSIONAL]:{testId:"professional-subscription-card",title:e("agent:subscription.professional.title","Professional"),description:e("agent:subscription.professional.description","Perfect for boosting brand awareness and broker visibility"),price:{[eB.Lh.PER_BUILDING]:{[eB.pj.MONTHLY]:{amount:{[eB.yp.LONDON]:100,[eB.yp.REST_OF_UK]:50,[eB.yp.EUROPE]:30,[eB.yp.US]:60,[eB.yp.OTHER]:null},description:e("agent:subscription.professional.price-description","per building per month")}}},listHeader:{key:"agent:subscription.professional.list-header",value:"Everything in <strong>Free</strong> plan, plus:"},features:[{description:e("agent:subscription.professional.feature1","Enhanced brand visibility in marketplace")},{description:e("agent:subscription.professional.feature2","Space pricing and availability visible to brokers")},{description:e("agent:subscription.professional.feature3","All marketing materials available for brokers")},{description:e("agent:subscription.professional.feature4","Centralised lead management platform (BETA)")}],button:{testId:"contact-sales-panel-professional"}},[eB.Qe.PROFESSIONAL_PLUS]:{testId:"professional-plus-subscription-card",title:e("agent:subscription.professional_plus.title","Professional+"),description:e("agent:subscription.professional_plus.description","Designed for optimizing collaboration with brokers"),price:{[eB.Lh.PER_BUILDING]:{[eB.pj.MONTHLY]:{amount:{[eB.yp.LONDON]:100,[eB.yp.REST_OF_UK]:50,[eB.yp.EUROPE]:30,[eB.yp.US]:60,[eB.yp.OTHER]:null},description:e("agent:subscription.professional_plus.price-description","per building per month")}},[eB.Lh.PLATFORM_FEE]:{[eB.pj.MONTHLY]:{amount:{[eB.yp.LONDON]:200,[eB.yp.REST_OF_UK]:200,[eB.yp.EUROPE]:240,[eB.yp.US]:240,[eB.yp.OTHER]:null},description:e("agent:subscription.professional_plus.secondary-price-description","platform fee per month")}}},listHeader:{key:"agent:subscription.professional_plus.list-header",value:"Everything in <strong>Professional</strong> plan, plus:"},features:[{description:e("agent:subscription.professional_plus.feature1","Explore the marketplace and compare your brand with others")},{description:e("agent:subscription.professional_plus.feature2","2 Market Explorer licenses")},{description:e("agent:subscription.professional_plus.feature3","Provide pricing and availability updates to brokers efficiently with WMS integration or bulk updates")},{description:e("agent:subscription.professional_plus.feature4","Support & SLA")}],button:{testId:"contact-sales-panel-professional-plus"}},[eB.Qe.ENTERPRISE]:{testId:"enterprise-subscription-card",title:e("agent:subscription.enterprise.title","Enterprise"),description:e("agent:subscription.enterprise.description","Best for accelerating sales process and improving lead-to-viewing conversion"),price:{[eB.Lh.PER_BUILDING]:{[eB.pj.MONTHLY]:{amount:{[eB.yp.LONDON]:100,[eB.yp.REST_OF_UK]:50,[eB.yp.EUROPE]:30,[eB.yp.US]:60,[eB.yp.OTHER]:null},description:e("agent:subscription.professional_plus.price-description","per building per month")}},[eB.Lh.PLATFORM_FEE]:{[eB.pj.MONTHLY]:{amount:{[eB.yp.LONDON]:360,[eB.yp.REST_OF_UK]:360,[eB.yp.EUROPE]:440,[eB.yp.US]:440,[eB.yp.OTHER]:null},description:e("agent:subscription.professional_plus.secondary-price-description","platform fee per month")}}},listHeader:{key:"agent:subscription.enterprise.list-header",value:"Everything in <strong>Professional+</strong> plan, plus:"},features:[{description:e("agent:subscription.enterprise.feature1","Create interactive proposals for your prospect customers")},{description:e("agent:subscription.enterprise.feature2","2 Digital Report licenses")},{description:e("agent:subscription.enterprise.feature3","Optimize lead-to-viewing conversion")},{description:e("agent:subscription.enterprise.feature4","Use new features as a first")}],listFooter:e("agent:subscription.enterprise.list-footer","And many more..."),button:{testId:"contact-sales-panel-enterprise"}}});var eF=n(90292),ez=n.n(eF);function eU(e){let t=null==e?void 0:e.flatMap(e=>e.offers.map(e=>{var t;return null===(t=e.costCondition)||void 0===t?void 0:t.currency}));return ez()(t).filter(Boolean).length>1}var eH=n(51577),eq=n.n(eH);let eV="calendly.com",eW="https://".concat(eV),e$=new(eq())("(https\\://)".concat(eV,"(/:account)(/:calendarName)/invitees(/:eventId)")),eG=new(eq())("(https\\://)".concat(eV,"(/:account)(/:calendarName)")),eK={eventId:"",rescheduleUrl:"/",cancelUrl:"/"},eY=e=>{try{let t=e$.match(e);if(!t)return eK;let{eventId:n}=t;return{eventId:n,rescheduleUrl:"".concat(eW,"/reschedulings/").concat(n),cancelUrl:"".concat(eW,"/cancellations/").concat(n)}}catch(e){return eK}},eX=e=>{try{return e.replace(new RegExp(/\?.*/),"")}catch(t){return e}},eQ=()=>({validator:(e,t)=>{try{let e=eG.match(t);return[!e,!(null==e?void 0:e.account),!(null==e?void 0:e.calendarName)].some(e=>e)?Promise.reject():Promise.resolve()}catch(e){return Promise.reject(e)}},message:eN.ZP.t("agent:calendly.message.invalid-url","Invalid Calendly URL, e.g. https://calendly.com/xxx/yyy")});var eJ=n(24015);let e0={[m.pbT.IdAsc]:{orderBy:void 0,sorting:void 0},[m.pbT.OfficeLocationAsc]:{orderBy:void 0,sorting:void 0},[m.pbT.OfficeLocationDesc]:{orderBy:void 0,sorting:void 0},[m.pbT.OfficeNameAsc]:{orderBy:eJ.U.OFFICE_NAME,sorting:eJ.l.ASC},[m.pbT.OfficeNameDesc]:{orderBy:eJ.U.OFFICE_NAME,sorting:eJ.l.DESC},[m.pbT.OperatorNameAsc]:{orderBy:eJ.U.OPERATOR_NAME,sorting:eJ.l.ASC},[m.pbT.OperatorNameDesc]:{orderBy:eJ.U.OPERATOR_NAME,sorting:eJ.l.DESC},[m.pbT.OptionsOptions]:{orderBy:eJ.U.OPTIONS,sorting:eJ.l.OPTIONS},[m.pbT.OptionsNoOptions]:{orderBy:eJ.U.OPTIONS,sorting:eJ.l.NO_OPTIONS}},e1=(e,t,n)=>{var r;let{orderBy:o=t,sorting:i=n}=null!==(r=e0[e])&&void 0!==r?r:{};return{orderBy:o,sorting:i}};function e2(e,t){let n=new window.google.maps.LatLngBounds;return n.union(t),e.filter(e=>n.contains({lat:e.latitude,lng:e.longitude}))}var e3=n(29287);let e4={[m.sXm.Available]:e3.Z.colors.green[500],[m.sXm.Occupied]:e3.Z.colors.gray[500],[m.sXm.UnderOffer]:e3.Z.colors.yellow[500]};function e5(e){return e4[e]}let e6={[m.kKd.Accepted]:e3.Z.colors.green[700],[m.kKd.Pending]:e3.Z.colors.amber[500],[m.kKd.Rejected]:e3.Z.colors.red[700],[m.kKd.Overturn]:e3.Z.colors.gray[700],[m.kKd.NotSubmitted]:e3.Z.colors.blue[500]};function e8(e){switch(e){case m.kKd.Accepted:return eN.ZP.t("agent:opportunity-lead.accepted","Accepted");case m.kKd.Pending:return eN.ZP.t("agent:opportunity-lead.pending","Pending");case m.kKd.Rejected:return eN.ZP.t("agent:opportunity-lead.declined","Declined");case m.kKd.Overturn:return eN.ZP.t("agent:opportunity-lead.overturn","Overturned");case m.kKd.NotSubmitted:return eN.ZP.t("agent:opportunity-lead.not-submitted","Not submitted")}}function e7(e){return e6[e]}!function(e){e.Available="AVAILABLE",e.Occupied="OCCUPIED"}(o||(o={}));let e9={AVAILABLE:e3.Z.colors.green[700],OCCUPIED:e3.Z.colors.gray[700]};function te(e){switch(e){case"AVAILABLE":return eN.ZP.t("available","Available");case"OCCUPIED":return eN.ZP.t("occupied","Occupied")}}function tt(e){return e9[e]}let tn=e=>{let t=e.split("/");return t?Array(t.length-1).fill("").map((e,n)=>"/"+t.slice(1,n+2).join("/")):[]}},8440:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let r=function(e){return e&&e.__esModule?e:{default:e}}(n(84805));t.default=r,e.exports=r},18232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let r=function(e){return e&&e.__esModule?e:{default:e}}(n(42118));t.default=r,e.exports=r},32962:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var r=n(62632),o=n(37988),i=n(84896),a=n(31605),s=n(44194),l=n(51865),c=n.n(l),u=n(99628),d=(0,s.createContext)({}),f=n(14068),p=n(58611),h=n(75246);function m(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function g(e){return m(e) instanceof ShadowRoot}function v(e){return g(e)?m(e):null}var y=n(6459);function b(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function w(e,t){(0,y.ZP)(e,"[@ant-design/icons] ".concat(t))}function S(e){return"object"===(0,p.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.Z)(e.icon)||"function"==typeof e.icon)}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):(delete t[n],t[b(n)]=r),t},{})}function E(e,t,n){return n?s.createElement(e.tag,(0,f.Z)((0,f.Z)({key:t},x(e.attrs)),n),(e.children||[]).map(function(n,r){return E(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})):s.createElement(e.tag,(0,f.Z)({key:t},x(e.attrs)),(e.children||[]).map(function(n,r){return E(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function C(e){return(0,u.generate)(e)[0]}function _(e){return e?Array.isArray(e)?e:[e]:[]}var k="\n.anticon {\n  display: inline-flex;\n  alignItems: center;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n  line-height: 1;\n}\n\n.anticon svg {\n  display: inline-block;\n}\n\n.anticon::before {\n  display: none;\n}\n\n.anticon .anticon-icon {\n  display: block;\n}\n\n.anticon[tabindex] {\n  cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n  animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n",O=function(e){var t=(0,s.useContext)(d),n=t.csp,r=t.prefixCls,o=k;r&&(o=o.replace(/anticon/g,r)),(0,s.useEffect)(function(){var t=v(e.current);(0,h.hq)(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:t})},[])},A=["icon","className","onClick","style","primaryColor","secondaryColor"],I={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function P(e){var t=e.primaryColor,n=e.secondaryColor;I.primaryColor=t,I.secondaryColor=n||C(t),I.calculated=!!n}function T(){return(0,f.Z)({},I)}var R=function(e){var t=e.icon,n=e.className,r=e.onClick,o=e.style,i=e.primaryColor,l=e.secondaryColor,c=(0,a.Z)(e,A),u=s.useRef(),d=I;if(i&&(d={primaryColor:i,secondaryColor:l||C(i)}),O(u),w(S(t),"icon should be icon definiton, but got ".concat(t)),!S(t))return null;var p=t;return p&&"function"==typeof p.icon&&(p=(0,f.Z)((0,f.Z)({},p),{},{icon:p.icon(d.primaryColor,d.secondaryColor)})),E(p.icon,"svg-".concat(p.name),(0,f.Z)((0,f.Z)({className:n,onClick:r,style:o,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};R.displayName="IconReact",R.getTwoToneColors=T,R.setTwoToneColors=P;var M=R;function N(e){var t=_(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return M.setTwoToneColors({primaryColor:r,secondaryColor:i})}function j(){var e=M.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var D=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];N(u.blue.primary);var L=s.forwardRef(function(e,t){var n=e.className,l=e.icon,u=e.spin,f=e.rotate,p=e.tabIndex,h=e.onClick,m=e.twoToneColor,g=(0,a.Z)(e,D),v=s.useContext(d),y=v.prefixCls,b=void 0===y?"anticon":y,w=v.rootClassName,S=c()(w,b,(0,i.Z)((0,i.Z)({},"".concat(b,"-").concat(l.name),!!l.name),"".concat(b,"-spin"),!!u||"loading"===l.name),n),x=p;void 0===x&&h&&(x=-1);var E=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,C=_(m),k=(0,o.Z)(C,2),O=k[0],A=k[1];return s.createElement("span",(0,r.Z)({role:"img","aria-label":l.name},g,{ref:t,tabIndex:x,onClick:h,className:S}),s.createElement(M,{icon:l,primaryColor:O,secondaryColor:A,style:E}))});L.displayName="AntdIcon",L.getTwoToneColor=j,L.setTwoToneColor=N;var B=L},65529:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62632),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},14603:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(65173),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},6665:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62632),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},38666:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(3704),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},79508:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(7513),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},8738:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(23843),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},40470:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(99719),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},71094:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(61515),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},85926:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(67444),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},77045:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(98639),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},60043:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62632),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"}}]},name:"environment",theme:"outlined"},a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},4452:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(62841),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},26392:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(42281),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},17256:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62632),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},45168:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(97561),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},796:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(67116),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},54600:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62632),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0zm152-237H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224z"}}]},name:"lock",theme:"filled"},a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},68435:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62632),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},18134:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62632),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855.7 210.8l-42.4-42.4a8.03 8.03 0 00-11.3 0L168.3 801.9a8.03 8.03 0 000 11.3l42.4 42.4c3.1 3.1 8.2 3.1 11.3 0L855.6 222c3.2-3 3.2-8.1.1-11.2zM304 448c79.4 0 144-64.6 144-144s-64.6-144-144-144-144 64.6-144 144 64.6 144 144 144zm0-216c39.7 0 72 32.3 72 72s-32.3 72-72 72-72-32.3-72-72 32.3-72 72-72zm416 344c-79.4 0-144 64.6-144 144s64.6 144 144 144 144-64.6 144-144-64.6-144-144-144zm0 216c-39.7 0-72-32.3-72-72s32.3-72 72-72 72 32.3 72 72-32.3 72-72 72z"}}]},name:"percentage",theme:"outlined"},a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},36008:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(16892),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},99723:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(16675),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},98856:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(43583),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},49880:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62632),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]},name:"tag",theme:"outlined"},a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},38474:function(e,t,n){"use strict";var r=n(62632),o=n(44194),i=n(45837),a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},44871:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62632),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=n(32962),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},6294:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});var r=m(n(44194)),o=p(n(51865)),i=n(99628),a=p(n(314)),s=p(n(65302)),l=n(13968),c=n(93091);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function d(e){if(Array.isArray(e))return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function g(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}return i}}function v(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){f(e,t,n[t])})}return e}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function S(e,t){if(null==e)return{};var n,r,o=x(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function x(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function E(e,t){return d(e)||g(e,t)||C(e,t)||v()}function C(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}(0,l.setTwoToneColor)(i.blue.primary);var _=r.forwardRef(function(e,t){var n,i=e.className,l=e.icon,u=e.spin,d=e.rotate,p=e.tabIndex,h=e.onClick,m=e.twoToneColor,g=S(e,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),v=r.useContext(a.default),b=v.prefixCls,x=void 0===b?"anticon":b,C=v.rootClassName,_=(0,o.default)(C,x,(f(n={},"".concat(x,"-").concat(l.name),!!l.name),f(n,"".concat(x,"-spin"),!!u||"loading"===l.name),n),i),k=p;void 0===k&&h&&(k=-1);var O=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,A=E((0,c.normalizeTwoToneColors)(m),2),I=A[0],P=A[1];return r.createElement("span",w(y({role:"img","aria-label":l.name},g),{ref:t,tabIndex:k,onClick:h,className:_}),r.createElement(s.default,{icon:l,primaryColor:I,secondaryColor:P,style:O}))});_.displayName="AntdIcon",_.getTwoToneColor=l.getTwoToneColor,_.setTwoToneColor=l.setTwoToneColor;var k=_},314:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});var r=(0,n(44194).createContext)({})},65302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});var r=s(n(44194)),o=n(93091);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){i(e,t,n[t])})}return e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function d(e,t){if(null==e)return{};var n,r,o=f(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var p={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function h(e){var t=e.primaryColor,n=e.secondaryColor;p.primaryColor=t,p.secondaryColor=n||(0,o.getSecondaryColor)(t),p.calculated=!!n}function m(){return l({},p)}var g=function(e){var t=e.icon,n=e.className,i=e.onClick,a=e.style,s=e.primaryColor,c=e.secondaryColor,f=d(e,["icon","className","onClick","style","primaryColor","secondaryColor"]),h=r.useRef(),m=p;if(s&&(m={primaryColor:s,secondaryColor:c||(0,o.getSecondaryColor)(s)}),(0,o.useInsertStyles)(h),(0,o.warning)((0,o.isIconDefinition)(t),"icon should be icon definiton, but got ".concat(t)),!(0,o.isIconDefinition)(t))return null;var g=t;return g&&"function"==typeof g.icon&&(g=u(l({},g),{icon:g.icon(m.primaryColor,m.secondaryColor)})),(0,o.generate)(g.icon,"svg-".concat(g.name),u(l({className:n,onClick:i,style:a,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{ref:h}))};g.displayName="IconReact",g.getTwoToneColors=m,g.setTwoToneColors=h;var v=g},13968:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getTwoToneColor:function(){return p},setTwoToneColor:function(){return f}});var r=s(n(65302)),o=n(93091);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e){if(Array.isArray(e))return e}function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}return i}}function c(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){return a(e)||l(e,t)||d(e,t)||c()}function d(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}function f(e){var t=u((0,o.normalizeTwoToneColors)(e),2),n=t[0],i=t[1];return r.default.setTwoToneColors({primaryColor:n,secondaryColor:i})}function p(){var e=r.default.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}},84805:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});var r=c(n(44194)),o=s(n(78985)),i=s(n(6294));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var p=function(e,t){return r.createElement(i.default,f(u({},e),{ref:t,icon:o.default}))},h=r.forwardRef(p)},42118:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});var r=c(n(44194)),o=s(n(67901)),i=s(n(6294));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){a(e,t,n[t])})}return e}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var p=function(e,t){return r.createElement(i.default,f(u({},e),{ref:t,icon:o.default}))},h=r.forwardRef(p)},93091:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{generate:function(){return y},getSecondaryColor:function(){return b},iconStyles:function(){return x},isIconDefinition:function(){return g},normalizeAttrs:function(){return v},normalizeTwoToneColors:function(){return w},svgBaseProps:function(){return S},useInsertStyles:function(){return E},warning:function(){return m}});var r=n(99628),o=n(86912),i=n(50756),a=u(n(85904)),s=f(n(44194)),l=u(n(314));function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){c(e,t,n[t])})}return e}function h(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function m(e,t){(0,a.default)(e,"[@ant-design/icons] ".concat(t))}function g(e){return"object"==typeof e&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"==typeof e.icon||"function"==typeof e.icon)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):(delete t[n],t[h(n)]=r),t},{})}function y(e,t,n){return n?s.default.createElement(e.tag,p({key:t},v(e.attrs),n),(e.children||[]).map(function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})):s.default.createElement(e.tag,p({key:t},v(e.attrs)),(e.children||[]).map(function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function b(e){return(0,r.generate)(e)[0]}function w(e){return e?Array.isArray(e)?e:[e]:[]}var S={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},x="\n.anticon {\n  display: inline-flex;\n  alignItems: center;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n  line-height: 1;\n}\n\n.anticon svg {\n  display: inline-block;\n}\n\n.anticon::before {\n  display: none;\n}\n\n.anticon .anticon-icon {\n  display: block;\n}\n\n.anticon[tabindex] {\n  cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n  animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n",E=function(e){var t=(0,s.useContext)(l.default),n=t.csp,r=t.prefixCls,a=x;r&&(a=a.replace(/anticon/g,r)),(0,s.useEffect)(function(){var t=e.current,r=(0,i.getShadowRoot)(t);(0,o.updateCSS)(a,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])}},72654:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(27820),o=n(7732),i=n(52986),a=n(92486),s=n(44194),l=n(51865),c=n.n(l),u=n(38774),d=n(60489),f=n(33581),p=n(24335),h=n(8042),m=n(99489),g=n(6103);function v(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function y(e,t){(0,g.ZP)(e,"[@ant-design/icons] ".concat(t))}function b(e){return"object"===(0,p.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.Z)(e.icon)||"function"==typeof e.icon)}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):(delete t[n],t[v(n)]=r),t},{})}function S(e,t,n){return n?s.createElement(e.tag,(0,f.Z)((0,f.Z)({key:t},w(e.attrs)),n),(e.children||[]).map(function(n,r){return S(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})):s.createElement(e.tag,(0,f.Z)({key:t},w(e.attrs)),(e.children||[]).map(function(n,r){return S(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function x(e){return(0,u.R_)(e)[0]}function E(e){return e?Array.isArray(e)?e:[e]:[]}var C="\n.anticon {\n  display: inline-flex;\n  align-items: center;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n  line-height: 1;\n}\n\n.anticon svg {\n  display: inline-block;\n}\n\n.anticon::before {\n  display: none;\n}\n\n.anticon .anticon-icon {\n  display: block;\n}\n\n.anticon[tabindex] {\n  cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n  animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n",_=function(e){var t=(0,s.useContext)(d.Z),n=t.csp,r=t.prefixCls,o=C;r&&(o=o.replace(/anticon/g,r)),(0,s.useEffect)(function(){var t=e.current,r=(0,m.A)(t);(0,h.hq)(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])},k=["icon","className","onClick","style","primaryColor","secondaryColor"],O={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function A(e){var t=e.primaryColor,n=e.secondaryColor;O.primaryColor=t,O.secondaryColor=n||x(t),O.calculated=!!n}function I(){return(0,f.Z)({},O)}var P=function(e){var t=e.icon,n=e.className,r=e.onClick,o=e.style,i=e.primaryColor,l=e.secondaryColor,c=(0,a.Z)(e,k),u=s.useRef(),d=O;if(i&&(d={primaryColor:i,secondaryColor:l||x(i)}),_(u),y(b(t),"icon should be icon definiton, but got ".concat(t)),!b(t))return null;var p=t;return p&&"function"==typeof p.icon&&(p=(0,f.Z)((0,f.Z)({},p),{},{icon:p.icon(d.primaryColor,d.secondaryColor)})),S(p.icon,"svg-".concat(p.name),(0,f.Z)((0,f.Z)({className:n,onClick:r,style:o,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};P.displayName="IconReact",P.getTwoToneColors=I,P.setTwoToneColors=A;var T=P;function R(e){var t=E(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return T.setTwoToneColors({primaryColor:r,secondaryColor:i})}function M(){var e=T.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var N=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];R(u.iN.primary);var j=s.forwardRef(function(e,t){var n=e.className,l=e.icon,u=e.spin,f=e.rotate,p=e.tabIndex,h=e.onClick,m=e.twoToneColor,g=(0,a.Z)(e,N),v=s.useContext(d.Z),y=v.prefixCls,b=void 0===y?"anticon":y,w=v.rootClassName,S=c()(w,b,(0,i.Z)((0,i.Z)({},"".concat(b,"-").concat(l.name),!!l.name),"".concat(b,"-spin"),!!u||"loading"===l.name),n),x=p;void 0===x&&h&&(x=-1);var C=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,_=E(m),k=(0,o.Z)(_,2),O=k[0],A=k[1];return s.createElement("span",(0,r.Z)({role:"img","aria-label":l.name},g,{ref:t,tabIndex:x,onClick:h,className:S}),s.createElement(T,{icon:l,primaryColor:O,secondaryColor:A,style:C}))});j.displayName="AntdIcon",j.getTwoToneColor=M,j.setTwoToneColor=R;var D=j},60489:function(e,t,n){"use strict";var r=(0,n(44194).createContext)({});t.Z=r},72190:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(9495),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},70524:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(65173),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},47330:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(7513),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},40153:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(23843),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},4999:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(61515),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},21740:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(37885),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},12834:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(62841),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},97989:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(14018),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},22900:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27820),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},63740:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(97561),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},21075:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(67116),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},60540:function(e,t,n){"use strict";var r=n(27820),o=n(44194),i=n(43583),a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))},l=o.forwardRef(s);t.Z=l},24663:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27820),o=n(44194),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=n(72654),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))},l=o.forwardRef(s)},18745:function(e,t,n){"use strict";let r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,y,b,w;function S(e,t){return null!=e?e:t()}function x(e){let t;let n=e[0],r=1;for(;r<e.length;){let o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):("call"===o||"optionalCall"===o)&&(n=i((...e)=>n.call(t,...e)),t=void 0)}return n}var E,C,_=n(62010),k=n(40351);function O(e,t){let n=t&&t.getDsn(),r=t&&t.getOptions().tunnel;return I(e,n)||A(e,r)}function A(e,t){return!!t&&P(e)===P(t)}function I(e,t){return!!t&&e.includes(t.host)}function P(e){return"/"===e[e.length-1]?e.slice(0,-1):e}var T=n(45216),R=n(66441),M=n(18871),N=n(57957),j=n(55158),D=n(53531),L=n(31187),B=n(18141),Z=n(99124),F=n(77740),z=n(56007),U=n(21229),H=n(96481),q=n(83893),V=n(56821),W=n(20771),$=n(91834),G=n(79895);function K(){return!(0,$.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==G?G:0)}function Y(){return"undefined"!=typeof window&&(!K()||X())}function X(){return void 0!==D.GLOBAL_OBJ.process&&"renderer"===D.GLOBAL_OBJ.process.type}var Q=n(35969),J=n(89e3),ee=n(6944);let et=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",en=(e,t,n,r)=>{let o,i;return a=>{t.value>=0&&(a||r)&&((i=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=i,t.rating=et(t.value,n),e(t))}};var er=n(28251);let eo=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,ei=()=>er.m.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],ea=()=>{let e=ei();return e&&e.activationStart||0},es=(e,t)=>{let n=ei(),r="navigate";return n&&(er.m.document&&er.m.document.prerendering||ea()>0?r="prerender":er.m.document&&er.m.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:eo(),navigationType:r}},el=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},ec=e=>{let t=t=>{("pagehide"===t.type||er.m.document&&"hidden"===er.m.document.visibilityState)&&e(t)};er.m.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},eu=e=>{let t=!1;return n=>{t||(e(n),t=!0)}},ed=-1,ef=()=>{ed="hidden"!==er.m.document.visibilityState||er.m.document.prerendering?1/0:0},ep=e=>{"hidden"===er.m.document.visibilityState&&ed>-1&&(ed="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("visibilitychange",ep,!0),removeEventListener("prerenderingchange",ep,!0))},eh=()=>{addEventListener("visibilitychange",ep,!0),addEventListener("prerenderingchange",ep,!0)},em=()=>(er.m.document&&ed<0&&(ef(),eh()),{get firstHiddenTime(){return ed}}),eg=e=>{er.m.document&&er.m.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},ev=[1800,3e3],ey=(e,t={})=>{eg(()=>{let n;let r=em(),o=es("FCP"),i=el("paint",e=>{e.forEach(e=>{"first-contentful-paint"===e.name&&(i.disconnect(),e.startTime<r.firstHiddenTime&&(o.value=Math.max(e.startTime-ea(),0),o.entries.push(e),n(!0)))})});i&&(n=en(e,o,ev,t.reportAllChanges))})},eb=[.1,.25],ew=(e,t={})=>{ey(eu(()=>{let n;let r=es("CLS",0),o=0,i=[],a=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=i[0],n=i[i.length-1];o&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,i.push(e)):(o=e.value,i=[e])}}),o>r.value&&(r.value=o,r.entries=i,n())},s=el("layout-shift",a);s&&(n=en(e,r,eb,t.reportAllChanges),ec(()=>{a(s.takeRecords()),n(!0)}),setTimeout(n,0))}))},eS=[100,300],ex=(e,t={})=>{eg(()=>{let n;let r=em(),o=es("FID"),i=e=>{e.startTime<r.firstHiddenTime&&(o.value=e.processingStart-e.startTime,o.entries.push(e),n(!0))},a=e=>{e.forEach(i)},s=el("first-input",a);n=en(e,o,eS,t.reportAllChanges),s&&ec(eu(()=>{a(s.takeRecords()),s.disconnect()}))})},eE=0,eC=1/0,e_=0,ek=e=>{e.forEach(e=>{e.interactionId&&(eC=Math.min(eC,e.interactionId),eE=(e_=Math.max(e_,e.interactionId))?(e_-eC)/7+1:0)})},eO=()=>r?eE:performance.interactionCount||0,eA=()=>{"interactionCount"in performance||r||(r=el("event",ek,{type:"event",buffered:!0,durationThreshold:0}))},eI=[200,500],eP=0,eT=()=>eO()-eP,eR=10,eM=[],eN={},ej=e=>{let t=eM[eM.length-1],n=eN[e.interactionId];if(n||eM.length<eR||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};eN[t.id]=t,eM.push(t)}eM.sort((e,t)=>t.latency-e.latency),eM.splice(eR).forEach(e=>{delete eN[e.id]})}},eD=()=>{let e=Math.min(eM.length-1,Math.floor(eT()/50));return eM[e]},eL=(e,t={})=>{eg(()=>{let n;eA();let r=es("INP"),o=e=>{e.forEach(e=>{e.interactionId&&ej(e),"first-input"!==e.entryType||eM.some(t=>t.entries.some(t=>e.duration===t.duration&&e.startTime===t.startTime))||ej(e)});let t=eD();t&&t.latency!==r.value&&(r.value=t.latency,r.entries=t.entries,n())},i=el("event",o,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});n=en(e,r,eI,t.reportAllChanges),i&&("PerformanceEventTiming"in er.m&&"interactionId"in PerformanceEventTiming.prototype&&i.observe({type:"first-input",buffered:!0}),ec(()=>{o(i.takeRecords()),r.value<0&&eT()>0&&(r.value=0,r.entries=[]),n(!0)}))})},eB=[2500,4e3],eZ={},eF=(e,t={})=>{eg(()=>{let n;let r=em(),o=es("LCP"),i=e=>{let t=e[e.length-1];t&&t.startTime<r.firstHiddenTime&&(o.value=Math.max(t.startTime-ea(),0),o.entries=[t],n())},a=el("largest-contentful-paint",i);if(a){n=en(e,o,eB,t.reportAllChanges);let r=eu(()=>{eZ[o.id]||(i(a.takeRecords()),a.disconnect(),eZ[o.id]=!0,n(!0))});["keydown","click"].forEach(e=>{er.m.document&&addEventListener(e,()=>setTimeout(r,0),!0)}),ec(r)}})},ez=[800,1800],eU=e=>{er.m.document&&er.m.document.prerendering?eg(()=>eU(e)):er.m.document&&"complete"!==er.m.document.readyState?addEventListener("load",()=>eU(e),!0):setTimeout(e,0)},eH=(e,t={})=>{let n=es("TTFB"),r=en(e,n,ez,t.reportAllChanges);eU(()=>{let e=ei();if(e){let t=e.responseStart;if(t<=0||t>performance.now())return;n.value=Math.max(t-ea(),0),n.entries=[e],r(!0)}})},eq={},eV={};function eW(e,t=!1){return e4("cls",e,eJ,o,t)}function e$(e,t=!1){return e4("lcp",e,e1,a,t)}function eG(e){return e4("fid",e,e0,i)}function eK(e){return e4("ttfb",e,e2,s)}function eY(e){return e4("inp",e,e3,l)}function eX(e,t){return e6(e,t),eV[e]||(e5(e),eV[e]=!0),e8(e,t)}function eQ(e,t){let n=eq[e];if(n&&n.length)for(let r of n)try{r(t)}catch(t){ee.X&&z.kg.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${(0,J.$P)(r)}
Error:`,t)}}function eJ(){return ew(e=>{eQ("cls",{metric:e}),o=e},{reportAllChanges:!0})}function e0(){return ex(e=>{eQ("fid",{metric:e}),i=e})}function e1(){return eF(e=>{eQ("lcp",{metric:e}),a=e})}function e2(){return eH(e=>{eQ("ttfb",{metric:e}),s=e})}function e3(){return eL(e=>{eQ("inp",{metric:e}),l=e})}function e4(e,t,n,r,o=!1){let i;return e6(e,t),eV[e]||(i=n(),eV[e]=!0),r&&t({metric:r}),e8(e,t,o?i:void 0)}function e5(e){let t={};"event"===e&&(t.durationThreshold=0),el(e,t=>{eQ(e,{entries:t})},t)}function e6(e,t){eq[e]=eq[e]||[],eq[e].push(t)}function e8(e,t,n){return()=>{n&&n();let r=eq[e];if(!r)return;let o=r.indexOf(t);-1!==o&&r.splice(o,1)}}var e7=n(85410),e9=n(27279),te=n(49418);let tt=D.GLOBAL_OBJ,tn="sentryReplaySession",tr="replay_event",to="Unable to send Replay",ti=3e5,ta=9e5,ts=5e3,tl=5500,tc=6e4,tu=5e3,td=3,tf=15e4,tp=5e3,th=3e3,tm=300,tg=2e7,tv=4999,ty=15e3,tb=36e5;function tw(e,t){return null!=e?e:t()}function tS(e){let t;let n=e[0],r=1;for(;r<e.length;){let o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):("call"===o||"optionalCall"===o)&&(n=i((...e)=>n.call(t,...e)),t=void 0)}return n}function tx(e){return e.nodeType===e.ELEMENT_NODE}function tE(e){let t=tS([e,"optionalAccess",e=>e.host]);return tS([t,"optionalAccess",e=>e.shadowRoot])===e}function tC(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function t_(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),e}function tk(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}function tO(e){try{let t=e.rules||e.cssRules;return t?t_(Array.from(t,tA).join("")):null}catch(e){return null}}function tA(e){let t;if(tP(e))try{t=tO(e.styleSheet)||tk(e)}catch(e){}else if(tT(e)&&e.selectorText.includes(":"))return tI(e.cssText);return t||e.cssText}function tI(e){let t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function tP(e){return"styleSheet"in e}function tT(e){return"selectorText"in e}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(E||(E={}));class tR{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){return e?tw(tS([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]),()=>-1):-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function tM(){return new tR}function tN({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function tj({isMasked:e,element:t,value:n,maskInputFn:r}){let o=n||"";return e?(r&&(o=r(o,t)),"*".repeat(o.length)):o}function tD(e){return e.toLowerCase()}function tL(e){return e.toUpperCase()}let tB="__rrweb_original__";function tZ(e){let t=e.getContext("2d");if(!t)return!0;let n=50;for(let r=0;r<e.width;r+=n)for(let o=0;o<e.height;o+=n){let i=t.getImageData;if(new Uint32Array((tB in i?i[tB]:i).call(t,r,o,Math.min(n,e.width-r),Math.min(n,e.height-o)).data.buffer).some(e=>0!==e))return!1}return!0}function tF(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?tD(t):null}function tz(e,t,n){return"INPUT"===t&&("radio"===n||"checkbox"===n)?e.getAttribute("value")||"":e.value}let tU=1,tH=RegExp("[^a-z0-9-_:]"),tq=-2;function tV(){return tU++}function tW(e){if(e instanceof HTMLFormElement)return"form";let t=tD(e.tagName);return tH.test(t)?"div":t}function t$(e){let t="";return(t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0]).split("?")[0]}let tG=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,tK=/^(?:[a-z+]+:)?\/\//i,tY=/^www\..*/i,tX=/^(data:)([^,]*),(.*)/i;function tQ(e,t){return(e||"").replace(tG,(e,n,r,o,i,a)=>{let s=r||i||a,l=n||o||"";if(!s)return e;if(tK.test(s)||tY.test(s)||tX.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${t$(t)+s}${l})`;let c=t.split("/"),u=s.split("/");for(let e of(c.pop(),u))"."!==e&&(".."===e?c.pop():c.push(e));return`url(${l}${c.join("/")}${l})`})}let tJ=/^[^ \t\n\r\u000c]+/,t0=/^[, \t\n\r\u000c]+/;function t1(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;let o=e.exec(t.substring(n));return o?(r=o[0],n+=r.length,r):""}let o=[];for(;r(t0),!(n>=t.length);){let i=r(tJ);if(","===i.slice(-1))i=t2(e,i.substring(0,i.length-1)),o.push(i);else{let r="";i=t2(e,i);let a=!1;for(;;){let e=t.charAt(n);if(""===e){o.push((i+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){n+=1,o.push((i+r).trim());break}"("===e&&(a=!0)}r+=e,n+=1}}}return o.join(", ")}function t2(e,t){if(!t||""===t.trim())return t;let n=e.createElement("a");return n.href=t,n.href}function t3(e){return!!("svg"===e.tagName||e.ownerSVGElement)}function t4(){let e=document.createElement("a");return e.href="",e.href}function t5(e,t,n,r,o,i){return r?"src"!==n&&("href"!==n||"use"===t&&"#"===r[0])&&("xlink:href"!==n||"#"===r[0])&&("background"!==n||"table"!==t&&"td"!==t&&"th"!==t)?"srcset"===n?t1(e,r):"style"===n?tQ(r,t4()):"object"===t&&"data"===n?t2(e,r):"function"==typeof i?i(n,r,o):r:t2(e,r):r}function t6(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function t8(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}function t7(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}function t9(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:t9(e.parentNode,t,n,r+1)}function ne(e,t){return n=>{let r=n;if(null===r)return!1;try{if(e){if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(t7(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch(e){return!1}}}function nt(e,t,n,r,o,i){try{let a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){let e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(i){if((l=t9(a,ne(r,o)))<0)return!0;s=t9(a,ne(t,n),l>=0?l:1/0)}else{if((s=t9(a,ne(t,n)))<0)return!1;l=t9(a,ne(r,o),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!i}catch(e){}return!!i}function nn(e,t,n){let r;let o=e.contentWindow;if(!o)return;let i=!1;try{r=o.document.readyState}catch(e){return}if("complete"!==r){let r=setTimeout(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{clearTimeout(r),i=!0,t()});return}let a="about:blank";if(o.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function nr(e,t,n){let r,o=!1;try{r=e.sheet}catch(e){return}if(r)return;let i=setTimeout(()=>{o||(t(),o=!0)},n);e.addEventListener("load",()=>{clearTimeout(i),o=!0,t()})}function no(e,t){let{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:a,maskAllText:s,maskAttributeFn:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:h={},maskTextFn:m,maskInputFn:g,dataURLOptions:v={},inlineImages:y,recordCanvas:b,keepIframeSrcFn:w,newlyAddedElement:S=!1}=t,x=ni(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:E.Document,childNodes:[],compatMode:e.compatMode};return{type:E.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:E.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:x};case e.ELEMENT_NODE:return ns(e,{doc:n,blockClass:o,blockSelector:i,unblockSelector:a,inlineStylesheet:p,maskAttributeFn:l,maskInputOptions:h,maskInputFn:g,dataURLOptions:v,inlineImages:y,recordCanvas:b,keepIframeSrcFn:w,newlyAddedElement:S,rootId:x,maskAllText:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f});case e.TEXT_NODE:return na(e,{maskAllText:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:m,maskInputOptions:h,maskInputFn:g,rootId:x});case e.CDATA_SECTION_NODE:return{type:E.CDATA,textContent:"",rootId:x};case e.COMMENT_NODE:return{type:E.Comment,textContent:e.textContent||"",rootId:x};default:return!1}}function ni(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return 1===n?void 0:n}function na(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:o,maskTextSelector:i,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:l,maskInputFn:c,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName,f=e.textContent,p="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(p&&f){try{e.nextSibling||e.previousSibling||tS([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(f=tO(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}f=tQ(f,t4())}h&&(f="SCRIPT_PLACEHOLDER");let g=nt(e,r,i,o,a,n);return p||h||m||!f||!g||(f=s?s(f,e.parentElement):f.replace(/[\S]/g,"*")),m&&f&&(l.textarea||g)&&(f=c?c(f,e.parentNode):f.replace(/[\S]/g,"*")),"OPTION"===d&&f&&(f=tj({isMasked:nt(e,r,i,o,a,tN({type:null,tagName:d,maskInputOptions:l})),element:e,value:f,maskInputFn:c})),{type:E.Text,textContent:f||"",isStyle:p,rootId:u}}function ns(e,t){let n;let{doc:r,blockClass:o,blockSelector:i,unblockSelector:a,inlineStylesheet:s,maskInputOptions:l={},maskAttributeFn:d,maskInputFn:f,dataURLOptions:p={},inlineImages:h,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:v=!1,rootId:y,maskAllText:b,maskTextClass:w,unmaskTextClass:S,maskTextSelector:x,unmaskTextSelector:C}=t,_=t8(e,o,i,a),k=tW(e),O={},A=e.attributes.length;for(let t=0;t<A;t++){let n=e.attributes[t];n.name&&!t6(k,n.name,n.value)&&(O[n.name]=t5(r,k,tD(n.name),n.value,e,d))}if("link"===k&&s){let t=Array.from(r.styleSheets).find(t=>t.href===e.href),n=null;t&&(n=tO(t)),n&&(delete O.rel,delete O.href,O._cssText=tQ(n,t.href))}if("style"===k&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=tO(e.sheet);t&&(O._cssText=tQ(t,t4()))}if("input"===k||"textarea"===k||"select"===k||"option"===k){let t=e,n=tF(t),r=tz(t,tL(k),n),o=t.checked;if("submit"!==n&&"button"!==n&&r){let e=nt(t,w,x,S,C,tN({type:n,tagName:tL(k),maskInputOptions:l}));O.value=tj({isMasked:e,element:t,value:r,maskInputFn:f})}o&&(O.checked=o)}if("option"===k&&(e.selected&&!l.select?O.selected=!0:delete O.selected),"canvas"===k&&m){if("2d"===e.__context)tZ(e)||(O.rr_dataURL=e.toDataURL(p.type,p.quality));else if(!("__context"in e)){let t=e.toDataURL(p.type,p.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(p.type,p.quality)&&(O.rr_dataURL=t)}}if("img"===k&&h){c||(u=(c=r.createElement("canvas")).getContext("2d"));let t=e,n=t.crossOrigin;t.crossOrigin="anonymous";let o=()=>{t.removeEventListener("load",o);try{c.width=t.naturalWidth,c.height=t.naturalHeight,u.drawImage(t,0,0),O.rr_dataURL=c.toDataURL(p.type,p.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}n?O.crossOrigin=n:t.removeAttribute("crossorigin")};t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o)}if(("audio"===k||"video"===k)&&(O.rr_mediaState=e.paused?"paused":"played",O.rr_mediaCurrentTime=e.currentTime),!v&&(e.scrollLeft&&(O.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(O.rr_scrollTop=e.scrollTop)),_){let{width:t,height:n}=e.getBoundingClientRect();O={class:O.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==k||g(O.src)||(e.contentDocument||(O.rr_src=O.src),delete O.src);try{customElements.get(k)&&(n=!0)}catch(e){}return{type:E.Element,tagName:k,attributes:O,childNodes:[],isSVG:t3(e)||void 0,needBlock:_,rootId:y,isCustom:n}}function nl(e){return null==e?"":e.toLowerCase()}function nc(e,t){if(t.comment&&e.type===E.Comment)return!0;if(e.type===E.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js"))||t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(nl(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===nl(e.attributes.name)||"icon"===nl(e.attributes.rel)||"apple-touch-icon"===nl(e.attributes.rel)||"shortcut icon"===nl(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&nl(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(nl(e.attributes.property).match(/^(og|twitter|fb):/)||nl(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===nl(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===nl(e.attributes.name)||"googlebot"===nl(e.attributes.name)||"bingbot"===nl(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===nl(e.attributes.name)||"generator"===nl(e.attributes.name)||"framework"===nl(e.attributes.name)||"publisher"===nl(e.attributes.name)||"progid"===nl(e.attributes.name)||nl(e.attributes.property).match(/^article:/)||nl(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===nl(e.attributes.name)||"yandex-verification"===nl(e.attributes.name)||"csrf-token"===nl(e.attributes.name)||"p:domain_verify"===nl(e.attributes.name)||"verify-v1"===nl(e.attributes.name)||"verification"===nl(e.attributes.name)||"shopify-checkout-api-token"===nl(e.attributes.name)))return!0}}return!1}function nu(e,t){let n;let{doc:r,mirror:o,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,skipChild:p=!1,inlineStylesheet:h=!0,maskInputOptions:m={},maskAttributeFn:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:b,dataURLOptions:w={},inlineImages:S=!1,recordCanvas:x=!1,onSerialize:C,onIframeLoad:_,iframeLoadTimeout:k=5e3,onStylesheetLoad:O,stylesheetLoadTimeout:A=5e3,keepIframeSrcFn:I=()=>!1,newlyAddedElement:P=!1}=t,{preserveWhiteSpace:T=!0}=t,R=no(e,{doc:r,mirror:o,blockClass:i,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:m,maskAttributeFn:g,maskTextFn:v,maskInputFn:y,dataURLOptions:w,inlineImages:S,recordCanvas:x,keepIframeSrcFn:I,newlyAddedElement:P});if(!R)return console.warn(e,"not serialized"),null;n=o.hasNode(e)?o.getId(e):!nc(R,b)&&(T||R.type!==E.Text||R.isStyle||R.textContent.replace(/^\s+|\s+$/gm,"").length)?tV():tq;let M=Object.assign(R,{id:n});if(o.add(e,M),n===tq)return null;C&&C(e);let N=!p;if(M.type===E.Element){N=N&&!M.needBlock,delete M.needBlock;let t=e.shadowRoot;t&&tC(t)&&(M.isShadowHost=!0)}if((M.type===E.Document||M.type===E.Element)&&N){b.headWhitespace&&M.type===E.Element&&"head"===M.tagName&&(T=!1);let t={doc:r,mirror:o,blockClass:i,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,skipChild:p,inlineStylesheet:h,maskInputOptions:m,maskAttributeFn:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:b,dataURLOptions:w,inlineImages:S,recordCanvas:x,preserveWhiteSpace:T,onSerialize:C,onIframeLoad:_,iframeLoadTimeout:k,onStylesheetLoad:O,stylesheetLoadTimeout:A,keepIframeSrcFn:I};for(let n of Array.from(e.childNodes)){let e=nu(n,t);e&&M.childNodes.push(e)}if(tx(e)&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=nu(n,t);r&&(tC(e.shadowRoot)&&(r.isShadow=!0),M.childNodes.push(r))}}return e.parentNode&&tE(e.parentNode)&&tC(e.parentNode)&&(M.isShadow=!0),M.type===E.Element&&"iframe"===M.tagName&&nn(e,()=>{let t=e.contentDocument;if(t&&_){let n=nu(t,{doc:t,mirror:o,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:m,maskAttributeFn:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:b,dataURLOptions:w,inlineImages:S,recordCanvas:x,preserveWhiteSpace:T,onSerialize:C,onIframeLoad:_,iframeLoadTimeout:k,onStylesheetLoad:O,stylesheetLoadTimeout:A,keepIframeSrcFn:I});n&&_(e,n)}},k),M.type===E.Element&&"link"===M.tagName&&"stylesheet"===M.attributes.rel&&nr(e,()=>{if(O){let t=nu(e,{doc:r,mirror:o,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:m,maskAttributeFn:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:b,dataURLOptions:w,inlineImages:S,recordCanvas:x,preserveWhiteSpace:T,onSerialize:C,onIframeLoad:_,iframeLoadTimeout:k,onStylesheetLoad:O,stylesheetLoadTimeout:A,keepIframeSrcFn:I});t&&O(e,t)}},A),M}function nd(e,t){let{mirror:n=new tR,blockClass:r="rr-block",blockSelector:o=null,unblockSelector:i=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOM:y=!1,dataURLOptions:b,preserveWhiteSpace:w,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:C,stylesheetLoadTimeout:_,keepIframeSrcFn:k=()=>!1}=t||{};return nu(e,{doc:e,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,maskAllText:a,maskTextClass:s,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===y,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===y?{}:y,dataURLOptions:b,inlineImages:f,recordCanvas:p,preserveWhiteSpace:w,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:C,stylesheetLoadTimeout:_,keepIframeSrcFn:k,newlyAddedElement:!1})}function nf(e){let t;let n=e[0],r=1;for(;r<e.length;){let o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):("call"===o||"optionalCall"===o)&&(n=i((...e)=>n.call(t,...e)),t=void 0)}return n}function np(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let nh="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",nm={map:{},getId:()=>(console.error(nh),-1),getNode:()=>(console.error(nh),null),removeNodeFromMap(){console.error(nh)},has:()=>(console.error(nh),!1),reset(){console.error(nh)}};function ng(e,t,n={}){let r=null,o=0;return function(...i){let a=Date.now();o||!1!==n.leading||(o=a);let s=t-(a-o),l=this;s<=0||s>t?(r&&(nU(r),r=null),o=a,e.apply(l,i)):r||!1===n.trailing||(r=nz(()=>{o=!1===n.leading?0:Date.now(),r=null,e.apply(l,i)},s))}}function nv(e,t,n,r,o=window){let i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set(e){nz(()=>{n.set.call(this,e)},0),i&&i.set&&i.set.call(this,e)}}),()=>nv(e,t,i||{},!0)}function ny(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],o=n(r);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,()=>{e[t]=r}}catch(e){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(nm=new Proxy(nm,{get:(e,t,n)=>("map"===t&&console.error(nh),Reflect.get(e,t,n))}));let nb=Date.now;function nw(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:nf([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||nf([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||nf([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:nf([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||nf([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||nf([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function nS(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function nx(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function nE(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function nC(e,t,n,r,o){if(!e)return!1;let i=nE(e);if(!i)return!1;let a=ne(t,n);if(!o){let e=r&&i.matches(r);return a(i)&&!e}let s=t9(i,a),l=-1;return!(s<0)&&(r&&(l=t9(i,ne(null,r))),s>-1&&l<0||s<l)}function n_(e,t){return -1!==t.getId(e)}function nk(e,t){return t.getId(e)===tq}function nO(e,t){if(tE(e))return!1;let n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||nO(e.parentNode,t))}function nA(e){return!!e.changedTouches}function nI(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode);return!1})}function nP(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function nT(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function nR(e){return!!nf([e,"optionalAccess",e=>e.shadowRoot])}/[1-9][0-9]{12}/.test(Date.now().toString())||(nb=()=>new Date().getTime());class nM{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return S(this.styleIDMap.get(e),()=>-1)}has(e){return this.styleIDMap.has(e)}add(e,t){let n;return this.has(e)?this.getId(e):(n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function nN(e){let t=null;return nf([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function nj(e){let t,n=e;for(;t=nN(n);)n=t;return n}function nD(e){let t=e.ownerDocument;if(!t)return!1;let n=nj(e);return t.contains(n)}function nL(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||nD(e))}let nB={};function nZ(e){let t=nB[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let o=t.contentWindow;o&&o[e]&&(r=o[e]),n.head.removeChild(t)}catch(e){}return nB[e]=r.bind(window)}function nF(...e){return nZ("requestAnimationFrame")(...e)}function nz(...e){return nZ("setTimeout")(...e)}function nU(...e){return nZ("clearTimeout")(...e)}var nH=((v=nH||{})[v.DomContentLoaded=0]="DomContentLoaded",v[v.Load=1]="Load",v[v.FullSnapshot=2]="FullSnapshot",v[v.IncrementalSnapshot=3]="IncrementalSnapshot",v[v.Meta=4]="Meta",v[v.Custom=5]="Custom",v[v.Plugin=6]="Plugin",v),nq=((y=nq||{})[y.Mutation=0]="Mutation",y[y.MouseMove=1]="MouseMove",y[y.MouseInteraction=2]="MouseInteraction",y[y.Scroll=3]="Scroll",y[y.ViewportResize=4]="ViewportResize",y[y.Input=5]="Input",y[y.TouchMove=6]="TouchMove",y[y.MediaInteraction=7]="MediaInteraction",y[y.StyleSheetRule=8]="StyleSheetRule",y[y.CanvasMutation=9]="CanvasMutation",y[y.Font=10]="Font",y[y.Log=11]="Log",y[y.Drag=12]="Drag",y[y.StyleDeclaration=13]="StyleDeclaration",y[y.Selection=14]="Selection",y[y.AdoptedStyleSheet=15]="AdoptedStyleSheet",y[y.CustomElement=16]="CustomElement",y),nV=((b=nV||{})[b.MouseUp=0]="MouseUp",b[b.MouseDown=1]="MouseDown",b[b.Click=2]="Click",b[b.ContextMenu=3]="ContextMenu",b[b.DblClick=4]="DblClick",b[b.Focus=5]="Focus",b[b.Blur=6]="Blur",b[b.TouchStart=7]="TouchStart",b[b.TouchMove_Departed=8]="TouchMove_Departed",b[b.TouchEnd=9]="TouchEnd",b[b.TouchCancel=10]="TouchCancel",b),nW=((w=nW||{})[w.Mouse=0]="Mouse",w[w.Pen=1]="Pen",w[w.Touch=2]="Touch",w);function n$(e){let t;let n=e[0],r=1;for(;r<e.length;){let o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):("call"===o||"optionalCall"===o)&&(n=i((...e)=>n.call(t,...e)),t=void 0)}return n}function nG(e){return"__ln"in e}class nK{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=n$([t,"optionalAccess",e=>e.next])||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&nG(e.previousSibling)){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&nG(e.nextSibling)&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let nY=(e,t)=>`${e}@${t}`;class nX{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new nK,r=e=>{let t=e,n=tq;for(;n===tq;)n=(t=t&&t.nextSibling)&&this.mirror.getId(t);return n},o=o=>{if(!o.parentNode||!nL(o))return;let i=tE(o.parentNode)?this.mirror.getId(nN(o)):this.mirror.getId(o.parentNode),a=r(o);if(-1===i||-1===a)return n.addNode(o);let s=nu(o,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{nP(e,this.mirror)&&this.iframeManager.addIframe(e),nT(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),nR(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});s&&(e.push({parentId:i,nextId:a,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!nJ(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&o(e);for(let e of this.addedSet)n1(this.droppedSet,e)||nJ(this.removes,e,this.mirror)?n1(this.movedSet,e)?o(e):this.droppedSet.add(e):o(e);let i=null;for(;n.length;){let e=null;if(i){let t=this.mirror.getId(i.value.parentNode),n=r(i.value);-1!==t&&-1!==n&&(e=i)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}i=e.previous,n.removeNode(e.value),o(e.value)}let a={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=e=>{if(!nk(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;nC(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:nt(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,nE(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){let n=tF(t),o=t.tagName;r=tz(t,o,n);let i=tN({maskInputOptions:this.maskInputOptions,tagName:o,type:n});r=tj({isMasked:nt(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,i),element:t,value:r,maskInputFn:this.maskInputFn})}if(nC(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let o=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(t.contentDocument)return;n="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!t6(t.tagName,n)&&(o.attributes[n]=t5(this.doc,tD(t.tagName),tD(n),r,t,this.maskAttributeFn),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let n=this.unattachedDoc.createElement("span");for(let r of(e.oldValue&&n.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(r),i=t.style.getPropertyPriority(r);e!==n.style.getPropertyValue(r)||i!==n.style.getPropertyPriority(r)?""===i?o.styleDiff[r]=e:o.styleDiff[r]=[e,i]:o._unchangedStyles[r]=[e,i]}for(let e of Array.from(n.style))""===t.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(nC(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=tE(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);!(nC(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||nk(t,this.mirror))&&n_(t,this.mirror)&&(this.addedSet.has(t)?(nQ(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||nO(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[nY(n,r)]?nQ(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!(tE(e.target)&&tC(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(nk(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[nY(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!nC(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes.forEach(e=>this.genAdds(e)),nR(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function nQ(e,t){e.delete(t),t.childNodes.forEach(t=>nQ(e,t))}function nJ(e,t,n){return 0!==e.length&&n0(e,t,n)}function n0(e,t,n){let{parentNode:r}=t;if(!r)return!1;let o=n.getId(r);return!!e.some(e=>e.id===o)||n0(e,r,n)}function n1(e,t){return 0!==e.size&&n2(e,t)}function n2(e,t){let{parentNode:n}=t;return!!n&&(!!e.has(n)||n2(e,n))}function n3(e){d=e}function n4(){d=void 0}let n5=e=>d?(...t)=>{try{return e(...t)}catch(e){if(d&&!0===d(e))return()=>{};throw e}}:e;function n6(e){let t;let n=e[0],r=1;for(;r<e.length;){let o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):("call"===o||"optionalCall"===o)&&(n=i((...e)=>n.call(t,...e)),t=void 0)}return n}let n8=[];function n7(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function n9(e,t){let n=new nX;n8.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,o=n6([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);o&&window[o]&&(r=window[o]);let i=new r(n5(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function re({mousemoveCb:e,sampling:t,doc:n,mirror:r}){let o;if(!1===t.mousemove)return()=>{};let i="number"==typeof t.mousemove?t.mousemove:50,a="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,s=[],l=ng(n5(t=>{let n=Date.now()-o;e(s.map(e=>(e.timeOffset-=n,e)),t),s=[],o=null}),a),c=n5(ng(n5(e=>{let t=n7(e),{clientX:n,clientY:i}=nA(e)?e.changedTouches[0]:e;o||(o=nb()),s.push({x:n,y:i,id:r.getId(t),timeOffset:nb()-o}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?nq.Drag:e instanceof MouseEvent?nq.MouseMove:nq.TouchMove)}),i,{trailing:!1})),u=[np("mousemove",c,n),np("touchmove",c,n),np("drag",c,n)];return n5(()=>{u.forEach(e=>e())})}function rt({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:a}){if(!1===a.mouseInteraction)return()=>{};let s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],c=null,u=t=>a=>{let s=n7(a);if(nC(s,r,o,i,!0))return;let l=null,u=t;if("pointerType"in a){switch(a.pointerType){case"mouse":l=nW.Mouse;break;case"touch":l=nW.Touch;break;case"pen":l=nW.Pen}l===nW.Touch?nV[t]===nV.MouseDown?u="TouchStart":nV[t]===nV.MouseUp&&(u="TouchEnd"):nW.Pen}else nA(a)&&(l=nW.Touch);null!==l?(c=l,(u.startsWith("Touch")&&l===nW.Touch||u.startsWith("Mouse")&&l===nW.Mouse)&&(l=null)):nV[t]===nV.Click&&(l=c,c=null);let d=nA(a)?a.changedTouches[0]:a;if(!d)return;let f=n.getId(s),{clientX:p,clientY:h}=d;n5(e)({type:nV[u],id:f,x:p,y:h,...null!==l&&{pointerType:l}})};return Object.keys(nV).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(e=>{let n=tD(e),r=u(e);if(window.PointerEvent)switch(nV[e]){case nV.MouseDown:case nV.MouseUp:n=n.replace("mouse","pointer");break;case nV.TouchStart:case nV.TouchEnd:return}l.push(np(n,r,t))}),n5(()=>{l.forEach(e=>e())})}function rn({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:a}){return np("scroll",n5(ng(n5(a=>{let s=n7(a);if(!s||nC(s,r,o,i,!0))return;let l=n.getId(s);if(s===t&&t.defaultView){let n=nw(t.defaultView);e({id:l,x:n.left,y:n.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),t)}function rr({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return np("resize",n5(ng(n5(()=>{let t=nS(),o=nx();(n!==t||r!==o)&&(e({width:Number(o),height:Number(t)}),n=t,r=o)}),200)),t)}let ro=["INPUT","TEXTAREA","SELECT"],ri=new WeakMap;function ra({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=n7(e),u=e.isTrusted,g=n&&tL(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||0>ro.indexOf(g)||nC(n,r,o,i,!0))return;let y=n;if(y.classList.contains(a)||s&&y.matches(s))return;let b=tF(n),w=tz(y,g,b),S=!1,x=tN({maskInputOptions:l,tagName:g,type:b}),E=nt(n,f,h,p,m,x);("radio"===b||"checkbox"===b)&&(S=n.checked),w=tj({isMasked:E,element:n,value:w,maskInputFn:c}),v(n,d?{text:w,isChecked:S,userTriggered:u}:{text:w,isChecked:S});let C=n.name;"radio"===b&&C&&S&&t.querySelectorAll(`input[type="radio"][name="${C}"]`).forEach(e=>{if(e!==n){let t=tj({isMasked:E,element:e,value:tz(e,g,b),maskInputFn:c});v(e,d?{text:t,isChecked:!S,userTriggered:!1}:{text:t,isChecked:!S})}})}function v(t,r){let o=ri.get(t);if(!o||o.text!==r.text||o.isChecked!==r.isChecked){ri.set(t,r);let o=n.getId(t);n5(e)({...r,id:o})}}let y=("last"===u.input?["change"]:["input","change"]).map(e=>np(e,n5(g),t)),b=t.defaultView;if(!b)return()=>{y.forEach(e=>e())};let w=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),S=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return w&&w.set&&y.push(...S.map(e=>nv(e[0],e[1],{set(){n5(g)({target:this,isTrusted:!1})}},!1,b))),n5(()=>{y.forEach(e=>e())})}function rs(e){return function(e,t){return rv("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||rv("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||rv("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||rv("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule?t.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&&t.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),t}(e,[])}function rl(e,t,n){let r,o;return e?(e.ownerNode?r=t.getId(e.ownerNode):o=n.getId(e),{styleId:o,id:r}):{}}function rc({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){let o,i;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:n5((r,o,i)=>{let[a,s]=i,{id:l,styleId:c}=rl(o,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:s}]}),r.apply(o,i)})});let s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:n5((r,o,i)=>{let[a]=i,{id:s,styleId:l}=rl(o,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:a}]}),r.apply(o,i)})}),r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:n5((r,o,i)=>{let[a]=i,{id:s,styleId:l}=rl(o,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:a}),r.apply(o,i)})})),r.CSSStyleSheet.prototype.replaceSync&&(i=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(i,{apply:n5((r,o,i)=>{let[a]=i,{id:s,styleId:l}=rl(o,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:a}),r.apply(o,i)})}));let l={};ry("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(ry("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),ry("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),ry("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));let c={};return Object.entries(l).forEach(([r,o])=>{c[r]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(c[r].insertRule,{apply:n5((r,o,i)=>{let[a,s]=i,{id:l,styleId:c}=rl(o.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:[...rs(o),s||0]}]}),r.apply(o,i)})}),o.prototype.deleteRule=new Proxy(c[r].deleteRule,{apply:n5((r,o,i)=>{let[a]=i,{id:s,styleId:l}=rl(o.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...rs(o),a]}]}),r.apply(o,i)})})}),n5(()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=s,o&&(r.CSSStyleSheet.prototype.replace=o),i&&(r.CSSStyleSheet.prototype.replaceSync=i),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule})})}function ru({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);let o="#document"===n.nodeName?n6([n,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):n6([n,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),i=n6([o,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(n6([o,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&o&&i?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return n6([i,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){let n=n6([i,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),n5(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})})):()=>{}}function rd({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:o}){let i=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:n5((o,a,s)=>{let[l,c,u]=s;if(n.has(l))return i.apply(a,[l,c,u]);let{id:d,styleId:f}=rl(n6([a,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(d&&-1!==d||f&&-1!==f)&&e({id:d,styleId:f,set:{property:l,value:c,priority:u},index:rs(a.parentRule)}),o.apply(a,s)})});let a=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:n5((o,i,s)=>{let[l]=s;if(n.has(l))return a.apply(i,[l]);let{id:c,styleId:u}=rl(n6([i,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(c&&-1!==c||u&&-1!==u)&&e({id:c,styleId:u,remove:{property:l},index:rs(i.parentRule)}),o.apply(i,s)})}),n5(()=>{o.CSSStyleDeclaration.prototype.setProperty=i,o.CSSStyleDeclaration.prototype.removeProperty=a})}function rf({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:o,sampling:i,doc:a}){let s=n5(a=>ng(n5(i=>{let s=n7(i);if(!s||nC(s,t,n,r,!0))return;let{currentTime:l,volume:c,muted:u,playbackRate:d}=s;e({type:a,id:o.getId(s),currentTime:l,volume:c,muted:u,playbackRate:d})}),i.media||500)),l=[np("play",s(0),a),np("pause",s(1),a),np("seeked",s(2),a),np("volumechange",s(3),a),np("ratechange",s(4),a)];return n5(()=>{l.forEach(e=>e())})}function rp({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],o=new WeakMap,i=n.FontFace;n.FontFace=function(e,t,n){let r=new i(e,t,n);return o.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let a=ny(t.fonts,"add",function(t){return function(n){return nz(n5(()=>{let t=o.get(n);t&&(e(t),o.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=i}),r.push(a),n5(()=>{r.forEach(e=>e())})}function rh(e){let{doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,selectionCb:a}=e,s=!0,l=n5(()=>{let e=t.getSelection();if(!e||s&&n6([e,"optionalAccess",e=>e.isCollapsed]))return;s=e.isCollapsed||!1;let l=[],c=e.rangeCount||0;for(let t=0;t<c;t++){let{startContainer:a,startOffset:s,endContainer:c,endOffset:u}=e.getRangeAt(t);nC(a,r,o,i,!0)||nC(c,r,o,i,!0)||l.push({start:n.getId(a),startOffset:s,end:n.getId(c),endOffset:u})}a({ranges:l})});return l(),np("selectionchange",l)}function rm({doc:e,customElementCb:t}){let n=e.defaultView;return n&&n.customElements?ny(n.customElements,"define",function(e){return function(n,r,o){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,o])}}):()=>{}}function rg(e,t={}){let n=e.doc.defaultView;if(!n)return()=>{};let r=n9(e,e.doc),o=re(e),i=rt(e),a=rn(e),s=rr(e,{win:n}),l=ra(e),c=rf(e),u=rc(e,{win:n}),d=ru(e,e.doc),f=rd(e,{win:n}),p=e.collectFonts?rp(e):()=>{},h=rh(e),m=rm(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,n,t.options));return n5(()=>{n8.forEach(e=>e.reset()),r.disconnect(),o(),i(),a(),s(),l(),c(),u(),d(),f(),p(),h(),m(),g.forEach(e=>e())})}function rv(e){return void 0!==window[e]}function ry(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class rb{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let o=n||this.getIdToRemoteIdMap(e),i=r||this.getRemoteIdToIdMap(e),a=o.get(t);return a||(a=this.generateIdFn(),o.set(t,a),i.set(a,t)),a}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:r.get(t)||-1}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function rw(e){let t;let n=e[0],r=1;for(;r<e.length;){let o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):("call"===o||"optionalCall"===o)&&(n=i((...e)=>n.call(t,...e)),t=void 0)}return n}class rS{constructor(){this.crossOriginIframeMirror=new rb(tV),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class rx{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new rb(tV),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new rb(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),rw([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){let t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin||!e.source)return;let n=this.crossOriginIframeMap.get(e.source);if(!n)return;let r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case nH.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:nH.IncrementalSnapshot,data:{source:nq.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case nH.Meta:case nH.Load:case nH.DomContentLoaded:break;case nH.Plugin:return t;case nH.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case nH.IncrementalSnapshot:switch(t.data.source){case nq.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case nq.Drag:case nq.TouchMove:case nq.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case nq.ViewportResize:return!1;case nq.MediaInteraction:case nq.MouseInteraction:case nq.Scroll:case nq.CanvasMutation:case nq.Input:return this.replaceIds(t.data,e,["id"]),t;case nq.StyleSheetRule:case nq.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case nq.Font:return t;case nq.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case nq.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),rw([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t(t=>{this.replaceStyleIds(t,e,["styleId"])})]),t}}return!1}replace(e,t,n,r){for(let o of r)(Array.isArray(t[o])||"number"==typeof t[o])&&(Array.isArray(t[o])?t[o]=e.getIds(n,t[o]):t[o]=e.getId(n,t[o]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===E.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class rE{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class rC{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!tC(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e);let n=n9({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(rn({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),nz(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(ru({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(ny(e.prototype,"attachShadow",function(e){return function(r){let o=e.call(this,r);return this.shadowRoot&&nL(this)&&n.addShadowRoot(this.shadowRoot,t),o}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class r_{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class rk{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new nM,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:tA(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class rO{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){nF(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}let rA=tM();function rI(e={}){let t;let{emit:n,checkoutEveryNms:r,checkoutEveryNth:o,blockClass:i="rr-block",blockSelector:a=null,unblockSelector:s=null,ignoreClass:l="rr-ignore",ignoreSelector:c=null,maskAllText:u=!1,maskTextClass:d="rr-mask",unmaskTextClass:h=null,maskTextSelector:m=null,unmaskTextSelector:g=null,inlineStylesheet:v=!0,maskAllInputs:y,maskInputOptions:b,slimDOMOptions:w,maskAttributeFn:S,maskInputFn:E,maskTextFn:C,maxCanvasSize:_=null,packFn:k,sampling:O={},dataURLOptions:A={},mousemoveWait:I,recordCanvas:P=!1,recordCrossOriginIframes:T=!1,recordAfter:R="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:M=!1,collectFonts:N=!1,inlineImages:j=!1,plugins:D,keepIframeSrcFn:L=()=>!1,ignoreCSSAttributes:B=new Set([]),errorHandler:Z,onMutation:F,getCanvasManager:z}=e;n3(Z);let U=!T||window.parent===window,H=!1;if(!U)try{window.parent.document&&(H=!1)}catch(e){H=!0}if(U&&!n)throw Error("emit function is required");void 0!==I&&void 0===O.mousemove&&(O.mousemove=I),rA.reset();let q=!0===y?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==b?b:{},V=!0===w||"all"===w?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===w,headMetaDescKeywords:"all"===w}:w||{};nI();let W=0,$=e=>{for(let t of D||[])t.eventProcessor&&(e=t.eventProcessor(e));return k&&!H&&(e=k(e)),e};f=(e,i)=>{let a=e;if(a.timestamp=nb(),x([n8,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])&&a.type!==nH.FullSnapshot&&!(a.type===nH.IncrementalSnapshot&&a.data.source===nq.Mutation)&&n8.forEach(e=>e.unfreeze()),U)x([n,"optionalCall",e=>e($(a),i)]);else if(H){let e={type:"rrweb",event:$(a),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(a.type===nH.FullSnapshot)t=a,W=0;else if(a.type===nH.IncrementalSnapshot){if(a.data.source===nq.Mutation&&a.data.isAttachIframe)return;W++;let e=o&&W>=o,n=r&&t&&a.timestamp-t.timestamp>r;(e||n)&&en(!0)}};let G=e=>{f({type:nH.IncrementalSnapshot,data:{source:nq.Mutation,...e}})},K=e=>f({type:nH.IncrementalSnapshot,data:{source:nq.Scroll,...e}}),Y=e=>f({type:nH.IncrementalSnapshot,data:{source:nq.CanvasMutation,...e}}),X=new rk({mutationCb:G,adoptedStyleSheetCb:e=>f({type:nH.IncrementalSnapshot,data:{source:nq.AdoptedStyleSheet,...e}})}),Q="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new rS:new rx({mirror:rA,mutationCb:G,stylesheetManager:X,recordCrossOriginIframes:T,wrappedEmit:f});for(let e of D||[])e.getMirror&&e.getMirror({nodeMirror:rA,crossOriginIframeMirror:Q.crossOriginIframeMirror,crossOriginIframeStyleMirror:Q.crossOriginIframeStyleMirror});let J=new rO,ee=rT(z,{mirror:rA,win:window,mutationCb:e=>f({type:nH.IncrementalSnapshot,data:{source:nq.CanvasMutation,...e}}),recordCanvas:P,blockClass:i,blockSelector:a,unblockSelector:s,maxCanvasSize:_,sampling:O.canvas,dataURLOptions:A,errorHandler:Z}),et="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new rE:new rC({mutationCb:G,scrollCb:K,bypassOptions:{onMutation:F,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:m,unmaskTextSelector:g,inlineStylesheet:v,maskInputOptions:q,dataURLOptions:A,maskAttributeFn:S,maskTextFn:C,maskInputFn:E,recordCanvas:P,inlineImages:j,sampling:O,slimDOMOptions:V,iframeManager:Q,stylesheetManager:X,canvasManager:ee,keepIframeSrcFn:L,processedNodeManager:J},mirror:rA}),en=(e=!1)=>{f({type:nH.Meta,data:{href:window.location.href,width:nx(),height:nS()}},e),X.reset(),et.init(),n8.forEach(e=>e.lock());let t=nd(document,{mirror:rA,blockClass:i,blockSelector:a,unblockSelector:s,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:m,unmaskTextSelector:g,inlineStylesheet:v,maskAllInputs:q,maskAttributeFn:S,maskInputFn:E,maskTextFn:C,slimDOM:V,dataURLOptions:A,recordCanvas:P,inlineImages:j,onSerialize:e=>{nP(e,rA)&&Q.addIframe(e),nT(e,rA)&&X.trackLinkElement(e),nR(e)&&et.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Q.attachIframe(e,t),et.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{X.attachLinkElement(e,t)},keepIframeSrcFn:L});if(!t)return console.warn("Failed to snapshot the document");f({type:nH.FullSnapshot,data:{node:t,initialOffset:nw(window)}}),n8.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&X.adoptStyleSheets(document.adoptedStyleSheets,rA.getId(document))};p=en;try{let e=[],t=e=>n5(rg)({onMutation:F,mutationCb:G,mousemoveCb:(e,t)=>f({type:nH.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>f({type:nH.IncrementalSnapshot,data:{source:nq.MouseInteraction,...e}}),scrollCb:K,viewportResizeCb:e=>f({type:nH.IncrementalSnapshot,data:{source:nq.ViewportResize,...e}}),inputCb:e=>f({type:nH.IncrementalSnapshot,data:{source:nq.Input,...e}}),mediaInteractionCb:e=>f({type:nH.IncrementalSnapshot,data:{source:nq.MediaInteraction,...e}}),styleSheetRuleCb:e=>f({type:nH.IncrementalSnapshot,data:{source:nq.StyleSheetRule,...e}}),styleDeclarationCb:e=>f({type:nH.IncrementalSnapshot,data:{source:nq.StyleDeclaration,...e}}),canvasMutationCb:Y,fontCb:e=>f({type:nH.IncrementalSnapshot,data:{source:nq.Font,...e}}),selectionCb:e=>{f({type:nH.IncrementalSnapshot,data:{source:nq.Selection,...e}})},customElementCb:e=>{f({type:nH.IncrementalSnapshot,data:{source:nq.CustomElement,...e}})},blockClass:i,ignoreClass:l,ignoreSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:m,unmaskTextSelector:g,maskInputOptions:q,inlineStylesheet:v,sampling:O,recordCanvas:P,inlineImages:j,userTriggeredOnInput:M,collectFonts:N,doc:e,maskAttributeFn:S,maskInputFn:E,maskTextFn:C,keepIframeSrcFn:L,blockSelector:a,unblockSelector:s,slimDOMOptions:V,dataURLOptions:A,mirror:rA,iframeManager:Q,stylesheetManager:X,shadowDomManager:et,processedNodeManager:J,canvasManager:ee,ignoreCSSAttributes:B,plugins:x([D,"optionalAccess",e=>e.filter,"call",e=>e(e=>e.observer),"optionalAccess",e=>e.map,"call",e=>e(e=>({observer:e.observer,options:e.options,callback:t=>f({type:nH.Plugin,data:{plugin:e.name,payload:t}})}))])||[]},{});Q.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{en(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(np("DOMContentLoaded",()=>{f({type:nH.DomContentLoaded,data:{}}),"DOMContentLoaded"===R&&n()})),e.push(np("load",()=>{f({type:nH.Load,data:{}}),"load"===R&&n()},window))),()=>{e.forEach(e=>e()),J.destroy(),p=void 0,n4()}}catch(e){console.warn(e)}}function rP(e){if(!p)throw Error("please take full snapshot after start recording");p(e)}function rT(e,t){try{return e?e(t):new r_}catch(e){return console.warn("Unable to initialize CanvasManager"),new r_}}rI.mirror=rA,rI.takeFullSnapshot=rP;let rR=3,rM=5;function rN(e){return e>9999999999?e:1e3*e}function rj(e){return e>9999999999?e/1e3:e}function rD(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:nH.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,L.Fv)(t,10,1e3)}}),"console"===t.category)))}let rL="button,a";function rB(e){return e.closest(rL)||e}function rZ(e){let t=rF(e);return t&&t instanceof Element?rB(t):t}function rF(e){return rz(e)?e.target:e}function rz(e){return"object"==typeof e&&!!e&&"target"in e}function rU(e){return h||(h=[],rH()),h.push(e),()=>{let t=h?h.indexOf(e):-1;t>-1&&h.splice(t,1)}}function rH(){(0,B.hl)(tt,"open",function(e){return function(...t){if(h)try{h.forEach(e=>e())}catch(e){}return e.apply(tt,t)}})}function rq(e,t,n){e.handleClick(t,n)}class rV{constructor(e,t,n=rD){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){let e=rU(()=>{this._lastMutation=rK()});this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(r$(t,this._ignoreSelector)||!rG(e))return;let n={timestamp:rj(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===n.node&&1>Math.abs(e.timestamp-n.timestamp))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=rj(e)}registerScroll(e=Date.now()){this._lastScroll=rj(e)}registerClick(e){let t=rB(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=rK();for(let n of(this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}),e)){let e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:o,clickBreadcrumb:i}=e;if(!n&&!r){let n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",a={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.slowClickDetected",data:{...i.data,url:tt.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1}};this._addBreadcrumbEvent(t,a);return}if(o>1){let e={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.multiClick",data:{...i.data,url:tt.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=(0,Q.iK)(()=>this._checkClicks(),1e3)}}let rW=["A","BUTTON","INPUT"];function r$(e,t){return!!(!rW.includes(e.tagName)||"INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||"")||"A"===e.tagName&&(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target"))||t&&e.matches(t))}function rG(e){return!!(e.data&&"number"==typeof e.data.nodeId&&e.timestamp)}function rK(){return Date.now()/1e3}function rY(e,t){try{if(!rX(t))return;let{source:n}=t.data;if(n===nq.Mutation&&e.registerMutation(t.timestamp),n===nq.Scroll&&e.registerScroll(t.timestamp),rQ(t)){let{type:n,id:r}=t.data,o=rI.mirror.getNode(r);o instanceof HTMLElement&&n===nV.Click&&e.registerClick(o)}}catch(e){}}function rX(e){return e.type===rR}function rQ(e){return e.data.source===nq.MouseInteraction}function rJ(e){return{timestamp:Date.now()/1e3,type:"default",...e}}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(C||(C={}));let r0=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function r1(e){let t={};for(let n in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(r0.has(n)){let r=n;("data-testid"===n||"data-test-id"===n)&&(r="testId"),t[r]=e[n]}return t}let r2=e=>t=>{if(!e.isEnabled())return;let n=r4(t);if(!n)return;let r="click"===t.name,o=r?t.event:void 0;r&&e.clickDetector&&o&&o.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&rq(e.clickDetector,n,rZ(t.event)),rD(e,n)};function r3(e,t){let n=rI.mirror.getId(e),r=n&&rI.mirror.getNode(n),o=r&&rI.mirror.getMeta(r),i=o&&r6(o)?o:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(e=>e.type===C.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:r1(i.attributes)}}:{}}}function r4(e){let{target:t,message:n}=r5(e);return rJ({category:`ui.${e.name}`,...r3(t,n)})}function r5(e){let t;let n="click"===e.name,r=null;try{r=n?rZ(e.event):rF(e.event),t=(0,Z.Rt)(r,{maxStringLength:200})||"<unknown>"}catch(e){t="<unknown>"}return{target:r,message:t}}function r6(e){return e.type===C.Element}function r8(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=r7(t);n&&rD(e,n)}function r7(e){let{metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i,target:a}=e;if(!a||r9(a)||!i)return null;let s=t||r||o,l=1===i.length;if(!s&&l)return null;let c=(0,Z.Rt)(a,{maxStringLength:200})||"<unknown>",u=r3(a,c);return rJ({category:"ui.keyDown",message:c,data:{...u.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i}})}function r9(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}let oe={resource:oa,paint:oo,navigation:oi};function ot(e){return e.map(on).filter(Boolean)}function on(e){return oe[e.entryType]?oe[e.entryType](e):null}function or(e){return((F.Z1||tt.performance.timeOrigin)+e)/1e3}function oo(e){let{duration:t,entryType:n,name:r,startTime:o}=e,i=or(o);return{type:n,name:r,start:i,end:i+t,data:void 0}}function oi(e){let{entryType:t,name:n,decodedBodySize:r,duration:o,domComplete:i,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:h,type:m}=e;return 0===o?null:{type:`${t}.${m}`,start:or(p),end:or(i),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:a,duration:o,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:d,domComplete:i,redirectCount:f}}}function oa(e){let{entryType:t,initiatorType:n,name:r,responseEnd:o,startTime:i,decodedBodySize:a,encodedBodySize:s,responseStatus:l,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:or(i),end:or(o),name:r,data:{size:c,statusCode:l,decodedBodySize:a,encodedBodySize:s}}}function os(e){let t=e.entries,n=t[t.length-1],r=n?n.element:void 0,o=e.value,i=or(o);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:i,end:i,data:{value:o,size:o,nodeId:r?rI.mirror.getId(r):void 0}}}function ol(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push(eX(e,n))}),r.push(e$(({metric:t})=>{e.replayPerformanceEntries.push(os(t))})),()=>{r.forEach(e=>e())}}let oc="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,ou='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},O=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&j(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(O(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(J)return J.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),a=i.length;return q(i,n),j(i,a-8,r.d()),j(i,a-4,e),i}(P(t))}const R=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new H,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function od(){let e=new Blob([ou]);return URL.createObjectURL(e)}function of(e,t){oc&&(z.kg.info(e),t&&oh(e))}function op(e,t){oc&&(z.kg.info(e),t&&(0,Q.iK)(()=>{oh(e)},0))}function oh(e){(0,_.n)({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}class om extends Error{constructor(){super(`Event buffer exceeded maximum size of ${tg}.`)}}class og{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>tg)throw new om;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?rN(e):null}}class ov{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){of("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,o)=>{let i=({data:t})=>{let a=t;if(a.method===e&&a.id===n){if(this._worker.removeEventListener("message",i),!a.success){oc&&z.kg.error("[Replay]",a.response),o(Error("Error in compression worker"));return}r(a.response)}};this._worker.addEventListener("message",i),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class oy{constructor(e){this._worker=new ov(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=rN(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return(this._totalSize+=n.length,this._totalSize>tg)?Promise.reject(new om):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{oc&&z.kg.warn('[Replay] Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class ob{constructor(e){this._fallback=new og,this._compression=new oy(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){of("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t}=this._fallback,n=[];for(let t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n)}catch(e){oc&&z.kg.warn("[Replay] Failed to add events when switching buffers.",e)}}}function ow({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=oS(t);if(e)return e}return of("[Replay] Using simple buffer"),new og}function oS(e){try{let t=e||ox();if(!t)return;of(`[Replay] Using compression worker${e?` from ${e}`:""}`);let n=new Worker(t);return new ob(n)}catch(e){of("[Replay] Failed to create compression worker")}}function ox(){return"undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":od()}function oE(){try{return"sessionStorage"in tt&&!!tt.sessionStorage}catch(e){return!1}}function oC(e){o_(),e.session=void 0}function o_(){if(oE())try{tt.sessionStorage.removeItem(tn)}catch(e){}}function ok(e){return void 0!==e&&Math.random()<e}function oO(e){let t=Date.now(),n=e.id||(0,U.DM)(),r=e.started||t,o=e.lastActivity||t;return{id:n,started:r,lastActivity:o,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function oA(e){if(oE())try{tt.sessionStorage.setItem(tn,JSON.stringify(e))}catch(e){}}function oI(e,t){return ok(e)?"session":!!t&&"buffer"}function oP({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let o=oO({sampled:oI(e,t),previousSessionId:r});return n&&oA(o),o}function oT(e){if(!oE())return null;try{let t=tt.sessionStorage.getItem(tn);if(!t)return null;let n=JSON.parse(t);return op("[Replay] Loading existing session",e),oO(n)}catch(e){return null}}function oR(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function oM(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return oR(e.started,t,r)||oR(e.lastActivity,n,r)}function oN(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!oM(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function oj({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:r},o){let i=o.stickySession&&oT(e);return i?oN(i,{sessionIdleExpire:t,maxReplayDuration:n})?(op("[Replay] Session in sessionStorage is expired, creating new one..."),oP(o,{previousSessionId:i.id})):i:(op("[Replay] Creating new session",e),oP(o,{previousSessionId:r}))}function oD(e){return e.type===nH.Custom}function oL(e,t,n){return!!oF(e,t)&&(oZ(e,t,n),!0)}function oB(e,t,n){return oF(e,t)?oZ(e,t,n):Promise.resolve(null)}async function oZ(e,t,n){if(!e.eventBuffer)return null;try{n&&"buffer"===e.recordingMode&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);let r=e.getOptions(),o=oz(t,r.beforeAddRecordingEvent);if(!o)return;return await e.eventBuffer.addEvent(o)}catch(r){let t=r&&r instanceof om?"addEventSizeExceeded":"addEvent";oc&&z.kg.error(r),await e.stop({reason:t});let n=(0,k.s3)();n&&n.recordDroppedEvent("internal_sdk_error","replay")}}function oF(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=rN(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(of(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),!1))}function oz(e,t){try{if("function"==typeof t&&oD(e))return t(e)}catch(e){return oc&&z.kg.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",e),null}return e}function oU(e){return!e.type}function oH(e){return"transaction"===e.type}function oq(e){return"replay_event"===e.type}function oV(e){return"feedback"===e.type}function oW(e){return(t,n)=>{if(!e.isEnabled()||!oU(t)&&!oH(t))return;let r=n&&n.statusCode;if(r&&!(r<200)&&!(r>=300)){if(oH(t)){o$(e,t);return}oG(e,t)}}}function o$(e,t){let n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function oG(e,t){let n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&(0,Q.iK)(()=>{e.sendBufferedReplayOrFlush()})}function oK(e){return t=>{e.isEnabled()&&oU(t)&&oY(e,t)}}function oY(e,t){let n=t.exception&&t.exception.values&&t.exception.values[0].value;"string"==typeof n&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&rD(e,rJ({category:"replay.hydrate-error"}))}function oX(e){let t=(0,k.s3)();t&&t.on("beforeAddBreadcrumb",t=>oQ(e,t))}function oQ(e,t){if(!e.isEnabled()||!o1(t))return;let n=oJ(t);n&&rD(e,n)}function oJ(e){return!o1(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:"console"===e.category?o0(e):rJ(e)}function o0(e){let t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return rJ(e);let n=!1,r=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>tp?(n=!0,`${e.slice(0,tp)}…`):e;if("object"==typeof e)try{let t=(0,L.Fv)(e,7);if(JSON.stringify(t).length>tp)return n=!0,`${JSON.stringify(t,null,2).slice(0,tp)}…`;return t}catch(e){}return e});return rJ({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function o1(e){return!!e.category}function o2(e,t){return!e.type&&!!e.exception&&!!e.exception.values&&!!e.exception.values.length&&!!t.originalException&&!!t.originalException.__rrweb__}function o3(e,t){e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:nH.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1))}function o4(e,t){return"buffer"===e.recordingMode&&t.message!==to&&!!t.exception&&!t.type&&ok(e.getOptions().errorSampleRate)}function o5(e){return Object.assign((t,n)=>e.isEnabled()?oq(t)?(delete t.breadcrumbs,t):(oU(t)||oH(t)||oV(t))&&e.checkAndHandleExpiredSession()?oV(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),o3(e,t),t):o2(t,n)&&!e.getOptions()._experiments.captureExceptions?(oc&&z.kg.log("[Replay] Ignoring error from rrweb internals",t),null):((o4(e,t)||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):t:t,{id:"Replay"})}function o6(e,t){return t.map(({type:t,start:n,end:r,name:o,data:i})=>{let a=e.throttledAddEvent({type:nH.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:o,startTimestamp:n,endTimestamp:r,data:i}}});return"string"==typeof a?Promise.resolve(null):a})}function o8(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function o7(e){return t=>{if(!e.isEnabled())return;let n=o8(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(o6(e,[n]),!1)))}}function o9(e,t){return(!oc||!e.getOptions()._experiments.traceInternals)&&O(t,(0,k.s3)())}function ie(e,t){!e.isEnabled()||null===t||o9(e,t.name)||e.addUpdate(()=>(o6(e,[t]),!0))}function it(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=iu(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function ir(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function io(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[iu(e)];if(!e)return[void 0]}catch(t){return oc&&z.kg.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return oc&&z.kg.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function ii(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function ia(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:o,method:i,statusCode:a,request:s,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:o,data:(0,B.Jr)({method:i,statusCode:a,request:s,response:l})}}function is(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function il(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:o,warnings:i}=id(n);return r.body=o,i&&i.length>0&&(r._meta={warnings:i}),r}function ic(e,t){return Object.keys(e).reduce((n,r)=>{let o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=e[r]),n},{})}function iu(e){return new URLSearchParams(e).toString()}function id(e){if(!e||"string"!=typeof e)return{body:e};let t=e.length>tf,n=ip(e);if(t){let t=e.slice(0,tf);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}function ip(e){let t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}function ih(e,t){let n=im(e);return(0,H.U0)(n,t)}function im(e,t=tt.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(tt.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function ig(e,t,n){try{let r=await iy(e,t,n),o=ia("resource.fetch",r);ie(n.replay,o)}catch(e){oc&&z.kg.error("[Replay] Failed to capture fetch breadcrumb",e)}}function iv(e,t){let{input:n,response:r}=t,o=it(n?iE(n):void 0),i=r?ir(r.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==i&&(e.data.response_body_size=i)}async function iy(e,t,n){let r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r}=t,{url:a,method:s,status_code:l=0,request_body_size:c,response_body_size:u}=e.data,d=ih(a,n.networkDetailAllowUrls)&&!ih(a,n.networkDetailDenyUrls);return{startTimestamp:o,endTimestamp:i,url:a,method:s,statusCode:l,request:d?ib(n,t.input,c):is(c),response:await iw(d,n,t.response,u)}}function ib({networkCaptureBodies:e,networkRequestHeaders:t},n,r){let o=n?i_(n,t):{};if(!e)return il(o,r,void 0);let[i,a]=io(iE(n)),s=il(o,r,i);return a?ii(s,a):s}async function iw(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,o){if(!e&&void 0!==o)return is(o);let i=r?iC(r.headers,n):{};if(!r||!t&&void 0!==o)return il(i,o,void 0);let[a,s]=await ix(r),l=iS(a,{networkCaptureBodies:t,responseBodySize:o,captureDetails:e,headers:i});return s?ii(l,s):l}function iS(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:o}){try{let i=e&&e.length&&void 0===n?it(e):n;if(!r)return is(i);if(t)return il(o,i,e);return il(o,i,void 0)}catch(e){return oc&&z.kg.warn("[Replay] Failed to serialize response body",e),il(o,n,void 0)}}async function ix(e){let t=iO(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await iA(t)]}catch(e){return oc&&z.kg.warn("[Replay] Failed to get text body from response",e),[void 0,"BODY_PARSE_ERROR"]}}function iE(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function iC(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function i_(e,t){return 1===e.length&&"string"!=typeof e[0]?ik(e[0],t):2===e.length?ik(e[1],t):{}}function ik(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?iC(n,t):Array.isArray(n)?{}:ic(n,t):{}}function iO(e){try{return e.clone()}catch(e){oc&&z.kg.warn("[Replay] Failed to clone response body",e)}}function iA(e){return new Promise((t,n)=>{let r=(0,Q.iK)(()=>n(Error("Timeout while trying to read response body")),500);iI(e).then(e=>t(e),e=>n(e)).finally(()=>clearTimeout(r))})}async function iI(e){return await e.text()}async function iP(e,t,n){try{let r=iR(e,t,n),o=ia("resource.xhr",r);ie(n.replay,o)}catch(e){oc&&z.kg.error("[Replay] Failed to capture xhr breadcrumb",e)}}function iT(e,t){let{xhr:n,input:r}=t;if(!n)return;let o=it(r),i=n.getResponseHeader("content-length")?ir(n.getResponseHeader("content-length")):iD(n.response,n.responseType);void 0!==o&&(e.data.request_body_size=o),void 0!==i&&(e.data.response_body_size=i)}function iR(e,t,n){let r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r,input:a,xhr:s}=t,{url:l,method:c,status_code:u=0,request_body_size:d,response_body_size:f}=e.data;if(!l)return null;if(!s||!ih(l,n.networkDetailAllowUrls)||ih(l,n.networkDetailDenyUrls))return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:u,request:is(d),response:is(f)};let p=s[e7.xU],h=p?ic(p.request_headers,n.networkRequestHeaders):{},m=ic(iM(s),n.networkResponseHeaders),[g,v]=n.networkCaptureBodies?io(a):[void 0],[y,b]=n.networkCaptureBodies?iN(s):[void 0],w=il(h,d,g),S=il(m,f,y);return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:u,request:v?ii(w,v):w,response:b?ii(S,b):S}}function iM(e){let t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return e[n.toLowerCase()]=r,e},{}):{}}function iN(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return ij(e.response,e.responseType)}catch(e){t.push(e)}return oc&&z.kg.warn("[Replay] Failed to get xhr response body",...t),[void 0]}function ij(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return oc&&z.kg.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return oc&&z.kg.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function iD(e,t){try{let n="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return it(n)}catch(e){return}}function iL(e){let t=(0,k.s3)();try{let{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:a}=e.getOptions(),s={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:a};t&&t.on("beforeAddBreadcrumb",(e,t)=>iB(s,e,t))}catch(e){}}function iB(e,t,n){if(t.data)try{iZ(t)&&iz(n)&&(iT(t,n),iP(t,n,e)),iF(t)&&iU(n)&&(iv(t,n),ig(t,n,e))}catch(e){oc&&z.kg.warn("Error when enriching network breadcrumb")}}function iZ(e){return"xhr"===e.category}function iF(e){return"fetch"===e.category}function iz(e){return e&&e.xhr}function iU(e){return e&&e.response}function iH(e){let t=(0,k.s3)();(0,e9.O)(r2(e)),(0,te.a)(o7(e)),oX(e),iL(e);let n=o5(e);(0,T.Qy)(n),t&&(t.on("beforeSendEvent",oK(e)),t.on("afterSendEvent",oW(e)),t.on("createDsc",t=>{let n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),t.on("spanStart",t=>{e.lastActiveSpan=t}),t.on("spanEnd",t=>{e.lastActiveSpan=t}),t.on("beforeSendFeedback",(t,n)=>{let r=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&r&&t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=r)}))}async function iq(e){try{return Promise.all(o6(e,[iV(tt.performance.memory)]))}catch(e){return[]}}function iV(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function iW(e,t,n){let r,o,i;let a=n&&n.maxWait?Math.max(n.maxWait,t):0;function s(){return l(),r=e()}function l(){void 0!==o&&clearTimeout(o),void 0!==i&&clearTimeout(i),o=i=void 0}function c(){return void 0!==o||void 0!==i?s():r}function u(){return o&&clearTimeout(o),o=(0,Q.iK)(s,t),a&&void 0===i&&(i=(0,Q.iK)(s,a)),r}return u.cancel=l,u.flush=c,u}function i$(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){oc&&z.kg.warn("[Replay] Received replay event after session expired.");return}let o=r||!t;t=!0,e.clickDetector&&rY(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&o&&e.setInitialState(),!oL(e,n,o))return!0;if(!o)return!1;if(iK(e,o),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){let t=e.eventBuffer.getEarliestTimestamp();t&&(of(`[Replay] Updating session start time to earliest event in buffer to ${new Date(t)}`,e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&oA(e.session))}return"session"===e.recordingMode&&e.flush(),!0})}}function iG(e){let t=e.getOptions();return{type:nH.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function iK(e,t){t&&e.session&&0===e.session.segmentId&&oL(e,iG(e),!1)}function iY(e,t,n,r){return(0,q.Jd)((0,q.Cd)(e,(0,q.HY)(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?new TextEncoder().encode(t).length:t.length},t]])}function iX({recordingData:e,headers:t}){let n;let r=`${JSON.stringify(t)}
`;if("string"==typeof e)n=`${r}${e}`;else{let t=new TextEncoder().encode(r);(n=new Uint8Array(t.length+e.length)).set(t),n.set(e,t.length)}return n}async function iQ({client:e,scope:t,replayId:n,event:r}){let o={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,o);let i=await (0,R.R)(e.getOptions(),r,o,t,e,(0,k.aF)());if(!i)return null;i.platform=i.platform||"javascript";let a=e.getSdkMetadata(),{name:s,version:l}=a&&a.sdk||{};return i.sdk={...i.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0"},i}async function iJ({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:o,session:i}){let a;let s=iX({recordingData:e,headers:{segment_id:n}}),{urls:l,errorIds:c,traceIds:u,initialTimestamp:d}=r,f=(0,k.s3)(),p=(0,k.nZ)(),h=f&&f.getTransport(),m=f&&f.getDsn();if(!f||!h||!m||!i.sampled)return(0,V.WD)({});let g={type:tr,replay_start_timestamp:d/1e3,timestamp:o/1e3,error_ids:c,trace_ids:u,urls:l,replay_id:t,segment_id:n,replay_type:i.sampled},v=await iQ({scope:p,client:f,replayId:t,event:g});if(!v)return f.recordDroppedEvent("event_processor","replay",g),of("An event processor returned `null`, will not send event."),(0,V.WD)({});delete v.sdkProcessingMetadata;let y=iY(v,s,m,f.getOptions().tunnel);try{a=await h.send(y)}catch(t){let e=Error(to);try{e.cause=t}catch(e){}throw e}if("number"==typeof a.statusCode&&(a.statusCode<200||a.statusCode>=300))throw new i0(a.statusCode);let b=(0,W.WG)({},a);if((0,W.Q)(b,"replay"))throw new i1(b);return a}class i0 extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class i1 extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function i2(e,t={count:0,interval:tu}){let{recordingData:n,options:r}=e;if(n.length)try{return await iJ(e),!0}catch(n){if(n instanceof i0||n instanceof i1)throw n;if((0,T.v)("Replays",{_retryCount:t.count}),oc&&r._experiments&&r._experiments.captureExceptions&&(0,T.Tb)(n),t.count>=td){let e=Error(`${to} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,new Promise((n,r)=>{(0,Q.iK)(async()=>{try{await i2(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}let i3="__THROTTLED",i4="__SKIPPED";function i5(e,t,n){let r=new Map,o=e=>{let t=e-n;r.forEach((e,n)=>{n<t&&r.delete(n)})},i=()=>[...r.values()].reduce((e,t)=>e+t,0),a=!1;return(...n)=>{let s=Math.floor(Date.now()/1e3);if(o(s),i()>=t){let e=a;return a=!0,e?i4:i3}a=!1;let l=r.get(s)||0;return r.set(s,l+1),e(...n)}}class i6{constructor({options:e,recordingOptions:t}){i6.prototype.__init.call(this),i6.prototype.__init2.call(this),i6.prototype.__init3.call(this),i6.prototype.__init4.call(this),i6.prototype.__init5.call(this),i6.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:ti,sessionIdleExpire:ta},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=iW(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=i5((e,t)=>oB(this,e,t),300,5);let{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),o=n?{threshold:Math.min(th,n),timeout:n,scrollTimeout:tm,ignoreSelector:r?r.join(","):""}:void 0;o&&(this.clickDetector=new rV(this,o))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options;if(!(t<=0)||!(n<=0)){if(this._initializeSessionForSampling(e),!this.session){this._handleException(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",op(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode)throw Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw Error("Replay buffering is in progress, call `flush()` to save the replay");op("[Replay] Starting replay in session mode",this._options._experiments.traceInternals),this._updateUserActivity();let e=oj({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw Error("Replay recording is already in progress");op("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);let e=oj({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{let e=this._canvas;this._stopRecording=rI({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:tc},emit:i$(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{of(`[Replay] Stopping Replay${t?` triggered by ${t}`:""}`,this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,oC(this)}catch(e){this._handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),of("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),of("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();of("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();let n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&oR(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${tt.location.pathname}${tt.location.hash}${tt.location.search}`,t=`${tt.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===i3){let e=rJ({category:"replay.throttled"});this.addUpdate(()=>!oL(this,{type:rM,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastActiveSpan||(0,M.HN)(),t=e&&(0,M.Gx)(e),n=(t&&(0,M.XU)(t).data||{})[N.Zj];if(t&&n&&["route","custom"].includes(n))return(0,M.XU)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=ow({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){oc&&z.kg.error("[Replay]",e),oc&&this._options._experiments&&this._options._experiments.captureExceptions&&(0,T.Tb)(e)}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=oj({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return!oN(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{tt.document.addEventListener("visibilitychange",this._handleVisibilityChange),tt.addEventListener("blur",this._handleWindowBlur),tt.addEventListener("focus",this._handleWindowFocus),tt.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(iH(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=ol(this)}_removeListeners(){try{tt.document.removeEventListener("visibilitychange",this._handleVisibilityChange),tt.removeEventListener("blur",this._handleWindowBlur),tt.removeEventListener("focus",this._handleWindowFocus),tt.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===tt.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{let e=rJ({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{let e=rJ({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{r8(this,e)}}_doChangeToBackgroundTasks(e){!this.session||oM(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){of("[Replay] Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:nH.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=ot(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(o6(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){oc&&z.kg.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await iq(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let o=await this.eventBuffer.finish();await i2({replayId:e,recordingData:o,segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:t})}catch(t){this._handleException(t),this.stop({reason:"sendReplay"});let e=(0,k.s3)();e&&e.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){oc&&z.kg.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,o=n>this._options.maxReplayDuration+5e3;if(r||o){of(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),r&&this._debouncedFlush();return}let i=this.eventBuffer;if(i&&0===this.session.segmentId&&!i.hasCheckout&&of("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(e){oc&&z.kg.error(e)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&oA(this.session)}__init6(){this._onMutationHandler=e=>{let t=e.length,n=this._options.mutationLimit,r=this._options.mutationBreadcrumbLimit,o=n&&t>n;if(t>r||o){let e=rJ({category:"replay.mutations",data:{count:t,limit:o}});this._createCustomBreadcrumb(e)}return!o||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function i8(e,t){return[...e,...t].join(",")}function i7({mask:e,unmask:t,block:n,unblock:r,ignore:o}){let i=['base[href="/"]'];return{maskTextSelector:i8(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:i8(t,[]),blockSelector:i8(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:i8(r,[]),ignoreSelector:i8(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function i9({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:o,value:i}){return!r||o.unmaskTextSelector&&e.matches(o.unmaskTextSelector)?i:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i}let ae='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',at=["content-length","content-type","accept"],an=!1,ar=e=>new ao(e);class ao{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=ts,flushMaxDelay:t=tl,minReplayDuration:n=tv,maxReplayDuration:r=tb,stickySession:o=!0,useCompression:i=!0,workerUrl:a,_experiments:s={},maskAllText:l=!0,maskAllInputs:c=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:d=750,mutationLimit:f=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:v=!0,networkRequestHeaders:y=[],networkResponseHeaders:b=[],mask:w=[],maskAttributes:S=["title","placeholder"],unmask:x=[],block:E=[],unblock:C=[],ignore:_=[],maskFn:k,beforeAddRecordingEvent:O,beforeErrorSampling:A}={}){this.name=ao.id;let I=i7({mask:w,unmask:x,block:E,unblock:C,ignore:_});if(this._recordingOptions={maskAllInputs:c,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:k,maskInputFn:k,maskAttributeFn:(e,t,n)=>i9({maskAttributes:S,maskAllText:l,privacyOptions:I,key:e,value:t,el:n}),...I,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,ty),maxReplayDuration:Math.min(r,tb),stickySession:o,useCompression:i,workerUrl:a,blockAllMedia:u,maskAllInputs:c,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:f,slowClickTimeout:p,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:v,networkRequestHeaders:aa(y),networkResponseHeaders:aa(b),beforeAddRecordingEvent:O,beforeErrorSampling:A,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${ae}`:ae),this._isInitialized&&Y())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return an}set _isInitialized(e){an=e}setupOnce(){Y()&&(this._setup(),setTimeout(()=>this._initialize()))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){let e=ai(this._initialOptions);this._replay=new i6({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{let e=(0,k.s3)().getIntegrationByName("ReplayCanvas");if(!e)return;this._replay._canvas=e.getOptions()}catch(e){}}}function ai(e){let t=(0,k.s3)(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...(0,B.Jr)(e)};if(!n)return(0,z.Cf)(()=>{console.warn("SDK client is not available.")}),r;let o=(0,j.o)(n.replaysSessionSampleRate),i=(0,j.o)(n.replaysOnErrorSampleRate);return null==o&&null==i&&(0,z.Cf)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=o&&(r.sessionSampleRate=o),null!=i&&(r.errorSampleRate=i),r}function aa(e){return[...at,...e.map(e=>e.toLowerCase())]}ao.__initStatic();var as=n(41503);function al(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||ac();return!!t&&(t.enableTracing||"tracesSampleRate"in t||"tracesSampler"in t)}function ac(){let e=(0,k.s3)();return e&&e.getOptions()}var au=n(33267);function ad(e){let t={...e};(0,as.V)(t,"react"),(0,au.S1)(t)}var af=n(79895);function ap(e){let t=e?"production":af.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}var ah=n(81352),am=n(78226),ag=n(45707),av=n(4751),ay=n(69790);function ab(e){if(!ay.X)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=(0,M.XU)(e),{spanId:o}=e.spanContext(),i=(0,M.Tt)(e),a=(0,M.Gx)(e),s=a===e,l=`[Tracing] Starting ${i?"sampled":"unsampled"} ${s?"root ":""}span`,c=[`op: ${n}`,`name: ${t}`,`ID: ${o}`];if(r&&c.push(`parent ID: ${r}`),!s){let{op:e,description:t}=(0,M.XU)(a);c.push(`root ID: ${a.spanContext().spanId}`),e&&c.push(`root op: ${e}`),t&&c.push(`root description: ${t}`)}z.kg.log(`${l}
  ${c.join("\n  ")}`)}function aw(e){if(!ay.X)return;let{description:t="< unknown name >",op:n="< unknown op >"}=(0,M.XU)(e),{spanId:r}=e.spanContext(),o=(0,M.Gx)(e)===e,i=`[Tracing] Finishing "${n}" ${o?"root ":""}span "${t}" with ID ${r}`;z.kg.log(i)}function aS(e,t){let n;if(!al(e))return[!1];n="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1;let r=(0,j.o)(n);return void 0===r?(ay.X&&z.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random()<r?[!0,r]:(ay.X&&z.kg.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[!1,r]):(ay.X&&z.kg.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,r])}class ax{constructor(e={}){this._traceId=e.traceId||(0,U.DM)(),this._spanId=e.spanId||(0,U.DM)().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:M.ve}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}}var aE=n(85326),aC=n(47917);function a_(e,t,n){let r=(0,M.HN)(),o=r&&(0,M.Gx)(r);o&&o.addEvent(e,{[N.Wb]:t,[N.E1]:n})}function ak(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[N.E1],o=n[N.Wb];"string"==typeof r&&"number"==typeof o&&(t[e.name]={value:o,unit:r})}),t}let aO="_sentryScope",aA="_sentryIsolationScope";function aI(e,t,n){e&&((0,B.xp)(e,aA,n),(0,B.xp)(e,aO,t))}function aP(e){return{scope:e[aO],isolationScope:e[aA]}}class aT{constructor(e={}){this._traceId=e.traceId||(0,U.DM)(),this._spanId=e.spanId||(0,U.DM)().substring(16),this._startTime=e.startTimestamp||(0,F.ph)(),this._attributes={},this.setAttributes({[N.S3]:"manual",[N.$J]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?M.i0:M.ve}}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach(t=>this.setAttribute(t,e[t]))}updateStartTime(e){this._startTime=(0,M.$k)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=(0,M.$k)(e),aw(this),this._onSpanEnded())}getSpanJSON(){return(0,B.Jr)({data:this._attributes,description:this._name,op:this._attributes[N.$J],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,M._4)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[N.S3],_metrics_summary:(0,aC.y)(this),profile_id:this._attributes[N.p6],exclusive_time:this._attributes[N.JQ],measurements:ak(this._events),is_segment:this._isStandaloneSpan&&(0,M.Gx)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,M.Gx)(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){ay.X&&z.kg.log("[Tracing] Adding an event to span:",e);let r=aR(t)?t:n||(0,F.ph)(),o=aR(t)?{}:t||{},i={name:e,time:(0,M.$k)(r),attributes:o};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,k.s3)();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,M.Gx)(this)))return;if(this._isStandaloneSpan){aj((0,aE.uE)([this],e));return}let t=this._convertSpanToTransaction();t&&(aP(this).scope||(0,k.nZ)()).captureEvent(t)}_convertSpanToTransaction(){if(!aM((0,M.XU)(this)))return;this._name||(ay.X&&z.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=aP(this),n=(e||(0,k.nZ)()).getClient()||(0,k.s3)();if(!0!==this._sampled){ay.X&&z.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}let r=(0,M.Dp)(this).filter(e=>e!==this&&!aN(e)).map(e=>(0,M.XU)(e)).filter(aM),o=this._attributes[N.Zj],i={contexts:{trace:(0,M.HR)(this)},spans:r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...(0,B.Jr)({dynamicSamplingContext:(0,av.jC)(this)})},_metrics_summary:(0,aC.y)(this),...o&&{transaction_info:{source:o}}},a=ak(this._events);return a&&Object.keys(a).length&&(ay.X&&z.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(a,void 0,2)),i.measurements=a),i}}function aR(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function aM(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function aN(e){return e instanceof aT&&e.isStandaloneSpan()}function aj(e){let t=(0,k.s3)();if(!t)return;let n=e[1];if(!n||0===n.length){t.recordDroppedEvent("before_send","span");return}let r=t.getTransport();r&&r.send(e).then(null,e=>{ay.X&&z.kg.error("Error while sending span:",e)})}let aD="__SENTRY_SUPPRESS_TRACING__";function aL(e){let t=az();if(t.startInactiveSpan)return t.startInactiveSpan(e);let n=aF(e),r=e.scope||(0,k.nZ)(),o=aq(r);return e.onlyIfParent&&!o?new ax:aZ({parentSpan:o,spanContext:n,forceTransaction:e.forceTransaction,scope:r})}function aB(e,t){let n=az();return n.withActiveSpan?n.withActiveSpan(e,t):(0,k.$e)(n=>((0,ag.D)(n,e||void 0),t(n)))}function aZ({parentSpan:e,spanContext:t,forceTransaction:n,scope:r}){let o;if(!al())return new ax;let i=(0,k.aF)();if(e&&!n)o=aH(e,r,t),(0,M.j5)(e,o);else if(e){let n=(0,av.jC)(e),{traceId:i,spanId:a}=e.spanContext(),s=(0,M.Tt)(e);o=aU({traceId:i,parentSpanId:a,...t},r,s),(0,av.Lh)(o,n)}else{let{traceId:e,dsc:n,parentSpanId:a,sampled:s}={...i.getPropagationContext(),...r.getPropagationContext()};o=aU({traceId:e,parentSpanId:a,...t},r,s),n&&(0,av.Lh)(o,n)}return ab(o),aI(o,r,i),o}function aF(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=(0,M.$k)(e.startTime),delete n.startTime,n}return t}function az(){let e=(0,ah.c)();return(0,am.G)(e)}function aU(e,t,n){let r=(0,k.s3)(),o=r&&r.getOptions()||{},{name:i="",attributes:a}=e,[s,l]=t.getScopeData().sdkProcessingMetadata[aD]?[!1]:aS(o,{name:i,parentSampled:n,attributes:a,transactionContext:{name:i,parentSampled:n}}),c=new aT({...e,attributes:{[N.Zj]:"custom",...e.attributes},sampled:s});return void 0!==l&&c.setAttribute(N.TE,l),r&&r.emit("spanStart",c),c}function aH(e,t,n){let{spanId:r,traceId:o}=e.spanContext(),i=!t.getScopeData().sdkProcessingMetadata[aD]&&(0,M.Tt)(e),a=i?new aT({...n,parentSpanId:r,traceId:o,sampled:i}):new ax({traceId:o});(0,M.j5)(e,a);let s=(0,k.s3)();return s&&(s.emit("spanStart",a),n.endTimestamp&&s.emit("spanEnd",a)),a}function aq(e){let t=(0,ag.Y)(e);if(!t)return;let n=(0,k.s3)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,M.Gx)(t):t}var aV=n(59701);function aW(e){return"number"==typeof e&&isFinite(e)}function a$(e,t,n,{...r}){let o=(0,M.XU)(e).start_timestamp;return o&&o>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),aB(e,()=>{let e=aL({startTime:t,...r});return e&&e.end(n),e})}function aG(){return er.m&&er.m.addEventListener&&er.m.performance}function aK(e){return e/1e3}let aY=2147483647,aX=0,aQ={};function aJ(){let e=aG();if(e&&F.Z1){e.mark&&er.m.performance.mark("sentry-tracing-init");let t=a4(),n=a2(),r=a3(),o=a5();return()=>{t(),n(),r(),o()}}return()=>void 0}function a0(){eX("longtask",({entries:e})=>{for(let t of e){if(!(0,M.HN)())return;let e=aK(F.Z1+t.startTime),n=aK(t.duration),r=aL({name:"Main UI thread blocked",op:"ui.long-task",startTime:e,attributes:{[N.S3]:"auto.ui.browser.metrics"}});r&&r.end(e+n)}})}function a1(){eX("event",({entries:e})=>{for(let t of e){if(!(0,M.HN)())return;if("click"===t.name){let e=aK(F.Z1+t.startTime),n=aK(t.duration),r={name:(0,Z.Rt)(t.target),op:`ui.interaction.${t.name}`,startTime:e,attributes:{[N.S3]:"auto.ui.browser.metrics"}},o=(0,Z.iY)(t.target);o&&(r.attributes["ui.component_name"]=o);let i=aL(r);i&&i.end(e+n)}}})}function a2(){return eW(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(ee.X&&z.kg.log("[Measurements] Adding CLS"),aQ.cls={value:e.value,unit:""},g=t)},!0)}function a3(){return e$(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(ee.X&&z.kg.log("[Measurements] Adding LCP"),aQ.lcp={value:e.value,unit:"millisecond"},m=t)},!0)}function a4(){return eG(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let n=aK(F.Z1),r=aK(t.startTime);ee.X&&z.kg.log("[Measurements] Adding FID"),aQ.fid={value:e.value,unit:"millisecond"},aQ["mark.fid"]={value:n+r,unit:"second"}})}function a5(){return eK(({metric:e})=>{e.entries[e.entries.length-1]&&(ee.X&&z.kg.log("[Measurements] Adding TTFB"),aQ.ttfb={value:e.value,unit:"millisecond"})})}function a6(e){let t=aG();if(!t||!er.m.performance.getEntries||!F.Z1)return;ee.X&&z.kg.log("[Tracing] Adding & adjusting spans using Performance API");let n=aK(F.Z1),r=t.getEntries(),{op:o,start_timestamp:i}=(0,M.XU)(e);if(r.slice(aX).forEach(t=>{let r=aK(t.startTime),a=aK(t.duration);if("navigation"!==o||!i||!(n+r<i))switch(t.entryType){case"navigation":a7(e,t,n);break;case"mark":case"paint":case"measure":{a8(e,t,r,a,n);let o=em(),i=t.startTime<o.firstHiddenTime;"first-paint"===t.name&&i&&(ee.X&&z.kg.log("[Measurements] Adding FP"),aQ.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&i&&(ee.X&&z.kg.log("[Measurements] Adding FCP"),aQ.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":st(e,t,t.name,r,a,n)}}),aX=Math.max(r.length-1,0),sn(e),"pageload"===o){si(aQ),["fcp","fp","lcp"].forEach(e=>{if(!aQ[e]||!i||n>=i)return;let t=aQ[e].value,r=Math.abs((n+aK(t)-i)*1e3),o=r-t;ee.X&&z.kg.log(`[Measurements] Normalized ${e} from ${t} to ${r} (${o})`),aQ[e].value=r});let t=aQ["mark.fid"];t&&aQ.fid&&(a$(e,t.value,t.value+aK(aQ.fid.value),{name:"first input delay",op:"ui.action",attributes:{[N.S3]:"auto.ui.browser.metrics"}}),delete aQ["mark.fid"]),"fcp"in aQ||delete aQ.cls,Object.keys(aQ).forEach(e=>{a_(e,aQ[e].value,aQ[e].unit)}),sr(e)}m=void 0,g=void 0,aQ={}}function a8(e,t,n,r,o){let i=o+n,a=i+r;return a$(e,i,a,{name:t.name,op:t.entryType,attributes:{[N.S3]:"auto.resource.browser.metrics"}}),i}function a7(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{a9(e,t,r,n)}),a9(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),a9(e,t,"fetch",n,"cache","domainLookupStart"),a9(e,t,"domainLookup",n,"DNS"),se(e,t,n)}function a9(e,t,n,r,o,i){let a=i?t[i]:t[`${n}End`],s=t[`${n}Start`];s&&a&&a$(e,r+aK(s),r+aK(a),{op:"browser",name:o||n,attributes:{[N.S3]:"auto.ui.browser.metrics"}})}function se(e,t,n){t.responseEnd&&(a$(e,n+aK(t.requestStart),n+aK(t.responseEnd),{op:"browser",name:"request",attributes:{[N.S3]:"auto.ui.browser.metrics"}}),a$(e,n+aK(t.responseStart),n+aK(t.responseEnd),{op:"browser",name:"response",attributes:{[N.S3]:"auto.ui.browser.metrics"}}))}function st(e,t,n,r,o,i){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let a=(0,aV.en)(n),s={[N.S3]:"auto.resource.browser.metrics"};so(s,t,"transferSize","http.response_transfer_size"),so(s,t,"encodedBodySize","http.response_content_length"),so(s,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(s["url.scheme"]=a.protocol.split(":").pop()),a.host&&(s["server.address"]=a.host),s["url.same_origin"]=n.includes(er.m.location.origin);let l=i+r,c=l+o;a$(e,l,c,{name:n.replace(er.m.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:s})}function sn(e){let t=er.m.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),aW(n.rtt)&&(aQ["connection.rtt"]={value:n.rtt,unit:"millisecond"})),aW(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),aW(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function sr(e){m&&(ee.X&&z.kg.log("[Measurements] Adding LCP Data"),m.element&&e.setAttribute("lcp.element",(0,Z.Rt)(m.element)),m.id&&e.setAttribute("lcp.id",m.id),m.url&&e.setAttribute("lcp.url",m.url.trim().slice(0,200)),e.setAttribute("lcp.size",m.size)),g&&g.sources&&(ee.X&&z.kg.log("[Measurements] Adding CLS Data"),g.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,(0,Z.Rt)(t.node))))}function so(e,t,n,r){let o=t[n];null!=o&&o<aY&&(e[r]=o)}function si(e){let t=ei();if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(ee.X&&z.kg.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}function sa(){if(aG()&&F.Z1){let e=sl();return()=>{e()}}return()=>void 0}let ss={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function sl(){return eY(({metric:e})=>{let t;let n=(0,k.s3)();if(!n||void 0==e.value)return;let r=e.entries.find(t=>t.duration===e.value&&ss[t.name]);if(!r)return;let o=ss[r.name],i=n.getOptions(),a=aK(F.Z1+r.startTime),s=aK(e.value),l=(0,k.nZ)(),c=(0,M.HN)(),u=c?(0,M.Gx)(c):void 0,d=u?(0,M.XU)(u).description:void 0,f=l.getUser(),p=n.getIntegrationByName("Replay"),h=p&&p.getReplayId(),m=void 0!==f?f.email||f.id||f.ip_address:void 0;try{t=l.getScopeData().contexts.profile.profile_id}catch(e){}let g=aL({name:(0,Z.Rt)(r.target),op:`ui.interaction.${o}`,attributes:(0,B.Jr)({release:i.release,environment:i.environment,transaction:d,[N.JQ]:e.value,user:m||void 0,profile_id:t||void 0,replay_id:h||void 0}),startTime:a,experimental:{standalone:!0}});g.addEvent("inp",{[N.E1]:"millisecond",[N.Wb]:e.value}),g.end(a+s)})}var sc=n(95639);let su={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},sd="heartbeatFailed",sf="idleTimeout",sp="finalTimeout",sh="externalFinish";function sm(e,t={}){let n;let r=new Map,o=!1,i=sh,a=!t.disableAutoFinish,{idleTimeout:s=su.idleTimeout,finalTimeout:l=su.finalTimeout,childSpanTimeout:c=su.childSpanTimeout,beforeSpanEnd:u}=t,d=(0,k.s3)();if(!d||!al())return new ax;let f=(0,k.nZ)(),p=(0,M.HN)(),h=sg(e);function m(e=(0,F.ph)()){let t=(0,M.Dp)(h).filter(e=>e!==h);if(!t.length){h.end(e);return}let n=t.map(e=>(0,M.XU)(e).timestamp).filter(e=>!!e),r=n.length?Math.max(...n):void 0,o=(0,M.$k)(e),i=(0,M.XU)(h).start_timestamp,a=Math.min(i?i+l/1e3:1/0,Math.max(i||-1/0,Math.min(o,r||1/0)));h.end(a)}function g(){n&&(clearTimeout(n),n=void 0)}function v(e){g(),n=setTimeout(()=>{!o&&0===r.size&&a&&(i=sf,m(e))},s)}function y(e){n=setTimeout(()=>{!o&&a&&(i=sd,m(e))},c)}function b(e){g(),r.set(e,!0),y((0,F.ph)()+c/1e3)}function w(e){r.has(e)&&r.delete(e),0===r.size&&v((0,F.ph)()+s/1e3)}function S(){o=!0,r.clear(),u&&u(h),(0,ag.D)(f,p);let e=(0,M.XU)(h),{timestamp:t,start_timestamp:n}=e;if(!t||!n)return;(e.data||{})[N.ju]||h.setAttribute(N.ju,i),z.kg.log(`[Tracing] Idle span "${e.op}" finished`);let a=(0,M.Dp)(h).filter(e=>e!==h),c=0;a.forEach(e=>{e.isRecording()&&(e.setStatus({code:sc.jt,message:"cancelled"}),e.end(t),ay.X&&z.kg.log("[Tracing] Cancelling span since span ended early",JSON.stringify(e,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=(0,M.XU)(e),o=r<=t,i=n-r<(l+s)/1e3;if(ay.X){let t=JSON.stringify(e,void 0,2);o?i||z.kg.log("[Tracing] Discarding span since it finished after idle span final timeout",t):z.kg.log("[Tracing] Discarding span since it happened after idle span was finished",t)}(!i||!o)&&((0,M.ed)(h,e),c++)}),c>0&&h.setAttribute("sentry.idle_span_discarded_spans",c)}return d.on("spanStart",e=>{!o&&e!==h&&!(0,M.XU)(e).timestamp&&(0,M.Dp)(h).includes(e)&&b(e.spanContext().spanId)}),d.on("spanEnd",e=>{o||(w(e.spanContext().spanId),e===h&&S())}),d.on("idleSpanEnableAutoFinish",e=>{e===h&&(a=!0,v(),r.size&&y())}),t.disableAutoFinish||v(),setTimeout(()=>{o||(h.setStatus({code:sc.jt,message:"deadline_exceeded"}),i=sp,m())},l),h}function sg(e){let t=aL(e);return(0,ag.D)((0,k.nZ)(),t),ay.X&&z.kg.log("[Tracing] Started span is an idle span"),t}var sv=n(79069),sy=n(30653);let sb=!1;function sw(){sb||(sb=!0,(0,sv.V)(sS),(0,sy.h)(sS))}function sS(){let e=(0,M.HN)(),t=e&&(0,M.Gx)(e);if(t){let e="internal_error";ay.X&&z.kg.log(`[Tracing] Root span: ${e} -> Global error occured`),t.setStatus({code:sc.jt,message:e})}}sS.tag="sentry_tracingErrorCallback";var sx=n(30009),sE=n(29131),sC=n(83950),s_=n(45101);function sk(){s_.m9&&s_.m9.document?s_.m9.document.addEventListener("visibilitychange",()=>{let e=(0,M.HN)();if(!e)return;let t=(0,M.Gx)(e);if(s_.m9.document.hidden&&t){let e="cancelled",{op:n,status:r}=(0,M.XU)(t);sC.X&&z.kg.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:sc.jt,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):sC.X&&z.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var sO=n(47157),sA=n(95849);function sI(e,t,n,r,o="auto.http.browser"){if(!e.fetchData)return;let i=al()&&t(e.fetchData.url);if(e.endTimestamp&&i){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(sR(n,e),delete r[t]);return}let a=(0,k.nZ)(),s=(0,k.s3)(),{method:l,url:c}=e.fetchData,u=sT(c),d=u?(0,aV.en)(u).host:void 0,f=!!(0,M.HN)(),p=i&&f?aL({name:`${l} ${c}`,attributes:{url:c,type:"fetch","http.method":l,"http.url":u,"server.address":d,[N.S3]:o,[N.$J]:"http.client"}}):new ax;if(e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)&&s){let t=e.args[0];e.args[1]=e.args[1]||{};let n=e.args[1];n.headers=sP(t,s,a,n,al()&&f?p:void 0)}return p}function sP(e,t,n,r,o){let{traceId:i,spanId:a,sampled:s,dsc:l}={...(0,k.aF)().getPropagationContext(),...n.getPropagationContext()},c=o?(0,M.Hb)(o):(0,sx.$p)(i,a,s),u=(0,sO.IQ)(l||(o?(0,av.jC)(o):(0,av._l)(i,t))),d=r.headers||("undefined"!=typeof Request&&(0,sA.V9)(e,Request)?e.headers:void 0);if(!d)return{"sentry-trace":c,baggage:u};if("undefined"!=typeof Headers&&(0,sA.V9)(d,Headers)){let e=new Headers(d);return e.append("sentry-trace",c),u&&e.append(sO.bU,u),e}if(Array.isArray(d)){let e=[...d,["sentry-trace",c]];return u&&e.push([sO.bU,u]),e}{let e="baggage"in d?d.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),u&&t.push(u),{...d,"sentry-trace":c,baggage:t.length>0?t.join(","):void 0}}}function sT(e){try{return new URL(e).href}catch(e){return}}function sR(e,t){if(t.response){(0,sc.Q0)(e,t.response.status);let n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:sc.jt,message:"internal_error"});e.end()}var sM=n(63286);let sN={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function sj(e){let{traceFetch:t,traceXHR:n,shouldCreateSpanForRequest:r,enableHTTPTimings:o,tracePropagationTargets:i}={traceFetch:sN.traceFetch,traceXHR:sN.traceXHR,...e},a="function"==typeof r?r:e=>!0,s=e=>sz(e,i),l={};t&&(0,sM.U)(e=>{let t=sI(e,a,s,l);if(t){let n=sV(e.fetchData.url),r=n?(0,aV.en)(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}o&&t&&sL(t)}),n&&(0,e7.UK)(e=>{let t=sU(e,a,s,l);o&&t&&sL(t)})}function sD(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}function sL(e){let{url:t}=(0,M.XU)(e).data||{};if(!t||"string"!=typeof t)return;let n=eX("resource",({entries:r})=>{r.forEach(r=>{sD(r)&&r.name.endsWith(t)&&(sF(r).forEach(t=>e.setAttribute(...t)),setTimeout(n))})})}function sB(e){let t="unknown",n="unknown",r="";for(let o of e){if("/"===o){[t,n]=e.split("/");break}if(!isNaN(Number(o))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=o}return r===e&&(t=r),{name:t,version:n}}function sZ(e=0){return((F.Z1||performance.timeOrigin)+e)/1e3}function sF(e){let{name:t,version:n}=sB(e.nextHopProtocol),r=[];return(r.push(["network.protocol.version",n],["network.protocol.name",t]),F.Z1)?[...r,["http.request.redirect_start",sZ(e.redirectStart)],["http.request.fetch_start",sZ(e.fetchStart)],["http.request.domain_lookup_start",sZ(e.domainLookupStart)],["http.request.domain_lookup_end",sZ(e.domainLookupEnd)],["http.request.connect_start",sZ(e.connectStart)],["http.request.secure_connection_start",sZ(e.secureConnectionStart)],["http.request.connection_end",sZ(e.connectEnd)],["http.request.request_start",sZ(e.requestStart)],["http.request.response_start",sZ(e.responseStart)],["http.request.response_end",sZ(e.responseEnd)]]:r}function sz(e,t){let n=s_.m9.location&&s_.m9.location.href;if(n){let r,o;try{r=new URL(e,n),o=new URL(n).origin}catch(e){return!1}let i=r.origin===o;return t?(0,H.U0)(r.toString(),t)||i&&(0,H.U0)(r.pathname,t):i}{let n=!!e.match(/^\/(?!\/)/);return t?(0,H.U0)(e,t):n}}function sU(e,t,n,r){let o=e.xhr,i=o&&o[e7.xU];if(!o||o.__sentry_own_request__||!i)return;let a=al()&&t(i.url);if(e.endTimestamp&&a){let e=o.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&void 0!==i.status_code&&((0,sc.Q0)(t,i.status_code),t.end(),delete r[e]);return}let s=sV(i.url),l=s?(0,aV.en)(s).host:void 0,c=!!(0,M.HN)(),u=a&&c?aL({name:`${i.method} ${i.url}`,attributes:{type:"xhr","http.method":i.method,"http.url":s,url:i.url,"server.address":l,[N.S3]:"auto.http.browser",[N.$J]:"http.client"}}):new ax;o.__sentry_xhr_span_id__=u.spanContext().spanId,r[o.__sentry_xhr_span_id__]=u;let d=(0,k.s3)();return o.setRequestHeader&&n(i.url)&&d&&sH(o,d,al()&&c?u:void 0),u}function sH(e,t,n){let r=(0,k.nZ)(),{traceId:o,spanId:i,sampled:a,dsc:s}={...(0,k.aF)().getPropagationContext(),...r.getPropagationContext()};sq(e,n&&al()?(0,M.Hb)(n):(0,sx.$p)(o,i,a),(0,sO.IQ)(s||(n?(0,av.jC)(n):(0,av._l)(o,t))))}function sq(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(sO.bU,n)}catch(e){}}function sV(e){try{return new URL(e,s_.m9.location.origin).href}catch(e){return}}let sW="BrowserTracing",s$={...su,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!0,_experiments:{},...sN},sG=(e={})=>{sw();let{enableInp:t,enableLongTask:n,_experiments:{enableInteractions:r},beforeStartSpan:o,idleTimeout:i,finalTimeout:a,childSpanTimeout:s,markBackgroundSpan:l,traceFetch:c,traceXHR:u,shouldCreateSpanForRequest:d,enableHTTPTimings:f,instrumentPageLoad:p,instrumentNavigation:h}={...s$,...e},m=aJ();t&&sa(),n&&a0(),r&&a1();let g={name:void 0,source:void 0};function v(e,t){let n="pageload"===t.op,r=o?o(t):t,l=r.attributes||{};t.name!==r.name&&(l[N.Zj]="custom",r.attributes=l),g.name=r.name,g.source=l[N.Zj];let c=sm(r,{idleTimeout:i,finalTimeout:a,childSpanTimeout:s,disableAutoFinish:n,beforeSpanEnd:e=>{m(),a6(e)}});function u(){["interactive","complete"].includes(s_.m9.document.readyState)&&e.emit("idleSpanEnableAutoFinish",c)}return n&&s_.m9.document&&(s_.m9.document.addEventListener("readystatechange",()=>{u()}),u()),c}return{name:sW,afterAllSetup(e){let t;let n=s_.m9.location&&s_.m9.location.href;e.on("startNavigationSpan",n=>{(0,k.s3)()===e&&(t&&(sC.X&&z.kg.log(`[Tracing] Finishing current root span with op: ${(0,M.XU)(t).op}`),t.end()),t=v(e,{op:"navigation",...n}))}),e.on("startPageLoadSpan",(n,r={})=>{if((0,k.s3)()!==e)return;t&&(sC.X&&z.kg.log(`[Tracing] Finishing current root span with op: ${(0,M.XU)(t).op}`),t.end());let o=r.sentryTrace||sX("sentry-trace"),i=r.baggage||sX("baggage"),a=(0,sx.pT)(o,i);(0,k.nZ)().setPropagationContext(a),t=v(e,{op:"pageload",...n})}),e.on("spanEnd",e=>{let t=(0,M.XU)(e).op;if(e!==(0,M.Gx)(e)||"navigation"!==t&&"pageload"!==t)return;let n=(0,k.nZ)(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:(0,M.Tt)(e),dsc:r.dsc||(0,av.jC)(e)})}),s_.m9.location&&(p&&sK(e,{name:s_.m9.location.pathname,startTime:F.Z1?F.Z1/1e3:void 0,attributes:{[N.Zj]:"url",[N.S3]:"auto.pageload.browser"}}),h&&(0,te.a)(({to:t,from:r})=>{if(void 0===r&&n&&-1!==n.indexOf(t)){n=void 0;return}r!==t&&(n=void 0,sY(e,{name:s_.m9.location.pathname,attributes:{[N.Zj]:"url",[N.S3]:"auto.navigation.browser"}}))})),l&&sk(),r&&sQ(i,a,s,g),sj({traceFetch:c,traceXHR:u,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:d,enableHTTPTimings:f})}}};function sK(e,t,n){e.emit("startPageLoadSpan",t,n),(0,k.nZ)().setTransactionName(t.name);let r=(0,M.HN)();return"pageload"===(r&&(0,M.XU)(r).op)?r:void 0}function sY(e,t){(0,k.aF)().setPropagationContext((0,sE.Q)()),(0,k.nZ)().setPropagationContext((0,sE.Q)()),e.emit("startNavigationSpan",t),(0,k.nZ)().setTransactionName(t.name);let n=(0,M.HN)();return"navigation"===(n&&(0,M.XU)(n).op)?n:void 0}function sX(e){let t=(0,Z.qT)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function sQ(e,t,n,r){let o;let i=()=>{let i="ui.action.click",a=(0,M.HN)(),s=a&&(0,M.Gx)(a);if(s&&["navigation","pageload"].includes((0,M.XU)(s).op)){sC.X&&z.kg.warn(`[Tracing] Did not create ${i} span because a pageload or navigation span is in progress.`);return}if(o&&(o.setAttribute(N.ju,"interactionInterrupted"),o.end(),o=void 0),!r.name){sC.X&&z.kg.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`);return}o=sm({name:r.name,op:i,attributes:{[N.Zj]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n})};s_.m9.document&&addEventListener("click",i,{once:!1,capture:!0})}function sJ(e){sK(e,{name:s_.m9.location.pathname,startTime:F.Z1?F.Z1/1e3:void 0,attributes:{[N.$J]:"pageload",[N.S3]:"auto.pageload.nextjs.app_router_instrumentation",[N.Zj]:"url"}})}function s0(e){(0,sM.U)(t=>{if(void 0!==t.endTimestamp||"GET"!==t.fetchData.method)return;let n=s1(t.args);null!==n&&sY(e,{name:n.targetPathname,attributes:{[N.$J]:"navigation",[N.S3]:"auto.navigation.nextjs.app_router_instrumentation",[N.Zj]:"url"}})})}function s1(e){if(!e[0]||"object"!=typeof e[0]||void 0===e[0].searchParams||!e[1]||"object"!=typeof e[1]||!("headers"in e[1]))return null;try{let t=e[0],n=e[1].headers;if("1"!==n.RSC||"1"===n["Next-Router-Prefetch"])return null;return{targetPathname:t.pathname}}catch(e){return null}}var s2=n(22167);let s3="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,s4=s2.events?s2:s2.default,s5=s_.m9;function s6(){let e;let t=s5.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){s3&&z.kg.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:o,props:i}=e;return n.route=r,n.params=o,i&&i.pageProps&&(n.sentryTrace=i.pageProps._sentryTraceData,n.baggage=i.pageProps._sentryBaggage),n}function s8(e){let{route:t,params:n,sentryTrace:r,baggage:o}=s6();sK(e,{name:t||s5.location.pathname,startTime:F.Z1?F.Z1/1e3:void 0,attributes:{[N.$J]:"pageload",[N.S3]:"auto.pageload.nextjs.pages_router_instrumentation",[N.Zj]:t?"route":"url",...n&&e.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:r,baggage:o})}function s7(e){s4.events.on("routeChangeStart",t=>{let n,r;let o=(0,aV.rt)(t),i=s9(o);i?(n=i,r="route"):(n=o,r="url"),sY(e,{name:n,attributes:{[N.$J]:"navigation",[N.S3]:"auto.navigation.nextjs.pages_router_instrumentation",[N.Zj]:r}})})}function s9(e){let t=(s5.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let n=le(t);return e.match(n)})}function le(e){let t=e.split("/"),n="";t[t.length-1].match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),n="(?:/(.+?))?");let r=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${n}(?:/)?$`)}function lt(e){s_.m9.document.getElementById("__NEXT_DATA__")?s8(e):sJ(e)}function ln(e){s_.m9.document.getElementById("__NEXT_DATA__")?s7(e):s0(e)}function lr(e={}){let t=sG({...e,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){r&&ln(e),t.afterAllSetup(e),n&&lt(e)}}}var lo=n(258);function li(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}let la=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function ls(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=la.exec(t);return n?n.slice(1):[]}function ll(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let o=r>=0?e[r]:"/";o&&(t=`${o}/${t}`,n="/"===o.charAt(0))}return t=li(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function lc(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}function lu(e,t){e=ll(e).slice(1),t=ll(t).slice(1);let n=lc(e.split("/")),r=lc(t.split("/")),o=Math.min(n.length,r.length),i=o;for(let e=0;e<o;e++)if(n[e]!==r[e]){i=e;break}let a=[];for(let e=i;e<n.length;e++)a.push("..");return(a=a.concat(r.slice(i))).join("/")}function ld(e,t){let n=ls(e)[2];return t&&n.slice(-1*t.length)===t&&(n=n.slice(0,n.length-t.length)),n}let lf="RewriteFrames",lp=(0,lo._I)((e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in D.GLOBAL_OBJ&&void 0!==D.GLOBAL_OBJ.window,o=e.iteratee||lh({isBrowser:r,root:t,prefix:n});function i(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>({...e,...e.stacktrace&&{stacktrace:a(e.stacktrace)}}))}}}catch(t){return e}}function a(e){return{...e,frames:e&&e.frames&&e.frames.map(e=>o(e))}}return{name:lf,processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=i(t)),t}}});function lh({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let o=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),i=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(o||i){let e=o?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,i=t?lu(t,e):ld(e);r.filename=`${n}${i}`}return r}}let lm=(0,lo._I)(({assetPrefixPath:e})=>({...lp({iteratee:t=>{try{let{origin:n}=new URL(t.filename);t.filename=x([t,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(n,"app://"),"access",e=>e.replace,"call",t=>t(e,"")])}catch(e){}return t.filename&&t.filename.startsWith("app:///_next")&&(t.filename=decodeURI(t.filename)),t.filename&&t.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(t.in_app=!1),t}}),name:"NextjsClientStackFrameNormalization"}));var lg=n(87827);let lv=D.GLOBAL_OBJ;function ly(e){let t=lv.__sentryRewritesTunnelPath__;if(t&&e.dsn){let n=(0,lg.U4)(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let o=r[1],i=r[2],a=`${t}?o=${o}&p=${n.projectId}`;i&&(a+=`&r=${i}`),e.tunnel=a,s3&&z.kg.info(`Tunneling events to "${a}"`)}else s3&&z.kg.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}let lb=D.GLOBAL_OBJ;function lw(e){let t={environment:ap(!0)||"production",defaultIntegrations:lS(e),...e};ly(t),(0,as.V)(t,"nextjs",["nextjs","react"]),ad(t),(0,T.YA)("runtime","browser");let n=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;n.id="NextClient404Filter",(0,T.Qy)(n)}function lS(e){let t=(0,au.nV)(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&al(e)&&t.push(lr());let n=lb.__rewriteFramesAssetPrefixPath__||"";return t.push(lm({assetPrefixPath:n})),t}class lx{enableReplay(){return this._options={...this._options,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1,integrations:e=>[...e,ar()]},this}initialize(){lw({tracesSampleRate:1,...this._options})}constructor(e){this._options=e}}var lE=n(7726);let lC={integrations:{replay:!1}},l_=function(){let{integrations:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lC,t=new lx({enabled:"production"===lE.O.NEXT_PUBLIC_NODE_ENV,environment:lE.O.NEXT_PUBLIC_ENVIRONMENT,dsn:lE.O.NEXT_PUBLIC_SENTRY_DSN});e.replay&&t.enableReplay(),t.initialize()};var lk=window;lk.__sentryRewritesTunnelPath__=void 0,lk.SENTRY_RELEASE={id:"d19dcd2bbca3c4c19e5fe810f9452d21f4f2b8cf"},lk.__sentryBasePath=void 0,lk.__rewriteFramesAssetPrefixPath__="",l_()},22392:function(e,t,n){"use strict";var r=n(44194),o=n(59798),i=n(72477),a=n(61038);function s(e){return!!(null==e?void 0:e.then)}let l=e=>{let{type:t,children:n,prefixCls:l,buttonProps:c,close:u,autoFocus:d,emitEvent:f,isSilent:p,quitOnNullishReturnValue:h,actionFn:m}=e,g=r.useRef(!1),v=r.useRef(null),[y,b]=(0,o.Z)(!1),w=function(){null==u||u.apply(void 0,arguments)};r.useEffect(()=>{let e=null;return d&&(e=setTimeout(()=>{var e;null===(e=v.current)||void 0===e||e.focus()})),()=>{e&&clearTimeout(e)}},[]);let S=e=>{s(e)&&(b(!0),e.then(function(){b(!1,!0),w.apply(void 0,arguments),g.current=!1},e=>{if(b(!1,!0),g.current=!1,null==p||!p())return Promise.reject(e)}))},x=e=>{let t;if(!g.current){if(g.current=!0,!m){w();return}if(f){if(t=m(e),h&&!s(t)){g.current=!1,w(e);return}}else if(m.length)t=m(u),g.current=!1;else if(!s(t=m())){w();return}S(t)}};return r.createElement(i.ZP,Object.assign({},(0,a.nx)(t),{onClick:x,loading:y,prefixCls:l},c,{ref:v}),n)};t.Z=l},80265:function(e,t,n){"use strict";var r=n(44194),o=n(10799),i=n(18624);let a=e=>{let{space:t,form:n,children:a}=e;if(null==a)return null;let s=a;return n&&(s=r.createElement(o.Ux,{override:!0,status:!0},s)),t&&(s=r.createElement(i.BR,null,s)),s};t.Z=a},29876:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});var r=n(44194),o=n(45571),i=n(22904),a=n(25431);function s(e){return t=>r.createElement(i.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}let l=(e,t,n,i)=>s(s=>{let{prefixCls:l,style:c}=s,u=r.useRef(null),[d,f]=r.useState(0),[p,h]=r.useState(0),[m,g]=(0,o.Z)(!1,{value:s.open}),{getPrefixCls:v}=r.useContext(a.E_),y=v(t||"select",l);r.useEffect(()=>{if(g(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),h(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?".".concat(n(y)):".".concat(y,"-dropdown"),i=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let b=Object.assign(Object.assign({},s),{style:Object.assign(Object.assign({},c),{margin:0}),open:m,visible:m,getPopupContainer:()=>u.current});i&&(b=i(b));let w={paddingBottom:d,position:"relative",minWidth:p};return r.createElement("div",{ref:u,style:w},r.createElement(e,Object.assign({},b)))});t.Z=l},55742:function(e,t,n){"use strict";n.d(t,{o2:function(){return s},yT:function(){return l}});var r=n(70826),o=n(44684);let i=o.i.map(e=>"".concat(e,"-inverse")),a=["success","processing","error","default","warning"];function s(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?[].concat((0,r.Z)(i),(0,r.Z)(o.i)).includes(e):o.i.includes(e)}function l(e){return a.includes(e)}},72694:function(e,t){"use strict";let n=function(){let e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t<arguments.length;t++){let n=t<0||arguments.length<=t?void 0:arguments[t];n&&Object.keys(n).forEach(t=>{let r=n[t];void 0!==r&&(e[t]=r)})}return e};t.Z=n},32561:function(e,t,n){"use strict";var r=n(44194),o=n(47330);let i=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:r.createElement(o.Z,null)}),t};t.Z=i},4702:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=e=>e?"function"==typeof e?e():e:null},88010:function(e,t,n){"use strict";function r(e){return null!=e&&e===e.window}n.d(t,{F:function(){return r}});let o=e=>{var t,n;let o=0;return r(e)?o=e.pageYOffset:e instanceof Document?o=e.documentElement.scrollTop:e instanceof HTMLElement?o=e.scrollTop:e&&(o=e.scrollTop),e&&!r(e)&&"number"!=typeof o&&(o=null===(n=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===n?void 0:n.scrollTop),o};t.Z=o},21191:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},w:function(){return a}});var r=n(44194),o=n(40153),i=n(11875);function a(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function s(e){let{closable:t,closeIcon:n}=e||{};return r.useMemo(()=>{if(!t&&(!1===t||!1===n||null===n))return!1;if(void 0===t&&void 0===n)return null;let e={closeIcon:"boolean"!=typeof n&&null!==n?n:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e},[t,n])}function l(){let e={};for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(t=>{t&&Object.keys(t).forEach(n=>{void 0!==t[n]&&(e[n]=t[n])})}),e}let c={};function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,a=s(e),u=s(t),d=r.useMemo(()=>Object.assign({closeIcon:r.createElement(o.Z,null)},n),[n]),f=r.useMemo(()=>!1!==a&&(a?l(d,u,a):!1!==u&&(u?l(d,u):!!d.closable&&d)),[a,u,d]);return r.useMemo(()=>{if(!1===f)return[!1,null];let{closeIconRender:e}=d,{closeIcon:t}=f,n=t;if(null!=n){e&&(n=e(t));let o=(0,i.Z)(f,!0);Object.keys(o).length&&(n=r.isValidElement(n)?r.cloneElement(n,o):r.createElement("span",Object.assign({},o),n))}return[!0,n]},[f,d])}},45989:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44194);function o(){let[,e]=r.useReducer(e=>e+1,0);return e}},28885:function(e,t,n){"use strict";n.d(t,{Cn:function(){return u},u6:function(){return a}});var r=n(44194),o=n(34066),i=n(24283);let a=1e3,s={Modal:100,Drawer:100,Popover:100,Popconfirm:100,Tooltip:100,Tour:100},l={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function c(e){return e in s}function u(e,t){let n;let[,a]=(0,o.ZP)(),u=r.useContext(i.Z),d=c(e);if(void 0!==t)n=[t,t];else{let r=null!=u?u:0;d?r+=(u?0:a.zIndexPopupBase)+s[e]:r+=l[e],n=[void 0===u?t:r,r]}return n}},62334:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=n(25431);let o=()=>({height:0,opacity:0}),i=e=>{let{scrollHeight:t}=e;return{height:t,opacity:1}},a=e=>({height:e?e.offsetHeight:0}),s=(e,t)=>(null==t?void 0:t.deadline)===!0||"height"===t.propertyName,l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.Rf;return{motionName:"".concat(e,"-motion-collapse"),onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:a,onLeaveActive:o,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}},c=(e,t,n)=>void 0!==n?n:"".concat(e,"-").concat(t);t.Z=l},18495:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(18464);function o(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};let o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}let a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}let i={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},a={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},s=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function l(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:l,offset:c,borderRadius:u,visibleFirst:d}=e,f=t/2,p={};return Object.keys(i).forEach(e=>{let h=Object.assign(Object.assign({},l&&a[e]||i[e]),{offset:[0,0],dynamicInset:!0});switch(p[e]=h,s.has(e)&&(h.autoArrow=!1),e){case"top":case"topLeft":case"topRight":h.offset[1]=-f-c;break;case"bottom":case"bottomLeft":case"bottomRight":h.offset[1]=f+c;break;case"left":case"leftTop":case"leftBottom":h.offset[0]=-f-c;break;case"right":case"rightTop":case"rightBottom":h.offset[0]=f+c}let m=(0,r.wZ)({contentRadius:u,limitVerticalRadius:!0});if(l)switch(e){case"topLeft":case"bottomLeft":h.offset[0]=-m.arrowOffsetHorizontal-f;break;case"topRight":case"bottomRight":h.offset[0]=m.arrowOffsetHorizontal+f;break;case"leftTop":case"rightTop":h.offset[1]=-m.arrowOffsetHorizontal-f;break;case"leftBottom":case"rightBottom":h.offset[1]=m.arrowOffsetHorizontal+f}h.overflow=o(e,m,t,n),d&&(h.htmlRegion="visibleFirst")}),p}},85905:function(e,t,n){"use strict";n.d(t,{M2:function(){return o},Tm:function(){return a},wm:function(){return i}});var r=n(44194);function o(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}let i=(e,t,n)=>r.isValidElement(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function a(e,t){return i(e,e,t)}},14715:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l},c4:function(){return i},m9:function(){return c}});var r=n(44194),o=n(34066);let i=["xxl","xl","lg","md","sm","xs"],a=e=>({xs:"(max-width: ".concat(e.screenXSMax,"px)"),sm:"(min-width: ".concat(e.screenSM,"px)"),md:"(min-width: ".concat(e.screenMD,"px)"),lg:"(min-width: ".concat(e.screenLG,"px)"),xl:"(min-width: ".concat(e.screenXL,"px)"),xxl:"(min-width: ".concat(e.screenXXL,"px)")}),s=e=>{let t=e,n=[].concat(i).reverse();return n.forEach((e,r)=>{let o=e.toUpperCase(),i="screen".concat(o,"Min"),a="screen".concat(o);if(!(t[i]<=t[a]))throw Error("".concat(i,"<=").concat(a," fails : !(").concat(t[i],"<=").concat(t[a],")"));if(r<n.length-1){let e="screen".concat(o,"Max");if(!(t[a]<=t[e]))throw Error("".concat(a,"<=").concat(e," fails : !(").concat(t[a],"<=").concat(t[e],")"));let i=n[r+1].toUpperCase(),s="screen".concat(i,"Min");if(!(t[e]<=t[s]))throw Error("".concat(e,"<=").concat(s," fails : !(").concat(t[e],"<=").concat(t[s],")"))}}),e};function l(){let[,e]=(0,o.ZP)(),t=a(s(e));return r.useMemo(()=>{let e=new Map,n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach(e=>e(r)),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach(e=>{let n=t[e],r=this.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),e.clear()},register(){Object.keys(t).forEach(e=>{let n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)})},responsiveMap:t}},[e])}let c=(e,t)=>{if(t&&"object"==typeof t)for(let n=0;n<i.length;n++){let r=i[n];if(e[r]&&void 0!==t[r])return t[r]}}},82737:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(30716);function o(e,t,n,r){let o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}var i=n(88010);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{getContainer:n=()=>window,callback:a,duration:s=450}=t,l=n(),c=(0,i.Z)(l),u=Date.now(),d=()=>{let t=Date.now()-u,n=o(t>s?s:t,c,e,s);(0,i.F)(l)?l.scrollTo(window.pageXOffset,n):l instanceof Document||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=n:l.scrollTop=n,t<s?(0,r.Z)(d):"function"==typeof a&&a()};(0,r.Z)(d)}},38283:function(e,t,n){"use strict";n.d(t,{F:function(){return a},Z:function(){return i}});var r=n(51865),o=n.n(r);function i(e,t,n){return o()({["".concat(e,"-status-success")]:"success"===t,["".concat(e,"-status-warning")]:"warning"===t,["".concat(e,"-status-error")]:"error"===t,["".concat(e,"-status-validating")]:"validating"===t,["".concat(e,"-has-feedback")]:n})}let a=(e,t)=>t||e},66973:function(e,t,n){"use strict";n.d(t,{G8:function(){return i},ln:function(){return a}});var r=n(44194);function o(){}n(6103);let i=r.createContext({}),a=()=>{let e=()=>{};return e.deprecated=o,e}},85266:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(44194),o=n(51865),i=n.n(o),a=n(36859),s=n(64198),l=n(25431),c=n(85905),u=n(2916);let d=e=>{let{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:"var(--wave-color, ".concat(n,")"),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s ".concat(e.motionEaseOutCirc),"opacity 2s ".concat(e.motionEaseOutCirc)].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),"opacity ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut)].join(",")}}}}};var f=(0,u.A1)("Wave",e=>[d(e)]),p=n(91324),h=n(30716),m=n(34066),g=n(54033),v=n(63290),y=n(8372);function b(e){let t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!t||!t[1]||!t[2]||!t[3]||!(t[1]===t[2]&&t[2]===t[3])}function w(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&b(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function S(e){let{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return w(t)?t:w(n)?n:w(r)?r:null}function x(e){return Number.isNaN(e)?0:e}let E=e=>{let{className:t,target:n,component:o}=e,a=r.useRef(null),[l,c]=r.useState(null),[u,d]=r.useState([]),[f,p]=r.useState(0),[m,b]=r.useState(0),[w,E]=r.useState(0),[C,_]=r.useState(0),[k,O]=r.useState(!1),A={left:f,top:m,width:w,height:C,borderRadius:u.map(e=>"".concat(e,"px")).join(" ")};function I(){let e=getComputedStyle(n);c(S(n));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;p(t?n.offsetLeft:x(-parseFloat(r))),b(t?n.offsetTop:x(-parseFloat(o))),E(n.offsetWidth),_(n.offsetHeight);let{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:s,borderBottomRightRadius:l}=e;d([i,a,l,s].map(e=>x(parseFloat(e))))}if(l&&(A["--wave-color"]=l),r.useEffect(()=>{if(n){let e;let t=(0,h.Z)(()=>{I(),O(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(I)).observe(n),()=>{h.Z.cancel(t),null==e||e.disconnect()}}},[]),!k)return null;let P=("Checkbox"===o||"Radio"===o)&&(null==n?void 0:n.classList.contains(g.A));return r.createElement(v.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){let e=null===(n=a.current)||void 0===n?void 0:n.parentElement;(0,y.v)(e).then(()=>{null==e||e.remove()})}return!1}},(e,n)=>{let{className:o}=e;return r.createElement("div",{ref:(0,s.sQ)(a,n),className:i()(t,o,{"wave-quick":P}),style:A})})};var C=(e,t)=>{var n;let{component:o}=t;if("Checkbox"===o&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;let i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==e||e.insertBefore(i,null==e?void 0:e.firstChild),(0,y.s)(r.createElement(E,Object.assign({},t,{target:e})),i)},_=(e,t,n)=>{let{wave:o}=r.useContext(l.E_),[,i,a]=(0,m.ZP)(),s=(0,p.zX)(r=>{let s=e.current;if((null==o?void 0:o.disabled)||!s)return;let l=s.querySelector(".".concat(g.A))||s,{showEffect:c}=o||{};(c||C)(l,{className:t,token:i,component:n,event:r,hashId:a})}),c=r.useRef();return e=>{h.Z.cancel(c.current),c.current=(0,h.Z)(()=>{s(e)})}},k=e=>{let{children:t,disabled:n,component:o}=e,{getPrefixCls:u}=(0,r.useContext)(l.E_),d=(0,r.useRef)(null),p=u("wave"),[,h]=f(p),m=_(d,i()(p,h),o);if(r.useEffect(()=>{let e=d.current;if(!e||1!==e.nodeType||n)return;let t=t=>{!(0,a.Z)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||m(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[n]),!r.isValidElement(t))return null!=t?t:null;let g=(0,s.Yr)(t)?(0,s.sQ)(t.ref,d):d;return(0,c.Tm)(t,{ref:g})}},54033:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(25431);let o="".concat(r.Rf,"-wave-target")},24283:function(e,t,n){"use strict";let r=n(44194).createContext(void 0);t.Z=r},31645:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(44194),o=n(51865),i=n.n(o),a=n(60118),s=n(76933),l=n(70826),c=n(30716),u=function(e){let t;let n=n=>()=>{t=null,e.apply(void 0,(0,l.Z)(n))},r=function(){if(null==t){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];t=(0,c.Z)(n(r))}};return r.cancel=()=>{c.Z.cancel(t),t=null},r},d=n(25431),f=n(2916);let p=e=>{let{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},h=e=>({zIndexPopup:e.zIndexBase+10});var m=(0,f.I$)("Affix",p,h);function g(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function v(e,t,n){if(void 0!==n&&Math.round(t.top)>Math.round(e.top)-n)return n+t.top}function y(e,t,n){if(void 0!==n&&Math.round(t.bottom)<Math.round(e.bottom)+n)return n+(window.innerHeight-t.bottom)}let b=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function w(){return window}let S=0,x=1;var E=r.forwardRef((e,t)=>{var n;let{style:o,offsetTop:l,offsetBottom:c,prefixCls:f,className:p,rootClassName:h,children:E,target:C,onChange:_}=e,{getPrefixCls:k,getTargetContainer:O}=r.useContext(d.E_),A=k("affix",f),[I,P]=r.useState(!1),[T,R]=r.useState(),[M,N]=r.useState(),j=r.useRef(S),D=r.useRef(null),L=r.useRef(),B=r.useRef(null),Z=r.useRef(null),F=r.useRef(null),z=null!==(n=null!=C?C:O)&&void 0!==n?n:w,U=void 0===c&&void 0===l?0:l,H=()=>{if(j.current!==x||!Z.current||!B.current||!z)return;let e=z();if(e){let t={status:S},n=g(B.current);if(0===n.top&&0===n.left&&0===n.width&&0===n.height)return;let r=g(e),o=v(n,r,U),i=y(n,r,c);void 0!==o?(t.affixStyle={position:"fixed",top:o,width:n.width,height:n.height},t.placeholderStyle={width:n.width,height:n.height}):void 0!==i&&(t.affixStyle={position:"fixed",bottom:i,width:n.width,height:n.height},t.placeholderStyle={width:n.width,height:n.height}),t.lastAffix=!!t.affixStyle,I!==t.lastAffix&&(null==_||_(t.lastAffix)),j.current=t.status,R(t.affixStyle),N(t.placeholderStyle),P(t.lastAffix)}},q=()=>{j.current=x,H()},V=u(()=>{q()}),W=u(()=>{if(z&&T){let e=z();if(e&&B.current){let t=g(e),n=g(B.current),r=v(n,t,U),o=y(n,t,c);if(void 0!==r&&T.top===r||void 0!==o&&T.bottom===o)return}}q()}),$=()=>{let e=null==z?void 0:z();e&&(b.forEach(t=>{var n;L.current&&(null===(n=D.current)||void 0===n||n.removeEventListener(t,L.current)),null==e||e.addEventListener(t,W)}),D.current=e,L.current=W)},G=()=>{F.current&&(clearTimeout(F.current),F.current=null);let e=null==z?void 0:z();b.forEach(t=>{var n;null==e||e.removeEventListener(t,W),L.current&&(null===(n=D.current)||void 0===n||n.removeEventListener(t,L.current))}),V.cancel(),W.cancel()};r.useImperativeHandle(t,()=>({updatePosition:V})),r.useEffect(()=>(F.current=setTimeout($),()=>G()),[]),r.useEffect(()=>{$()},[C,T]),r.useEffect(()=>{V()},[C,l,c]);let[K,Y,X]=m(A),Q=i()(h,Y,A,X),J=i()({[Q]:T}),ee=(0,s.Z)(e,["prefixCls","offsetTop","offsetBottom","target","onChange","rootClassName"]);return K(r.createElement(a.Z,{onResize:V},r.createElement("div",Object.assign({style:o,className:p,ref:B},ee),T&&r.createElement("div",{style:M,"aria-hidden":"true"}),r.createElement("div",{className:J,ref:Z,style:T},r.createElement(a.Z,{onResize:V},E)))))})},45069:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(44194),o=n(72190),i=n(47330),a=n(40153),s=n(12834),l=n(22900),c=n(51865),u=n.n(c),d=n(63290),f=n(11875),p=n(64198),h=n(85905),m=n(25431),g=n(82698),v=n(61885),y=n(2916);let b=(e,t,n,r,o)=>({background:e,border:"".concat((0,g.bf)(r.lineWidth)," ").concat(r.lineType," ").concat(t),["".concat(o,"-icon")]:{color:n}}),w=e=>{let{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:o,fontSize:i,fontSizeLG:a,lineHeight:s,borderRadiusLG:l,motionEaseInOutCirc:c,withDescriptionIconSize:u,colorText:d,colorTextHeading:f,withDescriptionPadding:p,defaultPadding:h}=e;return{[t]:Object.assign(Object.assign({},(0,v.Wf)(e)),{position:"relative",display:"flex",alignItems:"center",padding:h,wordWrap:"break-word",borderRadius:l,["&".concat(t,"-rtl")]:{direction:"rtl"},["".concat(t,"-content")]:{flex:1,minWidth:0},["".concat(t,"-icon")]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:s},"&-message":{color:f},["&".concat(t,"-motion-leave")]:{overflow:"hidden",opacity:1,transition:"max-height ".concat(n," ").concat(c,", opacity ").concat(n," ").concat(c,",\n        padding-top ").concat(n," ").concat(c,", padding-bottom ").concat(n," ").concat(c,",\n        margin-bottom ").concat(n," ").concat(c)},["&".concat(t,"-motion-leave-active")]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),["".concat(t,"-with-description")]:{alignItems:"flex-start",padding:p,["".concat(t,"-icon")]:{marginInlineEnd:o,fontSize:u,lineHeight:0},["".concat(t,"-message")]:{display:"block",marginBottom:r,color:f,fontSize:a},["".concat(t,"-description")]:{display:"block",color:d}},["".concat(t,"-banner")]:{marginBottom:0,border:"0 !important",borderRadius:0}}},S=e=>{let{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:o,colorWarning:i,colorWarningBorder:a,colorWarningBg:s,colorError:l,colorErrorBorder:c,colorErrorBg:u,colorInfo:d,colorInfoBorder:f,colorInfoBg:p}=e;return{[t]:{"&-success":b(o,r,n,e,t),"&-info":b(p,f,d,e,t),"&-warning":b(s,a,i,e,t),"&-error":Object.assign(Object.assign({},b(u,c,l,e,t)),{["".concat(t,"-description > pre")]:{margin:0,padding:0}})}}},x=e=>{let{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:o,fontSizeIcon:i,colorIcon:a,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:o},["".concat(t,"-close-icon")]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:i,lineHeight:(0,g.bf)(i),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",["".concat(n,"-close")]:{color:a,transition:"color ".concat(r),"&:hover":{color:s}}},"&-close-text":{color:a,transition:"color ".concat(r),"&:hover":{color:s}}}}},E=e=>{let t=12;return{withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:"".concat(e.paddingContentVerticalSM,"px ").concat(t,"px"),withDescriptionPadding:"".concat(e.paddingMD,"px ").concat(e.paddingContentHorizontalLG,"px")}};var C=(0,y.I$)("Alert",e=>[w(e),S(e),x(e)],E),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let k={success:o.Z,info:l.Z,error:i.Z,warning:s.Z},O=e=>{let{icon:t,prefixCls:n,type:o}=e,i=k[o]||null;return t?(0,h.wm)(t,r.createElement("span",{className:"".concat(n,"-icon")},t),()=>({className:u()("".concat(n,"-icon"),{[t.props.className]:t.props.className})})):r.createElement(i,{className:"".concat(n,"-icon")})},A=e=>{let{isClosable:t,prefixCls:n,closeIcon:o,handleClose:i,ariaProps:s}=e,l=!0===o||void 0===o?r.createElement(a.Z,null):o;return t?r.createElement("button",Object.assign({type:"button",onClick:i,className:"".concat(n,"-close-icon"),tabIndex:0},s),l):null};var I=r.forwardRef((e,t)=>{let{description:n,prefixCls:o,message:i,banner:a,className:s,rootClassName:l,style:c,onMouseEnter:h,onMouseLeave:g,onClick:v,afterClose:y,showIcon:b,closable:w,closeText:S,closeIcon:x,action:E,id:k}=e,I=_(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[P,T]=r.useState(!1),R=r.useRef(null);r.useImperativeHandle(t,()=>({nativeElement:R.current}));let{getPrefixCls:M,direction:N,alert:j}=r.useContext(m.E_),D=M("alert",o),[L,B,Z]=C(D),F=t=>{var n;T(!0),null===(n=e.onClose)||void 0===n||n.call(e,t)},z=r.useMemo(()=>void 0!==e.type?e.type:a?"warning":"info",[e.type,a]),U=r.useMemo(()=>"object"==typeof w&&!!w.closeIcon||!!S||("boolean"==typeof w?w:!1!==x&&null!=x||!!(null==j?void 0:j.closable)),[S,x,w,null==j?void 0:j.closable]),H=!!a&&void 0===b||b,q=u()(D,"".concat(D,"-").concat(z),{["".concat(D,"-with-description")]:!!n,["".concat(D,"-no-icon")]:!H,["".concat(D,"-banner")]:!!a,["".concat(D,"-rtl")]:"rtl"===N},null==j?void 0:j.className,s,l,Z,B),V=(0,f.Z)(I,{aria:!0,data:!0}),W=r.useMemo(()=>{var e,t;return"object"==typeof w&&w.closeIcon?w.closeIcon:S||(void 0!==x?x:"object"==typeof(null==j?void 0:j.closable)&&(null===(e=null==j?void 0:j.closable)||void 0===e?void 0:e.closeIcon)?null===(t=null==j?void 0:j.closable)||void 0===t?void 0:t.closeIcon:null==j?void 0:j.closeIcon)},[x,w,S,null==j?void 0:j.closeIcon]),$=r.useMemo(()=>{let e=null!=w?w:null==j?void 0:j.closable;if("object"==typeof e){let{closeIcon:t}=e;return _(e,["closeIcon"])}return{}},[w,null==j?void 0:j.closable]);return L(r.createElement(d.ZP,{visible:!P,motionName:"".concat(D,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:y},(t,o)=>{let{className:a,style:s}=t;return r.createElement("div",Object.assign({id:k,ref:(0,p.sQ)(R,o),"data-show":!P,className:u()(q,a),style:Object.assign(Object.assign(Object.assign({},null==j?void 0:j.style),c),s),onMouseEnter:h,onMouseLeave:g,onClick:v,role:"alert"},V),H?r.createElement(O,{description:n,icon:e.icon,prefixCls:D,type:z}):null,r.createElement("div",{className:"".concat(D,"-content")},i?r.createElement("div",{className:"".concat(D,"-message")},i):null,n?r.createElement("div",{className:"".concat(D,"-description")},n):null),E?r.createElement("div",{className:"".concat(D,"-action")},E):null,r.createElement(A,{isClosable:U,prefixCls:D,closeIcon:W,handleClose:F,ariaProps:$}))}))}),P=n(10342),T=n(77009),R=n(21831),M=n(3371),N=n(66437);function j(e,t,n){return t=(0,R.Z)(t),(0,N.Z)(e,(0,M.Z)()?Reflect.construct(t,n||[],(0,R.Z)(e).constructor):t.apply(e,n))}var D=n(81065),L=function(e){function t(){var e;return(0,P.Z)(this,t),e=j(this,t,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,D.Z)(t,e),(0,T.Z)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,description:t,id:n,children:o}=this.props,{error:i,info:a}=this.state,s=(null==a?void 0:a.componentStack)||null,l=void 0===e?(i||"").toString():e,c=void 0===t?s:t;return i?r.createElement(I,{id:n,type:"error",message:l,description:r.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},c)}):o}}])}(r.Component);let B=I;B.ErrorBoundary=L;var Z=B},35579:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(44194);let o=r.createContext({}),i=r.createContext({message:{},notification:{},modal:{}});t.Z=i},39830:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(44194),o=n(51865),i=n.n(o),a=n(66973),s=n(25431),l=n(13785),c=n(99182),u=n(18493),d=n(35579),f=n(2916);let p=e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:i}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:i}}},h=()=>({});var m=(0,f.I$)("App",p,h);let g=()=>r.useContext(d.Z),v=e=>{let{prefixCls:t,children:n,className:o,rootClassName:f,message:p,notification:h,style:g,component:v="div"}=e,{getPrefixCls:y}=(0,r.useContext)(s.E_),b=y("app",t),[w,S,x]=m(b),E=i()(S,b,o,f,x),C=(0,r.useContext)(d.J),_=r.useMemo(()=>({message:Object.assign(Object.assign({},C.message),p),notification:Object.assign(Object.assign({},C.notification),h)}),[p,h,C.message,C.notification]),[k,O]=(0,l.Z)(_.message),[A,I]=(0,u.Z)(_.notification),[P,T]=(0,c.Z)(),R=r.useMemo(()=>({message:k,notification:A,modal:P}),[k,A,P]);(0,a.ln)("App")(!(x&&!1===v),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let M=!1===v?r.Fragment:v,N={className:E,style:g};return w(r.createElement(d.Z.Provider,{value:R},r.createElement(d.J.Provider,{value:_},r.createElement(M,Object.assign({},!1===v?void 0:N),T,O,I,n))))};v.useApp=g;var y=v},70568:function(e,t,n){"use strict";n.d(t,{C:function(){return T}});var r=n(44194),o=n(51865),i=n.n(o),a=n(60118),s=n(64198),l=n(14715),c=n(25431),u=n(55948),d=n(3690),f=n(46212),p=r.createContext({}),h=n(82698),m=n(61885),g=n(2916),v=n(39564);let y=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:i,containerSize:a,containerSizeLG:s,containerSizeSM:l,textFontSize:c,textFontSizeLG:u,textFontSizeSM:d,borderRadius:f,borderRadiusLG:p,borderRadiusSM:g,lineWidth:v,lineType:y}=e,b=(e,t,o)=>({width:e,height:e,borderRadius:"50%",["&".concat(n,"-square")]:{borderRadius:o},["&".concat(n,"-icon")]:{fontSize:t,["> ".concat(r)]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:"".concat((0,h.bf)(v)," ").concat(y," transparent"),"&-image":{background:"transparent"},["".concat(t,"-image-img")]:{display:"block"}}),b(a,c,f)),{"&-lg":Object.assign({},b(s,u,p)),"&-sm":Object.assign({},b(l,d,g)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},b=e=>{let{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:o}=e;return{["".concat(t,"-group")]:{display:"inline-flex",["".concat(t)]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},["".concat(t,"-group-popover")]:{["".concat(t," + ").concat(t)]:{marginInlineStart:o}}}},w=e=>{let{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:o,fontSizeLG:i,fontSizeXL:a,fontSizeHeading3:s,marginXS:l,marginXXS:c,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((i+a)/2),textFontSizeLG:s,textFontSizeSM:o,groupSpace:c,groupOverlapping:-l,groupBorderColor:u}};var S=(0,g.I$)("Avatar",e=>{let{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=(0,v.IX)(e,{avatarBg:n,avatarColor:t});return[y(r),b(r)]},w),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let E=(e,t)=>{let n;let[o,h]=r.useState(1),[m,g]=r.useState(!1),[v,y]=r.useState(!0),b=r.useRef(null),w=r.useRef(null),E=(0,s.sQ)(t,b),{getPrefixCls:C,avatar:_}=r.useContext(c.E_),k=r.useContext(p),O=()=>{if(!w.current||!b.current)return;let t=w.current.offsetWidth,n=b.current.offsetWidth;if(0!==t&&0!==n){let{gap:r=4}=e;2*r<n&&h(n-2*r<t?(n-2*r)/t:1)}};r.useEffect(()=>{g(!0)},[]),r.useEffect(()=>{y(!0),h(1)},[e.src]),r.useEffect(O,[e.gap]);let A=()=>{let{onError:t}=e;!1!==(null==t?void 0:t())&&y(!1)},{prefixCls:I,shape:P,size:T,src:R,srcSet:M,icon:N,className:j,rootClassName:D,alt:L,draggable:B,children:Z,crossOrigin:F}=e,z=x(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),U=(0,d.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=T?T:null==k?void 0:k.size)&&void 0!==t?t:e)&&void 0!==n?n:"default"}),H=Object.keys("object"==typeof U&&U||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),q=(0,f.Z)(H),V=r.useMemo(()=>{if("object"!=typeof U)return{};let e=U[l.c4.find(e=>q[e])];return e?{width:e,height:e,fontSize:e&&(N||Z)?e/2:18}:{}},[q,U]),W=C("avatar",I),$=(0,u.Z)(W),[G,K,Y]=S(W,$),X=i()({["".concat(W,"-lg")]:"large"===U,["".concat(W,"-sm")]:"small"===U}),Q=r.isValidElement(R),J=P||(null==k?void 0:k.shape)||"circle",ee=i()(W,X,null==_?void 0:_.className,"".concat(W,"-").concat(J),{["".concat(W,"-image")]:Q||R&&v,["".concat(W,"-icon")]:!!N},Y,$,j,D,K),et="number"==typeof U?{width:U,height:U,fontSize:N?U/2:18}:{};if("string"==typeof R&&v)n=r.createElement("img",{src:R,draggable:B,srcSet:M,onError:A,alt:L,crossOrigin:F});else if(Q)n=R;else if(N)n=N;else if(m||1!==o){let e="scale(".concat(o,")"),t={msTransform:e,WebkitTransform:e,transform:e};n=r.createElement(a.Z,{onResize:O},r.createElement("span",{className:"".concat(W,"-string"),ref:w,style:Object.assign({},t)},Z))}else n=r.createElement("span",{className:"".concat(W,"-string"),style:{opacity:0},ref:w},Z);return delete z.onError,delete z.gap,G(r.createElement("span",Object.assign({},z,{style:Object.assign(Object.assign(Object.assign(Object.assign({},et),V),null==_?void 0:_.style),z.style),className:ee,ref:E}),n))};var C=r.forwardRef(E),_=n(2196),k=n(85905),O=n(25359);let A=e=>{let{size:t,shape:n}=r.useContext(p),o=r.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return r.createElement(p.Provider,{value:o},e.children)};var I=e=>{var t,n,o;let{getPrefixCls:a,direction:s}=r.useContext(c.E_),{prefixCls:l,className:d,rootClassName:f,style:p,maxCount:h,maxStyle:m,size:g,shape:v,maxPopoverPlacement:y,maxPopoverTrigger:b,children:w,max:x}=e,E=a("avatar",l),I="".concat(E,"-group"),P=(0,u.Z)(E),[T,R,M]=S(E,P),N=i()(I,{["".concat(I,"-rtl")]:"rtl"===s},M,P,d,f,R),j=(0,_.Z)(w).map((e,t)=>(0,k.Tm)(e,{key:"avatar-key-".concat(t)})),D=(null==x?void 0:x.count)||h,L=j.length;if(D&&D<L){let e=j.slice(0,D),a=j.slice(D,L),s=(null==x?void 0:x.style)||m,l=(null===(t=null==x?void 0:x.popover)||void 0===t?void 0:t.trigger)||b||"hover",c=(null===(n=null==x?void 0:x.popover)||void 0===n?void 0:n.placement)||y||"top",u=Object.assign(Object.assign({content:a},null==x?void 0:x.popover),{overlayClassName:i()("".concat(I,"-popover"),null===(o=null==x?void 0:x.popover)||void 0===o?void 0:o.overlayClassName),placement:c,trigger:l});return e.push(r.createElement(O.Z,Object.assign({key:"avatar-popover-key",destroyTooltipOnHide:!0},u),r.createElement(C,{style:s},"+".concat(L-D)))),T(r.createElement(A,{shape:v,size:g},r.createElement("div",{className:N,style:p},e)))}return T(r.createElement(A,{shape:v,size:g},r.createElement("div",{className:N,style:p},j)))};let P=C;P.Group=I;var T=P},86727:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(44194),o=n(51865),i=n.n(o),a=n(63290),s=n(55742),l=n(85905),c=n(25431),u=n(82698),d=n(61885),f=n(70552),p=n(39564),h=n(2916);let m=new u.E4("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),g=new u.E4("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),v=new u.E4("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),y=new u.E4("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),b=new u.E4("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),w=new u.E4("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),S=e=>{let{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:o,motionDurationSlow:i,textFontSize:a,textFontSizeSM:s,statusSize:l,dotSize:c,textFontWeight:p,indicatorHeight:h,indicatorHeightSM:S,marginXS:x,calc:E}=e,C="".concat(r,"-scroll-number"),_=(0,f.Z)(e,(e,n)=>{let{darkColor:r}=n;return{["&".concat(t," ").concat(t,"-color-").concat(e)]:{background:r,["&:not(".concat(t,"-count)")]:{color:r},"a:hover &":{background:r}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,["".concat(t,"-count")]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:h,height:h,color:e.badgeTextColor,fontWeight:p,fontSize:a,lineHeight:(0,u.bf)(h),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:E(h).div(2).equal(),boxShadow:"0 0 0 ".concat((0,u.bf)(o)," ").concat(e.badgeShadowColor),transition:"background ".concat(e.motionDurationMid),a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},["".concat(t,"-count-sm")]:{minWidth:S,height:S,fontSize:s,lineHeight:(0,u.bf)(S),borderRadius:E(S).div(2).equal()},["".concat(t,"-multiple-words")]:{padding:"0 ".concat((0,u.bf)(e.paddingXS)),bdi:{unicodeBidi:"plaintext"}},["".concat(t,"-dot")]:{zIndex:e.indicatorZIndex,width:c,minWidth:c,height:c,background:e.badgeColor,borderRadius:"100%",boxShadow:"0 0 0 ".concat((0,u.bf)(o)," ").concat(e.badgeShadowColor)},["".concat(t,"-dot").concat(C)]:{transition:"background ".concat(i)},["".concat(t,"-count, ").concat(t,"-dot, ").concat(C,"-custom-component")]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",["&".concat(n,"-spin")]:{animationName:w,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},["&".concat(t,"-status")]:{lineHeight:"inherit",verticalAlign:"baseline",["".concat(t,"-status-dot")]:{position:"relative",top:-1,display:"inline-block",width:l,height:l,verticalAlign:"middle",borderRadius:"50%"},["".concat(t,"-status-success")]:{backgroundColor:e.colorSuccess},["".concat(t,"-status-processing")]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:m,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},["".concat(t,"-status-default")]:{backgroundColor:e.colorTextPlaceholder},["".concat(t,"-status-error")]:{backgroundColor:e.colorError},["".concat(t,"-status-warning")]:{backgroundColor:e.colorWarning},["".concat(t,"-status-text")]:{marginInlineStart:x,color:e.colorText,fontSize:e.fontSize}}}),_),{["".concat(t,"-zoom-appear, ").concat(t,"-zoom-enter")]:{animationName:g,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},["".concat(t,"-zoom-leave")]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},["&".concat(t,"-not-a-wrapper")]:{["".concat(t,"-zoom-appear, ").concat(t,"-zoom-enter")]:{animationName:y,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},["".concat(t,"-zoom-leave")]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},["&:not(".concat(t,"-status)")]:{verticalAlign:"middle"},["".concat(C,"-custom-component, ").concat(t,"-count")]:{transform:"none"},["".concat(C,"-custom-component, ").concat(C)]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},["".concat(C)]:{overflow:"hidden",["".concat(C,"-only")]:{position:"relative",display:"inline-block",height:h,transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseOutBack),WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",["> p".concat(C,"-only-unit")]:{height:h,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},["".concat(C,"-symbol")]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",["".concat(t,"-count, ").concat(t,"-dot, ").concat(C,"-custom-component")]:{transform:"translate(-50%, -50%)"}}})}},x=e=>{let{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:o}=e,i=t,a=n,s=e.colorBgContainer,l=e.colorError,c=e.colorErrorHover;return(0,p.IX)(e,{badgeFontHeight:i,badgeShadowSize:a,badgeTextColor:s,badgeColor:l,badgeColorHover:c,badgeShadowColor:o,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},E=e=>{let{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:o}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*o,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}};var C=(0,h.I$)("Badge",e=>S(x(e)),E);let _=e=>{let{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:o,calc:i}=e,a="".concat(t,"-ribbon"),s="".concat(t,"-ribbon-wrapper"),l=(0,f.Z)(e,(e,t)=>{let{darkColor:n}=t;return{["&".concat(a,"-color-").concat(e)]:{background:n,color:n}}});return{["".concat(s)]:{position:"relative"},["".concat(a)]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"absolute",top:r,padding:"0 ".concat((0,u.bf)(e.paddingXS)),color:e.colorPrimary,lineHeight:(0,u.bf)(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,["".concat(a,"-text")]:{color:e.colorTextLightSolid},["".concat(a,"-corner")]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:"".concat((0,u.bf)(i(o).div(2).equal())," solid"),transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),l),{["&".concat(a,"-placement-end")]:{insetInlineEnd:i(o).mul(-1).equal(),borderEndEndRadius:0,["".concat(a,"-corner")]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},["&".concat(a,"-placement-start")]:{insetInlineStart:i(o).mul(-1).equal(),borderEndStartRadius:0,["".concat(a,"-corner")]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var k=(0,h.I$)(["Badge","Ribbon"],e=>_(x(e)),E),O=e=>{let{className:t,prefixCls:n,style:o,color:a,children:l,text:u,placement:d="end",rootClassName:f}=e,{getPrefixCls:p,direction:h}=r.useContext(c.E_),m=p("ribbon",n),g="".concat(m,"-wrapper"),[v,y,b]=k(m,g),w=(0,s.o2)(a,!1),S=i()(m,"".concat(m,"-placement-").concat(d),{["".concat(m,"-rtl")]:"rtl"===h,["".concat(m,"-color-").concat(a)]:w},t),x={},E={};return a&&!w&&(x.background=a,E.color=a),v(r.createElement("div",{className:i()(g,f,y,b)},l,r.createElement("div",{className:i()(S,y),style:Object.assign(Object.assign({},x),o)},r.createElement("span",{className:"".concat(m,"-text")},u),r.createElement("div",{className:"".concat(m,"-corner"),style:E}))))};let A=e=>{let t;let{prefixCls:n,value:o,current:a,offset:s=0}=e;return s&&(t={position:"absolute",top:"".concat(s,"00%"),left:0}),r.createElement("span",{style:t,className:i()("".concat(n,"-only-unit"),{current:a})},o)};function I(e,t,n){let r=e,o=0;for(;(r+10)%10!==t;)r+=n,o+=n;return o}var P=e=>{let t,n;let{prefixCls:o,count:i,value:a}=e,s=Number(a),l=Math.abs(i),[c,u]=r.useState(s),[d,f]=r.useState(l),p=()=>{u(s),f(l)};if(r.useEffect(()=>{let e=setTimeout(p,1e3);return()=>clearTimeout(e)},[s]),c===s||Number.isNaN(s)||Number.isNaN(c))t=[r.createElement(A,Object.assign({},e,{key:s,current:!0}))],n={transition:"none"};else{t=[];let o=s+10,i=[];for(let e=s;e<=o;e+=1)i.push(e);let a=i.findIndex(e=>e%10===c);t=i.map((t,n)=>{let o=t%10;return r.createElement(A,Object.assign({},e,{key:t,value:o,offset:n-a,current:n===a}))});let u=d<l?1:-1;n={transform:"translateY(".concat(-I(c,s,u),"00%)")}}return r.createElement("span",{className:"".concat(o,"-only"),style:n,onTransitionEnd:p},t)},T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},R=r.forwardRef((e,t)=>{let{prefixCls:n,count:o,className:a,motionClassName:s,style:u,title:d,show:f,component:p="sup",children:h}=e,m=T(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:g}=r.useContext(c.E_),v=g("scroll-number",n),y=Object.assign(Object.assign({},m),{"data-show":f,style:u,className:i()(v,a,s),title:d}),b=o;if(o&&Number(o)%1==0){let e=String(o).split("");b=r.createElement("bdi",null,e.map((t,n)=>r.createElement(P,{prefixCls:v,count:Number(o),value:t,key:e.length-n})))}return((null==u?void 0:u.borderColor)&&(y.style=Object.assign(Object.assign({},u),{boxShadow:"0 0 0 1px ".concat(u.borderColor," inset")})),h)?(0,l.Tm)(h,e=>({className:i()("".concat(v,"-custom-component"),null==e?void 0:e.className,s)})):r.createElement(p,Object.assign({},y,{ref:t}),b)}),M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let N=r.forwardRef((e,t)=>{var n,o,u,d,f;let{prefixCls:p,scrollNumberPrefixCls:h,children:m,status:g,text:v,color:y,count:b=null,overflowCount:w=99,dot:S=!1,size:x="default",title:E,offset:_,style:k,className:O,rootClassName:A,classNames:I,styles:P,showZero:T=!1}=e,N=M(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:j,direction:D,badge:L}=r.useContext(c.E_),B=j("badge",p),[Z,F,z]=C(B),U=b>w?"".concat(w,"+"):b,H="0"===U||0===U,q=null===b||H&&!T,V=(null!=g||null!=y)&&q,W=S&&!H,$=W?"":U,G=(0,r.useMemo)(()=>(null==$||""===$||H&&!T)&&!W,[$,H,T,W]),K=(0,r.useRef)(b);G||(K.current=b);let Y=K.current,X=(0,r.useRef)($);G||(X.current=$);let Q=X.current,J=(0,r.useRef)(W);G||(J.current=W);let ee=(0,r.useMemo)(()=>{if(!_)return Object.assign(Object.assign({},null==L?void 0:L.style),k);let e={marginTop:_[1]};return"rtl"===D?e.left=parseInt(_[0],10):e.right=-parseInt(_[0],10),Object.assign(Object.assign(Object.assign({},e),null==L?void 0:L.style),k)},[D,_,k,null==L?void 0:L.style]),et=null!=E?E:"string"==typeof Y||"number"==typeof Y?Y:void 0,en=G||!v?null:r.createElement("span",{className:"".concat(B,"-status-text")},v),er=Y&&"object"==typeof Y?(0,l.Tm)(Y,e=>({style:Object.assign(Object.assign({},ee),e.style)})):void 0,eo=(0,s.o2)(y,!1),ei=i()(null==I?void 0:I.indicator,null===(n=null==L?void 0:L.classNames)||void 0===n?void 0:n.indicator,{["".concat(B,"-status-dot")]:V,["".concat(B,"-status-").concat(g)]:!!g,["".concat(B,"-color-").concat(y)]:eo}),ea={};y&&!eo&&(ea.color=y,ea.background=y);let es=i()(B,{["".concat(B,"-status")]:V,["".concat(B,"-not-a-wrapper")]:!m,["".concat(B,"-rtl")]:"rtl"===D},O,A,null==L?void 0:L.className,null===(o=null==L?void 0:L.classNames)||void 0===o?void 0:o.root,null==I?void 0:I.root,F,z);if(!m&&V){let e=ee.color;return Z(r.createElement("span",Object.assign({},N,{className:es,style:Object.assign(Object.assign(Object.assign({},null==P?void 0:P.root),null===(u=null==L?void 0:L.styles)||void 0===u?void 0:u.root),ee)}),r.createElement("span",{className:ei,style:Object.assign(Object.assign(Object.assign({},null==P?void 0:P.indicator),null===(d=null==L?void 0:L.styles)||void 0===d?void 0:d.indicator),ea)}),v&&r.createElement("span",{style:{color:e},className:"".concat(B,"-status-text")},v)))}return Z(r.createElement("span",Object.assign({ref:t},N,{className:es,style:Object.assign(Object.assign({},null===(f=null==L?void 0:L.styles)||void 0===f?void 0:f.root),null==P?void 0:P.root)}),m,r.createElement(a.ZP,{visible:!G,motionName:"".concat(B,"-zoom"),motionAppear:!1,motionDeadline:1e3},e=>{var t,n;let{className:o}=e,a=j("scroll-number",h),s=J.current,l=i()(null==I?void 0:I.indicator,null===(t=null==L?void 0:L.classNames)||void 0===t?void 0:t.indicator,{["".concat(B,"-dot")]:s,["".concat(B,"-count")]:!s,["".concat(B,"-count-sm")]:"small"===x,["".concat(B,"-multiple-words")]:!s&&Q&&Q.toString().length>1,["".concat(B,"-status-").concat(g)]:!!g,["".concat(B,"-color-").concat(y)]:eo}),c=Object.assign(Object.assign(Object.assign({},null==P?void 0:P.indicator),null===(n=null==L?void 0:L.styles)||void 0===n?void 0:n.indicator),ee);return y&&!eo&&((c=c||{}).background=y),r.createElement(R,{prefixCls:a,show:!G,motionClassName:o,className:l,count:Q,title:et,style:c,key:"scrollNumber"},er)}),en))});N.Ribbon=O;var j=N},61038:function(e,t,n){"use strict";n.d(t,{Te:function(){return c},aG:function(){return a},hU:function(){return d},nx:function(){return s}});var r=n(44194),o=n(85905);let i=/^[\u4e00-\u9fa5]{2}$/,a=i.test.bind(i);function s(e){return"danger"===e?{danger:!0}:{type:e}}function l(e){return"string"==typeof e}function c(e){return"text"===e||"link"===e}function u(e,t){if(null==e)return;let n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&l(e.type)&&a(e.props.children)?(0,o.Tm)(e,{children:e.props.children.split("").join(n)}):l(e)?a(e)?r.createElement("span",null,e.split("").join(n)):r.createElement("span",null,e):(0,o.M2)(e)?r.createElement("span",null,e):e}function d(e,t){let n=!1,o=[];return r.Children.forEach(e,e=>{let t=typeof e,r="string"===t||"number"===t;if(n&&r){let t=o.length-1,n=o[t];o[t]="".concat(n).concat(e)}else o.push(e);n=r}),r.Children.map(o,e=>u(e,t))}},72477:function(e,t,n){"use strict";n.d(t,{ZP:function(){return eu}});var r=n(44194),o=n(51865),i=n.n(o),a=n(76933),s=n(64198),l=n(85266),c=n(25431),u=n(1849),d=n(3690),f=n(18624),p=n(34066),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let m=r.createContext(void 0);var g=e=>{let{getPrefixCls:t,direction:n}=r.useContext(c.E_),{prefixCls:o,size:a,className:s}=e,l=h(e,["prefixCls","size","className"]),u=t("btn-group",o),[,,d]=(0,p.ZP)(),f="";switch(a){case"large":f="lg";break;case"small":f="sm"}let g=i()(u,{["".concat(u,"-").concat(f)]:f,["".concat(u,"-rtl")]:"rtl"===n},s,d);return r.createElement(m.Provider,{value:a},r.createElement("div",Object.assign({},l,{className:g})))},v=n(61038),y=(0,r.forwardRef)((e,t)=>{let{className:n,style:o,children:a,prefixCls:s}=e,l=i()("".concat(s,"-icon"),n);return r.createElement("span",{ref:t,className:l,style:o},a)}),b=n(21075),w=n(63290);let S=(0,r.forwardRef)((e,t)=>{let{prefixCls:n,className:o,style:a,iconClassName:s}=e,l=i()("".concat(n,"-loading-icon"),o);return r.createElement(y,{prefixCls:n,className:l,style:a,ref:t},r.createElement(b.Z,{className:s}))}),x=()=>({width:0,opacity:0,transform:"scale(0)"}),E=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"});var C=e=>{let{prefixCls:t,loading:n,existIcon:o,className:i,style:a}=e,s=!!n;return o?r.createElement(S,{prefixCls:t,className:i,style:a}):r.createElement(w.ZP,{visible:s,motionName:"".concat(t,"-loading-icon-motion"),motionLeave:s,removeOnLeave:!0,onAppearStart:x,onAppearActive:E,onEnterStart:x,onEnterActive:E,onLeaveStart:E,onLeaveActive:x},(e,n)=>{let{className:o,style:s}=e;return r.createElement(S,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),s),ref:n,iconClassName:o})})},_=n(82698),k=n(61885),O=n(39564),A=n(2916);let I=(e,t)=>({["> span, > ".concat(e)]:{"&:not(:last-child)":{["&, & > ".concat(e)]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{["&, & > ".concat(e)]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}});var P=e=>{let{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{["".concat(t,"-group")]:[{position:"relative",display:"inline-flex",["> span, > ".concat(t)]:{"&:not(:last-child)":{["&, & > ".concat(t)]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),["&, & > ".concat(t)]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},["".concat(t,"-icon-only")]:{fontSize:n}},I("".concat(t,"-primary"),o),I("".concat(t,"-danger"),i)]}},T=n(8570);let R=e=>{let{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return(0,O.IX)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},M=e=>{var t,n,r,o,i,a;let s=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,l=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,c=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,u=null!==(o=e.contentLineHeight)&&void 0!==o?o:(0,T.D)(s),d=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:(0,T.D)(l),f=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:(0,T.D)(c);return{fontWeight:400,defaultShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlTmpOutline),primaryShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlOutline),dangerShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.colorErrorOutline),primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},N=e=>{let{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:"".concat((0,_.bf)(e.lineWidth)," ").concat(e.lineType," transparent"),cursor:"pointer",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},["".concat(t,"-icon")]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,k.Qy)(e)),["&".concat(t,"-two-chinese-chars::first-letter")]:{letterSpacing:"0.34em"},["&".concat(t,"-two-chinese-chars > *:not(").concat(n,")")]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},j=(e,t,n)=>({["&:not(:disabled):not(".concat(e,"-disabled)")]:{"&:hover":t,"&:active":n}}),D=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),L=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),B=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Z=(e,t,n,r,o,i,a,s)=>({["&".concat(e,"-background-ghost")]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},j(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),F=e=>({["&:disabled, &".concat(e.componentCls,"-disabled")]:Object.assign({},B(e))}),z=e=>Object.assign({},F(e)),U=e=>({["&:disabled, &".concat(e.componentCls,"-disabled")]:{cursor:"not-allowed",color:e.colorTextDisabled}}),H=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},z(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),j(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Z(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{["&".concat(e.componentCls,"-dangerous")]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},j(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Z(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),F(e))}),q=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},z(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),j(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),Z(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{["&".concat(e.componentCls,"-dangerous")]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},j(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),Z(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),F(e))}),V=e=>Object.assign(Object.assign({},H(e)),{borderStyle:"dashed"}),W=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},j(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),U(e)),{["&".concat(e.componentCls,"-dangerous")]:Object.assign(Object.assign({color:e.colorError},j(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),U(e))}),$=e=>Object.assign(Object.assign(Object.assign({},j(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),U(e)),{["&".concat(e.componentCls,"-dangerous")]:Object.assign(Object.assign({color:e.colorError},U(e)),j(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),G=e=>{let{componentCls:t}=e;return{["".concat(t,"-default")]:H(e),["".concat(t,"-primary")]:q(e),["".concat(t,"-dashed")]:V(e),["".concat(t,"-link")]:W(e),["".concat(t,"-text")]:$(e),["".concat(t,"-ghost")]:Z(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:s,iconCls:l,buttonPaddingVertical:c}=e,u="".concat(n,"-icon-only");return[{["".concat(t)]:{fontSize:o,lineHeight:i,height:r,padding:"".concat((0,_.bf)(c)," ").concat((0,_.bf)(s)),borderRadius:a,["&".concat(u)]:{width:r,paddingInline:0,["&".concat(n,"-compact-item")]:{flex:"none"},["&".concat(n,"-round")]:{width:"auto"},[l]:{fontSize:e.buttonIconOnlyFontSize}},["&".concat(n,"-loading")]:{opacity:e.opacityLoading,cursor:"default"},["".concat(n,"-loading-icon")]:{transition:"width ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut,", opacity ").concat(e.motionDurationSlow," ").concat(e.motionEaseInOut)}}},{["".concat(n).concat(n,"-circle").concat(t)]:D(e)},{["".concat(n).concat(n,"-round").concat(t)]:L(e)}]},Y=e=>K((0,O.IX)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight}),e.componentCls),X=e=>K((0,O.IX)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM}),"".concat(e.componentCls,"-sm")),Q=e=>K((0,O.IX)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG}),"".concat(e.componentCls,"-lg")),J=e=>{let{componentCls:t}=e;return{[t]:{["&".concat(t,"-block")]:{width:"100%"}}}};var ee=(0,A.I$)("Button",e=>{let t=R(e);return[N(t),Y(t),X(t),Q(t),J(t),G(t),P(t)]},M,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}}),et=n(22534);function en(e,t){return{["&-item:not(".concat(t,"-last-item)")]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function er(e,t){return{["&-item:not(".concat(t,"-first-item):not(").concat(t,"-last-item)")]:{borderRadius:0},["&-item".concat(t,"-first-item:not(").concat(t,"-last-item)")]:{["&, &".concat(e,"-sm, &").concat(e,"-lg")]:{borderEndEndRadius:0,borderEndStartRadius:0}},["&-item".concat(t,"-last-item:not(").concat(t,"-first-item)")]:{["&, &".concat(e,"-sm, &").concat(e,"-lg")]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function eo(e){let t="".concat(e.componentCls,"-compact-vertical");return{[t]:Object.assign(Object.assign({},en(e,t)),er(e.componentCls,t))}}let ei=e=>{let{componentCls:t,calc:n}=e;return{[t]:{["&-compact-item".concat(t,"-primary")]:{["&:not([disabled]) + ".concat(t,"-compact-item").concat(t,"-primary:not([disabled])")]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:"calc(100% + ".concat((0,_.bf)(e.lineWidth)," * 2)"),backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{["&".concat(t,"-primary")]:{["&:not([disabled]) + ".concat(t,"-compact-vertical-item").concat(t,"-primary:not([disabled])")]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:"calc(100% + ".concat((0,_.bf)(e.lineWidth)," * 2)"),height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}};var ea=(0,A.bk)(["Button","compact"],e=>{let t=R(e);return[(0,et.c)(t),eo(t),ei(t)]},M),es=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function el(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return{loading:(t=Number.isNaN(t)||"number"!=typeof t?0:t)<=0,delay:t}}return{loading:!!e,delay:0}}let ec=r.forwardRef((e,t)=>{var n,o,p;let{loading:h=!1,prefixCls:g,type:b,danger:w=!1,shape:S="default",size:x,styles:E,disabled:_,className:k,rootClassName:O,children:A,icon:I,iconPosition:P="start",ghost:T=!1,block:R=!1,htmlType:M="button",classNames:N,style:j={},autoInsertSpace:D}=e,L=es(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),B=b||"default",{getPrefixCls:Z,direction:F,button:z}=(0,r.useContext)(c.E_),U=null===(n=null!=D?D:null==z?void 0:z.autoInsertSpace)||void 0===n||n,H=Z("btn",g),[q,V,W]=ee(H),$=(0,r.useContext)(u.Z),G=null!=_?_:$,K=(0,r.useContext)(m),Y=(0,r.useMemo)(()=>el(h),[h]),[X,Q]=(0,r.useState)(Y.loading),[J,et]=(0,r.useState)(!1),en=(0,r.createRef)(),er=(0,s.sQ)(t,en),eo=1===r.Children.count(A)&&!I&&!(0,v.Te)(B);(0,r.useEffect)(()=>{let e=null;return Y.delay>0?e=setTimeout(()=>{e=null,Q(!0)},Y.delay):Q(Y.loading),function(){e&&(clearTimeout(e),e=null)}},[Y]),(0,r.useEffect)(()=>{if(!er||!er.current||!U)return;let e=er.current.textContent;eo&&(0,v.aG)(e)?J||et(!0):J&&et(!1)},[er]);let ei=t=>{let{onClick:n}=e;if(X||G){t.preventDefault();return}null==n||n(t)},{compactSize:ec,compactItemClassnames:eu}=(0,f.ri)(H,F),ed={large:"lg",small:"sm",middle:void 0},ef=(0,d.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=x?x:ec)&&void 0!==t?t:K)&&void 0!==n?n:e}),ep=ef&&ed[ef]||"",eh=X?"loading":I,em=(0,a.Z)(L,["navigate"]),eg=i()(H,V,W,{["".concat(H,"-").concat(S)]:"default"!==S&&S,["".concat(H,"-").concat(B)]:B,["".concat(H,"-").concat(ep)]:ep,["".concat(H,"-icon-only")]:!A&&0!==A&&!!eh,["".concat(H,"-background-ghost")]:T&&!(0,v.Te)(B),["".concat(H,"-loading")]:X,["".concat(H,"-two-chinese-chars")]:J&&U&&!X,["".concat(H,"-block")]:R,["".concat(H,"-dangerous")]:w,["".concat(H,"-rtl")]:"rtl"===F,["".concat(H,"-icon-end")]:"end"===P},eu,k,O,null==z?void 0:z.className),ev=Object.assign(Object.assign({},null==z?void 0:z.style),j),ey=i()(null==N?void 0:N.icon,null===(o=null==z?void 0:z.classNames)||void 0===o?void 0:o.icon),eb=Object.assign(Object.assign({},(null==E?void 0:E.icon)||{}),(null===(p=null==z?void 0:z.styles)||void 0===p?void 0:p.icon)||{}),ew=I&&!X?r.createElement(y,{prefixCls:H,className:ey,style:eb},I):r.createElement(C,{existIcon:!!I,prefixCls:H,loading:X}),eS=A||0===A?(0,v.hU)(A,eo&&U):null;if(void 0!==em.href)return q(r.createElement("a",Object.assign({},em,{className:i()(eg,{["".concat(H,"-disabled")]:G}),href:G?void 0:em.href,style:ev,onClick:ei,ref:er,tabIndex:G?-1:0}),ew,eS));let ex=r.createElement("button",Object.assign({},L,{type:M,className:eg,style:ev,onClick:ei,disabled:G,ref:er}),ew,eS,!!eu&&r.createElement(ea,{key:"compact",prefixCls:H}));return(0,v.Te)(B)||(ex=r.createElement(l.Z,{component:"Button",disabled:X},ex)),q(ex)});ec.Group=g,ec.__ANT_BUTTON=!0;var eu=ec},93263:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(44194),o=n(51865),i=n.n(o),a=n(76933),s=n(25431),l=n(3690),c=n(10256),u=n(17303),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},f=e=>{var{prefixCls:t,className:n,hoverable:o=!0}=e,a=d(e,["prefixCls","className","hoverable"]);let{getPrefixCls:l}=r.useContext(s.E_),c=l("card",t),u=i()("".concat(c,"-grid"),n,{["".concat(c,"-grid-hoverable")]:o});return r.createElement("div",Object.assign({},a,{className:u}))},p=n(82698),h=n(61885),m=n(2916),g=n(39564);let v=e=>{let{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:o,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:"0 ".concat((0,p.bf)(o)),color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:"".concat((0,p.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorderSecondary),borderRadius:"".concat((0,p.bf)(e.borderRadiusLG)," ").concat((0,p.bf)(e.borderRadiusLG)," 0 0")},(0,h.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},h.vS),{["\n          > ".concat(n,"-typography,\n          > ").concat(n,"-typography-edit-content\n        ")]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),["".concat(t,"-tabs-top")]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:"".concat((0,p.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorderSecondary)}}})},y=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:"\n      ".concat((0,p.bf)(o)," 0 0 0 ").concat(n,",\n      0 ").concat((0,p.bf)(o)," 0 0 ").concat(n,",\n      ").concat((0,p.bf)(o)," ").concat((0,p.bf)(o)," 0 0 ").concat(n,",\n      ").concat((0,p.bf)(o)," 0 0 0 ").concat(n," inset,\n      0 ").concat((0,p.bf)(o)," 0 0 ").concat(n," inset;\n    "),transition:"all ".concat(e.motionDurationMid),"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},b=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:"".concat((0,p.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(i),display:"flex",borderRadius:"0 0 ".concat((0,p.bf)(e.borderRadiusLG)," ").concat((0,p.bf)(e.borderRadiusLG))},(0,h.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:"color ".concat(e.motionDurationMid)},["a:not(".concat(t,"-btn), > ").concat(n)]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,p.bf)(e.fontHeight),transition:"color ".concat(e.motionDurationMid),"&:hover":{color:e.colorPrimary}},["> ".concat(n)]:{fontSize:o,lineHeight:(0,p.bf)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:"".concat((0,p.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(i)}}})},w=e=>Object.assign(Object.assign({margin:"".concat((0,p.bf)(e.calc(e.marginXXS).mul(-1).equal())," 0"),display:"flex"},(0,h.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},h.vS),"&-description":{color:e.colorTextDescription}}),S=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{["".concat(t,"-head")]:{padding:"0 ".concat((0,p.bf)(n)),background:r,"&-title":{fontSize:e.fontSize}},["".concat(t,"-body")]:{padding:"".concat((0,p.bf)(e.padding)," ").concat((0,p.bf)(n))}}},x=e=>{let{componentCls:t}=e;return{overflow:"hidden",["".concat(t,"-body")]:{userSelect:"none"}}},E=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:o,boxShadowTertiary:i,cardPaddingBase:a,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},(0,h.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,["&:not(".concat(t,"-bordered)")]:{boxShadow:i},["".concat(t,"-head")]:v(e),["".concat(t,"-extra")]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},["".concat(t,"-body")]:Object.assign({padding:a,borderRadius:"0 0 ".concat((0,p.bf)(e.borderRadiusLG)," ").concat((0,p.bf)(e.borderRadiusLG))},(0,h.dF)()),["".concat(t,"-grid")]:y(e),["".concat(t,"-cover")]:{"> *":{display:"block",width:"100%",borderRadius:"".concat((0,p.bf)(e.borderRadiusLG)," ").concat((0,p.bf)(e.borderRadiusLG)," 0 0")}},["".concat(t,"-actions")]:b(e),["".concat(t,"-meta")]:w(e)}),["".concat(t,"-bordered")]:{border:"".concat((0,p.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(o),["".concat(t,"-cover")]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},["".concat(t,"-hoverable")]:{cursor:"pointer",transition:"box-shadow ".concat(e.motionDurationMid,", border-color ").concat(e.motionDurationMid),"&:hover":{borderColor:"transparent",boxShadow:n}},["".concat(t,"-contain-grid")]:{borderRadius:"".concat((0,p.bf)(e.borderRadiusLG)," ").concat((0,p.bf)(e.borderRadiusLG)," 0 0 "),["".concat(t,"-body")]:{display:"flex",flexWrap:"wrap"},["&:not(".concat(t,"-loading) ").concat(t,"-body")]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},["".concat(t,"-contain-tabs")]:{["> div".concat(t,"-head")]:{minHeight:0,["".concat(t,"-head-title, ").concat(t,"-extra")]:{paddingTop:r}}},["".concat(t,"-type-inner")]:S(e),["".concat(t,"-loading")]:x(e),["".concat(t,"-rtl")]:{direction:"rtl"}}},C=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{["".concat(t,"-small")]:{["> ".concat(t,"-head")]:{minHeight:r,padding:"0 ".concat((0,p.bf)(n)),fontSize:o,["> ".concat(t,"-head-wrapper")]:{["> ".concat(t,"-extra")]:{fontSize:e.fontSize}}},["> ".concat(t,"-body")]:{padding:n}},["".concat(t,"-small").concat(t,"-contain-tabs")]:{["> ".concat(t,"-head")]:{["".concat(t,"-head-title, ").concat(t,"-extra")]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},_=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:"".concat(e.paddingSM,"px 0"),tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText});var k=(0,m.I$)("Card",e=>{let t=(0,g.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[E(t),C(t)]},_),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let A=e=>{let{actionClasses:t,actions:n=[],actionStyle:o}=e;return r.createElement("ul",{className:t,style:o},n.map((e,t)=>{let o="action-".concat(t);return r.createElement("li",{style:{width:"".concat(100/n.length,"%")},key:o},r.createElement("span",null,e))}))};var I=r.forwardRef((e,t)=>{let n;let{prefixCls:o,className:d,rootClassName:p,style:h,extra:m,headStyle:g={},bodyStyle:v={},title:y,loading:b,bordered:w=!0,size:S,type:x,cover:E,actions:C,tabList:_,children:I,activeTabKey:P,defaultActiveTabKey:T,tabBarExtraContent:R,hoverable:M,tabProps:N={},classNames:j,styles:D}=e,L=O(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:B,direction:Z,card:F}=r.useContext(s.E_),z=t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},U=e=>{var t;return i()(null===(t=null==F?void 0:F.classNames)||void 0===t?void 0:t[e],null==j?void 0:j[e])},H=e=>{var t;return Object.assign(Object.assign({},null===(t=null==F?void 0:F.styles)||void 0===t?void 0:t[e]),null==D?void 0:D[e])},q=r.useMemo(()=>{let e=!1;return r.Children.forEach(I,t=>{(null==t?void 0:t.type)===f&&(e=!0)}),e},[I]),V=B("card",o),[W,$,G]=k(V),K=r.createElement(c.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},I),Y=void 0!==P,X=Object.assign(Object.assign({},N),{[Y?"activeKey":"defaultActiveKey"]:Y?P:T,tabBarExtraContent:R}),Q=(0,l.Z)(S),J=Q&&"default"!==Q?Q:"large",ee=_?r.createElement(u.Z,Object.assign({size:J},X,{className:"".concat(V,"-head-tabs"),onChange:z,items:_.map(e=>{var{tab:t}=e;return Object.assign({label:t},O(e,["tab"]))})})):null;if(y||m||ee){let e=i()("".concat(V,"-head"),U("header")),t=i()("".concat(V,"-head-title"),U("title")),o=i()("".concat(V,"-extra"),U("extra")),a=Object.assign(Object.assign({},g),H("header"));n=r.createElement("div",{className:e,style:a},r.createElement("div",{className:"".concat(V,"-head-wrapper")},y&&r.createElement("div",{className:t,style:H("title")},y),m&&r.createElement("div",{className:o,style:H("extra")},m)),ee)}let et=i()("".concat(V,"-cover"),U("cover")),en=E?r.createElement("div",{className:et,style:H("cover")},E):null,er=i()("".concat(V,"-body"),U("body")),eo=Object.assign(Object.assign({},v),H("body")),ei=r.createElement("div",{className:er,style:eo},b?K:I),ea=i()("".concat(V,"-actions"),U("actions")),es=(null==C?void 0:C.length)?r.createElement(A,{actionClasses:ea,actionStyle:H("actions"),actions:C}):null,el=(0,a.Z)(L,["onTabChange"]),ec=i()(V,null==F?void 0:F.className,{["".concat(V,"-loading")]:b,["".concat(V,"-bordered")]:w,["".concat(V,"-hoverable")]:M,["".concat(V,"-contain-grid")]:q,["".concat(V,"-contain-tabs")]:null==_?void 0:_.length,["".concat(V,"-").concat(Q)]:Q,["".concat(V,"-type-").concat(x)]:!!x,["".concat(V,"-rtl")]:"rtl"===Z},d,p,$,G),eu=Object.assign(Object.assign({},null==F?void 0:F.style),h);return W(r.createElement("div",Object.assign({ref:t},el,{className:ec,style:eu}),n,en,ei,es))}),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},T=e=>{let{prefixCls:t,className:n,avatar:o,title:a,description:l}=e,c=P(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=r.useContext(s.E_),d=u("card",t),f=i()("".concat(d,"-meta"),n),p=o?r.createElement("div",{className:"".concat(d,"-meta-avatar")},o):null,h=a?r.createElement("div",{className:"".concat(d,"-meta-title")},a):null,m=l?r.createElement("div",{className:"".concat(d,"-meta-description")},l):null,g=h||m?r.createElement("div",{className:"".concat(d,"-meta-detail")},h,m):null;return r.createElement("div",Object.assign({},c,{className:f}),p,g)};let R=I;R.Grid=f,R.Meta=T;var M=R},30093:function(e,t,n){"use strict";n.d(t,{Z:function(){return ej}});var r=n(44194),o=n(27820),i=n(33581),a=n(10342),s=n(77009),l=n(66437),c=n(3371),u=n(21831),d=n(81065),f=n(52986),p=n(24335),h=n(92486),m={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},g=n(54308),v=n(51865),y=n.n(v),b={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function w(e,t,n){return Math.max(t,Math.min(e,n))}var S=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},x=function(e){for(var t=[],n=E(e),r=C(e),o=n;o<r;o++)0>e.lazyLoadedList.indexOf(o)&&t.push(o);return t},E=function(e){return e.currentSlide-_(e)},C=function(e){return e.currentSlide+k(e)},_=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},k=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},O=function(e){return e&&e.offsetWidth||0},A=function(e){return e&&e.offsetHeight||0},I=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(t=e.startX-e.curX,(n=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315)?"left":n>=135&&n<=225?"right":!0===r?n>=35&&n<=135?"up":"down":"vertical"},P=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},T=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},R=function(e){var t,n=r.Children.count(e.children),o=e.listRef,a=Math.ceil(O(o)),s=Math.ceil(O(e.trackRef&&e.trackRef.node));if(e.vertical)t=a;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=a/100),t=Math.ceil((a-l)/e.slidesToShow)}var c=o&&A(o.querySelector('[data-index="0"]')),u=c*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=n-1-e.initialSlide);var f=e.lazyLoadedList||[],p=x((0,i.Z)((0,i.Z)({},e),{},{currentSlide:d,lazyLoadedList:f})),h={slideCount:n,slideWidth:t,listWidth:a,trackWidth:s,currentSlide:d,slideHeight:c,listHeight:u,lazyLoadedList:f=f.concat(p)};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h},M=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,a=e.index,s=e.slideCount,l=e.lazyLoad,c=e.currentSlide,u=e.centerMode,d=e.slidesToScroll,f=e.slidesToShow,p=e.useCSS,h=e.lazyLoadedList;if(t&&n)return{};var m,g,v,y=a,b={},S={},E=o?a:w(a,0,s-1);if(r){if(!o&&(a<0||a>=s))return{};a<0?y=a+s:a>=s&&(y=a-s),l&&0>h.indexOf(y)&&(h=h.concat(y)),b={animating:!0,currentSlide:y,lazyLoadedList:h,targetSlide:y},S={animating:!1,targetSlide:y}}else m=y,y<0?(m=y+s,o?s%d!=0&&(m=s-s%d):m=0):!P(e)&&y>c?y=m=c:u&&y>=s?(y=o?s:s-1,m=o?0:s-1):y>=s&&(m=y-s,o?s%d!=0&&(m=0):m=s-f),!o&&y+f>=s&&(m=s-f),g=V((0,i.Z)((0,i.Z)({},e),{},{slideIndex:y})),v=V((0,i.Z)((0,i.Z)({},e),{},{slideIndex:m})),o||(g===v&&(y=m),g=v),l&&(h=h.concat(x((0,i.Z)((0,i.Z)({},e),{},{currentSlide:y})))),p?(b={animating:!0,currentSlide:m,trackStyle:q((0,i.Z)((0,i.Z)({},e),{},{left:g})),lazyLoadedList:h,targetSlide:E},S={animating:!1,currentSlide:m,trackStyle:H((0,i.Z)((0,i.Z)({},e),{},{left:v})),swipeLeft:null,targetSlide:E}):b={currentSlide:m,trackStyle:H((0,i.Z)((0,i.Z)({},e),{},{left:v})),lazyLoadedList:h,targetSlide:E};return{state:b,nextState:S}},N=function(e,t){var n,r,o,a,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,p=e.infinite;if(n=c%s!=0?0:(c-u)%s,"previous"===t.message)a=u-(o=0===n?s:l-n),f&&!p&&(a=-1==(r=u-o)?c-1:r),p||(a=d-s);else if("next"===t.message)a=u+(o=0===n?s:n),f&&!p&&(a=(u+s)%c+n),p||(a=d+s);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var h=K((0,i.Z)((0,i.Z)({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===h?a-=c:a<t.currentSlide&&"right"===h&&(a+=c)}}else"index"===t.message&&(a=Number(t.index));return a},j=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},D=function(e,t,n){return("IMG"===e.target.tagName&&S(e),t&&(n||-1===e.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}:""},L=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,a=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,c=t.currentSlide,u=t.edgeFriction,d=t.edgeDragged,f=t.onEdge,p=t.swiped,h=t.swiping,m=t.slideCount,g=t.slidesToScroll,v=t.infinite,y=t.touchObject,b=t.swipeEvent,w=t.listHeight,x=t.listWidth;if(!n){if(r)return S(e);o&&a&&s&&S(e);var E,C={},_=V(t);y.curX=e.touches?e.touches[0].pageX:e.clientX,y.curY=e.touches?e.touches[0].pageY:e.clientY,y.swipeLength=Math.round(Math.sqrt(Math.pow(y.curX-y.startX,2)));var k=Math.round(Math.sqrt(Math.pow(y.curY-y.startY,2)));if(!s&&!h&&k>10)return{scrolling:!0};s&&(y.swipeLength=k);var O=(l?-1:1)*(y.curX>y.startX?1:-1);s&&(O=y.curY>y.startY?1:-1);var A=Math.ceil(m/g),T=I(t.touchObject,s),R=y.swipeLength;return!v&&(0===c&&("right"===T||"down"===T)||c+1>=A&&("left"===T||"up"===T)||!P(t)&&("left"===T||"up"===T))&&(R=y.swipeLength*u,!1===d&&f&&(f(T),C.edgeDragged=!0)),!p&&b&&(b(T),C.swiped=!0),E=o?_+w/x*R*O:l?_-R*O:_+R*O,s&&(E=_+R*O),C=(0,i.Z)((0,i.Z)({},C),{},{touchObject:y,swipeLeft:E,trackStyle:H((0,i.Z)((0,i.Z)({},t),{},{left:E}))}),Math.abs(y.curX-y.startX)<.8*Math.abs(y.curY-y.startY)||y.swipeLength>10&&(C.swiping=!0,S(e)),C}},B=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,a=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,d=t.scrolling,f=t.onSwipe,p=t.targetSlide,h=t.currentSlide,m=t.infinite;if(!n)return r&&S(e),{};var g=l?c/s:a/s,v=I(o,l),y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d||!o.swipeLength)return y;if(o.swipeLength>g){S(e),f&&f(v);var b,w,x=m?h:p;switch(v){case"left":case"up":w=x+z(t),b=u?F(t,w):w,y.currentDirection=0;break;case"right":case"down":w=x-z(t),b=u?F(t,w):w,y.currentDirection=1;break;default:b=x}y.triggerSlideHandler=b}else{var E=V(t);y.trackStyle=q((0,i.Z)((0,i.Z)({},t),{},{left:E}))}return y},Z=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o},F=function(e,t){var n=Z(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t},z=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(!e.swipeToSlide)return e.slidesToScroll;var n,r=e.listRef;if(Array.from(r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[]).every(function(r){if(e.vertical){if(r.offsetTop+A(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+O(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1},U=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},H=function(e){if(U(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical){var t,n;n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight}else t=G(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=(0,i.Z)((0,i.Z)({},r),{},{WebkitTransform:o,transform:a,msTransform:s})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},q=function(e){U(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=H(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},V=function(e){if(e.unslick)return 0;U(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,i=e.slideCount,a=e.slidesToShow,s=e.slidesToScroll,l=e.slideWidth,c=e.listWidth,u=e.variableWidth,d=e.slideHeight,f=e.fade,p=e.vertical,h=0,m=0;if(f||1===e.slideCount)return 0;var g=0;if(r?(g=-W(e),i%s!=0&&t+s>i&&(g=-(t>i?a-(t-i):i%s)),o&&(g+=parseInt(a/2))):(i%s!=0&&t+s>i&&(g=a-i%s),o&&(g=parseInt(a/2))),h=g*l,m=g*d,v=p?-(t*d*1)+m:-(t*l*1)+h,!0===u){var v,y,b,w=n&&n.node;if(b=t+W(e),v=(y=w&&w.childNodes[b])?-1*y.offsetLeft:0,!0===o){b=r?t+W(e):t,y=w&&w.children[b],v=0;for(var S=0;S<b;S++)v-=w&&w.children[S]&&w.children[S].offsetWidth;v-=parseInt(e.centerPadding),v+=y&&(c-y.offsetWidth)/2}}return v},W=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},$=function(e){return e.unslick||!e.infinite?0:e.slideCount},G=function(e){return 1===e.slideCount?1:W(e)+e.slideCount+$(e)},K=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Y(e)?"left":"right":e.targetSlide<e.currentSlide-X(e)?"right":"left"},Y=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},X=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0},Q=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},J=Object.keys(b);function ee(e){return J.reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})}function et(e,t,n){return t=(0,u.Z)(t),(0,l.Z)(e,(0,c.Z)()?Reflect.construct(t,n||[],(0,u.Z)(e).constructor):t.apply(e,n))}var en=function(e){var t,n,r,o,i,a;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":i===(a=e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},er=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},eo=function(e,t){return e.key+"-"+t},ei=function(e){var t,n=[],o=[],a=[],s=r.Children.count(e.children),l=E(e),c=C(e);return(r.Children.forEach(e.children,function(u,d){var f,p={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?u:r.createElement("div",null);var h=er((0,i.Z)((0,i.Z)({},e),{},{index:d})),m=f.props.className||"",g=en((0,i.Z)((0,i.Z)({},e),{},{index:d}));if(n.push(r.cloneElement(f,{key:"original"+eo(f,d),"data-index":d,className:y()(g,m),tabIndex:"-1","aria-hidden":!g["slick-active"],style:(0,i.Z)((0,i.Z)({outline:"none"},f.props.style||{}),h),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}})),e.infinite&&s>1&&!1===e.fade&&!e.unslick){var v=s-d;v<=W(e)&&((t=-v)>=l&&(f=u),g=en((0,i.Z)((0,i.Z)({},e),{},{index:t})),o.push(r.cloneElement(f,{key:"precloned"+eo(f,t),"data-index":t,tabIndex:"-1",className:y()(g,m),"aria-hidden":!g["slick-active"],style:(0,i.Z)((0,i.Z)({},f.props.style||{}),h),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}}))),(t=s+d)<c&&(f=u),g=en((0,i.Z)((0,i.Z)({},e),{},{index:t})),a.push(r.cloneElement(f,{key:"postcloned"+eo(f,t),"data-index":t,tabIndex:"-1",className:y()(g,m),"aria-hidden":!g["slick-active"],style:(0,i.Z)((0,i.Z)({},f.props.style||{}),h),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}}))}}),e.rtl)?o.concat(n,a).reverse():o.concat(n,a)},ea=function(e){function t(){var e;(0,a.Z)(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=et(this,t,[].concat(r)),(0,f.Z)(e,"node",null),(0,f.Z)(e,"handleRef",function(t){e.node=t}),e}return(0,d.Z)(t,e),(0,s.Z)(t,[{key:"render",value:function(){var e=ei(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r.createElement("div",(0,o.Z)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])}(r.PureComponent);function es(e,t,n){return t=(0,u.Z)(t),(0,l.Z)(e,(0,c.Z)()?Reflect.construct(t,n||[],(0,u.Z)(e).constructor):t.apply(e,n))}var el=function(e){return e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1},ec=function(e){function t(){return(0,a.Z)(this,t),es(this,t,arguments)}return(0,d.Z)(t,e),(0,s.Z)(t,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,n=e.onMouseOver,o=e.onMouseLeave,a=e.infinite,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=el({slideCount:c,slidesToScroll:s,slidesToShow:l,infinite:a}),f={onMouseEnter:t,onMouseOver:n,onMouseLeave:o},p=[],h=0;h<d;h++){var m=(h+1)*s-1,g=a?m:w(m,0,c-1),v=g-(s-1),b=a?v:w(v,0,c-1),S=y()({"slick-active":a?u>=b&&u<=g:u===b}),x={message:"dots",index:h,slidesToScroll:s,currentSlide:u},E=this.clickHandler.bind(this,x);p=p.concat(r.createElement("li",{key:h,className:S},r.cloneElement(this.props.customPaging(h),{onClick:E})))}return r.cloneElement(this.props.appendDots(p),(0,i.Z)({className:this.props.dotsClass},f))}}])}(r.PureComponent);function eu(e,t,n){return t=(0,u.Z)(t),(0,l.Z)(e,(0,c.Z)()?Reflect.construct(t,n||[],(0,u.Z)(e).constructor):t.apply(e,n))}var ed=function(e){function t(){return(0,a.Z)(this,t),eu(this,t,arguments)}return(0,d.Z)(t,e),(0,s.Z)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:y()(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.cloneElement(this.props.prevArrow,(0,i.Z)((0,i.Z)({},n),a)):r.createElement("button",(0,o.Z)({key:"0",type:"button"},n)," ","Previous")}}])}(r.PureComponent),ef=function(e){function t(){return(0,a.Z)(this,t),eu(this,t,arguments)}return(0,d.Z)(t,e),(0,s.Z)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});P(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:y()(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.cloneElement(this.props.nextArrow,(0,i.Z)((0,i.Z)({},n),a)):r.createElement("button",(0,o.Z)({key:"1",type:"button"},n)," ","Next")}}])}(r.PureComponent),ep=n(20759),eh=["animating"];function em(e,t,n){return t=(0,u.Z)(t),(0,l.Z)(e,(0,c.Z)()?Reflect.construct(t,n||[],(0,u.Z)(e).constructor):t.apply(e,n))}var eg=function(e){function t(e){(0,a.Z)(this,t),n=em(this,t,[e]),(0,f.Z)(n,"listRefHandler",function(e){return n.list=e}),(0,f.Z)(n,"trackRefHandler",function(e){return n.track=e}),(0,f.Z)(n,"adaptHeight",function(){if(n.props.adaptiveHeight&&n.list){var e=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=A(e)+"px"}}),(0,f.Z)(n,"componentDidMount",function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var e=x((0,i.Z)((0,i.Z)({},n.props),n.state));e.length>0&&(n.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),n.props.onLazyLoad&&n.props.onLazyLoad(e))}var t=(0,i.Z)({listRef:n.list,trackRef:n.track},n.props);n.updateState(t,!0,function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")}),"progressive"===n.props.lazyLoad&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),n.ro=new ep.Z(function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout(function(){return n.onWindowResized()},n.props.speed))):n.onWindowResized()}),n.ro.observe(n.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,e.onblur=n.props.pauseOnFocus?n.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)}),(0,f.Z)(n,"componentWillUnmount",function(){n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach(function(e){return clearTimeout(e)}),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),n.ro.disconnect()}),(0,f.Z)(n,"componentDidUpdate",function(e){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var t=x((0,i.Z)((0,i.Z)({},n.props),n.state));t.length>0&&(n.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),n.props.onLazyLoad&&n.props.onLazyLoad(t))}n.adaptHeight();var o=(0,i.Z)((0,i.Z)({listRef:n.list,trackRef:n.track},n.props),n.state),a=n.didPropsChange(e);a&&n.updateState(o,a,function(){n.state.currentSlide>=r.Children.count(n.props.children)&&n.changeSlide({message:"index",index:r.Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),(e.autoplay!==n.props.autoplay||e.autoplaySpeed!==n.props.autoplaySpeed)&&(!e.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))})}),(0,f.Z)(n,"onWindowResized",function(e){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=(0,g.D)(50,function(){return n.resizeWindow(e)}),n.debouncedResize()}),(0,f.Z)(n,"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(n.track&&n.track.node){var t=(0,i.Z)((0,i.Z)({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(t,e,function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")}),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}}),(0,f.Z)(n,"updateState",function(e,t,o){var a=R(e),s=V(e=(0,i.Z)((0,i.Z)((0,i.Z)({},e),a),{},{slideIndex:a.currentSlide})),l=H(e=(0,i.Z)((0,i.Z)({},e),{},{left:s}));(t||r.Children.count(n.props.children)!==r.Children.count(e.children))&&(a.trackStyle=l),n.setState(a,o)}),(0,f.Z)(n,"ssrInit",function(){if(n.props.variableWidth){var e=0,t=0,o=[],a=W((0,i.Z)((0,i.Z)((0,i.Z)({},n.props),n.state),{},{slideCount:n.props.children.length})),s=$((0,i.Z)((0,i.Z)((0,i.Z)({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach(function(t){o.push(t.props.style.width),e+=t.props.style.width});for(var l=0;l<a;l++)t+=o[o.length-1-l],e+=o[o.length-1-l];for(var c=0;c<s;c++)e+=o[c];for(var u=0;u<n.state.currentSlide;u++)t+=o[u];var d={width:e+"px",left:-t+"px"};if(n.props.centerMode){var f="".concat(o[n.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(f,") / 2 ) ")}return{trackStyle:d}}var p=r.Children.count(n.props.children),h=(0,i.Z)((0,i.Z)((0,i.Z)({},n.props),n.state),{},{slideCount:p}),m=W(h)+$(h)+p,g=100/n.props.slidesToShow*m,v=100/m,y=-v*(W(h)+n.state.currentSlide)*g/100;return n.props.centerMode&&(y+=(100-v*g/100)/2),{slideWidth:v+"%",trackStyle:{width:g+"%",left:y+"%"}}}),(0,f.Z)(n,"checkImagesLoad",function(){var e=n.list&&n.list.querySelectorAll&&n.list.querySelectorAll(".slick-slide img")||[],t=e.length,r=0;Array.prototype.forEach.call(e,function(e){var o=function(){return++r&&r>=t&&n.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(n.props.lazyLoad?e.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(e.onload=o,e.onerror=function(){o(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))})}),(0,f.Z)(n,"progressiveLazyLoad",function(){for(var e=[],t=(0,i.Z)((0,i.Z)({},n.props),n.state),r=n.state.currentSlide;r<n.state.slideCount+$(t);r++)if(0>n.state.lazyLoadedList.indexOf(r)){e.push(r);break}for(var o=n.state.currentSlide-1;o>=-W(t);o--)if(0>n.state.lazyLoadedList.indexOf(o)){e.push(o);break}e.length>0?(n.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),n.props.onLazyLoad&&n.props.onLazyLoad(e)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)}),(0,f.Z)(n,"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n.props,o=r.asNavFor,a=r.beforeChange,s=r.onLazyLoad,l=r.speed,c=r.afterChange,u=n.state.currentSlide,d=M((0,i.Z)((0,i.Z)((0,i.Z)({index:e},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!t})),f=d.state,p=d.nextState;if(f){a&&a(u,f.currentSlide);var m=f.lazyLoadedList.filter(function(e){return 0>n.state.lazyLoadedList.indexOf(e)});s&&m.length>0&&s(m),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),c&&c(u),delete n.animationEndCallback),n.setState(f,function(){o&&n.asNavForIndex!==e&&(n.asNavForIndex=e,o.innerSlider.slideHandler(e)),p&&(n.animationEndCallback=setTimeout(function(){var e=p.animating,t=(0,h.Z)(p,eh);n.setState(t,function(){n.callbackTimers.push(setTimeout(function(){return n.setState({animating:e})},10)),c&&c(f.currentSlide),delete n.animationEndCallback})},l))})}}),(0,f.Z)(n,"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=N((0,i.Z)((0,i.Z)({},n.props),n.state),e);if((0===r||r)&&(!0===t?n.slideHandler(r,t):n.slideHandler(r),n.props.autoplay&&n.autoPlay("update"),n.props.focusOnSelect)){var o=n.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}}),(0,f.Z)(n,"clickHandler",function(e){!1===n.clickable&&(e.stopPropagation(),e.preventDefault()),n.clickable=!0}),(0,f.Z)(n,"keyHandler",function(e){var t=j(e,n.props.accessibility,n.props.rtl);""!==t&&n.changeSlide({message:t})}),(0,f.Z)(n,"selectHandler",function(e){n.changeSlide(e)}),(0,f.Z)(n,"disableBodyScroll",function(){var e=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1};window.ontouchmove=e}),(0,f.Z)(n,"enableBodyScroll",function(){window.ontouchmove=null}),(0,f.Z)(n,"swipeStart",function(e){n.props.verticalSwiping&&n.disableBodyScroll();var t=D(e,n.props.swipe,n.props.draggable);""!==t&&n.setState(t)}),(0,f.Z)(n,"swipeMove",function(e){var t=L(e,(0,i.Z)((0,i.Z)((0,i.Z)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));t&&(t.swiping&&(n.clickable=!1),n.setState(t))}),(0,f.Z)(n,"swipeEnd",function(e){var t=B(e,(0,i.Z)((0,i.Z)((0,i.Z)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(t){var r=t.triggerSlideHandler;delete t.triggerSlideHandler,n.setState(t),void 0!==r&&(n.slideHandler(r),n.props.verticalSwiping&&n.enableBodyScroll())}}),(0,f.Z)(n,"touchEnd",function(e){n.swipeEnd(e),n.clickable=!0}),(0,f.Z)(n,"slickPrev",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"previous"})},0))}),(0,f.Z)(n,"slickNext",function(){n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"next"})},0))}),(0,f.Z)(n,"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";n.callbackTimers.push(setTimeout(function(){return n.changeSlide({message:"index",index:e,currentSlide:n.state.currentSlide},t)},0))}),(0,f.Z)(n,"play",function(){var e;if(n.props.rtl)e=n.state.currentSlide-n.props.slidesToScroll;else{if(!P((0,i.Z)((0,i.Z)({},n.props),n.state)))return!1;e=n.state.currentSlide+n.props.slidesToScroll}n.slideHandler(e)}),(0,f.Z)(n,"autoPlay",function(e){n.autoplayTimer&&clearInterval(n.autoplayTimer);var t=n.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})}),(0,f.Z)(n,"pause",function(e){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var t=n.state.autoplaying;"paused"===e?n.setState({autoplaying:"paused"}):"focused"===e?("hovered"===t||"playing"===t)&&n.setState({autoplaying:"focused"}):"playing"===t&&n.setState({autoplaying:"hovered"})}),(0,f.Z)(n,"onDotsOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,f.Z)(n,"onDotsLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,f.Z)(n,"onTrackOver",function(){return n.props.autoplay&&n.pause("hovered")}),(0,f.Z)(n,"onTrackLeave",function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")}),(0,f.Z)(n,"onSlideFocus",function(){return n.props.autoplay&&n.pause("focused")}),(0,f.Z)(n,"onSlideBlur",function(){return n.props.autoplay&&"focused"===n.state.autoplaying&&n.autoPlay("blur")}),(0,f.Z)(n,"render",function(){var e,t,a,s=y()("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),l=(0,i.Z)((0,i.Z)({},n.props),n.state),c=T(l,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),u=n.props.pauseOnHover;if(c=(0,i.Z)((0,i.Z)({},c),{},{onMouseEnter:u?n.onTrackOver:null,onMouseLeave:u?n.onTrackLeave:null,onMouseOver:u?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null}),!0===n.props.dots&&n.state.slideCount>=n.props.slidesToShow){var d=T(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=n.props.pauseOnDotsHover;d=(0,i.Z)((0,i.Z)({},d),{},{clickHandler:n.changeSlide,onMouseEnter:f?n.onDotsLeave:null,onMouseOver:f?n.onDotsOver:null,onMouseLeave:f?n.onDotsLeave:null}),e=r.createElement(ec,d)}var p=T(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);p.clickHandler=n.changeSlide,n.props.arrows&&(t=r.createElement(ed,p),a=r.createElement(ef,p));var h=null;n.props.vertical&&(h={height:n.state.listHeight});var m=null;!1===n.props.vertical?!0===n.props.centerMode&&(m={padding:"0px "+n.props.centerPadding}):!0===n.props.centerMode&&(m={padding:n.props.centerPadding+" 0px"});var g=(0,i.Z)((0,i.Z)({},h),m),v=n.props.touchMove,b={className:"slick-list",style:g,onClick:n.clickHandler,onMouseDown:v?n.swipeStart:null,onMouseMove:n.state.dragging&&v?n.swipeMove:null,onMouseUp:v?n.swipeEnd:null,onMouseLeave:n.state.dragging&&v?n.swipeEnd:null,onTouchStart:v?n.swipeStart:null,onTouchMove:n.state.dragging&&v?n.swipeMove:null,onTouchEnd:v?n.touchEnd:null,onTouchCancel:n.state.dragging&&v?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},w={className:s,dir:"ltr",style:n.props.style};return n.props.unslick&&(b={className:"slick-list"},w={className:s,style:n.props.style}),r.createElement("div",w,n.props.unslick?"":t,r.createElement("div",(0,o.Z)({ref:n.listRefHandler},b),r.createElement(ea,(0,o.Z)({ref:n.trackRefHandler},c),n.props.children)),n.props.unslick?"":a,n.props.unslick?"":e)}),n.list=null,n.track=null,n.state=(0,i.Z)((0,i.Z)({},m),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:r.Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var n,s=n.ssrInit();return n.state=(0,i.Z)((0,i.Z)({},n.state),s),n}return(0,d.Z)(t,e),(0,s.Z)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var i=o[n];if(!e.hasOwnProperty(i)||!("object"===(0,p.Z)(e[i])||"function"==typeof e[i]||isNaN(e[i]))&&e[i]!==this.props[i]){t=!0;break}}return t||r.Children.count(this.props.children)!==r.Children.count(e.children)}}])}(r.Component),ev=n(69632),ey=n.n(ev);function eb(e,t,n){return t=(0,u.Z)(t),(0,l.Z)(e,(0,c.Z)()?Reflect.construct(t,n||[],(0,u.Z)(e).constructor):t.apply(e,n))}var ew=function(e){function t(e){var n;return(0,a.Z)(this,t),n=eb(this,t,[e]),(0,f.Z)(n,"innerSliderRefHandler",function(e){return n.innerSlider=e}),(0,f.Z)(n,"slickPrev",function(){return n.innerSlider.slickPrev()}),(0,f.Z)(n,"slickNext",function(){return n.innerSlider.slickNext()}),(0,f.Z)(n,"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(e,t)}),(0,f.Z)(n,"slickPause",function(){return n.innerSlider.pause("paused")}),(0,f.Z)(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,d.Z)(t,e),(0,s.Z)(t,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,r){var o;o=0===r?ey()({minWidth:0,maxWidth:n}):ey()({minWidth:t[r-1]+1,maxWidth:n}),Q()&&e.media(o,function(){e.setState({breakpoint:n})})});var n=ey()({minWidth:t.slice(-1)[0]});Q()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":(0,i.Z)((0,i.Z)((0,i.Z)({},b),this.props),t[0].settings):(0,i.Z)((0,i.Z)({},b),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=r.Children.toArray(this.props.children);a=a.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],l=null,c=0;c<a.length;c+=e.rows*e.slidesPerRow){for(var u=[],d=c;d<c+e.rows*e.slidesPerRow;d+=e.slidesPerRow){for(var f=[],p=d;p<d+e.slidesPerRow&&(e.variableWidth&&a[p].props.style&&(l=a[p].props.style.width),!(p>=a.length));p+=1)f.push(r.cloneElement(a[p],{key:100*c+10*d+p,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));u.push(r.createElement("div",{key:10*c+d},f))}e.variableWidth?s.push(r.createElement("div",{key:c,style:{width:l}},u)):s.push(r.createElement("div",{key:c},u))}if("unslick"===e){var h="regular slider "+(this.props.className||"");return r.createElement("div",{className:h},a)}return s.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),r.createElement(eg,(0,o.Z)({style:this.props.style,ref:this.innerSliderRefHandler},ee(e)),s)}}])}(r.Component),eS=n(25431),ex=n(82698),eE=n(61885),eC=n(2916);let e_=e=>{let{componentCls:t,antCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,eE.Wf)(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",["input".concat(n,"-radio-input, input").concat(n,"-checkbox-input")]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",["input".concat(n,"-radio-input, input").concat(n,"-checkbox-input")]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"}})}},ek=e=>{let{componentCls:t,motionDurationSlow:n,arrowSize:r,arrowOffset:o}=e,i=e.calc(r).div(Math.SQRT2).equal();return[{[t]:{".slick-prev, .slick-next":{position:"absolute",top:"50%",width:r,height:r,transform:"translateY(-50%)",color:"#fff",opacity:.4,background:"transparent",padding:0,lineHeight:0,border:0,outline:"none",cursor:"pointer",zIndex:1,transition:"opacity ".concat(n),"&:hover, &:focus":{opacity:1},"&.slick-disabled":{pointerEvents:"none",opacity:0},"&::after":{boxSizing:"border-box",position:"absolute",top:e.calc(r).sub(i).div(2).equal(),insetInlineStart:e.calc(r).sub(i).div(2).equal(),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderInlineWidth:"2px 0",borderBlockWidth:"2px 0",borderRadius:1,content:'""'}},".slick-prev":{insetInlineStart:o,"&::after":{transform:"rotate(-45deg)"}},".slick-next":{insetInlineEnd:o,"&::after":{transform:"rotate(135deg)"}}}}]},eO=e=>{let{componentCls:t,dotOffset:n,dotWidth:r,dotHeight:o,dotGap:i,colorBgContainer:a,motionDurationSlow:s}=e;return[{[t]:{".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:n},"&-top":{top:n,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:r,height:o,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:"all ".concat(s),button:{position:"relative",display:"block",width:"100%",height:o,padding:0,color:"transparent",fontSize:0,background:a,border:0,borderRadius:o,outline:"none",cursor:"pointer",opacity:.2,transition:"all ".concat(s),"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(i).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,"& button":{background:a,opacity:1},"&: hover, &:focus":{opacity:1}}}}}}]},eA=e=>{let{componentCls:t,dotOffset:n,arrowOffset:r,marginXXS:o}=e,i={width:e.dotHeight,height:e.dotWidth};return{["".concat(t,"-vertical")]:{".slick-prev, .slick-next":{insetInlineStart:"50%",marginBlockStart:"unset",transform:"translateX(-50%)"},".slick-prev":{insetBlockStart:r,insetInlineStart:"50%","&::after":{transform:"rotate(45deg)"}},".slick-next":{insetBlockStart:"auto",insetBlockEnd:r,"&::after":{transform:"rotate(-135deg)"}},".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:Object.assign(Object.assign({},i),{margin:"".concat((0,ex.bf)(o)," 0"),verticalAlign:"baseline",button:i,"&.slick-active":Object.assign(Object.assign({},i),{button:i})})}}}},eI=e=>{let{componentCls:t}=e;return[{["".concat(t,"-rtl")]:{direction:"rtl",".slick-dots":{["".concat(t,"-rtl&")]:{flexDirection:"row-reverse"}}}},{["".concat(t,"-vertical")]:{".slick-dots":{["".concat(t,"-rtl&")]:{flexDirection:"column"}}}}]},eP=e=>{let t=24;return{arrowSize:16,arrowOffset:e.marginXS,dotWidth:16,dotHeight:3,dotGap:e.marginXXS,dotOffset:12,dotWidthActive:t,dotActiveWidth:t}};var eT=(0,eC.I$)("Carousel",e=>[e_(e),ek(e),eO(e),eA(e),eI(e)],eP,{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),eR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let eM=e=>{var{currentSlide:t,slideCount:n}=e,o=eR(e,["currentSlide","slideCount"]);return r.createElement("button",Object.assign({type:"button"},o))},eN="slick-dots";var ej=r.forwardRef((e,t)=>{let{dots:n=!0,arrows:o=!1,prevArrow:i=r.createElement(eM,{"aria-label":"prev"}),nextArrow:a=r.createElement(eM,{"aria-label":"next"}),draggable:s=!1,waitForAnimate:l=!1,dotPosition:c="bottom",vertical:u="left"===c||"right"===c,rootClassName:d,className:f,style:p,id:h}=e,m=eR(e,["dots","arrows","prevArrow","nextArrow","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:g,direction:v,carousel:b}=r.useContext(eS.E_),w=r.useRef(),S=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];w.current.slickGoTo(e,t)};r.useImperativeHandle(t,()=>({goTo:S,autoPlay:w.current.innerSlider.autoPlay,innerSlider:w.current.innerSlider,prev:w.current.slickPrev,next:w.current.slickNext}),[w.current]);let x=r.useRef(r.Children.count(e.children));r.useEffect(()=>{x.current!==r.Children.count(e.children)&&(S(e.initialSlide||0,!1),x.current=r.Children.count(e.children))},[e.children]);let E=Object.assign({vertical:u,className:y()(f,null==b?void 0:b.className),style:Object.assign(Object.assign({},null==b?void 0:b.style),p)},m);"fade"===E.effect&&(E.fade=!0);let C=g("carousel",E.prefixCls),_=!!n,k=y()(eN,"".concat(eN,"-").concat(c),"boolean"!=typeof n&&(null==n?void 0:n.className)),[O,A,I]=eT(C),P=y()(C,{["".concat(C,"-rtl")]:"rtl"===v,["".concat(C,"-vertical")]:E.vertical},A,I,d);return O(r.createElement("div",{className:P,id:h},r.createElement(ew,Object.assign({ref:w},E,{dots:_,dotsClass:k,arrows:o,prevArrow:i,nextArrow:a,draggable:s,verticalSwiping:u,waitForAnimate:l}))))})},98371:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(44194),o=n(51865),i=n.n(o),a=n(89341),s=n(85266),l=n(54033),c=n(25431),u=n(1849),d=n(55948),f=n(10799),p=r.createContext(null),h=n(69973),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let g=(e,t)=>{var n;let{prefixCls:o,className:g,rootClassName:v,children:y,indeterminate:b=!1,style:w,onMouseEnter:S,onMouseLeave:x,skipGroup:E=!1,disabled:C}=e,_=m(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:k,direction:O,checkbox:A}=r.useContext(c.E_),I=r.useContext(p),{isFormItemInput:P}=r.useContext(f.aM),T=r.useContext(u.Z),R=null!==(n=(null==I?void 0:I.disabled)||C)&&void 0!==n?n:T,M=r.useRef(_.value);r.useEffect(()=>{null==I||I.registerValue(_.value)},[]),r.useEffect(()=>{if(!E)return _.value!==M.current&&(null==I||I.cancelValue(M.current),null==I||I.registerValue(_.value),M.current=_.value),()=>null==I?void 0:I.cancelValue(_.value)},[_.value]);let N=k("checkbox",o),j=(0,d.Z)(N),[D,L,B]=(0,h.ZP)(N,j),Z=Object.assign({},_);I&&!E&&(Z.onChange=function(){_.onChange&&_.onChange.apply(_,arguments),I.toggleOption&&I.toggleOption({label:y,value:_.value})},Z.name=I.name,Z.checked=I.value.includes(_.value));let F=i()("".concat(N,"-wrapper"),{["".concat(N,"-rtl")]:"rtl"===O,["".concat(N,"-wrapper-checked")]:Z.checked,["".concat(N,"-wrapper-disabled")]:R,["".concat(N,"-wrapper-in-form-item")]:P},null==A?void 0:A.className,g,v,B,j,L),z=i()({["".concat(N,"-indeterminate")]:b},l.A,L),U=b?"mixed":void 0;return D(r.createElement(s.Z,{component:"Checkbox",disabled:R},r.createElement("label",{className:F,style:Object.assign(Object.assign({},null==A?void 0:A.style),w),onMouseEnter:S,onMouseLeave:x},r.createElement(a.Z,Object.assign({"aria-checked":U},Z,{prefixCls:N,className:z,disabled:R,ref:t})),void 0!==y&&r.createElement("span",null,y))))};var v=r.forwardRef(g),y=n(70826),b=n(76933),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},S=r.forwardRef((e,t)=>{let{defaultValue:n,children:o,options:a=[],prefixCls:s,className:l,rootClassName:u,style:f,onChange:m}=e,g=w(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:S,direction:x}=r.useContext(c.E_),[E,C]=r.useState(g.value||n||[]),[_,k]=r.useState([]);r.useEffect(()=>{"value"in g&&C(g.value||[])},[g.value]);let O=r.useMemo(()=>a.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[a]),A=e=>{k(t=>t.filter(t=>t!==e))},I=e=>{k(t=>[].concat((0,y.Z)(t),[e]))},P=e=>{let t=E.indexOf(e.value),n=(0,y.Z)(E);-1===t?n.push(e.value):n.splice(t,1),"value"in g||C(n),null==m||m(n.filter(e=>_.includes(e)).sort((e,t)=>O.findIndex(t=>t.value===e)-O.findIndex(e=>e.value===t)))},T=S("checkbox",s),R="".concat(T,"-group"),M=(0,d.Z)(T),[N,j,D]=(0,h.ZP)(T,M),L=(0,b.Z)(g,["value","disabled"]),B=a.length?O.map(e=>r.createElement(v,{prefixCls:T,key:e.value.toString(),disabled:"disabled"in e?e.disabled:g.disabled,value:e.value,checked:E.includes(e.value),onChange:e.onChange,className:"".concat(R,"-item"),style:e.style,title:e.title,id:e.id,required:e.required},e.label)):o,Z={toggleOption:P,value:E,disabled:g.disabled,name:g.name,registerValue:I,cancelValue:A},F=i()(R,{["".concat(R,"-rtl")]:"rtl"===x},l,u,D,M,j);return N(r.createElement("div",Object.assign({className:F,style:f},L,{ref:t}),r.createElement(p.Provider,{value:Z},B)))});let x=v;x.Group=S,x.__ANT_CHECKBOX=!0;var E=x},69973:function(e,t,n){"use strict";n.d(t,{C2:function(){return l}});var r=n(82698),o=n(61885),i=n(39564),a=n(2916);let s=e=>{let{checkboxCls:t}=e,n="".concat(t,"-wrapper");return[{["".concat(t,"-group")]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,["> ".concat(e.antCls,"-row")]:{flex:1}}),[n]:Object.assign(Object.assign({},(0,o.Wf)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},["& + ".concat(n)]:{marginInlineStart:0},["&".concat(n,"-in-form-item")]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",["".concat(t,"-input")]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,["&:focus-visible + ".concat(t,"-inner")]:Object.assign({},(0,o.oN)(e))},["".concat(t,"-inner")]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:"all ".concat(e.motionDurationSlow),"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:"".concat((0,r.bf)(e.lineWidthBold)," solid ").concat(e.colorWhite),borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:"all ".concat(e.motionDurationFast," ").concat(e.motionEaseInBack,", opacity ").concat(e.motionDurationFast)}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{["\n        ".concat(n,":not(").concat(n,"-disabled),\n        ").concat(t,":not(").concat(t,"-disabled)\n      ")]:{["&:hover ".concat(t,"-inner")]:{borderColor:e.colorPrimary}},["".concat(n,":not(").concat(n,"-disabled)")]:{["&:hover ".concat(t,"-checked:not(").concat(t,"-disabled) ").concat(t,"-inner")]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},["&:hover ".concat(t,"-checked:not(").concat(t,"-disabled):after")]:{borderColor:e.colorPrimaryHover}}},{["".concat(t,"-checked")]:{["".concat(t,"-inner")]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseOutBack," ").concat(e.motionDurationFast)}}},["\n        ".concat(n,"-checked:not(").concat(n,"-disabled),\n        ").concat(t,"-checked:not(").concat(t,"-disabled)\n      ")]:{["&:hover ".concat(t,"-inner")]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{["".concat(t,"-inner")]:{backgroundColor:"".concat(e.colorBgContainer," !important"),borderColor:"".concat(e.colorBorder," !important"),"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},["&:hover ".concat(t,"-inner")]:{backgroundColor:"".concat(e.colorBgContainer," !important"),borderColor:"".concat(e.colorPrimary," !important")}}}},{["".concat(n,"-disabled")]:{cursor:"not-allowed"},["".concat(t,"-disabled")]:{["&, ".concat(t,"-input")]:{cursor:"not-allowed",pointerEvents:"none"},["".concat(t,"-inner")]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},["&".concat(t,"-indeterminate ").concat(t,"-inner::after")]:{background:e.colorTextDisabled}}}]};function l(e,t){return[s((0,i.IX)(t,{checkboxCls:".".concat(e),checkboxSize:t.controlInteractiveSize}))]}t.ZP=(0,a.I$)("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[l(n,e)]})},1171:function(e,t,n){"use strict";var r=n(27545);t.Z=r.Z},27135:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}});var r=n(44194),o=n(60540),i=n(51865),a=n.n(i),s=n(27820),l=n(70826),c=n(7732),u=n(24335),d=n(45571),f=n(6103),p=n(92486),h=n(2196),m=n(52986),g=n(63290),v=n(4062),y=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.forceRender,i=e.className,s=e.style,l=e.children,u=e.isActive,d=e.role,f=r.useState(u||o),p=(0,c.Z)(f,2),h=p[0],g=p[1];return(r.useEffect(function(){(o||u)&&g(!0)},[o,u]),h)?r.createElement("div",{ref:t,className:a()("".concat(n,"-content"),(0,m.Z)((0,m.Z)({},"".concat(n,"-content-active"),u),"".concat(n,"-content-inactive"),!u),i),style:s,role:d},r.createElement("div",{className:"".concat(n,"-content-box")},l)):null});y.displayName="PanelContent";var b=y,w=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],S=r.forwardRef(function(e,t){var n=e.showArrow,o=void 0===n||n,i=e.headerClass,l=e.isActive,c=e.onItemClick,u=e.forceRender,d=e.className,f=e.prefixCls,h=e.collapsible,y=e.accordion,S=e.panelKey,x=e.extra,E=e.header,C=e.expandIcon,_=e.openMotion,k=e.destroyInactivePanel,O=e.children,A=(0,p.Z)(e,w),I="disabled"===h,P="header"===h,T="icon"===h,R=null!=x&&"boolean"!=typeof x,M=function(){null==c||c(S)},N=function(e){("Enter"===e.key||e.keyCode===v.Z.ENTER||e.which===v.Z.ENTER)&&M()},j="function"==typeof C?C(e):r.createElement("i",{className:"arrow"});j&&(j=r.createElement("div",{className:"".concat(f,"-expand-icon"),onClick:["header","icon"].includes(h)?M:void 0},j));var D=a()((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(f,"-item"),!0),"".concat(f,"-item-active"),l),"".concat(f,"-item-disabled"),I),d),L={className:a()(i,(0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(f,"-header"),!0),"".concat(f,"-header-collapsible-only"),P),"".concat(f,"-icon-collapsible-only"),T)),"aria-expanded":l,"aria-disabled":I,onKeyDown:N};return P||T||(L.onClick=M,L.role=y?"tab":"button",L.tabIndex=I?-1:0),r.createElement("div",(0,s.Z)({},A,{ref:t,className:D}),r.createElement("div",L,o&&j,r.createElement("span",{className:"".concat(f,"-header-text"),onClick:"header"===h?M:void 0},E),R&&r.createElement("div",{className:"".concat(f,"-extra")},x)),r.createElement(g.ZP,(0,s.Z)({visible:l,leavedClassName:"".concat(f,"-content-hidden")},_,{forceRender:u,removeOnLeave:k}),function(e,t){var n=e.className,o=e.style;return r.createElement(b,{ref:t,prefixCls:f,className:n,style:o,isActive:l,forceRender:u,role:y?"tabpanel":void 0},O)}))}),x=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],E=function(e,t){var n=t.prefixCls,o=t.accordion,i=t.collapsible,a=t.destroyInactivePanel,l=t.onItemClick,c=t.activeKey,u=t.openMotion,d=t.expandIcon;return e.map(function(e,t){var f=e.children,h=e.label,m=e.key,g=e.collapsible,v=e.onItemClick,y=e.destroyInactivePanel,b=(0,p.Z)(e,x),w=String(null!=m?m:t),E=null!=g?g:i,C=null!=y?y:a,_=function(e){"disabled"!==E&&(l(e),null==v||v(e))},k=!1;return k=o?c[0]===w:c.indexOf(w)>-1,r.createElement(S,(0,s.Z)({},b,{prefixCls:n,key:w,panelKey:w,isActive:k,accordion:o,openMotion:u,expandIcon:d,header:h,collapsible:E,onItemClick:_,destroyInactivePanel:C}),f)})},C=function(e,t,n){if(!e)return null;var o=n.prefixCls,i=n.accordion,a=n.collapsible,s=n.destroyInactivePanel,l=n.onItemClick,c=n.activeKey,u=n.openMotion,d=n.expandIcon,f=e.key||String(t),p=e.props,h=p.header,m=p.headerClass,g=p.destroyInactivePanel,v=p.collapsible,y=p.onItemClick,b=!1;b=i?c[0]===f:c.indexOf(f)>-1;var w=null!=v?v:a,S=function(e){"disabled"!==w&&(l(e),null==y||y(e))},x={key:f,panelKey:f,header:h,headerClass:m,isActive:b,prefixCls:o,destroyInactivePanel:null!=g?g:s,openMotion:u,accordion:i,children:e.props.children,onItemClick:S,expandIcon:d,collapsible:w};return"string"==typeof e.type?e:(Object.keys(x).forEach(function(e){void 0===x[e]&&delete x[e]}),r.cloneElement(e,x))},_=function(e,t,n){return Array.isArray(e)?E(e,n):(0,h.Z)(t).map(function(e,t){return C(e,t,n)})},k=n(11875);function O(e){var t=e;if(!Array.isArray(t)){var n=(0,u.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map(function(e){return String(e)})}var A=Object.assign(r.forwardRef(function(e,t){var n=e.prefixCls,o=void 0===n?"rc-collapse":n,i=e.destroyInactivePanel,u=void 0!==i&&i,p=e.style,h=e.accordion,m=e.className,g=e.children,v=e.collapsible,y=e.openMotion,b=e.expandIcon,w=e.activeKey,S=e.defaultActiveKey,x=e.onChange,E=e.items,C=a()(o,m),A=(0,d.Z)([],{value:w,onChange:function(e){return null==x?void 0:x(e)},defaultValue:S,postState:O}),I=(0,c.Z)(A,2),P=I[0],T=I[1],R=function(e){return T(function(){return h?P[0]===e?[]:[e]:P.indexOf(e)>-1?P.filter(function(t){return t!==e}):[].concat((0,l.Z)(P),[e])})};(0,f.ZP)(!g,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var M=_(E,g,{prefixCls:o,accordion:h,openMotion:y,expandIcon:b,collapsible:v,destroyInactivePanel:u,onItemClick:R,activeKey:P});return r.createElement("div",(0,s.Z)({ref:t,className:C,style:p,role:h?"tablist":void 0},(0,k.Z)(e,{aria:!0,data:!0})),M)}),{Panel:S}),I=A;A.Panel;var P=n(76933),T=n(62334),R=n(85905),M=n(25431),N=n(3690),j=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(M.E_),{prefixCls:o,className:i,showArrow:s=!0}=e,l=n("collapse",o),c=a()({["".concat(l,"-no-arrow")]:!s},i);return r.createElement(I.Panel,Object.assign({ref:t},e,{prefixCls:l,className:c}))}),D=n(82698),L=n(61885),B=n(33773),Z=n(2916),F=n(39564);let z=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:o,headerPadding:i,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:d,colorText:f,colorTextHeading:p,colorTextDisabled:h,fontSizeLG:m,lineHeight:g,lineHeightLG:v,marginSM:y,paddingSM:b,paddingLG:w,paddingXS:S,motionDurationSlow:x,fontSizeIcon:E,contentPadding:C,fontHeight:_,fontHeightLG:k}=e,O="".concat((0,D.bf)(c)," ").concat(u," ").concat(d);return{[t]:Object.assign(Object.assign({},(0,L.Wf)(e)),{backgroundColor:o,border:O,borderRadius:l,"&-rtl":{direction:"rtl"},["& > ".concat(t,"-item")]:{borderBottom:O,"&:last-child":{["\n            &,\n            & > ".concat(t,"-header")]:{borderRadius:"0 0 ".concat((0,D.bf)(l)," ").concat((0,D.bf)(l))}},["> ".concat(t,"-header")]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:p,lineHeight:g,cursor:"pointer",transition:"all ".concat(x,", visibility 0s"),["> ".concat(t,"-header-text")]:{flex:"auto"},"&:focus":{outline:"none"},["".concat(t,"-expand-icon")]:{height:_,display:"flex",alignItems:"center",paddingInlineEnd:y},["".concat(t,"-arrow")]:Object.assign(Object.assign({},(0,L.Ro)()),{fontSize:E,transition:"transform ".concat(x),svg:{transition:"transform ".concat(x)}}),["".concat(t,"-header-text")]:{marginInlineEnd:"auto"}},["".concat(t,"-icon-collapsible-only")]:{cursor:"unset",["".concat(t,"-expand-icon")]:{cursor:"pointer"}}},["".concat(t,"-content")]:{color:f,backgroundColor:n,borderTop:O,["& > ".concat(t,"-content-box")]:{padding:C},"&-hidden":{display:"none"}},"&-small":{["> ".concat(t,"-item")]:{["> ".concat(t,"-header")]:{padding:a,paddingInlineStart:S,["> ".concat(t,"-expand-icon")]:{marginInlineStart:e.calc(b).sub(S).equal()}},["> ".concat(t,"-content > ").concat(t,"-content-box")]:{padding:b}}},"&-large":{["> ".concat(t,"-item")]:{fontSize:m,lineHeight:v,["> ".concat(t,"-header")]:{padding:s,paddingInlineStart:r,["> ".concat(t,"-expand-icon")]:{height:k,marginInlineStart:e.calc(w).sub(r).equal()}},["> ".concat(t,"-content > ").concat(t,"-content-box")]:{padding:w}}},["".concat(t,"-item:last-child")]:{borderBottom:0,["> ".concat(t,"-content")]:{borderRadius:"0 0 ".concat((0,D.bf)(l)," ").concat((0,D.bf)(l))}},["& ".concat(t,"-item-disabled > ").concat(t,"-header")]:{"\n          &,\n          & > .arrow\n        ":{color:h,cursor:"not-allowed"}},["&".concat(t,"-icon-position-end")]:{["& > ".concat(t,"-item")]:{["> ".concat(t,"-header")]:{["".concat(t,"-expand-icon")]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}})}},U=e=>{let{componentCls:t}=e,n="> ".concat(t,"-item > ").concat(t,"-header ").concat(t,"-arrow");return{["".concat(t,"-rtl")]:{[n]:{transform:"rotate(180deg)"}}}},H=e=>{let{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:o}=e;return{["".concat(t,"-borderless")]:{backgroundColor:n,border:0,["> ".concat(t,"-item")]:{borderBottom:"1px solid ".concat(o)},["\n        > ".concat(t,"-item:last-child,\n        > ").concat(t,"-item:last-child ").concat(t,"-header\n      ")]:{borderRadius:0},["> ".concat(t,"-item:last-child")]:{borderBottom:0},["> ".concat(t,"-item > ").concat(t,"-content")]:{backgroundColor:"transparent",borderTop:0},["> ".concat(t,"-item > ").concat(t,"-content > ").concat(t,"-content-box")]:{paddingTop:r}}}},q=e=>{let{componentCls:t,paddingSM:n}=e;return{["".concat(t,"-ghost")]:{backgroundColor:"transparent",border:0,["> ".concat(t,"-item")]:{borderBottom:0,["> ".concat(t,"-content")]:{backgroundColor:"transparent",border:0,["> ".concat(t,"-content-box")]:{paddingBlock:n}}}}}},V=e=>({headerPadding:"".concat(e.paddingSM,"px ").concat(e.padding,"px"),headerBg:e.colorFillAlter,contentPadding:"".concat(e.padding,"px 16px"),contentBg:e.colorBgContainer});var W=(0,Z.I$)("Collapse",e=>{let t=(0,F.IX)(e,{collapseHeaderPaddingSM:"".concat((0,D.bf)(e.paddingXS)," ").concat((0,D.bf)(e.paddingSM)),collapseHeaderPaddingLG:"".concat((0,D.bf)(e.padding)," ").concat((0,D.bf)(e.paddingLG)),collapsePanelBorderRadius:e.borderRadiusLG});return[z(t),H(t),q(t),U(t),(0,B.Z)(t)]},V),$=Object.assign(r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:i,collapse:s}=r.useContext(M.E_),{prefixCls:l,className:c,rootClassName:u,style:d,bordered:f=!0,ghost:p,size:m,expandIconPosition:g="start",children:v,expandIcon:y}=e,b=(0,N.Z)(e=>{var t;return null!==(t=null!=m?m:e)&&void 0!==t?t:"middle"}),w=n("collapse",l),S=n(),[x,E,C]=W(w),_=r.useMemo(()=>"left"===g?"start":"right"===g?"end":g,[g]),k=null!=y?y:null==s?void 0:s.expandIcon,O=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="function"==typeof k?k(e):r.createElement(o.Z,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,R.Tm)(t,()=>{var e;return{className:a()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,"".concat(w,"-arrow"))}})},[k,w]),A=a()("".concat(w,"-icon-position-").concat(_),{["".concat(w,"-borderless")]:!f,["".concat(w,"-rtl")]:"rtl"===i,["".concat(w,"-ghost")]:!!p,["".concat(w,"-").concat(b)]:"middle"!==b},null==s?void 0:s.className,c,u,E,C),j=Object.assign(Object.assign({},(0,T.Z)(S)),{motionAppear:!1,leavedClassName:"".concat(w,"-content-hidden")}),D=r.useMemo(()=>v?(0,h.Z)(v).map((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){let n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:o,collapsible:i}=e.props,a=Object.assign(Object.assign({},(0,P.Z)(e.props,["disabled"])),{key:n,collapsible:null!=i?i:o?"disabled":void 0});return(0,R.Tm)(e,a)}return e}):null,[v]);return x(r.createElement(I,Object.assign({ref:t,openMotion:j},(0,P.Z)(e,["rootClassName"]),{expandIcon:O,prefixCls:w,className:A,style:Object.assign(Object.assign({},null==s?void 0:s.style),d)}),D))}),{Panel:j})},84005:function(e,t,n){"use strict";n.d(t,{Z:function(){return e4}});var r,o=n(44194),i=n(51865),a=n.n(i),s=n(45571),l=n(80265),c=n(29876),u=n(38283),d=n(25431),f=n(1849),p=n(55948),h=n(3690),m=n(10799),g=n(25359),v=n(60340),y=n(27820),b=n(52986),w=n(7732),S=n(33581),x=n(10342),E=n(77009),C=n(81065),_=n(17615),k=n(92486),O=n(24335),A=n(66671),I=["b"],P=["v"],T=function(e){return Math.round(Number(e||0))},R=function(e){if(e&&"object"===(0,O.Z)(e)&&"h"in e&&"b"in e){var t=e,n=t.b,r=(0,k.Z)(t,I);return(0,S.Z)((0,S.Z)({},r),{},{v:n})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},M=function(e){(0,C.Z)(n,e);var t=(0,_.Z)(n);function n(e){return(0,x.Z)(this,n),t.call(this,R(e))}return(0,E.Z)(n,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=T(100*e.s),n=T(100*e.b),r=T(e.h),o=e.a,i="hsb(".concat(r,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(o.toFixed(0===o?0:2),")");return 1===o?i:a}},{key:"toHsb",value:function(){var e=this.toHsv();"object"===(0,O.Z)(this.originalInput)&&this.originalInput&&"h"in this.originalInput&&(e=this.originalInput);var t=e,n=(t.v,(0,k.Z)(t,P));return(0,S.Z)((0,S.Z)({},n),{},{b:e.v,a:this.a})}}]),n}(A.C),N="rc-color-picker",j=function(e){return e instanceof M?e:new M(e)},D=j("#1677ff"),L=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,o=e.color,i=e.type,a=r.current.getBoundingClientRect(),s=a.width,l=a.height,c=n.current.getBoundingClientRect(),u=c.width,d=c.height,f=u/2,p=d/2,h=(t.x+f)/s,m=1-(t.y+p)/l,g=o.toHsb(),v=h,y=(t.x+f)/s*360;if(i)switch(i){case"hue":return j((0,S.Z)((0,S.Z)({},g),{},{h:y<=0?0:y}));case"alpha":return j((0,S.Z)((0,S.Z)({},g),{},{a:v<=0?0:v}))}return j({h:g.h,s:h<=0?0:h,b:m>=1?1:m,a:g.a})},B=function(e,t,n,r){var o=e.current.getBoundingClientRect(),i=o.width,a=o.height,s=t.current.getBoundingClientRect(),l=s.width,c=s.height,u=l/2,d=c/2,f=n.toHsb();if((0!==l||0!==c)&&l===c){if(r)switch(r){case"hue":return{x:f.h/360*i-u,y:-d/3};case"alpha":return{x:f.a/1*i-u,y:-d/3}}return{x:f.s*i-u,y:(1-f.b)*a-d}}},Z=function(e){var t=e.color,n=e.prefixCls,r=e.className,i=e.style,s=e.onClick,l="".concat(n,"-color-block");return o.createElement("div",{className:a()(l,r),style:i,onClick:s},o.createElement("div",{className:"".concat(l,"-inner"),style:{background:t}}))};function F(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}var z=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,i=e.direction,a=e.onDragChange,s=e.onDragChangeComplete,l=e.calculate,c=e.color,u=e.disabledDrag,d=(0,o.useState)(t||{x:0,y:0}),f=(0,w.Z)(d,2),p=f[0],h=f[1],m=(0,o.useRef)(null),g=(0,o.useRef)(null),v=(0,o.useRef)({flag:!1});(0,o.useEffect)(function(){if(!1===v.current.flag){var e=null==l?void 0:l(r);e&&h(e)}},[c,r]),(0,o.useEffect)(function(){return function(){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",g.current),m.current=null,g.current=null}},[]);var y=function(e){var t=F(e),o=t.pageX,s=t.pageY,l=r.current.getBoundingClientRect(),c=l.x,u=l.y,d=l.width,f=l.height,m=n.current.getBoundingClientRect(),g=m.width,v=m.height,y=Math.max(0,Math.min(s-u,f))-v/2,b={x:Math.max(0,Math.min(o-c,d))-g/2,y:"x"===i?p.y:y};if(0===g&&0===v||g!==v)return!1;h(b),null==a||a(b)},b=function(e){e.preventDefault(),y(e)},S=function(e){e.preventDefault(),v.current.flag=!1,document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",g.current),m.current=null,g.current=null,null==s||s()};return[p,function(e){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),u||(y(e),v.current.flag=!0,document.addEventListener("mousemove",b),document.addEventListener("mouseup",S),document.addEventListener("touchmove",b),document.addEventListener("touchend",S),m.current=b,g.current=S)}]},U=n(91324),H=function(e){var t=e.size,n=void 0===t?"default":t,r=e.color,i=e.prefixCls;return o.createElement("div",{className:a()("".concat(i,"-handler"),(0,b.Z)({},"".concat(i,"-handler-sm"),"small"===n)),style:{backgroundColor:r}})},q=function(e){var t=e.children,n=e.style,r=e.prefixCls;return o.createElement("div",{className:"".concat(r,"-palette"),style:(0,S.Z)({position:"relative"},n)},t)},V=(0,o.forwardRef)(function(e,t){var n=e.children,r=e.offset;return o.createElement("div",{ref:t,style:{position:"absolute",left:r.x,top:r.y,zIndex:1}},n)}),W=function(e){var t=e.color,n=e.onChange,r=e.prefixCls,i=e.onChangeComplete,a=e.disabled,s=(0,o.useRef)(),l=(0,o.useRef)(),c=(0,o.useRef)(t),u=(0,U.zX)(function(e){var r=L({offset:e,targetRef:l,containerRef:s,color:t});c.current=r,n(r)}),d=z({color:t,containerRef:s,targetRef:l,calculate:function(e){return B(e,l,t)},onDragChange:u,onDragChangeComplete:function(){return null==i?void 0:i(c.current)},disabledDrag:a}),f=(0,w.Z)(d,2),p=f[0],h=f[1];return o.createElement("div",{ref:s,className:"".concat(r,"-select"),onMouseDown:h,onTouchStart:h},o.createElement(q,{prefixCls:r},o.createElement(V,{offset:p,ref:l},o.createElement(H,{color:t.toRgbString(),prefixCls:r})),o.createElement("div",{className:"".concat(r,"-saturation"),style:{backgroundColor:"hsl(".concat(t.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},$=function(e){var t=e.colors,n=e.children,r=e.direction,i=void 0===r?"to right":r,a=e.type,s=e.prefixCls,l=(0,o.useMemo)(function(){return t.map(function(e,n){var r=j(e);return"alpha"===a&&n===t.length-1&&r.setAlpha(1),r.toRgbString()}).join(",")},[t,a]);return o.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(i,", ").concat(l,")")}},n)},G=function(e){var t=e.gradientColors,n=e.direction,r=e.type,i=void 0===r?"hue":r,s=e.color,l=e.value,c=e.onChange,u=e.onChangeComplete,d=e.disabled,f=e.prefixCls,p=(0,o.useRef)(),h=(0,o.useRef)(),m=(0,o.useRef)(s),g=(0,U.zX)(function(e){var t=L({offset:e,targetRef:h,containerRef:p,color:s,type:i});m.current=t,c(t)}),v=z({color:s,targetRef:h,containerRef:p,calculate:function(e){return B(e,h,s,i)},onDragChange:g,onDragChangeComplete:function(){null==u||u(m.current,i)},direction:"x",disabledDrag:d}),y=(0,w.Z)(v,2),b=y[0],S=y[1];return o.createElement("div",{ref:p,className:a()("".concat(f,"-slider"),"".concat(f,"-slider-").concat(i)),onMouseDown:S,onTouchStart:S},o.createElement(q,{prefixCls:f},o.createElement(V,{offset:b,ref:h},o.createElement(H,{size:"small",color:l,prefixCls:f})),o.createElement($,{colors:t,direction:n,type:i,prefixCls:f})))};function K(e){return void 0!==e}var Y=function(e,t){var n=t.defaultValue,r=t.value,i=(0,o.useState)(function(){var t;return j(t=K(r)?r:K(n)?n:e)}),a=(0,w.Z)(i,2),s=a[0],l=a[1];return(0,o.useEffect)(function(){r&&l(j(r))},[r]),[s,l]},X=["rgb(255, 0, 0) 0%","rgb(255, 255, 0) 17%","rgb(0, 255, 0) 33%","rgb(0, 255, 255) 50%","rgb(0, 0, 255) 67%","rgb(255, 0, 255) 83%","rgb(255, 0, 0) 100%"],Q=(0,o.forwardRef)(function(e,t){var n=e.value,r=e.defaultValue,i=e.prefixCls,s=void 0===i?N:i,l=e.onChange,c=e.onChangeComplete,u=e.className,d=e.style,f=e.panelRender,p=e.disabledAlpha,h=void 0!==p&&p,m=e.disabled,g=void 0!==m&&m,v=Y(D,{value:n,defaultValue:r}),S=(0,w.Z)(v,2),x=S[0],E=S[1],C=(0,o.useMemo)(function(){var e=j(x.toRgbString());return e.setAlpha(1),e.toRgbString()},[x]),_=a()("".concat(s,"-panel"),u,(0,b.Z)({},"".concat(s,"-panel-disabled"),g)),k={prefixCls:s,onChangeComplete:c,disabled:g},O=function(e,t){n||E(e),null==l||l(e,t)},A=o.createElement(o.Fragment,null,o.createElement(W,(0,y.Z)({color:x,onChange:O},k)),o.createElement("div",{className:"".concat(s,"-slider-container")},o.createElement("div",{className:a()("".concat(s,"-slider-group"),(0,b.Z)({},"".concat(s,"-slider-group-disabled-alpha"),h))},o.createElement(G,(0,y.Z)({gradientColors:X,color:x,value:"hsl(".concat(x.toHsb().h,",100%, 50%)"),onChange:function(e){return O(e,"hue")}},k)),!h&&o.createElement(G,(0,y.Z)({type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",C],color:x,value:x.toRgbString(),onChange:function(e){return O(e,"alpha")}},k))),o.createElement(Z,{color:x.toRgbString(),prefixCls:s})));return o.createElement("div",{className:_,style:d,ref:t},"function"==typeof f?f(A):A)});let J=o.createContext({}),ee=o.createContext({}),{Provider:et}=J,{Provider:en}=ee,er=(e,t)=>(null==e?void 0:e.replace(/[^\w/]/gi,"").slice(0,t?8:6))||"",eo=(e,t)=>e?er(e,t):"",ei=function(){function e(t){(0,x.Z)(this,e),this.cleared=!1,this.metaColor=new M(t),t||(this.metaColor.setAlpha(0),this.cleared=!0)}return(0,E.Z)(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return eo(this.toHexString(),1>this.metaColor.getAlpha())}},{key:"toHexString",value:function(){return 1===this.metaColor.getAlpha()?this.metaColor.toHexString():this.metaColor.toHex8String()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}}])}(),ea=e=>e instanceof ei?e:new ei(e),es=e=>Math.round(Number(e||0)),el=e=>es(100*e.toHsb().a),ec=(e,t)=>{let n=e.toHsb();return n.a=t||1,ea(n)};var eu=e=>{let{prefixCls:t,value:n,onChange:r}=e,i=()=>{if(n&&!n.cleared){let e=n.toHsb();e.a=0;let t=ea(e);t.cleared=!0,null==r||r(t)}};return o.createElement("div",{className:"".concat(t,"-clear"),onClick:i})},ed=n(3097);!function(e){e.hex="hex",e.rgb="rgb",e.hsb="hsb"}(r||(r={}));var ef=n(97326),ep=e=>{let{prefixCls:t,min:n=0,max:r=100,value:i,onChange:s,className:l,formatter:c}=e,u="".concat(t,"-steppers"),[d,f]=(0,o.useState)(i);return(0,o.useEffect)(()=>{Number.isNaN(i)||f(i)},[i]),o.createElement(ef.Z,{className:a()(u,l),min:n,max:r,value:d,formatter:c,size:"small",onChange:e=>{i||f(e||0),null==s||s(e)}})},eh=e=>{let{prefixCls:t,value:n,onChange:r}=e,i="".concat(t,"-alpha-input"),[a,s]=(0,o.useState)(ea(n||"#000"));(0,o.useEffect)(()=>{n&&s(n)},[n]);let l=e=>{let t=a.toHsb();t.a=(e||0)/100;let o=ea(t);n||s(o),null==r||r(o)};return o.createElement(ep,{value:el(a),prefixCls:t,formatter:e=>"".concat(e,"%"),className:i,onChange:l})},em=n(89653);let eg=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,ev=e=>eg.test("#".concat(e));var ey=e=>{let{prefixCls:t,value:n,onChange:r}=e,i="".concat(t,"-hex-input"),[a,s]=(0,o.useState)(null==n?void 0:n.toHex());(0,o.useEffect)(()=>{let e=null==n?void 0:n.toHex();ev(e)&&n&&s(er(e))},[n]);let l=e=>{let t=e.target.value;s(er(t)),ev(er(t,!0))&&(null==r||r(ea(t)))};return o.createElement(em.default,{className:i,value:a,prefix:"#",onChange:l,size:"small"})},eb=e=>{let{prefixCls:t,value:n,onChange:r}=e,i="".concat(t,"-hsb-input"),[a,s]=(0,o.useState)(ea(n||"#000"));(0,o.useEffect)(()=>{n&&s(n)},[n]);let l=(e,t)=>{let o=a.toHsb();o[t]="h"===t?e:(e||0)/100;let i=ea(o);n||s(i),null==r||r(i)};return o.createElement("div",{className:i},o.createElement(ep,{max:360,min:0,value:Number(a.toHsb().h),prefixCls:t,className:i,formatter:e=>es(e||0).toString(),onChange:e=>l(Number(e),"h")}),o.createElement(ep,{max:100,min:0,value:100*Number(a.toHsb().s),prefixCls:t,className:i,formatter:e=>"".concat(es(e||0),"%"),onChange:e=>l(Number(e),"s")}),o.createElement(ep,{max:100,min:0,value:100*Number(a.toHsb().b),prefixCls:t,className:i,formatter:e=>"".concat(es(e||0),"%"),onChange:e=>l(Number(e),"b")}))},ew=e=>{let{prefixCls:t,value:n,onChange:r}=e,i="".concat(t,"-rgb-input"),[a,s]=(0,o.useState)(ea(n||"#000"));(0,o.useEffect)(()=>{n&&s(n)},[n]);let l=(e,t)=>{let o=a.toRgb();o[t]=e||0;let i=ea(o);n||s(i),null==r||r(i)};return o.createElement("div",{className:i},o.createElement(ep,{max:255,min:0,value:Number(a.toRgb().r),prefixCls:t,className:i,onChange:e=>l(Number(e),"r")}),o.createElement(ep,{max:255,min:0,value:Number(a.toRgb().g),prefixCls:t,className:i,onChange:e=>l(Number(e),"g")}),o.createElement(ep,{max:255,min:0,value:Number(a.toRgb().b),prefixCls:t,className:i,onChange:e=>l(Number(e),"b")}))};let eS=[r.hex,r.hsb,r.rgb].map(e=>({value:e,label:e.toLocaleUpperCase()}));var ex=e=>{let{prefixCls:t,format:n,value:i,disabledAlpha:a,onFormatChange:l,onChange:c}=e,[u,d]=(0,s.Z)(r.hex,{value:n,onChange:l}),f="".concat(t,"-input"),p=e=>{d(e)},h=(0,o.useMemo)(()=>{let e={value:i,prefixCls:t,onChange:c};switch(u){case r.hsb:return o.createElement(eb,Object.assign({},e));case r.rgb:return o.createElement(ew,Object.assign({},e));default:return o.createElement(ey,Object.assign({},e))}},[u,t,i,c]);return o.createElement("div",{className:"".concat(f,"-container")},o.createElement(ed.default,{value:u,variant:"borderless",getPopupContainer:e=>e,popupMatchSelectWidth:68,placement:"bottomRight",onChange:p,className:"".concat(t,"-format-select"),size:"small",options:eS}),o.createElement("div",{className:f},h),!a&&o.createElement(eh,{prefixCls:t,value:i,onChange:c}))},eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eC=()=>{let e=(0,o.useContext)(J),{prefixCls:t,allowClear:n,value:r,disabledAlpha:i,onChange:a,onClear:s,onChangeComplete:l}=e,c=eE(e,["prefixCls","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete"]);return o.createElement(o.Fragment,null,n&&o.createElement(eu,Object.assign({prefixCls:t,value:r,onChange:e=>{null==a||a(e),null==s||s()}},c)),o.createElement(Q,{prefixCls:t,value:null==r?void 0:r.toHsb(),disabledAlpha:i,onChange:(e,t)=>{null==a||a(ea(e),t,!0)},onChangeComplete:e=>{null==l||l(ea(e))}}),o.createElement(ex,Object.assign({value:r,onChange:a,prefixCls:t,disabledAlpha:i},c)))},e_=n(27135),ek=n(71254),eO=n(34066);let eA=e=>e.map(e=>(e.colors=e.colors.map(ea),e)),eI=(e,t)=>{let{r:n,g:r,b:o,a:i}=e.toRgb(),a=new M(e.toRgbString()).onBackground(t).toHsv();return i<=.5?a.v>.5:.299*n+.587*r+.114*o>192},eP=e=>{let{label:t}=e;return"panel-".concat(t)};var eT=e=>{let{prefixCls:t,presets:n,value:r,onChange:i}=e,[l]=(0,ek.Z)("ColorPicker"),[,c]=(0,eO.ZP)(),[u]=(0,s.Z)(eA(n),{value:eA(n),postState:eA}),d="".concat(t,"-presets"),f=(0,o.useMemo)(()=>u.reduce((e,t)=>{let{defaultOpen:n=!0}=t;return n&&e.push(eP(t)),e},[]),[u]),p=e=>{null==i||i(e)},h=u.map(e=>{var n;return{key:eP(e),label:o.createElement("div",{className:"".concat(d,"-label")},null==e?void 0:e.label),children:o.createElement("div",{className:"".concat(d,"-items")},Array.isArray(null==e?void 0:e.colors)&&(null===(n=e.colors)||void 0===n?void 0:n.length)>0?e.colors.map((e,n)=>o.createElement(Z,{key:"preset-".concat(n,"-").concat(e.toHexString()),color:ea(e).toRgbString(),prefixCls:t,className:a()("".concat(d,"-color"),{["".concat(d,"-color-checked")]:e.toHexString()===(null==r?void 0:r.toHexString()),["".concat(d,"-color-bright")]:eI(e,c.colorBgElevated)}),onClick:()=>p(e)})):o.createElement("span",{className:"".concat(d,"-empty")},l.presetEmpty))}});return o.createElement("div",{className:d},o.createElement(e_.Z,{defaultActiveKey:f,ghost:!0,items:h}))},eR=()=>{let{prefixCls:e,value:t,presets:n,onChange:r}=(0,o.useContext)(ee);return Array.isArray(n)?o.createElement(eT,{value:t,presets:n,prefixCls:e,onChange:r}):null},eM=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eN=e=>{let{prefixCls:t,presets:n,panelRender:r,color:i,onChange:a,onClear:s}=e,l=eM(e,["prefixCls","presets","panelRender","color","onChange","onClear"]),c="".concat(t,"-inner"),u=Object.assign({prefixCls:t,value:i,onChange:a,onClear:s},l),d=o.useMemo(()=>({prefixCls:t,value:i,presets:n,onChange:a}),[t,i,n,a]),f=o.createElement("div",{className:"".concat(c,"-content")},o.createElement(eC,null),Array.isArray(n)&&o.createElement(v.Z,null),o.createElement(eR,null));return o.createElement(et,{value:u},o.createElement(en,{value:d},o.createElement("div",{className:c},"function"==typeof r?r(f,{components:{Picker:eC,Presets:eR}}):f)))},ej=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eD=(0,o.forwardRef)((e,t)=>{let{color:n,prefixCls:r,open:i,disabled:s,format:l,className:c,showText:u}=e,d=ej(e,["color","prefixCls","open","disabled","format","className","showText"]),f="".concat(r,"-trigger"),p=(0,o.useMemo)(()=>n.cleared?o.createElement(eu,{prefixCls:r}):o.createElement(Z,{prefixCls:r,color:n.toRgbString()}),[n,r]),h=()=>{let e=n.toHexString().toUpperCase(),t=el(n);switch(l){case"rgb":return n.toRgbString();case"hsb":return n.toHsbString();default:return t<100?"".concat(e.slice(0,7),",").concat(t,"%"):e}},m=()=>"function"==typeof u?u(n):u?h():void 0;return o.createElement("div",Object.assign({ref:t,className:a()(f,c,{["".concat(f,"-active")]:i,["".concat(f,"-disabled")]:s})},d),p,u&&o.createElement("div",{className:"".concat(f,"-text")},m()))});let eL={};function eB(e){return void 0!==e}var eZ=(e,t)=>{let{defaultValue:n,value:r}=t,i=(0,o.useRef)(ea("")),[a,s]=(0,o.useState)(()=>{let t;let o=ea((t=eB(r)?r:eB(n)?n:e)||"");return i.current=o,o}),l=e=>{s(e),i.current=e},c=(0,o.useRef)(eL);return(0,o.useEffect)(()=>{if(c.current===r)return;c.current=r;let e=ea(eB(r)?r||"":i.current);!0===i.current.cleared&&(e.cleared="controlled"),l(e)},[r]),[a,l,i]},eF=n(82698),ez=n(2916),eU=n(39564);let eH=(e,t)=>({backgroundImage:"conic-gradient(".concat(t," 0 25%, transparent 0 50%, ").concat(t," 0 75%, transparent 0)"),backgroundSize:"".concat(e," ").concat(e)});var eq=(e,t)=>{let{componentCls:n,borderRadiusSM:r,colorPickerInsetShadow:o,lineWidth:i,colorFillSecondary:a}=e;return{["".concat(n,"-color-block")]:Object.assign(Object.assign({position:"relative",borderRadius:r,width:t,height:t,boxShadow:o},eH("50%",e.colorFillSecondary)),{["".concat(n,"-color-block-inner")]:{width:"100%",height:"100%",border:"".concat((0,eF.bf)(i)," solid ").concat(a),borderRadius:"inherit"}})}},eV=e=>{let{componentCls:t,antCls:n,fontSizeSM:r,lineHeightSM:o,colorPickerAlphaInputWidth:i,marginXXS:a,paddingXXS:s,controlHeightSM:l,marginXS:c,fontSizeIcon:u,paddingXS:d,colorTextPlaceholder:f,colorPickerInputNumberHandleWidth:p,lineWidth:h}=e;return{["".concat(t,"-input-container")]:{display:"flex",["".concat(t,"-steppers").concat(n,"-input-number")]:{fontSize:r,lineHeight:o,["".concat(n,"-input-number-input")]:{paddingInlineStart:s,paddingInlineEnd:0},["".concat(n,"-input-number-handler-wrap")]:{width:p}},["".concat(t,"-steppers").concat(t,"-alpha-input")]:{flex:"0 0 ".concat((0,eF.bf)(i)),marginInlineStart:a},["".concat(t,"-format-select").concat(n,"-select")]:{marginInlineEnd:c,width:"auto","&-single":{["".concat(n,"-select-selector")]:{padding:0,border:0},["".concat(n,"-select-arrow")]:{insetInlineEnd:0},["".concat(n,"-select-selection-item")]:{paddingInlineEnd:e.calc(u).add(a).equal(),fontSize:r,lineHeight:"".concat((0,eF.bf)(l))},["".concat(n,"-select-item-option-content")]:{fontSize:r,lineHeight:o},["".concat(n,"-select-dropdown")]:{["".concat(n,"-select-item")]:{minHeight:"auto"}}}},["".concat(t,"-input")]:{gap:a,alignItems:"center",flex:1,width:0,["".concat(t,"-hsb-input,").concat(t,"-rgb-input")]:{display:"flex",gap:a,alignItems:"center"},["".concat(t,"-steppers")]:{flex:1},["".concat(t,"-hex-input").concat(n,"-input-affix-wrapper")]:{flex:1,padding:"0 ".concat((0,eF.bf)(d)),["".concat(n,"-input")]:{fontSize:r,textTransform:"uppercase",lineHeight:(0,eF.bf)(e.calc(l).sub(e.calc(h).mul(2)).equal())},["".concat(n,"-input-prefix")]:{color:f}}}}}},eW=e=>{let{componentCls:t,controlHeightLG:n,borderRadiusSM:r,colorPickerInsetShadow:o,marginSM:i,colorBgElevated:a,colorFillSecondary:s,lineWidthBold:l,colorPickerHandlerSize:c,colorPickerHandlerSizeSM:u,colorPickerSliderHeight:d}=e;return{["".concat(t,"-select")]:{["".concat(t,"-palette")]:{minHeight:e.calc(n).mul(4).equal(),overflow:"hidden",borderRadius:r},["".concat(t,"-saturation")]:{position:"absolute",borderRadius:"inherit",boxShadow:o,inset:0},marginBottom:i},["".concat(t,"-handler")]:{width:c,height:c,border:"".concat((0,eF.bf)(l)," solid ").concat(a),position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:"".concat(o,", 0 0 0 1px ").concat(s),"&-sm":{width:u,height:u}},["".concat(t,"-slider")]:{borderRadius:e.calc(d).div(2).equal(),["".concat(t,"-palette")]:{height:d},["".concat(t,"-gradient")]:{borderRadius:e.calc(d).div(2).equal(),boxShadow:o},"&-alpha":eH("".concat((0,eF.bf)(d)),e.colorFillSecondary),"&-hue":{marginBottom:i}},["".concat(t,"-slider-container")]:{display:"flex",gap:i,marginBottom:i,["".concat(t,"-slider-group")]:{flex:1,"&-disabled-alpha":{display:"flex",alignItems:"center",["".concat(t,"-slider")]:{flex:1,marginBottom:0}}}}}},e$=e=>{let{componentCls:t,antCls:n,colorTextQuaternary:r,paddingXXS:o,colorPickerPresetColorSize:i,fontSizeSM:a,colorText:s,lineHeightSM:l,lineWidth:c,borderRadius:u,colorFill:d,colorWhite:f,marginXXS:p,paddingXS:h,fontHeightSM:m}=e;return{["".concat(t,"-presets")]:{["".concat(n,"-collapse-item > ").concat(n,"-collapse-header")]:{padding:0,["".concat(n,"-collapse-expand-icon")]:{height:m,color:r,paddingInlineEnd:o}},["".concat(n,"-collapse")]:{display:"flex",flexDirection:"column",gap:p},["".concat(n,"-collapse-item > ").concat(n,"-collapse-content > ").concat(n,"-collapse-content-box")]:{padding:"".concat((0,eF.bf)(h)," 0")},"&-label":{fontSize:a,color:s,lineHeight:l},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(p).mul(1.5).equal(),["".concat(t,"-presets-color")]:{position:"relative",cursor:"pointer",width:i,height:i,"&::before":{content:'""',pointerEvents:"none",width:e.calc(i).add(e.calc(c).mul(4)).equal(),height:e.calc(i).add(e.calc(c).mul(4)).equal(),position:"absolute",top:e.calc(c).mul(-2).equal(),insetInlineStart:e.calc(c).mul(-2).equal(),borderRadius:u,border:"".concat((0,eF.bf)(c)," solid transparent"),transition:"border-color ".concat(e.motionDurationMid," ").concat(e.motionEaseInBack)},"&:hover::before":{borderColor:d},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(i).div(13).mul(5).equal(),height:e.calc(i).div(13).mul(8).equal(),border:"".concat((0,eF.bf)(e.lineWidthBold)," solid ").concat(e.colorWhite),borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:"all ".concat(e.motionDurationFast," ").concat(e.motionEaseInBack,", opacity ").concat(e.motionDurationFast)},["&".concat(t,"-presets-color-checked")]:{"&::after":{opacity:1,borderColor:f,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:"transform ".concat(e.motionDurationMid," ").concat(e.motionEaseOutBack," ").concat(e.motionDurationFast)},["&".concat(t,"-presets-color-bright")]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:a,color:r}}}};let eG=(e,t,n)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:"0 0 0 ".concat((0,eF.bf)(e.controlOutlineWidth)," ").concat(n),outline:0}),eK=e=>{let{componentCls:t}=e;return{"&-rtl":{["".concat(t,"-presets-color")]:{"&::after":{direction:"ltr"}},["".concat(t,"-clear")]:{"&::after":{direction:"ltr"}}}}},eY=(e,t,n)=>{let{componentCls:r,borderRadiusSM:o,lineWidth:i,colorSplit:a,colorBorder:s,red6:l}=e;return{["".concat(r,"-clear")]:Object.assign(Object.assign({width:t,height:t,borderRadius:o,border:"".concat((0,eF.bf)(i)," solid ").concat(a),position:"relative",overflow:"hidden",cursor:"pointer",transition:"all ".concat(e.motionDurationFast)},n),{"&::after":{content:'""',position:"absolute",insetInlineEnd:i,top:0,display:"block",width:40,height:2,transformOrigin:"right",transform:"rotate(-45deg)",backgroundColor:l},"&:hover":{borderColor:s}})}},eX=e=>{let{componentCls:t,colorError:n,colorWarning:r,colorErrorHover:o,colorWarningHover:i,colorErrorOutline:a,colorWarningOutline:s}=e;return{["&".concat(t,"-status-error")]:{borderColor:n,"&:hover":{borderColor:o},["&".concat(t,"-trigger-active")]:Object.assign({},eG(e,n,a))},["&".concat(t,"-status-warning")]:{borderColor:r,"&:hover":{borderColor:i},["&".concat(t,"-trigger-active")]:Object.assign({},eG(e,r,s))}}},eQ=e=>{let{componentCls:t,controlHeightLG:n,controlHeightSM:r,controlHeight:o,controlHeightXS:i,borderRadius:a,borderRadiusSM:s,borderRadiusXS:l,borderRadiusLG:c,fontSizeLG:u}=e;return{["&".concat(t,"-lg")]:{minWidth:n,height:n,borderRadius:c,["".concat(t,"-color-block, ").concat(t,"-clear")]:{width:o,height:o,borderRadius:a},["".concat(t,"-trigger-text")]:{fontSize:u}},["&".concat(t,"-sm")]:{minWidth:r,height:r,borderRadius:s,["".concat(t,"-color-block, ").concat(t,"-clear")]:{width:i,height:i,borderRadius:l}}}},eJ=e=>{let{antCls:t,componentCls:n,colorPickerWidth:r,colorPrimary:o,motionDurationMid:i,colorBgElevated:a,colorTextDisabled:s,colorText:l,colorBgContainerDisabled:c,borderRadius:u,marginXS:d,marginSM:f,controlHeight:p,controlHeightSM:h,colorBgTextActive:m,colorPickerPresetColorSize:g,colorPickerPreviewSize:v,lineWidth:y,colorBorder:b,paddingXXS:w,fontSize:S,colorPrimaryHover:x,controlOutline:E}=e;return[{[n]:Object.assign({["".concat(n,"-inner")]:Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:r,["& > ".concat(t,"-divider")]:{margin:"".concat((0,eF.bf)(f)," 0 ").concat((0,eF.bf)(d))}},["".concat(n,"-panel")]:Object.assign({},eW(e))},eq(e,v)),eV(e)),e$(e)),eY(e,g,{marginInlineStart:"auto",marginBottom:d})),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:p,height:p,borderRadius:u,border:"".concat((0,eF.bf)(y)," solid ").concat(b),cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"all ".concat(i),background:a,padding:e.calc(w).sub(y).equal(),["".concat(n,"-trigger-text")]:{marginInlineStart:d,marginInlineEnd:e.calc(d).sub(e.calc(w).sub(y)).equal(),fontSize:S,color:l},"&:hover":{borderColor:x},["&".concat(n,"-trigger-active")]:Object.assign({},eG(e,o,E)),"&-disabled":{color:s,background:c,cursor:"not-allowed","&:hover":{borderColor:m},["".concat(n,"-trigger-text")]:{color:s}}},eY(e,h)),eq(e,h)),eX(e)),eQ(e))},eK(e))}]};var e0=(0,ez.I$)("ColorPicker",e=>{let{colorTextQuaternary:t,marginSM:n}=e,r=8;return[eJ((0,eU.IX)(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:18,colorPickerInsetShadow:"inset 0 0 1px 0 ".concat(t),colorPickerSliderHeight:r,colorPickerPreviewSize:e.calc(r).mul(2).add(n).equal()}))]}),e1=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let e2=e=>{let{value:t,defaultValue:n,format:r,defaultFormat:i,allowClear:c=!1,presets:v,children:y,trigger:b="click",open:w,disabled:S,placement:x="bottomLeft",arrow:E=!0,panelRender:C,showText:_,style:k,className:O,size:A,rootClassName:I,prefixCls:P,styles:T,disabledAlpha:R=!1,onFormatChange:M,onChange:N,onClear:j,onOpenChange:D,onChangeComplete:L,getPopupContainer:B,autoAdjustOverflow:Z=!0,destroyTooltipOnHide:F}=e,z=e1(e,["value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:U,direction:H,colorPicker:q}=(0,o.useContext)(d.E_),V=(0,o.useContext)(f.Z),W=null!=S?S:V,[$,G,K]=eZ("",{value:t,defaultValue:n}),[Y,X]=(0,s.Z)(!1,{value:w,postState:e=>!W&&e,onChange:D}),[Q,J]=(0,s.Z)(r,{value:r,defaultValue:i,onChange:M}),ee=U("color-picker",P),et=(0,o.useMemo)(()=>100>el($),[$]),{status:en}=o.useContext(m.aM),er=(0,h.Z)(A),eo=(0,p.Z)(ee),[ei,es,eu]=e0(ee,eo),ed={["".concat(ee,"-rtl")]:H},ef=a()(I,eu,eo,ed),ep=a()((0,u.Z)(ee,en),{["".concat(ee,"-sm")]:"small"===er,["".concat(ee,"-lg")]:"large"===er},null==q?void 0:q.className,ef,O,es),eh=a()(ee,ef),em=(0,o.useRef)(!0),eg=(e,r,o)=>{var i;let a=ea(e),s=null===t||!t&&null===n;((null===(i=K.current)||void 0===i?void 0:i.cleared)||s)&&0===el($)&&"alpha"!==r&&(a=ec(a)),R&&et&&(a=ec(a)),o?em.current=!1:null==L||L(a),G(a),null==N||N(a,a.toHexString())},ev=()=>{null==j||j()},ey=e=>{em.current=!0;let t=ea(e);R&&et&&(t=ec(e)),null==L||L(t)},eb={open:Y,trigger:b,placement:x,arrow:E,rootClassName:I,getPopupContainer:B,autoAdjustOverflow:Z,destroyTooltipOnHide:F},ew={prefixCls:ee,color:$,allowClear:c,disabled:W,disabledAlpha:R,presets:v,panelRender:C,format:Q,onFormatChange:J,onChangeComplete:ey},eS=Object.assign(Object.assign({},null==q?void 0:q.style),k);return ei(o.createElement(g.Z,Object.assign({style:null==T?void 0:T.popup,overlayInnerStyle:null==T?void 0:T.popupOverlayInner,onOpenChange:e=>{em.current&&!W&&X(e)},content:o.createElement(l.Z,{form:!0},o.createElement(eN,Object.assign({},ew,{onChange:eg,onChangeComplete:ey,onClear:ev}))),overlayClassName:eh},eb),y||o.createElement(eD,Object.assign({open:Y,className:ep,style:eS,prefixCls:ee,disabled:W,showText:_,format:Q},z,{color:$}))))},e3=(0,c.Z)(e2,"color-picker",e=>e,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}));e2._InternalPanelDoNotUseOrYouWillBeFired=e3;var e4=e2},1849:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(44194);let o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)};t.Z=o},13976:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(44194);let o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)};t.Z=o},25431:function(e,t,n){"use strict";n.d(t,{E_:function(){return l},Rf:function(){return o},oR:function(){return i},tr:function(){return a}});var r=n(44194);let o="ant",i="anticon",a=["outlined","borderless","filled"],s=(e,t)=>t||(e?"".concat(o,"-").concat(e):o),l=r.createContext({getPrefixCls:s,iconPrefixCls:i}),{Consumer:c}=l},24425:function(e,t,n){"use strict";var r=n(44194),o=n(25431),i=n(63378);let a=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,r.useContext)(o.E_),a=n("empty");switch(t){case"Table":case"List":return r.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(a,"-small")});default:return r.createElement(i.Z,null)}};t.Z=a},55948:function(e,t,n){"use strict";var r=n(34066);let o=e=>{let[,,,,t]=(0,r.ZP)();return t?"".concat(e,"-css-var"):""};t.Z=o},3690:function(e,t,n){"use strict";var r=n(44194),o=n(13976);let i=e=>{let t=r.useContext(o.Z);return r.useMemo(()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t,[e,t])};t.Z=i},22904:function(e,t,n){"use strict";let r,o,i,a;n.d(t,{ZP:function(){return Q},w6:function(){return K}});var s=n(44194),l=n.t(s,2),c=n(82698),u=n(60489),d=n(9188),f=n(87549),p=n(66973),h=n(57266),m=n(51911),g=n(22786);let v="internalMark";var y=e=>{let{locale:t={},children:n,_ANT_MARK__:r}=e;s.useEffect(()=>(0,m.f)(null==t?void 0:t.Modal),[t]);let o=s.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return s.createElement(g.Z.Provider,{value:o},n)},b=n(2941),w=n(86861),S=n(34745),x=n(25431),E=n(38774),C=n(66671),_=n(17680),k=n(8042);let O="-ant-".concat(Date.now(),"-").concat(Math.random());function A(e,t){let n={},r=(e,t)=>{let n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=(e,t)=>{let o=new C.C(e),i=(0,E.R_)(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[6],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[0],n["".concat(t,"-color-deprecated-border")]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");let e=new C.C(t.primaryColor),i=(0,E.R_)(e.toRgbString());i.forEach((e,t)=>{n["primary-".concat(t+1)]=e}),n["primary-color-deprecated-l-35"]=r(e,e=>e.lighten(35)),n["primary-color-deprecated-l-20"]=r(e,e=>e.lighten(20)),n["primary-color-deprecated-t-20"]=r(e,e=>e.tint(20)),n["primary-color-deprecated-t-50"]=r(e,e=>e.tint(50)),n["primary-color-deprecated-f-12"]=r(e,e=>e.setAlpha(.12*e.getAlpha()));let a=new C.C(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,e=>e.setAlpha(.3*e.getAlpha())),n["primary-color-active-deprecated-d-02"]=r(a,e=>e.darken(2))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");let i=Object.keys(n).map(t=>"--".concat(e,"-").concat(t,": ").concat(n[t],";"));return"\n  :root {\n    ".concat(i.join("\n"),"\n  }\n  ").trim()}function I(e,t){let n=A(e,t);(0,_.Z)()&&(0,k.hq)(n,"".concat(O,"-dynamic-theme"))}var P=n(1849),T=n(13976),R=function(){return{componentDisabled:(0,s.useContext)(P.Z),componentSize:(0,s.useContext)(T.Z)}},M=n(21608);let{useId:N}=Object.assign({},l),j=()=>"";var D=void 0===N?j:N;function L(e,t,n){var r;(0,p.ln)("ConfigProvider");let o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},w.u_),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:w.u_.hashed,cssVar:null==t?void 0:t.cssVar}),a=D();return(0,d.Z)(()=>{var r,s;if(!e)return t;let l=Object.assign({},i.components);Object.keys(e.components||{}).forEach(t=>{l[t]=Object.assign(Object.assign({},l[t]),e.components[t])});let c="css-var-".concat(a.replace(/:/g,"")),u=(null!==(r=o.cssVar)&&void 0!==r?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null===(s=o.cssVar)||void 0===s?void 0:s.key)||c});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:l,cssVar:u})},[o,i],(e,t)=>e.some((e,n)=>{let r=t[n];return!(0,M.Z)(e,r,!0)}))}var B=n(63290),Z=n(34066);function F(e){let{children:t}=e,[,n]=(0,Z.ZP)(),{motion:r}=n,o=s.useRef(!1);return(o.current=o.current||!1===r,o.current)?s.createElement(B.zt,{motion:r},t):t}var z=()=>null,U=n(32412),H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let q=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];function V(){return r||x.Rf}function W(){return o||x.oR}function $(e){return Object.keys(e).some(e=>e.endsWith("Color"))}let G=e=>{let{prefixCls:t,iconPrefixCls:n,theme:s,holderRender:l}=e;void 0!==t&&(r=t),void 0!==n&&(o=n),"holderRender"in e&&(a=l),s&&($(s)?I(V(),s):i=s)},K=()=>({getPrefixCls:(e,t)=>t||(e?"".concat(V(),"-").concat(e):V()),getIconPrefixCls:W,getRootPrefixCls:()=>r||V(),getTheme:()=>i,holderRender:a}),Y=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:l,componentSize:m,direction:g,space:E,virtual:C,dropdownMatchSelectWidth:_,popupMatchSelectWidth:k,popupOverflow:O,legacyLocale:A,parentContext:I,iconPrefixCls:R,theme:M,componentDisabled:N,segmented:j,statistic:D,spin:B,calendar:Z,carousel:V,cascader:W,collapse:$,typography:G,checkbox:K,descriptions:Y,divider:X,drawer:Q,skeleton:J,steps:ee,image:et,layout:en,list:er,mentions:eo,modal:ei,progress:ea,result:es,slider:el,breadcrumb:ec,menu:eu,pagination:ed,input:ef,textArea:ep,empty:eh,badge:em,radio:eg,rate:ev,switch:ey,transfer:eb,avatar:ew,message:eS,tag:ex,table:eE,card:eC,tabs:e_,timeline:ek,timePicker:eO,upload:eA,notification:eI,tree:eP,colorPicker:eT,datePicker:eR,rangePicker:eM,flex:eN,wave:ej,dropdown:eD,warning:eL,tour:eB,floatButtonGroup:eZ,variant:eF,inputNumber:ez,treeSelect:eU}=e,eH=s.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let o=r||I.getPrefixCls("");return t?"".concat(o,"-").concat(t):o},[I.getPrefixCls,e.prefixCls]),eq=R||I.iconPrefixCls||x.oR,eV=n||I.csp;(0,U.Z)(eq,eV);let eW=L(M,I.theme,{prefixCls:eH("")}),e$={csp:eV,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:l||A,direction:g,space:E,virtual:C,popupMatchSelectWidth:null!=k?k:_,popupOverflow:O,getPrefixCls:eH,iconPrefixCls:eq,theme:eW,segmented:j,statistic:D,spin:B,calendar:Z,carousel:V,cascader:W,collapse:$,typography:G,checkbox:K,descriptions:Y,divider:X,drawer:Q,skeleton:J,steps:ee,image:et,input:ef,textArea:ep,layout:en,list:er,mentions:eo,modal:ei,progress:ea,result:es,slider:el,breadcrumb:ec,menu:eu,pagination:ed,empty:eh,badge:em,radio:eg,rate:ev,switch:ey,transfer:eb,avatar:ew,message:eS,tag:ex,table:eE,card:eC,tabs:e_,timeline:ek,timePicker:eO,upload:eA,notification:eI,tree:eP,colorPicker:eT,datePicker:eR,rangePicker:eM,flex:eN,wave:ej,dropdown:eD,warning:eL,tour:eB,floatButtonGroup:eZ,variant:eF,inputNumber:ez,treeSelect:eU},eG=Object.assign({},I);Object.keys(e$).forEach(e=>{void 0!==e$[e]&&(eG[e]=e$[e])}),q.forEach(t=>{let n=e[t];n&&(eG[t]=n)}),void 0!==r&&(eG.button=Object.assign({autoInsertSpace:r},eG.button));let eK=(0,d.Z)(()=>eG,eG,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),eY=s.useMemo(()=>({prefixCls:eq,csp:eV}),[eq,eV]),eX=s.createElement(s.Fragment,null,s.createElement(z,{dropdownMatchSelectWidth:_}),t),eQ=s.useMemo(()=>{var e,t,n,r;return(0,f.T)((null===(e=b.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=eK.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=eK.form)||void 0===r?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})},[eK,null==a?void 0:a.validateMessages]);Object.keys(eQ).length>0&&(eX=s.createElement(h.Z.Provider,{value:eQ},eX)),l&&(eX=s.createElement(y,{locale:l,_ANT_MARK__:v},eX)),(eq||eV)&&(eX=s.createElement(u.Z.Provider,{value:eY},eX)),m&&(eX=s.createElement(T.q,{size:m},eX)),eX=s.createElement(F,null,eX);let eJ=s.useMemo(()=>{let e=eW||{},{algorithm:t,token:n,components:r,cssVar:o}=e,i=H(e,["algorithm","token","components","cssVar"]),a=t&&(!Array.isArray(t)||t.length>0)?(0,c.jG)(t):w.uH,s={};Object.entries(r||{}).forEach(e=>{let[t,n]=e,r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=a:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,c.jG)(r.algorithm)),delete r.algorithm),s[t]=r});let l=Object.assign(Object.assign({},S.Z),n);return Object.assign(Object.assign({},i),{theme:a,token:l,components:s,override:Object.assign({override:l},s),cssVar:o})},[eW]);return M&&(eX=s.createElement(w.Mj.Provider,{value:eJ},eX)),eK.warning&&(eX=s.createElement(p.G8.Provider,{value:eK.warning},eX)),void 0!==N&&(eX=s.createElement(P.n,{disabled:N},eX)),s.createElement(x.E_.Provider,{value:eK},eX)},X=e=>{let t=s.useContext(x.E_),n=s.useContext(g.Z);return s.createElement(Y,Object.assign({parentContext:t,legacyLocale:n},e))};X.ConfigContext=x.E_,X.SizeContext=T.Z,X.config=G,X.useConfig=R,Object.defineProperty(X,"SizeContext",{get:()=>T.Z});var Q=X},58396:function(e,t,n){"use strict";n.d(t,{default:function(){return n8}});var r=n(6020),o=n.n(r),i=n(6103),a=n(41309),s=n.n(a),l=n(27804),c=n.n(l),u=n(31790),d=n.n(u),f=n(63588),p=n.n(f),h=n(26584),m=n.n(h),g=n(46232),v=n.n(g);o().extend(v()),o().extend(m()),o().extend(s()),o().extend(c()),o().extend(d()),o().extend(p()),o().extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=(e||"").replace("Wo","wo");return r.bind(this)(t)}});var y={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},b=function(e){return y[e]||e.split("_")[0]},w=function(){(0,i.ET)(!1,"Not match any format. Please help to fire a issue about this.")},S={getNow:function(){var e=o()();return"function"==typeof e.tz?e.tz():e},getFixedDate:function(e){return o()(e,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(e){return e.endOf("month")},getWeekDay:function(e){var t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},getMillisecond:function(e){return e.millisecond()},addYear:function(e,t){return e.add(t,"year")},addMonth:function(e,t){return e.add(t,"month")},addDate:function(e,t){return e.add(t,"day")},setYear:function(e,t){return e.year(t)},setMonth:function(e,t){return e.month(t)},setDate:function(e,t){return e.date(t)},setHour:function(e,t){return e.hour(t)},setMinute:function(e,t){return e.minute(t)},setSecond:function(e,t){return e.second(t)},setMillisecond:function(e,t){return e.millisecond(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){return o()().locale(b(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return t.locale(b(e)).weekday(0)},getWeek:function(e,t){return t.locale(b(e)).week()},getShortWeekDays:function(e){return o()().locale(b(e)).localeData().weekdaysMin()},getShortMonths:function(e){return o()().locale(b(e)).localeData().monthsShort()},format:function(e,t,n){return t.locale(b(e)).format(n)},parse:function(e,t,n){for(var r=b(e),i=0;i<n.length;i+=1){var a=n[i],s=t;if(a.includes("wo")||a.includes("Wo")){for(var l=s.split("-")[0],c=s.split("-")[1],u=o()(l,"YYYY").startOf("year").locale(r),d=0;d<=52;d+=1){var f=u.add(d,"week");if(f.format("Wo")===c)return f}return w(),null}var p=o()(s,a,!0).locale(r);if(p.isValid())return p}return t&&w(),null}}},x=n(29876),E=n(44194),C=n(27820),_=n(90164),k=n(72654),O=function(e,t){return E.createElement(k.Z,(0,C.Z)({},e,{ref:t,icon:_.Z}))},A=E.forwardRef(O),I=n(3704),P=function(e,t){return E.createElement(k.Z,(0,C.Z)({},e,{ref:t,icon:I.Z}))},T=E.forwardRef(P),R={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},M=function(e,t){return E.createElement(k.Z,(0,C.Z)({},e,{ref:t,icon:R}))},N=E.forwardRef(M),j=n(51865),D=n.n(j),L=n(70826),B=n(33581),Z=n(7732),F=n(91324),z=n(75232),U=n(76933),H=n(11875),q=n(52986),V=n(41890);n(4062);var W=n(30716);function $(e,t){return void 0!==e?e:t?"bottomRight":"bottomLeft"}function G(e,t){var n=$(e,t),r=(null==n?void 0:n.toLowerCase().endsWith("right"))?"insetInlineEnd":"insetInlineStart";return t&&(r=["insetInlineStart","insetInlineEnd"].find(function(e){return e!==r})),r}var K=E.createContext(null),Y={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},X=function(e){var t=e.popupElement,n=e.popupStyle,r=e.popupClassName,o=e.popupAlign,i=e.transitionName,a=e.getPopupContainer,s=e.children,l=e.range,c=e.placement,u=e.builtinPlacements,d=void 0===u?Y:u,f=e.direction,p=e.visible,h=e.onClose,m=E.useContext(K).prefixCls,g="".concat(m,"-dropdown"),v=$(c,"rtl"===f);return E.createElement(V.Z,{showAction:[],hideAction:["click"],popupPlacement:v,builtinPlacements:d,prefixCls:g,popupTransitionName:i,popup:t,popupAlign:o,popupVisible:p,popupClassName:D()(r,(0,q.Z)((0,q.Z)({},"".concat(g,"-range"),l),"".concat(g,"-rtl"),"rtl"===f)),popupStyle:n,stretch:"minWidth",getPopupContainer:a,onPopupVisibleChange:function(e){e||h()}},s)};function Q(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);r.length<t;)r="".concat(n).concat(r);return r}function J(e){return null==e?[]:Array.isArray(e)?e:[e]}function ee(e,t,n){var r=(0,L.Z)(e);return r[t]=n,r}function et(e,t){var n={};return(t||Object.keys(e)).forEach(function(t){void 0!==e[t]&&(n[t]=e[t])}),n}function en(e,t,n){if(n)return n;switch(e){case"time":return t.fieldTimeFormat;case"datetime":return t.fieldDateTimeFormat;case"month":return t.fieldMonthFormat;case"year":return t.fieldYearFormat;case"quarter":return t.fieldQuarterFormat;case"week":return t.fieldWeekFormat;default:return t.fieldDateFormat}}function er(e,t,n){var r=void 0!==n?n:t[t.length-1],o=t.find(function(t){return e[t]});return r!==o?e[o]:void 0}function eo(e){return et(e,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function ei(e,t,n,r){var o=E.useMemo(function(){return e||function(e,r){var o=e;return t&&"date"===r.type?t(o,r.today):n&&"month"===r.type?n(o,r.locale):r.originNode}},[e,n,t]);return E.useCallback(function(e,t){return o(e,(0,B.Z)((0,B.Z)({},t),{},{range:r}))},[o,r])}function ea(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=E.useState([!1,!1]),o=(0,Z.Z)(r,2),i=o[0],a=o[1],s=function(e,t){a(function(n){return ee(n,t,e)})};return[E.useMemo(function(){return i.map(function(r,o){if(r)return!0;var i=e[o];return!!i&&!!(!n[o]&&!i||i&&t(i,{activeIndex:o}))})},[e,i,t,n]),s]}function es(e,t,n,r,o){var i="",a=[];return e&&a.push(o?"hh":"HH"),t&&a.push("mm"),n&&a.push("ss"),i=a.join(":"),r&&(i+=".SSS"),o&&(i+=" A"),i}function el(e,t,n,r,o,i){var a=e.fieldDateTimeFormat,s=e.fieldDateFormat,l=e.fieldTimeFormat,c=e.fieldMonthFormat,u=e.fieldYearFormat,d=e.fieldWeekFormat,f=e.fieldQuarterFormat,p=e.yearFormat,h=e.cellYearFormat,m=e.cellQuarterFormat,g=e.dayFormat,v=e.cellDateFormat,y=es(t,n,r,o,i);return(0,B.Z)((0,B.Z)({},e),{},{fieldDateTimeFormat:a||"YYYY-MM-DD ".concat(y),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:l||y,fieldMonthFormat:c||"YYYY-MM",fieldYearFormat:u||"YYYY",fieldWeekFormat:d||"gggg-wo",fieldQuarterFormat:f||"YYYY-[Q]Q",yearFormat:p||"YYYY",cellYearFormat:h||"YYYY",cellQuarterFormat:m||"[Q]Q",cellDateFormat:v||g||"D"})}function ec(e,t){var n=t.showHour,r=t.showMinute,o=t.showSecond,i=t.showMillisecond,a=t.use12Hours;return E.useMemo(function(){return el(e,n,r,o,i,a)},[e,n,r,o,i,a])}var eu=n(24335);function ed(e,t,n){return null!=n?n:t.some(function(t){return e.includes(t)})}var ef=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function ep(e){var t=et(e,ef),n=e.format,r=e.picker,o=null;return n&&(Array.isArray(o=n)&&(o=o[0]),o="object"===(0,eu.Z)(o)?o.format:o),"time"===r&&(t.format=o),[t,o]}function eh(e){return e&&"string"==typeof e}function em(e,t,n,r){return[e,t,n,r].some(function(e){return void 0!==e})}function eg(e,t,n,r,o){var i=t,a=n,s=r;if(e||i||a||s||o){if(e){var l,c,u,d=[i,a,s].some(function(e){return!1===e}),f=[i,a,s].some(function(e){return!0===e}),p=!!d||!f;i=null!==(l=i)&&void 0!==l?l:p,a=null!==(c=a)&&void 0!==c?c:p,s=null!==(u=s)&&void 0!==u?u:p}}else i=!0,a=!0,s=!0;return[i,a,s,o]}function ev(e){var t=e.showTime,n=ep(e),r=(0,Z.Z)(n,2),o=r[0],i=r[1],a=t&&"object"===(0,eu.Z)(t)?t:{},s=(0,B.Z)((0,B.Z)({defaultOpenValue:a.defaultOpenValue||a.defaultValue},o),a),l=s.showMillisecond,c=s.showHour,u=s.showMinute,d=s.showSecond,f=eg(em(c,u,d,l),c,u,d,l),p=(0,Z.Z)(f,3);return c=p[0],u=p[1],d=p[2],[s,(0,B.Z)((0,B.Z)({},s),{},{showHour:c,showMinute:u,showSecond:d,showMillisecond:l}),s.format,i]}function ey(e,t,n,r,o){var i="time"===e;if("datetime"===e||i){for(var a=r,s=en(e,o,null),l=[t,n],c=0;c<l.length;c+=1){var u=J(l[c])[0];if(eh(u)){s=u;break}}var d=a.showHour,f=a.showMinute,p=a.showSecond,h=a.showMillisecond,m=ed(s,["a","A","LT","LLL","LTS"],a.use12Hours),g=em(d,f,p,h);g||(d=ed(s,["H","h","k","LT","LLL"]),f=ed(s,["m","LT","LLL"]),p=ed(s,["s","LTS"]),h=ed(s,["SSS"]));var v=eg(g,d,f,p,h),y=(0,Z.Z)(v,3);d=y[0],f=y[1],p=y[2];var b=t||es(d,f,p,h,m);return(0,B.Z)((0,B.Z)({},a),{},{format:b,showHour:d,showMinute:f,showSecond:p,showMillisecond:h,use12Hours:m})}return null}function eb(e,t,n){return!1===t?null:(t&&"object"===(0,eu.Z)(t)?t:{}).clearIcon||n||E.createElement("span",{className:"".concat(e,"-clear-btn")})}var ew=7;function eS(e,t,n){return!e&&!t||e===t||!!e&&!!t&&n()}function ex(e,t,n){return eS(t,n,function(){return Math.floor(e.getYear(t)/10)===Math.floor(e.getYear(n)/10)})}function eE(e,t,n){return eS(t,n,function(){return e.getYear(t)===e.getYear(n)})}function eC(e,t){return Math.floor(e.getMonth(t)/3)+1}function e_(e,t,n){return eS(t,n,function(){return eE(e,t,n)&&eC(e,t)===eC(e,n)})}function ek(e,t,n){return eS(t,n,function(){return eE(e,t,n)&&e.getMonth(t)===e.getMonth(n)})}function eO(e,t,n){return eS(t,n,function(){return eE(e,t,n)&&ek(e,t,n)&&e.getDate(t)===e.getDate(n)})}function eA(e,t,n){return eS(t,n,function(){return e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)})}function eI(e,t,n){return eS(t,n,function(){return eO(e,t,n)&&eA(e,t,n)&&e.getMillisecond(t)===e.getMillisecond(n)})}function eP(e,t,n,r){return eS(n,r,function(){var o=e.locale.getWeekFirstDate(t,n),i=e.locale.getWeekFirstDate(t,r);return eE(e,o,i)&&e.locale.getWeek(t,n)===e.locale.getWeek(t,r)})}function eT(e,t,n,r,o){switch(o){case"date":return eO(e,n,r);case"week":return eP(e,t.locale,n,r);case"month":return ek(e,n,r);case"quarter":return e_(e,n,r);case"year":return eE(e,n,r);case"decade":return ex(e,n,r);case"time":return eA(e,n,r);default:return eI(e,n,r)}}function eR(e,t,n,r){return!!t&&!!n&&!!r&&e.isAfter(r,t)&&e.isAfter(n,r)}function eM(e,t,n,r,o){return!!eT(e,t,n,r,o)||e.isAfter(n,r)}function eN(e,t,n){var r=t.locale.getWeekFirstDay(e),o=t.setDate(n,1),i=t.getWeekDay(o),a=t.addDate(o,r-i);return t.getMonth(a)===t.getMonth(n)&&t.getDate(a)>1&&(a=t.addDate(a,-7)),a}function ej(e,t){var n=t.generateConfig,r=t.locale,o=t.format;return e?"function"==typeof o?o(e):n.locale.format(r.locale,e,o):""}function eD(e,t,n){var r=t,o=["getHour","getMinute","getSecond","getMillisecond"];return["setHour","setMinute","setSecond","setMillisecond"].forEach(function(t,i){r=n?e[t](r,e[o[i]](n)):e[t](r,0)}),r}function eL(e,t,n,r,o){return(0,F.zX)(function(i,a){return!!(n&&n(i,a)||r&&e.isAfter(r,i)&&!eT(e,t,r,i,a.type)||o&&e.isAfter(i,o)&&!eT(e,t,o,i,a.type))})}function eB(e,t,n){return E.useMemo(function(){var r=J(en(e,t,n)),o=r[0],i="object"===(0,eu.Z)(o)&&"mask"===o.type?o.format:null;return[r.map(function(e){return"string"==typeof e||"function"==typeof e?e:e.format}),i]},[e,t,n])}function eZ(e,t,n){return"function"==typeof e[0]||!!n||t}function eF(e,t,n,r){return(0,F.zX)(function(o,i){var a=(0,B.Z)({type:t},i);if(delete a.activeIndex,!e.isValidate(o)||n&&n(o,a))return!0;if(("date"===t||"time"===t)&&r){var s,l=i&&1===i.activeIndex?"end":"start",c=(null===(s=r.disabledTime)||void 0===s?void 0:s.call(r,o,l,{from:a.from}))||{},u=c.disabledHours,d=c.disabledMinutes,f=c.disabledSeconds,p=c.disabledMilliseconds,h=r.disabledHours,m=r.disabledMinutes,g=r.disabledSeconds,v=u||h,y=d||m,b=f||g,w=e.getHour(o),S=e.getMinute(o),x=e.getSecond(o),E=e.getMillisecond(o);if(v&&v().includes(w)||y&&y(w).includes(S)||b&&b(w,S).includes(x)||p&&p(w,S,x).includes(E))return!0}return!1})}function ez(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return E.useMemo(function(){var n=e?J(e):e;return t&&n&&(n[1]=n[1]||n[0]),n},[e,t])}function eU(e,t){var n=e.generateConfig,r=e.locale,o=e.picker,i=void 0===o?"date":o,a=e.prefixCls,s=void 0===a?"rc-picker":a,l=e.styles,c=void 0===l?{}:l,u=e.classNames,d=void 0===u?{}:u,f=e.order,p=void 0===f||f,h=e.components,m=void 0===h?{}:h,g=e.inputRender,v=e.allowClear,y=e.clearIcon,b=e.needConfirm,w=e.multiple,S=e.format,x=e.inputReadOnly,C=e.disabledDate,_=e.minDate,k=e.maxDate,O=e.showTime,A=e.value,I=e.defaultValue,P=e.pickerValue,T=e.defaultPickerValue,R=ez(A),M=ez(I),N=ez(P),j=ez(T),D="date"===i&&O?"datetime":i,L="time"===D||"datetime"===D,F=L||w,z=null!=b?b:L,U=ev(e),H=(0,Z.Z)(U,4),q=H[0],V=H[1],W=H[2],$=H[3],G=ec(r,V),K=E.useMemo(function(){return ey(D,W,$,q,G)},[D,W,$,q,G]),Y=E.useMemo(function(){return(0,B.Z)((0,B.Z)({},e),{},{prefixCls:s,locale:G,picker:i,styles:c,classNames:d,order:p,components:(0,B.Z)({input:g},m),clearIcon:eb(s,v,y),showTime:K,value:R,defaultValue:M,pickerValue:N,defaultPickerValue:j},null==t?void 0:t())},[e]),X=eB(D,G,S),Q=(0,Z.Z)(X,2),J=Q[0],ee=Q[1],et=eZ(J,x,w),en=eL(n,r,C,_,k),er=eF(n,i,en,K);return[E.useMemo(function(){return(0,B.Z)((0,B.Z)({},Y),{},{needConfirm:z,inputReadOnly:et,disabledDate:en})},[Y,z,et,en]),D,F,J,ee,er]}function eH(e,t,n){var r=(0,F.C8)(t,{value:e}),o=(0,Z.Z)(r,2),i=o[0],a=o[1],s=E.useRef(e),l=E.useRef(),c=function(){W.Z.cancel(l.current)},u=(0,F.zX)(function(){a(s.current),n&&i!==s.current&&n(s.current)}),d=(0,F.zX)(function(e,t){c(),s.current=e,e||t?u():l.current=(0,W.Z)(u)});return E.useEffect(function(){return c},[]),[i,d]}function eq(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,o=eH(!n.every(function(e){return e})&&e,t||!1,r),i=(0,Z.Z)(o,2),a=i[0],s=i[1];function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(!t.inherit||a)&&s(e,t.force)}return[a,l]}function eV(e){var t=E.useRef();return E.useImperativeHandle(e,function(){var e;return{nativeElement:null===(e=t.current)||void 0===e?void 0:e.nativeElement,focus:function(e){var n;null===(n=t.current)||void 0===n||n.focus(e)},blur:function(){var e;null===(e=t.current)||void 0===e||e.blur()}}}),t}function eW(e,t){return E.useMemo(function(){return e||(t?((0,i.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(e){var t=(0,Z.Z)(e,2);return{label:t[0],value:t[1]}})):[])},[e,t])}function e$(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=E.useRef(t);r.current=t,(0,z.o)(function(){if(e)r.current(e);else{var t=(0,W.Z)(function(){r.current(e)},n);return function(){W.Z.cancel(t)}}},[e])}function eG(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=E.useState(0),o=(0,Z.Z)(r,2),i=o[0],a=o[1],s=E.useState(!1),l=(0,Z.Z)(s,2),c=l[0],u=l[1],d=E.useRef([]),f=E.useRef(null),p=function(e){u(e)},h=function(e){return e&&(f.current=e),f.current},m=function(n){var r=d.current,o=new Set(r.filter(function(e){return n[e]||t[e]})),i=0===r[r.length-1]?1:0;return o.size>=2||e[i]?null:i};return e$(c||n,function(){c||(d.current=[])}),E.useEffect(function(){c&&d.current.push(i)},[c,i]),[c,p,h,i,a,m,d.current]}function eK(e,t,n,r,o,i){var a=n[n.length-1];return function(s,l){var c=(0,Z.Z)(e,2),u=c[0],d=c[1],f=(0,B.Z)((0,B.Z)({},l),{},{from:er(e,n)});return!!(1===a&&t[0]&&u&&!eT(r,o,u,s,f.type)&&r.isAfter(u,s)||0===a&&t[1]&&d&&!eT(r,o,d,s,f.type)&&r.isAfter(s,d))||(null==i?void 0:i(s,f))}}function eY(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,10*r);case"decade":return e.addYear(n,100*r);default:return n}}var eX=[];function eQ(e,t,n,r,o,i,a,s){var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:eX,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:eX,u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:eX,d=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,p=arguments.length>13?arguments[13]:void 0,h="time"===a,m=i||0,g=function(t){var r=e.getNow();return h&&(r=eD(e,r)),l[t]||n[t]||r},v=(0,Z.Z)(c,2),y=v[0],b=v[1],w=(0,F.C8)(function(){return g(0)},{value:y}),S=(0,Z.Z)(w,2),x=S[0],C=S[1],_=(0,F.C8)(function(){return g(1)},{value:b}),k=(0,Z.Z)(_,2),O=k[0],A=k[1],I=E.useMemo(function(){var t=[x,O][m];return h?t:eD(e,t,u[m])},[h,x,O,m,e,u]),P=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"panel";(0,[C,A][m])(n);var i=[x,O];i[m]=n,!d||eT(e,t,x,i[0],a)&&eT(e,t,O,i[1],a)||d(i,{source:o,range:1===m?"end":"start",mode:r})},T=function(n,r){if(s){var o={date:"month",week:"month",month:"year",quarter:"year"}[a];if(o&&!eT(e,t,n,r,o)||"year"===a&&n&&Math.floor(e.getYear(n)/10)!==Math.floor(e.getYear(r)/10))return eY(e,a,r,-1)}return r},R=E.useRef(null);return(0,z.Z)(function(){if(o&&!l[m]){var t=h?null:e.getNow();if(null!==R.current&&R.current!==m?t=[x,O][1^m]:n[m]?t=0===m?n[0]:T(n[0],n[1]):n[1^m]&&(t=n[1^m]),t){f&&e.isAfter(f,t)&&(t=f);var r=s?eY(e,a,t,1):t;p&&e.isAfter(r,p)&&(t=s?eY(e,a,p,-1):p),P(t,"reset")}}},[o,m,n[m]]),E.useEffect(function(){o?R.current=m:R.current=null},[o,m]),(0,z.Z)(function(){o&&l&&l[m]&&P(l[m],"reset")},[o,m]),[I,P]}function eJ(e,t){var n=E.useRef(e),r=E.useState({}),o=(0,Z.Z)(r,2)[1],i=function(e){return e&&void 0!==t?t:n.current};return[i,function(e){n.current=e,o({})},i(!0)]}var e0=[];function e1(e,t,n){return[function(r){return r.map(function(r){return ej(r,{generateConfig:e,locale:t,format:n[0]})})},function(t,n){for(var r=Math.max(t.length,n.length),o=-1,i=0;i<r;i+=1){var a=t[i]||null,s=n[i]||null;if(a!==s&&!eI(e,a,s)){o=i;break}}return[o<0,0!==o]}]}function e2(e,t){return(0,L.Z)(e).sort(function(e,n){return t.isAfter(e,n)?1:-1})}function e3(e){var t=eJ(e),n=(0,Z.Z)(t,2),r=n[0],o=n[1],i=(0,F.zX)(function(){o(e)});return E.useEffect(function(){i()},[e]),[r,o]}function e4(e,t,n,r,o,i,a,s,l){var c=(0,F.C8)(i,{value:a}),u=(0,Z.Z)(c,2),d=u[0],f=u[1],p=d||e0,h=e3(p),m=(0,Z.Z)(h,2),g=m[0],v=m[1],y=e1(e,t,n),b=(0,Z.Z)(y,2),w=b[0],S=b[1],x=(0,F.zX)(function(t){var n=(0,L.Z)(t);if(r)for(var i=0;i<2;i+=1)n[i]=n[i]||null;else o&&(n=e2(n.filter(function(e){return e}),e));var a=S(g(),n),l=(0,Z.Z)(a,2),c=l[0],u=l[1];if(!c&&(v(n),s)){var d=w(n);s(n,d,{range:u?"end":"start"})}}),E=function(){l&&l(g())};return[p,f,g,x,E]}function e5(e,t,n,r,o,i,a,s,l,c){var u=e.generateConfig,d=e.locale,f=e.picker,p=e.onChange,h=e.allowEmpty,m=e.order,g=!i.some(function(e){return e})&&m,v=e1(u,d,a),y=(0,Z.Z)(v,2),b=y[0],w=y[1],S=eJ(t),x=(0,Z.Z)(S,2),C=x[0],_=x[1],k=(0,F.zX)(function(){_(t)});E.useEffect(function(){k()},[t]);var O=(0,F.zX)(function(e){var r=null===e,a=(0,L.Z)(e||C());if(r)for(var s=Math.max(i.length,a.length),l=0;l<s;l+=1)i[l]||(a[l]=null);g&&a[0]&&a[1]&&(a=e2(a,u)),o(a);var v=a,y=(0,Z.Z)(v,2),S=y[0],x=y[1],E=!S,_=!x,k=!h||(!E||h[0])&&(!_||h[1]),O=!m||E||_||eT(u,d,S,x,f)||u.isAfter(x,S),A=(!S||!c(S,{activeIndex:0}))&&(!x||!c(x,{from:S,activeIndex:1})),I=r||k&&O&&A;if(I){n(a);var P=w(a,t),T=(0,Z.Z)(P,1)[0];p&&!T&&p(r&&a.every(function(e){return!e})?null:a,b(a))}return I}),A=(0,F.zX)(function(e,t){_(ee(C(),e,r()[e])),t&&O()}),I=!s&&!l;return e$(!I,function(){I&&(O(),o(t),k())},2),[A,O]}function e6(e,t,n,r,o){return("date"===t||"time"===t)&&(void 0!==n?n:void 0!==r?r:!o&&("date"===e||"time"===e))}var e8=n(60118);function e7(e,t,n,r,o,i){var a=e;function s(e,t,n){var r=i[e](a),o=n.find(function(e){return e.value===r});if(!o||o.disabled){var s=n.filter(function(e){return!e.disabled}),l=(0,L.Z)(s).reverse().find(function(e){return e.value<=r})||s[0];l&&(r=l.value,a=i[t](a,r))}return r}var l=s("getHour","setHour",t()),c=s("getMinute","setMinute",n(l)),u=s("getSecond","setSecond",r(l,c));return s("getMillisecond","setMillisecond",o(l,c,u)),a}function e9(){return[]}function te(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:2,a=[],s=n>=1?0|n:1,l=e;l<=t;l+=s){var c=o.includes(l);c&&r||a.push({label:Q(l,i),value:l,disabled:c})}return a}function tt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},o=r.use12Hours,i=r.hourStep,a=void 0===i?1:i,s=r.minuteStep,l=void 0===s?1:s,c=r.secondStep,u=void 0===c?1:c,d=r.millisecondStep,f=void 0===d?100:d,p=r.hideDisabledOptions,h=r.disabledTime,m=r.disabledHours,g=r.disabledMinutes,v=r.disabledSeconds,y=E.useMemo(function(){return n||e.getNow()},[n,e]),b=E.useCallback(function(e){var t=(null==h?void 0:h(e))||{};return[t.disabledHours||m||e9,t.disabledMinutes||g||e9,t.disabledSeconds||v||e9,t.disabledMilliseconds||e9]},[h,m,g,v]),w=E.useMemo(function(){return b(y)},[y,b]),S=(0,Z.Z)(w,4),x=S[0],C=S[1],_=S[2],k=S[3],O=E.useCallback(function(e,t,n,r){var i=te(0,23,a,p,e());return[o?i.map(function(e){return(0,B.Z)((0,B.Z)({},e),{},{label:Q(e.value%12||12,2)})}):i,function(e){return te(0,59,l,p,t(e))},function(e,t){return te(0,59,u,p,n(e,t))},function(e,t,n){return te(0,999,f,p,r(e,t,n),3)}]},[p,a,o,f,l,u]),A=E.useMemo(function(){return O(x,C,_,k)},[O,x,C,_,k]),I=(0,Z.Z)(A,4),P=I[0],T=I[1],R=I[2],M=I[3];return[function(t,n){var r=function(){return P},o=T,i=R,a=M;if(n){var s=b(n),l=(0,Z.Z)(s,4),c=O(l[0],l[1],l[2],l[3]),u=(0,Z.Z)(c,4),d=u[0],f=u[1],p=u[2],h=u[3];r=function(){return d},o=f,i=p,a=h}return e7(t,r,o,i,a,e)},P,T,R,M]}function tn(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,o=e.showNow,i=e.showTime,a=e.onSubmit,s=e.onNow,l=e.invalid,c=e.needConfirm,u=e.generateConfig,d=e.disabledDate,f=E.useContext(K),p=f.prefixCls,h=f.locale,m=f.button,g=void 0===m?"button":m,v=u.getNow(),y=tt(u,i,v),b=(0,Z.Z)(y,1)[0],w=null==r?void 0:r(t),S=d(v,{type:t}),x=function(){S||s(b(v))},C="".concat(p,"-now"),_="".concat(C,"-btn"),k=o&&E.createElement("li",{className:C},E.createElement("a",{className:D()(_,S&&"".concat(_,"-disabled")),"aria-disabled":S,onClick:x},"date"===n?h.today:h.now)),O=c&&E.createElement("li",{className:"".concat(p,"-ok")},E.createElement(g,{disabled:l,onClick:a},h.ok)),A=(k||O)&&E.createElement("ul",{className:"".concat(p,"-ranges")},k,O);return w||A?E.createElement("div",{className:"".concat(p,"-footer")},w&&E.createElement("div",{className:"".concat(p,"-footer-extra")},w),A):null}function tr(e,t,n){return function(r,o){var i=r.findIndex(function(r){return eT(e,t,r,o,n)});if(-1===i)return[].concat((0,L.Z)(r),[o]);var a=(0,L.Z)(r);return a.splice(i,1),a}}var to=E.createContext(null);function ti(){return E.useContext(to)}function ta(e,t){var n=e.prefixCls,r=e.generateConfig,o=e.locale,i=e.disabledDate,a=e.minDate,s=e.maxDate,l=e.cellRender,c=e.hoverValue,u=e.hoverRangeValue,d=e.onHover,f=e.values,p=e.pickerValue,h=e.onSelect,m=e.prevIcon,g=e.nextIcon,v=e.superPrevIcon,y=e.superNextIcon,b=r.getNow();return[{now:b,values:f,pickerValue:p,prefixCls:n,disabledDate:i,minDate:a,maxDate:s,cellRender:l,hoverValue:c,hoverRangeValue:u,onHover:d,locale:o,generateConfig:r,onSelect:h,panelType:t,prevIcon:m,nextIcon:g,superPrevIcon:v,superNextIcon:y},b]}var ts=E.createContext({});function tl(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,o=e.getCellDate,i=e.prefixColumn,a=e.rowClassName,s=e.titleFormat,l=e.getCellText,c=e.getCellClassName,u=e.headerCells,d=e.cellSelection,f=void 0===d||d,p=e.disabledDate,h=ti(),m=h.prefixCls,g=h.panelType,v=h.now,y=h.disabledDate,b=h.cellRender,w=h.onHover,S=h.hoverValue,x=h.hoverRangeValue,C=h.generateConfig,_=h.values,k=h.locale,O=h.onSelect,A=p||y,I="".concat(m,"-cell"),P=E.useContext(ts).onCellDblClick,T=function(e){return _.some(function(t){return t&&eT(C,k,e,t,g)})},R=[],M=0;M<t;M+=1){for(var N=[],j=void 0,L=function(){var e=o(r,M*n+F),t=null==A?void 0:A(e,{type:g});0===F&&(j=e,i&&N.push(i(j)));var a=!1,u=!1,d=!1;if(f&&x){var p=(0,Z.Z)(x,2),h=p[0],y=p[1];a=eR(C,h,y,e),u=eT(C,k,e,h,g),d=eT(C,k,e,y,g)}var _=s?ej(e,{locale:k,format:s,generateConfig:C}):void 0,R=E.createElement("div",{className:"".concat(I,"-inner")},l(e));N.push(E.createElement("td",{key:F,title:_,className:D()(I,(0,B.Z)((0,q.Z)((0,q.Z)((0,q.Z)((0,q.Z)((0,q.Z)((0,q.Z)({},"".concat(I,"-disabled"),t),"".concat(I,"-hover"),(S||[]).some(function(t){return eT(C,k,e,t,g)})),"".concat(I,"-in-range"),a&&!u&&!d),"".concat(I,"-range-start"),u),"".concat(I,"-range-end"),d),"".concat(m,"-cell-selected"),!x&&"week"!==g&&T(e)),c(e))),onClick:function(){t||O(e)},onDoubleClick:function(){!t&&P&&P()},onMouseEnter:function(){t||null==w||w(e)},onMouseLeave:function(){t||null==w||w(null)}},b?b(e,{prefixCls:m,originNode:R,today:v,type:g,locale:k}):R))},F=0;F<n;F+=1)L();R.push(E.createElement("tr",{key:M,className:null==a?void 0:a(j)},N))}return E.createElement("div",{className:"".concat(m,"-body")},E.createElement("table",{className:"".concat(m,"-content")},u&&E.createElement("thead",null,E.createElement("tr",null,u)),E.createElement("tbody",null,R)))}var tc={visibility:"hidden"},tu=function(e){var t=e.offset,n=e.superOffset,r=e.onChange,o=e.getStart,i=e.getEnd,a=e.children,s=ti(),l=s.prefixCls,c=s.prevIcon,u=void 0===c?"‹":c,d=s.nextIcon,f=void 0===d?"›":d,p=s.superPrevIcon,h=void 0===p?"\xab":p,m=s.superNextIcon,g=void 0===m?"\xbb":m,v=s.minDate,y=s.maxDate,b=s.generateConfig,w=s.locale,S=s.pickerValue,x=s.panelType,C="".concat(l,"-header"),_=E.useContext(ts),k=_.hidePrev,O=_.hideNext,A=_.hideHeader,I=E.useMemo(function(){return!!v&&!!t&&!!i&&!eM(b,w,i(t(-1,S)),v,x)},[v,t,S,i,b,w,x]),P=E.useMemo(function(){return!!v&&!!n&&!!i&&!eM(b,w,i(n(-1,S)),v,x)},[v,n,S,i,b,w,x]),T=E.useMemo(function(){return!!y&&!!t&&!!o&&!eM(b,w,y,o(t(1,S)),x)},[y,t,S,o,b,w,x]),R=E.useMemo(function(){return!!y&&!!n&&!!o&&!eM(b,w,y,o(n(1,S)),x)},[y,n,S,o,b,w,x]),M=function(e){t&&r(t(e,S))},N=function(e){n&&r(n(e,S))};if(A)return null;var j="".concat(C,"-prev-btn"),L="".concat(C,"-next-btn"),B="".concat(C,"-super-prev-btn"),Z="".concat(C,"-super-next-btn");return E.createElement("div",{className:C},n&&E.createElement("button",{type:"button","aria-label":"super-prev-year",onClick:function(){return N(-1)},tabIndex:-1,className:D()(B,P&&"".concat(B,"-disabled")),disabled:P,style:k?tc:{}},h),t&&E.createElement("button",{type:"button","aria-label":"prev-year",onClick:function(){return M(-1)},tabIndex:-1,className:D()(j,I&&"".concat(j,"-disabled")),disabled:I,style:k?tc:{}},u),E.createElement("div",{className:"".concat(C,"-view")},a),t&&E.createElement("button",{type:"button","aria-label":"next-year",onClick:function(){return M(1)},tabIndex:-1,className:D()(L,T&&"".concat(L,"-disabled")),disabled:T,style:O?tc:{}},f),n&&E.createElement("button",{type:"button","aria-label":"super-next-year",onClick:function(){return N(1)},tabIndex:-1,className:D()(Z,R&&"".concat(Z,"-disabled")),disabled:R,style:O?tc:{}},g))};function td(e){var t=e.prefixCls,n=e.panelName,r=void 0===n?"date":n,o=e.locale,i=e.generateConfig,a=e.pickerValue,s=e.onPickerValueChange,l=e.onModeChange,c=e.mode,u=void 0===c?"date":c,d=e.disabledDate,f=e.onSelect,p=e.onHover,h=e.showWeek,m="".concat(t,"-").concat(r,"-panel"),g="".concat(t,"-cell"),v="week"===u,y=ta(e,u),b=(0,Z.Z)(y,2),w=b[0],S=b[1],x=i.locale.getWeekFirstDay(o.locale),_=i.setDate(a,1),k=eN(o.locale,i,_),O=i.getMonth(a),A=(void 0===h?v:h)?function(e){var t=null==d?void 0:d(e,{type:"week"});return E.createElement("td",{key:"week",className:D()(g,"".concat(g,"-week"),(0,q.Z)({},"".concat(g,"-disabled"),t)),onClick:function(){t||f(e)},onMouseEnter:function(){t||null==p||p(e)},onMouseLeave:function(){t||null==p||p(null)}},E.createElement("div",{className:"".concat(g,"-inner")},i.locale.getWeek(o.locale,e)))}:null,I=[],P=o.shortWeekDays||(i.locale.getShortWeekDays?i.locale.getShortWeekDays(o.locale):[]);A&&I.push(E.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var T=0;T<ew;T+=1)I.push(E.createElement("th",{key:T},P[(T+x)%ew]));var R=function(e,t){return i.addDate(e,t)},M=function(e){return ej(e,{locale:o,format:o.cellDateFormat,generateConfig:i})},N=function(e){return(0,q.Z)((0,q.Z)({},"".concat(t,"-cell-in-view"),ek(i,e,a)),"".concat(t,"-cell-today"),eO(i,e,S))},j=o.shortMonths||(i.locale.getShortMonths?i.locale.getShortMonths(o.locale):[]),L=E.createElement("button",{type:"button","aria-label":"year panel",key:"year",onClick:function(){l("year",a)},tabIndex:-1,className:"".concat(t,"-year-btn")},ej(a,{locale:o,format:o.yearFormat,generateConfig:i})),B=E.createElement("button",{type:"button","aria-label":"month panel",key:"month",onClick:function(){l("month",a)},tabIndex:-1,className:"".concat(t,"-month-btn")},o.monthFormat?ej(a,{locale:o,format:o.monthFormat,generateConfig:i}):j[O]),F=o.monthBeforeYear?[B,L]:[L,B];return E.createElement(to.Provider,{value:w},E.createElement("div",{className:D()(m,h&&"".concat(m,"-show-week"))},E.createElement(tu,{offset:function(e){return i.addMonth(a,e)},superOffset:function(e){return i.addYear(a,e)},onChange:s,getStart:function(e){return i.setDate(e,1)},getEnd:function(e){var t=i.setDate(e,1);return t=i.addMonth(t,1),i.addDate(t,-1)}},F),E.createElement(tl,(0,C.Z)({titleFormat:o.fieldDateFormat},e,{colNum:ew,rowNum:6,baseDate:k,headerCells:I,getCellDate:R,getCellText:M,getCellClassName:N,prefixColumn:A,cellSelection:!v}))))}var tf=n(36859),tp=1/3;function th(e,t){var n=E.useRef(!1),r=E.useRef(null),o=E.useRef(null),i=function(){return n.current},a=function(){W.Z.cancel(r.current),n.current=!1},s=E.useRef(),l=function(){var i=e.current;if(o.current=null,s.current=0,i){var l=i.querySelector('[data-value="'.concat(t,'"]')),c=i.querySelector("li"),u=function e(){a(),n.current=!0,s.current+=1;var t=i.scrollTop,u=c.offsetTop,d=l.offsetTop,f=d-u;if(0===d&&l!==c||!(0,tf.Z)(i)){s.current<=5&&(r.current=(0,W.Z)(e));return}var p=t+(f-t)*tp,h=Math.abs(f-p);if(null!==o.current&&o.current<h){a();return}if(o.current=h,h<=1){i.scrollTop=f,a();return}i.scrollTop=p,r.current=(0,W.Z)(e)};l&&c&&u()}};return[(0,F.zX)(l),a,i]}var tm=300;function tg(e){var t=e.units,n=e.value,r=e.optionalValue,o=e.type,i=e.onChange,a=e.onHover,s=e.onDblClick,l=e.changeOnScroll,c=ti(),u=c.prefixCls,d=c.cellRender,f=c.now,p=c.locale,h="".concat(u,"-time-panel"),m="".concat(u,"-time-panel-cell"),g=E.useRef(null),v=E.useRef(),y=function(){clearTimeout(v.current)},b=th(g,null!=n?n:r),w=(0,Z.Z)(b,3),S=w[0],x=w[1],C=w[2];(0,z.Z)(function(){return S(),y(),function(){x(),y()}},[n,r,t]);var _=function(e){y();var n=e.target;!C()&&l&&(v.current=setTimeout(function(){var e=g.current,r=e.querySelector("li").offsetTop,o=Array.from(e.querySelectorAll("li")).map(function(e){return e.offsetTop-r}).map(function(e,r){return t[r].disabled?Number.MAX_SAFE_INTEGER:Math.abs(e-n.scrollTop)}),a=Math.min.apply(Math,(0,L.Z)(o)),s=t[o.findIndex(function(e){return e===a})];s&&!s.disabled&&i(s.value)},tm))},k="".concat(h,"-column");return E.createElement("ul",{className:k,ref:g,"data-type":o,onScroll:_},t.map(function(e){var t=e.label,r=e.value,l=e.disabled,c=E.createElement("div",{className:"".concat(m,"-inner")},t);return E.createElement("li",{key:r,className:D()(m,(0,q.Z)((0,q.Z)({},"".concat(m,"-selected"),n===r),"".concat(m,"-disabled"),l)),onClick:function(){l||i(r)},onDoubleClick:function(){!l&&s&&s()},onMouseEnter:function(){a(r)},onMouseLeave:function(){a(null)},"data-value":r},d?d(r,{prefixCls:u,originNode:c,today:f,type:"time",subType:o,locale:p}):c)}))}function tv(e){return e<12}function ty(e){var t=e.showHour,n=e.showMinute,r=e.showSecond,o=e.showMillisecond,i=e.use12Hours,a=e.changeOnScroll,s=ti(),l=s.prefixCls,c=s.values,u=s.generateConfig,d=s.locale,f=s.onSelect,p=s.onHover,h=void 0===p?function(){}:p,m=s.pickerValue,g=(null==c?void 0:c[0])||null,v=E.useContext(ts).onCellDblClick,y=tt(u,e,g),b=(0,Z.Z)(y,5),w=b[0],S=b[1],x=b[2],_=b[3],k=b[4],O=function(e){return[g&&u[e](g),m&&u[e](m)]},A=O("getHour"),I=(0,Z.Z)(A,2),P=I[0],T=I[1],R=O("getMinute"),M=(0,Z.Z)(R,2),N=M[0],j=M[1],D=O("getSecond"),L=(0,Z.Z)(D,2),B=L[0],F=L[1],z=O("getMillisecond"),U=(0,Z.Z)(z,2),H=U[0],q=U[1],V=null===P?null:tv(P)?"am":"pm",W=E.useMemo(function(){return i?tv(P)?S.filter(function(e){return tv(e.value)}):S.filter(function(e){return!tv(e.value)}):S},[P,S,i]),$=function(e,t){var n,r=e.filter(function(e){return!e.disabled});return null!=t?t:null==r||null===(n=r[0])||void 0===n?void 0:n.value},G=$(S,P),K=E.useMemo(function(){return x(G)},[x,G]),Y=$(K,N),X=E.useMemo(function(){return _(G,Y)},[_,G,Y]),Q=$(X,B),J=E.useMemo(function(){return k(G,Y,Q)},[k,G,Y,Q]),ee=$(J,H),et=E.useMemo(function(){if(!i)return[];var e=u.getNow(),t=u.setHour(e,6),n=u.setHour(e,18),r=function(e,t){var n=d.cellMeridiemFormat;return n?ej(e,{generateConfig:u,locale:d,format:n}):t};return[{label:r(t,"AM"),value:"am",disabled:S.every(function(e){return e.disabled||!tv(e.value)})},{label:r(n,"PM"),value:"pm",disabled:S.every(function(e){return e.disabled||tv(e.value)})}]},[S,i,u,d]),en=function(e){f(w(e))},er=E.useMemo(function(){var e=g||m||u.getNow(),t=function(e){return null!=e};return t(P)?(e=u.setHour(e,P),e=u.setMinute(e,N),e=u.setSecond(e,B),e=u.setMillisecond(e,H)):t(T)?(e=u.setHour(e,T),e=u.setMinute(e,j),e=u.setSecond(e,F),e=u.setMillisecond(e,q)):t(G)&&(e=u.setHour(e,G),e=u.setMinute(e,Y),e=u.setSecond(e,Q),e=u.setMillisecond(e,ee)),e},[g,m,P,N,B,H,G,Y,Q,ee,T,j,F,q,u]),eo=function(e,t){return null===e?null:u[t](er,e)},ei=function(e){return eo(e,"setHour")},ea=function(e){return eo(e,"setMinute")},es=function(e){return eo(e,"setSecond")},el=function(e){return eo(e,"setMillisecond")},ec=function(e){return null===e?null:"am"!==e||tv(P)?"pm"===e&&tv(P)?u.setHour(er,P+12):er:u.setHour(er,P-12)},eu=function(e){en(ei(e))},ed=function(e){en(ea(e))},ef=function(e){en(es(e))},ep=function(e){en(el(e))},eh=function(e){en(ec(e))},em=function(e){h(ei(e))},eg=function(e){h(ea(e))},ev=function(e){h(es(e))},ey=function(e){h(el(e))},eb=function(e){h(ec(e))},ew={onDblClick:v,changeOnScroll:a};return E.createElement("div",{className:"".concat(l,"-content")},t&&E.createElement(tg,(0,C.Z)({units:W,value:P,optionalValue:T,type:"hour",onChange:eu,onHover:em},ew)),n&&E.createElement(tg,(0,C.Z)({units:K,value:N,optionalValue:j,type:"minute",onChange:ed,onHover:eg},ew)),r&&E.createElement(tg,(0,C.Z)({units:X,value:B,optionalValue:F,type:"second",onChange:ef,onHover:ev},ew)),o&&E.createElement(tg,(0,C.Z)({units:J,value:H,optionalValue:q,type:"millisecond",onChange:ep,onHover:ey},ew)),i&&E.createElement(tg,(0,C.Z)({units:et,value:V,type:"meridiem",onChange:eh,onHover:eb},ew)))}function tb(e){var t=e.prefixCls,n=e.value,r=e.locale,o=e.generateConfig,i=e.showTime,a=(i||{}).format,s="".concat(t,"-time-panel"),l=ta(e,"time"),c=(0,Z.Z)(l,1)[0];return E.createElement(to.Provider,{value:c},E.createElement("div",{className:D()(s)},E.createElement(tu,null,n?ej(n,{locale:r,format:a,generateConfig:o}):"\xa0"),E.createElement(ty,i)))}function tw(e){var t=e.prefixCls,n=e.generateConfig,r=e.showTime,o=e.onSelect,i=e.value,a=e.pickerValue,s=e.onHover,l="".concat(t,"-datetime-panel"),c=tt(n,r),u=(0,Z.Z)(c,1)[0],d=function(e){return i?eD(n,e,i):eD(n,e,a)},f=function(e){null==s||s(e?d(e):e)},p=function(e){var t=d(e);o(u(t,t))};return E.createElement("div",{className:l},E.createElement(td,(0,C.Z)({},e,{onSelect:p,onHover:f})),E.createElement(tb,e))}function tS(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,o=e.value,i=e.hoverValue,a=e.hoverRangeValue,s=r.locale,l="".concat(t,"-week-panel-row"),c=function(e){var t={};if(a){var r=(0,Z.Z)(a,2),c=r[0],u=r[1],d=eP(n,s,c,e),f=eP(n,s,u,e);t["".concat(l,"-range-start")]=d,t["".concat(l,"-range-end")]=f,t["".concat(l,"-range-hover")]=!d&&!f&&eR(n,c,u,e)}return i&&(t["".concat(l,"-hover")]=i.some(function(t){return eP(n,s,e,t)})),D()(l,(0,q.Z)({},"".concat(l,"-selected"),!a&&eP(n,s,o,e)),t)};return E.createElement(td,(0,C.Z)({},e,{mode:"week",panelName:"week",rowClassName:c}))}var tx={date:td,datetime:tw,week:tS,month:function(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,o=e.pickerValue,i=e.disabledDate,a=e.onPickerValueChange,s=e.onModeChange,l="".concat(t,"-month-panel"),c=ta(e,"month"),u=(0,Z.Z)(c,1)[0],d=r.setMonth(o,0),f=n.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(n.locale):[]),p=function(e,t){return r.addMonth(e,t)},h=function(e){var t=r.getMonth(e);return n.monthFormat?ej(e,{locale:n,format:n.monthFormat,generateConfig:r}):f[t]},m=function(){return(0,q.Z)({},"".concat(t,"-cell-in-view"),!0)},g=i?function(e,t){var n=r.setDate(e,1),o=r.setMonth(n,r.getMonth(n)+1),a=r.addDate(o,-1);return i(n,t)&&i(a,t)}:null,v=E.createElement("button",{type:"button",key:"year","aria-label":"year panel",onClick:function(){s("year")},tabIndex:-1,className:"".concat(t,"-year-btn")},ej(o,{locale:n,format:n.yearFormat,generateConfig:r}));return E.createElement(to.Provider,{value:u},E.createElement("div",{className:l},E.createElement(tu,{superOffset:function(e){return r.addYear(o,e)},onChange:a,getStart:function(e){return r.setMonth(e,0)},getEnd:function(e){return r.setMonth(e,11)}},v),E.createElement(tl,(0,C.Z)({},e,{disabledDate:g,titleFormat:n.fieldMonthFormat,colNum:3,rowNum:4,baseDate:d,getCellDate:p,getCellText:h,getCellClassName:m}))))},quarter:function(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,o=e.pickerValue,i=e.onPickerValueChange,a=e.onModeChange,s="".concat(t,"-quarter-panel"),l=ta(e,"quarter"),c=(0,Z.Z)(l,1)[0],u=r.setMonth(o,0),d=function(e,t){return r.addMonth(e,3*t)},f=function(e){return ej(e,{locale:n,format:n.cellQuarterFormat,generateConfig:r})},p=function(){return(0,q.Z)({},"".concat(t,"-cell-in-view"),!0)},h=E.createElement("button",{type:"button",key:"year","aria-label":"year panel",onClick:function(){a("year")},tabIndex:-1,className:"".concat(t,"-year-btn")},ej(o,{locale:n,format:n.yearFormat,generateConfig:r}));return E.createElement(to.Provider,{value:c},E.createElement("div",{className:s},E.createElement(tu,{superOffset:function(e){return r.addYear(o,e)},onChange:i,getStart:function(e){return r.setMonth(e,0)},getEnd:function(e){return r.setMonth(e,11)}},h),E.createElement(tl,(0,C.Z)({},e,{titleFormat:n.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:u,getCellDate:d,getCellText:f,getCellClassName:p}))))},year:function(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,o=e.pickerValue,i=e.disabledDate,a=e.onPickerValueChange,s=e.onModeChange,l="".concat(t,"-year-panel"),c=ta(e,"year"),u=(0,Z.Z)(c,1)[0],d=function(e){var t=10*Math.floor(r.getYear(o)/10);return r.setYear(e,t)},f=function(e){var t=d(e);return r.addYear(t,9)},p=d(o),h=f(o),m=r.addYear(p,-1),g=function(e,t){return r.addYear(e,t)},v=function(e){return ej(e,{locale:n,format:n.cellYearFormat,generateConfig:r})},y=function(e){return(0,q.Z)({},"".concat(t,"-cell-in-view"),eE(r,e,p)||eE(r,e,h)||eR(r,p,h,e))},b=i?function(e,t){var n=r.setMonth(e,0),o=r.setDate(n,1),a=r.addYear(o,1),s=r.addDate(a,-1);return i(o,t)&&i(s,t)}:null,w=E.createElement("button",{type:"button",key:"decade","aria-label":"decade panel",onClick:function(){s("decade")},tabIndex:-1,className:"".concat(t,"-decade-btn")},ej(p,{locale:n,format:n.yearFormat,generateConfig:r}),"-",ej(h,{locale:n,format:n.yearFormat,generateConfig:r}));return E.createElement(to.Provider,{value:u},E.createElement("div",{className:l},E.createElement(tu,{superOffset:function(e){return r.addYear(o,10*e)},onChange:a,getStart:d,getEnd:f},w),E.createElement(tl,(0,C.Z)({},e,{disabledDate:b,titleFormat:n.fieldYearFormat,colNum:3,rowNum:4,baseDate:m,getCellDate:g,getCellText:v,getCellClassName:y}))))},decade:function(e){var t=e.prefixCls,n=e.locale,r=e.generateConfig,o=e.pickerValue,i=e.disabledDate,a=e.onPickerValueChange,s="".concat(t,"-decade-panel"),l=ta(e,"decade"),c=(0,Z.Z)(l,1)[0],u=function(e){var t=100*Math.floor(r.getYear(o)/100);return r.setYear(e,t)},d=function(e){var t=u(e);return r.addYear(t,99)},f=u(o),p=d(o),h=r.addYear(f,-10),m=function(e,t){return r.addYear(e,10*t)},g=function(e){var t=n.cellYearFormat,o=ej(e,{locale:n,format:t,generateConfig:r}),i=ej(r.addYear(e,9),{locale:n,format:t,generateConfig:r});return"".concat(o,"-").concat(i)},v=function(e){return(0,q.Z)({},"".concat(t,"-cell-in-view"),ex(r,e,f)||ex(r,e,p)||eR(r,f,p,e))},y=i?function(e,t){var n=r.setDate(e,1),o=r.setMonth(n,0),a=r.setYear(o,10*Math.floor(r.getYear(o)/10)),s=r.addYear(a,10),l=r.addDate(s,-1);return i(a,t)&&i(l,t)}:null,b="".concat(ej(f,{locale:n,format:n.yearFormat,generateConfig:r}),"-").concat(ej(p,{locale:n,format:n.yearFormat,generateConfig:r}));return E.createElement(to.Provider,{value:c},E.createElement("div",{className:s},E.createElement(tu,{superOffset:function(e){return r.addYear(o,100*e)},onChange:a,getStart:u,getEnd:d},b),E.createElement(tl,(0,C.Z)({},e,{disabledDate:y,colNum:3,rowNum:4,baseDate:h,getCellDate:m,getCellText:g,getCellClassName:v}))))},time:tb};function tE(e,t){var n,r=e.locale,o=e.generateConfig,i=e.direction,a=e.prefixCls,s=e.tabIndex,l=void 0===s?0:s,c=e.multiple,u=e.defaultValue,d=e.value,f=e.onChange,p=e.onSelect,h=e.defaultPickerValue,m=e.pickerValue,g=e.onPickerValueChange,v=e.mode,y=e.onPanelChange,b=e.picker,w=void 0===b?"date":b,S=e.showTime,x=e.hoverValue,_=e.hoverRangeValue,k=e.cellRender,O=e.dateRender,A=e.monthCellRender,I=e.components,P=void 0===I?{}:I,T=e.hideHeader,R=(null===(n=E.useContext(K))||void 0===n?void 0:n.prefixCls)||a||"rc-picker",M=E.useRef();E.useImperativeHandle(t,function(){return{nativeElement:M.current}});var N=ev(e),j=(0,Z.Z)(N,4),z=j[0],U=j[1],H=j[2],V=j[3],W=ec(r,U),$="date"===w&&S?"datetime":w,G=E.useMemo(function(){return ey($,H,V,z,W)},[$,H,V,z,W]),Y=o.getNow(),X=(0,F.C8)(w,{value:v,postState:function(e){return e||"date"}}),Q=(0,Z.Z)(X,2),ee=Q[0],en=Q[1],er="date"===ee&&G?"datetime":ee,eo=tr(o,r,$),ea=(0,F.C8)(u,{value:d}),es=(0,Z.Z)(ea,2),el=es[0],eu=es[1],ed=E.useMemo(function(){var e=J(el).filter(function(e){return e});return c?e:e.slice(0,1)},[el,c]),ef=(0,F.zX)(function(e){eu(e),f&&(null===e||ed.length!==e.length||ed.some(function(t,n){return!eT(o,r,t,e[n],$)}))&&(null==f||f(c?e:e[0]))}),ep=(0,F.zX)(function(e){null==p||p(e),ee===w&&ef(c?eo(ed,e):[e])}),eh=(0,F.C8)(h||ed[0]||Y,{value:m}),em=(0,Z.Z)(eh,2),eg=em[0],eb=em[1];E.useEffect(function(){ed[0]&&!m&&eb(ed[0])},[ed[0]]);var ew=function(e,t){null==y||y(e||m,t||ee)},eS=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];eb(e),null==g||g(e),t&&ew(e)},ex=function(e,t){en(e),t&&eS(t),ew(t,e)},eE=function(e){if(ep(e),eS(e),ee!==w){var t=["decade","year"],n=[].concat(t,["month"]),r={quarter:[].concat(t,["quarter"]),week:[].concat((0,L.Z)(n),["week"]),date:[].concat((0,L.Z)(n),["date"])}[w]||n,o=r.indexOf(ee),i=r[o+1];i&&ex(i,e)}},eC=E.useMemo(function(){if(Array.isArray(_)){var e,t,n=(0,Z.Z)(_,2);e=n[0],t=n[1]}else e=_;return e||t?(e=e||t,t=t||e,o.isAfter(e,t)?[t,e]:[e,t]):null},[_,o]),e_=ei(k,O,A),ek=P[er]||tx[er]||td,eO=E.useContext(ts),eA=E.useMemo(function(){return(0,B.Z)((0,B.Z)({},eO),{},{hideHeader:T})},[eO,T]),eI="".concat(R,"-panel"),eP=et(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return E.createElement(ts.Provider,{value:eA},E.createElement("div",{ref:M,tabIndex:l,className:D()(eI,(0,q.Z)({},"".concat(eI,"-rtl"),"rtl"===i))},E.createElement(ek,(0,C.Z)({},eP,{showTime:G,prefixCls:R,locale:W,generateConfig:o,onModeChange:ex,pickerValue:eg,onPickerValueChange:function(e){eS(e,!0)},value:ed[0],onSelect:eE,values:ed,cellRender:e_,hoverRangeValue:eC,hoverValue:x}))))}var tC=E.memo(E.forwardRef(tE));function t_(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,o=e.onPickerValueChange,i=e.needConfirm,a=e.onSubmit,s=e.range,l=e.hoverValue,c=E.useContext(K),u=c.prefixCls,d=c.generateConfig,f=E.useCallback(function(e,n){return eY(d,t,e,n)},[d,t]),p=E.useMemo(function(){return f(r,1)},[r,f]),h=function(e){o(f(e,-1))},m={onCellDblClick:function(){i&&a()}},g="time"===t,v=(0,B.Z)((0,B.Z)({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:g});return(s?v.hoverRangeValue=l:v.hoverValue=l,n)?E.createElement("div",{className:"".concat(u,"-panels")},E.createElement(ts.Provider,{value:(0,B.Z)((0,B.Z)({},m),{},{hideNext:!0})},E.createElement(tC,v)),E.createElement(ts.Provider,{value:(0,B.Z)((0,B.Z)({},m),{},{hidePrev:!0})},E.createElement(tC,(0,C.Z)({},v,{pickerValue:p,onPickerValueChange:h})))):E.createElement(ts.Provider,{value:(0,B.Z)({},m)},E.createElement(tC,v))}function tk(e){return"function"==typeof e?e():e}function tO(e){var t=e.prefixCls,n=e.presets,r=e.onClick,o=e.onHover;return n.length?E.createElement("div",{className:"".concat(t,"-presets")},E.createElement("ul",null,n.map(function(e,t){var n=e.label,i=e.value;return E.createElement("li",{key:t,onClick:function(){r(tk(i))},onMouseEnter:function(){o(tk(i))},onMouseLeave:function(){o(null)}},n)}))):null}function tA(e){var t=e.panelRender,n=e.internalMode,r=e.picker,o=e.showNow,i=e.range,a=e.multiple,s=e.activeOffset,l=void 0===s?0:s,c=e.placement,u=e.presets,d=e.onPresetHover,f=e.onPresetSubmit,p=e.onFocus,h=e.onBlur,m=e.onPanelMouseDown,g=e.direction,v=e.value,y=e.onSelect,b=e.isInvalid,w=e.defaultOpenValue,S=e.onOk,x=e.onSubmit,_=E.useContext(K).prefixCls,k="".concat(_,"-panel"),O="rtl"===g,A=E.useRef(null),I=E.useRef(null),P=E.useState(0),T=(0,Z.Z)(P,2),R=T[0],M=T[1],N=E.useState(0),j=(0,Z.Z)(N,2),L=j[0],B=j[1],F=function(e){e.offsetWidth&&M(e.offsetWidth)};function z(e){return e.filter(function(e){return e})}E.useEffect(function(){if(i){var e,t=(null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||0;l<=R-t?B(0):B(l+t-R)}},[R,l,i]);var U=E.useMemo(function(){return z(J(v))},[v]),H="time"===r&&!U.length,V=E.useMemo(function(){return H?z([w]):U},[H,U,w]),W=H?w:U,Y=E.useMemo(function(){return!V.length||V.some(function(e){return b(e)})},[V,b]),X=function(){H&&y(w),S(),x()},Q=E.createElement("div",{className:"".concat(_,"-panel-layout")},E.createElement(tO,{prefixCls:_,presets:u,onClick:f,onHover:d}),E.createElement("div",null,E.createElement(t_,(0,C.Z)({},e,{value:W})),E.createElement(tn,(0,C.Z)({},e,{showNow:!a&&o,invalid:Y,onSubmit:X}))));t&&(Q=t(Q));var ee="".concat(k,"-container"),et="marginLeft",en="marginRight",er=E.createElement("div",{onMouseDown:m,tabIndex:-1,className:D()(ee,"".concat(_,"-").concat(n,"-panel-container")),style:(0,q.Z)((0,q.Z)({},O?en:et,L),O?et:en,"auto"),onFocus:p,onBlur:h},Q);if(i){var eo=G($(c,O),O);er=E.createElement("div",{onMouseDown:m,ref:I,className:D()("".concat(_,"-range-wrapper"),"".concat(_,"-").concat(r,"-range-wrapper"))},E.createElement("div",{ref:A,className:"".concat(_,"-range-arrow"),style:(0,q.Z)({},eo,l)}),E.createElement(e8.Z,{onResize:F},er))}return er}var tI=n(92486);function tP(e,t){var n=e.format,r=e.maskFormat,o=e.generateConfig,i=e.locale,a=e.preserveInvalidOnBlur,s=e.inputReadOnly,l=e.required,c=e["aria-required"],u=e.onSubmit,d=e.onFocus,f=e.onBlur,p=e.onInputChange,h=e.onInvalid,m=e.open,g=e.onOpenChange,v=e.onKeyDown,y=e.onChange,b=e.activeHelp,w=e.name,S=e.autoComplete,x=e.id,C=e.value,_=e.invalid,k=e.placeholder,O=e.disabled,A=e.activeIndex,I=e.allHelp,P=e.picker,T=function(e,t){var n=o.locale.parse(i.locale,e,[t]);return n&&o.isValidate(n)?n:null},R=n[0],M=E.useCallback(function(e){return ej(e,{locale:i,format:R,generateConfig:o})},[i,o,R]),N=E.useMemo(function(){return C.map(M)},[C,M]),j=E.useMemo(function(){return Math.max("time"===P?8:10,"function"==typeof R?R(o.getNow()).length:R.length)+2},[R,P,o]),D=function(e){for(var t=0;t<n.length;t+=1){var r=n[t];if("string"==typeof r){var o=T(e,r);if(o)return o}}return!1};return[function(n){function o(e){return void 0!==n?e[n]:e}var i=(0,H.Z)(e,{aria:!0,data:!0}),E=(0,B.Z)((0,B.Z)({},i),{},{format:r,validateFormat:function(e){return!!D(e)},preserveInvalidOnBlur:a,readOnly:s,required:l,"aria-required":c,name:w,autoComplete:S,size:j,id:o(x),value:o(N)||"",invalid:o(_),placeholder:o(k),active:A===n,helped:I||b&&A===n,disabled:o(O),onFocus:function(e){d(e,n)},onBlur:function(e){f(e,n)},onSubmit:u,onChange:function(e){p();var t=D(e);if(t){h(!1,n),y(t,n);return}h(!!e,n)},onHelp:function(){g(!0,{index:n})},onKeyDown:function(e){var t=!1;if(null==v||v(e,function(){t=!0}),!e.defaultPrevented&&!t)switch(e.key){case"Escape":g(!1,{index:n});break;case"Enter":m||g(!0)}}},null==t?void 0:t({valueTexts:N}));return Object.keys(E).forEach(function(e){void 0===E[e]&&delete E[e]}),E},M]}var tT=["onMouseEnter","onMouseLeave"];function tR(e){return E.useMemo(function(){return et(e,tT)},[e])}var tM=["icon","type"],tN=["onClear"];function tj(e){var t=e.icon,n=e.type,r=(0,tI.Z)(e,tM),o=E.useContext(K).prefixCls;return t?E.createElement("span",(0,C.Z)({className:"".concat(o,"-").concat(n)},r),t):null}function tD(e){var t=e.onClear,n=(0,tI.Z)(e,tN);return E.createElement(tj,(0,C.Z)({},n,{type:"clear",role:"button",onMouseDown:function(e){e.preventDefault()},onClick:function(e){e.stopPropagation(),t()}}))}var tL=n(10342),tB=n(77009),tZ=["YYYY","MM","DD","HH","mm","ss","SSS"],tF="顧",tz=function(){function e(t){(0,tL.Z)(this,e),(0,q.Z)(this,"format",void 0),(0,q.Z)(this,"maskFormat",void 0),(0,q.Z)(this,"cells",void 0),(0,q.Z)(this,"maskCells",void 0),this.format=t;var n=RegExp(tZ.map(function(e){return"(".concat(e,")")}).join("|"),"g");this.maskFormat=t.replace(n,function(e){return tF.repeat(e.length)});var r=new RegExp("(".concat(tZ.join("|"),")")),o=(t.split(r)||[]).filter(function(e){return e}),i=0;this.cells=o.map(function(e){var t=tZ.includes(e),n=i,r=i+e.length;return i=r,{text:e,mask:t,start:n,end:r}}),this.maskCells=this.cells.filter(function(e){return e.mask})}return(0,tB.Z)(e,[{key:"getSelection",value:function(e){var t=this.maskCells[e]||{};return[t.start||0,t.end||0]}},{key:"match",value:function(e){for(var t=0;t<this.maskFormat.length;t+=1){var n=this.maskFormat[t],r=e[t];if(!r||n!==tF&&n!==r)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(e){for(var t=Number.MAX_SAFE_INTEGER,n=0,r=0;r<this.maskCells.length;r+=1){var o=this.maskCells[r],i=o.start,a=o.end;if(e>=i&&e<=a)return r;var s=Math.min(Math.abs(e-i),Math.abs(e-a));s<t&&(t=s,n=r)}return n}}]),e}();function tU(e){return({YYYY:[0,9999,new Date().getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]})[e]}var tH=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],tq=E.forwardRef(function(e,t){var n=e.active,r=e.showActiveCls,o=void 0===r||r,i=e.suffixIcon,a=e.format,s=e.validateFormat,l=e.onChange,c=(e.onInput,e.helped),u=e.onHelp,d=e.onSubmit,f=e.onKeyDown,p=e.preserveInvalidOnBlur,h=void 0!==p&&p,m=e.invalid,g=e.clearIcon,v=(0,tI.Z)(e,tH),y=e.value,b=e.onFocus,w=e.onBlur,S=e.onMouseUp,x=E.useContext(K),_=x.prefixCls,k=x.input,O=void 0===k?"input":k,A="".concat(_,"-input"),I=E.useState(!1),P=(0,Z.Z)(I,2),T=P[0],R=P[1],M=E.useState(y),N=(0,Z.Z)(M,2),j=N[0],L=N[1],B=E.useState(""),U=(0,Z.Z)(B,2),H=U[0],V=U[1],$=E.useState(null),G=(0,Z.Z)($,2),Y=G[0],X=G[1],J=E.useState(null),ee=(0,Z.Z)(J,2),et=ee[0],en=ee[1],er=j||"";E.useEffect(function(){L(y)},[y]);var eo=E.useRef(),ei=E.useRef();E.useImperativeHandle(t,function(){return{nativeElement:eo.current,inputElement:ei.current,focus:function(e){ei.current.focus(e)},blur:function(){ei.current.blur()}}});var ea=E.useMemo(function(){return new tz(a||"")},[a]),es=E.useMemo(function(){return c?[0,0]:ea.getSelection(Y)},[ea,Y,c]),el=(0,Z.Z)(es,2),ec=el[0],eu=el[1],ed=function(e){e&&e!==a&&e!==y&&u()},ef=(0,F.zX)(function(e){s(e)&&l(e),L(e),ed(e)}),ep=function(e){if(!a){var t=e.target.value;ed(t),L(t),l(t)}},eh=function(e){var t=e.clipboardData.getData("text");s(t)&&ef(t)},em=E.useRef(!1),eg=function(){em.current=!0},ev=function(e){var t=e.target.selectionStart;X(ea.getMaskCellIndex(t)),en({}),null==S||S(e),em.current=!1},ey=function(e){R(!0),X(0),V(""),b(e)},eb=function(e){w(e)},ew=function(e){R(!1),eb(e)};e$(n,function(){n||h||L(y)});var eS=function(e){"Enter"===e.key&&s(er)&&d(),null==f||f(e)},ex=function(e){eS(e);var t=e.key,n=null,r=null,o=eu-ec,i=a.slice(ec,eu),s=function(e){X(function(t){var n=t+e;return Math.min(n=Math.max(n,0),ea.size()-1)})},l=function(e){var t=tU(i),n=(0,Z.Z)(t,3),r=n[0],o=n[1],a=n[2],s=Number(er.slice(ec,eu));if(isNaN(s))return String(a||(e>0?r:o));var l=o-r+1;return String(r+(l+(s+e)-r)%l)};switch(t){case"Backspace":case"Delete":n="",r=i;break;case"ArrowLeft":n="",s(-1);break;case"ArrowRight":n="",s(1);break;case"ArrowUp":n="",r=l(1);break;case"ArrowDown":n="",r=l(-1);break;default:isNaN(Number(t))||(r=n=H+t)}null!==n&&(V(n),n.length>=o&&(s(1),V(""))),null!==r&&ef((er.slice(0,ec)+Q(r,o)+er.slice(eu)).slice(0,a.length)),en({})},eE=E.useRef();(0,z.Z)(function(){if(T&&a&&!em.current){if(!ea.match(er)){ef(a);return}return ei.current.setSelectionRange(ec,eu),eE.current=(0,W.Z)(function(){ei.current.setSelectionRange(ec,eu)}),function(){W.Z.cancel(eE.current)}}},[ea,a,T,er,Y,ec,eu,et,ef]);var eC=a?{onFocus:ey,onBlur:ew,onKeyDown:ex,onMouseDown:eg,onMouseUp:ev,onPaste:eh}:{};return E.createElement("div",{ref:eo,className:D()(A,(0,q.Z)((0,q.Z)({},"".concat(A,"-active"),n&&o),"".concat(A,"-placeholder"),c))},E.createElement(O,(0,C.Z)({ref:ei,"aria-invalid":m,autoComplete:"off"},v,{onKeyDown:eS,onBlur:eb},eC,{value:er,onChange:ep})),E.createElement(tj,{type:"suffix",icon:i}),g)}),tV=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],tW=["index"];function t$(e,t){var n=e.id,r=e.clearIcon,o=e.suffixIcon,i=e.separator,a=void 0===i?"~":i,s=e.activeIndex,l=(e.activeHelp,e.allHelp,e.focused),c=(e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig,e.placeholder),u=e.className,d=e.style,f=e.onClick,p=e.onClear,h=e.value,m=(e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),g=e.invalid,v=(e.inputReadOnly,e.direction),y=(e.onOpenChange,e.onActiveOffset),b=e.placement,w=e.onMouseDown,S=(e.required,e["aria-required"],e.autoFocus),x=(0,tI.Z)(e,tV),_="rtl"===v,k=E.useContext(K).prefixCls,O=E.useMemo(function(){if("string"==typeof n)return[n];var e=n||{};return[e.start,e.end]},[n]),A=E.useRef(),I=E.useRef(),P=E.useRef(),T=function(e){var t;return null===(t=[I,P][e])||void 0===t?void 0:t.current};E.useImperativeHandle(t,function(){return{nativeElement:A.current,focus:function(e){if("object"===(0,eu.Z)(e)){var t,n,r=e||{},o=r.index,i=void 0===o?0:o,a=(0,tI.Z)(r,tW);null===(n=T(i))||void 0===n||n.focus(a)}else null===(t=T(null!=e?e:0))||void 0===t||t.focus()},blur:function(){var e,t;null===(e=T(0))||void 0===e||e.blur(),null===(t=T(1))||void 0===t||t.blur()}}});var R=tR(x),M=E.useMemo(function(){return Array.isArray(c)?c:[c,c]},[c]),N=tP((0,B.Z)((0,B.Z)({},e),{},{id:O,placeholder:M})),j=(0,Z.Z)(N,1)[0],L=$(b,_),z=G(L,_),U=null==L?void 0:L.toLowerCase().endsWith("right"),H=E.useState({position:"absolute",width:0}),V=(0,Z.Z)(H,2),W=V[0],Y=V[1],X=(0,F.zX)(function(){var e=T(s);if(e){var t=e.nativeElement,n=t.offsetWidth,r=t.offsetLeft,o=t.offsetParent,i=(null==o?void 0:o.offsetWidth)||0,a=U?i-n-r:r;Y(function(e){return(0,B.Z)((0,B.Z)({},e),{},(0,q.Z)({width:n},z,a))}),y(a)}});E.useEffect(function(){X()},[s]);var Q=r&&(h[0]&&!m[0]||h[1]&&!m[1]),J=S&&!m[0],ee=S&&!J&&!m[1];return E.createElement(e8.Z,{onResize:X},E.createElement("div",(0,C.Z)({},R,{className:D()(k,"".concat(k,"-range"),(0,q.Z)((0,q.Z)((0,q.Z)((0,q.Z)({},"".concat(k,"-focused"),l),"".concat(k,"-disabled"),m.every(function(e){return e})),"".concat(k,"-invalid"),g.some(function(e){return e})),"".concat(k,"-rtl"),_),u),style:d,ref:A,onClick:f,onMouseDown:function(e){var t=e.target;t!==I.current.inputElement&&t!==P.current.inputElement&&e.preventDefault(),null==w||w(e)}}),E.createElement(tq,(0,C.Z)({ref:I},j(0),{autoFocus:J,"date-range":"start"})),E.createElement("div",{className:"".concat(k,"-range-separator")},a),E.createElement(tq,(0,C.Z)({ref:P},j(1),{autoFocus:ee,"date-range":"end"})),E.createElement("div",{className:"".concat(k,"-active-bar"),style:W}),E.createElement(tj,{type:"suffix",icon:o}),Q&&E.createElement(tD,{icon:r,onClear:p})))}var tG=E.forwardRef(t$);function tK(e,t){var n=null!=e?e:t;return Array.isArray(n)?n:[n,n]}function tY(e){return 1===e?"end":"start"}function tX(e,t){var n=eU(e,function(){var t=e.disabled,n=e.allowEmpty;return{disabled:tK(t,!1),allowEmpty:tK(n,!1)}}),r=(0,Z.Z)(n,6),o=r[0],i=r[1],a=r[2],s=r[3],l=r[4],c=r[5],u=o.prefixCls,d=o.styles,f=o.classNames,p=o.placement,h=o.defaultValue,m=o.value,g=o.needConfirm,v=o.onKeyDown,y=o.disabled,b=o.allowEmpty,w=o.disabledDate,S=o.minDate,x=o.maxDate,_=o.defaultOpen,k=o.open,O=o.onOpenChange,A=o.locale,I=o.generateConfig,P=o.picker,T=o.showNow,R=o.showToday,M=o.showTime,N=o.mode,j=o.onPanelChange,D=o.onCalendarChange,q=o.onOk,V=o.defaultPickerValue,W=o.pickerValue,$=o.onPickerValueChange,G=o.inputReadOnly,Y=o.suffixIcon,Q=o.onFocus,et=o.onBlur,en=o.presets,es=o.ranges,el=o.components,ec=o.cellRender,eu=o.dateRender,ed=o.monthCellRender,ef=o.onClick,ep=eV(t),eh=eq(k,_,y,O),em=(0,Z.Z)(eh,2),eg=em[0],ev=em[1],ey=function(e,t){(y.some(function(e){return!e})||!e)&&ev(e,t)},eb=e4(I,A,s,!0,!1,h,m,D,q),ew=(0,Z.Z)(eb,5),eS=ew[0],ex=ew[1],eE=ew[2],eC=ew[3],e_=ew[4],ek=eE(),eO=eG(y,b,eg),eA=(0,Z.Z)(eO,7),eI=eA[0],eP=eA[1],eT=eA[2],eR=eA[3],eM=eA[4],eN=eA[5],ej=eA[6],eD=function(e,t){eP(!0),null==Q||Q(e,{range:tY(null!=t?t:eR)})},eL=function(e,t){eP(!1),null==et||et(e,{range:tY(null!=t?t:eR)})},eB=E.useMemo(function(){if(!M)return null;var e=M.disabledTime,t=e?function(t){return e(t,tY(eR),{from:er(ek,ej,eR)})}:void 0;return(0,B.Z)((0,B.Z)({},M),{},{disabledTime:t})},[M,eR,ek,ej]),eZ=(0,F.C8)([P,P],{value:N}),eF=(0,Z.Z)(eZ,2),ez=eF[0],eH=eF[1],e$=ez[eR]||P,eY="date"===e$&&eB?"datetime":e$,eX=eY===P&&"time"!==eY,eJ=e6(P,e$,T,R,!0),e0=e5(o,eS,ex,eE,eC,y,s,eI,eg,c),e1=(0,Z.Z)(e0,2),e2=e1[0],e3=e1[1],e8=eK(ek,y,ej,I,A,w),e7=ea(ek,c,b),e9=(0,Z.Z)(e7,2),te=e9[0],tt=e9[1],tn=eQ(I,A,ek,ez,eg,eR,i,eX,V,W,null==eB?void 0:eB.defaultOpenValue,$,S,x),tr=(0,Z.Z)(tn,2),to=tr[0],ti=tr[1],ta=(0,F.zX)(function(e,t,n){var r=ee(ez,eR,t);if((r[0]!==ez[0]||r[1]!==ez[1])&&eH(r),j&&!1!==n){var o=(0,L.Z)(ek);e&&(o[eR]=e),j(o,r)}}),ts=function(e,t){return ee(ek,t,e)},tl=function(e,t){var n=ek;e&&(n=ts(e,eR));var r=eN(n);eC(n),e2(eR,null===r),null===r?ey(!1,{force:!0}):t||ep.current.focus({index:r})},tc=function(e){var t,n=e.target.getRootNode();if(!ep.current.nativeElement.contains(null!==(t=n.activeElement)&&void 0!==t?t:document.activeElement)){var r=y.findIndex(function(e){return!e});r>=0&&ep.current.focus({index:r})}ey(!0),null==ef||ef(e)},tu=function(){e3(null),ey(!1,{force:!0})},td=E.useState(null),tf=(0,Z.Z)(td,2),tp=tf[0],th=tf[1],tm=E.useState(null),tg=(0,Z.Z)(tm,2),tv=tg[0],ty=tg[1],tb=E.useMemo(function(){return tv||ek},[ek,tv]);E.useEffect(function(){eg||ty(null)},[eg]);var tw=E.useState(0),tS=(0,Z.Z)(tw,2),tx=tS[0],tE=tS[1],tC=eW(en,es),t_=function(e){ty(e),th("preset")},tk=function(e){e3(e)&&ey(!1,{force:!0})},tO=function(e){tl(e)},tI=function(e){ty(e?ts(e,eR):null),th("cell")},tP=function(e){ey(!0),eD(e)},tT=function(){eT("panel")},tR=function(e){eC(ee(ek,eR,e)),g||a||i!==eY||tl(e)},tM=function(){ey(!1)},tN=ei(ec,eu,ed,tY(eR)),tj=ek[eR]||null,tD=(0,F.zX)(function(e){return c(e,{activeIndex:eR})}),tL=E.useMemo(function(){var e=(0,H.Z)(o,!1);return(0,U.Z)(o,[].concat((0,L.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]))},[o]),tB=E.createElement(tA,(0,C.Z)({},tL,{showNow:eJ,showTime:eB,range:!0,multiplePanel:eX,activeOffset:tx,placement:p,disabledDate:e8,onFocus:tP,onBlur:eL,onPanelMouseDown:tT,picker:P,mode:e$,internalMode:eY,onPanelChange:ta,format:l,value:tj,isInvalid:tD,onChange:null,onSelect:tR,pickerValue:to,defaultOpenValue:J(null==M?void 0:M.defaultOpenValue)[eR],onPickerValueChange:ti,hoverValue:tb,onHover:tI,needConfirm:g,onSubmit:tl,onOk:e_,presets:tC,onPresetHover:t_,onPresetSubmit:tk,onNow:tO,cellRender:tN})),tZ=function(e,t){eC(ts(e,t))},tF=function(){eT("input")},tz=function(e,t){eT("input"),ey(!0,{inherit:!0}),eR!==t&&eg&&!g&&a&&tl(null,!0),eM(t),eD(e,t)},tU=function(e,t){ey(!1),g||"input"!==eT()||e2(eR,null===eN(ek)),eL(e,t)},tH=function(e,t){"Tab"===e.key&&tl(null,!0),null==v||v(e,t)},tq=E.useMemo(function(){return{prefixCls:u,locale:A,generateConfig:I,button:el.button,input:el.input}},[u,A,I,el.button,el.input]);return(0,z.Z)(function(){eg&&void 0!==eR&&ta(null,P,!1)},[eg,eR,P]),(0,z.Z)(function(){var e=eT();eg||"input"!==e||(ey(!1),tl(null,!0)),eg||!a||g||"panel"!==e||(ey(!0),tl())},[eg]),E.createElement(K.Provider,{value:tq},E.createElement(X,(0,C.Z)({},eo(o),{popupElement:tB,popupStyle:d.popup,popupClassName:f.popup,visible:eg,onClose:tM,range:!0}),E.createElement(tG,(0,C.Z)({},o,{ref:ep,suffixIcon:Y,activeIndex:eI||eg?eR:null,activeHelp:!!tv,allHelp:!!tv&&"preset"===tp,focused:eI,onFocus:tz,onBlur:tU,onKeyDown:tH,onSubmit:tl,value:tb,maskFormat:l,onChange:tZ,onInputChange:tF,format:s,inputReadOnly:G,disabled:y,open:eg,onOpenChange:ey,onClick:tc,onClear:tu,invalid:te,onInvalid:tt,onActiveOffset:tE}))))}var tQ=E.forwardRef(tX),tJ=n(54298);function t0(e){var t=e.prefixCls,n=e.value,r=e.onRemove,o=e.removeIcon,i=void 0===o?"\xd7":o,a=e.formatDate,s=e.disabled,l=e.maxTagCount,c=e.placeholder,u="".concat(t,"-selector"),d="".concat(t,"-selection"),f="".concat(d,"-overflow");function p(e,t){return E.createElement("span",{className:D()("".concat(d,"-item")),title:"string"==typeof e?e:null},E.createElement("span",{className:"".concat(d,"-item-content")},e),!s&&t&&E.createElement("span",{onMouseDown:function(e){e.preventDefault()},onClick:t,className:"".concat(d,"-item-remove")},i))}function h(e){return p(a(e),function(t){t&&t.stopPropagation(),r(e)})}function m(e){return p("+ ".concat(e.length," ..."))}return E.createElement("div",{className:u},E.createElement(tJ.Z,{prefixCls:f,data:n,renderItem:h,renderRest:m,itemKey:function(e){return a(e)},maxCount:l}),!n.length&&E.createElement("span",{className:"".concat(t,"-selection-placeholder")},c))}var t1=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function t2(e,t){e.id;var n=e.open,r=e.clearIcon,o=e.suffixIcon,i=(e.activeHelp,e.allHelp,e.focused),a=(e.onFocus,e.onBlur,e.onKeyDown,e.locale),s=e.generateConfig,l=e.placeholder,c=e.className,u=e.style,d=e.onClick,f=e.onClear,p=e.internalPicker,h=e.value,m=e.onChange,g=e.onSubmit,v=(e.onInputChange,e.multiple),y=e.maxTagCount,b=(e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid,e.disabled),w=e.invalid,S=(e.inputReadOnly,e.direction),x=(e.onOpenChange,e.onMouseDown),_=(e.required,e["aria-required"],e.autoFocus),k=e.removeIcon,O=(0,tI.Z)(e,t1),A="rtl"===S,I=E.useContext(K).prefixCls,P=E.useRef(),T=E.useRef();E.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(e){var t;null===(t=T.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=T.current)||void 0===e||e.blur()}}});var R=tR(O),M=function(e){m([e])},N=function(e){m(h.filter(function(t){return t&&!eT(s,a,t,e,p)})),n||g()},j=tP((0,B.Z)((0,B.Z)({},e),{},{onChange:M}),function(e){return{value:e.valueTexts[0]||"",active:i}}),L=(0,Z.Z)(j,2),F=L[0],z=L[1],U=!!(r&&h.length&&!b),H=v?E.createElement(E.Fragment,null,E.createElement(t0,{prefixCls:I,value:h,onRemove:N,formatDate:z,maxTagCount:y,disabled:b,removeIcon:k,placeholder:l}),E.createElement("input",{className:"".concat(I,"-multiple-input"),value:h.map(z).join(","),ref:T,readOnly:!0,autoFocus:_}),E.createElement(tj,{type:"suffix",icon:o}),U&&E.createElement(tD,{icon:r,onClear:f})):E.createElement(tq,(0,C.Z)({ref:T},F(),{autoFocus:_,suffixIcon:o,clearIcon:U&&E.createElement(tD,{icon:r,onClear:f}),showActiveCls:!1}));return E.createElement("div",(0,C.Z)({},R,{className:D()(I,(0,q.Z)((0,q.Z)((0,q.Z)((0,q.Z)((0,q.Z)({},"".concat(I,"-multiple"),v),"".concat(I,"-focused"),i),"".concat(I,"-disabled"),b),"".concat(I,"-invalid"),w),"".concat(I,"-rtl"),A),c),style:u,ref:P,onClick:d,onMouseDown:function(e){var t;e.target!==(null===(t=T.current)||void 0===t?void 0:t.inputElement)&&e.preventDefault(),null==x||x(e)}}),H)}var t3=E.forwardRef(t2);function t4(e,t){var n=eU(e),r=(0,Z.Z)(n,6),o=r[0],i=r[1],a=r[2],s=r[3],l=r[4],c=r[5],u=o,d=u.prefixCls,f=u.styles,p=u.classNames,h=u.order,m=u.defaultValue,g=u.value,v=u.needConfirm,y=u.onChange,b=u.onKeyDown,w=u.disabled,S=u.disabledDate,x=u.minDate,_=u.maxDate,k=u.defaultOpen,O=u.open,A=u.onOpenChange,I=u.locale,P=u.generateConfig,T=u.picker,R=u.showNow,M=u.showToday,N=u.showTime,j=u.mode,D=u.onPanelChange,q=u.onCalendarChange,V=u.onOk,W=u.multiple,$=u.defaultPickerValue,G=u.pickerValue,Y=u.onPickerValueChange,Q=u.inputReadOnly,ee=u.suffixIcon,et=u.removeIcon,en=u.onFocus,er=u.onBlur,es=u.presets,el=u.components,ec=u.cellRender,eu=u.dateRender,ed=u.monthCellRender,ef=u.onClick,ep=eV(t);function eh(e){return null===e?null:W?e:e[0]}var em=tr(P,I,i),eg=eq(O,k,[w],A),ev=(0,Z.Z)(eg,2),ey=ev[0],eb=ev[1],ew=e4(P,I,s,!1,h,m,g,function(e,t,n){if(q){var r=(0,B.Z)({},n);delete r.range,q(eh(e),eh(t),r)}},function(e){null==V||V(eh(e))}),eS=(0,Z.Z)(ew,5),ex=eS[0],eE=eS[1],eC=eS[2],e_=eS[3],ek=eS[4],eO=eC(),eA=eG([w]),eI=(0,Z.Z)(eA,4),eP=eI[0],eT=eI[1],eR=eI[2],eM=eI[3],eN=function(e){eT(!0),null==en||en(e,{})},ej=function(e){eT(!1),null==er||er(e,{})},eD=(0,F.C8)(T,{value:j}),eL=(0,Z.Z)(eD,2),eB=eL[0],eZ=eL[1],eF="date"===eB&&N?"datetime":eB,ez=e6(T,eB,R,M),eH=y&&function(e,t){y(eh(e),eh(t))},e$=e5((0,B.Z)((0,B.Z)({},o),{},{onChange:eH}),ex,eE,eC,e_,[],s,eP,ey,c),eK=(0,Z.Z)(e$,2)[1],eY=ea(eO,c),eX=(0,Z.Z)(eY,2),eJ=eX[0],e0=eX[1],e1=E.useMemo(function(){return eJ.some(function(e){return e})},[eJ]),e2=function(e,t){if(Y){var n=(0,B.Z)((0,B.Z)({},t),{},{mode:t.mode[0]});delete n.range,Y(e[0],n)}},e3=eQ(P,I,eO,[eB],ey,eM,i,!1,$,G,J(null==N?void 0:N.defaultOpenValue),e2,x,_),e8=(0,Z.Z)(e3,2),e7=e8[0],e9=e8[1],te=(0,F.zX)(function(e,t,n){eZ(t),D&&!1!==n&&D(e||eO[eO.length-1],t)}),tt=function(){eK(eC()),eb(!1,{force:!0})},tn=function(e){w||ep.current.nativeElement.contains(document.activeElement)||ep.current.focus(),eb(!0),null==ef||ef(e)},to=function(){eK(null),eb(!1,{force:!0})},ti=E.useState(null),ta=(0,Z.Z)(ti,2),ts=ta[0],tl=ta[1],tc=E.useState(null),tu=(0,Z.Z)(tc,2),td=tu[0],tf=tu[1],tp=E.useMemo(function(){var e=[td].concat((0,L.Z)(eO)).filter(function(e){return e});return W?e:e.slice(0,1)},[eO,td,W]),th=E.useMemo(function(){return!W&&td?[td]:eO.filter(function(e){return e})},[eO,td,W]);E.useEffect(function(){ey||tf(null)},[ey]);var tm=eW(es),tg=function(e){tf(e),tl("preset")},tv=function(e){eK(W?em(eC(),e):[e])&&!W&&eb(!1,{force:!0})},ty=function(e){tv(e)},tb=function(e){tf(e),tl("cell")},tw=function(e){eb(!0),eN(e)},tS=function(e){eR("panel"),e_(W?em(eC(),e):[e]),v||a||i!==eF||tt()},tx=function(){eb(!1)},tE=ei(ec,eu,ed),tC=E.useMemo(function(){var e=(0,H.Z)(o,!1),t=(0,U.Z)(o,[].concat((0,L.Z)(Object.keys(e)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,B.Z)((0,B.Z)({},t),{},{multiple:o.multiple})},[o]),t_=E.createElement(tA,(0,C.Z)({},tC,{showNow:ez,showTime:N,disabledDate:S,onFocus:tw,onBlur:ej,picker:T,mode:eB,internalMode:eF,onPanelChange:te,format:l,value:eO,isInvalid:c,onChange:null,onSelect:tS,pickerValue:e7,defaultOpenValue:null==N?void 0:N.defaultOpenValue,onPickerValueChange:e9,hoverValue:tp,onHover:tb,needConfirm:v,onSubmit:tt,onOk:ek,presets:tm,onPresetHover:tg,onPresetSubmit:tv,onNow:ty,cellRender:tE})),tk=function(e){e_(e)},tO=function(){eR("input")},tI=function(e){eR("input"),eb(!0,{inherit:!0}),eN(e)},tP=function(e){eb(!1),ej(e)},tT=function(e,t){"Tab"===e.key&&tt(),null==b||b(e,t)},tR=E.useMemo(function(){return{prefixCls:d,locale:I,generateConfig:P,button:el.button,input:el.input}},[d,I,P,el.button,el.input]);return(0,z.Z)(function(){ey&&void 0!==eM&&te(null,T,!1)},[ey,eM,T]),(0,z.Z)(function(){var e=eR();ey||"input"!==e||(eb(!1),tt()),ey||!a||v||"panel"!==e||(eb(!0),tt())},[ey]),E.createElement(K.Provider,{value:tR},E.createElement(X,(0,C.Z)({},eo(o),{popupElement:t_,popupStyle:f.popup,popupClassName:p.popup,visible:ey,onClose:tx}),E.createElement(t3,(0,C.Z)({},o,{ref:ep,suffixIcon:ee,removeIcon:et,activeHelp:!!td,allHelp:!!td&&"preset"===ts,focused:eP,onFocus:tI,onBlur:tP,onKeyDown:tT,onSubmit:tt,value:th,maskFormat:l,onChange:tk,onInputChange:tO,internalPicker:i,format:s,inputReadOnly:Q,disabled:w,open:ey,onOpenChange:eb,onClick:tn,onClear:to,invalid:e1,onInvalid:function(e){e0(e,0)}}))))}var t5=E.forwardRef(t4),t6=n(80265),t8=n(28885),t7=n(38283),t9=n(25431),ne=n(1849),nt=n(55948),nn=n(3690),nr=n(10799),no=n(83500),ni=n(71254),na=n(18624),ns=n(58332),nl=n(82698),nc=n(29323),nu=n(66743),nd=n(61885),nf=n(22534),np=n(55286),nh=n(77728),nm=n(1958),ng=n(2916),nv=n(39564),ny=n(82871);let nb=(e,t)=>{let{componentCls:n,controlHeight:r}=e,o=t?"".concat(n,"-").concat(t):"",i=(0,ny.gp)(e);return[{["".concat(n,"-multiple").concat(o)]:{paddingBlock:i.containerPadding,paddingInlineStart:i.basePadding,minHeight:r,["".concat(n,"-selection-item")]:{height:i.itemHeight,lineHeight:(0,nl.bf)(i.itemLineHeight)}}}]};var nw=e=>{let{componentCls:t,calc:n,lineWidth:r}=e,o=(0,nv.IX)(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),i=(0,nv.IX)(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[nb(o,"small"),nb(e),nb(i,"large"),{["".concat(t).concat(t,"-multiple")]:Object.assign(Object.assign({width:"100%",cursor:"text",["".concat(t,"-selector")]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},["".concat(t,"-selection-placeholder")]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:"all ".concat(e.motionDurationSlow),overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},(0,ny._z)(e)),{["".concat(t,"-multiple-input")]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},nS=n(66671);let nx=e=>{let{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:i,cellHoverBg:a,lineWidth:s,lineType:l,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:p,colorFillSecondary:h}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:(0,nl.bf)(r),borderRadius:o,transition:"background ".concat(i)},["&:hover:not(".concat(t,"-in-view),\n    &:hover:not(").concat(t,"-selected):not(").concat(t,"-range-start):not(").concat(t,"-range-end)")]:{[n]:{background:a}},["&-in-view".concat(t,"-today ").concat(n)]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:"".concat((0,nl.bf)(s)," ").concat(l," ").concat(c),borderRadius:o,content:'""'}},["&-in-view".concat(t,"-in-range,\n      &-in-view").concat(t,"-range-start,\n      &-in-view").concat(t,"-range-end")]:{position:"relative",["&:not(".concat(t,"-disabled):before")]:{background:u}},["&-in-view".concat(t,"-selected,\n      &-in-view").concat(t,"-range-start,\n      &-in-view").concat(t,"-range-end")]:{["&:not(".concat(t,"-disabled) ").concat(n)]:{color:d,background:c},["&".concat(t,"-disabled ").concat(n)]:{background:h}},["&-in-view".concat(t,"-range-start:not(").concat(t,"-disabled):before")]:{insetInlineStart:"50%"},["&-in-view".concat(t,"-range-end:not(").concat(t,"-disabled):before")]:{insetInlineEnd:"50%"},["&-in-view".concat(t,"-range-start:not(").concat(t,"-range-end) ").concat(n)]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},["&-in-view".concat(t,"-range-end:not(").concat(t,"-range-start) ").concat(n)]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:p}},["&-disabled".concat(t,"-today ").concat(n,"::before")]:{borderColor:f}}},nE=e=>{let{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:a,paddingSM:s,paddingXS:l,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:p,colorPrimary:h,colorTextHeading:m,colorSplit:g,pickerControlIconBorderWidth:v,colorIcon:y,textHeight:b,motionDurationMid:w,colorIconHover:S,fontWeightStrong:x,cellHeight:E,pickerCellPaddingVertical:C,colorTextDisabled:_,colorText:k,fontSize:O,motionDurationSlow:A,withoutTimeCellHeight:I,pickerQuarterPanelContentHeight:P,borderRadiusSM:T,colorTextLightSolid:R,cellHoverBg:M,timeColumnHeight:N,timeColumnWidth:j,timeCellHeight:D,controlItemBgActive:L,marginXXS:B,pickerDatePanelPaddingHorizontal:Z,pickerControlIconMargin:F}=e,z=e.calc(a).mul(7).add(e.calc(Z).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:p,outline:"none","&-focused":{borderColor:h},"&-rtl":{["".concat(t,"-prev-icon,\n              ").concat(t,"-super-prev-icon")]:{transform:"rotate(45deg)"},["".concat(t,"-next-icon,\n              ").concat(t,"-super-next-icon")]:{transform:"rotate(-135deg)"},["".concat(t,"-time-panel")]:{["".concat(t,"-content")]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n        &-year-panel,\n        &-quarter-panel,\n        &-month-panel,\n        &-week-panel,\n        &-date-panel,\n        &-time-panel":{display:"flex",flexDirection:"column",width:z},"&-header":{display:"flex",padding:"0 ".concat((0,nl.bf)(l)),color:m,borderBottom:"".concat((0,nl.bf)(d)," ").concat(f," ").concat(g),"> *":{flex:"none"},button:{padding:0,color:y,lineHeight:(0,nl.bf)(b),background:"transparent",border:0,cursor:"pointer",transition:"color ".concat(w),fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:O,"&:hover":{color:S},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:x,lineHeight:(0,nl.bf)(b),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:h}}}},"&-prev-icon,\n        &-next-icon,\n        &-super-prev-icon,\n        &-super-next-icon":{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:"".concat((0,nl.bf)(v)," 0"),borderInlineWidth:"".concat((0,nl.bf)(v)," 0"),content:'""'}},"&-super-prev-icon,\n        &-super-next-icon":{"&::after":{position:"absolute",top:F,insetInlineStart:F,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:"".concat((0,nl.bf)(v)," 0"),borderInlineWidth:"".concat((0,nl.bf)(v)," 0"),content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:E,fontWeight:"normal"},th:{height:e.calc(E).add(e.calc(C).mul(2)).equal(),color:k,verticalAlign:"middle"}},"&-cell":Object.assign({padding:"".concat((0,nl.bf)(C)," 0"),color:_,cursor:"pointer","&-in-view":{color:k}},nx(e)),"&-decade-panel,\n        &-year-panel,\n        &-quarter-panel,\n        &-month-panel":{["".concat(t,"-content")]:{height:e.calc(I).mul(4).equal()},[r]:{padding:"0 ".concat((0,nl.bf)(l))}},"&-quarter-panel":{["".concat(t,"-content")]:{height:P}},"&-decade-panel":{[r]:{padding:"0 ".concat((0,nl.bf)(e.calc(l).div(2).equal()))},["".concat(t,"-cell::before")]:{display:"none"}},"&-year-panel,\n        &-quarter-panel,\n        &-month-panel":{["".concat(t,"-body")]:{padding:"0 ".concat((0,nl.bf)(l))},[r]:{width:o}},"&-date-panel":{["".concat(t,"-body")]:{padding:"".concat((0,nl.bf)(l)," ").concat((0,nl.bf)(Z))},["".concat(t,"-content th")]:{boxSizing:"border-box",padding:0}},"&-week-panel":{["".concat(t,"-cell")]:{["&:hover ".concat(r,",\n            &-selected ").concat(r,",\n            ").concat(r)]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:"background ".concat(w)},"&:first-child:before":{borderStartStartRadius:T,borderEndStartRadius:T},"&:last-child:before":{borderStartEndRadius:T,borderEndEndRadius:T}},"&:hover td":{"&:before":{background:M}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{["&".concat(n)]:{"&:before":{background:h},["&".concat(t,"-cell-week")]:{color:new nS.C(R).setAlpha(.5).toHexString()},[r]:{color:R}}},"&-range-hover td:before":{background:L}}},"&-week-panel, &-date-panel-show-week":{["".concat(t,"-body")]:{padding:"".concat((0,nl.bf)(l)," ").concat((0,nl.bf)(s))},["".concat(t,"-content th")]:{width:"auto"}},"&-datetime-panel":{display:"flex",["".concat(t,"-time-panel")]:{borderInlineStart:"".concat((0,nl.bf)(d)," ").concat(f," ").concat(g)},["".concat(t,"-date-panel,\n          ").concat(t,"-time-panel")]:{transition:"opacity ".concat(A)},"&-active":{["".concat(t,"-date-panel,\n            ").concat(t,"-time-panel")]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",["".concat(t,"-content")]:{display:"flex",flex:"auto",height:N},"&-column":{flex:"1 0 auto",width:j,margin:"".concat((0,nl.bf)(c)," 0"),padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:"background ".concat(w),overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:"".concat(e.colorTextTertiary," transparent")},"&::after":{display:"block",height:e.calc("100%").sub(D).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:"".concat((0,nl.bf)(d)," ").concat(f," ").concat(g)},"&-active":{background:new nS.C(L).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,["&".concat(t,"-time-panel-cell")]:{marginInline:B,["".concat(t,"-time-panel-cell-inner")]:{display:"block",width:e.calc(j).sub(e.calc(B).mul(2)).equal(),height:D,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(j).sub(D).div(2).equal(),color:k,lineHeight:(0,nl.bf)(D),borderRadius:T,cursor:"pointer",transition:"background ".concat(w),"&:hover":{background:M}},"&-selected":{["".concat(t,"-time-panel-cell-inner")]:{background:L}},"&-disabled":{["".concat(t,"-time-panel-cell-inner")]:{color:_,background:"transparent",cursor:"not-allowed"}}}}}}}}};var nC=e=>{let{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:i,colorPrimary:a,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:c,colorSplit:u}=e;return{["".concat(t,"-dropdown")]:{["".concat(t,"-footer")]:{borderTop:"".concat((0,nl.bf)(r)," ").concat(c," ").concat(u),"&-extra":{padding:"0 ".concat((0,nl.bf)(o)),lineHeight:(0,nl.bf)(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:"".concat((0,nl.bf)(r)," ").concat(c," ").concat(u)}}},["".concat(t,"-panels + ").concat(t,"-footer ").concat(t,"-ranges")]:{justifyContent:"space-between"},["".concat(t,"-ranges")]:{marginBlock:0,paddingInline:(0,nl.bf)(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,nl.bf)(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},["".concat(t,"-now-btn-disabled")]:{pointerEvents:"none",color:e.colorTextDisabled},["".concat(t,"-preset > ").concat(i,"-tag-blue")]:{color:a,background:s,borderColor:l,cursor:"pointer"},["".concat(t,"-ok")]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}};let n_=e=>{let{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:"".concat(t,"-cell"),pickerCellInnerCls:"".concat(t,"-cell-inner"),pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},nk=e=>{let{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:o,paddingXXS:i,lineWidth:a}=e,s=2*i,l=2*a,c=Math.min(n-s,n-l),u=Math.min(r-s,r-l),d=Math.min(o-s,o-l);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new nS.C(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new nS.C(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:1.4*o,timeColumnHeight:224,timeCellHeight:28,cellWidth:1.5*r,cellHeight:r,textHeight:o,withoutTimeCellHeight:1.65*o,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:c,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},nO=e=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,nu.T)(e)),nk(e)),(0,nm.w)(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50});var nA=n(63479),nI=e=>{let{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},(0,nA.qG)(e)),(0,nA.H8)(e)),(0,nA.Mu)(e)),{"&-outlined":{["&".concat(t,"-multiple ").concat(t,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,nl.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)}},"&-filled":{["&".concat(t,"-multiple ").concat(t,"-selection-item")]:{background:e.colorBgContainer,border:"".concat((0,nl.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)}},"&-borderless":{["&".concat(t,"-multiple ").concat(t,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,nl.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)}}}]}};let nP=(e,t,n,r)=>{let o=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),a=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:"".concat((0,nl.bf)(i)," ").concat((0,nl.bf)(r)," ").concat((0,nl.bf)(a))}},nT=e=>{let{componentCls:t,colorError:n,colorWarning:r}=e;return{["".concat(t,":not(").concat(t,"-disabled):not([disabled])")]:{["&".concat(t,"-status-error")]:{["".concat(t,"-active-bar")]:{background:n}},["&".concat(t,"-status-warning")]:{["".concat(t,"-active-bar")]:{background:r}}}}},nR=e=>{let{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:i,lineType:a,colorBorder:s,borderRadius:l,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:p,controlHeightSM:h,paddingInlineSM:m,paddingXS:g,marginXS:v,colorTextDescription:y,lineWidthBold:b,colorPrimary:w,motionDurationSlow:S,zIndexPopup:x,paddingXXS:E,sizePopupArrow:C,colorBgElevated:_,borderRadiusLG:k,boxShadowSecondary:O,borderRadiusSM:A,colorSplit:I,cellHoverBg:P,presetsWidth:T,presetsMaxWidth:R,boxShadowPopoverArrow:M,fontHeight:N,fontHeightLG:j,lineHeightLG:D}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},(0,nd.Wf)(e)),nP(e,r,N,o)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:l,transition:"border ".concat(c,", box-shadow ").concat(c,", background ").concat(c),["".concat(t,"-input")]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:"all ".concat(c)},(0,nc.nz)(d)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:u,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:d}}},"&-large":Object.assign(Object.assign({},nP(e,f,j,o)),{["".concat(t,"-input > input")]:{fontSize:p,lineHeight:D}}),"&-small":Object.assign({},nP(e,h,N,m)),["".concat(t,"-suffix")]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(g).div(2).equal(),color:u,lineHeight:1,pointerEvents:"none",transition:"opacity ".concat(c,", color ").concat(c),"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:v}}},["".concat(t,"-clear")]:{position:"absolute",top:"50%",insetInlineEnd:0,color:u,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:"opacity ".concat(c,", color ").concat(c),"> *":{verticalAlign:"top"},"&:hover":{color:y}},"&:hover":{["".concat(t,"-clear")]:{opacity:1},["".concat(t,"-suffix:not(:last-child)")]:{opacity:0}},["".concat(t,"-separator")]:{position:"relative",display:"inline-block",width:"1em",height:p,color:u,fontSize:p,verticalAlign:"top",cursor:"default",["".concat(t,"-focused &")]:{color:y},["".concat(t,"-range-separator &")]:{["".concat(t,"-disabled &")]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",["".concat(t,"-active-bar")]:{bottom:e.calc(i).mul(-1).equal(),height:b,background:w,opacity:0,transition:"all ".concat(S," ease-out"),pointerEvents:"none"},["&".concat(t,"-focused")]:{["".concat(t,"-active-bar")]:{opacity:1}},["".concat(t,"-range-separator")]:{alignItems:"center",padding:"0 ".concat((0,nl.bf)(g)),lineHeight:1}},"&-range, &-multiple":{["".concat(t,"-clear")]:{insetInlineEnd:o},["&".concat(t,"-small")]:{["".concat(t,"-clear")]:{insetInlineEnd:m}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,nd.Wf)(e)),nE(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:x,["&".concat(t,"-dropdown-hidden")]:{display:"none"},"&-rtl":{direction:"rtl"},["&".concat(t,"-dropdown-placement-bottomLeft,\n            &").concat(t,"-dropdown-placement-bottomRight")]:{["".concat(t,"-range-arrow")]:{top:0,display:"block",transform:"translateY(-100%)"}},["&".concat(t,"-dropdown-placement-topLeft,\n            &").concat(t,"-dropdown-placement-topRight")]:{["".concat(t,"-range-arrow")]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},["&".concat(n,"-slide-up-enter").concat(n,"-slide-up-enter-active").concat(t,"-dropdown-placement-topLeft,\n          &").concat(n,"-slide-up-enter").concat(n,"-slide-up-enter-active").concat(t,"-dropdown-placement-topRight,\n          &").concat(n,"-slide-up-appear").concat(n,"-slide-up-appear-active").concat(t,"-dropdown-placement-topLeft,\n          &").concat(n,"-slide-up-appear").concat(n,"-slide-up-appear-active").concat(t,"-dropdown-placement-topRight")]:{animationName:np.Qt},["&".concat(n,"-slide-up-enter").concat(n,"-slide-up-enter-active").concat(t,"-dropdown-placement-bottomLeft,\n          &").concat(n,"-slide-up-enter").concat(n,"-slide-up-enter-active").concat(t,"-dropdown-placement-bottomRight,\n          &").concat(n,"-slide-up-appear").concat(n,"-slide-up-appear-active").concat(t,"-dropdown-placement-bottomLeft,\n          &").concat(n,"-slide-up-appear").concat(n,"-slide-up-appear-active").concat(t,"-dropdown-placement-bottomRight")]:{animationName:np.fJ},["&".concat(n,"-slide-up-leave ").concat(t,"-panel-container")]:{pointerEvents:"none"},["&".concat(n,"-slide-up-leave").concat(n,"-slide-up-leave-active").concat(t,"-dropdown-placement-topLeft,\n          &").concat(n,"-slide-up-leave").concat(n,"-slide-up-leave-active").concat(t,"-dropdown-placement-topRight")]:{animationName:np.ly},["&".concat(n,"-slide-up-leave").concat(n,"-slide-up-leave-active").concat(t,"-dropdown-placement-bottomLeft,\n          &").concat(n,"-slide-up-leave").concat(n,"-slide-up-leave-active").concat(t,"-dropdown-placement-bottomRight")]:{animationName:np.Uw},["".concat(t,"-panel > ").concat(t,"-time-panel")]:{paddingTop:E},["".concat(t,"-range-wrapper")]:{display:"flex",position:"relative"},["".concat(t,"-range-arrow")]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:"all ".concat(S," ease-out")},(0,nm.W)(e,_,M)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),["".concat(t,"-panel-container")]:{overflow:"hidden",verticalAlign:"top",background:_,borderRadius:k,boxShadow:O,transition:"margin ".concat(S),display:"inline-block",pointerEvents:"auto",["".concat(t,"-panel-layout")]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},["".concat(t,"-presets")]:{display:"flex",flexDirection:"column",minWidth:T,maxWidth:R,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:g,borderInlineEnd:"".concat((0,nl.bf)(i)," ").concat(a," ").concat(I),li:Object.assign(Object.assign({},nd.vS),{borderRadius:A,paddingInline:g,paddingBlock:e.calc(h).sub(N).div(2).equal(),cursor:"pointer",transition:"all ".concat(S),"+ li":{marginTop:v},"&:hover":{background:P}})}},["".concat(t,"-panels")]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{["".concat(t,"-panel")]:{borderWidth:0}}},["".concat(t,"-panel")]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,["".concat(t,"-content, table")]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:"".concat((0,nl.bf)(e.calc(C).mul(2).div(3).equal())," 0"),"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",["".concat(t,"-separator")]:{transform:"rotate(180deg)"},["".concat(t,"-footer")]:{"&-extra":{direction:"rtl"}}}})},(0,np.oN)(e,"slide-up"),(0,np.oN)(e,"slide-down"),(0,nh.Fm)(e,"move-up"),(0,nh.Fm)(e,"move-down")]};var nM=(0,ng.I$)("DatePicker",e=>{let t=(0,nv.IX)((0,nu.e)(e),n_(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[nC(t),nR(t),nI(t),nT(t),nw(t),(0,nf.c)(e,{focusElCls:"".concat(e.componentCls,"-focused")})]},nO),nN=n(74954);function nj(e,t,n){return void 0!==n?n:"year"===t&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:"quarter"===t&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function nD(e,t,n){return void 0!==n?n:"year"===t&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:"quarter"===t&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function nL(e,t){let n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:"rtl"===e?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function nB(e,t){let{allowClear:n=!0}=e,{clearIcon:r,removeIcon:o}=(0,nN.Z)(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[E.useMemo(()=>!1!==n&&Object.assign({clearIcon:r},!0===n?{}:n),[n,r]),o]}let[nZ,nF]=["week","WeekPicker"],[nz,nU]=["month","MonthPicker"],[nH,nq]=["year","YearPicker"],[nV,nW]=["quarter","QuarterPicker"],[n$,nG]=["time","TimePicker"];var nK=n(72477),nY=e=>E.createElement(nK.ZP,Object.assign({size:"small",type:"primary"},e));function nX(e){return(0,E.useMemo)(()=>Object.assign({button:nY},e),[e])}var nQ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},nJ=e=>(0,E.forwardRef)((t,n)=>{var r;let{prefixCls:o,getPopupContainer:i,components:a,className:s,style:l,placement:c,size:u,disabled:d,bordered:f=!0,placeholder:p,popupClassName:h,dropdownClassName:m,status:g,rootClassName:v,variant:y,picker:b}=t,w=nQ(t,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),S=E.useRef(null),{getPrefixCls:x,direction:C,getPopupContainer:_,rangePicker:k}=(0,E.useContext)(t9.E_),O=x("picker",o),{compactSize:I,compactItemClassnames:P}=(0,na.ri)(O,C),R=x(),[M,j]=(0,no.Z)("rangePicker",y,f),L=(0,nt.Z)(O),[B,Z,F]=nM(O,L),[z]=nB(t,O),U=nX(a),H=(0,nn.Z)(e=>{var t;return null!==(t=null!=u?u:I)&&void 0!==t?t:e}),q=E.useContext(ne.Z),V=null!=d?d:q,{hasFeedback:W,status:$,feedbackIcon:G}=(0,E.useContext)(nr.aM),K=E.createElement(E.Fragment,null,b===n$?E.createElement(T,null):E.createElement(A,null),W&&G);(0,E.useImperativeHandle)(n,()=>S.current);let[Y]=(0,ni.Z)("Calendar",ns.Z),X=Object.assign(Object.assign({},Y),t.locale),[Q]=(0,t8.Cn)("DatePicker",null===(r=t.popupStyle)||void 0===r?void 0:r.zIndex);return B(E.createElement(t6.Z,{space:!0},E.createElement(tQ,Object.assign({separator:E.createElement("span",{"aria-label":"to",className:"".concat(O,"-separator")},E.createElement(N,null)),disabled:V,ref:S,popupAlign:nL(C,c),placement:c,placeholder:nD(X,b,p),suffixIcon:K,prevIcon:E.createElement("span",{className:"".concat(O,"-prev-icon")}),nextIcon:E.createElement("span",{className:"".concat(O,"-next-icon")}),superPrevIcon:E.createElement("span",{className:"".concat(O,"-super-prev-icon")}),superNextIcon:E.createElement("span",{className:"".concat(O,"-super-next-icon")}),transitionName:"".concat(R,"-slide-up"),picker:b},w,{className:D()({["".concat(O,"-").concat(H)]:H,["".concat(O,"-").concat(M)]:j},(0,t7.Z)(O,(0,t7.F)($,g),W),Z,P,s,null==k?void 0:k.className,F,L,v),style:Object.assign(Object.assign({},null==k?void 0:k.style),l),locale:X.lang,prefixCls:O,getPopupContainer:i||_,generateConfig:e,components:U,direction:C,classNames:{popup:D()(Z,h||m,F,L,v)},styles:{popup:Object.assign(Object.assign({},t.popupStyle),{zIndex:Q})},allowClear:z}))))}),n0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},n1=e=>{let t=(t,n)=>{let r=n===nG?"timePicker":"datePicker";return(0,E.forwardRef)((n,o)=>{var i;let{prefixCls:a,getPopupContainer:s,components:l,style:c,className:u,rootClassName:d,size:f,bordered:p,placement:h,placeholder:m,popupClassName:g,dropdownClassName:v,disabled:y,status:b,variant:w,onCalendarChange:S}=n,x=n0(n,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:C,direction:_,getPopupContainer:k,[r]:O}=(0,E.useContext)(t9.E_),I=C("picker",a),{compactSize:P,compactItemClassnames:R}=(0,na.ri)(I,_),M=E.useRef(null),[N,j]=(0,no.Z)("datePicker",w,p),L=(0,nt.Z)(I),[B,Z,F]=nM(I,L);(0,E.useImperativeHandle)(o,()=>M.current);let z={showToday:!0},U=t||n.picker,H=C(),{onSelect:q,multiple:V}=x,W=q&&"time"===t&&!V,$=(e,t,n)=>{null==S||S(e,t,n),W&&q(e)},[G,K]=nB(n,I),Y=nX(l),X=(0,nn.Z)(e=>{var t;return null!==(t=null!=f?f:P)&&void 0!==t?t:e}),Q=E.useContext(ne.Z),J=null!=y?y:Q,{hasFeedback:ee,status:et,feedbackIcon:en}=(0,E.useContext)(nr.aM),er=E.createElement(E.Fragment,null,"time"===U?E.createElement(T,null):E.createElement(A,null),ee&&en),[eo]=(0,ni.Z)("DatePicker",ns.Z),ei=Object.assign(Object.assign({},eo),n.locale),[ea]=(0,t8.Cn)("DatePicker",null===(i=n.popupStyle)||void 0===i?void 0:i.zIndex);return B(E.createElement(t6.Z,{space:!0},E.createElement(t5,Object.assign({ref:M,placeholder:nj(ei,U,m),suffixIcon:er,dropdownAlign:nL(_,h),placement:h,prevIcon:E.createElement("span",{className:"".concat(I,"-prev-icon")}),nextIcon:E.createElement("span",{className:"".concat(I,"-next-icon")}),superPrevIcon:E.createElement("span",{className:"".concat(I,"-super-prev-icon")}),superNextIcon:E.createElement("span",{className:"".concat(I,"-super-next-icon")}),transitionName:"".concat(H,"-slide-up"),picker:t,onCalendarChange:$},z,x,{locale:ei.lang,className:D()({["".concat(I,"-").concat(X)]:X,["".concat(I,"-").concat(N)]:j},(0,t7.Z)(I,(0,t7.F)(et,b),ee),Z,R,null==O?void 0:O.className,u,F,L,d),style:Object.assign(Object.assign({},null==O?void 0:O.style),c),prefixCls:I,getPopupContainer:s||k,generateConfig:e,components:Y,direction:_,disabled:J,classNames:{popup:D()(Z,F,L,d,g||v)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ea})},allowClear:G,removeIcon:K}))))})},n=t(),r=t(nZ,nF),o=t(nz,nU),i=t(nH,nq),a=t(nV,nW);return{DatePicker:n,WeekPicker:r,MonthPicker:o,YearPicker:i,TimePicker:t(n$,nG),QuarterPicker:a}},n2=e=>{let{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:o,TimePicker:i,QuarterPicker:a}=n1(e),s=nJ(e),l=t;return l.WeekPicker=n,l.MonthPicker=r,l.YearPicker=o,l.RangePicker=s,l.TimePicker=i,l.QuarterPicker=a,l};let n3=n2(S);function n4(e){let t=nL(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}let n5=(0,x.Z)(n3,"picker",null,n4);n3._InternalPanelDoNotUseOrYouWillBeFired=n5;let n6=(0,x.Z)(n3.RangePicker,"picker",null,n4);n3._InternalRangePanelDoNotUseOrYouWillBeFired=n6,n3.generatePicker=n2;var n8=n3},58332:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(33581),o=n(93930),i=(0,r.Z)((0,r.Z)({},o.z),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),a=n(51746),s={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i),timePickerLocale:Object.assign({},a.Z)}},60340:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(44194),o=n(51865),i=n.n(o),a=n(25431),s=n(82698),l=n(61885),c=n(2916),u=n(39564);let d=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,l.Wf)(e)),{borderBlockStart:"".concat((0,s.bf)(o)," solid ").concat(r),"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:"".concat((0,s.bf)(o)," solid ").concat(r)},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:"".concat((0,s.bf)(e.dividerHorizontalGutterMargin)," 0")},["&-horizontal".concat(t,"-with-text")]:{display:"flex",alignItems:"center",margin:"".concat((0,s.bf)(e.dividerHorizontalWithTextGutterMargin)," 0"),color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:"0 ".concat(r),"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:"".concat((0,s.bf)(o)," solid transparent"),borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},["&-horizontal".concat(t,"-with-text-left")]:{"&::before":{width:"calc(".concat(a," * 100%)")},"&::after":{width:"calc(100% - ".concat(a," * 100%)")}},["&-horizontal".concat(t,"-with-text-right")]:{"&::before":{width:"calc(100% - ".concat(a," * 100%)")},"&::after":{width:"calc(".concat(a," * 100%)")}},["".concat(t,"-inner-text")]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:"".concat((0,s.bf)(o)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dashed")]:{"&::before, &::after":{borderStyle:"dashed none none"}},["&-vertical".concat(t,"-dashed")]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},["&-plain".concat(t,"-with-text")]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},["&-horizontal".concat(t,"-with-text-left").concat(t,"-no-default-orientation-margin-left")]:{"&::before":{width:0},"&::after":{width:"100%"},["".concat(t,"-inner-text")]:{paddingInlineStart:n}},["&-horizontal".concat(t,"-with-text-right").concat(t,"-no-default-orientation-margin-right")]:{"&::before":{width:"100%"},"&::after":{width:0},["".concat(t,"-inner-text")]:{paddingInlineEnd:n}}})}},f=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS});var p=(0,c.I$)("Divider",e=>[d((0,u.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0}))],f,{unitless:{orientationMargin:!0}}),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},m=e=>{let{getPrefixCls:t,direction:n,divider:o}=r.useContext(a.E_),{prefixCls:s,type:l="horizontal",orientation:c="center",orientationMargin:u,className:d,rootClassName:f,children:m,dashed:g,plain:v,style:y}=e,b=h(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),w=t("divider",s),[S,x,E]=p(w),C=!!m,_="left"===c&&null!=u,k="right"===c&&null!=u,O=i()(w,null==o?void 0:o.className,x,E,"".concat(w,"-").concat(l),{["".concat(w,"-with-text")]:C,["".concat(w,"-with-text-").concat(c)]:C,["".concat(w,"-dashed")]:!!g,["".concat(w,"-plain")]:!!v,["".concat(w,"-rtl")]:"rtl"===n,["".concat(w,"-no-default-orientation-margin-left")]:_,["".concat(w,"-no-default-orientation-margin-right")]:k},d,f),A=r.useMemo(()=>"number"==typeof u?u:/^\d+$/.test(u)?Number(u):u,[u]),I=Object.assign(Object.assign({},_&&{marginLeft:A}),k&&{marginRight:A});return S(r.createElement("div",Object.assign({className:O,style:Object.assign(Object.assign({},null==o?void 0:o.style),y)},b,{role:"separator"}),m&&"vertical"!==l&&r.createElement("span",{className:"".concat(w,"-inner-text"),style:I},m)))}},66344:function(e,t,n){"use strict";n.d(t,{Z:function(){return J}});var r=n(44194),o=n(51865),i=n.n(o),a=n(33581),s=n(7732),l=n(87922),c=n(75232),u=r.createContext(null),d=r.createContext({}),f=u,p=n(52986),h=n(27820),m=n(63290),g=n(4062),v=n(11875),y=n(92486),b=n(64198),w=["prefixCls","className","containerRef"],S=function(e){var t=e.prefixCls,n=e.className,o=e.containerRef,a=(0,y.Z)(e,w),s=r.useContext(d).panel,l=(0,b.x1)(s,o);return r.createElement("div",(0,h.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,v.Z)(e,{aria:!0}),{"aria-modal":"true"},a))},x=n(6103);function E(e){return"string"==typeof e&&String(Number(e))===e?((0,x.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var C={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function _(e,t){var n,o,l,c,u=e.prefixCls,d=e.open,y=e.placement,b=e.inline,w=e.push,x=e.forceRender,_=e.autoFocus,k=e.keyboard,O=e.classNames,A=e.rootClassName,I=e.rootStyle,P=e.zIndex,T=e.className,R=e.id,M=e.style,N=e.motion,j=e.width,D=e.height,L=e.children,B=e.mask,Z=e.maskClosable,F=e.maskMotion,z=e.maskClassName,U=e.maskStyle,H=e.afterOpenChange,q=e.onClose,V=e.onMouseEnter,W=e.onMouseOver,$=e.onMouseLeave,G=e.onClick,K=e.onKeyDown,Y=e.onKeyUp,X=e.styles,Q=e.drawerRender,J=r.useRef(),ee=r.useRef(),et=r.useRef();r.useImperativeHandle(t,function(){return J.current});var en=function(e){var t,n,r=e.keyCode,o=e.shiftKey;switch(r){case g.Z.TAB:r===g.Z.TAB&&(o||document.activeElement!==et.current?o&&document.activeElement===ee.current&&(null===(n=et.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=ee.current)||void 0===t||t.focus({preventScroll:!0}));break;case g.Z.ESC:q&&k&&(e.stopPropagation(),q(e))}};r.useEffect(function(){if(d&&_){var e;null===(e=J.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var er=r.useState(!1),eo=(0,s.Z)(er,2),ei=eo[0],ea=eo[1],es=r.useContext(f),el=null!==(n=null!==(o=null===(l=c="boolean"==typeof w?w?{}:{distance:0}:w||{})||void 0===l?void 0:l.distance)&&void 0!==o?o:null==es?void 0:es.pushDistance)&&void 0!==n?n:180,ec=r.useMemo(function(){return{pushDistance:el,push:function(){ea(!0)},pull:function(){ea(!1)}}},[el]);r.useEffect(function(){var e,t;d?null==es||null===(e=es.push)||void 0===e||e.call(es):null==es||null===(t=es.pull)||void 0===t||t.call(es)},[d]),r.useEffect(function(){return function(){var e;null==es||null===(e=es.pull)||void 0===e||e.call(es)}},[]);var eu=B&&r.createElement(m.ZP,(0,h.Z)({key:"mask"},F,{visible:d}),function(e,t){var n=e.className,o=e.style;return r.createElement("div",{className:i()("".concat(u,"-mask"),n,null==O?void 0:O.mask,z),style:(0,a.Z)((0,a.Z)((0,a.Z)({},o),U),null==X?void 0:X.mask),onClick:Z&&d?q:void 0,ref:t})}),ed="function"==typeof N?N(y):N,ef={};if(ei&&el)switch(y){case"top":ef.transform="translateY(".concat(el,"px)");break;case"bottom":ef.transform="translateY(".concat(-el,"px)");break;case"left":ef.transform="translateX(".concat(el,"px)");break;default:ef.transform="translateX(".concat(-el,"px)")}"left"===y||"right"===y?ef.width=E(j):ef.height=E(D);var ep={onMouseEnter:V,onMouseOver:W,onMouseLeave:$,onClick:G,onKeyDown:K,onKeyUp:Y},eh=r.createElement(m.ZP,(0,h.Z)({key:"panel"},ed,{visible:d,forceRender:x,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(u,"-content-wrapper-hidden")}),function(t,n){var o=t.className,s=t.style,l=r.createElement(S,(0,h.Z)({id:R,containerRef:n,prefixCls:u,className:i()(T,null==O?void 0:O.content),style:(0,a.Z)((0,a.Z)({},M),null==X?void 0:X.content)},(0,v.Z)(e,{aria:!0}),ep),L);return r.createElement("div",(0,h.Z)({className:i()("".concat(u,"-content-wrapper"),null==O?void 0:O.wrapper,o),style:(0,a.Z)((0,a.Z)((0,a.Z)({},ef),s),null==X?void 0:X.wrapper)},(0,v.Z)(e,{data:!0})),Q?Q(l):l)}),em=(0,a.Z)({},I);return P&&(em.zIndex=P),r.createElement(f.Provider,{value:ec},r.createElement("div",{className:i()(u,"".concat(u,"-").concat(y),A,(0,p.Z)((0,p.Z)({},"".concat(u,"-open"),d),"".concat(u,"-inline"),b)),style:em,tabIndex:-1,ref:J,onKeyDown:en},eu,r.createElement("div",{tabIndex:0,ref:ee,style:C,"aria-hidden":"true","data-sentinel":"start"}),eh,r.createElement("div",{tabIndex:0,ref:et,style:C,"aria-hidden":"true","data-sentinel":"end"})))}var k=r.forwardRef(_),O=function(e){var t=e.open,n=void 0!==t&&t,o=e.prefixCls,i=void 0===o?"rc-drawer":o,u=e.placement,f=void 0===u?"right":u,p=e.autoFocus,h=void 0===p||p,m=e.keyboard,g=void 0===m||m,v=e.width,y=void 0===v?378:v,b=e.mask,w=void 0===b||b,S=e.maskClosable,x=void 0===S||S,E=e.getContainer,C=e.forceRender,_=e.afterOpenChange,O=e.destroyOnClose,A=e.onMouseEnter,I=e.onMouseOver,P=e.onMouseLeave,T=e.onClick,R=e.onKeyDown,M=e.onKeyUp,N=e.panelRef,j=r.useState(!1),D=(0,s.Z)(j,2),L=D[0],B=D[1],Z=r.useState(!1),F=(0,s.Z)(Z,2),z=F[0],U=F[1];(0,c.Z)(function(){U(!0)},[]);var H=!!z&&n,q=r.useRef(),V=r.useRef();(0,c.Z)(function(){H&&(V.current=document.activeElement)},[H]);var W=function(e){var t,n;B(e),null==_||_(e),e||!V.current||null!==(t=q.current)&&void 0!==t&&t.contains(V.current)||null===(n=V.current)||void 0===n||n.focus({preventScroll:!0})},$=r.useMemo(function(){return{panel:N}},[N]);if(!C&&!L&&!H&&O)return null;var G={onMouseEnter:A,onMouseOver:I,onMouseLeave:P,onClick:T,onKeyDown:R,onKeyUp:M},K=(0,a.Z)((0,a.Z)({},e),{},{open:H,prefixCls:i,placement:f,autoFocus:h,keyboard:g,width:y,mask:w,maskClosable:x,inline:!1===E,afterOpenChange:W,ref:q},G);return r.createElement(d.Provider,{value:$},r.createElement(l.Z,{open:H||C||L,autoDestroy:!1,getContainer:E,autoLock:w&&(H||L)},r.createElement(k,K)))},A=n(80265),I=n(28885),P=n(62334),T=n(24283),R=n(25431),M=n(36882),N=n(21191),j=n(10256),D=e=>{var t,n;let{prefixCls:o,title:a,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:f,footerStyle:p,children:h,classNames:m,styles:g}=e,{drawer:v}=r.useContext(R.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:"".concat(o,"-close")},e),[u]),[b,w]=(0,N.Z)((0,N.w)(e),(0,N.w)(v),{closable:!0,closeIconRender:y}),S=r.useMemo(()=>{var e,t;return a||b?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==v?void 0:v.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()("".concat(o,"-header"),{["".concat(o,"-header-close-only")]:b&&!a&&!l},null===(t=null==v?void 0:v.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:"".concat(o,"-header-title")},w,a&&r.createElement("div",{className:"".concat(o,"-title")},a)),l&&r.createElement("div",{className:"".concat(o,"-extra")},l)):null},[b,w,l,d,o,a]),x=r.useMemo(()=>{var e,t;if(!s)return null;let n="".concat(o,"-footer");return r.createElement("div",{className:i()(n,null===(e=null==v?void 0:v.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==v?void 0:v.styles)||void 0===t?void 0:t.footer),p),null==g?void 0:g.footer)},s)},[s,p,o]);return r.createElement(r.Fragment,null,S,r.createElement("div",{className:i()("".concat(o,"-body"),null==m?void 0:m.body,null===(t=null==v?void 0:v.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==v?void 0:v.styles)||void 0===n?void 0:n.body),f),null==g?void 0:g.body)},c?r.createElement(j.Z,{active:!0,title:!1,paragraph:{rows:5},className:"".concat(o,"-body-skeleton")}):h),x)},L=n(82698),B=n(61885),Z=n(2916),F=n(39564);let z=e=>{let t="100%";return({left:"translateX(-".concat(t,")"),right:"translateX(".concat(t,")"),top:"translateY(-".concat(t,")"),bottom:"translateY(".concat(t,")")})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),H=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:"all ".concat(t)}}},U({opacity:e},{opacity:1})),q=(e,t)=>[H(.7,t),U({transform:z(e)},{transform:"none"})];var V=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{["".concat(t,"-mask-motion")]:H(0,n),["".concat(t,"-panel-motion")]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{["&-".concat(t)]:q(t,n)}),{})}}};let W=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:o,colorBgElevated:i,motionDurationSlow:a,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:p,lineType:h,colorSplit:m,marginXS:g,colorIcon:v,colorIconHover:y,colorBgTextHover:b,colorBgTextActive:w,colorText:S,fontWeightStrong:x,footerPaddingBlock:E,footerPaddingInline:C,calc:_}=e,k="".concat(n,"-content-wrapper");return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:S,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",["&".concat(n,"-left")]:{boxShadow:e.boxShadowDrawerLeft},["&".concat(n,"-right")]:{boxShadow:e.boxShadowDrawerRight},["&".concat(n,"-top")]:{boxShadow:e.boxShadowDrawerUp},["&".concat(n,"-bottom")]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},["".concat(n,"-mask")]:{position:"absolute",inset:0,zIndex:r,background:o,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:"all ".concat(a),"&-hidden":{display:"none"}},["&-left > ".concat(k)]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},["&-right > ".concat(k)]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},["&-top > ".concat(k)]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},["&-bottom > ".concat(k)]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},["".concat(n,"-content")]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},["".concat(n,"-header")]:{display:"flex",flex:0,alignItems:"center",padding:"".concat((0,L.bf)(c)," ").concat((0,L.bf)(u)),fontSize:d,lineHeight:f,borderBottom:"".concat((0,L.bf)(p)," ").concat(h," ").concat(m),"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},["".concat(n,"-extra")]:{flex:"none"},["".concat(n,"-close")]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:v,fontWeight:x,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:"all ".concat(s),textRendering:"auto","&:hover":{color:y,backgroundColor:b,textDecoration:"none"},"&:active":{backgroundColor:w}},(0,B.Qy)(e)),["".concat(n,"-title")]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},["".concat(n,"-body")]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",["".concat(n,"-body-skeleton")]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},["".concat(n,"-footer")]:{flexShrink:0,padding:"".concat((0,L.bf)(E)," ").concat((0,L.bf)(C)),borderTop:"".concat((0,L.bf)(p)," ").concat(h," ").concat(m)},"&-rtl":{direction:"rtl"}}}},$=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding});var G=(0,Z.I$)("Drawer",e=>{let t=(0,F.IX)(e,{});return[W(t),V(t)]},$),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Y={distance:180},X=e=>{let{rootClassName:t,width:n,height:o,size:a="default",mask:s=!0,push:l=Y,open:c,afterOpenChange:u,onClose:d,prefixCls:f,getContainer:p,style:h,className:m,visible:g,afterVisibleChange:v,maskStyle:y,drawerStyle:b,contentWrapperStyle:w}=e,S=K(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:x,getPrefixCls:E,direction:C,drawer:_}=r.useContext(R.E_),k=E("drawer",f),[N,j,L]=G(k),B=void 0===p&&x?()=>x(document.body):p,Z=i()({"no-mask":!s,["".concat(k,"-rtl")]:"rtl"===C},t,j,L),F=r.useMemo(()=>null!=n?n:"large"===a?736:378,[n,a]),z=r.useMemo(()=>null!=o?o:"large"===a?736:378,[o,a]),U={motionName:(0,P.m)(k,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},H=e=>({motionName:(0,P.m)(k,"panel-motion-".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),q=(0,M.H)(),[V,W]=(0,I.Cn)("Drawer",S.zIndex),{classNames:$={},styles:X={}}=S,{classNames:Q={},styles:J={}}=_||{};return N(r.createElement(A.Z,{form:!0,space:!0},r.createElement(T.Z.Provider,{value:W},r.createElement(O,Object.assign({prefixCls:k,onClose:d,maskMotion:U,motion:H},S,{classNames:{mask:i()($.mask,Q.mask),content:i()($.content,Q.content),wrapper:i()($.wrapper,Q.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},X.mask),y),J.mask),content:Object.assign(Object.assign(Object.assign({},X.content),b),J.content),wrapper:Object.assign(Object.assign(Object.assign({},X.wrapper),w),J.wrapper)},open:null!=c?c:g,mask:s,push:l,width:F,height:z,style:Object.assign(Object.assign({},null==_?void 0:_.style),h),className:i()(null==_?void 0:_.className,m),rootClassName:Z,getContainer:B,afterOpenChange:null!=u?u:v,panelRef:q,zIndex:V}),r.createElement(D,Object.assign({prefixCls:k},S,{onClose:d}))))))},Q=e=>{let{prefixCls:t,style:n,className:o,placement:a="right"}=e,s=K(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(R.E_),c=l("drawer",t),[u,d,f]=G(c),p=i()(c,"".concat(c,"-pure"),"".concat(c,"-").concat(a),d,f,o);return u(r.createElement("div",{className:p,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};X._InternalPanelDoNotUseOrYouWillBeFired=Q;var J=X},96419:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(44194),o=n(60540),i=n(51865),a=n.n(i),s=n(15014),l=n(91324),c=n(45571),u=n(76933),d=n(28885),f=n(18495),p=n(29876),h=n(85905),m=n(66973),g=n(24283),v=n(25431),y=n(55948),b=n(42020),w=n(79206),S=n(34066),x=n(82698),E=n(61885),C=n(55286),_=n(77728),k=n(67267),O=n(18464),A=n(1958),I=n(2916),P=n(39564),T=e=>{let{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,i="".concat(n,"-item");return{["".concat(t,", ").concat(t,"-menu-submenu")]:{["".concat(n," ").concat(i)]:{["&".concat(i,"-danger:not(").concat(i,"-disabled)")]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}};let R=e=>{let{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:o,sizePopupArrow:i,antCls:a,iconCls:s,motionDurationMid:l,paddingBlock:c,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:p,controlPaddingHorizontal:h,colorBgElevated:m}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},["&-trigger".concat(a,"-btn")]:{["& > ".concat(s,"-down, & > ").concat(a,"-btn-icon > ").concat(s,"-down")]:{fontSize:p}},["".concat(t,"-wrap")]:{position:"relative",["".concat(a,"-btn > ").concat(s,"-down")]:{fontSize:p},["".concat(s,"-down::before")]:{transition:"transform ".concat(l)}},["".concat(t,"-wrap-open")]:{["".concat(s,"-down::before")]:{transform:"rotate(180deg)"}},"\n        &-hidden,\n        &-menu-hidden,\n        &-menu-submenu-hidden\n      ":{display:"none"},["&".concat(a,"-slide-down-enter").concat(a,"-slide-down-enter-active").concat(t,"-placement-bottomLeft,\n          &").concat(a,"-slide-down-appear").concat(a,"-slide-down-appear-active").concat(t,"-placement-bottomLeft,\n          &").concat(a,"-slide-down-enter").concat(a,"-slide-down-enter-active").concat(t,"-placement-bottom,\n          &").concat(a,"-slide-down-appear").concat(a,"-slide-down-appear-active").concat(t,"-placement-bottom,\n          &").concat(a,"-slide-down-enter").concat(a,"-slide-down-enter-active").concat(t,"-placement-bottomRight,\n          &").concat(a,"-slide-down-appear").concat(a,"-slide-down-appear-active").concat(t,"-placement-bottomRight")]:{animationName:C.fJ},["&".concat(a,"-slide-up-enter").concat(a,"-slide-up-enter-active").concat(t,"-placement-topLeft,\n          &").concat(a,"-slide-up-appear").concat(a,"-slide-up-appear-active").concat(t,"-placement-topLeft,\n          &").concat(a,"-slide-up-enter").concat(a,"-slide-up-enter-active").concat(t,"-placement-top,\n          &").concat(a,"-slide-up-appear").concat(a,"-slide-up-appear-active").concat(t,"-placement-top,\n          &").concat(a,"-slide-up-enter").concat(a,"-slide-up-enter-active").concat(t,"-placement-topRight,\n          &").concat(a,"-slide-up-appear").concat(a,"-slide-up-appear-active").concat(t,"-placement-topRight")]:{animationName:C.Qt},["&".concat(a,"-slide-down-leave").concat(a,"-slide-down-leave-active").concat(t,"-placement-bottomLeft,\n          &").concat(a,"-slide-down-leave").concat(a,"-slide-down-leave-active").concat(t,"-placement-bottom,\n          &").concat(a,"-slide-down-leave").concat(a,"-slide-down-leave-active").concat(t,"-placement-bottomRight")]:{animationName:C.Uw},["&".concat(a,"-slide-up-leave").concat(a,"-slide-up-leave-active").concat(t,"-placement-topLeft,\n          &").concat(a,"-slide-up-leave").concat(a,"-slide-up-leave-active").concat(t,"-placement-top,\n          &").concat(a,"-slide-up-leave").concat(a,"-slide-up-leave-active").concat(t,"-placement-topRight")]:{animationName:C.ly}}},(0,O.ZP)(e,m,{arrowPlacement:{top:!0,bottom:!0}}),{["".concat(t," ").concat(n)]:{position:"relative",margin:0},["".concat(n,"-submenu-popup")]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},["".concat(t,", ").concat(t,"-menu-submenu")]:Object.assign(Object.assign({},(0,E.Wf)(e)),{[n]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:m,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,E.Qy)(e)),{"&:empty":{padding:0,boxShadow:"none"},["".concat(n,"-item-group-title")]:{padding:"".concat((0,x.bf)(c)," ").concat((0,x.bf)(h)),color:e.colorTextDescription,transition:"all ".concat(l)},["".concat(n,"-item")]:{position:"relative",display:"flex",alignItems:"center",whiteSpace:"nowrap"},["".concat(n,"-item-icon")]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},["".concat(n,"-title-content")]:{flex:"auto","> a":{color:"inherit",transition:"all ".concat(l),"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},["".concat(n,"-item, ").concat(n,"-submenu-title")]:Object.assign(Object.assign({clear:"both",margin:0,padding:"".concat((0,x.bf)(c)," ").concat((0,x.bf)(h)),color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:"all ".concat(l),borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,E.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:m,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:"".concat((0,x.bf)(e.marginXXS)," 0"),overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},["".concat(t,"-menu-submenu-expand-icon")]:{position:"absolute",insetInlineEnd:e.paddingXS,["".concat(t,"-menu-submenu-arrow-icon")]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),["".concat(n,"-item-group-list")]:{margin:"0 ".concat((0,x.bf)(e.marginXS)),padding:0,listStyle:"none"},["".concat(n,"-submenu-title")]:{paddingInlineEnd:e.calc(h).add(e.fontSizeSM).equal()},["".concat(n,"-submenu-vertical")]:{position:"relative"},["".concat(n,"-submenu").concat(n,"-submenu-disabled ").concat(t,"-menu-submenu-title")]:{["&, ".concat(t,"-menu-submenu-arrow-icon")]:{color:f,backgroundColor:m,cursor:"not-allowed"}},["".concat(n,"-submenu-selected ").concat(t,"-menu-submenu-title")]:{color:e.colorPrimary}})})},[(0,C.oN)(e,"slide-up"),(0,C.oN)(e,"slide-down"),(0,_.Fm)(e,"move-up"),(0,_.Fm)(e,"move-down"),(0,k._y)(e,"zoom-big")]]},M=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,O.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,A.w)(e));var N=(0,I.I$)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:o}=e,i=(0,P.IX)(e,{menuCls:"".concat(o,"-menu"),dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[R(i),T(i)]},M,{resetStyle:!1});let j=e=>{var t;let{menu:n,arrow:i,prefixCls:p,children:x,trigger:E,disabled:C,dropdownRender:_,getPopupContainer:k,overlayClassName:O,rootClassName:A,overlayStyle:I,open:P,onOpenChange:T,visible:R,onVisibleChange:M,mouseEnterDelay:j=.15,mouseLeaveDelay:D=.1,autoAdjustOverflow:L=!0,placement:B="",overlay:Z,transitionName:F}=e,{getPopupContainer:z,getPrefixCls:U,direction:H,dropdown:q}=r.useContext(v.E_);(0,m.ln)("Dropdown");let V=r.useMemo(()=>{let e=U();return void 0!==F?F:B.includes("top")?"".concat(e,"-slide-down"):"".concat(e,"-slide-up")},[U,B,F]),W=r.useMemo(()=>B?B.includes("Center")?B.slice(0,B.indexOf("Center")):B:"rtl"===H?"bottomRight":"bottomLeft",[B,H]),$=U("dropdown",p),G=(0,y.Z)($),[K,Y,X]=N($,G),[,Q]=(0,S.ZP)(),J=r.Children.only(x),ee=(0,h.Tm)(J,{className:a()("".concat($,"-trigger"),{["".concat($,"-rtl")]:"rtl"===H},J.props.className),disabled:null!==(t=J.props.disabled)&&void 0!==t?t:C}),et=C?[]:E,en=!!(null==et?void 0:et.includes("contextMenu")),[er,eo]=(0,c.Z)(!1,{value:null!=P?P:R}),ei=(0,l.zX)(e=>{null==T||T(e,{source:"trigger"}),null==M||M(e),eo(e)}),ea=a()(O,A,Y,X,G,null==q?void 0:q.className,{["".concat($,"-rtl")]:"rtl"===H}),es=(0,f.Z)({arrowPointAtCenter:"object"==typeof i&&i.pointAtCenter,autoAdjustOverflow:L,offset:Q.marginXXS,arrowWidth:i?Q.sizePopupArrow:0,borderRadius:Q.borderRadius}),el=r.useCallback(()=>{null!=n&&n.selectable&&null!=n&&n.multiple||(null==T||T(!1,{source:"menu"}),eo(!1))},[null==n?void 0:n.selectable,null==n?void 0:n.multiple]),ec=()=>{let e;return e=(null==n?void 0:n.items)?r.createElement(b.Z,Object.assign({},n)):"function"==typeof Z?Z():Z,_&&(e=_(e)),e=r.Children.only("string"==typeof e?r.createElement("span",null,e):e),r.createElement(w.J,{prefixCls:"".concat($,"-menu"),rootClassName:a()(X,G),expandIcon:r.createElement("span",{className:"".concat($,"-menu-submenu-arrow")},r.createElement(o.Z,{className:"".concat($,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:el,validator:e=>{let{mode:t}=e}},e)},[eu,ed]=(0,d.Cn)("Dropdown",null==I?void 0:I.zIndex),ef=r.createElement(s.Z,Object.assign({alignPoint:en},(0,u.Z)(e,["rootClassName"]),{mouseEnterDelay:j,mouseLeaveDelay:D,visible:er,builtinPlacements:es,arrow:!!i,overlayClassName:ea,prefixCls:$,getPopupContainer:k||z,transitionName:V,trigger:et,overlay:ec,placement:W,onVisibleChange:ei,overlayStyle:Object.assign(Object.assign(Object.assign({},null==q?void 0:q.style),I),{zIndex:eu})}),ee);return eu&&(ef=r.createElement(g.Z.Provider,{value:ed},ef)),K(ef)};function D(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}let L=(0,p.Z)(j,"dropdown",e=>e,D),B=e=>r.createElement(L,Object.assign({},e),r.createElement("span",null));j._InternalPanelDoNotUseOrYouWillBeFired=B;var Z=j},47809:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(96419),o=n(44194),i=n(21740),a=n(51865),s=n.n(a),l=n(72477),c=n(25431),u=n(52334),d=n(18624),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let p=e=>{let{getPopupContainer:t,getPrefixCls:n,direction:a}=o.useContext(c.E_),{prefixCls:p,type:h="default",danger:m,disabled:g,loading:v,onClick:y,htmlType:b,children:w,className:S,menu:x,arrow:E,autoFocus:C,overlay:_,trigger:k,align:O,open:A,onOpenChange:I,placement:P,getPopupContainer:T,href:R,icon:M=o.createElement(i.Z,null),title:N,buttonsRender:j=e=>e,mouseEnterDelay:D,mouseLeaveDelay:L,overlayClassName:B,overlayStyle:Z,destroyPopupOnHide:F,dropdownRender:z}=e,U=f(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),H=n("dropdown",p),q="".concat(H,"-button"),V={menu:x,arrow:E,autoFocus:C,align:O,disabled:g,trigger:g?[]:k,onOpenChange:I,getPopupContainer:T||t,mouseEnterDelay:D,mouseLeaveDelay:L,overlayClassName:B,overlayStyle:Z,destroyPopupOnHide:F,dropdownRender:z},{compactSize:W,compactItemClassnames:$}=(0,d.ri)(H,a),G=s()(q,$,S);"overlay"in e&&(V.overlay=_),"open"in e&&(V.open=A),"placement"in e?V.placement=P:V.placement="rtl"===a?"bottomLeft":"bottomRight";let[K,Y]=j([o.createElement(l.ZP,{type:h,danger:m,disabled:g,loading:v,onClick:y,htmlType:b,href:R,title:N},w),o.createElement(l.ZP,{type:h,danger:m,icon:M})]);return o.createElement(u.Z.Compact,Object.assign({className:G,size:W,block:!0},U),K,o.createElement(r.Z,Object.assign({},V),Y))};p.__ANT_BUTTON=!0;var h=p;let m=r.Z;m.Button=h;var g=m},63378:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(44194),o=n(51865),i=n.n(o),a=n(25431),s=n(71254),l=n(66671),c=n(34066),u=()=>{let[,e]=(0,c.ZP)(),t=new l.C(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return r.createElement("svg",{style:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,"empty image"),r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(24 31.67)"},r.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),r.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),r.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),r.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),r.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),r.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),r.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},r.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),r.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},d=()=>{let[,e]=(0,c.ZP)(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:o,colorBgContainer:i}=e,{borderColor:a,shadowColor:s,contentColor:u}=(0,r.useMemo)(()=>({borderColor:new l.C(t).onBackground(i).toHexShortString(),shadowColor:new l.C(n).onBackground(i).toHexShortString(),contentColor:new l.C(o).onBackground(i).toHexShortString()}),[t,n,o,i]);return r.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,"Simple Empty"),r.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},r.createElement("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),r.createElement("g",{fillRule:"nonzero",stroke:a},r.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),r.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:u}))))},f=n(2916),p=n(39564);let h=e=>{let{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",["".concat(t,"-image")]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-footer")]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDescription,["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-image")]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,["".concat(t,"-image")]:{height:e.emptyImgHeightSM}}}}};var m=(0,f.I$)("Empty",e=>{let{componentCls:t,controlHeightLG:n,calc:r}=e;return[h((0,p.IX)(e,{emptyImgCls:"".concat(t,"-img"),emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()}))]}),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let v=r.createElement(u,null),y=r.createElement(d,null),b=e=>{var{className:t,rootClassName:n,prefixCls:o,image:l=v,description:c,children:u,imageStyle:d,style:f}=e,p=g(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:h,direction:b,empty:w}=r.useContext(a.E_),S=h("empty",o),[x,E,C]=m(S),[_]=(0,s.Z)("Empty"),k=void 0!==c?c:null==_?void 0:_.description,O="string"==typeof k?k:"empty",A=null;return A="string"==typeof l?r.createElement("img",{alt:O,src:l}):l,x(r.createElement("div",Object.assign({className:i()(E,C,S,null==w?void 0:w.className,{["".concat(S,"-normal")]:l===y,["".concat(S,"-rtl")]:"rtl"===b},t,n),style:Object.assign(Object.assign({},null==w?void 0:w.style),f)},p),r.createElement("div",{className:"".concat(S,"-image"),style:d},A),k&&r.createElement("div",{className:"".concat(S,"-description")},k),u&&r.createElement("div",{className:"".concat(S,"-footer")},u)))};b.PRESENTED_IMAGE_DEFAULT=v,b.PRESENTED_IMAGE_SIMPLE=y;var w=b},10799:function(e,t,n){"use strict";n.d(t,{RV:function(){return l},Rk:function(){return c},Ux:function(){return d},aM:function(){return u},pg:function(){return f},q3:function(){return a},qI:function(){return s}});var r=n(44194),o=n(64054),i=n(76933);let a=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=r.createContext(null),l=e=>{let t=(0,i.Z)(e,["prefixCls"]);return r.createElement(o.RV,Object.assign({},t))},c=r.createContext({prefixCls:""}),u=r.createContext({}),d=e=>{let{children:t,status:n,override:o}=e,i=(0,r.useContext)(u),a=(0,r.useMemo)(()=>{let e=Object.assign({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,o,i]);return r.createElement(u.Provider,{value:a},t)},f=(0,r.createContext)(void 0)},7297:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(44194),o=n(10799);function i(){let{form:e}=(0,r.useContext)(o.q3);return e}},83500:function(e,t,n){"use strict";var r=n(44194),o=n(10799),i=n(25431);let a=function(e,t){var n,a;let s,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,{variant:c,[e]:u}=(0,r.useContext)(i.E_),d=(0,r.useContext)(o.pg),f=null==u?void 0:u.variant;s=void 0!==t?t:!1===l?"borderless":null!==(a=null!==(n=null!=d?d:f)&&void 0!==n?n:c)&&void 0!==a?a:"outlined";let p=i.tr.includes(s);return[s,p]};t.Z=a},56043:function(e,t,n){"use strict";n.d(t,{Z:function(){return eG}});var r=n(10799),o=n(70826),i=n(44194),a=n(51865),s=n.n(a),l=n(63290),c=n(62334),u=n(55948);function d(e){let[t,n]=i.useState(e);return i.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var f=n(82698),p=n(61885),h=n(67267),m=n(33773),g=n(39564),v=n(2916),y=e=>{let{componentCls:t}=e,n="".concat(t,"-show-help"),r="".concat(t,"-show-help-item");return{[n]:{transition:"opacity ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:"height ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut,",\n                     opacity ").concat(e.motionDurationSlow," ").concat(e.motionEaseInOut,",\n                     transform ").concat(e.motionDurationSlow," ").concat(e.motionEaseInOut," !important"),["&".concat(r,"-appear, &").concat(r,"-enter")]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},["&".concat(r,"-leave-active")]:{transform:"translateY(-5px)"}}}}};let b=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:"".concat((0,f.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n  input[type='radio']:focus,\n  input[type='checkbox']:focus":{outline:0,boxShadow:"0 0 0 ".concat((0,f.bf)(e.controlOutlineWidth)," ").concat(e.controlOutline)},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),w=(e,t)=>{let{formItemCls:n}=e;return{[n]:{["".concat(n,"-label > label")]:{height:t},["".concat(n,"-control-input")]:{minHeight:t}}}},S=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,p.Wf)(e)),b(e)),{["".concat(t,"-text")]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},w(e,e.controlHeightSM)),"&-large":Object.assign({},w(e,e.controlHeightLG))})}},x=e=>{let{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o,antCls:i,labelRequiredMarkColor:a,labelColor:s,labelFontSize:l,labelHeight:c,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:d,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},(0,p.Wf)(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},["&-hidden,\n        &-hidden".concat(i,"-row")]:{display:"none"},"&-has-warning":{["".concat(t,"-split")]:{color:e.colorError}},"&-has-error":{["".concat(t,"-split")]:{color:e.colorWarning}},["".concat(t,"-label")]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:c,color:s,fontSize:l,["> ".concat(n)]:{fontSize:e.fontSize,verticalAlign:"top"},["&".concat(t,"-required:not(").concat(t,"-required-mark-optional)::before")]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',["".concat(r,"-hide-required-mark &")]:{display:"none"}},["".concat(t,"-optional")]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,["".concat(r,"-hide-required-mark &")]:{display:"none"}},["".concat(t,"-tooltip")]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:u,marginInlineEnd:d},["&".concat(t,"-no-colon::after")]:{content:'"\\a0"'}}},["".concat(t,"-control")]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,["&:first-child:not([class^=\"'".concat(o,"-col-'\"]):not([class*=\"' ").concat(o,"-col-'\"])")]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:"color ".concat(e.motionDurationMid," ").concat(e.motionEaseOut)},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},["&-with-help ".concat(t,"-explain")]:{height:"auto",opacity:1},["".concat(t,"-feedback-icon")]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:h.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},E=(e,t)=>{let{formItemCls:n}=e;return{["".concat(t,"-horizontal")]:{["".concat(n,"-label")]:{flexGrow:0},["".concat(n,"-control")]:{flex:"1 1 0",minWidth:0},["".concat(n,"-label[class$='-24'], ").concat(n,"-label[class*='-24 ']")]:{["& + ".concat(n,"-control")]:{minWidth:"unset"}}}}},C=e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{["".concat(t,"-inline")]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},["> ".concat(n,"-label,\n        > ").concat(n,"-control")]:{display:"inline-block",verticalAlign:"top"},["> ".concat(n,"-label")]:{flex:"none"},["".concat(t,"-text")]:{display:"inline-block"},["".concat(n,"-has-feedback")]:{display:"inline-block"}}}}},_=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),k=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{["".concat(n," ").concat(n,"-label")]:_(e),["".concat(t,":not(").concat(t,"-inline)")]:{[n]:{flexWrap:"wrap",["".concat(n,"-label, ").concat(n,"-control")]:{['&:not([class*=" '.concat(r,'-col-xs"])')]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},O=e=>{let{componentCls:t,formItemCls:n,antCls:r}=e;return{["".concat(t,"-vertical")]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(n,"-row")]:{flexDirection:"column"},["".concat(n,"-label > label")]:{height:"auto"},["".concat(n,"-control")]:{width:"100%"},["".concat(n,"-label,\n        ").concat(r,"-col-24").concat(n,"-label,\n        ").concat(r,"-col-xl-24").concat(n,"-label")]:_(e)}},["@media (max-width: ".concat((0,f.bf)(e.screenXSMax),")")]:[k(e),{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(r,"-col-xs-24").concat(n,"-label")]:_(e)}}}],["@media (max-width: ".concat((0,f.bf)(e.screenSMMax),")")]:{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(r,"-col-sm-24").concat(n,"-label")]:_(e)}}},["@media (max-width: ".concat((0,f.bf)(e.screenMDMax),")")]:{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(r,"-col-md-24").concat(n,"-label")]:_(e)}}},["@media (max-width: ".concat((0,f.bf)(e.screenLGMax),")")]:{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(r,"-col-lg-24").concat(n,"-label")]:_(e)}}}}},A=e=>{let{formItemCls:t,antCls:n}=e;return{["".concat(t,"-vertical")]:{["".concat(t,"-row")]:{flexDirection:"column"},["".concat(t,"-label > label")]:{height:"auto"},["".concat(t,"-control")]:{width:"100%"}},["".concat(t,"-vertical ").concat(t,"-label,\n      ").concat(n,"-col-24").concat(t,"-label,\n      ").concat(n,"-col-xl-24").concat(t,"-label")]:_(e),["@media (max-width: ".concat((0,f.bf)(e.screenXSMax),")")]:[k(e),{[t]:{["".concat(n,"-col-xs-24").concat(t,"-label")]:_(e)}}],["@media (max-width: ".concat((0,f.bf)(e.screenSMMax),")")]:{[t]:{["".concat(n,"-col-sm-24").concat(t,"-label")]:_(e)}},["@media (max-width: ".concat((0,f.bf)(e.screenMDMax),")")]:{[t]:{["".concat(n,"-col-md-24").concat(t,"-label")]:_(e)}},["@media (max-width: ".concat((0,f.bf)(e.screenLGMax),")")]:{[t]:{["".concat(n,"-col-lg-24").concat(t,"-label")]:_(e)}}}},I=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:"0 0 ".concat(e.paddingXS,"px"),verticalLabelMargin:0,inlineItemMarginBottom:0}),P=(e,t)=>(0,g.IX)(e,{formItemCls:"".concat(e.componentCls,"-item"),rootPrefixCls:t});var T=(0,v.I$)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=P(e,n);return[S(r),x(r),y(r),E(r,r.componentCls),E(r,r.formItemCls),C(r),O(r),A(r),(0,m.Z)(r),h.kr]},I,{order:-1e3});let R=[];function M(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:"".concat(t,"-").concat(r),error:e,errorStatus:n}}var N=e=>{let{help:t,helpStatus:n,errors:a=R,warnings:f=R,className:p,fieldId:h,onVisibleChanged:m}=e,{prefixCls:g}=i.useContext(r.Rk),v="".concat(g,"-item-explain"),y=(0,u.Z)(g),[b,w,S]=T(g,y),x=(0,i.useMemo)(()=>(0,c.Z)(g),[g]),E=d(a),C=d(f),_=i.useMemo(()=>null!=t?[M(t,"help",n)]:[].concat((0,o.Z)(E.map((e,t)=>M(e,"error","error",t))),(0,o.Z)(C.map((e,t)=>M(e,"warning","warning",t)))),[t,n,E,C]),k={};return h&&(k.id="".concat(h,"_help")),b(i.createElement(l.ZP,{motionDeadline:x.motionDeadline,motionName:"".concat(g,"-show-help"),visible:!!_.length,onVisibleChanged:m},e=>{let{className:t,style:n}=e;return i.createElement("div",Object.assign({},k,{className:s()(v,t,S,y,p,w),style:n,role:"alert"}),i.createElement(l.V4,Object.assign({keys:_},(0,c.Z)(g),{motionName:"".concat(g,"-show-help-item"),component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:o,style:a}=e;return i.createElement("div",{key:t,className:s()(o,{["".concat(v,"-").concat(r)]:r}),style:a},n)}))}))},j=n(64054),D=n(25431),L=n(1849),B=n(3690),Z=n(13976),F=n(45251),z=n(37781);let U=["parentNode"],H="form_item";function q(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function V(e,t){if(!e.length)return;let n=e.join("_");return t?"".concat(t,"_").concat(n):U.includes(n)?"".concat(H,"_").concat(n):n}function W(e,t,n,r,o,i){let a=r;return void 0!==i?a=i:n.validating?a="validating":e.length?a="error":t.length?a="warning":(n.touched||o&&n.validated)&&(a="success"),a}function $(e){return q(e).join("_")}function G(e,t){let n=t.getFieldInstance(e),r=(0,F.bn)(n);if(r)return r;let o=V(q(e),t.__INTERNAL__.name);if(o)return document.getElementById(o)}function K(e){let[t]=(0,j.cI)(),n=i.useRef({}),r=i.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=$(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=G(e,r);n&&(0,z.Z)(n,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=$(e);return n.current[t]}}),[e,t]);return[r]}var Y=n(57266),X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let Q=(e,t)=>{let n=i.useContext(L.Z),{getPrefixCls:o,direction:a,form:l}=i.useContext(D.E_),{prefixCls:c,className:d,rootClassName:f,size:p,disabled:h=n,form:m,colon:g,labelAlign:v,labelWrap:y,labelCol:b,wrapperCol:w,hideRequiredMark:S,layout:x="horizontal",scrollToFirstError:E,requiredMark:C,onFinishFailed:_,name:k,style:O,feedbackIcons:A,variant:I}=e,P=X(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),R=(0,B.Z)(p),M=i.useContext(Y.Z),N=(0,i.useMemo)(()=>void 0!==C?C:!S&&(!l||void 0===l.requiredMark||l.requiredMark),[S,C,l]),F=null!=g?g:null==l?void 0:l.colon,z=o("form",c),U=(0,u.Z)(z),[H,q,V]=T(z,U),W=s()(z,"".concat(z,"-").concat(x),{["".concat(z,"-hide-required-mark")]:!1===N,["".concat(z,"-rtl")]:"rtl"===a,["".concat(z,"-").concat(R)]:R},V,U,q,null==l?void 0:l.className,d,f),[$]=K(m),{__INTERNAL__:G}=$;G.name=k;let Q=(0,i.useMemo)(()=>({name:k,labelAlign:v,labelCol:b,labelWrap:y,wrapperCol:w,vertical:"vertical"===x,colon:F,requiredMark:N,itemRef:G.itemRef,form:$,feedbackIcons:A}),[k,v,b,w,x,F,N,$,A]),J=i.useRef(null);i.useImperativeHandle(t,()=>{var e;return Object.assign(Object.assign({},$),{nativeElement:null===(e=J.current)||void 0===e?void 0:e.nativeElement})});let ee=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),$.scrollToField(t,n)}},et=e=>{if(null==_||_(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==E){ee(E,t);return}l&&void 0!==l.scrollToFirstError&&ee(l.scrollToFirstError,t)}};return H(i.createElement(r.pg.Provider,{value:I},i.createElement(L.n,{disabled:h},i.createElement(Z.Z.Provider,{value:R},i.createElement(r.RV,{validateMessages:M},i.createElement(r.q3.Provider,{value:Q},i.createElement(j.ZP,Object.assign({id:k},P,{name:k,onFinishFailed:et,form:$,ref:J,style:Object.assign(Object.assign({},null==l?void 0:l.style),O),className:W}))))))))};var J=i.forwardRef(Q),ee=n(59798),et=n(64198),en=n(85905),er=n(66973),eo=n(2196);function ei(e){if("function"==typeof e)return e;let t=(0,eo.Z)(e);return t.length<=1?t[0]:t}let ea=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,i.useContext)(r.aM);return{status:e,errors:t,warnings:n}};ea.Context=r.aM;var es=ea,el=n(30716);function ec(e){let[t,n]=i.useState(e),r=(0,i.useRef)(null),o=(0,i.useRef)([]),a=(0,i.useRef)(!1);return i.useEffect(()=>(a.current=!1,()=>{a.current=!0,el.Z.cancel(r.current),r.current=null}),[]),[t,function(e){a.current||(null===r.current&&(o.current=[],r.current=(0,el.Z)(()=>{r.current=null,n(e=>{let t=e;return o.current.forEach(e=>{t=e(t)}),t})})),o.current.push(e))}]}function eu(){let{itemRef:e}=i.useContext(r.q3),t=i.useRef({});return function(n,r){let o=r&&"object"==typeof r&&r.ref,i=n.join("_");return(t.current.name!==i||t.current.originRef!==o)&&(t.current.name=i,t.current.originRef=o,t.current.ref=(0,et.sQ)(e(n),o)),t.current.ref}}var ed=n(36859),ef=n(75232),ep=n(76933),eh=n(22662),em=n(27545);let eg=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{["".concat(t,"-control")]:{display:"flex"}}}};var ev=(0,v.bk)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;return[eg(P(e,n))]}),ey=e=>{let{prefixCls:t,status:n,wrapperCol:o,children:a,errors:l,warnings:c,_internalItemRender:u,extra:d,help:f,fieldId:p,marginBottom:h,onErrorVisibleChanged:m}=e,g="".concat(t,"-item"),v=i.useContext(r.q3),y=o||v.wrapperCol||{},b=s()("".concat(g,"-control"),y.className),w=i.useMemo(()=>Object.assign({},v),[v]);delete w.labelCol,delete w.wrapperCol;let S=i.createElement("div",{className:"".concat(g,"-control-input")},i.createElement("div",{className:"".concat(g,"-control-input-content")},a)),x=i.useMemo(()=>({prefixCls:t,status:n}),[t,n]),E=null!==h||l.length||c.length?i.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},i.createElement(r.Rk.Provider,{value:x},i.createElement(N,{fieldId:p,errors:l,warnings:c,help:f,helpStatus:n,className:"".concat(g,"-explain-connected"),onVisibleChanged:m})),!!h&&i.createElement("div",{style:{width:0,height:h}})):null,C={};p&&(C.id="".concat(p,"_extra"));let _=d?i.createElement("div",Object.assign({},C,{className:"".concat(g,"-extra")}),d):null,k=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:S,errorList:E,extra:_}):i.createElement(i.Fragment,null,S,E,_);return i.createElement(r.q3.Provider,{value:w},i.createElement(em.Z,Object.assign({},y,{className:b}),k),i.createElement(ev,{prefixCls:t}))},eb=n(27820),ew=n(16675),eS=n(72654),ex=function(e,t){return i.createElement(eS.Z,(0,eb.Z)({},e,{ref:t,icon:ew.Z}))},eE=i.forwardRef(ex),eC=n(71254),e_=n(2941),ek=n(13185),eO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function eA(e){return e?"object"!=typeof e||i.isValidElement(e)?{title:e}:e:null}var eI=e=>{var t;let{prefixCls:n,label:o,htmlFor:a,labelCol:l,labelAlign:c,colon:u,required:d,requiredMark:f,tooltip:p,vertical:h}=e,[m]=(0,eC.Z)("Form"),{labelAlign:g,labelCol:v,labelWrap:y,colon:b}=i.useContext(r.q3);if(!o)return null;let w=l||v||{},S=c||g,x="".concat(n,"-item-label"),E=s()(x,"left"===S&&"".concat(x,"-left"),w.className,{["".concat(x,"-wrap")]:!!y}),C=o,_=!0===u||!1!==b&&!1!==u;_&&!h&&"string"==typeof o&&o.trim()&&(C=o.replace(/[:|：]\s*$/,""));let k=eA(p);if(k){let{icon:e=i.createElement(eE,null)}=k,t=eO(k,["icon"]),r=i.createElement(ek.Z,Object.assign({},t),i.cloneElement(e,{className:"".concat(n,"-item-tooltip"),title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));C=i.createElement(i.Fragment,null,C,r)}let O="optional"===f,A="function"==typeof f;A?C=f(C,{required:!!d}):O&&!d&&(C=i.createElement(i.Fragment,null,C,i.createElement("span",{className:"".concat(n,"-item-optional"),title:""},(null==m?void 0:m.optional)||(null===(t=e_.Z.Form)||void 0===t?void 0:t.optional))));let I=s()({["".concat(n,"-item-required")]:d,["".concat(n,"-item-required-mark-optional")]:O||A,["".concat(n,"-item-no-colon")]:!_});return i.createElement(em.Z,Object.assign({},w,{className:E}),i.createElement("label",{htmlFor:a,className:I,title:"string"==typeof o?o:""},C))},eP=n(72190),eT=n(47330),eR=n(12834),eM=n(21075);let eN={success:eP.Z,warning:eR.Z,error:eT.Z,validating:eM.Z};function ej(e){let{children:t,errors:n,warnings:o,hasFeedback:a,validateStatus:l,prefixCls:c,meta:u,noStyle:d}=e,f="".concat(c,"-item"),{feedbackIcons:p}=i.useContext(r.q3),h=W(n,o,u,null,!!a,l),{isFormItemInput:m,status:g,hasFeedback:v,feedbackIcon:y}=i.useContext(r.aM),b=i.useMemo(()=>{var e;let t;if(a){let r=!0!==a&&a.icons||p,l=h&&(null===(e=null==r?void 0:r({status:h,errors:n,warnings:o}))||void 0===e?void 0:e[h]),c=h&&eN[h];t=!1!==l&&c?i.createElement("span",{className:s()("".concat(f,"-feedback-icon"),"".concat(f,"-feedback-icon-").concat(h))},l||i.createElement(c,null)):null}let r={status:h||"",errors:n,warnings:o,hasFeedback:!!a,feedbackIcon:t,isFormItemInput:!0};return d&&(r.status=(null!=h?h:g)||"",r.isFormItemInput=m,r.hasFeedback=!!(null!=a?a:v),r.feedbackIcon=void 0!==a?r.feedbackIcon:y),r},[h,a,d,m,g]);return i.createElement(r.aM.Provider,{value:b},t)}var eD=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function eL(e){let{prefixCls:t,className:n,rootClassName:o,style:a,help:l,errors:c,warnings:u,validateStatus:f,meta:p,hasFeedback:h,hidden:m,children:g,fieldId:v,required:y,isRequired:b,onSubItemMetaChange:w,layout:S}=e,x=eD(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),E="".concat(t,"-item"),{requiredMark:C,vertical:_}=i.useContext(r.q3),k=_||"vertical"===S,O=i.useRef(null),A=d(c),I=d(u),P=null!=l,T=!!(P||c.length||u.length),R=!!O.current&&(0,ed.Z)(O.current),[M,N]=i.useState(null);(0,ef.Z)(()=>{T&&O.current&&N(parseInt(getComputedStyle(O.current).marginBottom,10))},[T,R]);let j=e=>{e||N(null)},D=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return W(e?A:p.errors,e?I:p.warnings,p,"",!!h,f)}(),L=s()(E,n,o,{["".concat(E,"-with-help")]:P||A.length||I.length,["".concat(E,"-has-feedback")]:D&&h,["".concat(E,"-has-success")]:"success"===D,["".concat(E,"-has-warning")]:"warning"===D,["".concat(E,"-has-error")]:"error"===D,["".concat(E,"-is-validating")]:"validating"===D,["".concat(E,"-hidden")]:m,["".concat(E,"-").concat(S)]:S});return i.createElement("div",{className:L,style:a,ref:O},i.createElement(eh.Z,Object.assign({className:"".concat(E,"-row")},(0,ep.Z)(x,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),i.createElement(eI,Object.assign({htmlFor:v},e,{requiredMark:C,required:null!=y?y:b,prefixCls:t,vertical:k})),i.createElement(ey,Object.assign({},e,p,{errors:A,warnings:I,prefixCls:t,status:D,help:l,marginBottom:M,onErrorVisibleChanged:j}),i.createElement(r.qI.Provider,{value:w},i.createElement(ej,{prefixCls:t,meta:p,errors:p.errors,warnings:p.warnings,hasFeedback:h,validateStatus:D},g)))),!!M&&i.createElement("div",{className:"".concat(E,"-margin-offset"),style:{marginBottom:-M}}))}let eB="__SPLIT__";function eZ(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],o=t[n];return r===o||"function"==typeof r||"function"==typeof o})}let eF=i.memo(e=>{let{children:t}=e;return t},(e,t)=>eZ(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function ez(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eU=function(e){let{name:t,noStyle:n,className:a,dependencies:l,prefixCls:c,shouldUpdate:d,rules:f,children:p,required:h,label:m,messageVariables:g,trigger:v="onChange",validateTrigger:y,hidden:b,help:w,layout:S}=e,{getPrefixCls:x}=i.useContext(D.E_),{name:E}=i.useContext(r.q3),C=ei(p),_="function"==typeof C,k=i.useContext(r.qI),{validateTrigger:O}=i.useContext(j.zb),A=void 0!==y?y:O,I=null!=t,P=x("form",c),R=(0,u.Z)(P),[M,N,L]=T(P,R);(0,er.ln)("Form.Item");let B=i.useContext(j.ZM),Z=i.useRef(),[F,z]=ec({}),[U,H]=(0,ee.Z)(()=>ez()),W=e=>{let t=null==B?void 0:B.getKey(e.name);if(H(e.destroy?ez():e,!0),n&&!1!==w&&k){let n=e.name;if(e.destroy)n=Z.current||n;else if(void 0!==t){let[e,r]=t;n=[e].concat((0,o.Z)(r)),Z.current=n}k(e,n)}},$=(e,t)=>{z(n=>{let r=Object.assign({},n),i=[].concat((0,o.Z)(e.name.slice(0,-1)),(0,o.Z)(t)).join(eB);return e.destroy?delete r[i]:r[i]=e,r})},[G,K]=i.useMemo(()=>{let e=(0,o.Z)(U.errors),t=(0,o.Z)(U.warnings);return Object.values(F).forEach(n=>{e.push.apply(e,(0,o.Z)(n.errors||[])),t.push.apply(t,(0,o.Z)(n.warnings||[]))}),[e,t]},[F,U.errors,U.warnings]),Y=eu();function X(t,r,o){return n&&!b?i.createElement(ej,{prefixCls:P,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:U,errors:G,warnings:K,noStyle:!0},t):i.createElement(eL,Object.assign({key:"row"},e,{className:s()(a,L,R,N),prefixCls:P,fieldId:r,isRequired:o,errors:G,warnings:K,meta:U,onSubItemMetaChange:$,layout:S}),t)}if(!I&&!_&&!l)return M(X(C));let Q={};return"string"==typeof m?Q.label=m:t&&(Q.label=String(t)),g&&(Q=Object.assign(Object.assign({},Q),g)),M(i.createElement(j.gN,Object.assign({},e,{messageVariables:Q,trigger:v,validateTrigger:A,onMetaChange:W}),(n,r,a)=>{let s=q(t).length&&r?r.name:[],c=V(s,E),u=void 0!==h?h:!!(null==f?void 0:f.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(a);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1})),p=Object.assign({},n),m=null;if(Array.isArray(C)&&I)m=C;else if(_&&(!(d||l)||I));else if(!l||_||I){if(i.isValidElement(C)){let t=Object.assign(Object.assign({},C.props),p);if(t.id||(t.id=c),w||G.length>0||K.length>0||e.extra){let n=[];(w||G.length>0)&&n.push("".concat(c,"_help")),e.extra&&n.push("".concat(c,"_extra")),t["aria-describedby"]=n.join(" ")}G.length>0&&(t["aria-invalid"]="true"),u&&(t["aria-required"]="true"),(0,et.Yr)(C)&&(t.ref=Y(s,C)),new Set([].concat((0,o.Z)(q(v)),(0,o.Z)(q(A)))).forEach(e=>{t[e]=function(){for(var t,n,r,o,i,a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];null===(r=p[e])||void 0===r||(t=r).call.apply(t,[p].concat(s)),null===(i=(o=C.props)[e])||void 0===i||(n=i).call.apply(n,[o].concat(s))}});let n=[t["aria-required"],t["aria-invalid"],t["aria-describedby"]];m=i.createElement(eF,{control:p,update:C,childProps:n},(0,en.Tm)(C,t))}else m=_&&(d||l)&&!I?C(a):C}return X(m,c,u)}))};eU.useStatus=es;var eH=eU,eq=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eV=e=>{var{prefixCls:t,children:n}=e,o=eq(e,["prefixCls","children"]);let{getPrefixCls:a}=i.useContext(D.E_),s=a("form",t),l=i.useMemo(()=>({prefixCls:s,status:"error"}),[s]);return i.createElement(j.aV,Object.assign({},o),(e,t,o)=>i.createElement(r.Rk.Provider,{value:l},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:o.errors,warnings:o.warnings})))},eW=n(7297);let e$=J;e$.Item=eH,e$.List=eV,e$.ErrorList=N,e$.useForm=K,e$.useFormInstance=eW.Z,e$.useWatch=j.qo,e$.Provider=r.RV,e$.create=()=>{};var eG=e$},57266:function(e,t,n){"use strict";var r=n(44194);t.Z=(0,r.createContext)(void 0)},94528:function(e,t,n){"use strict";let r=(0,n(44194).createContext)({});t.Z=r},27545:function(e,t,n){"use strict";var r=n(44194),o=n(51865),i=n.n(o),a=n(25431),s=n(94528),l=n(43669),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function u(e){return"number"==typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}let d=["xs","sm","md","lg","xl","xxl"],f=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o}=r.useContext(a.E_),{gutter:f,wrap:p}=r.useContext(s.Z),{prefixCls:h,span:m,order:g,offset:v,push:y,pull:b,className:w,children:S,flex:x,style:E}=e,C=c(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),_=n("col",h),[k,O,A]=(0,l.cG)(_),I={},P={};d.forEach(t=>{let n={},r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete C[t],P=Object.assign(Object.assign({},P),{["".concat(_,"-").concat(t,"-").concat(n.span)]:void 0!==n.span,["".concat(_,"-").concat(t,"-order-").concat(n.order)]:n.order||0===n.order,["".concat(_,"-").concat(t,"-offset-").concat(n.offset)]:n.offset||0===n.offset,["".concat(_,"-").concat(t,"-push-").concat(n.push)]:n.push||0===n.push,["".concat(_,"-").concat(t,"-pull-").concat(n.pull)]:n.pull||0===n.pull,["".concat(_,"-rtl")]:"rtl"===o}),n.flex&&(P["".concat(_,"-").concat(t,"-flex")]=!0,I["--".concat(_,"-").concat(t,"-flex")]=u(n.flex))});let T=i()(_,{["".concat(_,"-").concat(m)]:void 0!==m,["".concat(_,"-order-").concat(g)]:g,["".concat(_,"-offset-").concat(v)]:v,["".concat(_,"-push-").concat(y)]:y,["".concat(_,"-pull-").concat(b)]:b},w,P,O,A),R={};if(f&&f[0]>0){let e=f[0]/2;R.paddingLeft=e,R.paddingRight=e}return x&&(R.flex=u(x),!1!==p||R.minWidth||(R.minWidth=0)),k(r.createElement("div",Object.assign({},C,{style:Object.assign(Object.assign(Object.assign({},R),E),I),className:T,ref:t}),S))});t.Z=f},46212:function(e,t,n){"use strict";var r=n(44194),o=n(75232),i=n(45989),a=n(14715);function s(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)({}),n=(0,i.Z)(),s=(0,a.ZP)();return(0,o.Z)(()=>{let r=s.subscribe(r=>{t.current=r,e&&n()});return()=>s.unsubscribe(r)},[]),t.current}t.Z=s},22662:function(e,t,n){"use strict";var r=n(44194),o=n(51865),i=n.n(o),a=n(14715),s=n(25431),l=n(94528),c=n(43669),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function d(e,t){let[n,o]=r.useState("string"==typeof e?e:""),i=()=>{if("string"==typeof e&&o(e),"object"==typeof e)for(let n=0;n<a.c4.length;n++){let r=a.c4[n];if(!t[r])continue;let i=e[r];if(void 0!==i){o(i);return}}};return r.useEffect(()=>{i()},[JSON.stringify(e),t]),n}let f=r.forwardRef((e,t)=>{let{prefixCls:n,justify:o,align:f,className:p,style:h,children:m,gutter:g=0,wrap:v}=e,y=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:b,direction:w}=r.useContext(s.E_),[S,x]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[E,C]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),_=d(f,E),k=d(o,E),O=r.useRef(g),A=(0,a.ZP)();r.useEffect(()=>{let e=A.subscribe(e=>{C(e);let t=O.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&x(e)});return()=>A.unsubscribe(e)},[]);let I=()=>{let e=[void 0,void 0];return(Array.isArray(g)?g:[g,void 0]).forEach((t,n)=>{if("object"==typeof t)for(let r=0;r<a.c4.length;r++){let o=a.c4[r];if(S[o]&&void 0!==t[o]){e[n]=t[o];break}}else e[n]=t}),e},P=b("row",n),[T,R,M]=(0,c.VM)(P),N=I(),j=i()(P,{["".concat(P,"-no-wrap")]:!1===v,["".concat(P,"-").concat(k)]:k,["".concat(P,"-").concat(_)]:_,["".concat(P,"-rtl")]:"rtl"===w},p,R,M),D={},L=null!=N[0]&&N[0]>0?-(N[0]/2):void 0;L&&(D.marginLeft=L,D.marginRight=L);let[B,Z]=N;D.rowGap=Z;let F=r.useMemo(()=>({gutter:[B,Z],wrap:v}),[B,Z,v]);return T(r.createElement(l.Z.Provider,{value:F},r.createElement("div",Object.assign({},y,{className:j,style:Object.assign(Object.assign({},D),h),ref:t}),m)))});t.Z=f},43669:function(e,t,n){"use strict";n.d(t,{VM:function(){return p},cG:function(){return h}});var r=n(82698),o=n(2916),i=n(39564);let a=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},s=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},l=(e,t)=>{let{prefixCls:n,componentCls:r,gridColumns:o}=e,i={};for(let e=o;e>=0;e--)0===e?(i["".concat(r).concat(t,"-").concat(e)]={display:"none"},i["".concat(r,"-push-").concat(e)]={insetInlineStart:"auto"},i["".concat(r,"-pull-").concat(e)]={insetInlineEnd:"auto"},i["".concat(r).concat(t,"-push-").concat(e)]={insetInlineStart:"auto"},i["".concat(r).concat(t,"-pull-").concat(e)]={insetInlineEnd:"auto"},i["".concat(r).concat(t,"-offset-").concat(e)]={marginInlineStart:0},i["".concat(r).concat(t,"-order-").concat(e)]={order:0}):(i["".concat(r).concat(t,"-").concat(e)]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:"0 0 ".concat(e/o*100,"%"),maxWidth:"".concat(e/o*100,"%")}],i["".concat(r).concat(t,"-push-").concat(e)]={insetInlineStart:"".concat(e/o*100,"%")},i["".concat(r).concat(t,"-pull-").concat(e)]={insetInlineEnd:"".concat(e/o*100,"%")},i["".concat(r).concat(t,"-offset-").concat(e)]={marginInlineStart:"".concat(e/o*100,"%")},i["".concat(r).concat(t,"-order-").concat(e)]={order:e});return i["".concat(r).concat(t,"-flex")]={flex:"var(--".concat(n).concat(t,"-flex)")},i},c=(e,t)=>l(e,t),u=(e,t,n)=>({["@media (min-width: ".concat((0,r.bf)(t),")")]:Object.assign({},c(e,n))}),d=()=>({}),f=()=>({}),p=(0,o.I$)("Grid",a,d),h=(0,o.I$)("Grid",e=>{let t=(0,i.IX)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[s(t),c(t,""),c(t,"-xs"),Object.keys(n).map(e=>u(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},f)},97326:function(e,t,n){"use strict";n.d(t,{Z:function(){return e_}});var r=n(44194),o=n(4999),i=n(27820),a=n(45837),s=n(72654),l=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:a.Z}))},c=r.forwardRef(l),u=n(51865),d=n.n(u),f=n(52986),p=n(24335),h=n(7732),m=n(92486),g=n(10342),v=n(77009);function y(){return"function"==typeof BigInt}function b(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function w(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),i=o[0]||"0",a=o[1]||"0";"0"===i&&"0"===a&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:i,decimalStr:a,fullStr:"".concat(s).concat(r)}}function S(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function x(e){var t=String(e);if(S(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return null!=r&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&C(t)?t.length-t.indexOf(".")-1:0}function E(e){var t=String(e);if(S(e)){if(e>Number.MAX_SAFE_INTEGER)return String(y()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String(y()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);t=e.toFixed(x(t))}return w(t).fullStr}function C(e){return"number"==typeof e?!Number.isNaN(e):!!e&&(/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e))}var _=function(){function e(t){if((0,g.Z)(this,e),(0,f.Z)(this,"origin",""),(0,f.Z)(this,"negative",void 0),(0,f.Z)(this,"integer",void 0),(0,f.Z)(this,"decimal",void 0),(0,f.Z)(this,"decimalLen",void 0),(0,f.Z)(this,"empty",void 0),(0,f.Z)(this,"nan",void 0),b(t)){this.empty=!0;return}if(this.origin=String(t),"-"===t||Number.isNaN(t)){this.nan=!0;return}var n=t;if(S(n)&&(n=Number(n)),C(n="string"==typeof n?n:E(n))){var r=w(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var i=o[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}return(0,v.Z)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){return BigInt("".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0")))}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"cal",value:function(t,n,r){var o=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),i=n(this.alignDecimal(o),t.alignDecimal(o)).toString(),a=r(o),s=w(i),l=s.negativeStr,c=s.trimStr,u="".concat(l).concat(c.padStart(a+1,"0"));return new e("".concat(u.slice(0,-a),".").concat(u.slice(-a)))}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,function(e,t){return e+t},function(e){return e})}},{key:"multi",value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,function(e,t){return e*t},function(e){return 2*e})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":w("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),k=function(){function e(t){if((0,g.Z)(this,e),(0,f.Z)(this,"origin",""),(0,f.Z)(this,"number",void 0),(0,f.Z)(this,"empty",void 0),b(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return(0,v.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var o=Math.max(x(this.number),x(n));return new e(r.toFixed(o))}},{key:"multi",value:function(t){var n=Number(t);if(this.isInvalidate()||Number.isNaN(n))return new e(NaN);var r=this.number*n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var o=Math.max(x(this.number),x(n));return new e(r.toFixed(o))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toNumber()===(null==e?void 0:e.toNumber())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":E(this.number):this.origin}}]),e}();function O(e){return y()?new _(e):new k(e)}function A(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=w(e),i=o.negativeStr,a=o.integerStr,s=o.decimalStr,l="".concat(t).concat(s),c="".concat(i).concat(a);if(n>=0){var u=Number(s[n]);return u>=5&&!r?A(O(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?c:"".concat(c).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return".0"===l?c:"".concat(c).concat(l)}var I=O,P=n(26874),T=n(75232);function R(e,t){return"undefined"!=typeof Proxy&&e?new Proxy(e,{get:function(e,n){if(t[n])return t[n];var r=e[n];return"function"==typeof r?r.bind(e):r}}):e}var M=n(64198),N=n(6103);function j(e,t){var n=(0,r.useRef)(null);return[function(){try{var t=e.selectionStart,r=e.selectionEnd,o=e.value,i=o.substring(0,t),a=o.substring(r);n.current={start:t,end:r,value:o,beforeTxt:i,afterTxt:a}}catch(e){}},function(){if(e&&n.current&&t)try{var r=e.value,o=n.current,i=o.beforeTxt,a=o.afterTxt,s=o.start,l=r.length;if(r.endsWith(a))l=r.length-n.current.afterTxt.length;else if(r.startsWith(i))l=i.length;else{var c=i[s-1],u=r.indexOf(c,s-1);-1!==u&&(l=u+1)}e.setSelectionRange(l,l)}catch(e){(0,N.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(e.message))}}]}var D=n(97719),L=function(){var e=(0,r.useState)(!1),t=(0,h.Z)(e,2),n=t[0],o=t[1];return(0,T.Z)(function(){o((0,D.Z)())},[]),n},B=n(30716),Z=200,F=600;function z(e){var t=e.prefixCls,n=e.upNode,o=e.downNode,a=e.upDisabled,s=e.downDisabled,l=e.onStep,c=r.useRef(),u=r.useRef([]),p=r.useRef();p.current=l;var h=function(){clearTimeout(c.current)},m=function(e,t){function n(){p.current(t),c.current=setTimeout(n,Z)}e.preventDefault(),h(),p.current(t),c.current=setTimeout(n,F)};if(r.useEffect(function(){return function(){h(),u.current.forEach(function(e){return B.Z.cancel(e)})}},[]),L())return null;var g="".concat(t,"-handler"),v=d()(g,"".concat(g,"-up"),(0,f.Z)({},"".concat(g,"-up-disabled"),a)),y=d()(g,"".concat(g,"-down"),(0,f.Z)({},"".concat(g,"-down-disabled"),s)),b=function(){return u.current.push((0,B.Z)(h))},w={unselectable:"on",role:"button",onMouseUp:b,onMouseLeave:b};return r.createElement("div",{className:"".concat(g,"-wrap")},r.createElement("span",(0,i.Z)({},w,{onMouseDown:function(e){m(e,!0)},"aria-label":"Increase Value","aria-disabled":a,className:v}),n||r.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),r.createElement("span",(0,i.Z)({},w,{onMouseDown:function(e){m(e,!1)},"aria-label":"Decrease Value","aria-disabled":s,className:y}),o||r.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function U(e){var t="number"==typeof e?E(e):w(e).fullStr;return t.includes(".")?w(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var H=n(16745),q=function(){var e=(0,r.useRef)(0),t=function(){B.Z.cancel(e.current)};return(0,r.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,B.Z)(function(){n()})}},V=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],W=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],$=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},G=function(e){var t=I(e);return t.isInvalidate()?null:t},K=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,a=e.style,s=e.min,l=e.max,c=e.step,u=void 0===c?1:c,g=e.defaultValue,v=e.value,y=e.disabled,b=e.readOnly,w=e.upHandler,S=e.downHandler,_=e.keyboard,k=e.changeOnWheel,O=void 0!==k&&k,P=e.controls,R=void 0===P||P,N=(e.classNames,e.stringMode),D=e.parser,L=e.formatter,B=e.precision,Z=e.decimalSeparator,F=e.onChange,H=e.onInput,W=e.onPressEnter,K=e.onStep,Y=e.changeOnBlur,X=void 0===Y||Y,Q=e.domRef,J=(0,m.Z)(e,V),ee="".concat(n,"-input"),et=r.useRef(null),en=r.useState(!1),er=(0,h.Z)(en,2),eo=er[0],ei=er[1],ea=r.useRef(!1),es=r.useRef(!1),el=r.useRef(!1),ec=r.useState(function(){return I(null!=v?v:g)}),eu=(0,h.Z)(ec,2),ed=eu[0],ef=eu[1];function ep(e){void 0===v&&ef(e)}var eh=r.useCallback(function(e,t){return t?void 0:B>=0?B:Math.max(x(e),x(u))},[B,u]),em=r.useCallback(function(e){var t=String(e);if(D)return D(t);var n=t;return Z&&(n=n.replace(Z,".")),n.replace(/[^\w.-]+/g,"")},[D,Z]),eg=r.useRef(""),ev=r.useCallback(function(e,t){if(L)return L(e,{userTyping:t,input:String(eg.current)});var n="number"==typeof e?E(e):e;if(!t){var r=eh(n,t);C(n)&&(Z||r>=0)&&(n=A(n,Z||".",r))}return n},[L,eh,Z]),ey=r.useState(function(){var e=null!=g?g:v;return ed.isInvalidate()&&["string","number"].includes((0,p.Z)(e))?Number.isNaN(e)?"":e:ev(ed.toString(),!1)}),eb=(0,h.Z)(ey,2),ew=eb[0],eS=eb[1];function ex(e,t){eS(ev(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}eg.current=ew;var eE=r.useMemo(function(){return G(l)},[l,B]),eC=r.useMemo(function(){return G(s)},[s,B]),e_=r.useMemo(function(){return!(!eE||!ed||ed.isInvalidate())&&eE.lessEquals(ed)},[eE,ed]),ek=r.useMemo(function(){return!(!eC||!ed||ed.isInvalidate())&&ed.lessEquals(eC)},[eC,ed]),eO=j(et.current,eo),eA=(0,h.Z)(eO,2),eI=eA[0],eP=eA[1],eT=function(e){return eE&&!e.lessEquals(eE)?eE:eC&&!eC.lessEquals(e)?eC:null},eR=function(e){return!eT(e)},eM=function(e,t){var n=e,r=eR(n)||n.isEmpty();if(n.isEmpty()||t||(n=eT(n)||n,r=!0),!b&&!y&&r){var o=n.toString(),i=eh(o,t);return i>=0&&!eR(n=I(A(o,".",i)))&&(n=I(A(o,".",i,!0))),n.equals(ed)||(ep(n),null==F||F(n.isEmpty()?null:$(N,n)),void 0===v&&ex(n,t)),n}return ed},eN=q(),ej=function e(t){if(eI(),eg.current=t,eS(t),!es.current){var n=I(em(t));n.isNaN()||eM(n,!0)}null==H||H(t),eN(function(){var n=t;D||(n=t.replace(/。/g,".")),n!==t&&e(n)})},eD=function(){es.current=!0},eL=function(){es.current=!1,ej(et.current.value)},eB=function(e){ej(e.target.value)},eZ=function(e){if((!e||!e_)&&(e||!ek)){ea.current=!1;var t,n=I(el.current?U(u):u);e||(n=n.negate());var r=eM((ed||I(0)).add(n.toString()),!1);null==K||K($(N,r),{offset:el.current?U(u):u,type:e?"up":"down"}),null===(t=et.current)||void 0===t||t.focus()}},eF=function(e){var t,n=I(em(ew));t=n.isNaN()?eM(ed,e):eM(n,e),void 0!==v?ex(ed,!1):t.isNaN()||ex(t,!1)},ez=function(){ea.current=!0},eU=function(e){var t=e.key,n=e.shiftKey;ea.current=!0,el.current=n,"Enter"===t&&(es.current||(ea.current=!1),eF(!1),null==W||W(e)),!1!==_&&!es.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(eZ("Up"===t||"ArrowUp"===t),e.preventDefault())},eH=function(){ea.current=!1,el.current=!1};r.useEffect(function(){if(O&&eo){var e=function(e){eZ(e.deltaY<0),e.preventDefault()},t=et.current;if(t)return t.addEventListener("wheel",e,{passive:!1}),function(){return t.removeEventListener("wheel",e)}}});var eq=function(){X&&eF(!1),ei(!1),ea.current=!1};return(0,T.o)(function(){ed.isInvalidate()||ex(ed,!1)},[B,L]),(0,T.o)(function(){var e=I(v);ef(e);var t=I(em(ew));e.equals(t)&&ea.current&&!L||ex(e,ea.current)},[v]),(0,T.o)(function(){L&&eP()},[ew]),r.createElement("div",{ref:Q,className:d()(n,o,(0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)((0,f.Z)({},"".concat(n,"-focused"),eo),"".concat(n,"-disabled"),y),"".concat(n,"-readonly"),b),"".concat(n,"-not-a-number"),ed.isNaN()),"".concat(n,"-out-of-range"),!ed.isInvalidate()&&!eR(ed))),style:a,onFocus:function(){ei(!0)},onBlur:eq,onKeyDown:eU,onKeyUp:eH,onCompositionStart:eD,onCompositionEnd:eL,onBeforeInput:ez},R&&r.createElement(z,{prefixCls:n,upNode:w,downNode:S,upDisabled:e_,downDisabled:ek,onStep:eZ}),r.createElement("div",{className:"".concat(ee,"-wrap")},r.createElement("input",(0,i.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":s,"aria-valuemax":l,"aria-valuenow":ed.isInvalidate()?null:ed.toString(),step:u},J,{ref:(0,M.sQ)(et,t),className:ee,value:ew,onChange:eB,disabled:y,readOnly:b}))))}),Y=r.forwardRef(function(e,t){var n=e.disabled,o=e.style,a=e.prefixCls,s=void 0===a?"rc-input-number":a,l=e.value,c=e.prefix,u=e.suffix,d=e.addonBefore,f=e.addonAfter,p=e.className,h=e.classNames,g=(0,m.Z)(e,W),v=r.useRef(null),y=r.useRef(null),b=r.useRef(null),w=function(e){b.current&&(0,H.nH)(b.current,e)};return r.useImperativeHandle(t,function(){return R(b.current,{nativeElement:v.current.nativeElement||y.current})}),r.createElement(P.Q,{className:p,triggerFocus:w,prefixCls:s,value:l,disabled:n,style:o,prefix:c,suffix:u,addonAfter:f,addonBefore:d,classNames:h,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:v},r.createElement(K,(0,i.Z)({prefixCls:s,disabled:n,ref:b,domRef:y,className:null==h?void 0:h.input},g)))}),X=n(80265),Q=n(38283),J=n(25431),ee=n(22904),et=n(1849),en=n(55948),er=n(3690),eo=n(10799),ei=n(83500),ea=n(18624),es=n(82698),el=n(29323),ec=n(66743),eu=n(63479),ed=n(61885),ef=n(22534),ep=n(2916),eh=n(39564),em=n(66671);let eg=e=>{var t;let n=null!==(t=e.handleVisible)&&void 0!==t?t:"auto";return Object.assign(Object.assign({},(0,ec.T)(e)),{controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new em.C(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:!0===n?1:0})},ev=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:o}=e,i="lg"===t?o:r;return{["&-".concat(t)]:{["".concat(n,"-handler-wrap")]:{borderStartEndRadius:i,borderEndEndRadius:i},["".concat(n,"-handler-up")]:{borderStartEndRadius:i},["".concat(n,"-handler-down")]:{borderEndEndRadius:i}}}},ey=e=>{let{componentCls:t,lineWidth:n,lineType:r,borderRadius:o,inputFontSizeSM:i,inputFontSizeLG:a,controlHeightLG:s,controlHeightSM:l,colorError:c,paddingInlineSM:u,paddingBlockSM:d,paddingBlockLG:f,paddingInlineLG:p,colorTextDescription:h,motionDurationMid:m,handleHoverColor:g,paddingInline:v,paddingBlock:y,handleBg:b,handleActiveBg:w,colorTextDisabled:S,borderRadiusSM:x,borderRadiusLG:E,controlWidth:C,handleOpacity:_,handleBorderColor:k,filledHandleBg:O,lineHeightLG:A,calc:I}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ed.Wf)(e)),(0,el.ik)(e)),{display:"inline-block",width:C,margin:0,padding:0,borderRadius:o}),(0,eu.qG)(e,{["".concat(t,"-handler-wrap")]:{background:b,["".concat(t,"-handler-down")]:{borderBlockStart:"".concat((0,es.bf)(n)," ").concat(r," ").concat(k)}}})),(0,eu.H8)(e,{["".concat(t,"-handler-wrap")]:{background:O,["".concat(t,"-handler-down")]:{borderBlockStart:"".concat((0,es.bf)(n)," ").concat(r," ").concat(k)}},"&:focus-within":{["".concat(t,"-handler-wrap")]:{background:b}}})),(0,eu.Mu)(e)),{"&-rtl":{direction:"rtl",["".concat(t,"-input")]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,lineHeight:A,borderRadius:E,["input".concat(t,"-input")]:{height:I(s).sub(I(n).mul(2)).equal(),padding:"".concat((0,es.bf)(f)," ").concat((0,es.bf)(p))}},"&-sm":{padding:0,fontSize:i,borderRadius:x,["input".concat(t,"-input")]:{height:I(l).sub(I(n).mul(2)).equal(),padding:"".concat((0,es.bf)(d)," ").concat((0,es.bf)(u))}},"&-out-of-range":{["".concat(t,"-input-wrap")]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ed.Wf)(e)),(0,el.s7)(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",["".concat(t,"-affix-wrapper")]:{width:"100%"},"&-lg":{["".concat(t,"-group-addon")]:{borderRadius:E,fontSize:e.fontSizeLG}},"&-sm":{["".concat(t,"-group-addon")]:{borderRadius:x}}},(0,eu.ir)(e)),(0,eu.S5)(e)),{["&:not(".concat(t,"-compact-first-item):not(").concat(t,"-compact-last-item)").concat(t,"-compact-item")]:{["".concat(t,", ").concat(t,"-group-addon")]:{borderRadius:0}},["&:not(".concat(t,"-compact-last-item)").concat(t,"-compact-first-item")]:{["".concat(t,", ").concat(t,"-group-addon")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&:not(".concat(t,"-compact-first-item)").concat(t,"-compact-last-item")]:{["".concat(t,", ").concat(t,"-group-addon")]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),["&-disabled ".concat(t,"-input")]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ed.Wf)(e)),{width:"100%",padding:"".concat((0,es.bf)(y)," ").concat((0,es.bf)(v)),textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:"all ".concat(m," linear"),appearance:"textfield",fontSize:"inherit"}),(0,el.nz)(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({["&:hover ".concat(t,"-handler-wrap, &-focused ").concat(t,"-handler-wrap")]:{opacity:1},["".concat(t,"-handler-wrap")]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,opacity:_,display:"flex",flexDirection:"column",alignItems:"stretch",transition:"opacity ".concat(m," linear ").concat(m),["".concat(t,"-handler")]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",["\n              ".concat(t,"-handler-up-inner,\n              ").concat(t,"-handler-down-inner\n            ")]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},["".concat(t,"-handler")]:{height:"50%",overflow:"hidden",color:h,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:"".concat((0,es.bf)(n)," ").concat(r," ").concat(k),transition:"all ".concat(m," linear"),"&:active":{background:w},"&:hover":{height:"60%",["\n              ".concat(t,"-handler-up-inner,\n              ").concat(t,"-handler-down-inner\n            ")]:{color:g}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ed.Ro)()),{color:h,transition:"all ".concat(m," linear"),userSelect:"none"})},["".concat(t,"-handler-up")]:{borderStartEndRadius:o},["".concat(t,"-handler-down")]:{borderEndEndRadius:o}},ev(e,"lg")),ev(e,"sm")),{"&-disabled, &-readonly":{["".concat(t,"-handler-wrap")]:{display:"none"},["".concat(t,"-input")]:{color:"inherit"}},["\n          ".concat(t,"-handler-up-disabled,\n          ").concat(t,"-handler-down-disabled\n        ")]:{cursor:"not-allowed"},["\n          ".concat(t,"-handler-up-disabled:hover &-handler-up-inner,\n          ").concat(t,"-handler-down-disabled:hover &-handler-down-inner\n        ")]:{color:S}})}]},eb=e=>{let{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:o,controlWidth:i,borderRadiusLG:a,borderRadiusSM:s,paddingInlineLG:l,paddingInlineSM:c,paddingBlockLG:u,paddingBlockSM:d}=e;return{["".concat(t,"-affix-wrapper")]:Object.assign(Object.assign({["input".concat(t,"-input")]:{padding:"".concat((0,es.bf)(n)," 0")}},(0,el.ik)(e)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a,paddingInlineStart:l,["input".concat(t,"-input")]:{padding:"".concat((0,es.bf)(u)," 0")}},"&-sm":{borderRadius:s,paddingInlineStart:c,["input".concat(t,"-input")]:{padding:"".concat((0,es.bf)(d)," 0")}},["&:not(".concat(t,"-disabled):hover")]:{zIndex:1},"&-focused, &:focus":{zIndex:1},["&-disabled > ".concat(t,"-disabled")]:{background:"transparent"},["> div".concat(t)]:{width:"100%",border:"none",outline:"none",["&".concat(t,"-focused")]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},["".concat(t,"-handler-wrap")]:{zIndex:2},[t]:{color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:o}}})}};var ew=(0,ep.I$)("InputNumber",e=>{let t=(0,eh.IX)(e,(0,ec.e)(e));return[ey(t),eb(t),(0,ef.c)(t)]},eg,{unitless:{handleOpacity:!0}}),eS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ex=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:i}=r.useContext(J.E_),a=r.useRef(null);r.useImperativeHandle(t,()=>a.current);let{className:s,rootClassName:l,size:u,disabled:f,prefixCls:p,addonBefore:h,addonAfter:m,prefix:g,bordered:v,readOnly:y,status:b,controls:w,variant:S}=e,x=eS(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls","variant"]),E=n("input-number",p),C=(0,en.Z)(E),[_,k,O]=ew(E,C),{compactSize:A,compactItemClassnames:I}=(0,ea.ri)(E,i),P=r.createElement(c,{className:"".concat(E,"-handler-up-inner")}),T=r.createElement(o.Z,{className:"".concat(E,"-handler-down-inner")}),R="boolean"==typeof w?w:void 0;"object"==typeof w&&(P=void 0===w.upIcon?P:r.createElement("span",{className:"".concat(E,"-handler-up-inner")},w.upIcon),T=void 0===w.downIcon?T:r.createElement("span",{className:"".concat(E,"-handler-down-inner")},w.downIcon));let{hasFeedback:M,status:N,isFormItemInput:j,feedbackIcon:D}=r.useContext(eo.aM),L=(0,Q.F)(N,b),B=(0,er.Z)(e=>{var t;return null!==(t=null!=u?u:A)&&void 0!==t?t:e}),Z=r.useContext(et.Z),F=null!=f?f:Z,[z,U]=(0,ei.Z)("inputNumber",S,v),H=M&&r.createElement(r.Fragment,null,D),q=d()({["".concat(E,"-lg")]:"large"===B,["".concat(E,"-sm")]:"small"===B,["".concat(E,"-rtl")]:"rtl"===i,["".concat(E,"-in-form-item")]:j},k),V="".concat(E,"-group");return _(r.createElement(Y,Object.assign({ref:a,disabled:F,className:d()(O,C,s,l,I),upHandler:P,downHandler:T,prefixCls:E,readOnly:y,controls:R,prefix:g,suffix:H,addonBefore:h&&r.createElement(X.Z,{form:!0,space:!0},h),addonAfter:m&&r.createElement(X.Z,{form:!0,space:!0},m),classNames:{input:q,variant:d()({["".concat(E,"-").concat(z)]:U},(0,Q.Z)(E,L,M)),affixWrapper:d()({["".concat(E,"-affix-wrapper-sm")]:"small"===B,["".concat(E,"-affix-wrapper-lg")]:"large"===B,["".concat(E,"-affix-wrapper-rtl")]:"rtl"===i},k),wrapper:d()({["".concat(V,"-rtl")]:"rtl"===i},k),groupWrapper:d()({["".concat(E,"-group-wrapper-sm")]:"small"===B,["".concat(E,"-group-wrapper-lg")]:"large"===B,["".concat(E,"-group-wrapper-rtl")]:"rtl"===i,["".concat(E,"-group-wrapper-").concat(z)]:U},(0,Q.Z)("".concat(E,"-group-wrapper"),L,M),k)}},x)))}),eE=ex,eC=e=>r.createElement(ee.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},r.createElement(ex,Object.assign({},e)));eE._InternalPanelDoNotUseOrYouWillBeFired=eC;var e_=eE},46524:function(e,t,n){"use strict";n.d(t,{Z:function(){return E},n:function(){return x}});var r=n(44194),o=n(51865),i=n.n(o),a=n(26874),s=n(64198),l=n(80265),c=n(32561),u=n(38283),d=n(25431),f=n(1849),p=n(55948),h=n(3690),m=n(10799),g=n(83500),v=n(18624),y=n(63287),b=n(29323);function w(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function x(e,t){if(!e)return;e.focus(t);let{cursor:n}=t||{};if(n){let t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}var E=(0,r.forwardRef)((e,t)=>{var n;let{prefixCls:o,bordered:x=!0,status:E,size:C,disabled:_,onBlur:k,onFocus:O,suffix:A,allowClear:I,addonAfter:P,addonBefore:T,className:R,style:M,styles:N,rootClassName:j,onChange:D,classNames:L,variant:B}=e,Z=S(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:F,direction:z,input:U}=r.useContext(d.E_),H=F("input",o),q=(0,r.useRef)(null),V=(0,p.Z)(H),[W,$,G]=(0,b.ZP)(H,V),{compactSize:K,compactItemClassnames:Y}=(0,v.ri)(H,z),X=(0,h.Z)(e=>{var t;return null!==(t=null!=C?C:K)&&void 0!==t?t:e}),Q=r.useContext(f.Z),J=null!=_?_:Q,{status:ee,hasFeedback:et,feedbackIcon:en}=(0,r.useContext)(m.aM),er=(0,u.F)(ee,E),eo=w(e)||!!et;(0,r.useRef)(eo);let ei=(0,y.Z)(q,!0),ea=e=>{ei(),null==k||k(e)},es=e=>{ei(),null==O||O(e)},el=e=>{ei(),null==D||D(e)},ec=(et||A)&&r.createElement(r.Fragment,null,A,et&&en),eu=(0,c.Z)(null!=I?I:null==U?void 0:U.allowClear),[ed,ef]=(0,g.Z)("input",B,x);return W(r.createElement(a.Z,Object.assign({ref:(0,s.sQ)(t,q),prefixCls:H,autoComplete:null==U?void 0:U.autoComplete},Z,{disabled:J,onBlur:ea,onFocus:es,style:Object.assign(Object.assign({},null==U?void 0:U.style),M),styles:Object.assign(Object.assign({},null==U?void 0:U.styles),N),suffix:ec,allowClear:eu,className:i()(R,j,G,V,Y,null==U?void 0:U.className),onChange:el,addonBefore:T&&r.createElement(l.Z,{form:!0,space:!0},T),addonAfter:P&&r.createElement(l.Z,{form:!0,space:!0},P),classNames:Object.assign(Object.assign(Object.assign({},L),null==U?void 0:U.classNames),{input:i()({["".concat(H,"-sm")]:"small"===X,["".concat(H,"-lg")]:"large"===X,["".concat(H,"-rtl")]:"rtl"===z},null==L?void 0:L.input,null===(n=null==U?void 0:U.classNames)||void 0===n?void 0:n.input,$),variant:i()({["".concat(H,"-").concat(ed)]:ef},(0,u.Z)(H,er)),affixWrapper:i()({["".concat(H,"-affix-wrapper-sm")]:"small"===X,["".concat(H,"-affix-wrapper-lg")]:"large"===X,["".concat(H,"-affix-wrapper-rtl")]:"rtl"===z},$),wrapper:i()({["".concat(H,"-group-rtl")]:"rtl"===z},$),groupWrapper:i()({["".concat(H,"-group-wrapper-sm")]:"small"===X,["".concat(H,"-group-wrapper-lg")]:"large"===X,["".concat(H,"-group-wrapper-rtl")]:"rtl"===z,["".concat(H,"-group-wrapper-").concat(ed)]:ef},(0,u.Z)("".concat(H,"-group-wrapper"),er,et),$)})})))})},81203:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r,o=n(44194),i=n(51865),a=n.n(i),s=n(27820),l=n(52986),c=n(33581),u=n(70826),d=n(7732),f=n(92486),p=n(26874),h=n(88966),m=n(16745),g=n(45571),v=n(24335),y=n(60118),b=n(75232),w=n(30716),S="\n  min-height:0 !important;\n  max-height:none !important;\n  height:0 !important;\n  visibility:hidden !important;\n  overflow:hidden !important;\n  position:absolute !important;\n  z-index:-1000 !important;\n  top:0 !important;\n  right:0 !important;\n  pointer-events: none !important;\n",x=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],E={};function C(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&E[n])return E[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s={sizingStyle:x.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(E[n]=s),s}function _(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var a=C(e,n),s=a.paddingSize,l=a.borderSize,c=a.boxSizing,u=a.sizingStyle;r.setAttribute("style","".concat(u,";").concat(S)),r.value=e.value||e.placeholder||"";var d=void 0,f=void 0,p=r.scrollHeight;if("border-box"===c?p+=l:"content-box"===c&&(p-=s),null!==o||null!==i){r.value=" ";var h=r.scrollHeight-s;null!==o&&(d=h*o,"border-box"===c&&(d=d+s+l),p=Math.max(d,p)),null!==i&&(f=h*i,"border-box"===c&&(f=f+s+l),t=p>f?"":"hidden",p=Math.min(f,p))}var m={height:p,overflowY:t,resize:"none"};return d&&(m.minHeight=d),f&&(m.maxHeight=f),m}var k=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],O=0,A=1,I=2,P=o.forwardRef(function(e,t){var n=e,r=n.prefixCls,i=(n.onPressEnter,n.defaultValue),u=n.value,p=n.autoSize,h=n.onResize,m=n.className,S=n.style,x=n.disabled,E=n.onChange,C=(n.onInternalAutoSize,(0,f.Z)(n,k)),P=(0,g.Z)(i,{value:u,postState:function(e){return null!=e?e:""}}),T=(0,d.Z)(P,2),R=T[0],M=T[1],N=function(e){M(e.target.value),null==E||E(e)},j=o.useRef();o.useImperativeHandle(t,function(){return{textArea:j.current}});var D=o.useMemo(function(){return p&&"object"===(0,v.Z)(p)?[p.minRows,p.maxRows]:[]},[p]),L=(0,d.Z)(D,2),B=L[0],Z=L[1],F=!!p,z=function(){try{if(document.activeElement===j.current){var e=j.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;j.current.setSelectionRange(t,n),j.current.scrollTop=r}}catch(e){}},U=o.useState(I),H=(0,d.Z)(U,2),q=H[0],V=H[1],W=o.useState(),$=(0,d.Z)(W,2),G=$[0],K=$[1],Y=function(){V(O)};(0,b.Z)(function(){F&&Y()},[u,B,Z,F]),(0,b.Z)(function(){if(q===O)V(A);else if(q===A){var e=_(j.current,!1,B,Z);V(I),K(e)}else z()},[q]);var X=o.useRef(),Q=function(){w.Z.cancel(X.current)},J=function(e){q===I&&(null==h||h(e),p&&(Q(),X.current=(0,w.Z)(function(){Y()})))};o.useEffect(function(){return Q},[]);var ee=F?G:null,et=(0,c.Z)((0,c.Z)({},S),ee);return(q===O||q===A)&&(et.overflowY="hidden",et.overflowX="hidden"),o.createElement(y.Z,{onResize:J,disabled:!(p||h)},o.createElement("textarea",(0,s.Z)({},C,{ref:j,style:et,className:a()(r,m,(0,l.Z)({},"".concat(r,"-disabled"),x)),disabled:x,value:R,onChange:N})))}),T=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","readOnly"],R=o.forwardRef(function(e,t){var n,r,i=e.defaultValue,v=e.value,y=e.onFocus,b=e.onBlur,w=e.onChange,S=e.allowClear,x=e.maxLength,E=e.onCompositionStart,C=e.onCompositionEnd,_=e.suffix,k=e.prefixCls,O=void 0===k?"rc-textarea":k,A=e.showCount,I=e.count,R=e.className,M=e.style,N=e.disabled,j=e.hidden,D=e.classNames,L=e.styles,B=e.onResize,Z=e.readOnly,F=(0,f.Z)(e,T),z=(0,g.Z)(i,{value:v,defaultValue:i}),U=(0,d.Z)(z,2),H=U[0],q=U[1],V=null==H?"":String(H),W=o.useState(!1),$=(0,d.Z)(W,2),G=$[0],K=$[1],Y=o.useRef(!1),X=o.useState(null),Q=(0,d.Z)(X,2),J=Q[0],ee=Q[1],et=(0,o.useRef)(null),en=(0,o.useRef)(null),er=function(){var e;return null===(e=en.current)||void 0===e?void 0:e.textArea},eo=function(){er().focus()};(0,o.useImperativeHandle)(t,function(){var e;return{resizableTextArea:en.current,focus:eo,blur:function(){er().blur()},nativeElement:(null===(e=et.current)||void 0===e?void 0:e.nativeElement)||er()}}),(0,o.useEffect)(function(){K(function(e){return!N&&e})},[N]);var ei=o.useState(null),ea=(0,d.Z)(ei,2),es=ea[0],el=ea[1];o.useEffect(function(){if(es){var e;(e=er()).setSelectionRange.apply(e,(0,u.Z)(es))}},[es]);var ec=(0,h.Z)(I,A),eu=null!==(n=ec.max)&&void 0!==n?n:x,ed=Number(eu)>0,ef=ec.strategy(V),ep=!!eu&&ef>eu,eh=function(e,t){var n=t;!Y.current&&ec.exceedFormatter&&ec.max&&ec.strategy(t)>ec.max&&(n=ec.exceedFormatter(t,{max:ec.max}),t!==n&&el([er().selectionStart||0,er().selectionEnd||0])),q(n),(0,m.rJ)(e.currentTarget,e,w,n)},em=function(e){Y.current=!0,null==E||E(e)},eg=function(e){Y.current=!1,eh(e,e.currentTarget.value),null==C||C(e)},ev=function(e){eh(e,e.target.value)},ey=function(e){var t=F.onPressEnter,n=F.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},eb=function(e){K(!0),null==y||y(e)},ew=function(e){K(!1),null==b||b(e)},eS=function(e){q(""),eo(),(0,m.rJ)(er(),e,w)},ex=_;ec.show&&(r=ec.showFormatter?ec.showFormatter({value:V,count:ef,maxLength:eu}):"".concat(ef).concat(ed?" / ".concat(eu):""),ex=o.createElement(o.Fragment,null,ex,o.createElement("span",{className:a()("".concat(O,"-data-count"),null==D?void 0:D.count),style:null==L?void 0:L.count},r)));var eE=function(e){var t;null==B||B(e),null!==(t=er())&&void 0!==t&&t.style.height&&ee(!0)},eC=!F.autoSize&&!A&&!S;return o.createElement(p.Q,{ref:et,value:V,allowClear:S,handleReset:eS,suffix:ex,prefixCls:O,classNames:(0,c.Z)((0,c.Z)({},D),{},{affixWrapper:a()(null==D?void 0:D.affixWrapper,(0,l.Z)((0,l.Z)({},"".concat(O,"-show-count"),A),"".concat(O,"-textarea-allow-clear"),S))}),disabled:N,focused:G,className:a()(R,ep&&"".concat(O,"-out-of-range")),style:(0,c.Z)((0,c.Z)({},M),J&&!eC?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof r?r:void 0}},hidden:j,readOnly:Z},o.createElement(P,(0,s.Z)({},F,{maxLength:x,onKeyDown:ey,onChange:ev,onFocus:eb,onBlur:ew,onCompositionStart:em,onCompositionEnd:eg,className:a()(null==D?void 0:D.textarea),style:(0,c.Z)((0,c.Z)({},null==L?void 0:L.textarea),{},{resize:null==M?void 0:M.resize}),disabled:N,prefixCls:O,onResize:eE,ref:en,readOnly:Z})))}),M=n(32561),N=n(38283),j=n(25431),D=n(1849),L=n(55948),B=n(3690),Z=n(10799),F=n(83500),z=n(46524),U=n(29323),H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},q=(0,o.forwardRef)((e,t)=>{var n,r;let{prefixCls:i,bordered:s=!0,size:l,disabled:c,status:u,allowClear:d,classNames:f,rootClassName:p,className:h,style:m,styles:g,variant:v}=e,y=H(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:b,direction:w,textArea:S}=o.useContext(j.E_),x=(0,B.Z)(l),E=o.useContext(D.Z),C=null!=c?c:E,{status:_,hasFeedback:k,feedbackIcon:O}=o.useContext(Z.aM),A=(0,N.F)(_,u),I=o.useRef(null);o.useImperativeHandle(t,()=>{var e;return{resizableTextArea:null===(e=I.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;(0,z.n)(null===(n=null===(t=I.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=I.current)||void 0===e?void 0:e.blur()}}});let P=b("input",i),T=(0,L.Z)(P),[q,V,W]=(0,U.ZP)(P,T),[$,G]=(0,F.Z)("textArea",v,s),K=(0,M.Z)(null!=d?d:null==S?void 0:S.allowClear);return q(o.createElement(R,Object.assign({autoComplete:null==S?void 0:S.autoComplete},y,{style:Object.assign(Object.assign({},null==S?void 0:S.style),m),styles:Object.assign(Object.assign({},null==S?void 0:S.styles),g),disabled:C,allowClear:K,className:a()(W,T,h,p,null==S?void 0:S.className),classNames:Object.assign(Object.assign(Object.assign({},f),null==S?void 0:S.classNames),{textarea:a()({["".concat(P,"-sm")]:"small"===x,["".concat(P,"-lg")]:"large"===x},V,null==f?void 0:f.textarea,null===(n=null==S?void 0:S.classNames)||void 0===n?void 0:n.textarea),variant:a()({["".concat(P,"-").concat($)]:G},(0,N.Z)(P,A)),affixWrapper:a()("".concat(P,"-textarea-affix-wrapper"),{["".concat(P,"-affix-wrapper-rtl")]:"rtl"===w,["".concat(P,"-affix-wrapper-sm")]:"small"===x,["".concat(P,"-affix-wrapper-lg")]:"large"===x,["".concat(P,"-textarea-show-count")]:e.showCount||(null===(r=e.count)||void 0===r?void 0:r.show)},V)}),prefixCls:P,suffix:k&&o.createElement("span",{className:"".concat(P,"-textarea-suffix")},O),ref:I})))})},63287:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44194);function o(e,t){let n=(0,r.useRef)([]),o=()=>{n.current.push(setTimeout(()=>{var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))}))};return(0,r.useEffect)(()=>(t&&o(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),o}},89653:function(e,t,n){"use strict";n.d(t,{default:function(){return K}});var r=n(44194),o=n(51865),i=n.n(o),a=n(25431),s=n(10799),l=n(29323),c=e=>{let{getPrefixCls:t,direction:n}=(0,r.useContext)(a.E_),{prefixCls:o,className:c}=e,u=t("input-group",o),d=t("input"),[f,p]=(0,l.ZP)(d),h=i()(u,{["".concat(u,"-lg")]:"large"===e.size,["".concat(u,"-sm")]:"small"===e.size,["".concat(u,"-compact")]:e.compact,["".concat(u,"-rtl")]:"rtl"===n},p,c),m=(0,r.useContext)(s.aM),g=(0,r.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return f(r.createElement("span",{className:h,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},r.createElement(s.aM.Provider,{value:g},e.children)))},u=n(46524),d=n(70826),f=n(91324),p=n(11875),h=n(38283),m=n(55948),g=n(3690),v=n(2916),y=n(39564),b=n(66743);let w=e=>{let{componentCls:t,paddingXS:n}=e;return{["".concat(t)]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},["".concat(t,"-input")]:{textAlign:"center",paddingInline:e.paddingXXS},["&".concat(t,"-sm ").concat(t,"-input")]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},["&".concat(t,"-lg ").concat(t,"-input")]:{paddingInline:e.paddingXS}}}};var S=(0,v.I$)(["Input","OTP"],e=>[w((0,y.IX)(e,(0,b.e)(e)))],b.T),x=n(30716),E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},C=r.forwardRef((e,t)=>{let{value:n,onChange:o,onActiveChange:i,index:a,mask:s}=e,l=E(e,["value","onChange","onActiveChange","index","mask"]),c=n&&"string"==typeof s?s:n,d=e=>{o(a,e.target.value)},f=r.useRef(null);r.useImperativeHandle(t,()=>f.current);let p=()=>{(0,x.Z)(()=>{var e;let t=null===(e=f.current)||void 0===e?void 0:e.input;document.activeElement===t&&t&&t.select()})},h=e=>{let{key:t}=e;"ArrowLeft"===t?i(a-1):"ArrowRight"===t&&i(a+1),p()},m=e=>{"Backspace"!==e.key||n||i(a-1),p()};return r.createElement(u.Z,Object.assign({},l,{ref:f,value:c,onInput:d,onFocus:p,onKeyDown:h,onKeyUp:m,onMouseDown:p,onMouseUp:p,type:!0===s?"password":"text"}))}),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function k(e){return(e||"").split("")}var O=r.forwardRef((e,t)=>{let{prefixCls:n,length:o=6,size:l,defaultValue:c,value:u,onChange:v,formatter:y,variant:b,disabled:w,status:x,autoFocus:E,mask:O}=e,A=_(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:I,direction:P}=r.useContext(a.E_),T=I("otp",n),R=(0,p.Z)(A,{aria:!0,data:!0,attr:!0}),M=(0,m.Z)(T),[N,j,D]=S(T,M),L=(0,g.Z)(e=>null!=l?l:e),B=r.useContext(s.aM),Z=(0,h.F)(B.status,x),F=r.useMemo(()=>Object.assign(Object.assign({},B),{status:Z,hasFeedback:!1,feedbackIcon:null}),[B,Z]),z=r.useRef(null),U=r.useRef({});r.useImperativeHandle(t,()=>({focus:()=>{var e;null===(e=U.current[0])||void 0===e||e.focus()},blur:()=>{var e;for(let t=0;t<o;t+=1)null===(e=U.current[t])||void 0===e||e.blur()},nativeElement:z.current}));let H=e=>y?y(e):e,[q,V]=r.useState(k(H(c||"")));r.useEffect(()=>{void 0!==u&&V(k(u))},[u]);let W=(0,f.zX)(e=>{V(e),v&&e.length===o&&e.every(e=>e)&&e.some((e,t)=>q[t]!==e)&&v(e.join(""))}),$=(0,f.zX)((e,t)=>{let n=(0,d.Z)(q);for(let t=0;t<e;t+=1)n[t]||(n[t]="");t.length<=1?n[e]=t:n=n.slice(0,e).concat(k(t)),n=n.slice(0,o);for(let e=n.length-1;e>=0&&!n[e];e-=1)n.pop();return n=k(H(n.map(e=>e||" ").join(""))).map((e,t)=>" "!==e||n[t]?e:n[t])}),G=(e,t)=>{var n;let r=$(e,t),i=Math.min(e+t.length,o-1);i!==e&&(null===(n=U.current[i])||void 0===n||n.focus()),W(r)},K=e=>{var t;null===(t=U.current[e])||void 0===t||t.focus()},Y={variant:b,disabled:w,status:Z,mask:O};return N(r.createElement("div",Object.assign({},R,{ref:z,className:i()(T,{["".concat(T,"-sm")]:"small"===L,["".concat(T,"-lg")]:"large"===L,["".concat(T,"-rtl")]:"rtl"===P},D,j)}),r.createElement(s.aM.Provider,{value:F},Array.from({length:o}).map((e,t)=>{let n="otp-".concat(t),o=q[t]||"";return r.createElement(C,Object.assign({ref:e=>{U.current[t]=e},key:n,index:t,size:L,htmlSize:1,className:"".concat(T,"-input"),onChange:G,value:o,onActiveChange:K,autoFocus:0===t&&E},Y))}))))}),A=n(27820),I=n(42281),P=n(72654),T=function(e,t){return r.createElement(P.Z,(0,A.Z)({},e,{ref:t,icon:I.Z}))},R=r.forwardRef(T),M=n(97989),N=n(76933),j=n(64198),D=n(63287),L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let B=e=>e?r.createElement(M.Z,null):r.createElement(R,null),Z={click:"onClick",hover:"onMouseOver"};var F=r.forwardRef((e,t)=>{let{disabled:n,action:o="click",visibilityToggle:s=!0,iconRender:l=B}=e,c="object"==typeof s&&void 0!==s.visible,[d,f]=(0,r.useState)(()=>!!c&&s.visible),p=(0,r.useRef)(null);r.useEffect(()=>{c&&f(s.visible)},[c,s]);let h=(0,D.Z)(p),m=()=>{n||(d&&h(),f(e=>{var t;let n=!e;return"object"==typeof s&&(null===(t=s.onVisibleChange)||void 0===t||t.call(s,n)),n}))},g=e=>{let t=Z[o]||"",n=l(d),i={[t]:m,className:"".concat(e,"-icon"),key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return r.cloneElement(r.isValidElement(n)?n:r.createElement("span",null,n),i)},{className:v,prefixCls:y,inputPrefixCls:b,size:w}=e,S=L(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:x}=r.useContext(a.E_),E=x("input",b),C=x("input-password",y),_=s&&g(C),k=i()(C,v,{["".concat(C,"-").concat(w)]:!!w}),O=Object.assign(Object.assign({},(0,N.Z)(S,["suffix","iconRender","visibilityToggle"])),{type:d?"text":"password",className:k,prefixCls:E,suffix:_});return w&&(O.size=w),r.createElement(u.Z,Object.assign({ref:(0,j.sQ)(t,p)},O))}),z=n(24663),U=n(85905),H=n(72477),q=n(18624),V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},W=r.forwardRef((e,t)=>{let n;let{prefixCls:o,inputPrefixCls:s,className:l,size:c,suffix:d,enterButton:f=!1,addonAfter:p,loading:h,disabled:m,onSearch:v,onChange:y,onCompositionStart:b,onCompositionEnd:w}=e,S=V(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:x,direction:E}=r.useContext(a.E_),C=r.useRef(!1),_=x("input-search",o),k=x("input",s),{compactSize:O}=(0,q.ri)(_,E),A=(0,g.Z)(e=>{var t;return null!==(t=null!=c?c:O)&&void 0!==t?t:e}),I=r.useRef(null),P=e=>{(null==e?void 0:e.target)&&"click"===e.type&&v&&v(e.target.value,e,{source:"clear"}),null==y||y(e)},T=e=>{var t;document.activeElement===(null===(t=I.current)||void 0===t?void 0:t.input)&&e.preventDefault()},R=e=>{var t,n;v&&v(null===(n=null===(t=I.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},M=e=>{C.current||h||R(e)},N="boolean"==typeof f?r.createElement(z.Z,null):null,D="".concat(_,"-button"),L=f||{},B=L.type&&!0===L.type.__ANT_BUTTON;n=B||"button"===L.type?(0,U.Tm)(L,Object.assign({onMouseDown:T,onClick:e=>{var t,n;null===(n=null===(t=null==L?void 0:L.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),R(e)},key:"enterButton"},B?{className:D,size:A}:{})):r.createElement(H.ZP,{className:D,type:f?"primary":void 0,size:A,disabled:m,key:"enterButton",onMouseDown:T,onClick:R,loading:h,icon:N},f),p&&(n=[n,(0,U.Tm)(p,{key:"addonAfter"})]);let Z=i()(_,{["".concat(_,"-rtl")]:"rtl"===E,["".concat(_,"-").concat(A)]:!!A,["".concat(_,"-with-button")]:!!f},l),F=e=>{C.current=!0,null==b||b(e)},W=e=>{C.current=!1,null==w||w(e)};return r.createElement(u.Z,Object.assign({ref:(0,j.sQ)(I,t),onPressEnter:M},S,{size:A,onCompositionStart:F,onCompositionEnd:W,prefixCls:k,addonAfter:n,suffix:d,onChange:P,className:Z,disabled:m}))}),$=n(81203);let G=u.Z;G.Group=c,G.Search=W,G.TextArea=$.Z,G.Password=F,G.OTP=O;var K=G},29323:function(e,t,n){"use strict";n.d(t,{ik:function(){return p},nz:function(){return u},s7:function(){return h},x0:function(){return f}});var r=n(82698),o=n(61885),i=n(22534),a=n(2916),s=n(39564),l=n(66743),c=n(63479);let u=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=e=>{let{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:"".concat((0,r.bf)(t)," ").concat((0,r.bf)(i)),fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:o}},f=e=>({padding:"".concat((0,r.bf)(e.paddingBlockSM)," ").concat((0,r.bf)(e.paddingInlineSM)),fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),p=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:"".concat((0,r.bf)(e.paddingBlock)," ").concat((0,r.bf)(e.paddingInline)),color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:"all ".concat(e.motionDurationMid)},u(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:"all ".concat(e.motionDurationSlow,", height 0s"),resize:"vertical"},"&-lg":Object.assign({},d(e)),"&-sm":Object.assign({},f(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),h=e=>{let{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},["&-lg ".concat(t,", &-lg > ").concat(t,"-group-addon")]:Object.assign({},d(e)),["&-sm ".concat(t,", &-sm > ").concat(t,"-group-addon")]:Object.assign({},f(e)),["&-lg ".concat(n,"-select-single ").concat(n,"-select-selector")]:{height:e.controlHeightLG},["&-sm ".concat(n,"-select-single ").concat(n,"-select-selector")]:{height:e.controlHeightSM},["> ".concat(t)]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},["".concat(t,"-group")]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:"0 ".concat((0,r.bf)(e.paddingInline)),color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:"all ".concat(e.motionDurationSlow),lineHeight:1,["".concat(n,"-select")]:{margin:"".concat((0,r.bf)(e.calc(e.paddingBlock).add(1).mul(-1).equal())," ").concat((0,r.bf)(e.calc(e.paddingInline).mul(-1).equal())),["&".concat(n,"-select-single:not(").concat(n,"-select-customize-input):not(").concat(n,"-pagination-size-changer)")]:{["".concat(n,"-select-selector")]:{backgroundColor:"inherit",border:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," transparent"),boxShadow:"none"}},"&-open, &-focused":{["".concat(n,"-select-selector")]:{color:e.colorPrimary}}},["".concat(n,"-cascader-picker")]:{margin:"-9px ".concat((0,r.bf)(e.calc(e.paddingInline).mul(-1).equal())),backgroundColor:"transparent",["".concat(n,"-cascader-input")]:{textAlign:"start",border:0,boxShadow:"none"}}}},["".concat(t)]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,["".concat(t,"-search-with-button &")]:{zIndex:0}}},["> ".concat(t,":first-child, ").concat(t,"-group-addon:first-child")]:{borderStartEndRadius:0,borderEndEndRadius:0,["".concat(n,"-select ").concat(n,"-select-selector")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["> ".concat(t,"-affix-wrapper")]:{["&:not(:first-child) ".concat(t)]:{borderStartStartRadius:0,borderEndStartRadius:0},["&:not(:last-child) ".concat(t)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["> ".concat(t,":last-child, ").concat(t,"-group-addon:last-child")]:{borderStartStartRadius:0,borderEndStartRadius:0,["".concat(n,"-select ").concat(n,"-select-selector")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["".concat(t,"-affix-wrapper")]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,["".concat(t,"-search &")]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},["&:not(:first-child), ".concat(t,"-search &:not(:first-child)")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["&".concat(t,"-group-compact")]:Object.assign(Object.assign({display:"block"},(0,o.dF)()),{["".concat(t,"-group-addon, ").concat(t,"-group-wrap, > ").concat(t)]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},["\n        & > ".concat(t,"-affix-wrapper,\n        & > ").concat(t,"-number-affix-wrapper,\n        & > ").concat(n,"-picker-range\n      ")]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},["".concat(t)]:{float:"none"},["& > ".concat(n,"-select > ").concat(n,"-select-selector,\n      & > ").concat(n,"-select-auto-complete ").concat(t,",\n      & > ").concat(n,"-cascader-picker ").concat(t,",\n      & > ").concat(t,"-group-wrapper ").concat(t)]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},["& > ".concat(n,"-select-focused")]:{zIndex:1},["& > ".concat(n,"-select > ").concat(n,"-select-arrow")]:{zIndex:1},["& > *:first-child,\n      & > ".concat(n,"-select:first-child > ").concat(n,"-select-selector,\n      & > ").concat(n,"-select-auto-complete:first-child ").concat(t,",\n      & > ").concat(n,"-cascader-picker:first-child ").concat(t)]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},["& > *:last-child,\n      & > ".concat(n,"-select:last-child > ").concat(n,"-select-selector,\n      & > ").concat(n,"-cascader-picker:last-child ").concat(t,",\n      & > ").concat(n,"-cascader-picker-focused:last-child ").concat(t)]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},["& > ".concat(n,"-select-auto-complete ").concat(t)]:{verticalAlign:"top"},["".concat(t,"-group-wrapper + ").concat(t,"-group-wrapper")]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),["".concat(t,"-affix-wrapper")]:{borderRadius:0}},["".concat(t,"-group-wrapper:not(:last-child)")]:{["&".concat(t,"-search > ").concat(t,"-group")]:{["& > ".concat(t,"-group-addon > ").concat(t,"-search-button")]:{borderRadius:0},["& > ".concat(t)]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},m=e=>{let{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=16,s=i(n).sub(i(r).mul(2)).sub(a).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.Wf)(e)),p(e)),(0,c.qG)(e)),(0,c.H8)(e)),(0,c.Mu)(e)),{'&[type="color"]':{height:e.controlHeight,["&".concat(t,"-lg")]:{height:e.controlHeightLG},["&".concat(t,"-sm")]:{height:n,paddingTop:s,paddingBottom:s}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},g=e=>{let{componentCls:t}=e;return{["".concat(t,"-clear-icon")]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:"color ".concat(e.motionDurationSlow),"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:"0 ".concat((0,r.bf)(e.inputAffixPadding))}}}},v=e=>{let{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e;return{["".concat(t,"-affix-wrapper")]:Object.assign(Object.assign(Object.assign(Object.assign({},p(e)),{display:"inline-flex",["&:not(".concat(t,"-disabled):hover")]:{zIndex:1,["".concat(t,"-search-with-button &")]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},["> input".concat(t)]:{padding:0},["> input".concat(t,", > textarea").concat(t)]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},["".concat(t)]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),g(e)),{["".concat(s).concat(t,"-password-icon")]:{color:i,cursor:"pointer",transition:"all ".concat(o),"&:hover":{color:a}}})}},y=e=>{let{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{["".concat(t,"-group")]:Object.assign(Object.assign(Object.assign({},(0,o.Wf)(e)),h(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{["".concat(t,"-group-addon")]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{["".concat(t,"-group-addon")]:{borderRadius:r}}},(0,c.ir)(e)),(0,c.S5)(e)),{["&:not(".concat(t,"-compact-first-item):not(").concat(t,"-compact-last-item)").concat(t,"-compact-item")]:{["".concat(t,", ").concat(t,"-group-addon")]:{borderRadius:0}},["&:not(".concat(t,"-compact-last-item)").concat(t,"-compact-first-item")]:{["".concat(t,", ").concat(t,"-group-addon")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&:not(".concat(t,"-compact-first-item)").concat(t,"-compact-last-item")]:{["".concat(t,", ").concat(t,"-group-addon")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["&:not(".concat(t,"-compact-last-item)").concat(t,"-compact-item")]:{["".concat(t,"-affix-wrapper")]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},b=e=>{let{componentCls:t,antCls:n}=e,r="".concat(t,"-search");return{[r]:{["".concat(t)]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,["+ ".concat(t,"-group-addon ").concat(r,"-button:not(").concat(n,"-btn-primary)")]:{borderInlineStartColor:e.colorPrimaryHover}}},["".concat(t,"-affix-wrapper")]:{borderRadius:0},["".concat(t,"-lg")]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},["> ".concat(t,"-group")]:{["> ".concat(t,"-group-addon:last-child")]:{insetInlineStart:-1,padding:0,border:0,["".concat(r,"-button")]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},["".concat(r,"-button:not(").concat(n,"-btn-primary)")]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},["&".concat(n,"-btn-loading::before")]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},["".concat(r,"-button")]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},["&-large ".concat(r,"-button")]:{height:e.controlHeightLG},["&-small ".concat(r,"-button")]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},["&".concat(t,"-compact-item")]:{["&:not(".concat(t,"-compact-last-item)")]:{["".concat(t,"-group-addon")]:{["".concat(t,"-search-button")]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},["&:not(".concat(t,"-compact-first-item)")]:{["".concat(t,",").concat(t,"-affix-wrapper")]:{borderRadius:0}},["> ".concat(t,"-group-addon ").concat(t,"-search-button,\n        > ").concat(t,",\n        ").concat(t,"-affix-wrapper")]:{"&:hover, &:focus, &:active":{zIndex:2}},["> ".concat(t,"-affix-wrapper-focused")]:{zIndex:2}}}}},w=e=>{let{componentCls:t,paddingLG:n}=e,r="".concat(t,"-textarea");return{[r]:{position:"relative","&-show-count":{["> ".concat(t)]:{height:"100%"},["".concat(t,"-data-count")]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},["\n        &-allow-clear > ".concat(t,",\n        &-affix-wrapper").concat(r,"-has-feedback ").concat(t,"\n      ")]:{paddingInlineEnd:n},["&-affix-wrapper".concat(t,"-affix-wrapper")]:{padding:0,["> textarea".concat(t)]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},["".concat(t,"-suffix")]:{margin:0,"> *:not(:last-child)":{marginInline:0},["".concat(t,"-clear-icon")]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},["".concat(r,"-suffix")]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},["&-affix-wrapper".concat(t,"-affix-wrapper-sm")]:{["".concat(t,"-suffix")]:{["".concat(t,"-clear-icon")]:{insetInlineEnd:e.paddingInlineSM}}}}}},S=e=>{let{componentCls:t}=e;return{["".concat(t,"-out-of-range")]:{["&, & input, & textarea, ".concat(t,"-show-count-suffix, ").concat(t,"-data-count")]:{color:e.colorError}}}};t.ZP=(0,a.I$)("Input",e=>{let t=(0,s.IX)(e,(0,l.e)(e));return[m(t),w(t),v(t),y(t),b(t),S(t),(0,i.c)(t)]},l.T,{resetFont:!1})},66743:function(e,t,n){"use strict";n.d(t,{T:function(){return i},e:function(){return o}});var r=n(39564);function o(e){return(0,r.IX)(e,{inputAffixPadding:e.paddingXXS})}let i=e=>{let{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:p,colorPrimary:h,controlOutlineWidth:m,controlOutline:g,colorErrorOutline:v,colorWarningOutline:y,colorBgContainer:b}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-s*l)/2*10)/10-o,paddingInline:c-o,paddingInlineSM:u-o,paddingInlineLG:d-o,addonBg:f,activeBorderColor:h,hoverBorderColor:p,activeShadow:"0 0 0 ".concat(m,"px ").concat(g),errorActiveShadow:"0 0 0 ".concat(m,"px ").concat(v),warningActiveShadow:"0 0 0 ".concat(m,"px ").concat(y),hoverBg:b,activeBg:b,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}}},63479:function(e,t,n){"use strict";n.d(t,{$U:function(){return s},H8:function(){return m},Mu:function(){return f},S5:function(){return v},Xy:function(){return a},ir:function(){return d},qG:function(){return c}});var r=n(82698),o=n(39564);let i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,o.IX)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),s=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),l=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status,":not(").concat(e.componentCls,"-disabled)")]:Object.assign(Object.assign({},s(e,t)),{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-suffix")]:{color:t.affixColor}}),["&".concat(e.componentCls,"-status-").concat(t.status).concat(e.componentCls,"-disabled")]:{borderColor:t.borderColor}}),c=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{["&".concat(e.componentCls,"-disabled, &[disabled]")]:Object.assign({},a(e))}),l(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),l(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),u=(e,t)=>({["&".concat(e.componentCls,"-group-wrapper-status-").concat(t.status)]:{["".concat(e.componentCls,"-group-addon")]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),d=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({["".concat(e.componentCls,"-group")]:{"&-addon":{background:e.addonBg,border:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},u(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),u(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{["&".concat(e.componentCls,"-group-wrapper-disabled")]:{["".concat(e.componentCls,"-group-addon")]:Object.assign({},a(e))}})}),f=(e,t)=>{let{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},["&".concat(n,"-disabled, &[disabled]")]:{color:e.colorTextDisabled},["&".concat(n,"-status-error")]:{"&, & input, & textarea":{color:e.colorError}},["&".concat(n,"-status-warning")]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},p=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==t?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),h=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status,":not(").concat(e.componentCls,"-disabled)")]:Object.assign(Object.assign({},p(e,t)),{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-suffix")]:{color:t.affixColor}})}),m=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{["&".concat(e.componentCls,"-disabled, &[disabled]")]:Object.assign({},a(e))}),h(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),h(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),g=(e,t)=>({["&".concat(e.componentCls,"-group-wrapper-status-").concat(t.status)]:{["".concat(e.componentCls,"-group-addon")]:{background:t.addonBg,color:t.addonColor}}}),v=e=>({"&-filled":Object.assign(Object.assign(Object.assign({["".concat(e.componentCls,"-group")]:{"&-addon":{background:e.colorFillTertiary},["".concat(e.componentCls,"-filled:not(:focus):not(:focus-within)")]:{"&:not(:first-child)":{borderInlineStart:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},"&:not(:last-child)":{borderInlineEnd:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)}}}},g(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),g(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{["&".concat(e.componentCls,"-group-wrapper-disabled")]:{["".concat(e.componentCls,"-group")]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderTop:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderBottom:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)},"&-addon:last-child":{borderInlineEnd:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderTop:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderBottom:"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)}}}})})},51761:function(e,t,n){"use strict";n.d(t,{D:function(){return b},Z:function(){return S}});var r=n(44194),o=n(27820),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},a=n(72654),s=function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))},l=r.forwardRef(s),c=n(63740),u=n(60540),d=n(51865),f=n.n(d),p=n(76933),h=e=>!isNaN(parseFloat(e))&&isFinite(e),m=n(25431),g=n(8005),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let y={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},b=r.createContext({}),w=(()=>{let e=0;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}})();var S=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,trigger:i,children:a,defaultCollapsed:s=!1,theme:d="dark",style:S={},collapsible:x=!1,reverseArrow:E=!1,width:C=200,collapsedWidth:_=80,zeroWidthTriggerStyle:k,breakpoint:O,onCollapse:A,onBreakpoint:I}=e,P=v(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:T}=(0,r.useContext)(g.V),[R,M]=(0,r.useState)("collapsed"in e?e.collapsed:s),[N,j]=(0,r.useState)(!1);(0,r.useEffect)(()=>{"collapsed"in e&&M(e.collapsed)},[e.collapsed]);let D=(t,n)=>{"collapsed"in e||M(t),null==A||A(t,n)},L=(0,r.useRef)();L.current=e=>{j(e.matches),null==I||I(e.matches),R!==e.matches&&D(e.matches,"responsive")},(0,r.useEffect)(()=>{let e;function t(e){return L.current(e)}{let{matchMedia:n}=window;if(n&&O&&O in y){e=n("screen and (max-width: ".concat(y[O],")"));try{e.addEventListener("change",t)}catch(n){e.addListener(t)}t(e)}}return()=>{try{null==e||e.removeEventListener("change",t)}catch(n){null==e||e.removeListener(t)}}},[O]),(0,r.useEffect)(()=>{let e=w("ant-sider-");return T.addSider(e),()=>T.removeSider(e)},[]);let B=()=>{D(!R,"clickTrigger")},{getPrefixCls:Z}=(0,r.useContext)(m.E_),F=()=>{let e=Z("layout-sider",n),s=(0,p.Z)(P,["collapsed"]),m=R?_:C,g=h(m)?"".concat(m,"px"):String(m),v=0===parseFloat(String(_||0))?r.createElement("span",{onClick:B,className:f()("".concat(e,"-zero-width-trigger"),"".concat(e,"-zero-width-trigger-").concat(E?"right":"left")),style:k},i||r.createElement(l,null)):null,y={expanded:E?r.createElement(u.Z,null):r.createElement(c.Z,null),collapsed:E?r.createElement(c.Z,null):r.createElement(u.Z,null)}[R?"collapsed":"expanded"],b=null!==i?v||r.createElement("div",{className:"".concat(e,"-trigger"),onClick:B,style:{width:g}},i||y):null,w=Object.assign(Object.assign({},S),{flex:"0 0 ".concat(g),maxWidth:g,minWidth:g,width:g}),O=f()(e,"".concat(e,"-").concat(d),{["".concat(e,"-collapsed")]:!!R,["".concat(e,"-has-trigger")]:x&&null!==i&&!v,["".concat(e,"-below")]:!!N,["".concat(e,"-zero-width")]:0===parseFloat(g)},o);return r.createElement("aside",Object.assign({className:O},s,{style:w,ref:t}),r.createElement("div",{className:"".concat(e,"-children")},a),x||N&&v?b:null)},z=r.useMemo(()=>({siderCollapsed:R}),[R]);return r.createElement(b.Provider,{value:z},F())})},8005:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});let r=n(44194).createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},22786:function(e,t,n){"use strict";let r=(0,n(44194).createContext)(void 0);t.Z=r},2941:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(12567),o=n(58332),i=o.Z,a=n(51746);let s="${label} is not a valid ${type}";var l={locale:"en",Pagination:r.Z,DatePicker:o.Z,TimePicker:a.Z,Calendar:i,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}}},71254:function(e,t,n){"use strict";var r=n(44194),o=n(22786),i=n(2941);let a=(e,t)=>{let n=r.useContext(o.Z);return[r.useMemo(()=>{var r;let o=t||i.Z[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})},[e,t,n]),r.useMemo(()=>{let e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.Z.locale:e},[n])]};t.Z=a},79206:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(44194),o=n(91324),i=n(80265),a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let s=r.createContext(null),l=r.forwardRef((e,t)=>{let{children:n}=e,l=a(e,["children"]),c=r.useContext(s),u=r.useMemo(()=>Object.assign(Object.assign({},c),l),[c,l.prefixCls,l.mode,l.selectable,l.rootClassName]),d=(0,o.t4)(n),f=(0,o.x1)(t,d?n.ref:null);return r.createElement(s.Provider,{value:u},r.createElement(i.Z,{space:!0},d?r.cloneElement(n,{ref:f}):n))});t.Z=s},42020:function(e,t,n){"use strict";n.d(t,{Z:function(){return G}});var r=n(44194),o=n(46281),i=n(51761),a=n(21740),s=n(51865),l=n.n(s),c=n(91324),u=n(76933),d=n(62334),f=n(85905),p=n(25431),h=n(55948),m=(0,r.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},v=e=>{let{prefixCls:t,className:n,dashed:i}=e,a=g(e,["prefixCls","className","dashed"]),{getPrefixCls:s}=r.useContext(p.E_),c=s("menu",t),u=l()({["".concat(c,"-item-divider-dashed")]:!!i},n);return r.createElement(o.iz,Object.assign({className:u},a))},y=n(2196),b=n(13185),w=e=>{var t;let{className:n,children:a,icon:s,title:c,danger:d}=e,{prefixCls:p,firstLevel:h,direction:g,disableMenuItemTitleTooltip:v,inlineCollapsed:w}=r.useContext(m),S=e=>{let t=r.createElement("span",{className:"".concat(p,"-title-content")},a);return(!s||r.isValidElement(a)&&"span"===a.type)&&a&&e&&h&&"string"==typeof a?r.createElement("div",{className:"".concat(p,"-inline-collapsed-noicon")},a.charAt(0)):t},{siderCollapsed:x}=r.useContext(i.D),E=c;void 0===c?E=h?a:"":!1===c&&(E="");let C={title:E};x||w||(C.title=null,C.open=!1);let _=(0,y.Z)(a).length,k=r.createElement(o.ck,Object.assign({},(0,u.Z)(e,["title","icon","danger"]),{className:l()({["".concat(p,"-item-danger")]:d,["".concat(p,"-item-only-child")]:(s?_+1:_)===1},n),title:"string"==typeof c?c:void 0}),(0,f.Tm)(s,{className:l()(r.isValidElement(s)?null===(t=s.props)||void 0===t?void 0:t.className:"","".concat(p,"-item-icon"))}),S(w));return v||(k=r.createElement(b.Z,Object.assign({},C,{placement:"rtl"===g?"left":"right",overlayClassName:"".concat(p,"-inline-collapsed-tooltip")}),k)),k},S=n(79206),x=n(82698),E=n(66671),C=n(61885),_=n(33773),k=n(55286),O=n(67267),A=n(2916),I=n(39564),P=e=>{let{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:s}=e;return{["".concat(t,"-horizontal")]:{lineHeight:r,border:0,borderBottom:"".concat((0,x.bf)(i)," ").concat(a," ").concat(o),boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},["".concat(t,"-item, ").concat(t,"-submenu")]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},["> ".concat(t,"-item:hover,\n        > ").concat(t,"-item-active,\n        > ").concat(t,"-submenu ").concat(t,"-submenu-title:hover")]:{backgroundColor:"transparent"},["".concat(t,"-item, ").concat(t,"-submenu-title")]:{transition:["border-color ".concat(n),"background ".concat(n)].join(",")},["".concat(t,"-submenu-arrow")]:{display:"none"}}}},T=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{["".concat(t,"-rtl")]:{direction:"rtl"},["".concat(t,"-submenu-rtl")]:{transformOrigin:"100% 0"},["".concat(t,"-rtl").concat(t,"-vertical,\n    ").concat(t,"-submenu-rtl ").concat(t,"-vertical")]:{["".concat(t,"-submenu-arrow")]:{"&::before":{transform:"rotate(-45deg) translateY(".concat((0,x.bf)(r(n).mul(-1).equal()),")")},"&::after":{transform:"rotate(45deg) translateY(".concat((0,x.bf)(n),")")}}}}};let R=e=>Object.assign({},(0,C.oN)(e));var M=(e,t)=>{let{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:i,itemBg:a,subMenuItemBg:s,itemSelectedBg:l,activeBarHeight:c,activeBarWidth:u,activeBarBorderWidth:d,motionDurationSlow:f,motionEaseInOut:p,motionEaseOut:h,itemPaddingInline:m,motionDurationMid:g,itemHoverColor:v,lineType:y,colorSplit:b,itemDisabledColor:w,dangerItemColor:S,dangerItemHoverColor:E,dangerItemSelectedColor:C,dangerItemActiveBg:_,dangerItemSelectedBg:k,popupBg:O,itemHoverBg:A,itemActiveBg:I,menuSubMenuBg:P,horizontalItemSelectedColor:T,horizontalItemSelectedBg:M,horizontalItemBorderRadius:N,horizontalItemHoverBg:j}=e;return{["".concat(n,"-").concat(t,", ").concat(n,"-").concat(t," > ").concat(n)]:{color:r,background:a,["&".concat(n,"-root:focus-visible")]:Object.assign({},R(e)),["".concat(n,"-item-group-title")]:{color:i},["".concat(n,"-submenu-selected")]:{["> ".concat(n,"-submenu-title")]:{color:o}},["".concat(n,"-item, ").concat(n,"-submenu-title")]:{color:r,["&:not(".concat(n,"-item-disabled):focus-visible")]:Object.assign({},R(e))},["".concat(n,"-item-disabled, ").concat(n,"-submenu-disabled")]:{color:"".concat(w," !important")},["".concat(n,"-item:not(").concat(n,"-item-selected):not(").concat(n,"-submenu-selected)")]:{["&:hover, > ".concat(n,"-submenu-title:hover")]:{color:v}},["&:not(".concat(n,"-horizontal)")]:{["".concat(n,"-item:not(").concat(n,"-item-selected)")]:{"&:hover":{backgroundColor:A},"&:active":{backgroundColor:I}},["".concat(n,"-submenu-title")]:{"&:hover":{backgroundColor:A},"&:active":{backgroundColor:I}}},["".concat(n,"-item-danger")]:{color:S,["&".concat(n,"-item:hover")]:{["&:not(".concat(n,"-item-selected):not(").concat(n,"-submenu-selected)")]:{color:E}},["&".concat(n,"-item:active")]:{background:_}},["".concat(n,"-item a")]:{"&, &:hover":{color:"inherit"}},["".concat(n,"-item-selected")]:{color:o,["&".concat(n,"-item-danger")]:{color:C},"a, a:hover":{color:"inherit"}},["& ".concat(n,"-item-selected")]:{backgroundColor:l,["&".concat(n,"-item-danger")]:{backgroundColor:k}},["&".concat(n,"-submenu > ").concat(n)]:{backgroundColor:P},["&".concat(n,"-popup > ").concat(n)]:{backgroundColor:O},["&".concat(n,"-submenu-popup > ").concat(n)]:{backgroundColor:O},["&".concat(n,"-horizontal")]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{["> ".concat(n,"-item, > ").concat(n,"-submenu")]:{top:d,marginTop:e.calc(d).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:"absolute",insetInline:m,bottom:0,borderBottom:"".concat((0,x.bf)(c)," solid transparent"),transition:"border-color ".concat(f," ").concat(p),content:'""'},"&:hover, &-active, &-open":{background:j,"&::after":{borderBottomWidth:c,borderBottomColor:T}},"&-selected":{color:T,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:c,borderBottomColor:T}}}}),["&".concat(n,"-root")]:{["&".concat(n,"-inline, &").concat(n,"-vertical")]:{borderInlineEnd:"".concat((0,x.bf)(d)," ").concat(y," ").concat(b)}},["&".concat(n,"-inline")]:{["".concat(n,"-sub").concat(n,"-inline")]:{background:s},["".concat(n,"-item")]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:"".concat((0,x.bf)(u)," solid ").concat(o),transform:"scaleY(0.0001)",opacity:0,transition:["transform ".concat(g," ").concat(h),"opacity ".concat(g," ").concat(h)].join(","),content:'""'},["&".concat(n,"-item-danger")]:{"&::after":{borderInlineEndColor:C}}},["".concat(n,"-selected, ").concat(n,"-item-selected")]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:["transform ".concat(g," ").concat(p),"opacity ".concat(g," ").concat(p)].join(",")}}}}}};let N=e=>{let{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:s,itemWidth:l}=e,c=e.calc(i).add(o).add(a).equal();return{["".concat(t,"-item")]:{position:"relative",overflow:"hidden"},["".concat(t,"-item, ").concat(t,"-submenu-title")]:{height:n,lineHeight:(0,x.bf)(n),paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:l},["> ".concat(t,"-item,\n            > ").concat(t,"-submenu > ").concat(t,"-submenu-title")]:{height:n,lineHeight:(0,x.bf)(n)},["".concat(t,"-item-group-list ").concat(t,"-submenu-title,\n            ").concat(t,"-submenu-title")]:{paddingInlineEnd:c}}};var j=e=>{let{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionDurationMid:s,motionEaseOut:l,paddingXL:c,itemMarginInline:u,fontSizeLG:d,motionDurationSlow:f,paddingXS:p,boxShadowSecondary:h,collapsedWidth:m,collapsedIconSize:g}=e,v={height:r,lineHeight:(0,x.bf)(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({["&".concat(t,"-root")]:{boxShadow:"none"}},N(e))},["".concat(t,"-submenu-popup")]:{["".concat(t,"-vertical")]:Object.assign(Object.assign({},N(e)),{boxShadow:h})}},{["".concat(t,"-submenu-popup ").concat(t,"-vertical").concat(t,"-sub")]:{minWidth:i,maxHeight:"calc(100vh - ".concat((0,x.bf)(e.calc(a).mul(2.5).equal()),")"),padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{["".concat(t,"-inline")]:{width:"100%",["&".concat(t,"-root")]:{["".concat(t,"-item, ").concat(t,"-submenu-title")]:{display:"flex",alignItems:"center",transition:["border-color ".concat(f),"background ".concat(f),"padding ".concat(s," ").concat(l),"padding-inline calc(50% - ".concat((0,x.bf)(e.calc(d).div(2).equal())," - ").concat((0,x.bf)(u),")")].join(","),["> ".concat(t,"-title-content")]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},["".concat(t,"-sub").concat(t,"-inline")]:{padding:0,border:0,borderRadius:0,boxShadow:"none",["& > ".concat(t,"-submenu > ").concat(t,"-submenu-title")]:v,["& ".concat(t,"-item-group-title")]:{paddingInlineStart:c}},["".concat(t,"-item")]:v}},{["".concat(t,"-inline-collapsed")]:{width:m,["&".concat(t,"-root")]:{["".concat(t,"-item, ").concat(t,"-submenu ").concat(t,"-submenu-title")]:{["> ".concat(t,"-inline-collapsed-noicon")]:{fontSize:d,textAlign:"center"}}},["> ".concat(t,"-item,\n          > ").concat(t,"-item-group > ").concat(t,"-item-group-list > ").concat(t,"-item,\n          > ").concat(t,"-item-group > ").concat(t,"-item-group-list > ").concat(t,"-submenu > ").concat(t,"-submenu-title,\n          > ").concat(t,"-submenu > ").concat(t,"-submenu-title")]:{insetInlineStart:0,paddingInline:"calc(50% - ".concat((0,x.bf)(e.calc(d).div(2).equal())," - ").concat((0,x.bf)(u),")"),textOverflow:"clip",["\n            ".concat(t,"-submenu-arrow,\n            ").concat(t,"-submenu-expand-icon\n          ")]:{opacity:0},["".concat(t,"-item-icon, ").concat(n)]:{margin:0,fontSize:g,lineHeight:(0,x.bf)(r),"+ span":{display:"inline-block",opacity:0}}},["".concat(t,"-item-icon, ").concat(n)]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",["".concat(t,"-item-icon, ").concat(n)]:{display:"none"},"a, a:hover":{color:o}},["".concat(t,"-item-group-title")]:Object.assign(Object.assign({},C.vS),{paddingInline:p})}}]};let D=e=>{let{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:s,iconMarginInlineEnd:l}=e;return{["".concat(t,"-item, ").concat(t,"-submenu-title")]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:["border-color ".concat(n),"background ".concat(n),"padding ".concat(n," ").concat(o)].join(","),["".concat(t,"-item-icon, ").concat(a)]:{minWidth:s,fontSize:s,transition:["font-size ".concat(r," ").concat(i),"margin ".concat(n," ").concat(o),"color ".concat(n)].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:["opacity ".concat(n," ").concat(o),"margin ".concat(n),"color ".concat(n)].join(",")}},["".concat(t,"-item-icon")]:Object.assign({},(0,C.Ro)()),["&".concat(t,"-item-only-child")]:{["> ".concat(a,", > ").concat(t,"-item-icon")]:{marginInlineEnd:0}}},["".concat(t,"-item-disabled, ").concat(t,"-submenu-disabled")]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},["> ".concat(t,"-submenu-title")]:{color:"inherit !important",cursor:"not-allowed"}}}},L=e=>{let{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{["".concat(t,"-submenu")]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:"transform ".concat(n," ").concat(r,", opacity ").concat(n)},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:o,transition:["background ".concat(n," ").concat(r),"transform ".concat(n," ").concat(r),"top ".concat(n," ").concat(r),"color ".concat(n," ").concat(r)].join(","),content:'""'},"&::before":{transform:"rotate(45deg) translateY(".concat((0,x.bf)(e.calc(a).mul(-1).equal()),")")},"&::after":{transform:"rotate(-45deg) translateY(".concat((0,x.bf)(a),")")}}}}},B=e=>{let{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:s,padding:l,colorSplit:c,lineWidth:u,zIndexPopup:d,borderRadiusLG:f,subMenuItemBorderRadius:p,menuArrowSize:h,menuArrowOffset:m,lineType:g,groupTitleLineHeight:v,groupTitleFontSize:y}=e;return[{"":{["".concat(n)]:Object.assign(Object.assign({},(0,C.dF)()),{"&-hidden":{display:"none"}})},["".concat(n,"-submenu-hidden")]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.Wf)(e)),(0,C.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:"width ".concat(o," cubic-bezier(0.2, 0, 0, 1) 0s"),"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",["".concat(n,"-item")]:{flex:"none"}},["".concat(n,"-item, ").concat(n,"-submenu, ").concat(n,"-submenu-title")]:{borderRadius:e.itemBorderRadius},["".concat(n,"-item-group-title")]:{padding:"".concat((0,x.bf)(s)," ").concat((0,x.bf)(l)),fontSize:y,lineHeight:v,transition:"all ".concat(o)},["&-horizontal ".concat(n,"-submenu")]:{transition:["border-color ".concat(o," ").concat(a),"background ".concat(o," ").concat(a)].join(",")},["".concat(n,"-submenu, ").concat(n,"-submenu-inline")]:{transition:["border-color ".concat(o," ").concat(a),"background ".concat(o," ").concat(a),"padding ".concat(i," ").concat(a)].join(",")},["".concat(n,"-submenu ").concat(n,"-sub")]:{cursor:"initial",transition:["background ".concat(o," ").concat(a),"padding ".concat(o," ").concat(a)].join(",")},["".concat(n,"-title-content")]:{transition:"color ".concat(o),["> ".concat(t,"-typography-ellipsis-single-line")]:{display:"inline",verticalAlign:"unset"}},["".concat(n,"-item a")]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},["".concat(n,"-item-divider")]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:g,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),D(e)),{["".concat(n,"-item-group")]:{["".concat(n,"-item-group-list")]:{margin:0,padding:0,["".concat(n,"-item, ").concat(n,"-submenu-title")]:{paddingInline:"".concat((0,x.bf)(e.calc(r).mul(2).equal())," ").concat((0,x.bf)(l))}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:f,boxShadow:"none",transformOrigin:"0 0",["&".concat(n,"-submenu")]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},["> ".concat(n)]:Object.assign(Object.assign(Object.assign({borderRadius:f},D(e)),L(e)),{["".concat(n,"-item, ").concat(n,"-submenu > ").concat(n,"-submenu-title")]:{borderRadius:p},["".concat(n,"-submenu-title::after")]:{transition:"transform ".concat(o," ").concat(a)}})},"\n          &-placement-leftTop,\n          &-placement-bottomRight,\n          ":{transformOrigin:"100% 0"},"\n          &-placement-leftBottom,\n          &-placement-topRight,\n          ":{transformOrigin:"100% 100%"},"\n          &-placement-rightBottom,\n          &-placement-topLeft,\n          ":{transformOrigin:"0 100%"},"\n          &-placement-bottomLeft,\n          &-placement-rightTop,\n          ":{transformOrigin:"0 0"},"\n          &-placement-leftTop,\n          &-placement-leftBottom\n          ":{paddingInlineEnd:e.paddingXS},"\n          &-placement-rightTop,\n          &-placement-rightBottom\n          ":{paddingInlineStart:e.paddingXS},"\n          &-placement-topRight,\n          &-placement-topLeft\n          ":{paddingBottom:e.paddingXS},"\n          &-placement-bottomRight,\n          &-placement-bottomLeft\n          ":{paddingTop:e.paddingXS}}}),L(e)),{["&-inline-collapsed ".concat(n,"-submenu-arrow,\n        &-inline ").concat(n,"-submenu-arrow")]:{"&::before":{transform:"rotate(-45deg) translateX(".concat((0,x.bf)(m),")")},"&::after":{transform:"rotate(45deg) translateX(".concat((0,x.bf)(e.calc(m).mul(-1).equal()),")")}},["".concat(n,"-submenu-open").concat(n,"-submenu-inline > ").concat(n,"-submenu-title > ").concat(n,"-submenu-arrow")]:{transform:"translateY(".concat((0,x.bf)(e.calc(h).mul(.2).mul(-1).equal()),")"),"&::after":{transform:"rotate(-45deg) translateX(".concat((0,x.bf)(e.calc(m).mul(-1).equal()),")")},"&::before":{transform:"rotate(45deg) translateX(".concat((0,x.bf)(m),")")}}})},{["".concat(t,"-layout-header")]:{[n]:{lineHeight:"inherit"}}}]},Z=e=>{var t,n,r;let{colorPrimary:o,colorError:i,colorTextDisabled:a,colorErrorBg:s,colorText:l,colorTextDescription:c,colorBgContainer:u,colorFillAlter:d,colorFillContent:f,lineWidth:p,lineWidthBold:h,controlItemBgActive:m,colorBgTextHover:g,controlHeightLG:v,lineHeight:y,colorBgElevated:b,marginXXS:w,padding:S,fontSize:x,controlHeightSM:C,fontSizeLG:_,colorTextLightSolid:k,colorErrorHover:O}=e,A=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,I=null!==(n=e.activeBarBorderWidth)&&void 0!==n?n:p,P=null!==(r=e.itemMarginInline)&&void 0!==r?r:e.marginXXS,T=new E.C(k).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:o,itemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:u,itemBg:u,colorItemBgHover:g,itemHoverBg:g,colorItemBgActive:f,itemActiveBg:m,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:m,itemSelectedBg:m,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:A,colorActiveBarHeight:h,activeBarHeight:h,colorActiveBarBorderSize:p,activeBarBorderWidth:I,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:P,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:v,groupTitleLineHeight:y,collapsedWidth:2*v,popupBg:b,itemMarginBlock:w,itemPaddingInline:S,horizontalLineHeight:"".concat(1.15*v,"px"),iconSize:x,iconMarginInlineEnd:C-x,collapsedIconSize:_,groupTitleFontSize:x,darkItemDisabledColor:new E.C(k).setAlpha(.25).toRgbString(),darkItemColor:T,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:k,darkItemSelectedBg:o,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:T,darkItemHoverColor:k,darkDangerItemHoverColor:O,darkDangerItemSelectedColor:k,darkDangerItemActiveBg:i,itemWidth:A?"calc(100% + ".concat(I,"px)"):"calc(100% - ".concat(2*P,"px)")}};function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return(0,A.I$)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:n,fontSize:r,darkItemColor:o,darkDangerItemColor:i,darkItemBg:a,darkSubMenuItemBg:s,darkItemSelectedColor:l,darkItemSelectedBg:c,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:f,darkItemHoverColor:p,darkItemDisabledColor:h,darkDangerItemHoverColor:m,darkDangerItemSelectedColor:g,darkDangerItemActiveBg:v,popupBg:y,darkPopupBg:b}=e,w=e.calc(r).div(7).mul(5).equal(),S=(0,I.IX)(e,{menuArrowSize:w,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(w).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:y}),x=(0,I.IX)(S,{itemColor:o,itemHoverColor:p,groupTitleColor:f,itemSelectedColor:l,itemBg:a,popupBg:b,subMenuItemBg:s,itemActiveBg:"transparent",itemSelectedBg:c,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:h,dangerItemColor:i,dangerItemHoverColor:m,dangerItemSelectedColor:g,dangerItemActiveBg:v,dangerItemSelectedBg:u,menuSubMenuBg:s,horizontalItemSelectedColor:l,horizontalItemSelectedBg:c});return[B(S),P(S),j(S),M(S,"light"),M(x,"dark"),T(S),(0,_.Z)(S),(0,k.oN)(S,"slide-up"),(0,k.oN)(S,"slide-down"),(0,O._y)(S,"zoom-big")]},Z,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)}var z=n(28885),U=e=>{var t;let n;let{popupClassName:i,icon:a,title:s,theme:c}=e,d=r.useContext(m),{prefixCls:p,inlineCollapsed:h,theme:g}=d,v=(0,o.Xl)();if(a){let e=r.isValidElement(s)&&"span"===s.type;n=r.createElement(r.Fragment,null,(0,f.Tm)(a,{className:l()(r.isValidElement(a)?null===(t=a.props)||void 0===t?void 0:t.className:"","".concat(p,"-item-icon"))}),e?s:r.createElement("span",{className:"".concat(p,"-title-content")},s))}else n=h&&!v.length&&s&&"string"==typeof s?r.createElement("div",{className:"".concat(p,"-inline-collapsed-noicon")},s.charAt(0)):r.createElement("span",{className:"".concat(p,"-title-content")},s);let y=r.useMemo(()=>Object.assign(Object.assign({},d),{firstLevel:!1}),[d]),[b]=(0,z.Cn)("Menu");return r.createElement(m.Provider,{value:y},r.createElement(o.Wd,Object.assign({},(0,u.Z)(e,["icon"]),{title:n,popupClassName:l()(p,i,"".concat(p,"-").concat(c||g)),popupStyle:{zIndex:b}})))},H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function q(e){return null===e||!1===e}let V={item:w,submenu:U,divider:v};var W=(0,r.forwardRef)((e,t)=>{var n;let i=r.useContext(S.Z),s=i||{},{getPrefixCls:g,getPopupContainer:v,direction:y,menu:b}=r.useContext(p.E_),w=g(),{prefixCls:x,className:E,style:C,theme:_="light",expandIcon:k,_internalDisableMenuItemTitleTooltip:O,inlineCollapsed:A,siderCollapsed:I,rootClassName:P,mode:T,selectable:R,onClick:M,overflowedIndicatorPopupClassName:N}=e,j=H(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),D=(0,u.Z)(j,["collapsedWidth"]);null===(n=s.validator)||void 0===n||n.call(s,{mode:T});let L=(0,c.zX)(function(){var e;null==M||M.apply(void 0,arguments),null===(e=s.onClick)||void 0===e||e.call(s)}),B=s.mode||T,Z=null!=R?R:s.selectable,z=r.useMemo(()=>void 0!==I?I:A,[A,I]),U={horizontal:{motionName:"".concat(w,"-slide-up")},inline:(0,d.Z)(w),other:{motionName:"".concat(w,"-zoom-big")}},W=g("menu",x||s.prefixCls),$=(0,h.Z)(W),[G,K,Y]=F(W,$,!i),X=l()("".concat(W,"-").concat(_),null==b?void 0:b.className,E),Q=r.useMemo(()=>{var e,t;if("function"==typeof k||q(k))return k||null;if("function"==typeof s.expandIcon||q(s.expandIcon))return s.expandIcon||null;if("function"==typeof(null==b?void 0:b.expandIcon)||q(null==b?void 0:b.expandIcon))return(null==b?void 0:b.expandIcon)||null;let n=null!==(e=null!=k?k:null==s?void 0:s.expandIcon)&&void 0!==e?e:null==b?void 0:b.expandIcon;return(0,f.Tm)(n,{className:l()("".concat(W,"-submenu-expand-icon"),r.isValidElement(n)?null===(t=n.props)||void 0===t?void 0:t.className:void 0)})},[k,null==s?void 0:s.expandIcon,null==b?void 0:b.expandIcon,W]),J=r.useMemo(()=>({prefixCls:W,inlineCollapsed:z||!1,direction:y,firstLevel:!0,theme:_,mode:B,disableMenuItemTitleTooltip:O}),[W,z,y,O,_]);return G(r.createElement(S.Z.Provider,{value:null},r.createElement(m.Provider,{value:J},r.createElement(o.ZP,Object.assign({getPopupContainer:v,overflowedIndicator:r.createElement(a.Z,null),overflowedIndicatorPopupClassName:l()(W,"".concat(W,"-").concat(_),N),mode:B,selectable:Z,onClick:L},D,{inlineCollapsed:z,style:Object.assign(Object.assign({},null==b?void 0:b.style),C),className:X,prefixCls:W,direction:y,defaultMotions:U,expandIcon:Q,ref:t,rootClassName:l()(P,K,s.rootClassName,Y,$),_internalComponents:V})))))});let $=(0,r.forwardRef)((e,t)=>{let n=(0,r.useRef)(null),o=r.useContext(i.D);return(0,r.useImperativeHandle)(t,()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}})),r.createElement(W,Object.assign({ref:n},e,o))});$.Item=w,$.SubMenu=U,$.Divider=v,$.ItemGroup=o.BW;var G=$},36658:function(e,t,n){"use strict";n.d(t,{CW:function(){return v}});var r=n(44194),o=n(72190),i=n(47330),a=n(12834),s=n(22900),l=n(21075),c=n(51865),u=n.n(c),d=n(94838),f=n(25431),p=n(55948),h=n(56395),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let g={info:r.createElement(s.Z,null),success:r.createElement(o.Z,null),error:r.createElement(i.Z,null),warning:r.createElement(a.Z,null),loading:r.createElement(l.Z,null)},v=e=>{let{prefixCls:t,type:n,icon:o,children:i}=e;return r.createElement("div",{className:u()("".concat(t,"-custom-content"),"".concat(t,"-").concat(n))},o||g[n],r.createElement("span",null,i))},y=e=>{let{prefixCls:t,className:n,type:o,icon:i,content:a}=e,s=m(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=r.useContext(f.E_),c=t||l("message"),g=(0,p.Z)(c),[y,b,w]=(0,h.Z)(c,g);return y(r.createElement(d.qX,Object.assign({},s,{prefixCls:c,className:u()(n,b,"".concat(c,"-notice-pure-panel"),w,g),eventKey:"pure",duration:null,content:r.createElement(v,{prefixCls:c,type:o,icon:i},a)})))};t.ZP=y},43229:function(e,t,n){"use strict";var r=n(70826),o=n(44194),i=n(8372),a=n(35579),s=n(25431),l=n(22904),c=n(36658),u=n(13785),d=n(97211);let f=null,p=e=>e(),h=[],m={};function g(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=m,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:o}}let v=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:i}=(0,o.useContext)(s.E_),l=m.prefixCls||i("message"),c=(0,o.useContext)(a.J),[d,f]=(0,u.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:l}),c.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},d);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),d[t].apply(d,arguments)}}),{instance:e,sync:r}}),f}),y=o.forwardRef((e,t)=>{let[n,r]=o.useState(g),i=()=>{r(g)};o.useEffect(i,[]);let a=(0,l.w6)(),s=a.getRootPrefixCls(),c=a.getIconPrefixCls(),u=a.getTheme(),d=o.createElement(v,{ref:t,sync:i,messageConfig:n});return o.createElement(l.ZP,{prefixCls:s,iconPrefixCls:c,theme:u},a.holderRender?a.holderRender(d):d)});function b(){if(!f){let e=document.createDocumentFragment(),t={fragment:e};f=t,p(()=>{(0,i.s)(o.createElement(y,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,b())})}}),e)});return}f.instance&&(h.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":p(()=>{let t=f.instance.open(Object.assign(Object.assign({},m),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":p(()=>{null==f||f.instance.destroy(e.key)});break;default:p(()=>{var n;let o=(n=f.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),h=[])}function w(e,t){(0,l.w6)();let n=(0,d.J)(n=>{let r;let o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return h.push(o),()=>{r?p(()=>{r()}):o.skipped=!0}});return b(),n}let S=["success","info","warning","error","loading"],x={open:function(e){let t=(0,d.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return h.push(r),()=>{n?p(()=>{n()}):r.skipped=!0}});return b(),t},destroy:e=>{h.push({type:"destroy",key:e}),b()},config:function(e){m=Object.assign(Object.assign({},m),e),p(()=>{var e;null===(e=null==f?void 0:f.sync)||void 0===e||e.call(f)})},useMessage:u.Z,_InternalPanelDoNotUseOrYouWillBeFired:c.ZP};S.forEach(e=>{x[e]=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(e,n)}}),t.ZP=x},56395:function(e,t,n){"use strict";var r=n(82698),o=n(28885),i=n(61885),a=n(2916),s=n(39564);let l=e=>{let{componentCls:t,iconCls:n,boxShadow:o,colorText:a,colorSuccess:s,colorError:l,colorWarning:c,colorInfo:u,fontSizeLG:d,motionEaseInOutCirc:f,motionDurationSlow:p,marginXS:h,paddingXS:m,borderRadiusLG:g,zIndexPopup:v,contentPadding:y,contentBg:b}=e,w="".concat(t,"-notice"),S=new r.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),x=new r.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),E={padding:m,textAlign:"center",["".concat(t,"-custom-content")]:{display:"flex",alignItems:"center"},["".concat(t,"-custom-content > ").concat(n)]:{marginInlineEnd:h,fontSize:d},["".concat(w,"-content")]:{display:"inline-block",padding:y,background:b,borderRadius:g,boxShadow:o,pointerEvents:"all"},["".concat(t,"-success > ").concat(n)]:{color:s},["".concat(t,"-error > ").concat(n)]:{color:l},["".concat(t,"-warning > ").concat(n)]:{color:c},["".concat(t,"-info > ").concat(n,",\n      ").concat(t,"-loading > ").concat(n)]:{color:u}};return[{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{color:a,position:"fixed",top:h,width:"100%",pointerEvents:"none",zIndex:v,["".concat(t,"-move-up")]:{animationFillMode:"forwards"},["\n        ".concat(t,"-move-up-appear,\n        ").concat(t,"-move-up-enter\n      ")]:{animationName:S,animationDuration:p,animationPlayState:"paused",animationTimingFunction:f},["\n        ".concat(t,"-move-up-appear").concat(t,"-move-up-appear-active,\n        ").concat(t,"-move-up-enter").concat(t,"-move-up-enter-active\n      ")]:{animationPlayState:"running"},["".concat(t,"-move-up-leave")]:{animationName:x,animationDuration:p,animationPlayState:"paused",animationTimingFunction:f},["".concat(t,"-move-up-leave").concat(t,"-move-up-leave-active")]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{["".concat(w,"-wrapper")]:Object.assign({},E)}},{["".concat(t,"-notice-pure-panel")]:Object.assign(Object.assign({},E),{padding:0,textAlign:"start"})}]},c=e=>({zIndexPopup:e.zIndexPopupBase+o.u6+10,contentBg:e.colorBgElevated,contentPadding:"".concat((e.controlHeightLG-e.fontSize*e.lineHeight)/2,"px ").concat(e.paddingSM,"px")});t.Z=(0,a.I$)("Message",e=>[l((0,s.IX)(e,{height:150}))],c)},13785:function(e,t,n){"use strict";n.d(t,{K:function(){return S},Z:function(){return x}});var r=n(44194),o=n(40153),i=n(51865),a=n.n(i),s=n(94838),l=n(66973),c=n(25431),u=n(55948),d=n(36658),f=n(56395),p=n(97211),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let m=8,g=3,v=e=>{let{children:t,prefixCls:n}=e,o=(0,u.Z)(n),[i,l,c]=(0,f.Z)(n,o);return i(r.createElement(s.JB,{classNames:{list:a()(l,c,o)}},t))},y=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(v,{prefixCls:n,key:o},e)},b=r.forwardRef((e,t)=>{let{top:n,prefixCls:i,getContainer:l,maxCount:u,duration:d=g,rtl:f,transitionName:h,onAllRemoved:v}=e,{getPrefixCls:b,getPopupContainer:w,message:S,direction:x}=r.useContext(c.E_),E=i||b("message"),C=()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:m}),_=()=>a()({["".concat(E,"-rtl")]:null!=f?f:"rtl"===x}),k=()=>(0,p.g)(E,h),O=r.createElement("span",{className:"".concat(E,"-close-x")},r.createElement(o.Z,{className:"".concat(E,"-close-icon")})),[A,I]=(0,s.lm)({prefixCls:E,style:C,className:_,motion:k,closable:!1,closeIcon:O,duration:d,getContainer:()=>(null==l?void 0:l())||(null==w?void 0:w())||document.body,maxCount:u,onAllRemoved:v,renderNotifications:y});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},A),{prefixCls:E,message:S})),I}),w=0;function S(e){let t=r.useRef(null);return(0,l.ln)("Message"),[r.useMemo(()=>{let e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:o,prefixCls:i,message:s}=t.current,l="".concat(i,"-notice"),{content:c,icon:u,type:f,key:m,className:g,style:v,onClose:y}=n,b=h(n,["content","icon","type","key","className","style","onClose"]),S=m;return null==S&&(w+=1,S="antd-message-".concat(w)),(0,p.J)(t=>(o(Object.assign(Object.assign({},b),{key:S,content:r.createElement(d.CW,{prefixCls:i,type:f,icon:u},c),placement:"top",className:a()(f&&"".concat(l,"-").concat(f),g,null==s?void 0:s.className),style:Object.assign(Object.assign({},null==s?void 0:s.style),v),onClose:()=>{null==y||y(),t()}})),()=>{e(S)}))},o={open:n,destroy:n=>{var r;void 0!==n?e(n):null===(r=t.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{let t=(t,r,o)=>{let i,a,s;return i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?s=r:(a=r,s=o),n(Object.assign(Object.assign({onClose:s,duration:a},i),{type:e}))};o[e]=t}),o},[]),r.createElement(b,Object.assign({key:"message-holder"},e,{ref:t}))]}function x(e){return S(e)}},97211:function(e,t,n){"use strict";function r(e,t){return{motionName:null!=t?t:"".concat(e,"-move-up")}}function o(e){let t;let n=new Promise(n=>{t=e(()=>{n(!0)})}),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}n.d(t,{J:function(){return o},g:function(){return r}})},59267:function(e,t,n){"use strict";n.d(t,{O:function(){return A},Z:function(){return P}});var r=n(70826),o=n(44194),i=n(72190),a=n(47330),s=n(12834),l=n(22900),c=n(51865),u=n.n(c),d=n(28885),f=n(62334),p=n(22904),h=n(71254),m=n(34066),g=n(22392),v=n(30434),y=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:s,onCancel:l,onConfirm:c}=(0,o.useContext)(v.t);return i?o.createElement(g.Z,{isSilent:r,actionFn:l,close:function(){null==s||s.apply(void 0,arguments),null==c||c(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:"".concat(a,"-btn")},n):null},b=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:s,onConfirm:l,onOk:c}=(0,o.useContext)(v.t);return o.createElement(g.Z,{isSilent:n,type:s||"primary",actionFn:c,close:function(){null==t||t.apply(void 0,arguments),null==l||l(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:"".concat(i,"-btn")},a)},w=n(31801),S=n(82698),x=n(40010),E=n(61885),C=n(2916);let _=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:c}=e,u="".concat(t,"-confirm");return{[u]:{"&-rtl":{direction:"rtl"},["".concat(e.antCls,"-modal-header")]:{display:"none"},["".concat(u,"-body-wrapper")]:Object.assign({},(0,E.dF)()),["&".concat(t," ").concat(t,"-body")]:{padding:c},["".concat(u,"-body")]:{display:"flex",flexWrap:"nowrap",alignItems:"start",["> ".concat(e.iconCls)]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()},["&-has-title > ".concat(e.iconCls)]:{marginTop:e.calc(e.calc(s).sub(o).equal()).div(2).equal()}},["".concat(u,"-paragraph")]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},["".concat(e.iconCls," + ").concat(u,"-paragraph")]:{maxWidth:"calc(100% - ".concat((0,S.bf)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal()),")")},["".concat(u,"-title")]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},["".concat(u,"-content")]:{color:e.colorText,fontSize:i,lineHeight:a},["".concat(u,"-btns")]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,["".concat(e.antCls,"-btn + ").concat(e.antCls,"-btn")]:{marginBottom:0,marginInlineStart:e.marginXS}}},["".concat(u,"-error ").concat(u,"-body > ").concat(e.iconCls)]:{color:e.colorError},["".concat(u,"-warning ").concat(u,"-body > ").concat(e.iconCls,",\n        ").concat(u,"-confirm ").concat(u,"-body > ").concat(e.iconCls)]:{color:e.colorWarning},["".concat(u,"-info ").concat(u,"-body > ").concat(e.iconCls)]:{color:e.colorInfo},["".concat(u,"-success ").concat(u,"-body > ").concat(e.iconCls)]:{color:e.colorSuccess}}};var k=(0,C.bk)(["Modal","confirm"],e=>[_((0,x.B4)(e))],x.eh,{order:-1e3}),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function A(e){let{prefixCls:t,icon:n,okText:c,cancelText:d,confirmPrefixCls:f,type:p,okCancel:m,footer:g,locale:w}=e,S=O(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]),x=n;if(!n&&null!==n)switch(p){case"info":x=o.createElement(l.Z,null);break;case"success":x=o.createElement(i.Z,null);break;case"error":x=o.createElement(a.Z,null);break;default:x=o.createElement(s.Z,null)}let E=null!=m?m:"confirm"===p,C=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[_]=(0,h.Z)("Modal"),A=w||_,I=c||(E?null==A?void 0:A.okText:null==A?void 0:A.justOkText),P=Object.assign({autoFocusButton:C,cancelTextLocale:d||(null==A?void 0:A.cancelText),okTextLocale:I,mergedOkCancel:E},S),T=o.useMemo(()=>P,(0,r.Z)(Object.values(P))),R=o.createElement(o.Fragment,null,o.createElement(y,null),o.createElement(b,null)),M=void 0!==e.title&&null!==e.title,N="".concat(f,"-body");return o.createElement("div",{className:"".concat(f,"-body-wrapper")},o.createElement("div",{className:u()(N,{["".concat(N,"-has-title")]:M})},x,o.createElement("div",{className:"".concat(f,"-paragraph")},M&&o.createElement("span",{className:"".concat(f,"-title")},e.title),o.createElement("div",{className:"".concat(f,"-content")},e.content))),void 0===g||"function"==typeof g?o.createElement(v.n,{value:T},o.createElement("div",{className:"".concat(f,"-btns")},"function"==typeof g?g(R,{OkBtn:b,CancelBtn:y}):R)):g,o.createElement(k,{prefixCls:t}))}let I=e=>{let{close:t,zIndex:n,afterClose:r,open:i,keyboard:a,centered:s,getContainer:l,maskStyle:c,direction:p,prefixCls:h,wrapClassName:g,rootPrefixCls:v,bodyStyle:y,closable:b=!1,closeIcon:S,modalRender:x,focusTriggerAfterClose:E,onConfirm:C,styles:_}=e,k="".concat(h,"-confirm"),O=e.width||416,I=e.style||{},P=void 0===e.mask||e.mask,T=void 0!==e.maskClosable&&e.maskClosable,R=u()(k,"".concat(k,"-").concat(e.type),{["".concat(k,"-rtl")]:"rtl"===p},e.className),[,M]=(0,m.ZP)(),N=o.useMemo(()=>void 0!==n?n:M.zIndexPopupBase+d.u6,[n,M]);return o.createElement(w.Z,{prefixCls:h,className:R,wrapClassName:u()({["".concat(k,"-centered")]:!!e.centered},g),onCancel:()=>{null==t||t({triggerCancel:!0}),null==C||C(!1)},open:i,title:"",footer:null,transitionName:(0,f.m)(v||"","zoom",e.transitionName),maskTransitionName:(0,f.m)(v||"","fade",e.maskTransitionName),mask:P,maskClosable:T,style:I,styles:Object.assign({body:y,mask:c},_),width:O,zIndex:N,afterClose:r,keyboard:a,centered:s,getContainer:l,closable:b,closeIcon:S,modalRender:x,focusTriggerAfterClose:E},o.createElement(A,Object.assign({},e,{confirmPrefixCls:k})))};var P=e=>{let{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return o.createElement(p.ZP,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},o.createElement(I,Object.assign({},e)))}},31801:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return C}});var o=n(44194),i=n(40153),a=n(51865),s=n.n(a),l=n(34912),c=n(80265),u=n(21191),d=n(28885),f=n(62334),p=n(17680);let h=()=>(0,p.Z)()&&window.document.documentElement;var m=n(24283),g=n(25431),v=n(55948),y=n(10256),b=n(36882),w=n(43806),S=n(40010),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let E=e=>{r={x:e.pageX,y:e.pageY},setTimeout(()=>{r=null},100)};h()&&document.documentElement.addEventListener("click",E,!0);var C=e=>{var t;let{getPopupContainer:n,getPrefixCls:a,direction:p,modal:h}=o.useContext(g.E_),E=t=>{let{onCancel:n}=e;null==n||n(t)},C=t=>{let{onOk:n}=e;null==n||n(t)},{prefixCls:_,className:k,rootClassName:O,open:A,wrapClassName:I,centered:P,getContainer:T,focusTriggerAfterClose:R=!0,style:M,visible:N,width:j=520,footer:D,classNames:L,styles:B,children:Z,loading:F}=e,z=x(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),U=a("modal",_),H=a(),q=(0,v.Z)(U),[V,W,$]=(0,S.ZP)(U,q),G=s()(I,{["".concat(U,"-centered")]:!!P,["".concat(U,"-wrap-rtl")]:"rtl"===p}),K=null===D||F?null:o.createElement(w.$,Object.assign({},e,{onOk:C,onCancel:E})),[Y,X]=(0,u.Z)((0,u.w)(e),(0,u.w)(h),{closable:!0,closeIcon:o.createElement(i.Z,{className:"".concat(U,"-close-icon")}),closeIconRender:e=>(0,w.b)(U,e)}),Q=(0,b.H)(".".concat(U,"-content")),[J,ee]=(0,d.Cn)("Modal",z.zIndex);return V(o.createElement(c.Z,{form:!0,space:!0},o.createElement(m.Z.Provider,{value:ee},o.createElement(l.Z,Object.assign({width:j},z,{zIndex:J,getContainer:void 0===T?n:T,prefixCls:U,rootClassName:s()(W,O,$,q),footer:K,visible:null!=A?A:N,mousePosition:null!==(t=z.mousePosition)&&void 0!==t?t:r,onClose:E,closable:Y,closeIcon:X,focusTriggerAfterClose:R,transitionName:(0,f.m)(H,"zoom",e.transitionName),maskTransitionName:(0,f.m)(H,"fade",e.maskTransitionName),className:s()(W,k,null==h?void 0:h.className),style:Object.assign(Object.assign({},null==h?void 0:h.style),M),classNames:Object.assign(Object.assign(Object.assign({},null==h?void 0:h.classNames),L),{wrapper:s()(G,null==L?void 0:L.wrapper)}),styles:Object.assign(Object.assign({},null==h?void 0:h.styles),B),panelRef:Q}),F?o.createElement(y.Z,{active:!0,title:!1,paragraph:{rows:4},className:"".concat(U,"-body-skeleton")}):Z))))}},8476:function(e,t,n){"use strict";n.d(t,{AQ:function(){return y},Au:function(){return b},ZP:function(){return h},ai:function(){return w},cw:function(){return g},uW:function(){return m},vq:function(){return v}});var r=n(70826),o=n(44194),i=n(8372),a=n(25431),s=n(22904),l=n(59267),c=n(13136),u=n(51911);let d="";function f(){return d}let p=e=>{var t,n;let{prefixCls:r,getContainer:i,direction:s}=e,c=(0,u.A)(),d=(0,o.useContext)(a.E_),p=f()||d.getPrefixCls(),h=r||"".concat(p,"-modal"),m=i;return!1===m&&(m=void 0),o.createElement(l.Z,Object.assign({},e,{rootPrefixCls:p,prefixCls:h,iconPrefixCls:d.iconPrefixCls,theme:d.theme,direction:null!=s?s:d.direction,locale:null!==(n=null===(t=d.locale)||void 0===t?void 0:t.Modal)&&void 0!==n?n:c,getContainer:m}))};function h(e){let t;let n=(0,s.w6)(),a=document.createDocumentFragment(),l=Object.assign(Object.assign({},e),{close:h,open:!0});function u(){for(var t,n,o=arguments.length,s=Array(o),l=0;l<o;l++)s[l]=arguments[l];s.some(e=>null==e?void 0:e.triggerCancel)&&(null===(t=e.onCancel)||void 0===t||(n=t).call.apply(n,[e,()=>{}].concat((0,r.Z)(s.slice(1)))));for(let e=0;e<c.Z.length;e++)if(c.Z[e]===h){c.Z.splice(e,1);break}(0,i.v)(a)}function d(e){clearTimeout(t),t=setTimeout(()=>{let t=n.getPrefixCls(void 0,f()),r=n.getIconPrefixCls(),l=n.getTheme(),c=o.createElement(p,Object.assign({},e));(0,i.s)(o.createElement(s.ZP,{prefixCls:t,iconPrefixCls:r,theme:l},n.holderRender?n.holderRender(c):c),a)})}function h(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(l=Object.assign(Object.assign({},l),{open:!1,afterClose:()=>{"function"==typeof e.afterClose&&e.afterClose(),u.apply(this,n)}})).visible&&delete l.visible,d(l)}function m(e){d(l="function"==typeof e?e(l):Object.assign(Object.assign({},l),e))}return d(l),c.Z.push(h),{destroy:h,update:m}}function m(e){return Object.assign(Object.assign({},e),{type:"warning"})}function g(e){return Object.assign(Object.assign({},e),{type:"info"})}function v(e){return Object.assign(Object.assign({},e),{type:"success"})}function y(e){return Object.assign(Object.assign({},e),{type:"error"})}function b(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function w(e){let{rootPrefixCls:t}=e;d=t}},30434:function(e,t,n){"use strict";n.d(t,{n:function(){return o},t:function(){return r}});let r=n(44194).createContext({}),{Provider:o}=r},13136:function(e,t){"use strict";let n=[];t.Z=n},46665:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(8476),o=n(13136),i=n(31801),a=n(44194),s=n(51865),l=n.n(s),c=n(34912),u=n(29876),d=n(25431),f=n(55948),p=n(59267),h=n(43806),m=n(40010),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let v=e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:s,children:u,footer:v}=e,y=g(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:b}=a.useContext(d.E_),w=b(),S=t||b("modal"),x=(0,f.Z)(w),[E,C,_]=(0,m.ZP)(S,x),k="".concat(S,"-confirm"),O={};return O=i?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(p.O,Object.assign({},e,{prefixCls:S,confirmPrefixCls:k,rootPrefixCls:w,content:u}))}:{closable:null==o||o,title:s,footer:null!==v&&a.createElement(h.$,Object.assign({},e)),children:u},E(a.createElement(c.s,Object.assign({prefixCls:S,className:l()(C,"".concat(S,"-pure-panel"),i&&k,i&&"".concat(k,"-").concat(i),n,_,x)},y,{closeIcon:(0,h.b)(S,r),closable:o},O)))};var y=(0,u.i)(v),b=n(99182);function w(e){return(0,r.ZP)((0,r.uW)(e))}let S=i.Z;S.useModal=b.Z,S.info=function(e){return(0,r.ZP)((0,r.cw)(e))},S.success=function(e){return(0,r.ZP)((0,r.vq)(e))},S.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},S.warning=w,S.warn=w,S.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},S.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},S.config=r.ai,S._InternalPanelDoNotUseOrYouWillBeFired=y;var x=S},51911:function(e,t,n){"use strict";n.d(t,{A:function(){return l},f:function(){return s}});var r=n(2941);let o=Object.assign({},r.Z.Modal),i=[],a=()=>i.reduce((e,t)=>Object.assign(Object.assign({},e),t),r.Z.Modal);function s(e){if(e){let t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter(e=>e!==t),o=a()}}o=Object.assign({},r.Z.Modal)}function l(){return o}},43806:function(e,t,n){"use strict";n.d(t,{$:function(){return m},b:function(){return h}});var r=n(70826),o=n(44194),i=n(40153),a=n(1849),s=n(71254),l=n(72477),c=n(30434),u=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,o.useContext)(c.t);return o.createElement(l.ZP,Object.assign({onClick:n},e),t)},d=n(61038),f=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,o.useContext)(c.t);return o.createElement(l.ZP,Object.assign({},(0,d.nx)(n),{loading:e,onClick:i},t),r)},p=n(51911);function h(e,t){return o.createElement("span",{className:"".concat(e,"-close-x")},t||o.createElement(i.Z,{className:"".concat(e,"-close-icon")}))}let m=e=>{let t;let{okText:n,okType:i="primary",cancelText:l,confirmLoading:d,onOk:h,onCancel:m,okButtonProps:g,cancelButtonProps:v,footer:y}=e,[b]=(0,s.Z)("Modal",(0,p.A)()),w={confirmLoading:d,okButtonProps:g,cancelButtonProps:v,okTextLocale:n||(null==b?void 0:b.okText),cancelTextLocale:l||(null==b?void 0:b.cancelText),okType:i,onOk:h,onCancel:m},S=o.useMemo(()=>w,(0,r.Z)(Object.values(w)));return"function"==typeof y||void 0===y?(t=o.createElement(o.Fragment,null,o.createElement(u,null),o.createElement(f,null)),"function"==typeof y&&(t=y(t,{OkBtn:f,CancelBtn:u})),t=o.createElement(c.n,{value:S},t)):t=y,o.createElement(a.n,{disabled:!1},t)}},40010:function(e,t,n){"use strict";n.d(t,{B4:function(){return p},eh:function(){return h}});var r=n(82698),o=n(61885),i=n(82235),a=n(67267),s=n(39564),l=n(2916);function c(e){return{position:e,inset:0}}let u=e=>{let{componentCls:t,antCls:n}=e;return[{["".concat(t,"-root")]:{["".concat(t).concat(n,"-zoom-enter, ").concat(t).concat(n,"-zoom-appear")]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},["".concat(t).concat(n,"-zoom-leave ").concat(t,"-content")]:{pointerEvents:"none"},["".concat(t,"-mask")]:Object.assign(Object.assign({},c("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",["".concat(t,"-hidden")]:{display:"none"}}),["".concat(t,"-wrap")]:Object.assign(Object.assign({},c("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{["".concat(t,"-root")]:(0,i.J$)(e)}]},d=e=>{let{componentCls:t}=e;return[{["".concat(t,"-root")]:{["".concat(t,"-wrap-rtl")]:{direction:"rtl"},["".concat(t,"-centered")]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},["@media (max-width: ".concat(e.screenSMMax,"px)")]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:"".concat((0,r.bf)(e.marginXS)," auto")},["".concat(t,"-centered")]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:"calc(100vw - ".concat((0,r.bf)(e.calc(e.margin).mul(2).equal()),")"),margin:"0 auto",paddingBottom:e.paddingLG,["".concat(t,"-title")]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},["".concat(t,"-content")]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},["".concat(t,"-close")]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:"color ".concat(e.motionDurationMid,", background-color ").concat(e.motionDurationMid),"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:"".concat((0,r.bf)(e.modalCloseBtnSize)),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,o.Qy)(e)),["".concat(t,"-header")]:{color:e.colorText,background:e.headerBg,borderRadius:"".concat((0,r.bf)(e.borderRadiusLG)," ").concat((0,r.bf)(e.borderRadiusLG)," 0 0"),marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},["".concat(t,"-body")]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,["".concat(t,"-body-skeleton")]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:"".concat((0,r.bf)(e.margin)," auto")}},["".concat(t,"-footer")]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,["> ".concat(e.antCls,"-btn + ").concat(e.antCls,"-btn")]:{marginInlineStart:e.marginXS}},["".concat(t,"-open")]:{overflow:"hidden"}})},{["".concat(t,"-pure-panel")]:{top:"auto",padding:0,display:"flex",flexDirection:"column",["".concat(t,"-content,\n          ").concat(t,"-body,\n          ").concat(t,"-confirm-body-wrapper")]:{display:"flex",flexDirection:"column",flex:"auto"},["".concat(t,"-confirm-body")]:{marginBottom:"auto"}}}]},f=e=>{let{componentCls:t}=e;return{["".concat(t,"-root")]:{["".concat(t,"-wrap-rtl")]:{direction:"rtl",["".concat(t,"-confirm-body")]:{direction:"rtl"}}}}},p=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,s.IX)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},h=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:"".concat((0,r.bf)(e.paddingMD)," ").concat((0,r.bf)(e.paddingContentHorizontalLG)),headerPadding:e.wireframe?"".concat((0,r.bf)(e.padding)," ").concat((0,r.bf)(e.paddingLG)):0,headerBorderBottom:e.wireframe?"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit):"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?"".concat((0,r.bf)(e.paddingXS)," ").concat((0,r.bf)(e.padding)):0,footerBorderTop:e.wireframe?"".concat((0,r.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit):"none",footerBorderRadius:e.wireframe?"0 0 ".concat((0,r.bf)(e.borderRadiusLG)," ").concat((0,r.bf)(e.borderRadiusLG)):0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?"".concat((0,r.bf)(2*e.padding)," ").concat((0,r.bf)(2*e.padding)," ").concat((0,r.bf)(e.paddingLG)):0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});t.ZP=(0,l.I$)("Modal",e=>{let t=p(e);return[d(t),f(t),u(t),(0,a._y)(t,"zoom")]},h,{unitless:{titleLineHeight:!0}})},99182:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(70826),o=n(44194);function i(){let[e,t]=o.useState([]);return[e,o.useCallback(e=>(t(t=>[].concat((0,r.Z)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[])]}var a=n(8476),s=n(13136),l=n(25431),c=n(2941),u=n(71254),d=n(59267),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let p=(e,t)=>{var n,{afterClose:i,config:a}=e,s=f(e,["afterClose","config"]);let[p,h]=o.useState(!0),[m,g]=o.useState(a),{direction:v,getPrefixCls:y}=o.useContext(l.E_),b=y("modal"),w=y(),S=()=>{var e;i(),null===(e=m.afterClose)||void 0===e||e.call(m)},x=function(){h(!1);for(var e,t,n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];o.some(e=>null==e?void 0:e.triggerCancel)&&(null===(e=m.onCancel)||void 0===e||(t=e).call.apply(t,[m,()=>{}].concat((0,r.Z)(o.slice(1)))))};o.useImperativeHandle(t,()=>({destroy:x,update:e=>{g(t=>Object.assign(Object.assign({},t),e))}}));let E=null!==(n=m.okCancel)&&void 0!==n?n:"confirm"===m.type,[C]=(0,u.Z)("Modal",c.Z.Modal);return o.createElement(d.Z,Object.assign({prefixCls:b,rootPrefixCls:w},m,{close:x,open:p,afterClose:S,okText:m.okText||(E?null==C?void 0:C.okText:null==C?void 0:C.justOkText),direction:m.direction||v,cancelText:m.cancelText||(null==C?void 0:C.cancelText)},s))};var h=o.forwardRef(p);let m=0,g=o.memo(o.forwardRef((e,t)=>{let[n,r]=i();return o.useImperativeHandle(t,()=>({patchElement:r}),[]),o.createElement(o.Fragment,null,n)}));var v=function(){let e=o.useRef(null),[t,n]=o.useState([]);o.useEffect(()=>{t.length&&((0,r.Z)(t).forEach(e=>{e()}),n([]))},[t]);let i=o.useCallback(t=>function(i){var a;let l,c;m+=1;let u=o.createRef(),d=new Promise(e=>{l=e}),f=!1,p=o.createElement(h,{key:"modal-".concat(m),config:t(i),ref:u,afterClose:()=>{null==c||c()},isSilent:()=>f,onConfirm:e=>{l(e)}});return(c=null===(a=e.current)||void 0===a?void 0:a.patchElement(p))&&s.Z.push(c),{destroy:()=>{function e(){var e;null===(e=u.current)||void 0===e||e.destroy()}u.current?e():n(t=>[].concat((0,r.Z)(t),[e]))},update:e=>{function t(){var t;null===(t=u.current)||void 0===t||t.update(e)}u.current?t():n(e=>[].concat((0,r.Z)(e),[t]))},then:e=>(f=!0,d.then(e))}},[]);return[o.useMemo(()=>({info:i(a.cw),success:i(a.vq),error:i(a.AQ),warning:i(a.uW),confirm:i(a.Au)}),[]),o.createElement(g,{key:"modal-holder",ref:e})]}},89781:function(e,t,n){"use strict";n.d(t,{CW:function(){return S},ZP:function(){return x},z5:function(){return b}});var r=n(44194),o=n(72190),i=n(47330),a=n(40153),s=n(12834),l=n(22900),c=n(21075),u=n(51865),d=n.n(u),f=n(94838),p=n(25431),h=n(55948),m=n(45501),g=n(82698),v=(0,n(2916).bk)(["Notification","PurePanel"],e=>{let t="".concat(e.componentCls,"-notice"),n=(0,m.Rp)(e);return{["".concat(t,"-pure-panel")]:Object.assign(Object.assign({},(0,m.$e)(n)),{width:n.width,maxWidth:"calc(100vw - ".concat((0,g.bf)(e.calc(n.notificationMarginEdge).mul(2).equal()),")"),margin:0})}},m.eh),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function b(e,t){return null===t||!1===t?null:t||r.createElement(a.Z,{className:"".concat(e,"-close-icon")})}l.Z,o.Z,i.Z,s.Z,c.Z;let w={success:o.Z,info:l.Z,error:i.Z,warning:s.Z},S=e=>{let{prefixCls:t,icon:n,type:o,message:i,description:a,btn:s,role:l="alert"}=e,c=null;return n?c=r.createElement("span",{className:"".concat(t,"-icon")},n):o&&(c=r.createElement(w[o]||null,{className:d()("".concat(t,"-icon"),"".concat(t,"-icon-").concat(o))})),r.createElement("div",{className:d()({["".concat(t,"-with-icon")]:c}),role:l},c,r.createElement("div",{className:"".concat(t,"-message")},i),r.createElement("div",{className:"".concat(t,"-description")},a),s&&r.createElement("div",{className:"".concat(t,"-btn")},s))};var x=e=>{let{prefixCls:t,className:n,icon:o,type:i,message:a,description:s,btn:l,closable:c=!0,closeIcon:u,className:g}=e,w=y(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:x}=r.useContext(p.E_),E=t||x("notification"),C="".concat(E,"-notice"),_=(0,h.Z)(E),[k,O,A]=(0,m.ZP)(E,_);return k(r.createElement("div",{className:d()("".concat(C,"-pure-panel"),O,n,A,_)},r.createElement(v,{prefixCls:E}),r.createElement(f.qX,Object.assign({},w,{prefixCls:E,eventKey:"pure",duration:null,closable:c,className:d()({notificationClassName:g}),closeIcon:b(E,u),content:r.createElement(S,{prefixCls:C,icon:o,type:i,message:a,description:s,btn:l})}))))}},45501:function(e,t,n){"use strict";n.d(t,{ZP:function(){return b},$e:function(){return m},eh:function(){return v},Rp:function(){return y}});var r=n(82698),o=n(28885),i=n(61885),a=n(39564),s=n(2916),l=e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:o}=e,i="".concat(t,"-notice"),a=new r.E4("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),s=new r.E4("antNotificationTopFadeIn",{"0%":{top:-o,opacity:0},"100%":{top:0,opacity:1}}),l=new r.E4("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(o).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new r.E4("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{["&".concat(t,"-top, &").concat(t,"-bottom")]:{marginInline:0,[i]:{marginInline:"auto auto"}},["&".concat(t,"-top")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:s}},["&".concat(t,"-bottom")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:l}},["&".concat(t,"-topRight, &").concat(t,"-bottomRight")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:a}},["&".concat(t,"-topLeft, &").concat(t,"-bottomLeft")]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:c}}}}};let c=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],u={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},d=(e,t)=>{let{componentCls:n}=e;return{["".concat(n,"-").concat(t)]:{["&".concat(n,"-stack > ").concat(n,"-notice-wrapper")]:{[t.startsWith("top")?"top":"bottom"]:0,[u[t]]:{value:0,_skip_check_:!0}}}}},f=e=>{let t={};for(let n=1;n<e.notificationStackLayer;n++)t["&:nth-last-child(".concat(n+1,")")]={overflow:"hidden",["& > ".concat(e.componentCls,"-notice")]:{opacity:0,transition:"opacity ".concat(e.motionDurationMid)}};return Object.assign({["&:not(:nth-last-child(-n+".concat(e.notificationStackLayer,"))")]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},p=e=>{let t={};for(let n=1;n<e.notificationStackLayer;n++)t["&:nth-last-child(".concat(n+1,")")]={background:e.colorBgBlur,backdropFilter:"blur(10px)","-webkit-backdrop-filter":"blur(10px)"};return Object.assign({},t)};var h=e=>{let{componentCls:t}=e;return Object.assign({["".concat(t,"-stack")]:{["& > ".concat(t,"-notice-wrapper")]:Object.assign({transition:"all ".concat(e.motionDurationSlow,", backdrop-filter 0s"),position:"absolute"},f(e))},["".concat(t,"-stack:not(").concat(t,"-stack-expanded)")]:{["& > ".concat(t,"-notice-wrapper")]:Object.assign({},p(e))},["".concat(t,"-stack").concat(t,"-stack-expanded")]:{["& > ".concat(t,"-notice-wrapper")]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",["& > ".concat(e.componentCls,"-notice")]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},c.map(t=>d(e,t)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{}))};let m=e=>{let{iconCls:t,componentCls:n,boxShadow:o,fontSizeLG:a,notificationMarginBottom:s,borderRadiusLG:l,colorSuccess:c,colorInfo:u,colorWarning:d,colorError:f,colorTextHeading:p,notificationBg:h,notificationPadding:m,notificationMarginEdge:g,notificationProgressBg:v,notificationProgressHeight:y,fontSize:b,lineHeight:w,width:S,notificationIconSize:x,colorText:E}=e,C="".concat(n,"-notice");return{position:"relative",marginBottom:s,marginInlineStart:"auto",background:h,borderRadius:l,boxShadow:o,[C]:{padding:m,width:S,maxWidth:"calc(100vw - ".concat((0,r.bf)(e.calc(g).mul(2).equal()),")"),overflow:"hidden",lineHeight:w,wordWrap:"break-word"},["".concat(C,"-message")]:{marginBottom:e.marginXS,color:p,fontSize:a,lineHeight:e.lineHeightLG},["".concat(C,"-description")]:{fontSize:b,color:E},["".concat(C,"-closable ").concat(C,"-message")]:{paddingInlineEnd:e.paddingLG},["".concat(C,"-with-icon ").concat(C,"-message")]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(x).equal(),fontSize:a},["".concat(C,"-with-icon ").concat(C,"-description")]:{marginInlineStart:e.calc(e.marginSM).add(x).equal(),fontSize:b},["".concat(C,"-icon")]:{position:"absolute",fontSize:x,lineHeight:1,["&-success".concat(t)]:{color:c},["&-info".concat(t)]:{color:u},["&-warning".concat(t)]:{color:d},["&-error".concat(t)]:{color:f}},["".concat(C,"-close")]:Object.assign({position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:"background-color ".concat(e.motionDurationMid,", color ").concat(e.motionDurationMid),display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},(0,i.Qy)(e)),["".concat(C,"-progress")]:{position:"absolute",display:"block",appearance:"none",WebkitAppearance:"none",inlineSize:"calc(100% - ".concat((0,r.bf)(l)," * 2)"),left:{_skip_check_:!0,value:l},right:{_skip_check_:!0,value:l},bottom:0,blockSize:y,border:0,"&, &::-webkit-progress-bar":{borderRadius:l,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:v},"&::-webkit-progress-value":{borderRadius:l,background:v}},["".concat(C,"-btn")]:{float:"right",marginTop:e.marginSM}}},g=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:o,motionDurationMid:a,motionEaseInOut:s}=e,l="".concat(t,"-notice"),c=new r.E4("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:o,_skip_check_:!0},["".concat(t,"-hook-holder")]:{position:"relative"},["".concat(t,"-fade-appear-prepare")]:{opacity:"0 !important"},["".concat(t,"-fade-enter, ").concat(t,"-fade-appear")]:{animationDuration:e.motionDurationMid,animationTimingFunction:s,animationFillMode:"both",opacity:0,animationPlayState:"paused"},["".concat(t,"-fade-leave")]:{animationTimingFunction:s,animationFillMode:"both",animationDuration:a,animationPlayState:"paused"},["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationPlayState:"running"},["".concat(t,"-fade-leave").concat(t,"-fade-leave-active")]:{animationName:c,animationPlayState:"running"},"&-rtl":{direction:"rtl",["".concat(l,"-btn")]:{float:"left"}}})},{[t]:{["".concat(l,"-wrapper")]:Object.assign({},m(e))}}]},v=e=>({zIndexPopup:e.zIndexPopupBase+o.u6+50,width:384}),y=e=>{let t=e.paddingMD,n=e.paddingLG;return(0,a.IX)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:"".concat((0,r.bf)(e.paddingMD)," ").concat((0,r.bf)(e.paddingContentHorizontalLG)),notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:"linear-gradient(90deg, ".concat(e.colorPrimaryBorderHover,", ").concat(e.colorPrimary,")")})};var b=(0,s.I$)("Notification",e=>{let t=y(e);return[g(t),l(t),h(t)]},v)},18493:function(e,t,n){"use strict";n.d(t,{Z:function(){return E},k:function(){return x}});var r=n(44194),o=n(51865),i=n.n(o),a=n(94838),s=n(66973),l=n(25431),c=n(55948),u=n(34066),d=n(89781),f=n(45501);function p(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r}function h(e){return{motionName:"".concat(e,"-fade")}}var m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let g=24,v=4.5,y="topRight",b=e=>{let{children:t,prefixCls:n}=e,o=(0,c.Z)(n),[s,l,u]=(0,f.ZP)(n,o);return s(r.createElement(a.JB,{classNames:{list:i()(l,u,o)}},t))},w=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(b,{prefixCls:n,key:o},e)},S=r.forwardRef((e,t)=>{let{top:n,bottom:o,prefixCls:s,getContainer:c,maxCount:f,rtl:m,onAllRemoved:y,stack:b,duration:S,pauseOnHover:x=!0,showProgress:E}=e,{getPrefixCls:C,getPopupContainer:_,notification:k,direction:O}=(0,r.useContext)(l.E_),[,A]=(0,u.ZP)(),I=s||C("notification"),P=e=>p(e,null!=n?n:g,null!=o?o:g),T=()=>i()({["".concat(I,"-rtl")]:null!=m?m:"rtl"===O}),R=()=>h(I),[M,N]=(0,a.lm)({prefixCls:I,style:P,className:T,motion:R,closable:!0,closeIcon:(0,d.z5)(I),duration:null!=S?S:v,getContainer:()=>(null==c?void 0:c())||(null==_?void 0:_())||document.body,maxCount:f,pauseOnHover:x,showProgress:E,onAllRemoved:y,renderNotifications:w,stack:!1!==b&&{threshold:"object"==typeof b?null==b?void 0:b.threshold:void 0,offset:8,gap:A.margin}});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},M),{prefixCls:I,notification:k})),N});function x(e){let t=r.useRef(null);return(0,s.ln)("Notification"),[r.useMemo(()=>{let n=n=>{var o;if(!t.current)return;let{open:a,prefixCls:s,notification:l}=t.current,c="".concat(s,"-notice"),{message:u,description:f,icon:p,type:h,btn:g,className:v,style:b,role:w="alert",closeIcon:S,closable:x}=n,E=m(n,["message","description","icon","type","btn","className","style","role","closeIcon","closable"]),C=(0,d.z5)(c,void 0!==S?S:null==l?void 0:l.closeIcon);return a(Object.assign(Object.assign({placement:null!==(o=null==e?void 0:e.placement)&&void 0!==o?o:y},E),{content:r.createElement(d.CW,{prefixCls:c,icon:p,type:h,message:u,description:f,btn:g,role:w}),className:i()(h&&"".concat(c,"-").concat(h),v,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),b),closeIcon:C,closable:null!=x?x:!!C}))},o={open:n,destroy:e=>{var n,r;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(r=t.current)||void 0===r||r.destroy()}};return["success","info","warning","error"].forEach(e=>{o[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))}),o},[]),r.createElement(S,Object.assign({key:"notification-holder"},e,{ref:t}))]}function E(e){return x(e)}},51859:function(e,t,n){"use strict";n.d(t,{Z:function(){return es}});var r=n(44194),o=n(27820),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},a=n(72654),s=function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i}))},l=r.forwardRef(s),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},u=function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:c}))},d=r.forwardRef(u),f=n(63740),p=n(60540),h=n(51865),m=n.n(h),g=n(52986),v=n(24335),y=n(33581),b=n(7732),w=n(45571),S=n(4062),x=n(11875);n(6103);var E=n(74674),C=["10","20","50","100"],_=function(e){var t=e.pageSizeOptions,n=void 0===t?C:t,o=e.locale,i=e.changeSize,a=e.pageSize,s=e.goButton,l=e.quickGo,c=e.rootPrefixCls,u=e.selectComponentClass,d=e.selectPrefixCls,f=e.disabled,p=e.buildOptionText,h=r.useState(""),m=(0,b.Z)(h,2),g=m[0],v=m[1],y=function(){return!g||Number.isNaN(g)?void 0:Number(g)},w="function"==typeof p?p:function(e){return"".concat(e," ").concat(o.items_per_page)},x=function(e){null==i||i(Number(e))},E=function(e){v(e.target.value)},_=function(e){!s&&""!==g&&(v(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(c,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(c,"-item"))>=0)||null==l||l(y()))},k=function(e){""!==g&&(e.keyCode===S.Z.ENTER||"click"===e.type)&&(v(""),null==l||l(y()))},O=function(){return n.some(function(e){return e.toString()===a.toString()})?n:n.concat([a.toString()]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})},A="".concat(c,"-options");if(!i&&!l)return null;var I=null,P=null,T=null;if(i&&u){var R=O().map(function(e,t){return r.createElement(u.Option,{key:t,value:e.toString()},w(e))});I=r.createElement(u,{disabled:f,prefixCls:d,showSearch:!1,className:"".concat(A,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(a||n[0]).toString(),onChange:x,getPopupContainer:function(e){return e.parentNode},"aria-label":o.page_size,defaultOpen:!1},R)}return l&&(s&&(T="boolean"==typeof s?r.createElement("button",{type:"button",onClick:k,onKeyUp:k,disabled:f,className:"".concat(A,"-quick-jumper-button")},o.jump_to_confirm):r.createElement("span",{onClick:k,onKeyUp:k},s)),P=r.createElement("div",{className:"".concat(A,"-quick-jumper")},o.jump_to,r.createElement("input",{disabled:f,type:"text",value:g,onChange:E,onKeyUp:k,onBlur:_,"aria-label":o.page}),o.page,T)),r.createElement("li",{className:A},I,P)},k=function(e){var t,n=e.rootPrefixCls,o=e.page,i=e.active,a=e.className,s=e.showTitle,l=e.onClick,c=e.onKeyPress,u=e.itemRender,d="".concat(n,"-item"),f=m()(d,"".concat(d,"-").concat(o),(t={},(0,g.Z)(t,"".concat(d,"-active"),i),(0,g.Z)(t,"".concat(d,"-disabled"),!o),t),a),p=function(){l(o)},h=function(e){c(e,l,o)},v=u(o,"page",r.createElement("a",{rel:"nofollow"},o));return v?r.createElement("li",{title:s?String(o):null,className:f,onClick:p,onKeyDown:h,tabIndex:0},v):null},O=function(e,t,n){return n};function A(){}function I(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function P(e,t,n){return Math.floor((n-1)/(void 0===e?t:e))+1}var T=function(e){var t,n,i,a=e.prefixCls,s=void 0===a?"rc-pagination":a,l=e.selectPrefixCls,c=void 0===l?"rc-select":l,u=e.className,d=e.selectComponentClass,f=e.current,p=e.defaultCurrent,h=void 0===p?1:p,C=e.total,T=void 0===C?0:C,R=e.pageSize,M=e.defaultPageSize,N=void 0===M?10:M,j=e.onChange,D=void 0===j?A:j,L=e.hideOnSinglePage,B=e.align,Z=e.showPrevNextJumpers,F=void 0===Z||Z,z=e.showQuickJumper,U=e.showLessItems,H=e.showTitle,q=void 0===H||H,V=e.onShowSizeChange,W=void 0===V?A:V,$=e.locale,G=void 0===$?E.Z:$,K=e.style,Y=e.totalBoundaryShowSizeChanger,X=void 0===Y?50:Y,Q=e.disabled,J=e.simple,ee=e.showTotal,et=e.showSizeChanger,en=e.pageSizeOptions,er=e.itemRender,eo=void 0===er?O:er,ei=e.jumpPrevIcon,ea=e.jumpNextIcon,es=e.prevIcon,el=e.nextIcon,ec=r.useRef(null),eu=(0,w.Z)(10,{value:R,defaultValue:N}),ed=(0,b.Z)(eu,2),ef=ed[0],ep=ed[1],eh=(0,w.Z)(1,{value:f,defaultValue:h,postState:function(e){return Math.max(1,Math.min(e,P(void 0,ef,T)))}}),em=(0,b.Z)(eh,2),eg=em[0],ev=em[1],ey=r.useState(eg),eb=(0,b.Z)(ey,2),ew=eb[0],eS=eb[1];(0,r.useEffect)(function(){eS(eg)},[eg]);var ex=Math.max(1,eg-(U?3:5)),eE=Math.min(P(void 0,ef,T),eg+(U?3:5));function eC(t,n){var o=t||r.createElement("button",{type:"button","aria-label":n,className:"".concat(s,"-item-link")});return"function"==typeof t&&(o=r.createElement(t,(0,y.Z)({},e))),o}function e_(e){var t=e.target.value,n=P(void 0,ef,T);return""===t?t:Number.isNaN(Number(t))?ew:t>=n?n:Number(t)}function ek(e){return I(e)&&e!==eg&&I(T)&&T>0}var eO=T>ef&&z;function eA(e){(e.keyCode===S.Z.UP||e.keyCode===S.Z.DOWN)&&e.preventDefault()}function eI(e){var t=e_(e);switch(t!==ew&&eS(t),e.keyCode){case S.Z.ENTER:eR(t);break;case S.Z.UP:eR(t-1);break;case S.Z.DOWN:eR(t+1)}}function eP(e){eR(e_(e))}function eT(e){var t=P(e,ef,T),n=eg>t&&0!==t?t:eg;ep(e),eS(n),null==W||W(eg,e),ev(n),null==D||D(n,e)}function eR(e){if(ek(e)&&!Q){var t=P(void 0,ef,T),n=e;return e>t?n=t:e<1&&(n=1),n!==ew&&eS(n),ev(n),null==D||D(n,ef),n}return eg}var eM=eg>1,eN=eg<P(void 0,ef,T),ej=null!=et?et:T>X;function eD(){eM&&eR(eg-1)}function eL(){eN&&eR(eg+1)}function eB(){eR(ex)}function eZ(){eR(eE)}function eF(e,t){if("Enter"===e.key||e.charCode===S.Z.ENTER||e.keyCode===S.Z.ENTER){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];t.apply(void 0,r)}}function ez(e){eF(e,eD)}function eU(e){eF(e,eL)}function eH(e){eF(e,eB)}function eq(e){eF(e,eZ)}function eV(e){var t=eo(e,"prev",eC(es,"prev page"));return r.isValidElement(t)?r.cloneElement(t,{disabled:!eM}):t}function eW(e){var t=eo(e,"next",eC(el,"next page"));return r.isValidElement(t)?r.cloneElement(t,{disabled:!eN}):t}function e$(e){("click"===e.type||e.keyCode===S.Z.ENTER)&&eR(ew)}var eG=null,eK=(0,x.Z)(e,{aria:!0,data:!0}),eY=ee&&r.createElement("li",{className:"".concat(s,"-total-text")},ee(T,[0===T?0:(eg-1)*ef+1,eg*ef>T?T:eg*ef])),eX=null,eQ=P(void 0,ef,T);if(L&&T<=ef)return null;var eJ=[],e0={rootPrefixCls:s,onClick:eR,onKeyPress:eF,showTitle:q,itemRender:eo,page:-1},e1=eg-1>0?eg-1:0,e2=eg+1<eQ?eg+1:eQ,e3=z&&z.goButton,e4="object"===(0,v.Z)(J)?J.readOnly:!J,e5=e3,e6=null;J&&(e3&&(e5="boolean"==typeof e3?r.createElement("button",{type:"button",onClick:e$,onKeyUp:e$},G.jump_to_confirm):r.createElement("span",{onClick:e$,onKeyUp:e$},e3),e5=r.createElement("li",{title:q?"".concat(G.jump_to).concat(eg,"/").concat(eQ):null,className:"".concat(s,"-simple-pager")},e5)),e6=r.createElement("li",{title:q?"".concat(eg,"/").concat(eQ):null,className:"".concat(s,"-simple-pager")},e4?ew:r.createElement("input",{type:"text",value:ew,disabled:Q,onKeyDown:eA,onKeyUp:eI,onChange:eI,onBlur:eP,size:3}),r.createElement("span",{className:"".concat(s,"-slash")},"/"),eQ));var e8=U?1:2;if(eQ<=3+2*e8){eQ||eJ.push(r.createElement(k,(0,o.Z)({},e0,{key:"noPager",page:1,className:"".concat(s,"-item-disabled")})));for(var e7=1;e7<=eQ;e7+=1)eJ.push(r.createElement(k,(0,o.Z)({},e0,{key:e7,page:e7,active:eg===e7})))}else{var e9=U?G.prev_3:G.prev_5,te=U?G.next_3:G.next_5,tt=eo(ex,"jump-prev",eC(ei,"prev page")),tn=eo(eE,"jump-next",eC(ea,"next page"));F&&(eG=tt?r.createElement("li",{title:q?e9:null,key:"prev",onClick:eB,tabIndex:0,onKeyDown:eH,className:m()("".concat(s,"-jump-prev"),(0,g.Z)({},"".concat(s,"-jump-prev-custom-icon"),!!ei))},tt):null,eX=tn?r.createElement("li",{title:q?te:null,key:"next",onClick:eZ,tabIndex:0,onKeyDown:eq,className:m()("".concat(s,"-jump-next"),(0,g.Z)({},"".concat(s,"-jump-next-custom-icon"),!!ea))},tn):null);var tr=Math.max(1,eg-e8),to=Math.min(eg+e8,eQ);eg-1<=e8&&(to=1+2*e8),eQ-eg<=e8&&(tr=eQ-2*e8);for(var ti=tr;ti<=to;ti+=1)eJ.push(r.createElement(k,(0,o.Z)({},e0,{key:ti,page:ti,active:eg===ti})));if(eg-1>=2*e8&&3!==eg&&(eJ[0]=r.cloneElement(eJ[0],{className:m()("".concat(s,"-item-after-jump-prev"),eJ[0].props.className)}),eJ.unshift(eG)),eQ-eg>=2*e8&&eg!==eQ-2){var ta=eJ[eJ.length-1];eJ[eJ.length-1]=r.cloneElement(ta,{className:m()("".concat(s,"-item-before-jump-next"),ta.props.className)}),eJ.push(eX)}1!==tr&&eJ.unshift(r.createElement(k,(0,o.Z)({},e0,{key:1,page:1}))),to!==eQ&&eJ.push(r.createElement(k,(0,o.Z)({},e0,{key:eQ,page:eQ})))}var ts=eV(e1);if(ts){var tl=!eM||!eQ;ts=r.createElement("li",{title:q?G.prev_page:null,onClick:eD,tabIndex:tl?null:0,onKeyDown:ez,className:m()("".concat(s,"-prev"),(0,g.Z)({},"".concat(s,"-disabled"),tl)),"aria-disabled":tl},ts)}var tc=eW(e2);tc&&(J?(n=!eN,i=eM?0:null):i=(n=!eN||!eQ)?null:0,tc=r.createElement("li",{title:q?G.next_page:null,onClick:eL,tabIndex:i,onKeyDown:eU,className:m()("".concat(s,"-next"),(0,g.Z)({},"".concat(s,"-disabled"),n)),"aria-disabled":n},tc));var tu=m()(s,u,(t={},(0,g.Z)(t,"".concat(s,"-start"),"start"===B),(0,g.Z)(t,"".concat(s,"-center"),"center"===B),(0,g.Z)(t,"".concat(s,"-end"),"end"===B),(0,g.Z)(t,"".concat(s,"-simple"),J),(0,g.Z)(t,"".concat(s,"-disabled"),Q),t));return r.createElement("ul",(0,o.Z)({className:tu,style:K,ref:ec},eK),eY,ts,J?e6:eJ,tc,r.createElement(_,{locale:G,rootPrefixCls:s,disabled:Q,selectComponentClass:d,selectPrefixCls:c,changeSize:ej?eT:null,pageSize:ef,pageSizeOptions:en,quickGo:eO?eR:null,goButton:e5}))},R=n(12567),M=n(25431),N=n(3690),j=n(46212),D=n(71254),L=n(34066),B=n(3097);let Z=e=>r.createElement(B.default,Object.assign({},e,{showSearch:!0,size:"small"})),F=e=>r.createElement(B.default,Object.assign({},e,{showSearch:!0,size:"middle"}));Z.Option=B.default.Option,F.Option=B.default.Option;var z=n(82698),U=n(29323),H=n(66743),q=n(63479),V=n(61885),W=n(39564),$=n(2916);let G=e=>{let{componentCls:t}=e;return{["".concat(t,"-disabled")]:{"&, &:hover":{cursor:"not-allowed",["".concat(t,"-item-link")]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",["".concat(t,"-item-link")]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},["&".concat(t,"-disabled")]:{cursor:"not-allowed",["".concat(t,"-item")]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},["".concat(t,"-item-link")]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},["".concat(t,"-simple&")]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},["".concat(t,"-simple-pager")]:{color:e.colorTextDisabled},["".concat(t,"-jump-prev, ").concat(t,"-jump-next")]:{["".concat(t,"-item-link-icon")]:{opacity:0},["".concat(t,"-item-ellipsis")]:{opacity:1}}},["&".concat(t,"-simple")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{["&".concat(t,"-disabled ").concat(t,"-item-link")]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},K=e=>{let{componentCls:t}=e;return{["&".concat(t,"-mini ").concat(t,"-total-text, &").concat(t,"-mini ").concat(t,"-simple-pager")]:{height:e.itemSizeSM,lineHeight:(0,z.bf)(e.itemSizeSM)},["&".concat(t,"-mini ").concat(t,"-item")]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,z.bf)(e.calc(e.itemSizeSM).sub(2).equal())},["&".concat(t,"-mini:not(").concat(t,"-disabled) ").concat(t,"-item:not(").concat(t,"-item-active)")]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},["&".concat(t,"-mini ").concat(t,"-prev, &").concat(t,"-mini ").concat(t,"-next")]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,z.bf)(e.itemSizeSM)},["&".concat(t,"-mini:not(").concat(t,"-disabled)")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{["&:hover ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextHover},["&:active ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextActive},["&".concat(t,"-disabled:hover ").concat(t,"-item-link")]:{backgroundColor:"transparent"}}},["\n    &".concat(t,"-mini ").concat(t,"-prev ").concat(t,"-item-link,\n    &").concat(t,"-mini ").concat(t,"-next ").concat(t,"-item-link\n    ")]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,z.bf)(e.itemSizeSM)}},["&".concat(t,"-mini ").concat(t,"-jump-prev, &").concat(t,"-mini ").concat(t,"-jump-next")]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,z.bf)(e.itemSizeSM)},["&".concat(t,"-mini ").concat(t,"-options")]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,z.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,U.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},Y=e=>{let{componentCls:t}=e;return{["\n    &".concat(t,"-simple ").concat(t,"-prev,\n    &").concat(t,"-simple ").concat(t,"-next\n    ")]:{height:e.itemSizeSM,lineHeight:(0,z.bf)(e.itemSizeSM),verticalAlign:"top",["".concat(t,"-item-link")]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,z.bf)(e.itemSizeSM)}}},["&".concat(t,"-simple ").concat(t,"-simple-pager")]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:"0 ".concat((0,z.bf)(e.paginationItemPaddingInline)),textAlign:"center",backgroundColor:e.itemInputBg,border:"".concat((0,z.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadius,outline:"none",transition:"border-color ".concat(e.motionDurationMid),color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:"".concat((0,z.bf)(e.inputOutlineOffset)," 0 ").concat((0,z.bf)(e.controlOutlineWidth)," ").concat(e.controlOutline)},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},X=e=>{let{componentCls:t,antCls:n}=e;return{["".concat(t,"-jump-prev, ").concat(t,"-jump-next")]:{outline:0,["".concat(t,"-item-container")]:{position:"relative",["".concat(t,"-item-link-icon")]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:"all ".concat(e.motionDurationMid),"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},["".concat(t,"-item-ellipsis")]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:"all ".concat(e.motionDurationMid)}},"&:hover":{["".concat(t,"-item-link-icon")]:{opacity:1},["".concat(t,"-item-ellipsis")]:{opacity:0}}},["\n    ".concat(t,"-prev,\n    ").concat(t,"-jump-prev,\n    ").concat(t,"-jump-next\n    ")]:{marginInlineEnd:e.marginXS},["\n    ".concat(t,"-prev,\n    ").concat(t,"-next,\n    ").concat(t,"-jump-prev,\n    ").concat(t,"-jump-next\n    ")]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:"".concat((0,z.bf)(e.itemSize)),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:"all ".concat(e.motionDurationMid)},["".concat(t,"-prev, ").concat(t,"-next")]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},["".concat(t,"-item-link")]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:"".concat((0,z.bf)(e.lineWidth)," ").concat(e.lineType," transparent"),borderRadius:e.borderRadius,outline:"none",transition:"all ".concat(e.motionDurationMid)},["&:hover ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextHover},["&:active ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextActive},["&".concat(t,"-disabled:hover")]:{["".concat(t,"-item-link")]:{backgroundColor:"transparent"}}},["".concat(t,"-slash")]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},["".concat(t,"-options")]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto",["".concat(n,"-select-arrow:not(:last-child)")]:{opacity:1}},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,z.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,U.ik)(e)),(0,q.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,q.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},Q=e=>{let{componentCls:t}=e;return{["".concat(t,"-item")]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,z.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:"".concat((0,z.bf)(e.lineWidth)," ").concat(e.lineType," transparent"),borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:"0 ".concat((0,z.bf)(e.paginationItemPaddingInline)),color:e.colorText,"&:hover":{textDecoration:"none"}},["&:not(".concat(t,"-item-active)")]:{"&:hover":{transition:"all ".concat(e.motionDurationMid),backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},J=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,V.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},["".concat(t,"-total-text")]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,z.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),Q(e)),X(e)),Y(e)),K(e)),G(e)),{["@media only screen and (max-width: ".concat(e.screenLG,"px)")]:{["".concat(t,"-item")]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},["@media only screen and (max-width: ".concat(e.screenSM,"px)")]:{["".concat(t,"-options")]:{display:"none"}}}),["&".concat(e.componentCls,"-rtl")]:{direction:"rtl"}}},ee=e=>{let{componentCls:t}=e;return{["".concat(t,":not(").concat(t,"-disabled)")]:{["".concat(t,"-item")]:Object.assign({},(0,V.Qy)(e)),["".concat(t,"-jump-prev, ").concat(t,"-jump-next")]:{"&:focus-visible":Object.assign({["".concat(t,"-item-link-icon")]:{opacity:1},["".concat(t,"-item-ellipsis")]:{opacity:0}},(0,V.oN)(e))},["".concat(t,"-prev, ").concat(t,"-next")]:{["&:focus-visible ".concat(t,"-item-link")]:Object.assign({},(0,V.oN)(e))}}}},et=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,H.T)(e)),en=e=>(0,W.IX)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,H.e)(e));var er=(0,$.I$)("Pagination",e=>{let t=en(e);return[J(t),ee(t)]},et);let eo=e=>{let{componentCls:t}=e;return{["".concat(t).concat(t,"-bordered").concat(t,"-disabled:not(").concat(t,"-mini)")]:{"&, &:hover":{["".concat(t,"-item-link")]:{borderColor:e.colorBorder}},"&:focus-visible":{["".concat(t,"-item-link")]:{borderColor:e.colorBorder}},["".concat(t,"-item, ").concat(t,"-item-link")]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,["&:hover:not(".concat(t,"-item-active)")]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},["&".concat(t,"-item-active")]:{backgroundColor:e.itemActiveBgDisabled}},["".concat(t,"-prev, ").concat(t,"-next")]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},["".concat(t,"-item-link")]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},["".concat(t).concat(t,"-bordered:not(").concat(t,"-mini)")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},["".concat(t,"-item-link")]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},["&:hover ".concat(t,"-item-link")]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},["&".concat(t,"-disabled")]:{["".concat(t,"-item-link")]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},["".concat(t,"-item")]:{backgroundColor:e.itemBg,border:"".concat((0,z.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),["&:hover:not(".concat(t,"-item-active)")]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}};var ei=(0,$.bk)(["Pagination","bordered"],e=>[eo(en(e))],et),ea=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},es=e=>{let{align:t,prefixCls:n,selectPrefixCls:o,className:i,rootClassName:a,style:s,size:c,locale:u,selectComponentClass:h,responsive:g,showSizeChanger:v}=e,y=ea(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:b}=(0,j.Z)(g),[,w]=(0,L.ZP)(),{getPrefixCls:S,direction:x,pagination:E={}}=r.useContext(M.E_),C=S("pagination",n),[_,k,O]=er(C),A=null!=v?v:E.showSizeChanger,I=r.useMemo(()=>{let e=r.createElement("span",{className:"".concat(C,"-item-ellipsis")},"•••"),t=r.createElement("button",{className:"".concat(C,"-item-link"),type:"button",tabIndex:-1},"rtl"===x?r.createElement(p.Z,null):r.createElement(f.Z,null));return{prevIcon:t,nextIcon:r.createElement("button",{className:"".concat(C,"-item-link"),type:"button",tabIndex:-1},"rtl"===x?r.createElement(f.Z,null):r.createElement(p.Z,null)),jumpPrevIcon:r.createElement("a",{className:"".concat(C,"-item-link")},r.createElement("div",{className:"".concat(C,"-item-container")},"rtl"===x?r.createElement(d,{className:"".concat(C,"-item-link-icon")}):r.createElement(l,{className:"".concat(C,"-item-link-icon")}),e)),jumpNextIcon:r.createElement("a",{className:"".concat(C,"-item-link")},r.createElement("div",{className:"".concat(C,"-item-container")},"rtl"===x?r.createElement(l,{className:"".concat(C,"-item-link-icon")}):r.createElement(d,{className:"".concat(C,"-item-link-icon")}),e))}},[x,C]),[P]=(0,D.Z)("Pagination",R.Z),B=Object.assign(Object.assign({},P),u),z=(0,N.Z)(c),U="small"===z||!!(b&&!z&&g),H=S("select",o),q=m()({["".concat(C,"-").concat(t)]:!!t,["".concat(C,"-mini")]:U,["".concat(C,"-rtl")]:"rtl"===x,["".concat(C,"-bordered")]:w.wireframe},null==E?void 0:E.className,i,a,k,O),V=Object.assign(Object.assign({},null==E?void 0:E.style),s);return _(r.createElement(r.Fragment,null,w.wireframe&&r.createElement(ei,{prefixCls:C}),r.createElement(T,Object.assign({},I,y,{style:V,prefixCls:C,selectPrefixCls:H,className:q,selectComponentClass:h||(U?Z:F),locale:B,showSizeChanger:A}))))}},12872:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(44194),o=n(12834),i=n(51865),a=n.n(i),s=n(45571),l=n(76933),c=n(25431),u=n(25359),d=n(22392),f=n(4702),p=n(72477),h=n(61038),m=n(71254),g=n(2941),v=n(75922),y=n(2916);let b=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:o,colorText:i,colorWarning:a,marginXXS:s,marginXS:l,fontSize:c,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:o,["&".concat(r,"-popover")]:{fontSize:c},["".concat(t,"-message")]:{marginBottom:l,display:"flex",flexWrap:"nowrap",alignItems:"start",["> ".concat(t,"-message-icon ").concat(n)]:{color:a,fontSize:c,lineHeight:1,marginInlineEnd:l},["".concat(t,"-title")]:{fontWeight:u,color:d,"&:only-child":{fontWeight:"normal"}},["".concat(t,"-description")]:{marginTop:s,color:i}},["".concat(t,"-buttons")]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:l}}}}},w=e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}};var S=(0,y.I$)("Popconfirm",e=>b(e),w,{resetStyle:!1}),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let E=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:i,title:a,description:s,cancelText:l,okText:u,okType:v="primary",icon:y=r.createElement(o.Z,null),showCancel:b=!0,close:w,onConfirm:S,onCancel:x,onPopupClick:E}=e,{getPrefixCls:C}=r.useContext(c.E_),[_]=(0,m.Z)("Popconfirm",g.Z.Popconfirm),k=(0,f.Z)(a),O=(0,f.Z)(s);return r.createElement("div",{className:"".concat(t,"-inner-content"),onClick:E},r.createElement("div",{className:"".concat(t,"-message")},y&&r.createElement("span",{className:"".concat(t,"-message-icon")},y),r.createElement("div",{className:"".concat(t,"-message-text")},k&&r.createElement("div",{className:"".concat(t,"-title")},k),O&&r.createElement("div",{className:"".concat(t,"-description")},O))),r.createElement("div",{className:"".concat(t,"-buttons")},b&&r.createElement(p.ZP,Object.assign({onClick:x,size:"small"},i),l||(null==_?void 0:_.cancelText)),r.createElement(d.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,h.nx)(v)),n),actionFn:S,close:w,prefixCls:C("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==_?void 0:_.okText))))};var C=e=>{let{prefixCls:t,placement:n,className:o,style:i}=e,s=x(e,["prefixCls","placement","className","style"]),{getPrefixCls:l}=r.useContext(c.E_),u=l("popconfirm",t),[d]=S(u);return d(r.createElement(v.ZP,{placement:n,className:a()(u,o),style:i,content:r.createElement(E,Object.assign({prefixCls:u},s))}))},_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let k=r.forwardRef((e,t)=>{var n,i;let{prefixCls:d,placement:f="top",trigger:p="click",okType:h="primary",icon:m=r.createElement(o.Z,null),children:g,overlayClassName:v,onOpenChange:y,onVisibleChange:b}=e,w=_(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:x}=r.useContext(c.E_),[C,k]=(0,s.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(i=e.defaultOpen)&&void 0!==i?i:e.defaultVisible}),O=(e,t)=>{k(e,!0),null==b||b(e),null==y||y(e,t)},A=e=>{O(!1,e)},I=t=>{var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(void 0,t)},P=t=>{var n;O(!1,t),null===(n=e.onCancel)||void 0===n||n.call(void 0,t)},T=(t,n)=>{let{disabled:r=!1}=e;r||O(t,n)},R=x("popconfirm",d),M=a()(R,v),[N]=S(R);return N(r.createElement(u.Z,Object.assign({},(0,l.Z)(w,["title"]),{trigger:p,placement:f,onOpenChange:T,open:C,ref:t,overlayClassName:M,content:r.createElement(E,Object.assign({okType:h,icon:m},e,{prefixCls:R,close:A,onConfirm:I,onCancel:P})),"data-popover-inject":!0}),g))});k._InternalPanelDoNotUseOrYouWillBeFired=C;var O=k},75922:function(e,t,n){"use strict";n.d(t,{aV:function(){return d}});var r=n(44194),o=n(51865),i=n.n(o),a=n(29611),s=n(4702),l=n(25431),c=n(36638),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let d=e=>{let{title:t,content:n,prefixCls:o}=e;return t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:"".concat(o,"-title")},t),n&&r.createElement("div",{className:"".concat(o,"-inner-content")},n)):null},f=e=>{let{hashId:t,prefixCls:n,className:o,style:l,placement:c="top",title:u,content:f,children:p}=e,h=(0,s.Z)(u),m=(0,s.Z)(f),g=i()(t,n,"".concat(n,"-pure"),"".concat(n,"-placement-").concat(c),o);return r.createElement("div",{className:g,style:l},r.createElement("div",{className:"".concat(n,"-arrow")}),r.createElement(a.G,Object.assign({},e,{className:t,prefixCls:n}),p||r.createElement(d,{prefixCls:n,title:h,content:m})))},p=e=>{let{prefixCls:t,className:n}=e,o=u(e,["prefixCls","className"]),{getPrefixCls:a}=r.useContext(l.E_),s=a("popover",t),[d,p,h]=(0,c.Z)(s);return d(r.createElement(f,Object.assign({},o,{prefixCls:s,hashId:p,className:i()(n,h)})))};t.ZP=p},25359:function(e,t,n){"use strict";var r=n(44194),o=n(51865),i=n.n(o),a=n(45571),s=n(4062),l=n(4702),c=n(62334),u=n(85905),d=n(25431),f=n(13185),p=n(75922),h=n(36638),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let g=r.forwardRef((e,t)=>{var n,o;let{prefixCls:g,title:v,content:y,overlayClassName:b,placement:w="top",trigger:S="hover",children:x,mouseEnterDelay:E=.1,mouseLeaveDelay:C=.1,onOpenChange:_,overlayStyle:k={}}=e,O=m(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:A}=r.useContext(d.E_),I=A("popover",g),[P,T,R]=(0,h.Z)(I),M=A(),N=i()(b,T,R),[j,D]=(0,a.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),L=(e,t)=>{D(e,!0),null==_||_(e,t)},B=e=>{e.keyCode===s.Z.ESC&&L(!1,e)},Z=e=>{L(e)},F=(0,l.Z)(v),z=(0,l.Z)(y);return P(r.createElement(f.Z,Object.assign({placement:w,trigger:S,mouseEnterDelay:E,mouseLeaveDelay:C,overlayStyle:k},O,{prefixCls:I,overlayClassName:N,ref:t,open:j,onOpenChange:Z,overlay:F||z?r.createElement(p.aV,{prefixCls:I,title:F,content:z}):null,transitionName:(0,c.m)(M,"zoom-big",O.transitionName),"data-popover-inject":!0}),(0,u.Tm)(x,{onKeyDown:e=>{var t,n;r.isValidElement(x)&&(null===(n=null==x?void 0:(t=x.props).onKeyDown)||void 0===n||n.call(t,e)),B(e)}})))});g._InternalPanelDoNotUseOrYouWillBeFired=p.ZP,t.Z=g},36638:function(e,t,n){"use strict";var r=n(61885),o=n(67267),i=n(18464),a=n(1958),s=n(44684),l=n(2916),c=n(39564);let u=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:o,fontWeightStrong:a,innerPadding:s,boxShadowSecondary:l,colorTextHeading:c,borderRadiusLG:u,zIndexPopup:d,titleMarginBottom:f,colorBgElevated:p,popoverBg:h,titleBorderBottom:m,innerContentPadding:g,titlePadding:v}=e;return[{[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":p,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},["".concat(t,"-content")]:{position:"relative"},["".concat(t,"-inner")]:{backgroundColor:h,backgroundClip:"padding-box",borderRadius:u,boxShadow:l,padding:s},["".concat(t,"-title")]:{minWidth:o,marginBottom:f,color:c,fontWeight:a,borderBottom:m,padding:v},["".concat(t,"-inner-content")]:{color:n,padding:g}})},(0,i.ZP)(e,"var(--antd-arrow-background-color)"),{["".concat(t,"-pure")]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",["".concat(t,"-content")]:{display:"inline-block"}}}]},d=e=>{let{componentCls:t}=e;return{[t]:s.i.map(n=>{let r=e["".concat(n,"6")];return{["&".concat(t,"-").concat(n)]:{"--antd-arrow-background-color":r,["".concat(t,"-inner")]:{backgroundColor:r},["".concat(t,"-arrow")]:{background:"transparent"}}}})}},f=e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:s,zIndexPopupBase:l,borderRadiusLG:c,marginXS:u,lineType:d,colorSplit:f,paddingSM:p}=e,h=n-r,m=h/2,g=h/2-t,v=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:l+30},(0,a.w)(e)),(0,i.wZ)({contentRadius:c,limitVerticalRadius:!0})),{innerPadding:s?0:12,titleMarginBottom:s?0:u,titlePadding:s?"".concat(m,"px ").concat(v,"px ").concat(g,"px"):0,titleBorderBottom:s?"".concat(t,"px ").concat(d," ").concat(f):"none",innerContentPadding:s?"".concat(p,"px ").concat(v,"px"):0})};t.Z=(0,l.I$)("Popover",e=>{let{colorBgElevated:t,colorText:n}=e,r=(0,c.IX)(e,{popoverBg:t,popoverColor:n});return[u(r),d(r),(0,o._y)(r,"zoom-big")]},f,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},9722:function(e,t,n){"use strict";n.d(t,{Z:function(){return ec}});var r=n(44194),o=n(72190),i=n(70524),a=n(47330),s=n(40153),l=n(66671),c=n(51865),u=n.n(c),d=n(76933),f=n(25431),p=n(27820),h=n(33581),m=n(92486),g={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},v=function(){var e=(0,r.useRef)([]),t=(0,r.useRef)(null);return(0,r.useEffect)(function(){var n=Date.now(),r=!1;e.current.forEach(function(e){if(e){r=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&n-t.current<100&&(o.transitionDuration="0s, 0s")}}),r&&(t.current=Date.now())}),e.current},y=n(24335),b=n(7732),w=n(17680),S=0,x=(0,w.Z)();function E(){var e;return x?(e=S,S+=1):e="TEST_OR_SSR",e}var C=function(e){var t=r.useState(),n=(0,b.Z)(t,2),o=n[0],i=n[1];return r.useEffect(function(){i("rc_progress_".concat(E()))},[]),e||o},_=function(e){var t=e.bg,n=e.children;return r.createElement("div",{style:{width:"100%",height:"100%",background:t}},n)};function k(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),o="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(o)})}var O=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.color,i=e.gradientId,a=e.radius,s=e.style,l=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,f=e.gapDegree,p=o&&"object"===(0,y.Z)(o),h=p?"#FFF":void 0,m=d/2,g=r.createElement("circle",{className:"".concat(n,"-circle-path"),r:a,cx:m,cy:m,stroke:h,strokeLinecap:c,strokeWidth:u,opacity:0===l?0:1,style:s,ref:t});if(!p)return g;var v="".concat(i,"-conic"),b=f?"".concat(180+f/2,"deg"):"0deg",w=k(o,(360-f)/360),S=k(o,1),x="conic-gradient(from ".concat(b,", ").concat(w.join(", "),")"),E="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(S.join(", "),")");return r.createElement(r.Fragment,null,r.createElement("mask",{id:v},g),r.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(v,")")},r.createElement(_,{bg:E},r.createElement(_,{bg:x}))))}),A=100,I=function(e,t,n,r,o,i,a,s,l,c){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=n/100*360*((360-i)/360),f=0===i?0:({bottom:0,top:180,left:90,right:-90})[a],p=(100-r)/100*t;"round"===l&&100!==r&&(p+=c/2)>=t&&(p=t-.01);var h=A/2;return{stroke:"string"==typeof s?s:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:p+u,transform:"rotate(".concat(o+d+f,"deg)"),transformOrigin:"".concat(h,"px ").concat(h,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},P=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function T(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var R=function(e){var t=(0,h.Z)((0,h.Z)({},g),e),n=t.id,o=t.prefixCls,i=t.steps,a=t.strokeWidth,s=t.trailWidth,l=t.gapDegree,c=void 0===l?0:l,d=t.gapPosition,f=t.trailColor,b=t.strokeLinecap,w=t.style,S=t.className,x=t.strokeColor,E=t.percent,_=(0,m.Z)(t,P),k=A/2,R=C(n),M="".concat(R,"-gradient"),N=k-a/2,j=2*Math.PI*N,D=c>0?90+c/2:-90,L=(360-c)/360*j,B="object"===(0,y.Z)(i)?i:{count:i,gap:2},Z=B.count,F=B.gap,z=T(E),U=T(x),H=U.find(function(e){return e&&"object"===(0,y.Z)(e)}),q=H&&"object"===(0,y.Z)(H)?"butt":b,V=I(j,L,0,100,D,c,d,f,q,a),W=v(),$=function(){var e=0;return z.map(function(t,n){var i=U[n]||U[U.length-1],s=I(j,L,e,t,D,c,d,i,q,a);return e+=t,r.createElement(O,{key:n,color:i,ptg:t,radius:N,prefixCls:o,gradientId:M,style:s,strokeLinecap:q,strokeWidth:a,gapDegree:c,ref:function(e){W[n]=e},size:A})}).reverse()},G=function(){var e=Math.round(z[0]/100*Z),t=100/Z,n=0;return Array(Z).fill(null).map(function(i,s){var l=s<=e-1?U[0]:f,u=l&&"object"===(0,y.Z)(l)?"url(#".concat(M,")"):void 0,p=I(j,L,n,t,D,c,d,l,"butt",a,F);return n+=(L-p.strokeDashoffset+F)*100/L,r.createElement("circle",{key:s,className:"".concat(o,"-circle-path"),r:N,cx:k,cy:k,stroke:u,strokeWidth:a,opacity:1,style:p,ref:function(e){W[s]=e}})})};return r.createElement("svg",(0,p.Z)({className:u()("".concat(o,"-circle"),S),viewBox:"0 0 ".concat(A," ").concat(A),style:w,id:n,role:"presentation"},_),!Z&&r.createElement("circle",{className:"".concat(o,"-circle-trail"),r:N,cx:k,cy:k,stroke:f,strokeLinecap:q,strokeWidth:s||a,style:V}),Z?G():$())},M=n(13185),N=n(38774);function j(e){return!e||e<0?0:e>100?100:e}function D(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}let L=e=>{let{percent:t,success:n,successPercent:r}=e,o=j(D({success:n,successPercent:r}));return[o,j(j(t)-o)]},B=e=>{let{success:t={},strokeColor:n}=e,{strokeColor:r}=t;return[r||N.ez.green,n||null]},Z=(e,t,n)=>{var r,o,i,a;let s=-1,l=-1;if("step"===t){let t=n.steps,r=n.strokeWidth;"string"==typeof e||void 0===e?(s="small"===e?2:14,l=null!=r?r:8):"number"==typeof e?[s,l]=[e,e]:[s=14,l=8]=Array.isArray(e)?e:[e.width,e.height],s*=t}else if("line"===t){let t=null==n?void 0:n.strokeWidth;"string"==typeof e||void 0===e?l=t||("small"===e?6:8):"number"==typeof e?[s,l]=[e,e]:[s=-1,l=8]=Array.isArray(e)?e:[e.width,e.height]}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[s,l]="small"===e?[60,60]:[120,120]:"number"==typeof e?[s,l]=[e,e]:Array.isArray(e)&&(s=null!==(o=null!==(r=e[0])&&void 0!==r?r:e[1])&&void 0!==o?o:120,l=null!==(a=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==a?a:120));return[s,l]},F=3,z=e=>F/e*100;var U=e=>{let{prefixCls:t,trailColor:n=null,strokeLinecap:o="round",gapPosition:i,gapDegree:a,width:s=120,type:l,children:c,success:d,size:f=s,steps:p}=e,[h,m]=Z(f,"circle"),{strokeWidth:g}=e;void 0===g&&(g=Math.max(z(h),6));let v={width:h,height:m,fontSize:.15*h+6},y=r.useMemo(()=>a||0===a?a:"dashboard"===l?75:void 0,[a,l]),b=L(e),w=i||"dashboard"===l&&"bottom"||void 0,S="[object Object]"===Object.prototype.toString.call(e.strokeColor),x=B({success:d,strokeColor:e.strokeColor}),E=u()("".concat(t,"-inner"),{["".concat(t,"-circle-gradient")]:S}),C=r.createElement(R,{steps:p,percent:p?b[1]:b,strokeWidth:g,trailWidth:g,strokeColor:p?x[1]:x,strokeLinecap:o,trailColor:n,prefixCls:t,gapDegree:y,gapPosition:w}),_=h<=20,k=r.createElement("div",{className:E,style:v},C,!_&&c);return _?r.createElement(M.Z,{title:c},k):k},H=n(82698),q=n(61885),V=n(2916),W=n(39564);let $="--progress-line-stroke-color",G="--progress-percent",K=e=>{let t=e?"100%":"-100%";return new H.E4("antProgress".concat(e?"RTL":"LTR","Active"),{"0%":{transform:"translateX(".concat(t,") scaleX(0)"),opacity:.1},"20%":{transform:"translateX(".concat(t,") scaleX(0)"),opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Y=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,q.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},["".concat(t,"-outer")]:{display:"inline-flex",alignItems:"center",width:"100%"},["".concat(t,"-inner")]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},["".concat(t,"-inner:not(").concat(t,"-circle-gradient)")]:{["".concat(t,"-circle-path")]:{stroke:e.defaultColor}},["".concat(t,"-success-bg, ").concat(t,"-bg")]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOutCirc)},["".concat(t,"-layout-bottom")]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",["".concat(t,"-text")]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},["".concat(t,"-bg")]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit","var(".concat($,")")]},height:"100%",width:"calc(1 / var(".concat(G,") * 100%)"),display:"block"},["&".concat(t,"-bg-inner")]:{minWidth:"max-content","&::after":{content:"none"},["".concat(t,"-text-inner")]:{color:e.colorWhite,["&".concat(t,"-text-bright")]:{color:"rgba(0, 0, 0, 0.45)"}}}},["".concat(t,"-success-bg")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},["".concat(t,"-text")]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},["&".concat(t,"-text-outer")]:{width:"max-content"},["&".concat(t,"-text-outer").concat(t,"-text-start")]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},["".concat(t,"-text-inner")]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:"0 ".concat((0,H.bf)(e.paddingXXS)),["&".concat(t,"-text-start")]:{justifyContent:"start"},["&".concat(t,"-text-end")]:{justifyContent:"end"}},["&".concat(t,"-status-active")]:{["".concat(t,"-bg::before")]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:K(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},["&".concat(t,"-rtl").concat(t,"-status-active")]:{["".concat(t,"-bg::before")]:{animationName:K(!0)}},["&".concat(t,"-status-exception")]:{["".concat(t,"-bg")]:{backgroundColor:e.colorError},["".concat(t,"-text")]:{color:e.colorError}},["&".concat(t,"-status-exception ").concat(t,"-inner:not(").concat(t,"-circle-gradient)")]:{["".concat(t,"-circle-path")]:{stroke:e.colorError}},["&".concat(t,"-status-success")]:{["".concat(t,"-bg")]:{backgroundColor:e.colorSuccess},["".concat(t,"-text")]:{color:e.colorSuccess}},["&".concat(t,"-status-success ").concat(t,"-inner:not(").concat(t,"-circle-gradient)")]:{["".concat(t,"-circle-path")]:{stroke:e.colorSuccess}}})}},X=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{["".concat(t,"-circle-trail")]:{stroke:e.remainingColor},["&".concat(t,"-circle ").concat(t,"-inner")]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},["&".concat(t,"-circle ").concat(t,"-text")]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},["".concat(t,"-circle&-status-exception")]:{["".concat(t,"-text")]:{color:e.colorError}},["".concat(t,"-circle&-status-success")]:{["".concat(t,"-text")]:{color:e.colorSuccess}}},["".concat(t,"-inline-circle")]:{lineHeight:1,["".concat(t,"-inner")]:{verticalAlign:"bottom"}}}},Q=e=>{let{componentCls:t}=e;return{[t]:{["".concat(t,"-steps")]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:"all ".concat(e.motionDurationSlow),"&-active":{backgroundColor:e.defaultColor}}}}}},J=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{["".concat(t,"-small&-line, ").concat(t,"-small&-line ").concat(t,"-text ").concat(n)]:{fontSize:e.fontSizeSM}}}},ee=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:"".concat(e.fontSize/e.fontSizeSM,"em")});var et=(0,V.I$)("Progress",e=>{let t=e.calc(e.marginXXS).div(2).equal(),n=(0,W.IX)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[Y(n),X(n),Q(n),J(n)]},ee),en=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let er=e=>{let t=[];return Object.keys(e).forEach(n=>{let r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:n}=e;return"".concat(n," ").concat(t,"%")}).join(", ")},eo=(e,t)=>{let{from:n=N.ez.blue,to:r=N.ez.blue,direction:o="rtl"===t?"to left":"to right"}=e,i=en(e,["from","to","direction"]);if(0!==Object.keys(i).length){let e=er(i),t="linear-gradient(".concat(o,", ").concat(e,")");return{background:t,[$]:t}}let a="linear-gradient(".concat(o,", ").concat(n,", ").concat(r,")");return{background:a,[$]:a}};var ei=e=>{let{prefixCls:t,direction:n,percent:o,size:i,strokeWidth:a,strokeColor:s,strokeLinecap:l="round",children:c,trailColor:d=null,percentPosition:f,success:p}=e,{align:h,type:m}=f,g=s&&"string"!=typeof s?eo(s,n):{[$]:s,background:s},v="square"===l||"butt"===l?0:void 0,[y,b]=Z(null!=i?i:[-1,a||("small"===i?6:8)],"line",{strokeWidth:a}),w={backgroundColor:d||void 0,borderRadius:v},S=Object.assign(Object.assign({width:"".concat(j(o),"%"),height:b,borderRadius:v},g),{[G]:j(o)/100}),x=D(e),E={width:"".concat(j(x),"%"),height:b,borderRadius:v,backgroundColor:null==p?void 0:p.strokeColor},C={width:y<0?"100%":y},_=r.createElement("div",{className:"".concat(t,"-inner"),style:w},r.createElement("div",{className:u()("".concat(t,"-bg"),"".concat(t,"-bg-").concat(m)),style:S},"inner"===m&&c),void 0!==x&&r.createElement("div",{className:"".concat(t,"-success-bg"),style:E})),k="outer"===m&&"start"===h,O="outer"===m&&"end"===h;return"outer"===m&&"center"===h?r.createElement("div",{className:"".concat(t,"-layout-bottom")},_,c):r.createElement("div",{className:"".concat(t,"-outer"),style:C},k&&c,_,O&&c)},ea=e=>{let{size:t,steps:n,percent:o=0,strokeWidth:i=8,strokeColor:a,trailColor:s=null,prefixCls:l,children:c}=e,d=Math.round(o/100*n),f="small"===t?2:14,[p,h]=Z(null!=t?t:[f,i],"step",{steps:n,strokeWidth:i}),m=p/n,g=Array(n);for(let e=0;e<n;e++){let t=Array.isArray(a)?a[e]:a;g[e]=r.createElement("div",{key:e,className:u()("".concat(l,"-steps-item"),{["".concat(l,"-steps-item-active")]:e<=d-1}),style:{backgroundColor:e<=d-1?t:s,width:m,height:h}})}return r.createElement("div",{className:"".concat(l,"-steps-outer")},g,c)},es=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let el=["normal","exception","active","success"];var ec=r.forwardRef((e,t)=>{let n;let{prefixCls:c,className:p,rootClassName:h,steps:m,strokeColor:g,percent:v=0,size:y="default",showInfo:b=!0,type:w="line",status:S,format:x,style:E,percentPosition:C={}}=e,_=es(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:k="end",type:O="outer"}=C,A=Array.isArray(g)?g[0]:g,I="string"==typeof g||Array.isArray(g)?g:void 0,P=r.useMemo(()=>{if(A){let e="string"==typeof A?A:Object.values(A)[0];return new l.C(e).isLight()}return!1},[g]),T=r.useMemo(()=>{var t,n;let r=D(e);return parseInt(void 0!==r?null===(t=null!=r?r:0)||void 0===t?void 0:t.toString():null===(n=null!=v?v:0)||void 0===n?void 0:n.toString(),10)},[v,e.success,e.successPercent]),R=r.useMemo(()=>!el.includes(S)&&T>=100?"success":S||"normal",[S,T]),{getPrefixCls:M,direction:N,progress:L}=r.useContext(f.E_),B=M("progress",c),[F,z,H]=et(B),q="line"===w,V=q&&!m,W=r.useMemo(()=>{let t;if(!b)return null;let n=D(e),l=x||(e=>"".concat(e,"%")),c=q&&P&&"inner"===O;return"inner"===O||x||"exception"!==R&&"success"!==R?t=l(j(v),j(n)):"exception"===R?t=q?r.createElement(a.Z,null):r.createElement(s.Z,null):"success"===R&&(t=q?r.createElement(o.Z,null):r.createElement(i.Z,null)),r.createElement("span",{className:u()("".concat(B,"-text"),{["".concat(B,"-text-bright")]:c,["".concat(B,"-text-").concat(k)]:V,["".concat(B,"-text-").concat(O)]:V}),title:"string"==typeof t?t:void 0},t)},[b,v,T,R,w,B,x]);"line"===w?n=m?r.createElement(ea,Object.assign({},e,{strokeColor:I,prefixCls:B,steps:"object"==typeof m?m.count:m}),W):r.createElement(ei,Object.assign({},e,{strokeColor:A,prefixCls:B,direction:N,percentPosition:{align:k,type:O}}),W):("circle"===w||"dashboard"===w)&&(n=r.createElement(U,Object.assign({},e,{strokeColor:A,prefixCls:B,progressStatus:R}),W));let $=u()(B,"".concat(B,"-status-").concat(R),{["".concat(B,"-").concat("dashboard"===w&&"circle"||w)]:"line"!==w,["".concat(B,"-inline-circle")]:"circle"===w&&Z(y,"circle")[0]<=20,["".concat(B,"-line")]:V,["".concat(B,"-line-align-").concat(k)]:V,["".concat(B,"-line-position-").concat(O)]:V,["".concat(B,"-steps")]:m,["".concat(B,"-show-info")]:b,["".concat(B,"-").concat(y)]:"string"==typeof y,["".concat(B,"-rtl")]:"rtl"===N},null==L?void 0:L.className,p,h,z,H);return F(r.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==L?void 0:L.style),E),className:$,role:"progressbar","aria-valuenow":T,"aria-valuemin":0,"aria-valuemax":100},(0,d.Z)(_,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),n))})},95907:function(e,t,n){"use strict";n.d(t,{ZP:function(){return F}});var r=n(44194),o=n(51865),i=n.n(o),a=n(45571),s=n(11875),l=n(25431),c=n(55948),u=n(3690);let d=r.createContext(null),f=d.Provider;var p=d;let h=r.createContext(null),m=h.Provider;var g=n(89341),v=n(64198),y=n(85266),b=n(54033),w=n(1849),S=n(10799),x=n(82698),E=n(61885),C=n(2916),_=n(39564);let k=e=>{let{componentCls:t,antCls:n}=e,r="".concat(t,"-group");return{[r]:Object.assign(Object.assign({},(0,E.Wf)(e)),{display:"inline-block",fontSize:0,["&".concat(r,"-rtl")]:{direction:"rtl"},["".concat(n,"-badge ").concat(n,"-badge-count")]:{zIndex:1},["> ".concat(n,"-badge:not(:first-child) > ").concat(n,"-button-wrapper")]:{borderInlineStart:"none"}})}},O=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:o,motionDurationSlow:i,motionDurationMid:a,motionEaseInOutCirc:s,colorBgContainer:l,colorBorder:c,lineWidth:u,colorBgContainerDisabled:d,colorTextDisabled:f,paddingXS:p,dotColorDisabled:h,lineType:m,radioColor:g,radioBgColor:v,calc:y}=e,b="".concat(t,"-inner"),w=4,S=y(o).sub(y(w).mul(2)),C=y(1).mul(o).equal({unit:!0});return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({},(0,E.Wf)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",["&".concat(t,"-wrapper-rtl")]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},["".concat(t,"-checked::after")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:"".concat((0,x.bf)(u)," ").concat(m," ").concat(r),borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,E.Wf)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),["".concat(t,"-wrapper:hover &,\n        &:hover ").concat(b)]:{borderColor:r},["".concat(t,"-input:focus-visible + ").concat(b)]:Object.assign({},(0,E.oN)(e)),["".concat(t,":hover::after, ").concat(t,"-wrapper:hover &::after")]:{visibility:"visible"},["".concat(t,"-inner")]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:C,height:C,marginBlockStart:y(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:y(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:g,borderBlockStart:0,borderInlineStart:0,borderRadius:C,transform:"scale(0)",opacity:0,transition:"all ".concat(i," ").concat(s),content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:C,height:C,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:"all ".concat(a)},["".concat(t,"-input")]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},["".concat(t,"-checked")]:{[b]:{borderColor:r,backgroundColor:v,"&::after":{transform:"scale(".concat(e.calc(e.dotSize).div(o).equal(),")"),opacity:1,transition:"all ".concat(i," ").concat(s)}}},["".concat(t,"-disabled")]:{cursor:"not-allowed",[b]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},["".concat(t,"-input")]:{cursor:"not-allowed"},["".concat(t,"-disabled + span")]:{color:f,cursor:"not-allowed"},["&".concat(t,"-checked")]:{[b]:{"&::after":{transform:"scale(".concat(y(S).div(o).equal(),")")}}}},["span".concat(t," + *")]:{paddingInlineStart:p,paddingInlineEnd:p}})}},A=e=>{let{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:i,colorBorder:a,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:p,controlHeightSM:h,paddingXS:m,borderRadius:g,borderRadiusSM:v,borderRadiusLG:y,buttonCheckedBg:b,buttonSolidCheckedColor:w,colorTextDisabled:S,colorBgContainerDisabled:C,buttonCheckedBgDisabled:_,buttonCheckedColorDisabled:k,colorPrimary:O,colorPrimaryHover:A,colorPrimaryActive:I,buttonSolidCheckedBg:P,buttonSolidCheckedHoverBg:T,buttonSolidCheckedActiveBg:R,calc:M}=e;return{["".concat(r,"-button-wrapper")]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:(0,x.bf)(M(n).sub(M(o).mul(2)).equal()),background:d,border:"".concat((0,x.bf)(o)," ").concat(i," ").concat(a),borderBlockStartWidth:M(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:["color ".concat(l),"background ".concat(l),"box-shadow ".concat(l)].join(","),a:{color:t},["> ".concat(r,"-button")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:M(o).mul(-1).equal(),insetInlineStart:M(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:"background-color ".concat(s),content:'""'}},"&:first-child":{borderInlineStart:"".concat((0,x.bf)(o)," ").concat(i," ").concat(a),borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g},["".concat(r,"-group-large &")]:{height:p,fontSize:f,lineHeight:(0,x.bf)(M(p).sub(M(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},["".concat(r,"-group-small &")]:{height:h,paddingInline:M(m).sub(o).equal(),paddingBlock:0,lineHeight:(0,x.bf)(M(h).sub(M(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Object.assign({},(0,E.oN)(e)),["".concat(r,"-inner, input[type='checkbox'], input[type='radio']")]:{width:0,height:0,opacity:0,pointerEvents:"none"},["&-checked:not(".concat(r,"-button-wrapper-disabled)")]:{zIndex:1,color:O,background:b,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:A,borderColor:A,"&::before":{backgroundColor:A}},"&:active":{color:I,borderColor:I,"&::before":{backgroundColor:I}}},["".concat(r,"-group-solid &-checked:not(").concat(r,"-button-wrapper-disabled)")]:{color:w,background:P,borderColor:P,"&:hover":{color:w,background:T,borderColor:T},"&:active":{color:w,background:R,borderColor:R}},"&-disabled":{color:S,backgroundColor:C,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:S,backgroundColor:C,borderColor:a}},["&-disabled".concat(r,"-button-wrapper-checked")]:{color:k,backgroundColor:_,borderColor:a,boxShadow:"none"}}}},I=e=>{let{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:i,colorText:a,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:h}=e,m=4,g=i,v=t?g-2*m:g-(m+o)*2;return{radioSize:g,dotSize:v,dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:s,buttonCheckedBg:s,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,radioColor:t?d:h,radioBgColor:t?s:d}};var P=(0,C.I$)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:n}=e,r="0 0 0 ".concat((0,x.bf)(n)," ").concat(t),o=r,i=(0,_.IX)(e,{radioFocusShadow:r,radioButtonFocusShadow:o});return[k(i),O(i),A(i)]},I,{unitless:{radioSize:!0,dotSize:!0}}),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let R=(e,t)=>{var n,o;let a=r.useContext(p),s=r.useContext(h),{getPrefixCls:u,direction:d,radio:f}=r.useContext(l.E_),m=r.useRef(null),x=(0,v.sQ)(t,m),{isFormItemInput:E}=r.useContext(S.aM),C=t=>{var n,r;null===(n=e.onChange)||void 0===n||n.call(e,t),null===(r=null==a?void 0:a.onChange)||void 0===r||r.call(a,t)},{prefixCls:_,className:k,rootClassName:O,children:A,style:I,title:R}=e,M=T(e,["prefixCls","className","rootClassName","children","style","title"]),N=u("radio",_),j="button"===((null==a?void 0:a.optionType)||s),D=j?"".concat(N,"-button"):N,L=(0,c.Z)(N),[B,Z,F]=P(N,L),z=Object.assign({},M),U=r.useContext(w.Z);a&&(z.name=a.name,z.onChange=C,z.checked=e.value===a.value,z.disabled=null!==(n=z.disabled)&&void 0!==n?n:a.disabled),z.disabled=null!==(o=z.disabled)&&void 0!==o?o:U;let H=i()("".concat(D,"-wrapper"),{["".concat(D,"-wrapper-checked")]:z.checked,["".concat(D,"-wrapper-disabled")]:z.disabled,["".concat(D,"-wrapper-rtl")]:"rtl"===d,["".concat(D,"-wrapper-in-form-item")]:E},null==f?void 0:f.className,k,O,Z,F,L);return B(r.createElement(y.Z,{component:"Radio",disabled:z.disabled},r.createElement("label",{className:H,style:Object.assign(Object.assign({},null==f?void 0:f.style),I),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:R},r.createElement(g.Z,Object.assign({},z,{className:i()(z.className,{[b.A]:!j}),type:"radio",prefixCls:D,ref:x})),void 0!==A?r.createElement("span",null,A):null)))};var M=r.forwardRef(R);let N=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o}=r.useContext(l.E_),[d,p]=(0,a.Z)(e.defaultValue,{value:e.value}),h=t=>{let n=d,r=t.target.value;"value"in e||p(r);let{onChange:o}=e;o&&r!==n&&o(t)},{prefixCls:m,className:g,rootClassName:v,options:y,buttonStyle:b="outline",disabled:w,children:S,size:x,style:E,id:C,onMouseEnter:_,onMouseLeave:k,onFocus:O,onBlur:A}=e,I=n("radio",m),T="".concat(I,"-group"),R=(0,c.Z)(I),[N,j,D]=P(I,R),L=S;y&&y.length>0&&(L=y.map(e=>"string"==typeof e||"number"==typeof e?r.createElement(M,{key:e.toString(),prefixCls:I,disabled:w,value:e,checked:d===e},e):r.createElement(M,{key:"radio-group-value-options-".concat(e.value),prefixCls:I,disabled:e.disabled||w,value:e.value,checked:d===e.value,title:e.title,style:e.style,id:e.id,required:e.required},e.label)));let B=(0,u.Z)(x),Z=i()(T,"".concat(T,"-").concat(b),{["".concat(T,"-").concat(B)]:B,["".concat(T,"-rtl")]:"rtl"===o},g,v,j,D,R);return N(r.createElement("div",Object.assign({},(0,s.Z)(e,{aria:!0,data:!0}),{className:Z,style:E,onMouseEnter:_,onMouseLeave:k,onFocus:O,onBlur:A,id:C,ref:t}),r.createElement(f,{value:{onChange:h,value:d,disabled:e.disabled,name:e.name,optionType:e.optionType}},L)))});var j=r.memo(N),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let L=(e,t)=>{let{getPrefixCls:n}=r.useContext(l.E_),{prefixCls:o}=e,i=D(e,["prefixCls"]),a=n("radio",o);return r.createElement(m,{value:"button"},r.createElement(M,Object.assign({prefixCls:a},i,{type:"radio",ref:t})))};var B=r.forwardRef(L);let Z=M;Z.Button=B,Z.Group=j,Z.__ANT_RADIO=!0;var F=Z},94138:function(e,t,n){"use strict";var r=n(22662);t.Z=r.Z},3097:function(e,t,n){"use strict";var r=n(44194),o=n(51865),i=n.n(o),a=n(6671),s=n(76933),l=n(28885),c=n(62334),u=n(29876),d=n(38283),f=n(25431),p=n(24425),h=n(1849),m=n(55948),g=n(3690),v=n(10799),y=n(83500),b=n(18624),w=n(34066),S=n(33059),x=n(16709),E=n(74954),C=n(39379),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let k="SECRET_COMBOBOX_MODE_DO_NOT_USE",O=(e,t)=>{var n;let o;let{prefixCls:u,bordered:O,className:A,rootClassName:I,getPopupContainer:P,popupClassName:T,dropdownClassName:R,listHeight:M=256,placement:N,listItemHeight:j,size:D,disabled:L,notFoundContent:B,status:Z,builtinPlacements:F,dropdownMatchSelectWidth:z,popupMatchSelectWidth:U,direction:H,style:q,allowClear:V,variant:W,dropdownStyle:$,transitionName:G,tagRender:K,maxCount:Y}=e,X=_(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:Q,getPrefixCls:J,renderEmpty:ee,direction:et,virtual:en,popupMatchSelectWidth:er,popupOverflow:eo,select:ei}=r.useContext(f.E_),[,ea]=(0,w.ZP)(),es=null!=j?j:null==ea?void 0:ea.controlHeight,el=J("select",u),ec=J(),eu=null!=H?H:et,{compactSize:ed,compactItemClassnames:ef}=(0,b.ri)(el,eu),[ep,eh]=(0,y.Z)("select",W,O),em=(0,m.Z)(el),[eg,ev,ey]=(0,x.Z)(el,em),eb=r.useMemo(()=>{let{mode:t}=e;return"combobox"===t?void 0:t===k?"combobox":t},[e.mode]),ew="multiple"===eb||"tags"===eb,eS=(0,C.Z)(e.suffixIcon,e.showArrow),ex=null!==(n=null!=U?U:z)&&void 0!==n?n:er,{status:eE,hasFeedback:eC,isFormItemInput:e_,feedbackIcon:ek}=r.useContext(v.aM),eO=(0,d.F)(eE,Z);o=void 0!==B?B:"combobox"===eb?null:(null==ee?void 0:ee("Select"))||r.createElement(p.Z,{componentName:"Select"});let{suffixIcon:eA,itemIcon:eI,removeIcon:eP,clearIcon:eT}=(0,E.Z)(Object.assign(Object.assign({},X),{multiple:ew,hasFeedback:eC,feedbackIcon:ek,showSuffixIcon:eS,prefixCls:el,componentName:"Select"})),eR=!0===V?{clearIcon:eT}:V,eM=(0,s.Z)(X,["suffixIcon","itemIcon"]),eN=i()(T||R,{["".concat(el,"-dropdown-").concat(eu)]:"rtl"===eu},I,ey,em,ev),ej=(0,g.Z)(e=>{var t;return null!==(t=null!=D?D:ed)&&void 0!==t?t:e}),eD=r.useContext(h.Z),eL=null!=L?L:eD,eB=i()({["".concat(el,"-lg")]:"large"===ej,["".concat(el,"-sm")]:"small"===ej,["".concat(el,"-rtl")]:"rtl"===eu,["".concat(el,"-").concat(ep)]:eh,["".concat(el,"-in-form-item")]:e_},(0,d.Z)(el,eO,eC),ef,null==ei?void 0:ei.className,A,I,ey,em,ev),eZ=r.useMemo(()=>void 0!==N?N:"rtl"===eu?"bottomRight":"bottomLeft",[N,eu]),[eF]=(0,l.Cn)("SelectLike",null==$?void 0:$.zIndex);return eg(r.createElement(a.ZP,Object.assign({ref:t,virtual:en,showSearch:null==ei?void 0:ei.showSearch},eM,{style:Object.assign(Object.assign({},null==ei?void 0:ei.style),q),dropdownMatchSelectWidth:ex,transitionName:(0,c.m)(ec,"slide-up",G),builtinPlacements:(0,S.Z)(F,eo),listHeight:M,listItemHeight:es,mode:eb,prefixCls:el,placement:eZ,direction:eu,suffixIcon:eA,menuItemSelectedIcon:eI,removeIcon:eP,allowClear:eR,notFoundContent:o,className:eB,getPopupContainer:P||Q,dropdownClassName:eN,disabled:eL,dropdownStyle:Object.assign(Object.assign({},$),{zIndex:eF}),maxCount:ew?Y:void 0,tagRender:ew?K:void 0})))},A=r.forwardRef(O),I=(0,u.Z)(A);A.SECRET_COMBOBOX_MODE_DO_NOT_USE=k,A.Option=a.Wx,A.OptGroup=a.Xo,A._InternalPanelDoNotUseOrYouWillBeFired=I,t.default=A},33059:function(e,t){"use strict";let n=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}};function r(e,t){return e||n(t)}t.Z=r},16709:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(61885),o=n(22534),i=n(2916),a=n(39564),s=n(55286),l=n(77728);let c=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}};var u=e=>{let{antCls:t,componentCls:n}=e,o="".concat(n,"-item"),i="&".concat(t,"-slide-up-enter").concat(t,"-slide-up-enter-active"),a="&".concat(t,"-slide-up-appear").concat(t,"-slide-up-appear-active"),u="&".concat(t,"-slide-up-leave").concat(t,"-slide-up-leave-active"),d="".concat(n,"-dropdown-placement-");return[{["".concat(n,"-dropdown")]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,["\n          ".concat(i).concat(d,"bottomLeft,\n          ").concat(a).concat(d,"bottomLeft\n        ")]:{animationName:s.fJ},["\n          ".concat(i).concat(d,"topLeft,\n          ").concat(a).concat(d,"topLeft,\n          ").concat(i).concat(d,"topRight,\n          ").concat(a).concat(d,"topRight\n        ")]:{animationName:s.Qt},["".concat(u).concat(d,"bottomLeft")]:{animationName:s.Uw},["\n          ".concat(u).concat(d,"topLeft,\n          ").concat(u).concat(d,"topRight\n        ")]:{animationName:s.ly},"&-hidden":{display:"none"},["".concat(o)]:Object.assign(Object.assign({},c(e)),{cursor:"pointer",transition:"background ".concat(e.motionDurationSlow," ease"),borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},r.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},["&-active:not(".concat(o,"-option-disabled)")]:{backgroundColor:e.optionActiveBg},["&-selected:not(".concat(o,"-option-disabled)")]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,["".concat(o,"-option-state")]:{color:e.colorPrimary},["&:has(+ ".concat(o,"-option-selected:not(").concat(o,"-option-disabled))")]:{borderEndStartRadius:0,borderEndEndRadius:0,["& + ".concat(o,"-option-selected:not(").concat(o,"-option-disabled)")]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{["&".concat(o,"-option-selected")]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},c(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},(0,s.oN)(e,"slide-up"),(0,s.oN)(e,"slide-down"),(0,l.Fm)(e,"move-up"),(0,l.Fm)(e,"move-down")]},d=n(82871),f=n(82698);function p(e,t){let{componentCls:n,inputPaddingHorizontalBase:o,borderRadius:i}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),s=t?"".concat(n,"-").concat(t):"";return{["".concat(n,"-single").concat(s)]:{fontSize:e.fontSize,height:e.controlHeight,["".concat(n,"-selector")]:Object.assign(Object.assign({},(0,r.Wf)(e,!0)),{display:"flex",borderRadius:i,["".concat(n,"-selection-search")]:{position:"absolute",top:0,insetInlineStart:o,insetInlineEnd:o,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},["\n          ".concat(n,"-selection-item,\n          ").concat(n,"-selection-placeholder\n        ")]:{padding:0,lineHeight:(0,f.bf)(a),transition:"all ".concat(e.motionDurationSlow,", visibility 0s"),alignSelf:"center"},["".concat(n,"-selection-placeholder")]:{transition:"none",pointerEvents:"none"},[["&:after","".concat(n,"-selection-item:empty:after"),"".concat(n,"-selection-placeholder:empty:after")].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),["\n        &".concat(n,"-show-arrow ").concat(n,"-selection-item,\n        &").concat(n,"-show-arrow ").concat(n,"-selection-placeholder\n      ")]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},["&".concat(n,"-open ").concat(n,"-selection-item")]:{color:e.colorTextPlaceholder},["&:not(".concat(n,"-customize-input)")]:{["".concat(n,"-selector")]:{width:"100%",height:"100%",padding:"0 ".concat((0,f.bf)(o)),["".concat(n,"-selection-search-input")]:{height:a},"&:after":{lineHeight:(0,f.bf)(a)}}},["&".concat(n,"-customize-input")]:{["".concat(n,"-selector")]:{"&:after":{display:"none"},["".concat(n,"-selection-search")]:{position:"static",width:"100%"},["".concat(n,"-selection-placeholder")]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:"0 ".concat((0,f.bf)(o)),"&:after":{display:"none"}}}}}}}function h(e){let{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[p(e),p((0,a.IX)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{["".concat(t,"-single").concat(t,"-sm")]:{["&:not(".concat(t,"-customize-input)")]:{["".concat(t,"-selection-search")]:{insetInlineStart:n,insetInlineEnd:n},["".concat(t,"-selector")]:{padding:"0 ".concat((0,f.bf)(n))},["&".concat(t,"-show-arrow ").concat(t,"-selection-search")]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},["\n            &".concat(t,"-show-arrow ").concat(t,"-selection-item,\n            &").concat(t,"-show-arrow ").concat(t,"-selection-placeholder\n          ")]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},p((0,a.IX)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}let m=e=>{let{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:o,controlHeightSM:i,controlHeightLG:a,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:c,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:h,colorFillSecondary:m,colorBgContainerDisabled:g,colorTextDisabled:v}=e,y=2*s,b=2*r,w=Math.min(o-y,o-b),S=Math.min(i-y,i-b),x=Math.min(a-y,a-b);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:c+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:"".concat((o-t*n)/2,"px ").concat(l,"px"),optionFontSize:t,optionLineHeight:n,optionHeight:o,selectorBg:h,clearBg:h,singleItemHeightLG:a,multipleItemBg:m,multipleItemBorderColor:"transparent",multipleItemHeight:w,multipleItemHeightSM:S,multipleItemHeightLG:x,multipleSelectorBgDisabled:g,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize)}},g=(e,t)=>{let{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{border:"".concat((0,f.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(t.borderColor),background:e.selectorBg},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(r,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{borderColor:t.hoverBorderHover},["".concat(n,"-focused& ").concat(n,"-selector")]:{borderColor:t.activeBorderColor,boxShadow:"0 0 0 ".concat((0,f.bf)(o)," ").concat(t.activeShadowColor),outline:0}}}},v=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},g(e,t))}),y=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},g(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),v(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),v(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,f.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)}})}),b=(e,t)=>{let{componentCls:n,antCls:r}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{background:t.bg,border:"".concat((0,f.bf)(e.lineWidth)," ").concat(e.lineType," transparent"),color:t.color},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(r,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{background:t.hoverBg},["".concat(n,"-focused& ").concat(n,"-selector")]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},w=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},b(e,t))}),S=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},b(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),w(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),w(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.colorBgContainer,border:"".concat((0,f.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)}})}),x=e=>({"&-borderless":{["".concat(e.componentCls,"-selector")]:{background:"transparent",borderColor:"transparent"},["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,f.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)},["&".concat(e.componentCls,"-status-error")]:{["".concat(e.componentCls,"-selection-item")]:{color:e.colorError}},["&".concat(e.componentCls,"-status-warning")]:{["".concat(e.componentCls,"-selection-item")]:{color:e.colorWarning}}}});var E=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},y(e)),S(e)),x(e))});let C=e=>{let{componentCls:t}=e;return{position:"relative",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),input:{cursor:"pointer"},["".concat(t,"-show-search&")]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},["".concat(t,"-disabled&")]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},_=e=>{let{componentCls:t}=e;return{["".concat(t,"-selection-search-input")]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},k=e=>{let{antCls:t,componentCls:n,inputPaddingHorizontalBase:o,iconCls:i}=e;return{[n]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"relative",display:"inline-block",cursor:"pointer",["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:Object.assign(Object.assign({},C(e)),_(e)),["".concat(n,"-selection-item")]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},r.vS),{["> ".concat(t,"-typography")]:{display:"inline"}}),["".concat(n,"-selection-placeholder")]:Object.assign(Object.assign({},r.vS),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),["".concat(n,"-arrow")]:Object.assign(Object.assign({},(0,r.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:"opacity ".concat(e.motionDurationSlow," ease"),[i]:{verticalAlign:"top",transition:"transform ".concat(e.motionDurationSlow),"> svg":{verticalAlign:"top"},["&:not(".concat(n,"-suffix)")]:{pointerEvents:"auto"}},["".concat(n,"-disabled &")]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),["".concat(n,"-clear")]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:"color ".concat(e.motionDurationMid," ease, opacity ").concat(e.motionDurationSlow," ease"),textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{["".concat(n,"-clear")]:{opacity:1},["".concat(n,"-arrow:not(:last-child)")]:{opacity:0}}}),["".concat(n,"-has-feedback")]:{["".concat(n,"-clear")]:{insetInlineEnd:e.calc(o).add(e.fontSize).add(e.paddingXS).equal()}}}},O=e=>{let{componentCls:t}=e;return[{[t]:{["&".concat(t,"-in-form-item")]:{width:"100%"}}},k(e),h(e),(0,d.ZP)(e),u(e),{["".concat(t,"-rtl")]:{direction:"rtl"}},(0,o.c)(e,{borderElCls:"".concat(t,"-selector"),focusElCls:"".concat(t,"-focused")})]};var A=(0,i.I$)("Select",(e,t)=>{let{rootPrefixCls:n}=t,r=(0,a.IX)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[O(r),E(r)]},m,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},82871:function(e,t,n){"use strict";n.d(t,{_z:function(){return l},gp:function(){return a}});var r=n(82698),o=n(61885),i=n(39564);let a=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:o,INTERNAL_FIXED_ITEM_MARGIN:i}=e,a=e.max(e.calc(n).sub(o).equal(),0),s=e.max(e.calc(a).sub(i).equal(),0);return{basePadding:a,containerPadding:s,itemHeight:(0,r.bf)(t),itemLineHeight:(0,r.bf)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},s=e=>{let{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},l=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:i,paddingXS:a,multipleItemColorDisabled:s,multipleItemBorderColorDisabled:l,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{["".concat(t,"-selection-overflow")]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},["".concat(t,"-selection-item")]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:"font-size ".concat(i,", line-height ").concat(i,", height ").concat(i),marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),["".concat(t,"-disabled&")]:{color:s,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,o.Ro)()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",["> ".concat(n)]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},c=(e,t)=>{let{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:o}=e,i="".concat(n,"-selection-overflow"),c=e.multipleSelectItemHeight,u=s(e),d=t?"".concat(n,"-").concat(t):"",f=a(e);return{["".concat(n,"-multiple").concat(d)]:Object.assign(Object.assign({},l(e)),{["".concat(n,"-selector")]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:f.basePadding,paddingBlock:f.containerPadding,borderRadius:e.borderRadius,["".concat(n,"-disabled&")]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"".concat((0,r.bf)(o)," 0"),lineHeight:(0,r.bf)(c),visibility:"hidden",content:'"\\a0"'}},["".concat(n,"-selection-item")]:{height:f.itemHeight,lineHeight:(0,r.bf)(f.itemLineHeight)},["".concat(i,"-item + ").concat(i,"-item")]:{["".concat(n,"-selection-search")]:{marginInlineStart:0}},["".concat(i,"-item-suffix")]:{height:"100%"},["".concat(n,"-selection-search")]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(u).equal(),"\n          &-input,\n          &-mirror\n        ":{height:c,fontFamily:e.fontFamily,lineHeight:(0,r.bf)(c),transition:"all ".concat(e.motionDurationSlow)},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},["".concat(n,"-selection-placeholder")]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:"all ".concat(e.motionDurationSlow)}})}};function u(e,t){let{componentCls:n}=e,r=t?"".concat(n,"-").concat(t):"",o={["".concat(n,"-multiple").concat(r)]:{fontSize:e.fontSize,["".concat(n,"-selector")]:{["".concat(n,"-show-search&")]:{cursor:"text"}},["\n        &".concat(n,"-show-arrow ").concat(n,"-selector,\n        &").concat(n,"-allow-clear ").concat(n,"-selector\n      ")]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[c(e,t),o]}let d=e=>{let{componentCls:t}=e,n=(0,i.IX)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=(0,i.IX)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[u(e),u(n,"sm"),{["".concat(t,"-multiple").concat(t,"-sm")]:{["".concat(t,"-selection-placeholder")]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},["".concat(t,"-selection-search")]:{marginInlineStart:2}}},u(r,"lg")]};t.ZP=d},74954:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(44194),o=n(70524),i=n(47330),a=n(40153),s=n(4999),l=n(21075),c=n(24663);function u(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:u,removeIcon:d,loading:f,multiple:p,hasFeedback:h,prefixCls:m,showSuffixIcon:g,feedbackIcon:v,showArrow:y,componentName:b}=e,w=null!=n?n:r.createElement(i.Z,null),S=e=>null!==t||h||y?r.createElement(r.Fragment,null,!1!==g&&e,h&&v):null,x=null;if(void 0!==t)x=S(t);else if(f)x=S(r.createElement(l.Z,{spin:!0}));else{let e="".concat(m,"-suffix");x=t=>{let{open:n,showSearch:o}=t;return n&&o?S(r.createElement(c.Z,{className:e})):S(r.createElement(s.Z,{className:e}))}}let E=null;E=void 0!==u?u:p?r.createElement(o.Z,null):null;let C=null;return{clearIcon:w,suffixIcon:x,itemIcon:E,removeIcon:C=void 0!==d?d:r.createElement(a.Z,null)}}},39379:function(e,t,n){"use strict";function r(e,t){return void 0!==t?t:null!==e}n.d(t,{Z:function(){return r}})},10256:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}});var r=n(44194),o=n(51865),i=n.n(o),a=n(25431),s=n(76933),l=e=>{let{prefixCls:t,className:n,style:o,size:a,shape:s}=e,l=i()({["".concat(t,"-lg")]:"large"===a,["".concat(t,"-sm")]:"small"===a}),c=i()({["".concat(t,"-circle")]:"circle"===s,["".concat(t,"-square")]:"square"===s,["".concat(t,"-round")]:"round"===s}),u=r.useMemo(()=>"number"==typeof a?{width:a,height:a,lineHeight:"".concat(a,"px")}:{},[a]);return r.createElement("span",{className:i()(t,l,c,n),style:Object.assign(Object.assign({},u),o)})},c=n(82698),u=n(2916),d=n(39564);let f=new c.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),p=e=>({height:e,lineHeight:(0,c.bf)(e)}),h=e=>Object.assign({width:e},p(e)),m=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:f,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),g=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},p(e)),v=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{["".concat(t)]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},h(r)),["".concat(t).concat(t,"-circle")]:{borderRadius:"50%"},["".concat(t).concat(t,"-lg")]:Object.assign({},h(o)),["".concat(t).concat(t,"-sm")]:Object.assign({},h(i))}},y=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return{["".concat(r)]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},g(t,s)),["".concat(r,"-lg")]:Object.assign({},g(o,s)),["".concat(r,"-sm")]:Object.assign({},g(i,s))}},b=e=>Object.assign({width:e},p(e)),w=e=>{let{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{["".concat(t)]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},b(i(n).mul(2).equal())),{["".concat(t,"-path")]:{fill:"#bfbfbf"},["".concat(t,"-svg")]:Object.assign(Object.assign({},b(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),["".concat(t,"-svg").concat(t,"-svg-circle")]:{borderRadius:"50%"}}),["".concat(t).concat(t,"-circle")]:{borderRadius:"50%"}}},S=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{["".concat(n).concat(r,"-circle")]:{width:t,minWidth:t,borderRadius:"50%"},["".concat(n).concat(r,"-round")]:{borderRadius:t}}},x=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},p(e)),E=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({["".concat(n)]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},x(r,s))},S(e,r,n)),{["".concat(n,"-lg")]:Object.assign({},x(o,s))}),S(e,o,"".concat(n,"-lg"))),{["".concat(n,"-sm")]:Object.assign({},x(i,s))}),S(e,i,"".concat(n,"-sm")))},C=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:f,marginSM:p,borderRadius:g,titleHeight:b,blockRadius:S,paragraphLiHeight:x,controlHeightXS:C,paragraphMarginTop:_}=e;return{["".concat(t)]:{display:"table",width:"100%",["".concat(t,"-header")]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",["".concat(n)]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},h(l)),["".concat(n,"-circle")]:{borderRadius:"50%"},["".concat(n,"-lg")]:Object.assign({},h(c)),["".concat(n,"-sm")]:Object.assign({},h(u))},["".concat(t,"-content")]:{display:"table-cell",width:"100%",verticalAlign:"top",["".concat(r)]:{width:"100%",height:b,background:d,borderRadius:S,["+ ".concat(o)]:{marginBlockStart:u}},["".concat(o)]:{padding:0,"> li":{width:"100%",height:x,listStyle:"none",background:d,borderRadius:S,"+ li":{marginBlockStart:C}}},["".concat(o,"> li:last-child:not(:first-child):not(:nth-child(2))")]:{width:"61%"}},["&-round ".concat(t,"-content")]:{["".concat(r,", ").concat(o," > li")]:{borderRadius:g}}},["".concat(t,"-with-avatar ").concat(t,"-content")]:{["".concat(r)]:{marginBlockStart:p,["+ ".concat(o)]:{marginBlockStart:_}}},["".concat(t).concat(t,"-element")]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},E(e)),v(e)),y(e)),w(e)),["".concat(t).concat(t,"-block")]:{width:"100%",["".concat(i)]:{width:"100%"},["".concat(a)]:{width:"100%"}},["".concat(t).concat(t,"-active")]:{["\n        ".concat(r,",\n        ").concat(o," > li,\n        ").concat(n,",\n        ").concat(i,",\n        ").concat(a,",\n        ").concat(s,"\n      ")]:Object.assign({},m(e))}}},_=e=>{let{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}};var k=(0,u.I$)("Skeleton",e=>{let{componentCls:t,calc:n}=e;return[C((0,d.IX)(e,{skeletonAvatarCls:"".concat(t,"-avatar"),skeletonTitleCls:"".concat(t,"-title"),skeletonParagraphCls:"".concat(t,"-paragraph"),skeletonButtonCls:"".concat(t,"-button"),skeletonInputCls:"".concat(t,"-input"),skeletonImageCls:"".concat(t,"-image"),imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:"linear-gradient(90deg, ".concat(e.gradientFromColor," 25%, ").concat(e.gradientToColor," 37%, ").concat(e.gradientFromColor," 63%)"),skeletonLoadingMotionDuration:"1.4s"}))]},_,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),O=e=>{let{prefixCls:t,className:n,rootClassName:o,active:c,shape:u="circle",size:d="default"}=e,{getPrefixCls:f}=r.useContext(a.E_),p=f("skeleton",t),[h,m,g]=k(p),v=(0,s.Z)(e,["prefixCls","className"]),y=i()(p,"".concat(p,"-element"),{["".concat(p,"-active")]:c},n,o,m,g);return h(r.createElement("div",{className:y},r.createElement(l,Object.assign({prefixCls:"".concat(p,"-avatar"),shape:u,size:d},v))))},A=e=>{let{prefixCls:t,className:n,rootClassName:o,active:c,block:u=!1,size:d="default"}=e,{getPrefixCls:f}=r.useContext(a.E_),p=f("skeleton",t),[h,m,g]=k(p),v=(0,s.Z)(e,["prefixCls"]),y=i()(p,"".concat(p,"-element"),{["".concat(p,"-active")]:c,["".concat(p,"-block")]:u},n,o,m,g);return h(r.createElement("div",{className:y},r.createElement(l,Object.assign({prefixCls:"".concat(p,"-button"),size:d},v))))};let I="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var P=e=>{let{prefixCls:t,className:n,rootClassName:o,style:s,active:l}=e,{getPrefixCls:c}=r.useContext(a.E_),u=c("skeleton",t),[d,f,p]=k(u),h=i()(u,"".concat(u,"-element"),{["".concat(u,"-active")]:l},n,o,f,p);return d(r.createElement("div",{className:h},r.createElement("div",{className:i()("".concat(u,"-image"),n),style:s},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(u,"-image-svg")},r.createElement("title",null,"Image placeholder"),r.createElement("path",{d:I,className:"".concat(u,"-image-path")})))))},T=e=>{let{prefixCls:t,className:n,rootClassName:o,active:c,block:u,size:d="default"}=e,{getPrefixCls:f}=r.useContext(a.E_),p=f("skeleton",t),[h,m,g]=k(p),v=(0,s.Z)(e,["prefixCls"]),y=i()(p,"".concat(p,"-element"),{["".concat(p,"-active")]:c,["".concat(p,"-block")]:u},n,o,m,g);return h(r.createElement("div",{className:y},r.createElement(l,Object.assign({prefixCls:"".concat(p,"-input"),size:d},v))))},R=n(27820),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},N=n(72654),j=function(e,t){return r.createElement(N.Z,(0,R.Z)({},e,{ref:t,icon:M}))},D=r.forwardRef(j),L=e=>{let{prefixCls:t,className:n,rootClassName:o,style:s,active:l,children:c}=e,{getPrefixCls:u}=r.useContext(a.E_),d=u("skeleton",t),[f,p,h]=k(d),m=i()(d,"".concat(d,"-element"),{["".concat(d,"-active")]:l},p,n,o,h),g=null!=c?c:r.createElement(D,null);return f(r.createElement("div",{className:m},r.createElement("div",{className:i()("".concat(d,"-image"),n),style:s},g)))},B=n(70826);let Z=(e,t)=>{let{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0};var F=e=>{let{prefixCls:t,className:n,style:o,rows:a}=e,s=(0,B.Z)(Array(a)).map((t,n)=>r.createElement("li",{key:n,style:{width:Z(n,e)}}));return r.createElement("ul",{className:i()(t,n),style:o},s)},z=e=>{let{prefixCls:t,className:n,width:o,style:a}=e;return r.createElement("h3",{className:i()(t,n),style:Object.assign({width:o},a)})};function U(e){return e&&"object"==typeof e?e:{}}function H(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function q(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function V(e,t){let n={};return e&&t||(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}let W=e=>{let{prefixCls:t,loading:n,className:o,rootClassName:s,style:c,children:u,avatar:d=!1,title:f=!0,paragraph:p=!0,active:h,round:m}=e,{getPrefixCls:g,direction:v,skeleton:y}=r.useContext(a.E_),b=g("skeleton",t),[w,S,x]=k(b);if(n||!("loading"in e)){let e,t;let n=!!d,a=!!f,u=!!p;if(n){let t=Object.assign(Object.assign({prefixCls:"".concat(b,"-avatar")},H(a,u)),U(d));e=r.createElement("div",{className:"".concat(b,"-header")},r.createElement(l,Object.assign({},t)))}if(a||u){let e,o;if(a){let t=Object.assign(Object.assign({prefixCls:"".concat(b,"-title")},q(n,u)),U(f));e=r.createElement(z,Object.assign({},t))}if(u){let e=Object.assign(Object.assign({prefixCls:"".concat(b,"-paragraph")},V(n,a)),U(p));o=r.createElement(F,Object.assign({},e))}t=r.createElement("div",{className:"".concat(b,"-content")},e,o)}let g=i()(b,{["".concat(b,"-with-avatar")]:n,["".concat(b,"-active")]:h,["".concat(b,"-rtl")]:"rtl"===v,["".concat(b,"-round")]:m},null==y?void 0:y.className,o,s,S,x);return w(r.createElement("div",{className:g,style:Object.assign(Object.assign({},null==y?void 0:y.style),c)},e,t))}return null!=u?u:null};W.Button=A,W.Avatar=O,W.Input=T,W.Image=P,W.Node=L;var $=W},55376:function(e,t,n){"use strict";n.d(t,{Z:function(){return en}});var r=n(44194),o=n(51865),i=n.n(o),a=n(33581),s=n(52986),l=n(70826),c=n(7732),u=n(24335),d=n(45571),f=n(21608),p=n(6103),h=n(27820),m=n(92486);function g(e,t,n){return(e-t)/(n-t)}function v(e,t,n,r){var o=g(t,n,r),i={};switch(e){case"rtl":i.right="".concat(100*o,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(100*o,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(100*o,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(100*o,"%"),i.transform="translateX(-50%)"}return i}function y(e,t){return Array.isArray(e)?e[t]:e}var b=n(4062),w=r.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),S=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],x=r.forwardRef(function(e,t){var n,o=e.prefixCls,l=e.value,c=e.valueIndex,u=e.onStartMove,d=e.style,f=e.render,p=e.dragging,g=e.onOffsetChange,x=e.onChangeComplete,E=e.onFocus,C=e.onMouseEnter,_=(0,m.Z)(e,S),k=r.useContext(w),O=k.min,A=k.max,I=k.direction,P=k.disabled,T=k.keyboard,R=k.range,M=k.tabIndex,N=k.ariaLabelForHandle,j=k.ariaLabelledByForHandle,D=k.ariaValueTextFormatterForHandle,L=k.styles,B=k.classNames,Z="".concat(o,"-handle"),F=function(e){P||u(e,c)},z=function(e){null==E||E(e,c)},U=function(e){C(e,c)},H=function(e){if(!P&&T){var t=null;switch(e.which||e.keyCode){case b.Z.LEFT:t="ltr"===I||"btt"===I?-1:1;break;case b.Z.RIGHT:t="ltr"===I||"btt"===I?1:-1;break;case b.Z.UP:t="ttb"!==I?1:-1;break;case b.Z.DOWN:t="ttb"!==I?-1:1;break;case b.Z.HOME:t="min";break;case b.Z.END:t="max";break;case b.Z.PAGE_UP:t=2;break;case b.Z.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),g(t,c))}},q=function(e){switch(e.which||e.keyCode){case b.Z.LEFT:case b.Z.RIGHT:case b.Z.UP:case b.Z.DOWN:case b.Z.HOME:case b.Z.END:case b.Z.PAGE_UP:case b.Z.PAGE_DOWN:null==x||x()}},V=v(I,l,O,A),W={};null!==c&&(W={tabIndex:P?null:y(M,c),role:"slider","aria-valuemin":O,"aria-valuemax":A,"aria-valuenow":l,"aria-disabled":P,"aria-label":y(N,c),"aria-labelledby":y(j,c),"aria-valuetext":null===(n=y(D,c))||void 0===n?void 0:n(l),"aria-orientation":"ltr"===I||"rtl"===I?"horizontal":"vertical",onMouseDown:F,onTouchStart:F,onFocus:z,onMouseEnter:U,onKeyDown:H,onKeyUp:q});var $=r.createElement("div",(0,h.Z)({ref:t,className:i()(Z,(0,s.Z)((0,s.Z)({},"".concat(Z,"-").concat(c+1),null!==c&&R),"".concat(Z,"-dragging"),p),B.handle),style:(0,a.Z)((0,a.Z)((0,a.Z)({},V),d),L.handle)},W,_));return f&&($=f($,{index:c,prefixCls:o,value:l,dragging:p})),$}),E=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","onFocus"],C=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.style,i=e.onStartMove,s=e.onOffsetChange,l=e.values,u=e.handleRender,d=e.activeHandleRender,f=e.draggingIndex,p=e.onFocus,g=(0,m.Z)(e,E),v=r.useRef({});r.useImperativeHandle(t,function(){return{focus:function(e){var t;null===(t=v.current[e])||void 0===t||t.focus()}}});var b=r.useState(-1),w=(0,c.Z)(b,2),S=w[0],C=w[1],_=function(e,t){C(t),null==p||p(e)},k=function(e,t){C(t)},O=(0,a.Z)({prefixCls:n,onStartMove:i,onOffsetChange:s,render:u,onFocus:_,onMouseEnter:k},g);return r.createElement(r.Fragment,null,l.map(function(e,t){return r.createElement(x,(0,h.Z)({ref:function(e){e?v.current[t]=e:delete v.current[t]},dragging:f===t,style:y(o,t),key:t,value:e,valueIndex:t},O))}),d&&r.createElement(x,(0,h.Z)({key:"a11y"},O,{value:l[S],valueIndex:null,dragging:-1!==f,render:d,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),_=function(e){var t=e.prefixCls,n=e.style,o=e.children,l=e.value,c=e.onClick,u=r.useContext(w),d=u.min,f=u.max,p=u.direction,h=u.includedStart,m=u.includedEnd,g=u.included,y="".concat(t,"-text"),b=v(p,l,d,f);return r.createElement("span",{className:i()(y,(0,s.Z)({},"".concat(y,"-active"),g&&h<=l&&l<=m)),style:(0,a.Z)((0,a.Z)({},b),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){c(l)}},o)},k=function(e){var t=e.prefixCls,n=e.marks,o=e.onClick,i="".concat(t,"-mark");return n.length?r.createElement("div",{className:i},n.map(function(e){var t=e.value,n=e.style,a=e.label;return r.createElement(_,{key:t,prefixCls:i,style:n,value:t,onClick:o},a)})):null},O=function(e){var t=e.prefixCls,n=e.value,o=e.style,l=e.activeStyle,c=r.useContext(w),u=c.min,d=c.max,f=c.direction,p=c.included,h=c.includedStart,m=c.includedEnd,g="".concat(t,"-dot"),y=p&&h<=n&&n<=m,b=(0,a.Z)((0,a.Z)({},v(f,n,u,d)),"function"==typeof o?o(n):o);return y&&(b=(0,a.Z)((0,a.Z)({},b),"function"==typeof l?l(n):l)),r.createElement("span",{className:i()(g,(0,s.Z)({},"".concat(g,"-active"),y)),style:b})},A=function(e){var t=e.prefixCls,n=e.marks,o=e.dots,i=e.style,a=e.activeStyle,s=r.useContext(w),l=s.min,c=s.max,u=s.step,d=r.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),o&&null!==u)for(var t=l;t<=c;)e.add(t),t+=u;return Array.from(e)},[l,c,u,o,n]);return r.createElement("div",{className:"".concat(t,"-step")},d.map(function(e){return r.createElement(O,{prefixCls:t,key:e,value:e,style:i,activeStyle:a})}))},I=function(e){var t=e.prefixCls,n=e.style,o=e.start,l=e.end,c=e.index,u=e.onStartMove,d=e.replaceCls,f=r.useContext(w),p=f.direction,h=f.min,m=f.max,v=f.disabled,y=f.range,b=f.classNames,S="".concat(t,"-track"),x=g(o,h,m),E=g(l,h,m),C=function(e){!v&&u&&u(e,-1)},_={};switch(p){case"rtl":_.right="".concat(100*x,"%"),_.width="".concat(100*E-100*x,"%");break;case"btt":_.bottom="".concat(100*x,"%"),_.height="".concat(100*E-100*x,"%");break;case"ttb":_.top="".concat(100*x,"%"),_.height="".concat(100*E-100*x,"%");break;default:_.left="".concat(100*x,"%"),_.width="".concat(100*E-100*x,"%")}var k=d||i()(S,(0,s.Z)((0,s.Z)({},"".concat(S,"-").concat(c+1),null!==c&&y),"".concat(t,"-track-draggable"),u),b.track);return r.createElement("div",{className:k,style:(0,a.Z)((0,a.Z)({},_),n),onMouseDown:C,onTouchStart:C})},P=function(e){var t=e.prefixCls,n=e.style,o=e.values,s=e.startPoint,l=e.onStartMove,c=r.useContext(w),u=c.included,d=c.range,f=c.min,p=c.styles,h=c.classNames,m=r.useMemo(function(){if(!d){if(0===o.length)return[];var e=null!=s?s:f,t=o[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],r=0;r<o.length-1;r+=1)n.push({start:o[r],end:o[r+1]});return n},[o,d,s,f]);if(!u)return null;var g=h.tracks||p.tracks?r.createElement(I,{index:null,prefixCls:t,start:m[0].start,end:m[m.length-1].end,replaceCls:i()(h.tracks,"".concat(t,"-tracks")),style:p.tracks}):null;return r.createElement(r.Fragment,null,g,m.map(function(e,o){var i=e.start,s=e.end;return r.createElement(I,{index:o,prefixCls:t,style:(0,a.Z)((0,a.Z)({},y(n,o)),p.track),start:i,end:s,key:o,onStartMove:l})}))},T=n(91324);function R(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}var M=function(e,t,n,o,i,a,s,u,d){var f=r.useState(null),p=(0,c.Z)(f,2),h=p[0],m=p[1],g=r.useState(-1),v=(0,c.Z)(g,2),y=v[0],b=v[1],w=r.useState(n),S=(0,c.Z)(w,2),x=S[0],E=S[1],C=r.useState(n),_=(0,c.Z)(C,2),k=_[0],O=_[1],A=r.useRef(null),I=r.useRef(null);r.useLayoutEffect(function(){-1===y&&E(n)},[n,y]),r.useEffect(function(){return function(){document.removeEventListener("mousemove",A.current),document.removeEventListener("mouseup",I.current),document.removeEventListener("touchmove",A.current),document.removeEventListener("touchend",I.current)}},[]);var P=function(e,t){x.some(function(t,n){return t!==e[n]})&&(void 0!==t&&m(t),E(e),s(e))},M=(0,T.zX)(function(e,t){if(-1===e){var n=k[0],r=k[k.length-1],s=o-n,c=i-r,u=t*(i-o);u=a(n+(u=Math.min(u=Math.max(u,s),c)))-n,P(k.map(function(e){return e+u}))}else{var f=(i-o)*t,p=(0,l.Z)(x);p[e]=k[e];var h=d(p,f,e,"dist");P(h.values,h.value)}}),N=function(r,o,i){r.stopPropagation();var a=i||n,s=a[o];b(o),m(s),O(a);var l=R(r),c=l.pageX,d=l.pageY,f=function(n){n.preventDefault();var r,i=R(n),a=i.pageX,s=i.pageY,l=a-c,u=s-d,f=e.current.getBoundingClientRect(),p=f.width,h=f.height;switch(t){case"btt":r=-u/h;break;case"ttb":r=u/h;break;case"rtl":r=-l/p;break;default:r=l/p}M(o,r)},p=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",f),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",f),A.current=null,I.current=null,b(-1),u()};document.addEventListener("mouseup",p),document.addEventListener("mousemove",f),document.addEventListener("touchend",p),document.addEventListener("touchmove",f),A.current=f,I.current=p};return[y,h,r.useMemo(function(){var e=(0,l.Z)(n).sort(function(e,t){return e-t}),t=(0,l.Z)(x).sort(function(e,t){return e-t});return e.every(function(e,n){return e===t[n]})?x:n},[n,x]),N]};function N(e,t,n,o,i,a){var s=r.useCallback(function(n){return Math.max(e,Math.min(t,n))},[e,t]),c=r.useCallback(function(r){if(null!==n){var o=e+Math.round((s(r)-e)/n)*n,i=function(e){return(String(e).split(".")[1]||"").length},a=Math.max(i(n),i(t),i(e)),l=Number(o.toFixed(a));return e<=l&&l<=t?l:null}return null},[n,e,t,s]),u=r.useCallback(function(r){var i=s(r),a=o.map(function(e){return e.value});null!==n&&a.push(c(r)),a.push(e,t);var l=a[0],u=t-e;return a.forEach(function(e){var t=Math.abs(i-e);t<=u&&(l=e,u=t)}),l},[e,t,o,n,s,c]),d=function r(i,a,s){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof a){var d,f=i[s],p=f+a,h=[];o.forEach(function(e){h.push(e.value)}),h.push(e,t),h.push(c(f));var m=a>0?1:-1;"unit"===u?h.push(c(f+m*n)):h.push(c(p)),h=h.filter(function(e){return null!==e}).filter(function(e){return a<0?e<=f:e>=f}),"unit"===u&&(h=h.filter(function(e){return e!==f}));var g="unit"===u?f:p,v=Math.abs((d=h[0])-g);if(h.forEach(function(e){var t=Math.abs(e-g);t<v&&(d=e,v=t)}),void 0===d)return a<0?e:t;if("dist"===u)return d;if(Math.abs(a)>1){var y=(0,l.Z)(i);return y[s]=d,r(y,a-m,s,u)}return d}return"min"===a?e:"max"===a?t:void 0},f=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",o=e[n],i=d(e,t,n,r);return{value:i,changed:i!==o}},p=function(e){return null===a&&0===e||"number"==typeof a&&e<a},h=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(u),s=o[n],l=d(o,t,n,r);if(o[n]=l,!1===i){var c=a||0;n>0&&o[n-1]!==s&&(o[n]=Math.max(o[n],o[n-1]+c)),n<o.length-1&&o[n+1]!==s&&(o[n]=Math.min(o[n],o[n+1]-c))}else if("number"==typeof a||null===a){for(var h=n+1;h<o.length;h+=1)for(var m=!0;p(o[h]-o[h-1])&&m;){var g=f(o,1,h);o[h]=g.value,m=g.changed}for(var v=n;v>0;v-=1)for(var y=!0;p(o[v]-o[v-1])&&y;){var b=f(o,-1,v-1);o[v-1]=b.value,y=b.changed}for(var w=o.length-1;w>0;w-=1)for(var S=!0;p(o[w]-o[w-1])&&S;){var x=f(o,-1,w-1);o[w-1]=x.value,S=x.changed}for(var E=0;E<o.length-1;E+=1)for(var C=!0;p(o[E+1]-o[E])&&C;){var _=f(o,1,E+1);o[E+1]=_.value,C=_.changed}}return{value:o[n],values:o}};return[u,h]}var j=r.forwardRef(function(e,t){var n=e.prefixCls,o=void 0===n?"rc-slider":n,h=e.className,m=e.style,g=e.classNames,v=e.styles,y=e.disabled,b=void 0!==y&&y,S=e.keyboard,x=void 0===S||S,E=e.autoFocus,_=e.onFocus,O=e.onBlur,I=e.min,T=void 0===I?0:I,R=e.max,j=void 0===R?100:R,D=e.step,L=void 0===D?1:D,B=e.value,Z=e.defaultValue,F=e.range,z=e.count,U=e.onChange,H=e.onBeforeChange,q=e.onAfterChange,V=e.onChangeComplete,W=e.allowCross,$=void 0===W||W,G=e.pushable,K=void 0!==G&&G,Y=e.draggableTrack,X=e.reverse,Q=e.vertical,J=e.included,ee=void 0===J||J,et=e.startPoint,en=e.trackStyle,er=e.handleStyle,eo=e.railStyle,ei=e.dotStyle,ea=e.activeDotStyle,es=e.marks,el=e.dots,ec=e.handleRender,eu=e.activeHandleRender,ed=e.tabIndex,ef=void 0===ed?0:ed,ep=e.ariaLabelForHandle,eh=e.ariaLabelledByForHandle,em=e.ariaValueTextFormatterForHandle,eg=r.useRef(null),ev=r.useRef(null),ey=r.useMemo(function(){return Q?X?"ttb":"btt":X?"rtl":"ltr"},[X,Q]),eb=r.useMemo(function(){return isFinite(T)?T:0},[T]),ew=r.useMemo(function(){return isFinite(j)?j:100},[j]),eS=r.useMemo(function(){return null!==L&&L<=0?1:L},[L]),ex=r.useMemo(function(){return"boolean"==typeof K?!!K&&eS:K>=0&&K},[K,eS]),eE=r.useMemo(function(){return Object.keys(es||{}).map(function(e){var t=es[e],n={value:Number(e)};return t&&"object"===(0,u.Z)(t)&&!r.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[es]),eC=N(eb,ew,eS,eE,$,ex),e_=(0,c.Z)(eC,2),ek=e_[0],eO=e_[1],eA=(0,d.Z)(Z,{value:B}),eI=(0,c.Z)(eA,2),eP=eI[0],eT=eI[1],eR=r.useMemo(function(){var e=null==eP?[]:Array.isArray(eP)?eP:[eP],t=(0,c.Z)(e,1)[0],n=void 0===t?eb:t,r=null===eP?[]:[n];if(F){if(r=(0,l.Z)(e),z||void 0===eP){var o,i=z>=0?z+1:2;for(r=r.slice(0,i);r.length<i;)r.push(null!==(o=r[r.length-1])&&void 0!==o?o:eb)}r.sort(function(e,t){return e-t})}return r.forEach(function(e,t){r[t]=ek(e)}),r},[eP,F,eb,z,ek]),eM=r.useRef(eR);eM.current=eR;var eN=function(e){return F?e:e[0]},ej=function(e){var t=(0,l.Z)(e).sort(function(e,t){return e-t});U&&!(0,f.Z)(t,eM.current,!0)&&U(eN(t)),eT(t)},eD=function(){var e=eN(eM.current);null==q||q(e),(0,p.ZP)(!q,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),null==V||V(e)},eL=M(ev,ey,eR,eb,ew,ek,ej,eD,eO),eB=(0,c.Z)(eL,4),eZ=eB[0],eF=eB[1],ez=eB[2],eU=eB[3],eH=function(e,t){if(!b){var n,r,o=0,i=ew-eb;eR.forEach(function(t,n){var r=Math.abs(e-t);r<=i&&(i=r,o=n)});var a=(0,l.Z)(eR);a[o]=e,F&&!eR.length&&void 0===z&&a.push(e),null==H||H(eN(a)),ej(a),t&&(null===(n=document.activeElement)||void 0===n||null===(r=n.blur)||void 0===r||r.call(n),eg.current.focus(o),eU(t,o,a))}},eq=function(e){e.preventDefault();var t,n=ev.current.getBoundingClientRect(),r=n.width,o=n.height,i=n.left,a=n.top,s=n.bottom,l=n.right,c=e.clientX,u=e.clientY;switch(ey){case"btt":t=(s-u)/o;break;case"ttb":t=(u-a)/o;break;case"rtl":t=(l-c)/r;break;default:t=(c-i)/r}eH(ek(eb+t*(ew-eb)),e)},eV=r.useState(null),eW=(0,c.Z)(eV,2),e$=eW[0],eG=eW[1],eK=function(e,t){if(!b){var n=eO(eR,e,t);null==H||H(eN(eR)),ej(n.values),eG(n.value)}};r.useEffect(function(){if(null!==e$){var e=eR.indexOf(e$);e>=0&&eg.current.focus(e)}eG(null)},[e$]);var eY=r.useMemo(function(){return(!Y||null!==eS)&&Y},[Y,eS]),eX=function(e,t){eU(e,t),null==H||H(eN(eM.current))},eQ=-1!==eZ;r.useEffect(function(){if(!eQ){var e=eR.lastIndexOf(eF);eg.current.focus(e)}},[eQ]);var eJ=r.useMemo(function(){return(0,l.Z)(ez).sort(function(e,t){return e-t})},[ez]),e0=r.useMemo(function(){return F?[eJ[0],eJ[eJ.length-1]]:[eb,eJ[0]]},[eJ,F,eb]),e1=(0,c.Z)(e0,2),e2=e1[0],e3=e1[1];r.useImperativeHandle(t,function(){return{focus:function(){eg.current.focus(0)},blur:function(){var e,t=document.activeElement;null!==(e=ev.current)&&void 0!==e&&e.contains(t)&&(null==t||t.blur())}}}),r.useEffect(function(){E&&eg.current.focus(0)},[]);var e4=r.useMemo(function(){return{min:eb,max:ew,direction:ey,disabled:b,keyboard:x,step:eS,included:ee,includedStart:e2,includedEnd:e3,range:F,tabIndex:ef,ariaLabelForHandle:ep,ariaLabelledByForHandle:eh,ariaValueTextFormatterForHandle:em,styles:v||{},classNames:g||{}}},[eb,ew,ey,b,x,eS,ee,e2,e3,F,ef,ep,eh,em,v,g]);return r.createElement(w.Provider,{value:e4},r.createElement("div",{ref:ev,className:i()(o,h,(0,s.Z)((0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(o,"-disabled"),b),"".concat(o,"-vertical"),Q),"".concat(o,"-horizontal"),!Q),"".concat(o,"-with-marks"),eE.length)),style:m,onMouseDown:eq},r.createElement("div",{className:i()("".concat(o,"-rail"),null==g?void 0:g.rail),style:(0,a.Z)((0,a.Z)({},eo),null==v?void 0:v.rail)}),r.createElement(P,{prefixCls:o,style:en,values:eJ,startPoint:et,onStartMove:eY?eX:void 0}),r.createElement(A,{prefixCls:o,marks:eE,dots:el,style:ei,activeStyle:ea}),r.createElement(C,{ref:eg,prefixCls:o,style:er,values:ez,draggingIndex:eZ,onStartMove:eX,onOffsetChange:eK,onFocus:_,onBlur:O,handleRender:ec,activeHandleRender:eu,onChangeComplete:eD}),r.createElement(k,{prefixCls:o,marks:eE,onClick:eH})))}),D=n(30716),L=n(25431),B=n(1849),Z=n(64198),F=n(13185),z=r.forwardRef((e,t)=>{let{open:n}=e,o=(0,r.useRef)(null),i=(0,r.useRef)(null);function a(){D.Z.cancel(i.current),i.current=null}function s(){i.current=(0,D.Z)(()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),i.current=null})}return r.useEffect(()=>(n?s():a(),a),[n,e.title]),r.createElement(F.Z,Object.assign({ref:(0,Z.sQ)(o,t)},e))}),U=n(82698),H=n(66671),q=n(61885),V=n(2916),W=n(39564);let $=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:o,marginFull:i,marginPart:a,colorFillContentHover:s,handleColorDisabled:l,calc:c,handleSize:u,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:p,handleLineWidth:h,handleLineWidthHover:m,motionDurationMid:g}=e;return{[t]:Object.assign(Object.assign({},(0,q.Wf)(e)),{position:"relative",height:r,margin:"".concat((0,U.bf)(a)," ").concat((0,U.bf)(i)),padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:"".concat((0,U.bf)(i)," ").concat((0,U.bf)(a))},["".concat(t,"-rail")]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:"background-color ".concat(g)},["".concat(t,"-track,").concat(t,"-tracks")]:{position:"absolute",transition:"background-color ".concat(g)},["".concat(t,"-track")]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},["".concat(t,"-track-draggable")]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{["".concat(t,"-rail")]:{backgroundColor:e.railHoverBg},["".concat(t,"-track")]:{backgroundColor:e.trackHoverBg},["".concat(t,"-dot")]:{borderColor:s},["".concat(t,"-handle::after")]:{boxShadow:"0 0 0 ".concat((0,U.bf)(h)," ").concat(e.colorPrimaryBorderHover)},["".concat(t,"-dot-active")]:{borderColor:e.dotActiveBorderColor}},["".concat(t,"-handle")]:{position:"absolute",width:u,height:u,outline:"none","&::before":{content:'""',position:"absolute",insetInlineStart:c(h).mul(-1).equal(),insetBlockStart:c(h).mul(-1).equal(),width:c(u).add(c(h).mul(2)).equal(),height:c(u).add(c(h).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:u,height:u,backgroundColor:e.colorBgElevated,boxShadow:"0 0 0 ".concat((0,U.bf)(h)," ").concat(e.handleColor),outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:"\n            inset-inline-start ".concat(g,",\n            inset-block-start ").concat(g,",\n            width ").concat(g,",\n            height ").concat(g,",\n            box-shadow ").concat(g,",\n            outline ").concat(g,"\n          ")},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:c(d).sub(u).div(2).add(m).mul(-1).equal(),insetBlockStart:c(d).sub(u).div(2).add(m).mul(-1).equal(),width:c(d).add(c(m).mul(2)).equal(),height:c(d).add(c(m).mul(2)).equal()},"&::after":{boxShadow:"0 0 0 ".concat((0,U.bf)(m)," ").concat(f),outline:"6px solid ".concat(p),width:d,height:d,insetInlineStart:e.calc(u).sub(d).div(2).equal(),insetBlockStart:e.calc(u).sub(d).div(2).equal()}}},["&-lock ".concat(t,"-handle")]:{"&::before, &::after":{transition:"none"}},["".concat(t,"-mark")]:{position:"absolute",fontSize:e.fontSize},["".concat(t,"-mark-text")]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},["".concat(t,"-step")]:{position:"absolute",background:"transparent",pointerEvents:"none"},["".concat(t,"-dot")]:{position:"absolute",width:o,height:o,backgroundColor:e.colorBgElevated,border:"".concat((0,U.bf)(h)," solid ").concat(e.dotBorderColor),borderRadius:"50%",cursor:"pointer",transition:"border-color ".concat(e.motionDurationSlow),pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},["&".concat(t,"-disabled")]:{cursor:"not-allowed",["".concat(t,"-rail")]:{backgroundColor:"".concat(e.railBg," !important")},["".concat(t,"-track")]:{backgroundColor:"".concat(e.trackBgDisabled," !important")},["\n          ".concat(t,"-dot\n        ")]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},["".concat(t,"-handle::after")]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:u,height:u,boxShadow:"0 0 0 ".concat((0,U.bf)(h)," ").concat(l),insetInlineStart:0,insetBlockStart:0},["\n          ".concat(t,"-mark-text,\n          ").concat(t,"-dot\n        ")]:{cursor:"not-allowed !important"}},["&-tooltip ".concat(n,"-tooltip-inner")]:{minWidth:"unset"}})}},G=(e,t)=>{let{componentCls:n,railSize:r,handleSize:o,dotSize:i,marginFull:a,calc:s}=e,l=t?"paddingBlock":"paddingInline",c=t?"width":"height",u=t?"height":"width",d=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",p=s(r).mul(3).sub(o).div(2).equal(),h=s(o).sub(r).div(2).equal(),m=t?{borderWidth:"".concat((0,U.bf)(h)," 0"),transform:"translateY(".concat((0,U.bf)(s(h).mul(-1).equal()),")")}:{borderWidth:"0 ".concat((0,U.bf)(h)),transform:"translateX(".concat((0,U.bf)(e.calc(h).mul(-1).equal()),")")};return{[l]:r,[u]:s(r).mul(3).equal(),["".concat(n,"-rail")]:{[c]:"100%",[u]:r},["".concat(n,"-track,").concat(n,"-tracks")]:{[u]:r},["".concat(n,"-track-draggable")]:Object.assign({},m),["".concat(n,"-handle")]:{[d]:p},["".concat(n,"-mark")]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:a).equal(),[c]:"100%"},["".concat(n,"-step")]:{insetInlineStart:0,top:0,[f]:r,[c]:"100%",[u]:r},["".concat(n,"-dot")]:{position:"absolute",[d]:s(r).sub(i).div(2).equal()}}},K=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{["".concat(t,"-horizontal")]:Object.assign(Object.assign({},G(e,!0)),{["&".concat(t,"-with-marks")]:{marginBottom:n}})}},Y=e=>{let{componentCls:t}=e;return{["".concat(t,"-vertical")]:Object.assign(Object.assign({},G(e,!1)),{height:"100%"})}},X=e=>{let t=1,n=e.controlHeightLG/4,r=e.controlHeightSM/2,o=e.lineWidth+t,i=e.lineWidth+1.5*t,a=e.colorPrimary,s=new H.C(a).setAlpha(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:o,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:a,handleActiveOutlineColor:s,handleColorDisabled:new H.C(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}};var Q=(0,V.I$)("Slider",e=>{let t=(0,W.IX)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[$(t),K(t),Y(t)]},X);function J(){let[e,t]=r.useState(!1),n=r.useRef(),o=()=>{D.Z.cancel(n.current)},i=e=>{o(),e?t(e):n.current=(0,D.Z)(()=>{t(e)})};return r.useEffect(()=>o,[]),[e,i]}var ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function et(e,t){return e||null===e?e:t||null===t?t:e=>"number"==typeof e?e.toString():""}var en=r.forwardRef((e,t)=>{let{prefixCls:n,range:o,className:a,rootClassName:s,style:l,disabled:c,tooltipPrefixCls:u,tipFormatter:d,tooltipVisible:f,getTooltipPopupContainer:p,tooltipPlacement:h,tooltip:m={},onChangeComplete:g}=e,v=ee(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:y}=e,{direction:b,slider:w,getPrefixCls:S,getPopupContainer:x}=r.useContext(L.E_),E=r.useContext(B.Z),C=null!=c?c:E,[_,k]=J(),[O,A]=J(),I=Object.assign({},m),{open:P,placement:T,getPopupContainer:R,prefixCls:M,formatter:N}=I,Z=null!=P?P:f,F=(_||O)&&!1!==Z,U=et(N,d),[H,q]=J(),V=e=>{null==g||g(e),q(!1)},W=(e,t)=>e||(t?"rtl"===b?"left":"right":"top"),$=S("slider",n),[G,K,Y]=Q($),X=i()(a,null==w?void 0:w.className,s,{["".concat($,"-rtl")]:"rtl"===b,["".concat($,"-lock")]:H},K,Y);"rtl"!==b||v.vertical||(v.reverse=!v.reverse);let[en,er]=r.useMemo(()=>o?"object"==typeof o?[!0,o.draggableTrack]:[!0,!1]:[!1],[o]);r.useEffect(()=>{let e=()=>{(0,D.Z)(()=>{A(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let eo=en&&!Z,ei=(e,t)=>{let{index:n}=t,o=e.props,i=Object.assign(Object.assign({},o),{onMouseEnter:e=>{var t;k(!0),null===(t=o.onMouseEnter)||void 0===t||t.call(o,e)},onMouseLeave:e=>{var t;k(!1),null===(t=o.onMouseLeave)||void 0===t||t.call(o,e)},onMouseDown:e=>{var t;A(!0),q(!0),null===(t=o.onMouseDown)||void 0===t||t.call(o,e)},onFocus:e=>{var t,n;A(!0),null===(t=v.onFocus)||void 0===t||t.call(v,e),null===(n=o.onFocus)||void 0===n||n.call(o,e)},onBlur:e=>{var t,n;A(!1),null===(t=v.onBlur)||void 0===t||t.call(v,e),null===(n=o.onBlur)||void 0===n||n.call(o,e)}}),a=r.cloneElement(e,i),s=(!!Z||F)&&null!==U;return eo?a:r.createElement(z,Object.assign({},I,{prefixCls:S("tooltip",null!=M?M:u),title:U?U(t.value):"",open:s,placement:W(null!=T?T:h,y),key:n,overlayClassName:"".concat($,"-tooltip"),getPopupContainer:R||p||x}),a)},ea=eo?(e,t)=>{let n=r.cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return r.createElement(z,Object.assign({},I,{prefixCls:S("tooltip",null!=M?M:u),title:U?U(t.value):"",open:null!==U&&F,placement:W(null!=T?T:h,y),key:"tooltip",overlayClassName:"".concat($,"-tooltip"),getPopupContainer:R||p||x}),n)}:void 0,es=Object.assign(Object.assign({},null==w?void 0:w.style),l);return G(r.createElement(j,Object.assign({},v,{step:v.step,range:en,draggableTrack:er,className:X,style:es,disabled:C,ref:t,prefixCls:$,handleRender:ei,activeHandleRender:ea,onChangeComplete:V})))})},18624:function(e,t,n){"use strict";n.d(t,{BR:function(){return p},ri:function(){return f}});var r=n(44194),o=n(51865),i=n.n(o),a=n(2196),s=n(25431),l=n(3690),c=n(99500),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let d=r.createContext(null),f=(e,t)=>{let n=r.useContext(d),o=r.useMemo(()=>{if(!n)return"";let{compactDirection:r,isFirstItem:o,isLastItem:a}=n,s="vertical"===r?"-vertical-":"-";return i()("".concat(e,"-compact").concat(s,"item"),{["".concat(e,"-compact").concat(s,"first-item")]:o,["".concat(e,"-compact").concat(s,"last-item")]:a,["".concat(e,"-compact").concat(s,"item-rtl")]:"rtl"===t})},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:o}},p=e=>{let{children:t}=e;return r.createElement(d.Provider,{value:null},t)},h=e=>{var{children:t}=e,n=u(e,["children"]);return r.createElement(d.Provider,{value:n},t)},m=e=>{let{getPrefixCls:t,direction:n}=r.useContext(s.E_),{size:o,direction:f,block:p,prefixCls:m,className:g,rootClassName:v,children:y}=e,b=u(e,["size","direction","block","prefixCls","className","rootClassName","children"]),w=(0,l.Z)(e=>null!=o?o:e),S=t("space-compact",m),[x,E]=(0,c.Z)(S),C=i()(S,E,{["".concat(S,"-rtl")]:"rtl"===n,["".concat(S,"-block")]:p,["".concat(S,"-vertical")]:"vertical"===f},g,v),_=r.useContext(d),k=(0,a.Z)(y),O=r.useMemo(()=>k.map((e,t)=>{let n=(null==e?void 0:e.key)||"".concat(S,"-item-").concat(t);return r.createElement(h,{key:n,compactSize:w,compactDirection:f,isFirstItem:0===t&&(!_||(null==_?void 0:_.isFirstItem)),isLastItem:t===k.length-1&&(!_||(null==_?void 0:_.isLastItem))},e)}),[o,k,_]);return 0===k.length?null:x(r.createElement("div",Object.assign({className:C},b),O))};t.ZP=m},52334:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(44194),o=n(51865),i=n.n(o),a=n(2196);function s(e){return["small","middle","large"].includes(e)}function l(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}var c=n(25431),u=n(18624);let d=r.createContext({latestIndex:0}),f=d.Provider;var p=e=>{let{className:t,index:n,children:o,split:i,style:a}=e,{latestIndex:s}=r.useContext(d);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:a},o),n<s&&i&&r.createElement("span",{className:"".concat(t,"-split")},i))},h=n(99500),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let g=r.forwardRef((e,t)=>{var n,o,u;let{getPrefixCls:d,space:g,direction:v}=r.useContext(c.E_),{size:y=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:b,className:w,rootClassName:S,children:x,direction:E="horizontal",prefixCls:C,split:_,style:k,wrap:O=!1,classNames:A,styles:I}=e,P=m(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[T,R]=Array.isArray(y)?y:[y,y],M=s(R),N=s(T),j=l(R),D=l(T),L=(0,a.Z)(x,{keepEmpty:!0}),B=void 0===b&&"horizontal"===E?"center":b,Z=d("space",C),[F,z,U]=(0,h.Z)(Z),H=i()(Z,null==g?void 0:g.className,z,"".concat(Z,"-").concat(E),{["".concat(Z,"-rtl")]:"rtl"===v,["".concat(Z,"-align-").concat(B)]:B,["".concat(Z,"-gap-row-").concat(R)]:M,["".concat(Z,"-gap-col-").concat(T)]:N},w,S,U),q=i()("".concat(Z,"-item"),null!==(o=null==A?void 0:A.item)&&void 0!==o?o:null===(u=null==g?void 0:g.classNames)||void 0===u?void 0:u.item),V=0,W=L.map((e,t)=>{var n,o;null!=e&&(V=t);let i=(null==e?void 0:e.key)||"".concat(q,"-").concat(t);return r.createElement(p,{className:q,key:i,index:t,split:_,style:null!==(n=null==I?void 0:I.item)&&void 0!==n?n:null===(o=null==g?void 0:g.styles)||void 0===o?void 0:o.item},e)}),$=r.useMemo(()=>({latestIndex:V}),[V]);if(0===L.length)return null;let G={};return O&&(G.flexWrap="wrap"),!N&&D&&(G.columnGap=T),!M&&j&&(G.rowGap=R),F(r.createElement("div",Object.assign({ref:t,className:H,style:Object.assign(Object.assign(Object.assign({},G),null==g?void 0:g.style),k)},P),r.createElement(f,{value:$},W)))});g.Compact=u.ZP;var v=g},99500:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2916),o=n(39564),i=e=>{let{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};let a=e=>{let{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},["".concat(t,"-item:empty")]:{display:"none"},["".concat(t,"-item > ").concat(n,"-badge-not-a-wrapper:only-child")]:{display:"block"}}}},s=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};var l=(0,r.I$)("Space",e=>{let t=(0,o.IX)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[a(t),s(t),i(t)]},()=>({}),{resetStyle:!1})},99754:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return I}});var o=n(44194),i=n(51865),a=n.n(i),s=n(54308),l=n(25431),c=n(85905),u=n(75232);function d(e){let{percent:t,prefixCls:n}=e,r="".concat(n,"-dot"),i="".concat(r,"-holder"),s="".concat(i,"-hidden"),[l,c]=o.useState(!1);(0,u.Z)(()=>{0!==t&&c(!0)},[0!==t]);let d=Math.max(Math.min(t,100),0),f=100,p=20,h=40,m=80*Math.PI,g=(e,t)=>o.createElement("circle",{className:a()(e,"".concat(r,"-circle")),r:h,cx:"50",cy:"50",strokeWidth:p,style:t});return l?o.createElement("span",{className:a()(i,"".concat(r,"-progress"),d<=0&&s)},o.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(f),role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d},g("".concat(r,"-circle-bg")),g("",{strokeDasharray:"".concat(m*d/100," ").concat(m*(100-d)/100),strokeDashoffset:"".concat(m/4)}))):null}function f(e){let{prefixCls:t,percent:n=0}=e,r="".concat(t,"-dot"),i="".concat(r,"-holder"),s="".concat(i,"-hidden");return o.createElement(o.Fragment,null,o.createElement("span",{className:a()(i,n>0&&s)},o.createElement("span",{className:a()(r,"".concat(t,"-dot-spin"))},[1,2,3,4].map(e=>o.createElement("i",{className:"".concat(t,"-dot-item"),key:e})))),o.createElement(d,{prefixCls:t,percent:n}))}function p(e){let{prefixCls:t,indicator:n,percent:r}=e,i="".concat(t,"-dot");return n&&o.isValidElement(n)?(0,c.Tm)(n,{className:a()(n.props.className,i),percent:r}):o.createElement(f,{prefixCls:t,percent:r})}var h=n(82698),m=n(61885),g=n(2916),v=n(39564);let y=new h.E4("antSpinMove",{to:{opacity:1}}),b=new h.E4("antRotate",{to:{transform:"rotate(405deg)"}}),w=e=>{let{componentCls:t,calc:n}=e;return{["".concat(t)]:Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:"transform ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOutCirc),"&-spinning":{position:"relative",display:"inline-block",opacity:1},["".concat(t,"-text")]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:"all ".concat(e.motionDurationMid),"&-show":{opacity:1,visibility:"visible"},[t]:{["".concat(t,"-dot-holder")]:{color:e.colorWhite},["".concat(t,"-text")]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",["> div > ".concat(t)]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,["".concat(t,"-dot")]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},["".concat(t,"-text")]:{position:"absolute",top:"50%",width:"100%",textShadow:"0 1px 2px ".concat(e.colorBgContainer)},["&".concat(t,"-show-text ").concat(t,"-dot")]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{["".concat(t,"-dot")]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},["".concat(t,"-text")]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},["&".concat(t,"-show-text ").concat(t,"-dot")]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{["".concat(t,"-dot")]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},["".concat(t,"-text")]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},["&".concat(t,"-show-text ").concat(t,"-dot")]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},["".concat(t,"-container")]:{position:"relative",transition:"opacity ".concat(e.motionDurationSlow),"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:"all ".concat(e.motionDurationSlow),content:'""',pointerEvents:"none"}},["".concat(t,"-blur")]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},["".concat(t,"-dot-holder")]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:"transform ".concat(e.motionDurationSlow," ease, opacity ").concat(e.motionDurationSlow," ease"),transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},["".concat(t,"-dot-progress")]:{position:"absolute",top:"50%",transform:"translateY(-50%)",insetInlineStart:0},["".concat(t,"-dot")]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:b,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(t=>"".concat(t," ").concat(e.motionDurationSlow," ease")).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},["&-sm ".concat(t,"-dot")]:{"&, &-holder":{fontSize:e.dotSizeSM}},["&-sm ".concat(t,"-dot-holder")]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},["&-lg ".concat(t,"-dot")]:{"&, &-holder":{fontSize:e.dotSizeLG}},["&-lg ".concat(t,"-dot-holder")]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},["&".concat(t,"-show-text ").concat(t,"-text")]:{display:"block"}})}},S=e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}};var x=(0,g.I$)("Spin",e=>[w((0,v.IX)(e,{spinDotDefault:e.colorTextDescription}))],S);let E=200,C=[[30,.05],[70,.03],[96,.01]];function _(e,t){let[n,r]=o.useState(0),i=o.useRef(),a="auto"===t;return o.useEffect(()=>(a&&e&&(r(0),i.current=setInterval(()=>{r(e=>{let t=100-e;for(let n=0;n<C.length;n+=1){let[r,o]=C[n];if(e<=r)return e+t*o}return e})},E)),()=>{clearInterval(i.current)}),[a,e]),a?n:t}var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function O(e,t){return!!e&&!!t&&!isNaN(Number(t))}let A=e=>{let{prefixCls:t,spinning:n=!0,delay:i=0,className:c,rootClassName:u,size:d="default",tip:f,wrapperClassName:h,style:m,children:g,fullscreen:v=!1,indicator:y,percent:b}=e,w=k(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:S}=o.useContext(l.E_),E=S("spin",t),[C,A,I]=x(E),[P,T]=o.useState(()=>n&&!O(n,i)),R=_(P,b);o.useEffect(()=>{if(n){let e=(0,s.D)(i,()=>{T(!0)});return e(),()=>{var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}}T(!1)},[i,n]);let M=o.useMemo(()=>void 0!==g&&!v,[g,v]),{direction:N,spin:j}=o.useContext(l.E_),D=a()(E,null==j?void 0:j.className,{["".concat(E,"-sm")]:"small"===d,["".concat(E,"-lg")]:"large"===d,["".concat(E,"-spinning")]:P,["".concat(E,"-show-text")]:!!f,["".concat(E,"-rtl")]:"rtl"===N},c,!v&&u,A,I),L=a()("".concat(E,"-container"),{["".concat(E,"-blur")]:P}),B=Object.assign(Object.assign({},null==j?void 0:j.style),m),Z=o.createElement("div",Object.assign({},w,{style:B,className:D,"aria-live":"polite","aria-busy":P}),o.createElement(p,{prefixCls:E,indicator:null!=y?y:r,percent:R}),f&&(M||v)?o.createElement("div",{className:"".concat(E,"-text")},f):null);return C(M?o.createElement("div",Object.assign({},w,{className:a()("".concat(E,"-nested-loading"),h,A,I)}),P&&o.createElement("div",{key:"loading"},Z),o.createElement("div",{className:L,key:"container"},g)):v?o.createElement("div",{className:a()("".concat(E,"-fullscreen"),{["".concat(E,"-fullscreen-show")]:P},u,A,I)},Z):Z)};A.setDefaultIndicator=e=>{r=e};var I=A},22534:function(e,t,n){"use strict";function r(e,t,n){let{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map(e=>"&:".concat(e," ").concat(a)).join(",");return{["&-item:not(".concat(t,"-last-item)")]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{["&".concat(r)]:{zIndex:2}}:{}),{["&[disabled] ".concat(a)]:{zIndex:0}})}}function o(e,t,n){let{borderElCls:r}=n,o=r?"> ".concat(r):"";return{["&-item:not(".concat(t,"-first-item):not(").concat(t,"-last-item) ").concat(o)]:{borderRadius:0},["&-item:not(".concat(t,"-last-item)").concat(t,"-first-item")]:{["& ".concat(o,", &").concat(e,"-sm ").concat(o,", &").concat(e,"-lg ").concat(o)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&-item:not(".concat(t,"-first-item)").concat(t,"-last-item")]:{["& ".concat(o,", &").concat(e,"-sm ").concat(o,", &").concat(e,"-lg ").concat(o)]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:n}=e,i="".concat(n,"-compact");return{[i]:Object.assign(Object.assign({},r(e,i,t)),o(n,i,t))}}n.d(t,{c:function(){return i}})},61885:function(e,t,n){"use strict";n.d(t,{Lx:function(){return l},Qy:function(){return d},Ro:function(){return a},Wf:function(){return i},dF:function(){return s},du:function(){return c},oN:function(){return u},vS:function(){return o}});var r=n(82698);let o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:"color ".concat(e.motionDurationSlow),"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),c=(e,t,n,r)=>{let o='[class^="'.concat(t,'"], [class*=" ').concat(t,'"]'),i=n?".".concat(n):o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return!1!==r&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),a),{[o]:a})}},u=e=>({outline:"".concat((0,r.bf)(e.lineWidthFocus)," solid ").concat(e.colorPrimaryBorder),outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),d=e=>({"&:focus-visible":Object.assign({},u(e))})},33773:function(e,t){"use strict";let n=e=>({[e.componentCls]:{["".concat(e.antCls,"-motion-collapse-legacy")]:{overflow:"hidden","&-active":{transition:"height ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut,",\n        opacity ").concat(e.motionDurationMid," ").concat(e.motionEaseInOut," !important")}},["".concat(e.antCls,"-motion-collapse")]:{overflow:"hidden",transition:"height ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut,",\n        opacity ").concat(e.motionDurationMid," ").concat(e.motionEaseInOut," !important")}}});t.Z=n},82235:function(e,t,n){"use strict";n.d(t,{J$:function(){return s}});var r=n(82698),o=n(50432);let i=new r.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new r.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:n}=e,r="".concat(n,"-fade"),s=t?"&":"";return[(0,o.R)(r,i,a,e.motionDurationMid,t),{["\n        ".concat(s).concat(r,"-enter,\n        ").concat(s).concat(r,"-appear\n      ")]:{opacity:0,animationTimingFunction:"linear"},["".concat(s).concat(r,"-leave")]:{animationTimingFunction:"linear"}}]}},50432:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});let r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a?"&":"";return{["\n      ".concat(s).concat(e,"-enter,\n      ").concat(s).concat(e,"-appear\n    ")]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),["".concat(s).concat(e,"-leave")]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),["\n      ".concat(s).concat(e,"-enter").concat(e,"-enter-active,\n      ").concat(s).concat(e,"-appear").concat(e,"-appear-active\n    ")]:{animationName:t,animationPlayState:"running"},["".concat(s).concat(e,"-leave").concat(e,"-leave-active")]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},77728:function(e,t,n){"use strict";n.d(t,{Fm:function(){return f}});var r=n(82698),o=n(50432);let i=new r.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new r.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new r.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new r.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new r.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new r.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d={"move-up":{inKeyframes:new r.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new r.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:i,outKeyframes:a},"move-left":{inKeyframes:s,outKeyframes:l},"move-right":{inKeyframes:c,outKeyframes:u}},f=(e,t)=>{let{antCls:n}=e,r="".concat(n,"-").concat(t),{inKeyframes:i,outKeyframes:a}=d[t];return[(0,o.R)(r,i,a,e.motionDurationMid),{["\n        ".concat(r,"-enter,\n        ").concat(r,"-appear\n      ")]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},["".concat(r,"-leave")]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},55286:function(e,t,n){"use strict";n.d(t,{Qt:function(){return s},Uw:function(){return a},fJ:function(){return i},ly:function(){return l},oN:function(){return d}});var r=n(82698),o=n(50432);let i=new r.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new r.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=new r.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new r.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new r.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:s,outKeyframes:l},"slide-left":{inKeyframes:c,outKeyframes:new r.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}})},"slide-right":{inKeyframes:new r.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),outKeyframes:new r.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}})}},d=(e,t)=>{let{antCls:n}=e,r="".concat(n,"-").concat(t),{inKeyframes:i,outKeyframes:a}=u[t];return[(0,o.R)(r,i,a,e.motionDurationMid),{["\n      ".concat(r,"-enter,\n      ").concat(r,"-appear\n    ")]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},["".concat(r,"-leave")]:{animationTimingFunction:e.motionEaseInQuint}}]}},67267:function(e,t,n){"use strict";n.d(t,{_y:function(){return m},kr:function(){return i}});var r=n(82698),o=n(50432);let i=new r.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new r.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),s=new r.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),l=new r.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new r.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),d=new r.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),f=new r.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new r.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),h={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:s,outKeyframes:l},"zoom-big-fast":{inKeyframes:s,outKeyframes:l},"zoom-left":{inKeyframes:d,outKeyframes:f},"zoom-right":{inKeyframes:p,outKeyframes:new r.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:new r.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new r.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},m=(e,t)=>{let{antCls:n}=e,r="".concat(n,"-").concat(t),{inKeyframes:i,outKeyframes:a}=h[t];return[(0,o.R)(r,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{["\n        ".concat(r,"-enter,\n        ").concat(r,"-appear\n      ")]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},["".concat(r,"-leave")]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},21334:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});let r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:"color ".concat(e.motionDurationSlow),"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},18464:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s},qN:function(){return o},wZ:function(){return i}});var r=n(1958);let o=8;function i(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12,i=n?o:r;return{arrowOffsetHorizontal:r,arrowOffsetVertical:i}}function a(e,t){return e?t:{}}function s(e,t,n){let{componentCls:o,boxShadowPopoverArrow:i,arrowOffsetVertical:s,arrowOffsetHorizontal:l}=e,{arrowDistance:c=0,arrowPlacement:u={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[o]:Object.assign(Object.assign(Object.assign(Object.assign({["".concat(o,"-arrow")]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.W)(e,t,i)),{"&:before":{background:t}})]},a(!!u.top,{[["&-placement-top > ".concat(o,"-arrow"),"&-placement-topLeft > ".concat(o,"-arrow"),"&-placement-topRight > ".concat(o,"-arrow")].join(",")]:{bottom:c,transform:"translateY(100%) rotate(180deg)"},["&-placement-top > ".concat(o,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},["&-placement-topLeft > ".concat(o,"-arrow")]:{left:{_skip_check_:!0,value:l}},["&-placement-topRight > ".concat(o,"-arrow")]:{right:{_skip_check_:!0,value:l}}})),a(!!u.bottom,{[["&-placement-bottom > ".concat(o,"-arrow"),"&-placement-bottomLeft > ".concat(o,"-arrow"),"&-placement-bottomRight > ".concat(o,"-arrow")].join(",")]:{top:c,transform:"translateY(-100%)"},["&-placement-bottom > ".concat(o,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},["&-placement-bottomLeft > ".concat(o,"-arrow")]:{left:{_skip_check_:!0,value:l}},["&-placement-bottomRight > ".concat(o,"-arrow")]:{right:{_skip_check_:!0,value:l}}})),a(!!u.left,{[["&-placement-left > ".concat(o,"-arrow"),"&-placement-leftTop > ".concat(o,"-arrow"),"&-placement-leftBottom > ".concat(o,"-arrow")].join(",")]:{right:{_skip_check_:!0,value:c},transform:"translateX(100%) rotate(90deg)"},["&-placement-left > ".concat(o,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},["&-placement-leftTop > ".concat(o,"-arrow")]:{top:s},["&-placement-leftBottom > ".concat(o,"-arrow")]:{bottom:s}})),a(!!u.right,{[["&-placement-right > ".concat(o,"-arrow"),"&-placement-rightTop > ".concat(o,"-arrow"),"&-placement-rightBottom > ".concat(o,"-arrow")].join(",")]:{left:{_skip_check_:!0,value:c},transform:"translateX(-100%) rotate(-90deg)"},["&-placement-right > ".concat(o,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},["&-placement-rightTop > ".concat(o,"-arrow")]:{top:s},["&-placement-rightBottom > ".concat(o,"-arrow")]:{bottom:s}}))}}},1958:function(e,t,n){"use strict";n.d(t,{W:function(){return i},w:function(){return o}});var r=n(82698);function o(e){let{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=0,a=o,s=1*r/Math.sqrt(2),l=o-r*(1-1/Math.sqrt(2)),c=o-1/Math.sqrt(2)*n,u=r*(Math.sqrt(2)-1)+1/Math.sqrt(2)*n,d=2*o-c,f=u,p=2*o-s,h=l,m=2*o-0,g=a,v=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),y=r*(Math.sqrt(2)-1),b="polygon(".concat(y,"px 100%, 50% ").concat(y,"px, ").concat(2*o-y,"px 100%, ").concat(y,"px 100%)");return{arrowShadowWidth:v,arrowPath:"path('M ".concat(i," ").concat(a," A ").concat(r," ").concat(r," 0 0 0 ").concat(s," ").concat(l," L ").concat(c," ").concat(u," A ").concat(n," ").concat(n," 0 0 1 ").concat(d," ").concat(f," L ").concat(p," ").concat(h," A ").concat(r," ").concat(r," 0 0 0 ").concat(m," ").concat(g," Z')"),arrowPolygon:b}}let i=(e,t,n)=>{let{sizePopupArrow:o,arrowPolygon:i,arrowPath:a,arrowShadowWidth:s,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:c(o).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:s,height:s,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:"0 0 ".concat((0,r.bf)(l)," 0")},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}}},82578:function(e,t,n){"use strict";n.d(t,{Z:function(){return oH}});var r=n(44194),o={},i="rc-table-internal-hook",a=n(7732),s=n(61372),l=n(75232),c=n(21608),u=n(56321);function d(e){var t=r.createContext(void 0),n=function(e){var n=e.value,o=e.children,i=r.useRef(n);i.current=n;var s=r.useState(function(){return{getValue:function(){return i.current},listeners:new Set}}),c=(0,a.Z)(s,1)[0];return(0,l.Z)(function(){(0,u.unstable_batchedUpdates)(function(){c.listeners.forEach(function(e){e(n)})})},[n]),r.createElement(t.Provider,{value:c},o)};return{Context:t,Provider:n,defaultValue:e}}function f(e,t){var n=(0,s.Z)("function"==typeof t?t:function(e){if(void 0===t)return e;if(!Array.isArray(t))return e[t];var n={};return t.forEach(function(t){n[t]=e[t]}),n}),o=r.useContext(null==e?void 0:e.Context),i=o||{},u=i.listeners,d=i.getValue,f=r.useRef();f.current=n(o?d():null==e?void 0:e.defaultValue);var p=r.useState({}),h=(0,a.Z)(p,2)[1];return(0,l.Z)(function(){if(o)return u.add(e),function(){u.delete(e)};function e(e){var t=n(e);(0,c.Z)(f.current,t,!0)||h({})}},[o]),f.current}var p=n(27820),h=n(64198);function m(){var e=r.createContext(null);function t(){return r.useContext(e)}return{makeImmutable:function(n,o){var i=(0,h.Yr)(n),a=function(a,s){var l=i?{ref:s}:{},c=r.useRef(0),u=r.useRef(a);return null!==t()?r.createElement(n,(0,p.Z)({},a,l)):((!o||o(u.current,a))&&(c.current+=1),u.current=a,r.createElement(e.Provider,{value:c.current},r.createElement(n,(0,p.Z)({},a,l))))};return i?r.forwardRef(a):a},responseImmutable:function(e,n){var o=(0,h.Yr)(e),i=function(n,i){var a=o?{ref:i}:{};return t(),r.createElement(e,(0,p.Z)({},n,a))};return o?r.memo(r.forwardRef(i),n):r.memo(i,n)},useImmutableMark:t}}var g=m();g.makeImmutable,g.responseImmutable,g.useImmutableMark;var v=m(),y=v.makeImmutable,b=v.responseImmutable,w=v.useImmutableMark,S=d(),x=n(24335),E=n(33581),C=n(52986),_=n(51865),k=n.n(_),O=n(9188),A=n(94012),I=n(6103),P=r.createContext({renderWithProps:!1}),T="RC_TABLE_KEY";function R(e){return null==e?[]:Array.isArray(e)?e:[e]}function M(e){var t=[],n={};return e.forEach(function(e){for(var r=e||{},o=r.key,i=r.dataIndex,a=o||R(i).join("-")||T;n[a];)a="".concat(a,"_next");n[a]=!0,t.push(a)}),t}function N(e){return null!=e}function j(e){return e&&"object"===(0,x.Z)(e)&&!Array.isArray(e)&&!r.isValidElement(e)}function D(e,t,n,o,i,s){var l=r.useContext(P),u=w();return(0,O.Z)(function(){if(N(o))return[o];var r=null==t||""===t?[]:Array.isArray(t)?t:[t],a=(0,A.Z)(e,r),s=a,c=void 0;if(i){var u=i(a,e,n);j(u)?(s=u.children,c=u.props,l.renderWithProps=!0):s=u}return[s,c]},[u,e,o,t,i,n],function(e,t){if(s){var n=(0,a.Z)(e,2)[1];return s((0,a.Z)(t,2)[1],n)}return!!l.renderWithProps||!(0,c.Z)(e,t,!0)})}function L(e,t,n,r){var o=e+t-1;return e<=r&&o>=n}function B(e,t){return f(S,function(n){return[L(e,t||1,n.hoverStartRow,n.hoverEndRow),n.onHover]})}var Z=n(91324),F=function(e){var t,n=e.ellipsis,o=e.rowType,i=e.children,a=!0===n?{showTitle:!0}:n;return a&&(a.showTitle||"header"===o)&&("string"==typeof i||"number"==typeof i?t=i.toString():r.isValidElement(i)&&"string"==typeof i.props.children&&(t=i.props.children)),t};function z(e){var t,n,o,i,s,l,c,u,d=e.component,h=e.children,m=e.ellipsis,g=e.scope,v=e.prefixCls,y=e.className,b=e.align,w=e.record,_=e.render,O=e.dataIndex,A=e.renderIndex,I=e.shouldCellUpdate,P=e.index,T=e.rowType,R=e.colSpan,M=e.rowSpan,N=e.fixLeft,j=e.fixRight,L=e.firstFixLeft,z=e.lastFixLeft,U=e.firstFixRight,H=e.lastFixRight,q=e.appendNode,V=e.additionalProps,W=void 0===V?{}:V,$=e.isSticky,G="".concat(v,"-cell"),K=f(S,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Y=K.supportSticky,X=K.allColumnsFixedLeft,Q=K.rowHoverable,J=D(w,O,A,h,_,I),ee=(0,a.Z)(J,2),et=ee[0],en=ee[1],er={},eo="number"==typeof N&&Y,ei="number"==typeof j&&Y;eo&&(er.position="sticky",er.left=N),ei&&(er.position="sticky",er.right=j);var ea=null!==(t=null!==(n=null!==(o=null==en?void 0:en.colSpan)&&void 0!==o?o:W.colSpan)&&void 0!==n?n:R)&&void 0!==t?t:1,es=null!==(i=null!==(s=null!==(l=null==en?void 0:en.rowSpan)&&void 0!==l?l:W.rowSpan)&&void 0!==s?s:M)&&void 0!==i?i:1,el=B(P,es),ec=(0,a.Z)(el,2),eu=ec[0],ed=ec[1],ef=(0,Z.zX)(function(e){var t;w&&ed(P,P+es-1),null==W||null===(t=W.onMouseEnter)||void 0===t||t.call(W,e)}),ep=(0,Z.zX)(function(e){var t;w&&ed(-1,-1),null==W||null===(t=W.onMouseLeave)||void 0===t||t.call(W,e)});if(0===ea||0===es)return null;var eh=null!==(c=W.title)&&void 0!==c?c:F({rowType:T,ellipsis:m,children:et}),em=k()(G,y,(u={},(0,C.Z)(u,"".concat(G,"-fix-left"),eo&&Y),(0,C.Z)(u,"".concat(G,"-fix-left-first"),L&&Y),(0,C.Z)(u,"".concat(G,"-fix-left-last"),z&&Y),(0,C.Z)(u,"".concat(G,"-fix-left-all"),z&&X&&Y),(0,C.Z)(u,"".concat(G,"-fix-right"),ei&&Y),(0,C.Z)(u,"".concat(G,"-fix-right-first"),U&&Y),(0,C.Z)(u,"".concat(G,"-fix-right-last"),H&&Y),(0,C.Z)(u,"".concat(G,"-ellipsis"),m),(0,C.Z)(u,"".concat(G,"-with-append"),q),(0,C.Z)(u,"".concat(G,"-fix-sticky"),(eo||ei)&&$&&Y),(0,C.Z)(u,"".concat(G,"-row-hover"),!en&&eu),u),W.className,null==en?void 0:en.className),eg={};b&&(eg.textAlign=b);var ev=(0,E.Z)((0,E.Z)((0,E.Z)((0,E.Z)({},er),W.style),eg),null==en?void 0:en.style),ey=et;return"object"!==(0,x.Z)(ey)||Array.isArray(ey)||r.isValidElement(ey)||(ey=null),m&&(z||U)&&(ey=r.createElement("span",{className:"".concat(G,"-content")},ey)),r.createElement(d,(0,p.Z)({},en,W,{className:em,style:ev,title:eh,scope:g,onMouseEnter:Q?ef:void 0,onMouseLeave:Q?ep:void 0,colSpan:1!==ea?ea:null,rowSpan:1!==es?es:null}),q,ey)}var U=r.memo(z);function H(e,t,n,r,o){var i,a,s=n[e]||{},l=n[t]||{};"left"===s.fixed?i=r.left["rtl"===o?t:e]:"right"===l.fixed&&(a=r.right["rtl"===o?e:t]);var c=!1,u=!1,d=!1,f=!1,p=n[t+1],h=n[e-1],m=p&&!p.fixed||h&&!h.fixed||n.every(function(e){return"left"===e.fixed});return"rtl"===o?void 0!==i?f=!(h&&"left"===h.fixed)&&m:void 0!==a&&(d=!(p&&"right"===p.fixed)&&m):void 0!==i?c=!(p&&"left"===p.fixed)&&m:void 0!==a&&(u=!(h&&"right"===h.fixed)&&m),{fixLeft:i,fixRight:a,lastFixLeft:c,firstFixRight:u,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}var q=r.createContext({});function V(e){var t=e.className,n=e.index,o=e.children,i=e.colSpan,a=void 0===i?1:i,s=e.rowSpan,l=e.align,c=f(S,["prefixCls","direction"]),u=c.prefixCls,d=c.direction,h=r.useContext(q),m=h.scrollColumnIndex,g=h.stickyOffsets,v=h.flattenColumns,y=n+a-1+1===m?a+1:a,b=H(n,n+y-1,v,g,d);return r.createElement(U,(0,p.Z)({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:l,colSpan:y,rowSpan:s,render:function(){return o}},b))}var W=n(92486),$=["children"];function G(e){var t=e.children,n=(0,W.Z)(e,$);return r.createElement("tr",n,t)}function K(e){return e.children}K.Row=G,K.Cell=V;var Y=K,X=b(function(e){var t=e.children,n=e.stickyOffsets,o=e.flattenColumns,i=f(S,"prefixCls"),a=o.length-1,s=o[a],l=r.useMemo(function(){return{stickyOffsets:n,flattenColumns:o,scrollColumnIndex:null!=s&&s.scrollbar?a:null}},[s,o,a,n]);return r.createElement(q.Provider,{value:l},r.createElement("tfoot",{className:"".concat(i,"-summary")},t))}),Q=Y,J=n(60118),ee=n(36859),et=n(8514),en=n(35677),er=n(11875);function eo(e,t,n,r,o,i,a){e.push({record:t,indent:n,index:a});var s=i(t),l=null==o?void 0:o.has(s);if(t&&Array.isArray(t[r])&&l)for(var c=0;c<t[r].length;c+=1)eo(e,t[r][c],n+1,r,o,i,c)}function ei(e,t,n,o){return r.useMemo(function(){if(null!=n&&n.size){for(var r=[],i=0;i<(null==e?void 0:e.length);i+=1)eo(r,e[i],0,t,n,o,i);return r}return null==e?void 0:e.map(function(e,t){return{record:e,indent:0,index:t}})},[e,t,n,o])}function ea(e,t,n,r){var o,i=f(S,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),a=i.flattenColumns,s=i.expandableType,l=i.expandedKeys,c=i.childrenColumnName,u=i.onTriggerExpand,d=i.rowExpandable,p=i.onRow,h=i.expandRowByClick,m=i.rowClassName,g="nest"===s,v="row"===s&&(!d||d(e)),y=v||g,b=l&&l.has(t),w=c&&e&&e[c],x=(0,Z.zX)(u),C=null==p?void 0:p(e,n),_=null==C?void 0:C.onClick,O=function(t){h&&y&&u(e,t);for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null==_||_.apply(void 0,[t].concat(r))};"string"==typeof m?o=m:"function"==typeof m&&(o=m(e,n,r));var A=M(a);return(0,E.Z)((0,E.Z)({},i),{},{columnsKey:A,nestExpandable:g,expanded:b,hasNestChildren:w,record:e,onTriggerExpand:x,rowSupportExpand:v,expandable:y,rowProps:(0,E.Z)((0,E.Z)({},C),{},{className:k()(o,null==C?void 0:C.className),onClick:O})})}var es=function(e){var t=e.prefixCls,n=e.children,o=e.component,i=e.cellComponent,a=e.className,s=e.expanded,l=e.colSpan,c=e.isEmpty,u=f(S,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),d=u.scrollbarSize,p=u.fixHeader,h=u.fixColumn,m=u.componentWidth,g=u.horizonScroll,v=n;return(c?g&&m:h)&&(v=r.createElement("div",{style:{width:m-(p?d:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},v)),r.createElement(o,{className:a,style:{display:s?null:"none"}},r.createElement(U,{component:i,prefixCls:t,colSpan:l},v))};function el(e,t,n,o,i){var a,s,l=e.record,c=e.prefixCls,u=e.columnsKey,d=e.fixedInfoList,f=e.expandIconColumnIndex,p=e.nestExpandable,h=e.indentSize,m=e.expandIcon,g=e.expanded,v=e.hasNestChildren,y=e.onTriggerExpand,b=u[n],w=d[n];return n===(f||0)&&p&&(a=r.createElement(r.Fragment,null,r.createElement("span",{style:{paddingLeft:"".concat(h*o,"px")},className:"".concat(c,"-row-indent indent-level-").concat(o)}),m({prefixCls:c,expanded:g,expandable:v,record:l,onExpand:y}))),t.onCell&&(s=t.onCell(l,i)),{key:b,fixedInfo:w,appendCellNode:a,additionalCellProps:s||{}}}var ec=b(function(e){var t,n=e.className,o=e.style,i=e.record,a=e.index,s=e.renderIndex,l=e.rowKey,c=e.indent,u=void 0===c?0:c,d=e.rowComponent,f=e.cellComponent,h=e.scopeCellComponent,m=ea(i,l,a,u),g=m.prefixCls,v=m.flattenColumns,y=m.expandedRowClassName,b=m.expandedRowRender,w=m.rowProps,S=m.expanded,x=m.rowSupportExpand,C=r.useRef(!1);C.current||(C.current=S);var _=y&&y(i,a,u),O=r.createElement(d,(0,p.Z)({},w,{"data-row-key":l,className:k()(n,"".concat(g,"-row"),"".concat(g,"-row-level-").concat(u),null==w?void 0:w.className,u>=1?_:""),style:(0,E.Z)((0,E.Z)({},o),null==w?void 0:w.style)}),v.map(function(e,t){var n=e.render,o=e.dataIndex,l=e.className,c=el(m,e,t,u,a),d=c.key,v=c.fixedInfo,y=c.appendCellNode,b=c.additionalCellProps;return r.createElement(U,(0,p.Z)({className:l,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?h:f,prefixCls:g,key:d,record:i,index:a,renderIndex:s,dataIndex:o,render:n,shouldCellUpdate:e.shouldCellUpdate},v,{appendNode:y,additionalProps:b}))}));if(x&&(C.current||S)){var A=b(i,a,u+1,S);t=r.createElement(es,{expanded:S,className:k()("".concat(g,"-expanded-row"),"".concat(g,"-expanded-row-level-").concat(u+1),_),prefixCls:g,component:d,cellComponent:f,colSpan:v.length,isEmpty:!1},A)}return r.createElement(r.Fragment,null,O,t)});function eu(e){var t=e.columnKey,n=e.onColumnResize,o=r.useRef();return r.useEffect(function(){o.current&&n(t,o.current.offsetWidth)},[]),r.createElement(J.Z,{data:t},r.createElement("td",{ref:o,style:{padding:0,border:0,height:0}},r.createElement("div",{style:{height:0,overflow:"hidden"}},"\xa0")))}function ed(e){var t=e.prefixCls,n=e.columnsKey,o=e.onColumnResize;return r.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},r.createElement(J.Z.Collection,{onBatchResize:function(e){e.forEach(function(e){o(e.data,e.size.offsetWidth)})}},n.map(function(e){return r.createElement(eu,{key:e,columnKey:e,onColumnResize:o})})))}var ef=b(function(e){var t,n=e.data,o=e.measureColumnWidth,i=f(S,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=i.prefixCls,s=i.getComponent,l=i.onColumnResize,c=i.flattenColumns,u=i.getRowKey,d=i.expandedKeys,p=i.childrenColumnName,h=i.emptyNode,m=ei(n,p,d,u),g=r.useRef({renderWithProps:!1}),v=s(["body","wrapper"],"tbody"),y=s(["body","row"],"tr"),b=s(["body","cell"],"td"),w=s(["body","cell"],"th");t=n.length?m.map(function(e,t){var n=e.record,o=e.indent,i=e.index,a=u(n,t);return r.createElement(ec,{key:a,rowKey:a,record:n,index:t,renderIndex:i,rowComponent:y,cellComponent:b,scopeCellComponent:w,getRowKey:u,indent:o})}):r.createElement(es,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:y,cellComponent:b,colSpan:c.length,isEmpty:!0},h);var x=M(c);return r.createElement(P.Provider,{value:g.current},r.createElement(v,{className:"".concat(a,"-tbody")},o&&r.createElement(ed,{prefixCls:a,columnsKey:x,onColumnResize:l}),t))}),ep=["expandable"],eh="RC_TABLE_INTERNAL_COL_DEFINE";function em(e){var t,n=e.expandable,r=(0,W.Z)(e,ep);return!1===(t="expandable"in e?(0,E.Z)((0,E.Z)({},r),n):r).showExpandColumn&&(t.expandIconColumnIndex=-1),t}var eg=["columnType"],ev=function(e){for(var t=e.colWidths,n=e.columns,o=e.columCount,i=[],a=o||n.length,s=!1,l=a-1;l>=0;l-=1){var c=t[l],u=n&&n[l],d=u&&u[eh];if(c||d||s){var f=d||{},h=(f.columnType,(0,W.Z)(f,eg));i.unshift(r.createElement("col",(0,p.Z)({key:l,style:{width:c}},h))),s=!0}}return r.createElement("colgroup",null,i)},ey=n(70826),eb=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ew(e,t){return(0,r.useMemo)(function(){for(var n=[],r=0;r<t;r+=1){var o=e[r];if(void 0===o)return null;n[r]=o}return n},[e.join("_"),t])}var eS=r.forwardRef(function(e,t){var n=e.className,o=e.noData,i=e.columns,a=e.flattenColumns,s=e.colWidths,l=e.columCount,c=e.stickyOffsets,u=e.direction,d=e.fixHeader,p=e.stickyTopOffset,m=e.stickyBottomOffset,g=e.stickyClassName,v=e.onScroll,y=e.maxContentScroll,b=e.children,w=(0,W.Z)(e,eb),x=f(S,["prefixCls","scrollbarSize","isSticky","getComponent"]),_=x.prefixCls,O=x.scrollbarSize,A=x.isSticky,I=(0,x.getComponent)(["header","table"],"table"),P=A&&!d?0:O,T=r.useRef(null),R=r.useCallback(function(e){(0,h.mH)(t,e),(0,h.mH)(T,e)},[]);r.useEffect(function(){var e;function t(e){var t=e,n=t.currentTarget,r=t.deltaX;r&&(v({currentTarget:n,scrollLeft:n.scrollLeft+r}),e.preventDefault())}return null===(e=T.current)||void 0===e||e.addEventListener("wheel",t,{passive:!1}),function(){var e;null===(e=T.current)||void 0===e||e.removeEventListener("wheel",t)}},[]);var M=r.useMemo(function(){return a.every(function(e){return e.width})},[a]),N=a[a.length-1],j={fixed:N?N.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(_,"-cell-scrollbar")}}},D=(0,r.useMemo)(function(){return P?[].concat((0,ey.Z)(i),[j]):i},[P,i]),L=(0,r.useMemo)(function(){return P?[].concat((0,ey.Z)(a),[j]):a},[P,a]),B=(0,r.useMemo)(function(){var e=c.right,t=c.left;return(0,E.Z)((0,E.Z)({},c),{},{left:"rtl"===u?[].concat((0,ey.Z)(t.map(function(e){return e+P})),[0]):t,right:"rtl"===u?e:[].concat((0,ey.Z)(e.map(function(e){return e+P})),[0]),isSticky:A})},[P,c,A]),Z=ew(s,l);return r.createElement("div",{style:(0,E.Z)({overflow:"hidden"},A?{top:p,bottom:m}:{}),ref:R,className:k()(n,(0,C.Z)({},g,!!g))},r.createElement(I,{style:{tableLayout:"fixed",visibility:o||Z?null:"hidden"}},(!o||!y||M)&&r.createElement(ev,{colWidths:Z?[].concat((0,ey.Z)(Z),[P]):[],columCount:l+1,columns:L}),b((0,E.Z)((0,E.Z)({},w),{},{stickyOffsets:B,columns:D,flattenColumns:L}))))}),ex=r.memo(eS),eE=function(e){var t,n=e.cells,o=e.stickyOffsets,i=e.flattenColumns,a=e.rowComponent,s=e.cellComponent,l=e.onHeaderRow,c=e.index,u=f(S,["prefixCls","direction"]),d=u.prefixCls,h=u.direction;l&&(t=l(n.map(function(e){return e.column}),c));var m=M(n.map(function(e){return e.column}));return r.createElement(a,t,n.map(function(e,t){var n,a=e.column,l=H(e.colStart,e.colEnd,i,o,h);return a&&a.onHeaderCell&&(n=e.column.onHeaderCell(a)),r.createElement(U,(0,p.Z)({},e,{scope:a.title?e.colSpan>1?"colgroup":"col":null,ellipsis:a.ellipsis,align:a.align,component:s,prefixCls:d,key:m[t]},l,{additionalProps:n,rowType:"header"}))}))};function eC(e){var t=[];function n(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[o]=t[o]||[];var i=r;return e.filter(Boolean).map(function(e){var r={key:e.key,className:e.className||"",children:e.title,column:e,colStart:i},a=1,s=e.children;return s&&s.length>0&&(a=n(s,i,o+1).reduce(function(e,t){return e+t},0),r.hasSubColumns=!0),"colSpan"in e&&(a=e.colSpan),"rowSpan"in e&&(r.rowSpan=e.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[o].push(r),i+=a,a})}n(e,0);for(var r=t.length,o=function(e){t[e].forEach(function(t){("rowSpan"in t)||t.hasSubColumns||(t.rowSpan=r-e)})},i=0;i<r;i+=1)o(i);return t}var e_=b(function(e){var t=e.stickyOffsets,n=e.columns,o=e.flattenColumns,i=e.onHeaderRow,a=f(S,["prefixCls","getComponent"]),s=a.prefixCls,l=a.getComponent,c=r.useMemo(function(){return eC(n)},[n]),u=l(["header","wrapper"],"thead"),d=l(["header","row"],"tr"),p=l(["header","cell"],"th");return r.createElement(u,{className:"".concat(s,"-thead")},c.map(function(e,n){return r.createElement(eE,{key:n,flattenColumns:o,cells:e,stickyOffsets:t,rowComponent:d,cellComponent:p,onHeaderRow:i,index:n})}))}),ek=n(2196);function eO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}function eA(e,t,n){return r.useMemo(function(){if(t&&t>0){var r=0,o=0;e.forEach(function(e){var n=eO(t,e.width);n?r+=n:o+=1});var i=Math.max(t,n),a=Math.max(i-r,o),s=o,l=a/o,c=0,u=e.map(function(e){var n=(0,E.Z)({},e),r=eO(t,n.width);if(r)n.width=r;else{var o=Math.floor(l);n.width=1===s?a:o,a-=o,s-=1}return c+=n.width,n});if(c<i){var d=i/c;a=i,u.forEach(function(e,t){var n=Math.floor(e.width*d);e.width=t===u.length-1?a:n,a-=n})}return[u,Math.max(c,i)]}return[e,t]},[e,t,n])}var eI=["children"],eP=["fixed"];function eT(e){return(0,ek.Z)(e).filter(function(e){return r.isValidElement(e)}).map(function(e){var t=e.key,n=e.props,r=n.children,o=(0,W.Z)(n,eI),i=(0,E.Z)({key:t},o);return r&&(i.children=eT(r)),i})}function eR(e){return e.filter(function(e){return e&&"object"===(0,x.Z)(e)&&!e.hidden}).map(function(e){var t=e.children;return t&&t.length>0?(0,E.Z)((0,E.Z)({},e),{},{children:eR(t)}):e})}function eM(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter(function(e){return e&&"object"===(0,x.Z)(e)}).reduce(function(e,n,r){var o=n.fixed,i=!0===o?"left":o,a="".concat(t,"-").concat(r),s=n.children;return s&&s.length>0?[].concat((0,ey.Z)(e),(0,ey.Z)(eM(s,a).map(function(e){return(0,E.Z)({fixed:i},e)}))):[].concat((0,ey.Z)(e),[(0,E.Z)((0,E.Z)({key:a},n),{},{fixed:i})])},[])}function eN(e){return e.map(function(e){var t=e.fixed,n=(0,W.Z)(e,eP),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,E.Z)({fixed:r},n)})}var ej=function(e,t){var n=e.prefixCls,i=e.columns,s=e.children,l=e.expandable,c=e.expandedKeys,u=e.columnTitle,d=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,h=e.rowExpandable,m=e.expandIconColumnIndex,g=e.direction,v=e.expandRowByClick,y=e.columnWidth,b=e.fixed,w=e.scrollWidth,S=e.clientWidth,x=r.useMemo(function(){return eR((i||eT(s)||[]).slice())},[i,s]),E=r.useMemo(function(){if(l){var e,t,i=x.slice();if(!i.includes(o)){var a=m||0;a>=0&&i.splice(a,0,o)}var s=i.indexOf(o);i=i.filter(function(e,t){return e!==o||t===s});var g=x[s];t=("left"===b||b)&&!m?"left":("right"===b||b)&&m===x.length?"right":g?g.fixed:null;var w=(e={},(0,C.Z)(e,eh,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,C.Z)(e,"title",u),(0,C.Z)(e,"fixed",t),(0,C.Z)(e,"className","".concat(n,"-row-expand-icon-cell")),(0,C.Z)(e,"width",y),(0,C.Z)(e,"render",function(e,t,o){var i=d(t,o),a=p({prefixCls:n,expanded:c.has(i),expandable:!h||h(t),record:t,onExpand:f});return v?r.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return i.map(function(e){return e===o?w:e})}return x.filter(function(e){return e!==o})},[l,x,d,c,p,g]),_=r.useMemo(function(){var e=E;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e},[t,E,g]),k=r.useMemo(function(){return"rtl"===g?eN(eM(_)):eM(_)},[_,g,w]),O=r.useMemo(function(){for(var e=-1,t=k.length-1;t>=0;t-=1){var n=k[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var o=k[r].fixed;if("left"!==o&&!0!==o)return!0}var i=k.findIndex(function(e){return"right"===e.fixed});if(i>=0){for(var a=i;a<k.length;a+=1)if("right"!==k[a].fixed)return!0}return!1},[k]),A=eA(k,w,S),I=(0,a.Z)(A,2);return[_,I[0],I[1],O]};function eD(e){var t,n=e.prefixCls,o=e.record,i=e.onExpand,a=e.expanded,s=e.expandable,l="".concat(n,"-row-expand-icon");if(!s)return r.createElement("span",{className:k()(l,"".concat(n,"-row-spaced"))});var c=function(e){i(o,e),e.stopPropagation()};return r.createElement("span",{className:k()(l,(t={},(0,C.Z)(t,"".concat(n,"-row-expanded"),a),(0,C.Z)(t,"".concat(n,"-row-collapsed"),!a),t)),onClick:c})}function eL(e,t,n){var r=[];function o(e){(e||[]).forEach(function(e,i){r.push(t(e,i)),o(e[n])})}return o(e),r}function eB(e,t,n){var o=em(e),s=o.expandIcon,l=o.expandedRowKeys,c=o.defaultExpandedRowKeys,u=o.defaultExpandAllRows,d=o.expandedRowRender,f=o.onExpand,p=o.onExpandedRowsChange,h=o.childrenColumnName,m=s||eD,g=h||"children",v=r.useMemo(function(){return d?"row":!!(e.expandable&&e.internalHooks===i&&e.expandable.__PARENT_RENDER_ICON__||t.some(function(e){return e&&"object"===(0,x.Z)(e)&&e[g]}))&&"nest"},[!!d,t]),y=r.useState(function(){return c||(u?eL(t,n,g):[])}),b=(0,a.Z)(y,2),w=b[0],S=b[1],E=r.useMemo(function(){return new Set(l||w||[])},[l,w]),C=r.useCallback(function(e){var r,o=n(e,t.indexOf(e)),i=E.has(o);i?(E.delete(o),r=(0,ey.Z)(E)):r=[].concat((0,ey.Z)(E),[o]),S(r),f&&f(!i,e),p&&p(r)},[n,E,t,f,p]);return[o,v,E,m,g,C]}function eZ(e,t,n){var r=e.map(function(r,o){return H(o,o,e,t,n)});return(0,O.Z)(function(){return r},[r],function(e,t){return!(0,c.Z)(e,t)})}function eF(e){var t=(0,r.useRef)(e),n=(0,r.useState)({}),o=(0,a.Z)(n,2)[1],i=(0,r.useRef)(null),s=(0,r.useRef)([]);function l(e){s.current.push(e);var n=Promise.resolve();i.current=n,n.then(function(){if(i.current===n){var e=s.current,r=t.current;s.current=[],e.forEach(function(e){t.current=e(t.current)}),i.current=null,r!==t.current&&o({})}})}return(0,r.useEffect)(function(){return function(){i.current=null}},[]),[t.current,l]}function ez(e){var t=(0,r.useRef)(e||null),n=(0,r.useRef)();function o(){window.clearTimeout(n.current)}function i(e){t.current=e,o(),n.current=window.setTimeout(function(){t.current=null,n.current=void 0},100)}function a(){return t.current}return(0,r.useEffect)(function(){return o},[]),[i,a]}function eU(){var e=r.useState(-1),t=(0,a.Z)(e,2),n=t[0],o=t[1],i=r.useState(-1),s=(0,a.Z)(i,2),l=s[0],c=s[1];return[n,l,r.useCallback(function(e,t){o(e),c(t)},[])]}var eH=(0,n(17680).Z)()?window:null;function eq(e,t){var n="object"===(0,x.Z)(e)?e:{},o=n.offsetHeader,i=void 0===o?0:o,a=n.offsetSummary,s=void 0===a?0:a,l=n.offsetScroll,c=void 0===l?0:l,u=n.getContainer,d=(void 0===u?function(){return eH}:u)()||eH;return r.useMemo(function(){var n=!!e;return{isSticky:n,stickyClassName:n?"".concat(t,"-sticky-holder"):"",offsetHeader:i,offsetSummary:s,offsetScroll:c,container:d}},[c,i,s,t,d])}var eV=function(e,t,n){return(0,r.useMemo)(function(){var r=t.length,o=function(n,r,o){for(var i=[],a=0,s=n;s!==r;s+=o)i.push(a),t[s].fixed&&(a+=e[s]||0);return i},i=o(0,r,1),a=o(r-1,-1,-1).reverse();return"rtl"===n?{left:a,right:i}:{left:i,right:a}},[e,t,n])},eW=function(e){var t=e.className,n=e.children;return r.createElement("div",{className:t},n)};function e$(e,t,n,r){var o=u.unstable_batchedUpdates?function(e){u.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,r)}}}function eG(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var eK=n(30716),eY=function(e,t){var n,o,i=e.scrollBodyRef,s=e.onScroll,l=e.offsetScroll,c=e.container,u=f(S,"prefixCls"),d=(null===(n=i.current)||void 0===n?void 0:n.scrollWidth)||0,p=(null===(o=i.current)||void 0===o?void 0:o.clientWidth)||0,h=d&&p/d*p,m=r.useRef(),g=eF({scrollLeft:0,isHiddenScrollBar:!1}),v=(0,a.Z)(g,2),y=v[0],b=v[1],w=r.useRef({delta:0,x:0}),x=r.useState(!1),_=(0,a.Z)(x,2),O=_[0],A=_[1],I=r.useRef(null);r.useEffect(function(){return function(){eK.Z.cancel(I.current)}},[]);var P=function(){A(!1)},T=function(e){e.persist(),w.current.delta=e.pageX-y.scrollLeft,w.current.x=0,A(!0),e.preventDefault()},R=function(e){var t,n=(e||(null===(t=window)||void 0===t?void 0:t.event)).buttons;if(!O||0===n){O&&A(!1);return}var r=w.current.x+e.pageX-w.current.x-w.current.delta;r<=0&&(r=0),r+h>=p&&(r=p-h),s({scrollLeft:r/p*(d+2)}),w.current.x=e.pageX},M=function(){I.current=(0,eK.Z)(function(){if(i.current){var e=eG(i.current).top,t=e+i.current.offsetHeight,n=c===window?document.documentElement.scrollTop+window.innerHeight:eG(c).top+c.clientHeight;t-(0,en.Z)()<=n||e>=n-l?b(function(e){return(0,E.Z)((0,E.Z)({},e),{},{isHiddenScrollBar:!0})}):b(function(e){return(0,E.Z)((0,E.Z)({},e),{},{isHiddenScrollBar:!1})})}})},N=function(e){b(function(t){return(0,E.Z)((0,E.Z)({},t),{},{scrollLeft:e/d*p||0})})};return(r.useImperativeHandle(t,function(){return{setScrollLeft:N,checkScrollBarVisible:M}}),r.useEffect(function(){var e=e$(document.body,"mouseup",P,!1),t=e$(document.body,"mousemove",R,!1);return M(),function(){e.remove(),t.remove()}},[h,O]),r.useEffect(function(){var e=e$(c,"scroll",M,!1),t=e$(window,"resize",M,!1);return function(){e.remove(),t.remove()}},[c]),r.useEffect(function(){y.isHiddenScrollBar||b(function(e){var t=i.current;return t?(0,E.Z)((0,E.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e})},[y.isHiddenScrollBar]),d<=p||!h||y.isHiddenScrollBar)?null:r.createElement("div",{style:{height:(0,en.Z)(),width:p,bottom:l},className:"".concat(u,"-sticky-scroll")},r.createElement("div",{onMouseDown:T,ref:m,className:k()("".concat(u,"-sticky-scroll-bar"),(0,C.Z)({},"".concat(u,"-sticky-scroll-bar-active"),O)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(y.scrollLeft,"px, 0, 0)")}}))},eX=r.forwardRef(eY),eQ=function(e){return null},eJ=function(e){return null},e0="rc-table",e1=[],e2={};function e3(){return"No Data"}function e4(e,t){var n=(0,E.Z)({rowKey:"key",prefixCls:e0,emptyText:e3},e),o=n.prefixCls,l=n.className,c=n.rowClassName,u=n.style,d=n.data,f=n.rowKey,h=n.scroll,m=n.tableLayout,g=n.direction,v=n.title,y=n.footer,b=n.summary,w=n.caption,x=n.id,_=n.showHeader,O=n.components,I=n.emptyText,P=n.onRow,T=n.onHeaderRow,R=n.onScroll,j=n.internalHooks,D=n.transformColumns,L=n.internalRefs,B=n.tailor,Z=n.getContainerWidth,F=n.sticky,z=n.rowHoverable,U=void 0===z||z,H=d||e1,q=!!H.length,V=j===i,W=r.useCallback(function(e,t){return(0,A.Z)(O,e)||t},[O]),$=r.useMemo(function(){return"function"==typeof f?f:function(e){return e&&e[f]}},[f]),G=W(["body"]),K=eU(),Q=(0,a.Z)(K,3),eo=Q[0],ei=Q[1],ea=Q[2],es=eB(n,H,$),el=(0,a.Z)(es,6),ec=el[0],eu=el[1],ed=el[2],ep=el[3],eh=el[4],em=el[5],eg=null==h?void 0:h.x,ey=r.useState(0),eb=(0,a.Z)(ey,2),ew=eb[0],eS=eb[1],eE=ej((0,E.Z)((0,E.Z)((0,E.Z)({},n),ec),{},{expandable:!!ec.expandedRowRender,columnTitle:ec.columnTitle,expandedKeys:ed,getRowKey:$,onTriggerExpand:em,expandIcon:ep,expandIconColumnIndex:ec.expandIconColumnIndex,direction:g,scrollWidth:V&&B&&"number"==typeof eg?eg:null,clientWidth:ew}),V?D:null),eC=(0,a.Z)(eE,4),ek=eC[0],eO=eC[1],eA=eC[2],eI=eC[3],eP=null!=eA?eA:eg,eT=r.useMemo(function(){return{columns:ek,flattenColumns:eO}},[ek,eO]),eR=r.useRef(),eM=r.useRef(),eN=r.useRef(),eD=r.useRef();r.useImperativeHandle(t,function(){return{nativeElement:eR.current,scrollTo:function(e){var t;if(eN.current instanceof HTMLElement){var n=e.index,r=e.top,o=e.key;if(r)null===(i=eN.current)||void 0===i||i.scrollTo({top:r});else{var i,a,s=null!=o?o:$(H[n]);null===(a=eN.current.querySelector('[data-row-key="'.concat(s,'"]')))||void 0===a||a.scrollIntoView()}}else null!==(t=eN.current)&&void 0!==t&&t.scrollTo&&eN.current.scrollTo(e)}}});var eL=r.useRef(),eH=r.useState(!1),e$=(0,a.Z)(eH,2),eG=e$[0],eK=e$[1],eY=r.useState(!1),eQ=(0,a.Z)(eY,2),eJ=eQ[0],e4=eQ[1],e5=eF(new Map),e6=(0,a.Z)(e5,2),e8=e6[0],e7=e6[1],e9=M(eO).map(function(e){return e8.get(e)}),te=r.useMemo(function(){return e9},[e9.join("_")]),tt=eV(te,eO,g),tn=h&&N(h.y),tr=h&&N(eP)||!!ec.fixed,to=tr&&eO.some(function(e){return e.fixed}),ti=r.useRef(),ta=eq(F,o),ts=ta.isSticky,tl=ta.offsetHeader,tc=ta.offsetSummary,tu=ta.offsetScroll,td=ta.stickyClassName,tf=ta.container,tp=r.useMemo(function(){return null==b?void 0:b(H)},[b,H]),th=(tn||ts)&&r.isValidElement(tp)&&tp.type===Y&&tp.props.fixed;tn&&(t$={overflowY:"scroll",maxHeight:h.y}),tr&&(tW={overflowX:"auto"},tn||(t$={overflowY:"hidden"}),tG={width:!0===eP?"auto":eP,minWidth:"100%"});var tm=r.useCallback(function(e,t){(0,ee.Z)(eR.current)&&e7(function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n})},[]),tg=ez(null),tv=(0,a.Z)(tg,2),ty=tv[0],tb=tv[1];function tw(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(function(){t.scrollLeft=e},0)))}var tS=(0,s.Z)(function(e){var t,n=e.currentTarget,r=e.scrollLeft,o="rtl"===g,i="number"==typeof r?r:n.scrollLeft,a=n||e2;tb()&&tb()!==a||(ty(a),tw(i,eM.current),tw(i,eN.current),tw(i,eL.current),tw(i,null===(t=ti.current)||void 0===t?void 0:t.setScrollLeft));var s=n||eM.current;if(s){var l=s.scrollWidth,c=s.clientWidth;if(l===c){eK(!1),e4(!1);return}o?(eK(-i<l-c),e4(-i>0)):(eK(i>0),e4(i<l-c))}}),tx=(0,s.Z)(function(e){tS(e),null==R||R(e)}),tE=function(){tr&&eN.current?tS({currentTarget:eN.current}):(eK(!1),e4(!1))},tC=function(e){var t,n=e.width;null===(t=ti.current)||void 0===t||t.checkScrollBarVisible();var r=eR.current?eR.current.offsetWidth:n;V&&Z&&eR.current&&(r=Z(eR.current,r)||r),r!==ew&&(tE(),eS(r))},t_=r.useRef(!1);r.useEffect(function(){t_.current&&tE()},[tr,d,ek.length]),r.useEffect(function(){t_.current=!0},[]);var tk=r.useState(0),tO=(0,a.Z)(tk,2),tA=tO[0],tI=tO[1],tP=r.useState(!0),tT=(0,a.Z)(tP,2),tR=tT[0],tM=tT[1];r.useEffect(function(){B&&V||(eN.current instanceof Element?tI((0,en.o)(eN.current).width):tI((0,en.o)(eD.current).width)),tM((0,et.G)("position","sticky"))},[]),r.useEffect(function(){V&&L&&(L.body.current=eN.current)});var tN=r.useCallback(function(e){return r.createElement(r.Fragment,null,r.createElement(e_,e),"top"===th&&r.createElement(X,e,tp))},[th,tp]),tj=r.useCallback(function(e){return r.createElement(X,e,tp)},[tp]),tD=W(["table"],"table"),tL=r.useMemo(function(){return m||(to?"max-content"===eP?"auto":"fixed":tn||ts||eO.some(function(e){return e.ellipsis})?"fixed":"auto")},[tn,to,eO,m,ts]),tB={colWidths:te,columCount:eO.length,stickyOffsets:tt,onHeaderRow:T,fixHeader:tn,scroll:h},tZ=r.useMemo(function(){return q?null:"function"==typeof I?I():I},[q,I]),tF=r.createElement(ef,{data:H,measureColumnWidth:tn||tr||ts}),tz=r.createElement(ev,{colWidths:eO.map(function(e){return e.width}),columns:eO}),tU=null!=w?r.createElement("caption",{className:"".concat(o,"-caption")},w):void 0,tH=(0,er.Z)(n,{data:!0}),tq=(0,er.Z)(n,{aria:!0});if(tn||ts){"function"==typeof G?(tY=G(H,{scrollbarSize:tA,ref:eN,onScroll:tS}),tB.colWidths=eO.map(function(e,t){var n=e.width,r=t===eO.length-1?n-tA:n;return"number"!=typeof r||Number.isNaN(r)?0:r})):tY=r.createElement("div",{style:(0,E.Z)((0,E.Z)({},tW),t$),onScroll:tx,ref:eN,className:k()("".concat(o,"-body"))},r.createElement(tD,(0,p.Z)({style:(0,E.Z)((0,E.Z)({},tG),{},{tableLayout:tL})},tq),tU,tz,tF,!th&&tp&&r.createElement(X,{stickyOffsets:tt,flattenColumns:eO},tp)));var tV,tW,t$,tG,tK,tY,tX=(0,E.Z)((0,E.Z)((0,E.Z)({noData:!H.length,maxContentScroll:tr&&"max-content"===eP},tB),eT),{},{direction:g,stickyClassName:td,onScroll:tS});tK=r.createElement(r.Fragment,null,!1!==_&&r.createElement(ex,(0,p.Z)({},tX,{stickyTopOffset:tl,className:"".concat(o,"-header"),ref:eM}),tN),tY,th&&"top"!==th&&r.createElement(ex,(0,p.Z)({},tX,{stickyBottomOffset:tc,className:"".concat(o,"-summary"),ref:eL}),tj),ts&&eN.current&&eN.current instanceof Element&&r.createElement(eX,{ref:ti,offsetScroll:tu,scrollBodyRef:eN,onScroll:tS,container:tf}))}else tK=r.createElement("div",{style:(0,E.Z)((0,E.Z)({},tW),t$),className:k()("".concat(o,"-content")),onScroll:tS,ref:eN},r.createElement(tD,(0,p.Z)({style:(0,E.Z)((0,E.Z)({},tG),{},{tableLayout:tL})},tq),tU,tz,!1!==_&&r.createElement(e_,(0,p.Z)({},tB,eT)),tF,tp&&r.createElement(X,{stickyOffsets:tt,flattenColumns:eO},tp)));var tQ=r.createElement("div",(0,p.Z)({className:k()(o,l,(tV={},(0,C.Z)(tV,"".concat(o,"-rtl"),"rtl"===g),(0,C.Z)(tV,"".concat(o,"-ping-left"),eG),(0,C.Z)(tV,"".concat(o,"-ping-right"),eJ),(0,C.Z)(tV,"".concat(o,"-layout-fixed"),"fixed"===m),(0,C.Z)(tV,"".concat(o,"-fixed-header"),tn),(0,C.Z)(tV,"".concat(o,"-fixed-column"),to),(0,C.Z)(tV,"".concat(o,"-fixed-column-gapped"),to&&eI),(0,C.Z)(tV,"".concat(o,"-scroll-horizontal"),tr),(0,C.Z)(tV,"".concat(o,"-has-fix-left"),eO[0]&&eO[0].fixed),(0,C.Z)(tV,"".concat(o,"-has-fix-right"),eO[eO.length-1]&&"right"===eO[eO.length-1].fixed),tV)),style:u,id:x,ref:eR},tH),v&&r.createElement(eW,{className:"".concat(o,"-title")},v(H)),r.createElement("div",{ref:eD,className:"".concat(o,"-container")},tK),y&&r.createElement(eW,{className:"".concat(o,"-footer")},y(H)));tr&&(tQ=r.createElement(J.Z,{onResize:tC},tQ));var tJ=eZ(eO,tt,g),t0=r.useMemo(function(){return{scrollX:eP,prefixCls:o,getComponent:W,scrollbarSize:tA,direction:g,fixedInfoList:tJ,isSticky:ts,supportSticky:tR,componentWidth:ew,fixHeader:tn,fixColumn:to,horizonScroll:tr,tableLayout:tL,rowClassName:c,expandedRowClassName:ec.expandedRowClassName,expandIcon:ep,expandableType:eu,expandRowByClick:ec.expandRowByClick,expandedRowRender:ec.expandedRowRender,onTriggerExpand:em,expandIconColumnIndex:ec.expandIconColumnIndex,indentSize:ec.indentSize,allColumnsFixedLeft:eO.every(function(e){return"left"===e.fixed}),emptyNode:tZ,columns:ek,flattenColumns:eO,onColumnResize:tm,hoverStartRow:eo,hoverEndRow:ei,onHover:ea,rowExpandable:ec.rowExpandable,onRow:P,getRowKey:$,expandedKeys:ed,childrenColumnName:eh,rowHoverable:U}},[eP,o,W,tA,g,tJ,ts,tR,ew,tn,to,tr,tL,c,ec.expandedRowClassName,ep,eu,ec.expandRowByClick,ec.expandedRowRender,em,ec.expandIconColumnIndex,ec.indentSize,tZ,ek,eO,tm,eo,ei,ea,ec.rowExpandable,P,$,ed,eh,U]);return r.createElement(S.Provider,{value:t0},tQ)}var e5=r.forwardRef(e4);function e6(e){return y(e5,e)}var e8=e6();e8.EXPAND_COLUMN=o,e8.INTERNAL_HOOKS=i,e8.Column=eQ,e8.ColumnGroup=eJ,e8.Summary=Q;var e7=e8,e9=n(28881),te=d(null),tt=d(null);function tn(e,t,n){return n[e+(t||1)]-(n[e]||0)}var tr=function(e){var t=e.rowInfo,n=e.column,o=e.colIndex,i=e.indent,a=e.index,s=e.component,l=e.renderIndex,c=e.record,u=e.style,d=e.className,h=e.inverse,m=e.getHeight,g=n.render,v=n.dataIndex,y=n.className,b=n.width,w=f(tt,["columnsOffset"]).columnsOffset,S=el(t,n,o,i,a),x=S.key,C=S.fixedInfo,_=S.appendCellNode,O=S.additionalCellProps,A=O.style,I=O.colSpan,P=void 0===I?1:I,T=O.rowSpan,R=void 0===T?1:T,M=tn(o-1,P,w),N=P>1?b-M:0,j=(0,E.Z)((0,E.Z)((0,E.Z)({},A),u),{},{flex:"0 0 ".concat(M,"px"),width:"".concat(M,"px"),marginRight:N,pointerEvents:"auto"}),D=r.useMemo(function(){return h?R<=1:0===P||0===R||R>1},[R,P,h]);D?j.visibility="hidden":h&&(j.height=null==m?void 0:m(R));var L=D?function(){return null}:g,B={};return(0===R||0===P)&&(B.rowSpan=1,B.colSpan=1),r.createElement(U,(0,p.Z)({className:k()(y,d),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:s,prefixCls:t.prefixCls,key:x,record:c,index:a,renderIndex:l,dataIndex:v,render:L,shouldCellUpdate:n.shouldCellUpdate},C,{appendNode:_,additionalProps:(0,E.Z)((0,E.Z)({},O),{},{style:j},B)}))},to=["data","index","className","rowKey","style","extra","getHeight"],ti=b(r.forwardRef(function(e,t){var n,o=e.data,i=e.index,a=e.className,s=e.rowKey,l=e.style,c=e.extra,u=e.getHeight,d=(0,W.Z)(e,to),h=o.record,m=o.indent,g=o.index,v=f(S,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),y=v.scrollX,b=v.flattenColumns,w=v.prefixCls,x=v.fixColumn,_=v.componentWidth,O=f(te,["getComponent"]).getComponent,A=ea(h,s,i,m),I=O(["body","row"],"div"),P=O(["body","cell"],"div"),T=A.rowSupportExpand,R=A.expanded,M=A.rowProps,N=A.expandedRowRender,j=A.expandedRowClassName;if(T&&R){var D=N(h,i,m+1,R),L=null==j?void 0:j(h,i,m),B={};x&&(B={style:(0,C.Z)({},"--virtual-width","".concat(_,"px"))});var Z="".concat(w,"-expanded-row-cell");n=r.createElement(I,{className:k()("".concat(w,"-expanded-row"),"".concat(w,"-expanded-row-level-").concat(m+1),L)},r.createElement(U,{component:P,prefixCls:w,className:k()(Z,(0,C.Z)({},"".concat(Z,"-fixed"),x)),additionalProps:B},D))}var F=(0,E.Z)((0,E.Z)({},l),{},{width:y});c&&(F.position="absolute",F.pointerEvents="none");var z=r.createElement(I,(0,p.Z)({},M,d,{"data-row-key":s,ref:T?null:t,className:k()(a,"".concat(w,"-row"),null==M?void 0:M.className,(0,C.Z)({},"".concat(w,"-row-extra"),c)),style:(0,E.Z)((0,E.Z)({},F),null==M?void 0:M.style)}),b.map(function(e,t){return r.createElement(tr,{key:t,component:P,rowInfo:A,column:e,colIndex:t,indent:m,index:i,renderIndex:g,record:h,inverse:c,getHeight:u})}));return T?r.createElement("div",{ref:t},z,n):z})),ta=b(r.forwardRef(function(e,t){var n,o=e.data,i=e.onScroll,s=f(S,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),l=s.flattenColumns,c=s.onColumnResize,u=s.getRowKey,d=s.expandedKeys,p=s.prefixCls,h=s.childrenColumnName,m=s.emptyNode,g=s.scrollX,v=f(te),y=v.sticky,b=v.scrollY,w=v.listItemHeight,E=v.getComponent,C=v.onScroll,_=r.useRef(),O=ei(o,h,d,u),A=r.useMemo(function(){var e=0;return l.map(function(t){var n=t.width,r=t.key;return e+=n,[r,n,e]})},[l]),I=r.useMemo(function(){return A.map(function(e){return e[2]})},[A]);r.useEffect(function(){A.forEach(function(e){var t=(0,a.Z)(e,2);c(t[0],t[1])})},[A]),r.useImperativeHandle(t,function(){var e={scrollTo:function(e){var t;null===(t=_.current)||void 0===t||t.scrollTo(e)}};return Object.defineProperty(e,"scrollLeft",{get:function(){var e;return(null===(e=_.current)||void 0===e?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null===(t=_.current)||void 0===t||t.scrollTo({left:e})}}),e});var P=function(e,t){var n=null===(o=O[t])||void 0===o?void 0:o.record,r=e.onCell;if(r){var o,i,a=r(n,t);return null!==(i=null==a?void 0:a.rowSpan)&&void 0!==i?i:1}return 1},T=function(e){var t=e.start,n=e.end,o=e.getSize,i=e.offsetY;if(n<0)return null;for(var a=l.filter(function(e){return 0===P(e,t)}),s=t,c=function(e){if(!(a=a.filter(function(t){return 0===P(t,e)})).length)return s=e,1},d=t;d>=0&&!c(d);d-=1);for(var f=l.filter(function(e){return 1!==P(e,n)}),p=n,h=function(e){if(!(f=f.filter(function(t){return 1!==P(t,e)})).length)return p=Math.max(e-1,n),1},m=n;m<O.length&&!h(m);m+=1);for(var g=[],v=function(e){if(!O[e])return 1;l.some(function(t){return P(t,e)>1})&&g.push(e)},y=s;y<=p;y+=1)if(v(y))continue;return g.map(function(e){var t=O[e],n=u(t.record,e),a=function(t){var r=e+t-1,i=o(n,u(O[r].record,r));return i.bottom-i.top},s=o(n);return r.createElement(ti,{key:e,data:t,rowKey:n,index:e,style:{top:-i+s.top},extra:!0,getHeight:a})})},R=r.useMemo(function(){return{columnsOffset:I}},[I]),M="".concat(p,"-tbody"),N=E(["body","wrapper"]),j=E(["body","row"],"div"),D=E(["body","cell"],"div");if(O.length){var L={};y&&(L.position="sticky",L.bottom=0,"object"===(0,x.Z)(y)&&y.offsetScroll&&(L.bottom=y.offsetScroll)),n=r.createElement(e9.Z,{fullHeight:!1,ref:_,prefixCls:"".concat(M,"-virtual"),styles:{horizontalScrollBar:L},className:M,height:b,itemHeight:w||24,data:O,itemKey:function(e){return u(e.record)},component:N,scrollWidth:g,onVirtualScroll:function(e){i({scrollLeft:e.x})},onScroll:C,extraRender:T},function(e,t,n){var o=u(e.record,t);return r.createElement(ti,{data:e,rowKey:o,index:t,style:n.style})})}else n=r.createElement(j,{className:k()("".concat(p,"-placeholder"))},r.createElement(U,{component:D,prefixCls:p},m));return r.createElement(tt.Provider,{value:R},n)})),ts=function(e,t){var n=t.ref,o=t.onScroll;return r.createElement(ta,{ref:n,data:e,onScroll:o})};function tl(e,t){var n=e.columns,o=e.scroll,a=e.sticky,s=e.prefixCls,l=void 0===s?e0:s,c=e.className,u=e.listItemHeight,d=e.components,f=e.onScroll,h=o||{},m=h.x,g=h.y;"number"!=typeof m&&(m=1),"number"!=typeof g&&(g=500);var v=(0,Z.zX)(function(e,t){return(0,A.Z)(d,e)||t}),y=(0,Z.zX)(f),b=r.useMemo(function(){return{sticky:a,scrollY:g,listItemHeight:u,getComponent:v,onScroll:y}},[a,g,u,v,y]);return r.createElement(te.Provider,{value:b},r.createElement(e7,(0,p.Z)({},e,{className:k()(c,"".concat(l,"-virtual")),scroll:(0,E.Z)((0,E.Z)({},o),{},{x:m}),components:(0,E.Z)((0,E.Z)({},d),{},{body:ts}),columns:n,internalHooks:i,tailor:!0,ref:t})))}var tc=r.forwardRef(tl);function tu(e){return y(tc,e)}tu();var td=function(e){return null},tf=function(e){return null},tp=n(4999),th=n(10342),tm=n(77009),tg=n(45534),tv=n(81065),ty=n(17615),tb=r.createContext(null),tw=function(e){for(var t=e.prefixCls,n=e.level,o=e.isStart,i=e.isEnd,a="".concat(t,"-indent-unit"),s=[],l=0;l<n;l+=1)s.push(r.createElement("span",{key:l,className:k()(a,(0,C.Z)((0,C.Z)({},"".concat(a,"-start"),o[l]),"".concat(a,"-end"),i[l]))}));return r.createElement("span",{"aria-hidden":"true",className:"".concat(t,"-indent")},s)},tS=r.memo(tw),tx=n(1195),tE=n(44781),tC=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],t_="open",tk="close",tO="---",tA=function(e){(0,tv.Z)(n,e);var t=(0,ty.Z)(n);function n(){var e;(0,th.Z)(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,C.Z)((0,tg.Z)(e),"state",{dragNodeHighlight:!1}),(0,C.Z)((0,tg.Z)(e),"selectHandle",void 0),(0,C.Z)((0,tg.Z)(e),"cacheIndent",void 0),(0,C.Z)((0,tg.Z)(e),"onSelectorClick",function(t){(0,e.props.context.onNodeClick)(t,(0,tE.F)(e.props)),e.isSelectable()?e.onSelect(t):e.onCheck(t)}),(0,C.Z)((0,tg.Z)(e),"onSelectorDoubleClick",function(t){(0,e.props.context.onNodeDoubleClick)(t,(0,tE.F)(e.props))}),(0,C.Z)((0,tg.Z)(e),"onSelect",function(t){if(!e.isDisabled()){var n=e.props.context.onNodeSelect;n(t,(0,tE.F)(e.props))}}),(0,C.Z)((0,tg.Z)(e),"onCheck",function(t){if(!e.isDisabled()){var n=e.props,r=n.disableCheckbox,o=n.checked,i=e.props.context.onNodeCheck;if(e.isCheckable()&&!r){var a=!o;i(t,(0,tE.F)(e.props),a)}}}),(0,C.Z)((0,tg.Z)(e),"onMouseEnter",function(t){(0,e.props.context.onNodeMouseEnter)(t,(0,tE.F)(e.props))}),(0,C.Z)((0,tg.Z)(e),"onMouseLeave",function(t){(0,e.props.context.onNodeMouseLeave)(t,(0,tE.F)(e.props))}),(0,C.Z)((0,tg.Z)(e),"onContextMenu",function(t){(0,e.props.context.onNodeContextMenu)(t,(0,tE.F)(e.props))}),(0,C.Z)((0,tg.Z)(e),"onDragStart",function(t){var n=e.props.context.onNodeDragStart;t.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(t,(0,tg.Z)(e));try{t.dataTransfer.setData("text/plain","")}catch(e){}}),(0,C.Z)((0,tg.Z)(e),"onDragEnter",function(t){var n=e.props.context.onNodeDragEnter;t.preventDefault(),t.stopPropagation(),n(t,(0,tg.Z)(e))}),(0,C.Z)((0,tg.Z)(e),"onDragOver",function(t){var n=e.props.context.onNodeDragOver;t.preventDefault(),t.stopPropagation(),n(t,(0,tg.Z)(e))}),(0,C.Z)((0,tg.Z)(e),"onDragLeave",function(t){var n=e.props.context.onNodeDragLeave;t.stopPropagation(),n(t,(0,tg.Z)(e))}),(0,C.Z)((0,tg.Z)(e),"onDragEnd",function(t){var n=e.props.context.onNodeDragEnd;t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,(0,tg.Z)(e))}),(0,C.Z)((0,tg.Z)(e),"onDrop",function(t){var n=e.props.context.onNodeDrop;t.preventDefault(),t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,(0,tg.Z)(e))}),(0,C.Z)((0,tg.Z)(e),"onExpand",function(t){var n=e.props,r=n.loading,o=n.context.onNodeExpand;r||o(t,(0,tE.F)(e.props))}),(0,C.Z)((0,tg.Z)(e),"setSelectHandle",function(t){e.selectHandle=t}),(0,C.Z)((0,tg.Z)(e),"getNodeState",function(){var t=e.props.expanded;return e.isLeaf()?null:t?t_:tk}),(0,C.Z)((0,tg.Z)(e),"hasChildren",function(){var t=e.props.eventKey,n=e.props.context.keyEntities;return!!(((0,tx.Z)(n,t)||{}).children||[]).length}),(0,C.Z)((0,tg.Z)(e),"isLeaf",function(){var t=e.props,n=t.isLeaf,r=t.loaded,o=e.props.context.loadData,i=e.hasChildren();return!1!==n&&(n||!o&&!i||o&&r&&!i)}),(0,C.Z)((0,tg.Z)(e),"isDisabled",function(){var t=e.props.disabled;return!!(e.props.context.disabled||t)}),(0,C.Z)((0,tg.Z)(e),"isCheckable",function(){var t=e.props.checkable,n=e.props.context.checkable;return!!n&&!1!==t&&n}),(0,C.Z)((0,tg.Z)(e),"syncLoadData",function(t){var n=t.expanded,r=t.loading,o=t.loaded,i=e.props.context,a=i.loadData,s=i.onNodeLoad;r||!a||!n||e.isLeaf()||o||s((0,tE.F)(e.props))}),(0,C.Z)((0,tg.Z)(e),"isDraggable",function(){var t=e.props,n=t.data,r=t.context.draggable;return!!(r&&(!r.nodeDraggable||r.nodeDraggable(n)))}),(0,C.Z)((0,tg.Z)(e),"renderDragHandler",function(){var t=e.props.context,n=t.draggable,o=t.prefixCls;return null!=n&&n.icon?r.createElement("span",{className:"".concat(o,"-draggable-icon")},n.icon):null}),(0,C.Z)((0,tg.Z)(e),"renderSwitcherIconDom",function(t){var n=e.props.switcherIcon,r=e.props.context.switcherIcon,o=n||r;return"function"==typeof o?o((0,E.Z)((0,E.Z)({},e.props),{},{isLeaf:t})):o}),(0,C.Z)((0,tg.Z)(e),"renderSwitcher",function(){var t=e.props.expanded,n=e.props.context.prefixCls;if(e.isLeaf()){var o=e.renderSwitcherIconDom(!0);return!1!==o?r.createElement("span",{className:k()("".concat(n,"-switcher"),"".concat(n,"-switcher-noop"))},o):null}var i=k()("".concat(n,"-switcher"),"".concat(n,"-switcher_").concat(t?t_:tk)),a=e.renderSwitcherIconDom(!1);return!1!==a?r.createElement("span",{onClick:e.onExpand,className:i},a):null}),(0,C.Z)((0,tg.Z)(e),"renderCheckbox",function(){var t=e.props,n=t.checked,o=t.halfChecked,i=t.disableCheckbox,a=e.props.context.prefixCls,s=e.isDisabled(),l=e.isCheckable();if(!l)return null;var c="boolean"!=typeof l?l:null;return r.createElement("span",{className:k()("".concat(a,"-checkbox"),n&&"".concat(a,"-checkbox-checked"),!n&&o&&"".concat(a,"-checkbox-indeterminate"),(s||i)&&"".concat(a,"-checkbox-disabled")),onClick:e.onCheck},c)}),(0,C.Z)((0,tg.Z)(e),"renderIcon",function(){var t=e.props.loading,n=e.props.context.prefixCls;return r.createElement("span",{className:k()("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(e.getNodeState()||"docu"),t&&"".concat(n,"-icon_loading"))})}),(0,C.Z)((0,tg.Z)(e),"renderSelector",function(){var t,n,o=e.state.dragNodeHighlight,i=e.props,a=i.title,s=void 0===a?tO:a,l=i.selected,c=i.icon,u=i.loading,d=i.data,f=e.props.context,p=f.prefixCls,h=f.showIcon,m=f.icon,g=f.loadData,v=f.titleRender,y=e.isDisabled(),b="".concat(p,"-node-content-wrapper");if(h){var w=c||m;t=w?r.createElement("span",{className:k()("".concat(p,"-iconEle"),"".concat(p,"-icon__customize"))},"function"==typeof w?w(e.props):w):e.renderIcon()}else g&&u&&(t=e.renderIcon());n="function"==typeof s?s(d):v?v(d):s;var S=r.createElement("span",{className:"".concat(p,"-title")},n);return r.createElement("span",{ref:e.setSelectHandle,title:"string"==typeof s?s:"",className:k()("".concat(b),"".concat(b,"-").concat(e.getNodeState()||"normal"),!y&&(l||o)&&"".concat(p,"-node-selected")),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick},t,S,e.renderDropIndicator())}),(0,C.Z)((0,tg.Z)(e),"renderDropIndicator",function(){var t=e.props,n=t.disabled,r=t.eventKey,o=e.props.context,i=o.draggable,a=o.dropLevelOffset,s=o.dropPosition,l=o.prefixCls,c=o.indent,u=o.dropIndicatorRender,d=o.dragOverNodeKey,f=o.direction,p=!!i,h=!n&&p&&d===r,m=null!=c?c:e.cacheIndent;return e.cacheIndent=c,h?u({dropPosition:s,dropLevelOffset:a,indent:m,prefixCls:l,direction:f}):null}),e}return(0,tm.Z)(n,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var e=this.props.selectable,t=this.props.context.selectable;return"boolean"==typeof e?e:t}},{key:"render",value:function(){var e,t=this.props,n=t.eventKey,o=t.className,i=t.style,a=t.dragOver,s=t.dragOverGapTop,l=t.dragOverGapBottom,c=t.isLeaf,u=t.isStart,d=t.isEnd,f=t.expanded,h=t.selected,m=t.checked,g=t.halfChecked,v=t.loading,y=t.domRef,b=t.active,w=(t.data,t.onMouseMove),S=t.selectable,x=(0,W.Z)(t,tC),E=this.props.context,_=E.prefixCls,O=E.filterTreeNode,A=E.keyEntities,I=E.dropContainerKey,P=E.dropTargetKey,T=E.draggingNodeKey,R=this.isDisabled(),M=(0,er.Z)(x,{aria:!0,data:!0}),N=((0,tx.Z)(A,n)||{}).level,j=d[d.length-1],D=this.isDraggable(),L=!R&&D,B=T===n,Z=void 0!==S?{"aria-selected":!!S}:void 0;return r.createElement("div",(0,p.Z)({ref:y,className:k()(o,"".concat(_,"-treenode"),(e={},(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)(e,"".concat(_,"-treenode-disabled"),R),"".concat(_,"-treenode-switcher-").concat(f?"open":"close"),!c),"".concat(_,"-treenode-checkbox-checked"),m),"".concat(_,"-treenode-checkbox-indeterminate"),g),"".concat(_,"-treenode-selected"),h),"".concat(_,"-treenode-loading"),v),"".concat(_,"-treenode-active"),b),"".concat(_,"-treenode-leaf-last"),j),"".concat(_,"-treenode-draggable"),D),"dragging",B),(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)(e,"drop-target",P===n),"drop-container",I===n),"drag-over",!R&&a),"drag-over-gap-top",!R&&s),"drag-over-gap-bottom",!R&&l),"filter-node",O&&O((0,tE.F)(this.props))))),style:i,draggable:L,"aria-grabbed":B,onDragStart:L?this.onDragStart:void 0,onDragEnter:D?this.onDragEnter:void 0,onDragOver:D?this.onDragOver:void 0,onDragLeave:D?this.onDragLeave:void 0,onDrop:D?this.onDrop:void 0,onDragEnd:D?this.onDragEnd:void 0,onMouseMove:w},Z,M),r.createElement(tS,{prefixCls:_,level:N,isStart:u,isEnd:d}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),n}(r.Component),tI=function(e){return r.createElement(tb.Consumer,null,function(t){return r.createElement(tA,(0,p.Z)({},e,{context:t}))})};tI.displayName="TreeNode",tI.isTreeNode=1;var tP=tI;function tT(e,t){if(!e)return[];var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function tR(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function tM(e){return e.split("-")}function tN(e,t){var n=[];function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach(function(e){var t=e.key,o=e.children;n.push(t),r(o)})}return r((0,tx.Z)(t,e).children),n}function tj(e){if(e.parent){var t=tM(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function tD(e){var t=tM(e.pos);return 0===Number(t[t.length-1])}function tL(e,t,n,r,o,i,a,s,l,c){var u,d=e.clientX,f=e.clientY,p=e.target.getBoundingClientRect(),h=p.top,m=p.height,g=(("rtl"===c?-1:1)*(((null==o?void 0:o.x)||0)-d)-12)/r,v=l.filter(function(e){var t;return null===(t=s[e])||void 0===t||null===(t=t.children)||void 0===t?void 0:t.length}),y=(0,tx.Z)(s,n.props.eventKey);if(f<h+m/2){var b=a.findIndex(function(e){return e.key===y.key}),w=a[b<=0?0:b-1].key;y=(0,tx.Z)(s,w)}var S=y.key,x=y,E=y.key,C=0,_=0;if(!v.includes(S))for(var k=0;k<g;k+=1)if(tj(y))y=y.parent,_+=1;else break;var O=t.props.data,A=y.node,I=!0;return tD(y)&&0===y.level&&f<h+m/2&&i({dragNode:O,dropNode:A,dropPosition:-1})&&y.key===n.props.eventKey?C=-1:(x.children||[]).length&&v.includes(E)?i({dragNode:O,dropNode:A,dropPosition:0})?C=0:I=!1:0===_?g>-1.5?i({dragNode:O,dropNode:A,dropPosition:1})?C=1:I=!1:i({dragNode:O,dropNode:A,dropPosition:0})?C=0:i({dragNode:O,dropNode:A,dropPosition:1})?C=1:I=!1:i({dragNode:O,dropNode:A,dropPosition:1})?C=1:I=!1,{dropPosition:C,dropLevelOffset:_,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:E,dropContainerKey:0===C?null:(null===(u=y.parent)||void 0===u?void 0:u.key)||null,dropAllowed:I}}function tB(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function tZ(e){var t;if(!e)return null;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,x.Z)(e))return(0,I.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function tF(e,t){var n=new Set;function r(e){if(!n.has(e)){var o=(0,tx.Z)(t,e);if(o){n.add(e);var i=o.parent;!o.node.disabled&&i&&r(i.key)}}}return(e||[]).forEach(function(e){r(e)}),(0,ey.Z)(n)}var tz=n(92967),tU=n(45571);function tH(e){let[t,n]=(0,r.useState)(null);return[(0,r.useCallback)((r,o,i)=>{let a=null!=t?t:r,s=Math.min(a||0,r),l=Math.max(a||0,r),c=o.slice(s,l+1).map(t=>e(t)),u=c.some(e=>!i.has(e)),d=[];return c.forEach(e=>{u?(i.has(e)||d.push(e),i.add(e)):(i.delete(e),d.push(e))}),n(u?l:null),d},[t]),e=>{n(e)}]}var tq=n(66973),tV=n(98371),tW=n(47809),t$=n(95907);let tG={},tK="SELECT_ALL",tY="SELECT_INVERT",tX="SELECT_NONE",tQ=[],tJ=(e,t)=>{let n=[];return(t||[]).forEach(t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat((0,ey.Z)(n),(0,ey.Z)(tJ(e,t[e]))))}),n};var t0=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:o,defaultSelectedRowKeys:i,getCheckboxProps:a,onChange:s,onSelect:l,onSelectAll:c,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:p,type:h,selections:m,fixed:g,renderCell:v,hideSelectAll:y,checkStrictly:b=!0}=t||{},{prefixCls:w,data:S,pageData:x,getRecordByKey:E,getRowKey:C,expandType:_,childrenColumnName:O,locale:A,getPopupContainer:I}=e,P=(0,tq.ln)("Table"),[T,R]=tH(e=>e),[M,N]=(0,tU.Z)(o||i||tQ,{value:o}),j=r.useRef(new Map),D=(0,r.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=E(e);!n&&j.current.has(e)&&(n=j.current.get(e)),t.set(e,n)}),j.current=t}},[E,n]);r.useEffect(()=>{D(M)},[M]);let{keyEntities:L}=(0,r.useMemo)(()=>{if(b)return{keyEntities:null};let e=S;if(n){let t=new Set(S.map((e,t)=>C(e,t))),n=Array.from(j.current).reduce((e,n)=>{let[r,o]=n;return t.has(r)?e:e.concat(o)},[]);e=[].concat((0,ey.Z)(e),(0,ey.Z)(n))}return(0,tE.I8)(e,{externalGetKey:C,childrenPropName:O})},[S,C,b,O,n]),B=(0,r.useMemo)(()=>tJ(O,x),[O,x]),Z=(0,r.useMemo)(()=>{let e=new Map;return B.forEach((t,n)=>{let r=C(t,n),o=(a?a(t):null)||{};e.set(r,o)}),e},[B,C,a]),F=(0,r.useCallback)(e=>{var t;return!!(null===(t=Z.get(C(e)))||void 0===t?void 0:t.disabled)},[Z,C]),[z,U]=(0,r.useMemo)(()=>{if(b)return[M||[],[]];let{checkedKeys:e,halfCheckedKeys:t}=(0,tz.S)(M,!0,L,F);return[e||[],t]},[M,b,L,F]),H=(0,r.useMemo)(()=>new Set("radio"===h?z.slice(0,1):z),[z,h]),q=(0,r.useMemo)(()=>"radio"===h?new Set:new Set(U),[U,h]);r.useEffect(()=>{t||N(tQ)},[!!t]);let V=(0,r.useCallback)((e,t)=>{let r,o;D(e),n?(r=e,o=e.map(e=>j.current.get(e))):(r=[],o=[],e.forEach(e=>{let t=E(e);void 0!==t&&(r.push(e),o.push(t))})),N(r),null==s||s(r,o,{type:t})},[N,E,s,n]),W=(0,r.useCallback)((e,t,n,r)=>{if(l){let o=n.map(e=>E(e));l(E(e),t,o,r)}V(n,"single")},[l,E,V]),$=(0,r.useMemo)(()=>!m||y?null:(!0===m?[tK,tY,tX]:m).map(e=>e===tK?{key:"all",text:A.selectionAll,onSelect(){V(S.map((e,t)=>C(e,t)).filter(e=>{let t=Z.get(e);return!(null==t?void 0:t.disabled)||H.has(e)}),"all")}}:e===tY?{key:"invert",text:A.selectInvert,onSelect(){let e=new Set(H);x.forEach((t,n)=>{let r=C(t,n),o=Z.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);u&&(P.deprecated(!1,"onSelectInvert","onChange"),u(t)),V(t,"invert")}}:e===tX?{key:"none",text:A.selectNone,onSelect(){null==d||d(),V(Array.from(H).filter(e=>{let t=Z.get(e);return null==t?void 0:t.disabled}),"none")}}:e).map(e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,n,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];null===(n=e.onSelect)||void 0===n||(t=n).call.apply(t,[e].concat(o)),R(null)}})),[m,H,x,C,u,V]);return[(0,r.useCallback)(e=>{var n;let o,i,a;if(!t)return e.filter(e=>e!==tG);let s=(0,ey.Z)(e),l=new Set(H),u=B.map(C).filter(e=>!Z.get(e).disabled),d=u.every(e=>l.has(e)),S=u.some(e=>l.has(e)),x=()=>{let e=[];d?u.forEach(t=>{l.delete(t),e.push(t)}):u.forEach(t=>{l.has(t)||(l.add(t),e.push(t))});let t=Array.from(l);null==c||c(!d,t.map(e=>E(e)),e.map(e=>E(e))),V(t,"all"),R(null)};if("radio"!==h){let e;if($){let t={getPopupContainer:I,items:$.map((e,t)=>{let{key:n,text:r,onSelect:o}=e;return{key:null!=n?n:t,onClick:()=>{null==o||o(u)},label:r}})};e=r.createElement("div",{className:"".concat(w,"-selection-extra")},r.createElement(tW.Z,{menu:t,getPopupContainer:I},r.createElement("span",null,r.createElement(tp.Z,null))))}let t=B.map((e,t)=>{let n=C(e,t),r=Z.get(n)||{};return Object.assign({checked:l.has(n)},r)}).filter(e=>{let{disabled:t}=e;return t}),n=!!t.length&&t.length===B.length,a=n&&t.every(e=>{let{checked:t}=e;return t}),s=n&&t.some(e=>{let{checked:t}=e;return t});i=r.createElement(tV.Z,{checked:n?a:!!B.length&&d,indeterminate:n?!a&&s:!d&&S,onChange:x,disabled:0===B.length||n,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),o=!y&&r.createElement("div",{className:"".concat(w,"-selection")},i,e)}a="radio"===h?(e,t,n)=>{let o=C(t,n),i=l.has(o);return{node:r.createElement(t$.ZP,Object.assign({},Z.get(o),{checked:i,onClick:e=>e.stopPropagation(),onChange:e=>{l.has(o)||W(o,!0,[o],e.nativeEvent)}})),checked:i}}:(e,t,n)=>{var o;let i;let a=C(t,n),s=l.has(a),c=q.has(a),d=Z.get(a);return i="nest"===_?c:null!==(o=null==d?void 0:d.indeterminate)&&void 0!==o?o:c,{node:r.createElement(tV.Z,Object.assign({},d,{indeterminate:i,checked:s,skipGroup:!0,onClick:e=>e.stopPropagation(),onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,r=u.findIndex(e=>e===a),o=z.some(e=>u.includes(e));if(n&&b&&o){let e=T(r,u,l),t=Array.from(l);null==f||f(!s,t.map(e=>E(e)),e.map(e=>E(e))),V(t,"multiple")}else{let e=z;if(b){let n=s?tT(e,a):tR(e,a);W(a,!s,n,t)}else{let{checkedKeys:n,halfCheckedKeys:r}=(0,tz.S)([].concat((0,ey.Z)(e),[a]),!0,L,F),o=n;if(s){let e=new Set(n);e.delete(a),o=(0,tz.S)(Array.from(e),{checked:!1,halfCheckedKeys:r},L,F).checkedKeys}W(a,!s,o,t)}}s?R(null):R(r)}})),checked:s}};let O=(e,t,n)=>{let{node:r,checked:o}=a(e,t,n);return v?v(o,t,n,r):r};if(!s.includes(tG)){if(0===s.findIndex(e=>{var t;return(null===(t=e[eh])||void 0===t?void 0:t.columnType)==="EXPAND_COLUMN"})){let[e,...t]=s;s=[e,tG].concat((0,ey.Z)(t))}else s=[tG].concat((0,ey.Z)(s))}let A=s.indexOf(tG),P=(s=s.filter((e,t)=>e!==tG||t===A))[A-1],M=s[A+1],N=g;void 0===N&&((null==M?void 0:M.fixed)!==void 0?N=M.fixed:(null==P?void 0:P.fixed)!==void 0&&(N=P.fixed)),N&&P&&(null===(n=P[eh])||void 0===n?void 0:n.columnType)==="EXPAND_COLUMN"&&void 0===P.fixed&&(P.fixed=N);let j=k()("".concat(w,"-selection-col"),{["".concat(w,"-selection-col-with-dropdown")]:m&&"checkbox"===h}),D=()=>(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(i):t.columnTitle:o,U={fixed:N,width:p,className:"".concat(w,"-selection-column"),title:D(),render:O,onCell:t.onCell,[eh]:{className:j}};return s.map(e=>e===tG?U:e)},[C,B,t,z,H,q,p,$,_,Z,f,W,F]),H]},t1=n(76933);function t2(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){let r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function t3(e,t){return(0,r.useImperativeHandle)(e,()=>{let e=t(),{nativeElement:n}=e;return"undefined"!=typeof Proxy?new Proxy(n,{get:(t,n)=>e[n]?e[n]:Reflect.get(t,n)}):t2(n,e)})}var t4=n(82737),t5=n(25431),t6=n(24425),t8=n(55948),t7=n(3690),t9=n(46212),ne=n(2941),nt=n(51859),nn=n(99754),nr=n(34066),no=function(e){return function(t){let{prefixCls:n,onExpand:o,record:i,expanded:a,expandable:s}=t,l="".concat(n,"-row-expand-icon");return r.createElement("button",{type:"button",onClick:e=>{o(i,e),e.stopPropagation()},className:k()(l,{["".concat(l,"-spaced")]:!s,["".concat(l,"-expanded")]:s&&a,["".concat(l,"-collapsed")]:s&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}};function ni(e){return(t,n)=>{let r=t.querySelector(".".concat(e,"-container")),o=n;if(r){let e=getComputedStyle(r);o=n-parseInt(e.borderLeftWidth,10)-parseInt(e.borderRightWidth,10)}return o}}function na(e,t){return"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function ns(e,t){return t?"".concat(t,"-").concat(e):"".concat(e)}function nl(e,t){return"function"==typeof e?e(t):e}function nc(e,t){let n=nl(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n}var nu=n(23279),nd=n(72654),nf=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:nu.Z}))},np=r.forwardRef(nf),nh=n(45989);function nm(e){let t=r.useRef(e),n=(0,nh.Z)();return[()=>t.current,e=>{t.current=e,n()}]}var ng=n(72477),nv=n(63378),ny=n(42020),nb=n(79206),nw=n(4062);function nS(e){var t=e.dropPosition,n=e.dropLevelOffset,o=e.indent,i={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case -1:i.top=0,i.left=-n*o;break;case 1:i.bottom=0,i.left=-n*o;break;case 0:i.bottom=0,i.left=o}return r.createElement("div",{style:i})}function nx(e){if(null==e)throw TypeError("Cannot destructure "+e)}var nE=n(63290);function nC(e,t){var n=r.useState(!1),o=(0,a.Z)(n,2),i=o[0],s=o[1];(0,l.Z)(function(){if(i)return e(),function(){t()}},[i]),(0,l.Z)(function(){return s(!0),function(){s(!1)}},[])}var n_=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],nk=function(e,t){var n=e.className,o=e.style,i=e.motion,s=e.motionNodes,c=e.motionType,u=e.onMotionStart,d=e.onMotionEnd,f=e.active,h=e.treeNodeRequiredProps,m=(0,W.Z)(e,n_),g=r.useState(!0),v=(0,a.Z)(g,2),y=v[0],b=v[1],w=r.useContext(tb).prefixCls,S=s&&"hide"!==c;(0,l.Z)(function(){s&&S!==y&&b(S)},[s]);var x=function(){s&&u()},E=r.useRef(!1),C=function(){s&&!E.current&&(E.current=!0,d())};nC(x,C);var _=function(e){S===e&&C()};return s?r.createElement(nE.ZP,(0,p.Z)({ref:t,visible:y},i,{motionAppear:"show"===c,onVisibleChanged:_}),function(e,t){var n=e.className,o=e.style;return r.createElement("div",{ref:t,className:k()("".concat(w,"-treenode-motion"),n),style:o},s.map(function(e){var t=Object.assign({},(nx(e.data),e.data)),n=e.title,o=e.key,i=e.isStart,a=e.isEnd;delete t.children;var s=(0,tE.H8)(o,h);return r.createElement(tP,(0,p.Z)({},t,s,{title:n,active:f,data:e.data,key:o,isStart:i,isEnd:a}))}))}):r.createElement(tP,(0,p.Z)({domRef:t,className:n,style:o},m,{active:f}))};nk.displayName="MotionTreeNode";var nO=r.forwardRef(nk);function nA(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function o(e,t){var n=new Map;e.forEach(function(e){n.set(e,!0)});var r=t.filter(function(e){return!n.has(e)});return 1===r.length?r[0]:null}return n<r?{add:!0,key:o(e,t)}:{add:!1,key:o(t,e)}}function nI(e,t,n){var r=e.findIndex(function(e){return e.key===n}),o=e[r+1],i=t.findIndex(function(e){return e.key===n});if(o){var a=t.findIndex(function(e){return e.key===o.key});return t.slice(i+1,a)}return t.slice(i+1)}var nP=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],nT={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},nR=function(){},nM="RC_TREE_MOTION_".concat(Math.random()),nN={key:nM},nj={key:nM,level:0,index:0,pos:"0",node:nN,nodes:[nN]},nD={parent:null,children:[],pos:nj.pos,data:nN,title:null,key:nM,isStart:[],isEnd:[]};function nL(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function nB(e){var t=e.key,n=e.pos;return(0,tE.km)(t,n)}function nZ(e){for(var t=String(e.data.key),n=e;n.parent;)n=n.parent,t="".concat(n.data.key," > ").concat(t);return t}var nF=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.data,i=(e.selectable,e.checkable,e.expandedKeys),s=e.selectedKeys,c=e.checkedKeys,u=e.loadedKeys,d=e.loadingKeys,f=e.halfCheckedKeys,h=e.keyEntities,m=e.disabled,g=e.dragging,v=e.dragOverNodeKey,y=e.dropPosition,b=e.motion,w=e.height,S=e.itemHeight,x=e.virtual,E=e.focusable,C=e.activeItem,_=e.focused,k=e.tabIndex,O=e.onKeyDown,A=e.onFocus,I=e.onBlur,P=e.onActiveChange,T=e.onListChangeStart,R=e.onListChangeEnd,M=(0,W.Z)(e,nP),N=r.useRef(null),j=r.useRef(null);r.useImperativeHandle(t,function(){return{scrollTo:function(e){N.current.scrollTo(e)},getIndentWidth:function(){return j.current.offsetWidth}}});var D=r.useState(i),L=(0,a.Z)(D,2),B=L[0],Z=L[1],F=r.useState(o),z=(0,a.Z)(F,2),U=z[0],H=z[1],q=r.useState(o),V=(0,a.Z)(q,2),$=V[0],G=V[1],K=r.useState([]),Y=(0,a.Z)(K,2),X=Y[0],Q=Y[1],J=r.useState(null),ee=(0,a.Z)(J,2),et=ee[0],en=ee[1],er=r.useRef(o);function eo(){var e=er.current;H(e),G(e),Q([]),en(null),R()}er.current=o,(0,l.Z)(function(){Z(i);var e=nA(B,i);if(null!==e.key){if(e.add){var t=U.findIndex(function(t){return t.key===e.key}),n=nL(nI(U,o,e.key),x,w,S),r=U.slice();r.splice(t+1,0,nD),G(r),Q(n),en("show")}else{var a=o.findIndex(function(t){return t.key===e.key}),s=nL(nI(o,U,e.key),x,w,S),l=o.slice();l.splice(a+1,0,nD),G(l),Q(s),en("hide")}}else U!==o&&(H(o),G(o))},[i,o]),r.useEffect(function(){g||eo()},[g]);var ei=b?$:o,ea={expandedKeys:i,selectedKeys:s,loadedKeys:u,loadingKeys:d,checkedKeys:c,halfCheckedKeys:f,dragOverNodeKey:v,dropPosition:y,keyEntities:h};return r.createElement(r.Fragment,null,_&&C&&r.createElement("span",{style:nT,"aria-live":"assertive"},nZ(C)),r.createElement("div",null,r.createElement("input",{style:nT,disabled:!1===E||m,tabIndex:!1!==E?k:null,onKeyDown:O,onFocus:A,onBlur:I,value:"",onChange:nR,"aria-label":"for screen reader"})),r.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},r.createElement("div",{className:"".concat(n,"-indent")},r.createElement("div",{ref:j,className:"".concat(n,"-indent-unit")}))),r.createElement(e9.Z,(0,p.Z)({},M,{data:ei,itemKey:nB,height:w,fullHeight:!1,virtual:x,itemHeight:S,prefixCls:"".concat(n,"-list"),ref:N,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return nB(e)===nM})&&eo()}}),function(e){var t=e.pos,n=Object.assign({},(nx(e.data),e.data)),o=e.title,i=e.key,a=e.isStart,s=e.isEnd,l=(0,tE.km)(i,t);delete n.key,delete n.children;var c=(0,tE.H8)(l,ea);return r.createElement(nO,(0,p.Z)({},n,c,{title:o,active:!!C&&i===C.key,pos:t,data:e.data,isStart:a,isEnd:s,motion:b,motionNodes:i===nM?X:null,motionType:et,onMotionStart:T,onMotionEnd:eo,treeNodeRequiredProps:ea,onMouseMove:function(){P(null)}}))}))});nF.displayName="NodeList";var nz=nF,nU=10,nH=function(e){(0,tv.Z)(n,e);var t=(0,ty.Z)(n);function n(){var e;(0,th.Z)(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,C.Z)((0,tg.Z)(e),"destroyed",!1),(0,C.Z)((0,tg.Z)(e),"delayedDragEnterLogic",void 0),(0,C.Z)((0,tg.Z)(e),"loadingRetryTimes",{}),(0,C.Z)((0,tg.Z)(e),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,tE.w$)()}),(0,C.Z)((0,tg.Z)(e),"dragStartMousePosition",null),(0,C.Z)((0,tg.Z)(e),"dragNode",void 0),(0,C.Z)((0,tg.Z)(e),"currentMouseOverDroppableNodeKey",null),(0,C.Z)((0,tg.Z)(e),"listRef",r.createRef()),(0,C.Z)((0,tg.Z)(e),"onNodeDragStart",function(t,n){var r=e.state,o=r.expandedKeys,i=r.keyEntities,a=e.props.onDragStart,s=n.props.eventKey;e.dragNode=n,e.dragStartMousePosition={x:t.clientX,y:t.clientY};var l=tT(o,s);e.setState({draggingNodeKey:s,dragChildrenKeys:tN(s,i),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(l),window.addEventListener("dragend",e.onWindowDragEnd),null==a||a({event:t,node:(0,tE.F)(n.props)})}),(0,C.Z)((0,tg.Z)(e),"onNodeDragEnter",function(t,n){var r=e.state,o=r.expandedKeys,i=r.keyEntities,a=r.dragChildrenKeys,s=r.flattenNodes,l=r.indent,c=e.props,u=c.onDragEnter,d=c.onExpand,f=c.allowDrop,p=c.direction,h=n.props,m=h.pos,g=h.eventKey,v=(0,tg.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==g&&(e.currentMouseOverDroppableNodeKey=g),!v){e.resetDragState();return}var y=tL(t,v,n,l,e.dragStartMousePosition,f,s,i,o,p),b=y.dropPosition,w=y.dropLevelOffset,S=y.dropTargetKey,x=y.dropContainerKey,E=y.dropTargetPos,C=y.dropAllowed,_=y.dragOverNodeKey;if(-1!==a.indexOf(S)||!C||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(t){clearTimeout(e.delayedDragEnterLogic[t])}),v.props.eventKey!==n.props.eventKey&&(t.persist(),e.delayedDragEnterLogic[m]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var r=(0,ey.Z)(o),a=(0,tx.Z)(i,n.props.eventKey);a&&(a.children||[]).length&&(r=tR(o,n.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(r),null==d||d(r,{node:(0,tE.F)(n.props),expanded:!0,nativeEvent:t.nativeEvent})}},800)),v.props.eventKey===S&&0===w)){e.resetDragState();return}e.setState({dragOverNodeKey:_,dropPosition:b,dropLevelOffset:w,dropTargetKey:S,dropContainerKey:x,dropTargetPos:E,dropAllowed:C}),null==u||u({event:t,node:(0,tE.F)(n.props),expandedKeys:o})}),(0,C.Z)((0,tg.Z)(e),"onNodeDragOver",function(t,n){var r=e.state,o=r.dragChildrenKeys,i=r.flattenNodes,a=r.keyEntities,s=r.expandedKeys,l=r.indent,c=e.props,u=c.onDragOver,d=c.allowDrop,f=c.direction,p=(0,tg.Z)(e).dragNode;if(p){var h=tL(t,p,n,l,e.dragStartMousePosition,d,i,a,s,f),m=h.dropPosition,g=h.dropLevelOffset,v=h.dropTargetKey,y=h.dropContainerKey,b=h.dropAllowed,w=h.dropTargetPos,S=h.dragOverNodeKey;-1===o.indexOf(v)&&b&&(p.props.eventKey===v&&0===g?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():m===e.state.dropPosition&&g===e.state.dropLevelOffset&&v===e.state.dropTargetKey&&y===e.state.dropContainerKey&&w===e.state.dropTargetPos&&b===e.state.dropAllowed&&S===e.state.dragOverNodeKey||e.setState({dropPosition:m,dropLevelOffset:g,dropTargetKey:v,dropContainerKey:y,dropTargetPos:w,dropAllowed:b,dragOverNodeKey:S}),null==u||u({event:t,node:(0,tE.F)(n.props)}))}}),(0,C.Z)((0,tg.Z)(e),"onNodeDragLeave",function(t,n){e.currentMouseOverDroppableNodeKey!==n.props.eventKey||t.currentTarget.contains(t.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null==r||r({event:t,node:(0,tE.F)(n.props)})}),(0,C.Z)((0,tg.Z)(e),"onWindowDragEnd",function(t){e.onNodeDragEnd(t,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)}),(0,C.Z)((0,tg.Z)(e),"onNodeDragEnd",function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==r||r({event:t,node:(0,tE.F)(n.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)}),(0,C.Z)((0,tg.Z)(e),"onNodeDrop",function(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e.state,a=i.dragChildrenKeys,s=i.dropPosition,l=i.dropTargetKey,c=i.dropTargetPos;if(i.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==l){var d=(0,E.Z)((0,E.Z)({},(0,tE.H8)(l,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===l,data:(0,tx.Z)(e.state.keyEntities,l).node}),f=-1!==a.indexOf(l);(0,I.ZP)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var p=tM(c),h={event:t,node:(0,tE.F)(d),dragNode:e.dragNode?(0,tE.F)(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(a),dropToGap:0!==s,dropPosition:s+Number(p[p.length-1])};o||null==u||u(h),e.dragNode=null}}}),(0,C.Z)((0,tg.Z)(e),"cleanDragState",function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null}),(0,C.Z)((0,tg.Z)(e),"triggerExpandActionExpand",function(t,n){var r=e.state,o=r.expandedKeys,i=r.flattenNodes,a=n.expanded,s=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var l=i.filter(function(e){return e.key===s})[0],c=(0,tE.F)((0,E.Z)((0,E.Z)({},(0,tE.H8)(s,e.getTreeNodeRequiredProps())),{},{data:l.data}));e.setExpandedKeys(a?tT(o,s):tR(o,s)),e.onNodeExpand(t,c)}}),(0,C.Z)((0,tg.Z)(e),"onNodeClick",function(t,n){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==o||o(t,n)}),(0,C.Z)((0,tg.Z)(e),"onNodeDoubleClick",function(t,n){var r=e.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(t,n),null==o||o(t,n)}),(0,C.Z)((0,tg.Z)(e),"onNodeSelect",function(t,n){var r=e.state.selectedKeys,o=e.state,i=o.keyEntities,a=o.fieldNames,s=e.props,l=s.onSelect,c=s.multiple,u=n.selected,d=n[a.key],f=!u,p=(r=f?c?tR(r,d):[d]:tT(r,d)).map(function(e){var t=(0,tx.Z)(i,e);return t?t.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:r}),null==l||l(r,{event:"select",selected:f,node:n,selectedNodes:p,nativeEvent:t.nativeEvent})}),(0,C.Z)((0,tg.Z)(e),"onNodeCheck",function(t,n,r){var o,i=e.state,a=i.keyEntities,s=i.checkedKeys,l=i.halfCheckedKeys,c=e.props,u=c.checkStrictly,d=c.onCheck,f=n.key,p={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(u){var h=r?tR(s,f):tT(s,f);o={checked:h,halfChecked:tT(l,f)},p.checkedNodes=h.map(function(e){return(0,tx.Z)(a,e)}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:h})}else{var m=(0,tz.S)([].concat((0,ey.Z)(s),[f]),!0,a),g=m.checkedKeys,v=m.halfCheckedKeys;if(!r){var y=new Set(g);y.delete(f);var b=(0,tz.S)(Array.from(y),{checked:!1,halfCheckedKeys:v},a);g=b.checkedKeys,v=b.halfCheckedKeys}o=g,p.checkedNodes=[],p.checkedNodesPositions=[],p.halfCheckedKeys=v,g.forEach(function(e){var t=(0,tx.Z)(a,e);if(t){var n=t.node,r=t.pos;p.checkedNodes.push(n),p.checkedNodesPositions.push({node:n,pos:r})}}),e.setUncontrolledState({checkedKeys:g},!1,{halfCheckedKeys:v})}null==d||d(o,p)}),(0,C.Z)((0,tg.Z)(e),"onNodeLoad",function(t){var n,r=t.key,o=e.state.keyEntities,i=(0,tx.Z)(o,r);if(null==i||null===(n=i.children)||void 0===n||!n.length){var a=new Promise(function(n,o){e.setState(function(i){var a=i.loadedKeys,s=void 0===a?[]:a,l=i.loadingKeys,c=void 0===l?[]:l,u=e.props,d=u.loadData,f=u.onLoad;return d&&-1===s.indexOf(r)&&-1===c.indexOf(r)?(d(t).then(function(){var o=tR(e.state.loadedKeys,r);null==f||f(o,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:o}),e.setState(function(e){return{loadingKeys:tT(e.loadingKeys,r)}}),n()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:tT(e.loadingKeys,r)}}),e.loadingRetryTimes[r]=(e.loadingRetryTimes[r]||0)+1,e.loadingRetryTimes[r]>=nU){var i=e.state.loadedKeys;(0,I.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:tR(i,r)}),n()}o(t)}),{loadingKeys:tR(c,r)}):null})});return a.catch(function(){}),a}}),(0,C.Z)((0,tg.Z)(e),"onNodeMouseEnter",function(t,n){var r=e.props.onMouseEnter;null==r||r({event:t,node:n})}),(0,C.Z)((0,tg.Z)(e),"onNodeMouseLeave",function(t,n){var r=e.props.onMouseLeave;null==r||r({event:t,node:n})}),(0,C.Z)((0,tg.Z)(e),"onNodeContextMenu",function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))}),(0,C.Z)((0,tg.Z)(e),"onFocus",function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];null==t||t.apply(void 0,r)}),(0,C.Z)((0,tg.Z)(e),"onBlur",function(){var t=e.props.onBlur;e.setState({focused:!1}),e.onActiveChange(null);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];null==t||t.apply(void 0,r)}),(0,C.Z)((0,tg.Z)(e),"getTreeNodeRequiredProps",function(){var t=e.state;return{expandedKeys:t.expandedKeys||[],selectedKeys:t.selectedKeys||[],loadedKeys:t.loadedKeys||[],loadingKeys:t.loadingKeys||[],checkedKeys:t.checkedKeys||[],halfCheckedKeys:t.halfCheckedKeys||[],dragOverNodeKey:t.dragOverNodeKey,dropPosition:t.dropPosition,keyEntities:t.keyEntities}}),(0,C.Z)((0,tg.Z)(e),"setExpandedKeys",function(t){var n=e.state,r=n.treeData,o=n.fieldNames,i=(0,tE.oH)(r,t,o);e.setUncontrolledState({expandedKeys:t,flattenNodes:i},!0)}),(0,C.Z)((0,tg.Z)(e),"onNodeExpand",function(t,n){var r=e.state.expandedKeys,o=e.state,i=o.listChanging,a=o.fieldNames,s=e.props,l=s.onExpand,c=s.loadData,u=n.expanded,d=n[a.key];if(!i){var f=r.indexOf(d),p=!u;if((0,I.ZP)(u&&-1!==f||!u&&-1===f,"Expand state not sync with index check"),r=p?tR(r,d):tT(r,d),e.setExpandedKeys(r),null==l||l(r,{node:n,expanded:p,nativeEvent:t.nativeEvent}),p&&c){var h=e.onNodeLoad(n);h&&h.then(function(){var t=(0,tE.oH)(e.state.treeData,r,a);e.setUncontrolledState({flattenNodes:t})}).catch(function(){var t=tT(e.state.expandedKeys,d);e.setExpandedKeys(t)})}}}),(0,C.Z)((0,tg.Z)(e),"onListChangeStart",function(){e.setUncontrolledState({listChanging:!0})}),(0,C.Z)((0,tg.Z)(e),"onListChangeEnd",function(){setTimeout(function(){e.setUncontrolledState({listChanging:!1})})}),(0,C.Z)((0,tg.Z)(e),"onActiveChange",function(t){var n=e.state.activeKey,r=e.props,o=r.onActiveChange,i=r.itemScrollOffset,a=void 0===i?0:i;n!==t&&(e.setState({activeKey:t}),null!==t&&e.scrollTo({key:t,offset:a}),null==o||o(t))}),(0,C.Z)((0,tg.Z)(e),"getActiveItem",function(){var t=e.state,n=t.activeKey,r=t.flattenNodes;return null===n?null:r.find(function(e){return e.key===n})||null}),(0,C.Z)((0,tg.Z)(e),"offsetActiveKey",function(t){var n=e.state,r=n.flattenNodes,o=n.activeKey,i=r.findIndex(function(e){return e.key===o});-1===i&&t<0&&(i=r.length),i=(i+t+r.length)%r.length;var a=r[i];if(a){var s=a.key;e.onActiveChange(s)}else e.onActiveChange(null)}),(0,C.Z)((0,tg.Z)(e),"onKeyDown",function(t){var n=e.state,r=n.activeKey,o=n.expandedKeys,i=n.checkedKeys,a=n.fieldNames,s=e.props,l=s.onKeyDown,c=s.checkable,u=s.selectable;switch(t.which){case nw.Z.UP:e.offsetActiveKey(-1),t.preventDefault();break;case nw.Z.DOWN:e.offsetActiveKey(1),t.preventDefault()}var d=e.getActiveItem();if(d&&d.data){var f=e.getTreeNodeRequiredProps(),p=!1===d.data.isLeaf||!!(d.data[a.children]||[]).length,h=(0,tE.F)((0,E.Z)((0,E.Z)({},(0,tE.H8)(r,f)),{},{data:d.data,active:!0}));switch(t.which){case nw.Z.LEFT:p&&o.includes(r)?e.onNodeExpand({},h):d.parent&&e.onActiveChange(d.parent.key),t.preventDefault();break;case nw.Z.RIGHT:p&&!o.includes(r)?e.onNodeExpand({},h):d.children&&d.children.length&&e.onActiveChange(d.children[0].key),t.preventDefault();break;case nw.Z.ENTER:case nw.Z.SPACE:!c||h.disabled||!1===h.checkable||h.disableCheckbox?c||!u||h.disabled||!1===h.selectable||e.onNodeSelect({},h):e.onNodeCheck({},h,!i.includes(r))}}null==l||l(t)}),(0,C.Z)((0,tg.Z)(e),"setUncontrolledState",function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,i=!0,a={};Object.keys(t).forEach(function(n){if(n in e.props){i=!1;return}o=!0,a[n]=t[n]}),o&&(!n||i)&&e.setState((0,E.Z)((0,E.Z)({},a),r))}}),(0,C.Z)((0,tg.Z)(e),"scrollTo",function(t){e.listRef.current.scrollTo(t)}),e}return(0,tm.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props,t=e.activeKey,n=e.itemScrollOffset,r=void 0===n?0:n;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:r}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t=this.state,n=t.focused,o=t.flattenNodes,i=t.keyEntities,a=t.draggingNodeKey,s=t.activeKey,l=t.dropLevelOffset,c=t.dropContainerKey,u=t.dropTargetKey,d=t.dropPosition,f=t.dragOverNodeKey,h=t.indent,m=this.props,g=m.prefixCls,v=m.className,y=m.style,b=m.showLine,w=m.focusable,S=m.tabIndex,E=void 0===S?0:S,_=m.selectable,O=m.showIcon,A=m.icon,I=m.switcherIcon,P=m.draggable,T=m.checkable,R=m.checkStrictly,M=m.disabled,N=m.motion,j=m.loadData,D=m.filterTreeNode,L=m.height,B=m.itemHeight,Z=m.virtual,F=m.titleRender,z=m.dropIndicatorRender,U=m.onContextMenu,H=m.onScroll,q=m.direction,V=m.rootClassName,W=m.rootStyle,$=(0,er.Z)(this.props,{aria:!0,data:!0});return P&&(e="object"===(0,x.Z)(P)?P:"function"==typeof P?{nodeDraggable:P}:{}),r.createElement(tb.Provider,{value:{prefixCls:g,selectable:_,showIcon:O,icon:A,switcherIcon:I,draggable:e,draggingNodeKey:a,checkable:T,checkStrictly:R,disabled:M,keyEntities:i,dropLevelOffset:l,dropContainerKey:c,dropTargetKey:u,dropPosition:d,dragOverNodeKey:f,indent:h,direction:q,dropIndicatorRender:z,loadData:j,filterTreeNode:D,titleRender:F,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},r.createElement("div",{role:"tree",className:k()(g,v,V,(0,C.Z)((0,C.Z)((0,C.Z)({},"".concat(g,"-show-line"),b),"".concat(g,"-focused"),n),"".concat(g,"-active-focused"),null!==s)),style:W},r.createElement(nz,(0,p.Z)({ref:this.listRef,prefixCls:g,style:y,data:o,disabled:M,selectable:_,checkable:!!T,motion:N,dragging:null!==a,height:L,itemHeight:B,virtual:Z,focusable:w,focused:n,tabIndex:E,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:U,onScroll:H},this.getTreeNodeRequiredProps(),$))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i={prevProps:e};function a(t){return!o&&t in e||o&&o[t]!==e[t]}var s=t.fieldNames;if(a("fieldNames")&&(s=(0,tE.w$)(e.fieldNames),i.fieldNames=s),a("treeData")?n=e.treeData:a("children")&&((0,I.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,tE.zn)(e.children)),n){i.treeData=n;var l=(0,tE.I8)(n,{fieldNames:s});i.keyEntities=(0,E.Z)((0,C.Z)({},nM,nj),l.keyEntities)}var c=i.keyEntities||t.keyEntities;if(a("expandedKeys")||o&&a("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!o&&e.defaultExpandParent?tF(e.expandedKeys,c):e.expandedKeys;else if(!o&&e.defaultExpandAll){var u=(0,E.Z)({},c);delete u[nM],i.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!o&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?tF(e.defaultExpandedKeys,c):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var d=(0,tE.oH)(n||t.treeData,i.expandedKeys||t.expandedKeys,s);i.flattenNodes=d}if(e.selectable&&(a("selectedKeys")?i.selectedKeys=tB(e.selectedKeys,e):!o&&e.defaultSelectedKeys&&(i.selectedKeys=tB(e.defaultSelectedKeys,e))),e.checkable&&(a("checkedKeys")?r=tZ(e.checkedKeys)||{}:!o&&e.defaultCheckedKeys?r=tZ(e.defaultCheckedKeys)||{}:n&&(r=tZ(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),r)){var f=r,p=f.checkedKeys,h=void 0===p?[]:p,m=f.halfCheckedKeys,g=void 0===m?[]:m;if(!e.checkStrictly){var v=(0,tz.S)(h,!0,c);h=v.checkedKeys,g=v.halfCheckedKeys}i.checkedKeys=h,i.halfCheckedKeys=g}return a("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(r.Component);(0,C.Z)(nH,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:nS,allowDrop:function(){return!0},expandAction:!1}),(0,C.Z)(nH,"TreeNode",tP);var nq=nH,nV=n(54960),nW=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:nV.Z}))},n$=r.forwardRef(nW),nG={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},nK=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:nG}))},nY=r.forwardRef(nK),nX={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},nQ=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:nX}))},nJ=r.forwardRef(nQ),n0=n(61101),n1=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:n0.Z}))},n2=r.forwardRef(n1),n3=n(62334),n4=n(82698),n5=n(69973),n6=n(61885),n8=n(33773),n7=n(39564),n9=n(2916);let re=new n4.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),rt=(e,t)=>({[".".concat(e,"-switcher-icon")]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:"transform ".concat(t.motionDurationSlow)}}}),rn=(e,t)=>({[".".concat(e,"-drop-indicator")]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:"".concat((0,n4.bf)(t.lineWidthBold)," solid ").concat(t.colorPrimary),borderRadius:"50%",content:'""'}}}),rr=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:o,titleHeight:i,nodeSelectedBg:a,nodeHoverBg:s}=t,l=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,n6.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:"background-color ".concat(t.motionDurationSlow),["&".concat(n,"-rtl")]:{["".concat(n,"-switcher")]:{"&_close":{["".concat(n,"-switcher-icon")]:{svg:{transform:"rotate(90deg)"}}}}},["&-focused:not(:hover):not(".concat(n,"-active-focused)")]:Object.assign({},(0,n6.oN)(t)),["".concat(n,"-list-holder-inner")]:{alignItems:"flex-start"},["&".concat(n,"-block-node")]:{["".concat(n,"-list-holder-inner")]:{alignItems:"stretch",["".concat(n,"-node-content-wrapper")]:{flex:"auto"},["".concat(r,".dragging")]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,border:"1px solid ".concat(t.colorPrimary),opacity:0,animationName:re,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},["".concat(r)]:{display:"flex",alignItems:"flex-start",padding:"0 0 ".concat((0,n4.bf)(o)," 0"),outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{["".concat(n,"-node-content-wrapper")]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},["&-active ".concat(n,"-node-content-wrapper")]:{background:t.controlItemBgHover},["&:not(".concat(r,"-disabled).filter-node ").concat(n,"-title")]:{color:"inherit",fontWeight:500},"&-draggable":{cursor:"grab",["".concat(n,"-draggable-icon")]:{flexShrink:0,width:i,lineHeight:"".concat((0,n4.bf)(i)),textAlign:"center",visibility:"visible",opacity:.2,transition:"opacity ".concat(t.motionDurationSlow),["".concat(r,":hover &")]:{opacity:.45}},["&".concat(r,"-disabled")]:{["".concat(n,"-draggable-icon")]:{visibility:"hidden"}}}},["".concat(n,"-indent")]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},["".concat(n,"-draggable-icon")]:{visibility:"hidden"},["".concat(n,"-switcher")]:Object.assign(Object.assign({},rt(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:"".concat((0,n4.bf)(i)),textAlign:"center",cursor:"pointer",userSelect:"none",transition:"all ".concat(t.motionDurationSlow),borderRadius:t.borderRadius,"&-noop":{cursor:"unset"},["&:not(".concat(n,"-switcher-noop):hover")]:{backgroundColor:t.colorBgTextHover},"&_close":{["".concat(n,"-switcher-icon")]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:"1px solid ".concat(t.colorBorder),content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(i).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:"1px solid ".concat(t.colorBorder),content:'""'}}}),["".concat(n,"-checkbox")]:{top:"initial",marginInlineEnd:l,alignSelf:"flex-start",marginTop:t.marginXXS},["".concat(n,"-node-content-wrapper, ").concat(n,"-checkbox + span")]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:"0 ".concat((0,n4.bf)(t.calc(t.paddingXS).div(2).equal())),color:"inherit",lineHeight:"".concat((0,n4.bf)(i)),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:"all ".concat(t.motionDurationMid,", border 0s, line-height 0s, box-shadow 0s"),"&:hover":{backgroundColor:s},["&".concat(n,"-node-selected")]:{backgroundColor:a},["".concat(n,"-iconEle")]:{display:"inline-block",width:i,height:i,lineHeight:"".concat((0,n4.bf)(i)),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},["".concat(n,"-unselectable ").concat(n,"-node-content-wrapper:hover")]:{backgroundColor:"transparent"},["".concat(n,"-node-content-wrapper")]:Object.assign({lineHeight:"".concat((0,n4.bf)(i)),userSelect:"none"},rn(e,t)),["".concat(r,".drop-container")]:{"> [draggable]":{boxShadow:"0 0 0 2px ".concat(t.colorPrimary)}},"&-show-line":{["".concat(n,"-indent")]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(i).div(2).equal(),bottom:t.calc(o).mul(-1).equal(),borderInlineEnd:"1px solid ".concat(t.colorBorder),content:'""'},"&-end":{"&:before":{display:"none"}}}},["".concat(n,"-switcher")]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},["".concat(r,"-leaf-last")]:{["".concat(n,"-switcher")]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:"".concat((0,n4.bf)(t.calc(i).div(2).equal())," !important")}}}}})}},ro=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:o,directoryNodeSelectedColor:i}=e;return{["".concat(t).concat(t,"-directory")]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:"background-color ".concat(e.motionDurationMid),content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},["".concat(t,"-switcher")]:{transition:"color ".concat(e.motionDurationMid)},["".concat(t,"-node-content-wrapper")]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},["&".concat(t,"-node-selected")]:{color:i,background:"transparent"}},"&-selected":{"\n            &:hover::before,\n            &::before\n          ":{background:o},["".concat(t,"-switcher")]:{color:i},["".concat(t,"-node-content-wrapper")]:{color:i,background:"transparent"}}}}}},ri=(e,t)=>{let n=".".concat(e),r="".concat(n,"-treenode"),o=t.calc(t.paddingXS).div(2).equal(),i=(0,n7.IX)(t,{treeCls:n,treeNodeCls:r,treeNodePadding:o});return[rr(e,i),ro(i)]},ra=e=>{let{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},rs=e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},ra(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})};var rl=(0,n9.I$)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,n5.C2)("".concat(n,"-checkbox"),e)},ri(n,e),(0,n8.Z)(e)]},rs);let rc=4;var ru=function(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:i,direction:a="ltr"}=e,s="ltr"===a?"left":"right",l={[s]:-n*i+rc,["ltr"===a?"right":"left"]:0};switch(t){case -1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[s]=i+rc}return r.createElement("div",{style:l,className:"".concat(o,"-drop-indicator")})},rd={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},rf=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:rd}))},rp=r.forwardRef(rf),rh=n(21075),rm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},rg=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:rm}))},rv=r.forwardRef(rg),ry={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},rb=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:ry}))},rw=r.forwardRef(rb),rS=n(85905),rx=e=>{let t;let{prefixCls:n,switcherIcon:o,treeNodeProps:i,showLine:a}=e,{isLeaf:s,expanded:l,loading:c}=i;if(c)return r.createElement(rh.Z,{className:"".concat(n,"-switcher-loading-icon")});if(a&&"object"==typeof a&&(t=a.showLeafIcon),s){if(!a)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(i):t,o="".concat(n,"-switcher-line-custom-icon");return r.isValidElement(e)?(0,rS.Tm)(e,{className:k()(e.props.className||"",o)}):e}return t?r.createElement(n$,{className:"".concat(n,"-switcher-line-icon")}):r.createElement("span",{className:"".concat(n,"-switcher-leaf-line")})}let u="".concat(n,"-switcher-icon"),d="function"==typeof o?o(i):o;return r.isValidElement(d)?(0,rS.Tm)(d,{className:k()(d.props.className||"",u)}):void 0!==d?d:a?l?r.createElement(rv,{className:"".concat(n,"-switcher-line-icon")}):r.createElement(rw,{className:"".concat(n,"-switcher-line-icon")}):r.createElement(rp,{className:u})},rE=r.forwardRef((e,t)=>{var n;let{getPrefixCls:o,direction:i,virtual:a,tree:s}=r.useContext(t5.E_),{prefixCls:l,className:c,showIcon:u=!1,showLine:d,switcherIcon:f,blockNode:p=!1,children:h,checkable:m=!1,selectable:g=!0,draggable:v,motion:y,style:b}=e,w=o("tree",l),S=o(),x=null!=y?y:Object.assign(Object.assign({},(0,n3.Z)(S)),{motionAppear:!1}),E=Object.assign(Object.assign({},e),{checkable:m,selectable:g,showIcon:u,motion:x,blockNode:p,showLine:!!d,dropIndicatorRender:ru}),[C,_,O]=rl(w),[,A]=(0,nr.ZP)(),I=A.paddingXS/2+((null===(n=A.Tree)||void 0===n?void 0:n.titleHeight)||A.controlHeightSM),P=r.useMemo(()=>{if(!v)return!1;let e={};switch(typeof v){case"function":e.nodeDraggable=v;break;case"object":e=Object.assign({},v)}return!1!==e.icon&&(e.icon=e.icon||r.createElement(n2,null)),e},[v]),T=e=>r.createElement(rx,{prefixCls:w,switcherIcon:f,treeNodeProps:e,showLine:d});return C(r.createElement(nq,Object.assign({itemHeight:I,ref:t,virtual:a},E,{style:Object.assign(Object.assign({},null==s?void 0:s.style),b),prefixCls:w,className:k()({["".concat(w,"-icon-hide")]:!u,["".concat(w,"-block-node")]:p,["".concat(w,"-unselectable")]:!g,["".concat(w,"-rtl")]:"rtl"===i},null==s?void 0:s.className,c,_,O),direction:i,checkable:m?r.createElement("span",{className:"".concat(w,"-checkbox-inner")}):m,selectable:g,switcherIcon:T,draggable:P}),h))});let rC=0,r_=1,rk=2;function rO(e,t,n){let{key:r,children:o}=n;function i(e){let i=e[r],a=e[o];!1!==t(i,e)&&rO(a||[],t,n)}e.forEach(i)}function rA(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:o,fieldNames:i}=e,a=[],s=rC;if(r&&r===o)return[r];if(!r||!o)return[];function l(e){return e===r||e===o}return rO(t,e=>{if(s===rk)return!1;if(l(e)){if(a.push(e),s===rC)s=r_;else if(s===r_)return s=rk,!1}else s===r_&&a.push(e);return n.includes(e)},(0,tE.w$)(i)),a}function rI(e,t,n){let r=(0,ey.Z)(t),o=[];return rO(e,(e,t)=>{let n=r.indexOf(e);return -1!==n&&(o.push(t),r.splice(n,1)),!!r.length},(0,tE.w$)(n)),o}var rP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function rT(e){let{isLeaf:t,expanded:n}=e;return t?r.createElement(n$,null):n?r.createElement(nY,null):r.createElement(nJ,null)}function rR(e){let{treeData:t,children:n}=e;return t||(0,tE.zn)(n)}let rM=(e,t)=>{var{defaultExpandAll:n,defaultExpandParent:o,defaultExpandedKeys:i}=e,a=rP(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let s=r.useRef(),l=r.useRef(),c=()=>{let{keyEntities:e}=(0,tE.I8)(rR(a));return n?Object.keys(e):o?tF(a.expandedKeys||i||[],e):a.expandedKeys||i||[]},[u,d]=r.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[f,p]=r.useState(()=>c());r.useEffect(()=>{"selectedKeys"in a&&d(a.selectedKeys)},[a.selectedKeys]),r.useEffect(()=>{"expandedKeys"in a&&p(a.expandedKeys)},[a.expandedKeys]);let h=(e,t)=>{var n;return"expandedKeys"in a||p(e),null===(n=a.onExpand)||void 0===n?void 0:n.call(a,e,t)},m=(e,t)=>{var n;let r;let{multiple:o,fieldNames:i}=a,{node:c,nativeEvent:u}=t,{key:p=""}=c,h=rR(a),m=Object.assign(Object.assign({},t),{selected:!0}),g=(null==u?void 0:u.ctrlKey)||(null==u?void 0:u.metaKey),v=null==u?void 0:u.shiftKey;o&&g?(r=e,s.current=p,l.current=r):o&&v?r=Array.from(new Set([].concat((0,ey.Z)(l.current||[]),(0,ey.Z)(rA({treeData:h,expandedKeys:f,startKey:p,endKey:s.current,fieldNames:i}))))):(r=[p],s.current=p,l.current=r),m.selectedNodes=rI(h,r,i),null===(n=a.onSelect)||void 0===n||n.call(a,r,m),"selectedKeys"in a||d(r)},{getPrefixCls:g,direction:v}=r.useContext(t5.E_),{prefixCls:y,className:b,showIcon:w=!0,expandAction:S="click"}=a,x=rP(a,["prefixCls","className","showIcon","expandAction"]),E=g("tree",y),C=k()("".concat(E,"-directory"),{["".concat(E,"-directory-rtl")]:"rtl"===v},b);return r.createElement(rE,Object.assign({icon:rT,ref:t,blockNode:!0},x,{showIcon:w,expandAction:S,prefixCls:E,className:C,expandedKeys:f,selectedKeys:u,onSelect:m,onExpand:h}))};var rN=r.forwardRef(rM);let rj=rE;rj.DirectoryTree=rN,rj.TreeNode=tP;var rD=rj,rL=n(24663),rB=n(89653),rZ=function(e){let{value:t,onChange:n,filterSearch:o,tablePrefixCls:i,locale:a}=e;return o?r.createElement("div",{className:"".concat(i,"-filter-dropdown-search")},r.createElement(rB.default,{prefix:r.createElement(rL.Z,null),placeholder:a.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:"".concat(i,"-filter-dropdown-search-input")})):null};let rF=e=>{let{keyCode:t}=e;t===nw.Z.ENTER&&e.stopPropagation()};var rz=r.forwardRef((e,t)=>r.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:rF,ref:t},e.children));function rU(e){let t=[];return(e||[]).forEach(e=>{let{value:n,children:r}=e;t.push(n),r&&(t=[].concat((0,ey.Z)(t),(0,ey.Z)(rU(r))))}),t}function rH(e){return e.some(e=>{let{children:t}=e;return t})}function rq(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}function rV(e){let{filters:t,prefixCls:n,filteredKeys:o,filterMultiple:i,searchValue:a,filterSearch:s}=e;return t.map((e,t)=>{let l=String(e.value);if(e.children)return{key:l||t,label:e.text,popupClassName:"".concat(n,"-dropdown-submenu"),children:rV({filters:e.children,prefixCls:n,filteredKeys:o,filterMultiple:i,searchValue:a,filterSearch:s})};let c=i?tV.Z:t$.ZP,u={key:void 0!==e.value?l:t,label:r.createElement(r.Fragment,null,r.createElement(c,{checked:o.includes(l)}),r.createElement("span",null,e.text))};return a.trim()?"function"==typeof s?s(a,e)?u:null:rq(a,e.text)?u:null:u})}function rW(e){return e||[]}var r$=function(e){var t,n;let o,i;let{tablePrefixCls:a,prefixCls:s,column:l,dropdownPrefixCls:u,columnKey:d,filterOnClose:f,filterMultiple:p,filterMode:h="menu",filterSearch:m=!1,filterState:g,triggerFilter:v,locale:y,children:b,getPopupContainer:w,rootClassName:S}=e,{filterDropdownOpen:x,onFilterDropdownOpenChange:E,filterResetToDefaultFilteredValue:C,defaultFilteredValue:_,filterDropdownVisible:O,onFilterDropdownVisibleChange:A}=l,[I,P]=r.useState(!1),T=!!(g&&((null===(t=g.filteredKeys)||void 0===t?void 0:t.length)||g.forceFiltered)),R=e=>{P(e),null==E||E(e),null==A||A(e)},M=null!==(n=null!=x?x:O)&&void 0!==n?n:I,N=null==g?void 0:g.filteredKeys,[j,D]=nm(rW(N)),L=e=>{let{selectedKeys:t}=e;D(t)},B=(e,t)=>{let{node:n,checked:r}=t;p?L({selectedKeys:e}):L({selectedKeys:r&&n.key?[n.key]:[]})};r.useEffect(()=>{I&&L({selectedKeys:rW(N)})},[N]);let[Z,F]=r.useState([]),z=e=>{F(e)},[U,H]=r.useState(""),q=e=>{let{value:t}=e.target;H(t)};r.useEffect(()=>{I||H("")},[I]);let V=e=>{let t=(null==e?void 0:e.length)?e:null;if(null===t&&(!g||!g.filteredKeys)||(0,c.Z)(t,null==g?void 0:g.filteredKeys,!0))return null;v({column:l,key:d,filteredKeys:t})},W=()=>{R(!1),V(j())},$=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&V([]),t&&R(!1),H(""),C?D((_||[]).map(e=>String(e))):D([])},G=function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&R(!1),V(j())},K=(e,t)=>{"trigger"!==t.source||(e&&void 0!==N&&D(rW(N)),R(e),e||l.filterDropdown||!f||W())},Y=k()({["".concat(u,"-menu-without-submenu")]:!rH(l.filters||[])}),X=e=>{e.target.checked?D(rU(null==l?void 0:l.filters).map(e=>String(e))):D([])},Q=e=>{let{filters:t}=e;return(t||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:void 0!==e.value?n:String(t)};return e.children&&(r.children=Q({filters:e.children})),r})},J=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null===(t=e.children)||void 0===t?void 0:t.map(e=>J(e)))||[]})};if("function"==typeof l.filterDropdown)o=l.filterDropdown({prefixCls:"".concat(u,"-custom"),setSelectedKeys:e=>L({selectedKeys:e}),selectedKeys:j(),confirm:G,clearFilters:$,filters:l.filters,visible:M,close:()=>{R(!1)}});else if(l.filterDropdown)o=l.filterDropdown;else{let e=j()||[],t=()=>{let t=r.createElement(nv.Z,{image:nv.Z.PRESENTED_IMAGE_SIMPLE,description:y.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if(0===(l.filters||[]).length)return t;if("tree"===h)return r.createElement(r.Fragment,null,r.createElement(rZ,{filterSearch:m,value:U,onChange:q,tablePrefixCls:a,locale:y}),r.createElement("div",{className:"".concat(a,"-filter-dropdown-tree")},p?r.createElement(tV.Z,{checked:e.length===rU(l.filters).length,indeterminate:e.length>0&&e.length<rU(l.filters).length,className:"".concat(a,"-filter-dropdown-checkall"),onChange:X},y.filterCheckall):null,r.createElement(rD,{checkable:!0,selectable:!1,blockNode:!0,multiple:p,checkStrictly:!p,className:"".concat(u,"-menu"),onCheck:B,checkedKeys:e,selectedKeys:e,showIcon:!1,treeData:Q({filters:l.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:U.trim()?e=>"function"==typeof m?m(U,J(e)):rq(U,e.title):void 0})));let n=rV({filters:l.filters||[],filterSearch:m,prefixCls:s,filteredKeys:j(),filterMultiple:p,searchValue:U}),o=n.every(e=>null===e);return r.createElement(r.Fragment,null,r.createElement(rZ,{filterSearch:m,value:U,onChange:q,tablePrefixCls:a,locale:y}),o?t:r.createElement(ny.Z,{selectable:!0,multiple:p,prefixCls:"".concat(u,"-menu"),className:Y,onSelect:L,onDeselect:L,selectedKeys:e,getPopupContainer:w,openKeys:Z,onOpenChange:z,items:n}))},n=()=>C?(0,c.Z)((_||[]).map(e=>String(e)),e,!0):0===e.length;o=r.createElement(r.Fragment,null,t(),r.createElement("div",{className:"".concat(s,"-dropdown-btns")},r.createElement(ng.ZP,{type:"link",size:"small",disabled:n(),onClick:()=>$()},y.filterReset),r.createElement(ng.ZP,{type:"primary",size:"small",onClick:W},y.filterConfirm)))}l.filterDropdown&&(o=r.createElement(nb.J,{selectable:void 0},o));let ee=()=>r.createElement(rz,{className:"".concat(s,"-dropdown")},o);i="function"==typeof l.filterIcon?l.filterIcon(T):l.filterIcon?l.filterIcon:r.createElement(np,null);let{direction:et}=r.useContext(t5.E_);return r.createElement("div",{className:"".concat(s,"-column")},r.createElement("span",{className:"".concat(a,"-column-title")},b),r.createElement(tW.Z,{dropdownRender:ee,trigger:["click"],open:M,onOpenChange:K,getPopupContainer:w,placement:"rtl"===et?"bottomLeft":"bottomRight",rootClassName:S},r.createElement("span",{role:"button",tabIndex:-1,className:k()("".concat(s,"-trigger"),{active:T}),onClick:e=>{e.stopPropagation()}},i)))};function rG(e,t,n){let r=[];return(e||[]).forEach((e,o)=>{var i;let a=ns(o,n);if(e.filters||"filterDropdown"in e||"onFilter"in e){if("filteredValue"in e){let t=e.filteredValue;"filterDropdown"in e||(t=null!==(i=null==t?void 0:t.map(String))&&void 0!==i?i:t),r.push({column:e,key:na(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:na(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered})}"children"in e&&(r=[].concat((0,ey.Z)(r),(0,ey.Z)(rG(e.children,t,a))))}),r}function rK(e,t,n,o,i,a,s,l,c){return n.map((n,u)=>{let d=ns(u,l),{filterOnClose:f=!0,filterMultiple:p=!0,filterMode:h,filterSearch:m}=n,g=n;if(g.filters||g.filterDropdown){let l=na(g,d),u=o.find(e=>{let{key:t}=e;return l===t});g=Object.assign(Object.assign({},g),{title:o=>r.createElement(r$,{tablePrefixCls:e,prefixCls:"".concat(e,"-filter"),dropdownPrefixCls:t,column:g,columnKey:l,filterState:u,filterOnClose:f,filterMultiple:p,filterMode:h,filterSearch:m,triggerFilter:a,locale:i,getPopupContainer:s,rootClassName:c},nl(n.title,o))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:rK(e,t,g.children,o,i,a,s,d,c)})),g})}function rY(e){let t={};return e.forEach(e=>{let{key:n,filteredKeys:r,column:o}=e,i=n,{filters:a,filterDropdown:s}=o;if(s)t[i]=r||null;else if(Array.isArray(r)){let e=rU(a);t[i]=e.filter(e=>r.includes(String(e)))}else t[i]=null}),t}function rX(e,t,n){return t.reduce((e,r)=>{let{column:{onFilter:o,filters:i},filteredKeys:a}=r;return o&&a&&a.length?e.map(e=>Object.assign({},e)).filter(e=>a.some(r=>{let a=rU(i),s=a.findIndex(e=>String(e)===String(r)),l=-1!==s?a[s]:r;return e[n]&&(e[n]=rX(e[n],t,n)),o(l,e)})):e},e)}let rQ=e=>e.flatMap(e=>"children"in e?[e].concat((0,ey.Z)(rQ(e.children||[]))):[e]);var rJ=function(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:o,onFilterChange:i,getPopupContainer:a,locale:s,rootClassName:l}=e;(0,tq.ln)("Table");let c=r.useMemo(()=>rQ(o||[]),[o]),[u,d]=r.useState(()=>rG(c,!0)),f=r.useMemo(()=>{let e=rG(c,!1);if(0===e.length)return e;let t=!0;if(e.forEach(e=>{let{filteredKeys:n}=e;void 0!==n&&(t=!1)}),t){let e=(c||[]).map((e,t)=>na(e,ns(t)));return u.filter(t=>{let{key:n}=t;return e.includes(n)}).map(t=>{let n=c[e.findIndex(e=>e===t.key)];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})})}return e},[c,u]),p=r.useMemo(()=>rY(f),[f]),h=e=>{let t=f.filter(t=>{let{key:n}=t;return n!==e.key});t.push(e),d(t),i(rY(t),t)};return[e=>rK(t,n,e,f,s,h,a,void 0,l),f,p]};function r0(e,t,n){let o=r.useRef({});return[function(r){if(!o.current||o.current.data!==e||o.current.childrenColumnName!==t||o.current.getRowKey!==n){let r=new Map;function i(e){e.forEach((e,o)=>{let a=n(e,o);r.set(a,e),e&&"object"==typeof e&&t in e&&i(e[t]||[])})}i(e),o.current={data:e,childrenColumnName:t,kvMap:r,getRowKey:n}}return o.current.kvMap.get(r)}]}var r1=n(72694),r2=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let r3=10;function r4(e,t){let n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&"object"==typeof t?t:{}).forEach(t=>{let r=e[t];"function"!=typeof r&&(n[t]=r)}),n}var r5=function(e,t,n){let o=n&&"object"==typeof n?n:{},{total:i=0}=o,a=r2(o,["total"]),[s,l]=(0,r.useState)(()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:r3})),c=(0,r1.Z)(s,a,{total:i>0?i:e}),u=Math.ceil((i||e)/c.pageSize);c.current>u&&(c.current=u||1);let d=(e,t)=>{l({current:null!=e?e:1,pageSize:t||c.pageSize})},f=(e,r)=>{var o;n&&(null===(o=n.onChange)||void 0===o||o.call(n,e,r)),d(e,r),t(e,r||(null==c?void 0:c.pageSize))};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},c),{onChange:f}),d]},r6=n(81228),r8=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:r6.Z}))},r7=r.forwardRef(r8),r9=n(74747),oe=function(e,t){return r.createElement(nd.Z,(0,p.Z)({},e,{ref:t,icon:r9.Z}))},ot=r.forwardRef(oe),on=n(13185);let or="ascend",oo="descend";function oi(e){return"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple}function oa(e){return"function"==typeof e?e:!!e&&"object"==typeof e&&!!e.compare&&e.compare}function os(e,t){return t?e[e.indexOf(t)+1]:e[0]}function ol(e,t,n){let r=[];function o(e,t){r.push({column:e,key:na(e,t),multiplePriority:oi(e),sortOrder:e.sortOrder})}return(e||[]).forEach((e,i)=>{let a=ns(i,n);e.children?("sortOrder"in e&&o(e,a),r=[].concat((0,ey.Z)(r),(0,ey.Z)(ol(e.children,t,a)))):e.sorter&&("sortOrder"in e?o(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:na(e,a),multiplePriority:oi(e),sortOrder:e.defaultSortOrder}))}),r}function oc(e,t,n,o,i,a,s,l){return(t||[]).map((t,c)=>{let u=ns(c,l),d=t;if(d.sorter){let l;let c=d.sortDirections||i,f=void 0===d.showSorterTooltip?s:d.showSorterTooltip,p=na(d,u),h=n.find(e=>{let{key:t}=e;return t===p}),m=h?h.sortOrder:null,g=os(c,m);if(t.sortIcon)l=t.sortIcon({sortOrder:m});else{let t=c.includes(or)&&r.createElement(ot,{className:k()("".concat(e,"-column-sorter-up"),{active:m===or})}),n=c.includes(oo)&&r.createElement(r7,{className:k()("".concat(e,"-column-sorter-down"),{active:m===oo})});l=r.createElement("span",{className:k()("".concat(e,"-column-sorter"),{["".concat(e,"-column-sorter-full")]:!!(t&&n)})},r.createElement("span",{className:"".concat(e,"-column-sorter-inner"),"aria-hidden":"true"},t,n))}let{cancelSort:v,triggerAsc:y,triggerDesc:b}=a||{},w=v;g===oo?w=b:g===or&&(w=y);let S="object"==typeof f?Object.assign({title:w},f):{title:w};d=Object.assign(Object.assign({},d),{className:k()(d.className,{["".concat(e,"-column-sort")]:m}),title:n=>{let o="".concat(e,"-column-sorters"),i=r.createElement("span",{className:"".concat(e,"-column-title")},nl(t.title,n)),a=r.createElement("div",{className:o},i,l);return f?"boolean"!=typeof f&&(null==f?void 0:f.target)==="sorter-icon"?r.createElement("div",{className:"".concat(o," ").concat(e,"-column-sorters-tooltip-target-sorter")},i,r.createElement(on.Z,Object.assign({},S),l)):r.createElement(on.Z,Object.assign({},S),a):a},onHeaderCell:n=>{var r;let i=(null===(r=t.onHeaderCell)||void 0===r?void 0:r.call(t,n))||{},a=i.onClick,s=i.onKeyDown;i.onClick=e=>{o({column:t,key:p,sortOrder:g,multiplePriority:oi(t)}),null==a||a(e)},i.onKeyDown=e=>{e.keyCode===nw.Z.ENTER&&(o({column:t,key:p,sortOrder:g,multiplePriority:oi(t)}),null==s||s(e))};let l=nc(t.title,{}),c=null==l?void 0:l.toString();return m?i["aria-sort"]="ascend"===m?"ascending":"descending":i["aria-label"]=c||"",i.className=k()(i.className,"".concat(e,"-column-has-sorters")),i.tabIndex=0,t.ellipsis&&(i.title=(null!=l?l:"").toString()),i}})}return"children"in d&&(d=Object.assign(Object.assign({},d),{children:oc(e,d.children,n,o,i,a,s,u)})),d})}let ou=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},od=e=>{let t=e.filter(e=>{let{sortOrder:t}=e;return t}).map(ou);if(0===t.length&&e.length){let t=e.length-1;return Object.assign(Object.assign({},ou(e[t])),{column:void 0})}return t.length<=1?t[0]||{}:t};function of(e,t,n){let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),o=e.slice(),i=r.filter(e=>{let{column:{sorter:t},sortOrder:n}=e;return oa(t)&&n});return i.length?o.sort((e,t)=>{for(let n=0;n<i.length;n+=1){let{column:{sorter:r},sortOrder:o}=i[n],a=oa(r);if(a&&o){let n=a(e,t,o);if(0!==n)return o===or?n:-n}}return 0}).map(e=>{let r=e[n];return r?Object.assign(Object.assign({},e),{[n]:of(r,t,n)}):e}):o}function op(e){let{prefixCls:t,mergedColumns:n,onSorterChange:o,sortDirections:i,tableLocale:a,showSorterTooltip:s}=e,[l,c]=r.useState(ol(n,!0)),u=r.useMemo(()=>{let e=!0,t=ol(n,!1);if(!t.length){let e=n.map((e,t)=>na(e,ns(t)));return l.filter(t=>{let{key:n}=t;return e.includes(n)})}let r=[];function o(t){e?r.push(t):r.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let i=null;return t.forEach(t=>{null===i?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:i=!0)):(i&&!1!==t.multiplePriority||(e=!1),o(t))}),r},[n,l]),d=r.useMemo(()=>{var e,t;let n=u.map(e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}});return{sortColumns:n,sortColumn:null===(e=n[0])||void 0===e?void 0:e.column,sortOrder:null===(t=n[0])||void 0===t?void 0:t.order}},[u]),f=e=>{let t;c(t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,ey.Z)(u.filter(t=>{let{key:n}=t;return n!==e.key})),[e]):[e]),o(od(t),t)},p=()=>od(u);return[e=>oc(t,e,u,f,i,a,s),u,d,p]}function oh(e,t){return e.map(e=>{let n=Object.assign({},e);return n.title=nl(e.title,t),"children"in n&&(n.children=oh(n.children,t)),n})}function om(e){return[r.useCallback(t=>oh(t,e),[e])]}var og=e6((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),ov=tu((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),oy=n(66671),ob=e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:o,tableHeaderBg:i,tablePaddingVertical:a,tablePaddingHorizontal:s,calc:l}=e,c="".concat((0,n4.bf)(n)," ").concat(r," ").concat(o),u=(e,r,o)=>({["&".concat(t,"-").concat(e)]:{["> ".concat(t,"-container")]:{["> ".concat(t,"-content, > ").concat(t,"-body")]:{"\n            > table > tbody > tr > th,\n            > table > tbody > tr > td\n          ":{["> ".concat(t,"-expanded-row-fixed")]:{margin:"".concat((0,n4.bf)(l(r).mul(-1).equal()),"\n              ").concat((0,n4.bf)(l(l(o).add(n)).mul(-1).equal()))}}}}}});return{["".concat(t,"-wrapper")]:{["".concat(t).concat(t,"-bordered")]:Object.assign(Object.assign(Object.assign({["> ".concat(t,"-title")]:{border:c,borderBottom:0},["> ".concat(t,"-container")]:{borderInlineStart:c,borderTop:c,["\n            > ".concat(t,"-content,\n            > ").concat(t,"-header,\n            > ").concat(t,"-body,\n            > ").concat(t,"-summary\n          ")]:{"> table":{"\n                > thead > tr > th,\n                > thead > tr > td,\n                > tbody > tr > th,\n                > tbody > tr > td,\n                > tfoot > tr > th,\n                > tfoot > tr > td\n              ":{borderInlineEnd:c},"> thead":{"> tr:not(:last-child) > th":{borderBottom:c},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n                > thead > tr,\n                > tbody > tr,\n                > tfoot > tr\n              ":{["> ".concat(t,"-cell-fix-right-first::after")]:{borderInlineEnd:c}},"\n                > tbody > tr > th,\n                > tbody > tr > td\n              ":{["> ".concat(t,"-expanded-row-fixed")]:{margin:"".concat((0,n4.bf)(l(a).mul(-1).equal())," ").concat((0,n4.bf)(l(l(s).add(n)).mul(-1).equal())),"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:c,content:'""'}}}}}},["&".concat(t,"-scroll-horizontal")]:{["> ".concat(t,"-container > ").concat(t,"-body")]:{"> table > tbody":{["\n                > tr".concat(t,"-expanded-row,\n                > tr").concat(t,"-placeholder\n              ")]:{"> th, > td":{borderInlineEnd:0}}}}}},u("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),u("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{["> ".concat(t,"-footer")]:{border:c,borderTop:0}}),["".concat(t,"-cell")]:{["".concat(t,"-container:first-child")]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:"0 ".concat((0,n4.bf)(n)," 0 ").concat((0,n4.bf)(n)," ").concat(i)}},["".concat(t,"-bordered ").concat(t,"-cell-scrollbar")]:{borderInlineEnd:c}}}},ow=e=>{let{componentCls:t}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-cell-ellipsis")]:Object.assign(Object.assign({},n6.vS),{wordBreak:"keep-all",["\n          &".concat(t,"-cell-fix-left-last,\n          &").concat(t,"-cell-fix-right-first\n        ")]:{overflow:"visible",["".concat(t,"-cell-content")]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},["".concat(t,"-column-title")]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},oS=e=>{let{componentCls:t}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-tbody > tr").concat(t,"-placeholder")]:{textAlign:"center",color:e.colorTextDisabled,"\n          &:hover > th,\n          &:hover > td,\n        ":{background:e.colorBgContainer}}}}},ox=n(21334),oE=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:o,paddingXS:i,lineType:a,tableBorderColor:s,tableExpandIconBg:l,tableExpandColumnWidth:c,borderRadius:u,tablePaddingVertical:d,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:h,expandIconMarginTop:m,expandIconSize:g,expandIconHalfInner:v,expandIconScale:y,calc:b}=e,w="".concat((0,n4.bf)(o)," ").concat(a," ").concat(s),S=b(h).sub(o).equal();return{["".concat(t,"-wrapper")]:{["".concat(t,"-expand-icon-col")]:{width:c},["".concat(t,"-row-expand-icon-cell")]:{textAlign:"center",["".concat(t,"-row-expand-icon")]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},["".concat(t,"-row-indent")]:{height:1,float:"left"},["".concat(t,"-row-expand-icon")]:Object.assign(Object.assign({},(0,ox.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:g,height:g,padding:0,color:"inherit",lineHeight:(0,n4.bf)(g),background:l,border:w,borderRadius:u,transform:"scale(".concat(y,")"),transition:"all ".concat(r),userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:"transform ".concat(r," ease-out"),content:'""'},"&::before":{top:v,insetInlineEnd:S,insetInlineStart:S,height:o},"&::after":{top:S,bottom:S,insetInlineStart:v,width:o,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),["".concat(t,"-row-indent + ").concat(t,"-row-expand-icon")]:{marginTop:m,marginInlineEnd:i},["tr".concat(t,"-expanded-row")]:{"&, &:hover":{"> th, > td":{background:p}},["".concat(n,"-descriptions-view")]:{display:"flex",table:{flex:"auto",width:"100%"}}},["".concat(t,"-expanded-row-fixed")]:{position:"relative",margin:"".concat((0,n4.bf)(b(d).mul(-1).equal())," ").concat((0,n4.bf)(b(f).mul(-1).equal())),padding:"".concat((0,n4.bf)(d)," ").concat((0,n4.bf)(f))}}}},oC=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:o,tableFilterDropdownSearchWidth:i,paddingXXS:a,paddingXS:s,colorText:l,lineWidth:c,lineType:u,tableBorderColor:d,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:h,borderRadius:m,motionDurationSlow:g,colorTextDescription:v,colorPrimary:y,tableHeaderFilterActiveBg:b,colorTextDisabled:w,tableFilterDropdownBg:S,tableFilterDropdownHeight:x,controlItemBgHover:E,controlItemBgActive:C,boxShadowSecondary:_,filterDropdownMenuBg:k,calc:O}=e,A="".concat(n,"-dropdown"),I="".concat(t,"-filter-dropdown"),P="".concat(n,"-tree"),T="".concat((0,n4.bf)(c)," ").concat(u," ").concat(d);return[{["".concat(t,"-wrapper")]:{["".concat(t,"-filter-column")]:{display:"flex",justifyContent:"space-between"},["".concat(t,"-filter-trigger")]:{position:"relative",display:"flex",alignItems:"center",marginBlock:O(a).mul(-1).equal(),marginInline:"".concat((0,n4.bf)(a)," ").concat((0,n4.bf)(O(h).div(2).mul(-1).equal())),padding:"0 ".concat((0,n4.bf)(a)),color:f,fontSize:p,borderRadius:m,cursor:"pointer",transition:"all ".concat(g),"&:hover":{color:v,background:b},"&.active":{color:y}}}},{["".concat(n,"-dropdown")]:{[I]:Object.assign(Object.assign({},(0,n6.Wf)(e)),{minWidth:o,backgroundColor:S,borderRadius:m,boxShadow:_,overflow:"hidden",["".concat(A,"-menu")]:{maxHeight:x,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:k,"&:empty::after":{display:"block",padding:"".concat((0,n4.bf)(s)," 0"),color:w,fontSize:p,textAlign:"center",content:'"Not Found"'}},["".concat(I,"-tree")]:{paddingBlock:"".concat((0,n4.bf)(s)," 0"),paddingInline:s,[P]:{padding:0},["".concat(P,"-treenode ").concat(P,"-node-content-wrapper:hover")]:{backgroundColor:E},["".concat(P,"-treenode-checkbox-checked ").concat(P,"-node-content-wrapper")]:{"&, &:hover":{backgroundColor:C}}},["".concat(I,"-search")]:{padding:s,borderBottom:T,"&-input":{input:{minWidth:i},[r]:{color:w}}},["".concat(I,"-checkall")]:{width:"100%",marginBottom:a,marginInlineStart:a},["".concat(I,"-btns")]:{display:"flex",justifyContent:"space-between",padding:"".concat((0,n4.bf)(O(s).sub(c).equal())," ").concat((0,n4.bf)(s)),overflow:"hidden",borderTop:T}})}},{["".concat(n,"-dropdown ").concat(I,", ").concat(I,"-submenu")]:{["".concat(n,"-checkbox-wrapper + span")]:{paddingInlineStart:s,color:l},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},o_=e=>{let{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:o,zIndexTableFixed:i,tableBg:a,zIndexTableSticky:s,calc:l}=e,c=r;return{["".concat(t,"-wrapper")]:{["\n        ".concat(t,"-cell-fix-left,\n        ").concat(t,"-cell-fix-right\n      ")]:{position:"sticky !important",zIndex:i,background:a},["\n        ".concat(t,"-cell-fix-left-first::after,\n        ").concat(t,"-cell-fix-left-last::after\n      ")]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:l(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:"box-shadow ".concat(o),content:'""',pointerEvents:"none"},["".concat(t,"-cell-fix-left-all::after")]:{display:"none"},["\n        ".concat(t,"-cell-fix-right-first::after,\n        ").concat(t,"-cell-fix-right-last::after\n      ")]:{position:"absolute",top:0,bottom:l(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:"box-shadow ".concat(o),content:'""',pointerEvents:"none"},["".concat(t,"-container")]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:l(s).add(1).equal({unit:!1}),width:30,transition:"box-shadow ".concat(o),content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},["".concat(t,"-ping-left")]:{["&:not(".concat(t,"-has-fix-left) ").concat(t,"-container::before")]:{boxShadow:"inset 10px 0 8px -8px ".concat(c)},["\n          ".concat(t,"-cell-fix-left-first::after,\n          ").concat(t,"-cell-fix-left-last::after\n        ")]:{boxShadow:"inset 10px 0 8px -8px ".concat(c)},["".concat(t,"-cell-fix-left-last::before")]:{backgroundColor:"transparent !important"}},["".concat(t,"-ping-right")]:{["&:not(".concat(t,"-has-fix-right) ").concat(t,"-container::after")]:{boxShadow:"inset -10px 0 8px -8px ".concat(c)},["\n          ".concat(t,"-cell-fix-right-first::after,\n          ").concat(t,"-cell-fix-right-last::after\n        ")]:{boxShadow:"inset -10px 0 8px -8px ".concat(c)}},["".concat(t,"-fixed-column-gapped")]:{["\n        ".concat(t,"-cell-fix-left-first::after,\n        ").concat(t,"-cell-fix-left-last::after,\n        ").concat(t,"-cell-fix-right-first::after,\n        ").concat(t,"-cell-fix-right-last::after\n      ")]:{boxShadow:"none"}}}}},ok=e=>{let{componentCls:t,antCls:n,margin:r}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-pagination").concat(n,"-pagination")]:{margin:"".concat((0,n4.bf)(r)," 0")},["".concat(t,"-pagination")]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},oO=e=>{let{componentCls:t,tableRadius:n}=e;return{["".concat(t,"-wrapper")]:{[t]:{["".concat(t,"-title, ").concat(t,"-header")]:{borderRadius:"".concat((0,n4.bf)(n)," ").concat((0,n4.bf)(n)," 0 0")},["".concat(t,"-title + ").concat(t,"-container")]:{borderStartStartRadius:0,borderStartEndRadius:0,["".concat(t,"-header, table")]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:"0 0 ".concat((0,n4.bf)(n)," ").concat((0,n4.bf)(n))}}}}},oA=e=>{let{componentCls:t}=e;return{["".concat(t,"-wrapper-rtl")]:{direction:"rtl",table:{direction:"rtl"},["".concat(t,"-pagination-left")]:{justifyContent:"flex-end"},["".concat(t,"-pagination-right")]:{justifyContent:"flex-start"},["".concat(t,"-row-expand-icon")]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},["".concat(t,"-container")]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},["".concat(t,"-row-indent")]:{float:"right"}}}}},oI=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:o,padding:i,paddingXS:a,headerIconColor:s,headerIconHoverColor:l,tableSelectionColumnWidth:c,tableSelectedRowBg:u,tableSelectedRowHoverBg:d,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:h}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-selection-col")]:{width:c,["&".concat(t,"-selection-col-with-dropdown")]:{width:h(c).add(o).add(h(i).div(4)).equal()}},["".concat(t,"-bordered ").concat(t,"-selection-col")]:{width:h(c).add(h(a).mul(2)).equal(),["&".concat(t,"-selection-col-with-dropdown")]:{width:h(c).add(o).add(h(i).div(4)).add(h(a).mul(2)).equal()}},["\n        table tr th".concat(t,"-selection-column,\n        table tr td").concat(t,"-selection-column,\n        ").concat(t,"-selection-column\n      ")]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",["".concat(n,"-radio-wrapper")]:{marginInlineEnd:0}},["table tr th".concat(t,"-selection-column").concat(t,"-cell-fix-left")]:{zIndex:e.zIndexTableFixed+1},["table tr th".concat(t,"-selection-column::after")]:{backgroundColor:"transparent !important"},["".concat(t,"-selection")]:{position:"relative",display:"inline-flex",flexDirection:"column"},["".concat(t,"-selection-extra")]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),marginInlineStart:"100%",paddingInlineStart:(0,n4.bf)(h(p).div(4).equal()),[r]:{color:s,fontSize:o,verticalAlign:"baseline","&:hover":{color:l}}},["".concat(t,"-tbody")]:{["".concat(t,"-row")]:{["&".concat(t,"-row-selected")]:{["> ".concat(t,"-cell")]:{background:u,"&-row-hover":{background:d}}},["> ".concat(t,"-cell-row-hover")]:{background:f}}}}}},oP=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,o=(e,o,i,a)=>({["".concat(t).concat(t,"-").concat(e)]:{fontSize:a,["\n        ".concat(t,"-title,\n        ").concat(t,"-footer,\n        ").concat(t,"-cell,\n        ").concat(t,"-thead > tr > th,\n        ").concat(t,"-tbody > tr > th,\n        ").concat(t,"-tbody > tr > td,\n        tfoot > tr > th,\n        tfoot > tr > td\n      ")]:{padding:"".concat((0,n4.bf)(o)," ").concat((0,n4.bf)(i))},["".concat(t,"-filter-trigger")]:{marginInlineEnd:(0,n4.bf)(r(i).div(2).mul(-1).equal())},["".concat(t,"-expanded-row-fixed")]:{margin:"".concat((0,n4.bf)(r(o).mul(-1).equal())," ").concat((0,n4.bf)(r(i).mul(-1).equal()))},["".concat(t,"-tbody")]:{["".concat(t,"-wrapper:only-child ").concat(t)]:{marginBlock:(0,n4.bf)(r(o).mul(-1).equal()),marginInline:"".concat((0,n4.bf)(r(n).sub(i).equal())," ").concat((0,n4.bf)(r(i).mul(-1).equal()))}},["".concat(t,"-selection-extra")]:{paddingInlineStart:(0,n4.bf)(r(i).div(4).equal())}}});return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},oT=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:o,headerIconHoverColor:i}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-thead th").concat(t,"-column-has-sorters")]:{outline:"none",cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},["\n          &".concat(t,"-cell-fix-left:hover,\n          &").concat(t,"-cell-fix-right:hover\n        ")]:{background:e.tableFixedHeaderSortActiveBg}},["".concat(t,"-thead th").concat(t,"-column-sort")]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},["td".concat(t,"-column-sort")]:{background:e.tableBodySortBg},["".concat(t,"-column-title")]:{position:"relative",zIndex:1,flex:1},["".concat(t,"-column-sorters")]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},["".concat(t,"-column-sorters-tooltip-target-sorter")]:{"&::after":{content:"none"}},["".concat(t,"-column-sorter")]:{marginInlineStart:n,color:o,fontSize:0,transition:"color ".concat(e.motionDurationSlow),"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},["".concat(t,"-column-sorter-up + ").concat(t,"-column-sorter-down")]:{marginTop:"-0.3em"}},["".concat(t,"-column-sorters:hover ").concat(t,"-column-sorter")]:{color:i}}}},oR=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:o,tableScrollThumbSize:i,tableScrollBg:a,zIndexTableSticky:s,stickyScrollBarBorderRadius:l,lineWidth:c,lineType:u,tableBorderColor:d}=e,f="".concat((0,n4.bf)(c)," ").concat(u," ").concat(d);return{["".concat(t,"-wrapper")]:{["".concat(t,"-sticky")]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:"".concat((0,n4.bf)(i)," !important"),zIndex:s,display:"flex",alignItems:"center",background:a,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:r,borderRadius:l,transition:"all ".concat(e.motionDurationSlow,", transform none"),position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:o}}}}}}},oM=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:o}=e,i="".concat((0,n4.bf)(n)," ").concat(e.lineType," ").concat(r);return{["".concat(t,"-wrapper")]:{["".concat(t,"-summary")]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},["div".concat(t,"-summary")]:{boxShadow:"0 ".concat((0,n4.bf)(o(n).mul(-1).equal())," 0 ").concat(r)}}}},oN=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:o,tableBorderColor:i,calc:a}=e,s="".concat((0,n4.bf)(r)," ").concat(o," ").concat(i),l="".concat(t,"-expanded-row-cell");return{["".concat(t,"-wrapper")]:{["".concat(t,"-tbody-virtual")]:{["".concat(t,"-row:not(tr)")]:{display:"flex",boxSizing:"border-box",width:"100%"},["".concat(t,"-cell")]:{borderBottom:s,transition:"background ".concat(n)},["".concat(t,"-expanded-row")]:{["".concat(l).concat(l,"-fixed")]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:"calc(var(--virtual-width) - ".concat((0,n4.bf)(r),")"),borderInlineEnd:"none"}}},["".concat(t,"-bordered")]:{["".concat(t,"-tbody-virtual")]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},["".concat(t,"-cell")]:{borderInlineEnd:s,["&".concat(t,"-cell-fix-right-first:before")]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:s}}},["&".concat(t,"-virtual")]:{["".concat(t,"-placeholder ").concat(t,"-cell")]:{borderInlineEnd:s,borderBottom:s}}}}}};let oj=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:o,tableExpandColumnWidth:i,lineWidth:a,lineType:s,tableBorderColor:l,tableFontSize:c,tableBg:u,tableRadius:d,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:h,tableHeaderCellSplitColor:m,tableFooterTextColor:g,tableFooterBg:v,calc:y}=e,b="".concat((0,n4.bf)(a)," ").concat(s," ").concat(l);return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,n6.dF)()),{[t]:Object.assign(Object.assign({},(0,n6.Wf)(e)),{fontSize:c,background:u,borderRadius:"".concat((0,n4.bf)(d)," ").concat((0,n4.bf)(d)," 0 0"),scrollbarColor:"".concat(e.tableScrollThumbBg," ").concat(e.tableScrollBg)}),table:{width:"100%",textAlign:"start",borderRadius:"".concat((0,n4.bf)(d)," ").concat((0,n4.bf)(d)," 0 0"),borderCollapse:"separate",borderSpacing:0},["\n          ".concat(t,"-cell,\n          ").concat(t,"-thead > tr > th,\n          ").concat(t,"-tbody > tr > th,\n          ").concat(t,"-tbody > tr > td,\n          tfoot > tr > th,\n          tfoot > tr > td\n        ")]:{position:"relative",padding:"".concat((0,n4.bf)(r)," ").concat((0,n4.bf)(o)),overflowWrap:"break-word"},["".concat(t,"-title")]:{padding:"".concat((0,n4.bf)(r)," ").concat((0,n4.bf)(o))},["".concat(t,"-thead")]:{"\n          > tr > th,\n          > tr > td\n        ":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:h,borderBottom:b,transition:"background ".concat(p," ease"),"&[colspan]:not([colspan='1'])":{textAlign:"center"},["&:not(:last-child):not(".concat(t,"-selection-column):not(").concat(t,"-row-expand-icon-cell):not([colspan])::before")]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:m,transform:"translateY(-50%)",transition:"background-color ".concat(p),content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},["".concat(t,"-tbody")]:{"> tr":{"> th, > td":{transition:"background ".concat(p,", border-color ").concat(p),borderBottom:b,["\n              > ".concat(t,"-wrapper:only-child,\n              > ").concat(t,"-expanded-row-fixed > ").concat(t,"-wrapper:only-child\n            ")]:{[t]:{marginBlock:(0,n4.bf)(y(r).mul(-1).equal()),marginInline:"".concat((0,n4.bf)(y(i).sub(o).equal()),"\n                ").concat((0,n4.bf)(y(o).mul(-1).equal())),["".concat(t,"-tbody > tr:last-child > td")]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:h,borderBottom:b,transition:"background ".concat(p," ease")}}},["".concat(t,"-footer")]:{padding:"".concat((0,n4.bf)(r)," ").concat((0,n4.bf)(o)),color:g,background:v}})}},oD=e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:o,colorFillContent:i,controlItemBgActive:a,controlItemBgActiveHover:s,padding:l,paddingSM:c,paddingXS:u,colorBorderSecondary:d,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:h,fontSize:m,fontSizeSM:g,lineHeight:v,lineWidth:y,colorIcon:b,colorIconHover:w,opacityLoading:S,controlInteractiveSize:x}=e,E=new oy.C(o).onBackground(n).toHexShortString(),C=new oy.C(i).onBackground(n).toHexShortString(),_=new oy.C(t).onBackground(n).toHexShortString(),k=new oy.C(b),O=new oy.C(w),A=x/2-y,I=2*A+3*y;return{headerBg:_,headerColor:r,headerSortActiveBg:E,headerSortHoverBg:C,bodySortBg:_,rowHoverBg:_,rowSelectedBg:a,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:l,cellPaddingInline:l,cellPaddingBlockMD:c,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:d,headerBorderRadius:f,footerBg:_,footerColor:r,cellFontSize:m,cellFontSizeMD:m,cellFontSizeSM:m,headerSplitColor:d,fixedHeaderSortActiveBg:E,headerFilterHoverBg:i,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:h,stickyScrollBarBorderRadius:100,expandIconMarginTop:(m*v-3*y)/2-Math.ceil((1.4*g-3*y)/2),headerIconColor:k.clone().setAlpha(k.getAlpha()*S).toRgbString(),headerIconHoverColor:O.clone().setAlpha(O.getAlpha()*S).toRgbString(),expandIconHalfInner:A,expandIconSize:I,expandIconScale:x/I}};var oL=(0,n9.I$)("Table",e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:o,headerBg:i,headerColor:a,headerSortActiveBg:s,headerSortHoverBg:l,bodySortBg:c,rowHoverBg:u,rowSelectedBg:d,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:h,cellPaddingInline:m,cellPaddingBlockMD:g,cellPaddingInlineMD:v,cellPaddingBlockSM:y,cellPaddingInlineSM:b,borderColor:w,footerBg:S,footerColor:x,headerBorderRadius:E,cellFontSize:C,cellFontSizeMD:_,cellFontSizeSM:k,headerSplitColor:O,fixedHeaderSortActiveBg:A,headerFilterHoverBg:I,filterDropdownBg:P,expandIconBg:T,selectionColumnWidth:R,stickyScrollBarBg:M,calc:N}=e,j=2,D=(0,n7.IX)(e,{tableFontSize:C,tableBg:r,tableRadius:E,tablePaddingVertical:h,tablePaddingHorizontal:m,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:v,tablePaddingVerticalSmall:y,tablePaddingHorizontalSmall:b,tableBorderColor:w,tableHeaderTextColor:a,tableHeaderBg:i,tableFooterTextColor:x,tableFooterBg:S,tableHeaderCellSplitColor:O,tableHeaderSortBg:s,tableHeaderSortHoverBg:l,tableBodySortBg:c,tableFixedHeaderSortActiveBg:A,tableHeaderFilterActiveBg:I,tableFilterDropdownBg:P,tableRowHoverBg:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,zIndexTableFixed:j,zIndexTableSticky:j+1,tableFontSizeMiddle:_,tableFontSizeSmall:k,tableSelectionColumnWidth:R,tableExpandIconBg:T,tableExpandColumnWidth:N(o).add(N(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:M,tableScrollThumbBgHover:t,tableScrollBg:n});return[oj(D),ok(D),oM(D),oT(D),oC(D),ob(D),oO(D),oE(D),oM(D),oS(D),oI(D),o_(D),oR(D),ow(D),oP(D),oA(D),oN(D)]},oD,{unitless:{expandIconScale:!0}});let oB=[],oZ=(e,t)=>{var n,o;let a,s,l;let{prefixCls:c,className:u,rootClassName:d,style:f,size:p,bordered:h,dropdownPrefixCls:m,dataSource:g,pagination:v,rowSelection:y,rowKey:b="key",rowClassName:w,columns:S,children:x,childrenColumnName:E,onChange:C,getPopupContainer:_,loading:O,expandIcon:A,expandable:I,expandedRowRender:P,expandIconColumnIndex:T,indentSize:R,scroll:M,sortDirections:N,locale:j,showSorterTooltip:D={target:"full-header"},virtual:L}=e;(0,tq.ln)("Table");let B=r.useMemo(()=>S||eT(x),[S,x]),Z=r.useMemo(()=>B.some(e=>e.responsive),[B]),F=(0,t9.Z)(Z),z=r.useMemo(()=>{let e=new Set(Object.keys(F).filter(e=>F[e]));return B.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[B,F]),U=(0,t1.Z)(e,["className","style","columns"]),{locale:H=ne.Z,direction:q,table:V,renderEmpty:W,getPrefixCls:$,getPopupContainer:G}=r.useContext(t5.E_),K=(0,t7.Z)(p),Y=Object.assign(Object.assign({},H.Table),j),X=g||oB,Q=$("table",c),J=$("dropdown",m),[,ee]=(0,nr.ZP)(),et=(0,t8.Z)(Q),[en,er,eo]=oL(Q,et),ei=Object.assign(Object.assign({childrenColumnName:E,expandIconColumnIndex:T},I),{expandIcon:null!==(n=null==I?void 0:I.expandIcon)&&void 0!==n?n:null===(o=null==V?void 0:V.expandable)||void 0===o?void 0:o.expandIcon}),{childrenColumnName:ea="children"}=ei,es=r.useMemo(()=>X.some(e=>null==e?void 0:e[ea])?"nest":P||(null==I?void 0:I.expandedRowRender)?"row":null,[X]),el={body:r.useRef()},ec=ni(Q),eu=r.useRef(null),ed=r.useRef(null);t3(t,()=>Object.assign(Object.assign({},ed.current),{nativeElement:eu.current}));let ef=r.useMemo(()=>"function"==typeof b?b:e=>null==e?void 0:e[b],[b]),[ep]=r0(X,ea,ef),eh={},em=function(e,t){var n,r,o,i;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=Object.assign(Object.assign({},eh),e);a&&(null===(n=eh.resetPagination)||void 0===n||n.call(eh),(null===(r=s.pagination)||void 0===r?void 0:r.current)&&(s.pagination.current=1),v&&(null===(o=v.onChange)||void 0===o||o.call(v,1,null===(i=s.pagination)||void 0===i?void 0:i.pageSize))),M&&!1!==M.scrollToFirstRowOnChange&&el.body.current&&(0,t4.Z)(0,{getContainer:()=>el.body.current}),null==C||C(s.pagination,s.filters,s.sorter,{currentDataSource:rX(of(X,s.sorterStates,ea),s.filterStates,ea),action:t})},[eg,ev,ey,eb]=op({prefixCls:Q,mergedColumns:z,onSorterChange:(e,t)=>{em({sorter:e,sorterStates:t},"sort",!1)},sortDirections:N||["ascend","descend"],tableLocale:Y,showSorterTooltip:D}),ew=r.useMemo(()=>of(X,ev,ea),[X,ev]);eh.sorter=eb(),eh.sorterStates=ev;let[eS,ex,eE]=rJ({prefixCls:Q,locale:Y,dropdownPrefixCls:J,mergedColumns:z,onFilterChange:(e,t)=>{em({filters:e,filterStates:t},"filter",!0)},getPopupContainer:_||G,rootClassName:k()(d,et)}),eC=rX(ew,ex,ea);eh.filters=eE,eh.filterStates=ex;let[e_]=om(r.useMemo(()=>{let e={};return Object.keys(eE).forEach(t=>{null!==eE[t]&&(e[t]=eE[t])}),Object.assign(Object.assign({},ey),{filters:e})},[ey,eE])),ek=(e,t)=>{em({pagination:Object.assign(Object.assign({},eh.pagination),{current:e,pageSize:t})},"paginate")},[eO,eA]=r5(eC.length,ek,v);eh.pagination=!1===v?{}:r4(eO,v),eh.resetPagination=eA;let eI=r.useMemo(()=>{if(!1===v||!eO.pageSize)return eC;let{current:e=1,total:t,pageSize:n=r3}=eO;return eC.length<t?eC.length>n?eC.slice((e-1)*n,e*n):eC:eC.slice((e-1)*n,e*n)},[!!v,eC,null==eO?void 0:eO.current,null==eO?void 0:eO.pageSize,null==eO?void 0:eO.total]),[eP,eR]=t0({prefixCls:Q,data:eC,pageData:eI,getRowKey:ef,getRecordByKey:ep,expandType:es,childrenColumnName:ea,locale:Y,getPopupContainer:_||G},y),eM=(e,t,n)=>{let r;return r="function"==typeof w?k()(w(e,t,n)):k()(w),k()({["".concat(Q,"-row-selected")]:eR.has(ef(e,t))},r)};ei.__PARENT_RENDER_ICON__=ei.expandIcon,ei.expandIcon=ei.expandIcon||A||no(Y),"nest"===es&&void 0===ei.expandIconColumnIndex?ei.expandIconColumnIndex=y?1:0:ei.expandIconColumnIndex>0&&y&&(ei.expandIconColumnIndex-=1),"number"!=typeof ei.indentSize&&(ei.indentSize="number"==typeof R?R:15);let eN=r.useCallback(e=>e_(eP(eS(eg(e)))),[eg,eS,eP]);if(!1!==v&&(null==eO?void 0:eO.total)){let e;e=eO.size?eO.size:"small"===K||"middle"===K?"small":void 0;let t=t=>r.createElement(nt.Z,Object.assign({},eO,{className:k()("".concat(Q,"-pagination ").concat(Q,"-pagination-").concat(t),eO.className),size:e})),n="rtl"===q?"left":"right",{position:o}=eO;if(null!==o&&Array.isArray(o)){let e=o.find(e=>e.includes("top")),r=o.find(e=>e.includes("bottom")),i=o.every(e=>"none"==="".concat(e));e||r||i||(s=t(n)),e&&(a=t(e.toLowerCase().replace("top",""))),r&&(s=t(r.toLowerCase().replace("bottom","")))}else s=t(n)}"boolean"==typeof O?l={spinning:O}:"object"==typeof O&&(l=Object.assign({spinning:!0},O));let ej=k()(eo,et,"".concat(Q,"-wrapper"),null==V?void 0:V.className,{["".concat(Q,"-wrapper-rtl")]:"rtl"===q},u,d,er),eD=Object.assign(Object.assign({},null==V?void 0:V.style),f),eL=void 0!==(null==j?void 0:j.emptyText)?j.emptyText:(null==W?void 0:W("Table"))||r.createElement(t6.Z,{componentName:"Table"}),eB=L?ov:og,eZ={},eF=r.useMemo(()=>{let{fontSize:e,lineHeight:t,padding:n,paddingXS:r,paddingSM:o}=ee,i=Math.floor(e*t);switch(K){case"large":return 2*n+i;case"small":return 2*r+i;default:return 2*o+i}},[ee,K]);return L&&(eZ.listItemHeight=eF),en(r.createElement("div",{ref:eu,className:ej,style:eD},r.createElement(nn.Z,Object.assign({spinning:!1},l),a,r.createElement(eB,Object.assign({},eZ,U,{ref:ed,columns:z,direction:q,expandable:ei,prefixCls:Q,className:k()({["".concat(Q,"-middle")]:"middle"===K,["".concat(Q,"-small")]:"small"===K,["".concat(Q,"-bordered")]:h,["".concat(Q,"-empty")]:0===X.length},eo,et,er),data:eI,rowKey:ef,rowClassName:eM,emptyText:eL,internalHooks:i,internalRefs:el,transformColumns:eN,getContainerWidth:ec})),s)))};var oF=r.forwardRef(oZ);let oz=(e,t)=>{let n=r.useRef(0);return n.current+=1,r.createElement(oF,Object.assign({},e,{ref:t,_renderTimes:n.current}))},oU=r.forwardRef(oz);oU.SELECTION_COLUMN=tG,oU.EXPAND_COLUMN=o,oU.SELECTION_ALL=tK,oU.SELECTION_INVERT=tY,oU.SELECTION_NONE=tX,oU.Column=td,oU.ColumnGroup=tf,oU.Summary=Q;var oH=oU},17303:function(e,t,n){"use strict";n.d(t,{Z:function(){return ez}});var r=n(44194),o=n(40153),i=n(21740),a=n(27820),s=n(16892),l=n(72654),c=function(e,t){return r.createElement(l.Z,(0,a.Z)({},e,{ref:t,icon:s.Z}))},u=r.forwardRef(c),d=n(51865),f=n.n(d),p=n(52986),h=n(33581),m=n(7732),g=n(24335),v=n(92486),y=n(45571),b=n(97719),w=(0,r.createContext)(null),S=n(70826),x=n(60118),E=n(61372),C=n(64198),_=n(30716),k=function(e){var t=e.activeTabOffset,n=e.horizontal,o=e.rtl,i=e.indicator,a=void 0===i?{}:i,s=a.size,l=a.align,c=void 0===l?"center":l,u=(0,r.useState)(),d=(0,m.Z)(u,2),f=d[0],p=d[1],h=(0,r.useRef)(),g=r.useCallback(function(e){return"function"==typeof s?s(e):"number"==typeof s?s:e},[s]);function v(){_.Z.cancel(h.current)}return(0,r.useEffect)(function(){var e={};if(t){if(n){e.width=g(t.width);var r=o?"right":"left";"start"===c&&(e[r]=t[r]),"center"===c&&(e[r]=t[r]+t.width/2,e.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===c&&(e[r]=t[r]+t.width,e.transform="translateX(-100%)")}else e.height=g(t.height),"start"===c&&(e.top=t.top),"center"===c&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===c&&(e.top=t.top+t.height,e.transform="translateY(-100%)")}return v(),h.current=(0,_.Z)(function(){p(e)}),v},[t,n,o,c,g]),{style:f}},O={width:0,height:0,left:0,top:0};function A(e,t,n){return(0,r.useMemo)(function(){for(var n=new Map,r=t.get(null===(a=e[0])||void 0===a?void 0:a.key)||O,o=r.left+r.width,i=0;i<e.length;i+=1){var a,s,l=e[i].key,c=t.get(l);c||(c=t.get(null===(s=e[i-1])||void 0===s?void 0:s.key)||O);var u=n.get(l)||(0,h.Z)({},c);u.right=o-u.left-u.width,n.set(l,u)}return n},[e.map(function(e){return e.key}).join("_"),t,n])}function I(e,t){var n=r.useRef(e),o=r.useState({}),i=(0,m.Z)(o,2)[1];function a(e){var r="function"==typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,i({})}return[n.current,a]}var P=.1,T=.01,R=20,M=.9046104802746175;function N(e,t){var n=(0,r.useState)(),o=(0,m.Z)(n,2),i=o[0],a=o[1],s=(0,r.useState)(0),l=(0,m.Z)(s,2),c=l[0],u=l[1],d=(0,r.useState)(0),f=(0,m.Z)(d,2),p=f[0],h=f[1],g=(0,r.useState)(),v=(0,m.Z)(g,2),y=v[0],b=v[1],w=(0,r.useRef)();function S(e){var t=e.touches[0];a({x:t.screenX,y:t.screenY}),window.clearInterval(w.current)}function x(e){if(i){e.preventDefault();var n=e.touches[0],r=n.screenX,o=n.screenY;a({x:r,y:o});var s=r-i.x,l=o-i.y;t(s,l);var d=Date.now();u(d),h(d-c),b({x:s,y:l})}}function E(){if(i&&(a(null),b(null),y)){var e=y.x/p,n=y.y/p;if(!(Math.max(Math.abs(e),Math.abs(n))<P)){var r=e,o=n;w.current=window.setInterval(function(){if(Math.abs(r)<T&&Math.abs(o)<T){window.clearInterval(w.current);return}r*=M,o*=M,t(r*R,o*R)},R)}}}var C=(0,r.useRef)();function _(e){var n=e.deltaX,r=e.deltaY,o=0,i=Math.abs(n),a=Math.abs(r);i===a?o="x"===C.current?n:r:i>a?(o=n,C.current="x"):(o=r,C.current="y"),t(-o,-o)&&e.preventDefault()}var k=(0,r.useRef)(null);k.current={onTouchStart:S,onTouchMove:x,onTouchEnd:E,onWheel:_},r.useEffect(function(){function t(e){k.current.onTouchStart(e)}function n(e){k.current.onTouchMove(e)}function r(e){k.current.onTouchEnd(e)}function o(e){k.current.onWheel(e)}return document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",r,{passive:!0}),e.current.addEventListener("touchstart",t,{passive:!0}),e.current.addEventListener("wheel",o,{passive:!1}),function(){document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r)}},[])}var j=n(75232);function D(e){var t=(0,r.useState)(0),n=(0,m.Z)(t,2),o=n[0],i=n[1],a=(0,r.useRef)(0),s=(0,r.useRef)();return s.current=e,(0,j.o)(function(){var e;null===(e=s.current)||void 0===e||e.call(s)},[o]),function(){a.current===o&&(a.current+=1,i(a.current))}}function L(e){var t=(0,r.useRef)([]),n=(0,r.useState)({}),o=(0,m.Z)(n,2)[1],i=(0,r.useRef)("function"==typeof e?e():e),a=D(function(){var e=i.current;t.current.forEach(function(t){e=t(e)}),t.current=[],i.current=e,o({})});function s(e){t.current.push(e),a()}return[i.current,s]}var B={width:0,height:0,left:0,top:0,right:0};function Z(e,t,n,o,i,a,s){var l,c,u,d=s.tabs,f=s.tabPosition,p=s.rtl;return["top","bottom"].includes(f)?(l="width",c=p?"right":"left",u=Math.abs(n)):(l="height",c="top",u=-n),(0,r.useMemo)(function(){if(!d.length)return[0,0];for(var n=d.length,r=n,o=0;o<n;o+=1){var i=e.get(d[o].key)||B;if(i[c]+i[l]>u+t){r=o-1;break}}for(var a=0,s=n-1;s>=0;s-=1)if((e.get(d[s].key)||B)[c]<u){a=s+1;break}return a>=r?[0,0]:[a,r]},[e,t,o,i,a,u,f,d.map(function(e){return e.key}).join("_"),p])}function F(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}var z="TABS_DQ";function U(e){return String(e).replace(/"/g,z)}function H(e,t,n,r){return!!n&&!r&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var q=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.editable,i=e.locale,a=e.style;return o&&!1!==o.showAdd?r.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:a,"aria-label":(null==i?void 0:i.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}),V=r.forwardRef(function(e,t){var n,o=e.position,i=e.prefixCls,a=e.extra;if(!a)return null;var s={};return"object"!==(0,g.Z)(a)||r.isValidElement(a)?s.right=a:s=a,"right"===o&&(n=s.right),"left"===o&&(n=s.left),n?r.createElement("div",{className:"".concat(i,"-extra-content"),ref:t},n):null}),W=n(15014),$=n(46281),G=n(4062),K=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,i=e.tabs,s=e.locale,l=e.mobile,c=e.more,u=void 0===c?{}:c,d=e.style,h=e.className,g=e.editable,v=e.tabBarGutter,y=e.rtl,b=e.removeAriaLabel,w=e.onTabClick,S=e.getPopupContainer,x=e.popupClassName,E=(0,r.useState)(!1),C=(0,m.Z)(E,2),_=C[0],k=C[1],O=(0,r.useState)(null),A=(0,m.Z)(O,2),I=A[0],P=A[1],T=u.icon,R=void 0===T?"More":T,M="".concat(o,"-more-popup"),N="".concat(n,"-dropdown"),j=null!==I?"".concat(M,"-").concat(I):null,D=null==s?void 0:s.dropdownAriaLabel;function L(e,t){e.preventDefault(),e.stopPropagation(),g.onEdit("remove",{key:t,event:e})}var B=r.createElement($.ZP,{onClick:function(e){w(e.key,e.domEvent),k(!1)},prefixCls:"".concat(N,"-menu"),id:M,tabIndex:-1,role:"listbox","aria-activedescendant":j,selectedKeys:[I],"aria-label":void 0!==D?D:"expanded dropdown"},i.map(function(e){var t=e.closable,n=e.disabled,i=e.closeIcon,a=e.key,s=e.label,l=H(t,i,g,n);return r.createElement($.sN,{key:a,id:"".concat(M,"-").concat(a),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(a),disabled:n},r.createElement("span",null,s),l&&r.createElement("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(N,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),L(e,a)}},i||g.removeIcon||"\xd7"))}));function Z(e){for(var t=i.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===I})||0,r=t.length,o=0;o<r;o+=1){var a=t[n=(n+e+r)%r];if(!a.disabled){P(a.key);return}}}function F(e){var t=e.which;if(!_){[G.Z.DOWN,G.Z.SPACE,G.Z.ENTER].includes(t)&&(k(!0),e.preventDefault());return}switch(t){case G.Z.UP:Z(-1),e.preventDefault();break;case G.Z.DOWN:Z(1),e.preventDefault();break;case G.Z.ESC:k(!1);break;case G.Z.SPACE:case G.Z.ENTER:null!==I&&w(I,e)}}(0,r.useEffect)(function(){var e=document.getElementById(j);e&&e.scrollIntoView&&e.scrollIntoView(!1)},[I]),(0,r.useEffect)(function(){_||P(null)},[_]);var z=(0,p.Z)({},y?"marginRight":"marginLeft",v);i.length||(z.visibility="hidden",z.order=1);var U=f()((0,p.Z)({},"".concat(N,"-rtl"),y)),V=l?null:r.createElement(W.Z,(0,a.Z)({prefixCls:N,overlay:B,visible:!!i.length&&_,onVisibleChange:k,overlayClassName:f()(U,x),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:S},u),r.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:z,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":M,id:"".concat(o,"-more"),"aria-expanded":_,onKeyDown:F},R));return r.createElement("div",{className:f()("".concat(n,"-nav-operations"),h),style:d,ref:t},V,r.createElement(q,{prefixCls:n,locale:s,editable:g}))}),Y=r.memo(K,function(e,t){return t.tabMoving}),X=function(e){var t=e.prefixCls,n=e.id,o=e.active,i=e.tab,a=i.key,s=i.label,l=i.disabled,c=i.closeIcon,u=i.icon,d=e.closable,h=e.renderWrapper,m=e.removeAriaLabel,g=e.editable,v=e.onClick,y=e.onFocus,b=e.style,w="".concat(t,"-tab"),S=H(d,c,g,l);function x(e){l||v(e)}function E(e){e.preventDefault(),e.stopPropagation(),g.onEdit("remove",{key:a,event:e})}var C=r.useMemo(function(){return u&&"string"==typeof s?r.createElement("span",null,s):s},[s,u]),_=r.createElement("div",{key:a,"data-node-key":U(a),className:f()(w,(0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(w,"-with-remove"),S),"".concat(w,"-active"),o),"".concat(w,"-disabled"),l)),style:b,onClick:x},r.createElement("div",{role:"tab","aria-selected":o,id:n&&"".concat(n,"-tab-").concat(a),className:"".concat(w,"-btn"),"aria-controls":n&&"".concat(n,"-panel-").concat(a),"aria-disabled":l,tabIndex:l?null:0,onClick:function(e){e.stopPropagation(),x(e)},onKeyDown:function(e){[G.Z.SPACE,G.Z.ENTER].includes(e.which)&&(e.preventDefault(),x(e))},onFocus:y},u&&r.createElement("span",{className:"".concat(w,"-icon")},u),s&&C),S&&r.createElement("button",{type:"button","aria-label":m||"remove",tabIndex:0,className:"".concat(w,"-remove"),onClick:function(e){e.stopPropagation(),E(e)}},c||g.removeIcon||"\xd7"));return h?h(_):_},Q=function(e,t){var n=e.offsetWidth,r=e.offsetHeight,o=e.offsetTop,i=e.offsetLeft,a=e.getBoundingClientRect(),s=a.width,l=a.height,c=a.x,u=a.y;return 1>Math.abs(s-n)?[s,l,c-t.x,u-t.y]:[n,r,i,o]},J=function(e){var t=e.current||{},n=t.offsetWidth,r=void 0===n?0:n,o=t.offsetHeight,i=void 0===o?0:o;if(e.current){var a=e.current.getBoundingClientRect(),s=a.width,l=a.height;if(1>Math.abs(s-r))return[s,l]}return[r,i]},ee=function(e,t){return e[t?0:1]},et=r.forwardRef(function(e,t){var n,o,i,s,l=e.className,c=e.style,u=e.id,d=e.animated,g=e.activeKey,v=e.rtl,y=e.extra,b=e.editable,_=e.locale,O=e.tabPosition,P=e.tabBarGutter,T=e.children,R=e.onTabClick,M=e.onTabScroll,j=e.indicator,B=r.useContext(w),z=B.prefixCls,H=B.tabs,W=(0,r.useRef)(null),$=(0,r.useRef)(null),G=(0,r.useRef)(null),K=(0,r.useRef)(null),et=(0,r.useRef)(null),en=(0,r.useRef)(null),er=(0,r.useRef)(null),eo="top"===O||"bottom"===O,ei=I(0,function(e,t){eo&&M&&M({direction:e>t?"left":"right"})}),ea=(0,m.Z)(ei,2),es=ea[0],el=ea[1],ec=I(0,function(e,t){!eo&&M&&M({direction:e>t?"top":"bottom"})}),eu=(0,m.Z)(ec,2),ed=eu[0],ef=eu[1],ep=(0,r.useState)([0,0]),eh=(0,m.Z)(ep,2),em=eh[0],eg=eh[1],ev=(0,r.useState)([0,0]),ey=(0,m.Z)(ev,2),eb=ey[0],ew=ey[1],eS=(0,r.useState)([0,0]),ex=(0,m.Z)(eS,2),eE=ex[0],eC=ex[1],e_=(0,r.useState)([0,0]),ek=(0,m.Z)(e_,2),eO=ek[0],eA=ek[1],eI=L(new Map),eP=(0,m.Z)(eI,2),eT=eP[0],eR=eP[1],eM=A(H,eT,eb[0]),eN=ee(em,eo),ej=ee(eb,eo),eD=ee(eE,eo),eL=ee(eO,eo),eB=eN<ej+eD,eZ=eB?eN-eL:eN-eD,eF="".concat(z,"-nav-operations-hidden"),ez=0,eU=0;function eH(e){return e<ez?ez:e>eU?eU:e}eo&&v?(ez=0,eU=Math.max(0,ej-eZ)):(ez=Math.min(0,eZ-ej),eU=0);var eq=(0,r.useRef)(null),eV=(0,r.useState)(),eW=(0,m.Z)(eV,2),e$=eW[0],eG=eW[1];function eK(){eG(Date.now())}function eY(){eq.current&&clearTimeout(eq.current)}N(K,function(e,t){function n(e,t){e(function(e){return eH(e+t)})}return!!eB&&(eo?n(el,e):n(ef,t),eY(),eK(),!0)}),(0,r.useEffect)(function(){return eY(),e$&&(eq.current=setTimeout(function(){eG(0)},100)),eY},[e$]);var eX=Z(eM,eZ,eo?es:ed,ej,eD,eL,(0,h.Z)((0,h.Z)({},e),{},{tabs:H})),eQ=(0,m.Z)(eX,2),eJ=eQ[0],e0=eQ[1],e1=(0,E.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=eM.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eo){var n=es;v?t.right<es?n=t.right:t.right+t.width>es+eZ&&(n=t.right+t.width-eZ):t.left<-es?n=-t.left:t.left+t.width>-es+eZ&&(n=-(t.left+t.width-eZ)),ef(0),el(eH(n))}else{var r=ed;t.top<-ed?r=-t.top:t.top+t.height>-ed+eZ&&(r=-(t.top+t.height-eZ)),el(0),ef(eH(r))}}),e2={};"top"===O||"bottom"===O?e2[v?"marginRight":"marginLeft"]=P:e2.marginTop=P;var e3=H.map(function(e,t){var n=e.key;return r.createElement(X,{id:u,prefixCls:z,key:n,tab:e,style:0===t?void 0:e2,closable:e.closable,editable:b,active:n===g,renderWrapper:T,removeAriaLabel:null==_?void 0:_.removeAriaLabel,onClick:function(e){R(n,e)},onFocus:function(){e1(n),eK(),K.current&&(v||(K.current.scrollLeft=0),K.current.scrollTop=0)}})}),e4=function(){return eR(function(){var e,t=new Map,n=null===(e=et.current)||void 0===e?void 0:e.getBoundingClientRect();return H.forEach(function(e){var r,o=e.key,i=null===(r=et.current)||void 0===r?void 0:r.querySelector('[data-node-key="'.concat(U(o),'"]'));if(i){var a=Q(i,n),s=(0,m.Z)(a,4),l=s[0],c=s[1],u=s[2],d=s[3];t.set(o,{width:l,height:c,left:u,top:d})}}),t})};(0,r.useEffect)(function(){e4()},[H.map(function(e){return e.key}).join("_")]);var e5=D(function(){var e=J(W),t=J($),n=J(G);eg([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var r=J(er);eC(r),eA(J(en));var o=J(et);ew([o[0]-r[0],o[1]-r[1]]),e4()}),e6=H.slice(0,eJ),e8=H.slice(e0+1),e7=[].concat((0,S.Z)(e6),(0,S.Z)(e8)),e9=eM.get(g),te=k({activeTabOffset:e9,horizontal:eo,indicator:j,rtl:v}).style;(0,r.useEffect)(function(){e1()},[g,ez,eU,F(e9),F(eM),eo]),(0,r.useEffect)(function(){e5()},[v]);var tt=!!e7.length,tn="".concat(z,"-nav-wrap");return eo?v?(o=es>0,n=es!==eU):(n=es<0,o=es!==ez):(i=ed<0,s=ed!==ez),r.createElement(x.Z,{onResize:e5},r.createElement("div",{ref:(0,C.x1)(t,W),role:"tablist",className:f()("".concat(z,"-nav"),l),style:c,onKeyDown:function(){eK()}},r.createElement(V,{ref:$,position:"left",extra:y,prefixCls:z}),r.createElement(x.Z,{onResize:e5},r.createElement("div",{className:f()(tn,(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(tn,"-ping-left"),n),"".concat(tn,"-ping-right"),o),"".concat(tn,"-ping-top"),i),"".concat(tn,"-ping-bottom"),s)),ref:K},r.createElement(x.Z,{onResize:e5},r.createElement("div",{ref:et,className:"".concat(z,"-nav-list"),style:{transform:"translate(".concat(es,"px, ").concat(ed,"px)"),transition:e$?"none":void 0}},e3,r.createElement(q,{ref:er,prefixCls:z,locale:_,editable:b,style:(0,h.Z)((0,h.Z)({},0===e3.length?void 0:e2),{},{visibility:tt?"hidden":null})}),r.createElement("div",{className:f()("".concat(z,"-ink-bar"),(0,p.Z)({},"".concat(z,"-ink-bar-animated"),d.inkBar)),style:te}))))),r.createElement(Y,(0,a.Z)({},e,{removeAriaLabel:null==_?void 0:_.removeAriaLabel,ref:en,prefixCls:z,tabs:e7,className:!tt&&eF,tabMoving:!!e$})),r.createElement(V,{ref:G,position:"right",extra:y,prefixCls:z})))}),en=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,i=e.style,a=e.id,s=e.active,l=e.tabKey,c=e.children;return r.createElement("div",{id:a&&"".concat(a,"-panel-").concat(l),role:"tabpanel",tabIndex:s?0:-1,"aria-labelledby":a&&"".concat(a,"-tab-").concat(l),"aria-hidden":!s,style:i,className:f()(n,s&&"".concat(n,"-active"),o),ref:t},c)}),er=["renderTabBar"],eo=["label","key"],ei=function(e){var t=e.renderTabBar,n=(0,v.Z)(e,er),o=r.useContext(w).tabs;return t?t((0,h.Z)((0,h.Z)({},n),{},{panes:o.map(function(e){var t=e.label,n=e.key,o=(0,v.Z)(e,eo);return r.createElement(en,(0,a.Z)({tab:t,key:n,tabKey:n},o))})}),et):r.createElement(et,n)},ea=n(63290),es=["key","forceRender","style","className","destroyInactiveTabPane"],el=function(e){var t=e.id,n=e.activeKey,o=e.animated,i=e.tabPosition,s=e.destroyInactiveTabPane,l=r.useContext(w),c=l.prefixCls,u=l.tabs,d=o.tabPane,m="".concat(c,"-tabpane");return r.createElement("div",{className:f()("".concat(c,"-content-holder"))},r.createElement("div",{className:f()("".concat(c,"-content"),"".concat(c,"-content-").concat(i),(0,p.Z)({},"".concat(c,"-content-animated"),d))},u.map(function(e){var i=e.key,l=e.forceRender,c=e.style,u=e.className,p=e.destroyInactiveTabPane,g=(0,v.Z)(e,es),y=i===n;return r.createElement(ea.ZP,(0,a.Z)({key:i,visible:y,forceRender:l,removeOnLeave:!!(s||p),leavedClassName:"".concat(m,"-hidden")},o.tabPaneMotion),function(e,n){var o=e.style,s=e.className;return r.createElement(en,(0,a.Z)({},g,{prefixCls:m,id:t,tabKey:i,animated:d,active:y,style:(0,h.Z)((0,h.Z)({},c),o),className:f()(u,s),ref:n}))})})))};function ec(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,h.Z)({inkBar:!0},"object"===(0,g.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}n(6103);var eu=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],ed=0,ef=r.forwardRef(function(e,t){var n=e.id,o=e.prefixCls,i=void 0===o?"rc-tabs":o,s=e.className,l=e.items,c=e.direction,u=e.activeKey,d=e.defaultActiveKey,S=e.editable,x=e.animated,E=e.tabPosition,C=void 0===E?"top":E,_=e.tabBarGutter,k=e.tabBarStyle,O=e.tabBarExtraContent,A=e.locale,I=e.more,P=e.destroyInactiveTabPane,T=e.renderTabBar,R=e.onChange,M=e.onTabClick,N=e.onTabScroll,j=e.getPopupContainer,D=e.popupClassName,L=e.indicator,B=(0,v.Z)(e,eu),Z=r.useMemo(function(){return(l||[]).filter(function(e){return e&&"object"===(0,g.Z)(e)&&"key"in e})},[l]),F="rtl"===c,z=ec(x),U=(0,r.useState)(!1),H=(0,m.Z)(U,2),q=H[0],V=H[1];(0,r.useEffect)(function(){V((0,b.Z)())},[]);var W=(0,y.Z)(function(){var e;return null===(e=Z[0])||void 0===e?void 0:e.key},{value:u,defaultValue:d}),$=(0,m.Z)(W,2),G=$[0],K=$[1],Y=(0,r.useState)(function(){return Z.findIndex(function(e){return e.key===G})}),X=(0,m.Z)(Y,2),Q=X[0],J=X[1];(0,r.useEffect)(function(){var e,t=Z.findIndex(function(e){return e.key===G});-1===t&&(t=Math.max(0,Math.min(Q,Z.length-1)),K(null===(e=Z[t])||void 0===e?void 0:e.key)),J(t)},[Z.map(function(e){return e.key}).join("_"),G,Q]);var ee=(0,y.Z)(null,{value:n}),et=(0,m.Z)(ee,2),en=et[0],er=et[1];function eo(e,t){null==M||M(e,t);var n=e!==G;K(e),n&&(null==R||R(e))}(0,r.useEffect)(function(){n||(er("rc-tabs-".concat(ed)),ed+=1)},[]);var ea={id:en,activeKey:G,animated:z,tabPosition:C,rtl:F,mobile:q},es=(0,h.Z)((0,h.Z)({},ea),{},{editable:S,locale:A,more:I,tabBarGutter:_,onTabClick:eo,onTabScroll:N,extra:O,style:k,panes:null,getPopupContainer:j,popupClassName:D,indicator:L});return r.createElement(w.Provider,{value:{tabs:Z,prefixCls:i}},r.createElement("div",(0,a.Z)({ref:t,id:n,className:f()(i,"".concat(i,"-").concat(C),(0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(i,"-mobile"),q),"".concat(i,"-editable"),S),"".concat(i,"-rtl"),F),s)},B),r.createElement(ei,(0,a.Z)({},es,{renderTabBar:T})),r.createElement(el,(0,a.Z)({destroyInactiveTabPane:P},ea,{animated:z}))))}),ep=n(25431),eh=n(55948),em=n(3690),eg=n(62334);let ev={motionAppear:!1,motionEnter:!0,motionLeave:!0};function ey(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},ev),{motionName:(0,eg.m)(e,"switch")})),t}var eb=n(2196),ew=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function eS(e){return e.filter(e=>e)}function ex(e,t){return e||eS((0,eb.Z)(t).map(e=>{if(r.isValidElement(e)){let{key:t,props:n}=e,r=n||{},{tab:o}=r,i=ew(r,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null}))}var eE=n(82698),eC=n(61885),e_=n(2916),ek=n(39564),eO=n(55286),eA=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{["".concat(t,"-switch")]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:"opacity ".concat(n)}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:"opacity ".concat(n)}}}}},[(0,eO.oN)(e,"slide-up"),(0,eO.oN)(e,"slide-down")]]};let eI=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{["".concat(t,"-card")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-tab")]:{margin:0,padding:n,background:r,border:"".concat((0,eE.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(i),transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut)},["".concat(t,"-tab-active")]:{color:a,background:e.colorBgContainer},["".concat(t,"-ink-bar")]:{visibility:"hidden"}},["&".concat(t,"-top, &").concat(t,"-bottom")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-tab + ").concat(t,"-tab")]:{marginLeft:{_skip_check_:!0,value:(0,eE.bf)(o)}}}},["&".concat(t,"-top")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-tab")]:{borderRadius:"".concat((0,eE.bf)(e.borderRadiusLG)," ").concat((0,eE.bf)(e.borderRadiusLG)," 0 0")},["".concat(t,"-tab-active")]:{borderBottomColor:e.colorBgContainer}}},["&".concat(t,"-bottom")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-tab")]:{borderRadius:"0 0 ".concat((0,eE.bf)(e.borderRadiusLG)," ").concat((0,eE.bf)(e.borderRadiusLG))},["".concat(t,"-tab-active")]:{borderTopColor:e.colorBgContainer}}},["&".concat(t,"-left, &").concat(t,"-right")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-tab + ").concat(t,"-tab")]:{marginTop:(0,eE.bf)(o)}}},["&".concat(t,"-left")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat((0,eE.bf)(e.borderRadiusLG)," 0 0 ").concat((0,eE.bf)(e.borderRadiusLG))}},["".concat(t,"-tab-active")]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},["&".concat(t,"-right")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat((0,eE.bf)(e.borderRadiusLG)," ").concat((0,eE.bf)(e.borderRadiusLG)," 0")}},["".concat(t,"-tab-active")]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},eP=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{["".concat(t,"-dropdown")]:Object.assign(Object.assign({},(0,eC.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},["".concat(t,"-dropdown-menu")]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:"".concat((0,eE.bf)(r)," 0"),overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},eC.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:"".concat((0,eE.bf)(e.paddingXXS)," ").concat((0,eE.bf)(e.paddingSM)),color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},eT=e=>{let{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a,calc:s}=e;return{["".concat(t,"-top, ").concat(t,"-bottom")]:{flexDirection:"column",["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:"".concat((0,eE.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(r),content:"''"},["".concat(t,"-ink-bar")]:{height:e.lineWidthBold,"&-animated":{transition:"width ".concat(e.motionDurationSlow,", left ").concat(e.motionDurationSlow,",\n            right ").concat(e.motionDurationSlow)}},["".concat(t,"-nav-wrap")]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},["&".concat(t,"-nav-wrap-ping-left::before")]:{opacity:1},["&".concat(t,"-nav-wrap-ping-right::after")]:{opacity:1}}}},["".concat(t,"-top")]:{["> ".concat(t,"-nav,\n        > div > ").concat(t,"-nav")]:{"&::before":{bottom:0},["".concat(t,"-ink-bar")]:{bottom:0}}},["".concat(t,"-bottom")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},["".concat(t,"-ink-bar")]:{top:0}},["> ".concat(t,"-content-holder, > div > ").concat(t,"-content-holder")]:{order:0}},["".concat(t,"-left, ").concat(t,"-right")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),["".concat(t,"-tab")]:{padding:i,textAlign:"center"},["".concat(t,"-tab + ").concat(t,"-tab")]:{margin:a},["".concat(t,"-nav-wrap")]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},["&".concat(t,"-nav-wrap-ping-top::before")]:{opacity:1},["&".concat(t,"-nav-wrap-ping-bottom::after")]:{opacity:1}},["".concat(t,"-ink-bar")]:{width:e.lineWidthBold,"&-animated":{transition:"height ".concat(e.motionDurationSlow,", top ").concat(e.motionDurationSlow)}},["".concat(t,"-nav-list, ").concat(t,"-nav-operations")]:{flex:"1 0 auto",flexDirection:"column"}}},["".concat(t,"-left")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-ink-bar")]:{right:{_skip_check_:!0,value:0}}},["> ".concat(t,"-content-holder, > div > ").concat(t,"-content-holder")]:{marginLeft:{_skip_check_:!0,value:(0,eE.bf)(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:"".concat((0,eE.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)},["> ".concat(t,"-content > ").concat(t,"-tabpane")]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},["".concat(t,"-right")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{order:1,["".concat(t,"-ink-bar")]:{left:{_skip_check_:!0,value:0}}},["> ".concat(t,"-content-holder, > div > ").concat(t,"-content-holder")]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:"".concat((0,eE.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)},["> ".concat(t,"-content > ").concat(t,"-tabpane")]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},eR=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{["> ".concat(t,"-nav")]:{["".concat(t,"-tab")]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{["> ".concat(t,"-nav")]:{["".concat(t,"-tab")]:{padding:i,fontSize:e.titleFontSizeLG}}}},["".concat(t,"-card")]:{["&".concat(t,"-small")]:{["> ".concat(t,"-nav")]:{["".concat(t,"-tab")]:{padding:n}},["&".concat(t,"-bottom")]:{["> ".concat(t,"-nav ").concat(t,"-tab")]:{borderRadius:"0 0 ".concat((0,eE.bf)(e.borderRadius)," ").concat((0,eE.bf)(e.borderRadius))}},["&".concat(t,"-top")]:{["> ".concat(t,"-nav ").concat(t,"-tab")]:{borderRadius:"".concat((0,eE.bf)(e.borderRadius)," ").concat((0,eE.bf)(e.borderRadius)," 0 0")}},["&".concat(t,"-right")]:{["> ".concat(t,"-nav ").concat(t,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat((0,eE.bf)(e.borderRadius)," ").concat((0,eE.bf)(e.borderRadius)," 0")}}},["&".concat(t,"-left")]:{["> ".concat(t,"-nav ").concat(t,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat((0,eE.bf)(e.borderRadius)," 0 0 ").concat((0,eE.bf)(e.borderRadius))}}}},["&".concat(t,"-large")]:{["> ".concat(t,"-nav")]:{["".concat(t,"-tab")]:{padding:r}}}}}},eM=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s,itemColor:l}=e,c="".concat(t,"-tab");return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,eC.Qy)(e)),"&-btn":{outline:"none",transition:"all ".concat(e.motionDurationSlow),["".concat(c,"-icon:not(:last-child)")]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},["&".concat(c,"-active ").concat(c,"-btn")]:{color:s,textShadow:e.tabsActiveTextShadow},["&".concat(c,"-disabled")]:{color:e.colorTextDisabled,cursor:"not-allowed"},["&".concat(c,"-disabled ").concat(c,"-btn, &").concat(c,"-disabled ").concat(t,"-remove")]:{"&:focus, &:active":{color:e.colorTextDisabled}},["& ".concat(c,"-remove ").concat(o)]:{margin:0},["".concat(o,":not(:last-child)")]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},["".concat(c," + ").concat(c)]:{margin:{_skip_check_:!0,value:i}}}},eN=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{["".concat(t,"-rtl")]:{direction:"rtl",["".concat(t,"-nav")]:{["".concat(t,"-tab")]:{margin:{_skip_check_:!0,value:n},["".concat(t,"-tab:last-of-type")]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,eE.bf)(e.marginSM)}},["".concat(t,"-tab-remove")]:{marginRight:{_skip_check_:!0,value:(0,eE.bf)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,eE.bf)(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},["&".concat(t,"-left")]:{["> ".concat(t,"-nav")]:{order:1},["> ".concat(t,"-content-holder")]:{order:0}},["&".concat(t,"-right")]:{["> ".concat(t,"-nav")]:{order:0},["> ".concat(t,"-content-holder")]:{order:1}},["&".concat(t,"-card").concat(t,"-top, &").concat(t,"-card").concat(t,"-bottom")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-tab + ").concat(t,"-tab")]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},["".concat(t,"-dropdown-rtl")]:{direction:"rtl"},["".concat(t,"-menu-item")]:{["".concat(t,"-dropdown-rtl")]:{textAlign:{_skip_check_:!0,value:"right"}}}}},ej=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,eC.Wf)(e)),{display:"flex",["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{position:"relative",display:"flex",flex:"none",alignItems:"center",["".concat(t,"-nav-wrap")]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:"opacity ".concat(e.motionDurationSlow),content:"''",pointerEvents:"none"}},["".concat(t,"-nav-list")]:{position:"relative",display:"flex",transition:"opacity ".concat(e.motionDurationSlow)},["".concat(t,"-nav-operations")]:{display:"flex",alignSelf:"stretch"},["".concat(t,"-nav-operations-hidden")]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},["".concat(t,"-nav-more")]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},["".concat(t,"-nav-add")]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:o},padding:"0 ".concat((0,eE.bf)(e.paddingXS)),background:"transparent",border:"".concat((0,eE.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(s),borderRadius:"".concat((0,eE.bf)(e.borderRadiusLG)," ").concat((0,eE.bf)(e.borderRadiusLG)," 0 0"),outline:"none",cursor:"pointer",color:e.colorText,transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},(0,eC.Qy)(e))},["".concat(t,"-extra-content")]:{flex:"none"},["".concat(t,"-ink-bar")]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),eM(e)),{["".concat(t,"-content")]:{position:"relative",width:"100%"},["".concat(t,"-content-holder")]:{flex:"auto",minWidth:0,minHeight:0},["".concat(t,"-tabpane")]:{outline:"none","&-hidden":{display:"none"}}}),["".concat(t,"-centered")]:{["> ".concat(t,"-nav, > div > ").concat(t,"-nav")]:{["".concat(t,"-nav-wrap")]:{["&:not([class*='".concat(t,"-nav-wrap-ping'])")]:{justifyContent:"center"}}}}}},eD=e=>{let t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"".concat((t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth,"px ").concat(e.padding,"px"),cardPaddingSM:"".concat(1.5*e.paddingXXS,"px ").concat(e.padding,"px"),cardPaddingLG:"".concat(e.paddingXS,"px ").concat(e.padding,"px ").concat(1.5*e.paddingXXS,"px"),titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:"0 0 ".concat(e.margin,"px 0"),horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:"".concat(e.paddingSM,"px 0"),horizontalItemPaddingSM:"".concat(e.paddingXS,"px 0"),horizontalItemPaddingLG:"".concat(e.padding,"px 0"),verticalItemPadding:"".concat(e.paddingXS,"px ").concat(e.paddingLG,"px"),verticalItemMargin:"".concat(e.margin,"px 0 0 0"),itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}};var eL=(0,e_.I$)("Tabs",e=>{let t=(0,ek.IX)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:"0 0 0 ".concat((0,eE.bf)(e.horizontalItemGutter)),tabsHorizontalItemMarginRTL:"0 0 0 ".concat((0,eE.bf)(e.horizontalItemGutter))});return[eR(t),eN(t),eT(t),eP(t),eI(t),ej(t),eA(t)]},eD),eB=()=>null,eZ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let eF=e=>{var t,n,a,s,l,c,d,p,h,m,g;let v;let{type:y,className:b,rootClassName:w,size:S,onEdit:x,hideAdd:E,centered:C,addIcon:_,removeIcon:k,moreIcon:O,more:A,popupClassName:I,children:P,items:T,animated:R,style:M,indicatorSize:N,indicator:j}=e,D=eZ(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:L}=D,{direction:B,tabs:Z,getPrefixCls:F,getPopupContainer:z}=r.useContext(ep.E_),U=F("tabs",L),H=(0,eh.Z)(U),[q,V,W]=eL(U,H);"editable-card"===y&&(v={onEdit:(e,t)=>{let{key:n,event:r}=t;null==x||x("add"===e?r:n,e)},removeIcon:null!==(t=null!=k?k:null==Z?void 0:Z.removeIcon)&&void 0!==t?t:r.createElement(o.Z,null),addIcon:(null!=_?_:null==Z?void 0:Z.addIcon)||r.createElement(u,null),showAdd:!0!==E});let $=F(),G=(0,em.Z)(S),K=ex(T,P),Y=ey(U,R),X=Object.assign(Object.assign({},null==Z?void 0:Z.style),M),Q={align:null!==(n=null==j?void 0:j.align)&&void 0!==n?n:null===(a=null==Z?void 0:Z.indicator)||void 0===a?void 0:a.align,size:null!==(d=null!==(l=null!==(s=null==j?void 0:j.size)&&void 0!==s?s:N)&&void 0!==l?l:null===(c=null==Z?void 0:Z.indicator)||void 0===c?void 0:c.size)&&void 0!==d?d:null==Z?void 0:Z.indicatorSize};return q(r.createElement(ef,Object.assign({direction:B,getPopupContainer:z},D,{items:K,className:f()({["".concat(U,"-").concat(G)]:G,["".concat(U,"-card")]:["card","editable-card"].includes(y),["".concat(U,"-editable-card")]:"editable-card"===y,["".concat(U,"-centered")]:C},null==Z?void 0:Z.className,b,w,V,W,H),popupClassName:f()(I,V,W,H),style:X,editable:v,more:Object.assign({icon:null!==(g=null!==(m=null!==(h=null===(p=null==Z?void 0:Z.more)||void 0===p?void 0:p.icon)&&void 0!==h?h:null==Z?void 0:Z.moreIcon)&&void 0!==m?m:O)&&void 0!==g?g:r.createElement(i.Z,null),transitionName:"".concat($,"-slide-up")},A),prefixCls:U,animated:Y,indicator:Q})))};eF.TabPane=eB;var ez=eF},72665:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(44194),o=n(51865),i=n.n(o),a=n(76933),s=n(55742),l=n(21191),c=n(85905),u=n(85266),d=n(25431),f=n(82698),p=n(66671),h=n(61885),m=n(39564),g=n(2916);let v=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:i}=e,a=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:"".concat((0,f.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadiusSM,opacity:1,transition:"all ".concat(e.motionDurationMid),textAlign:"start",position:"relative",["&".concat(o,"-rtl")]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},["".concat(o,"-close-icon")]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:"all ".concat(e.motionDurationMid),"&:hover":{color:e.colorTextHeading}},["&".concat(o,"-has-color")]:{borderColor:"transparent",["&, a, a:hover, ".concat(e.iconCls,"-close, ").concat(e.iconCls,"-close:hover")]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",["&:not(".concat(o,"-checkable-checked):hover")]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},["> ".concat(e.iconCls," + span, > span + ").concat(e.iconCls)]:{marginInlineStart:a}}),["".concat(o,"-borderless")]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM;return(0,m.IX)(e,{tagFontSize:o,tagLineHeight:(0,f.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},b=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var w=(0,g.I$)("Tag",e=>v(y(e)),b),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},x=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:a,checked:s,onChange:l,onClick:c}=e,u=S(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:p}=r.useContext(d.E_),h=e=>{null==l||l(!s),null==c||c(e)},m=f("tag",n),[g,v,y]=w(m),b=i()(m,"".concat(m,"-checkable"),{["".concat(m,"-checkable-checked")]:s},null==p?void 0:p.className,a,v,y);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==p?void 0:p.style),className:b,onClick:h})))}),E=n(70552);let C=e=>(0,E.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:i,darkColor:a}=n;return{["".concat(e.componentCls).concat(e.componentCls,"-").concat(t)]:{color:r,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},["&".concat(e.componentCls,"-borderless")]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>C(y(e)),b);function k(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}let O=(e,t,n)=>{let r=k(n);return{["".concat(e.componentCls).concat(e.componentCls,"-").concat(t)]:{color:e["color".concat(n)],background:e["color".concat(r,"Bg")],borderColor:e["color".concat(r,"Border")],["&".concat(e.componentCls,"-borderless")]:{borderColor:"transparent"}}}};var A=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[O(t,"success","Success"),O(t,"processing","Info"),O(t,"error","Error"),O(t,"warning","Warning")]},b),I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let P=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:p,children:h,icon:m,color:g,onClose:v,bordered:y=!0,visible:b}=e,S=I(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:x,direction:E,tag:C}=r.useContext(d.E_),[k,O]=r.useState(!0),P=(0,a.Z)(S,["closeIcon","closable"]);r.useEffect(()=>{void 0!==b&&O(b)},[b]);let T=(0,s.o2)(g),R=(0,s.yT)(g),M=T||R,N=Object.assign(Object.assign({backgroundColor:g&&!M?g:void 0},null==C?void 0:C.style),p),j=x("tag",n),[D,L,B]=w(j),Z=i()(j,null==C?void 0:C.className,{["".concat(j,"-").concat(g)]:M,["".concat(j,"-has-color")]:g&&!M,["".concat(j,"-hidden")]:!k,["".concat(j,"-rtl")]:"rtl"===E,["".concat(j,"-borderless")]:!y},o,f,L,B),F=e=>{e.stopPropagation(),null==v||v(e),e.defaultPrevented||O(!1)},[,z]=(0,l.Z)((0,l.w)(e),(0,l.w)(C),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:"".concat(j,"-close-icon"),onClick:F},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),F(t)},className:i()(null==e?void 0:e.className,"".concat(j,"-close-icon"))}))}}),U="function"==typeof S.onClick||h&&"a"===h.type,H=m||null,q=H?r.createElement(r.Fragment,null,H,h&&r.createElement("span",null,h)):h,V=r.createElement("span",Object.assign({},P,{ref:t,className:Z,style:N}),q,z,T&&r.createElement(_,{key:"preset",prefixCls:j}),R&&r.createElement(A,{key:"status",prefixCls:j}));return D(U?r.createElement(u.Z,{component:"Tag"},V):V)});P.CheckableTag=x;var T=P},86861:function(e,t,n){"use strict";n.d(t,{Mj:function(){return c},uH:function(){return s},u_:function(){return l}});var r=n(44194),o=n(82698),i=n(10848),a=n(34745);let s=(0,o.jG)(i.Z),l={token:a.Z,override:{override:a.Z},hashed:!0},c=r.createContext(l)},85291:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(82698),o=n(10848),i=n(34745),a=n(15789),s=e=>{let t=(null==e?void 0:e.algorithm)?(0,r.jG)(e.algorithm):(0,r.jG)(o.Z),n=Object.assign(Object.assign({},i.Z),null==e?void 0:e.token);return(0,r.t2)(n,{override:null==e?void 0:e.token},t,a.Z)},l=n(34066),c=n(86861),u=n(33862),d=n(66345);function f(e){let{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}var p=(e,t)=>{let n=null!=t?t:(0,o.Z)(e),r=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),f(null!=t?t:e)),(0,d.Z)(r)),{controlHeight:i}),(0,u.Z)(Object.assign(Object.assign({},n),{controlHeight:i})))},h=n(38774),m=n(18136),g=n(66671);let v=(e,t)=>new g.C(e).setAlpha(t).toRgbString(),y=(e,t)=>new g.C(e).lighten(t).toHexString(),b=e=>{let t=(0,h.R_)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},w=(e,t)=>{let n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:v(r,.85),colorTextSecondary:v(r,.65),colorTextTertiary:v(r,.45),colorTextQuaternary:v(r,.25),colorFill:v(r,.18),colorFillSecondary:v(r,.12),colorFillTertiary:v(r,.08),colorFillQuaternary:v(r,.04),colorBgElevated:y(n,12),colorBgContainer:y(n,8),colorBgLayout:y(n,0),colorBgSpotlight:y(n,26),colorBgBlur:v(r,.04),colorBorder:y(n,26),colorBorderSecondary:y(n,19)}};var S=(e,t)=>{let n=Object.keys(i.M).map(t=>{let n=(0,h.R_)(e[t],{theme:"dark"});return Array(10).fill(1).reduce((e,r,o)=>(e["".concat(t,"-").concat(o+1)]=n[o],e["".concat(t).concat(o+1)]=n[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign({},null!=t?t:(0,o.Z)(e)),n),(0,m.Z)(e,{generateColorPalettes:b,generateNeutralColorPalettes:w}))};function x(){let[e,t,n]=(0,l.ZP)();return{theme:e,token:t,hashId:n}}var E={defaultConfig:c.u_,defaultSeed:c.u_.token,useToken:x,defaultAlgorithm:o.Z,darkAlgorithm:S,compactAlgorithm:p,getDesignToken:s}},44684:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});let r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},10848:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(38774),o=n(34745),i=n(18136),a=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function s(e){let{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:"".concat((n+t).toFixed(1),"s"),motionDurationMid:"".concat((n+2*t).toFixed(1),"s"),motionDurationSlow:"".concat((n+3*t).toFixed(1),"s"),lineWidthBold:o+1},a(r))}var l=n(33862),c=n(66345);function u(e){let{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}var d=n(66671);let f=(e,t)=>new d.C(e).setAlpha(t).toRgbString(),p=(e,t)=>new d.C(e).darken(t).toHexString(),h=e=>{let t=(0,r.R_)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},m=(e,t)=>{let n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:f(r,.88),colorTextSecondary:f(r,.65),colorTextTertiary:f(r,.45),colorTextQuaternary:f(r,.25),colorFill:f(r,.15),colorFillSecondary:f(r,.06),colorFillTertiary:f(r,.04),colorFillQuaternary:f(r,.02),colorBgLayout:p(n,4),colorBgContainer:p(n,0),colorBgElevated:p(n,0),colorBgSpotlight:f(r,.85),colorBgBlur:"transparent",colorBorder:p(n,15),colorBorderSecondary:p(n,6)}};function g(e){r.ez.pink=r.ez.magenta,r.Ti.pink=r.Ti.magenta;let t=Object.keys(o.M).map(t=>{let n=e[t]===r.ez[t]?r.Ti[t]:(0,r.R_)(e[t]);return Array(10).fill(1).reduce((e,r,o)=>(e["".concat(t,"-").concat(o+1)]=n[o],e["".concat(t).concat(o+1)]=n[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,i.Z)(e,{generateColorPalettes:h,generateNeutralColorPalettes:m})),(0,c.Z)(e.fontSize)),u(e)),(0,l.Z)(e)),s(e))}},34745:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});t.Z=o},18136:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(66671);function o(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t,{colorSuccess:i,colorWarning:a,colorError:s,colorInfo:l,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),p=n(i),h=n(a),m=n(s),g=n(l),v=o(u,d),y=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},v),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new r.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},33862:function(e,t){"use strict";let n=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}};t.Z=n},66345:function(e,t,n){"use strict";var r=n(8570);let o=e=>{let t=(0,r.Z)(e),n=t.map(e=>e.size),o=t.map(e=>e.lineHeight),i=n[1],a=n[0],s=n[2],l=o[1],c=o[0],u=o[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:s,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(l*i),fontHeightLG:Math.round(u*s),fontHeightSM:Math.round(c*a),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}};t.Z=o},8570:function(e,t,n){"use strict";function r(e){return(e+8)/e}function o(e){let t=Array(10).fill(null).map((t,n)=>{let r=e*Math.pow(Math.E,(n-1)/5);return 2*Math.floor((n>1?Math.floor(r):Math.ceil(r))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:r(e)}))}n.d(t,{D:function(){return r},Z:function(){return o}})},34066:function(e,t,n){"use strict";n.d(t,{NJ:function(){return u},ZP:function(){return h}});var r=n(44194),o=n(82698),i=n(35763),a=n(86861),s=n(34745),l=n(15789),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let u={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},d={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},f={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},p=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:o}=t,i=c(t,["override"]),a=Object.assign(Object.assign({},r),{override:o});return a=(0,l.Z)(a),i&&Object.entries(i).forEach(e=>{let[t,n]=e,{theme:r}=n,o=c(n,["theme"]),i=o;r&&(i=p(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i}),a};function h(){let{token:e,hashed:t,theme:n,override:c,cssVar:h}=r.useContext(a.Mj),m="".concat(i.Z,"-").concat(t||""),g=n||a.uH,[v,y,b]=(0,o.fp)(g,[s.Z,e],{salt:m,override:c,getComputedToken:p,formatToken:l.Z,cssVar:h&&{prefix:h.prefix,key:h.key,unitless:u,ignore:d,preserve:f}});return[g,b,t?y:"",v,h]}},15789:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(66671),o=n(34745);function i(e){return e>=0&&e<=255}var a=function(e,t){let{r:n,g:o,b:a,a:s}=new r.C(e).toRgb();if(s<1)return e;let{r:l,g:c,b:u}=new r.C(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((n-l*(1-e))/e),s=Math.round((o-c*(1-e))/e),d=Math.round((a-u*(1-e))/e);if(i(t)&&i(s)&&i(d))return new r.C({r:t,g:s,b:d,a:Math.round(100*e)/100}).toRgbString()}return new r.C({r:n,g:o,b:a,a:1}).toRgbString()},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function l(e){let{override:t}=e,n=s(e,["override"]),i=Object.assign({},t);Object.keys(o.Z).forEach(e=>{delete i[e]});let l=Object.assign(Object.assign({},n),i),c=480,u=576,d=768,f=992,p=1200,h=1600;if(!1===l.motion){let e="0s";l.motionDurationFast=e,l.motionDurationMid=e,l.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},l),{colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorFillAlter:l.colorFillQuaternary,colorBgContainerDisabled:l.colorFillTertiary,colorBorderBg:l.colorBgContainer,colorSplit:a(l.colorBorderSecondary,l.colorBgContainer),colorTextPlaceholder:l.colorTextQuaternary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextDescription:l.colorTextTertiary,colorTextLightSolid:l.colorWhite,colorHighlight:l.colorError,colorBgTextHover:l.colorFillSecondary,colorBgTextActive:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorErrorOutline:a(l.colorErrorBg,l.colorBgContainer),colorWarningOutline:a(l.colorWarningBg,l.colorBgContainer),fontSizeIcon:l.fontSizeSM,lineWidthFocus:4*l.lineWidth,lineWidth:l.lineWidth,controlOutlineWidth:2*l.lineWidth,controlInteractiveSize:l.controlHeight/2,controlItemBgHover:l.colorFillTertiary,controlItemBgActive:l.colorPrimaryBg,controlItemBgActiveHover:l.colorPrimaryBgHover,controlItemBgActiveDisabled:l.colorFill,controlTmpOutline:l.colorFillQuaternary,controlOutline:a(l.colorPrimaryBg,l.colorBgContainer),lineType:l.lineType,borderRadius:l.borderRadius,borderRadiusXS:l.borderRadiusXS,borderRadiusSM:l.borderRadiusSM,borderRadiusLG:l.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:l.sizeXXS,paddingXS:l.sizeXS,paddingSM:l.sizeSM,padding:l.size,paddingMD:l.sizeMD,paddingLG:l.sizeLG,paddingXL:l.sizeXL,paddingContentHorizontalLG:l.sizeLG,paddingContentVerticalLG:l.sizeMS,paddingContentHorizontal:l.sizeMS,paddingContentVertical:l.sizeSM,paddingContentHorizontalSM:l.size,paddingContentVerticalSM:l.sizeXS,marginXXS:l.sizeXXS,marginXS:l.sizeXS,marginSM:l.sizeSM,margin:l.size,marginMD:l.sizeMD,marginLG:l.sizeLG,marginXL:l.sizeXL,marginXXL:l.sizeXXL,boxShadow:"\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowSecondary:"\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowTertiary:"\n      0 1px 2px 0 rgba(0, 0, 0, 0.03),\n      0 1px 6px -1px rgba(0, 0, 0, 0.02),\n      0 2px 4px 0 rgba(0, 0, 0, 0.02)\n    ",screenXS:c,screenXSMin:c,screenXSMax:u-1,screenSM:u,screenSMMin:u,screenSMMax:d-1,screenMD:d,screenMDMin:d,screenMDMax:f-1,screenLG:f,screenLGMin:f,screenLGMax:p-1,screenXL:p,screenXLMin:p,screenXLMax:h-1,screenXXL:h,screenXXLMin:h,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:"\n      0 1px 2px -2px ".concat(new r.C("rgba(0, 0, 0, 0.16)").toRgbString(),",\n      0 3px 6px 0 ").concat(new r.C("rgba(0, 0, 0, 0.12)").toRgbString(),",\n      0 5px 12px 4px ").concat(new r.C("rgba(0, 0, 0, 0.09)").toRgbString(),"\n    "),boxShadowDrawerRight:"\n      -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n      -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n      -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowDrawerLeft:"\n      6px 0 16px 0 rgba(0, 0, 0, 0.08),\n      3px 0 6px -4px rgba(0, 0, 0, 0.12),\n      9px 0 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowDrawerUp:"\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowDrawerDown:"\n      0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),i)}},70552:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44684);function o(e,t){return r.i.reduce((n,r)=>{let o=e["".concat(r,"1")],i=e["".concat(r,"3")],a=e["".concat(r,"6")],s=e["".concat(r,"7")];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))},{})}},2916:function(e,t,n){"use strict";n.d(t,{A1:function(){return u},I$:function(){return c},bk:function(){return d}});var r=n(44194),o=n(39564),i=n(25431),a=n(61885),s=n(34066),l=n(32412);let{genStyleHooks:c,genComponentStyleHook:u,genSubStyleComponent:d}=(0,o.rb)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,r.useContext)(i.E_);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,n,r,o]=(0,s.ZP)();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{let{csp:e,iconPrefixCls:t}=(0,r.useContext)(i.E_);return(0,l.Z)(t,e),null!=e?e:{}},getResetStyles:e=>[{"&":(0,a.Lx)(e)}],getCommonStyle:a.du,getCompUnitless:()=>s.NJ})},32412:function(e,t,n){"use strict";var r=n(82698),o=n(61885),i=n(34066);let a=(e,t)=>{let[n,a]=(0,i.ZP)();return(0,r.xy)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},()=>[{[".".concat(e)]:Object.assign(Object.assign({},(0,o.Ro)()),{[".".concat(e," .").concat(e,"-icon")]:{display:"block"}})}])};t.Z=a},51746:function(e,t){"use strict";let n={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};t.Z=n},32990:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(44194),o=n(51865),i=n.n(o),a=n(25431),s=n(55948),l=n(82698),c=n(61885),u=n(2916),d=n(39564);let f=e=>{let{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{margin:0,padding:0,listStyle:"none",["".concat(t,"-item")]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:"calc(100% - ".concat((0,l.bf)(e.itemHeadSize),")"),borderInlineStart:"".concat((0,l.bf)(e.tailWidth)," ").concat(e.lineType," ").concat(e.tailColor)},"&-pending":{["".concat(t,"-item-head")]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},["".concat(t,"-item-tail")]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:"".concat((0,l.bf)(e.dotBorderWidth)," ").concat(e.lineType," transparent"),borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{["> ".concat(t,"-item-tail")]:{display:"none"},["> ".concat(t,"-item-content")]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},["&".concat(t,"-alternate,\n        &").concat(t,"-right,\n        &").concat(t,"-label")]:{["".concat(t,"-item")]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{["".concat(t,"-item-content")]:{insetInlineStart:"calc(50% - ".concat((0,l.bf)(e.marginXXS),")"),width:"calc(50% - ".concat((0,l.bf)(e.marginSM),")"),textAlign:"start"}},"&-right":{["".concat(t,"-item-content")]:{width:"calc(50% - ".concat((0,l.bf)(e.marginSM),")"),margin:0,textAlign:"end"}}}},["&".concat(t,"-right")]:{["".concat(t,"-item-right")]:{["".concat(t,"-item-tail,\n            ").concat(t,"-item-head,\n            ").concat(t,"-item-head-custom")]:{insetInlineStart:"calc(100% - ".concat((0,l.bf)(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal()),")")},["".concat(t,"-item-content")]:{width:"calc(100% - ".concat((0,l.bf)(n(e.itemHeadSize).add(e.marginXS).equal()),")")}}},["&".concat(t,"-pending\n        ").concat(t,"-item-last\n        ").concat(t,"-item-tail")]:{display:"block",height:"calc(100% - ".concat((0,l.bf)(e.margin),")"),borderInlineStart:"".concat((0,l.bf)(e.tailWidth)," dotted ").concat(e.tailColor)},["&".concat(t,"-reverse\n        ").concat(t,"-item-last\n        ").concat(t,"-item-tail")]:{display:"none"},["&".concat(t,"-reverse ").concat(t,"-item-pending")]:{["".concat(t,"-item-tail")]:{insetBlockStart:e.margin,display:"block",height:"calc(100% - ".concat((0,l.bf)(e.margin),")"),borderInlineStart:"".concat((0,l.bf)(e.tailWidth)," dotted ").concat(e.tailColor)},["".concat(t,"-item-content")]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},["&".concat(t,"-label")]:{["".concat(t,"-item-label")]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:"calc(50% - ".concat((0,l.bf)(e.marginSM),")"),textAlign:"end"},["".concat(t,"-item-right")]:{["".concat(t,"-item-label")]:{insetInlineStart:"calc(50% + ".concat((0,l.bf)(e.marginSM),")"),width:"calc(50% - ".concat((0,l.bf)(e.marginSM),")"),textAlign:"start"}}},"&-rtl":{direction:"rtl",["".concat(t,"-item-head-custom")]:{transform:"translate(50%, -50%)"}}})}},p=e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:3*e.lineWidth,dotBg:e.colorBgContainer,itemPaddingBottom:1.25*e.padding});var h=(0,u.I$)("Timeline",e=>[f((0,d.IX)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2}))],p),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},g=e=>{var{prefixCls:t,className:n,color:o="blue",dot:s,pending:l=!1,position:c,label:u,children:d}=e,f=m(e,["prefixCls","className","color","dot","pending","position","label","children"]);let{getPrefixCls:p}=r.useContext(a.E_),h=p("timeline",t),g=i()("".concat(h,"-item"),{["".concat(h,"-item-pending")]:l},n),v=/blue|red|green|gray/.test(o||"")?void 0:o,y=i()("".concat(h,"-item-head"),{["".concat(h,"-item-head-custom")]:!!s,["".concat(h,"-item-head-").concat(o)]:!v});return r.createElement("li",Object.assign({},f,{className:g}),u&&r.createElement("div",{className:"".concat(h,"-item-label")},u),r.createElement("div",{className:"".concat(h,"-item-tail")}),r.createElement("div",{className:y,style:{borderColor:v,color:v}},s),r.createElement("div",{className:"".concat(h,"-item-content")},d))},v=n(70826),y=n(21075),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},w=e=>{var{prefixCls:t,className:n,pending:o=!1,children:a,items:s,rootClassName:l,reverse:c=!1,direction:u,hashId:d,pendingDot:f,mode:p=""}=e,h=b(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);let m=(e,n)=>"alternate"===p?"right"===e?"".concat(t,"-item-right"):"left"===e?"".concat(t,"-item-left"):n%2==0?"".concat(t,"-item-left"):"".concat(t,"-item-right"):"left"===p?"".concat(t,"-item-left"):"right"===p||"right"===e?"".concat(t,"-item-right"):"",w=(0,v.Z)(s||[]),S="boolean"==typeof o?null:o;o&&w.push({pending:!!o,dot:f||r.createElement(y.Z,null),children:S}),c&&w.reverse();let x=w.length,E="".concat(t,"-item-last"),C=w.filter(e=>!!e).map((e,t)=>{var n;let a=t===x-2?E:"",s=t===x-1?E:"",{className:l}=e,u=b(e,["className"]);return r.createElement(g,Object.assign({},u,{className:i()([l,!c&&o?a:s,m(null!==(n=null==e?void 0:e.position)&&void 0!==n?n:"",t)]),key:(null==e?void 0:e.key)||t}))}),_=w.some(e=>!!(null==e?void 0:e.label)),k=i()(t,{["".concat(t,"-pending")]:!!o,["".concat(t,"-reverse")]:!!c,["".concat(t,"-").concat(p)]:!!p&&!_,["".concat(t,"-label")]:_,["".concat(t,"-rtl")]:"rtl"===u},n,l,d);return r.createElement("ul",Object.assign({},h,{className:k}),C)},S=n(2196),x=function(e,t){return e&&Array.isArray(e)?e:(0,S.Z)(t).map(e=>{var t,n;return Object.assign({children:null!==(n=null===(t=null==e?void 0:e.props)||void 0===t?void 0:t.children)&&void 0!==n?n:""},e.props)})},E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let C=e=>{let{getPrefixCls:t,direction:n,timeline:o}=r.useContext(a.E_),{prefixCls:l,children:c,items:u,className:d,style:f}=e,p=E(e,["prefixCls","children","items","className","style"]),m=t("timeline",l),g=(0,s.Z)(m),[v,y,b]=h(m,g),S=x(u,c);return v(r.createElement(w,Object.assign({},p,{className:i()(null==o?void 0:o.className,d,b,g),style:Object.assign(Object.assign({},null==o?void 0:o.style),f),prefixCls:m,direction:n,items:S,hashId:y})))};C.Item=g;var _=C},13185:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(44194),o=n(51865),i=n.n(o),a=n(29611),s=n(45571),l=n(80265),c=n(28885),u=n(62334),d=n(18495),f=n(85905),p=n(66973),h=n(24283),m=n(25431),g=n(34066),v=n(82698),y=n(61885),b=n(67267),w=n(18464),S=n(1958),x=n(70552),E=n(39564),C=n(2916);let _=e=>{let{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:c,paddingXS:u}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,["".concat(t,"-inner")]:{minWidth:"1em",minHeight:s,padding:"".concat((0,v.bf)(e.calc(c).div(2).equal())," ").concat((0,v.bf)(u)),color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:l,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{["".concat(t,"-inner")]:{borderRadius:e.min(i,w.qN)}},["".concat(t,"-content")]:{position:"relative"}}),(0,x.Z)(e,(e,n)=>{let{darkColor:r}=n;return{["&".concat(t,"-").concat(e)]:{["".concat(t,"-inner")]:{backgroundColor:r},["".concat(t,"-arrow")]:{"--antd-arrow-background-color":r}}}})),{"&-rtl":{direction:"rtl"}})},(0,w.ZP)(e,"var(--antd-arrow-background-color)"),{["".concat(t,"-pure")]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},k=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,w.wZ)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,S.w)((0,E.IX)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)})));function O(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,C.I$)("Tooltip",e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e;return[_((0,E.IX)(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r})),(0,b._y)(e,"zoom-big-fast")]},k,{resetStyle:!1,injectStyle:t})(e)}var A=n(55742);function I(e,t){let n=(0,A.o2)(t),r=i()({["".concat(e,"-").concat(t)]:t&&n}),o={},a={};return t&&!n&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}var P=e=>{let{prefixCls:t,className:n,placement:o="top",title:s,color:l,overlayInnerStyle:c}=e,{getPrefixCls:u}=r.useContext(m.E_),d=u("tooltip",t),[f,p,h]=O(d),g=I(d,l),v=g.arrowStyle,y=Object.assign(Object.assign({},c),g.overlayStyle),b=i()(p,h,d,"".concat(d,"-pure"),"".concat(d,"-placement-").concat(o),n,g.className);return f(r.createElement("div",{className:b,style:v},r.createElement("div",{className:"".concat(d,"-arrow")}),r.createElement(a.G,Object.assign({},e,{className:p,prefixCls:d,overlayInnerStyle:y}),s)))},T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let R=r.forwardRef((e,t)=>{var n,o;let{prefixCls:v,openClassName:y,getTooltipContainer:b,overlayClassName:w,color:S,overlayInnerStyle:x,children:E,afterOpenChange:C,afterVisibleChange:_,destroyTooltipOnHide:k,arrow:A=!0,title:P,overlay:R,builtinPlacements:M,arrowPointAtCenter:N=!1,autoAdjustOverflow:j=!0}=e,D=!!A,[,L]=(0,g.ZP)(),{getPopupContainer:B,getPrefixCls:Z,direction:F}=r.useContext(m.E_),z=(0,p.ln)("Tooltip"),U=r.useRef(null),H=()=>{var e;null===(e=U.current)||void 0===e||e.forceAlign()};r.useImperativeHandle(t,()=>{var e;return{forceAlign:H,forcePopupAlign:()=>{z.deprecated(!1,"forcePopupAlign","forceAlign"),H()},nativeElement:null===(e=U.current)||void 0===e?void 0:e.nativeElement}});let[q,V]=(0,s.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),W=!P&&!R&&0!==P,$=t=>{var n,r;V(!W&&t),W||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},G=r.useMemo(()=>{var e,t;let n=N;return"object"==typeof A&&(n=null!==(t=null!==(e=A.pointAtCenter)&&void 0!==e?e:A.arrowPointAtCenter)&&void 0!==t?t:N),M||(0,d.Z)({arrowPointAtCenter:n,autoAdjustOverflow:j,arrowWidth:D?L.sizePopupArrow:0,borderRadius:L.borderRadius,offset:L.marginXXS,visibleFirst:!0})},[N,A,M,L]),K=r.useMemo(()=>0===P?P:R||P||"",[R,P]),Y=r.createElement(l.Z,{space:!0},"function"==typeof K?K():K),{getPopupContainer:X,placement:Q="top",mouseEnterDelay:J=.1,mouseLeaveDelay:ee=.1,overlayStyle:et,rootClassName:en}=e,er=T(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),eo=Z("tooltip",v),ei=Z(),ea=e["data-popover-inject"],es=q;"open"in e||"visible"in e||!W||(es=!1);let el=r.isValidElement(E)&&!(0,f.M2)(E)?E:r.createElement("span",null,E),ec=el.props,eu=ec.className&&"string"!=typeof ec.className?ec.className:i()(ec.className,y||"".concat(eo,"-open")),[ed,ef,ep]=O(eo,!ea),eh=I(eo,S),em=eh.arrowStyle,eg=Object.assign(Object.assign({},x),eh.overlayStyle),ev=i()(w,{["".concat(eo,"-rtl")]:"rtl"===F},eh.className,en,ef,ep),[ey,eb]=(0,c.Cn)("Tooltip",er.zIndex),ew=r.createElement(a.Z,Object.assign({},er,{zIndex:ey,showArrow:D,placement:Q,mouseEnterDelay:J,mouseLeaveDelay:ee,prefixCls:eo,overlayClassName:ev,overlayStyle:Object.assign(Object.assign({},em),et),getTooltipContainer:X||b||B,ref:U,builtinPlacements:G,overlay:Y,visible:es,onVisibleChange:$,afterVisibleChange:null!=C?C:_,overlayInnerStyle:eg,arrowContent:r.createElement("span",{className:"".concat(eo,"-arrow-content")}),motion:{motionName:(0,u.m)(ei,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!k}),es?(0,f.Tm)(el,{className:eu}):el);return ed(r.createElement(h.Z.Provider,{value:eb},ew))});R._InternalPanelDoNotUseOrYouWillBeFired=P;var M=R},17998:function(e,t,n){"use strict";n.d(t,{Z:function(){return eD}});var r=n(44194),o=n(27820),i=n(98639),a=n(72654),s=function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i.Z}))},l=r.forwardRef(s),c=n(51865),u=n.n(c),d=n(60118),f=n(2196),p=n(75232),h=n(45571),m=n(76933),g=n(64198),v=n(8514),y=n(4062),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let w={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"};var S=r.forwardRef((e,t)=>{let n=e=>{let{keyCode:t}=e;t===y.Z.ENTER&&e.preventDefault()},o=t=>{let{keyCode:n}=t,{onClick:r}=e;n===y.Z.ENTER&&r&&r()},{style:i,noStyle:a,disabled:s,tabIndex:l=0}=e,c=b(e,["style","noStyle","disabled","tabIndex"]),u={};return a||(u=Object.assign({},w)),s&&(u.pointerEvents="none"),u=Object.assign(Object.assign({},u),i),r.createElement("div",Object.assign({role:"button",tabIndex:l,ref:t},c,{onKeyDown:n,onKeyUp:o,style:u}))}),x=n(25431),E=n(71254),C=n(13185),_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},k=function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:_}))},O=r.forwardRef(k),A=n(85905),I=n(81203),P=n(21334),T=n(2916),R=n(38774),M=n(82698);let N=(e,t,n,r)=>{let{titleMarginBottom:o,fontWeightStrong:i}=r;return{marginBottom:o,color:n,fontWeight:i,fontSize:e,lineHeight:t}},j=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t["\n      h".concat(n,"&,\n      div&-h").concat(n,",\n      div&-h").concat(n," > textarea,\n      h").concat(n,"\n    ")]=N(e["fontSizeHeading".concat(n)],e["lineHeightHeading".concat(n)],e.colorTextHeading,e)}),t},D=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,P.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},["&[disabled], &".concat(t,"-disabled")]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},L=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:R.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),B=e=>{let{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:"calc(1em - ".concat((0,M.bf)(r),")")},["".concat(t,"-edit-content-confirm")]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Z=e=>({["".concat(e.componentCls,"-copy-success")]:{"\n    &,\n    &:hover,\n    &:focus":{color:e.colorSuccess}},["".concat(e.componentCls,"-copy-icon-only")]:{marginInlineStart:0}}),F=()=>({"\n  a&-ellipsis,\n  span&-ellipsis\n  ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),z=e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,["&".concat(t,"-secondary")]:{color:e.colorTextDescription},["&".concat(t,"-success")]:{color:e.colorSuccess},["&".concat(t,"-warning")]:{color:e.colorWarning},["&".concat(t,"-danger")]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},["&".concat(t,"-disabled")]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n        div&,\n        p\n      ":{marginBottom:"1em"}},j(e)),{["\n      & + h1".concat(t,",\n      & + h2").concat(t,",\n      & + h3").concat(t,",\n      & + h4").concat(t,",\n      & + h5").concat(t,"\n      ")]:{marginTop:n},"\n      div,\n      ul,\n      li,\n      p,\n      h1,\n      h2,\n      h3,\n      h4,\n      h5":{"\n        + h1,\n        + h2,\n        + h3,\n        + h4,\n        + h5\n        ":{marginTop:n}}}),L(e)),D(e)),{["\n        ".concat(t,"-expand,\n        ").concat(t,"-collapse,\n        ").concat(t,"-edit,\n        ").concat(t,"-copy\n      ")]:Object.assign(Object.assign({},(0,P.N)(e)),{marginInlineStart:e.marginXXS})}),B(e)),Z(e)),F()),{"&-rtl":{direction:"rtl"}})}},U=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var H=(0,T.I$)("Typography",e=>[z(e)],U),q=e=>{let{prefixCls:t,"aria-label":n,className:o,style:i,direction:a,maxLength:s,autoSize:l=!0,value:c,onSave:d,onCancel:f,onEnd:p,component:h,enterIcon:m=r.createElement(O,null)}=e,g=r.useRef(null),v=r.useRef(!1),b=r.useRef(),[w,S]=r.useState(c);r.useEffect(()=>{S(c)},[c]),r.useEffect(()=>{var e;if(null===(e=g.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=g.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let x=e=>{let{target:t}=e;S(t.value.replace(/[\n\r]/g,""))},E=()=>{v.current=!0},C=()=>{v.current=!1},_=e=>{let{keyCode:t}=e;v.current||(b.current=t)},k=()=>{d(w.trim())},P=e=>{let{keyCode:t,ctrlKey:n,altKey:r,metaKey:o,shiftKey:i}=e;b.current!==t||v.current||n||r||o||i||(t===y.Z.ENTER?(k(),null==p||p()):t===y.Z.ESC&&f())},T=()=>{k()},R=h?"".concat(t,"-").concat(h):"",[M,N,j]=H(t),D=u()(t,"".concat(t,"-edit-content"),{["".concat(t,"-rtl")]:"rtl"===a},o,R,N,j);return M(r.createElement("div",{className:D,style:i},r.createElement(I.Z,{ref:g,maxLength:s,value:w,onChange:x,onKeyDown:_,onKeyUp:P,onCompositionStart:E,onCompositionEnd:C,onBlur:T,"aria-label":n,rows:1,autoSize:l}),null!==m?(0,A.Tm)(m,{className:"".concat(t,"-edit-content-confirm")}):null))},V=n(86724),W=n.n(V),$=n(91324),G=function(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})},K=e=>{let{copyConfig:t,children:n}=e,[o,i]=r.useState(!1),[a,s]=r.useState(!1),l=r.useRef(null),c=()=>{l.current&&clearTimeout(l.current)},u={};return t.format&&(u.format=t.format),r.useEffect(()=>c,[]),{copied:o,copyLoading:a,onClick:(0,$.zX)(e=>G(void 0,void 0,void 0,function*(){var r;null==e||e.preventDefault(),null==e||e.stopPropagation(),s(!0);try{let o="function"==typeof t.text?yield t.text():t.text;W()(o||String(n)||"",u),s(!1),i(!0),c(),l.current=setTimeout(()=>{i(!1)},3e3),null===(r=t.onCopy)||void 0===r||r.call(t,e)}catch(e){throw s(!1),e}}))}};function Y(e,t){return r.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var X=e=>{let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e}),t.current},Q=(e,t)=>{let n=r.useRef(!1);r.useEffect(()=>{n.current?e():n.current=!0},t)},J=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},ee=r.forwardRef((e,t)=>{let{prefixCls:n,component:o="article",className:i,rootClassName:a,setContentRef:s,children:l,direction:c,style:d}=e,f=J(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:h,typography:m}=r.useContext(x.E_),v=null!=c?c:h,y=t;s&&(y=(0,g.sQ)(t,s));let b=p("typography",n),[w,S,E]=H(b),C=u()(b,null==m?void 0:m.className,{["".concat(b,"-rtl")]:"rtl"===v},i,a,S,E),_=Object.assign(Object.assign({},null==m?void 0:m.style),d);return w(r.createElement(o,Object.assign({className:C,style:_,ref:y},f),l))}),et=n(70524),en=n(95414),er=function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:en.Z}))},eo=r.forwardRef(er),ei=n(21075);function ea(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function es(e,t,n){return!0===e||void 0===e?t:e||n&&t}var el=e=>{let{prefixCls:t,copied:n,locale:o,iconOnly:i,tooltips:a,icon:s,loading:l,tabIndex:c,onCopy:d}=e,f=ea(a),p=ea(s),{copied:h,copy:m}=null!=o?o:{},g=n?es(f[1],h):es(f[0],m),v=n?h:m,y="string"==typeof g?g:v;return r.createElement(C.Z,{key:"copy",title:g},r.createElement(S,{className:u()("".concat(t,"-copy"),{["".concat(t,"-copy-success")]:n,["".concat(t,"-copy-icon-only")]:i}),onClick:d,"aria-label":y,tabIndex:c},n?es(p[1],r.createElement(et.Z,null),!0):es(p[0],l?r.createElement(ei.Z,null):r.createElement(eo,null),!0)))},ec=n(70826);let eu=r.forwardRef((e,t)=>{let{style:n,children:o}=e,i=r.useRef(null);return r.useImperativeHandle(t,()=>({isExceed:()=>{let e=i.current;return e.scrollHeight>e.clientHeight},getHeight:()=>i.current.clientHeight})),r.createElement("span",{"aria-hidden":!0,ref:i,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},o)});function ed(e){let t=typeof e;return"string"===t||"number"===t}function ef(e){let t=0;return e.forEach(e=>{ed(e)?t+=String(e).length:t+=1}),t}function ep(e,t){let n=0,r=[];for(let o=0;o<e.length;o+=1){if(n===t)return r;let i=e[o],a=n+(ed(i)?String(i).length:1);if(a>t){let e=t-n;return r.push(String(i).slice(0,e)),r}r.push(i),n=a}return e}let eh=0,em=1,eg=2,ev=3,ey=4,eb={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function ew(e){let{enableMeasure:t,width:n,text:o,children:i,rows:a,expanded:s,miscDeps:l,onEllipsis:c}=e,u=r.useMemo(()=>(0,f.Z)(o),[o]),d=r.useMemo(()=>ef(u),[o]),h=r.useMemo(()=>i(u,!1),[o]),[m,g]=r.useState(null),v=r.useRef(null),y=r.useRef(null),b=r.useRef(null),w=r.useRef(null),S=r.useRef(null),[x,E]=r.useState(!1),[C,_]=r.useState(eh),[k,O]=r.useState(0),[A,I]=r.useState(null);(0,p.Z)(()=>{t&&n&&d?_(em):_(eh)},[n,o,a,t,u]),(0,p.Z)(()=>{var e,t,n,r;if(C===em)_(eg),I(y.current&&getComputedStyle(y.current).whiteSpace);else if(C===eg){let o=!!(null===(e=b.current)||void 0===e?void 0:e.isExceed());_(o?ev:ey),g(o?[0,d]:null),E(o),O(Math.max((null===(t=b.current)||void 0===t?void 0:t.getHeight())||0,(1===a?0:(null===(n=w.current)||void 0===n?void 0:n.getHeight())||0)+((null===(r=S.current)||void 0===r?void 0:r.getHeight())||0))+1),c(o)}},[C]);let P=m?Math.ceil((m[0]+m[1])/2):0;(0,p.Z)(()=>{var e;let[t,n]=m||[0,0];if(t!==n){let r=((null===(e=v.current)||void 0===e?void 0:e.getHeight())||0)>k,o=P;n-t==1&&(o=r?t:n),r?g([t,o]):g([o,n])}},[m,P]);let T=r.useMemo(()=>{if(C!==ev||!m||m[0]!==m[1]){let e=i(u,!1);return C!==ey&&C!==eh?r.createElement("span",{style:Object.assign(Object.assign({},eb),{WebkitLineClamp:a})},e):e}return i(s?u:ep(u,m[0]),x)},[s,C,m,u].concat((0,ec.Z)(l))),R={width:n,margin:0,padding:0,whiteSpace:"nowrap"===A?"normal":"inherit"};return r.createElement(r.Fragment,null,T,C===eg&&r.createElement(r.Fragment,null,r.createElement(eu,{style:Object.assign(Object.assign(Object.assign({},R),eb),{WebkitLineClamp:a}),ref:b},h),r.createElement(eu,{style:Object.assign(Object.assign(Object.assign({},R),eb),{WebkitLineClamp:a-1}),ref:w},h),r.createElement(eu,{style:Object.assign(Object.assign(Object.assign({},R),eb),{WebkitLineClamp:1}),ref:S},i([],!0))),C===ev&&m&&m[0]!==m[1]&&r.createElement(eu,{style:Object.assign(Object.assign({},R),{top:400}),ref:v},i(ep(u,P),!0)),C===em&&r.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}var eS=e=>{let{enableEllipsis:t,isEllipsis:n,children:o,tooltipProps:i}=e;return(null==i?void 0:i.title)&&t?r.createElement(C.Z,Object.assign({open:!!n&&void 0},i),o):o},ex=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function eE(e,t){let{mark:n,code:o,underline:i,delete:a,strong:s,keyboard:l,italic:c}=e,u=t;function d(e,t){t&&(u=r.createElement(e,{},u))}return d("strong",s),d("u",i),d("del",a),d("code",o),d("mark",n),d("kbd",l),d("i",c),u}let eC="...";var e_=r.forwardRef((e,t)=>{var n,o,i;let{prefixCls:a,className:s,style:c,type:y,disabled:b,children:w,ellipsis:_,editable:k,copyable:O,component:A,title:I}=e,P=ex(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:T,direction:R}=r.useContext(x.E_),[M]=(0,E.Z)("Text"),N=r.useRef(null),j=r.useRef(null),D=T("typography",a),L=(0,m.Z)(P,["mark","code","delete","underline","strong","keyboard","italic"]),[B,Z]=Y(k),[F,z]=(0,h.Z)(!1,{value:Z.editing}),{triggerType:U=["icon"]}=Z,H=e=>{var t;e&&(null===(t=Z.onStart)||void 0===t||t.call(Z)),z(e)},V=X(F);Q(()=>{var e;!F&&V&&(null===(e=j.current)||void 0===e||e.focus())},[F]);let W=e=>{null==e||e.preventDefault(),H(!0)},$=e=>{var t;null===(t=Z.onChange)||void 0===t||t.call(Z,e),H(!1)},G=()=>{var e;null===(e=Z.onCancel)||void 0===e||e.call(Z),H(!1)},[J,et]=Y(O),{copied:en,copyLoading:er,onClick:eo}=K({copyConfig:et,children:w}),[ei,ea]=r.useState(!1),[es,ec]=r.useState(!1),[eu,ed]=r.useState(!1),[ef,ep]=r.useState(!1),[eh,em]=r.useState(!0),[eg,ev]=Y(_,{expandable:!1,symbol:e=>e?null==M?void 0:M.collapse:null==M?void 0:M.expand}),[ey,eb]=(0,h.Z)(ev.defaultExpanded||!1,{value:ev.expanded}),e_=eg&&(!ey||"collapsible"===ev.expandable),{rows:ek=1}=ev,eO=r.useMemo(()=>e_&&(void 0!==ev.suffix||ev.onEllipsis||ev.expandable||B||J),[e_,ev,B,J]);(0,p.Z)(()=>{eg&&!eO&&(ea((0,v.G)("webkitLineClamp")),ec((0,v.G)("textOverflow")))},[eO,eg]);let[eA,eI]=r.useState(e_),eP=r.useMemo(()=>!eO&&(1===ek?es:ei),[eO,es,ei]);(0,p.Z)(()=>{eI(eP&&e_)},[eP,e_]);let eT=e_&&(eA?ef:eu),eR=e_&&1===ek&&eA,eM=e_&&ek>1&&eA,eN=(e,t)=>{var n;eb(t.expanded),null===(n=ev.onExpand)||void 0===n||n.call(ev,e,t)},[ej,eD]=r.useState(0),eL=e=>{let{offsetWidth:t}=e;eD(t)},eB=e=>{var t;ed(e),eu!==e&&(null===(t=ev.onEllipsis)||void 0===t||t.call(ev,e))};r.useEffect(()=>{let e=N.current;if(eg&&eA&&e){let t=eM?e.offsetHeight<e.scrollHeight:e.offsetWidth<e.scrollWidth;ef!==t&&ep(t)}},[eg,eA,w,eM,eh,ej]),r.useEffect(()=>{let e=N.current;if("undefined"==typeof IntersectionObserver||!e||!eA||!e_)return;let t=new IntersectionObserver(()=>{em(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[eA,e_]);let eZ={};eZ=!0===ev.tooltip?{title:null!==(n=Z.text)&&void 0!==n?n:w}:r.isValidElement(ev.tooltip)?{title:ev.tooltip}:"object"==typeof ev.tooltip?Object.assign({title:null!==(o=Z.text)&&void 0!==o?o:w},ev.tooltip):{title:ev.tooltip};let eF=r.useMemo(()=>{let e=e=>["string","number"].includes(typeof e);return!eg||eA?void 0:e(Z.text)?Z.text:e(w)?w:e(I)?I:e(eZ.title)?eZ.title:void 0},[eg,eA,I,eZ.title,eT]);if(F)return r.createElement(q,{value:null!==(i=Z.text)&&void 0!==i?i:"string"==typeof w?w:"",onSave:$,onCancel:G,onEnd:Z.onEnd,prefixCls:D,className:s,style:c,direction:R,component:A,maxLength:Z.maxLength,autoSize:Z.autoSize,enterIcon:Z.enterIcon});let ez=()=>{let{expandable:e,symbol:t}=ev;return!e||ey&&"collapsible"!==e?null:r.createElement(S,{key:"expand",className:"".concat(D,"-").concat(ey?"collapse":"expand"),onClick:e=>eN(e,{expanded:!ey}),"aria-label":ey?M.collapse:null==M?void 0:M.expand},"function"==typeof t?t(ey):t)},eU=()=>{if(!B)return;let{icon:e,tooltip:t,tabIndex:n}=Z,o=(0,f.Z)(t)[0]||(null==M?void 0:M.edit),i="string"==typeof o?o:"";return U.includes("icon")?r.createElement(C.Z,{key:"edit",title:!1===t?"":o},r.createElement(S,{ref:j,className:"".concat(D,"-edit"),onClick:W,"aria-label":i,tabIndex:n},e||r.createElement(l,{role:"button"}))):null},eH=()=>J?r.createElement(el,Object.assign({key:"copy"},et,{prefixCls:D,copied:en,locale:M,onCopy:eo,loading:er,iconOnly:null==w})):null,eq=e=>[e&&ez(),eU(),eH()],eV=e=>[e&&!ey&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},eC),ev.suffix,eq(e)];return r.createElement(d.Z,{onResize:eL,disabled:!e_},n=>r.createElement(eS,{tooltipProps:eZ,enableEllipsis:e_,isEllipsis:eT},r.createElement(ee,Object.assign({className:u()({["".concat(D,"-").concat(y)]:y,["".concat(D,"-disabled")]:b,["".concat(D,"-ellipsis")]:eg,["".concat(D,"-ellipsis-single-line")]:eR,["".concat(D,"-ellipsis-multiple-line")]:eM},s),prefixCls:a,style:Object.assign(Object.assign({},c),{WebkitLineClamp:eM?ek:void 0}),component:A,ref:(0,g.sQ)(n,N,t),direction:R,onClick:U.includes("text")?W:void 0,"aria-label":null==eF?void 0:eF.toString(),title:I},L),r.createElement(ew,{enableMeasure:e_&&!eA,text:w,rows:ek,width:ej,onEllipsis:eB,expanded:ey,miscDeps:[en,ey,er,B,J]},(t,n)=>eE(e,r.createElement(r.Fragment,null,t.length>0&&n&&!ey&&eF?r.createElement("span",{key:"show-content","aria-hidden":!0},t):t,eV(n)))))))}),ek=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eO=r.forwardRef((e,t)=>{var{ellipsis:n,rel:o}=e,i=ek(e,["ellipsis","rel"]);let a=Object.assign(Object.assign({},i),{rel:void 0===o&&"_blank"===i.target?"noopener noreferrer":o});return delete a.navigate,r.createElement(e_,Object.assign({},a,{ref:t,ellipsis:!!n,component:"a"}))}),eA=r.forwardRef((e,t)=>r.createElement(e_,Object.assign({ref:t},e,{component:"div"}))),eI=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let eP=(e,t)=>{var{ellipsis:n}=e,o=eI(e,["ellipsis"]);let i=r.useMemo(()=>n&&"object"==typeof n?(0,m.Z)(n,["expandable","rows"]):n,[n]);return r.createElement(e_,Object.assign({ref:t},o,{ellipsis:i,component:"span"}))};var eT=r.forwardRef(eP),eR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let eM=[1,2,3,4,5];var eN=r.forwardRef((e,t)=>{let n;let{level:o=1}=e,i=eR(e,["level"]);return n=eM.includes(o)?"h".concat(o):"h1",r.createElement(e_,Object.assign({ref:t},i,{component:n}))});let ej=ee;ej.Text=eT,ej.Link=eO,ej.Title=eN,ej.Paragraph=eA;var eD=ej},56879:function(e,t,n){"use strict";n.d(t,{Z:function(){return eW}});var r=n(44194),o=n(70826),i=n(56321),a=n(51865),s=n.n(a),l=n(27820),c=n(10342),u=n(77009),d=n(45534),f=n(81065),p=n(17615),h=n(52986),m=n(33581),g=n(92486),v=n(21996),y=n(24335),b=n(63011),w=n(11875),S=n(6103),x=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=r.toLowerCase(),a=t.toLowerCase(),s=[a];return(".jpg"===a||".jpeg"===a)&&(s=[".jpg",".jpeg"]),s.some(function(e){return n.endsWith(e)})}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,S.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0};function E(e,t){var n=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"));return n.status=t.status,n.method=e.method,n.url=e.action,n}function C(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function _(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var r=e.data[t];if(Array.isArray(r)){r.forEach(function(e){n.append("".concat(t,"[]"),e)});return}n.append(t,r)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(E(e,t),C(t)):e.onSuccess(C(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(e){null!==r[e]&&t.setRequestHeader(e,r[e])}),t.send(n),{abort:function(){t.abort()}}}var k=function(e,t,n){var r=[],i=[];function a(e){var t=e.createReader();function n(){t.readEntries(function(e){var t=Array.prototype.slice.apply(e);i.push.apply(i,(0,o.Z)(t)),t.length&&n()})}n()}e.forEach(function(e){return i.push(e.webkitGetAsEntry())});var s=function(e,t){e&&(e.path=t||"",e.isFile?e.file(function(t){n(t)&&(e.fullPath&&!t.webkitRelativePath&&(Object.defineProperties(t,{webkitRelativePath:{writable:!0}}),t.webkitRelativePath=e.fullPath.replace(/^\//,""),Object.defineProperties(t,{webkitRelativePath:{writable:!1}})),r.push(t))}):e.isDirectory&&a(e))};(function(){for(var e=0;e<i.length;)s(i[e]),e++;t(r)})()},O=+new Date,A=0;function I(){return"rc-upload-".concat(O,"-").concat(++A)}var P=["component","prefixCls","className","classNames","disabled","id","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],T=function(e){(0,f.Z)(n,e);var t=(0,p.Z)(n);function n(){var e;(0,c.Z)(this,n);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,h.Z)((0,d.Z)(e),"state",{uid:I()}),(0,h.Z)((0,d.Z)(e),"reqs",{}),(0,h.Z)((0,d.Z)(e),"fileInput",void 0),(0,h.Z)((0,d.Z)(e),"_isMounted",void 0),(0,h.Z)((0,d.Z)(e),"onChange",function(t){var n=e.props,r=n.accept,i=n.directory,a=t.target.files,s=(0,o.Z)(a).filter(function(e){return!i||x(e,r)});e.uploadFiles(s),e.reset()}),(0,h.Z)((0,d.Z)(e),"onClick",function(t){var n=e.fileInput;if(n){var r=t.target,o=e.props.onClick;r&&"BUTTON"===r.tagName&&(n.parentNode.focus(),r.blur()),n.click(),o&&o(t)}}),(0,h.Z)((0,d.Z)(e),"onKeyDown",function(t){"Enter"===t.key&&e.onClick(t)}),(0,h.Z)((0,d.Z)(e),"onFileDrop",function(t){var n=e.props.multiple;if(t.preventDefault(),"dragover"!==t.type){if(e.props.directory)k(Array.prototype.slice.call(t.dataTransfer.items),e.uploadFiles,function(t){return x(t,e.props.accept)});else{var r=(0,o.Z)(t.dataTransfer.files).filter(function(t){return x(t,e.props.accept)});!1===n&&(r=r.slice(0,1)),e.uploadFiles(r)}}}),(0,h.Z)((0,d.Z)(e),"uploadFiles",function(t){var n=(0,o.Z)(t);Promise.all(n.map(function(t){return t.uid=I(),e.processFile(t,n)})).then(function(t){var n=e.props.onBatchStart;null==n||n(t.map(function(e){return{file:e.origin,parsedFile:e.parsedFile}})),t.filter(function(e){return null!==e.parsedFile}).forEach(function(t){e.post(t)})})}),(0,h.Z)((0,d.Z)(e),"processFile",function(){var t=(0,b.Z)((0,v.Z)().mark(function t(n,r){var o,i,a,s,l,c,u,d,f;return(0,v.Z)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.props.beforeUpload,i=n,!o){t.next=14;break}return t.prev=3,t.next=6,o(n,r);case 6:i=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(3),i=!1;case 12:if(!1!==i){t.next=14;break}return t.abrupt("return",{origin:n,parsedFile:null,action:null,data:null});case 14:if("function"!=typeof(a=e.props.action)){t.next=21;break}return t.next=18,a(n);case 18:s=t.sent,t.next=22;break;case 21:s=a;case 22:if("function"!=typeof(l=e.props.data)){t.next=29;break}return t.next=26,l(n);case 26:c=t.sent,t.next=30;break;case 29:c=l;case 30:return(u=("object"===(0,y.Z)(i)||"string"==typeof i)&&i?i:n)instanceof File?d=u:d=new File([u],n.name,{type:n.type}),(f=d).uid=n.uid,t.abrupt("return",{origin:n,data:c,parsedFile:f,action:s});case 35:case"end":return t.stop()}},t,null,[[3,9]])}));return function(e,n){return t.apply(this,arguments)}}()),(0,h.Z)((0,d.Z)(e),"saveFileInput",function(t){e.fileInput=t}),e}return(0,u.Z)(n,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(e){var t=this,n=e.data,r=e.origin,o=e.action,i=e.parsedFile;if(this._isMounted){var a=this.props,s=a.onStart,l=a.customRequest,c=a.name,u=a.headers,d=a.withCredentials,f=a.method,p=r.uid,h=l||_,m={action:o,filename:c,data:n,file:i,headers:u,withCredentials:d,method:f||"post",onProgress:function(e){var n=t.props.onProgress;null==n||n(e,i)},onSuccess:function(e,n){var r=t.props.onSuccess;null==r||r(e,i,n),delete t.reqs[p]},onError:function(e,n){var r=t.props.onError;null==r||r(e,n,i),delete t.reqs[p]}};s(r),this.reqs[p]=h(m)}}},{key:"reset",value:function(){this.setState({uid:I()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach(function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]})}},{key:"render",value:function(){var e=this.props,t=e.component,n=e.prefixCls,o=e.className,i=e.classNames,a=void 0===i?{}:i,c=e.disabled,u=e.id,d=e.style,f=e.styles,p=void 0===f?{}:f,v=e.multiple,y=e.accept,b=e.capture,S=e.children,x=e.directory,E=e.openFileDialogOnClick,C=e.onMouseEnter,_=e.onMouseLeave,k=e.hasControlInside,O=(0,g.Z)(e,P),A=s()((0,h.Z)((0,h.Z)((0,h.Z)({},n,!0),"".concat(n,"-disabled"),c),o,o)),I=x?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},T=c?{}:{onClick:E?this.onClick:function(){},onKeyDown:E?this.onKeyDown:function(){},onMouseEnter:C,onMouseLeave:_,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:k?void 0:"0"};return r.createElement(t,(0,l.Z)({},T,{className:A,role:k?void 0:"button",style:d}),r.createElement("input",(0,l.Z)({},(0,w.Z)(O,{aria:!0,data:!0}),{id:u,disabled:c,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:(0,m.Z)({display:"none"},p.input),className:a.input,accept:y},I,{multiple:v,onChange:this.onChange},null!=b?{capture:b}:{})),S)}}]),n}(r.Component);function R(){}var M=function(e){(0,f.Z)(n,e);var t=(0,p.Z)(n);function n(){var e;(0,c.Z)(this,n);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,h.Z)((0,d.Z)(e),"uploader",void 0),(0,h.Z)((0,d.Z)(e),"saveUploader",function(t){e.uploader=t}),e}return(0,u.Z)(n,[{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){return r.createElement(T,(0,l.Z)({},this.props,{ref:this.saveUploader}))}}]),n}(r.Component);(0,h.Z)(M,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:R,onError:R,onSuccess:R,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var N=M,j=n(45571),D=n(25431),L=n(1849),B=n(71254),Z=n(2941),F=n(61885),z=n(33773),U=n(2916),H=n(39564),q=n(82698),V=e=>{let{componentCls:t,iconCls:n}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-drag")]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:"".concat((0,q.bf)(e.lineWidth)," dashed ").concat(e.colorBorder),borderRadius:e.borderRadiusLG,cursor:"pointer",transition:"border-color ".concat(e.motionDurationSlow),[t]:{padding:e.padding},["".concat(t,"-btn")]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:"".concat((0,q.bf)(e.lineWidthFocus)," solid ").concat(e.colorPrimaryBorder)}},["".concat(t,"-drag-container")]:{display:"table-cell",verticalAlign:"middle"},["\n          &:not(".concat(t,"-disabled):hover,\n          &-hover:not(").concat(t,"-disabled)\n        ")]:{borderColor:e.colorPrimaryHover},["p".concat(t,"-drag-icon")]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},["p".concat(t,"-text")]:{margin:"0 0 ".concat((0,q.bf)(e.marginXXS)),color:e.colorTextHeading,fontSize:e.fontSizeLG},["p".concat(t,"-hint")]:{color:e.colorTextDescription,fontSize:e.fontSize},["&".concat(t,"-disabled")]:{["p".concat(t,"-drag-icon ").concat(n,",\n            p").concat(t,"-text,\n            p").concat(t,"-hint\n          ")]:{color:e.colorTextDisabled}}}}}},W=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSize:o,lineHeight:i,calc:a}=e,s="".concat(t,"-list-item"),l="".concat(s,"-actions"),c="".concat(s,"-action"),u=e.fontHeightSM;return{["".concat(t,"-wrapper")]:{["".concat(t,"-list")]:Object.assign(Object.assign({},(0,F.dF)()),{lineHeight:e.lineHeight,[s]:{position:"relative",height:a(e.lineHeight).mul(o).equal(),marginTop:e.marginXS,fontSize:o,display:"flex",alignItems:"center",transition:"background-color ".concat(e.motionDurationSlow),"&:hover":{backgroundColor:e.controlItemBgHover},["".concat(s,"-name")]:Object.assign(Object.assign({},F.vS),{padding:"0 ".concat((0,q.bf)(e.paddingXS)),lineHeight:i,flex:"auto",transition:"all ".concat(e.motionDurationSlow)}),[l]:{whiteSpace:"nowrap",[c]:{opacity:0},[r]:{color:e.actionsColor,transition:"all ".concat(e.motionDurationSlow)},["\n              ".concat(c,":focus-visible,\n              &.picture ").concat(c,"\n            ")]:{opacity:1},["".concat(c).concat(n,"-btn")]:{height:u,border:0,lineHeight:1}},["".concat(t,"-icon ").concat(r)]:{color:e.colorTextDescription,fontSize:o},["".concat(s,"-progress")]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:a(o).add(e.paddingXS).equal(),fontSize:o,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},["".concat(s,":hover ").concat(c)]:{opacity:1},["".concat(s,"-error")]:{color:e.colorError,["".concat(s,"-name, ").concat(t,"-icon ").concat(r)]:{color:e.colorError},[l]:{["".concat(r,", ").concat(r,":hover")]:{color:e.colorError},[c]:{opacity:1}}},["".concat(t,"-list-item-container")]:{transition:"opacity ".concat(e.motionDurationSlow,", height ").concat(e.motionDurationSlow),"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},$=n(82235),G=e=>{let{componentCls:t}=e,n=new q.E4("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new q.E4("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),o="".concat(t,"-animate-inline");return[{["".concat(t,"-wrapper")]:{["".concat(o,"-appear, ").concat(o,"-enter, ").concat(o,"-leave")]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},["".concat(o,"-appear, ").concat(o,"-enter")]:{animationName:n},["".concat(o,"-leave")]:{animationName:r}}},{["".concat(t,"-wrapper")]:(0,$.J$)(e)},n,r]},K=n(38774);let Y=e=>{let{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:o,calc:i}=e,a="".concat(t,"-list"),s="".concat(a,"-item");return{["".concat(t,"-wrapper")]:{["\n        ".concat(a).concat(a,"-picture,\n        ").concat(a).concat(a,"-picture-card,\n        ").concat(a).concat(a,"-picture-circle\n      ")]:{[s]:{position:"relative",height:i(r).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:"".concat((0,q.bf)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},["".concat(s,"-thumbnail")]:Object.assign(Object.assign({},F.vS),{width:r,height:r,lineHeight:(0,q.bf)(i(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),["".concat(s,"-progress")]:{bottom:o,width:"calc(100% - ".concat((0,q.bf)(i(e.paddingSM).mul(2).equal()),")"),marginTop:0,paddingInlineStart:i(r).add(e.paddingXS).equal()}},["".concat(s,"-error")]:{borderColor:e.colorError,["".concat(s,"-thumbnail ").concat(n)]:{["svg path[fill='".concat(K.iN[0],"']")]:{fill:e.colorErrorBg},["svg path[fill='".concat(K.iN.primary,"']")]:{fill:e.colorError}}},["".concat(s,"-uploading")]:{borderStyle:"dashed",["".concat(s,"-name")]:{marginBottom:o}}},["".concat(a).concat(a,"-picture-circle ").concat(s)]:{["&, &::before, ".concat(s,"-thumbnail")]:{borderRadius:"50%"}}}}},X=e=>{let{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:o,calc:i}=e,a="".concat(t,"-list"),s="".concat(a,"-item"),l=e.uploadPicCardSize;return{["\n      ".concat(t,"-wrapper").concat(t,"-picture-card-wrapper,\n      ").concat(t,"-wrapper").concat(t,"-picture-circle-wrapper\n    ")]:Object.assign(Object.assign({},(0,F.dF)()),{display:"block",["".concat(t).concat(t,"-select")]:{width:l,height:l,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:"".concat((0,q.bf)(e.lineWidth)," dashed ").concat(e.colorBorder),borderRadius:e.borderRadiusLG,cursor:"pointer",transition:"border-color ".concat(e.motionDurationSlow),["> ".concat(t)]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},["&:not(".concat(t,"-disabled):hover")]:{borderColor:e.colorPrimary}},["".concat(a).concat(a,"-picture-card, ").concat(a).concat(a,"-picture-circle")]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},["".concat(a,"-item-container")]:{display:"inline-block",width:l,height:l,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[s]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:"calc(100% - ".concat((0,q.bf)(i(e.paddingXS).mul(2).equal()),")"),height:"calc(100% - ".concat((0,q.bf)(i(e.paddingXS).mul(2).equal()),")"),backgroundColor:e.colorBgMask,opacity:0,transition:"all ".concat(e.motionDurationSlow),content:'" "'}},["".concat(s,":hover")]:{["&::before, ".concat(s,"-actions")]:{opacity:1}},["".concat(s,"-actions")]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:"all ".concat(e.motionDurationSlow),["\n            ".concat(n,"-eye,\n            ").concat(n,"-download,\n            ").concat(n,"-delete\n          ")]:{zIndex:10,width:r,margin:"0 ".concat((0,q.bf)(e.marginXXS)),fontSize:r,cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),color:o,"&:hover":{color:o},svg:{verticalAlign:"baseline"}}},["".concat(s,"-thumbnail, ").concat(s,"-thumbnail img")]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},["".concat(s,"-name")]:{display:"none",textAlign:"center"},["".concat(s,"-file + ").concat(s,"-name")]:{position:"absolute",bottom:e.margin,display:"block",width:"calc(100% - ".concat((0,q.bf)(i(e.paddingXS).mul(2).equal()),")")},["".concat(s,"-uploading")]:{["&".concat(s)]:{backgroundColor:e.colorFillAlter},["&::before, ".concat(n,"-eye, ").concat(n,"-download, ").concat(n,"-delete")]:{display:"none"}},["".concat(s,"-progress")]:{bottom:e.marginXL,width:"calc(100% - ".concat((0,q.bf)(i(e.paddingXS).mul(2).equal()),")"),paddingInlineStart:0}}}),["".concat(t,"-wrapper").concat(t,"-picture-circle-wrapper")]:{["".concat(t).concat(t,"-select")]:{borderRadius:"50%"}}}};var Q=e=>{let{componentCls:t}=e;return{["".concat(t,"-rtl")]:{direction:"rtl"}}};let J=e=>{let{componentCls:t,colorTextDisabled:n}=e;return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({},(0,F.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},["".concat(t,"-select")]:{display:"inline-block"},["".concat(t,"-disabled")]:{color:n,cursor:"not-allowed"}})}},ee=e=>({actionsColor:e.colorTextDescription});var et=(0,U.I$)("Upload",e=>{let{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:o,calc:i}=e,a=(0,H.IX)(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(n).div(2)).add(r).equal(),uploadPicCardSize:i(o).mul(2.55).equal()});return[J(a),V(a),Y(a),X(a),W(a),G(a),Q(a),(0,z.Z)(a)]},ee),en={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"},er=n(72654),eo=function(e,t){return r.createElement(er.Z,(0,l.Z)({},e,{ref:t,icon:en}))},ei=r.forwardRef(eo),ea=n(21075),es={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},el=function(e,t){return r.createElement(er.Z,(0,l.Z)({},e,{ref:t,icon:es}))},ec=r.forwardRef(el),eu={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"},ed=function(e,t){return r.createElement(er.Z,(0,l.Z)({},e,{ref:t,icon:eu}))},ef=r.forwardRef(ed),ep=n(63290),eh=n(45989),em=n(62334),eg=n(85905),ev=n(72477);function ey(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function eb(e,t){let n=(0,o.Z)(t),r=n.findIndex(t=>{let{uid:n}=t;return n===e.uid});return -1===r?n.push(e):n[r]=e,n}function ew(e,t){let n=void 0!==e.uid?"uid":"name";return t.filter(t=>t[n]===e[n])[0]}function eS(e,t){let n=void 0!==e.uid?"uid":"name",r=t.filter(t=>t[n]!==e[n]);return r.length===t.length?null:r}let ex=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},eE=e=>0===e.indexOf("image/"),eC=e=>{if(e.type&&!e.thumbUrl)return eE(e.type);let t=e.thumbUrl||e.url||"",n=ex(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n},e_=200;function ek(e){return new Promise(t=>{if(!e.type||!eE(e.type)){t("");return}let n=document.createElement("canvas");n.width=e_,n.height=e_,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(e_,"px; height: ").concat(e_,"px; z-index: 9999; display: none;"),document.body.appendChild(n);let r=n.getContext("2d"),o=new Image;if(o.onload=()=>{let{width:e,height:i}=o,a=e_,s=e_,l=0,c=0;e>i?c=-((s=e_/e*i)-a)/2:l=-((a=e_/i*e)-s)/2,r.drawImage(o,l,c,a,s);let u=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(o.src),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){let t=new FileReader;t.onload=()=>{t.result&&"string"==typeof t.result&&(o.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){let n=new FileReader;n.onload=()=>{n.result&&t(n.result)},n.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)})}var eO=n(99719),eA=function(e,t){return r.createElement(er.Z,(0,l.Z)({},e,{ref:t,icon:eO.Z}))},eI=r.forwardRef(eA),eP=n(67444),eT=function(e,t){return r.createElement(er.Z,(0,l.Z)({},e,{ref:t,icon:eP.Z}))},eR=r.forwardRef(eT),eM=n(97989),eN=n(9722),ej=n(13185),eD=r.forwardRef((e,t)=>{var n,o;let{prefixCls:i,className:a,style:l,locale:c,listType:u,file:d,items:f,progress:p,iconRender:h,actionIconRender:m,itemRender:g,isImgUrl:v,showPreviewIcon:y,showRemoveIcon:b,showDownloadIcon:w,previewIcon:S,removeIcon:x,downloadIcon:E,onPreview:C,onDownload:_,onClose:k}=e,{status:O}=d,[A,I]=r.useState(O);r.useEffect(()=>{"removed"!==O&&I(O)},[O]);let[P,T]=r.useState(!1);r.useEffect(()=>{let e=setTimeout(()=>{T(!0)},300);return()=>{clearTimeout(e)}},[]);let R=h(d),M=r.createElement("div",{className:"".concat(i,"-icon")},R);if("picture"===u||"picture-card"===u||"picture-circle"===u){if("uploading"!==A&&(d.thumbUrl||d.url)){let e=(null==v?void 0:v(d))?r.createElement("img",{src:d.thumbUrl||d.url,alt:d.name,className:"".concat(i,"-list-item-image"),crossOrigin:d.crossOrigin}):R,t=s()("".concat(i,"-list-item-thumbnail"),{["".concat(i,"-list-item-file")]:v&&!v(d)});M=r.createElement("a",{className:t,onClick:e=>C(d,e),href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}else{let e=s()("".concat(i,"-list-item-thumbnail"),{["".concat(i,"-list-item-file")]:"uploading"!==A});M=r.createElement("div",{className:e},R)}}let N=s()("".concat(i,"-list-item"),"".concat(i,"-list-item-").concat(A)),j="string"==typeof d.linkProps?JSON.parse(d.linkProps):d.linkProps,L=b?m(("function"==typeof x?x(d):x)||r.createElement(eI,null),()=>k(d),i,c.removeFile,!0):null,B=w&&"done"===A?m(("function"==typeof E?E(d):E)||r.createElement(eR,null),()=>_(d),i,c.downloadFile):null,Z="picture-card"!==u&&"picture-circle"!==u&&r.createElement("span",{key:"download-delete",className:s()("".concat(i,"-list-item-actions"),{picture:"picture"===u})},B,L),F=s()("".concat(i,"-list-item-name")),z=d.url?[r.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:F,title:d.name},j,{href:d.url,onClick:e=>C(d,e)}),d.name),Z]:[r.createElement("span",{key:"view",className:F,onClick:e=>C(d,e),title:d.name},d.name),Z],U=y&&(d.url||d.thumbUrl)?r.createElement("a",{href:d.url||d.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>C(d,e),title:c.previewFile},"function"==typeof S?S(d):S||r.createElement(eM.Z,null)):null,H=("picture-card"===u||"picture-circle"===u)&&"uploading"!==A&&r.createElement("span",{className:"".concat(i,"-list-item-actions")},U,"done"===A&&B,L),{getPrefixCls:q}=r.useContext(D.E_),V=q(),W=r.createElement("div",{className:N},M,z,H,P&&r.createElement(ep.ZP,{motionName:"".concat(V,"-fade"),visible:"uploading"===A,motionDeadline:2e3},e=>{let{className:t}=e,n="percent"in d?r.createElement(eN.Z,Object.assign({},p,{type:"line",percent:d.percent,"aria-label":d["aria-label"],"aria-labelledby":d["aria-labelledby"]})):null;return r.createElement("div",{className:s()("".concat(i,"-list-item-progress"),t)},n)})),$=d.response&&"string"==typeof d.response?d.response:(null===(n=d.error)||void 0===n?void 0:n.statusText)||(null===(o=d.error)||void 0===o?void 0:o.message)||c.uploadError,G="error"===A?r.createElement(ej.Z,{title:$,getPopupContainer:e=>e.parentNode},W):W;return r.createElement("div",{className:s()("".concat(i,"-list-item-container"),a),style:l,ref:t},g?g(G,d,f,{download:_.bind(null,d),preview:C.bind(null,d),remove:k.bind(null,d)}):G)});let eL=(e,t)=>{let{listType:n="text",previewFile:i=ek,onPreview:a,onDownload:l,onRemove:c,locale:u,iconRender:d,isImageUrl:f=eC,prefixCls:p,items:h=[],showPreviewIcon:m=!0,showRemoveIcon:g=!0,showDownloadIcon:v=!1,removeIcon:y,previewIcon:b,downloadIcon:w,progress:S={size:[-1,2],showInfo:!1},appendAction:x,appendActionVisible:E=!0,itemRender:C,disabled:_}=e,k=(0,eh.Z)(),[O,A]=r.useState(!1);r.useEffect(()=>{("picture"===n||"picture-card"===n||"picture-circle"===n)&&(h||[]).forEach(e=>{"undefined"!=typeof document&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",i&&i(e.originFileObj).then(t=>{e.thumbUrl=t||"",k()}))})},[n,h,i]),r.useEffect(()=>{A(!0)},[]);let I=(e,t)=>{if(a)return null==t||t.preventDefault(),a(e)},P=e=>{"function"==typeof l?l(e):e.url&&window.open(e.url)},T=e=>{null==c||c(e)},R=e=>{if(d)return d(e,n);let t="uploading"===e.status,o=(null==f?void 0:f(e))?r.createElement(ef,null):r.createElement(ei,null),i=t?r.createElement(ea.Z,null):r.createElement(ec,null);return"picture"===n?i=t?r.createElement(ea.Z,null):o:("picture-card"===n||"picture-circle"===n)&&(i=t?u.uploading:o),i},M=(e,t,n,o,i)=>{let a={type:"text",size:"small",title:o,onClick:n=>{var o,i;t(),r.isValidElement(e)&&(null===(i=(o=e.props).onClick)||void 0===i||i.call(o,n))},className:"".concat(n,"-list-item-action")};if(i&&(a.disabled=_),r.isValidElement(e)){let t=(0,eg.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}));return r.createElement(ev.ZP,Object.assign({},a,{icon:t}))}return r.createElement(ev.ZP,Object.assign({},a),r.createElement("span",null,e))};r.useImperativeHandle(t,()=>({handlePreview:I,handleDownload:P}));let{getPrefixCls:N}=r.useContext(D.E_),j=N("upload",p),L=N(),B=s()("".concat(j,"-list"),"".concat(j,"-list-").concat(n)),Z=(0,o.Z)(h.map(e=>({key:e.uid,file:e}))),F="picture-card"===n||"picture-circle"===n?"animate-inline":"animate",z={motionDeadline:2e3,motionName:"".concat(j,"-").concat(F),keys:Z,motionAppear:O},U=r.useMemo(()=>{let e=Object.assign({},(0,em.Z)(L));return delete e.onAppearEnd,delete e.onEnterEnd,delete e.onLeaveEnd,e},[L]);return"picture-card"!==n&&"picture-circle"!==n&&(z=Object.assign(Object.assign({},U),z)),r.createElement("div",{className:B},r.createElement(ep.V4,Object.assign({},z,{component:!1}),e=>{let{key:t,file:o,className:i,style:a}=e;return r.createElement(eD,{key:t,locale:u,prefixCls:j,className:i,style:a,file:o,items:h,progress:S,listType:n,isImgUrl:f,showPreviewIcon:m,showRemoveIcon:g,showDownloadIcon:v,removeIcon:y,previewIcon:b,downloadIcon:w,iconRender:R,actionIconRender:M,itemRender:C,onPreview:I,onDownload:P,onClose:T})}),x&&r.createElement(ep.ZP,Object.assign({},z,{visible:E,forceRender:!0}),e=>{let{className:t,style:n}=e;return(0,eg.Tm)(x,e=>({className:s()(e.className,t),style:Object.assign(Object.assign(Object.assign({},n),{pointerEvents:t?"none":void 0}),e.style)}))}))};var eB=r.forwardRef(eL),eZ=function(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})};let eF="__LIST_IGNORE_".concat(Date.now(),"__"),ez=(e,t)=>{let{fileList:n,defaultFileList:a,onRemove:l,showUploadList:c=!0,listType:u="text",onPreview:d,onDownload:f,onChange:p,onDrop:h,previewFile:m,disabled:g,locale:v,iconRender:y,isImageUrl:b,progress:w,prefixCls:S,className:x,type:E="select",children:C,style:_,itemRender:k,maxCount:O,data:A={},multiple:I=!1,hasControlInside:P=!0,action:T="",accept:R="",supportServerRender:M=!0,rootClassName:F}=e,z=r.useContext(L.Z),U=null!=g?g:z,[H,q]=(0,j.Z)(a||[],{value:n,postState:e=>null!=e?e:[]}),[V,W]=r.useState("drop"),$=r.useRef(null),G=r.useRef(null);r.useMemo(()=>{let e=Date.now();(n||[]).forEach((t,n)=>{t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(n,"__"))})},[n]);let K=(e,t,n)=>{let r=(0,o.Z)(t),a=!1;1===O?r=r.slice(-1):O&&(a=r.length>O,r=r.slice(0,O)),(0,i.flushSync)(()=>{q(r)});let s={file:e,fileList:r};n&&(s.event=n),(!a||"removed"===e.status||r.some(t=>t.uid===e.uid))&&(0,i.flushSync)(()=>{null==p||p(s)})},Y=(t,n)=>eZ(void 0,void 0,void 0,function*(){let{beforeUpload:r,transformFile:o}=e,i=t;if(r){let e=yield r(t,n);if(!1===e)return!1;if(delete t[eF],e===eF)return Object.defineProperty(t,eF,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(i=e)}return o&&(i=yield o(i)),i}),X=e=>{let t=e.filter(e=>!e.file[eF]);if(!t.length)return;let n=t.map(e=>ey(e.file)),r=(0,o.Z)(H);n.forEach(e=>{r=eb(e,r)}),n.forEach((e,n)=>{let o=e;if(t[n].parsedFile)e.status="uploading";else{let t;let{originFileObj:n}=e;try{t=new File([n],n.name,{type:n.type})}catch(e){(t=new Blob([n],{type:n.type})).name=n.name,t.lastModifiedDate=new Date,t.lastModified=new Date().getTime()}t.uid=e.uid,o=t}K(o,r)})},Q=(e,t,n)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!ew(t,H))return;let r=ey(t);r.status="done",r.percent=100,r.response=e,r.xhr=n;let o=eb(r,H);K(r,o)},J=(e,t)=>{if(!ew(t,H))return;let n=ey(t);n.status="uploading",n.percent=e.percent;let r=eb(n,H);K(n,r,e)},ee=(e,t,n)=>{if(!ew(n,H))return;let r=ey(n);r.error=e,r.response=t,r.status="error";let o=eb(r,H);K(r,o)},en=e=>{let t;Promise.resolve("function"==typeof l?l(e):l).then(n=>{var r;if(!1===n)return;let o=eS(e,H);o&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==H||H.forEach(e=>{let n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")}),null===(r=$.current)||void 0===r||r.abort(t),K(t,o))})},er=e=>{W(e.type),"drop"===e.type&&(null==h||h(e))};r.useImperativeHandle(t,()=>({onBatchStart:X,onSuccess:Q,onProgress:J,onError:ee,fileList:H,upload:$.current,nativeElement:G.current}));let{getPrefixCls:eo,direction:ei,upload:ea}=r.useContext(D.E_),es=eo("upload",S),el=Object.assign(Object.assign({onBatchStart:X,onError:ee,onProgress:J,onSuccess:Q},e),{data:A,multiple:I,action:T,accept:R,supportServerRender:M,prefixCls:es,disabled:U,beforeUpload:Y,onChange:void 0,hasControlInside:P});delete el.className,delete el.style,(!C||U)&&delete el.id;let ec="".concat(es,"-wrapper"),[eu,ed,ef]=et(es,ec),[ep]=(0,B.Z)("Upload",Z.Z.Upload),{showRemoveIcon:eh,showPreviewIcon:em,showDownloadIcon:eg,removeIcon:ev,previewIcon:ex,downloadIcon:eE}="boolean"==typeof c?{}:c,eC=void 0===eh?!U:!!eh,e_=(e,t)=>c?r.createElement(eB,{prefixCls:es,listType:u,items:H,previewFile:m,onPreview:d,onDownload:f,onRemove:en,showRemoveIcon:eC,showPreviewIcon:em,showDownloadIcon:eg,removeIcon:ev,previewIcon:ex,downloadIcon:eE,iconRender:y,locale:Object.assign(Object.assign({},ep),v),isImageUrl:b,progress:w,appendAction:e,appendActionVisible:t,itemRender:k,disabled:U}):e,ek=s()(ec,x,F,ed,ef,null==ea?void 0:ea.className,{["".concat(es,"-rtl")]:"rtl"===ei,["".concat(es,"-picture-card-wrapper")]:"picture-card"===u,["".concat(es,"-picture-circle-wrapper")]:"picture-circle"===u}),eO=Object.assign(Object.assign({},null==ea?void 0:ea.style),_);if("drag"===E){let e=s()(ed,es,"".concat(es,"-drag"),{["".concat(es,"-drag-uploading")]:H.some(e=>"uploading"===e.status),["".concat(es,"-drag-hover")]:"dragover"===V,["".concat(es,"-disabled")]:U,["".concat(es,"-rtl")]:"rtl"===ei});return eu(r.createElement("span",{className:ek,ref:G},r.createElement("div",{className:e,style:eO,onDrop:er,onDragOver:er,onDragLeave:er},r.createElement(N,Object.assign({},el,{ref:$,className:"".concat(es,"-btn")}),r.createElement("div",{className:"".concat(es,"-drag-container")},C))),e_()))}let eA=s()(es,"".concat(es,"-select"),{["".concat(es,"-disabled")]:U}),eI=r.createElement("div",{className:eA,style:C?void 0:{display:"none"}},r.createElement(N,Object.assign({},el,{ref:$})));return eu("picture-card"===u||"picture-circle"===u?r.createElement("span",{className:ek,ref:G},e_(eI,!!C)):r.createElement("span",{className:ek,ref:G},eI,e_()))};var eU=r.forwardRef(ez),eH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},eq=r.forwardRef((e,t)=>{var{style:n,height:o,hasControlInside:i=!1}=e,a=eH(e,["style","height","hasControlInside"]);return r.createElement(eU,Object.assign({ref:t,hasControlInside:i},a,{type:"drag",style:Object.assign(Object.assign({},n),{height:o})}))});let eV=eU;eV.Dragger=eq,eV.LIST_IGNORE=eF;var eW=eV},35763:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r="5.19.4"},36882:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(44194),o=n(91324);function i(){}let a=r.createContext({add:i,remove:i});function s(e){let t=r.useContext(a),n=r.useRef();return(0,o.zX)(r=>{if(r){let o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)})}},59397:function(e,t,n){"use strict";var r=n(44043).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(57551));t.default=o.default},39723:function(e,t,n){"use strict";var r=n(44043).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27853));t.default=o.default},88580:function(e,t,n){"use strict";var r=n(44043).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(73949));t.default=o.default},57551:function(e,t,n){"use strict";var r=n(44043).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(57147)),i=r(n(33817));let a={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o.default),timePickerLocale:Object.assign({},i.default)};t.default=a},27853:function(e,t,n){"use strict";var r=n(44043).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(65450)),i=r(n(48757));let a={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o.default),timePickerLocale:Object.assign({},i.default)};t.default=a},73949:function(e,t,n){"use strict";var r=n(44043).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45706)),i=r(n(81981));let a={lang:Object.assign({placeholder:"S\xe9lectionner une date",yearPlaceholder:"S\xe9lectionner une ann\xe9e",quarterPlaceholder:"S\xe9lectionner un trimestre",monthPlaceholder:"S\xe9lectionner un mois",weekPlaceholder:"S\xe9lectionner une semaine",rangePlaceholder:["Date de d\xe9but","Date de fin"],rangeYearPlaceholder:["Ann\xe9e de d\xe9but","Ann\xe9e de fin"],rangeMonthPlaceholder:["Mois de d\xe9but","Mois de fin"],rangeWeekPlaceholder:["Semaine de d\xe9but","Semaine de fin"]},o.default),timePickerLocale:Object.assign({},i.default)};t.default=a},38678:function(e,t,n){"use strict";var r,o=n(44043).default;r={value:!0},t.Z=void 0;var i=o(n(19342)),a=o(n(59397)),s=o(n(57551)),l=o(n(33817));let c="${label} is not a valid ${type}",u={locale:"en-gb",Pagination:i.default,DatePicker:s.default,TimePicker:l.default,Calendar:a.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.Z=u},60437:function(e,t,n){"use strict";var r,o=n(44043).default;r={value:!0},t.Z=void 0;var i=o(n(11201)),a=o(n(39723)),s=o(n(27853)),l=o(n(48757));let c="${label} is not a valid ${type}",u={locale:"en",Pagination:i.default,DatePicker:s.default,TimePicker:l.default,Calendar:a.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}};t.Z=u},45734:function(e,t,n){"use strict";var r,o=n(44043).default;r={value:!0},t.Z=void 0;var i=o(n(44884)),a=o(n(88580)),s=o(n(73949)),l=o(n(81981));let c="La valeur du champ ${label} n'est pas valide pour le type ${type}",u={locale:"fr",Pagination:i.default,DatePicker:s.default,TimePicker:l.default,Calendar:a.default,Table:{filterTitle:"Filtrer",filterConfirm:"OK",filterReset:"R\xe9initialiser",filterEmptyText:"Aucun filtre",filterCheckall:"Tout s\xe9lectionner",filterSearchPlaceholder:"Chercher dans les filtres",emptyText:"Aucune donn\xe9e",selectAll:"S\xe9lectionner la page actuelle",selectInvert:"Inverser la s\xe9lection de la page actuelle",selectNone:"D\xe9s\xe9lectionner toutes les donn\xe9es",selectionAll:"S\xe9lectionner toutes les donn\xe9es",sortTitle:"Trier",expand:"D\xe9velopper la ligne",collapse:"R\xe9duire la ligne",triggerDesc:"Trier par ordre d\xe9croissant",triggerAsc:"Trier par ordre croissant",cancelSort:"Annuler le tri"},Tour:{Next:"\xc9tape suivante",Previous:"\xc9tape pr\xe9c\xe9dente",Finish:"Fin de la visite guid\xe9e"},Modal:{okText:"OK",cancelText:"Annuler",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Annuler"},Transfer:{titles:["",""],searchPlaceholder:"Rechercher",itemUnit:"\xe9l\xe9ment",itemsUnit:"\xe9l\xe9ments",remove:"D\xe9s\xe9lectionner",selectCurrent:"S\xe9lectionner la page actuelle",removeCurrent:"D\xe9s\xe9lectionner la page actuelle",selectAll:"S\xe9lectionner toutes les donn\xe9es",removeAll:"D\xe9s\xe9lectionner toutes les donn\xe9es",selectInvert:"Inverser la s\xe9lection de la page actuelle"},Upload:{uploading:"T\xe9l\xe9chargement...",removeFile:"Effacer le fichier",uploadError:"Erreur de t\xe9l\xe9chargement",previewFile:"Fichier de pr\xe9visualisation",downloadFile:"T\xe9l\xe9charger un fichier"},Empty:{description:"Aucune donn\xe9e"},Icon:{icon:"ic\xf4ne"},Text:{edit:"\xc9diter",copy:"Copier",copied:"Copie effectu\xe9e",expand:"D\xe9velopper"},Form:{optional:"(optionnel)",defaultValidateMessages:{default:"Erreur de validation pour le champ ${label}",required:"Le champ ${label} est obligatoire",enum:"La valeur du champ ${label} doit \xeatre parmi [${enum}]",whitespace:"La valeur du champ ${label} ne peut pas \xeatre vide",date:{format:"La valeur du champ ${label} n'est pas au format date",parse:"La valeur du champ ${label} ne peut pas \xeatre convertie vers une date",invalid:"La valeur du champ ${label} n'est pas une date valide"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"La taille du champ ${label} doit \xeatre de ${len} caract\xe8res",min:"La taille du champ ${label} doit \xeatre au minimum de ${min} caract\xe8res",max:"La taille du champ ${label} doit \xeatre au maximum de ${max} caract\xe8res",range:"La taille du champ ${label} doit \xeatre entre ${min} et ${max} caract\xe8res"},number:{len:"La valeur du champ ${label} doit \xeatre \xe9gale \xe0 ${len}",min:"La valeur du champ ${label} doit \xeatre plus grande que ${min}",max:"La valeur du champ ${label} doit \xeatre plus petit que ${max}",range:"La valeur du champ ${label} doit \xeatre entre ${min} et ${max}"},array:{len:"La taille du tableau ${label} doit \xeatre de ${len}",min:"La taille du tableau ${label} doit \xeatre au minimum de ${min}",max:"La taille du tableau ${label} doit \xeatre au maximum de ${max}",range:"La taille du tableau ${label} doit \xeatre entre ${min}-${max}"},pattern:{mismatch:"La valeur du champ ${label} ne correspond pas au mod\xe8le ${pattern}"}}},Image:{preview:"Aper\xe7u"}};t.Z=u},33817:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let n={placeholder:"Select time"};t.default=n},48757:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let n={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};t.default=n},81981:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let n={placeholder:"S\xe9lectionner l'heure",rangePlaceholder:["Heure de d\xe9but","Heure de fin"]};t.default=n},38609:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(43235).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1040:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorage}});let r=n(38609);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43235:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return i}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let o=globalThis.AsyncLocalStorage;function i(){return o?new o:new r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},useParams:function(){return p},usePathname:function(){return d},useRouter:function(){return f},useSearchParams:function(){return u},useSelectedLayoutSegment:function(){return g},useSelectedLayoutSegments:function(){return m},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let r=n(44194),o=n(51110),i=n(63841),a=n(53753),s=n(47926),l=n(98771),c=n(65081);function u(){let e=(0,r.useContext)(i.SearchParamsContext);return(0,r.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function d(){return(0,r.useContext)(i.PathnameContext)}function f(){let e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,r.useContext)(i.PathParamsContext)}function h(e,t,n,r){let o;if(void 0===n&&(n=!0),void 0===r&&(r=[]),n)o=e[1][t];else{var i;let t=e[1];o=null!=(i=t.children)?i:Object.values(t)[0]}if(!o)return r;let l=o[0],c=(0,a.getSegmentValue)(l);return!c||c.startsWith(s.PAGE_SEGMENT_KEY)?r:(r.push(c),h(o,t,!1,r))}function m(e){void 0===e&&(e="children");let t=(0,r.useContext)(o.LayoutRouterContext);return t?h(t.tree,e):null}function g(e){void 0===e&&(e="children");let t=m(e);if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===s.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98771:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return r.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=n(35701),o=n(7152);class i extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new i}delete(){throw new i}set(){throw new i}sort(){throw new i}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7152:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83896:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),function(e){e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect"}(n||(n={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35701:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return h},getRedirectTypeFromError:function(){return p},getURLFromRedirectError:function(){return f},isRedirectError:function(){return d},permanentRedirect:function(){return u},redirect:function(){return c}});let o=n(40776),i=n(1040),a=n(83896),s="NEXT_REDIRECT";function l(e,t,n){void 0===n&&(n=a.RedirectStatusCode.TemporaryRedirect);let r=Error(s);r.digest=s+";"+t+";"+e+";"+n+";";let i=o.requestAsyncStorage.getStore();return i&&(r.mutableCookies=i.mutableCookies),r}function c(e,t){void 0===t&&(t="replace");let n=i.actionAsyncStorage.getStore();throw l(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function u(e,t){void 0===t&&(t="replace");let n=i.actionAsyncStorage.getStore();throw l(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function d(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,r,o]=e.digest.split(";",4),i=Number(o);return t===s&&("replace"===n||"push"===n)&&"string"==typeof r&&!isNaN(i)&&i in a.RedirectStatusCode}function f(e){return d(e)?e.digest.split(";",3)[2]:null}function p(e){if(!d(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function h(e){if(!d(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(function(e){e.push="push",e.replace="replace"})(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33493:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(43235).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40776:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=n(33493);function o(e){let t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53753:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},551:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return c},ACTION_NAVIGATE:function(){return i},ACTION_PREFETCH:function(){return l},ACTION_REFRESH:function(){return o},ACTION_RESTORE:function(){return a},ACTION_SERVER_ACTION:function(){return u},ACTION_SERVER_PATCH:function(){return s},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return d}});let o="refresh",i="navigate",a="restore",s="server-patch",l="prefetch",c="fast-refresh",u="server-action";function d(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"})(n||(n={})),function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"}(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71540:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(36929),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38957:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(97940),o=n(60273),i=n(31549),a=o._(n(44194)),s=r._(n(56321)),l=r._(n(73357)),c=n(87225),u=n(4917),d=n(40498);n(48385);let f=n(54048),p=r._(n(68047)),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,n,r,o,i,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,o=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function g(e){let[t,n]=a.version.split(".",2),r=parseInt(t,10),o=parseInt(n,10);return r>18||18===r&&o>=3?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:o,height:s,width:l,decoding:c,className:u,style:d,fetchPriority:f,placeholder:p,loading:h,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:S,setShowAltText:x,sizesInput:E,onLoad:C,onError:_,...k}=e;return(0,i.jsx)("img",{...k,...g(f),loading:h,width:l,height:s,decoding:c,"data-nimg":y?"fill":"1",className:u,style:d,sizes:o,srcSet:r,src:n,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(_&&(e.src=e.src),e.complete&&m(e,p,b,w,S,v,E))},[n,p,b,w,S,_,v,E,t]),onLoad:e=>{m(e.currentTarget,p,b,w,S,v,E)},onError:e=>{x(!0),"empty"!==p&&S(!0),_&&_(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...g(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,i.jsx)(l.default,{children:(0,i.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let n=!(0,a.useContext)(f.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),o=(0,a.useMemo)(()=>{let e=h||r||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[b,w]=(0,a.useState)(!1),[S,x]=(0,a.useState)(!1),{props:E,meta:C}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:o,blurComplete:b,showAltText:S});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{...E,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:x,sizesInput:e.sizes,ref:t}),C.priority?(0,i.jsx)(y,{isAppRouter:n,imgAttributes:E}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3206:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let r=n(97940),o=n(31549),i=r._(n(44194)),a=n(35022),s=n(27986),l=n(50828),c=n(30197),u=n(91058),d=n(54048),f=n(51110),p=n(25600),h=n(71540),m=n(95212),g=n(551),v=new Set;function y(e,t,n,r,o,i){if(i||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(v.has(o))return;v.add(o)}Promise.resolve(i?e.prefetch(t,o):e.prefetch(t,n,r)).catch(e=>{})}}function b(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function w(e,t,n,r,o,a,l,c,u){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(b(e)||!u&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:c,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};u?i.default.startTransition(f):f()}function S(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let x=i.default.forwardRef(function(e,t){let n,r;let{href:s,as:l,children:v,prefetch:b=null,passHref:x,replace:E,shallow:C,scroll:_,locale:k,onClick:O,onMouseEnter:A,onTouchStart:I,legacyBehavior:P=!1,...T}=e;n=v,P&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let R=i.default.useContext(d.RouterContext),M=i.default.useContext(f.AppRouterContext),N=null!=R?R:M,j=!R,D=!1!==b,L=null===b?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:B,as:Z}=i.default.useMemo(()=>{if(!R){let e=S(s);return{href:e,as:l?S(l):e}}let[e,t]=(0,a.resolveHref)(R,s,!0);return{href:e,as:l?(0,a.resolveHref)(R,l):t||e}},[R,s,l]),F=i.default.useRef(B),z=i.default.useRef(Z);P&&(r=i.default.Children.only(n));let U=P?r&&"object"==typeof r&&r.ref:t,[H,q,V]=(0,p.useIntersection)({rootMargin:"200px"}),W=i.default.useCallback(e=>{(z.current!==Z||F.current!==B)&&(V(),z.current=Z,F.current=B),H(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[Z,U,B,V,H]);i.default.useEffect(()=>{N&&q&&D&&y(N,B,Z,{locale:k},{kind:L},j)},[Z,B,q,k,D,null==R?void 0:R.locale,N,j,L]);let $={ref:W,onClick(e){P||"function"!=typeof O||O(e),P&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),N&&!e.defaultPrevented&&w(e,N,B,Z,E,C,_,k,j)},onMouseEnter(e){P||"function"!=typeof A||A(e),P&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),N&&(D||!j)&&y(N,B,Z,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:L},j)},onTouchStart:function(e){P||"function"!=typeof I||I(e),P&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),N&&(D||!j)&&y(N,B,Z,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:L},j)}};if((0,c.isAbsoluteUrl)(Z))$.href=Z;else if(!P||x||"a"===r.type&&!("href"in r.props)){let e=void 0!==k?k:null==R?void 0:R.locale,t=(null==R?void 0:R.isLocaleDomain)&&(0,h.getDomainLocale)(Z,e,null==R?void 0:R.locales,null==R?void 0:R.domainLocales);$.href=t||(0,m.addBasePath)((0,u.addLocale)(Z,e,null==R?void 0:R.defaultLocale))}return P?i.default.cloneElement(r,$):(0,o.jsx)("a",{...T,...$,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let r=n(44194),o=n(26623),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},s.push(n),a.set(n,t),t}function c(e,t,n){let{id:r,observer:o,elements:i}=l(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}function u(e){let{rootRef:t,rootMargin:n,disabled:a}=e,s=a||!i,[l,u]=(0,r.useState)(!1),d=(0,r.useRef)(null),f=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(i){if(s||l)return;let e=d.current;if(e&&e.tagName)return c(e,e=>e&&u(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!l){let e=(0,o.requestIdleCallback)(()=>u(!0));return()=>(0,o.cancelIdleCallback)(e)}},[s,n,t,l,d.current]),[f,l,(0,r.useCallback)(()=>{u(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return d}}),n(48385);let r=n(58066),o=n(4917);function i(e){return void 0!==e.default}function a(e){return void 0!==e.src}function s(e){return"object"==typeof e&&(i(e)||a(e))}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c(e,t,n){let{deviceSizes:r,allSizes:o}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}function u(e){let{config:t,src:n,unoptimized:r,width:o,quality:i,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=c(t,o,a),d=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:i,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:i,width:l[d]})}}function d(e,t){let n,a,c,{src:d,sizes:f,unoptimized:p=!1,priority:h=!1,loading:m,className:g,quality:v,width:y,height:b,fill:w=!1,style:S,overrideSrc:x,onLoad:E,onLoadingComplete:C,placeholder:_="empty",blurDataURL:k,fetchPriority:O,layout:A,objectFit:I,objectPosition:P,lazyBoundary:T,lazyRoot:R,...M}=e,{imgConf:N,showAltText:j,blurComplete:D,defaultLoader:L}=t,B=N||o.imageConfigDefault;if("allSizes"in B)n=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t);n={...B,allSizes:e,deviceSizes:t}}if(void 0===L)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let Z=M.loader||L;delete M.loader,delete M.srcSet;let F="__next_img_default"in Z;if(F){if("custom"===n.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=Z;Z=t=>{let{config:n,...r}=t;return e(r)}}if(A){"fill"===A&&(w=!0);let e={responsive:"100vw",fill:"100vw"},t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];t&&(S={...S,...t});let n=e[A];n&&!f&&(f=n)}let z="",U=l(y),H=l(b);if(s(d)){let e=i(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(a=e.blurWidth,c=e.blurHeight,k=k||e.blurDataURL,z=e.src,!w){if(U||H){if(U&&!H){let t=U/e.width;H=Math.round(e.height*t)}else if(!U&&H){let t=H/e.height;U=Math.round(e.width*t)}}else U=e.width,H=e.height}}let q=!h&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:z)||d.startsWith("data:")||d.startsWith("blob:"))&&(p=!0,q=!1),n.unoptimized&&(p=!0),F&&d.endsWith(".svg")&&!n.dangerouslyAllowSVG&&(p=!0),h&&(O="high");let V=l(v),W=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:I,objectPosition:P}:{},j?{}:{color:"transparent"},S),$=D||"empty"===_?null:"blur"===_?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:U,heightInt:H,blurWidth:a,blurHeight:c,blurDataURL:k||"",objectFit:W.objectFit})+'")':'url("'+_+'")',G=$?{backgroundSize:W.objectFit||"cover",backgroundPosition:W.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:$}:{},K=u({config:n,src:d,unoptimized:p,width:U,quality:V,sizes:f,loader:Z});return{props:{...M,loading:q?"lazy":m,fetchPriority:O,width:U,height:H,decoding:"async",className:g,style:{...W,...G},sizes:K.sizes,srcSet:K.srcSet,src:x||K.src},meta:{unoptimized:p,priority:h,placeholder:_,fill:w}}}},58066:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:o,blurDataURL:i,objectFit:a}=e,s=r?40*r:t,l=o?40*o:n,c=s&&l?"viewBox='0 0 "+s+" "+l+"'":"",u=c?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+u+"' style='filter: url(%23b);' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},33970:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(97940),o=n(87225),i=n(38957),a=r._(n(68047));function s(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=i.Image},68047:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:o}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(o||75)+"&dpl=dpl_8adfARSkvbJCPVoxXNuZe5AVeuEu"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},65081:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return i}});let r=n(60273)._(n(44194)),o=r.default.createContext(null);function i(e){let t=(0,r.useContext)(o);t&&t(e)}},79493:function(e,t,n){"use strict";n.d(t,{S1:function(){return i},ZT:function(){return r},jU:function(){return a},on:function(){return o}});var r=function(){};function o(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var a=!0},90011:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(88802),o=n(44194),i=n(65578);function a(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={loading:!1});var a=(0,o.useRef)(0),s=(0,i.Z)(),l=(0,o.useState)(n),c=l[0],u=l[1],d=(0,o.useCallback)(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o=++a.current;return c.loading||u(function(e){return(0,r.pi)((0,r.pi)({},e),{loading:!0})}),e.apply(void 0,t).then(function(e){return s()&&o===a.current&&u({value:e,loading:!1}),e},function(e){return s()&&o===a.current&&u({error:e,loading:!1}),e})},t);return[c,d]}},63041:function(e,t,n){"use strict";var r=n(44194),o=n(79493),i=["mousedown","touchstart"],a=function(e,t,n){void 0===n&&(n=i);var a=(0,r.useRef)(t);(0,r.useEffect)(function(){a.current=t},[t]),(0,r.useEffect)(function(){for(var t=function(t){var n=e.current;n&&!n.contains(t.target)&&a.current(t)},r=0,i=n;r<i.length;r++){var s=i[r];(0,o.on)(document,s,t)}return function(){for(var e=0,r=n;e<r.length;e++){var i=r[e];(0,o.S1)(document,i,t)}}},[n,e])};t.Z=a},39978:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(44194);function o(e,t){void 0===t&&(t=0);var n=(0,r.useRef)(!1),o=(0,r.useRef)(),i=(0,r.useRef)(e),a=(0,r.useCallback)(function(){return n.current},[]),s=(0,r.useCallback)(function(){n.current=!1,o.current&&clearTimeout(o.current),o.current=setTimeout(function(){n.current=!0,i.current()},t)},[t]),l=(0,r.useCallback)(function(){n.current=null,o.current&&clearTimeout(o.current)},[]);return(0,r.useEffect)(function(){i.current=e},[e]),(0,r.useEffect)(function(){return s(),l},[t]),[a,l,s]}function i(e,t,n){void 0===t&&(t=0),void 0===n&&(n=[]);var i=o(e,t),a=i[0],s=i[1],l=i[2];return(0,r.useEffect)(l,n),[a,s]}},37647:function(e,t,n){"use strict";var r=n(44194),o=function(e){(0,r.useEffect)(e,[])};t.Z=o},79170:function(e,t,n){"use strict";var r=n(44194),o=n(79493),i=function(e,t,n){if(!o.jU)return[t,o.ZT,o.ZT];if(!e)throw Error("useLocalStorage key may not be falsy");var i=n?n.raw?function(e){return e}:n.deserializer:JSON.parse,a=(0,r.useRef)(function(e){try{var r=n?n.raw?String:n.serializer:JSON.stringify,o=localStorage.getItem(e);if(null!==o)return i(o);return t&&localStorage.setItem(e,r(t)),t}catch(e){return t}}),s=(0,r.useState)(function(){return a.current(e)}),l=s[0],c=s[1];(0,r.useLayoutEffect)(function(){return c(a.current(e))},[e]);var u=(0,r.useCallback)(function(t){try{var r="function"==typeof t?t(l):t;if(void 0===r)return;var o=void 0;o=n?n.raw?"string"==typeof r?r:JSON.stringify(r):n.serializer?n.serializer(r):JSON.stringify(r):JSON.stringify(r),localStorage.setItem(e,o),c(i(o))}catch(e){}},[e,c]);return[l,u,(0,r.useCallback)(function(){try{localStorage.removeItem(e),c(void 0)}catch(e){}},[e,c])]};t.Z=i},65578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44194);function o(){var e=(0,r.useRef)(!1),t=(0,r.useCallback)(function(){return e.current},[]);return(0,r.useEffect)(function(){return e.current=!0,function(){e.current=!1}},[]),t}},36512:function(e,t,n){"use strict";n.d(t,{L:function(){return a},Q:function(){return i}});var r=n(57020),o=n(51424);r.ZP.t("currencies:GBP","GBP - British Pound"),r.ZP.t("currencies:EUR","EUR - Euro"),r.ZP.t("currencies:USD","USD - US Dollar"),r.ZP.t("currencies:INR","INR - Indian Rupee"),r.ZP.t("currencies:CAD","CAD - Canadian Dollar"),r.ZP.t("currencies:AUD","AUD - Australian Dollar"),r.ZP.t("currencies:SGD","SGD - Singapore Dollar"),r.ZP.t("currencies:HKD","HKD - Hong Kong Dollar"),r.ZP.t("currencies:HKD","HKD - Hong Kong Dollar"),r.ZP.t("currencies:CNY","CNY - Chinese Renminbi Yuan"),r.ZP.t("currencies:JPY","JPY - Japanese Yen"),r.ZP.t("currencies:CHF","CHF - Swiss Franc"),r.ZP.t("currencies:IDR","IDR - Indonesian Rupiah"),r.ZP.t("currencies:AED","AED - United Arab Emirates Dirham"),r.ZP.t("currencies:CZK","CZK - Czech Koruna"),r.ZP.t("currencies:DKK","DKK - Danish Krone"),r.ZP.t("currencies:EGP","EGP - Egyptian Pound"),r.ZP.t("currencies:HUF","HUF - Hungarian Forint"),r.ZP.t("currencies:ILS","ILS - Israeli New Shekel"),r.ZP.t("currencies:MAD","MAD - Moroccan Dirham"),r.ZP.t("currencies:NGN","NGN - Nigerian Naira"),r.ZP.t("currencies:PLN","PLN - Polish Złoty"),r.ZP.t("currencies:RON","RON - Romanian Leu"),r.ZP.t("currencies:RUB","RUB - Russian Ruble"),r.ZP.t("currencies:SEK","SEK - Swedish Krona"),r.ZP.t("currencies:THB","THB - Thai Baht"),r.ZP.t("currencies:TRY","TRY - Turkish Lira"),r.ZP.t("currencies:UGX","UGX - Ugandan Shilling"),r.ZP.t("currencies:VND","VND - Vietnamese Đồng"),r.ZP.t("currencies:ZAR","ZAR - South African Rand"),r.ZP.t("currencies:KRW","KRW - South Korean Won"),r.ZP.t("currencies:PHP","PHP - Phillipine Peso"),r.ZP.t("currencies:NOK","NOK - Norwegian Krone"),r.ZP.t("currencies:UAH","UAH - Ukrainian Hryvnia"),r.ZP.t("currencies:BYN","BYN - Belarusian Ruble");let i={[o.F.Gbp]:{value:o.F.Gbp,label:"GBP - British Pound",symbol:"\xa3",symbolLeft:!0,spaceBetween:!1,minimumFractionDigits:2,locale:"en-GB"},[o.F.Eur]:{value:o.F.Eur,label:"EUR - Euro",symbol:"€",symbolLeft:!0,spaceBetween:!1,minimumFractionDigits:2,locale:"en-GB"},[o.F.Usd]:{value:o.F.Usd,label:"USD - US Dollar",symbol:"$",symbolLeft:!0,spaceBetween:!1,minimumFractionDigits:2,locale:"en-US"},[o.F.Inr]:{value:o.F.Inr,label:"INR - Indian Rupee",symbol:"Rs.",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Cad]:{value:o.F.Cad,label:"CAD - Canadian Dollar",symbol:"C$",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Aud]:{value:o.F.Aud,label:"AUD - Australian Dollar",symbol:"A$",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Sgd]:{value:o.F.Sgd,label:"SGD - Singapore Dollar",symbol:"S$",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Hkd]:{value:o.F.Hkd,label:"HKD - Hong Kong Dollar",symbol:"HK$",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Cny]:{value:o.F.Cny,label:"CNY - Chinese Renminbi Yuan",symbol:"\xa5",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Jpy]:{value:o.F.Jpy,label:"JPY - Japanese Yen",symbol:"\xa5",symbolLeft:!0,spaceBetween:!1,minimumFractionDigits:0,locale:"en-US"},[o.F.Chf]:{value:o.F.Chf,label:"CHF - Swiss Franc",symbol:"CHF",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Idr]:{value:o.F.Idr,label:"IDR - Indonesian Rupiah",symbol:"Rp",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Aed]:{value:o.F.Aed,label:"AED - United Arab Emirates Dirham",symbol:"AED",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Czk]:{value:o.F.Czk,label:"CZK - Czech Koruna",symbol:"Kč",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Dkk]:{value:o.F.Dkk,label:"DKK - Danish Krone",symbol:"kr.",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Egp]:{value:o.F.Egp,label:"EGP - Egyptian Pound",symbol:"E\xa3",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Huf]:{value:o.F.Huf,label:"HUF - Hungarian Forint",symbol:"Ft",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Ils]:{value:o.F.Ils,label:"ILS - Israeli New Shekel",symbol:"₪",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Mad]:{value:o.F.Mad,label:"MAD - Moroccan Dirham",symbol:"dh",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Ngn]:{value:o.F.Ngn,label:"NGN - Nigerian Naira",symbol:"₦",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Pln]:{value:o.F.Pln,label:"PLN - Polish Złoty",symbol:"zł",symbolLeft:!1,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Ron]:{value:o.F.Ron,label:"RON - Romanian Leu",symbol:"lei",symbolLeft:!1,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Rub]:{value:o.F.Rub,label:"RUB - Russian Ruble",symbol:"₽",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Sek]:{value:o.F.Sek,label:"SEK - Swedish Krona",symbol:"kr",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Thb]:{value:o.F.Thb,label:"THB - Thai Baht",symbol:"฿",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Try]:{value:o.F.Try,label:"TRY - Turkish Lira",symbol:"₺",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Ugx]:{value:o.F.Ugx,label:"UGX - Ugandan Shilling",symbol:"UGX",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:0,locale:"en-US"},[o.F.Vnd]:{value:o.F.Vnd,label:"VND - Vietnamese Đồng",symbol:"₫",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:0,locale:"en-US"},[o.F.Zar]:{value:o.F.Zar,label:"ZAR - South African Rand",symbol:"R",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Krw]:{value:o.F.Krw,label:"KRW - South Korean Won",symbol:"₩",symbolLeft:!0,spaceBetween:!1,minimumFractionDigits:0,locale:"en-US"},[o.F.Php]:{value:o.F.Php,label:"PHP - Phillipine Peso",symbol:"₱",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Nok]:{value:o.F.Nok,label:"NOK - Norwegian Krone",symbol:"kr",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Uah]:{value:o.F.Uah,label:"UAH - Ukrainian Hryvnia",symbol:"₴",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"},[o.F.Byn]:{value:o.F.Byn,label:"BYN - Belarusian Ruble",symbol:"Br",symbolLeft:!0,spaceBetween:!0,minimumFractionDigits:2,locale:"en-US"}},a=i[o.F.Gbp]},56840:function(e,t,n){"use strict";var r=n(72118),o=n(45346),i=n.n(o),a=n(57490);let s=()=>{{let e=r.Z.get("locale");if(e&&i()(a.Z,e))return e;let t=window.navigator.language;if(t&&i()(a.Z,t))return t}return a.a.value};t.ZP={address:"",drawMode:null,drawPath:[],bounds:{south:43.49206363595565,west:-18.33851769375002,north:64.1916004735325,east:9.39097449374998},operatorsFilter:null,locale:s(),mapFilters:{availableFrom:null,sizeDesks:null,sizeSpace:null,quotingRate:null,spaceType:[],amenityIds:[],operatorIds:[]},branding:{id:0,logo:"/logo.svg"}}},26478:function(e,t,n){"use strict";n.d(t,{T2:function(){return c},_j:function(){return l},Q7:function(){return o.Q7},sX:function(){return i.s},Ik:function(){return a},Wm:function(){return s},pQ:function(){return i.p}});var r=n(57020);r.ZP.t("amenities:24/7-access","24/7 access"),r.ZP.t("amenities:air-conditioning","Air conditioning"),r.ZP.t("amenities:backup-internet-connection","Backup internet connection"),r.ZP.t("amenities:balcony","Balcony"),r.ZP.t("amenities:brainstorming-rooms","Brainstorming rooms"),r.ZP.t("amenities:breakout-areas","Breakout areas"),r.ZP.t("amenities:business-lounge","Business lounge"),r.ZP.t("amenities:cat-567-cabling","CAT 567 cabling"),r.ZP.t("amenities:cctv","CCTV"),r.ZP.t("amenities:cafe","Cafe"),r.ZP.t("amenities:call-handling","Call handling"),r.ZP.t("amenities:car-parking","Car parking"),r.ZP.t("amenities:changing-rooms","Changing rooms"),r.ZP.t("amenities:cleaning","Cleaning"),r.ZP.t("amenities:coffee","Coffee"),r.ZP.t("amenities:conference-rooms","Conference rooms"),r.ZP.t("amenities:cycle-parking","Cycle parking"),r.ZP.t("amenities:dda-compliance","DDA compliance"),r.ZP.t("amenities:disable-access","Disabled access"),r.ZP.t("amenities:dog-friendly","Dog friendly"),r.ZP.t("amenities:event-space","Event space"),r.ZP.t("amenities:exercise-studio","Exercise studio"),r.ZP.t("amenities:filtered-water","Filtered water"),r.ZP.t("amenities:fully-furnished","Fully furnished"),r.ZP.t("amenities:games-lounge","Games lounge"),r.ZP.t("amenities:gym","Gym"),r.ZP.t("amenities:kitchen","Kitchen"),r.ZP.t("amenities:lift","Lift"),r.ZP.t("amenities:lockers","Lockers"),r.ZP.t("amenities:mail-handling","Mail handling"),r.ZP.t("amenities:meeting-rooms","Meeting rooms"),r.ZP.t("amenities:mindfulness-rooms","Mindfulness rooms"),r.ZP.t("amenities:on-site-barista","On site barista"),r.ZP.t("amenities:on-site-staff","On site staff"),r.ZP.t("amenities:outdoor-space","Outdoor space"),r.ZP.t("amenities:phone-booths","Phone booths"),r.ZP.t("amenities:printing","Printing"),r.ZP.t("amenities:restaurant","Restaurant"),r.ZP.t("amenities:restaurant-on-site","Restaurant on site"),r.ZP.t("amenities:rooftop-terrace","Rooftop terrace"),r.ZP.t("amenities:secretarial-services","Secretarial services"),r.ZP.t("amenities:secure-server-rooms","Secure server rooms"),r.ZP.t("amenities:security-guards","Security guards"),r.ZP.t("amenities:showers","Showers"),r.ZP.t("amenities:single-sex-toilets","Single sex toilets"),r.ZP.t("amenities:snacks-and-refreshments","Snacks and refreshments"),r.ZP.t("amenities:storage","Storage"),r.ZP.t("amenities:unisex-toilets","Unisex toilets"),r.ZP.t("amenities:voip","VOIP"),r.ZP.t("amenities:video-conferencing","Video conferencing"),r.ZP.t("amenities:wellness-room","Wellness room"),r.ZP.t("amenities:wi-fi","Wi-Fi"),n(36512),n(56840);var o=n(21800),i=n(51238);function a(e){switch(e){case i.s.Available:return r.ZP.t("building-status.label.AVAILABLE","Spaces available");case i.s.Occupied:return r.ZP.t("building-status.label.OCCUPIED","Fully occupied");case i.s.UnderOffer:return r.ZP.t("building-status.label.UNDER_OFFER","Spaces reserved");case i.s.AvailableSoon:return r.ZP.t("building-status.label.AVAILABLE_SOON","Spaces available soon");default:return""}}function s(e){switch(e){case i.s.Available:return r.ZP.t("building-status.tooltip.AVAILABLE","Some spaces are currently available");case i.s.Occupied:return r.ZP.t("building-status.tooltip.OCCUPIED","No spaces are currently available");case i.s.UnderOffer:return r.ZP.t("building-status.tooltip.UNDER_OFFER","Spaces are currently reserved but may become available soon");case i.s.AvailableSoon:return r.ZP.t("building-status.tooltip.AVAILABLE_SOON","Some spaces will be available within 3 months");default:return""}}r.ZP.t("space-type:self-contained-managed-space.title","Managed space (licence)"),r.ZP.t("space-type:pipeline-managed-space.title","Prebuilt space (lease)"),r.ZP.t("space-type:private-office.title","Private office"),r.ZP.t("space-type:coworking-desks.title","Coworking desks"),r.ZP.t("space-type:membership.title","Membership"),r.ZP.t("space-type:meeting-room.title","Meeting room"),r.ZP.t("space-type:event-space.title","Event space"),r.ZP.t("space-type:not-specified.title","Not specified"),r.ZP.t("space-type:miscellaneous.title","Miscellaneous"),r.ZP.t("space-type:self-contained-managed-space.description","Large turn key requirements with some customisation, including a private kitchen area."),r.ZP.t("space-type:pipeline-managed-space.description","Space that is owned, operated and leased by the landlord. Available with short term leases."),r.ZP.t("space-type:private-office.description","Fully furnished private offices with shared facilities."),r.ZP.t("space-type:coworking-desks.description","Hot desks and fixed desks in a coworking environment."),r.ZP.t("space-type:membership.description","Business lounge access usually without a coworking desk."),r.ZP.t("space-type:event-space.description","Dedicated space for hosting standing and/or seated events."),r.ZP.t("space-type:meeting-room.description","A room where a number of people can have a meeting."),n(2149);let l=1122,c=792},21800:function(e,t,n){"use strict";n.d(t,{Kd:function(){return o},Q7:function(){return r}});let r=18,o={styles:[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#444444"}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#f2f2f2"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"all",stylers:[{saturation:-100},{lightness:45}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"on"}]},{featureType:"water",elementType:"all",stylers:[{color:"#46bcec"},{visibility:"on"}]}],streetViewControl:!1,fullscreenControl:!1,zoomControl:!0,disableDefaultUI:!0,maxZoom:18,minZoom:3,restriction:{latLngBounds:{north:83.8,south:-57,west:-180,east:180}}}},51238:function(e,t,n){"use strict";n.d(t,{p:function(){return i},s:function(){return o}});var r=n(57020);let o={...n(51424).sX,AvailableSoon:"AVAILABLE_SOON",LimitedAvailability:"LIMITED_AVAILABILITY"};function i(e){switch(e){case o.Available:return r.ZP.t("office-suite-status.label.AVAILABLE","Available");case o.Occupied:return r.ZP.t("office-suite-status.label.OCCUPIED","Occupied");case o.UnderOffer:return r.ZP.t("office-suite-status.label.UNDER_OFFER","Under offer");case o.LimitedAvailability:return r.ZP.t("office-suite-status.label.LIMITED_AVAILABILITY","Limited availability");case o.AvailableSoon:return r.ZP.t("office-suite-status.label.AVAILABLE_SOON","Available soon");default:return""}}},2149:function(e,t,n){"use strict";n.d(t,{$H:function(){return l},B3:function(){return d},Bs:function(){return f},H9:function(){return c},KE:function(){return a},_M:function(){return s},kE:function(){return p},no:function(){return u}});var r=n(57020),o=n(51424);let i={[o.jg.Desk]:"desks",[o.jg.SquareFoot]:"ft\xb2",[o.jg.SquareMeter]:"m\xb2"},a={[o.jg.SquareFoot]:{value:o.jg.SquareFoot,inputLabel:"Square Feet",viewLabel:" ".concat(i[o.jg.SquareFoot])},[o.jg.SquareMeter]:{value:o.jg.SquareMeter,inputLabel:"Square Meter",viewLabel:" ".concat(i[o.jg.SquareMeter])}},s={[o.jg.Desk]:{value:o.jg.Desk,inputLabel:"Number of desks",viewLabel:" ".concat(i[o.jg.Desk])},...a};function l(e){switch(e){case o.jg.SquareFoot:return r.ZP.t("size-units.SQUARE_FOOT"," ft\xb2");case o.jg.SquareMeter:return r.ZP.t("size-units.SQUARE_METER"," m\xb2");default:return""}}function c(e){return e===o.jg.Desk?r.ZP.t("size-units.DESK"," desks"):l(e)}let u={[o.Ww.PerMonth]:{value:o.Ww.PerMonth,inputLabel:"Monthly",viewLabel:" monthly"},[o.Ww.PerYear]:{value:o.Ww.PerYear,inputLabel:"Per year",viewLabel:" annually"},[o.Ww.Total]:{value:o.Ww.Total,inputLabel:"Total",viewLabel:" total"}};function d(e){switch(e){case o.Ww.PerMonth:return r.ZP.t("budget-units.PER_MONTH"," monthly");case o.Ww.PerYear:return r.ZP.t("budget-units.PER_YEAR"," annually");case o.Ww.Total:return r.ZP.t("budget-units.TOTAL"," total");default:return""}}let f={[o.Zd.PerDesk]:{value:o.Zd.PerDesk,inputLabel:"Per Desk",viewLabel:" / desk"},[o.Zd.PerSquareFoot]:{value:o.Zd.PerSquareFoot,inputLabel:"Per Square Foot",viewLabel:" / ft\xb2"},[o.Zd.PerSquareMeter]:{value:o.Zd.PerSquareMeter,inputLabel:"Per Square Meter",viewLabel:" / m\xb2"}};function p(e){switch(e){case o.Zd.PerDesk:return r.ZP.t("quoting-rate-units.PER_DESK"," / desk");case o.Zd.PerSquareMeter:return r.ZP.t("quoting-rate-units.PER_SQUARE_METER"," / m\xb2");case o.Zd.PerSquareFoot:return r.ZP.t("quoting-rate-units.PER_SQUARE_FOOT"," / ft\xb2");default:return""}}},51424:function(e,t,n){"use strict";n.d(t,{F:function(){return f},FW:function(){return eL},He:function(){return eP},Rz:function(){return W},WY:function(){return eO},Ww:function(){return Y},Zd:function(){return $},jg:function(){return Q},sX:function(){return en},tN:function(){return eR}});var r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,y,b,w,S,x,E,C,_,k,O,A,I,P,T,R,M,N,j,D,L,B,Z,F,z,U,H,q,V,W,$,G,K,Y,X,Q,J,ee,et,en,er,eo,ei,ea,es,el,ec,eu,ed,ef,ep,eh,em,eg,ev,ey,eb,ew,eS,ex,eE,eC,e_,ek,eO,eA,eI,eP,eT,eR,eM,eN,ej,eD,eL,eB,eZ,eF,ez,eU,eH=n(31791),eq=n(73921);function eV(){let e=(0,eH._)(["\n    fragment AmenityView on OfficeAmenity {\n  id\n  key\n}\n    "]);return eV=function(){return e},e}function eW(){let e=(0,eH._)(["\n    fragment BrochureView on File {\n  id\n  mimeType\n  name\n  url\n}\n    "]);return eW=function(){return e},e}function e$(){let e=(0,eH._)(["\n    fragment BuildingPhotoView on Office {\n  id\n  name\n  photos {\n    id\n    url\n  }\n}\n    "]);return e$=function(){return e},e}function eG(){let e=(0,eH._)(["\n    fragment MonthlyQuotingRateView on MonthlyQuotingRateCondition {\n  id\n  isRange\n  from\n  to\n  unit\n  currency\n}\n    "]);return eG=function(){return e},e}function eK(){let e=(0,eH._)(["\n    fragment SpaceVisibilityView on OfficeSuite {\n  isPublic\n}\n    "]);return eK=function(){return e},e}function eY(){let e=(0,eH._)(["\n    fragment TransportOptionView on Transport {\n  id\n  type\n  name\n  lines\n  duration {\n    text\n    value\n  }\n  distance {\n    text\n    value\n  }\n}\n    "]);return eY=function(){return e},e}(function(e){e.BlankPinUrlAsc="blankPinUrl_ASC",e.BlankPinUrlDesc="blankPinUrl_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsActiveAsc="isActive_ASC",e.IsActiveDesc="isActive_DESC",e.IsEnquirySystemEnabledAsc="isEnquirySystemEnabled_ASC",e.IsEnquirySystemEnabledDesc="isEnquirySystemEnabled_DESC",e.IsFloorPlanDrawingEnabledAsc="isFloorPlanDrawingEnabled_ASC",e.IsFloorPlanDrawingEnabledDesc="isFloorPlanDrawingEnabled_DESC",e.IsOpportunityCollaborationEnabledAsc="isOpportunityCollaborationEnabled_ASC",e.IsOpportunityCollaborationEnabledDesc="isOpportunityCollaborationEnabled_DESC",e.IsOpportunityTransferEnabledAsc="isOpportunityTransferEnabled_ASC",e.IsOpportunityTransferEnabledDesc="isOpportunityTransferEnabled_DESC",e.IsReferralGroupingEnabledAsc="isReferralGroupingEnabled_ASC",e.IsReferralGroupingEnabledDesc="isReferralGroupingEnabled_DESC",e.LogoAsc="logo_ASC",e.LogoDesc="logo_DESC",e.MapPinAsc="mapPin_ASC",e.MapPinDesc="mapPin_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.PrimaryColorAsc="primaryColor_ASC",e.PrimaryColorDesc="primaryColor_DESC",e.ShortNameAsc="shortName_ASC",e.ShortNameDesc="shortName_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.WebsiteAsc="website_ASC",e.WebsiteDesc="website_DESC"})(r||(r={})),function(e){e.BookingIdAsc="bookingId_ASC",e.BookingIdDesc="bookingId_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DateFromAsc="dateFrom_ASC",e.DateFromDesc="dateFrom_DESC",e.DateToAsc="dateTo_ASC",e.DateToDesc="dateTo_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(o||(o={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(i||(i={})),function(e){e.Presale="PRESALE",e.Private="PRIVATE",e.Standard="STANDARD"}(a||(a={})),function(e){e.AerospaceAndDefence="AEROSPACE_AND_DEFENCE",e.Automotive="AUTOMOTIVE",e.BankingAndFinancialServicesAndInsurance="BANKING_AND_FINANCIAL_SERVICES_AND_INSURANCE",e.BusinessServices="BUSINESS_SERVICES",e.Charities="CHARITIES",e.Chemicals="CHEMICALS",e.Education="EDUCATION",e.EngineeringAndConstruction="ENGINEERING_AND_CONSTRUCTION",e.ForestPaperAndPackaging="FOREST_PAPER_AND_PACKAGING",e.GovernmentAndPublicServices="GOVERNMENT_AND_PUBLIC_SERVICES",e.Healthcare="HEALTHCARE",e.HospitalityAndLeisure="HOSPITALITY_AND_LEISURE",e.LegalServices="LEGAL_SERVICES",e.Manufacturing="MANUFACTURING",e.MediaAndCreative="MEDIA_AND_CREATIVE",e.MiningAndMetals="MINING_AND_METALS",e.OilAndGas="OIL_AND_GAS",e.Other="OTHER",e.PharmaceuticalAndLifeSciences="PHARMACEUTICAL_AND_LIFE_SCIENCES",e.PowerAndUtilities="POWER_AND_UTILITIES",e.PrivateEquity="PRIVATE_EQUITY",e.RealEstate="REAL_ESTATE",e.RetailAndConsumer="RETAIL_AND_CONSUMER",e.SportsAndEntertainment="SPORTS_AND_ENTERTAINMENT",e.Technology="TECHNOLOGY",e.Telecommunications="TELECOMMUNICATIONS",e.TransportAndLogistics="TRANSPORT_AND_LOGISTICS"}(s||(s={})),function(e){e.BookingCancellationPolicyAsc="bookingCancellationPolicy_ASC",e.BookingCancellationPolicyDesc="bookingCancellationPolicy_DESC",e.BookingNotificationEmailAsc="bookingNotificationEmail_ASC",e.BookingNotificationEmailDesc="bookingNotificationEmail_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.NegotiatedRatesAsc="negotiatedRates_ASC",e.NegotiatedRatesDesc="negotiatedRates_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(l||(l={})),function(e){e.From_1To_10="FROM_1_TO_10",e.From_11To_50="FROM_11_TO_50",e.From_51To_200="FROM_51_TO_200",e.From_201To_500="FROM_201_TO_500",e.From_501To_1000="FROM_501_TO_1000",e.From_1001To_5000="FROM_1001_TO_5000",e.From_5001To_10000="FROM_5001_TO_10000",e.From_10000="FROM_10000"}(c||(c={})),function(e){e.AvatarUrlAsc="avatarUrl_ASC",e.AvatarUrlDesc="avatarUrl_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.EmailAsc="email_ASC",e.EmailDesc="email_DESC",e.FirstNameAsc="firstName_ASC",e.FirstNameDesc="firstName_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.JobTitleAsc="jobTitle_ASC",e.JobTitleDesc="jobTitle_DESC",e.LastNameAsc="lastName_ASC",e.LastNameDesc="lastName_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(u||(u={})),function(e){e.Landline="LANDLINE",e.Organization="ORGANIZATION",e.Personal="PERSONAL",e.Primary="PRIMARY",e.Work="WORK"}(d||(d={})),function(e){e.Aed="AED",e.Afn="AFN",e.All="ALL",e.Amd="AMD",e.Ars="ARS",e.Aud="AUD",e.Azn="AZN",e.Bam="BAM",e.Bdt="BDT",e.Bgn="BGN",e.Bhd="BHD",e.Bif="BIF",e.Bnd="BND",e.Bob="BOB",e.Brl="BRL",e.Bwp="BWP",e.Byn="BYN",e.Bzd="BZD",e.Cad="CAD",e.Cdf="CDF",e.Chf="CHF",e.Clp="CLP",e.Cny="CNY",e.Cop="COP",e.Crc="CRC",e.Cve="CVE",e.Czk="CZK",e.Djf="DJF",e.Dkk="DKK",e.Dop="DOP",e.Dzd="DZD",e.Eek="EEK",e.Egp="EGP",e.Ern="ERN",e.Etb="ETB",e.Eur="EUR",e.Gbp="GBP",e.Gel="GEL",e.Ghs="GHS",e.Gnf="GNF",e.Gtq="GTQ",e.Hkd="HKD",e.Hnl="HNL",e.Hrk="HRK",e.Huf="HUF",e.Idr="IDR",e.Ils="ILS",e.Inr="INR",e.Iqd="IQD",e.Irr="IRR",e.Isk="ISK",e.Jmd="JMD",e.Jod="JOD",e.Jpy="JPY",e.Kes="KES",e.Khr="KHR",e.Kmf="KMF",e.Krw="KRW",e.Kwd="KWD",e.Kzt="KZT",e.Lbp="LBP",e.Lkr="LKR",e.Ltl="LTL",e.Lvl="LVL",e.Lyd="LYD",e.Mad="MAD",e.Mdl="MDL",e.Mga="MGA",e.Mkd="MKD",e.Mmk="MMK",e.Mop="MOP",e.Mur="MUR",e.Mxn="MXN",e.Myr="MYR",e.Mzn="MZN",e.Nad="NAD",e.Ngn="NGN",e.Nio="NIO",e.Nok="NOK",e.Npr="NPR",e.Nzd="NZD",e.Omr="OMR",e.Pab="PAB",e.Pen="PEN",e.Php="PHP",e.Pkr="PKR",e.Pln="PLN",e.Pyg="PYG",e.Qar="QAR",e.Ron="RON",e.Rsd="RSD",e.Rub="RUB",e.Rwf="RWF",e.Sar="SAR",e.Sdg="SDG",e.Sek="SEK",e.Sgd="SGD",e.Sos="SOS",e.Syp="SYP",e.Thb="THB",e.Tnd="TND",e.Top="TOP",e.Try="TRY",e.Ttd="TTD",e.Twd="TWD",e.Tzs="TZS",e.Uah="UAH",e.Ugx="UGX",e.Usd="USD",e.Uyu="UYU",e.Uzs="UZS",e.Vef="VEF",e.Vnd="VND",e.Xaf="XAF",e.Xof="XOF",e.Yer="YER",e.Zar="ZAR",e.Zmk="ZMK",e.Zwl="ZWL"}(f||(f={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.CreatedByAsc="createdBy_ASC",e.CreatedByDesc="createdBy_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.StatusAsc="status_ASC",e.StatusDesc="status_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(p||(p={})),function(e){e.Pending="PENDING",e.Rejected="REJECTED",e.Resolved="RESOLVED"}(h||(h={})),function(e){e.ApprovalRequested="APPROVAL_REQUESTED",e.BuildingProposal="BUILDING_PROPOSAL",e.UserRestoreAccess="USER_RESTORE_ACCESS",e.UserRevokeAccess="USER_REVOKE_ACCESS",e.VerifyContact="VERIFY_CONTACT"}(m||(m={})),function(e){e.BookingIdAsc="bookingId_ASC",e.BookingIdDesc="bookingId_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DateFromAsc="dateFrom_ASC",e.DateFromDesc="dateFrom_DESC",e.DateToAsc="dateTo_ASC",e.DateToDesc="dateTo_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(g||(g={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.ExternalIdAsc="externalId_ASC",e.ExternalIdDesc="externalId_DESC",e.FloorAsc="floor_ASC",e.FloorDesc="floor_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsActiveAsc="isActive_ASC",e.IsActiveDesc="isActive_DESC",e.IsBookingEnabledAsc="isBookingEnabled_ASC",e.IsBookingEnabledDesc="isBookingEnabled_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(v||(v={})),function(e){e.Dedicated="DEDICATED",e.Hot="HOT"}(y||(y={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.StatusAsc="status_ASC",e.StatusDesc="status_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.UrlAsc="url_ASC",e.UrlDesc="url_DESC"}(b||(b={})),function(e){e.Requested="REQUESTED",e.Submitted="SUBMITTED"}(w||(w={})),function(e){e.CommentAsc="comment_ASC",e.CommentDesc="comment_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.ProposalsAsc="proposals_ASC",e.ProposalsDesc="proposals_DESC",e.StatusAsc="status_ASC",e.StatusDesc="status_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(S||(S={})),function(e){e.Created="CREATED",e.Resolved="RESOLVED"}(x||(x={})),function(e){e.RequestContract="REQUEST_CONTRACT",e.RequestToView="REQUEST_TO_VIEW",e.SignContract="SIGN_CONTRACT"}(E||(E={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.EmailBodyKeyAsc="emailBodyKey_ASC",e.EmailBodyKeyDesc="emailBodyKey_DESC",e.EmailCustomMessageAsc="emailCustomMessage_ASC",e.EmailCustomMessageDesc="emailCustomMessage_DESC",e.EmailHeadingAsc="emailHeading_ASC",e.EmailHeadingDesc="emailHeading_DESC",e.EmailSubjectAsc="emailSubject_ASC",e.EmailSubjectDesc="emailSubject_DESC",e.EmailToAsc="emailTo_ASC",e.EmailToDesc="emailTo_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.SentAtAsc="sentAt_ASC",e.SentAtDesc="sentAt_DESC",e.StateAsc="state_ASC",e.StateDesc="state_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(C||(C={})),function(e){e.Pending="PENDING",e.Processing="PROCESSING",e.Sent="SENT"}(_||(_={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.ValueAsc="value_ASC",e.ValueDesc="value_DESC"}(k||(k={})),function(e){e.ContentAsc="content_ASC",e.ContentDesc="content_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(O||(O={})),function(e){e.ContentAsc="content_ASC",e.ContentDesc="content_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(A||(A={})),function(e){e.Requested="REQUESTED",e.Submitted="SUBMITTED"}(I||(I={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(P||(P={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.MimeTypeAsc="mimeType_ASC",e.MimeTypeDesc="mimeType_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.UrlAsc="url_ASC",e.UrlDesc="url_DESC"}(T||(T={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DrawingUrlAsc="drawingUrl_ASC",e.DrawingUrlDesc="drawingUrl_DESC",e.DrawingAsc="drawing_ASC",e.DrawingDesc="drawing_DESC",e.ExternalIdAsc="externalId_ASC",e.ExternalIdDesc="externalId_DESC",e.FloorAsc="floor_ASC",e.FloorDesc="floor_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.UrlAsc="url_ASC",e.UrlDesc="url_DESC"}(R||(R={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(M||(M={})),function(e){e.Delete="DELETE",e.Get="GET",e.Patch="PATCH",e.Post="POST",e.Put="PUT"}(N||(N={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DataAsc="data_ASC",e.DataDesc="data_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(j||(j={})),function(e){e.LeadDadi="LeadDADI",e.LeadDadiOriginal="LeadDADIOriginal",e.Pyze="Pyze",e.Ultrasoft="Ultrasoft"}(D||(D={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DateAsc="date_ASC",e.DateDesc="date_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.FormatAsc="format_ASC",e.FormatDesc="format_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(L||(L={})),function(e){e.IdAsc="ID_ASC",e.OfficeLocationAsc="OFFICE_LOCATION_ASC",e.OfficeLocationDesc="OFFICE_LOCATION_DESC",e.OfficeNameAsc="OFFICE_NAME_ASC",e.OfficeNameDesc="OFFICE_NAME_DESC",e.OperatorNameAsc="OPERATOR_NAME_ASC",e.OperatorNameDesc="OPERATOR_NAME_DESC",e.OptionsNoOptions="OPTIONS_NO_OPTIONS",e.OptionsOptions="OPTIONS_OPTIONS"}(B||(B={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DeletedAtAsc="deletedAt_ASC",e.DeletedAtDesc="deletedAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsDeletedAsc="isDeleted_ASC",e.IsDeletedDesc="isDeleted_DESC",e.PublicIdAsc="publicId_ASC",e.PublicIdDesc="publicId_DESC",e.StatusAsc="status_ASC",e.StatusDesc="status_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(Z||(Z={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(F||(F={})),function(e){e.Accepted="ACCEPTED",e.NotSubmitted="NOT_SUBMITTED",e.Overturn="OVERTURN",e.Pending="PENDING",e.Rejected="REJECTED"}(z||(z={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(U||(U={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.ImageUrlAsc="imageUrl_ASC",e.ImageUrlDesc="imageUrl_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.StyleAsc="style_ASC",e.StyleDesc="style_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(H||(H={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(q||(q={})),function(e){e.Custom="CUSTOM",e.Predefined="PREDEFINED"}(V||(V={})),function(e){e.Closing="CLOSING",e.Cover="COVER",e.Picture="PICTURE"}(W||(W={})),function(e){e.PerDesk="PER_DESK",e.PerSquareFoot="PER_SQUARE_FOOT",e.PerSquareMeter="PER_SQUARE_METER"}($||($={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DeletedAtAsc="deletedAt_ASC",e.DeletedAtDesc="deletedAt_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.FloorAsc="floor_ASC",e.FloorDesc="floor_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.PublicIdAsc="publicId_ASC",e.PublicIdDesc="publicId_DESC",e.SpaceLocationAsc="spaceLocation_ASC",e.SpaceLocationDesc="spaceLocation_DESC",e.SpaceTypeAsc="spaceType_ASC",e.SpaceTypeDesc="spaceType_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(G||(G={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.IconAsc="icon_ASC",e.IconDesc="icon_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsEnabledAsc="isEnabled_ASC",e.IsEnabledDesc="isEnabled_DESC",e.KeyAsc="key_ASC",e.KeyDesc="key_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(K||(K={})),function(e){e.PerMonth="PER_MONTH",e.PerYear="PER_YEAR",e.Total="TOTAL"}(Y||(Y={})),function(e){e.BuildingGroupAsc="buildingGroup_ASC",e.BuildingGroupDesc="buildingGroup_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.DeskPerMonthCostAsc="deskPerMonthCost_ASC",e.DeskPerMonthCostDesc="deskPerMonthCost_DESC",e.EmailForDistributorsAsc="emailForDistributors_ASC",e.EmailForDistributorsDesc="emailForDistributors_DESC",e.ExternalIdAsc="externalId_ASC",e.ExternalIdDesc="externalId_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsActiveAsc="isActive_ASC",e.IsActiveDesc="isActive_DESC",e.IsDeletedAsc="isDeleted_ASC",e.IsDeletedDesc="isDeleted_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.PublicIdAsc="publicId_ASC",e.PublicIdDesc="publicId_DESC",e.ReferralEmailNameAsc="referralEmailName_ASC",e.ReferralEmailNameDesc="referralEmailName_DESC",e.ReferralEmailOriginalContactIdAsc="referralEmailOriginalContactId_ASC",e.ReferralEmailOriginalContactIdDesc="referralEmailOriginalContactId_DESC",e.ReferralEmailValueAsc="referralEmailValue_ASC",e.ReferralEmailValueDesc="referralEmailValue_DESC",e.TimezoneAsc="timezone_ASC",e.TimezoneDesc="timezone_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.WebsiteUrlAsc="websiteURL_ASC",e.WebsiteUrlDesc="websiteURL_DESC"}(X||(X={})),function(e){e.Desk="DESK",e.SquareFoot="SQUARE_FOOT",e.SquareMeter="SQUARE_METER"}(Q||(Q={})),function(e){e.ActualizedAtAsc="actualizedAt_ASC",e.ActualizedAtDesc="actualizedAt_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.ExternalIdAsc="externalId_ASC",e.ExternalIdDesc="externalId_DESC",e.FloorAsc="floor_ASC",e.FloorDesc="floor_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsActiveAsc="isActive_ASC",e.IsActiveDesc="isActive_DESC",e.IsBookingEnabledAsc="isBookingEnabled_ASC",e.IsBookingEnabledDesc="isBookingEnabled_DESC",e.IsPublicAsc="isPublic_ASC",e.IsPublicDesc="isPublic_DESC",e.MonthlyQuotingRateCurrencyAsc="monthlyQuotingRateCurrency_ASC",e.MonthlyQuotingRateCurrencyDesc="monthlyQuotingRateCurrency_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.PublicIdAsc="publicId_ASC",e.PublicIdDesc="publicId_DESC",e.SpaceLocationAsc="spaceLocation_ASC",e.SpaceLocationDesc="spaceLocation_DESC",e.StatusAsc="status_ASC",e.StatusDesc="status_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(J||(J={})),function(e){e.EntireFloor="ENTIRE_FLOOR",e.Exterior="EXTERIOR",e.ExteriorInterior="EXTERIOR_INTERIOR",e.Interior="INTERIOR",e.NotSpecified="NOT_SPECIFIED"}(ee||(ee={})),function(e){e.SquareFoot="SQUARE_FOOT",e.SquareMeter="SQUARE_METER"}(et||(et={})),function(e){e.Available="AVAILABLE",e.Occupied="OCCUPIED",e.UnderOffer="UNDER_OFFER"}(en||(en={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.EmailForDistributorsAsc="emailForDistributors_ASC",e.EmailForDistributorsDesc="emailForDistributors_DESC",e.ExternalIdAsc="externalId_ASC",e.ExternalIdDesc="externalId_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsActiveAsc="isActive_ASC",e.IsActiveDesc="isActive_DESC",e.IsImportDataEnabledAsc="isImportDataEnabled_ASC",e.IsImportDataEnabledDesc="isImportDataEnabled_DESC",e.IsOpportunityCollaborationEnabledAsc="isOpportunityCollaborationEnabled_ASC",e.IsOpportunityCollaborationEnabledDesc="isOpportunityCollaborationEnabled_DESC",e.IsOpportunityTransferEnabledAsc="isOpportunityTransferEnabled_ASC",e.IsOpportunityTransferEnabledDesc="isOpportunityTransferEnabled_DESC",e.IsPayingCustomerAsc="isPayingCustomer_ASC",e.IsPayingCustomerDesc="isPayingCustomer_DESC",e.IsReferralGroupingEnabledAsc="isReferralGroupingEnabled_ASC",e.IsReferralGroupingEnabledDesc="isReferralGroupingEnabled_DESC",e.LogoAsc="logo_ASC",e.LogoDesc="logo_DESC",e.MapPinAsc="mapPin_ASC",e.MapPinDesc="mapPin_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.PrimaryColorAsc="primaryColor_ASC",e.PrimaryColorDesc="primaryColor_DESC",e.ShortNameAsc="shortName_ASC",e.ShortNameDesc="shortName_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.WebsiteAsc="website_ASC",e.WebsiteDesc="website_DESC"}(er||(er={})),function(e){e.ColorAsc="color_ASC",e.ColorDesc="color_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.HasApiAsc="hasAPI_ASC",e.HasApiDesc="hasAPI_DESC",e.HasAvailabilityAsc="hasAvailability_ASC",e.HasAvailabilityDesc="hasAvailability_DESC",e.HasBuildingPresaleAsc="hasBuildingPresale_ASC",e.HasBuildingPresaleDesc="hasBuildingPresale_DESC",e.HasBuildingPrivateAsc="hasBuildingPrivate_ASC",e.HasBuildingPrivateDesc="hasBuildingPrivate_DESC",e.HasBuildingStandardAsc="hasBuildingStandard_ASC",e.HasBuildingStandardDesc="hasBuildingStandard_DESC",e.HasFloorplansAsc="hasFloorplans_ASC",e.HasFloorplansDesc="hasFloorplans_DESC",e.HasPricingAsc="hasPricing_ASC",e.HasPricingDesc="hasPricing_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsDefaultAsc="isDefault_ASC",e.IsDefaultDesc="isDefault_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.OrderIndexAsc="orderIndex_ASC",e.OrderIndexDesc="orderIndex_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eo||(eo={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(ei||(ei={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.PayloadAsc="payload_ASC",e.PayloadDesc="payload_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(ea||(ea={})),function(e){e.BrokerEmailAsc="brokerEmail_ASC",e.BrokerEmailDesc="brokerEmail_DESC",e.BrokerFullNameAsc="brokerFullName_ASC",e.BrokerFullNameDesc="brokerFullName_DESC",e.BrokerPhoneAsc="brokerPhone_ASC",e.BrokerPhoneDesc="brokerPhone_DESC",e.CompanyIndustryAsc="companyIndustry_ASC",e.CompanyIndustryDesc="companyIndustry_DESC",e.CompanyNameAsc="companyName_ASC",e.CompanyNameDesc="companyName_DESC",e.CompanySizeAsc="companySize_ASC",e.CompanySizeDesc="companySize_DESC",e.CompanyWebsiteAsc="companyWebsite_ASC",e.CompanyWebsiteDesc="companyWebsite_DESC",e.ContactEmailAsc="contactEmail_ASC",e.ContactEmailDesc="contactEmail_DESC",e.ContactFullNameAsc="contactFullName_ASC",e.ContactFullNameDesc="contactFullName_DESC",e.ContactPhoneAsc="contactPhone_ASC",e.ContactPhoneDesc="contactPhone_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DetailsUpdatedAtAsc="detailsUpdatedAt_ASC",e.DetailsUpdatedAtDesc="detailsUpdatedAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IntroMessageAsc="introMessage_ASC",e.IntroMessageDesc="introMessage_DESC",e.IntroTitleAsc="introTitle_ASC",e.IntroTitleDesc="introTitle_DESC",e.IsDeletedAsc="isDeleted_ASC",e.IsDeletedDesc="isDeleted_DESC",e.LeadOrderByAsc="leadOrderBy_ASC",e.LeadOrderByDesc="leadOrderBy_DESC",e.MetaAsc="meta_ASC",e.MetaDesc="meta_DESC",e.NotesAsc="notes_ASC",e.NotesDesc="notes_DESC",e.PublicIdAsc="publicId_ASC",e.PublicIdDesc="publicId_DESC",e.StatusAsc="status_ASC",e.StatusDesc="status_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(es||(es={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.LastVisitAtAsc="lastVisitAt_ASC",e.LastVisitAtDesc="lastVisitAt_DESC",e.ShowOperatorDetailsAsc="showOperatorDetails_ASC",e.ShowOperatorDetailsDesc="showOperatorDetails_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.VisitCountAsc="visitCount_ASC",e.VisitCountDesc="visitCount_DESC"}(el||(el={})),function(e){e.Active="ACTIVE",e.Lost="LOST",e.Onhold="ONHOLD",e.Won="WON"}(ec||(ec={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.EmailAsc="email_ASC",e.EmailDesc="email_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eu||(eu={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.ValueAsc="value_ASC",e.ValueDesc="value_DESC"}(ed||(ed={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.HeightAsc="height_ASC",e.HeightDesc="height_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.OrderAsc="order_ASC",e.OrderDesc="order_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.UrlAsc="url_ASC",e.UrlDesc="url_DESC",e.WidthAsc="width_ASC",e.WidthDesc="width_DESC"}(ef||(ef={})),function(e){e.Common="COMMON",e.Cover="COVER",e.FeaturedOne="FEATURED_ONE",e.FeaturedTwo="FEATURED_TWO"}(ep||(ep={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.EndDateAsc="endDate_ASC",e.EndDateDesc="endDate_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.StartDateAsc="startDate_ASC",e.StartDateDesc="startDate_DESC",e.StatusAsc="status_ASC",e.StatusDesc="status_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eh||(eh={})),function(e){e.Created="CREATED",e.Finished="FINISHED",e.Paused="PAUSED",e.Scheduled="SCHEDULED",e.Started="STARTED"}(em||(em={})),function(e){e.AvailableFromAsc="availableFrom_ASC",e.AvailableFromDesc="availableFrom_DESC",e.AvailableToAsc="availableTo_ASC",e.AvailableToDesc="availableTo_DESC",e.CostAmountAsc="costAmount_ASC",e.CostAmountDesc="costAmount_DESC",e.CostCurrencyAsc="costCurrency_ASC",e.CostCurrencyDesc="costCurrency_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsEnabledAsc="isEnabled_ASC",e.IsEnabledDesc="isEnabled_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.PeriodAsc="period_ASC",e.PeriodDesc="period_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eg||(eg={})),function(e){e.Day="DAY",e.Hour="HOUR",e.Month="MONTH"}(ev||(ev={})),function(e){e.Dislike="DISLIKE",e.Like="LIKE"}(ey||(ey={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.EmailAsc="email_ASC",e.EmailDesc="email_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eb||(eb={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.PolygonAsc="polygon_ASC",e.PolygonDesc="polygon_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(ew||(ew={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.ShowBuildingAddressAsc="showBuildingAddress_ASC",e.ShowBuildingAddressDesc="showBuildingAddress_DESC",e.ShowBuildingMarketingContentAsc="showBuildingMarketingContent_ASC",e.ShowBuildingMarketingContentDesc="showBuildingMarketingContent_DESC",e.ShowOperatorBrandingAsc="showOperatorBranding_ASC",e.ShowOperatorBrandingDesc="showOperatorBranding_DESC",e.ShowPageNumbersAsc="showPageNumbers_ASC",e.ShowPageNumbersDesc="showPageNumbers_DESC",e.ShowRequestViewButtonAsc="showRequestViewButton_ASC",e.ShowRequestViewButtonDesc="showRequestViewButton_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eS||(eS={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(ex||(ex={})),function(e){e.Agent="AGENT",e.Closing="CLOSING",e.General="GENERAL",e.Group="GROUP",e.Lead="LEAD"}(eE||(eE={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eC||(eC={})),function(e){e.CoworkingDesks="COWORKING_DESKS",e.EventSpace="EVENT_SPACE",e.MeetingRoom="MEETING_ROOM",e.Membership="MEMBERSHIP",e.NotSpecified="NOT_SPECIFIED",e.PipelineManagedSpace="PIPELINE_MANAGED_SPACE",e.PrivateOffice="PRIVATE_OFFICE",e.SelfContainedManagedSpace="SELF_CONTAINED_MANAGED_SPACE"}(e_||(e_={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.StyleAsc="style_ASC",e.StyleDesc="style_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(ek||(ek={})),function(e){e.Base="BASE",e.Horizontal="HORIZONTAL",e.HorizontalVideo="HORIZONTAL_VIDEO",e.Vertical="VERTICAL"}(eO||(eO={})),function(e){e.AcceptedAtAsc="acceptedAt_ASC",e.AcceptedAtDesc="acceptedAt_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IpAddressAsc="ipAddress_ASC",e.IpAddressDesc="ipAddress_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eA||(eA={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eI||(eI={})),function(e){e.SubwayStation="SUBWAY_STATION",e.TrainStation="TRAIN_STATION",e.TramStation="TRAM_STATION",e.TransitStation="TRANSIT_STATION"}(eP||(eP={})),function(e){e.AwsIdAsc="awsId_ASC",e.AwsIdDesc="awsId_DESC",e.CanCreateDigitalReportAsc="canCreateDigitalReport_ASC",e.CanCreateDigitalReportDesc="canCreateDigitalReport_DESC",e.CanSendLeadsAsc="canSendLeads_ASC",e.CanSendLeadsDesc="canSendLeads_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.CurrencyAsc="currency_ASC",e.CurrencyDesc="currency_DESC",e.EnabledAsc="enabled_ASC",e.EnabledDesc="enabled_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsActiveAsc="isActive_ASC",e.IsActiveDesc="isActive_DESC",e.LocaleAsc="locale_ASC",e.LocaleDesc="locale_DESC",e.ReportMessageAsc="reportMessage_ASC",e.ReportMessageDesc="reportMessage_DESC",e.ReportTitleAsc="reportTitle_ASC",e.ReportTitleDesc="reportTitle_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.UserNameAsc="userName_ASC",e.UserNameDesc="userName_DESC"}(eT||(eT={})),function(e){e.AccessToAllOpportunities="ACCESS_TO_ALL_OPPORTUNITIES",e.AccessToBuildings="ACCESS_TO_BUILDINGS",e.AgentsPermissions="AGENTS_PERMISSIONS",e.ContentManagement="CONTENT_MANAGEMENT",e.ManageCompanyDetails="MANAGE_COMPANY_DETAILS",e.ManagePrivateBuildings="MANAGE_PRIVATE_BUILDINGS",e.ManagePublicBuildings="MANAGE_PUBLIC_BUILDINGS",e.PublishBuildings="PUBLISH_BUILDINGS",e.ReferralsAndReports="REFERRALS_AND_REPORTS",e.UserManagement="USER_MANAGEMENT",e.UserManagementSetRole="USER_MANAGEMENT_SET_ROLE",e.UserRoleManagement="USER_ROLE_MANAGEMENT",e.UserRoleManagementDelete="USER_ROLE_MANAGEMENT_DELETE",e.UserRoleSuperAdminManagement="USER_ROLE_SUPER_ADMIN_MANAGEMENT"}(eR||(eR={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.DescriptionAsc="description_ASC",e.DescriptionDesc="description_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsPublicForRoleAsc="isPublicForRole_ASC",e.IsPublicForRoleDesc="isPublicForRole_DESC",e.KeyAsc="key_ASC",e.KeyDesc="key_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eM||(eM={})),function(e){e.ColorAsc="color_ASC",e.ColorDesc="color_DESC",e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsProtectedAsc="isProtected_ASC",e.IsProtectedDesc="isProtected_DESC",e.IsStandardAsc="isStandard_ASC",e.IsStandardDesc="isStandard_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.RoleTypeAsc="roleType_ASC",e.RoleTypeDesc="roleType_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.UserTypeAsc="userType_ASC",e.UserTypeDesc="userType_DESC"}(eN||(eN={})),function(e){e.Agent="AGENT",e.Operator="OPERATOR",e.Platform="PLATFORM",e.PlatformSuperAdmin="PLATFORM_SUPER_ADMIN"}(ej||(ej={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.IsRevokedAsc="isRevoked_ASC",e.IsRevokedDesc="isRevoked_DESC",e.NumberOfUsesAsc="numberOfUses_ASC",e.NumberOfUsesDesc="numberOfUses_DESC",e.ScopeAsc="scope_ASC",e.ScopeDesc="scope_DESC",e.SecretAsc="secret_ASC",e.SecretDesc="secret_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eD||(eD={})),function(e){e.Agent="AGENT",e.Operator="OPERATOR",e.Platform="PLATFORM"}(eL||(eL={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.PayloadAsc="payload_ASC",e.PayloadDesc="payload_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC"}(eB||(eB={})),function(e){e.Calendly="CALENDLY",e.Email="EMAIL"}(eZ||(eZ={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.VimeoIdAsc="vimeoId_ASC",e.VimeoIdDesc="vimeoId_DESC"}(eF||(eF={})),function(e){e.CreatedAtAsc="createdAt_ASC",e.CreatedAtDesc="createdAt_DESC",e.IdAsc="id_ASC",e.IdDesc="id_DESC",e.NameAsc="name_ASC",e.NameDesc="name_DESC",e.TypeAsc="type_ASC",e.TypeDesc="type_DESC",e.UpdatedAtAsc="updatedAt_ASC",e.UpdatedAtDesc="updatedAt_DESC",e.UrlAsc="url_ASC",e.UrlDesc="url_DESC"}(ez||(ez={})),function(e){e.Matterport="MATTERPORT",e.Video="VIDEO"}(eU||(eU={})),(0,eq.Ps)(eV()),(0,eq.Ps)(eW()),(0,eq.Ps)(e$()),(0,eq.Ps)(eG()),(0,eq.Ps)(eK()),(0,eq.Ps)(eY())},75379:function(e,t,n){"use strict";n.d(t,{ko:function(){return y},O8:function(){return i},sZ:function(){return C},FL:function(){return S},UB:function(){return g},W8:function(){return _},NR:function(){return a},Wd:function(){return b.Wd},Kx:function(){return b.Kx},mu:function(){return h}});var r=n(44194),o=n(63041);function i(e){let[t,n]=(0,r.useState)(e),i=(0,r.useRef)(null),a=()=>n(!1);return(0,o.Z)(i,a),{ref:i,isOpen:t,setIsOpen:n}}function a(e){(0,r.useEffect)(()=>(document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}),[])}var s=n(79493),l=n(37647),c=function(e){var t=(0,r.useRef)(e);t.current=e,(0,l.Z)(function(){return function(){return t.current()}})},u=function(e){var t=(0,r.useRef)(0),n=(0,r.useState)(e),o=n[0],i=n[1],a=(0,r.useCallback)(function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(e)})},[]);return c(function(){cancelAnimationFrame(t.current)}),[o,a]},d=function(){var e=u(function(){return{x:s.jU?window.pageXOffset:0,y:s.jU?window.pageYOffset:0}}),t=e[0],n=e[1];return(0,r.useEffect)(function(){var e=function(){n(function(e){var t=window.pageXOffset,n=window.pageYOffset;return e.x!==t||e.y!==n?{x:t,y:n}:e})};return e(),(0,s.on)(window,"scroll",e,{capture:!1,passive:!0}),function(){(0,s.S1)(window,"scroll",e)}},[]),t};let f=10,p=100;function h(){let{collapseHeight:e=p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{y:t}=d();return{isScrolled:t>f+e}}var m=n(57020);let g=()=>{let{t:e}=(0,m.$G)();return{optionName:(t,n)=>t.name?t.name:e("text.option-number","Option #{{number}}",{number:n+1}),opportunityName:t=>(null==t?void 0:t.companyName)||e("untitled","Untitled")}};var v=n(75296);let y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,{t:n}=(0,m.$G)(),o=n,i=[...e].map(e=>({label:o("amenities:".concat((0,v.D)(e.key).toLowerCase())),...e})).sort((e,t)=>e.label.localeCompare(t.label));return(0,r.useMemo)(()=>{if(!t)return i;let e=t.toLowerCase().trim();return i.filter(t=>t.label.toLowerCase().includes(e))},[t,i])};var b=n(9511),w=n(74992);let S=()=>{let{s3:e}=(0,w.P8)();async function t(t,n){if(!n.originFileObj)return{fileUrl:n.url,type:n.type,data:n,imageKey:void 0};let{Location:r,Key:o}=await e.upload(t,n.originFileObj);if(!r||!o)throw Error("Error while uploading file");return{fileUrl:r,type:n.type,data:n,imageKey:o}}async function n(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n.map(n=>t(e(n),n));return await Promise.all(r)}return{upload:t,bulkUpload:n,createPath:e=>"".concat(e,"/").concat(crypto.randomUUID())}};var x=n(72118);let E=365,C=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E,o=x.Z.get(e),[i,a]=(0,r.useState)(o?JSON.parse(o):t),s=t=>{let r=t instanceof Function?t(i):t;x.Z.set(e,JSON.stringify(r),{domain:".valvespace.com",expires:n}),a(r)};return[i,s]};function _(e){let[t,n]=(0,r.useState)(e);return[t,{open:()=>n(!0),close:()=>n(!1)}]}},9511:function(e,t,n){"use strict";let r,o,i;function a(e,t,n=!0){let r=(...r)=>{let o=e.decode(...r);return void 0===o||n&&null===o?t:o};return{...e,default:t,decode:r}}function s(e,t){if(null==e)return e;if(0===e.length&&(!t||t&&""!==e))return null;let n=e instanceof Array?e[0]:e;return null==n?n:t||""!==n?n:null}function l(e){return null==e?e:e instanceof Array?e:""===e?[]:[e]}function c(e){if(null==e)return e;let t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return`${t}-${n<10?`0${n}`:n}-${r<10?`0${r}`:r}`}function u(e){return null==e?e:String(e)}function d(e){let t=s(e,!0);return null==t?t:String(t)}function f(e,t){let n=d(e);return null==n?n:t.includes(n)?n:void 0}function p(e,t){let n=m(e);return null==n?n:n.length&&n.every(e=>null!=e&&t.includes(e))?n:void 0}function h(e){return e}function m(e){return l(e)}function g(e){let t=m(e);return null==t?t:t.map(e=>""===e||null==e?null:+e)}n.d(t,{V3:function(){return S},dJ:function(){return E},yz:function(){return w},Cl:function(){return x},Fz:function(){return $},Zp:function(){return v},Mt:function(){return b},fX:function(){return y},zZ:function(){return c},Wd:function(){return eo},Kx:function(){return et},Wc:function(){return a}});let v={encode:u,decode:d},y=e=>({encode:u,decode:t=>f(t,e)}),b=e=>({encode:e=>h(null==e||Array.isArray(e)?e:[e]),decode:t=>p(t,e)}),w={encode:function(e){return null==e?e:String(e)},decode:function(e){let t=s(e);return null==t?t:""===t?null:+t}},S={encode:h,decode:m},x={encode:function(e){return null==e?e:e.map(String)},decode:g},E={encode:function(e){return null==e?e:e?"1":"0"},decode:function(e){let t=s(e);return null==t?t:"1"===t||"0"!==t&&null}};function C(e,t){let n={};for(let r of Object.keys(t)){let o=t[r];e[r]?n[r]=e[r].encode(t[r]):n[r]=null==o?o:String(o)}return n}function _(e){let t=new URLSearchParams(e),n={};for(let[e,r]of t)Object.prototype.hasOwnProperty.call(n,e)?Array.isArray(n[e])?n[e].push(r):n[e]=[n[e],r]:n[e]=r;return n}function k(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))if(null!=r){if(Array.isArray(r))for(let e of r)t.append(n,null!=e?e:"");else t.append(n,r)}return t.toString()}'{}[],":'.split("").map(e=>[e,encodeURIComponent(e)]);var O=n(44194);class A{constructor(){this.paramsMap=new Map,this.registeredParams=new Map}set(e,t,n,r){this.paramsMap.set(e,{stringified:t,decoded:n,decode:r})}has(e,t,n){if(!this.paramsMap.has(e))return!1;let r=this.paramsMap.get(e);return!!r&&r.stringified===t&&(null==n||r.decode===n)}get(e){var t;if(this.paramsMap.has(e))return null==(t=this.paramsMap.get(e))?void 0:t.decoded}registerParams(e){for(let t of e){let e=this.registeredParams.get(t)||0;this.registeredParams.set(t,e+1)}}unregisterParams(e){for(let t of e){let e=(this.registeredParams.get(t)||0)-1;e<=0?(this.registeredParams.delete(t),this.paramsMap.has(t)&&this.paramsMap.delete(t)):this.registeredParams.set(t,e)}}clear(){this.paramsMap.clear(),this.registeredParams.clear()}}let I=new A;function P(e,t){var n,r,o;let i={},a=!1,s=Object.keys(e),l=s;if(t.includeKnownParams||!1!==t.includeKnownParams&&0===s.length){let e=Object.keys(null!=(n=t.params)?n:{});l.push(...e)}for(let n of l){let s=e[n];if(null!=s&&"object"==typeof s){i[n]=s;continue}a=!0,i[n]=null!=(o=null==(r=t.params)?void 0:r[n])?o:v}return a?i:e}function T(e,t,n,r){var o;if(!n||!t.length)return e;let i={...e},a=!1;for(let e of t)Object.prototype.hasOwnProperty.call(i,e)||(i[e]=null!=(o=n[e])?o:r,a=!0);return a?i:e}let R=Object.prototype.hasOwnProperty;function M(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function N(e,t,n){var r,o;if(M(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(let a=0;a<i.length;a++){let s=null!=(o=null==(r=null==n?void 0:n[i[a]])?void 0:r.equals)?o:M;if(!R.call(t,i[a])||!s(e[i[a]],t[i[a]]))return!1}return!0}function j(e,t,n){let r={};for(let o of Object.keys(t)){let i;let a=t[o],s=e[o];if(n.has(o,s,a.decode))i=n.get(o);else{if(i=a.decode(s),a.equals&&n.has(o,s)){let e=n.get(o);a.equals(i,e)&&(i=e)}void 0!==i&&n.set(o,s,i,a.decode)}void 0===i&&void 0!==a.default&&(i=a.default),r[o]=i}return r}function D(){let e;return function(t,n,r){let o=j(t,n,r);return null!=e&&N(e,o)?e:(e=o,o)}}function L(e){let t;for(let n in e)if(e[n].urlName){let r=e[n].urlName,o=`${r}\0${n}`;t?t.push(o):t=[o]}return t?t.join("\n"):void 0}function B(e){if(e)return Object.fromEntries(e.split("\n").map(e=>e.split("\0")))}function Z(e,t){var n;let r={};for(let o in e)(null==(n=t[o])?void 0:n.urlName)!=null?r[t[o].urlName]=e[o]:r[o]=e[o];return r}let F={},z=(e,t,n)=>{if(r===t&&i===e&&o===n)return F;r=t,i=e;let a=e(null!=t?t:"");o=n;let s=B(n);for(let[e,t]of Object.entries(a)){(null==s?void 0:s[e])&&(delete a[e],a[e=s[e]]=t);let n=F[e];N(t,n)&&(a[e]=n)}return F=a,a};function U(e,t){null==t&&(t={});let n={...e,...t};return t.params&&e.params&&(n.params={...e.params,...t.params}),n}let H={adapter:{},options:{searchStringToObject:_,objectToSearchString:k,updateType:"pushIn",includeKnownParams:void 0,includeAllParams:!1,removeDefaultsFromUrl:!1,enableBatching:!1,skipUpdateWhenNoChange:!0}},q=O.createContext(H);function V(){let e=O.useContext(q);if(void 0===e||e===H)throw Error("useQueryParams must be used within a QueryParamProvider");return e}function W({children:e,adapter:t,options:n}){let{adapter:r,options:o}=O.useContext(q),i=O.useMemo(()=>({adapter:null!=t?t:r,options:U(o,n)}),[t,n,r,o]);return O.createElement(q.Provider,{value:i},e)}function $({children:e,adapter:t,options:n}){let r=t;return r?O.createElement(r,null,t=>O.createElement(W,{adapter:t,options:n},e)):O.createElement(W,{options:n},e)}function G(e,t){var n;for(let r in e)(null==(n=t[r])?void 0:n.default)!==void 0&&void 0!==e[r]&&t[r].encode(t[r].default)===e[r]&&(e[r]=void 0)}function K({changes:e,updateType:t,currentSearchString:n,paramConfigMap:r,options:o}){let i,a,s;let{searchStringToObject:l,objectToSearchString:c}=o;null==t&&(t=o.updateType);let u=z(l,n),d=T(r,Object.keys(e),o.params);return a="function"==typeof e?e(j(u,d,I)):e,i=C(d,a),o.removeDefaultsFromUrl&&G(i,d),i=Z(i,d),(null==(s=c("push"===t||"replace"===t?i:{...u,...i}))?void 0:s.length)&&"?"!==s[0]&&(s=`?${s}`),null!=s?s:""}function Y({searchString:e,adapter:t,navigate:n,updateType:r}){let o={...t.location,search:e};n&&("string"==typeof r&&r.startsWith("replace")?t.replace(o):t.push(o))}let X=e=>e(),Q=e=>setTimeout(()=>e(),0),J=[];function ee(e,{immediate:t}={}){J.push(e);let n=t?X:Q;1===J.length&&n(()=>{let t;let n=J.slice();J.length=0;let r=n[0].currentSearchString;for(let e=0;e<n.length;++e)t=K(0===e?n[e]:{...n[e],currentSearchString:t});e.options.skipUpdateWhenNoChange&&t===r||Y({searchString:null!=t?t:"",adapter:n[n.length-1].adapter,navigate:!0,updateType:n[n.length-1].updateType})})}function et(e,t){let{adapter:n,options:r}=V(),[o]=(0,O.useState)(D),{paramConfigMap:i,options:a}=er(e,t),s=(0,O.useMemo)(()=>U(r,a),[r,a]),l=P(i,s),c=z(s.searchStringToObject,n.location.search,L(l));s.includeAllParams&&(l=T(l,Object.keys(c),s.params,v));let u=o(c,l,I),d=Object.keys(l).join("\0");(0,O.useEffect)(()=>{let e=d.split("\0");return I.registerParams(e),()=>{I.unregisterParams(e)}},[d]);let f={adapter:n,paramConfigMap:l,options:s},p=(0,O.useRef)(f);null==p.current&&(p.current=f),(0,O.useEffect)(()=>{p.current.adapter=n,p.current.paramConfigMap=l,p.current.options=s},[n,l,s]);let[h]=(0,O.useState)(()=>(e,t)=>{let{adapter:n,paramConfigMap:r,options:o}=p.current;null==t&&(t=o.updateType),ee({changes:e,updateType:t,currentSearchString:n.location.search,paramConfigMap:r,options:o,adapter:n},{immediate:!o.enableBatching})});return[u,h]}var en=et;function er(e,t){let n,r;return{paramConfigMap:n=void 0===e?{}:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,"inherit"])):e,options:r=t}}let eo=(e,t,n)=>{let[r,o]=en((0,O.useMemo)(()=>({[e]:null!=t?t:"inherit"}),[e,t]),n);return[r[e],(0,O.useCallback)((t,n)=>"function"==typeof t?o(n=>{let r=t(n[e]);return{[e]:r}},n):o({[e]:t},n),[e,o])]}},94718:function(e,t,n){"use strict";n.d(t,{LV:function(){return o},vt:function(){return r}}),n(80229);let r="UA-117498174-1",o=e=>{var t,n;null===(n=window)||void 0===n||null===(t=n.gtag)||void 0===t||t.call(n,"config",r,{page_path:e})}},10061:function(e,t,n){"use strict";n.d(t,{$k:function(){return c},Pn:function(){return u}});var r=n(31549),o=n(44194),i=n(92238),a=n.n(i);let s=(0,o.createContext)({}),l=e=>{let{children:t}=e,[n,i]=(0,o.useState)([]),[l,c]=(0,o.useState)({}),u=(0,o.useCallback)(e=>i(t=>[e,...t]),[]),d=(0,o.useCallback)(e=>i(t=>a()(t,e)),[]),f=(0,o.useCallback)(async()=>{let e=Object.values(l);if(e.length>0)return await Promise.all([...e.map(e=>e())])},[l]),p=(0,o.useCallback)((e,t)=>c({...l,[e]:t}),[l]),h=(0,o.useCallback)(e=>{let{[e]:t,...n}=l;return c(n),t},[l]),m=n.length>0;return(0,r.jsx)(s.Provider,{value:{isLocked:m,lock:u,unlock:d,waitForMiddleware:f,addMiddleware:p,removeMiddleware:h},children:t})},c=e=>t=>(0,r.jsx)(l,{children:(0,r.jsx)(e,{...t})}),u=()=>(0,o.useContext)(s)},74992:function(e,t,n){"use strict";let r;n.d(t,{uB:function(){return nY},sx:function(){return nL},TT:function(){return $},TA:function(){return q},jx:function(){return nH},P8:function(){return nX},Yd:function(){return nB},ye:function(){return W},dG:function(){return V},vk:function(){return U},Qo:function(){return nq}});var o,i,a,s=n(31549),l=function(e,t){return(l=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function u(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}"function"==typeof SuppressedError&&SuppressedError;var f={exports:{}};function p(){}p.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},f.exports=p;var h=f.exports.TinyEmitter=p,m=function(e){return null!=e[1]},g=function(){},v=function(){function e(e){var t=e.onError,n=e.onSent,r=e.appName,o=e.metricsInterval,i=e.disableMetrics,a=void 0!==i&&i,s=e.url,l=e.clientKey,c=e.fetch,u=e.headerName,d=e.customHeaders,f=void 0===d?{}:d;this.onError=t,this.onSent=n||g,this.disabled=a,this.metricsInterval=1e3*o,this.appName=r,this.url=s instanceof URL?s:new URL(s),this.clientKey=l,this.bucket=this.createEmptyBucket(),this.fetch=c,this.headerName=u,this.customHeaders=f}return e.prototype.start=function(){var e=this;if(this.disabled)return!1;"number"==typeof this.metricsInterval&&this.metricsInterval>0&&setTimeout(function(){e.startTimer(),e.sendMetrics()},2e3)},e.prototype.stop=function(){this.timer&&(clearTimeout(this.timer),delete this.timer)},e.prototype.createEmptyBucket=function(){return{start:new Date,stop:null,toggles:{}}},e.prototype.getHeaders=function(){var e,t=((e={})[this.headerName]=this.clientKey,e.Accept="application/json",e["Content-Type"]="application/json",e);return Object.entries(this.customHeaders).filter(m).forEach(function(e){var n=e[0],r=e[1];return t[n]=r}),t},e.prototype.sendMetrics=function(){return u(this,void 0,void 0,function(){var e,t,n;return d(this,function(r){switch(r.label){case 0:if(e="".concat(this.url,"/client/metrics"),t=this.getPayload(),this.bucketIsEmpty(t))return[2];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.fetch(e,{cache:"no-cache",method:"POST",headers:this.getHeaders(),body:JSON.stringify(t)})];case 2:return r.sent(),this.onSent(t),[3,4];case 3:return console.error("Unleash: unable to send feature metrics",n=r.sent()),this.onError(n),[3,4];case 4:return[2]}})})},e.prototype.count=function(e,t){return!(this.disabled||!this.bucket)&&(this.assertBucket(e),this.bucket.toggles[e][t?"yes":"no"]++,!0)},e.prototype.countVariant=function(e,t){return!(this.disabled||!this.bucket)&&(this.assertBucket(e),this.bucket.toggles[e].variants[t]?this.bucket.toggles[e].variants[t]+=1:this.bucket.toggles[e].variants[t]=1,!0)},e.prototype.assertBucket=function(e){if(this.disabled||!this.bucket)return!1;this.bucket.toggles[e]||(this.bucket.toggles[e]={yes:0,no:0,variants:{}})},e.prototype.startTimer=function(){var e=this;this.timer=setInterval(function(){e.sendMetrics()},this.metricsInterval)},e.prototype.bucketIsEmpty=function(e){return 0===Object.keys(e.bucket.toggles).length},e.prototype.getPayload=function(){var e=c(c({},this.bucket),{stop:new Date});return this.bucket=this.createEmptyBucket(),{bucket:e,appName:this.appName,instanceId:"browser"}},e}(),y=function(){function e(){this.store=new Map}return e.prototype.save=function(e,t){return u(this,void 0,void 0,function(){return d(this,function(n){return this.store.set(e,t),[2]})})},e.prototype.get=function(e){return u(this,void 0,void 0,function(){return d(this,function(t){return[2,this.store.get(e)]})})},e}(),b=function(){function e(){this.prefix="unleash:repository"}return e.prototype.save=function(e,t){return u(this,void 0,void 0,function(){var n,r;return d(this,function(o){n=JSON.stringify(t),r="".concat(this.prefix,":").concat(e);try{window.localStorage.setItem(r,n)}catch(e){console.error(e)}return[2]})})},e.prototype.get=function(e){try{var t="".concat(this.prefix,":").concat(e),n=window.localStorage.getItem(t);return n?JSON.parse(n):void 0}catch(e){console.error(e)}},e}();let w=new Uint8Array(16);function S(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(w)}let x=[];for(let e=0;e<256;++e)x.push((e+256).toString(16).slice(1));var E={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function C(e,t,n){if(E.randomUUID&&!t&&!e)return E.randomUUID();let r=(e=e||{}).random||(e.rng||S)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return x[e[t+0]]+x[e[t+1]]+x[e[t+2]]+x[e[t+3]]+"-"+x[e[t+4]]+x[e[t+5]]+"-"+x[e[t+6]]+x[e[t+7]]+"-"+x[e[t+8]]+x[e[t+9]]+"-"+x[e[t+10]]+x[e[t+11]]+x[e[t+12]]+x[e[t+13]]+x[e[t+14]]+x[e[t+15]]}(r)}var _=function(){function e(){}return e.prototype.generateEventId=function(){return C()},e.prototype.createImpressionEvent=function(e,t,n,r,o,i){var a=this.createBaseEvent(e,t,n,r,o);return i?c(c({},a),{variant:i}):a},e.prototype.createBaseEvent=function(e,t,n,r,o){return{eventType:r,eventId:this.generateEventId(),context:e,enabled:t,featureName:n,impressionData:o}},e}(),k=["userId","sessionId","remoteAddress","currentTime"],O=function(e){return k.includes(e)},A={INIT:"initialized",ERROR:"error",READY:"ready",UPDATE:"update",IMPRESSION:"impression",SENT:"sent",RECOVERED:"recovered"},I="isEnabled",P="getVariant",T={name:"disabled",enabled:!1,feature_enabled:!1},R="repo",M=function(){try{if("undefined"!=typeof window&&"fetch"in window)return fetch.bind(window);if("fetch"in globalThis)return fetch.bind(globalThis)}catch(e){console.error('Unleash failed to resolve "fetch"',e)}},N=function(e){function t(t){var n=t.storageProvider,r=t.url,o=t.clientKey,i=t.disableRefresh,a=void 0!==i&&i,s=t.refreshInterval,l=void 0===s?30:s,u=t.metricsInterval,d=void 0===u?30:u,f=t.disableMetrics,p=void 0!==f&&f,h=t.appName,m=t.environment,g=void 0===m?"default":m,w=t.context,S=t.fetch,x=void 0===S?M():S,E=t.createAbortController,C=void 0===E?function(){try{if("undefined"!=typeof window&&"AbortController"in window)return function(){return new window.AbortController};if("fetch"in globalThis)return function(){return new globalThis.AbortController}}catch(e){console.error('Unleash failed to resolve "AbortController" factory',e)}}():E,k=t.bootstrap,O=t.bootstrapOverride,I=void 0===O||O,P=t.headerName,T=void 0===P?"Authorization":P,R=t.customHeaders,N=void 0===R?{}:R,j=t.impressionDataAll,D=void 0!==j&&j,L=t.usePOSTrequests,B=void 0!==L&&L,Z=e.call(this)||this;if(Z.toggles=[],Z.etag="",Z.readyEventEmitted=!1,Z.usePOSTrequests=!1,Z.started=!1,!r)throw Error("url is required");if(!o)throw Error("clientKey is required");if(!h)throw Error("appName is required.");return Z.eventsHandler=new _,Z.impressionDataAll=D,Z.toggles=k&&k.length>0?k:[],Z.url=r instanceof URL?r:new URL(r),Z.clientKey=o,Z.headerName=T,Z.customHeaders=N,Z.storage=n||("undefined"!=typeof window?new b:new y),Z.refreshInterval=a?0:1e3*l,Z.context=c({appName:h,environment:g},w),Z.usePOSTrequests=B,Z.sdkState="initializing",Z.ready=new Promise(function(e){Z.init().then(e).catch(function(t){console.error(t),Z.sdkState="error",Z.emit(A.ERROR,t),e()})}),x||console.error('Unleash: You must either provide your own "fetch" implementation or run in an environment where "fetch" is available.'),C||console.error('Unleash: You must either provide your own "AbortController" implementation or run in an environment where "AbortController" is available.'),Z.fetch=x,Z.createAbortController=C,Z.bootstrap=k&&k.length>0?k:void 0,Z.bootstrapOverride=I,Z.metrics=new v({onError:Z.emit.bind(Z,A.ERROR),onSent:Z.emit.bind(Z,A.SENT),appName:h,metricsInterval:d,disableMetrics:p,url:Z.url,clientKey:o,fetch:x,headerName:T,customHeaders:N}),Z}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.getAllToggles=function(){return function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([],this.toggles,!0)},t.prototype.isEnabled=function(e){var t,n=this.toggles.find(function(t){return t.name===e}),r=!!n&&n.enabled;if(this.metrics.count(e,r),(null==n?void 0:n.impressionData)||this.impressionDataAll){var o=this.eventsHandler.createImpressionEvent(this.context,r,e,I,null!==(t=null==n?void 0:n.impressionData)&&void 0!==t?t:void 0);this.emit(A.IMPRESSION,o)}return r},t.prototype.getVariant=function(e){var t,n=this.toggles.find(function(t){return t.name===e}),r=(null==n?void 0:n.enabled)||!1,o=n?n.variant:T;if(o.name&&this.metrics.countVariant(e,o.name),this.metrics.count(e,r),(null==n?void 0:n.impressionData)||this.impressionDataAll){var i=this.eventsHandler.createImpressionEvent(this.context,r,e,P,null!==(t=null==n?void 0:n.impressionData)&&void 0!==t?t:void 0,o.name);this.emit(A.IMPRESSION,i)}return c(c({},o),{feature_enabled:r})},t.prototype.updateToggles=function(){return u(this,void 0,void 0,function(){var e=this;return d(this,function(t){switch(t.label){case 0:return this.timerRef||this.readyEventEmitted?[4,this.fetchToggles()]:[3,2];case 1:return t.sent(),[3,4];case 2:return this.started?[4,new Promise(function(t){var n=function(){e.fetchToggles().then(function(){e.off(A.READY,n),t()})};e.once(A.READY,n)})]:[3,4];case 3:t.sent(),t.label=4;case 4:return[2]}})})},t.prototype.updateContext=function(e){return u(this,void 0,void 0,function(){var t;return d(this,function(n){switch(n.label){case 0:return(e.appName||e.environment)&&console.warn("appName and environment are static. They can't be updated with updateContext."),t={environment:this.context.environment,appName:this.context.appName,sessionId:this.context.sessionId},this.context=c(c({},t),e),[4,this.updateToggles()];case 1:return n.sent(),[2]}})})},t.prototype.getContext=function(){return c({},this.context)},t.prototype.setContextField=function(e,t){var n,r;if(O(e))this.context=c(c({},this.context),((n={})[e]=t,n));else{var o=c(c({},this.context.properties),((r={})[e]=t,r));this.context=c(c({},this.context),{properties:o})}this.updateToggles()},t.prototype.removeContextField=function(e){var t;O(e)?this.context=c(c({},this.context),((t={})[e]=void 0,t)):"object"==typeof this.context.properties&&delete this.context.properties[e],this.updateToggles()},t.prototype.init=function(){return u(this,void 0,void 0,function(){var e,t;return d(this,function(n){switch(n.label){case 0:return[4,this.resolveSessionId()];case 1:return e=n.sent(),this.context=c({sessionId:e},this.context),t=this,[4,this.storage.get(R)];case 2:return t.toggles=n.sent()||[],this.bootstrap&&(this.bootstrapOverride||0===this.toggles.length)?[4,this.storage.save(R,this.bootstrap)]:[3,4];case 3:n.sent(),this.toggles=this.bootstrap,this.emit(A.READY),n.label=4;case 4:return this.sdkState="healthy",this.emit(A.INIT),[2]}})})},t.prototype.start=function(){return u(this,void 0,void 0,function(){var e,t=this;return d(this,function(n){switch(n.label){case 0:return this.started=!0,this.timerRef?(console.error("Unleash SDK has already started, if you want to restart the SDK you should call client.stop() before starting again."),[2]):[4,this.ready];case 1:return n.sent(),this.metrics.start(),e=this.refreshInterval,[4,this.fetchToggles()];case 2:return n.sent(),e>0&&(this.timerRef=setInterval(function(){return t.fetchToggles()},e)),[2]}})})},t.prototype.stop=function(){this.timerRef&&(clearInterval(this.timerRef),this.timerRef=void 0),this.metrics.stop()},t.prototype.resolveSessionId=function(){return u(this,void 0,void 0,function(){var e;return d(this,function(t){switch(t.label){case 0:return this.context.sessionId?[2,this.context.sessionId]:[4,this.storage.get("sessionId")];case 1:return(e=t.sent())?[3,3]:(e=Math.floor(1e9*Math.random()),[4,this.storage.save("sessionId",e)]);case 2:t.sent(),t.label=3;case 3:return[2,e]}})})},t.prototype.getHeaders=function(){var e,t=this.usePOSTrequests,n=((e={})[this.headerName]=this.clientKey,e.Accept="application/json",e);return t&&(n["Content-Type"]="application/json"),this.etag&&(n["If-None-Match"]=this.etag),Object.entries(this.customHeaders).filter(m).forEach(function(e){var t=e[0],r=e[1];return n[t]=r}),n},t.prototype.storeToggles=function(e){return u(this,void 0,void 0,function(){return d(this,function(t){switch(t.label){case 0:return this.toggles=e,this.emit(A.UPDATE),[4,this.storage.save(R,e)];case 1:return t.sent(),[2]}})})},t.prototype.fetchToggles=function(){return u(this,void 0,void 0,function(){var e,t,n,r,o,i,a,s;return d(this,function(l){switch(l.label){case 0:if(!this.fetch)return[3,9];this.abortController&&this.abortController.abort(),this.abortController=this.createAbortController&&this.createAbortController(),e=this.abortController?this.abortController.signal:void 0,l.label=1;case 1:return l.trys.push([1,7,8,9]),n=(t=this.usePOSTrequests)?this.url:function(e,t){var n=new URL(e.toString());return Object.entries(t).filter(m).forEach(function(e){var t=e[0],r=e[1];"properties"===t&&r?Object.entries(r).filter(m).forEach(function(e){var t=e[0],r=e[1];return n.searchParams.append("properties[".concat(t,"]"),r)}):n.searchParams.append(t,r)}),n}(this.url,this.context),r=t?"POST":"GET",o=t?JSON.stringify({context:this.context}):void 0,[4,this.fetch(n.toString(),{method:r,cache:"no-cache",headers:this.getHeaders(),body:o,signal:e})];case 2:return i=l.sent(),"error"===this.sdkState&&i.status<400&&(this.sdkState="healthy",this.emit(A.RECOVERED)),i.ok&&304!==i.status?(this.etag=i.headers.get("ETag")||"",[4,i.json()]):[3,5];case 3:return a=l.sent(),[4,this.storeToggles(a.toggles)];case 4:return l.sent(),"healthy"!==this.sdkState&&(this.sdkState="healthy"),this.bootstrap||this.readyEventEmitted||(this.emit(A.READY),this.readyEventEmitted=!0),[3,6];case 5:i.ok||304===i.status||(console.error("Unleash: Fetching feature toggles did not have an ok response"),this.sdkState="error",this.emit(A.ERROR,{type:"HttpError",code:i.status})),l.label=6;case 6:return[3,9];case 7:return console.error("Unleash: unable to fetch feature toggles",s=l.sent()),this.sdkState="error",this.emit(A.ERROR,s),[3,9];case 8:return this.abortController=null,[7];case 9:return[2]}})})},t}(h),j=n(44194),D=n.t(j,2);let L=j.createContext(null),B={bootstrap:[],disableRefresh:!0,disableMetrics:!0,url:"http://localhost",appName:"offline",clientKey:"not-used"},Z=D.startTransition||(e=>e()),F=({config:e,children:t,unleashClient:n,startClient:r=!0})=>{let o=e||B,i=j.useRef(n||new N(o)),[a,s]=j.useState(!!(n?null!=e&&e.bootstrap&&(null==e?void 0:e.bootstrapOverride)!==!1:o.bootstrap&&!1!==o.bootstrapOverride)),[l,c]=j.useState(null);j.useEffect(()=>{let e;o||n||console.error(`You must provide either a config or an unleash client to the flag provider.
        If you are initializing the client in useEffect, you can avoid this warning
        by checking if the client exists before rendering.`);let t=e=>{Z(()=>{c(t=>t||e)})},a=e=>{Z(()=>{c(null)})},l=()=>{e=setTimeout(()=>{Z(()=>{s(!0)})},0)};return i.current.on("ready",l),i.current.on("error",t),i.current.on("recovered",a),r&&(i.current.stop(),i.current.start()),function(){i.current&&(i.current.off("error",t),i.current.off("ready",l),i.current.off("recovered",a),i.current.stop()),e&&clearTimeout(e)}},[]);let u=async e=>{await i.current.updateContext(e)},d=e=>i.current.isEnabled(e),f=e=>i.current.getVariant(e),p=(e,t,n)=>i.current.on(e,t,n),h=j.useMemo(()=>({on:p,updateContext:u,isEnabled:d,getVariant:f,client:i.current,flagsReady:a,flagsError:l,setFlagsReady:s,setFlagsError:c}),[a,l]);return j.createElement(L.Provider,{value:h},t)},z=e=>{let{isEnabled:t,client:n}=(0,j.useContext)(L),[r,o]=(0,j.useState)(!!t(e)),i=(0,j.useRef)();return i.current=r,(0,j.useEffect)(()=>{if(!n)return;let r=()=>{let n=t(e);n!==i.current&&(i.current=n,o(!!n))},a=()=>{let n=t(e);i.current=n,o(n)};return n.on("update",r),n.on("ready",a),()=>{n.off("update",r),n.off("ready",a)}},[n]),r},U=()=>{let{flagsReady:e,flagsError:t}=(0,j.useContext)(L);return{flagsReady:e,flagsError:t}},H=()=>{let{updateContext:e}=(0,j.useContext)(L);return e},q=e=>{let{config:t,children:n}=e;return(0,s.jsx)(F,{config:t,children:n})},V=()=>{try{return H()}catch{return()=>void 0}},W=e=>z("".concat("production","_").concat(e)),$=e=>{let{name:t,children:n,fallback:r=null,reversed:o=!1}=e,i=W(t),a=o?!i:i;return(0,s.jsx)(s.Fragment,{children:a?n:r})};var G=n(43112),K=n(79895);function Y(){return void 0!==K&&K.env?K.env:{}}var X=n(27115),Q=n(34032),J=n(14353);function ee(e,t,n,r){var o,i=[e,t,n,r],a=(0,J.PO)(e)?e.event:e;if(!a||!(0,J.HD)(a))throw Error("Event missing");var s=(0,J.PO)(e)?null!==(o=e.properties)&&void 0!==o?o:{}:(0,J.PO)(t)?t:{},l={};return(0,J.mf)(n)||(l=null!=n?n:{}),(0,J.PO)(e)&&!(0,J.mf)(t)&&(l=null!=t?t:{}),[a,s,l,i.find(J.mf)]}function et(e,t,n,r,o){var i,a,s=null,l=null,c=[e,t,n,r,o],u=c.filter(J.HD);void 0!==u[0]&&void 0!==u[1]&&(s=u[0],l=u[1]),1===u.length&&(s=null,l=u[0]);var d=c.find(J.mf),f=c.filter(function(e){return null===l?(0,J.PO)(e):(0,J.PO)(e)||null===e}),p=null!==(i=f[0])&&void 0!==i?i:{},h=null!==(a=f[1])&&void 0!==a?a:{};return[s,l,p,h,d]}var en=function(e){return function(){for(var t,n,r,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];for(var a={},s=["callback","options","traits","id"],l=0,c=o;l<c.length;l++){var u=c[l],d=s.pop();if("id"===d){if((0,J.HD)(u)||(0,J.hj)(u)){a.id=u.toString();continue}if(null==u)continue;d=s.pop()}if(("traits"===d||"options"===d)&&(null==u||(0,J.PO)(u))&&(a[d]=u),(0,J.mf)(u)){a.callback=u;break}}return[null!==(t=a.id)&&void 0!==t?t:e.id(),null!==(n=a.traits)&&void 0!==n?n:{},null!==(r=a.options)&&void 0!==r?r:{},a.callback]}};function er(e,t,n,r){(0,J.hj)(e)&&(e=e.toString()),(0,J.hj)(t)&&(t=t.toString());var o=[e,t,n,r],i=o.filter(J.HD),a=i[0],s=void 0===a?e:a,l=i[1],c=void 0===l?null:l,u=o.filter(J.PO)[0];return[s,c,void 0===u?{}:u,o.find(J.mf)]}var eo=n(95299),ei=n(70946),ea=n(94154),es=n(47453),el=function(e,t){return Math.max((null!=t?t:300)-(Date.now()-e),0)};function ec(e,t,n,r){return(0,ea.mG)(this,void 0,void 0,function(){var o,i;return(0,ea.Jh)(this,function(a){switch(a.label){case 0:if(n.emit("dispatch_start",e),o=Date.now(),!t.isEmpty())return[3,2];return[4,t.dispatchSingle(e)];case 1:return i=a.sent(),[3,4];case 2:return[4,t.dispatch(e)];case 3:i=a.sent(),a.label=4;case 4:if(!(null==r?void 0:r.callback))return[3,6];return[4,(0,es.UI)(i,r.callback,el(o,r.timeout))];case 5:i=a.sent(),a.label=6;case 6:return(null==r?void 0:r.debug)&&i.flush(),[2,i]}})})}var eu=n(32808),ed=n(50836);function ef(e,t){return Object.assign.apply(Object,(0,G.ev)([{}],t.map(function(t){var n;if(e&&Object.prototype.hasOwnProperty.call(e,t))return(n={})[t]=e[t],n}),!1))}var ep="bpc",eh=function(e,t,n,r,o,i){return{__t:ep,c:t,p:r,u:e,s:n,t:o,r:i}},em=Object.keys(eh("","","","","",""));function eg(e){if(!(0,J.PO)(e)||e.__t!==ep)return!1;for(var t in e)if(!em.includes(t))return!1;return!0}var ev=function(e,t){return e.indexOf("?")>-1?e:e+t},ey=function(e){var t=e.indexOf("#");return -1===t?e:e.slice(0,t)},eb=function(e){try{return new URL(e).pathname}catch(t){return"/"===e[0]?e:"/"+e}},ew=function(e){var t=e.c,n=e.p,r=e.s,o=e.u,i=e.r,a=e.t,s=t?eb(t):n,l=t?ev(t,r):ey(o);return{path:s,referrer:i,search:r,title:a,url:l}},eS=function(){var e=document.querySelector("link[rel='canonical']");return eh(location.href,e&&e.getAttribute("href")||void 0,location.search,location.pathname,document.title,document.referrer)},ex=function(){return ew(eS())},eE=function(e,t){void 0===t&&(t=ex());var n,r=e.context;"page"===e.type&&(n=e.properties&&ef(e.properties,Object.keys(t)),e.properties=(0,G.pi)((0,G.pi)((0,G.pi)({},t),e.properties),e.name?{name:e.name}:{})),r.page=(0,G.pi)((0,G.pi)((0,G.pi)({},t),n),r.page)},eC=n(23034),e_=function(e,t){return Object.keys(e).filter(function(n){return t(n,e[n])}).reduce(function(t,n){return t[n]=e[n],t},{})},ek=function(e){function t(t,n){var r=e.call(this,"".concat(t," ").concat(n))||this;return r.field=t,r}return(0,ea.ZT)(t,e),t}(Error),eO="is not a string",eA="is not an object",eI="is nil";function eP(e){if(!(0,J.Gg)(e))throw new ek("Event",eI);if("object"!=typeof e)throw new ek("Event",eA)}function eT(e){if(!(0,J.HD)(e.type))throw new ek(".type",eO)}function eR(e){if(!(0,J.HD)(e.event))throw new ek(".event",eO)}function eM(e){if(!(0,J.PO)(e.properties))throw new ek(".properties",eA)}function eN(e){if(!(0,J.PO)(e.traits))throw new ek(".traits",eA)}function ej(e){if(!(0,J.HD)(e.messageId))throw new ek(".messageId",eO)}function eD(e){eP(e),eT(e),ej(e),"track"===e.type&&(eR(e),eM(e)),["group","identify"].includes(e.type)&&eN(e)}var eL=function(){return function(e){var t,n;this.settings=e,this.createMessageId=e.createMessageId,this.onEventMethodCall=null!==(t=e.onEventMethodCall)&&void 0!==t?t:function(){},this.onFinishedEvent=null!==(n=e.onFinishedEvent)&&void 0!==n?n:function(){}}}(),eB=function(e){function t(t){var n=e.call(this,{createMessageId:function(){return"ajs-next-".concat(Date.now(),"-").concat((0,ed.v4)())},onEventMethodCall:function(e){var t=e.options;n.maybeUpdateAnonId(t)},onFinishedEvent:function(e){return n.addIdentity(e),e}})||this;return n.user=t,n}return(0,G.ZT)(t,e),t.prototype.maybeUpdateAnonId=function(e){(null==e?void 0:e.anonymousId)&&this.user.anonymousId(e.anonymousId)},t.prototype.addIdentity=function(e){this.user.id()&&(e.userId=this.user.id()),this.user.anonymousId()&&(e.anonymousId=this.user.anonymousId())},t.prototype.track=function(t,n,r,o,i){var a=e.prototype.track.call(this,t,n,r,o);return eE(a,i),a},t.prototype.page=function(t,n,r,o,i,a){var s=e.prototype.page.call(this,t,n,r,o,i);return eE(s,a),s},t.prototype.screen=function(t,n,r,o,i,a){var s=e.prototype.screen.call(this,t,n,r,o,i);return eE(s,a),s},t.prototype.identify=function(t,n,r,o,i){var a=e.prototype.identify.call(this,t,n,r,o);return eE(a,i),a},t.prototype.group=function(t,n,r,o,i){var a=e.prototype.group.call(this,t,n,r,o);return eE(a,i),a},t.prototype.alias=function(t,n,r,o,i){var a=e.prototype.alias.call(this,t,n,r,o);return eE(a,i),a},t}(function(){function e(e){this.settings=new eL(e)}return e.prototype.track=function(e,t,n,r){return this.settings.onEventMethodCall({type:"track",options:n}),this.normalize((0,ea.pi)((0,ea.pi)({},this.baseEvent()),{event:e,type:"track",properties:null!=t?t:{},options:(0,ea.pi)({},n),integrations:(0,ea.pi)({},r)}))},e.prototype.page=function(e,t,n,r,o){this.settings.onEventMethodCall({type:"page",options:r});var i,a={type:"page",properties:(0,ea.pi)({},n),options:(0,ea.pi)({},r),integrations:(0,ea.pi)({},o)};return null!==e&&(a.category=e,a.properties=null!==(i=a.properties)&&void 0!==i?i:{},a.properties.category=e),null!==t&&(a.name=t),this.normalize((0,ea.pi)((0,ea.pi)({},this.baseEvent()),a))},e.prototype.screen=function(e,t,n,r,o){this.settings.onEventMethodCall({type:"screen",options:r});var i={type:"screen",properties:(0,ea.pi)({},n),options:(0,ea.pi)({},r),integrations:(0,ea.pi)({},o)};return null!==e&&(i.category=e),null!==t&&(i.name=t),this.normalize((0,ea.pi)((0,ea.pi)({},this.baseEvent()),i))},e.prototype.identify=function(e,t,n,r){return this.settings.onEventMethodCall({type:"identify",options:n}),this.normalize((0,ea.pi)((0,ea.pi)({},this.baseEvent()),{type:"identify",userId:e,traits:null!=t?t:{},options:(0,ea.pi)({},n),integrations:r}))},e.prototype.group=function(e,t,n,r){return this.settings.onEventMethodCall({type:"group",options:n}),this.normalize((0,ea.pi)((0,ea.pi)({},this.baseEvent()),{type:"group",traits:null!=t?t:{},options:(0,ea.pi)({},n),integrations:(0,ea.pi)({},r),groupId:e}))},e.prototype.alias=function(e,t,n,r){this.settings.onEventMethodCall({type:"alias",options:n});var o={userId:e,type:"alias",options:(0,ea.pi)({},n),integrations:(0,ea.pi)({},r)};return(null!==t&&(o.previousId=t),void 0===e)?this.normalize((0,ea.pi)((0,ea.pi)({},o),this.baseEvent())):this.normalize((0,ea.pi)((0,ea.pi)({},this.baseEvent()),o))},e.prototype.baseEvent=function(){return{integrations:{},options:{}}},e.prototype.context=function(e){var t,n=["userId","anonymousId","timestamp","messageId"];delete e.integrations;var r=Object.keys(e),o=null!==(t=e.context)&&void 0!==t?t:{},i={};return r.forEach(function(t){"context"!==t&&(n.includes(t)?(0,eC.N)(i,t,e[t]):(0,eC.N)(o,t,e[t]))}),[o,i]},e.prototype.normalize=function(e){var t,n,r=Object.keys(null!==(t=e.integrations)&&void 0!==t?t:{}).reduce(function(t,n){var r,o;return(0,ea.pi)((0,ea.pi)({},t),((r={})[n]=!!(null===(o=e.integrations)||void 0===o?void 0:o[n]),r))},{});e.options=e_(e.options||{},function(e,t){return void 0!==t});var o=(0,ea.pi)((0,ea.pi)({},r),null===(n=e.options)||void 0===n?void 0:n.integrations),i=e.options?this.context(e.options):[],a=i[0],s=i[1],l=e.options,c=(0,ea._T)(e,["options"]),u=(0,ea.pi)((0,ea.pi)((0,ea.pi)((0,ea.pi)({timestamp:new Date},c),{context:a,integrations:o}),s),{messageId:l.messageId||this.settings.createMessageId()});return this.settings.onFinishedEvent(u),eD(u),u},e}()),eZ=function(e){return"addMiddleware"in e&&"destination"===e.type},eF=n(89040);function ez(e,t){var n={};return e.forEach(function(e){var r,o=void 0;if("string"==typeof t){var i=e[t];o="string"!=typeof i?JSON.stringify(i):i}else t instanceof Function&&(o=t(e));void 0!==o&&(n[o]=(0,ea.ev)((0,ea.ev)([],null!==(r=n[o])&&void 0!==r?r:[],!0),[e],!1))}),n}var eU=n(31313),eH=n(31262),eq=function(e){return"object"==typeof e&&null!==e&&"then"in e&&"function"==typeof e.then},eV=function(){var e,t,n=0;return{done:function(){return e},run:function(r){var o=r();return eq(o)&&(1==++n&&(e=new Promise(function(e){return t=e})),o.finally(function(){return 0==--n&&t()})),o}}},eW=n(1681),e$=function(e){function t(t){return e.call(this,"string"==typeof t?new eF.$(4,t):t)||this}return(0,G.ZT)(t,e),t.prototype.flush=function(){return(0,G.mG)(this,void 0,void 0,function(){return(0,G.Jh)(this,function(t){return(0,eo.s)()?[2,[]]:[2,e.prototype.flush.call(this)]})})},t}(function(e){function t(t){var n=e.call(this)||this;return n.criticalTasks=eV(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=t,n.queue.on(eU.M,function(){n.scheduleFlush(0)}),n}return(0,ea.ZT)(t,e),t.prototype.register=function(e,t,n){return(0,ea.mG)(this,void 0,void 0,function(){var r,o,i=this;return(0,ea.Jh)(this,function(a){switch(a.label){case 0:if(this.plugins.push(t),r=function(n){i.failedInitializations.push(t.name),i.emit("initialization_failure",t),console.warn(t.name,n),e.log("warn","Failed to load destination",{plugin:t.name,error:n}),i.plugins=i.plugins.filter(function(e){return e!==t})},!("destination"===t.type&&"Segment.io"!==t.name))return[3,1];return t.load(e,n).catch(r),[3,4];case 1:return a.trys.push([1,3,,4]),[4,t.load(e,n)];case 2:return a.sent(),[3,4];case 3:return o=a.sent(),r(o),[3,4];case 4:return[2]}})})},t.prototype.deregister=function(e,t,n){return(0,ea.mG)(this,void 0,void 0,function(){var r;return(0,ea.Jh)(this,function(o){switch(o.label){case 0:if(o.trys.push([0,3,,4]),!t.unload)return[3,2];return[4,Promise.resolve(t.unload(e,n))];case 1:o.sent(),o.label=2;case 2:return this.plugins=this.plugins.filter(function(e){return e.name!==t.name}),[3,4];case 3:return r=o.sent(),e.log("warn","Failed to unload destination",{plugin:t.name,error:r}),[3,4];case 4:return[2]}})})},t.prototype.dispatch=function(e){return(0,ea.mG)(this,void 0,void 0,function(){var t;return(0,ea.Jh)(this,function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.push(e),t=this.subscribeToDelivery(e),this.scheduleFlush(0),[2,t]})})},t.prototype.subscribeToDelivery=function(e){return(0,ea.mG)(this,void 0,void 0,function(){var t=this;return(0,ea.Jh)(this,function(n){return[2,new Promise(function(n){var r=function(o,i){o.isSame(e)&&(t.off("flush",r),n(o))};t.on("flush",r)})]})})},t.prototype.dispatchSingle=function(e){return(0,ea.mG)(this,void 0,void 0,function(){var t=this;return(0,ea.Jh)(this,function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.updateAttempts(e),e.attempts=1,[2,this.deliver(e).catch(function(n){return t.enqueuRetry(n,e)?t.subscribeToDelivery(e):(e.setFailedDelivery({reason:n}),e)})]})})},t.prototype.isEmpty=function(){return 0===this.queue.length},t.prototype.scheduleFlush=function(e){var t=this;void 0===e&&(e=500),this.flushing||(this.flushing=!0,setTimeout(function(){t.flush().then(function(){setTimeout(function(){t.flushing=!1,t.queue.length&&t.scheduleFlush(0)},0)})},e))},t.prototype.deliver=function(e){return(0,ea.mG)(this,void 0,void 0,function(){var t,n,r,o;return(0,ea.Jh)(this,function(i){switch(i.label){case 0:return[4,this.criticalTasks.done()];case 1:i.sent(),t=Date.now(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.flushOne(e)];case 3:return e=i.sent(),n=Date.now()-t,this.emit("delivery_success",e),e.stats.gauge("delivered",n),e.log("debug","Delivered",e.event),[2,e];case 4:throw o=r=i.sent(),e.log("error","Failed to deliver",o),this.emit("delivery_failure",e,o),e.stats.increment("delivery_failed"),r;case 5:return[2]}})})},t.prototype.enqueuRetry=function(e,t){return(!(e instanceof eH.Y)||!!e.retry)&&this.queue.pushWithBackoff(t)},t.prototype.flush=function(){return(0,ea.mG)(this,void 0,void 0,function(){var e,t;return(0,ea.Jh)(this,function(n){switch(n.label){case 0:if(0===this.queue.length||!(e=this.queue.pop()))return[2,[]];e.attempts=this.queue.getAttempts(e),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.deliver(e)];case 2:return e=n.sent(),this.emit("flush",e,!0),[3,4];case 3:return t=n.sent(),this.enqueuRetry(t,e)||(e.setFailedDelivery({reason:t}),this.emit("flush",e,!1)),[2,[]];case 4:return[2,[e]]}})})},t.prototype.isReady=function(){return!0},t.prototype.availableExtensions=function(e){var t=ez(this.plugins.filter(function(t){if("destination"!==t.type&&"Segment.io"!==t.name)return!0;var n,r,o,i=void 0;return null===(n=t.alternativeNames)||void 0===n||n.forEach(function(t){void 0!==e[t]&&(i=e[t])}),null!==(o=null!==(r=e[t.name])&&void 0!==r?r:i)&&void 0!==o?o:!1!==("Segment.io"===t.name||e.All)}),"type"),n=t.before,r=void 0===n?[]:n,o=t.enrichment,i=void 0===o?[]:o,a=t.destination,s=void 0===a?[]:a,l=t.after;return{before:r,enrichment:i,destinations:s,after:void 0===l?[]:l}},t.prototype.flushOne=function(e){var t,n;return(0,ea.mG)(this,void 0,void 0,function(){var r,o,i,a,s,l,c,u,d,f,p,h,m;return(0,ea.Jh)(this,function(g){switch(g.label){case 0:if(!this.isReady())throw Error("Not ready");e.attempts>1&&this.emit("delivery_retry",e),o=(r=this.availableExtensions(null!==(t=e.event.integrations)&&void 0!==t?t:{})).before,i=r.enrichment,a=0,s=o,g.label=1;case 1:if(!(a<s.length))return[3,4];return l=s[a],[4,(0,eW.z)(e,l)];case 2:(c=g.sent())instanceof eH._&&(e=c),this.emit("message_enriched",e,l),g.label=3;case 3:return a++,[3,1];case 4:u=0,d=i,g.label=5;case 5:if(!(u<d.length))return[3,8];return f=d[u],[4,(0,eW.a)(e,f)];case 6:(c=g.sent())instanceof eH._&&(e=c),this.emit("message_enriched",e,f),g.label=7;case 7:return u++,[3,5];case 8:return h=(p=this.availableExtensions(null!==(n=e.event.integrations)&&void 0!==n?n:{})).destinations,m=p.after,[4,new Promise(function(t,n){setTimeout(function(){Promise.all(h.map(function(t){return(0,eW.a)(e,t)})).then(t).catch(n)},0)})];case 9:return g.sent(),e.stats.increment("message_delivered"),this.emit("message_delivered",e),[4,Promise.all(m.map(function(t){return(0,eW.a)(e,t)}))];case 10:return g.sent(),[2,e]}})})},t}(eu.Q));function eG(e){for(var t=e.constructor.prototype,n=0,r=Object.getOwnPropertyNames(t);n<r.length;n++){var o=r[n];if("constructor"!==o){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,o);i&&"function"==typeof i.value&&(e[o]=e[o].bind(e))}}return e}var eK={Cookie:"cookie",LocalStorage:"localStorage",Memory:"memory"},eY=function(e,t,n,r){console.warn("".concat(e.constructor.name,": Can't ").concat(t,' key "').concat(n,'" | Err: ').concat(r))},eX=function(){function e(e){this.stores=e}return e.prototype.get=function(e){for(var t=null,n=0,r=this.stores;n<r.length;n++){var o=r[n];try{if(null!=(t=o.get(e)))return t}catch(t){eY(o,"get",e,t)}}return null},e.prototype.set=function(e,t){this.stores.forEach(function(n){try{n.set(e,t)}catch(t){eY(n,"set",e,t)}})},e.prototype.clear=function(e){this.stores.forEach(function(t){try{t.remove(e)}catch(n){eY(t,"remove",e,n)}})},e.prototype.getAndSync=function(e){var t=this.get(e),n="number"==typeof t?t.toString():t;return this.set(e,n),n},e}(),eQ=function(){function e(){this.cache={}}return e.prototype.get=function(e){var t;return null!==(t=this.cache[e])&&void 0!==t?t:null},e.prototype.set=function(e,t){this.cache[e]=t},e.prototype.remove=function(e){delete this.cache[e]},e}();function eJ(e){return e&&e.stores&&Array.isArray(e.stores)&&e.stores.every(function(e){return Object.values(eK).includes(e)})}function e0(e){return"object"==typeof e&&void 0!==e.name}/*! js-cookie v3.0.1 | MIT */function e1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e2(e,t){function n(n,r,o){if("undefined"!=typeof document){"number"==typeof(o=e1({},t,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=n+"="+e.write(r,n)+i}}return Object.create({set:n,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=e.read(a,s),t===s)break}catch(e){}}return t?r[t]:r}},remove:function(e,t){n(e,"",e1({},t,{expires:-1}))},withAttributes:function(e){return e2(this.converter,e1({},this.attributes,e))},withConverter:function(e){return e2(e1({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var e3=e2({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function e4(e){var t=e.hostname.split("."),n=t[t.length-1],r=[];if(4===t.length&&parseInt(n,10)>0||t.length<=1)return r;for(var o=t.length-2;o>=0;--o)r.push(t.slice(o).join("."));return r}function e5(e){try{return new URL(e)}catch(e){return}}function e6(e){var t=e5(e);if(t)for(var n=e4(t),r=0;r<n.length;++r){var o="__tld__",i=n[r],a={domain:"."+i};try{if(e3.set(o,"1",a),e3.get(o))return e3.remove(o,a),i}catch(e){return}}}var e8=365,e7=function(){function e(t){void 0===t&&(t=e.defaults),this.options=(0,G.pi)((0,G.pi)({},e.defaults),t)}return Object.defineProperty(e,"defaults",{get:function(){return{maxage:e8,domain:e6(window.location.href),path:"/",sameSite:"Lax"}},enumerable:!1,configurable:!0}),e.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},e.prototype.get=function(e){var t;try{var n=e3.get(e);if(null==n)return null;try{return null!==(t=JSON.parse(n))&&void 0!==t?t:null}catch(e){return null!=n?n:null}}catch(e){return null}},e.prototype.set=function(e,t){"string"==typeof t?e3.set(e,t,this.opts()):null===t?e3.remove(e,this.opts()):e3.set(e,JSON.stringify(t),this.opts())},e.prototype.remove=function(e){return e3.remove(e,this.opts())},e}(),e9=function(){function e(){}return e.prototype.localStorageWarning=function(e,t){console.warn("Unable to access ".concat(e,", localStorage may be ").concat(t))},e.prototype.get=function(e){var t;try{var n=localStorage.getItem(e);if(null===n)return null;try{return null!==(t=JSON.parse(n))&&void 0!==t?t:null}catch(e){return null!=n?n:null}}catch(t){return this.localStorageWarning(e,"unavailable"),null}},e.prototype.set=function(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch(t){this.localStorageWarning(e,"full")}},e.prototype.remove=function(e){try{return localStorage.removeItem(e)}catch(t){this.localStorageWarning(e,"unavailable")}},e}();function te(e){return e.map(function(e){var t,n;switch(e0(e)?(t=e.name,n=e.settings):t=e,t){case eK.Cookie:return new e7(n);case eK.LocalStorage:return new e9;case eK.Memory:return new eQ;default:throw Error("Unknown Store Type: ".concat(e))}})}function tt(e,t){return e.map(function(e){return t&&e===eK.Cookie?{name:e,settings:t}:e})}var tn={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},tr=function(){function e(e,t){void 0===e&&(e=tn);var n,r,o,i,a=this;this.options={},this.id=function(e){if(a.options.disable)return null;var t=a.identityStore.getAndSync(a.idKey);void 0!==e&&(a.identityStore.set(a.idKey,e),e!==t&&null!==t&&null!==e&&a.anonymousId(null));var n=a.identityStore.getAndSync(a.idKey);if(n)return n;var r=a.legacyUserStore.get(tn.cookie.oldKey);return r?"object"==typeof r?r.id:r:null},this.anonymousId=function(e){var t,n;if(a.options.disable)return null;if(void 0===e){var r=null!==(t=a.identityStore.getAndSync(a.anonKey))&&void 0!==t?t:null===(n=a.legacySIO())||void 0===n?void 0:n[0];if(r)return r}return null===e?a.identityStore.set(a.anonKey,null):a.identityStore.set(a.anonKey,null!=e?e:(0,ed.v4)()),a.identityStore.getAndSync(a.anonKey)},this.traits=function(e){var t;if(!a.options.disable)return null===e&&(e={}),e&&a.traitsStore.set(a.traitsKey,null!=e?e:{}),null!==(t=a.traitsStore.get(a.traitsKey))&&void 0!==t?t:{}},this.options=(0,G.pi)((0,G.pi)({},tn),e),this.cookieOptions=t,this.idKey=null!==(r=null===(n=e.cookie)||void 0===n?void 0:n.key)&&void 0!==r?r:tn.cookie.key,this.traitsKey=null!==(i=null===(o=e.localStorage)||void 0===o?void 0:o.key)&&void 0!==i?i:tn.localStorage.key,this.anonKey="ajs_anonymous_id",this.identityStore=this.createStorage(this.options,t),this.legacyUserStore=this.createStorage(this.options,t,function(e){return e===eK.Cookie}),this.traitsStore=this.createStorage(this.options,t,function(e){return e!==eK.Cookie});var s=this.legacyUserStore.get(tn.cookie.oldKey);s&&"object"==typeof s&&(s.id&&this.id(s.id),s.traits&&this.traits(s.traits)),eG(this)}return e.prototype.legacySIO=function(){var e=this.legacyUserStore.get("_sio");if(!e)return null;var t=e.split("----");return[t[0],t[1]]},e.prototype.identify=function(e,t){if(!this.options.disable){t=null!=t?t:{};var n=this.id();(null===n||n===e)&&(t=(0,G.pi)((0,G.pi)({},this.traits()),t)),e&&this.id(e),this.traits(t)}},e.prototype.logout=function(){this.anonymousId(null),this.id(null),this.traits({})},e.prototype.reset=function(){this.logout(),this.identityStore.clear(this.idKey),this.identityStore.clear(this.anonKey),this.traitsStore.clear(this.traitsKey)},e.prototype.load=function(){return new e(this.options,this.cookieOptions)},e.prototype.save=function(){return!0},e.prototype.createStorage=function(e,t,n){var r=[eK.LocalStorage,eK.Cookie,eK.Memory];return e.disable?new eX([]):e.persist?(void 0!==e.storage&&null!==e.storage&&eJ(e.storage)&&(r=e.storage.stores),e.localStorageFallbackDisabled&&(r=r.filter(function(e){return e!==eK.LocalStorage})),n&&(r=r.filter(n)),new eX(te(tt(r,t)))):new eX([new eQ])},e.defaults=tn,e}(),to={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},ti=function(e){function t(t,n){void 0===t&&(t=to);var r=e.call(this,(0,G.pi)((0,G.pi)({},to),t),n)||this;return r.anonymousId=function(e){},eG(r),r}return(0,G.ZT)(t,e),t}(tr),ta=n(31189),ts=n(72009),tl=n(1851),tc=function(e){return"object"==typeof e&&null!==e&&"then"in e&&"function"==typeof e.then},tu=function(e,t,n){n.getCalls(e).forEach(function(e){tb(t,e).catch(console.error)})},td=function(e,t){return(0,G.mG)(void 0,void 0,void 0,function(){var n,r;return(0,G.Jh)(this,function(o){switch(o.label){case 0:n=0,r=t.getCalls("addSourceMiddleware"),o.label=1;case 1:if(!(n<r.length))return[3,4];return[4,tb(e,r[n]).catch(console.error)];case 2:o.sent(),o.label=3;case 3:return n++,[3,1];case 4:return[2]}})})},tf=tu.bind(void 0,"on"),tp=tu.bind(void 0,"setAnonymousId"),th=function(e,t){t.toArray().forEach(function(t){setTimeout(function(){tb(e,t).catch(console.error)},0)})},tm=function(e){if(tg(e))return ew(e.pop())},tg=function(e){return eg(e[e.length-1])},tv=function(){return function(e,t,n,r){void 0===n&&(n=function(){}),void 0===r&&(r=console.error),this.method=e,this.resolve=n,this.reject=r,this.called=!1,this.args=t}}(),ty=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._callMap={},this.push.apply(this,e)}return Object.defineProperty(e.prototype,"calls",{get:function(){return this._pushSnippetWindowBuffer(),this._callMap},set:function(e){this._callMap=e},enumerable:!1,configurable:!0}),e.prototype.getCalls=function(e){var t;return null!==(t=this.calls[e])&&void 0!==t?t:[]},e.prototype.push=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];t.forEach(function(t){["track","screen","alias","group","page","identify"].includes(t.method)&&!tg(t.args)&&(t.args=(0,G.ev)((0,G.ev)([],t.args,!0),[eS()],!1)),e.calls[t.method]?e.calls[t.method].push(t):e.calls[t.method]=[t]})},e.prototype.clear=function(){this._pushSnippetWindowBuffer(),this.calls={}},e.prototype.toArray=function(){var e;return(e=[]).concat.apply(e,Object.values(this.calls))},e.prototype._pushSnippetWindowBuffer=function(){var e=(0,tl.wI)();if(Array.isArray(e)){var t=e.splice(0,e.length),n=t.map(function(e){return new tv(e[0],e.slice(1))});this.push.apply(this,n)}},e}();function tb(e,t){return(0,G.mG)(this,void 0,void 0,function(){var n,r;return(0,G.Jh)(this,function(o){switch(o.label){case 0:if(o.trys.push([0,3,,4]),t.called)return[2,void 0];if(t.called=!0,!tc(n=e[t.method].apply(e,t.args)))return[3,2];return[4,n];case 1:o.sent(),o.label=2;case 2:return t.resolve(n),[3,4];case 3:return r=o.sent(),t.reject(r),[3,4];case 4:return[2]}})})}var tw=function(){function e(e){var t=this;this.trackSubmit=this._createMethod("trackSubmit"),this.trackClick=this._createMethod("trackClick"),this.trackLink=this._createMethod("trackLink"),this.pageView=this._createMethod("pageview"),this.identify=this._createMethod("identify"),this.reset=this._createMethod("reset"),this.group=this._createMethod("group"),this.track=this._createMethod("track"),this.ready=this._createMethod("ready"),this.alias=this._createMethod("alias"),this.debug=this._createChainableMethod("debug"),this.page=this._createMethod("page"),this.once=this._createChainableMethod("once"),this.off=this._createChainableMethod("off"),this.on=this._createChainableMethod("on"),this.addSourceMiddleware=this._createMethod("addSourceMiddleware"),this.setAnonymousId=this._createMethod("setAnonymousId"),this.addDestinationMiddleware=this._createMethod("addDestinationMiddleware"),this.screen=this._createMethod("screen"),this.register=this._createMethod("register"),this.deregister=this._createMethod("deregister"),this.user=this._createMethod("user"),this.VERSION=ta.i,this._preInitBuffer=new ty,this._promise=e(this._preInitBuffer),this._promise.then(function(e){var n=e[0],r=e[1];t.instance=n,t.ctx=r}).catch(function(){})}return e.prototype.then=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._promise).then.apply(e,t)},e.prototype.catch=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._promise).catch.apply(e,t)},e.prototype.finally=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._promise).finally.apply(e,t)},e.prototype._createMethod=function(e){var t=this;return function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.instance?Promise.resolve((n=t.instance)[e].apply(n,r)):new Promise(function(n,o){t._preInitBuffer.push(new tv(e,r,n,o))})}},e.prototype._createChainableMethod=function(e){var t=this;return function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.instance?(n=t.instance)[e].apply(n,r):t._preInitBuffer.push(new tv(e,r)),t}},e}(),tS="This is being deprecated and will be not be available in future releases of Analytics JS",tx=(0,ts.R)(),tE=null==tx?void 0:tx.analytics;function tC(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=t?10:1;return new e$(n?new eU.Z(r,[]):new eF.$(r,e))}function t_(){console.warn(tS)}var tk=function(e){function t(t,n,r,o,i){var a,s,l,c=this;(c=e.call(this)||this)._debug=!1,c.initialized=!1,c.user=function(){return c._user},c.init=c.initialize.bind(c),c.log=t_,c.addIntegrationMiddleware=t_,c.listeners=t_,c.addEventListener=t_,c.removeAllListeners=t_,c.removeListener=t_,c.removeEventListener=t_,c.hasListeners=t_,c.add=t_,c.addIntegration=t_;var u=null==n?void 0:n.cookie,d=null!==(a=null==n?void 0:n.disableClientPersistence)&&void 0!==a&&a;c.settings=t,c.settings.timeout=null!==(s=c.settings.timeout)&&void 0!==s?s:300,c.queue=null!=r?r:tC("".concat(t.writeKey,":event-queue"),null==n?void 0:n.retryQueue,d);var f=null==n?void 0:n.storage;return c._universalStorage=c.createStore(d,f,u),c._user=null!=o?o:new tr((0,G.pi)({persist:!d,storage:null==n?void 0:n.storage},null==n?void 0:n.user),u).load(),c._group=null!=i?i:new ti((0,G.pi)({persist:!d,storage:null==n?void 0:n.storage},null==n?void 0:n.group),u).load(),c.eventFactory=new eB(c._user),c.integrations=null!==(l=null==n?void 0:n.integrations)&&void 0!==l?l:{},c.options=null!=n?n:{},eG(c),c}return(0,G.ZT)(t,e),t.prototype.createStore=function(e,t,n){return new eX(e?[new eQ]:t&&eJ(t)?te(tt(t.stores,n)):te([eK.LocalStorage,{name:eK.Cookie,settings:n},eK.Memory]))},Object.defineProperty(t.prototype,"storage",{get:function(){return this._universalStorage},enumerable:!1,configurable:!0}),t.prototype.track=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t,n,r,o,i,a,s,l=this;return(0,G.Jh)(this,function(c){return t=tm(e),r=(n=ee.apply(void 0,e))[0],o=n[1],i=n[2],a=n[3],s=this.eventFactory.track(r,o,i,this.integrations,t),[2,this._dispatch(s,a).then(function(e){return l.emit("track",r,e.event.properties,e.event.options),e})]})})},t.prototype.page=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t,n,r,o,i,a,s,l,c=this;return(0,G.Jh)(this,function(u){return t=tm(e),r=(n=et.apply(void 0,e))[0],o=n[1],i=n[2],a=n[3],s=n[4],l=this.eventFactory.page(r,o,i,a,this.integrations,t),[2,this._dispatch(l,s).then(function(e){return c.emit("page",r,o,e.event.properties,e.event.options),e})]})})},t.prototype.identify=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t,n,r,o,i,a,s,l=this;return(0,G.Jh)(this,function(c){return t=tm(e),r=(n=en(this._user).apply(void 0,e))[0],o=n[1],i=n[2],a=n[3],this._user.identify(r,o),s=this.eventFactory.identify(this._user.id(),this._user.traits(),i,this.integrations,t),[2,this._dispatch(s,a).then(function(e){return l.emit("identify",e.event.userId,e.event.traits,e.event.options),e})]})})},t.prototype.group=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=tm(t);if(0===t.length)return this._group;var o=en(this._group).apply(void 0,t),i=o[0],a=o[1],s=o[2],l=o[3];this._group.identify(i,a);var c=this._group.id(),u=this._group.traits(),d=this.eventFactory.group(c,u,s,this.integrations,r);return this._dispatch(d,l).then(function(t){return e.emit("group",t.event.groupId,t.event.traits,t.event.options),t})},t.prototype.alias=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t,n,r,o,i,a,s,l=this;return(0,G.Jh)(this,function(c){return t=tm(e),r=(n=er.apply(void 0,e))[0],o=n[1],i=n[2],a=n[3],s=this.eventFactory.alias(r,o,i,this.integrations,t),[2,this._dispatch(s,a).then(function(e){return l.emit("alias",r,o,e.event.options),e})]})})},t.prototype.screen=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t,n,r,o,i,a,s,l,c=this;return(0,G.Jh)(this,function(u){return t=tm(e),r=(n=et.apply(void 0,e))[0],o=n[1],i=n[2],a=n[3],s=n[4],l=this.eventFactory.screen(r,o,i,a,this.integrations,t),[2,this._dispatch(l,s).then(function(e){return c.emit("screen",r,o,e.event.properties,e.event.options),e})]})})},t.prototype.trackClick=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t;return(0,G.Jh)(this,function(r){switch(r.label){case 0:return[4,n.e(8119).then(n.bind(n,77936))];case 1:return[2,(t=r.sent().link).call.apply(t,(0,G.ev)([this],e,!1))]}})})},t.prototype.trackLink=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t;return(0,G.Jh)(this,function(r){switch(r.label){case 0:return[4,n.e(8119).then(n.bind(n,77936))];case 1:return[2,(t=r.sent().link).call.apply(t,(0,G.ev)([this],e,!1))]}})})},t.prototype.trackSubmit=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t;return(0,G.Jh)(this,function(r){switch(r.label){case 0:return[4,n.e(8119).then(n.bind(n,77936))];case 1:return[2,(t=r.sent().form).call.apply(t,(0,G.ev)([this],e,!1))]}})})},t.prototype.trackForm=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t;return(0,G.Jh)(this,function(r){switch(r.label){case 0:return[4,n.e(8119).then(n.bind(n,77936))];case 1:return[2,(t=r.sent().form).call.apply(t,(0,G.ev)([this],e,!1))]}})})},t.prototype.register=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t,n=this;return(0,G.Jh)(this,function(r){switch(r.label){case 0:return t=ei._.system(),[4,Promise.all(e.map(function(e){return n.queue.register(t,e,n)}))];case 1:return r.sent(),[2,t]}})})},t.prototype.deregister=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,G.mG)(this,void 0,void 0,function(){var t,n=this;return(0,G.Jh)(this,function(r){switch(r.label){case 0:return t=ei._.system(),[4,Promise.all(e.map(function(e){var r=n.queue.plugins.find(function(t){return t.name===e});if(r)return n.queue.deregister(t,r,n);t.log("warn","plugin ".concat(e," not found"))}))];case 1:return r.sent(),[2,t]}})})},t.prototype.debug=function(e){return!1===e&&localStorage.getItem("debug")&&localStorage.removeItem("debug"),this._debug=e,this},t.prototype.reset=function(){this._user.reset(),this._group.reset(),this.emit("reset")},t.prototype.timeout=function(e){this.settings.timeout=e},t.prototype._dispatch=function(e,t){return(0,G.mG)(this,void 0,void 0,function(){var n;return(0,G.Jh)(this,function(r){return(n=new ei._(e),(0,eo.s)()&&!this.options.retryQueue)?[2,n]:[2,ec(n,this.queue,this,{callback:t,debug:this._debug,timeout:this.settings.timeout})]})})},t.prototype.addSourceMiddleware=function(e){return(0,G.mG)(this,void 0,void 0,function(){var t=this;return(0,G.Jh)(this,function(r){switch(r.label){case 0:return[4,this.queue.criticalTasks.run(function(){return(0,G.mG)(t,void 0,void 0,function(){var t,r,o;return(0,G.Jh)(this,function(i){switch(i.label){case 0:return[4,Promise.resolve().then(n.bind(n,16993))];case 1:return t=i.sent().sourceMiddlewarePlugin,r={},this.queue.plugins.forEach(function(e){if("destination"===e.type)return r[e.name]=!0}),o=t(e,r),[4,this.register(o)];case 2:return i.sent(),[2]}})})})];case 1:return r.sent(),[2,this]}})})},t.prototype.addDestinationMiddleware=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return this.queue.plugins.filter(eZ).forEach(function(n){("*"===e||n.name.toLowerCase()===e.toLowerCase())&&n.addMiddleware.apply(n,t)}),Promise.resolve(this)},t.prototype.setAnonymousId=function(e){return this._user.anonymousId(e)},t.prototype.queryString=function(e){return(0,G.mG)(this,void 0,void 0,function(){return(0,G.Jh)(this,function(t){switch(t.label){case 0:if(!1===this.options.useQueryString)return[2,[]];return[4,n.e(3096).then(n.bind(n,32266))];case 1:return[2,(0,t.sent().queryString)(this,e)]}})})},t.prototype.use=function(e){return e(this),this},t.prototype.ready=function(e){return void 0===e&&(e=function(e){return e}),(0,G.mG)(this,void 0,void 0,function(){return(0,G.Jh)(this,function(t){return[2,Promise.all(this.queue.plugins.map(function(e){return e.ready?e.ready():Promise.resolve()})).then(function(t){return e(t),t})]})})},t.prototype.noConflict=function(){return console.warn(tS),(0,tl.ql)(null!=tE?tE:this),this},t.prototype.normalize=function(e){return console.warn(tS),this.eventFactory.normalize(e)},Object.defineProperty(t.prototype,"failedInitializations",{get:function(){return console.warn(tS),this.queue.failedInitializations},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VERSION",{get:function(){return ta.i},enumerable:!1,configurable:!0}),t.prototype.initialize=function(e,t){return(0,G.mG)(this,void 0,void 0,function(){return(0,G.Jh)(this,function(e){return console.warn(tS),[2,Promise.resolve(this)]})})},t.prototype.pageview=function(e){return(0,G.mG)(this,void 0,void 0,function(){return(0,G.Jh)(this,function(t){switch(t.label){case 0:return console.warn(tS),[4,this.page({path:e})];case 1:return t.sent(),[2,this]}})})},Object.defineProperty(t.prototype,"plugins",{get:function(){var e;return console.warn(tS),null!==(e=this._plugins)&&void 0!==e?e:{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Integrations",{get:function(){return console.warn(tS),this.queue.plugins.filter(function(e){return"destination"===e.type}).reduce(function(e,t){var n="".concat(t.name.toLowerCase().replace(".","").split(" ").join("-"),"Integration"),r=window[n];if(!r)return e;var o=r.Integration;return o?e[t.name]=o:e[t.name]=r,e},{})},enumerable:!1,configurable:!0}),t.prototype.push=function(e){var t=this,n=e.shift();(!n||t[n])&&t[n].apply(this,e)},t}(eu.Q),tO=function(e){function t(){var t=e.call(this,{writeKey:""},{disableClientPersistence:!0})||this;return t.initialized=!0,t}return(0,G.ZT)(t,e),t}(tk),tA=n(93603),tI=n(74771),tP=n(67157),tT=n(4338);function tR(e){return(0,G.mG)(this,void 0,void 0,function(){var t;return(0,G.Jh)(this,function(n){return(t=navigator.userAgentData)?e?[2,t.getHighEntropyValues(e).catch(function(){return t.toJSON()})]:[2,t.toJSON()]:[2,void 0]})})}function tM(){if(o)return o;var e=e6(window.location.href);return o={expires:31536e6,secure:!1,path:"/"},e&&(o.domain=e),o}function tN(e){var t={btid:"dataxu",urid:"millennial-media"};e.startsWith("?")&&(e=e.substring(1));for(var n=(e=e.replace(/\?/g,"&")).split("&"),r=0,o=n;r<o.length;r++){var i=o[r].split("="),a=i[0],s=i[1];if(t[a])return{id:s,type:t[a]}}}function tj(e){return e.startsWith("?")&&(e=e.substring(1)),(e=e.replace(/\?/g,"&")).split("&").reduce(function(e,t){var n=t.split("="),r=n[0],o=n[1],i=void 0===o?"":o;if(r.includes("utm_")&&r.length>4){var a=r.slice(4);"campaign"===a&&(a="name"),e[a]=(0,tT.a)(i)}return e},{})}function tD(){var e=e3.get("_ga");if(e&&e.startsWith("amp"))return e}function tL(e,t,n){var r,o=new eX(n?[]:[new e7(tM())]),i=o.get("s:context.referrer"),a=null!==(r=tN(e))&&void 0!==r?r:i;a&&(t&&(t.referrer=(0,G.pi)((0,G.pi)({},t.referrer),a)),o.set("s:context.referrer",a))}var tB=function(e){try{var t=new URLSearchParams;return Object.entries(e).forEach(function(e){var n=e[0],r=e[1];Array.isArray(r)?r.forEach(function(e){return t.append(n,e)}):t.append(n,r)}),t.toString()}catch(e){return""}},tZ=new(function(){return function(){var e=this;this.name="Page Enrichment",this.type="before",this.version="0.1.0",this.isLoaded=function(){return!0},this.load=function(t,n){return(0,G.mG)(e,void 0,void 0,function(){var e,t;return(0,G.Jh)(this,function(r){switch(r.label){case 0:this.instance=n,r.label=1;case 1:return r.trys.push([1,3,,4]),e=this,[4,tR(this.instance.options.highEntropyValuesClientHints)];case 2:return e.userAgentData=r.sent(),[3,4];case 3:return t=r.sent(),[3,4];case 4:return[2,Promise.resolve()]}})})},this.enrich=function(t){var n,r,o=t.event.context,i=o.page.search||"",a="object"==typeof i?tB(i):i;o.userAgent=navigator.userAgent,o.userAgentData=e.userAgentData;var s=navigator.userLanguage||navigator.language;void 0===o.locale&&void 0!==s&&(o.locale=s),null!==(n=o.library)&&void 0!==n||(o.library={name:"analytics.js",version:"".concat("web"===(0,tP.B)()?"next":"npm:next","-").concat(ta.i)}),a&&!o.campaign&&(o.campaign=tj(a));var l=tD();l&&(o.amp={id:l}),tL(a,o,null!==(r=e.instance.options.disableClientPersistence)&&void 0!==r&&r);try{o.timezone=Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}return t},this.track=this.enrich,this.identify=this.enrich,this.page=this.enrich,this.group=this.enrich,this.alias=this.enrich,this.screen=this.enrich}}()),tF=n(73788),tz=n(16993),tU=n(97406),tH=function(){function e(e,t){this.version="1.0.0",this.alternativeNames=[],this.loadPromise=(0,tI.d)(),this.middleware=[],this.alias=this._createMethod("alias"),this.group=this._createMethod("group"),this.identify=this._createMethod("identify"),this.page=this._createMethod("page"),this.screen=this._createMethod("screen"),this.track=this._createMethod("track"),this.action=t,this.name=e,this.type=t.type,this.alternativeNames.push(t.name)}return e.prototype.addMiddleware=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];"destination"===this.type&&(e=this.middleware).push.apply(e,t)},e.prototype.transform=function(e){return(0,G.mG)(this,void 0,void 0,function(){var t;return(0,G.Jh)(this,function(n){switch(n.label){case 0:return[4,(0,tz.applyDestinationMiddleware)(this.name,e.event,this.middleware)];case 1:return null===(t=n.sent())&&e.cancel(new eH.Y({retry:!1,reason:"dropped by destination middleware"})),[2,new ei._(t)]}})})},e.prototype._createMethod=function(e){var t=this;return function(n){return(0,G.mG)(t,void 0,void 0,function(){var t,r;return(0,G.Jh)(this,function(o){switch(o.label){case 0:if(!this.action[e])return[2,n];if(t=n,"destination"!==this.type)return[3,2];return[4,this.transform(n)];case 1:t=o.sent(),o.label=2;case 2:return o.trys.push([2,5,,6]),[4,this.ready()];case 3:if(!o.sent())throw Error("Something prevented the destination from getting ready");return(0,tU.z)(n,{integrationName:this.action.name,methodName:e,type:"action"}),[4,this.action[e](t)];case 4:return o.sent(),[3,6];case 5:throw r=o.sent(),(0,tU.z)(n,{integrationName:this.action.name,methodName:e,type:"action",didError:!0}),r;case 6:return[2,n]}})})}},e.prototype.isLoaded=function(){return this.action.isLoaded()},e.prototype.ready=function(){return(0,G.mG)(this,void 0,void 0,function(){var e;return(0,G.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.loadPromise.promise];case 1:return t.sent(),[2,!0];case 2:return e=t.sent(),[2,!1];case 3:return[2]}})})},e.prototype.load=function(e,t){return(0,G.mG)(this,void 0,void 0,function(){var n,r,o,i;return(0,G.Jh)(this,function(a){switch(a.label){case 0:if(this.loadPromise.isSettled())return[2,this.loadPromise.promise];a.label=1;case 1:return a.trys.push([1,3,,4]),(0,tU.z)(e,{integrationName:this.action.name,methodName:"load",type:"action"}),n=this.action.load(e,t),o=(r=this.loadPromise).resolve,[4,n];case 2:return o.apply(r,[a.sent()]),[2,n];case 3:throw i=a.sent(),(0,tU.z)(e,{integrationName:this.action.name,methodName:"load",type:"action",didError:!0}),this.loadPromise.reject(i),i;case 4:return[2]}})})},e.prototype.unload=function(e,t){var n,r;return null===(r=(n=this.action).unload)||void 0===r?void 0:r.call(n,e,t)},e}();function tq(e){if(!Array.isArray(e))throw Error("Not a valid list of plugins");var t=["load","isLoaded","name","version","type"];return e.forEach(function(e){t.forEach(function(t){var n;if(void 0===e[t])throw Error("Plugin: ".concat(null!==(n=e.name)&&void 0!==n?n:"unknown"," missing required function ").concat(t))})}),!0}function tV(e,t){var n=e[t.creationName],r=e[t.name];return!1===e.All&&!n&&!r||!1===n||!1===r}function tW(e,t){return(0,G.mG)(this,void 0,void 0,function(){var n,r,o,i,a,s;return(0,G.Jh)(this,function(l){switch(l.label){case 0:if(n=RegExp("https://cdn.segment.(com|build)"),r=(0,X.Vl)(),!t)return[3,6];i=(o=e.url.split("/"))[o.length-2],a=e.url.replace(i,btoa(i).replace(/=/g,"")),l.label=1;case 1:return l.trys.push([1,3,,5]),[4,(0,tF.v)(a.replace(n,r))];case 2:case 4:return l.sent(),[3,5];case 3:return s=l.sent(),[4,(0,tF.v)(e.url.replace(n,r))];case 5:return[3,8];case 6:return[4,(0,tF.v)(e.url.replace(n,r))];case 7:l.sent(),l.label=8;case 8:if("function"==typeof window[e.libraryName])return[2,window[e.libraryName]];return[2]}})})}function t$(e,t,n,r,o,i){var a,s,l;return(0,G.mG)(this,void 0,void 0,function(){var c,u,d=this;return(0,G.Jh)(this,function(f){switch(f.label){case 0:return c=[],u=null!==(s=null===(a=e.middlewareSettings)||void 0===a?void 0:a.routingRules)&&void 0!==s?s:[],[4,Promise.all((null!==(l=e.remotePlugins)&&void 0!==l?l:[]).map(function(e){return(0,G.mG)(d,void 0,void 0,function(){var a,s,l,d,f;return(0,G.Jh)(this,function(p){switch(p.label){case 0:if(tV(t,e))return[2];p.label=1;case 1:if(p.trys.push([1,6,,7]),s=null==i?void 0:i.find(function(t){return t.pluginName===e.name}))return[3,3];return[4,tW(e,null==r?void 0:r.obfuscate)];case 2:s=p.sent(),p.label=3;case 3:if(!(a=s))return[3,5];return[4,a((0,G.pi)((0,G.pi)({},e.settings),n[e.name]))];case 4:tq(d=Array.isArray(l=p.sent())?l:[l]),f=u.filter(function(t){return t.destinationName===e.creationName}),d.forEach(function(t){var n=new tH(e.creationName,t);f.length&&o&&n.addMiddleware(o),c.push(n)}),p.label=5;case 5:return[3,7];case 6:return console.warn("Failed to load Remote Plugin",p.sent()),[3,7];case 7:return[2]}})})}))];case 1:return f.sent(),[2,c.filter(Boolean)]}})})}var tG=n(43469),tK=function(e){var t=!1;window.addEventListener("pagehide",function(){t||e(t=!0)}),document.addEventListener("visibilitychange",function(){if("hidden"==document.visibilityState){if(t)return;t=!0}else t=!1;e(t)})},tY=500;function tX(e){return(encodeURI(JSON.stringify(e)).split(/%..|./).length-1)/1024}function tQ(e){return tX(e)>=tY-50}function tJ(e){var t=[],n=0;return e.forEach(function(e){tX(t[n])>=64&&n++,t[n]?t[n].push(e):t[n]=[e]}),t}function t0(e,t){var n,r,o,i=[],a=!1,s=null!==(n=null==t?void 0:t.size)&&void 0!==n?n:10,l=null!==(r=null==t?void 0:t.timeout)&&void 0!==r?r:5e3;function c(t){if(0!==t.length){var n,r=null===(n=t[0])||void 0===n?void 0:n.writeKey,o=t.map(function(e){var t=e;return t.sentAt,(0,G._T)(t,["sentAt"])});return(0,Q.h)("https://".concat(e,"/b"),{keepalive:a,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({writeKey:r,batch:o,sentAt:new Date().toISOString()})})}}function u(){return(0,G.mG)(this,void 0,void 0,function(){var e;return(0,G.Jh)(this,function(t){return i.length?(e=i,i=[],[2,c(e)]):[2]})})}function d(){o||(o=setTimeout(function(){o=void 0,u().catch(console.error)},l))}return tK(function(e){(a=e)&&i.length&&Promise.all(tJ(i).map(c)).catch(console.error)}),{dispatch:function(e,t){return(0,G.mG)(this,void 0,void 0,function(){return(0,G.Jh)(this,function(e){return i.push(t),[2,i.length>=s||tQ(i)||a?u():d()]})})}}}function t1(e){return{dispatch:function(t,n){return(0,Q.h)(t,{keepalive:null==e?void 0:e.keepalive,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(n)})}}}function t2(e,t,n,r){var o,i=e.user();delete t.options,t.writeKey=null==n?void 0:n.apiKey,t.userId=t.userId||i.id(),t.anonymousId=t.anonymousId||i.anonymousId(),t.sentAt=new Date;var a=e.queue.failedInitializations||[];a.length>0&&(t._metadata={failedInitializations:a});var s=[],l=[];for(var c in r){var u=r[c];"Segment.io"===c&&s.push(c),"bundled"===u.bundlingStatus&&s.push(c),"unbundled"===u.bundlingStatus&&l.push(c)}for(var d=0,f=(null==n?void 0:n.unbundledIntegrations)||[];d<f.length;d++){var p=f[d];l.includes(p)||l.push(p)}var h=null!==(o=null==n?void 0:n.maybeBundledConfigIds)&&void 0!==o?o:{},m=[];return s.sort().forEach(function(e){var t;(null!==(t=h[e])&&void 0!==t?t:[]).forEach(function(e){m.push(e)})}),(null==n?void 0:n.addBundledMetadata)!==!1&&(t._metadata=(0,G.pi)((0,G.pi)({},t._metadata),{bundled:s.sort(),unbundled:l.sort(),bundledIds:m})),t}var t3=n(59361);function t4(e,t){return(0,G.mG)(this,void 0,void 0,function(){var n,r=this;return(0,G.Jh)(this,function(o){switch(o.label){case 0:if(n=[],(0,eo.s)())return[2,t];return[4,(0,t3.x)(function(){return t.length>0&&!(0,eo.s)()},function(){return(0,G.mG)(r,void 0,void 0,function(){var r;return(0,G.Jh)(this,function(o){switch(o.label){case 0:if(!(r=t.pop()))return[2];return[4,(0,eW.a)(r,e)];case 1:return o.sent() instanceof ei._||n.push(r),[2]}})})})];case 1:return o.sent(),n.map(function(e){return t.pushWithBackoff(e)}),[2,t]}})})}function t5(e,t,n,r){var o=this;e||setTimeout(function(){return(0,G.mG)(o,void 0,void 0,function(){var e,o;return(0,G.Jh)(this,function(i){switch(i.label){case 0:return e=!0,[4,t4(n,t)];case 1:return o=i.sent(),e=!1,t.todo>0&&r(e,o,n,r),[2]}})})},5e3*Math.random())}var t6=n(84342);function t8(e,t){var n,r,o,i,a=e.user();return t.previousId=null!==(o=null!==(r=null!==(n=t.previousId)&&void 0!==n?n:t.from)&&void 0!==r?r:a.id())&&void 0!==o?o:a.anonymousId(),t.userId=null!==(i=t.userId)&&void 0!==i?i:t.to,delete t.from,delete t.to,t}function t7(e,t,n){window.addEventListener("pagehide",function(){s.push.apply(s,Array.from(l)),l.clear()});var r,o,i,a=null!==(r=null==t?void 0:t.apiKey)&&void 0!==r?r:"",s=e.options.disableClientPersistence?new eU.Z(e.queue.queue.maxAttempts,[]):new eF.$(e.queue.queue.maxAttempts,"".concat(a,":dest-Segment.io")),l=new Set,c=!1,u=null!==(o=null==t?void 0:t.apiHost)&&void 0!==o?o:t6.U,d=null!==(i=null==t?void 0:t.protocol)&&void 0!==i?i:"https",f="".concat(d,"://").concat(u),p=null==t?void 0:t.deliveryStrategy,h=(null==p?void 0:p.strategy)==="batching"?t0(u,p.config):t1(null==p?void 0:p.config);function m(r){return(0,G.mG)(this,void 0,void 0,function(){var o,i;return(0,G.Jh)(this,function(a){return(0,eo.s)()?(s.push(r),t5(c,s,g,t5),[2,r]):(l.add(r),o=r.event.type.charAt(0),i=(0,tG.D)(r.event).json(),"track"===r.event.type&&delete i.traits,"alias"===r.event.type&&(i=t8(e,i)),[2,h.dispatch("".concat(f,"/").concat(o),t2(e,i,t,n)).then(function(){return r}).catch(function(){return s.pushWithBackoff(r),t5(c,s,g,t5),r}).finally(function(){l.delete(r)})])})})}var g={name:"Segment.io",type:"destination",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:m,identify:m,page:m,alias:m,group:m,screen:m};return s.todo&&t5(c,s,g,t5),g}var t9=null!==(i=(a=(0,ts.R)()).__SEGMENT_INSPECTOR__)&&void 0!==i?i:a.__SEGMENT_INSPECTOR__={},ne=function(e){var t;return null===(t=t9.attach)||void 0===t?void 0:t.call(t9,e)},nt=n(67050);function nn(e,t){var n=null!=t?t:(0,X.Vl)();return(0,Q.h)("".concat(n,"/v1/projects/").concat(e,"/settings")).then(function(e){return e.ok?e.json():e.text().then(function(e){throw Error(e)})}).catch(function(e){throw console.error(e.message),e})}function nr(e){return"test"!==Y().NODE_ENV&&Object.keys(e.integrations).length>1}function no(e){var t,n,r;return"test"!==Y().NODE_ENV&&(null!==(r=null===(n=null===(t=e.middlewareSettings)||void 0===t?void 0:t.routingRules)||void 0===n?void 0:n.length)&&void 0!==r?r:0)>0}function ni(e,t){tp(e,t),tf(e,t)}function na(e,t){return(0,G.mG)(this,void 0,void 0,function(){return(0,G.Jh)(this,function(n){switch(n.label){case 0:return[4,td(e,t)];case 1:return n.sent(),th(e,t),t.clear(),[2]}})})}function ns(e,t,r,o,i,a){var s,l,c;return void 0===i&&(i=[]),(0,G.mG)(this,void 0,void 0,function(){var u,d,f,p,h,m,g,v,y,b,w,S,x,E,C=this;return(0,G.Jh)(this,function(_){switch(_.label){case 0:if(u=null==i?void 0:i.filter(function(e){return"object"==typeof e}),d=null==i?void 0:i.filter(function(e){return"function"==typeof e&&"string"==typeof e.pluginName}),!no(t))return[3,2];return[4,n.e(4604).then(n.bind(n,90444)).then(function(e){return e.tsubMiddleware(t.middlewareSettings.routingRules)})];case 1:return p=_.sent(),[3,3];case 2:p=void 0,_.label=3;case 3:if(f=p,!(nr(t)||a.length>0))return[3,5];return[4,n.e(9464).then(n.bind(n,74782)).then(function(n){return n.ajsDestinations(e,t,r.integrations,o,f,a)})];case 4:return m=_.sent(),[3,6];case 5:m=[],_.label=6;case 6:if(h=m,!t.legacyVideoPluginsEnabled)return[3,8];return[4,n.e(8150).then(n.bind(n,67188)).then(function(e){return e.loadLegacyVideoPlugins(r)})];case 7:_.sent(),_.label=8;case 8:if(!(null===(s=o.plan)||void 0===s?void 0:s.track))return[3,10];return[4,n.e(7493).then(n.bind(n,20579)).then(function(e){var n;return e.schemaFilter(null===(n=o.plan)||void 0===n?void 0:n.track,t)})];case 9:return v=_.sent(),[3,11];case 10:v=void 0,_.label=11;case 11:return g=v,y=(0,tA.o)(t,o),[4,t$(t,r.integrations,y,o,f,d).catch(function(){return[]})];case 12:if(b=_.sent(),w=(0,G.ev)((0,G.ev)((0,G.ev)([tZ],u,!0),h,!0),b,!0),g&&w.push(g),(null===(l=o.integrations)||void 0===l?void 0:l.All)===!1&&!o.integrations["Segment.io"]||o.integrations&&!1===o.integrations["Segment.io"])return[3,14];return x=(S=w).push,[4,t7(r,y["Segment.io"],t.integrations)];case 13:x.apply(S,[_.sent()]),_.label=14;case 14:return[4,r.register.apply(r,w)];case 15:if(E=_.sent(),!Object.entries(null!==(c=t.enabledMiddleware)&&void 0!==c?c:{}).some(function(e){return e[1]}))return[3,17];return[4,n.e(9214).then(n.bind(n,76436)).then(function(e){var n=e.remoteMiddlewares;return(0,G.mG)(C,void 0,void 0,function(){return(0,G.Jh)(this,function(e){switch(e.label){case 0:return[4,n(E,t,o.obfuscate)];case 1:return[2,Promise.all(e.sent().map(function(e){return r.addSourceMiddleware(e)}))]}})})})];case 16:_.sent(),_.label=17;case 17:return[2,E]}})})}function nl(e,t,n){var r,o,i,a,s,l,c,u,d,f;return void 0===t&&(t={}),(0,G.mG)(this,void 0,void 0,function(){var p,h,m,g,v,y,b,w,S,x,E;return(0,G.Jh)(this,function(C){switch(C.label){case 0:if(!0===t.disable)return[2,[new tO,ei._.system()]];if(t.globalAnalyticsKey&&(0,tl.jV)(t.globalAnalyticsKey),e.cdnURL&&(0,X.UH)(e.cdnURL),t.initialPageview&&n.push(new tv("page",[])),!(null!==(r=e.cdnSettings)&&void 0!==r))return[3,1];return h=r,[3,3];case 1:return[4,nn(e.writeKey,e.cdnURL)];case 2:h=C.sent(),C.label=3;case 3:if(p=h,t.updateCDNSettings&&(p=t.updateCDNSettings(p)),"function"!=typeof t.disable)return[3,5];return[4,t.disable(p)];case 4:if(C.sent())return[2,[new tO,ei._.system()]];C.label=5;case 5:return m=null===(i=null===(o=p.integrations["Segment.io"])||void 0===o?void 0:o.retryQueue)||void 0===i||i,ne(g=new tk(e,t=(0,G.pi)({retryQueue:m},t))),v=null!==(a=e.plugins)&&void 0!==a?a:[],y=null!==(s=e.classicIntegrations)&&void 0!==s?s:[],b=null===(l=t.integrations)||void 0===l?void 0:l["Segment.io"],nt.j.initRemoteMetrics((0,G.pi)((0,G.pi)({},p.metrics),{host:null!==(c=null==b?void 0:b.apiHost)&&void 0!==c?c:null===(u=p.metrics)||void 0===u?void 0:u.host,protocol:null==b?void 0:b.protocol})),ni(g,n),[4,ns(e.writeKey,p,g,t,v,y)];case 6:if(w=C.sent(),S=null!==(d=window.location.search)&&void 0!==d?d:"",x=null!==(f=window.location.hash)&&void 0!==f?f:"",!(E=S.length?S:x.replace(/(?=#).*(?=\?)/,"")).includes("ajs_"))return[3,8];return[4,g.queryString(E).catch(console.error)];case 7:C.sent(),C.label=8;case 8:return g.initialized=!0,g.emit("initialize",e,t),[4,na(g,n)];case 9:return C.sent(),[2,[g,w]]}})})}var nc=function(e){function t(){var t=this,n=(0,tI.d)(),r=n.promise,o=n.resolve;return(t=e.call(this,function(e){return r.then(function(t){return nl(t[0],t[1],e)})})||this)._resolveLoadStart=function(e,t){return o([e,t])},t}return(0,G.ZT)(t,e),t.prototype.load=function(e,t){return void 0===t&&(t={}),this._resolveLoadStart(e,t),this},t.load=function(e,n){return void 0===n&&(n={}),new t().load(e,n)},t.standalone=function(e,n){return t.load({writeKey:e},n).then(function(e){return e[0]})},t}(tw),nu=n(80229),nd=n.n(nu),nf=n(8372),np=n(35579),nh=n(25431),nm=n(22904),ng=n(89781),nv=n(18493);let ny=null,nb=e=>e(),nw=[],nS={};function nx(){let{getContainer:e,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}=nS,s=(null==e?void 0:e())||document.body;return{getContainer:()=>s,rtl:t,maxCount:n,top:r,bottom:o,showProgress:i,pauseOnHover:a}}let nE=j.forwardRef((e,t)=>{let{notificationConfig:n,sync:r}=e,{getPrefixCls:o}=(0,j.useContext)(nh.E_),i=nS.prefixCls||o("notification"),a=(0,j.useContext)(np.J),[s,l]=(0,nv.k)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),a.notification));return j.useEffect(r,[]),j.useImperativeHandle(t,()=>{let e=Object.assign({},s);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),s[t].apply(s,arguments)}}),{instance:e,sync:r}}),l}),nC=j.forwardRef((e,t)=>{let[n,r]=j.useState(nx),o=()=>{r(nx)};j.useEffect(o,[]);let i=(0,nm.w6)(),a=i.getRootPrefixCls(),s=i.getIconPrefixCls(),l=i.getTheme(),c=j.createElement(nE,{ref:t,sync:o,notificationConfig:n});return j.createElement(nm.ZP,{prefixCls:a,iconPrefixCls:s,theme:l},i.holderRender?i.holderRender(c):c)});function n_(){if(!ny){let e=document.createDocumentFragment(),t={fragment:e};ny=t,nb(()=>{(0,nf.s)(j.createElement(nC,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,n_())})}}),e)});return}ny.instance&&(nw.forEach(e=>{switch(e.type){case"open":nb(()=>{ny.instance.open(Object.assign(Object.assign({},nS),e.config))});break;case"destroy":nb(()=>{null==ny||ny.instance.destroy(e.key)})}}),nw=[])}function nk(e){(0,nm.w6)(),nw.push({type:"open",config:e}),n_()}let nO=["success","info","warning","error"],nA={open:nk,destroy:e=>{nw.push({type:"destroy",key:e}),n_()},config:function(e){nS=Object.assign(Object.assign({},nS),e),nb(()=>{var e;null===(e=null==ny?void 0:ny.sync)||void 0===e||e.call(ny)})},useNotification:nv.Z,_InternalPanelDoNotUseOrYouWillBeFired:ng.ZP};nO.forEach(e=>{nA[e]=t=>nk(Object.assign(Object.assign({},t),{type:e}))});var nI=nA,nP=n(52334),nT=n(72477),nR=n(57020),nM=n(75379);let nN=(0,j.createContext)({}),nj="valve.cookieConsent",nD=0,nL=e=>{let{children:t}=e,{t:n}=(0,nR.$G)(),[r,o]=nI.useNotification(),[i,a]=(0,nM.sZ)(nj),l=()=>a(!0),c=()=>a(!1),u=()=>{l(),r.destroy(nj)},d=()=>{c(),r.destroy(nj)},f=()=>{r.info({key:nj,message:n("cookie-consent.title","Cookie Consent"),description:(0,s.jsxs)(nR.cC,{i18nKey:"cookie-consent.description",children:['By clicking "Accept", you agree to the storing of cookies on your device to enhance site navigation, analyse site usage, and assist in our marketing efforts. View our'," ",(0,s.jsx)("a",{href:"https://valvespace.com/privacy-policy",target:"_blank",rel:"noreferrer",children:"Privacy Policy"})," ","for more information."]}),placement:"bottomLeft",btn:(0,s.jsxs)(nP.Z,{children:[(0,s.jsx)(nT.ZP,{type:"primary",onClick:u,children:n("text.accept","Accept")}),(0,s.jsx)(nT.ZP,{onClick:d,children:n("text.deny","Deny")})]}),closeIcon:null,duration:nD,className:"print:hidden"})};return(0,j.useEffect)(()=>{void 0===i&&f()},[i]),(0,s.jsxs)(nN.Provider,{value:{isAccepted:null!=i&&i,accept:l,decline:c},children:[t,o]})},nB=()=>{let e=(0,j.useContext)(nN);if(!e)throw Error("CookieConsentContext is not provided");return e},nZ={analytics:new nc};class nF{load(){return nd()}identify(){return nd()}page(){return nd()}track(e,t){this.events.push([e,t])}redrive(e){this.events.forEach(t=>{let[n,r]=t;e(n,r)}),this.events=[]}constructor(e=[]){this.events=e}}let nz=new nF,nU=(0,j.createContext)(nZ),nH=e=>{let{apiKey:t,children:n}=e,{isAccepted:r}=nB(),o=(0,j.useMemo)(()=>({analytics:r?nc.load({writeKey:t},{initialPageview:!0}):nz}),[t,r]);return(0,j.useEffect)(()=>{r&&nz.redrive(o.analytics.track)},[r]),(0,s.jsx)(nU.Provider,{value:o,children:n})},nq=()=>{let e=(0,j.useContext)(nU);if(!e)throw Error("SegmentAnalyticsContext is not provided");return e};n(10061);var nV=n(72947),nW=n(784),n$=n(44663);class nG{async upload(e,t){let n=await this.getClient(),r="cdn.valvespace.com";if(!r)throw Error("CDN_BUCKET env var is missing");let o=new nW.g({client:n,params:{Bucket:r,Key:e,Body:t,ACL:"public-read"}});return await o.done()}async initialize(){return this._client=new nV.S3({region:"eu-west-2",credentials:await n$.g.currentCredentials()}),this._client}async getClient(){var e;return null!==(e=this._client)&&void 0!==e?e:await this.initialize()}constructor(){this._client=null}}let nK=(0,j.createContext)({}),nY=e=>{let{children:t}=e,n=(0,j.useMemo)(()=>new nG,[]);return(0,s.jsx)(nK.Provider,{value:{s3:n},children:t})},nX=()=>{let e=(0,j.useContext)(nK);if(!e)throw Error("AwsServicesContext is not provided");return e}},70350:function(e,t,n){"use strict";var r,o,i,a,s;n.d(t,{mB:function(){return s},Tv:function(){return a},hA:function(){return r},KM:function(){return i},Co:function(){return o}}),function(e){e.PHOTO="photo",e.VIMEO="vimeo",e.FLOORPLAN="floorplan",e.MARKETING_CONTENT="marketingContent",e.VIRTUAL_TOUR="virtualTour"}(r||(r={})),function(e){e.PRIVATE="private",e.PUBLIC_READ="public-read",e.PUBLIC_READ_WRITE="public-read-write",e.AUTHENTICATED_READ="authenticated-read"}(o||(o={})),function(e){e.ASC="asc",e.DESC="desc"}(i||(i={})),function(e){e.JPG="image/jpeg",e.PNG="image/png",e.WEBP="image/webp",e.PDF="application/pdf",e.PPT="application/ppt"}(a||(a={})),function(e){e.ACTIVE="active",e.SELECTED="selected"}(s||(s={}))},57597:function(e,t,n){"use strict";n.d(t,{yK:function(){return es},CU:function(){return eE},e_:function(){return eC},Ox:function(){return D},id:function(){return w},ET:function(){return et},XQ:function(){return L},hz:function(){return eh},A6:function(){return em},Rp:function(){return ev},Tk:function(){return E},TJ:function(){return Z},qs:function(){return N},Sv:function(){return C},cz:function(){return s},uf:function(){return u},T4:function(){return c},OQ:function(){return Q},bv:function(){return e_},Y5:function(){return J},z7:function(){return h},Pk:function(){return X},k0:function(){return v},sO:function(){return y},AK:function(){return b},Pr:function(){return eR},ST:function(){return k},po:function(){return S},nQ:function(){return ea},YW:function(){return eo},ro:function(){return ei},z:function(){return z},Df:function(){return W.D},$g:function(){return R},qO:function(){return T},w9:function(){return F},OS:function(){return d},x6:function(){return B},kh:function(){return M},Yw:function(){return P},xs:function(){return eP},i_:function(){return V},ar:function(){return en},me:function(){return j},Y7:function(){return er},p7:function(){return ex},Xm:function(){return ee}});var r=n(6020),o=n.n(r),i=n(8860),a=n.n(i);o().extend(a());let s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"L, LT";if(e)return o()(e).format(t)};var l=n(36512);let c=(e,t,n)=>{if("string"==typeof e&&!e)return e;let r=Number(e);if(isNaN(r)||null===e)return"";try{let{minimumFractionDigits:e,symbol:o,symbolLeft:i,spaceBetween:a,locale:s}=t?l.Q[t]:l.L,c=null!=n?n:e,u=2;r%1==0&&(c=0,u=0);let d=r.toLocaleString(s,{minimumFractionDigits:c,maximumFractionDigits:u});if(!t)return d;let f=a?" ":"";return i?"".concat(o).concat(f).concat(d):"".concat(d).concat(f).concat(o)}catch(e){return console.error(e),""}},u=(e,t)=>{if("string"==typeof e&&!e)return e;let n=Number(e);if(!isNaN(n))return null==n?void 0:n.toLocaleString(null!=t?t:void 0)};function d(e){let t=null==e?void 0:e.message;return t?t.replace("GraphQL error:","").trim():""}var f=n(2149),p=n(51424);let h=e=>{let{termLengthCondition:t,costCondition:n}=null!=e?e:{},r=(null==n?void 0:n.isRange)||(null==t?void 0:t.isRange);if((null==n?void 0:n.unit)===f.no[p.Ww.Total].value){let e=[(null==n?void 0:n.from)/(null==t?void 0:t.from),(null==n?void 0:n.to)/(null==t?void 0:t.from),(null==n?void 0:n.from)/(null==t?void 0:t.to),(null==n?void 0:n.to)/(null==t?void 0:t.to)].filter(e=>e&&isFinite(e));return{from:Math.min(...e),to:Math.max(...e),isRange:r}}return(null==n?void 0:n.unit)===f.no[p.Ww.PerYear].value?{from:n.from/12,to:n.to/12,isRange:r}:(null==n?void 0:n.unit)===f.no[p.Ww.PerMonth].value?n:void 0};var m=n(71807),g=n.n(m);function v(e){var t;let n=new window.google.maps.LatLngBounds,r=null==e?void 0:e.polygon;return(null==r?void 0:null===(t=r.points)||void 0===t?void 0:t.length)?(r.points.forEach(e=>{n.extend(new window.google.maps.LatLng(e))}),n):null}function y(e){if(!e.length)return null;let t=new window.google.maps.LatLngBounds;return e.reduce((e,t)=>{let n=v(t);return e.union(n)},t),t}let b=(e,t)=>{if(!(null==e?void 0:e.length)||!(null==t?void 0:t.latitude)||!(null==t?void 0:t.longitude))return[];let n=e.filter(e=>{let n=e.polygon.points.map(e=>[e.lat,e.lng]);return g()([t.latitude,t.longitude],n)});return null==n?void 0:n.map(e=>{let{id:t}=e;return{id:t}})},w=(e,t)=>{let n=b(t,e);return(null==n?void 0:n.length)>0};function S(e){return new Promise((t,n)=>{let r=new Image;r.crossOrigin="anonymous",r.onload=()=>t(r),r.onerror=n,r.src=e})}let x=e=>new Promise((t,n)=>{let r=new Image;r.src=e,r.onload=()=>{t({width:String(r.width),height:String(r.height)}),r.onerror=n}}),E=async(e,t)=>{if(e.type.startsWith("image/"))try{let n=window.URL.createObjectURL(e),{height:r,width:o}=await x(n);return{...e,url:n,remoteUrl:t,uid:e.uid||crypto.randomUUID(),height:r,width:o}}catch(e){console.error(e)}return{...e,url:t,remoteUrl:t,uid:e.uid||crypto.randomUUID()}},C=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{let n=new URL(e).pathname.split(".").pop(),r=await fetch(e,{headers:{pragma:"no-cache","cache-control":"no-cache"}}),o=URL.createObjectURL(await r.blob()),i=document.createElement("a");i.style.display="none",i.href=o,i.download=t?"".concat(t,".").concat(n):"",document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(o)}catch(t){console.error("Failed to download image",t),open(e,"_blank")}};function _(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1.5,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.1;return Math.abs(e/t-n)<=r}function k(e){if(null==e?void 0:e.xhr){var t,n;return _(Number(null==e?void 0:null===(t=e.xhr)||void 0===t?void 0:t.width),Number(null==e?void 0:null===(n=e.xhr)||void 0===n?void 0:n.height))}return!0}var O=n(57020);function A(e){let{from:t,to:n,isRange:r}=e;if(r&&t&&n){let e={from:t,to:n};return O.ZP.t("utils:range.from-to-short","{{from}} - {{to}}",e)}return t||n||""}function I(e){let{from:t,to:n,isRange:r}=e,o={from:t,to:n};return r?t&&n?O.ZP.t("utils:range.from-to","from {{from}} to {{to}}",o):t?O.ZP.t("utils:range.from","from {{from}}",o):n?O.ZP.t("utils:range.to","to {{to}}",o):"":t?O.ZP.t("utils:range.from","from {{from}}",o):""}function P(e){var t,n;let{data:r,units:o="",format:i=e=>e,defaultValue:a="",short:s,displayToValue:l=!0}=e,c=!(null==r?void 0:r.from)&&!(null==r?void 0:r.to);if(!r||c)return a;let u=i(r.from),d=i(r.to),f=l?d:void 0,p=null!==(n=r.unit)&&void 0!==n?n:"",h=r.isRange,m="string"==typeof o?o:null==o?void 0:null===(t=o[p])||void 0===t?void 0:t.viewLabel,g=s?A({from:u,to:f,isRange:h}):I({from:u,to:f,isRange:h});return g?g+(m||""):a}function T(e,t){return P({data:e,format:n=>c(n,t||e&&e.currency),short:!0})}function R(e,t){return P({data:e,format:n=>c(n,t||(null==e?void 0:e.currency)),units:(0,f.kE)(e&&(null==e?void 0:e.unit)),short:!0})}function M(e){return P({data:e,short:!0,units:(0,f.H9)(null==e?void 0:e.unit),format:e=>u(Math.round(Number(e)))})}function N(e){return P({data:e,short:!0})}function j(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.ZP.t("period-units.months"," months");return P({data:e,short:!0,units:t})}function D(e){return P({data:e,format:e=>s(String(e),"l"),short:!0})}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.no;return P({short:!0,data:e,units:t,format:t=>c(t,null==e?void 0:e.currency)})}function B(e){let{data:t,currency:n,rateUnit:r,costUnit:o}=e;return P({data:t,units:(0,f.kE)(r)+(0,f.B3)(o),format:e=>c(e,n),short:!1})}function Z(e,t){return P({data:e,units:O.ZP.t("density.per-desk"," per desk"),format:e=>u(e)+(0,f.$H)(t),short:!1})}function F(e){return P({data:e,displayToValue:!1,units:(0,f.kE)(null==e?void 0:e.unit),format:t=>c(t,null==e?void 0:e.currency)})}function z(e,t){let{symbol:n}=l.Q[t];return e.replace(n,"").replace(/,/,"")}var U=n(72118),H=n(57490);function q(e){(0,O.D0)(e),o().locale(e)}function V(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e){var n;q(null!==(n=U.Z.get("locale"))&&void 0!==n?n:H.a.value);return}[...O.Qb,...t].includes(e)&&(q(e),U.Z.set("locale",e,{domain:".valvespace.com",expires:365}))}var W=n(75296);n(26969),n(39907);var $=n(69107),G=n.n($);let K=e=>({lat:null==e?void 0:e.latitude,lng:null==e?void 0:e.longitude}),Y=e=>K(null==e?void 0:e.location),X=e=>Y(null==e?void 0:e.address),Q=(e,t)=>{let{Geocoder:n,GeocoderStatus:r}=window.google.maps,o=new n;return new Promise((n,i)=>{o.geocode({address:e,bounds:t},(e,t)=>t===r.OK||t===r.ZERO_RESULTS?n(e):i(t))})},J=e=>Math.round((90-e)*1e5),ee=()=>({type:"url",message:O.ZP.t("validation:invalid-url","Value must be a valid URL, e.g. https://valvespace.com")}),et={required:!0,validator:(e,t)=>{let n=/[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?/;return t?t.split(",").every(e=>n.test(e))?Promise.resolve():Promise.reject(O.ZP.t("validation:invalid-email","Value is not a valid email")):Promise.reject(O.ZP.t("validation:required-field","This field is required"))}},en={required:!0,validator:(e,t)=>{let n=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;return t?n.test(t)?Promise.resolve():Promise.reject(O.ZP.t("validation:invalid-email","Value is not a valid email")):Promise.reject(O.ZP.t("validation:required-field","This field is required"))}},er=e=>({validator:async(t,n)=>{if(e.some(e=>e.email===n))return Promise.reject(O.ZP.t("agent:referral-contact.email-exists","This email already exists in your contacts"))}}),eo=(e,t,n,r)=>{let{html:o}=r;return{validator(e,n){let r=null==n?void 0:n.length;if(o){let e=document.createElement("span");e.innerHTML=n,r=(e.textContent||e.innerText).length}return r>t?Promise.reject():Promise.resolve()},message:n("validation:max-length","{{field}} cannot be longer than {{count}} symbols",{field:e,count:t})}},ei=(e,t,n)=>({validator:(e,n)=>n&&((null==n?void 0:n.match(/<p>/g))||[]).length+((null==n?void 0:n.match(/<li>/g))||[]).length>t?Promise.reject():Promise.resolve(),message:n("validation:max-lines","{{field}} cannot have more than {{count}} lines",{field:e,count:t})}),ea=(e,t)=>n=>{let{getFieldValue:r}=n;return{validator:(t,n)=>n&&r(e)!==n?Promise.reject():Promise.resolve(),message:t}};class es{getKey(e){return e.join("/")}register(e,t){this.components.set(this.getKey(e),t)}get(e){let t=this.getKey(e);return this.components.get(t)}constructor(){this.components=new Map}}var el=n(56257),ec=n.n(el),eu=n(64663),ed=n.n(eu),ef=n(29787),ep=n.n(ef);let eh=e=>{let t={},n=ed()(e,e=>{let{id:t,value:n}=e;return t&&n}),r=ed()(e,e=>{let{id:t,value:n}=e;return t&&!n}),o=ed()(e,e=>{let{id:t,value:n}=e;return!t&&n});return ep()(n)||(t.update=G()(n,e=>{let{id:t,value:n,type:r}=e;return{where:{id:t},data:{value:n,type:r}}})),ep()(o)||(t.create=o),ep()(r)||(t.delete=G()(r,e=>{let{id:t}=e;return{id:t}})),t};function em(e,t){let n=ec()(e,t,"id").map(e=>({id:e.id}));return n.length?n:void 0}var eg=n(86535);let ev=e=>{try{return(0,eg.bC)({fallback:"transparent",colorStops:["".concat(e," 32.15%"),"".concat((0,eg.DZ)(.17)(e)," 54.37%"),"transparent 81.74%"],toDirection:"103.99deg"})}catch(e){return{}}};var ey=n(72947),eb=n(784),ew=n(44663);let eS=async()=>new ey.S3({region:"eu-west-2",credentials:await ew.g.currentCredentials(),forcePathStyle:!0}),ex=async(e,t)=>{let n=null!=t?t:await eS(),r=new eb.g({client:n,params:e});return await r.done()};class eE{get rules(){return this._rules}type(e,t){return this._rules.push({validate:()=>e.includes(this._file.type),message:t}),this}maxSize(e,t){return this._rules.push({validate:()=>this._file.size/1024/1024<e,message:t}),this}async validate(){let e=this._rules.filter(e=>!e.validate(this._file));return{isValid:0===e.length,errors:e.map(e=>e.message)}}constructor(e){this._file=e,this._rules=[]}}class eC{get rules(){return[...this._fileValidator.rules,...this._rules]}type(e,t){return this._fileValidator.type(e,t),this}maxSize(e,t){return this._fileValidator.maxSize(e,t),this}minWidth(e,t){return this._rules.push({validate:t=>t.width>=e,message:t}),this}minHeight(e,t){return this._rules.push({validate:t=>t.height>=e,message:t}),this}ratio(e,t){return this._rules.push({validate:t=>_(t.width,t.height,e),message:t}),this}async validate(){let e=URL.createObjectURL(this._file),t=await S(e),n=this.rules.filter(e=>!e.validate(t));return{isValid:0===n.length,errors:n.map(e=>e.message)}}constructor(e){this._file=e,this._rules=[],this._fileValidator=new eE(e)}}let e_=e=>Array.isArray(e)?e:e&&e.fileList;var ek=n(84602),eO=n.n(ek),eA=n(55371),eI=n.n(eA);let eP=e=>Object.entries(eI()(e,ep())).map(e=>{let[t,n]=e;n&&document.documentElement.style.setProperty("--brand-".concat(eO()(t)),n)}),eT=(e,t)=>t,eR=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eT;return e===p.FW.Operator?{title:t("agent:intro.title","Welcome. We have prepared a report for you."),message:t("agent:intro.operator.message","Enclosed you will find several options which match your search criteria.\nPlease let me know if you have any questions or would like to arrange a viewing.")}:{title:t("agent:intro.title","Welcome. We have prepared a report for you."),message:t("agent:intro.agent.message","Here you will find several number of options that match your search criteria.\nThere is a lot of choice in the market of this size. We received over 100 buildings to the search so have narrowed it down the best we can to begin with.\nLet me know if you would like to arrange some viewings.")}};n(93702)},75296:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(50305),o=n.n(r);function i(e){return o()(e,/ /g,"-")}},62701:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return r}}),function(e){e.TEMPLATE_TYPE="templateType",e.IMAGE_URL="imageUrl",e.BACKGROUND_URL="backgroundUrl",e.VIDEO_URL="videoUrl"}(r||(r={}))},62239:function(e,t,n){"use strict";n.d(t,{I:function(){return er},p:function(){return en}});var r=n(31549),o=n(44194),i=n(79508),a=n(796),s=n(36008),l=n(56043),c=n(43229),u=n(56879),d=n(72477),f=n(94154),p=n(46665),h=n(55376),m=n(52002),g=n.n(m);function v(e,t,n,r,o,i){void 0===i&&(i=0);var a=T(e,t,i),s=a.width,l=a.height,c=Math.min(s,n),u=Math.min(l,r);return c>u*o?{width:u*o,height:u}:{width:c,height:c/o}}function y(e){return e.width>e.height?e.width/e.naturalWidth:e.height/e.naturalHeight}function b(e,t,n,r,o){void 0===o&&(o=0);var i=T(t.width,t.height,o),a=i.width,s=i.height;return{x:w(e.x,a,n.width,r),y:w(e.y,s,n.height,r)}}function w(e,t,n,r){var o=t*r/2-n/2;return R(e,-o,o)}function S(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function x(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function E(e,t,n,r,o,i,a){void 0===i&&(i=0),void 0===a&&(a=!0);var s=a?C:_,l=T(t.width,t.height,i),c=T(t.naturalWidth,t.naturalHeight,i),u={x:s(100,((l.width-n.width/o)/2-e.x/o)/l.width*100),y:s(100,((l.height-n.height/o)/2-e.y/o)/l.height*100),width:s(100,n.width/l.width*100/o),height:s(100,n.height/l.height*100/o)},d=Math.round(s(c.width,u.width*c.width/100)),p=Math.round(s(c.height,u.height*c.height/100)),h=c.width>=c.height*r?{width:Math.round(p*r),height:p}:{width:d,height:Math.round(d/r)},m=(0,f.pi)((0,f.pi)({},h),{x:Math.round(s(c.width-h.width,u.x*c.width/100)),y:Math.round(s(c.height-h.height,u.y*c.height/100))});return{croppedAreaPercentages:u,croppedAreaPixels:m}}function C(e,t){return Math.min(e,Math.max(0,t))}function _(e,t){return t}function k(e,t,n,r,o,i){var a=T(t.width,t.height,n),s=R(r.width/a.width*(100/e.width),o,i);return{crop:{x:s*a.width/2-r.width/2-a.width*s*(e.x/100),y:s*a.height/2-r.height/2-a.height*s*(e.y/100)},zoom:s}}function O(e,t,n){var r=y(t);return n.height>n.width?n.height/(e.height*r):n.width/(e.width*r)}function A(e,t,n,r,o,i){void 0===n&&(n=0);var a=T(t.naturalWidth,t.naturalHeight,n),s=R(O(e,t,r),o,i),l=r.height>r.width?r.height/e.height:r.width/e.width;return{crop:{x:((a.width-e.width)/2-e.x)*l,y:((a.height-e.height)/2-e.y)*l},zoom:s}}function I(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function P(e){return e*Math.PI/180}function T(e,t,n){var r=P(n);return{width:Math.abs(Math.cos(r)*e)+Math.abs(Math.sin(r)*t),height:Math.abs(Math.sin(r)*e)+Math.abs(Math.cos(r)*t)}}function R(e,t,n){return Math.min(Math.max(e,t),n)}function M(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return"string"==typeof e&&e.length>0}).join(" ").trim()}var N=".reactEasyCrop_Container {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  overflow: hidden;\n  user-select: none;\n  touch-action: none;\n  cursor: move;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n  will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_Contain {\n  max-width: 100%;\n  max-height: 100%;\n  margin: auto;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n}\n.reactEasyCrop_Cover_Horizontal {\n  width: 100%;\n  height: auto;\n}\n.reactEasyCrop_Cover_Vertical {\n  width: auto;\n  height: 100%;\n}\n\n.reactEasyCrop_CropArea {\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  box-sizing: border-box;\n  box-shadow: 0 0 0 9999em;\n  color: rgba(0, 0, 0, 0.5);\n  overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n  border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 0;\n  bottom: 0;\n  left: 33.33%;\n  right: 33.33%;\n  border-top: 0;\n  border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n  content: ' ';\n  box-sizing: border-box;\n  position: absolute;\n  border: 1px solid rgba(255, 255, 255, 0.5);\n  top: 33.33%;\n  bottom: 33.33%;\n  left: 0;\n  right: 0;\n  border-left: 0;\n  border-right: 0;\n}\n",j=1,D=3,L=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.imageRef=o.createRef(),n.videoRef=o.createRef(),n.containerPosition={x:0,y:0},n.containerRef=null,n.styleRef=null,n.containerRect=null,n.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},n.dragStartPosition={x:0,y:0},n.dragStartCrop={x:0,y:0},n.gestureZoomStart=0,n.gestureRotationStart=0,n.isTouching=!1,n.lastPinchDistance=0,n.lastPinchRotation=0,n.rafDragTimeout=null,n.rafPinchTimeout=null,n.wheelTimer=null,n.currentDoc="undefined"!=typeof document?document:null,n.currentWindow="undefined"!=typeof window?window:null,n.resizeObserver=null,n.state={cropSize:null,hasWheelJustStarted:!1,mediaObjectFit:void 0},n.initResizeObserver=function(){if(void 0!==window.ResizeObserver&&n.containerRef){var e=!0;n.resizeObserver=new window.ResizeObserver(function(t){if(e){e=!1;return}n.computeSizes()}),n.resizeObserver.observe(n.containerRef)}},n.preventZoomSafari=function(e){return e.preventDefault()},n.cleanEvents=function(){n.currentDoc&&(n.currentDoc.removeEventListener("mousemove",n.onMouseMove),n.currentDoc.removeEventListener("mouseup",n.onDragStopped),n.currentDoc.removeEventListener("touchmove",n.onTouchMove),n.currentDoc.removeEventListener("touchend",n.onDragStopped),n.currentDoc.removeEventListener("gesturemove",n.onGestureMove),n.currentDoc.removeEventListener("gestureend",n.onGestureEnd),n.currentDoc.removeEventListener("scroll",n.onScroll))},n.clearScrollEvent=function(){n.containerRef&&n.containerRef.removeEventListener("wheel",n.onWheel),n.wheelTimer&&clearTimeout(n.wheelTimer)},n.onMediaLoad=function(){var e=n.computeSizes();e&&(n.emitCropData(),n.setInitialCrop(e)),n.props.onMediaLoaded&&n.props.onMediaLoaded(n.mediaSize)},n.setInitialCrop=function(e){if(n.props.initialCroppedAreaPercentages){var t=k(n.props.initialCroppedAreaPercentages,n.mediaSize,n.props.rotation,e,n.props.minZoom,n.props.maxZoom),r=t.crop,o=t.zoom;n.props.onCropChange(r),n.props.onZoomChange&&n.props.onZoomChange(o)}else if(n.props.initialCroppedAreaPixels){var i=A(n.props.initialCroppedAreaPixels,n.mediaSize,n.props.rotation,e,n.props.minZoom,n.props.maxZoom),r=i.crop,o=i.zoom;n.props.onCropChange(r),n.props.onZoomChange&&n.props.onZoomChange(o)}},n.computeSizes=function(){var e,t,r,o,i,a,s=n.imageRef.current||n.videoRef.current;if(s&&n.containerRef){n.containerRect=n.containerRef.getBoundingClientRect(),n.saveContainerPosition();var l=n.containerRect.width/n.containerRect.height,c=(null===(e=n.imageRef.current)||void 0===e?void 0:e.naturalWidth)||(null===(t=n.videoRef.current)||void 0===t?void 0:t.videoWidth)||0,u=(null===(r=n.imageRef.current)||void 0===r?void 0:r.naturalHeight)||(null===(o=n.videoRef.current)||void 0===o?void 0:o.videoHeight)||0,d=s.offsetWidth<c||s.offsetHeight<u,p=c/u,h=void 0;if(d)switch(n.state.mediaObjectFit){default:case"contain":h=l>p?{width:n.containerRect.height*p,height:n.containerRect.height}:{width:n.containerRect.width,height:n.containerRect.width/p};break;case"horizontal-cover":h={width:n.containerRect.width,height:n.containerRect.width/p};break;case"vertical-cover":h={width:n.containerRect.height*p,height:n.containerRect.height}}else h={width:s.offsetWidth,height:s.offsetHeight};n.mediaSize=(0,f.pi)((0,f.pi)({},h),{naturalWidth:c,naturalHeight:u}),n.props.setMediaSize&&n.props.setMediaSize(n.mediaSize);var m=n.props.cropSize?n.props.cropSize:v(n.mediaSize.width,n.mediaSize.height,n.containerRect.width,n.containerRect.height,n.props.aspect,n.props.rotation);return((null===(i=n.state.cropSize)||void 0===i?void 0:i.height)!==m.height||(null===(a=n.state.cropSize)||void 0===a?void 0:a.width)!==m.width)&&n.props.onCropSizeChange&&n.props.onCropSizeChange(m),n.setState({cropSize:m},n.recomputeCropPosition),n.props.setCropSize&&n.props.setCropSize(m),m}},n.saveContainerPosition=function(){if(n.containerRef){var e=n.containerRef.getBoundingClientRect();n.containerPosition={x:e.left,y:e.top}}},n.onMouseDown=function(e){n.currentDoc&&(e.preventDefault(),n.currentDoc.addEventListener("mousemove",n.onMouseMove),n.currentDoc.addEventListener("mouseup",n.onDragStopped),n.saveContainerPosition(),n.onDragStart(t.getMousePoint(e)))},n.onMouseMove=function(e){return n.onDrag(t.getMousePoint(e))},n.onScroll=function(e){n.currentDoc&&(e.preventDefault(),n.saveContainerPosition())},n.onTouchStart=function(e){n.currentDoc&&(n.isTouching=!0,(!n.props.onTouchRequest||n.props.onTouchRequest(e))&&(n.currentDoc.addEventListener("touchmove",n.onTouchMove,{passive:!1}),n.currentDoc.addEventListener("touchend",n.onDragStopped),n.saveContainerPosition(),2===e.touches.length?n.onPinchStart(e):1===e.touches.length&&n.onDragStart(t.getTouchPoint(e.touches[0]))))},n.onTouchMove=function(e){e.preventDefault(),2===e.touches.length?n.onPinchMove(e):1===e.touches.length&&n.onDrag(t.getTouchPoint(e.touches[0]))},n.onGestureStart=function(e){n.currentDoc&&(e.preventDefault(),n.currentDoc.addEventListener("gesturechange",n.onGestureMove),n.currentDoc.addEventListener("gestureend",n.onGestureEnd),n.gestureZoomStart=n.props.zoom,n.gestureRotationStart=n.props.rotation)},n.onGestureMove=function(e){if(e.preventDefault(),!n.isTouching){var r=t.getMousePoint(e),o=n.gestureZoomStart-1+e.scale;if(n.setNewZoom(o,r,{shouldUpdatePosition:!0}),n.props.onRotationChange){var i=n.gestureRotationStart+e.rotation;n.props.onRotationChange(i)}}},n.onGestureEnd=function(e){n.cleanEvents()},n.onDragStart=function(e){var t,r,o=e.x,i=e.y;n.dragStartPosition={x:o,y:i},n.dragStartCrop=(0,f.pi)({},n.props.crop),null===(r=(t=n.props).onInteractionStart)||void 0===r||r.call(t)},n.onDrag=function(e){var t=e.x,r=e.y;n.currentWindow&&(n.rafDragTimeout&&n.currentWindow.cancelAnimationFrame(n.rafDragTimeout),n.rafDragTimeout=n.currentWindow.requestAnimationFrame(function(){if(n.state.cropSize&&void 0!==t&&void 0!==r){var e=t-n.dragStartPosition.x,o=r-n.dragStartPosition.y,i={x:n.dragStartCrop.x+e,y:n.dragStartCrop.y+o},a=n.props.restrictPosition?b(i,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):i;n.props.onCropChange(a)}}))},n.onDragStopped=function(){var e,t;n.isTouching=!1,n.cleanEvents(),n.emitCropData(),null===(t=(e=n.props).onInteractionEnd)||void 0===t||t.call(e)},n.onWheel=function(e){if(n.currentWindow&&(!n.props.onWheelRequest||n.props.onWheelRequest(e))){e.preventDefault();var r=t.getMousePoint(e),o=g()(e).pixelY,i=n.props.zoom-o*n.props.zoomSpeed/200;n.setNewZoom(i,r,{shouldUpdatePosition:!0}),n.state.hasWheelJustStarted||n.setState({hasWheelJustStarted:!0},function(){var e,t;return null===(t=(e=n.props).onInteractionStart)||void 0===t?void 0:t.call(e)}),n.wheelTimer&&clearTimeout(n.wheelTimer),n.wheelTimer=n.currentWindow.setTimeout(function(){return n.setState({hasWheelJustStarted:!1},function(){var e,t;return null===(t=(e=n.props).onInteractionEnd)||void 0===t?void 0:t.call(e)})},250)}},n.getPointOnContainer=function(e,t){var r=e.x,o=e.y;if(!n.containerRect)throw Error("The Cropper is not mounted");return{x:n.containerRect.width/2-(r-t.x),y:n.containerRect.height/2-(o-t.y)}},n.getPointOnMedia=function(e){var t=e.x,r=e.y,o=n.props,i=o.crop,a=o.zoom;return{x:(t+i.x)/a,y:(r+i.y)/a}},n.setNewZoom=function(e,t,r){var o=(void 0===r?{}:r).shouldUpdatePosition,i=void 0===o||o;if(n.state.cropSize&&n.props.onZoomChange){var a=R(e,n.props.minZoom,n.props.maxZoom);if(i){var s=n.getPointOnContainer(t,n.containerPosition),l=n.getPointOnMedia(s),c={x:l.x*a-s.x,y:l.y*a-s.y},u=n.props.restrictPosition?b(c,n.mediaSize,n.state.cropSize,a,n.props.rotation):c;n.props.onCropChange(u)}n.props.onZoomChange(a)}},n.getCropData=function(){return n.state.cropSize?E(n.props.restrictPosition?b(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop,n.mediaSize,n.state.cropSize,n.getAspect(),n.props.zoom,n.props.rotation,n.props.restrictPosition):null},n.emitCropData=function(){var e=n.getCropData();if(e){var t=e.croppedAreaPercentages,r=e.croppedAreaPixels;n.props.onCropComplete&&n.props.onCropComplete(t,r),n.props.onCropAreaChange&&n.props.onCropAreaChange(t,r)}},n.emitCropAreaChange=function(){var e=n.getCropData();if(e){var t=e.croppedAreaPercentages,r=e.croppedAreaPixels;n.props.onCropAreaChange&&n.props.onCropAreaChange(t,r)}},n.recomputeCropPosition=function(){if(n.state.cropSize){var e=n.props.restrictPosition?b(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop;n.props.onCropChange(e),n.emitCropData()}},n}return(0,f.ZT)(t,e),t.prototype.componentDidMount=function(){this.currentDoc&&this.currentWindow&&(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),void 0===window.ResizeObserver&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.currentDoc.addEventListener("scroll",this.onScroll),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=N,this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef))},t.prototype.componentWillUnmount=function(){var e,t;this.currentDoc&&this.currentWindow&&(void 0===window.ResizeObserver&&this.currentWindow.removeEventListener("resize",this.computeSizes),null===(e=this.resizeObserver)||void 0===e||e.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&(null===(t=this.styleRef.parentNode)||void 0===t||t.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},t.prototype.componentDidUpdate=function(e){e.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):e.aspect!==this.props.aspect?this.computeSizes():e.objectFit!==this.props.objectFit?this.computeSizes():e.zoom!==this.props.zoom?this.recomputeCropPosition():(null===(t=e.cropSize)||void 0===t?void 0:t.height)!==(null===(n=this.props.cropSize)||void 0===n?void 0:n.height)||(null===(r=e.cropSize)||void 0===r?void 0:r.width)!==(null===(o=this.props.cropSize)||void 0===o?void 0:o.width)?this.computeSizes():((null===(i=e.crop)||void 0===i?void 0:i.x)!==(null===(a=this.props.crop)||void 0===a?void 0:a.x)||(null===(s=e.crop)||void 0===s?void 0:s.y)!==(null===(l=this.props.crop)||void 0===l?void 0:l.y))&&this.emitCropAreaChange(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),e.video!==this.props.video&&(null===(c=this.videoRef.current)||void 0===c||c.load());var t,n,r,o,i,a,s,l,c,u=this.getObjectFit();u!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:u},this.computeSizes)},t.prototype.getAspect=function(){var e=this.props,t=e.cropSize,n=e.aspect;return t?t.width/t.height:n},t.prototype.getObjectFit=function(){var e,t,n,r;if("cover"===this.props.objectFit){if((this.imageRef.current||this.videoRef.current)&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var o=this.containerRect.width/this.containerRect.height;return((null===(e=this.imageRef.current)||void 0===e?void 0:e.naturalWidth)||(null===(t=this.videoRef.current)||void 0===t?void 0:t.videoWidth)||0)/((null===(n=this.imageRef.current)||void 0===n?void 0:n.naturalHeight)||(null===(r=this.videoRef.current)||void 0===r?void 0:r.videoHeight)||0)<o?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},t.prototype.onPinchStart=function(e){var n=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]);this.lastPinchDistance=S(n,r),this.lastPinchRotation=x(n,r),this.onDragStart(I(n,r))},t.prototype.onPinchMove=function(e){var n=this;if(this.currentDoc&&this.currentWindow){var r=t.getTouchPoint(e.touches[0]),o=t.getTouchPoint(e.touches[1]),i=I(r,o);this.onDrag(i),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var e=S(r,o),t=n.props.zoom*(e/n.lastPinchDistance);n.setNewZoom(t,i,{shouldUpdatePosition:!1}),n.lastPinchDistance=e;var a=x(r,o),s=n.props.rotation+(a-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(s),n.lastPinchRotation=a})}},t.prototype.render=function(){var e,t=this,n=this.props,r=n.image,i=n.video,a=n.mediaProps,s=n.transform,l=n.crop,c=l.x,u=l.y,d=n.rotation,p=n.zoom,h=n.cropShape,m=n.showGrid,g=n.style,v=g.containerStyle,y=g.cropAreaStyle,b=g.mediaStyle,w=n.classes,S=w.containerClassName,x=w.cropAreaClassName,E=w.mediaClassName,C=null!==(e=this.state.mediaObjectFit)&&void 0!==e?e:this.getObjectFit();return o.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(e){return t.containerRef=e},"data-testid":"container",style:v,className:M("reactEasyCrop_Container",S)},r?o.createElement("img",(0,f.pi)({alt:"",className:M("reactEasyCrop_Image","contain"===C&&"reactEasyCrop_Contain","horizontal-cover"===C&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===C&&"reactEasyCrop_Cover_Vertical",E)},a,{src:r,ref:this.imageRef,style:(0,f.pi)((0,f.pi)({},b),{transform:s||"translate(".concat(c,"px, ").concat(u,"px) rotate(").concat(d,"deg) scale(").concat(p,")")}),onLoad:this.onMediaLoad})):i&&o.createElement("video",(0,f.pi)({autoPlay:!0,playsInline:!0,loop:!0,muted:!0,className:M("reactEasyCrop_Video","contain"===C&&"reactEasyCrop_Contain","horizontal-cover"===C&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===C&&"reactEasyCrop_Cover_Vertical",E)},a,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:(0,f.pi)((0,f.pi)({},b),{transform:s||"translate(".concat(c,"px, ").concat(u,"px) rotate(").concat(d,"deg) scale(").concat(p,")")}),controls:!1}),(Array.isArray(i)?i:[{src:i}]).map(function(e){return o.createElement("source",(0,f.pi)({key:e.src},e))})),this.state.cropSize&&o.createElement("div",{style:(0,f.pi)((0,f.pi)({},y),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:M("reactEasyCrop_CropArea","round"===h&&"reactEasyCrop_CropAreaRound",m&&"reactEasyCrop_CropAreaGrid",x)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:D,minZoom:j,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t.getTouchPoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t}(o.Component);let B="img-crop",Z=1,F=.1,z=0,U=-180,H=180,q=1,V=.5,W=2,$=.01,G=(0,o.forwardRef)((e,t)=>{let{cropperRef:n,zoomSlider:i,rotationSlider:a,aspectSlider:s,showReset:l,resetBtnText:c,modalImage:u,aspect:f,minZoom:p,maxZoom:m,cropShape:g,showGrid:v,cropperProps:y}=e,[b,w]=(0,o.useState)(Z),[S,x]=(0,o.useState)(z),[E,C]=(0,o.useState)(f),_=b!==Z||S!==z||E!==f,k=()=>{w(Z),x(z),C(f)},[O,A]=(0,o.useState)({x:0,y:0}),I=(0,o.useRef)({width:0,height:0,x:0,y:0}),P=(0,o.useCallback)((e,t)=>{I.current=t},[]);(0,o.useImperativeHandle)(t,()=>({rotation:S,cropPixelsRef:I,onReset:k}));let T="[display:flex] [align-items:center] [width:60%] [margin-inline:auto]",R="[display:flex] [align-items:center] [justify-content:center] [height:32px] [width:32px] [background:transparent] [border:0] [font-family:inherit] [font-size:18px] [cursor:pointer] disabled:[opacity:20%] disabled:[cursor:default]",M="[flex:1]";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(L,Object.assign({},y,{ref:n,image:u,crop:O,zoom:b,rotation:S,aspect:E,minZoom:p,maxZoom:m,zoomWithScroll:i,cropShape:g,showGrid:v,onCropChange:A,onZoomChange:w,onRotationChange:x,onCropComplete:P,classes:{containerClassName:`${B}-container ![position:relative] [width:100%] [height:40vh] [&~section:first-of-type]:[margin-top:16px] [&~section:last-of-type]:[margin-bottom:16px]`,mediaClassName:`${B}-media`}})),i&&(0,r.jsxs)("section",{className:`${B}-control ${B}-control-zoom ${T}`,children:[(0,r.jsx)("button",{className:R,onClick:()=>w(+(b-F).toFixed(1)),disabled:b-F<p,children:"－"}),(0,r.jsx)(h.Z,{className:M,min:p,max:m,step:F,value:b,onChange:w}),(0,r.jsx)("button",{className:R,onClick:()=>w(+(b+F).toFixed(1)),disabled:b+F>m,children:"＋"})]}),a&&(0,r.jsxs)("section",{className:`${B}-control ${B}-control-rotation ${T}`,children:[(0,r.jsx)("button",{className:`${R} [font-size:16px]`,onClick:()=>x(S-q),disabled:S===U,children:"↺"}),(0,r.jsx)(h.Z,{className:M,min:U,max:H,step:q,value:S,onChange:x}),(0,r.jsx)("button",{className:`${R} [font-size:16px]`,onClick:()=>x(S+q),disabled:S===H,children:"↻"})]}),s&&(0,r.jsxs)("section",{className:`${B}-control ${B}-control-aspect ${T}`,children:[(0,r.jsx)("button",{className:R,onClick:()=>C(+(E-$).toFixed(2)),disabled:E-$<V,children:"↕️"}),(0,r.jsx)(h.Z,{className:M,min:V,max:W,step:$,value:E,onChange:C}),(0,r.jsx)("button",{className:R,onClick:()=>C(+(E+$).toFixed(2)),disabled:E+$>W,children:"↔️"})]}),l&&(i||a||s)&&(0,r.jsx)(d.ZP,{className:"[bottom:20px] [position:absolute]",style:_?{}:{opacity:.3,pointerEvents:"none"},onClick:k,children:c})]})});var K=(0,o.memo)(G);(function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}})(".\\[align-items\\:center\\]{align-items:center}.\\[background\\:transparent\\]{background:transparent}.\\[border\\:0\\]{border:0}.\\[bottom\\:20px\\]{bottom:20px}.\\[cursor\\:pointer\\]{cursor:pointer}.\\[display\\:flex\\]{display:flex}.\\[flex\\:1\\]{flex:1}.\\[font-family\\:inherit\\]{font-family:inherit}.\\[font-size\\:16px\\]{font-size:16px}.\\[font-size\\:18px\\]{font-size:18px}.\\[height\\:32px\\]{height:32px}.\\[height\\:40vh\\]{height:40vh}.\\[justify-content\\:center\\]{justify-content:center}.\\[margin-inline\\:auto\\]{margin-inline:auto}.\\[position\\:absolute\\]{position:absolute}.\\!\\[position\\:relative\\]{position:relative!important}.\\[width\\:100\\%\\]{width:100%}.\\[width\\:32px\\]{width:32px}.\\[width\\:60\\%\\]{width:60%}.disabled\\:\\[cursor\\:default\\]:disabled{cursor:default}.disabled\\:\\[opacity\\:20\\%\\]:disabled{opacity:20%}.\\[\\&\\~section\\:first-of-type\\]\\:\\[margin-top\\:16px\\]~section:first-of-type{margin-top:16px}.\\[\\&\\~section\\:last-of-type\\]\\:\\[margin-bottom\\:16px\\]~section:last-of-type{margin-bottom:16px}",{insertAt:"top"});let Y=(0,o.forwardRef)((e,t)=>{let{quality:n=.4,fillColor:i="white",zoomSlider:a=!0,rotationSlider:s=!1,aspectSlider:l=!1,showReset:c=!1,resetText:d,aspect:h=1,minZoom:m=1,maxZoom:g=3,cropShape:v="rect",showGrid:y=!1,cropperProps:b,modalClassName:w,modalTitle:S,modalWidth:x,modalOk:E,modalCancel:C,onModalOk:_,onModalCancel:k,modalProps:O,beforeCrop:A,children:I}=e,P=(0,o.useRef)({});P.current.onModalOk=_,P.current.onModalCancel=k,P.current.beforeCrop=A;let T=(0,o.useRef)(null),R=(0,o.useCallback)(e=>{var t;let n=document.createElement("canvas"),r=n.getContext("2d"),o=((null===(t=null==e?void 0:e.getRootNode)||void 0===t?void 0:t.call(e))||document).querySelector(`.${B}-media`),{width:a,height:l,x:c,y:u}=T.current.cropPixelsRef.current;if(s&&T.current.rotation!==z){let{naturalWidth:e,naturalHeight:t}=o,s=T.current.rotation*(Math.PI/180),d=Math.abs(Math.sin(s)),f=Math.abs(Math.cos(s)),p=e*f+t*d,h=t*f+e*d;n.width=p,n.height=h,r.fillStyle=i,r.fillRect(0,0,p,h);let m=p/2,g=h/2;r.translate(m,g),r.rotate(s),r.translate(-m,-g);let v=(p-e)/2,y=(h-t)/2;r.drawImage(o,0,0,e,t,v,y,e,t);let b=r.getImageData(0,0,p,h);n.width=a,n.height=l,r.putImageData(b,-c,-u)}else n.width=a,n.height=l,r.fillStyle=i,r.fillRect(0,0,a,l),r.drawImage(o,c,u,a,l,0,0,a,l);return n},[i,s]),[M,N]=(0,o.useState)(""),j=(0,o.useRef)(),D=(0,o.useRef)(),L=(0,o.useCallback)(e=>(0,f.mG)(void 0,[e],void 0,function*({beforeUpload:e,file:t,resolve:n,reject:r}){let o=t;if("function"!=typeof e){n(o);return}try{let r=yield e(t,[t]);n(!1!==r&&(!0!==r&&r||o))}catch(e){r(e)}}),[]),Z=(0,o.useCallback)(e=>(t,r)=>new Promise((o,i)=>(0,f.mG)(void 0,void 0,void 0,function*(){let a=t;if("function"==typeof P.current.beforeCrop)try{let n=yield P.current.beforeCrop(t,r);if(!1===n)return L({beforeUpload:e,file:t,resolve:o,reject:i});!0!==n&&(a=n||t)}catch(n){return L({beforeUpload:e,file:t,resolve:o,reject:i})}let s=new FileReader;s.addEventListener("load",()=>{"string"==typeof s.result&&N(s.result)}),s.readAsDataURL(a),j.current=()=>{var e,t;N(""),T.current.onReset();let n=!1;null===(t=(e=P.current).onModalCancel)||void 0===t||t.call(e,e=>{o(e),n=!0}),n||o(u.Z.LIST_IGNORE)},D.current=t=>(0,f.mG)(void 0,void 0,void 0,function*(){N(""),T.current.onReset();let r=R(t.target),{type:s,name:l,uid:c}=a;r.toBlob(t=>(0,f.mG)(void 0,void 0,void 0,function*(){let n=new File([t],l,{type:s});Object.assign(n,{uid:c}),L({beforeUpload:e,file:n,resolve:e=>{var t,n;o(e),null===(n=(t=P.current).onModalOk)||void 0===n||n.call(t,e)},reject:e=>{var t,n;i(e),null===(n=(t=P.current).onModalOk)||void 0===n||n.call(t,e)}})}),s,n)})})),[R,n,L]),F=(0,o.useCallback)(e=>{let t=Array.isArray(e)?e[0]:e,n=t.props,{beforeUpload:r,accept:o}=n,i=(0,f._T)(n,["beforeUpload","accept"]);return Object.assign(Object.assign({},t),{props:Object.assign(Object.assign({},i),{accept:o||"image/*",beforeUpload:Z(r)})})},[Z]),U=(0,o.useMemo)(()=>{let e={};return void 0!==x&&(e.width=x),void 0!==E&&(e.okText=E),void 0!==C&&(e.cancelText=C),e},[C,E,x]),H=`${B}-modal${w?` ${w}`:""}`,q="zh-CN"===("undefined"==typeof window?"":window.navigator.language),V=S||(q?"编辑图片":"Edit image"),W=d||(q?"重置":"Reset");return(0,r.jsxs)(r.Fragment,{children:[F(I),M&&(0,r.jsx)(p.Z,Object.assign({},O,U,{open:!0,title:V,onCancel:j.current,onOk:D.current,wrapClassName:H,maskClosable:!1,destroyOnClose:!0,children:(0,r.jsx)(K,{ref:T,cropperRef:t,zoomSlider:a,rotationSlider:s,aspectSlider:l,showReset:c,resetBtnText:W,modalImage:M,aspect:h,minZoom:m,maxZoom:g,cropShape:v,showGrid:y,cropperProps:b})}))]})});var X=n(70350),Q=n(57597),J=n(68818);let ee=2,et=[X.Tv.JPG,X.Tv.PNG,X.Tv.WEBP],en=Object.keys(X.Tv).filter(e=>et.includes(X.Tv[e])).join(", "),er=e=>{let{disabled:t,className:n,fileSizeLimit:f=ee,crop:p,name:h,onChange:m,removable:g=!1,...v}=e,y=l.Z.useFormInstance(),b=l.Z.useWatch(h),w=(0,J.C)(b?b[0]:null),[S,x]=(0,o.useState)(!1),E=async e=>{let t=new Q.e_(e).maxSize(f,"File must be smaller than ".concat(f,"MB")).type(et,"Allowed file types: ".concat(en));try{let n=await t.validate();if(!n.isValid)return c.ZP.error(n.errors.join(", ")),u.Z.LIST_IGNORE;return e}catch(e){return c.ZP.error("Invalid file"),u.Z.LIST_IGNORE}},C=e=>{if(null==m||m(e),"uploading"===e.file.status){x(!0);return}"done"===e.file.status&&x(!1)},_=async e=>{let{file:t,onSuccess:n}=e,r=await (0,Q.Tk)(t,"");null==n||n("ok",{...new XMLHttpRequest,...r})},k=e=>{e.stopPropagation(),y.setFieldValue(h,[])},O=null!=p?p:{},A=p?Y:o.Fragment;return(0,r.jsx)(A,{...O,children:(0,r.jsx)(u.Z,{listType:"picture-card",beforeUpload:E,customRequest:_,onChange:C,accept:et.join(","),showUploadList:!1,multiple:!1,maxCount:1,disabled:t,className:n,...v,children:w?(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("img",{src:w,alt:"",className:"h-auto w-full"}),g&&(0,r.jsx)(d.ZP,{className:"absolute -right-3 -top-3 text-gray-600",onClick:k,icon:(0,r.jsx)(i.Z,{}),shape:"circle",type:"text"})]}):(0,r.jsxs)("div",{children:[S?(0,r.jsx)(a.Z,{}):(0,r.jsx)(s.Z,{}),(0,r.jsx)("div",{className:"mt-2",children:"Upload"})]})})})}},68818:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});let r=e=>{var t;return e?"string"==typeof e?e:(null==e?void 0:e.url)||(null==e?void 0:null===(t=e.xhr)||void 0===t?void 0:t.url):void 0}},3810:function(e,t,n){"use strict";n.d(t,{zD:function(){return us},a2:function(){return co},N6:function(){return cr},zy:function(){return ny},Ww:function(){return nT},dB:function(){return nU},zx:function(){return nW},dy:function(){return nG},Kl:function(){return sk},WD:function(){return uS},cs:function(){return nQ},LH:function(){return t_},Mt:function(){return tk.default},_Q:function(){return n1},AD:function(){return c$},m3:function(){return ua},p0:function(){return cg},vw:function(){return cu},E$:function(){return uJ},ri:function(){return ig},qF:function(){return tP},Ee:function(){return nD},Zc:function(){return nZ},Ur:function(){return ck},ey:function(){return sC},M1:function(){return sE},rU:function(){return iw},Pt:function(){return cE},uJ:function(){return tl},Cn:function(){return cl},Mi:function(){return ix},ih:function(){return iX},Y8:function(){return u0},tV:function(){return iC},Sq:function(){return cO},yR:function(){return cA},J4:function(){return iO},J$:function(){return iI},c$:function(){return du},$j:function(){return nd},k4:function(){return dd},J7:function(){return iU},YO:function(){return iH},Jd:function(){return iW},EE:function(){return iG},Ck:function(){return c_.C},WZ:function(){return up}});var r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,y,b,w,S,x,E,C,_,k,O,A,I,P,T,R,M,N,j,D,L,B,Z,F,z,U,H,q,V,W,$,G,K,Y,X,Q,J,ee,et,en,er,eo,ei,ea,es,el,ec,eu,ed,ef,ep,eh,em,eg,ev,ey,eb,ew,eS,ex,eE,eC,e_,ek,eO,eA,eI,eP,eT,eR,eM,eN,ej,eD,eL,eB,eZ,eF,ez,eU,eH,eq,eV,eW,e$,eG,eK,eY,eX,eQ,eJ,e0,e1,e2,e3,e4,e5,e6,e8,e7,e9,te,tt,tn,tr,to,ti,ta,ts,tl,tc,tu,td,tf=n(31549),tp=n(44194),th=n(72665),tm=n(28182);n(51238);var tg=n(51424),tv=n(57597);(0,tm.ZP)(th.Z).withConfig({componentId:"sc-36c6753b-0"})(["margin:0;background-color:",";border-color:",";color:",";"],e=>e.theme.colors.green[100],e=>e.theme.colors.green[500],e=>e.theme.colors.green[500]),(0,tm.ZP)(th.Z).withConfig({componentId:"sc-36c6753b-1"})(["margin:0;background-color:",";border-color:",";color:",";"],e=>e.theme.colors.gray[100],e=>e.theme.colors.gray[700],e=>e.theme.colors.gray[700]),(0,tm.ZP)(th.Z).withConfig({componentId:"sc-36c6753b-2"})(["margin:0;background-color:",";border-color:",";color:",";"],e=>e.theme.colors.gray[700],e=>e.theme.colors.gray[700],e=>e.theme.colors.white),(0,tm.ZP)(th.Z).withConfig({componentId:"sc-36c6753b-3"})(["margin:0;background-color:",";border-color:",";color:",";"],e=>e.theme.colors.blue[100],e=>e.theme.colors.blue[500],e=>e.theme.colors.blue[500]),tg.sX.Available,tg.sX.Occupied,tg.sX.UnderOffer;var ty=n(3097),tb=n(51865),tw=n.n(tb),tS=n(73352),tx=n.n(tS),tE=n(36512),tC=n(57020);let t_=e=>{let{compact:t=!1,className:n,...r}=e,{t:o}=(0,tC.$G)(),i=Object.values(tx()(tE.Q,"default"));return(0,tf.jsx)(ty.default,{popupMatchSelectWidth:!1,optionLabelProp:t?"key":"children",optionFilterProp:"label",className:tw()(n,t?"w-16":"w-[184px]"),...r,children:Object.values(i).map(e=>{let{value:t,label:n}=e;return(0,tf.jsx)(ty.default.Option,{value:t,label:n,children:o("currencies:".concat(t))},t)})})};var tk=n(58396),tO=n(6020),tA=n.n(tO);function tI(e){if(null!==e)return"string"==typeof e?tA()(e):e}let tP=e=>{let{defaultValue:t,value:n,...r}=e;return(0,tf.jsx)(tk.default,{defaultValue:tI(t),value:tI(n),...r})};var tT=n(94138),tR=n(99754),tM=n(12314),tN=n(7862),tj=n.n(tN),tD=function(e,t){return e<t?-1:e>t?1:0},tL=[40,52,64].map(function(e){return e+"em"}),tB=tj().oneOfType([tj().number,tj().string,tj().array,tj().object]),tZ=function(e){return function(){return e.apply(void 0,arguments)}},tF=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n.reduce(function(t,n){return tz(t)?t:("string"==typeof n?n.split("."):[n]).reduce(function(e,t){return e&&tz(e[t])?e[t]:null},e)},null);return tz(o)?o:n[n.length-1]},tz=function(e){return null!=e},tU=function(e){return"object"==typeof e&&null!==e},tH=function(e){return"number"==typeof e&&!isNaN(e)},tq=function(e){return tH(e)&&0!==e?e+"px":e},tV=function(e){return"@media screen and (min-width: "+tq(e)+")"},tW=function(e,t){return tF(t,e)},t$=function e(t,n){var r={};for(var o in t)r[o]=t[o];for(var i in n)t[i]&&"object"==typeof t[i]?r[i]=e(t[i],n[i]):r[i]=n[i];return r},tG=function(){for(var e={},t=0;t<arguments.length;t++)e=t$(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},tK=function(e){var t,n=e.prop,r=e.cssProperty,o=e.alias,i=e.key,a=e.transformValue,s=void 0===a?tW:a,l=e.scale,c=void 0===l?{}:l,u=r||n,d=function(e){var t=tF(e,n,o,null);if(!tz(t))return null;var r=tF(e.theme,i,c),a=function(e){var t;return tz(e)?((t={})[u]=s(e,r),t):null};if(!tU(t))return a(t);var l=tF(e.theme,"breakpoints",tL),d=[];if(Array.isArray(t)){d.push(a(t[0]));for(var f=1;f<t.slice(0,l.length+1).length;f++){var p=a(t[f]);if(p){var h,m=tV(l[f-1]);d.push(((h={})[m]=p,h))}}}else{for(var g in t){var v,y=l[g],b=tV(y),w=a(t[g]);y?d.push(((v={})[b]=w,v)):d.unshift(w)}d.sort(tD)}return tG.apply(void 0,d)};return d.propTypes=((t={})[n]=tZ(tB),t),d.propTypes[n].meta={prop:n,themeKey:i},o&&(d.propTypes[o]=tZ(tB),d.propTypes[o].meta={prop:o,themeKey:i}),d},tY=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){var n=t.map(function(t){return t(e)}).filter(Boolean);return tG.apply(void 0,n)};return r.propTypes={},t.forEach(function(e){r.propTypes=(0,tM.Z)({},r.propTypes,e.propTypes)}),r},tX=function(e){return function(t){var n=function(n){return t(e(n))};for(var r in t)n[r]=t[r];return n}},tQ=function(e){var t,n=e.key,r=e.prop,o=void 0===r?"variant":r,i=function(e){return tF(e.theme,[n,e[o]].join("."),null)};return i.propTypes=((t={})[o]=tj().oneOfType([tj().number,tj().string]),t),i},tJ=[0,4,8,16,32,64,128,256,512],t0=function(e,t){if(!tH(e))return tq(tF(t,e,e));var n=e<0,r=tF(t,Math.abs(e));return tH(r)?tq(r*(n?-1:1)):n?"-"+r:r},t1=tK({prop:"margin",alias:"m",key:"space",transformValue:t0,scale:tJ}),t2=tK({prop:"marginTop",alias:"mt",key:"space",transformValue:t0,scale:tJ}),t3=tK({prop:"marginBottom",alias:"mb",key:"space",transformValue:t0,scale:tJ}),t4=tK({prop:"marginLeft",alias:"ml",key:"space",transformValue:t0,scale:tJ}),t5=tK({prop:"marginRight",alias:"mr",key:"space",transformValue:t0,scale:tJ}),t6=tK({prop:"padding",alias:"p",key:"space",transformValue:t0,scale:tJ}),t8=tK({prop:"paddingTop",alias:"pt",key:"space",transformValue:t0,scale:tJ}),t7=tK({prop:"paddingBottom",alias:"pb",key:"space",transformValue:t0,scale:tJ}),t9=tK({prop:"paddingLeft",alias:"pl",key:"space",transformValue:t0,scale:tJ}),ne=tK({prop:"paddingRight",alias:"pr",key:"space",transformValue:t0,scale:tJ}),nt=tX(function(e){return(0,tM.Z)({},e,{mt:tz(e.my)?e.my:e.mt,mb:tz(e.my)?e.my:e.mb,ml:tz(e.mx)?e.mx:e.ml,mr:tz(e.mx)?e.mx:e.mr,pt:tz(e.py)?e.py:e.pt,pb:tz(e.py)?e.py:e.pb,pl:tz(e.px)?e.px:e.pl,pr:tz(e.px)?e.px:e.pr})})(tY(t1,t2,t3,t4,t5,t6,t8,t7,t9,ne));tY(tK({prop:"color",key:"colors"}),tK({prop:"backgroundColor",alias:"bg",key:"colors"}));var nn=function(e,t){return!tH(e)||e>1?tq(e):100*e+"%"},nr=tK({prop:"width",key:"widths",transformValue:nn}),no=function(e,t){return tq(tF(t,e))};tK({prop:"fontSize",key:"fontSizes",transformValue:no,scale:[12,14,16,20,24,32,48,64,72]}),tK({prop:"fontFamily",key:"fonts"}),tK({prop:"fontWeight",key:"fontWeights"}),tK({prop:"lineHeight",key:"lineHeights"}),tK({prop:"textAlign"}),tK({prop:"fontStyle"}),tK({prop:"letterSpacing",key:"letterSpacings",transformValue:no}),tK({prop:"display"}),tK({prop:"maxWidth",key:"maxWidths",transformValue:no}),tK({prop:"minWidth",key:"minWidths",transformValue:no});var ni=tK({prop:"height",key:"heights",transformValue:no});tK({prop:"maxHeight",key:"maxHeights",transformValue:no}),tK({prop:"minHeight",key:"minHeights",transformValue:no}),tX(function(e){return(0,tM.Z)({},e,{width:e.size,height:e.size})})(tY(nr,ni)),tK({prop:"verticalAlign"}),tK({prop:"alignItems"}),tK({prop:"alignContent"}),tK({prop:"justifyItems"}),tK({prop:"justifyContent"}),tK({prop:"flexWrap"}),tK({prop:"flexBasis",transformValue:nn}),tK({prop:"flexDirection"}),tK({prop:"flex"}),tK({prop:"justifySelf"}),tK({prop:"alignSelf"}),tK({prop:"order"}),tK({prop:"gridGap",key:"space",transformValue:no,scale:tJ}),tK({prop:"gridColumnGap",key:"space",transformValue:no,scale:tJ}),tK({prop:"gridRowGap",key:"space",transformValue:no,scale:tJ}),tK({prop:"gridColumn"}),tK({prop:"gridRow"}),tK({prop:"gridAutoFlow"}),tK({prop:"gridAutoColumns"}),tK({prop:"gridAutoRows"}),tK({prop:"gridTemplateColumns"}),tK({prop:"gridTemplateRows"}),tK({prop:"gridTemplateAreas"}),tK({prop:"gridArea"});var na=tK({prop:"border",key:"borders"}),ns=tK({prop:"borderWidth",key:"borderWidths",transformValue:no}),nl=tK({prop:"borderStyle",key:"borderStyles"}),nc=tK({prop:"borderColor",key:"colors"});tY(na,tK({prop:"borderTop",key:"borders"}),tK({prop:"borderRight",key:"borders"}),tK({prop:"borderBottom",key:"borders"}),tK({prop:"borderLeft",key:"borders"}),ns,nl,nc,tK({prop:"borderRadius",key:"radii",transformValue:no})),tK({prop:"boxShadow",key:"shadows"}),tK({prop:"opacity"}),tK({prop:"overflow"}),tK({prop:"background"}),tK({prop:"backgroundImage"}),tK({prop:"backgroundSize"}),tK({prop:"backgroundPosition"}),tK({prop:"backgroundRepeat"}),tK({prop:"position"}),tK({prop:"zIndex",key:"zIndices"}),tK({prop:"top",transformValue:no}),tK({prop:"right",transformValue:no}),tK({prop:"bottom",transformValue:no}),tK({prop:"left",transformValue:no}),tQ({key:"buttons"}),tQ({key:"textStyles",prop:"textStyle"}),tQ({key:"colorStyles",prop:"colors"});let nu=(0,tm.ZP)(tT.Z).withConfig({componentId:"sc-6e55081e-0"})(["",""],ni),nd=e=>{let{height:t}=e;return(0,tf.jsx)(nu,{height:t,className:tw()("w-full",!t&&"h-screen"),align:"middle",justify:"center",children:(0,tf.jsx)(tR.Z,{size:"large"})})};var nf=n(22904),np=n(39830),nh=n(38678),nm=n(60437),ng=n(45734);n(2785),n(83898),n(81488);let nv={fr:ng.Z,"en-GB":nh.Z,"en-US":nm.Z},ny=e=>{let{locale:t="en-GB",children:n}=e;return(0,tf.jsx)(nf.ZP,{locale:nv[t],children:(0,tf.jsx)(np.Z,{children:n})})};var nb=n(31791),nw=n(1171),nS=n(73921);function nx(){return(nx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let nE=e=>tp.createElement("svg",nx({xmlns:"http://www.w3.org/2000/svg",width:25,height:32,fill:"none"},e),r||(r=tp.createElement("path",{fill:"#dbe2e9",d:"M1 0h13l11 11v21H1V0z"})),o||(o=tp.createElement("path",{fill:"#bbcddd",d:"M14 11h11L14 0v11z"})));function nC(){return(nC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let n_=e=>tp.createElement("svg",nC({xmlns:"http://www.w3.org/2000/svg",width:25,height:32,fill:"none"},e),i||(i=tp.createElement("path",{fill:"#dbe2e9",d:"M1 0h13l11 11v21H1V0z"})),a||(a=tp.createElement("path",{fill:"#bbcddd",d:"M14 11h11L14 0v11z"})),s||(s=tp.createElement("path",{fill:"#de5543",d:"M0 20h16v7H0z"})),l||(l=tp.createElement("path",{fill:"#fff",d:"M4.969 22.514c0 .521-.171.921-.513 1.2-.342.277-.828.416-1.46.416h-.519V26H1.66v-4.997H3.1c.623 0 1.09.128 1.4.383.313.255.469.63.469 1.128zm-2.492.93h.434c.42 0 .727-.074.923-.22.196-.145.294-.373.294-.683 0-.287-.088-.501-.263-.643-.176-.14-.45-.212-.82-.212h-.568v1.757zm7.553.01c0 .825-.228 1.456-.686 1.893-.458.435-1.118.653-1.98.653H5.968v-4.997h1.545c.795 0 1.414.214 1.856.642.442.429.663 1.032.663 1.809zm-.86.027c0-1.196-.56-1.795-1.679-1.795h-.707v3.627h.58c1.204 0 1.805-.61 1.805-1.832zM11.918 26h-.81v-4.997h2.82v.69h-2.01v1.562H13.8v.694h-1.883V26z"})));function nk(){return(nk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let nO=e=>tp.createElement("svg",nk({xmlns:"http://www.w3.org/2000/svg",width:25,height:32,fill:"none"},e),c||(c=tp.createElement("path",{fill:"#ece9e2",d:"M1 0h13l11 11v21H1V0z"})),u||(u=tp.createElement("path",{fill:"#d8d4cd",d:"M14 11h11L14 0v11z"})),d||(d=tp.createElement("path",{fill:"#de5543",d:"M0 20h15v7H0z"})),f||(f=tp.createElement("path",{fill:"#fff",d:"M4.969 22.514c0 .521-.171.921-.513 1.2-.342.277-.828.416-1.46.416h-.519V26H1.66v-4.997H3.1c.623 0 1.09.128 1.4.383.313.255.469.63.469 1.128zm-2.492.93h.434c.42 0 .727-.074.923-.22.196-.145.294-.373.294-.683 0-.287-.088-.501-.263-.643-.176-.14-.45-.212-.82-.212h-.568v1.757zm6.798-.93c0 .521-.17.921-.512 1.2-.342.277-.829.416-1.46.416h-.52V26h-.816v-4.997h1.439c.624 0 1.091.128 1.401.383.312.255.468.63.468 1.128zm-2.491.93h.434c.419 0 .727-.074.923-.22.196-.145.294-.373.294-.683 0-.287-.088-.501-.264-.643-.175-.14-.449-.212-.82-.212h-.567v1.757zM12 26h-.817v-4.296h-1.47v-.701h3.756v.7H12V26z"})));var nA=n(70350);let nI=e=>{let{mimeType:t}=e;switch(t){case nA.Tv.PPT:return(0,tf.jsx)(nO,{});case nA.Tv.PDF:return(0,tf.jsx)(n_,{});default:return(0,tf.jsx)(nE,{})}};function nP(){let e=(0,nb._)(["\n  fragment BrochureView on File {\n    id\n    mimeType\n    name\n    url\n  }\n"]);return nP=function(){return e},e}let nT=e=>{let{brochure:t,onDownload:n,className:r,textClassName:o}=e;return(0,tf.jsx)("div",{className:tw()("mb-4 rounded bg-gray-100 p-4",r),children:(0,tf.jsx)("a",{href:t.url,target:"_blank",rel:"noreferrer",onClick:()=>null==n?void 0:n(null==t?void 0:t.id),children:(0,tf.jsxs)(tT.Z,{align:"middle",gutter:8,className:"flex-nowrap",children:[(0,tf.jsx)(nw.Z,{children:(0,tf.jsx)(nI,{mimeType:(null==t?void 0:t.type)||(null==t?void 0:t.mimeType)})}),t.name&&(0,tf.jsx)(nw.Z,{className:tw()("break-all font-semibold",o),children:t.name})]})})})};(0,nS.ZP)(nP());var nR=n(32829);let nM=10,nN=3e3,nj=200,nD=e=>{let{className:t,width:n,height:r,alt:o="",htmlAttributes:i,imgixParams:a,src:s,fit:l="crop",onLoad:c,onClick:u,crop:d="faces,center",...f}=e,[p,h]=(0,tp.useState)(!0),[m,g]=(0,tp.useState)(0),v=()=>{if(m>=nM){h(!1);return}setTimeout(()=>{g(e=>e+1)},nN)},y=()=>{h(!1),c&&c()};return s?(0,tf.jsx)(tR.Z,{spinning:p,className:"!max-h-full bg-gray-100",wrapperClassName:t,style:{width:n,height:r},size:r&&r<=nj||n&&n<=nj?"small":"default",children:(null==s?void 0:s.includes("imgix"))?(0,tf.jsx)(nR.ZP,{width:n,height:r,htmlAttributes:{onError:v,onLoad:y,onClick:u,alt:o,...i},imgixParams:{fit:l,crop:d,...a},disablePathEncoding:!0,src:s,className:tw()("imgix",t),...f}):(0,tf.jsx)("img",{src:s,alt:o,onError:v,onLoad:y,className:t,width:n,height:r,onClick:u})}):null};var nL="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTAiIGhlaWdodD0iNzIiIHZpZXdCb3g9IjAgMCA5MCA3MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiPgogICAgICAgIDxwYXRoIGQ9Ik0zOSAzMkMzOSAzMS41IDM5LjEgMzEgMzkuMyAzMC42QzM3LjEgMTIuOSAzMC4zIDAgMjggMEMyNS4zIDAgMTYgMTguNyAxNiA0MS43QzE2IDUzLjYgMTcuNCA2NC4zIDE5LjcgNzJMMjkgNzEuOVY0OEMyOSA0NS44IDMwLjggNDQgMzMgNDRIMzlWMzJaIgogICAgICAgICAgICAgIGZpbGw9IiNlN2U5ZWEiLz4KICAgICAgICA8cGF0aCBkPSJNMjEuNzAwMiAxMC4zQzI0LjEwMDIgMy45IDI2LjcwMDIgMCAyOC4wMDAyIDBDMjkuMjAwMiAwIDMxLjgwMDIgMy44IDM0LjMwMDIgMTAuM0gyMS43MDAyWiIKICAgICAgICAgICAgICBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTMyLjk5OTggNDRIMzYuNDk5OEMzNi4xOTk4IDQzLjUgMzUuODk5OCA0Mi45IDM1LjQ5OTggNDIuMkMzMy40OTk4IDM4LjcgMjguNDk5OCAzMy43OTk5IDI4LjQ5OTggMzMuNzk5OUMyOC40OTk4IDMzLjc5OTkgMjMuOTk5OCAyOC44IDIyLjQ5OTggMjQuNEMyMC45OTk4IDE5LjkgMjAuMDk5OCAxNy41IDIwLjc5OTggMTIuN0MyMC4xOTk4IDE0LjYgMTkuODk5OCAxNS41IDE5LjM5OTggMTcuNEMxOC42OTk4IDIyLjEgMTkuNDk5OCAyNC40IDIwLjk5OTggMjguOUMyMi40OTk4IDMzLjQgMjYuOTk5OCAzOC4yOTk5IDI2Ljk5OTggMzguMjk5OUMyNi45OTk4IDM4LjI5OTkgMjkuOTk5OCA0MS4xOTk5IDMyLjE5OTggNDQuMDk5OUMzMi40OTk4IDQzLjk5OTkgMzIuNjk5OCA0NCAzMi45OTk4IDQ0WiIKICAgICAgICAgICAgICBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTM5IDMyQzM5IDMxLjUgMzkuMSAzMSAzOS4zIDMwLjZDMzguNiAyNC44IDM2LjQgMjEuNyAzMyAxOC4zQzI5LjUgMTQuOCAyOS44IDEwLjMgMjkuOCAxMC4zSDI2LjhDMjYuMyAxMyAyNy44IDE2LjYgMjkuOCAxOS41QzMxLjggMjIuNCAzMi44IDIzIDM1LjggMjYuNUMzNy40IDI4LjQgMzguNSAzMSAzOS4xIDMzLjFWMzJIMzlaIgogICAgICAgICAgICAgIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNMjguOTk5OSA1Ny42QzIzLjk5OTkgNTIuMSAyMi40OTk5IDUxLjEgMTkuOTk5OSA0Ni43QzE3LjQ5OTkgNDIuMiAxNi4zOTk5IDM0LjIgMTYuMzk5OSAzNC4yTDE2LjE5OTkgMzguN0MxNi4xOTk5IDM4LjcgMTUuODk5OSA0Ni42IDE4LjU5OTkgNTEuMkMyMS41OTk5IDU2LjIgMjUuMDk5OSA1OS42IDI2Ljc5OTkgNjEuOUMyNy42OTk5IDYzIDI4LjM5OTkgNjQuMyAyOC45OTk5IDY2VjU3LjZaIgogICAgICAgICAgICAgIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNNzMgMzBINDNDNDEuOSAzMCA0MSAzMC45IDQxIDMyVjQ0SDU1QzU3LjIgNDQgNTkgNDUuOCA1OSA0OFY3Mkg3NVYzMkM3NSAzMC45IDc0LjEgMzAgNzMgMzBaIgogICAgICAgICAgICAgIGZpbGw9IiNlN2U5ZWEiLz4KICAgICAgICA8cGF0aCBkPSJNNDkgNDBINDNWNDRINDlWNDBaIiBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTU3IDQwSDUxVjQ0SDU3VjQwWiIgZmlsbD0iI2Q0ZDdkOSIvPgogICAgICAgIDxwYXRoIGQ9Ik02NSA0MEg1OVY0NEg2NVY0MFoiIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNNDkgMzJINDNWMzZINDlWMzJaIiBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTU3IDMySDUxVjM2SDU3VjMyWiIgZmlsbD0iI2Q0ZDdkOSIvPgogICAgICAgIDxwYXRoIGQ9Ik02NSAzMkg1OVYzNkg2NVYzMloiIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNNDkgNDhINDNWNTJINDlWNDhaIiBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTU3IDQ4SDUxVjU2SDU3VjQ4WiIgZmlsbD0iI2Q0ZDdkOSIvPgogICAgICAgIDxwYXRoIGQ9Ik02NSA0OEg1OVY1Mkg2NVY0OFoiIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNNzMgNDBINjdWNDRINzNWNDBaIiBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTczIDMySDY3VjM2SDczVjMyWiIgZmlsbD0iI2Q0ZDdkOSIvPgogICAgICAgIDxwYXRoIGQ9Ik03MyA0OEg2N1Y1Mkg3M1Y0OFoiIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNNjUgNTZINTlWNjBINjVWNTZaIiBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTY1IDY0SDU5VjY4SDY1VjY0WiIgZmlsbD0iI2Q0ZDdkOSIvPgogICAgICAgIDxwYXRoIGQ9Ik03MyA1Nkg2N1Y2MEg3M1Y1NloiIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNNzMgNjRINjdWNjhINzNWNjRaIiBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTMxIDQ4QzMxIDQ2LjkgMzEuOSA0NiAzMyA0Nkg1NUM1Ni4xIDQ2IDU3IDQ2LjkgNTcgNDhWNzJIMzFWNDhaIiBmaWxsPSIjZTdlOWVhIi8+CiAgICAgICAgPHBhdGggZD0iTTM5IDU2SDMzVjYwSDM5VjU2WiIgZmlsbD0iI2Q0ZDdkOSIvPgogICAgICAgIDxwYXRoIGQ9Ik00NyA1Nkg0MVY2MEg0N1Y1NloiIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNNTUgNTZINDlWNjBINTVWNTZaIiBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTM5IDQ4SDMzVjUySDM5VjQ4WiIgZmlsbD0iI2Q0ZDdkOSIvPgogICAgICAgIDxwYXRoIGQ9Ik00NyA0OEg0MVY1Mkg0N1Y0OFoiIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNNTUgNDhINDlWNTJINTVWNDhaIiBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTM5IDY0SDMzVjY4SDM5VjY0WiIgZmlsbD0iI2Q0ZDdkOSIvPgogICAgICAgIDxwYXRoIGQ9Ik00NyA2NEg0MVY3Mkg0N1Y2NFoiIGZpbGw9IiNkNGQ3ZDkiLz4KICAgICAgICA8cGF0aCBkPSJNNTUgNjRINDlWNjhINTVWNjRaIiBmaWxsPSIjZDRkN2Q5Ii8+CiAgICAgICAgPHBhdGggZD0iTTg5LjUgNzJIMC41QzAuMiA3MiAwIDcxLjggMCA3MS41QzAgNzEuMiAwLjIgNzEgMC41IDcxSDg5LjZDODkuOSA3MSA5MC4xIDcxLjIgOTAuMSA3MS41QzkwIDcxLjggODkuOCA3MiA4OS41IDcyWiIKICAgICAgICAgICAgICBmaWxsPSIjZDRkN2Q5Ii8+CiAgICA8L2c+CiAgICA8ZGVmcz4KICAgICAgICA8Y2xpcFBhdGggaWQ9ImNsaXAwIj4KICAgICAgICAgICAgPHJlY3Qgd2lkdGg9IjkwIiBoZWlnaHQ9IjcyIiBmaWxsPSIjZmZmIi8+CiAgICAgICAgPC9jbGlwUGF0aD4KICAgIDwvZGVmcz4KPC9zdmc+Cg==";let nB=tm.ZP.div.withConfig({componentId:"sc-ce7a47e1-0"})(["display:flex;align-items:center;justify-content:center;"," "," img{height:auto;&.placeholder{height:50%;width:50%;}}"],nr,ni),nZ=e=>{let{width:t="100%",height:n="auto",className:r}=e;return(0,tf.jsx)(nB,{width:t,height:n,className:tw()(r,"bg-gray-100"),children:(0,tf.jsx)("img",{alt:"",src:nL,className:"placeholder"})})};function nF(){let e=(0,nb._)(["\n  fragment BuildingPhotoView on Office {\n    id\n    name\n    photos {\n      id\n      url\n    }\n  }\n"]);return nF=function(){return e},e}let nz=tm.ZP.div.withConfig({componentId:"sc-5415a32f-0"})(["width:","px;"," overflow:hidden;"],e=>e.width,e=>{let{height:t}=e;return t&&"height: ".concat(t,"px;")}),nU=e=>{var t,n;let{building:r,photo:o,height:i,width:a=240,className:s,imgixParams:l,style:c}=e,u=null!=o?o:null==r?void 0:null===(n=r.photos)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.url;return(0,tf.jsx)(nz,{className:s,width:a,height:i,style:c,children:u?(0,tf.jsx)(nD,{className:"h-full w-full object-cover",src:u,height:i,width:a,imgixParams:l}):(0,tf.jsx)(nZ,{className:"h-full w-full"})})};(0,nS.ZP)(nF());var nH=n(72477);let nq=(0,tm.ZP)(nH.ZP).withConfig({componentId:"sc-ec8cb988-0"})(["&.ant-btn{"," ","}"],nt,nr),nV=tm.ZP.span.withConfig({componentId:"sc-ec8cb988-1"})(["color:",";cursor:pointer;&:focus,&:hover{color:#40a9ff;}&:active{color:#096dd9;}"],e=>e.theme.colors.blue[500]);class nW extends tp.Component{render(){let{children:e,type:t,...n}=this.props;return(0,tf.jsx)(nq,{type:t,...n,children:e})}}nW.Text=nV;var n$=n(63041);let nG=e=>{let{children:t,onClickAway:n}=e,r=(0,tp.useRef)(null);return(0,n$.Z)(r,n),(0,tf.jsx)("div",{ref:r,children:t})};var nK=n(77356),nY=n(6047),nX=n.n(nY);tA().extend(nX());let nQ=e=>{let{className:t,date:n}=e,{t:r}=(0,nK.$G)();return n?(0,tf.jsx)("div",{className:t,children:r("text.created-at","Created: {{at}}",{at:tA()(n).fromNow()})}):null};var nJ=n(8860),n0=n.n(nJ);tA().extend(n0());let n1=e=>{let{startsAt:t,endsAt:n}=e;return t?(0,tf.jsxs)(tf.Fragment,{children:[(0,tf.jsxs)("strong",{children:[tA()(t).format("LL"),", "]}),tA()(t).format("LT"),n&&" -\n        ".concat(tA()(n).format("LT"))]}):null};var n2=n(59057),n3=n.n(n2),n4=n(56321),n5=!!("undefined"!=typeof window&&window.document&&window.document.createElement),n6=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function n8(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function n7(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function n9(e,t){if("function"!=typeof t&&null!==t)throw 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)}var re=function(e){function t(){return n8(this,t),n7(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return n9(t,e),n6(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return n5?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),n4.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(tp.Component);re.propTypes={children:tj().node.isRequired,node:tj().any};var rt=re,rn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function rr(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function ro(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function ri(e,t){if("function"!=typeof t&&null!==t)throw 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)}var ra=function(e){function t(){return rr(this,t),ro(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ri(t,e),rn(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){n4.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=tp.cloneElement(this.props.children)),this.portal=n4.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(tp.Component),rs=ra;ra.propTypes={children:tj().node.isRequired,node:tj().any};var rl=void 0,rc=rl=n4.createPortal?rt:rs,ru=n(72755),rd=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")};function rf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var rp=function(e,t,n){return t&&rf(e.prototype,t),n&&rf(e,n),e},rh=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e};function rm(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return rg(e,null==t?n.path:t)}},n.exports),n.exports}function rg(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var rv=rm(function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(n,r)}e.exports=t}),ry=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)},rb=rm(function(e){function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t}),rw=function(e,t){return t&&("object"===rb(t)||"function"==typeof t)?t:rh(e)},rS=rm(function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t}),rx=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},rE="prev",rC="next",r_="forwards",rk="backwards",rO=37,rA=39,rI=27,rP=58,rT=50,rR=8,rM=1,rN="rgba(0,0,0,1)",rj="rgba(255,255,255,1)",rD="rgba(1,1,1,1)",rL=2e3,rB={photo:void 0,number:void 0,caption:void 0,subcaption:void 0,thumbnail:void 0},rZ=tj().oneOf([r_,rk]),rF=tj().shape({photo:tj().string.isRequired,number:tj().number,caption:tj().string,subcaption:tj().string,thumbnail:tj().string}),rz=tj().oneOfType([tj().string.isRequired,tj().arrayOf(tj().string.isRequired),tj().arrayOf(rF)]),rU={noPhotosProvided:"No photos to show",showPhotoList:"Show photo list",hidePhotoList:"Hide photo list"};function rH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rH(Object(n),!0).forEach(function(t){rx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rV(){return Object.keys(rV).reduce(function(e,t){return rq(rq({},e),{},rx({},t,tj().oneOfType([tj().string,tj().func,tj().node])))},{})}var rW=(0,ru.forbidExtraProps)({activePhotoIndex:ru.nonNegativeInteger,activePhotoPressed:tj().func,direction:rZ,nextButtonPressed:tj().func,prevButtonPressed:tj().func,showThumbnails:tj().bool,photos:rz,preloadSize:ru.nonNegativeInteger,wrap:tj().bool,phrases:tj().shape(rV()),light:tj().bool,backgroundColor:tj().string}),r$=function(){},rG={activePhotoIndex:0,activePhotoPressed:r$,direction:r_,nextButtonPressed:r$,prevButtonPressed:r$,showThumbnails:!0,photos:[],preloadSize:5,wrap:!1,phrases:rU,light:!1,backgroundColor:rN},rK=(0,ru.forbidExtraProps)({onLoad:tj().func,onError:tj().func}),rY={onLoad:r$,onError:r$},rX=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},rQ=function(e,t){if(null==e)return{};var n,r,o=rX(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},rJ=(0,ru.forbidExtraProps)({show:tj().bool}),r0={show:!0},r1=function(e){return e.show&&tp.createElement("div",{className:"loading-spinner"})};function r2(e){var t=r3();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function r3(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function r4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r5(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r4(Object(n),!0).forEach(function(t){rx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r4(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}r1.propTypes=rJ,r1.defaultProps=r0;var r6=(0,ru.forbidExtraProps)(r5(r5({},rK),{},{alt:tj().string.isRequired,src:tj().string.isRequired,style:tj().object,className:tj().oneOfType([tj().string,tj().array])})),r8=r5(r5({},rY),{},{style:null,className:null,alt:""}),r7={loading:!0,withError:!1},r9=function(e){ry(n,e);var t=r2(n);function n(e){rd(this,n),r=t.call(this,e);var r,o=e.src;return r.state=r5({currentSrc:o},r7),r.onLoad=r.onLoad.bind(rh(r)),r.onError=r.onError.bind(rh(r)),r}return rp(n,[{key:"onLoad",value:function(){(0,this.props.onLoad)(),this.setState({loading:!1,withError:!1})}},{key:"onError",value:function(){(0,this.props.onError)(),this.setState({loading:!1,withError:!0})}},{key:"renderImage",value:function(){var e=this.props,t=e.alt,n=e.src,r=e.style,o=e.className,i=this.state,a=i.loading,s=i.withError,l=[o,"media-image"],c=[];return a&&c.push(tp.createElement(r1,{key:".pictureLoadingSpinner"})),s||c.push(tp.createElement("img",{alt:t,key:".pictureComponent",className:tw()(l),onLoad:this.onLoad,onError:this.onError,src:n,style:r})),c}},{key:"render",value:function(){var e=["picture",this.state.loading&&"loading"],t=this.renderImage();return tp.createElement("div",{className:tw()(e)},t)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.src;return n!==t.currentSrc?r5({currentSrc:n},r7):null}}]),n}(tp.Component);function oe(e){var t=ot();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function ot(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function on(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function or(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(Object(n),!0).forEach(function(t){rx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}r9.propTypes=r6,r9.defaultProps=r8;var oo=(0,ru.forbidExtraProps)(or(or({},rK),{},{photo:rF,onPress:tj().func,onTouchStart:tj().func,onTouchMove:tj().func,onTouchEnd:tj().func})),oi=or(or({},rY),{},{photo:null,onPress:r$,onTouchStart:r$,onTouchMove:r$,onTouchEnd:r$}),oa=function(e){ry(n,e);var t=oe(n);function n(e){var r;return rd(this,n),(r=t.call(this,e)).onPress=r.onPress.bind(rh(r)),r}return rp(n,[{key:"onPress",value:function(){(0,this.props.onPress)()}},{key:"renderPhoto",value:function(){var e=this.props,t=e.photo,n=e.onTouchStart,r=e.onTouchMove,o=e.onTouchEnd,i=rQ(e,["photo","onTouchStart","onTouchMove","onTouchEnd"]);if(!t)return null;var a=tx()(i,["onPress"]),s=a.onLoad,l=a.onError,c=a.style;return tp.createElement("button",{type:"button",onClick:this.onPress,className:"photo-button",onTouchStart:n,onTouchMove:r,onTouchEnd:o},tp.createElement(r9,{alt:t.caption||"",className:"photo",src:t.photo,onLoad:s,onError:l,style:c}))}},{key:"render",value:function(){var e=tw()("gallery-media-photo","gallery-media-photo--block","gallery-media-cover"),t=this.renderPhoto();return tp.createElement("ul",{className:"gallery-images--ul"},tp.createElement("li",{className:e},t))}}]),n}(tp.PureComponent);function os(e){var t=ol();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function ol(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}oa.propTypes=oo,oa.defaultProps=oi;var oc={width:rP,height:rT},ou=(0,ru.forbidExtraProps)({active:tj().bool,photo:rF,onPress:tj().func,number:ru.nonNegativeInteger}),od={active:!1,photo:null,onPress:r$,number:0},of=function(e){ry(n,e);var t=os(n);function n(){return rd(this,n),t.apply(this,arguments)}return rp(n,[{key:"render",value:function(){var e=this.props,t=e.active,n=e.photo,r=e.onPress,o=e.number,i=tw()("thumbnail-button",t&&"active");return tp.createElement("button",{type:"button","aria-label":n.caption,className:i,"data-photo-index":o,onClick:r,disabled:!1},tp.createElement(r9,{alt:n.caption,src:n.thumbnail||n.photo,className:"thumbnail",style:oc}))}}]),n}(tp.PureComponent);function op(e){var t=oh();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function oh(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}of.propTypes=ou,of.defaultProps=od;var om=(0,ru.forbidExtraProps)({isOpened:tj().bool,onPress:tj().func,phrases:tj().shape(rV())}),og={isOpened:!0,onPress:r$,phrases:rU},ov=function(e){ry(n,e);var t=op(n);function n(){return rd(this,n),t.apply(this,arguments)}return rp(n,[{key:"render",value:function(){var e=this.props,t=e.isOpened,n=e.onPress,r=e.phrases,o=r.showPhotoList,i=r.hidePhotoList,a=t?i:o,s=tw()("gallery-thumbnails--toggle",t?"hide":"open");return tp.createElement("button",{type:"button",className:s,onClick:n},a)}}]),n}(tp.PureComponent);function oy(e){return rP*e+(rR*e-rR)}function ob(e,t,n){var r=n.width/2-rP/2,o=e*rP+e*rR-r,i=0;return o<0?i:-Math.abs(i=t-(e+1)<Math.round(n.width/(rP+rR)/2)?oy(t)-n.width:o)}function ow(e){var t=oS();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function oS(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}ov.propTypes=om,ov.defaultProps=og;var ox=(0,ru.forbidExtraProps)({showThumbnails:tj().bool,current:ru.nonNegativeInteger,photos:rz,onPress:tj().func,phrases:tj().shape(rV())}),oE={showThumbnails:!0,current:0,photos:[],onPress:r$,phrases:rU},oC=function(e){ry(n,e);var t=ow(n);function n(e){rd(this,n);var r,o=(r=t.call(this,e)).props,i=o.showThumbnails,a=o.photos;return r.state={showThumbnails:i},r.thumbnailsWrapperRef=null,r.thumbnailsListRef=null,r.hasMoreThanOnePhoto=a.length>1,r.onThumbnailPress=r.onThumbnailPress.bind(rh(r)),r.setGalleryFigcaptionRef=r.setGalleryFigcaptionRef.bind(rh(r)),r.setGalleryThubmanilsRef=r.setGalleryThubmanilsRef.bind(rh(r)),r.toggleThumbnails=r.toggleThumbnails.bind(rh(r)),r}return rp(n,[{key:"componentDidUpdate",value:function(e){var t=this.props.current;t!==e.current&&this.setThumbnailsWrapperScrollLeft(t)}},{key:"onThumbnailPress",value:function(e){var t=this.props,n=t.onPress,r=t.photos,o=parseInt(e.currentTarget.dataset.photoIndex,10);o>=0&&o<=r.length-1&&n(o)}},{key:"setThumbnailsWrapperScrollLeft",value:function(e){var t=this.props.photos,n=this.thumbnailsWrapperRef.getBoundingClientRect(),r=ob(e,t.length,n);this.thumbnailsListRef.style.marginLeft="".concat(r,"px")}},{key:"getPhotoByIndex",value:function(e){return this.props.photos[e]}},{key:"setGalleryFigcaptionRef",value:function(e){this.thumbnailsWrapperRef=e}},{key:"setGalleryThubmanilsRef",value:function(e){this.thumbnailsListRef=e}},{key:"toggleThumbnails",value:function(){this.setState(function(e){return{showThumbnails:!e.showThumbnails}})}},{key:"renderThumbnail",value:function(e,t,n){var r=this.props.current;return tp.createElement(of,{active:t===r,photo:e,onPress:n,number:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.current,r=t.photos,o=t.phrases,i=this.state.showThumbnails,a=tw()("gallery-figcaption",!i&&"hide"),s=this.getPhotoByIndex(n),l=oy(r.length);return tp.createElement("figcaption",{className:a},tp.createElement("div",{className:"gallery-figcaption--content"},tp.createElement("div",{className:"gallery-figcaption--inner"},tp.createElement("div",{className:"gallery-figcaption--info"},tp.createElement("div",{className:"caption-left"},s.caption&&tp.createElement("h3",{className:"photo-caption"},s.caption),s.subcaption&&tp.createElement("p",{className:"photo-subcaption"},s.subcaption)),this.hasMoreThanOnePhoto&&tp.createElement("div",{className:"caption-right"},tp.createElement(ov,{phrases:o,isOpened:i,onPress:this.toggleThumbnails}))),this.hasMoreThanOnePhoto&&tp.createElement("div",{className:"gallery-figcaption--thumbnails","aria-hidden":!1,ref:this.setGalleryFigcaptionRef},tp.createElement("div",{className:"caption-thumbnails",style:{width:l}},tp.createElement("ul",{className:"thumbnails-list",ref:this.setGalleryThubmanilsRef},r.map(function(t,n){return tp.createElement("li",{key:t.photo},e.renderThumbnail(t,n,e.onThumbnailPress))})))))))}}]),n}(tp.PureComponent);function o_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ok(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o_(Object(n),!0).forEach(function(t){rx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oO(e){var t=oA();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function oA(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}oC.propTypes=ox,oC.defaultProps=oE;var oI={height:"2.8em",width:"2.8em",fill:rj},oP={fill:rD},oT=(0,ru.forbidExtraProps)({arrow:tj().string,onPress:tj().func,label:tj().string,className:tj().string,disabled:tj().bool,light:tj().bool}),oR={arrow:null,onPress:r$,label:"",className:null,disabled:!1,light:!1},oM=function(e){ry(n,e);var t=oO(n);function n(e){var r;return rd(this,n),(r=t.call(this,e)).onButtonPress=r.onButtonPress.bind(rh(r)),r}return rp(n,[{key:"onButtonPress",value:function(){return(0,this.props.onPress)(),!1}},{key:"render",value:function(){var e=this.props,t=e.arrow,n=e.label,r=e.className,o=e.disabled,i=e.light;return tp.createElement("button",{type:"button",className:tw()("gallery-control",r),onClick:this.onButtonPress,disabled:o,"aria-label":n},tp.createElement("svg",{viewBox:"0 0 18 18",role:"presentation",focusable:"false","aria-hidden":"true",style:ok(ok({},oI),i&&oP)},tp.createElement("path",{d:t,fillRule:"evenodd"})))}}]),n}(tp.PureComponent);function oN(e){var t=oj();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function oj(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}oM.propTypes=oT,oM.defaultProps=oR;var oD="m13.7 16.29a1 1 0 1 1 -1.42 1.41l-8-8a1 1 0 0 1 0-1.41l8-8a1 1 0 1 1 1.42 1.41l-7.29 7.29z",oL=(0,ru.forbidExtraProps)({onPress:tj().func,disabled:tj().bool,light:tj().bool}),oB={onPress:r$,disabled:!1,light:!1},oZ=function(e){ry(n,e);var t=oN(n);function n(){return rd(this,n),t.apply(this,arguments)}return rp(n,[{key:"render",value:function(){var e=this.props,t=e.onPress,n=e.disabled,r=e.light;return tp.createElement(oM,{className:"gallery-control--prev",onPress:t,arrow:oD,disabled:n,light:r})}}]),n}(tp.PureComponent);function oF(e){var t=oz();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function oz(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}oZ.propTypes=oL,oZ.defaultProps=oB;var oU="m4.29 1.71a1 1 0 1 1 1.42-1.41l8 8a1 1 0 0 1 0 1.41l-8 8a1 1 0 1 1 -1.42-1.41l7.29-7.29z",oH=(0,ru.forbidExtraProps)({onPress:tj().func,disabled:tj().bool,light:tj().bool}),oq={onPress:r$,disabled:!1,light:!1},oV=function(e){ry(n,e);var t=oF(n);function n(){return rd(this,n),t.apply(this,arguments)}return rp(n,[{key:"render",value:function(){var e=this.props,t=e.onPress,n=e.disabled,r=e.light;return tp.createElement(oM,{className:"gallery-control--next",onPress:t,arrow:oU,disabled:n,light:r})}}]),n}(tp.PureComponent);function oW(e){var t=o$();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function o$(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function oG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oK(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oG(Object(n),!0).forEach(function(t){rx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}oV.propTypes=oH,oV.defaultProps=oq;var oY=oK({},rW),oX=oK({},rG),oQ=function(e){ry(n,e);var t=oW(n);function n(e){rd(this,n);var r,o=(r=t.call(this,e)).props,i=o.activePhotoIndex,a=o.photos,s=o.wrap;return r.state={activePhotoIndex:i,hidePrevButton:s&&0===i,hideNextButton:s&&i===a.length-1,controlsDisabled:!0,touchStartInfo:null,touchEndInfo:null,touchMoved:!1},r.lastPreloadIndex=0,r.preloadedPhotos=[],r.hasPhotos=a.length>0,r.hasMoreThanOnePhoto=a.length>1,r.move=r.move.bind(rh(r)),r.prev=r.prev.bind(rh(r)),r.next=r.next.bind(rh(r)),r.onPhotoLoad=r.onPhotoLoad.bind(rh(r)),r.onPhotoError=r.onPhotoError.bind(rh(r)),r.onPhotoPress=r.onPhotoPress.bind(rh(r)),r.onTouchStart=r.onTouchStart.bind(rh(r)),r.onTouchMove=r.onTouchMove.bind(rh(r)),r.onTouchEnd=r.onTouchEnd.bind(rh(r)),r.onThumbnailPress=r.onThumbnailPress.bind(rh(r)),r.onPrevButtonPress=r.onPrevButtonPress.bind(rh(r)),r.onNextButtonPress=r.onNextButtonPress.bind(rh(r)),r}return rp(n,[{key:"onNextButtonPress",value:function(){var e=this.props.nextButtonPressed;this.next(),e()}},{key:"onPrevButtonPress",value:function(){var e=this.props.prevButtonPressed;this.prev(),e()}},{key:"onPhotoLoad",value:function(){return this.setState({controlsDisabled:!1})}},{key:"onPhotoError",value:function(){return this.setState({controlsDisabled:!1})}},{key:"onPhotoPress",value:function(){var e=this.props.activePhotoPressed;this.move(rC),e()}},{key:"onTouchStart",value:function(e){this.setState({touchStartInfo:e.targetTouches[0]})}},{key:"onTouchMove",value:function(e){this.setState({touchMoved:!0,touchEndInfo:e.targetTouches[0]})}},{key:"onTouchEnd",value:function(){var e=this.state,t=e.touchStartInfo,n=e.touchEndInfo;e.touchMoved&&(t.screenX<n.screenX?this.onPrevButtonPress():t.screenX>n.screenX&&this.onNextButtonPress()),this.setState({touchMoved:!1})}},{key:"onThumbnailPress",value:function(e){this.to(e)}},{key:"getPhotoByIndex",value:function(e){return this.props.photos[e]}},{key:"getItemByDirection",value:function(e,t){var n=this.props,r=n.photos,o=n.wrap,i=e===rC,a=e===rE,s=r.length-1;if((a&&0===t||i&&t===s)&&o)return t;var l=(t+(a?-1:1))%r.length;return -1===l?r.length-1:l}},{key:"getStyles",value:function(){return{backgroundColor:this.props.backgroundColor}}},{key:"prev",value:function(){return this.move(rE)}},{key:"next",value:function(){return this.move(rC)}},{key:"move",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.state.activePhotoIndex,r=!1!==t?t:this.getItemByDirection(e,n);this.wrapCheck(e,r),this.setState({activePhotoIndex:r})}},{key:"to",value:function(e){var t=this.props.photos,n=this.state.activePhotoIndex;if(!(e>t.length-1)&&!(e<0)&&n!==e){var r=e>n?rC:rE;this.move(r,e)}}},{key:"wrapCheck",value:function(e,t){var n=this.props,r=n.photos;n.wrap&&this.setState({hideNextButton:t===r.length-1,hidePrevButton:0===t})}},{key:"renderControls",value:function(){var e=this.props.light,t=this.state,n=t.hidePrevButton,r=t.hideNextButton,o=t.controlsDisabled,i=[];return this.hasMoreThanOnePhoto&&(n||i.push(tp.createElement(oZ,{key:".prevControl",disabled:o,onPress:this.onPrevButtonPress,light:e})),r||i.push(tp.createElement(oV,{key:".nextControl",disabled:o,onPress:this.onNextButtonPress,light:e}))),i}},{key:"renderPreloadPhotos",value:function(e){for(var t=this.props,n=t.photos,r=t.preloadSize,o=1,i=e,a=null,s=[];i<n.length&&o<=r;)a=n[i],s.push(tp.createElement("img",{key:a.photo,alt:a.photo,src:a.photo})),i+=1,o+=1}},{key:"render",value:function(){var e=this.props,t=e.photos,n=e.showThumbnails,r=e.phrases,o=r.noPhotosProvided,i=this.state.activePhotoIndex,a=this.renderPreloadPhotos(i),s=this.renderControls(),l=this.getPhotoByIndex(i),c=this.getStyles();return tp.createElement("div",{className:"gallery",style:c},tp.createElement("div",{className:"gallery-modal--preload"},a),tp.createElement("div",{className:"gallery-main"},s,tp.createElement("div",{className:"gallery-photos"},this.hasPhotos?tp.createElement("div",{className:"gallery-photo"},tp.createElement("div",{className:"gallery-photo--current"},tp.createElement(oa,{photo:l,onLoad:this.onPhotoLoad,onError:this.onPhotoError,onPress:this.onPhotoPress,onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd}))):tp.createElement("div",{className:"gallery-empty"},o))),n&&l&&tp.createElement(oC,{phrases:r,current:i,photos:t,onPress:this.onThumbnailPress}))}}]),n}(tp.PureComponent);function oJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oJ(Object(n),!0).forEach(function(t){rx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}oQ.propTypes=oY,oQ.defaultProps=oX;var o1="m23.25 24c-.19 0-.38-.07-.53-.22l-10.72-10.72-10.72 10.72c-.29.29-.77.29-1.06 0s-.29-.77 0-1.06l10.72-10.72-10.72-10.72c-.29-.29-.29-.77 0-1.06s.77-.29 1.06 0l10.72 10.72 10.72-10.72c.29-.29.77-.29 1.06 0s .29.77 0 1.06l-10.72 10.72 10.72 10.72c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22",o2={height:"2em",width:"2em",display:"block",fill:rj},o3={fill:rD},o4=(0,ru.forbidExtraProps)({onPress:tj().func,light:tj().bool}),o5={onPress:r$,light:!1},o6=function(e){var t=e.onPress,n=e.light;return tp.createElement("button",{onClick:t,className:"gallery-close",type:"button","aria-busy":!1},tp.createElement("svg",{viewBox:"0 0 24 24",role:"img",focusable:"false",style:o0(o0({},o2),n&&o3)},tp.createElement("path",{d:o1,fillRule:"evenodd"})))};o6.propTypes=o4,o6.defaultProps=o5;var o8=0,o7=1;function o9(e,t){if(e[t]<o8||e[t]>o7)return Error("Invalid value for opacity")}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach(function(t){rx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ir(e,t){var n="string"==typeof e?{number:t+1,photo:e}:it(it({},e),{},{number:t+1});return it(it({},rB),n)}function io(e){return("[object Array]"===Object.prototype.toString.call(e)?e:[e]).map(ir)}function ii(e){var t=ia();return function(){var n,r=rS(e);return n=t?Reflect.construct(r,arguments,rS(this).constructor):r.apply(this,arguments),rw(this,n)}}function ia(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function is(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function il(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?is(Object(n),!0).forEach(function(t){rx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):is(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ic=(0,ru.forbidExtraProps)(il(il({},rW),{},{leftKeyPressed:tj().func,onClose:tj().func,rightKeyPressed:tj().func,show:tj().bool,keyboard:tj().bool,opacity:o9,zIndex:ru.nonNegativeInteger})),iu=il(il({},rG),{},{leftKeyPressed:r$,onClose:r$,rightKeyPressed:r$,show:!1,keyboard:!0,opacity:rM,zIndex:rL}),id=function(e){ry(n,e);var t=ii(n);function n(e){var r;return rd(this,n),(r=t.call(this,e)).state={photos:null},r.gallery=tp.createRef(),r.close=r.close.bind(rh(r)),r.onKeyDown=r.onKeyDown.bind(rh(r)),r}return rp(n,[{key:"onKeyDown",value:function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case rI:e.preventDefault(),this.close();break;case rO:e.preventDefault(),this.gallery.current.prev();break;case rA:e.preventDefault(),this.gallery.current.next()}}},{key:"getModalOverlayStyles",value:function(){var e=this.props;return{opacity:e.opacity,backgroundColor:e.backgroundColor}}},{key:"close",value:function(){(0,this.props.onClose)()}},{key:"render",value:function(){var e=this.props,t=e.show,n=e.phrases,r=e.keyboard,o=e.light,i=e.zIndex,a=this.state.photos;if(!t)return null;var s=tx()(this.props,["onClose","leftKeyPressed","rightKeyPressed","show","photos","opacity","backgroundColor","zIndex","keyboard"]),l=s.wrap,c=s.activePhotoIndex,u=s.activePhotoPressed,d=s.direction,f=s.nextButtonPressed,p=s.prevButtonPressed,h=s.showThumbnails,m=s.preloadSize,g=this.getModalOverlayStyles(),v={zIndex:i};return tp.createElement(rc,null,tp.createElement(n3(),null,tp.createElement("div",{className:tw()(["gallery-modal",o&&"mode-light"]),onKeyDown:r&&this.onKeyDown,tabIndex:"-1",role:"dialog",style:v},tp.createElement("div",{style:g,className:"gallery-modal--overlay"}),tp.createElement("div",{className:"gallery-modal--container"},tp.createElement("div",{className:"gallery-modal--table"},tp.createElement("div",{className:"gallery-modal--cell"},tp.createElement("div",{className:"gallery-modal--content"},tp.createElement("div",{className:"gallery-modal--close"},tp.createElement(o6,{onPress:this.close,light:o})),tp.createElement("div",{className:"gallery-content"},tp.createElement("div",{className:"gallery-top"},tp.createElement("div",{className:"gallery-top--inner"})),tp.createElement(oQ,{phrases:n,ref:this.gallery,photos:a,wrap:l,activePhotoIndex:c,activePhotoPressed:u,direction:d,nextButtonPressed:f,prevButtonPressed:p,showThumbnails:h,preloadSize:m,backgroundColor:null,light:o})))))))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.photos!==t.photos?{photos:io(e.photos)}:null}}]),n}(tp.Component);id.propTypes=ic,id.defaultProps=iu;var ip=id,ih=n(71607),im=n.n(ih);let ig=e=>{let{images:t,children:n,onImageViewed:r=im()}=e,[o,i]=(0,tp.useState)(null);(0,tp.useEffect)(()=>{null!==o&&r(t[o],o)},[t,o,r]);let a=()=>i(e=>(null!=e?e:0)+1),s=()=>i(0),l=()=>i(null);return(0,tf.jsxs)(tf.Fragment,{children:[n({open:s}),(0,tf.jsx)(ip,{photos:t,nextButtonPressed:a,show:Number.isFinite(o),onClose:l})]})};var iv=n(15401),iy=n.n(iv),ib=n(1084);let iw=e=>{let{className:t,children:n,target:r,href:o,onClick:i,...a}=e;if(!o)return null;let s=o.toString().startsWith("http"),l=(0,tf.jsxs)(tf.Fragment,{children:["_blank"===r&&(0,tf.jsx)(ib.r,{className:"mr-[2px] inline"}),n]});return s?(0,tf.jsx)("a",{href:o.toString(),className:t,target:r,onClick:i,rel:"noopener noreferrer",children:l}):(0,tf.jsx)(iy(),{className:t,onClick:i,href:o,target:r,...a,children:l})};function iS(){let e=(0,nb._)(["\n  fragment MonthlyQuotingRateView on MonthlyQuotingRateCondition {\n    id\n    isRange\n    from\n    to\n    unit\n    currency\n  }\n"]);return iS=function(){return e},e}let ix=e=>{let{monthlyQuotingRate:t,icon:n,className:r}=e,o=(0,tp.useMemo)(()=>(0,tv.w9)(t),[t]);return o?(0,tf.jsxs)("div",{className:tw()(r,{"flex items-center gap-2":!!n}),children:[n&&(0,tf.jsx)("span",{children:n}),o]}):null};(0,nS.ZP)(iS()),n(2149),tm.ZP.div.withConfig({componentId:"sc-7c2c88cf-0"})(["color:",";padding-bottom:",";font-size:",";"],e=>e.theme.colors.gray[700],e=>e.theme.spacing[1],e=>e.theme.fontSize.xs);var iE=n(97326);let iC=e=>{let{currency:t,showCurrency:n,...r}=e;return(0,tf.jsx)(iE.Z,{precision:2,formatter:e=>(0,tv.T4)(e,n?t:void 0,0),parser:n?e=>(0,tv.z)(e,t):void 0,...r})};var i_=n(48472),ik=n(21800);let iO=e=>{let{lat:t,lng:n,draggable:r,onDragEnd:o,icon:i,options:a}=e,s={lat:t,lng:n};return(0,tf.jsx)(i_.b6,{mapContainerStyle:{height:"100%"},zoom:15,center:s,options:{...a,...ik.Kd},children:(0,tf.jsx)(i_.jC,{position:s,icon:i,draggable:r,onDragEnd:o})})};function iA(){let e=(0,nb._)(["\n  fragment SpaceVisibilityView on OfficeSuite {\n    isPublic\n  }\n"]);return iA=function(){return e},e}let iI=e=>{let{space:t}=e;return(null==t?void 0:t.isPublic)?null:(0,tf.jsx)(iG,{})};(0,nS.ZP)(iA());var iP=n(46665);(0,tm.ZP)(iP.Z).withConfig({componentId:"sc-6997f793-0"})(["top:",";.ant-modal-content{border-radius:",";overflow:hidden;}.ant-modal-close-x{display:flex;justify-content:center;align-items:center;}.ant-modal-body{padding:0;}.ant-modal-header{padding:",";}.ant-modal-title{font-size:",";margin-top:2px;}.ant-modal-footer{padding:",";}.ant-form-item{margin-bottom:10px;}.ant-form-item-label > label{font-weight:bold;}"],e=>e.theme.spacing[8],e=>e.theme.borderRadius.Default,e=>"".concat(e.theme.spacing[4]," ").concat(e.theme.spacing[8]),e=>"".concat(e.theme.fontSize.lg[0]),e=>"".concat(e.theme.spacing[4]," ").concat(e.theme.spacing[6]));var iT=n(40916),iR=n.n(iT),iM=n(13185),iN=n(84602),ij=n.n(iN),iD=n(6554),iL=n.n(iD);let iB=e=>{let{name:t}=e,[r,o]=(0,tp.useState)(null);return(0,tp.useEffect)(()=>{n(13610)("./".concat(ij()(iL()(t)),".svg")).then(e=>o(e.default)).catch(()=>console.error("Missing icon for ".concat(t)))},[t]),r?(0,tf.jsx)("img",{className:"h-4 w-auto",src:r,alt:""}):(0,tf.jsx)(tf.Fragment,{children:t})};var iZ=n(52629);function iF(){let e=(0,nb._)(["\n  fragment TransportOptionView on Transport {\n    id\n    type\n    name\n    lines\n    duration {\n      text\n      value\n    }\n    distance {\n      text\n      value\n    }\n  }\n"]);return iF=function(){return e},e}let iz=e=>{var t,n;let{option:r}=e,{t:o}=(0,tC.$G)(),i=r.lines,a=null==i?void 0:i.length,s=r.type===tg.He.TransitStation,l=r.type===tg.He.TrainStation;return(0,tf.jsxs)(nw.Z,{span:8,children:[(0,tf.jsx)("div",{className:"font-semibold",children:r.name}),(0,tf.jsxs)("div",{children:[null===(t=r.distance)||void 0===t?void 0:t.text,","," ",(0,tf.jsx)("span",{className:"text-gray-600",children:o("transport:walk","{{duration}} walk",{duration:null===(n=r.duration)||void 0===n?void 0:n.text})})]}),a||s||l?(0,tf.jsxs)(tT.Z,{align:"middle",gutter:8,children:[s||l?(0,tf.jsx)(nw.Z,{children:(0,tf.jsx)(iM.Z,{title:o("train-station","Train station"),children:(0,tf.jsx)("img",{src:iZ.default,alt:"",className:"h-4 w-auto"})})}):null,a&&(null==i?void 0:i.map(e=>(0,tf.jsx)(nw.Z,{children:(0,tf.jsx)(iM.Z,{title:e,children:(0,tf.jsx)("span",{children:(0,tf.jsx)(iB,{name:e})})})},e)))]}):null]})};(0,nS.ZP)(iF());let iU=e=>{let{transport:t=[],className:n,maxCount:r}=e,{t:o}=(0,tC.$G)();if(0===t.length)return null;let i=iR()(t,[e=>{var t;return null===(t=e.distance)||void 0===t?void 0:t.value},e=>{var t;return null===(t=e.duration)||void 0===t?void 0:t.value}],[nA.KM.ASC,nA.KM.ASC]).slice(0,r);return(0,tf.jsxs)("div",{className:n,children:[(0,tf.jsx)("div",{className:"mb-2 text-base font-semibold",children:o("transport","Transport")}),(0,tf.jsx)(tT.Z,{gutter:[24,16],children:null==i?void 0:i.map(e=>(0,tf.jsx)(iz,{option:e},e.id))})]})};tA().extend(nX());let iH=e=>{let{className:t,date:n,isSuite:r}=e,{t:o}=(0,nK.$G)();if(!n)return null;let i=tA()(n).fromNow();return(0,tf.jsx)("div",{className:t,children:r?i:o("text.last-updated-at","Last updated: {{at}}",{at:i})})};var iq=n(18018),iV=n(83690);function iW(e){let{className:t,children:n,items:r,...o}=e,i=(0,tp.useRef)(null);return(0,tf.jsx)(iV.Z,{children:e=>{let{width:a,height:s}=e;return(0,tf.jsx)("div",{className:tw()(t,"overflow-auto"),style:{width:a,height:s},ref:i,children:(0,tf.jsx)(iq.b,{...o,items:r,viewportRef:i,children:n})})}})}var i$=n(26392);let iG=()=>{let{t:e}=(0,tC.$G)();return(0,tf.jsx)(iM.Z,{title:e("visible-only-company","Building is not public and only visible for internal use"),children:(0,tf.jsx)(i$.Z,{})})};var iK=n(39642),iY=n(9511);let iX=e=>{let{children:t}=e;return(0,tf.jsx)(iY.Fz,{adapter:iK.Mm,children:t})};/*!
  * PhotoSwipe 5.3.7 - https://photoswipe.com
  * (c) 2023 Dmytro Semenov
  */function iQ(e,t,n){let r=document.createElement(t);return e&&(r.className=e),n&&n.appendChild(r),r}function iJ(e,t){return e.x=t.x,e.y=t.y,void 0!==t.id&&(e.id=t.id),e}function i0(e){e.x=Math.round(e.x),e.y=Math.round(e.y)}function i1(e,t){let n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return Math.sqrt(n*n+r*r)}function i2(e,t){return e.x===t.x&&e.y===t.y}function i3(e,t,n){return Math.min(Math.max(e,t),n)}function i4(e,t,n){let r=`translate3d(${e}px,${t||0}px,0)`;return void 0!==n&&(r+=` scale3d(${n},${n},1)`),r}function i5(e,t,n,r){e.style.transform=i4(t,n,r)}let i6="cubic-bezier(.4,0,.22,1)";function i8(e,t,n,r){e.style.transition=t?`${t} ${n}ms ${r||i6}`:"none"}function i7(e,t,n){e.style.width="number"==typeof t?`${t}px`:t,e.style.height="number"==typeof n?`${n}px`:n}function i9(e){i8(e)}function ae(e){return"decode"in e?e.decode().catch(()=>{}):e.complete?Promise.resolve(e):new Promise((t,n)=>{e.onload=()=>t(e),e.onerror=n})}let at={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function an(e){return"button"in e&&1===e.button||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function ar(e,t,n=document){let r=[];if(e instanceof Element)r=[e];else if(e instanceof NodeList||Array.isArray(e))r=Array.from(e);else{let o="string"==typeof e?e:t;o&&(r=Array.from(n.querySelectorAll(o)))}return r}function ao(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}let ai=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>{ai=!0}}))}catch(e){}class aa{constructor(){this._pool=[]}add(e,t,n,r){this._toggleListener(e,t,n,r)}remove(e,t,n,r){this._toggleListener(e,t,n,r,!0)}removeAll(){this._pool.forEach(e=>{this._toggleListener(e.target,e.type,e.listener,e.passive,!0,!0)}),this._pool=[]}_toggleListener(e,t,n,r,o,i){if(!e)return;let a=o?"removeEventListener":"addEventListener";t.split(" ").forEach(t=>{if(t){i||(o?this._pool=this._pool.filter(r=>r.type!==t||r.listener!==n||r.target!==e):this._pool.push({target:e,type:t,listener:n,passive:r}));let s=!!ai&&{passive:r||!1};e[a](t,n,s)}})}}function as(e,t){if(e.getViewportSizeFn){let n=e.getViewportSizeFn(e,t);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function al(e,t,n,r,o){let i=0;if(t.paddingFn)i=t.paddingFn(n,r,o)[e];else if(t.padding)i=t.padding[e];else{let n="padding"+e[0].toUpperCase()+e.slice(1);t[n]&&(i=t[n])}return Number(i)||0}function ac(e,t,n,r){return{x:t.x-al("left",e,t,n,r)-al("right",e,t,n,r),y:t.y-al("top",e,t,n,r)-al("bottom",e,t,n,r)}}class au{constructor(e){this.slide=e,this.currZoomLevel=1,this.center={x:0,y:0},this.max={x:0,y:0},this.min={x:0,y:0}}update(e){this.currZoomLevel=e,this.slide.width?(this._updateAxis("x"),this._updateAxis("y"),this.slide.pswp.dispatch("calcBounds",{slide:this.slide})):this.reset()}_updateAxis(e){let{pswp:t}=this.slide,n=this.slide["x"===e?"width":"height"]*this.currZoomLevel,r=al("x"===e?"left":"top",t.options,t.viewportSize,this.slide.data,this.slide.index),o=this.slide.panAreaSize[e];this.center[e]=Math.round((o-n)/2)+r,this.max[e]=n>o?Math.round(o-n)+r:this.center[e],this.min[e]=n>o?r:this.center[e]}reset(){this.center.x=0,this.center.y=0,this.max.x=0,this.max.y=0,this.min.x=0,this.min.y=0}correctPan(e,t){return i3(t,this.max[e],this.min[e])}}let ad=4e3;class af{constructor(e,t,n,r){this.pswp=r,this.options=e,this.itemData=t,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,t,n){let r={x:e,y:t};this.elementSize=r,this.panAreaSize=n;let o=n.x/r.x,i=n.y/r.y;this.fit=Math.min(1,o<i?o:i),this.fill=Math.min(1,o>i?o:i),this.vFill=Math.min(1,i),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){let t=e+"ZoomLevel",n=this.options[t];return n?"function"==typeof n?n(this):"fill"===n?this.fill:"fit"===n?this.fit:Number(n):void 0}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,3*this.fit),this.elementSize&&e*this.elementSize.x>ad&&(e=ad/this.elementSize.x)),e}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,4*this.fit)}}class ap{constructor(e,t,n){this.data=e,this.index=t,this.pswp=n,this.isActive=t===n.currIndex,this.currentResolution=0,this.panAreaSize={x:0,y:0},this.pan={x:0,y:0},this.isFirstSlide=this.isActive&&!n.opener.isOpen,this.zoomLevels=new af(n.options,e,t,n),this.pswp.dispatch("gettingData",{slide:this,data:this.data,index:t}),this.content=this.pswp.contentLoader.getContentBySlide(this),this.container=iQ("pswp__zoom-wrap","div"),this.holderElement=null,this.currZoomLevel=1,this.width=this.content.width,this.height=this.content.height,this.heavyAppended=!1,this.bounds=new au(this),this.prevDisplayedWidth=-1,this.prevDisplayedHeight=-1,this.pswp.dispatch("slideInit",{slide:this})}setIsActive(e){e&&!this.isActive?this.activate():!e&&this.isActive&&this.deactivate()}append(e){this.holderElement=e,this.container.style.transformOrigin="0 0",this.data&&(this.calculateSize(),this.load(),this.updateContentSize(),this.appendHeavy(),this.holderElement.appendChild(this.container),this.zoomAndPanToInitial(),this.pswp.dispatch("firstZoomPan",{slide:this}),this.applyCurrentZoomPan(),this.pswp.dispatch("afterSetContent",{slide:this}),this.isActive&&this.activate())}load(){this.content.load(!1),this.pswp.dispatch("slideLoad",{slide:this})}appendHeavy(){let{pswp:e}=this,t=!0;!(this.heavyAppended||!e.opener.isOpen||e.mainScroll.isShifted())&&(this.isActive||t)&&!this.pswp.dispatch("appendHeavy",{slide:this}).defaultPrevented&&(this.heavyAppended=!0,this.content.append(),this.pswp.dispatch("appendHeavyContent",{slide:this}))}activate(){this.isActive=!0,this.appendHeavy(),this.content.activate(),this.pswp.dispatch("slideActivate",{slide:this})}deactivate(){this.isActive=!1,this.content.deactivate(),this.currZoomLevel!==this.zoomLevels.initial&&this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize(),this.pswp.dispatch("slideDeactivate",{slide:this})}destroy(){this.content.hasSlide=!1,this.content.remove(),this.container.remove(),this.pswp.dispatch("slideDestroy",{slide:this})}resize(){this.currZoomLevel!==this.zoomLevels.initial&&this.isActive?(this.calculateSize(),this.bounds.update(this.currZoomLevel),this.panTo(this.pan.x,this.pan.y)):(this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize())}updateContentSize(e){let t=this.currentResolution||this.zoomLevels.initial;if(!t)return;let n=Math.round(this.width*t)||this.pswp.viewportSize.x,r=Math.round(this.height*t)||this.pswp.viewportSize.y;(this.sizeChanged(n,r)||e)&&this.content.setDisplayedSize(n,r)}sizeChanged(e,t){return(e!==this.prevDisplayedWidth||t!==this.prevDisplayedHeight)&&(this.prevDisplayedWidth=e,this.prevDisplayedHeight=t,!0)}getPlaceholderElement(){return this.content.placeholder?.element}zoomTo(e,t,n,r){let{pswp:o}=this;if(!this.isZoomable()||o.mainScroll.isShifted())return;o.dispatch("beforeZoomTo",{destZoomLevel:e,centerPoint:t,transitionDuration:n}),o.animations.stopAllPan();let i=this.currZoomLevel;r||(e=i3(e,this.zoomLevels.min,this.zoomLevels.max)),this.setZoomLevel(e),this.pan.x=this.calculateZoomToPanOffset("x",t,i),this.pan.y=this.calculateZoomToPanOffset("y",t,i),i0(this.pan);let a=()=>{this._setResolution(e),this.applyCurrentZoomPan()};n?o.animations.startTransition({isPan:!0,name:"zoomTo",target:this.container,transform:this.getCurrentTransform(),onComplete:a,duration:n,easing:o.options.easing}):a()}toggleZoom(e){this.zoomTo(this.currZoomLevel===this.zoomLevels.initial?this.zoomLevels.secondary:this.zoomLevels.initial,e,this.pswp.options.zoomAnimationDuration)}setZoomLevel(e){this.currZoomLevel=e,this.bounds.update(this.currZoomLevel)}calculateZoomToPanOffset(e,t,n){if(0==this.bounds.max[e]-this.bounds.min[e])return this.bounds.center[e];t||(t=this.pswp.getViewportCenterPoint()),n||(n=this.zoomLevels.initial);let r=this.currZoomLevel/n;return this.bounds.correctPan(e,(this.pan[e]-t[e])*r+t[e])}panTo(e,t){this.pan.x=this.bounds.correctPan("x",e),this.pan.y=this.bounds.correctPan("y",t),this.applyCurrentZoomPan()}isPannable(){return!!this.width&&this.currZoomLevel>this.zoomLevels.fit}isZoomable(){return!!this.width&&this.content.isZoomable()}applyCurrentZoomPan(){this._applyZoomTransform(this.pan.x,this.pan.y,this.currZoomLevel),this===this.pswp.currSlide&&this.pswp.dispatch("zoomPanUpdate",{slide:this})}zoomAndPanToInitial(){this.currZoomLevel=this.zoomLevels.initial,this.bounds.update(this.currZoomLevel),iJ(this.pan,this.bounds.center),this.pswp.dispatch("initialZoomPan",{slide:this})}_applyZoomTransform(e,t,n){n/=this.currentResolution||this.zoomLevels.initial,i5(this.container,e,t,n)}calculateSize(){let{pswp:e}=this;iJ(this.panAreaSize,ac(e.options,e.viewportSize,this.data,this.index)),this.zoomLevels.update(this.width,this.height,this.panAreaSize),e.dispatch("calcSlideSize",{slide:this})}getCurrentTransform(){let e=this.currZoomLevel/(this.currentResolution||this.zoomLevels.initial);return i4(this.pan.x,this.pan.y,e)}_setResolution(e){e!==this.currentResolution&&(this.currentResolution=e,this.updateContentSize(),this.pswp.dispatch("resolutionChanged"))}}let ah=.35,am=.6,ag=.4,av=.5;function ay(e,t){return e*t/(1-t)}class ab{constructor(e){this.gestures=e,this.pswp=e.pswp,this.startPan={x:0,y:0}}start(){this.pswp.currSlide&&iJ(this.startPan,this.pswp.currSlide.pan),this.pswp.animations.stopAll()}change(){let{p1:e,prevP1:t,dragAxis:n}=this.gestures,{currSlide:r}=this.pswp;if("y"===n&&this.pswp.options.closeOnVerticalDrag&&r&&r.currZoomLevel<=r.zoomLevels.fit&&!this.gestures.isMultitouch){let n=r.pan.y+(e.y-t.y);if(!this.pswp.dispatch("verticalDrag",{panY:n}).defaultPrevented){this._setPanWithFriction("y",n,am);let e=1-Math.abs(this._getVerticalDragRatio(r.pan.y));this.pswp.applyBgOpacity(e),r.applyCurrentZoomPan()}}else!this._panOrMoveMainScroll("x")&&(this._panOrMoveMainScroll("y"),r&&(i0(r.pan),r.applyCurrentZoomPan()))}end(){let{velocity:e}=this.gestures,{mainScroll:t,currSlide:n}=this.pswp,r=0;if(this.pswp.animations.stopAll(),t.isShifted()){let n=(t.x-t.getCurrSlideX())/this.pswp.viewportSize.x;e.x<-av&&n<0||e.x<.1&&n<-.5?(r=1,e.x=Math.min(e.x,0)):(e.x>av&&n>0||e.x>-.1&&n>.5)&&(r=-1,e.x=Math.max(e.x,0)),t.moveIndexBy(r,!0,e.x)}n&&n.currZoomLevel>n.zoomLevels.max||this.gestures.isMultitouch?this.gestures.zoomLevels.correctZoomPan(!0):(this._finishPanGestureForAxis("x"),this._finishPanGestureForAxis("y"))}_finishPanGestureForAxis(e){let{velocity:t}=this.gestures,{currSlide:n}=this.pswp;if(!n)return;let{pan:r,bounds:o}=n,i=r[e],a=this.pswp.bgOpacity<1&&"y"===e,s=.995,l=i+ay(t[e],s);if(a){let e=this._getVerticalDragRatio(i),t=this._getVerticalDragRatio(l);if(e<0&&t<-ag||e>0&&t>ag){this.pswp.close();return}}let c=o.correctPan(e,l);if(i===c)return;let u=c===l?1:.82,d=this.pswp.bgOpacity,f=c-i;this.pswp.animations.startSpring({name:"panGesture"+e,isPan:!0,start:i,end:c,velocity:t[e],dampingRatio:u,onUpdate:t=>{if(a&&this.pswp.bgOpacity<1){let e=1-(c-t)/f;this.pswp.applyBgOpacity(i3(d+(1-d)*e,0,1))}r[e]=Math.floor(t),n.applyCurrentZoomPan()}})}_panOrMoveMainScroll(e){let{p1:t,dragAxis:n,prevP1:r,isMultitouch:o}=this.gestures,{currSlide:i,mainScroll:a}=this.pswp,s=t[e]-r[e],l=a.x+s;if(!s||!i)return!1;if("x"===e&&!i.isPannable()&&!o)return a.moveTo(l,!0),!0;let{bounds:c}=i,u=i.pan[e]+s;if(this.pswp.options.allowPanToNext&&"x"===n&&"x"===e&&!o){let t=a.getCurrSlideX(),n=a.x-t,r=s>0,o=!r;if(u>c.min[e]&&r){if(c.min[e]<=this.startPan[e])return a.moveTo(l,!0),!0;this._setPanWithFriction(e,u)}else if(u<c.max[e]&&o){if(this.startPan[e]<=c.max[e])return a.moveTo(l,!0),!0;this._setPanWithFriction(e,u)}else if(0!==n){if(n>0)return a.moveTo(Math.max(l,t),!0),!0;if(n<0)return a.moveTo(Math.min(l,t),!0),!0}else this._setPanWithFriction(e,u)}else"y"===e&&(a.isShifted()||c.min.y===c.max.y)||this._setPanWithFriction(e,u);return!1}_getVerticalDragRatio(e){return(e-(this.pswp.currSlide?.bounds.center.y??0))/(this.pswp.viewportSize.y/3)}_setPanWithFriction(e,t,n){let{currSlide:r}=this.pswp;if(!r)return;let{pan:o,bounds:i}=r;if(i.correctPan(e,t)!==t||n){let r=Math.round(t-o[e]);o[e]+=r*(n||ah)}else o[e]=t}}let aw=.05,aS=.15;function ax(e,t,n){return e.x=(t.x+n.x)/2,e.y=(t.y+n.y)/2,e}class aE{constructor(e){this.gestures=e,this._startPan={x:0,y:0},this._startZoomPoint={x:0,y:0},this._zoomPoint={x:0,y:0},this._wasOverFitZoomLevel=!1,this._startZoomLevel=1}start(){let{currSlide:e}=this.gestures.pswp;e&&(this._startZoomLevel=e.currZoomLevel,iJ(this._startPan,e.pan)),this.gestures.pswp.animations.stopAllPan(),this._wasOverFitZoomLevel=!1}change(){let{p1:e,startP1:t,p2:n,startP2:r,pswp:o}=this.gestures,{currSlide:i}=o;if(!i)return;let a=i.zoomLevels.min,s=i.zoomLevels.max;if(!i.isZoomable()||o.mainScroll.isShifted())return;ax(this._startZoomPoint,t,r),ax(this._zoomPoint,e,n);let l=1/i1(t,r)*i1(e,n)*this._startZoomLevel;if(l>i.zoomLevels.initial+i.zoomLevels.initial/15&&(this._wasOverFitZoomLevel=!0),l<a){if(o.options.pinchToClose&&!this._wasOverFitZoomLevel&&this._startZoomLevel<=i.zoomLevels.initial){let e=1-(a-l)/(a/1.2);o.dispatch("pinchClose",{bgOpacity:e}).defaultPrevented||o.applyBgOpacity(e)}else l=a-(a-l)*aS}else l>s&&(l=s+(l-s)*aw);i.pan.x=this._calculatePanForZoomLevel("x",l),i.pan.y=this._calculatePanForZoomLevel("y",l),i.setZoomLevel(l),i.applyCurrentZoomPan()}end(){let{pswp:e}=this.gestures,{currSlide:t}=e;(!t||t.currZoomLevel<t.zoomLevels.initial)&&!this._wasOverFitZoomLevel&&e.options.pinchToClose?e.close():this.correctZoomPan()}_calculatePanForZoomLevel(e,t){let n=t/this._startZoomLevel;return this._zoomPoint[e]-(this._startZoomPoint[e]-this._startPan[e])*n}correctZoomPan(e){let t;let{pswp:n}=this.gestures,{currSlide:r}=n;if(!r?.isZoomable())return;0===this._zoomPoint.x&&(e=!0);let o=r.currZoomLevel,i=!0;o<r.zoomLevels.initial?t=r.zoomLevels.initial:o>r.zoomLevels.max?t=r.zoomLevels.max:(i=!1,t=o);let a=n.bgOpacity,s=n.bgOpacity<1,l=iJ({x:0,y:0},r.pan),c=iJ({x:0,y:0},l);e&&(this._zoomPoint.x=0,this._zoomPoint.y=0,this._startZoomPoint.x=0,this._startZoomPoint.y=0,this._startZoomLevel=o,iJ(this._startPan,l)),i&&(c={x:this._calculatePanForZoomLevel("x",t),y:this._calculatePanForZoomLevel("y",t)}),r.setZoomLevel(t),c={x:r.bounds.correctPan("x",c.x),y:r.bounds.correctPan("y",c.y)},r.setZoomLevel(o);let u=!i2(c,l);if(!u&&!i&&!s){r._setResolution(t),r.applyCurrentZoomPan();return}n.animations.stopAllPan(),n.animations.startSpring({isPan:!0,start:0,end:1e3,velocity:0,dampingRatio:1,naturalFrequency:40,onUpdate:e=>{if(e/=1e3,u||i){if(u&&(r.pan.x=l.x+(c.x-l.x)*e,r.pan.y=l.y+(c.y-l.y)*e),i){let n=o+(t-o)*e;r.setZoomLevel(n)}r.applyCurrentZoomPan()}s&&n.bgOpacity<1&&n.applyBgOpacity(i3(a+(1-a)*e,0,1))},onComplete:()=>{r._setResolution(t),r.applyCurrentZoomPan()}})}}function aC(e){return!!e.target.closest(".pswp__container")}class a_{constructor(e){this.gestures=e}click(e,t){let n=t.target.classList,r=n.contains("pswp__img"),o=n.contains("pswp__item")||n.contains("pswp__zoom-wrap");r?this._doClickOrTapAction("imageClick",e,t):o&&this._doClickOrTapAction("bgClick",e,t)}tap(e,t){aC(t)&&this._doClickOrTapAction("tap",e,t)}doubleTap(e,t){aC(t)&&this._doClickOrTapAction("doubleTap",e,t)}_doClickOrTapAction(e,t,n){let{pswp:r}=this.gestures,{currSlide:o}=r,i=e+"Action",a=r.options[i];if(!r.dispatch(i,{point:t,originalEvent:n}).defaultPrevented){if("function"==typeof a){a.call(r,t,n);return}switch(a){case"close":case"next":r[a]();break;case"zoom":o?.toggleZoom(t);break;case"zoom-or-close":o?.isZoomable()&&o.zoomLevels.secondary!==o.zoomLevels.initial?o.toggleZoom(t):r.options.clickToCloseNonZoomable&&r.close();break;case"toggle-controls":this.gestures.pswp.element?.classList.toggle("pswp--ui-visible")}}}}let ak=10,aO=300,aA=25;class aI{constructor(e){this.pswp=e,this.dragAxis=null,this.p1={x:0,y:0},this.p2={x:0,y:0},this.prevP1={x:0,y:0},this.prevP2={x:0,y:0},this.startP1={x:0,y:0},this.startP2={x:0,y:0},this.velocity={x:0,y:0},this._lastStartP1={x:0,y:0},this._intervalP1={x:0,y:0},this._numActivePoints=0,this._ongoingPointers=[],this._touchEventEnabled="ontouchstart"in window,this._pointerEventEnabled=!!window.PointerEvent,this.supportsTouch=this._touchEventEnabled||this._pointerEventEnabled&&navigator.maxTouchPoints>1,this._numActivePoints=0,this._intervalTime=0,this._velocityCalculated=!1,this.isMultitouch=!1,this.isDragging=!1,this.isZooming=!1,this.raf=null,this._tapTimer=null,this.supportsTouch||(e.options.allowPanToNext=!1),this.drag=new ab(this),this.zoomLevels=new aE(this),this.tapHandler=new a_(this),e.on("bindEvents",()=>{e.events.add(e.scrollWrap,"click",this._onClick.bind(this)),this._pointerEventEnabled?this._bindEvents("pointer","down","up","cancel"):this._touchEventEnabled?(this._bindEvents("touch","start","end","cancel"),e.scrollWrap&&(e.scrollWrap.ontouchmove=()=>{},e.scrollWrap.ontouchend=()=>{})):this._bindEvents("mouse","down","up")})}_bindEvents(e,t,n,r){let{pswp:o}=this,{events:i}=o,a=r?e+r:"";i.add(o.scrollWrap,e+t,this.onPointerDown.bind(this)),i.add(window,e+"move",this.onPointerMove.bind(this)),i.add(window,e+n,this.onPointerUp.bind(this)),a&&i.add(o.scrollWrap,a,this.onPointerUp.bind(this))}onPointerDown(e){let t="mousedown"===e.type||"mouse"===e.pointerType;if(t&&e.button>0)return;let{pswp:n}=this;if(!n.opener.isOpen){e.preventDefault();return}n.dispatch("pointerDown",{originalEvent:e}).defaultPrevented||(t&&(n.mouseDetected(),this._preventPointerEventBehaviour(e)),n.animations.stopAll(),this._updatePoints(e,"down"),1===this._numActivePoints&&(this.dragAxis=null,iJ(this.startP1,this.p1)),this._numActivePoints>1?(this._clearTapTimer(),this.isMultitouch=!0):this.isMultitouch=!1)}onPointerMove(e){e.preventDefault(),this._numActivePoints&&(this._updatePoints(e,"move"),this.pswp.dispatch("pointerMove",{originalEvent:e}).defaultPrevented||(1!==this._numActivePoints||this.isDragging?this._numActivePoints>1&&!this.isZooming&&(this._finishDrag(),this.isZooming=!0,this._updateStartPoints(),this.zoomLevels.start(),this._rafStopLoop(),this._rafRenderLoop()):(this.dragAxis||this._calculateDragDirection(),this.dragAxis&&!this.isDragging&&(this.isZooming&&(this.isZooming=!1,this.zoomLevels.end()),this.isDragging=!0,this._clearTapTimer(),this._updateStartPoints(),this._intervalTime=Date.now(),this._velocityCalculated=!1,iJ(this._intervalP1,this.p1),this.velocity.x=0,this.velocity.y=0,this.drag.start(),this._rafStopLoop(),this._rafRenderLoop()))))}_finishDrag(){this.isDragging&&(this.isDragging=!1,this._velocityCalculated||this._updateVelocity(!0),this.drag.end(),this.dragAxis=null)}onPointerUp(e){this._numActivePoints&&(this._updatePoints(e,"up"),!this.pswp.dispatch("pointerUp",{originalEvent:e}).defaultPrevented&&(0!==this._numActivePoints||(this._rafStopLoop(),this.isDragging?this._finishDrag():this.isZooming||this.isMultitouch||this._finishTap(e)),this._numActivePoints<2&&this.isZooming&&(this.isZooming=!1,this.zoomLevels.end(),1===this._numActivePoints&&(this.dragAxis=null,this._updateStartPoints()))))}_rafRenderLoop(){(this.isDragging||this.isZooming)&&(this._updateVelocity(),this.isDragging?i2(this.p1,this.prevP1)||this.drag.change():i2(this.p1,this.prevP1)&&i2(this.p2,this.prevP2)||this.zoomLevels.change(),this._updatePrevPoints(),this.raf=requestAnimationFrame(this._rafRenderLoop.bind(this)))}_updateVelocity(e){let t=Date.now(),n=t-this._intervalTime;(!(n<50)||e)&&(this.velocity.x=this._getVelocity("x",n),this.velocity.y=this._getVelocity("y",n),this._intervalTime=t,iJ(this._intervalP1,this.p1),this._velocityCalculated=!0)}_finishTap(e){let{mainScroll:t}=this.pswp;if(t.isShifted()){t.moveIndexBy(0,!0);return}if(e.type.indexOf("cancel")>0)return;if("mouseup"===e.type||"mouse"===e.pointerType){this.tapHandler.click(this.startP1,e);return}let n=this.pswp.options.doubleTapAction?aO:0;this._tapTimer?(this._clearTapTimer(),i1(this._lastStartP1,this.startP1)<aA&&this.tapHandler.doubleTap(this.startP1,e)):(iJ(this._lastStartP1,this.startP1),this._tapTimer=setTimeout(()=>{this.tapHandler.tap(this.startP1,e),this._clearTapTimer()},n))}_clearTapTimer(){this._tapTimer&&(clearTimeout(this._tapTimer),this._tapTimer=null)}_getVelocity(e,t){let n=this.p1[e]-this._intervalP1[e];return Math.abs(n)>1&&t>5?n/t:0}_rafStopLoop(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null)}_preventPointerEventBehaviour(e){e.preventDefault()}_updatePoints(e,t){if(this._pointerEventEnabled){let n=e,r=this._ongoingPointers.findIndex(e=>e.id===n.pointerId);"up"===t&&r>-1?this._ongoingPointers.splice(r,1):"down"===t&&-1===r?this._ongoingPointers.push(this._convertEventPosToPoint(n,{x:0,y:0})):r>-1&&this._convertEventPosToPoint(n,this._ongoingPointers[r]),this._numActivePoints=this._ongoingPointers.length,this._numActivePoints>0&&iJ(this.p1,this._ongoingPointers[0]),this._numActivePoints>1&&iJ(this.p2,this._ongoingPointers[1])}else{let n=e;this._numActivePoints=0,n.type.indexOf("touch")>-1?n.touches&&n.touches.length>0&&(this._convertEventPosToPoint(n.touches[0],this.p1),this._numActivePoints++,n.touches.length>1&&(this._convertEventPosToPoint(n.touches[1],this.p2),this._numActivePoints++)):(this._convertEventPosToPoint(e,this.p1),"up"===t?this._numActivePoints=0:this._numActivePoints++)}}_updatePrevPoints(){iJ(this.prevP1,this.p1),iJ(this.prevP2,this.p2)}_updateStartPoints(){iJ(this.startP1,this.p1),iJ(this.startP2,this.p2),this._updatePrevPoints()}_calculateDragDirection(){if(this.pswp.mainScroll.isShifted())this.dragAxis="x";else{let e=Math.abs(this.p1.x-this.startP1.x)-Math.abs(this.p1.y-this.startP1.y);if(0!==e){let t=e>0?"x":"y";Math.abs(this.p1[t]-this.startP1[t])>=ak&&(this.dragAxis=t)}}}_convertEventPosToPoint(e,t){return t.x=e.pageX-this.pswp.offset.x,t.y=e.pageY-this.pswp.offset.y,"pointerId"in e?t.id=e.pointerId:void 0!==e.identifier&&(t.id=e.identifier),t}_onClick(e){this.pswp.mainScroll.isShifted()&&(e.preventDefault(),e.stopPropagation())}}let aP=.35;class aT{constructor(e){this.pswp=e,this.x=0,this.slideWidth=0,this._currPositionIndex=0,this._prevPositionIndex=0,this._containerShiftIndex=-1,this.itemHolders=[]}resize(e){let{pswp:t}=this,n=Math.round(t.viewportSize.x+t.viewportSize.x*t.options.spacing),r=n!==this.slideWidth;r&&(this.slideWidth=n,this.moveTo(this.getCurrSlideX())),this.itemHolders.forEach((t,n)=>{r&&i5(t.el,(n+this._containerShiftIndex)*this.slideWidth),e&&t.slide&&t.slide.resize()})}resetPosition(){this._currPositionIndex=0,this._prevPositionIndex=0,this.slideWidth=0,this._containerShiftIndex=-1}appendHolders(){this.itemHolders=[];for(let e=0;e<3;e++){let t=iQ("pswp__item","div",this.pswp.container);t.setAttribute("role","group"),t.setAttribute("aria-roledescription","slide"),t.setAttribute("aria-hidden","true"),t.style.display=1===e?"block":"none",this.itemHolders.push({el:t})}}canBeSwiped(){return this.pswp.getNumItems()>1}moveIndexBy(e,t,n){let{pswp:r}=this,o=r.potentialIndex+e,i=r.getNumItems();if(r.canLoop()){o=r.getLoopedIndex(o);let t=(e+i)%i;e=t<=i/2?t:t-i}else o<0?o=0:o>=i&&(o=i-1),e=o-r.potentialIndex;r.potentialIndex=o,this._currPositionIndex-=e,r.animations.stopMainScroll();let a=this.getCurrSlideX();if(t){r.animations.startSpring({isMainScroll:!0,start:this.x,end:a,velocity:n||0,naturalFrequency:30,dampingRatio:1,onUpdate:e=>{this.moveTo(e)},onComplete:()=>{this.updateCurrItem(),r.appendHeavy()}});let e=r.potentialIndex-r.currIndex;if(r.canLoop()){let t=(e+i)%i;e=t<=i/2?t:t-i}Math.abs(e)>1&&this.updateCurrItem()}else this.moveTo(a),this.updateCurrItem();return!!e}getCurrSlideX(){return this.slideWidth*this._currPositionIndex}isShifted(){return this.x!==this.getCurrSlideX()}updateCurrItem(){let e;let{pswp:t}=this,n=this._prevPositionIndex-this._currPositionIndex;if(!n)return;this._prevPositionIndex=this._currPositionIndex,t.currIndex=t.potentialIndex;let r=Math.abs(n);r>=3&&(this._containerShiftIndex+=n+(n>0?-3:3),r=3);for(let o=0;o<r;o++)n>0?(e=this.itemHolders.shift())&&(this.itemHolders[2]=e,this._containerShiftIndex++,i5(e.el,(this._containerShiftIndex+2)*this.slideWidth),t.setContent(e,t.currIndex-r+o+2)):(e=this.itemHolders.pop())&&(this.itemHolders.unshift(e),this._containerShiftIndex--,i5(e.el,this._containerShiftIndex*this.slideWidth),t.setContent(e,t.currIndex+r-o-2));Math.abs(this._containerShiftIndex)>50&&!this.isShifted()&&(this.resetPosition(),this.resize()),t.animations.stopAllPan(),this.itemHolders.forEach((e,t)=>{e.slide&&e.slide.setIsActive(1===t)}),t.currSlide=this.itemHolders[1]?.slide,t.contentLoader.updateLazy(n),t.currSlide&&t.currSlide.applyCurrentZoomPan(),t.dispatch("change")}moveTo(e,t){if(!this.pswp.canLoop()&&t){let t=(this.slideWidth*this._currPositionIndex-e)/this.slideWidth;t+=this.pswp.currIndex;let n=Math.round(e-this.x);(t<0&&n>0||t>=this.pswp.getNumItems()-1&&n<0)&&(e=this.x+n*aP)}this.x=e,this.pswp.container&&i5(this.pswp.container,e),this.pswp.dispatch("moveMainScroll",{x:e,dragging:t??!1})}}let aR={Escape:27,z:90,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Tab:9},aM=(e,t)=>t?e:aR[e];class aN{constructor(e){this.pswp=e,this._wasFocused=!1,e.on("bindEvents",()=>{e.options.initialPointerPos||this._focusRoot(),e.events.add(document,"focusin",this._onFocusIn.bind(this)),e.events.add(document,"keydown",this._onKeyDown.bind(this))});let t=document.activeElement;e.on("destroy",()=>{e.options.returnFocus&&t&&this._wasFocused&&t.focus()})}_focusRoot(){!this._wasFocused&&this.pswp.element&&(this.pswp.element.focus(),this._wasFocused=!0)}_onKeyDown(e){let t,n;let{pswp:r}=this;if(r.dispatch("keydown",{originalEvent:e}).defaultPrevented||an(e))return;let o=!1,i="key"in e;switch(i?e.key:e.keyCode){case aM("Escape",i):r.options.escKey&&(t="close");break;case aM("z",i):t="toggleZoom";break;case aM("ArrowLeft",i):n="x";break;case aM("ArrowUp",i):n="y";break;case aM("ArrowRight",i):n="x",o=!0;break;case aM("ArrowDown",i):o=!0,n="y";break;case aM("Tab",i):this._focusRoot()}if(n){e.preventDefault();let{currSlide:i}=r;r.options.arrowKeys&&"x"===n&&r.getNumItems()>1?t=o?"next":"prev":i&&i.currZoomLevel>i.zoomLevels.fit&&(i.pan[n]+=o?-80:80,i.panTo(i.pan.x,i.pan.y))}t&&(e.preventDefault(),r[t]())}_onFocusIn(e){let{template:t}=this.pswp;t&&document!==e.target&&t!==e.target&&!t.contains(e.target)&&t.focus()}}let aj="cubic-bezier(.4,0,.22,1)";class aD{constructor(e){this.props=e;let{target:t,onComplete:n,transform:r,onFinish:o=()=>{},duration:i=333,easing:a=aj}=e;this.onFinish=o;let s=r?"transform":"opacity",l=e[s]??"";this._target=t,this._onComplete=n,this._finished=!1,this._onTransitionEnd=this._onTransitionEnd.bind(this),this._helperTimeout=setTimeout(()=>{i8(t,s,i,a),this._helperTimeout=setTimeout(()=>{t.addEventListener("transitionend",this._onTransitionEnd,!1),t.addEventListener("transitioncancel",this._onTransitionEnd,!1),this._helperTimeout=setTimeout(()=>{this._finalizeAnimation()},i+500),t.style[s]=l},30)},0)}_onTransitionEnd(e){e.target===this._target&&this._finalizeAnimation()}_finalizeAnimation(){!this._finished&&(this._finished=!0,this.onFinish(),this._onComplete&&this._onComplete())}destroy(){this._helperTimeout&&clearTimeout(this._helperTimeout),i9(this._target),this._target.removeEventListener("transitionend",this._onTransitionEnd,!1),this._target.removeEventListener("transitioncancel",this._onTransitionEnd,!1),this._finished||this._finalizeAnimation()}}let aL=12,aB=.75;class aZ{constructor(e,t,n){this.velocity=1e3*e,this._dampingRatio=t||aB,this._naturalFrequency=n||aL,this._dampedFrequency=this._naturalFrequency,this._dampingRatio<1&&(this._dampedFrequency*=Math.sqrt(1-this._dampingRatio*this._dampingRatio))}easeFrame(e,t){let n,r=0;t/=1e3;let o=Math.E**(-this._dampingRatio*this._naturalFrequency*t);if(1===this._dampingRatio)n=this.velocity+this._naturalFrequency*e,r=(e+n*t)*o,this.velocity=-(r*this._naturalFrequency)+n*o;else if(this._dampingRatio<1){n=1/this._dampedFrequency*(this._dampingRatio*this._naturalFrequency*e+this.velocity);let i=Math.cos(this._dampedFrequency*t),a=Math.sin(this._dampedFrequency*t);r=o*(e*i+n*a),this.velocity=-(r*this._naturalFrequency)*this._dampingRatio+o*(-this._dampedFrequency*e*a+this._dampedFrequency*n*i)}return r}}class aF{constructor(e){this.props=e,this._raf=0;let{start:t,end:n,velocity:r,onUpdate:o,onComplete:i,onFinish:a=()=>{},dampingRatio:s,naturalFrequency:l}=e;this.onFinish=a;let c=new aZ(r,s,l),u=Date.now(),d=t-n,f=()=>{this._raf&&(1>Math.abs(d=c.easeFrame(d,Date.now()-u))&&50>Math.abs(c.velocity)?(o(n),i&&i(),this.onFinish()):(u=Date.now(),o(d+n),this._raf=requestAnimationFrame(f)))};this._raf=requestAnimationFrame(f)}destroy(){this._raf>=0&&cancelAnimationFrame(this._raf),this._raf=0}}class az{constructor(){this.activeAnimations=[]}startSpring(e){this._start(e,!0)}startTransition(e){this._start(e)}_start(e,t){let n=t?new aF(e):new aD(e);return this.activeAnimations.push(n),n.onFinish=()=>this.stop(n),n}stop(e){e.destroy();let t=this.activeAnimations.indexOf(e);t>-1&&this.activeAnimations.splice(t,1)}stopAll(){this.activeAnimations.forEach(e=>{e.destroy()}),this.activeAnimations=[]}stopAllPan(){this.activeAnimations=this.activeAnimations.filter(e=>!e.props.isPan||(e.destroy(),!1))}stopMainScroll(){this.activeAnimations=this.activeAnimations.filter(e=>!e.props.isMainScroll||(e.destroy(),!1))}isPanRunning(){return this.activeAnimations.some(e=>e.props.isPan)}}class aU{constructor(e){this.pswp=e,e.events.add(e.element,"wheel",this._onWheel.bind(this))}_onWheel(e){e.preventDefault();let{currSlide:t}=this.pswp,{deltaX:n,deltaY:r}=e;if(t&&!this.pswp.dispatch("wheel",{originalEvent:e}).defaultPrevented){if(e.ctrlKey||this.pswp.options.wheelToZoom){if(t.isZoomable()){let n=-r;1===e.deltaMode?n*=.05:n*=e.deltaMode?1:.002,n=2**n;let o=t.currZoomLevel*n;t.zoomTo(o,{x:e.clientX,y:e.clientY})}}else t.isPannable()&&(1===e.deltaMode&&(n*=18,r*=18),t.panTo(t.pan.x-n,t.pan.y-r))}}}function aH(e){if("string"==typeof e)return e;if(!e||!e.isCustomSVG)return"";let t=e,n='<svg aria-hidden="true" class="pswp__icn" viewBox="0 0 %d %d" width="%d" height="%d">';return n=n.split("%d").join(t.size||32),t.outlineID&&(n+='<use class="pswp__icn-shadow" xlink:href="#'+t.outlineID+'"/>'),n+=t.inner+"</svg>"}class aq{constructor(e,t){let n=t.name||t.className,r=t.html;if(!1===e.options[n])return;"string"==typeof e.options[n+"SVG"]&&(r=e.options[n+"SVG"]),e.dispatch("uiElementCreate",{data:t});let o="";t.isButton?o+="pswp__button "+(t.className||`pswp__button--${t.name}`):o+=t.className||`pswp__${t.name}`;let i=t.isButton?t.tagName||"button":t.tagName||"div",a=iQ(o,i=i.toLowerCase());if(t.isButton){"button"===i&&(a.type="button");let{title:r}=t,{ariaLabel:o}=t;"string"==typeof e.options[n+"Title"]&&(r=e.options[n+"Title"]),r&&(a.title=r);let s=o||r;s&&a.setAttribute("aria-label",s)}a.innerHTML=aH(r),t.onInit&&t.onInit(a,e),t.onClick&&(a.onclick=n=>{"string"==typeof t.onClick?e[t.onClick]():"function"==typeof t.onClick&&t.onClick(n,a,e)});let s=t.appendTo||"bar",l=e.element;"bar"===s?(e.topBar||(e.topBar=iQ("pswp__top-bar pswp__hide-on-close","div",e.scrollWrap)),l=e.topBar):(a.classList.add("pswp__hide-on-close"),"wrapper"===s&&(l=e.scrollWrap)),l?.appendChild(e.applyFilters("uiElement",a,t))}}function aV(e,t,n){e.classList.add("pswp__button--arrow"),e.setAttribute("aria-controls","pswp__items"),t.on("change",()=>{t.options.loop||(n?e.disabled=!(t.currIndex<t.getNumItems()-1):e.disabled=!(t.currIndex>0))})}let aW={name:"arrowPrev",className:"pswp__button--arrow--prev",title:"Previous",order:10,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<path d="M29 43l-3 3-16-16 16-16 3 3-13 13 13 13z" id="pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"prev",onInit:aV},a$={name:"arrowNext",className:"pswp__button--arrow--next",title:"Next",order:11,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<use xlink:href="#pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"next",onInit:(e,t)=>{aV(e,t,!0)}},aG={name:"close",title:"Close",order:20,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z" id="pswp__icn-close"/>',outlineID:"pswp__icn-close"},onClick:"close"},aK={name:"zoom",title:"Zoom",order:10,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M17.426 19.926a6 6 0 1 1 1.5-1.5L23 22.5 21.5 24l-4.074-4.074z" id="pswp__icn-zoom"/><path fill="currentColor" class="pswp__zoom-icn-bar-h" d="M11 16v-2h6v2z"/><path fill="currentColor" class="pswp__zoom-icn-bar-v" d="M13 12h2v6h-2z"/>',outlineID:"pswp__icn-zoom"},onClick:"toggleZoom"},aY={name:"preloader",appendTo:"bar",order:7,html:{isCustomSVG:!0,inner:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21.2 16a5.2 5.2 0 1 1-5.2-5.2V8a8 8 0 1 0 8 8h-2.8Z" id="pswp__icn-loading"/>',outlineID:"pswp__icn-loading"},onInit:(e,t)=>{let n;let r=null,o=(t,n)=>{e.classList.toggle("pswp__preloader--"+t,n)},i=e=>{n!==e&&(n=e,o("active",e))},a=()=>{if(!t.currSlide?.content.isLoading()){i(!1),r&&(clearTimeout(r),r=null);return}r||(r=setTimeout(()=>{i(!!t.currSlide?.content.isLoading()),r=null},t.options.preloaderDelay))};t.on("change",a),t.on("loadComplete",e=>{t.currSlide===e.slide&&a()}),t.ui&&(t.ui.updatePreloaderVisibility=a)}},aX={name:"counter",order:5,onInit:(e,t)=>{t.on("change",()=>{e.innerText=t.currIndex+1+t.options.indexIndicatorSep+t.getNumItems()})}};function aQ(e,t){e.classList.toggle("pswp--zoomed-in",t)}class aJ{constructor(e){this.pswp=e,this.isRegistered=!1,this.uiElementsData=[],this.items=[],this.updatePreloaderVisibility=()=>{},this._lastUpdatedZoomLevel=void 0}init(){let{pswp:e}=this;this.isRegistered=!1,this.uiElementsData=[aG,aW,a$,aK,aY,aX],e.dispatch("uiRegister"),this.uiElementsData.sort((e,t)=>(e.order||0)-(t.order||0)),this.items=[],this.isRegistered=!0,this.uiElementsData.forEach(e=>{this.registerElement(e)}),e.on("change",()=>{e.element?.classList.toggle("pswp--one-slide",1===e.getNumItems())}),e.on("zoomPanUpdate",()=>this._onZoomPanUpdate())}registerElement(e){this.isRegistered?this.items.push(new aq(this.pswp,e)):this.uiElementsData.push(e)}_onZoomPanUpdate(){let{template:e,currSlide:t,options:n}=this.pswp;if(this.pswp.opener.isClosing||!e||!t)return;let{currZoomLevel:r}=t;if(this.pswp.opener.isOpen||(r=t.zoomLevels.initial),r!==this._lastUpdatedZoomLevel){if(this._lastUpdatedZoomLevel=r,.01>Math.abs(t.zoomLevels.initial-t.zoomLevels.secondary)||!t.isZoomable()){aQ(e,!1),e.classList.remove("pswp--zoom-allowed");return}e.classList.add("pswp--zoom-allowed"),aQ(e,(r===t.zoomLevels.initial?t.zoomLevels.secondary:t.zoomLevels.initial)<=r),("zoom"===n.imageClickAction||"zoom-or-close"===n.imageClickAction)&&e.classList.add("pswp--click-to-zoom")}}}function a0(e){let t=e.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width}}function a1(e,t,n){let r=e.getBoundingClientRect(),o=r.width/t,i=r.height/n,a=o>i?o:i,s=(r.width-t*a)/2,l=(r.height-n*a)/2,c={x:r.left+s,y:r.top+l,w:t*a};return c.innerRect={w:r.width,h:r.height,x:s,y:l},c}function a2(e,t,n){let r,o;let i=n.dispatch("thumbBounds",{index:e,itemData:t,instance:n});if(i.thumbBounds)return i.thumbBounds;let{element:a}=t;if(a&&!1!==n.options.thumbSelector){let e=n.options.thumbSelector||"img";o=a.matches(e)?a:a.querySelector(e)}return(o=n.applyFilters("thumbEl",o,t,e))&&(r=t.thumbCropped?a1(o,t.width||t.w||0,t.height||t.h||0):a0(o)),n.applyFilters("thumbBounds",r,t,e)}class a3{constructor(e,t){this.type=e,this.defaultPrevented=!1,t&&Object.assign(this,t)}preventDefault(){this.defaultPrevented=!0}}class a4{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,t,n=100){this._filters[e]||(this._filters[e]=[]),this._filters[e]?.push({fn:t,priority:n}),this._filters[e]?.sort((e,t)=>e.priority-t.priority),this.pswp?.addFilter(e,t,n)}removeFilter(e,t){this._filters[e]&&(this._filters[e]=this._filters[e].filter(e=>e.fn!==t)),this.pswp&&this.pswp.removeFilter(e,t)}applyFilters(e,...t){return this._filters[e]?.forEach(e=>{t[0]=e.fn.apply(this,t)}),t[0]}on(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e]?.push(t),this.pswp?.on(e,t)}off(e,t){this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(e=>t!==e)),this.pswp?.off(e,t)}dispatch(e,t){if(this.pswp)return this.pswp.dispatch(e,t);let n=new a3(e,t);return this._listeners[e]?.forEach(e=>{e.call(this,n)}),n}}class a5{constructor(e,t){if(this.element=iQ("pswp__img pswp__img--placeholder",e?"img":"div",t),e){let t=this.element;t.decoding="async",t.alt="",t.src=e,t.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,t){this.element&&("IMG"===this.element.tagName?(i7(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=i4(0,0,e/250)):i7(this.element,e,t))}destroy(){this.element?.parentNode&&this.element.remove(),this.element=null}}class a6{constructor(e,t,n){this.instance=t,this.data=e,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=at.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,t){if(this.slide&&this.usePlaceholder()){if(this.placeholder){let e=this.placeholder.element;e&&!e.parentElement&&this.slide.container.prepend(e)}else{let e=this.instance.applyFilters("placeholderSrc",!!this.data.msrc&&!!this.slide.isFirstSlide&&this.data.msrc,this);this.placeholder=new a5(e,this.slide.container)}}(!this.element||t)&&!this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented&&(this.isImageContent()?(this.element=iQ("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=iQ("pswp__content","div"),this.element.innerHTML=this.data.html||""),t&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;let t=this.element;this.updateSrcsetSizes(),this.data.srcset&&(t.srcset=this.data.srcset),t.src=this.data.src??"",t.alt=this.data.alt??"",this.state=at.LOADING,t.complete?this.onLoaded():(t.onload=()=>{this.onLoaded()},t.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=at.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===at.LOADED||this.state===at.ERROR)&&this.removePlaceholder())}onError(){this.state=at.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===at.LOADING,this)}isError(){return this.state===at.ERROR}isImageContent(){return"image"===this.type}setDisplayedSize(e,t){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,t),!this.instance.dispatch("contentResize",{content:this,width:e,height:t}).defaultPrevented&&(i7(this.element,e,t),this.isImageContent()&&!this.isError()))){let n=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=t,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:t,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==at.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;let e=this.element,t=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||t>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=t+"px",e.dataset.largestUsedSize=String(t))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){let e=iQ("pswp__error-msg","div");e.innerText=this.instance.options?.errorMsg??"",e=this.instance.applyFilters("contentErrorElement",e,this),this.element=iQ("pswp__content pswp__error-msg-container","div"),this.element.appendChild(e),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===at.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;let e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||ao())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){!this.instance.dispatch("contentActivate",{content:this}).defaultPrevented&&this.slide&&(this.isImageContent()&&this.isDecoding&&!ao()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&!this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented&&(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===at.LOADED||this.state===at.ERROR)&&this.removePlaceholder())}}let a8=5;function a7(e,t,n){let r;let o=t.createContentFromData(e,n),{options:i}=t;if(i){let a;r=new af(i,e,-1),a=t.pswp?t.pswp.viewportSize:as(i,t);let s=ac(i,a,e,n);r.update(o.width,o.height,s)}return o.lazyLoad(),r&&o.setDisplayedSize(Math.ceil(o.width*r.initial),Math.ceil(o.height*r.initial)),o}function a9(e,t){let n=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:n}).defaultPrevented)return a7(n,t,e)}class se{constructor(e){this.pswp=e,this.limit=Math.max(e.options.preload[0]+e.options.preload[1]+1,a8),this._cachedItems=[]}updateLazy(e){let t;let{pswp:n}=this;if(n.dispatch("lazyLoad").defaultPrevented)return;let{preload:r}=n.options,o=void 0===e||e>=0;for(t=0;t<=r[1];t++)this.loadSlideByIndex(n.currIndex+(o?t:-t));for(t=1;t<=r[0];t++)this.loadSlideByIndex(n.currIndex+(o?-t:t))}loadSlideByIndex(e){let t=this.pswp.getLoopedIndex(e),n=this.getContentByIndex(t);!n&&(n=a9(t,this.pswp))&&this.addToCache(n)}getContentBySlide(e){let t=this.getContentByIndex(e.index);return t||(t=this.pswp.createContentFromData(e.data,e.index),this.addToCache(t)),t.setSlide(e),t}addToCache(e){if(this.removeByIndex(e.index),this._cachedItems.push(e),this._cachedItems.length>this.limit){let e=this._cachedItems.findIndex(e=>!e.isAttached&&!e.hasSlide);-1!==e&&this._cachedItems.splice(e,1)[0].destroy()}}removeByIndex(e){let t=this._cachedItems.findIndex(t=>t.index===e);-1!==t&&this._cachedItems.splice(t,1)}getContentByIndex(e){return this._cachedItems.find(t=>t.index===e)}destroy(){this._cachedItems.forEach(e=>e.destroy()),this._cachedItems=[]}}class st extends a4{getNumItems(){let e=0,t=this.options?.dataSource;t&&"length"in t?e=t.length:t&&"gallery"in t&&(t.items||(t.items=this._getGalleryDOMElements(t.gallery)),t.items&&(e=t.items.length));let n=this.dispatch("numItems",{dataSource:t,numItems:e});return this.applyFilters("numItems",n.numItems,t)}createContentFromData(e,t){return new a6(e,this,t)}getItemData(e){let t=this.options?.dataSource,n={};Array.isArray(t)?n=t[e]:t&&"gallery"in t&&(t.items||(t.items=this._getGalleryDOMElements(t.gallery)),n=t.items[e]);let r=n;r instanceof Element&&(r=this._domElementToItemData(r));let o=this.dispatch("itemData",{itemData:r||{},index:e});return this.applyFilters("itemData",o.itemData,e)}_getGalleryDOMElements(e){return this.options?.children||this.options?.childSelector?ar(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){let t={element:e},n="A"===e.tagName?e:e.querySelector("a");if(n){t.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(t.srcset=n.dataset.pswpSrcset),t.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,t.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,t.w=t.width,t.h=t.height,n.dataset.pswpType&&(t.type=n.dataset.pswpType);let r=e.querySelector("img");r&&(t.msrc=r.currentSrc||r.src,t.alt=r.getAttribute("alt")??""),(n.dataset.pswpCropped||n.dataset.cropped)&&(t.thumbCropped=!0)}return this.applyFilters("domItemData",t,e,n)}lazyLoadData(e,t){return a7(e,this,t)}}let sn=.003;class sr{constructor(e){this.pswp=e,this.isClosed=!0,this.isOpen=!1,this.isClosing=!1,this.isOpening=!1,this._duration=void 0,this._useAnimation=!1,this._croppedZoom=!1,this._animateRootOpacity=!1,this._animateBgOpacity=!1,this._placeholder=void 0,this._opacityElement=void 0,this._cropContainer1=void 0,this._cropContainer2=void 0,this._thumbBounds=void 0,this._prepareOpen=this._prepareOpen.bind(this),e.on("firstZoomPan",this._prepareOpen)}open(){this._prepareOpen(),this._start()}close(){if(this.isClosed||this.isClosing||this.isOpening)return;let e=this.pswp.currSlide;this.isOpen=!1,this.isOpening=!1,this.isClosing=!0,this._duration=this.pswp.options.hideAnimationDuration,e&&e.currZoomLevel*e.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps(),setTimeout(()=>{this._start()},this._croppedZoom?30:0)}_prepareOpen(){if(this.pswp.off("firstZoomPan",this._prepareOpen),!this.isOpening){let e=this.pswp.currSlide;this.isOpening=!0,this.isClosing=!1,this._duration=this.pswp.options.showAnimationDuration,e&&e.zoomLevels.initial*e.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps()}}_applyStartProps(){let{pswp:e}=this,t=this.pswp.currSlide,{options:n}=e;if("fade"===n.showHideAnimationType?(n.showHideOpacity=!0,this._thumbBounds=void 0):"none"===n.showHideAnimationType?(n.showHideOpacity=!1,this._duration=0,this._thumbBounds=void 0):this.isOpening&&e._initialThumbBounds?this._thumbBounds=e._initialThumbBounds:this._thumbBounds=this.pswp.getThumbBounds(),this._placeholder=t?.getPlaceholderElement(),e.animations.stopAll(),this._useAnimation=!!(this._duration&&this._duration>50),this._animateZoom=!!this._thumbBounds&&t?.content.usePlaceholder()&&(!this.isClosing||!e.mainScroll.isShifted()),this._animateZoom?this._animateRootOpacity=n.showHideOpacity??!1:(this._animateRootOpacity=!0,this.isOpening&&t&&(t.zoomAndPanToInitial(),t.applyCurrentZoomPan())),this._animateBgOpacity=!this._animateRootOpacity&&this.pswp.options.bgOpacity>sn,this._opacityElement=this._animateRootOpacity?e.element:e.bg,!this._useAnimation){this._duration=0,this._animateZoom=!1,this._animateBgOpacity=!1,this._animateRootOpacity=!0,this.isOpening&&(e.element&&(e.element.style.opacity=String(sn)),e.applyBgOpacity(1));return}this._animateZoom&&this._thumbBounds&&this._thumbBounds.innerRect?(this._croppedZoom=!0,this._cropContainer1=this.pswp.container,this._cropContainer2=this.pswp.currSlide?.holderElement,e.container&&(e.container.style.overflow="hidden",e.container.style.width=e.viewportSize.x+"px")):this._croppedZoom=!1,this.isOpening?(this._animateRootOpacity?(e.element&&(e.element.style.opacity=String(sn)),e.applyBgOpacity(1)):(this._animateBgOpacity&&e.bg&&(e.bg.style.opacity=String(sn)),e.element&&(e.element.style.opacity="1")),this._animateZoom&&(this._setClosedStateZoomPan(),this._placeholder&&(this._placeholder.style.willChange="transform",this._placeholder.style.opacity=String(sn)))):this.isClosing&&(e.mainScroll.itemHolders[0]&&(e.mainScroll.itemHolders[0].el.style.display="none"),e.mainScroll.itemHolders[2]&&(e.mainScroll.itemHolders[2].el.style.display="none"),this._croppedZoom&&0!==e.mainScroll.x&&(e.mainScroll.resetPosition(),e.mainScroll.resize()))}_start(){this.isOpening&&this._useAnimation&&this._placeholder&&"IMG"===this._placeholder.tagName?new Promise(e=>{let t=!1,n=!0;ae(this._placeholder).finally(()=>{t=!0,n||e(!0)}),setTimeout(()=>{n=!1,t&&e(!0)},50),setTimeout(e,250)}).finally(()=>this._initiate()):this._initiate()}_initiate(){this.pswp.element?.style.setProperty("--pswp-transition-duration",this._duration+"ms"),this.pswp.dispatch(this.isOpening?"openingAnimationStart":"closingAnimationStart"),this.pswp.dispatch("initialZoom"+(this.isOpening?"In":"Out")),this.pswp.element?.classList.toggle("pswp--ui-visible",this.isOpening),this.isOpening?(this._placeholder&&(this._placeholder.style.opacity="1"),this._animateToOpenState()):this.isClosing&&this._animateToClosedState(),this._useAnimation||this._onAnimationComplete()}_onAnimationComplete(){let{pswp:e}=this;this.isOpen=this.isOpening,this.isClosed=this.isClosing,this.isOpening=!1,this.isClosing=!1,e.dispatch(this.isOpen?"openingAnimationEnd":"closingAnimationEnd"),e.dispatch("initialZoom"+(this.isOpen?"InEnd":"OutEnd")),this.isClosed?e.destroy():this.isOpen&&(this._animateZoom&&e.container&&(e.container.style.overflow="visible",e.container.style.width="100%"),e.currSlide?.applyCurrentZoomPan())}_animateToOpenState(){let{pswp:e}=this;this._animateZoom&&(this._croppedZoom&&this._cropContainer1&&this._cropContainer2&&(this._animateTo(this._cropContainer1,"transform","translate3d(0,0,0)"),this._animateTo(this._cropContainer2,"transform","none")),e.currSlide&&(e.currSlide.zoomAndPanToInitial(),this._animateTo(e.currSlide.container,"transform",e.currSlide.getCurrentTransform()))),this._animateBgOpacity&&e.bg&&this._animateTo(e.bg,"opacity",String(e.options.bgOpacity)),this._animateRootOpacity&&e.element&&this._animateTo(e.element,"opacity","1")}_animateToClosedState(){let{pswp:e}=this;this._animateZoom&&this._setClosedStateZoomPan(!0),this._animateBgOpacity&&e.bgOpacity>.01&&e.bg&&this._animateTo(e.bg,"opacity","0"),this._animateRootOpacity&&e.element&&this._animateTo(e.element,"opacity","0")}_setClosedStateZoomPan(e){if(!this._thumbBounds)return;let{pswp:t}=this,{innerRect:n}=this._thumbBounds,{currSlide:r,viewportSize:o}=t;if(this._croppedZoom&&n&&this._cropContainer1&&this._cropContainer2){let t=-o.x+(this._thumbBounds.x-n.x)+n.w,r=-o.y+(this._thumbBounds.y-n.y)+n.h,i=o.x-n.w,a=o.y-n.h;e?(this._animateTo(this._cropContainer1,"transform",i4(t,r)),this._animateTo(this._cropContainer2,"transform",i4(i,a))):(i5(this._cropContainer1,t,r),i5(this._cropContainer2,i,a))}r&&(iJ(r.pan,n||this._thumbBounds),r.currZoomLevel=this._thumbBounds.w/r.width,e?this._animateTo(r.container,"transform",r.getCurrentTransform()):r.applyCurrentZoomPan())}_animateTo(e,t,n){if(!this._duration){e.style[t]=n;return}let{animations:r}=this.pswp,o={duration:this._duration,easing:this.pswp.options.easing,onComplete:()=>{r.activeAnimations.length||this._onAnimationComplete()},target:e};o[t]=n,r.startTransition(o)}}let so={allowPanToNext:!0,spacing:.1,loop:!0,pinchToClose:!0,closeOnVerticalDrag:!0,hideAnimationDuration:333,showAnimationDuration:333,zoomAnimationDuration:333,escKey:!0,arrowKeys:!0,returnFocus:!0,maxWidthToAnimate:4e3,clickToCloseNonZoomable:!0,imageClickAction:"zoom-or-close",bgClickAction:"close",tapAction:"toggle-controls",doubleTapAction:"zoom",indexIndicatorSep:" / ",preloaderDelay:2e3,bgOpacity:.8,index:0,errorMsg:"The image cannot be loaded",preload:[1,2],easing:"cubic-bezier(.4,0,.22,1)"};class si extends st{constructor(e){super(),this.options=this._prepareOptions(e||{}),this.offset={x:0,y:0},this._prevViewportSize={x:0,y:0},this.viewportSize={x:0,y:0},this.bgOpacity=1,this.currIndex=0,this.potentialIndex=0,this.isOpen=!1,this.isDestroying=!1,this.hasMouse=!1,this._initialItemData={},this._initialThumbBounds=void 0,this.topBar=void 0,this.element=void 0,this.template=void 0,this.container=void 0,this.scrollWrap=void 0,this.currSlide=void 0,this.events=new aa,this.animations=new az,this.mainScroll=new aT(this),this.gestures=new aI(this),this.opener=new sr(this),this.keyboard=new aN(this),this.contentLoader=new se(this)}init(){if(this.isOpen||this.isDestroying)return!1;this.isOpen=!0,this.dispatch("init"),this.dispatch("beforeOpen"),this._createMainStructure();let e="pswp--open";return this.gestures.supportsTouch&&(e+=" pswp--touch"),this.options.mainClass&&(e+=" "+this.options.mainClass),this.element&&(this.element.className+=" "+e),this.currIndex=this.options.index||0,this.potentialIndex=this.currIndex,this.dispatch("firstUpdate"),this.scrollWheel=new aU(this),(Number.isNaN(this.currIndex)||this.currIndex<0||this.currIndex>=this.getNumItems())&&(this.currIndex=0),this.gestures.supportsTouch||this.mouseDetected(),this.updateSize(),this.offset.y=window.pageYOffset,this._initialItemData=this.getItemData(this.currIndex),this.dispatch("gettingData",{index:this.currIndex,data:this._initialItemData,slide:void 0}),this._initialThumbBounds=this.getThumbBounds(),this.dispatch("initialLayout"),this.on("openingAnimationEnd",()=>{let{itemHolders:e}=this.mainScroll;e[0]&&(e[0].el.style.display="block",this.setContent(e[0],this.currIndex-1)),e[2]&&(e[2].el.style.display="block",this.setContent(e[2],this.currIndex+1)),this.appendHeavy(),this.contentLoader.updateLazy(),this.events.add(window,"resize",this._handlePageResize.bind(this)),this.events.add(window,"scroll",this._updatePageScrollOffset.bind(this)),this.dispatch("bindEvents")}),this.mainScroll.itemHolders[1]&&this.setContent(this.mainScroll.itemHolders[1],this.currIndex),this.dispatch("change"),this.opener.open(),this.dispatch("afterInit"),!0}getLoopedIndex(e){let t=this.getNumItems();return this.options.loop&&(e>t-1&&(e-=t),e<0&&(e+=t)),i3(e,0,t-1)}appendHeavy(){this.mainScroll.itemHolders.forEach(e=>{e.slide?.appendHeavy()})}goTo(e){this.mainScroll.moveIndexBy(this.getLoopedIndex(e)-this.potentialIndex)}next(){this.goTo(this.potentialIndex+1)}prev(){this.goTo(this.potentialIndex-1)}zoomTo(...e){this.currSlide?.zoomTo(...e)}toggleZoom(){this.currSlide?.toggleZoom()}close(){this.opener.isOpen&&!this.isDestroying&&(this.isDestroying=!0,this.dispatch("close"),this.events.removeAll(),this.opener.close())}destroy(){if(!this.isDestroying){this.options.showHideAnimationType="none",this.close();return}this.dispatch("destroy"),this._listeners={},this.scrollWrap&&(this.scrollWrap.ontouchmove=null,this.scrollWrap.ontouchend=null),this.element?.remove(),this.mainScroll.itemHolders.forEach(e=>{e.slide?.destroy()}),this.contentLoader.destroy(),this.events.removeAll()}refreshSlideContent(e){this.contentLoader.removeByIndex(e),this.mainScroll.itemHolders.forEach((t,n)=>{let r=(this.currSlide?.index??0)-1+n;this.canLoop()&&(r=this.getLoopedIndex(r)),r===e&&(this.setContent(t,e,!0),1===n&&(this.currSlide=t.slide,t.slide?.setIsActive(!0)))}),this.dispatch("change")}setContent(e,t,n){if(this.canLoop()&&(t=this.getLoopedIndex(t)),e.slide){if(e.slide.index===t&&!n)return;e.slide.destroy(),e.slide=void 0}if(!this.canLoop()&&(t<0||t>=this.getNumItems()))return;let r=this.getItemData(t);e.slide=new ap(r,t,this),t===this.currIndex&&(this.currSlide=e.slide),e.slide.append(e.el)}getViewportCenterPoint(){return{x:this.viewportSize.x/2,y:this.viewportSize.y/2}}updateSize(e){if(this.isDestroying)return;let t=as(this.options,this);!e&&i2(t,this._prevViewportSize)||(iJ(this._prevViewportSize,t),this.dispatch("beforeResize"),iJ(this.viewportSize,this._prevViewportSize),this._updatePageScrollOffset(),this.dispatch("viewportSize"),this.mainScroll.resize(this.opener.isOpen),!this.hasMouse&&window.matchMedia("(any-hover: hover)").matches&&this.mouseDetected(),this.dispatch("resize"))}applyBgOpacity(e){this.bgOpacity=Math.max(e,0),this.bg&&(this.bg.style.opacity=String(this.bgOpacity*this.options.bgOpacity))}mouseDetected(){this.hasMouse||(this.hasMouse=!0,this.element?.classList.add("pswp--has_mouse"))}_handlePageResize(){this.updateSize(),/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&setTimeout(()=>{this.updateSize()},500)}_updatePageScrollOffset(){this.setScrollOffset(0,window.pageYOffset)}setScrollOffset(e,t){this.offset.x=e,this.offset.y=t,this.dispatch("updateScrollOffset")}_createMainStructure(){this.element=iQ("pswp","div"),this.element.setAttribute("tabindex","-1"),this.element.setAttribute("role","dialog"),this.template=this.element,this.bg=iQ("pswp__bg","div",this.element),this.scrollWrap=iQ("pswp__scroll-wrap","section",this.element),this.container=iQ("pswp__container","div",this.scrollWrap),this.scrollWrap.setAttribute("aria-roledescription","carousel"),this.container.setAttribute("aria-live","off"),this.container.setAttribute("id","pswp__items"),this.mainScroll.appendHolders(),this.ui=new aJ(this),this.ui.init(),(this.options.appendToEl||document.body).appendChild(this.element)}getThumbBounds(){return a2(this.currIndex,this.currSlide?this.currSlide.data:this._initialItemData,this)}canLoop(){return this.options.loop&&this.getNumItems()>2}_prepareOptions(e){return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches&&(e.showHideAnimationType="none",e.zoomAnimationDuration=0),{...so,...e}}}class sa extends Error{constructor(){super(...arguments),this.message=`No valid \`ref\` provided.
You should use \`ref\` from render prop of Item component.
Example:
<Item>{({ ref }) => <div ref={ref}></div>}</Item>
`}}var ss=function(e,t){if(!(e instanceof Element)||!(t instanceof Element))throw new sa;return e===t?0:2&e.compareDocumentPosition(t)?1:-1},sl=function(e){return Object.entries(e).map(([e,t])=>t?`${e}=${t}`:e).join("&")},sc=function(e){return e.split("&").reduce((e,t)=>{let[n,r]=t.split("=");return n&&(e[n]=r),e},{})},su=function(e){let t=sc(e);return delete t.gid,delete t.pid,sl(t)},sd=function(){return window.location.hash.substring(1)},sf=function(){return`${window.location.pathname}${window.location.search}`},sp=e=>{let t=sc(e);return!!t.gid&&!!t.pid},sh=function(e,t){return null!==e?e:t?parseInt(t,10)-1:0};let sm=tp.createContext({remove:()=>{},set:()=>{},handleClick:()=>{},open:()=>{}});class sg{constructor(e){this.pswp=e,this.on=e.on.bind(e),this.off=e.off.bind(e),this.dispatch=e.dispatch.bind(e)}}var sv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let sy=null,sb=({children:e,options:t,plugins:n,uiElements:r,id:o,onBeforeOpen:i,onOpen:a,withCaption:s,withDownloadButton:l})=>{let[c,u]=(0,tp.useState)(null),d=(0,tp.useRef)(new Map),f=(0,tp.useRef)(null),p=(0,tp.useCallback)((e,c,f,p)=>{if(sy)return;let h=f||null,m=[],g=Array.from(d.current),v=(t,n)=>{let[r,o]=t,{width:i,height:a,original:s,originalSrcset:l,thumbnail:u,cropped:d,content:f,id:p}=o,g=sv(o,["width","height","original","originalSrcset","thumbnail","cropped","content","id"]);(e===r||void 0!==p&&String(p)===c)&&(h=n),m.push(Object.assign(Object.assign(Object.assign({w:Number(i),h:Number(a),src:s,srcset:l,msrc:u,element:r.current,thumbCropped:d,content:f},void 0!==f?{type:"html"}:{}),void 0!==p?{pid:p}:{}),g))};d.current.size>1?g.sort(([{current:e}],[{current:t}])=>ss(e,t)).forEach(v):g.forEach(v);let y=p&&void 0!==p.clientX&&void 0!==p.clientY?{x:p.clientX,y:p.clientY}:null,b=new si(Object.assign({dataSource:m,index:sh(h,c),initialPointerPos:y},t||{}));sy=b,b.on("contentActivate",({content:e})=>{e.data.content?u((0,n4.createPortal)(e.data.content,e.element)):u(null)}),b.on("close",()=>{u(null)}),l&&b.on("uiRegister",()=>{var e;null===(e=b.ui)||void 0===e||e.registerElement({name:"download-button",ariaLabel:"Download",order:8,isButton:!0,tagName:"a",appendTo:"bar",html:{isCustomSVG:!0,inner:'<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1ZM23 23H9v2h14Z" id="pswp__icn-download"/>',outlineID:"pswp__icn-download"},onInit:(e,t)=>{e.setAttribute("download",""),e.setAttribute("target","_blank"),e.setAttribute("rel","noopener"),b.on("change",()=>{var n;(null===(n=t.currSlide)||void 0===n?void 0:n.data.src)&&(e.href=t.currSlide.data.src)})}})}),s&&b.on("uiRegister",()=>{var e;null===(e=b.ui)||void 0===e||e.registerElement({name:"default-caption",order:9,isButton:!1,appendTo:"root",onInit:(e,t)=>{e.style.position="absolute",e.style.bottom="15px",e.style.left="0",e.style.right="0",e.style.padding="0 20px",e.style.color="var(--pswp-icon-color)",e.style.textAlign="center",e.style.fontSize="14px",e.style.lineHeight="1.5",e.style.textShadow="1px 1px 3px var(--pswp-icon-color-secondary)",b.on("change",()=>{if(!t.currSlide)return;let{caption:n,alt:r}=t.currSlide.data;e.innerHTML=n||r||""})}})}),Array.isArray(r)&&r.forEach(e=>{b.on("uiRegister",()=>{var t;null===(t=b.ui)||void 0===t||t.registerElement(e)})}),"function"==typeof n&&n(new sg(b)),"function"==typeof i&&i(b);let w=()=>({gallery:{galleryUID:o}});b.on("beforeOpen",()=>{var e;if(void 0===o)return;if(!sp(sd())){window.history.pushState(w(),document.title);return}if(null===(e=window.history.state)||void 0===e?void 0:e.gallery)return;let t=sf(),n=sd(),r=su(n),i=`${t}${r?`#${r}`:""}`,a=`${t}#${n}`;window.history.replaceState(window.history.state,document.title,i),window.history.pushState(w(),document.title,a)}),b.on("change",()=>{var e;if(void 0===o)return;let t=(null===(e=b.currSlide)||void 0===e?void 0:e.data.pid)||b.currIndex+1,n=sf(),r=su(sd()),i=sl({gid:o,pid:t}),a=`${n}#${r}&${i}`;window.history.replaceState(w(),document.title,a)});let S=()=>{void 0!==o&&null!==sy&&sy.close()};window.addEventListener("popstate",S),b.on("destroy",()=>{void 0!==o&&(window.removeEventListener("popstate",S),sp(sd())&&window.history.back()),sy=null}),b.init(),"function"==typeof a&&a(b)},[t,n,r,o,i,a,s,l]);(0,tp.useEffect)(()=>()=>{sy&&sy.close()},[]);let h=(0,tp.useCallback)(()=>{if(void 0===o||null!==sy)return;let e=sd();if(e.length<5)return;let{pid:t,gid:n}=sc(e);if(t&&n){if(0===d.current.size){f.current=t;return}t&&n===String(o)&&p(null,t)}},[p,o]);(0,tp.useEffect)(()=>(h(),window.addEventListener("popstate",h),()=>{window.removeEventListener("popstate",h)}),[h]);let m=(0,tp.useCallback)(e=>{d.current.delete(e)},[]),g=(0,tp.useCallback)((e,t)=>{let{id:n}=t;if(d.current.set(e,t),null!==f.current){if(n===f.current){p(e),f.current=null;return}if(!n){let e=parseInt(f.current,10)-1,t=Array.from(d.current.keys())[e];t&&(p(t),f.current=null)}}},[p]),v=(0,tp.useCallback)(e=>{p(null,null,e)},[p]),y=(0,tp.useMemo)(()=>({remove:m,set:g,handleClick:p,open:v}),[m,g,p,v]);return tp.createElement(sm.Provider,{value:y},e,c)};sb.propTypes={children:tN.any,options:tN.object,plugins:tN.func,uiElements:tN.array,id:tN.oneOfType([tN.string,tN.number]),onBeforeOpen:tN.func,onOpen:tN.func,withCaption:tN.bool,withDownloadButton:tN.bool};var sw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let sS=e=>{var{children:t}=e,n=sw(e,["children"]);let r=(0,tp.useRef)(),{remove:o,set:i,handleClick:a}=(0,tp.useContext)(sm),s=(0,tp.useCallback)(e=>a(r,null,null,e),[]);return(0,tp.useLayoutEffect)(()=>(i(r,n),()=>o(r)),Object.values(n)),t({ref:r,open:s})};sS.propTypes={children:tN.func.isRequired,original:tN.string,originalSrcset:tN.string,thumbnail:tN.string,width:tN.oneOfType([tN.number,tN.string]),height:tN.oneOfType([tN.number,tN.string]),alt:tN.string,caption:tN.string,content:tN.element,html:tN.string,id:tN.oneOfType([tN.number,tN.string]),cropped:tN.bool};var sx=n(796);let sE=e=>{let{children:t,content:n,...r}=e;return(0,tf.jsx)(sS,{...r,content:(0,tf.jsxs)("div",{className:"relative m-auto",children:[(0,tf.jsx)(tR.Z,{indicator:(0,tf.jsx)(sx.Z,{className:"text-5xl",spin:!0}),className:"!absolute"}),n]}),children:e=>t(e)})},sC=e=>{let{children:t,options:n={},...r}=e;return(0,tf.jsx)(sb,{...r,options:{bgOpacity:.95,arrowPrevSVG:'<div class="pswp-icon-prev" />',arrowNextSVG:'<div class="pswp-icon-next" />',closeSVG:'<div class="pswp-icon-close" />',bgClickAction:"close",...n},children:t})};var s_="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI2MSIgZmlsbD0ibm9uZSI+CiAgPGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj4KICAgIDxnIGZpbGw9IiNmZmYiIGZpbHRlcj0idXJsKCNiKSI+CiAgICAgIDxwYXRoIGQ9Ik0yNCA1NC4wNzRjLTEuNTc2LTEuODM3LTUuNDA3LTYuNDA2LTkuMTk1LTExLjcyNkM4LjM5IDMzLjM0IDUgMjYuMzA1IDUgMjJhMTguOTM3IDE4LjkzNyAwIDAgMSA1LjU2NS0xMy40MzVBMTguOTM4IDE4LjkzOCAwIDAgMSAyNCAzYTE4LjkzNyAxOC45MzcgMCAwIDEgMTMuNDM1IDUuNTY1QTE4LjkzNyAxOC45MzcgMCAwIDEgNDMgMjJjMCA0LjMwNy0zLjM5NCAxMS4zNDgtOS44MTUgMjAuMzYyLTMuNzg3IDUuMzE3LTcuNjEgOS44NzctOS4xODUgMTEuNzEyWiIvPgogICAgICA8cGF0aCBkPSJNMjQgNGExNy44ODIgMTcuODgyIDAgMCAwLTEyLjcyOCA1LjI3MkM3Ljg3MiAxMi42NzIgNiAxNy4xOTIgNiAyMmMwIDIuMTk3Ljk3NSA1LjIyIDIuODk5IDguOTg1IDEuNjEgMy4xNTQgMy44NjkgNi43NzggNi43MSAxMC43NjkgMy4yNTcgNC41NzQgNi41NDcgOC41OTMgOC4zOTEgMTAuNzc3IDEuODQtMi4xNzggNS4xMTctNi4xODEgOC4zNzEtMTAuNzUgMi44NDctMy45OTUgNS4xMDktNy42MjMgNi43MjMtMTAuNzgxQzQxLjAyMiAyNy4yMjggNDIgMjQuMiA0MiAyMmMwLTQuODA4LTEuODcyLTkuMzI4LTUuMjcyLTEyLjcyOEMzMy4zMjggNS44NzIgMjguODA4IDQgMjQgNFptMC0yYzExLjA0NiAwIDIwIDguOTU0IDIwIDIwUzI0IDU1LjYgMjQgNTUuNiA0IDMzLjA0NiA0IDIyQzQgMTAuOTU0IDEyLjk1NCAyIDI0IDJaIi8+CiAgICA8L2c+CiAgICA8cGF0aCBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9Ii40NSIgZD0iTTI0IDM3YzguMjg0IDAgMTUtNi43MTYgMTUtMTUgMC04LjI4NC02LjcxNi0xNS0xNS0xNS04LjI4NCAwLTE1IDYuNzE2LTE1IDE1IDAgOC4yODQgNi43MTYgMTUgMTUgMTVaIi8+CiAgICA8ZyBjbGlwLXBhdGg9InVybCgjYykiPgogICAgICA8cGF0aCBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9Ii4wMSIgZD0iTTE2IDE0aDE2djE2SDE2eiIvPgogICAgICA8ZyBjbGlwLXBhdGg9InVybCgjZCkiPgogICAgICAgIDxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0zMS43NiAyMS44NzQtNi45LTYuODk2LS40NjMtLjQ2M2EuNTYyLjU2MiAwIDAgMC0uNzkyIDBsLTcuMzYzIDcuMzU5YTEuMTQyIDEuMTQyIDAgMCAwLS4zMzYuODIxYy4wMDguNjI5LjUzIDEuMTMgMS4xNiAxLjEzaC43NTh2NS44MTdoMTIuMzU0di01LjgxNmguNzc1YTEuMTM3IDEuMTM3IDAgMCAwIDEuMDU3LS43MDcgMS4xMzYgMS4xMzYgMCAwIDAtLjI1LTEuMjQ1Wk0yNSAyOC4zNTZoLTJ2LTMuNjQzaDJ2My42NDNabTMuODkxLTUuODE2djUuODE2aC0yLjc0OHYtNC4wNzFhLjcxNC43MTQgMCAwIDAtLjcxNC0uNzE1aC0yLjg1OGEuNzE0LjcxNCAwIDAgMC0uNzE0LjcxNXY0LjA3MUgxOS4xMVYyMi41NGgtMS43MTRsNi42MDctNi42MDIuNDEyLjQxMyA2LjE5MyA2LjE4OWgtMS43MTZaIi8+CiAgICAgIDwvZz4KICAgIDwvZz4KICA8L2c+CiAgPGRlZnM+CiAgICA8Y2xpcFBhdGggaWQ9ImEiPgogICAgICA8cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDQ4djYxSDB6Ii8+CiAgICA8L2NsaXBQYXRoPgogICAgPGNsaXBQYXRoIGlkPSJjIj4KICAgICAgPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE2IDE0aDE2djE2SDE2eiIvPgogICAgPC9jbGlwUGF0aD4KICAgIDxjbGlwUGF0aCBpZD0iZCI+CiAgICAgIDxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0xNiAxNGgxNnYxNkgxNnoiLz4KICAgIDwvY2xpcFBhdGg+CiAgICA8ZmlsdGVyIGlkPSJiIiB3aWR0aD0iNTIiIGhlaWdodD0iNjUuNiIgeD0iLTIiIHk9Ii0xIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICAgIDxmZUZsb29kIGZsb29kLW9wYWNpdHk9IjAiIHJlc3VsdD0iQmFja2dyb3VuZEltYWdlRml4Ii8+CiAgICAgIDxmZUNvbG9yTWF0cml4IGluPSJTb3VyY2VBbHBoYSIgcmVzdWx0PSJoYXJkQWxwaGEiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiLz4KICAgICAgPGZlT2Zmc2V0IGR5PSIzIi8+CiAgICAgIDxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjMiLz4KICAgICAgPGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjUwMiAwIi8+CiAgICAgIDxmZUJsZW5kIGluMj0iQmFja2dyb3VuZEltYWdlRml4IiByZXN1bHQ9ImVmZmVjdDFfZHJvcFNoYWRvd182OTI3XzQ1NTQ1Ii8+CiAgICAgIDxmZUJsZW5kIGluPSJTb3VyY2VHcmFwaGljIiBpbjI9ImVmZmVjdDFfZHJvcFNoYWRvd182OTI3XzQ1NTQ1IiByZXN1bHQ9InNoYXBlIi8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+Cjwvc3ZnPg==";let sk=e=>{let{pinSize:t=[48,60],location:n,contentClassName:r}=e,{t:o}=(0,nK.$G)(),[i,a]=(0,tp.useState)(!1);if(!n)return null;let s=()=>a(e=>!e),l={lat:n.latitude,lng:n.longitude};return(0,tf.jsx)(i_.jC,{position:l,onMouseOver:s,onMouseOut:s,zIndex:(0,tv.Y5)(l.lat),icon:{url:s_,scaledSize:new google.maps.Size(t[0],t[1])},children:i&&(0,tf.jsx)(i_.kp,{position:l,children:(0,tf.jsx)("div",{className:r,children:o("text.current-company-address","Current company address")})})})};var sO=n(11286),sA=n.n(sO),sI=n(89022),sP=n.n(sI),sT=n(75379);function sR(){return(sR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sM=e=>tp.createElement("svg",sR({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),p||(p=tp.createElement("path",{d:"M16.5 22a.5.5 0 0 1-.407-.791L20.528 15H15.5a.5.5 0 0 1 0-1h6a.5.5 0 0 1 .407.791l-5 7A.502.502 0 0 1 16.5 22ZM13.5 11a.5.5 0 0 1-.5-.5V8H8.5a.5.5 0 0 1-.354-.854l5-5A.5.5 0 0 1 14 2.5V7h.5a.5.5 0 0 1 0 1H14v2.5a.5.5 0 0 1-.5.5ZM9.707 7H13V3.707ZM5.5 22a.5.5 0 0 1-.354-.854l16-16a.5.5 0 0 1 .707.707l-16 16A.498.498 0 0 1 5.5 22Z"})),h||(h=tp.createElement("path",{d:"M7.521 11h-5a.5.5 0 0 1-.346-.86l4.723-4.584a1.835 1.835 0 0 0 .083-.278 1.81 1.81 0 0 0-.114-1.11 1.78 1.78 0 0 0-.181-.32 1.924 1.924 0 0 0-.243-.284 1.997 1.997 0 0 0-.296-.234 1.939 1.939 0 0 0-.34-.178 2.119 2.119 0 0 0-.38-.113 2.19 2.19 0 0 0-.813 0 2.03 2.03 0 0 0-.378.113 1.952 1.952 0 0 0-.339.176 2.022 2.022 0 0 0-.298.237 1.903 1.903 0 0 0-.242.28 1.84 1.84 0 0 0-.182.323.5.5 0 0 1-.915-.404 2.893 2.893 0 0 1 .28-.494 2.98 2.98 0 0 1 .366-.427 3.02 3.02 0 0 1 .446-.353 2.943 2.943 0 0 1 .509-.265 3.106 3.106 0 0 1 1.76-.166 3.047 3.047 0 0 1 .56.166 3.052 3.052 0 0 1 .953.617 2.914 2.914 0 0 1 .369.43 2.826 2.826 0 0 1 .456 1.039 2.812 2.812 0 0 1-.177 1.725.507.507 0 0 1-.096.144l-.637.666L3.764 10H7.52a.5.5 0 0 1 0 1Z"})));function sN(){return(sN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sj=e=>tp.createElement("svg",sN({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),m||(m=tp.createElement("path",{d:"m21.232 13.169-3.898 1.044L13.5 12l3.834-2.213 3.898 1.044a.5.5 0 1 0 .259-.966l-2.933-.786 2.42-1.396a.5.5 0 1 0-.5-.866l-2.42 1.396.786-2.932a.5.5 0 1 0-.966-.258L16.834 8.92 13 11.134V6.707l2.854-2.854a.5.5 0 0 0-.707-.707L13 5.293V2.5a.5.5 0 0 0-1 0v2.793L9.854 3.146a.5.5 0 0 0-.707.707L12 6.707v4.427L8.166 8.92 7.122 5.023a.5.5 0 0 0-.966.258l.786 2.932-2.42-1.396a.5.5 0 0 0-.5.866l2.42 1.396-2.933.786a.5.5 0 1 0 .26.966l3.897-1.044L11.5 12l-3.834 2.213-3.898-1.044a.5.5 0 1 0-.259.966l2.933.785-2.42 1.397a.5.5 0 0 0 .5.866l2.42-1.396-.786 2.932a.5.5 0 0 0 .966.258l1.044-3.898L12 12.866v4.427l-2.854 2.853a.5.5 0 0 0 .707.707L12 18.707V21.5a.5.5 0 0 0 1 0v-2.793l2.146 2.146a.5.5 0 0 0 .707-.707L13 17.293v-4.427l3.834 2.213 1.044 3.898a.5.5 0 1 0 .966-.258l-.786-2.932 2.42 1.396a.5.5 0 1 0 .5-.866l-2.42-1.396 2.933-.786a.5.5 0 1 0-.26-.966Z"})));function sD(){return(sD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sL=e=>tp.createElement("svg",sD({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),g||(g=tp.createElement("path",{d:"M12 17a2 2 0 1 0 2 2 2.006 2.006 0 0 0-2-2Zm0 3a1 1 0 1 1 1-1 1.003 1.003 0 0 1-1 1Z"})),v||(v=tp.createElement("path",{d:"M15.5 17a.498.498 0 0 1-.356-.15 4.334 4.334 0 0 0-6.288 0 .5.5 0 0 1-.712-.7 5.333 5.333 0 0 1 7.712 0 .5.5 0 0 1-.356.85Z"})),y||(y=tp.createElement("path",{d:"M17.5 15a.496.496 0 0 1-.322-.117 8.026 8.026 0 0 0-10.356 0 .5.5 0 1 1-.644-.766 9.026 9.026 0 0 1 11.644 0A.5.5 0 0 1 17.5 15ZM7.42 9.99a.22.22 0 0 0 .08.01h3a.502.502 0 0 0 .29-.91 11.232 11.232 0 0 0-3.37.9ZM9.98 6.33c-.01.03-.02.06-.03.1l-.96.93a12.65 12.65 0 0 1 1.74-.3l.01-.01a.651.651 0 0 0 .1-.15 2.538 2.538 0 0 0 .12-.36 1.812 1.812 0 0 0 .04-.4v-.1c-.34.02-.67.06-1 .1a1.223 1.223 0 0 1-.02.19Z"})),b||(b=tp.createElement("path",{d:"M21.86 10.15a13.788 13.788 0 0 0-7.94-4.02A4.998 4.998 0 0 0 4 7a5.075 5.075 0 0 0 .2 1.42 13.996 13.996 0 0 0-2.06 1.73.502.502 0 1 0 .72.7A12.172 12.172 0 0 1 4.6 9.37a5.107 5.107 0 0 0 1.21 1.48 11.772 11.772 0 0 0-1.65 1.28.503.503 0 0 0 .68.74 11.456 11.456 0 0 1 1.88-1.42c.14.07.28.14.43.2a4.771 4.771 0 0 0 1.47.33A2.356 2.356 0 0 0 9 12a4.928 4.928 0 0 0 2.94-.96 4.486 4.486 0 0 0 1.03-1.01 10.562 10.562 0 0 1 6.19 2.84.509.509 0 0 0 .71-.03.514.514 0 0 0-.03-.71 11.614 11.614 0 0 0-6.32-3.01 4.681 4.681 0 0 0 .47-1.97 12.78 12.78 0 0 1 7.15 3.7.507.507 0 0 0 .36.15.518.518 0 0 0 .35-.14.504.504 0 0 0 .01-.71Zm-9.42-1.12a3.467 3.467 0 0 1-.79.96 1.757 1.757 0 0 1-.15.13A4.003 4.003 0 0 1 9 11a2.959 2.959 0 0 1-.52-.04 2.658 2.658 0 0 1-.56-.12 3.707 3.707 0 0 1-1.16-.53 3.87 3.87 0 0 1-1.32-1.49 3.541 3.541 0 0 1-.34-.96A3.438 3.438 0 0 1 5 7a4 4 0 0 1 7.88-.97A3.905 3.905 0 0 1 13 7v.04a3.968 3.968 0 0 1-.56 1.99Z"})),w||(w=tp.createElement("path",{d:"M10.36 7.45 8.74 9h1.76a.476.476 0 0 1 .29.09.502.502 0 0 1-.29.91h-3a.22.22 0 0 1-.08-.01.472.472 0 0 1-.38-.3.507.507 0 0 1 .11-.55l1.84-1.78.96-.93c.01-.04.02-.07.03-.1a1.223 1.223 0 0 0 .02-.19 1.223 1.223 0 0 0-.02-.19.492.492 0 0 0-.06-.17 1.192 1.192 0 0 0-.08-.16c-.04-.05-.08-.09-.12-.14a1.429 1.429 0 0 0-.15-.11.7.7 0 0 0-.17-.09.826.826 0 0 0-.19-.06.946.946 0 0 0-.41 0 .604.604 0 0 0-.19.06.607.607 0 0 0-.18.09.756.756 0 0 0-.14.11.749.749 0 0 0-.12.14 1.398 1.398 0 0 0-.1.16.487.487 0 0 1-.65.26.501.501 0 0 1-.26-.66 2.277 2.277 0 0 1 .19-.34 2.102 2.102 0 0 1 .25-.28 1.337 1.337 0 0 1 .29-.23 2.209 2.209 0 0 1 .34-.18 1.579 1.579 0 0 1 .37-.11 2.153 2.153 0 0 1 .8 0 1.579 1.579 0 0 1 .37.11 2.209 2.209 0 0 1 .34.18 1.702 1.702 0 0 1 .3.23 2.17 2.17 0 0 1 .24.29 1.78 1.78 0 0 1 .19.33 2.289 2.289 0 0 1 .12.37 2.546 2.546 0 0 1 .04.29v.1a1.812 1.812 0 0 1-.04.4 2.538 2.538 0 0 1-.12.36.651.651 0 0 1-.1.15l-.01.01Z"})));function sB(){return(sB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sZ=e=>tp.createElement("svg",sB({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),S||(S=tp.createElement("path",{d:"M21.5 21h-.48l.96-3.362a.49.49 0 0 0 0-.276L21.02 14h.48a.5.5 0 0 0 0-1H18V3h.5a.5.5 0 0 0 0-1h-13a.5.5 0 0 0 0 1H6v10H2.5a.5.5 0 0 0 0 1h.48l-.96 3.362a.49.49 0 0 0 0 .276L2.98 21H2.5a.5.5 0 0 0 0 1h19a.5.5 0 0 0 0-1Zm-1.48-6.862.96 3.362-.96 3.362a.485.485 0 0 0-.011.138h-1.833l.648-3.406a.504.504 0 0 0 0-.188L18.176 14h1.832a.485.485 0 0 0 .012.138ZM17.824 17.5l-.648 3.406a.476.476 0 0 0 0 .094h-1.84l.329-3.548-.33-3.452h1.842a.476.476 0 0 0-.001.094ZM17 13h-4.5v-3H17Zm0-4h-4.5V3H17ZM7 3h4.5v6H7Zm0 7h4.5v3H7Zm-.824 7.5.648-3.406a.476.476 0 0 0 0-.094h1.84l-.329 3.548.33 3.452H6.822a.476.476 0 0 0 .001-.094ZM3.98 20.862 3.02 17.5l.96-3.362A.485.485 0 0 0 3.992 14h1.832l-.648 3.406a.504.504 0 0 0 0 .188L5.824 21H3.992a.485.485 0 0 0-.012-.138ZM9.66 21a.464.464 0 0 0 .005-.048l-.334-3.404.334-3.5A.464.464 0 0 0 9.66 14h1.84v7Zm2.84-7h1.84a.464.464 0 0 0-.005.048l.334 3.404-.334 3.5a.464.464 0 0 0 .005.048H12.5Z"})));function sF(){return(sF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sz=e=>tp.createElement("svg",sF({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),x||(x=tp.createElement("path",{d:"M6.678 13H5V8.583A3.587 3.587 0 0 0 1.417 5H.5a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5H1v1.5a.5.5 0 0 0 1 0V17h5v1.5a.5.5 0 0 0 1 0V17h1.5a.5.5 0 0 0 .5-.5v-.179A3.326 3.326 0 0 0 6.678 13ZM1 16V6h.417A2.586 2.586 0 0 1 4 8.583V13.5a.5.5 0 0 0 .5.5h2.178a2.325 2.325 0 0 1 2.3 2ZM22.5 5h-.917A3.587 3.587 0 0 0 18 8.583V13h-1.678A3.326 3.326 0 0 0 13 16.321v.179a.5.5 0 0 0 .5.5H15v1.5a.5.5 0 0 0 1 0V17h5v1.5a.5.5 0 0 0 1 0V17h.5a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5ZM22 16h-7.978a2.325 2.325 0 0 1 2.3-2H18.5a.5.5 0 0 0 .5-.5V8.583A2.586 2.586 0 0 1 21.583 6H22Z"})),E||(E=tp.createElement("path",{d:"M15.5 10h-8a.5.5 0 0 0 0 1H11v7.061c-.581.138-1 .504-1 .939h3c0-.435-.419-.801-1-.939V11h3.5a.5.5 0 0 0 0-1Z"})));function sU(){return(sU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sH=e=>tp.createElement("svg",sU({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),C||(C=tp.createElement("path",{d:"M7 7h1v1H7zM10 7h1v1h-1zM7 10h1v1H7zM10 10h1v1h-1z"})),_||(_=tp.createElement("path",{d:"M23 12h-3.5v-1.21c.6-.361 2-1.351 2-2.79v-.5h-5V8c0 1.439 1.4 2.429 2 2.79V12h-.777A1.991 1.991 0 0 0 16 11h-1V6.5A3.504 3.504 0 0 0 11.5 3h-5A3.504 3.504 0 0 0 3 6.5V11H2a2 2 0 0 0-2 2 2 2 0 0 0 2 2v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5h3.5v5h-1a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-1v-5H23a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1Zm-5.396-3.5h2.79a3.518 3.518 0 0 1-1.391 1.426 3.539 3.539 0 0 1-1.4-1.426ZM6.5 4h5A2.503 2.503 0 0 1 14 6.5v4.777A1.991 1.991 0 0 0 13 13v1H5v-1a1.991 1.991 0 0 0-1-1.723V6.5A2.503 2.503 0 0 1 6.5 4ZM4 20H3v-6H2a1 1 0 0 1 0-2h1a1 1 0 0 1 1 1v7Zm9 0H5v-5h8Zm2-6v6h-1v-7a1.001 1.001 0 0 1 1-1h1a.955.955 0 0 1 .498.155A.986.986 0 0 0 16 13v1Zm8 0h-6v-1h6Z"})));function sq(){return(sq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sV=e=>tp.createElement("svg",sq({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),k||(k=tp.createElement("path",{d:"M21.962 5.31a.5.5 0 0 0-.816-.163L20.293 6H16.5a.5.5 0 0 0-.5.5V8h-1.5a.5.5 0 0 0-.5.5V10h-1.177l.176-2.465A.5.5 0 0 0 12.5 7H9.31l.624-3.117 2.724-.908a.5.5 0 0 0-.316-.95l-3 1a.5.5 0 0 0-.332.377L8.29 7H6.95a2.499 2.499 0 1 0-2.775 2.967L5 21.535A.5.5 0 0 0 5.5 22h16a.5.5 0 0 0 .5-.5v-16a.5.5 0 0 0-.038-.19ZM14.5 11a.5.5 0 0 0 .5-.5V9h1.5a.5.5 0 0 0 .5-.5V7h2.293l-6.737 6.737.196-2.737Zm-2.537-3-.359 5.021A.48.48 0 0 0 11.5 13H8.11l1-5ZM7.09 13H5.394l-.221-3.103A2.495 2.495 0 0 0 6.95 8h1.14ZM5.037 8h.87a1.502 1.502 0 0 1-.808.873ZM3 7.5A1.496 1.496 0 0 1 5.908 7H4.5a.5.5 0 0 0-.499.535l.1 1.404A1.498 1.498 0 0 1 3 7.5ZM5.466 14H11.5c.012 0 .023-.006.035-.007l-.5 7.007h-5.07Zm6.571 7 .41-5.74 8.406-8.406.001-.001.146-.146V21Z"})),O||(O=tp.createElement("path",{d:"M19 16h-1v1h1v-1zM19 13h-1v1h1v-1zM20 10h-1v1h1v-1zM15 15h-1v1h1v-1zM14 19h-1v1h1v-1zM17 18h-1v1h1v-1zM20 19h-1v1h1v-1z"})));function sW(){return(sW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s$=e=>tp.createElement("svg",sW({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),A||(A=tp.createElement("path",{d:"M22 11.5c0-2.34-1.443-4.245-3.274-4.458a7.075 7.075 0 0 0-13.557.013C3.39 7.328 2 9.205 2 11.5 2 13.981 3.618 16 5.606 16a2.888 2.888 0 0 0 1.082-.209.497.497 0 0 0 .309-.474c0-.006.003-.011.003-.017V7.7c0-.006-.003-.01-.003-.017a.497.497 0 0 0-.309-.474 2.793 2.793 0 0 0-.476-.14 6.08 6.08 0 0 1 11.484.026 2.784 2.784 0 0 0-.384.114.497.497 0 0 0-.309.474c0 .006-.003.011-.003.017v7.6c0 .006.003.01.003.017a.497.497 0 0 0 .309.474 2.79 2.79 0 0 0 .28.083 7.6 7.6 0 0 1-4 3.717A2.256 2.256 0 0 0 12 19c-1.121 0-2 .66-2 1.5s.879 1.5 2 1.5c1.12 0 1.997-.657 2-1.497a8.408 8.408 0 0 0 4.622-4.532C20.502 15.821 22 13.884 22 11.5Zm-19 0C3 9.57 4.169 8 5.606 8A1.927 1.927 0 0 1 6 8.043v6.914a1.927 1.927 0 0 1-.394.043C4.17 15 3 13.43 3 11.5Zm9 9.5c-.61 0-1-.296-1-.5s.39-.5 1-.5 1 .296 1 .5-.39.5-1 .5Zm6.394-6a1.927 1.927 0 0 1-.394-.043V8.043A1.927 1.927 0 0 1 18.394 8C19.83 8 21 9.57 21 11.5S19.831 15 18.394 15Z"})));function sG(){return(sG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sK=e=>tp.createElement("svg",sG({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),I||(I=tp.createElement("path",{d:"M8.5 18h-2a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5ZM7 17h1v-1H7ZM17.5 18h-2a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5ZM16 17h1v-1h-1ZM13.5 16h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 1 0 1ZM13.5 18h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 1 0 1ZM6.513 10a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 .5-.5h2.025a1.871 1.871 0 0 1 1.85 2.01 1.871 1.871 0 0 1-1.85 2.011H7.013V9.5a.5.5 0 0 1-.5.5Zm.5-2.979h1.525c.195-.004.85-.09.85-1.01S8.733 5.005 8.532 5h-1.52Z"})),P||(P=tp.createElement("path",{d:"M21.5 12h-1.973l-1.553-4.658A.5.5 0 0 0 17.5 7H13a5 5 0 1 0-8.048 3.935l-.413 1.073C4.525 12.007 4.514 12 4.5 12h-2a.5.5 0 0 0-.5.5v.998A1.504 1.504 0 0 0 3.502 15H4v4.5a.5.5 0 0 0 .5.5H5v.5a1.5 1.5 0 0 0 3 0V20h8.01c-.001.017-.01.03-.01.048v.452a1.5 1.5 0 0 0 3 0v-.452c0-.017-.009-.031-.01-.048h.51a.5.5 0 0 0 .5-.5V15h.497A1.505 1.505 0 0 0 22 13.496V12.5a.5.5 0 0 0-.5-.5ZM4 7a4 4 0 1 1 4 4 4.004 4.004 0 0 1-4-4Zm4 5a5.008 5.008 0 0 0 4.899-4h4.24l1.667 5H5.23l.587-1.524A4.939 4.939 0 0 0 8 12Zm-4.498 2A.503.503 0 0 1 3 13.498V13h1v1ZM7 20.5a.5.5 0 0 1-1 0l-.003-.5H7Zm11-.452v.452a.5.5 0 0 1-1 0l.048-.5ZM19 19H5v-5h14v5Zm2-5.504a.504.504 0 0 1-.503.504H20v-1h1Z"})));function sY(){return(sY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sX=e=>tp.createElement("svg",sY({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),T||(T=tp.createElement("path",{d:"M20.95 22H3.05A1.052 1.052 0 0 1 2 20.95V3.05A1.052 1.052 0 0 1 3.05 2h17.9A1.052 1.052 0 0 1 22 3.05v17.9A1.052 1.052 0 0 1 20.95 22ZM3.05 3 3 20.95l17.95.05a.052.052 0 0 0 .05-.05V3.05Z"})),R||(R=tp.createElement("path",{d:"M19.5 11H18V8.5a.5.5 0 0 0-.5-.5H14V6.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V8H6.5a.5.5 0 0 0-.5.5V11H4.5a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h15a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5Zm-.5 8h-2v-4h-1v4h-2v-4h-1v4h-2v-4h-1v4H8v-4H7v4H5v-7h1.5a.5.5 0 0 0 .5-.5V9h3.5a.5.5 0 0 0 .5-.5V7h2v1.5a.5.5 0 0 0 .5.5H17v2.5a.5.5 0 0 0 .5.5H19Z"})));function sQ(){return(sQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let sJ=e=>tp.createElement("svg",sQ({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),M||(M=tp.createElement("path",{d:"m22.212 8.547-6.18-2.89a.486.486 0 0 0-.152-.037l-5.708-2.683a1.19 1.19 0 0 0-.913-.036 1.142 1.142 0 0 0-.653.608L6.678 7.657a1.161 1.161 0 0 0-.043.895 1.174 1.174 0 0 0 .615.67l4.106 1.906L9.206 15H5v-1.833A1.168 1.168 0 0 0 3.833 12h-.666A1.168 1.168 0 0 0 2 13.167v5.666A1.168 1.168 0 0 0 3.167 20h.666A1.168 1.168 0 0 0 5 18.833V18h5.5a.5.5 0 0 0 .435-.252l3.079-5.387 2.803 1.301a1.18 1.18 0 0 0 .506.114 1.157 1.157 0 0 0 .397-.069 1.14 1.14 0 0 0 .48-.358 1.236 1.236 0 0 0 .142.096l.475.217a1.154 1.154 0 0 0 .497.112 1.17 1.17 0 0 0 .407-.073 1.184 1.184 0 0 0 .663-.611l.72-1.558a1.174 1.174 0 0 0-.246-1.325l1.385-.77a.5.5 0 0 0-.031-.89ZM4 18.833a.168.168 0 0 1-.167.167h-.666A.168.168 0 0 1 3 18.833v-5.666A.168.168 0 0 1 3.167 13h.666a.168.168 0 0 1 .167.167ZM10.21 17H5v-1h4.5a.502.502 0 0 0 .438-.257l2.329-4.192.836.387Zm9.901-6.13a.18.18 0 0 1 .085.24l-.718 1.557a.2.2 0 0 1-.24.088l-.465-.212a.172.172 0 0 1-.086-.1l.639-1.384.54-.3Zm-1.414-.607a.49.49 0 0 0-.202.231l-.009-.004-1.008 2.187a.161.161 0 0 1-.097.089.187.187 0 0 1-.14-.01l-9.57-4.44a.181.181 0 0 1-.095-.103.17.17 0 0 1 .007-.132l.56-1.205 6.133 3.071A.495.495 0 0 0 14.5 10a.5.5 0 0 0 .224-.947l-6.16-3.084.953-2.047a.162.162 0 0 1 .092-.084.187.187 0 0 1 .14.005l7.423 3.452 3.73 1.744Z"})));function s0(){return(s0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s1=e=>tp.createElement("svg",s0({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),N||(N=tp.createElement("path",{d:"M17.994 6.53c0-.01.006-.019.006-.03a.464.464 0 0 0-.012-.057.404.404 0 0 0-.06-.187.474.474 0 0 0-.053-.078.484.484 0 0 0-.077-.07.469.469 0 0 0-.044-.039L12.5 2.964v-.056c.028-.01.057-.015.084-.026a1.492 1.492 0 0 0 .478-.322 1.512 1.512 0 0 0 .32-.476A1.493 1.493 0 0 0 13.5 1.5a1.51 1.51 0 0 0-.118-.586 1.526 1.526 0 0 0-.32-.474 1.495 1.495 0 0 0-1.646-.322 1.492 1.492 0 0 0-.478.322 1.508 1.508 0 0 0-.32.474.5.5 0 0 0 .92.393.51.51 0 0 1 .11-.161.478.478 0 0 1 .155-.106.52.52 0 0 1 .39-.002.496.496 0 0 1 .16.107.515.515 0 0 1 .108.16.5.5 0 0 1 .039.195.492.492 0 0 1-.039.193.51.51 0 0 1-.108.161.478.478 0 0 1-.156.106A.508.508 0 0 1 12 2a.5.5 0 0 0-.5.5v.464L6.246 6.07a.476.476 0 0 0-.045.04.488.488 0 0 0-.076.069.63.63 0 0 0-.093.163.487.487 0 0 0-.02.1A.47.47 0 0 0 6 6.5c0 .011.006.02.006.032a.738.738 0 0 0 .053.192c.005.01.005.02.01.03.008.012.021.017.03.028a.487.487 0 0 0 .128.126.474.474 0 0 0 .05.034A.49.49 0 0 0 6.5 7H9v2.5c0 .01.005.02.006.03a1.432 1.432 0 0 0-.194.283l-.456.912a2.192 2.192 0 0 0-.166 1.51l.817 3.266-2.421 6.562a1.371 1.371 0 0 0 .167 1.273A1.589 1.589 0 0 0 8.064 24h7.872a1.588 1.588 0 0 0 1.31-.664 1.369 1.369 0 0 0 .167-1.273l-2.42-6.56.816-3.268a2.185 2.185 0 0 0-.165-1.511l-.455-.912a1.437 1.437 0 0 0-.195-.283c0-.01.006-.019.006-.029V7h2.5a.527.527 0 0 0 .402-.218c.008-.011.021-.016.029-.028.005-.01.005-.02.01-.03a.736.736 0 0 0 .053-.193ZM8.329 6 12 3.831 15.671 6Zm8.097 16.765a.59.59 0 0 1-.49.235H8.064a.59.59 0 0 1-.49-.235.377.377 0 0 1-.05-.357l2.486-6.735a.494.494 0 0 0-.03-.402l-.82-3.279a1.195 1.195 0 0 1 .09-.821l.456-.911a.43.43 0 0 1 .388-.24h3.812a.43.43 0 0 1 .388.24l.455.91a1.19 1.19 0 0 1 .09.822l-.82 3.28a.494.494 0 0 0-.028.4l2.485 6.736a.377.377 0 0 1-.05.357ZM14 9.034c-.032-.003-.061-.013-.094-.013h-3.812c-.033 0-.062.01-.094.013V7h4Z"})));function s2(){return(s2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s3=e=>tp.createElement("svg",s2({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),j||(j=tp.createElement("path",{d:"M19 11a2 2 0 1 1 2-2 2.003 2.003 0 0 1-2 2Zm0-3a1 1 0 1 0 1 1 1 1 0 0 0-1-1ZM15.5 7A1.5 1.5 0 1 1 17 5.5 1.502 1.502 0 0 1 15.5 7Zm0-2a.5.5 0 1 0 .5.5.501.501 0 0 0-.5-.5ZM21.5 14h-.559l.055-.438A.5.5 0 0 0 20.5 13h-3.268a2.114 2.114 0 0 0-4.214 0H12.5a.5.5 0 0 0-.496.563l.055.437H11.5a.5.5 0 0 0-.5.5v1.038a3.487 3.487 0 0 0 1.6 2.79l.404 3.235A.5.5 0 0 0 13.5 22h6a.5.5 0 0 0 .496-.438l.405-3.236A3.485 3.485 0 0 0 22 15.538V14.5a.5.5 0 0 0-.5-.5Zm-2.034 3.738a6.399 6.399 0 0 1-5.932 0L13.066 14h6.868Zm-4.341-5.688a1.112 1.112 0 0 1 1.09.95h-2.18a1.112 1.112 0 0 1 1.09-.95ZM12 15.538V15h.184l.216 1.734a2.112 2.112 0 0 1-.4-1.196ZM13.941 21l-.257-2.056a7.41 7.41 0 0 0 5.632 0L19.059 21Zm6.659-4.267L20.816 15H21v.538a2.11 2.11 0 0 1-.4 1.195ZM9.99 16.402a.485.485 0 0 0-.027-.07 3.488 3.488 0 0 0-2.879-3.073L9.982 2.632a.5.5 0 1 0-.964-.264L6.05 13.246a3.483 3.483 0 0 0-3.014 3.086.485.485 0 0 0-.027.07l-1 5A.5.5 0 0 0 2.5 22h8a.5.5 0 0 0 .49-.598ZM6.5 14.2A2.495 2.495 0 0 1 8.888 16H4.112A2.495 2.495 0 0 1 6.5 14.2ZM8 21v-1.5a.5.5 0 0 0-1 0V21H6v-2.5a.5.5 0 0 0-1 0V21H3.11l.8-4h5.18l.8 4Z"})));function s4(){return(s4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s5=e=>tp.createElement("svg",s4({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),D||(D=tp.createElement("path",{d:"M21.5 10H18V8.689A.72.72 0 0 0 17.254 8H2.746A.72.72 0 0 0 2 8.689v5.818a7.471 7.471 0 0 0 8 7.437c3.44 0 5.396-1.377 6.513-2.945 4.866-.007 5.477-3.99 5.482-4.03a.486.486 0 0 0-.009-.15.472.472 0 0 0 .014-.069V10.5a.5.5 0 0 0-.5-.5ZM18 13h1v1.6c0 .033-.023.725-1.095.87a7.612 7.612 0 0 0 .095-.963ZM7.328 13h.344L9 13.975V17H6v-3.025ZM10 20.944c-6.877 0-6.998-6.177-7-6.437V9h4v3l-1.814 1.333A.537.537 0 0 0 5 13.73v3.692a.631.631 0 0 0 .674.577h3.652a.631.631 0 0 0 .674-.577V13.73a.537.537 0 0 0-.186-.398L8 12V9h9v5.504c-.002.263-.123 6.44-7 6.44Zm7.122-2.974a8.473 8.473 0 0 0 .562-1.485C19.5 16.405 20 15.235 20 14.6v-2.1a.5.5 0 0 0-.5-.5H18v-1h3v3.75a.473.473 0 0 0 .012.06c-.001.008-.006.014-.007.022a3.923 3.923 0 0 1-3.883 3.138ZM10.5 7a.497.497 0 0 1-.203-.043C10.08 6.86 9 6.336 9 5.463c0-.844.976-1.277 1.297-1.42.583-.259.703-.465.703-.506 0-.128-.362-.427-.704-.58a.5.5 0 0 1 .407-.914C10.92 2.14 12 2.664 12 3.537c0 .844-.976 1.277-1.297 1.42-.583.259-.703.465-.703.506 0 .128.362.427.704.58A.5.5 0 0 1 10.5 7ZM7.498 7a.495.495 0 0 1-.275-.084A1.6 1.6 0 0 1 6.5 5.723a1.369 1.369 0 0 1 .723-1.139c.204-.136.277-.25.277-.306.001-.105-.163-.283-.28-.364a.5.5 0 0 1 .557-.83A1.6 1.6 0 0 1 8.5 4.277a1.369 1.369 0 0 1-.723 1.139c-.204.136-.277.25-.277.306-.001.105.163.283.28.364A.501.501 0 0 1 7.498 7ZM13.498 7a.495.495 0 0 1-.275-.084 1.6 1.6 0 0 1-.723-1.193 1.369 1.369 0 0 1 .723-1.139c.204-.136.277-.25.277-.306.001-.105-.163-.283-.28-.364a.5.5 0 0 1 .557-.83 1.6 1.6 0 0 1 .723 1.193 1.369 1.369 0 0 1-.723 1.139c-.204.136-.277.25-.277.306-.001.105.163.283.28.364a.501.501 0 0 1-.282.914Z"})));function s6(){return(s6=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s8=e=>tp.createElement("svg",s6({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),L||(L=tp.createElement("path",{d:"M21.5 2h-19a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5H3v10.5a.5.5 0 0 0 .5.5h6.19l-2.637 5.276a.5.5 0 0 0 .223.671A.494.494 0 0 0 7.5 22a.5.5 0 0 0 .447-.276L10.81 16h2.382l2.862 5.724A.5.5 0 0 0 16.5 22a.494.494 0 0 0 .224-.053.5.5 0 0 0 .223-.67L14.31 16H20.5a.5.5 0 0 0 .5-.5V5h.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5ZM20 15H4V5h16Zm1-11H3V3h18Z"})),B||(B=tp.createElement("path",{d:"M8.5 6A3.5 3.5 0 1 0 12 9.5 3.504 3.504 0 0 0 8.5 6Zm2.45 3H9V7.05A2.507 2.507 0 0 1 10.95 9ZM8.5 12A2.5 2.5 0 0 1 8 7.05V9.5a.5.5 0 0 0 .5.5h2.45a2.504 2.504 0 0 1-2.45 2ZM18.5 8h-5a.5.5 0 0 1 0-1h5a.5.5 0 0 1 0 1ZM18.5 10h-5a.5.5 0 0 1 0-1h5a.5.5 0 0 1 0 1Z"})));function s7(){return(s7=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s9=e=>tp.createElement("svg",s7({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),Z||(Z=tp.createElement("path",{d:"M20 11a3.968 3.968 0 0 0-1.667.374l-2.119-3.157 1.734-3.495.004-.014a.496.496 0 0 0 .025-.096.495.495 0 0 0 .02-.098L18 4.5a.468.468 0 0 0-.014-.071.494.494 0 0 0-.021-.105.48.48 0 0 0-.048-.084.485.485 0 0 0-.053-.078.495.495 0 0 0-.086-.067.471.471 0 0 0-.056-.043l-.014-.004a1.557 1.557 0 0 0-.194-.045L17.5 4h-3a.5.5 0 0 0 0 1h2.194l-1.488 3h-7.86l.688-1.894a.5.5 0 0 0-.47-.67c-2.209 0-2.843-.783-2.872-1.198a.5.5 0 0 0-1 .012c0 .083.038 1.92 3.168 2.16l-1.735 4.77A3.959 3.959 0 0 0 4 11a4.04 4.04 0 1 0 2.044.578l.84-2.311 4.489 6.232a.471.471 0 0 0 .08.069l-.826 1.667h-.534a.5.5 0 1 0 0 1h.842a.501.501 0 0 0 .448-.276l.985-1.986A.484.484 0 0 0 12.5 16h3.641A3.994 3.994 0 1 0 20 11ZM7 15a3 3 0 1 1-3-3 2.962 2.962 0 0 1 .784.117l-1.061 2.92a.5.5 0 1 0 .94.34l1.035-2.846A2.997 2.997 0 0 1 7 15Zm.925-6h6.786l-2.767 5.58Zm4.925 6 2.853-5.751 1.786 2.66A3.974 3.974 0 0 0 16 15V15ZM17 15a2.98 2.98 0 0 1 1.047-2.258L19.563 15H17Zm3 3a2.995 2.995 0 0 1-2.816-2H20.5a.486.486 0 0 0 .25-.076c.008-.005.02-.003.028-.009.013-.009.02-.022.032-.032a.486.486 0 0 0 .074-.074.453.453 0 0 0 .087-.164.488.488 0 0 0 .02-.099A.466.466 0 0 0 21 15.5c0-.016-.008-.03-.01-.045a.519.519 0 0 0-.058-.192c-.007-.014-.008-.028-.017-.041l-2.017-3.006A2.997 2.997 0 1 1 20 18Z"})));function le(){return(le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lt=e=>tp.createElement("svg",le({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),F||(F=tp.createElement("path",{d:"M9.126 22a6.07 6.07 0 0 1-.627-.032 6.036 6.036 0 0 1-1.194-.243 6.258 6.258 0 0 1-.564-.206 5.758 5.758 0 0 1-.536-.26 5.676 5.676 0 0 1-.506-.307 5.765 5.765 0 0 1-.47-.35 6.45 6.45 0 0 1-.83-.83q-.189-.228-.354-.474c-.109-.16-.211-.33-.306-.504a5.76 5.76 0 0 1-.258-.536 6.044 6.044 0 0 1-.206-.564 5.953 5.953 0 0 1-.151-.588A6.22 6.22 0 0 1 3 15.874a6.11 6.11 0 0 1 .275-1.822c.06-.193.13-.38.206-.564a5.758 5.758 0 0 1 .26-.536 5.676 5.676 0 0 1 .307-.506 5.765 5.765 0 0 1 .35-.47 6.45 6.45 0 0 1 .83-.83q.228-.189.474-.354c.16-.108.33-.211.504-.306q.26-.14.534-.257a6.014 6.014 0 0 1 .566-.207.5.5 0 1 1 .295.956 4.926 4.926 0 0 0-.471.172 5.107 5.107 0 0 0-.448.216q-.217.117-.42.255a4.921 4.921 0 0 0-.397.296 5.308 5.308 0 0 0-.696.696 4.702 4.702 0 0 0-.292.393 4.868 4.868 0 0 0-.259.424 4.801 4.801 0 0 0-.215.446q-.098.231-.172.472a5.053 5.053 0 0 0-.204.999 4.992 4.992 0 0 0-.027.527 5.16 5.16 0 0 0 .026.523 5.08 5.08 0 0 0 .079.512 5.078 5.078 0 0 0 .298.961 4.803 4.803 0 0 0 .214.446c.08.147.165.287.257.422a4.921 4.921 0 0 0 .296.397 5.308 5.308 0 0 0 .696.696 4.702 4.702 0 0 0 .393.292 4.868 4.868 0 0 0 .424.259 4.801 4.801 0 0 0 .446.215q.231.098.472.172a4.941 4.941 0 0 0 .49.126 4.877 4.877 0 0 0 .509.078 5.151 5.151 0 0 0 1.562-.078 5.078 5.078 0 0 0 .961-.298 4.803 4.803 0 0 0 .446-.214c.147-.08.286-.165.422-.257a4.921 4.921 0 0 0 .397-.296 5.308 5.308 0 0 0 .696-.696 4.702 4.702 0 0 0 .292-.393 4.868 4.868 0 0 0 .259-.424 5.077 5.077 0 0 0 .388-.918.5.5 0 0 1 .955.295 6.17 6.17 0 0 1-.207.565q-.117.275-.256.534a5.914 5.914 0 0 1-.31.508 5.765 5.765 0 0 1-.35.47 6.447 6.447 0 0 1-.83.83q-.228.189-.474.354c-.16.108-.33.211-.504.306a5.76 5.76 0 0 1-.536.258c-.184.077-.37.146-.564.206a5.953 5.953 0 0 1-.588.15c-.199.04-.403.073-.608.094a6.257 6.257 0 0 1-.625.031Z"})),z||(z=tp.createElement("path",{d:"M20.5 20h-.717l-2.854-4.757A.498.498 0 0 0 16.5 15H10v-4h5.5a.5.5 0 0 0 0-1H10V8a3.044 3.044 0 1 0-1-.184V15.5a.5.5 0 0 0 .5.5h6.717l2.854 4.757c.007.012.02.016.029.027a.487.487 0 0 0 .129.125.477.477 0 0 0 .049.033.489.489 0 0 0 .222.058h1a.5.5 0 0 0 0-1ZM8 5a2 2 0 1 1 2 2 2.003 2.003 0 0 1-2-2Z"})));function ln(){return(ln=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lr=e=>tp.createElement("svg",ln({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),U||(U=tp.createElement("path",{d:"M17.45 5.587a.5.5 0 0 1-.5-.5 1.763 1.763 0 0 0-1.554-1.912.5.5 0 0 1 0-1 2.755 2.755 0 0 1 2.554 2.912.5.5 0 0 1-.5.5ZM10.45 8.587a.5.5 0 0 1-.5-.5 1.763 1.763 0 0 0-1.554-1.912.5.5 0 0 1 0-1 2.755 2.755 0 0 1 2.554 2.912.5.5 0 0 1-.5.5Z"})),H||(H=tp.createElement("path",{d:"M19.95 5.2c0-2.867-2.018-5.2-4.5-5.2a4.655 4.655 0 0 0-4.375 3.994A4.077 4.077 0 0 0 8.45 3c-2.481 0-4.5 2.332-4.5 5.198a5.105 5.105 0 0 0 3.423 5.031L6.9 14.298a.5.5 0 0 0 .457.702h.76a6.432 6.432 0 0 1 .793 2.002 4.236 4.236 0 0 1 .056 1.432 5.707 5.707 0 0 1-1.001 2.263A5.687 5.687 0 0 0 7 23.48a.501.501 0 0 0 .48.521h.02a.5.5 0 0 0 .5-.48 4.88 4.88 0 0 1 .858-2.366 6.492 6.492 0 0 0 1.097-2.573 5.221 5.221 0 0 0-.063-1.768A6.857 6.857 0 0 0 9.257 15h.138a.5.5 0 0 0 .457-.702l-.453-1.023a4.884 4.884 0 0 0 3.415-3.867 4.23 4.23 0 0 0 1.553.834l-.467 1.056a.5.5 0 0 0 .457.702h.366a8.512 8.512 0 0 0-.618 1.955 6.363 6.363 0 0 0-.054 1.943 7.444 7.444 0 0 0 1.061 2.802l.06.109a5.047 5.047 0 0 1 .826 2.457c.019.579.031.998-.852 1.88a.5.5 0 1 0 .707.707 3.021 3.021 0 0 0 1.145-2.619 5.983 5.983 0 0 0-.952-2.914l-.062-.109a6.432 6.432 0 0 1-.941-2.442 5.27 5.27 0 0 1 .047-1.638A7.92 7.92 0 0 1 15.832 12h.563a.5.5 0 0 0 .457-.702l-.451-1.02A5.088 5.088 0 0 0 19.95 5.2ZM8.125 14l.251-.567.251.567Zm.325-1.604c-1.93 0-3.5-1.883-3.5-4.198S6.52 4 8.45 4s3.5 1.884 3.5 4.198-1.57 4.198-3.5 4.198ZM15.125 11l.251-.567.251.567Zm.325-1.6A3.236 3.236 0 0 1 12.942 8.1a5.65 5.65 0 0 0-.98-3.11C12.06 2.78 13.6 1 15.45 1c1.93 0 3.5 1.884 3.5 4.2s-1.57 4.2-3.5 4.2Z"})));function lo(){return(lo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let li=e=>tp.createElement("svg",lo({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),q||(q=tp.createElement("path",{d:"M19.673 7.065a.509.509 0 0 0 .005-.092.487.487 0 0 0-.03-.091.502.502 0 0 0-.031-.09.502.502 0 0 0-.074-.086.486.486 0 0 0-.05-.058.506.506 0 0 0-.119-.06.475.475 0 0 0-.057-.03h-.003l-.002-.001h-.007a8.34 8.34 0 0 0-1.94-.274 6.443 6.443 0 0 0-.2-2.794c-.003-.01-.01-.017-.014-.026s-.002-.02-.006-.03a.473.473 0 0 0-.04-.055.49.49 0 0 0-.059-.084.472.472 0 0 0-.065-.053.485.485 0 0 0-.092-.058.491.491 0 0 0-.071-.022.482.482 0 0 0-.113-.02.505.505 0 0 0-.086.008.477.477 0 0 0-.078.007c-.01.003-.017.011-.027.015-.01.003-.02.002-.029.006a9.253 9.253 0 0 0-1.912 1.165 5.398 5.398 0 0 0-1.665-2.236c-.011-.008-.025-.01-.036-.018a.476.476 0 0 0-.091-.045.456.456 0 0 0-.36-.002.474.474 0 0 0-.098.05c-.01.007-.024.009-.035.017a5.853 5.853 0 0 0-1.792 2.437 9.269 9.269 0 0 0-2.178-1.368c-.009-.004-.019-.003-.029-.006-.01-.004-.016-.012-.026-.015a.476.476 0 0 0-.076-.007.498.498 0 0 0-.088-.008.48.48 0 0 0-.112.02.49.49 0 0 0-.07.022.486.486 0 0 0-.097.06.476.476 0 0 0-.061.05.487.487 0 0 0-.062.087.462.462 0 0 0-.038.054c-.004.01-.003.02-.006.029s-.011.016-.014.026a6.448 6.448 0 0 0-.197 2.815 8.294 8.294 0 0 0-1.384.252h-.006l-.003.002h-.003a.472.472 0 0 0-.067.034.509.509 0 0 0-.107.055.483.483 0 0 0-.066.074.505.505 0 0 0-.06.07.5.5 0 0 0-.033.096.484.484 0 0 0-.028.086.506.506 0 0 0 .005.091.48.48 0 0 0 .006.104l.002.006a5.419 5.419 0 0 0 5.58 4.326 8.485 8.485 0 0 0 .904-.05c.125-.016.24-.033.35-.05l.126.007.041-.023.074.03.08-.01.34.047a8.377 8.377 0 0 0 .898.05 5.419 5.419 0 0 0 5.574-4.327l.002-.006a.48.48 0 0 0 .006-.103ZM14.66 5.53a8.253 8.253 0 0 1 1.688-1.148 5.427 5.427 0 0 1 .003 1.909 5.872 5.872 0 0 0-2.21.645 5.482 5.482 0 0 0-.976.618A5.844 5.844 0 0 1 14.66 5.53Zm-2.06-2.35a4.378 4.378 0 0 1 1.152 1.843 6.813 6.813 0 0 0-1.35 1.795 6.806 6.806 0 0 0-1.111-1.56A4.851 4.851 0 0 1 12.6 3.18ZM8.456 4.382a8.287 8.287 0 0 1 1.695 1.155 5.804 5.804 0 0 1 1.222 1.493c-.046-.028-.09-.06-.137-.087a5.902 5.902 0 0 0-2.63-.685c-.054-.002-.105.007-.158.006a5.44 5.44 0 0 1 .008-1.882Zm3.61 6.074c-1.883.2-4.255-.19-5.245-3.036a7.17 7.17 0 0 1 1.755-.162 4.895 4.895 0 0 1 2.184.564A3.996 3.996 0 0 1 11.97 8.9a4.624 4.624 0 0 1 .228 1.539l-.133.019Zm1.247.002-.115-.016a6.522 6.522 0 0 0-.143-1.384 4.543 4.543 0 0 1 1.54-1.232 4.914 4.914 0 0 1 2.202-.568 7.181 7.181 0 0 1 1.745.162c-.99 2.847-3.364 3.238-5.23 3.038Z"})),V||(V=tp.createElement("path",{d:"M23.5 13H6v-.9a.477.477 0 0 0-.02-.1H6a3 3 0 0 0-6 0h.02a.477.477 0 0 0-.02.1v4.4a.492.492 0 0 0 .034.169 2.978 2.978 0 0 0 .204 1.499 2.856 2.856 0 0 0 .28.512A3.029 3.029 0 0 0 3.026 20a.476.476 0 0 0 .088-.018A.476.476 0 0 0 3.2 20h20.3a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5ZM1 12a2 2 0 0 1 4 0h.02a.477.477 0 0 0-.02.1v2.642a3.01 3.01 0 0 0-1.367-.681 3.107 3.107 0 0 0-1.216 0A3.008 3.008 0 0 0 1 14.784V12.1a.477.477 0 0 0-.02-.1Zm22 7H3.2a.476.476 0 0 0-.087.018.476.476 0 0 0-.088-.018 2.055 2.055 0 0 1-.409-.041 2.017 2.017 0 0 1-1.272-.845 1.968 1.968 0 0 1 0-2.23 2.016 2.016 0 0 1 1.271-.843 2.071 2.071 0 0 1 .82 0 2.01 2.01 0 0 1 1.271.843 1.887 1.887 0 0 1 .187.34 1.962 1.962 0 0 1 .1.314A.996.996 0 0 1 3 16.5a.5.5 0 0 0-1 0 2 2 0 0 0 4 0 .476.476 0 0 0-.01-.052.462.462 0 0 0 0-.053l-.006-.015A.47.47 0 0 0 6 16.302V14h17Z"})));function la(){return(la=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let ls=e=>tp.createElement("svg",la({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),W||(W=tp.createElement("path",{d:"M19 4.69v-.818a1.41 1.41 0 0 0-1-1.343v-.31A2.223 2.223 0 0 0 15.78 0H8.22A2.223 2.223 0 0 0 6 2.22v.308a1.41 1.41 0 0 0-1 1.344v.817a1.41 1.41 0 0 0 1 1.344V7.63a1.41 1.41 0 0 0-1 1.344v.614a1.41 1.41 0 0 0 1.016 1.348A2.216 2.216 0 0 0 8.22 13H10v1H6.5a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H14v-1h1.78a2.216 2.216 0 0 0 2.204-2.064A1.41 1.41 0 0 0 19 9.588v-.614a1.41 1.41 0 0 0-1-1.344V6.033a1.41 1.41 0 0 0 1-1.344ZM7 7.561v-1.46h10v1.46ZM8.22 1h7.56A1.221 1.221 0 0 1 17 2.22v.24H7v-.24A1.221 1.221 0 0 1 8.22 1ZM6 3.872a.412.412 0 0 1 .412-.412h11.176a.412.412 0 0 1 .412.412v.817a.412.412 0 0 1-.412.413H6.412A.412.412 0 0 1 6 4.689ZM17 15v8H7v-8h10Zm-4-1h-2v-1h2Zm2.78-2H8.22a1.205 1.205 0 0 1-1.176-1h9.911a1.205 1.205 0 0 1-1.175 1ZM18 9.588a.412.412 0 0 1-.412.412H6.412A.412.412 0 0 1 6 9.588v-.614a.412.412 0 0 1 .412-.412h11.176a.412.412 0 0 1 .412.412Z"})),$||($=tp.createElement("path",{d:"M13.974 16.658A.5.5 0 0 0 13.5 16h-3a.5.5 0 0 0-.474.658l1 3c.006.02.025.029.034.046A.972.972 0 0 0 11 20a1 1 0 0 0 2 0 .972.972 0 0 0-.06-.296c.009-.017.028-.027.034-.046ZM12.806 17l-.666 2h-.28l-.666-2Z"})));function ll(){return(ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lc=e=>tp.createElement("svg",ll({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),G||(G=tp.createElement("circle",{cx:6.5,cy:20.5,r:.5})),K||(K=tp.createElement("circle",{cx:13.5,cy:20.5,r:.5})),Y||(Y=tp.createElement("circle",{cx:10,cy:21.5,r:.5})),X||(X=tp.createElement("path",{d:"M21.5 11h-6.668A4.087 4.087 0 0 0 15 9.85v-3.7A4.155 4.155 0 0 0 10.85 2h-1.7A4.155 4.155 0 0 0 5 6.15v3.7A4.093 4.093 0 0 0 5.167 11H2.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 1 0V12h2.617a4.128 4.128 0 0 0 .842 1.004A1.498 1.498 0 0 0 6.5 16h3v2.074l-2.201.968A.5.5 0 0 0 7.5 20a.505.505 0 0 0 .201-.042l1.799-.79V20a.5.5 0 0 0 1 0v-.762l1.814.726a.5.5 0 1 0 .372-.928l-2.186-.874V16h3a1.498 1.498 0 0 0 .043-2.996A4.104 4.104 0 0 0 14.384 12H16v5.295a.706.706 0 0 0 .705.705H21v3.5a.5.5 0 0 0 1 0v-10a.5.5 0 0 0-.5-.5ZM6 6.15A3.154 3.154 0 0 1 9.15 3h1.7A3.154 3.154 0 0 1 14 6.15v3.7a3.005 3.005 0 0 1-.346 1.425A3.124 3.124 0 0 1 10.85 13h-1.7a3.127 3.127 0 0 1-2.808-1.734A2.986 2.986 0 0 1 6 9.85ZM13.5 14a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h7Zm3.5-2h4v2h-4Zm0 5v-2h4v2Z"})));function lu(){return(lu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let ld=e=>tp.createElement("svg",lu({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),Q||(Q=tp.createElement("path",{d:"M4.994 19.28a2.83 2.83 0 0 1-1.44-.387c-.942-.544-1.95-1.845-1.397-4.953.329-1.851 1.12-5.592 1.76-6.699A4.59 4.59 0 0 1 7.4 5h9.448a4.602 4.602 0 0 1 3.227 2.241c.865 1.499 3.647 9.755.362 11.652-2.92 1.686-5.396-2.546-6.41-3.893H9.965c-.851 1.132-2.415 4.28-4.971 4.28ZM8.387 6l-.506.018a3.571 3.571 0 0 0-3.13 1.79 32.826 32.826 0 0 0-1.648 6.406c-.25 1.4-.294 3.217.906 3.91 1.957 1.13 3.82-1.928 5.258-3.911L9.423 14h5.149l.154.213c1.439 1.982 3.306 5.035 5.258 3.911 2.227-1.287.397-8.344-.742-10.317a3.607 3.607 0 0 0-2.903-1.797L16.18 6Z"})),J||(J=tp.createElement("path",{d:"M10 10H8V8H7v2H5v1h2v2h1v-2h2v-1z"})),ee||(ee=tp.createElement("circle",{cx:16.5,cy:8.75,r:.75})),et||(et=tp.createElement("circle",{cx:14.75,cy:10.5,r:.75})),en||(en=tp.createElement("circle",{cx:16.5,cy:12.25,r:.75})),er||(er=tp.createElement("circle",{cx:18.25,cy:10.5,r:.75})));function lf(){return(lf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lp=e=>tp.createElement("svg",lf({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eo||(eo=tp.createElement("path",{d:"M22.838 8h-1.676a1.088 1.088 0 0 0-.162.033v-.87A1.164 1.164 0 0 0 19.838 6h-1.676a1.09 1.09 0 0 0-.147.03V5A1.002 1.002 0 0 0 17.014 4H15A1.002 1.002 0 0 0 14 5.001V10h-4V5.001A1.002 1.002 0 0 0 8.999 4H6.986a1.002 1.002 0 0 0-1 1.001V6.03A1.09 1.09 0 0 0 5.837 6H4.162A1.164 1.164 0 0 0 3 7.162v.87A1.088 1.088 0 0 0 2.838 8H1.162A1.164 1.164 0 0 0 0 9.162v5.676A1.164 1.164 0 0 0 1.162 16h1.676A1.088 1.088 0 0 0 3 15.967v.87A1.164 1.164 0 0 0 4.162 18h1.676a1.09 1.09 0 0 0 .147-.03V19A1.002 1.002 0 0 0 6.986 20H9A1.002 1.002 0 0 0 10 18.999V14h4v4.999A1.002 1.002 0 0 0 15.001 20h2.013a1.002 1.002 0 0 0 1-1.001V17.97a1.09 1.09 0 0 0 .148.03h1.676A1.164 1.164 0 0 0 21 16.838v-.87a1.088 1.088 0 0 0 .162.032h1.676A1.164 1.164 0 0 0 24 14.838V9.162A1.164 1.164 0 0 0 22.838 8Zm-20 7H1.162A.162.162 0 0 1 1 14.838V9.162A.162.162 0 0 1 1.162 9h1.676A.162.162 0 0 1 3 9.162v5.676a.162.162 0 0 1-.162.162Zm3 2H4.162A.162.162 0 0 1 4 16.838V7.162A.162.162 0 0 1 4.162 7h1.676a.156.156 0 0 1 .147.127v9.746a.156.156 0 0 1-.147.127Zm1.147 1.999V16.91c.002-.025.015-.046.015-.072V7.162c0-.026-.013-.047-.015-.072V5L6.986 5 9 5.001 8.999 19ZM10 13v-2h4v2Zm7.014 6L15 18.999 15.001 5l2.014.001V7.09c-.002.025-.015.046-.015.072v9.676c0 .026.013.047.015.072V19ZM20 16.838a.162.162 0 0 1-.162.162h-1.676a.156.156 0 0 1-.147-.127V7.127A.156.156 0 0 1 18.162 7h1.676a.162.162 0 0 1 .162.162v9.676Zm3-2a.162.162 0 0 1-.162.162h-1.676a.162.162 0 0 1-.162-.162V9.162A.162.162 0 0 1 21.162 9h1.676a.162.162 0 0 1 .162.162Z"})));function lh(){return(lh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lm=e=>tp.createElement("svg",lh({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),ei||(ei=tp.createElement("path",{d:"M10.255 20h-5.51A.746.746 0 0 1 4 19.255v-3.51A.746.746 0 0 1 4.745 15h5.51a.746.746 0 0 1 .745.745v3.51a.746.746 0 0 1-.745.745ZM5 19h5v-3H5Z"})),ea||(ea=tp.createElement("path",{d:"M16 13v-2.165a1.367 1.367 0 0 1 .012-.147 1.595 1.595 0 0 1 .081-.346.65.65 0 0 1 .16-.26.559.559 0 0 1 .493 0 .653.653 0 0 1 .161.26 1.6 1.6 0 0 1 .081.346.5.5 0 0 0 .992-.125 2.475 2.475 0 0 0-.137-.57 1.625 1.625 0 0 0-.433-.659 1.426 1.426 0 0 0-1.82 0 1.622 1.622 0 0 0-.433.657 2.47 2.47 0 0 0-.137.572 2.238 2.238 0 0 0-.02.27V13H2v9h20v-9Zm-4 8H3v-7h9Zm9 0h-8v-7h8Z"})),es||(es=tp.createElement("path",{d:"M14.5 17a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 1 0v1a.5.5 0 0 1-.5.5ZM9.5 6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 1 0v1a.5.5 0 0 1-.5.5ZM5.5 6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 1 0v1a.5.5 0 0 1-.5.5Z"})),el||(el=tp.createElement("path",{d:"M17 2H2v6h20V2ZM7 7H3V3h4Zm9 0H8V3h8Zm5 0h-4V3h4Z"})),ec||(ec=tp.createElement("path",{d:"M18.5 6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 1 0v1a.5.5 0 0 1-.5.5Z"})));function lg(){return(lg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lv=e=>tp.createElement("svg",lg({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eu||(eu=tp.createElement("path",{d:"M19.5 24h-15a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 .5.5v23a.5.5 0 0 1-.5.5ZM5 23h14V1H5Z"})),ed||(ed=tp.createElement("path",{d:"M15.5 10h-7a.5.5 0 0 1-.432-.752l3.5-6a.521.521 0 0 1 .864 0l3.5 6A.5.5 0 0 1 15.5 10ZM9.37 9h5.26L12 4.492ZM12 22a.501.501 0 0 1-.432-.248l-3.5-6A.5.5 0 0 1 8.5 15h7a.5.5 0 0 1 .432.752l-3.5 6A.501.501 0 0 1 12 22Zm-2.63-6L12 20.508 14.63 16ZM16.5 13h-9a.5.5 0 0 1 0-1h9a.5.5 0 0 1 0 1Z"})));function ly(){return(ly=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lb=e=>tp.createElement("svg",ly({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),ef||(ef=tp.createElement("path",{d:"M13.5 7h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 1 0 1ZM13.5 9h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 1 0 1Z"})),ep||(ep=tp.createElement("path",{d:"M19.5 4H1v16h22V4ZM2 19V5h6v14Zm7 0V5h6v14Zm13 0h-6V5h6Z"})),eh||(eh=tp.createElement("path",{d:"M10.468 14a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 1 0v1a.5.5 0 0 1-.5.5ZM3.468 14a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 1 0v1a.5.5 0 0 1-.5.5ZM17.469 14a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 1 0v1a.5.5 0 0 1-.5.5ZM20.5 7h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 1 0 1ZM20.5 9h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 1 0 1ZM6.5 7h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 1 0 1ZM6.5 9h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 1 0 1Z"})));function lw(){return(lw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lS=e=>tp.createElement("svg",lw({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),em||(em=tp.createElement("path",{d:"M17.5 6H12V5h1.5a.498.498 0 0 0 .354-.146l1-1a.5.5 0 0 0 0-.707l-1-1A.498.498 0 0 0 13.5 2h-2a.5.5 0 0 0-.5.5V6H7v-.5a.5.5 0 0 0-1 0v.55A3.495 3.495 0 0 0 3 9.5v6a.5.5 0 0 0 .5.5H11v5.5a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5V16h6.5a.5.5 0 0 0 .5-.5v-6A3.504 3.504 0 0 0 17.5 6ZM12 3h1.293l.5.5-.5.5H12ZM6 7.05v.45a.5.5 0 0 0 1 0v-.45A2.503 2.503 0 0 1 9 9.5V13H4V9.5a2.503 2.503 0 0 1 2-2.45ZM7 15H4v-1h5v1Zm6 6h-1v-5h1Zm7-6H10V9.5A3.486 3.486 0 0 0 8.942 7H11v3.5a.5.5 0 0 0 1 0V7h5.5A2.502 2.502 0 0 1 20 9.5Z"})));function lx(){return(lx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lE=e=>tp.createElement("svg",lx({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eg||(eg=tp.createElement("path",{d:"M11 9.47V6.53A2.533 2.533 0 0 0 8.47 4H2.53A2.533 2.533 0 0 0 0 6.53v2.94A2.533 2.533 0 0 0 2.53 12h2.832l4.88 2.929a.5.5 0 0 0 .705-.653l-1.29-2.581A2.532 2.532 0 0 0 11 9.47Zm-1 0a1.543 1.543 0 0 1-1.156 1.487.462.462 0 0 0-.045.022.457.457 0 0 0-.052.014.46.46 0 0 0-.038.03.522.522 0 0 0-.14.131.479.479 0 0 0-.091.265.479.479 0 0 0 .006.1.463.463 0 0 0 .002.048.47.47 0 0 0 .023.047.477.477 0 0 0 .014.05l.762 1.523-3.528-2.116c-.01-.006-.021-.006-.032-.011a.698.698 0 0 0-.194-.054c-.01 0-.02-.006-.031-.006H2.53A1.532 1.532 0 0 1 1 9.47V6.53A1.532 1.532 0 0 1 2.53 5h5.94A1.532 1.532 0 0 1 10 6.53ZM21.47 9h-5.94A2.533 2.533 0 0 0 13 11.53v2.94a2.532 2.532 0 0 0 1.344 2.225l-1.291 2.581A.5.5 0 0 0 13.5 20a.495.495 0 0 0 .257-.071L18.638 17h2.832A2.533 2.533 0 0 0 24 14.47v-2.94A2.533 2.533 0 0 0 21.47 9ZM23 14.47A1.532 1.532 0 0 1 21.47 16H18.5c-.012 0-.021.006-.033.007a.477.477 0 0 0-.099.02.485.485 0 0 0-.094.033c-.01.005-.021.005-.03.011l-3.528 2.116.762-1.523a.472.472 0 0 0 .013-.05.479.479 0 0 0 .023-.047.458.458 0 0 0 .002-.047.52.52 0 0 0-.006-.194.477.477 0 0 0-.139-.241.477.477 0 0 0-.08-.062.47.47 0 0 0-.037-.03.475.475 0 0 0-.05-.014.464.464 0 0 0-.047-.022A1.543 1.543 0 0 1 14 14.47v-2.94A1.532 1.532 0 0 1 15.53 10h5.94A1.532 1.532 0 0 1 23 11.53Z"})));function lC(){return(lC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let l_=e=>tp.createElement("svg",lC({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),ev||(ev=tp.createElement("path",{d:"M12.586 17.291a2.113 2.113 0 0 1-1.828-1.036.5.5 0 0 1 .86-.51 1.123 1.123 0 0 0 1.211.523.861.861 0 0 0 .527-.473.5.5 0 1 1 .913.41 1.872 1.872 0 0 1-1.194 1.031 2.217 2.217 0 0 1-.49.055ZM16.336 13.291a2.113 2.113 0 0 1-1.828-1.036.5.5 0 0 1 .86-.51 1.12 1.12 0 0 0 1.211.523.861.861 0 0 0 .527-.473.5.5 0 1 1 .913.41 1.872 1.872 0 0 1-1.194 1.031 2.217 2.217 0 0 1-.49.055ZM9.086 13.291a2.113 2.113 0 0 1-1.828-1.036.5.5 0 1 1 .86-.51 1.12 1.12 0 0 0 1.211.523.861.861 0 0 0 .527-.473.5.5 0 1 1 .913.41 1.872 1.872 0 0 1-1.194 1.031 2.217 2.217 0 0 1-.49.055ZM16.665 7.643l.011-.03a2.222 2.222 0 0 0 .26-1.042 2.468 2.468 0 0 0-4.442-1.382 2.46 2.46 0 0 0-4.43 1.4 2.203 2.203 0 0 0 .26 1.025l.011.029c.007.012.01.027.017.04.009.016.026.022.036.037a.476.476 0 0 0 .052.075l3.714 3.565a.476.476 0 0 0 .104.068.514.514 0 0 0 .054.034.489.489 0 0 0 .376 0 .514.514 0 0 0 .054-.034.476.476 0 0 0 .104-.068l3.714-3.565a.476.476 0 0 0 .052-.075c.01-.015.027-.021.036-.037.008-.013.01-.027.017-.04ZM10.59 5.2A1.477 1.477 0 0 1 12 6.611a.398.398 0 0 0 .015.054.49.49 0 0 0 .038.137l.002.003a.496.496 0 0 0 .425.286c.007 0 .013-.004.021-.004.006 0 .013.004.019.004a.475.475 0 0 0 .08-.02.514.514 0 0 0 .097-.024 1.223 1.223 0 0 0 .16-.109.49.49 0 0 0 .041-.058.478.478 0 0 0 .061-.098.502.502 0 0 0 .021-.088.49.49 0 0 0 .02-.083 1.448 1.448 0 0 1 1.527-1.41 1.474 1.474 0 0 1 1.41 1.392 1.194 1.194 0 0 1-.137.545l-3.3 3.17-3.3-3.17a1.175 1.175 0 0 1-.137-.527 1.45 1.45 0 0 1 1.528-1.41Z"})),ey||(ey=tp.createElement("path",{d:"M14 1.5h-3C7.976 1.5 3.5 3.565 3.5 8v12a.494.494 0 0 0 .435.487.49.49 0 0 0 .215.053c.346 0 .683-.01.987-.02.365-.012.73-.05 1.093-.09a7.119 7.119 0 0 0-1.385 2.416.5.5 0 1 0 .95.308 6.153 6.153 0 0 1 2.186-3.024 5.621 5.621 0 0 0 2.231-1.056 6.393 6.393 0 0 0 4.575 0 5.608 5.608 0 0 0 2.229 1.056 6.22 6.22 0 0 1 2.21 3.03.5.5 0 0 0 .948-.32 7.203 7.203 0 0 0-1.397-2.41c.361.04.723.078 1.085.09.305.01.642.02.988.02a.749.749 0 0 0 .65-.54V8.01c0-4.44-4.476-6.51-7.5-6.51Zm3.328 17.68a4.615 4.615 0 0 1-1.52-.607A7.483 7.483 0 0 0 19.5 12V9a.5.5 0 0 0-1 0v3.009a6.5 6.5 0 0 1-3.766 6.017.484.484 0 0 0-.106.039 5.497 5.497 0 0 1-4.256 0 .483.483 0 0 0-.104-.04A6.502 6.502 0 0 1 6.5 12V9a.5.5 0 0 0-1 0v2.991a7.488 7.488 0 0 0 3.691 6.582 4.658 4.658 0 0 1-1.536.61 13.128 13.128 0 0 1-2.552.336c-.187.007-.398.01-.603.013V8c0-3.752 3.879-5.5 6.5-5.5h3c2.621 0 6.5 1.751 6.5 5.51v11.523c-.205-.004-.416-.007-.604-.013a13.243 13.243 0 0 1-2.568-.34Z"})));function lk(){return(lk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lO=e=>tp.createElement("svg",lk({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eb||(eb=tp.createElement("path",{d:"M17 17.984V16.5a.5.5 0 0 0-.5-.5H15v-.642a.343.343 0 0 0-.327-.358H8.327a.343.343 0 0 0-.327.358v3.026S8.01 22 11.51 22a3.132 3.132 0 0 0 3.143-2.01 2.548 2.548 0 0 0 1.978-.76A1.637 1.637 0 0 0 17 17.983Zm-3.772 2.407a2.3 2.3 0 0 1-1.719.609A2.461 2.461 0 0 1 9 18.384V16h5v2.386a3.288 3.288 0 0 1-.772 2.005Zm2.625-1.79a1.39 1.39 0 0 1-.911.374 4.088 4.088 0 0 0 .058-.591V17h1v1c0 .016.008.03.01.045 0 .014-.005.026-.003.04a.688.688 0 0 1-.154.517ZM11.297 13.957a.5.5 0 0 0 .407-.913c-.342-.154-.704-.453-.704-.581 0-.041.12-.247.703-.506.32-.143 1.297-.576 1.297-1.42 0-.873-1.08-1.397-1.297-1.494a.5.5 0 0 0-.407.913c.342.154.704.453.704.581 0 .041-.12.247-.703.506-.32.143-1.297.576-1.297 1.42 0 .873 1.08 1.397 1.297 1.494ZM14.5 6h-5a.5.5 0 0 1 0-1h5a.5.5 0 0 1 0 1Z"})),ew||(ew=tp.createElement("path",{d:"M19.993 15.467a.705.705 0 0 0-.053-.193c-.005-.01-.005-.021-.011-.03L17 10.361V.5a.5.5 0 0 0-1 0V3H8V.5a.5.5 0 0 0-1 0v9.862l-2.929 4.881c-.006.01-.006.021-.01.031a.705.705 0 0 0-.054.193c-.001.011-.007.021-.007.033v7.688a.812.812 0 0 0 .811.812h14.378a.812.812 0 0 0 .811-.812V15.5c0-.012-.006-.022-.007-.033ZM5 23v-7.362l2.929-4.881c.006-.01.006-.021.01-.031a.705.705 0 0 0 .054-.193c.001-.011.007-.021.007-.033V4h8v6.5c0 .012.006.022.007.033a.705.705 0 0 0 .053.193c.005.01.005.021.011.03L19 15.639V23Z"})));function lA(){return(lA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lI=e=>tp.createElement("svg",lA({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eS||(eS=tp.createElement("path",{d:"M22.084 11.777a.5.5 0 1 0 .832-.554L21 8.349V6.15l1.084 1.626a.5.5 0 0 0 .832-.554l-2-3a.52.52 0 0 0-.832 0l-2 3a.5.5 0 1 0 .832.554L20 6.151V8.35l-1.916 2.874a.5.5 0 1 0 .832.554L20 10.151v2.198l-1.916 2.874a.5.5 0 1 0 .832.554L20 14.151V20h1v-5.849l1.084 1.626a.5.5 0 1 0 .832-.554L21 12.349V10.15ZM5.146 13.854a.5.5 0 0 0 .707-.707L4 11.293V9.707l1.146 1.146a.5.5 0 0 0 .707-.707l-2-2a.5.5 0 0 0-.707 0l-2 2a.5.5 0 0 0 .707.707L3 9.707v1.586l-1.854 1.853a.5.5 0 0 0 .707.707L3 12.707v1.586l-1.854 1.853a.5.5 0 0 0 .707.707L3 15.707V20h1v-4.293l1.146 1.146a.5.5 0 0 0 .707-.707L4 14.293v-1.586ZM17.5 17h-1.917l-1.2-2H16.5a.5.5 0 0 0 0-1h-9a.5.5 0 0 0 0 1h2.117l-1.2 2H6.5a.5.5 0 0 0 0 1h1.317l-.746 1.243a.5.5 0 0 0 .172.686A.494.494 0 0 0 7.5 20a.5.5 0 0 0 .429-.243L8.983 18h6.034l1.054 1.757a.5.5 0 0 0 .43.243.494.494 0 0 0 .256-.071.5.5 0 0 0 .172-.686L16.183 18H17.5a.5.5 0 0 0 0-1Zm-7.917 0 1.2-2h2.434l1.2 2Z"})));function lP(){return(lP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lT=e=>tp.createElement("svg",lP({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),ex||(ex=tp.createElement("path",{d:"M8.006 7.29a1.498 1.498 0 0 1 1.084.646.997.997 0 0 0 .797.393 1.011 1.011 0 0 0 .26-.034 5.706 5.706 0 0 1 1.168-.179.536.536 0 0 1 .426.123 4.694 4.694 0 0 1-1.914 2.333 5.108 5.108 0 0 1-2.65 1.153 1.009 1.009 0 0 1-.101-.005 3.294 3.294 0 0 1 .52-1.574 1 1 0 0 0 .051-1.102 1.695 1.695 0 0 1-.236-1.24.695.695 0 0 1 .294-.437.574.574 0 0 1 .301-.077m0-1a1.575 1.575 0 0 0-.811.217 2.201 2.201 0 0 0-.407 3.049l-.001.001c-.64.945-.902 2.332-.553 2.798a1.123 1.123 0 0 0 .944.37 6.086 6.086 0 0 0 3.245-1.35c1.747-1.297 2.75-2.998 2.14-3.718a1.488 1.488 0 0 0-1.248-.541 6.659 6.659 0 0 0-1.423.211l-.005.004A2.458 2.458 0 0 0 8.006 6.29ZM11.377 3.619a.251.251 0 0 1 .113.024.41.41 0 0 1 .18.28 1.098 1.098 0 0 1-.105.707.925.925 0 0 1-.711.573.252.252 0 0 1-.113-.025c-.183-.09-.303-.518-.075-.986a.925.925 0 0 1 .711-.573m0-1a1.891 1.891 0 0 0-1.61 1.134 1.705 1.705 0 0 0 .536 2.324 1.25 1.25 0 0 0 .551.126 1.891 1.891 0 0 0 1.61-1.135 1.705 1.705 0 0 0-.535-2.323 1.249 1.249 0 0 0-.552-.126ZM4 9.095c.622 0 1 .314 1 .452S4.622 10 4 10s-1-.314-1-.453.378-.452 1-.452m0-1c-1.105 0-2 .65-2 1.452S2.895 11 4 11s2-.65 2-1.453-.895-1.452-2-1.452ZM3.663 4.97a1.299 1.299 0 0 1 .345.048c.515.142.765.518.71.715-.046.17-.318.297-.63.297a1.3 1.3 0 0 1-.346-.048c-.515-.142-.765-.518-.71-.715.046-.17.318-.297.63-.297m0-1a1.569 1.569 0 0 0-1.595 1.032 1.72 1.72 0 0 0 1.41 1.944 2.3 2.3 0 0 0 .61.084 1.569 1.569 0 0 0 1.596-1.032 1.72 1.72 0 0 0-1.41-1.944 2.3 2.3 0 0 0-.61-.084ZM7.357 2.64c.194 0 .522.262.631.75.116.522-.098.92-.345.97-.194 0-.522-.261-.631-.75-.116-.522.098-.92.297-.964a.217.217 0 0 1 .048-.005m0-1a1.217 1.217 0 0 0-.266.03 1.72 1.72 0 0 0-1.055 2.156A1.81 1.81 0 0 0 7.643 5.36a1.217 1.217 0 0 0 .266-.03 1.72 1.72 0 0 0 1.055-2.156A1.81 1.81 0 0 0 7.357 1.64ZM16.3 14.298a1.76 1.76 0 0 1-1.572-1.93 1.78 1.78 0 0 1 1.572-1.93 1.76 1.76 0 0 1 1.572 1.93 1.76 1.76 0 0 1-1.572 1.93Zm0-2.86c-.27 0-.572.381-.572.93 0 .548.301.93.572.93s.572-.382.572-.93c0-.549-.302-.93-.572-.93ZM20 20c-1.121 0-2-.66-2-1.5s.879-1.5 2-1.5 2 .66 2 1.5-.879 1.5-2 1.5Zm0-2c-.61 0-1 .296-1 .5s.39.5 1 .5 1-.296 1-.5-.39-.5-1-.5ZM19.352 16.217a1.928 1.928 0 0 1-.842-.185 1.366 1.366 0 0 1-.652-1.883 2.113 2.113 0 0 1 1.228-1.035 1.763 1.763 0 0 1 2.338.854 1.46 1.46 0 0 1-.206 1.298 2.2 2.2 0 0 1-1.103.82 2.356 2.356 0 0 1-.763.13Zm.497-2.235a1.316 1.316 0 0 0-.436.078 1.131 1.131 0 0 0-.655.526.372.372 0 0 0 .19.547 1.137 1.137 0 0 0 .84.008 1.206 1.206 0 0 0 .602-.436.485.485 0 0 0 .089-.41.635.635 0 0 0-.63-.313ZM12.367 15.013a1.76 1.76 0 0 1-1.93-1.574 1.76 1.76 0 0 1 1.93-1.572 1.76 1.76 0 0 1 1.93 1.572 1.76 1.76 0 0 1-1.93 1.574Zm0-2.146c-.548 0-.93.302-.93.572 0 .272.382.574.93.574.549 0 .93-.302.93-.574 0-.27-.381-.572-.93-.572ZM15.674 16.585a.797.797 0 0 1 .39.093.687.687 0 0 1 .332.456 1.557 1.557 0 0 1-.254 1.177 1.001 1.001 0 0 0 .048 1.147 3.057 3.057 0 0 1 .559 1.53 1.462 1.462 0 0 1-.202.012 6.574 6.574 0 0 1-3.254-1.233c-1.363-.941-1.794-1.893-1.758-2.167a.581.581 0 0 1 .526-.19 7.989 7.989 0 0 1 1.325.18 1 1 0 0 0 1.04-.331 1.712 1.712 0 0 1 1.248-.674m0-1a2.702 2.702 0 0 0-2.023 1.04l-.006-.003a8.734 8.734 0 0 0-1.584-.211 1.56 1.56 0 0 0-1.288.54c-.657.72.073 2.341 1.952 3.639A7.527 7.527 0 0 0 16.547 22a1.294 1.294 0 0 0 1.033-.35c.375-.466.094-1.853-.595-2.798l-.001-.001a2.101 2.101 0 0 0-.438-3.049 1.793 1.793 0 0 0-.872-.217Z"})));function lR(){return(lR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lM=e=>tp.createElement("svg",lR({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eE||(eE=tp.createElement("path",{d:"M19 1v22H5V1h14m.267-1H4.733A.733.733 0 0 0 4 .733v22.534a.733.733 0 0 0 .733.733h14.534a.733.733 0 0 0 .733-.733V.733A.733.733 0 0 0 19.267 0Z"})),eC||(eC=tp.createElement("path",{d:"M17.5 14a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 1 0v4a.5.5 0 0 1-.5.5ZM16.871 16.349a2.995 2.995 0 0 0-3.745-1.747 3.135 3.135 0 0 0-1.462.94 10.787 10.787 0 0 1-1.191-2.476 10.57 10.57 0 0 1-.52-2.625 3.215 3.215 0 0 0 .791.101 3.294 3.294 0 0 0 .953-.14 3.08 3.08 0 0 0 1.859-1.5 2.569 2.569 0 0 0 .173-2.01 2.858 2.858 0 0 0-2.53-1.877l-.009-.001-.007-.001-.002-.001h-.023a.138.138 0 0 0-.02-.001 1.094 1.094 0 0 0-.27-.006h-.016c-.008 0-.015.003-.023.004a3.471 3.471 0 0 0-.41.039 2.92 2.92 0 0 0-.432.097h-.004a3.313 3.313 0 0 0-.444.173 3.053 3.053 0 0 0-.315.166c-.014.008-.029.014-.043.023l-.013.01-.027.016a3.81 3.81 0 0 0-.239.17.482.482 0 0 0-.085.1c-1.81 1.477-2.345 4.786-1.225 8.158 1.135 3.413 3.62 5.87 6.015 6.024l.011.003c.025.003.055.001.08.003.05.002.098.009.147.009l.124-.002c.018 0 .034-.008.052-.008a3.26 3.26 0 0 0 .822-.133c.032-.01.057-.023.088-.033a3.348 3.348 0 0 0 .346-.134 2.308 2.308 0 0 0 .337-.178 1.57 1.57 0 0 0 .263-.174c.008-.005.013-.013.02-.018l.007-.006.003-.002a.479.479 0 0 0 .036-.032 2.678 2.678 0 0 0 .928-2.931Zm-8.33-2.703c-1.032-3.107-.534-6.234 1.155-7.281l.01-.007a2.478 2.478 0 0 1 .554-.25l.011-.004c.056-.017.11-.026.165-.038.044-.01.086-.022.132-.03l.014-.001a2.978 2.978 0 0 1 .336-.032.403.403 0 0 1 .145.007.418.418 0 0 0 .079.003 1.857 1.857 0 0 1 1.637 1.195 1.578 1.578 0 0 1-.11 1.233 2.086 2.086 0 0 1-1.259 1.003 2.213 2.213 0 0 1-1.73-.18c-.008-.004-.017-.004-.026-.008a.493.493 0 0 0-.092-.03.502.502 0 0 0-.099-.022c-.009 0-.016-.006-.025-.006H9.43a.475.475 0 0 0-.06.012.379.379 0 0 0-.184.06.476.476 0 0 0-.08.054.484.484 0 0 0-.067.075.474.474 0 0 0-.043.05c-.005.008-.005.018-.009.026a.493.493 0 0 0-.03.092.487.487 0 0 0-.022.1c0 .008-.005.015-.005.024a11.356 11.356 0 0 0 .593 3.69 11.664 11.664 0 0 0 1.743 3.343c.004.005.01.007.015.012a.494.494 0 0 0 .141.116c.01.005.017.015.027.02l.005.003a.496.496 0 0 0 .204.045h.006c.005 0 .01-.004.014-.004a.491.491 0 0 0 .26-.087c.01-.006.02-.003.029-.01.006-.004.009-.011.014-.016a1.134 1.134 0 0 0 .124-.155c.004-.006.01-.01.013-.017a2.046 2.046 0 0 1 1.293-1.071 1.992 1.992 0 0 1 2.51 1.104 1.69 1.69 0 0 1-.598 1.834.42.42 0 0 0-.05.037l-.007.006-.011.008-.027.021a.694.694 0 0 1-.11.074 2.391 2.391 0 0 1-.562.255h-.001l-.01.003a2.475 2.475 0 0 1-.598.094l-.023.002-.119-.003c-2.005-.028-4.249-2.293-5.265-5.35Z"})));function lN(){return(lN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lj=e=>tp.createElement("svg",lN({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),e_||(e_=tp.createElement("path",{d:"M9 17h6v1H9zM9 19h6v1H9z"})),ek||(ek=tp.createElement("path",{d:"M20.81 6H19.5V4.966A.967.967 0 0 0 18.534 4H17V2H7v2H5.466a.967.967 0 0 0-.966.966V6H3.19A1.192 1.192 0 0 0 2 7.19v10.12a1.192 1.192 0 0 0 1.19 1.19H7V22h10v-3.5h3.81A1.192 1.192 0 0 0 22 17.31V7.19A1.192 1.192 0 0 0 20.81 6ZM18.5 4.966 18.534 6H17V4.991ZM8 3h8v3H8ZM5.466 5H7v1H5.499ZM16 21H8v-5h8Zm5-3.69a.19.19 0 0 1-.19.19H17V16h1v-1H6v1h1v1.5H3.19a.19.19 0 0 1-.19-.19V7.19A.19.19 0 0 1 3.19 7h17.62a.19.19 0 0 1 .19.19Z"})));function lD(){return(lD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lL=e=>tp.createElement("svg",lD({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eO||(eO=tp.createElement("path",{d:"M6.507 6.75h-.014a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 .5-.5.512.512 0 0 1 .514.5v5.75a.5.5 0 0 1-.5.5Zm0-.5ZM8.507 6.75h-.014a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 .5-.5.512.512 0 0 1 .514.5v5.75a.5.5 0 0 1-.5.5Zm0-.5Z"})),eA||(eA=tp.createElement("path",{d:"M10.485 0a.5.5 0 0 0-.5.5v5.537L7.492 8.432 5.015 6.05V.5A.512.512 0 0 0 4.5 0a.5.5 0 0 0-.5.5v5.755a.5.5 0 0 0 .032.155c.004.012.003.025.008.036.006.013.018.023.025.036a.498.498 0 0 0 .086.125l.002.003.899.864A.491.491 0 0 0 5 7.687v14.375a.489.489 0 0 0 .23.402l-.003.004 1.99 1.437a.5.5 0 0 0 .586 0l1.99-1.437-.005-.007a.49.49 0 0 0 .212-.398V7.41l.805-.773A.491.491 0 0 0 11 6.25V.5a.512.512 0 0 0-.515-.5ZM9 21.807l-1.49 1.076-1.49-1.076V8.404l1.126 1.081a.485.485 0 0 0 .106.07.513.513 0 0 0 .052.032.489.489 0 0 0 .376 0 .513.513 0 0 0 .052-.033.485.485 0 0 0 .107-.069L9 8.37ZM19.998 7.79l-.002-.821C19.996 3.062 18.313 0 16.165 0H14.5a.5.5 0 0 0-.5.5v23a.498.498 0 0 0 .701.456l.001.003 2.62-1.13a1.613 1.613 0 0 0 1.013-1.453v-8.919a1.73 1.73 0 0 0 .975-.469c.702-.705.697-1.946.688-4.198Zm-3.073 14.121-1.925.83V12.5h2.335v8.876a.612.612 0 0 1-.41.535Zm1.677-10.629a.994.994 0 0 1-.77.218H15V1h1.165c1.367 0 2.831 2.398 2.831 5.969l.002.825c.007 1.787.013 3.078-.396 3.488Z"})));function lB(){return(lB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lZ=e=>tp.createElement("svg",lB({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eI||(eI=tp.createElement("path",{d:"M21.5 8h-2a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5ZM20 7h1V5h-1ZM21.5 13h-2a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5ZM20 12h1v-2h-1ZM21.5 18h-2a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5ZM20 17h1v-2h-1Z"})),eP||(eP=tp.createElement("path",{d:"M22 3V2h-4.5a.5.5 0 0 0-.5.5V19h-3v-2.438l.985-3.94a.5.5 0 1 0-.97-.243L13.109 16H10.5a.5.5 0 0 0-.5.5V19H9v-4h1.5a.5.5 0 0 0 0-1H9v-4h5.5a.5.5 0 0 0 .5-.5c0-2.89-2.65-5.261-6-5.479V3.5a.5.5 0 0 0-1 0v.521C4.65 4.24 2 6.611 2 9.5a.5.5 0 0 0 .5.5H8v4H6.5a.5.5 0 0 0 0 1H8v4H7v-2.5a.5.5 0 0 0-.5-.5H3.89l-.905-3.621a.5.5 0 0 0-.97.242L3 16.562V19h-.5a.5.5 0 0 0-.5.5V22h1.053v-2h17.894v2H22v-2.5a.513.513 0 0 0-.526-.5H18V3ZM8.5 5c2.825 0 5.159 1.753 5.464 4H3.036C3.341 6.753 5.675 5 8.5 5ZM11 17h2v2h-2Zm-7 0h2v2H4Z"})));function lF(){return(lF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lz=e=>tp.createElement("svg",lF({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eT||(eT=tp.createElement("path",{d:"M6 15.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 0-1h-8a.5.5 0 0 0-.5.5ZM14.5 18h-8a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1Z"})),eR||(eR=tp.createElement("path",{d:"m22.854 4.146-2-2a.5.5 0 0 0-.707 0l-1 1-1.182 1.182A.496.496 0 0 0 17.5 4h-11a.498.498 0 0 0-.354.146l-3 3A.498.498 0 0 0 3 7.5v14a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5V9.707l3.854-3.854 1-1a.5.5 0 0 0 0-.707Zm-1.061.354-.293.293L20.207 3.5l.293-.293ZM6 5.707V7H4.707ZM17 21H4V8h2.5a.5.5 0 0 0 .5-.5V5h10v.293L13.293 9H6.5a.5.5 0 0 0 0 1h5.793l-1.146 1.146-.01.015a.497.497 0 0 0-.046.068.488.488 0 0 0-.053.08l-.005.02-.007.013-.22.658H6.5a.5.5 0 0 0 0 1h3.973l-.447 1.342A.5.5 0 0 0 10.5 15a.52.52 0 0 0 .158-.025l3-1 .014-.009.019-.004a.487.487 0 0 0 .077-.05.499.499 0 0 0 .072-.05l.014-.01L17 10.708Zm-4-7.86-1.71.569.337-1.008.007-.022.226-.679H13Zm1-.847V11.5a.5.5 0 0 0-.5-.5h-.793l1.146-1.146.001-.001L19.5 4.207 20.793 5.5Z"})));function lU(){return(lU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lH=e=>tp.createElement("svg",lU({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eM||(eM=tp.createElement("path",{d:"M20.701 8H3.298A1.3 1.3 0 0 1 2 6.701V4.3A1.3 1.3 0 0 1 3.298 3h17.403A1.3 1.3 0 0 1 22 4.299V6.7A1.3 1.3 0 0 1 20.701 8ZM3.298 4A.299.299 0 0 0 3 4.299V6.7A.299.299 0 0 0 3.298 7h17.403A.299.299 0 0 0 21 6.701V4.3A.299.299 0 0 0 20.701 4ZM20.666 14H3.334A1.335 1.335 0 0 1 2 12.666v-2.332A1.335 1.335 0 0 1 3.333 9h17.333A1.336 1.336 0 0 1 22 10.334v2.332A1.336 1.336 0 0 1 20.666 14ZM3.334 10a.334.334 0 0 0-.334.334v2.332a.334.334 0 0 0 .333.334h17.333a.334.334 0 0 0 .334-.334v-2.332a.334.334 0 0 0-.334-.334ZM20.692 20H3.307A1.31 1.31 0 0 1 2 18.692v-2.384A1.31 1.31 0 0 1 3.307 15h17.385A1.31 1.31 0 0 1 22 16.308v2.384A1.31 1.31 0 0 1 20.692 20ZM3.307 16a.307.307 0 0 0-.307.308v2.384a.307.307 0 0 0 .307.308h17.385a.308.308 0 0 0 .308-.308v-2.384a.308.308 0 0 0-.308-.308Z"})),eN||(eN=tp.createElement("path",{d:"M6.5 21h-2a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5ZM5 20ZM19.5 21h-2a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5ZM18 20Z"})),ej||(ej=tp.createElement("circle",{cx:5.5,cy:17.5,r:.5})),eD||(eD=tp.createElement("circle",{cx:7.5,cy:17.5,r:.5})),eL||(eL=tp.createElement("path",{d:"M19 18h-5a.5.5 0 0 1 0-1h5a.5.5 0 0 1 0 1Z"})),eB||(eB=tp.createElement("circle",{cx:5.5,cy:11.5,r:.5})),eZ||(eZ=tp.createElement("circle",{cx:7.5,cy:11.5,r:.5})),eF||(eF=tp.createElement("path",{d:"M19 12h-5a.5.5 0 0 1 0-1h5a.5.5 0 0 1 0 1Z"})),ez||(ez=tp.createElement("circle",{cx:5.5,cy:5.5,r:.5})),eU||(eU=tp.createElement("circle",{cx:7.5,cy:5.5,r:.5})),eH||(eH=tp.createElement("path",{d:"M19 6h-5a.5.5 0 0 1 0-1h5a.5.5 0 0 1 0 1Z"})),eq||(eq=tp.createElement("circle",{cx:9.5,cy:17.5,r:.5})),eV||(eV=tp.createElement("circle",{cx:9.5,cy:11.5,r:.5})),eW||(eW=tp.createElement("circle",{cx:9.5,cy:5.5,r:.5})),e$||(e$=tp.createElement("path",{d:"M17.5 13.75h2v1.5h-2z"})),eG||(eG=tp.createElement("path",{d:"M19.5 15.75h-2a.5.5 0 0 1-.5-.5v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-.5.5Zm-1.5-1h1v-.5h-1ZM17.5 7.75h2v1.5h-2z"})),eK||(eK=tp.createElement("path",{d:"M19.5 9.75h-2a.5.5 0 0 1-.5-.5v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-.5.5Zm-1.5-1h1v-.5h-1ZM4.5 7.75h2v1.5h-2z"})),eY||(eY=tp.createElement("path",{d:"M6.5 9.75h-2a.5.5 0 0 1-.5-.5v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-.5.5Zm-1.5-1h1v-.5H5ZM4.5 13.75h2v1.5h-2z"})),eX||(eX=tp.createElement("path",{d:"M6.5 15.75h-2a.5.5 0 0 1-.5-.5v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v1.5a.5.5 0 0 1-.5.5Zm-1.5-1h1v-.5H5Z"})));function lq(){return(lq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lV=e=>tp.createElement("svg",lq({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),eQ||(eQ=tp.createElement("path",{d:"M17.634 15.245a.5.5 0 0 0-.43-.245h-2.372a.475.475 0 0 0-.059.012.403.403 0 0 0-.185.06.477.477 0 0 0-.077.053.485.485 0 0 0-.07.076.47.47 0 0 0-.04.044c-.01.018-.015.035-.025.053l-.006.012a2.327 2.327 0 0 0-.265 1.923 3.279 3.279 0 0 0 1.718 1.728.503.503 0 0 0 .194.039.506.506 0 0 0 .195-.04 2.741 2.741 0 0 0 1.675-1.617 2.773 2.773 0 0 0-.253-2.098Zm-.699 1.791a1.678 1.678 0 0 1-.915.904 2.055 2.055 0 0 1-.966-1.024A1.25 1.25 0 0 1 15.14 16h1.742a1.603 1.603 0 0 1 .053 1.036Z"})),eJ||(eJ=tp.createElement("path",{d:"m18.65 13.023-3.92-1.23h-.003l-.124-.114A4.986 4.986 0 0 0 17 7.41a5.09 5.09 0 0 0-.308-1.707A2.783 2.783 0 0 0 18 3.5C18 1.537 15.364 0 12 0S6 1.537 6 3.5a2.783 2.783 0 0 0 1.308 2.203A5.09 5.09 0 0 0 7 7.41a4.986 4.986 0 0 0 2.397 4.269l-.161.147-3.806 1.195a.5.5 0 0 0-.327.626.493.493 0 0 0 .627.327l3.53-1.108 1.468 2.689c.004.007.012.01.016.017l-.739 5.857-.001.009a.46.46 0 0 0 .005.062.352.352 0 0 0 .066.247.468.468 0 0 0 .025.053l.005.006v.001L11.6 23.8a.5.5 0 0 0 .8 0l1.495-1.993v-.001l.005-.006a.468.468 0 0 0 .025-.054.352.352 0 0 0 .067-.246.46.46 0 0 0 .004-.063v-.008l-.74-5.857c.004-.007.013-.01.016-.017l1.479-2.708 3.6 1.13A.473.473 0 0 0 18.5 14a.5.5 0 0 0 .15-.977ZM12 1c2.71 0 5 1.145 5 2.5a1.673 1.673 0 0 1-.68 1.217A17.51 17.51 0 0 0 12 4.25a17.51 17.51 0 0 0-4.32.467A1.673 1.673 0 0 1 7 3.5C7 2.145 9.29 1 12 1Zm3.023 4.463A8.435 8.435 0 0 1 12 6a8.435 8.435 0 0 1-3.023-.537A20.282 20.282 0 0 1 12 5.25a20.282 20.282 0 0 1 3.023.213ZM8 7.41a4.061 4.061 0 0 1 .188-1.188A9.01 9.01 0 0 0 12 7a9.01 9.01 0 0 0 3.812-.778A4.061 4.061 0 0 1 16 7.41a3.984 3.984 0 0 1-2.28 3.6.48.48 0 0 0-.054-.01h-3.333a.48.48 0 0 0-.054.01A3.984 3.984 0 0 1 8 7.41Zm4 15.257-.979-1.305.7-5.547h.558l.7 5.547Zm.537-7.852h-1.074l-1.337-2.448.402-.367h2.944l.402.367Z"})));function lW(){return(lW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let l$=e=>tp.createElement("svg",lW({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),e0||(e0=tp.createElement("path",{d:"M9.5 18a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 1 0v5a.5.5 0 0 1-.5.5ZM9.5 22a.5.5 0 0 1-.5-.5v-1.125a.5.5 0 0 1 1 0V21.5a.5.5 0 0 1-.5.5ZM15.5 18a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 1 0v5a.5.5 0 0 1-.5.5ZM15.5 23a.5.5 0 0 1-.5-.5v-2.125a.5.5 0 0 1 1 0V22.5a.5.5 0 0 1-.5.5ZM12.5 23a.5.5 0 0 1-.5-.5v-6.063a.5.5 0 0 1 1 0V22.5a.5.5 0 0 1-.5.5ZM12.5 14a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 1 0v1a.5.5 0 0 1-.5.5ZM18.5 22a.5.5 0 0 1-.5-.5v-5.063a.5.5 0 0 1 1 0V21.5a.5.5 0 0 1-.5.5ZM18.5 14a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 1 0v1a.5.5 0 0 1-.5.5Z"})),e1||(e1=tp.createElement("path",{d:"m14.544 5.025-.025-.454a.542.542 0 0 0-.024-.102c0-.008.003-.015.002-.023A5.137 5.137 0 0 0 9.261 0 5.114 5.114 0 0 0 4 4.936L4 4.938V22.5a.5.5 0 0 0 1 0V4.94A4.114 4.114 0 0 1 9.26 1a4.14 4.14 0 0 1 4.243 3.554.454.454 0 0 0 .02.06c0 .005-.003.01-.002.014l.022.393A5.726 5.726 0 0 0 8 10.5a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5 5.718 5.718 0 0 0-5.456-5.475ZM14 6a4.827 4.827 0 0 1 4.944 4H9.056A4.827 4.827 0 0 1 14 6Z"})));function lG(){return(lG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lK=e=>tp.createElement("svg",lG({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),e2||(e2=tp.createElement("path",{d:"M6 9.5a2.75 2.75 0 1 1 2.75-2.75A2.753 2.753 0 0 1 6 9.5ZM6 5a1.75 1.75 0 1 0 1.75 1.75A1.752 1.752 0 0 0 6 5ZM18 9.5a2.75 2.75 0 1 1 2.75-2.75A2.753 2.753 0 0 1 18 9.5ZM18 5a1.75 1.75 0 1 0 1.75 1.75A1.752 1.752 0 0 0 18 5ZM12 20a.5.5 0 0 1-.5-.5v-16a.5.5 0 0 1 1 0v16a.5.5 0 0 1-.5.5ZM6.5 19h-1a.5.5 0 0 1-.46-.303l-3-7A.5.5 0 0 1 2.5 11h7a.5.5 0 0 1 .46.697l-3 7A.5.5 0 0 1 6.5 19Zm-.67-1h.34l2.572-6H3.258ZM21.5 19h-7a.5.5 0 0 1-.46-.697l3-7A.5.5 0 0 1 17.5 11h1a.5.5 0 0 1 .46.303l3 7a.5.5 0 0 1-.46.697Zm-6.242-1h5.484l-2.572-6h-.34Z"})));function lY(){return(lY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lX=e=>tp.createElement("svg",lY({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),e3||(e3=tp.createElement("path",{d:"M19.996 19.52c0-.007.004-.013.004-.02v-15c0-.007-.004-.013-.004-.02l.944-1.742A.5.5 0 0 0 20.5 2h-11a.5.5 0 0 0-.44.738l.944 1.742c0 .007-.004.013-.004.02v6.726a5.428 5.428 0 0 0-.822-.18l.796-2.388a.5.5 0 1 0-.948-.316l-.244.733a4.406 4.406 0 0 0-2.616-1.311 1.975 1.975 0 0 0-1.457.605 7.157 7.157 0 0 1-2.371 1.658A.502.502 0 0 0 2 10.5c0 .346.251 1.46 3.352 1.497A5.496 5.496 0 0 0 8.5 22h12a.5.5 0 0 0 .44-.738ZM13.393 19A5.459 5.459 0 0 0 14 16.5c0-.044-.01-.084-.012-.127l.345-.23a1.062 1.062 0 0 1 1.121.02l.603.442a2 2 0 0 0 1.163.354 1.978 1.978 0 0 0 1.134-.338l.646-.446V19h-5.607ZM11 5h8v2.805l-.641-.444a2.063 2.063 0 0 0-2.305.026l-.601.441a1.08 1.08 0 0 1-1.127.015l-.794-.526a2.046 2.046 0 0 0-2.231.001L11 7.51Zm8.66-2-.541 1H10.88l-.542-1ZM11 11.3V8.695l.01-.004.851-.545a1.072 1.072 0 0 1 1.113.001l.799.529a2.013 2.013 0 0 0 1.106.314 1.98 1.98 0 0 0 1.167-.356l.603-.443a1.056 1.056 0 0 1 1.136-.01l.678.468a1.726 1.726 0 0 0 .537.237v6.208a1.703 1.703 0 0 0-.534.235l-.685.473a1.075 1.075 0 0 1-1.135-.005l-.598-.44a2.07 2.07 0 0 0-2.2-.077 5.496 5.496 0 0 0-2.941-3.705A.487.487 0 0 0 11 11.3Zm-7.687-.627a9.184 9.184 0 0 0 2.103-1.597.997.997 0 0 1 .74-.312 3.268 3.268 0 0 1 1.818.922C7.879 10.103 7.448 11 5.5 11a5.238 5.238 0 0 1-2.187-.327ZM4 16.5a4.49 4.49 0 0 1 4-4.45v1.45a.5.5 0 0 0 1 0v-1.45a4.49 4.49 0 1 1-5 4.45Zm7.656 4.5-.023.014A5.547 5.547 0 0 0 12.739 20h6.38l.542 1Zm-1.76.813.038-.01Zm.62-.201.024-.009Z"})));function lQ(){return(lQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let lJ=e=>tp.createElement("svg",lQ({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),e4||(e4=tp.createElement("path",{d:"M22.753 12H20a3.494 3.494 0 0 0-2.354-3.291 2.5 2.5 0 1 0-2.292 0A3.494 3.494 0 0 0 13 12H8v-1h3.635a.365.365 0 0 0 .365-.365v-5.27A.365.365 0 0 0 11.635 5h-8.27A.365.365 0 0 0 3 5.365v5.27a.365.365 0 0 0 .365.365H7v1H1.247a.247.247 0 0 0-.247.247v.506a.247.247 0 0 0 .247.247H2v5.419a.581.581 0 0 0 .581.581H4v.635a.365.365 0 0 0 .365.365h1.27A.365.365 0 0 0 6 19.635V19h12v.635a.365.365 0 0 0 .365.365h1.27a.365.365 0 0 0 .365-.365V19h1.419a.581.581 0 0 0 .581-.581V13h.753a.247.247 0 0 0 .247-.247v-.506a.247.247 0 0 0-.247-.247ZM4 6h7v4H4Zm12.5-1A1.5 1.5 0 1 1 15 6.5 1.502 1.502 0 0 1 16.5 5Zm0 4.5A2.502 2.502 0 0 1 19 12h-5a2.502 2.502 0 0 1 2.5-2.5ZM21 18H3v-5h18Z"})));function l0(){return(l0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let l1=e=>tp.createElement("svg",l0({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),e5||(e5=tp.createElement("path",{d:"M19 2v5h-6V3H8v4H5V2H4v20h1v-2h14v2h1V2ZM9 4h1v1h1V4h1v3H9ZM8 19v-3h3v1h2v-1h3v3Zm11 0h-2v-4H7v4H5v-5h14ZM9 11v-1h1v3H7v-3h1v1Zm7 0v-1h1v3h-3v-3h1v1Zm3 2h-1V9h-5v4h-2V9H6v4H5V8h14Z"})));function l2(){return(l2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let l3=e=>tp.createElement("svg",l2({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),e6||(e6=tp.createElement("path",{d:"M9.875 17.094a.5.5 0 0 1-.456-.295L7.25 11.968l-2.169 4.83a.5.5 0 0 1-.937-.067L1.519 7.544a.5.5 0 0 1 .962-.275l2.249 7.87 2.064-4.597a.52.52 0 0 1 .912 0l2.065 4.598 2.248-7.871a.5.5 0 0 1 .962.275l-2.625 9.187a.503.503 0 0 1-.445.362h-.036ZM18.738 17.094a5.094 5.094 0 1 1 3.615-8.697.5.5 0 1 1-.706.71 4.094 4.094 0 1 0 0 5.787.5.5 0 1 1 .706.709 5.088 5.088 0 0 1-3.615 1.49Z"})));function l4(){return(l4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let l5=e=>tp.createElement("svg",l4({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),e8||(e8=tp.createElement("path",{d:"M21.974 21.342 20 15.419V2.5a.5.5 0 0 0-.5-.5h-15a.5.5 0 0 0-.5.5v12.92l-1.974 5.922A.5.5 0 0 0 2.5 22h19a.5.5 0 0 0 .474-.658ZM5 3h14v12H5ZM3.194 21l1.666-5h14.28l1.666 5Z"})),e7||(e7=tp.createElement("path",{d:"M18.5 18h-13a.5.5 0 0 1 0-1h13a.5.5 0 0 1 0 1ZM18.5 20.01h-13a.5.5 0 0 1-.5-.5.508.508 0 0 1 .5-.51l13 .01a.5.5 0 0 1 0 1ZM17.5 4h-11a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5Zm-8.376 9a3.069 3.069 0 0 1 5.752 0ZM17 13h-1.099a4.037 4.037 0 0 0-7.803 0H7V5h10Z"})),e9||(e9=tp.createElement("path",{d:"M14 8a2 2 0 1 0-2 2 2.002 2.002 0 0 0 2-2Zm-2 1a1 1 0 1 1 1-1 1.001 1.001 0 0 1-1 1Z"})));function l6(){return(l6=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let l8=e=>tp.createElement("svg",l6({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),te||(te=tp.createElement("path",{d:"M15.524 16.729a3.487 3.487 0 0 0-4.79-.872 3.742 3.742 0 0 0-1.45 1.65 13.287 13.287 0 0 1-2.268-2.678 13.145 13.145 0 0 1-1.47-3.15c.039.001.077.008.115.008a3.84 3.84 0 0 0 2.015-.583 3.694 3.694 0 0 0 1.668-2.288 3.079 3.079 0 0 0-.395-2.36 3.326 3.326 0 0 0-3.46-1.393h-.004c-.06.009-.102.026-.157.039a1.302 1.302 0 0 0-.195.047l-.012.005-.006.001a3.927 3.927 0 0 0-1.762 1.093l-.011.015-.013.012a3.945 3.945 0 0 0-.238.29.487.487 0 0 0-.06.13C1.38 8.983 1.765 13.04 4.085 16.665c2.1 3.28 5.216 5.335 7.866 5.335a4.729 4.729 0 0 0 .888-.093c.019-.001.038-.002.057-.005a4.79 4.79 0 0 0 .381-.09l.008-.003.009-.002a4.124 4.124 0 0 0 .956-.43 3.93 3.93 0 0 0 .453-.333 2.915 2.915 0 0 0 .333-.31 1.833 1.833 0 0 0 .243-.278l.006-.013.016-.02a3.227 3.227 0 0 0 .222-3.693Zm-10.596-.604c-2.188-3.418-2.553-7.362-.855-9.18l.011-.014a3.054 3.054 0 0 1 .602-.496c.037-.023.08-.041.119-.063.073-.04.146-.083.225-.117l.038-.017a3.674 3.674 0 0 1 .371-.137.832.832 0 0 1 .195-.044.417.417 0 0 0 .081-.019 2.331 2.331 0 0 1 2.392.956 2.087 2.087 0 0 1 .262 1.6 2.69 2.69 0 0 1-1.22 1.66 2.73 2.73 0 0 1-2.163.343c-.01-.003-.02 0-.03-.003a.506.506 0 0 0-.08-.006.477.477 0 0 0-.116.003c-.008.002-.016-.001-.024 0a.466.466 0 0 0-.057.028.37.37 0 0 0-.167.105.477.477 0 0 0-.065.07.488.488 0 0 0-.046.091.465.465 0 0 0-.03.06c-.002.008 0 .017-.002.026a.485.485 0 0 0-.007.097.492.492 0 0 0 .004.102c.002.009 0 .017.001.025a13.887 13.887 0 0 0 1.807 4.173 14.074 14.074 0 0 0 3.042 3.404c.007.006.016.008.023.013a.734.734 0 0 0 .172.077c.01.002.018.01.029.011.011.002.021-.002.032-.001a.509.509 0 0 0 .055.009 458.28 458.28 0 0 1 .157-.035.467.467 0 0 0 .092-.041.488.488 0 0 0 .097-.077c.014-.014.033-.02.046-.037.005-.006.006-.015.011-.022a1.015 1.015 0 0 0 .081-.18c.002-.008.007-.014.009-.021a2.65 2.65 0 0 1 1.242-1.761 2.489 2.489 0 0 1 3.42.56 2.23 2.23 0 0 1-.15 2.515.522.522 0 0 0-.047.058l-.004.005-.005.007c-.01.015-.019.024-.028.037a.898.898 0 0 1-.117.136 2.933 2.933 0 0 1-1.328.823l-.013.003c-2.405.726-5.872-1.303-8.062-4.726ZM21.5 12a.5.5 0 0 1-.5-.5A8.51 8.51 0 0 0 12.5 3a.5.5 0 0 1 0-1 9.51 9.51 0 0 1 9.5 9.5.5.5 0 0 1-.5.5Z"})),tt||(tt=tp.createElement("path",{d:"M18.5 12a.5.5 0 0 1-.5-.5A5.507 5.507 0 0 0 12.5 6a.5.5 0 0 1 0-1 6.508 6.508 0 0 1 6.5 6.5.5.5 0 0 1-.5.5Z"})),tn||(tn=tp.createElement("path",{d:"M15.5 12a.5.5 0 0 1-.5-.5A2.502 2.502 0 0 0 12.5 9a.5.5 0 0 1 0-1 3.504 3.504 0 0 1 3.5 3.5.5.5 0 0 1-.5.5Z"})));function l7(){return(l7=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let l9=e=>tp.createElement("svg",l7({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,"data-name":"Layer 1",viewBox:"0 0 24 24"},e),tr||(tr=tp.createElement("path",{d:"M12 19a2 2 0 1 1 2-2 2.002 2.002 0 0 1-2 2Zm0-3a1 1 0 1 0 1 1 1.001 1.001 0 0 0-1-1Z"})),to||(to=tp.createElement("path",{d:"M15.5 15a.498.498 0 0 1-.356-.15 4.334 4.334 0 0 0-6.288 0 .5.5 0 0 1-.712-.7 5.333 5.333 0 0 1 7.712 0 .5.5 0 0 1-.356.85Z"})),ti||(ti=tp.createElement("path",{d:"M17.5 13a.496.496 0 0 1-.322-.117 8.026 8.026 0 0 0-10.356 0 .5.5 0 1 1-.644-.766 9.026 9.026 0 0 1 11.644 0A.5.5 0 0 1 17.5 13Z"})),ta||(ta=tp.createElement("path",{d:"M19.5 11a.496.496 0 0 1-.34-.134 10.326 10.326 0 0 0-14.32 0 .5.5 0 1 1-.68-.732 11.437 11.437 0 0 1 15.68 0 .5.5 0 0 1-.34.866Z"})),ts||(ts=tp.createElement("path",{d:"M21.5 9a.498.498 0 0 1-.356-.15 12.781 12.781 0 0 0-18.288 0 .5.5 0 1 1-.712-.7 13.781 13.781 0 0 1 19.712 0A.5.5 0 0 1 21.5 9Z"})));function ce(){let e=(0,nb._)(["\n  fragment AmenityView on OfficeAmenity {\n    id\n    key\n  }\n"]);return ce=function(){return e},e}let ct={"24/7 Access":(0,tf.jsx)(sM,{}),"Air Conditioning":(0,tf.jsx)(sj,{}),"Backup Internet Connection":(0,tf.jsx)(sL,{}),"Brainstorming Rooms":(0,tf.jsx)(lE,{}),"Breakout Areas":(0,tf.jsx)(sz,{}),"Business Lounge":(0,tf.jsx)(sH,{}),"Call Handling":(0,tf.jsx)(s$,{}),"Car Parking":(0,tf.jsx)(sK,{}),"CAT 567 Cabling":(0,tf.jsx)(sX,{}),"Changing Rooms":(0,tf.jsx)(s1,{}),"Conference Rooms":(0,tf.jsx)(s8,{}),"Cycle Parking":(0,tf.jsx)(s9,{}),"DDA Compliance":(0,tf.jsx)(lt,{}),"Disable Access":(0,tf.jsx)(lt,{}),"Dog Friendly":(0,tf.jsx)(lT,{}),"Event Space":(0,tf.jsx)(lr,{}),"Exercise Studio":(0,tf.jsx)(li,{}),"Filtered Water":(0,tf.jsx)(ls,{}),"Fully Furnished":(0,tf.jsx)(lc,{}),"Games Lounge":(0,tf.jsx)(ld,{}),"Mail Handling":(0,tf.jsx)(lS,{}),"Meeting Rooms":(0,tf.jsx)(lE,{}),"Mindfulness Rooms":(0,tf.jsx)(l_,{}),"On Site Barista":(0,tf.jsx)(lO,{}),"On Site Staff":(0,tf.jsx)(lJ,{}),"Outdoor Space":(0,tf.jsx)(lI,{}),"Phone Booths":(0,tf.jsx)(lM,{}),"Restaurant On Site":(0,tf.jsx)(lL,{}),"Rooftop Terrace":(0,tf.jsx)(lZ,{}),"Secretarial Services":(0,tf.jsx)(lz,{}),"Secure Server Rooms":(0,tf.jsx)(lH,{}),"Security Guards":(0,tf.jsx)(lV,{}),"Single Sex Toilets":(0,tf.jsx)(lK,{}),"Snacks and Refreshments":(0,tf.jsx)(lX,{}),"Unisex Toilets":(0,tf.jsx)(l3,{}),"Video Conferencing":(0,tf.jsx)(l5,{}),"Wellness Room":(0,tf.jsx)(li,{}),"Wi-Fi":(0,tf.jsx)(l9,{}),"Women Only":null,Balcony:(0,tf.jsx)(sZ,{}),Cafe:(0,tf.jsx)(sV,{}),CCTV:(0,tf.jsx)(sJ,{}),Cleaning:(0,tf.jsx)(s3,{}),Coffee:(0,tf.jsx)(s5,{}),Gym:(0,tf.jsx)(lp,{}),Kitchen:(0,tf.jsx)(lm,{}),Lift:(0,tf.jsx)(lv,{}),Lockers:(0,tf.jsx)(lb,{}),Printing:(0,tf.jsx)(lj,{}),Restaurant:(0,tf.jsx)(lL,{}),Showers:(0,tf.jsx)(l$,{}),Storage:(0,tf.jsx)(l1,{}),VOIP:(0,tf.jsx)(l8,{})},cn=e=>ct[e],cr=e=>{let{amenity:t,iconClassName:n,textClassName:r}=e;return(0,tf.jsxs)(tT.Z,{className:"flex-nowrap",gutter:8,children:[(0,tf.jsx)(nw.Z,{className:n,children:cn(null==t?void 0:t.key)}),(0,tf.jsx)(nw.Z,{className:r,children:null==t?void 0:t.label})]},null==t?void 0:t.id)};(0,nS.ZP)(ce());let co=e=>{let{amenities:t,className:n="amenities_icons",rows:r,cols:o=4}=e,{t:i}=(0,tC.$G)(),a=(0,sT.ko)(t);if(!(null==a?void 0:a.length))return null;r&&(a=sP()(a,r*o));let s=sA()(a,Math.ceil(a.length/o));return(0,tf.jsxs)("div",{className:n,children:[(0,tf.jsx)("div",{className:"mb-2 text-base font-semibold",children:i("amenities","Amenities")}),(0,tf.jsx)(tT.Z,{gutter:[8,8],children:s.map((e,t)=>(0,tf.jsx)(nw.Z,{span:24/o,children:e.map(e=>(0,tf.jsx)(cr,{amenity:e},null==e?void 0:e.id))},t))})]})};var ci=n(40470),ca=n(12872);let cs=e=>{var t;let{file:n}=e,r=(null==n?void 0:n.type)||(null==n?void 0:n.mimeType),o=(null==n?void 0:n.url)||(null==n?void 0:n.imageUrl)||(null==n?void 0:null===(t=n.xhr)||void 0===t?void 0:t.url);return r===nA.Tv.PDF?(0,tf.jsx)(nT,{brochure:tx()(n,"name"),className:"flex h-32 h-full w-44 items-center justify-center"}):o?(0,tf.jsx)("a",{href:o,target:"_blank",rel:"noreferrer",children:(0,tf.jsx)(nD,{src:o,alt:"",width:176,height:128})}):null},cl=e=>{let{file:t,onDelete:n,className:r}=e,{t:o}=(0,tC.$G)();return(0,tf.jsxs)("div",{className:tw()("relative overflow-hidden rounded bg-gray-100",r),children:[(0,tf.jsx)(cs,{file:t}),n&&(0,tf.jsx)(ca.Z,{title:o("agent:confirm.remove-file.title","Remove file"),description:o("agent:confirm.remove-file.content","Do you want to remove file?"),onConfirm:n,okText:o("remove","Remove"),okButtonProps:{"data-no-dnd":"true"},cancelText:o("cancel","Cancel"),cancelButtonProps:{"data-no-dnd":"true"},children:(0,tf.jsx)(nH.ZP,{"data-no-dnd":"true",danger:!0,size:"small",className:"absolute right-2 top-2",shape:"circle",icon:(0,tf.jsx)(ci.Z,{})})})]})};var cc=n(17998);let cu=e=>{let{children:t,hint:n}=e;return(0,tf.jsxs)(cc.Z.Title,{level:5,className:"mb-4",children:[t,n&&(0,tf.jsx)("div",{className:"mt-1 text-sm font-normal text-gray-700",children:n})]})};var cd=n(43229),cf=n(56879),cp=n(56043),ch=n(80229),cm=n.n(ch);let cg=e=>{let{name:t,label:n,description:r,hint:o,itemRender:i,listType:a,allowedFileTypes:s=[nA.Tv.JPG,nA.Tv.PNG,nA.Tv.WEBP],limitInMb:l=10,validator:c,explanationProvider:u,normalize:d=cm(),onUploaded:f=cm(),onRemoved:p=cm()}=e,{t:h}=(0,tC.$G)(),[m,g]=(0,tp.useState)(!1),v=Object.keys(nA.Tv).filter(e=>s.includes(nA.Tv[e])),y=async e=>{let t=c?c(e):new tv.CU(e);t.maxSize(l,h("agent:file-upload.message.limit-exceeded","File must be smaller than {{limit}}MB",{limit:l})).type(s,h("agent:file-upload.message.allowed-file-types","Allowed file types: {{types}}",{types:v.join(", ")}));try{let n=await t.validate();if(!n.isValid)return cd.ZP.error(n.errors.join(", ")),cf.Z.LIST_IGNORE;return e}catch(e){return cd.ZP.error(h("validation:invalid-file","Invalid file")),cf.Z.LIST_IGNORE}},b=e=>{if("uploading"===e.file.status){g(!0);return}"done"===e.file.status&&g(!1)},w=async e=>{let{file:t,onSuccess:n}=e,r=await (0,tv.Tk)(t,"");f(r),null==n||n("ok",{...new XMLHttpRequest,...r})},S=(e,t,n,r)=>{let{remove:o}=r;return i(t,n.indexOf(t),()=>{p(t),o()})},x=u?u(v,l):h("agent:upload.files-and-limit","Please use {{files}} files not bigger than {{limit}}MB",{files:v.join(", "),limit:l});return(0,tf.jsxs)(tf.Fragment,{children:[(0,tf.jsx)(cu,{hint:r,children:n}),(0,tf.jsx)(cp.Z.Item,{name:t,valuePropName:"fileList",getValueFromEvent:tv.bv,normalize:d,children:(0,tf.jsx)(cf.Z.Dragger,{className:"mb-5 min-h-[147px]",beforeUpload:y,customRequest:w,onChange:b,listType:a,itemRender:S,accept:s.join(","),multiple:!0,children:(0,tf.jsxs)(tR.Z,{spinning:m,children:[(0,tf.jsxs)("div",{className:"m-2 grid gap-2",children:[(0,tf.jsx)("div",{className:"text-base",children:h("agent:file-upload.upload.title","Drag and drop a file here or simply click to add file.")}),(0,tf.jsx)("div",{className:"text-sm text-gray-400",children:x}),o&&(0,tf.jsx)("div",{className:"text-sm text-gray-400",children:o})]}),(0,tf.jsx)(nH.ZP,{type:"primary",children:h("add-file","Add file")})]})})})]})};var cv=n(89653),cy=n(27826),cb=n.n(cy),cw={src:"/_next/static/media/aspect-ratio.b1e68445.png",height:918,width:753,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAASFBMVEX29fXBwcJtbnDa29v07e74+vqVlZeys7X9/f3T09Tg6eT119eMjY+9vb+jo6Xp6enp8u2858/p9e/3lpb84OD/qKigoKJ+f4FuvGavAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAOklEQVR4nAXBhwHAMAjAMGcQILv7/08rUY/aS4F9ZtUAZBnFjXbJG4MBMrob+fap02mPxi8GkJVSWj86EQHPLV06vQAAAABJRU5ErkJggg==",blurWidth:7,blurHeight:8},cS={src:"/_next/static/media/power-point.f096e661.png",height:290,width:421,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAGFBMVEXd3uDu7u76+vrn6Ory8vGxz+eqy+ekxN9Kl6+rAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJklEQVR4nCXIsQEAIAzDMJsE+v/HDNUoPIt5N2ghMSBYgUC60+58Cq8AWxLskGkAAAAASUVORK5CYII=",blurWidth:8,blurHeight:6};let cx=()=>{let{t:e}=(0,tC.$G)();return(0,tf.jsxs)("div",{className:"flex flex-row items-center rounded bg-gray-300 p-6",children:[(0,tf.jsx)(cb(),{className:"m-2 h-auto w-1/3",src:cw,alt:"Marketing content guideline",width:291,height:355}),(0,tf.jsxs)("div",{className:"mx-6 my-2 text-sm",children:[(0,tf.jsx)("h3",{className:"mb-2 text-lg",children:e("marketing-content.guideline.title","Marketing content upload guidelines")}),(0,tf.jsx)("p",{className:"mb-2",children:(0,tf.jsxs)(tC.cC,{i18nKey:"marketing-content.guideline.guidelines_1",children:["To help your Marketing content slides look the best they can, they should be uploaded to the dimensions of",(0,tf.jsx)("b",{children:"A4 landscape paper."})]})}),(0,tf.jsx)("p",{className:"mb-2",children:e("marketing-content.guideline.guidelines_2","We recommend using a slide editor such as Powerpoint or Google Slides and setting the size of A4 from there.")}),(0,tf.jsx)(cb(),{className:"my-4 h-auto w-72 border border-gray-300",src:cS,alt:"PowerPoint guideline",width:288,height:198}),(0,tf.jsx)("p",{className:"mb-2",children:(0,tf.jsxs)(tC.cC,{i18nKey:"marketing-content.guideline.guidelines_3",children:["If you were require any further assistance please contact:",(0,tf.jsx)("br",{}),(0,tf.jsx)(cc.Z.Link,{href:"mailto:".concat("support@valvespace.com"),children:{email:"support@valvespace.com"}})]})})]})]})},cE=e=>{let{name:t,label:n,description:r,...o}=e,{t:i}=(0,tC.$G)(),a=(e,n,r)=>(0,tf.jsxs)(tT.Z,{gutter:24,className:"mb-3",children:[(0,tf.jsx)(nw.Z,{children:(0,tf.jsx)(cl,{file:e,onDelete:r,className:tw()(!(0,tv.ST)(e)&&"border border-red-500")})}),(0,tf.jsx)(nw.Z,{className:"grow",children:(0,tf.jsx)(cp.Z.Item,{name:[t,n,"name"],label:"Name",rules:[{required:!0}],children:(0,tf.jsx)(cv.default,{size:"large"})})})]},n);return(0,tf.jsx)(cg,{...o,name:t,label:n,description:r,itemRender:a,validator:e=>new tv.e_(e).ratio(1.5,i("marketing-content.guideline.failed","The image you have uploaded has incorrect aspect ratio. Please follow our guidelines below for uploading in the correct format."))})};cE.Guidelines=cx;var cC=n(62239),c_=n(68818);let ck=e=>{let{name:t,label:n,rules:r=[],...o}=e;return(0,tf.jsx)("div",{className:"flex items-center",children:(0,tf.jsx)(cp.Z.Item,{name:t,label:n,getValueFromEvent:tv.bv,valuePropName:"fileList",rules:r,children:(0,tf.jsx)(cC.I,{name:t,...o})})})};tk.default.defaultProps={format:"L"};let{RangePicker:cO}=tk.default;cO.defaultProps={format:"L"};let cA=e=>{let{className:t,width:n,height:r,scale:o,children:i,addonAfter:a}=e;return(0,tf.jsxs)("div",{className:tw()("pointer-events-none relative overflow-hidden rounded-sm border",t),style:{width:n,height:r},children:[(0,tf.jsx)("div",{className:"relative",style:{width:n/o,height:r/o,transform:"translate(-50%, -50%) scale(".concat(o,")"),left:"50%",top:"50%"},children:i}),a]})};var cI=n(44871),cP=n(10256),cT=n(70568);let cR=e=>{let{company:t,user:n}=e;return n?(0,tf.jsxs)("div",{className:"flex items-center gap-6",children:[(0,tf.jsxs)("div",{className:"relative flex justify-center",children:[(0,tf.jsx)(cT.C,{icon:(0,tf.jsx)(cI.Z,{}),src:n.avatar,size:120,alt:""}),t&&(0,tf.jsx)(cT.C,{src:t.logo,size:40,className:"brand-bg-body !absolute bottom-0 right-0 border-2"})]}),(0,tf.jsxs)("div",{children:[(0,tf.jsx)("div",{className:"text-lg font-semibold",children:n.name}),(0,tf.jsxs)("div",{className:"brand-text-secondary-dark",children:[(0,tf.jsx)("div",{children:n.jobTitle}),(0,tf.jsx)("div",{children:t&&t.name})]}),(0,tf.jsxs)("div",{className:"flex flex-col",children:[!!n.phone&&(0,tf.jsx)("a",{className:"brand-text-normal",href:"tel:".concat(n.phone),children:n.phone}),(0,tf.jsx)("a",{href:"mailto:".concat(n.email),target:"_blank",rel:"noopener noreferrer",children:n.email})]})]})]}):(0,tf.jsxs)(tf.Fragment,{children:[(0,tf.jsx)(cP.Z.Avatar,{active:!0,size:160,shape:"circle"}),(0,tf.jsx)(cP.Z,{active:!0})]})};var cM=n(95907);let cN=(0,tp.createContext)({}),cj=()=>{let e=(0,tp.useContext)(cN);if(!e)throw Error("DigitalReportForm component must be rendered as child of DigitalReportForm.Context component");return e};var cD=n(62701);let cL=e=>{let{form:t,disabled:n}=e,{t:r}=(0,tC.$G)(),o=t.getFieldValue(cD.L.TEMPLATE_TYPE),i={className:"overflow-hidden",rules:[{required:!0,message:r("validation:image.required","Please upload image")}],label:r("image","Image"),fileSizeLimit:5};switch(o){case tg.WY.Horizontal:return(0,tf.jsx)(ck,{disabled:n,name:cD.L.IMAGE_URL,crop:{aspect:1.6},...i});case tg.WY.Vertical:return(0,tf.jsx)(ck,{disabled:n,name:cD.L.BACKGROUND_URL,crop:{aspect:320/796},...i});case tg.WY.HorizontalVideo:return(0,tf.jsx)(cp.Z.Item,{label:r("agent:profile.report.digital.videoUrl.label","Vimeo URL"),name:cD.L.VIDEO_URL,help:r("agent:profile.report.digital.videoUrl.help","Please insert Vimeo URL (e.g. https://player.vimeo.com/video/915744407)."),rules:[{required:!0},(0,tv.Xm)()],children:(0,tf.jsx)(cv.default,{disabled:n})});default:return null}};var cB=n(93263);let cZ=e=>{let{children:t,width:n=460,height:r=340,scale:o=.4}=e;return(0,tf.jsx)(cA,{scale:o,width:n,height:r,children:t})},cF=()=>{let{owner:e,company:t,title:n,message:r,detailsUpdatedAt:o}=cj();return(0,tf.jsx)(cZ,{children:(0,tf.jsx)("div",{className:"h-full bg-black bg-opacity-50 p-4",children:(0,tf.jsx)(cB.Z,{className:"m-auto mt-16 h-[700px] w-[520px] overflow-hidden",children:(0,tf.jsx)(ua.Base,{owner:e,company:t,title:n,message:r,detailsUpdatedAt:o})})})})},cz=e=>{var t,n,r;let o=cp.Z.useWatch(e);return null!==(r=null==o?void 0:null===(n=o[0])||void 0===n?void 0:null===(t=n.xhr)||void 0===t?void 0:t.url)&&void 0!==r?r:null==o?void 0:o[0]},cU=()=>{let e=cz(cD.L.IMAGE_URL),{owner:t,company:n,title:r,message:o}=cj();return(0,tf.jsx)(cZ,{children:(0,tf.jsx)(ua.Horizontal,{owner:t,company:{...n,imageUrl:e},title:r,message:o})})},cH=()=>{let e=cp.Z.useWatch(cD.L.VIDEO_URL),{owner:t,company:n,title:r,message:o}=cj();return(0,tf.jsx)(cZ,{children:(0,tf.jsx)(ua.HorizontalVideo,{owner:t,company:{...n,videoUrl:e},title:r,message:o})})},cq=()=>{let e=cz(cD.L.BACKGROUND_URL),{owner:t,company:n,title:r,message:o}=cj();return(0,tf.jsx)(cZ,{children:(0,tf.jsx)(ua.Vertical,{owner:t,company:{...n,backgroundUrl:e},title:r,message:o})})},cV={[tg.WY.Base]:cF,[tg.WY.Horizontal]:cU,[tg.WY.HorizontalVideo]:cH,[tg.WY.Vertical]:cq},cW=()=>{var e;let t=cV[null!==(e=cp.Z.useWatch("templateType"))&&void 0!==e?e:tg.WY.Base],{branding:n}=cj(),{cssVars:r}=null!=n?n:{};return(0,tp.useEffect)(()=>{r&&(0,tv.xs)(r)},[r]),(0,tf.jsx)(t,{})},c$=e=>{let{form:t,initialValues:n,onSubmit:r,canManageCompanyDetails:o}=e,{t:i}=(0,nK.$G)(),{message:a}=np.Z.useApp(),s=async e=>{try{await r(e),a.success(i("agent:digital-report-form.message","Digital report settings have been successfully updated"))}catch(e){a.error(i("error-default","Something went wrong, please try again"))}};return(0,tf.jsx)(cp.Z,{form:t,initialValues:n,onFinish:s,layout:"vertical",children:(0,tf.jsxs)(tT.Z,{className:"mb-4",gutter:24,children:[(0,tf.jsxs)(nw.Z,{span:12,children:[(0,tf.jsxs)("div",{className:"mb-4 flex items-center gap-4",children:[(0,tf.jsx)(cc.Z.Title,{level:5,className:"m-0",children:i("agent:profile.report.digital.intro.title","Intro")}),(0,tf.jsx)(us,{visible:!o})]}),(0,tf.jsx)(cp.Z.Item,{name:cD.L.TEMPLATE_TYPE,children:(0,tf.jsxs)(cM.ZP.Group,{disabled:!o,children:[(0,tf.jsx)(cM.ZP,{value:tg.WY.Base,children:i("template-type.base","Popup")}),(0,tf.jsx)(cM.ZP,{value:tg.WY.Vertical,children:i("template-type.vertical","Portrait image")}),(0,tf.jsx)(cM.ZP,{value:tg.WY.Horizontal,children:i("template-type.horizontal","Landscape image")}),(0,tf.jsx)(cM.ZP,{value:tg.WY.HorizontalVideo,children:i("template-type.horizontal-video","Video")})]})}),(0,tf.jsx)(cp.Z.Item,{dependencies:[cD.L.TEMPLATE_TYPE],children:e=>(0,tf.jsx)(cL,{form:e,disabled:!o})})]}),(0,tf.jsxs)(nw.Z,{children:[(0,tf.jsx)(cc.Z.Title,{level:5,children:i("agent:profile.report.digital.intro.preview","Preview")}),(0,tf.jsx)(cW,{})]})]})})};c$.Context=cN.Provider;var cG=n(98371);tA().extend(nX());let cK=e=>{let{detailsUpdatedAt:t,className:n}=e,{t:r}=(0,tC.$G)(),o=tA()(t).fromNow();return t?(0,tf.jsxs)("span",{className:n,children:[(0,tf.jsxs)("span",{className:"pr-0.5 opacity-[.75]",children:[r("last-updated","Last updated"),":"]}),o]}):null},cY=e=>{let{avatar:t}=e;return(0,tf.jsx)(cT.C,{src:t,icon:(0,tf.jsx)(cI.Z,{}),size:{xs:54,sm:54,md:54,lg:72,xl:72,xxl:72}})},cX=e=>{let{name:t,jobTitle:n,email:r,phone:o}=e;return(0,tf.jsxs)("div",{className:"flex flex-col",children:[(0,tf.jsx)("div",{className:"mb-3 text-lg lg:mb-5",children:t}),(0,tf.jsx)("div",{children:n}),(0,tf.jsx)("a",{href:"mailto:".concat(r),target:"_blank",rel:"noopener noreferrer",children:r}),(0,tf.jsx)("a",{href:"tel:".concat(o),children:o})]})},cQ=e=>{let{name:t,website:n}=e;return(0,tf.jsxs)("div",{className:"flex flex-col",children:[(0,tf.jsx)("div",{className:"mb-3 text-lg lg:mb-4",children:t}),n&&(0,tf.jsx)(iy(),{href:n,target:"_blank",rel:"noopener noreferrer",children:n})]})},cJ=e=>{let{logo:t}=e;return(0,tf.jsx)(cT.C,{src:t,size:{xs:54,sm:54,md:54,lg:72,xl:72,xxl:72}})},c0=e=>{let{message:t}=e;return t?(0,tf.jsx)("div",{className:"leading-6",children:t}):null};var c1=n(44886),c2=n.n(c1);let c3=e=>{let{title:t}=e;return t?(0,tf.jsx)("div",{className:tw()(c2()["landing-title"],"text-2xl font-bold"),children:t}):null},c4=e=>{let{onClick:t=()=>{},callToAction:n}=e,{t:r}=(0,tC.$G)();return(0,tf.jsx)(nH.ZP,{type:"primary",size:"large",onClick:t,className:c2()["landing-btn"],children:null!=n?n:r("digital-report:view-report","View report")})},c5=e=>{let{url:t,className:n}=e;return(0,tf.jsx)(nD,{src:t,className:tw()(n,"mb-4 max-h-[104px] max-w-[104px]")})},c6=e=>{let{title:t,message:n,detailsUpdatedAt:r,owner:o,company:i,logoUrl:a,onViewReport:s=()=>{},onDoNotShowAgain:l=()=>{},callToAction:c}=e,{t:u}=(0,tC.$G)();return(0,tf.jsxs)(tf.Fragment,{children:[(0,tf.jsx)(c5,{className:"mx-auto",url:a}),(0,tf.jsx)("div",{className:"mx-6 mb-4 text-center text-lg font-semibold",children:t}),(0,tf.jsx)("div",{className:"mb-2 grid gap-y-1 whitespace-pre-wrap",children:n}),(0,tf.jsx)(cK,{className:"mt-2 block",detailsUpdatedAt:r}),(0,tf.jsx)("div",{className:"mt-2",children:(0,tf.jsxs)(tC.cC,{i18nKey:"digital-report:best-regards",children:["Best regards,",(0,tf.jsx)("br",{}),{agentName:null==o?void 0:o.name}]})}),(0,tf.jsx)("div",{className:"mt-4 text-center",children:(0,tf.jsx)(c4,{onClick:s,callToAction:c})}),(0,tf.jsx)("div",{className:"xs:text-center mt-4",children:(0,tf.jsx)(cG.Z,{onChange:l,children:u("digital-report:do-not-show-again","Do not show this message again")})}),(0,tf.jsx)("div",{className:tw()(c2()["landing-footer--base"],"-mx-6 -mb-6 mt-6 p-6"),children:(0,tf.jsx)(cR,{company:i,user:o})})]})};var c8={src:"/_next/static/media/bg.d99965d1.png"};let c7=e=>{let{className:t,url:n}=e;return(0,tf.jsx)("div",{className:tw()(c2()["landing-asset"],t,"relative overflow-hidden after:block after:pt-[62.5%] after:content-['']"),children:(0,tf.jsx)("div",{className:tw()("absolute h-full w-full bg-center",{"bg-cover bg-no-repeat":n}),style:{backgroundImage:"url(".concat(null!=n?n:c8.src,")")}})})},c9=e=>{let{owner:t,company:n,title:r,message:o,logoUrl:i,onViewReport:a}=e,{name:s,jobTitle:l,email:c,phone:u,avatar:d}=null!=t?t:{},{name:f,logo:p,website:h,imageUrl:m,viewReportCallToAction:g}=null!=n?n:{};return(0,tf.jsxs)("div",{className:tw()(c2()["landing-body"],"flex min-h-full w-full flex-col"),children:[(0,tf.jsx)("div",{className:"flex flex-grow lg:items-center",children:(0,tf.jsxs)("div",{className:"flex flex-1 flex-col px-4 pb-10 pt-8 sm:px-10 sm:pt-16 md:px-11 md:py-16 lg:flex-row xl:py-20",children:[(0,tf.jsx)("div",{className:"pb-10 lg:order-last lg:-mr-11",children:(0,tf.jsx)(c7,{className:"xxl:w-[800px] w-full md:w-3/4 lg:w-[480px] xl:w-[640px]",url:m})}),(0,tf.jsxs)("div",{className:"flex-1 lg:pr-20",children:[(0,tf.jsx)(c5,{url:i}),(0,tf.jsx)("div",{className:"pb-6",children:(0,tf.jsx)(c3,{title:r})}),(0,tf.jsx)("div",{className:"pb-10 text-base md:pb-14",children:(0,tf.jsx)(c0,{message:o})}),(0,tf.jsx)("div",{className:"md:w-max",children:(0,tf.jsx)(c4,{onClick:a,callToAction:g})})]})]})}),(0,tf.jsxs)("div",{className:tw()(c2()["landing-footer"],"flex flex-col gap-16 p-10 sm:gap-12 md:flex-row md:justify-between"),children:[(0,tf.jsxs)("div",{className:"xs:flex-row flex flex-col gap-4 lg:gap-6",children:[(0,tf.jsx)(cJ,{logo:p}),(0,tf.jsx)(cQ,{name:f,website:h})]}),(0,tf.jsxs)("div",{className:"xs:flex-row xxl:w-[800px] flex flex-col gap-4 lg:w-[480px] lg:gap-6 lg:pl-10 xl:w-[640px]",children:[(0,tf.jsx)(cY,{avatar:d}),(0,tf.jsx)(cX,{name:s,jobTitle:l,email:c,phone:u})]})]})]})};function ue(e){if(!e)return!1;try{return new URL(e),!0}catch(e){return!1}}let ut=e=>{let{src:t}=e;return t&&ue(t)?(0,tf.jsx)("iframe",{src:t,allowFullScreen:!0,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",className:"absolute h-full w-full"}):(0,tf.jsx)("div",{className:"absolute h-full w-full",style:{backgroundImage:"url(".concat(c8.src,")")}})},un=e=>{let{className:t,src:n}=e;return(0,tf.jsx)("div",{className:tw()(c2()["landing-asset"],t,"relative overflow-hidden after:block after:pt-[62.5%] after:content-['']"),children:(0,tf.jsx)(ut,{src:n})})},ur=e=>{let{owner:t,company:n,title:r,message:o,logoUrl:i,onViewReport:a}=e,{name:s,jobTitle:l,email:c,phone:u,avatar:d}=null!=t?t:{},{name:f,logo:p,website:h,videoUrl:m,viewReportCallToAction:g}=null!=n?n:{};return(0,tf.jsxs)("div",{className:tw()(c2()["landing-body"],"flex min-h-full w-full flex-col"),children:[(0,tf.jsx)("div",{className:"flex flex-grow lg:items-center",children:(0,tf.jsxs)("div",{className:"flex flex-1 flex-col px-4 pb-10 pt-8 sm:px-10 sm:pt-16 md:px-11 md:py-16 lg:flex-row xl:py-20",children:[(0,tf.jsx)("div",{className:"pb-10",children:(0,tf.jsx)(un,{src:m,className:"xxl:w-[800px] w-full md:w-3/4 lg:w-[480px] xl:w-[640px]"})}),(0,tf.jsxs)("div",{className:"lg:pl-20",children:[(0,tf.jsx)(c5,{url:i}),(0,tf.jsx)("div",{className:"pb-6",children:(0,tf.jsx)(c3,{title:r})}),(0,tf.jsx)("div",{className:"pb-10 text-base md:pb-14",children:(0,tf.jsx)(c0,{message:o})}),(0,tf.jsx)("div",{className:"md:w-max",children:(0,tf.jsx)(c4,{onClick:a,callToAction:g})})]})]})}),(0,tf.jsxs)("div",{className:tw()(c2()["landing-footer"],"flex flex-col gap-16 p-10 sm:gap-12 md:flex-row md:justify-between"),children:[(0,tf.jsxs)("div",{className:"xs:flex-row flex flex-col gap-4 lg:gap-6",children:[(0,tf.jsx)(cJ,{logo:p}),(0,tf.jsx)(cQ,{name:f,website:h})]}),(0,tf.jsxs)("div",{className:"xs:flex-row xxl:w-[800px] flex flex-col gap-4 lg:w-[480px] lg:gap-6 lg:pl-10 xl:w-[640px]",children:[(0,tf.jsx)(cY,{avatar:d}),(0,tf.jsx)(cX,{name:s,jobTitle:l,email:c,phone:u})]})]})]})},uo=e=>{let{className:t,url:n}=e;return(0,tf.jsx)("div",{className:tw()(c2()["landing-asset"],t,"relative overflow-hidden after:block after:pt-[62.5%] after:content-['']"),children:(0,tf.jsx)("div",{className:tw()("absolute h-full w-full bg-center",{"bg-cover bg-no-repeat":n}),style:{backgroundImage:"url(".concat(null!=n?n:c8.src,")")}})})},ui=e=>{let{owner:t,company:n,title:r,message:o,logoUrl:i,onViewReport:a}=e,{name:s,jobTitle:l,email:c,phone:u,avatar:d}=null!=t?t:{},{logo:f,name:p,website:h,backgroundUrl:m,viewReportCallToAction:g}=null!=n?n:{};return(0,tf.jsxs)("div",{className:tw()(c2()["landing-body"],"flex min-h-full w-full flex-col xl:flex-row"),children:[(0,tf.jsxs)("div",{className:"flex flex-grow",children:[(0,tf.jsxs)("div",{className:"flex-1 px-4 py-10 sm:px-10 md:px-11 md:py-16 lg:pr-20 xl:py-32",children:[(0,tf.jsx)(c5,{url:i}),(0,tf.jsx)("div",{className:"pb-6 lg:w-3/4",children:(0,tf.jsx)(c3,{title:r})}),(0,tf.jsx)("div",{className:"pb-10 text-base sm:pb-16 lg:w-3/4 xl:pb-36",children:(0,tf.jsx)(c0,{message:o})}),(0,tf.jsx)("div",{className:"md:w-max",children:(0,tf.jsx)(c4,{onClick:a,callToAction:g})})]}),(0,tf.jsx)(uo,{className:"hidden w-64 md:block xl:w-80",url:m})]}),(0,tf.jsxs)("div",{className:tw()(c2()["landing-footer"],"flex flex-col gap-16 p-10 sm:gap-12 md:flex-row md:justify-between xl:order-first xl:w-80 xl:flex-col xl:justify-start xl:gap-20 xl:pt-32"),children:[(0,tf.jsxs)("div",{className:"xs:flex-row flex flex-col gap-4 lg:gap-6 xl:!flex-col",children:[(0,tf.jsx)(cJ,{logo:f}),(0,tf.jsx)(cQ,{name:p,website:h})]}),(0,tf.jsxs)("div",{className:"xs:flex-row flex flex-col gap-4 lg:gap-6 xl:!flex-col",children:[(0,tf.jsx)(cY,{avatar:d}),(0,tf.jsx)(cX,{name:s,jobTitle:l,email:c,phone:u})]})]}),(0,tf.jsx)(uo,{url:m,className:"h-[800px] sm:h-[400px] md:hidden"})]})},ua=()=>null;ua.Base=c6,ua.Horizontal=c9,ua.HorizontalVideo=ur,ua.Vertical=ui;let us=e=>{let{visible:t}=e,{t:n}=(0,tC.$G)();return t?(0,tf.jsx)(iM.Z,{title:n("agent.admin-only.tooltip","Only admins have the rights to edit this section"),children:(0,tf.jsx)(th.Z,{color:"red",children:n("agent.admin-only.label","Admin-only")})}):null},ul=e=>{let{loading:t}=e,{t:n}=(0,tC.$G)();return(0,tf.jsx)(nH.ZP,{htmlType:"submit",type:"primary",loading:t,children:n("save","Save")})};var uc=n(50663),uu=n.n(uc);function ud(e){return(null==e?void 0:e.__typename)==="MarketingContent"}let uf=(0,tp.createContext)({onSubmit:Promise.resolve,onTemplateSubmit:Promise.resolve,onTemplateRemove:Promise.resolve,disabled:!1,agent:{marketingContent:[],templates:[]}});function up(){let e=(0,tp.useContext)(uf);if(!e)throw Error("PdfBranding.* component must be rendered as child of PdfBranding component");return e}let uh=e=>{let{children:t}=e,[n]=cp.Z.useForm(),{agent:r,onSubmit:o,disabled:i}=up(),{bulkUpload:a,createPath:s}=(0,sT.FL)(),l=(0,tp.useMemo)(()=>{let e={marketingContent:[],closingSlides:[],frontCovers:[]};return(null==r?void 0:r.marketingContent)?r.marketingContent.reduce((e,t)=>{let{type:n,template:r,style:o,...i}=t;switch(n){case tg.Rz.Closing:e.closingSlides.push({...i,type:n});break;case tg.Rz.Cover:var a;e.frontCovers.push({...i,type:n,templateId:null==r?void 0:r.id,style:null!==(a=null==r?void 0:r.style)&&void 0!==a?a:o});break;case tg.Rz.Picture:e.marketingContent.push({...i,type:n})}return e},e):e},[null==r?void 0:r.marketingContent]);(0,tp.useEffect)(()=>{n.resetFields()},[n,l]);let c=async e=>{var t;let{marketingContent:n=[],closingSlides:r=[],frontCovers:i=[]}=e,c=[...i,...n,...r],[u,d]=uu()(c,e=>ud(e)),f=await a(()=>s("marketingContent"),d);await o({marketingContent:{create:f.map(e=>({imageKey:e.imageKey,type:e.data.type,name:e.data.name})),update:u.map(e=>{let{id:t,type:n,name:r}=e;return{id:t,type:n,name:r}}),delete:null!==(t=(0,tv.A6)([...l.frontCovers,...l.marketingContent,...l.closingSlides],c))&&void 0!==t?t:[]}})};return(0,tf.jsx)(cp.Z,{form:n,initialValues:l,onFinish:c,layout:"vertical",disabled:i,children:t})};(function(e){e.Custom="CUSTOM",e.Predefined="PREDEFINED"})(tl||(tl={})),function(e){e.CREATE="create",e.EDIT="edit"}(tc||(tc={}));let um=(0,iY.fX)([tc.CREATE,tc.EDIT]),ug=()=>(0,sT.Kx)({form:um,frontCoverId:iY.Zp,templateId:iY.Zp});var uv=n(77045),uy=n(36008),ub=n(52334),uw=n(26478);let uS=e=>{let{coverUrl:t,logoUrl:n,title:r,subtitle:o,name:i,style:a}=e,{content:s,title:l,subtitle:c,name:u,date:d,logo:f,footer:p}=null!=a?a:{};return(0,tf.jsxs)("div",{className:"relative mx-auto my-0 flex break-before-page flex-col overflow-hidden bg-white p-12 leading-[1.3]",style:{width:uw._j,height:uw.T2},children:[(0,tf.jsx)(nD,{src:t,className:"absolute bottom-0 left-0 right-0 top-0 z-0 object-cover",width:uw._j,height:uw.T2,alt:r}),(0,tf.jsxs)("div",{style:s,className:"z-1",children:[n&&(0,tf.jsx)("img",{style:f,src:n,alt:""}),l&&(0,tf.jsx)("span",{style:l,children:r})," ",c&&(0,tf.jsxs)("span",{style:c,children:[o,": ",(0,tf.jsx)("span",{style:u,children:i})]}),d&&(0,tf.jsxs)("div",{children:[(0,tf.jsx)("span",{style:null==d?void 0:d.key,children:"Date: "}),(0,tf.jsx)("span",{style:null==d?void 0:d.value,children:(0,tv.cz)(new Date().toISOString(),"MMMM YYYY")})]}),p&&(0,tf.jsx)("div",{style:p,children:null==p?void 0:p.content})]})]})},ux=e=>{let{name:t,onRemoved:n=cm()}=e,{t:r}=(0,tC.$G)(),o=cp.Z.useFormInstance(),[,i]=ug(),{agent:a}=up(),s=(0,tp.useCallback)(e=>{i({form:tc.EDIT,frontCoverId:e})},[]),l=(0,tp.useCallback)(()=>{i({form:tc.CREATE})},[]);return(0,tf.jsx)(cp.Z.List,{name:t,children:(e,i)=>{let{remove:c}=i;return(0,tf.jsxs)(tf.Fragment,{children:[e.map(e=>{var i,l,u,d,f,p;let h=o.getFieldValue([t,e.name]),m=(null===(l=h.imageUrl)||void 0===l?void 0:null===(i=l.xhr)||void 0===i?void 0:i.url)?null===(d=h.imageUrl)||void 0===d?void 0:null===(u=d.xhr)||void 0===u?void 0:u.url:null!==(p=h.imageUrl)&&void 0!==p?p:"",g=null==a?void 0:null===(f=a.templates)||void 0===f?void 0:f.find(e=>{let{id:t}=e;return t===h.templateId});return(0,tf.jsxs)(tT.Z,{gutter:16,className:"mb-4",children:[(0,tf.jsx)(nw.Z,{children:(0,tf.jsx)(cA,{scale:.325,width:350,height:257,children:(0,tf.jsx)(uS,{title:"Opportunity name",subtitle:"Prepared by:",name:"John Doe",coverUrl:m,style:h.style,logoUrl:null==g?void 0:g.logoUrl})})}),(0,tf.jsx)(nw.Z,{children:(0,tf.jsx)(cp.Z.Item,{label:r("name","Name"),name:[e.name,"name"],rules:[{required:!0}],children:(0,tf.jsx)(cv.default,{})})}),(0,tf.jsx)(nw.Z,{children:(0,tf.jsx)(cp.Z.Item,{label:" ",children:(0,tf.jsxs)(ub.Z,{children:[(0,tf.jsx)(nH.ZP,{icon:(0,tf.jsx)(uv.Z,{}),onClick:()=>s(h.id)}),(0,tf.jsx)(ca.Z,{title:r("front-cover.delete-front-cover.title","Delete front cover"),description:r("front-cover.delete-front-cover.message","Are you sure you want to delete this front cover?"),onConfirm:()=>{n(),c(e.name)},children:(0,tf.jsx)(nH.ZP,{icon:(0,tf.jsx)(ci.Z,{}),danger:!0})})]})})})]},e.key)}),(0,tf.jsx)(nH.ZP,{icon:(0,tf.jsx)(uy.Z,{}),onClick:l,children:r("front-cover.add-front-cover","Add front cover")})]})}})};var uE=n(4452);let uC=(e,t)=>()=>e.isFieldsTouched()?iP.Z.confirm({title:tC.ZP.t("form.confirm.title","Do you want to discard the changes?"),icon:(0,tf.jsx)(uE.Z,{}),content:tC.ZP.t("form.confirm.content","You are about to leave the editor. There are unsaved changes, do you want to discard them and leave?"),okText:tC.ZP.t("discard","Discard"),onOk:t}):t();var u_=n(66344);let uk=e=>{let{title:t,open:n,onClose:r,children:o}=e;return(0,tf.jsx)(u_.Z,{title:t,width:1024,closable:!1,onClose:r,open:n,destroyOnClose:!0,children:o})};var uO=n(90011),uA=n(86474),uI=n.n(uA),uP=n(57383),uT=n.n(uP);class uR{static toFormValues(e){if(e)return Object.entries(e).reduce((e,t)=>{let[n,r]=t;return uR.KNOWN_CSS_PROPERTIES.includes(n)?e[n]=r:e.css.push({key:n,value:r}),e},{css:[]})}static toJSON(e){if(!e)return;let{css:t=[],...n}=e,r=uT()({...t.reduce((e,t)=>({...e,[t.key]:t.value}),{}),...n},e=>!uI()(e));return Object.keys(r).length>0?r:void 0}}uR.KNOWN_CSS_PROPERTIES=["fontFamily","fontWeight","fontSize","color","textAlign","top","right","bottom","left"];let uM=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if((null==e?void 0:e.type)===tl.Custom)return null==e?void 0:e.name;let n=t.filter(e=>e.type===tl.Custom);return"Custom template #".concat(n.length+1)};var uN=n(17303),uj=n(84005),uD=n(17256),uL=n(89309),uB=n.n(uL);let uZ=new Map(Object.entries(JSON.parse('{"align-content":{"moz":false,"webkit":true,"syntax":"(stretch)|(center)|(flex-start)|(flex-end)|(space-between)|(space-around)|(initial)|(inherit)","initial":"stretch","values":["stretch","center","flex-start","flex-end","space-between","space-around","initial","inherit"]},"align-items":{"moz":false,"webkit":true,"syntax":"(stretch)|(center)|(flex-start)|(flex-end)|(baseline)|(initial)|(inherit)","initial":"stretch","values":["stretch","center","flex-start","flex-end","baseline","initial","inherit"]},"align-self":{"moz":false,"webkit":true,"syntax":"(auto)|(stretch)|(center)|(flex-start)|(flex-end)|(baseline)|(initial)|(inherit)","initial":"auto","values":["auto","stretch","center","flex-start","flex-end","baseline","initial","inherit"]},"background":{"moz":false,"webkit":false,"syntax":"(([prop:background-color]) ([prop:background-image]) ((([prop:background-position])|([prop:background-size]))) ([prop:background-repeat]) ([prop:background-origin]) ([prop:background-clip]) ([prop:background-attachment]))|(initial)|(inherit)","initial":"see individual properties","values":["[prop:background-color]","[prop:background-image]","[prop:background-position]","[prop:background-size]","[prop:background-repeat]","[prop:background-origin]","[prop:background-clip]","[prop:background-attachment]","initial","inherit"]},"background-attachment":{"moz":false,"webkit":false,"syntax":"(scroll)|(fixed)|(local)|(initial)|(inherit)","initial":"scroll","values":["scroll","fixed","local","initial","inherit"]},"background-blend-mode":{"moz":false,"webkit":false,"syntax":"(normal)|(multiply)|(screen)|(overlay)|(darken)|(lighten)|(color-dodge)|(saturation)|([color])|(luminosity)","initial":"normal","values":["normal","multiply","screen","overlay","darken","lighten","color-dodge","saturation","[color]","luminosity"]},"background-clip":{"moz":false,"webkit":false,"syntax":"(border-box)|(padding-box)|(content-box)|(initial)|(inherit)","initial":"border-box","values":["border-box","padding-box","content-box","initial","inherit"]},"background-color":{"moz":false,"webkit":false,"syntax":"([color])|(transparent)|(initial)|(inherit)","initial":"transparent","values":["[color]","transparent","initial","inherit"]},"background-image":{"moz":false,"webkit":false,"syntax":"([fn:url])|([fn:linear-gradient])|([fn:radial-gradient])|([fn:repeating-linear-gradient])|([fn:repeating-radial-gradient])|(none)|(initial)|(inherit)","initial":"none","values":["[fn:url]","none","[fn:linear-gradient]","[fn:radial-gradient]","[fn:repeating-linear-gradient]","[fn:repeating-radial-gradient]","initial","inherit"]},"background-origin":{"moz":false,"webkit":false,"syntax":"(padding-box)|(border-box)|(content-box)|(initial)|(inherit)","initial":"padding-box","values":["padding-box","border-box","content-box","initial","inherit"]},"background-position":{"moz":false,"webkit":false,"syntax":"(left top)|(left center)|(left bottom)|(right top)|(right center)|(right bottom)|(center top)|(center center)|(center bottom)|([percent]){2,2}|([length]){2,2}|(initial)|(inherit)","initial":"0% 0%","values":["left top","left center","left bottom","right top","right center","right bottom","center top","center center","center bottom","([percent]){2,2}","([length]){2,2}","initial","inherit"]},"background-repeat":{"moz":false,"webkit":false,"syntax":"(repeat)|(repeat-x)|(repeat-y)|(no-repeat)|(initial)|(inherit)","initial":"repeat","values":["repeat","repeat-x","repeat-y","no-repeat","space","round","initial","inherit"]},"background-size":{"moz":true,"webkit":true,"syntax":"(auto)|([length])|(cover)|(contain)|(initial)|(inherit)","initial":"auto","values":["auto","[length]","percentage","cover","contain","initial","inherit"]},"border":{"moz":false,"webkit":false,"syntax":"(([prop:border-width]) ([prop:border-style]) ([prop:border-color]))|(initial)|(inherit)","initial":"medium none color","values":["[prop:border-width]","[prop:border-style]","[prop:border-color]","initial","inherit"]},"border-bottom":{"moz":false,"webkit":false,"syntax":"([prop:border-bottom-width]) ([prop:border-bottom-style]) ([prop:border-bottom-color])|(initial)|(inherit)","initial":"medium none color","values":["[prop:border-bottom-width]","[prop:border-bottom-style]","[prop:border-bottom-color]","initial","inherit"]},"border-bottom-color":{"moz":false,"webkit":false,"syntax":"([color])|(transparent)|(initial)|(inherit)","initial":"The current color of the element","values":["[color]","transparent","initial","inherit"]},"border-bottom-left-radius":{"moz":true,"webkit":true,"syntax":"(([length])|([percent])){1,2}|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"border-bottom-right-radius":{"moz":true,"webkit":true,"syntax":"(([length])|([percent])){1,2}|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"border-bottom-style":{"moz":false,"webkit":false,"syntax":"(none)|(hidden)|(dotted)|(dashed)|(solid)|(double)|(groove)|(ridge)|(inset)|(outset)|(initial)|(inherit)","initial":"none","values":["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-bottom-width":{"moz":false,"webkit":false,"syntax":"(medium)|(thin)|(thick)|([length])|(initial)|(inherit)","initial":"medium","values":["medium","thin","thick","[length]","initial","inherit"]},"border-collapse":{"moz":false,"webkit":false,"syntax":"(separate)|(collapse)|(initial)|(inherit)","initial":"separate","values":["separate","collapse","initial","inherit"]},"border-color":{"moz":false,"webkit":false,"syntax":"([color])|(transparent)|(initial)|(inherit)","initial":"The current color of the element","values":["[color]","transparent","initial","inherit"]},"border-left":{"moz":false,"webkit":false,"syntax":"(([prop:border-left-width]) ([prop:border-left-style]) ([prop:border-left-color]))|(initial)|(inherit)","initial":"medium none color","values":["[prop:border-left-width]","[prop:border-left-style]","[prop:border-left-color]","initial","inherit"]},"border-left-color":{"moz":false,"webkit":false,"syntax":"([color])|(transparent)|(initial)|(inherit)","initial":"The current color of the element","values":["[color]","transparent","initial","inherit"]},"border-left-style":{"moz":false,"webkit":false,"syntax":"(none)|(hidden)|(dotted)|(dashed)|(solid)|(double)|(groove)|(ridge)|(inset)|(outset)|(initial)|(inherit)","initial":"none","values":["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-left-width":{"moz":false,"webkit":false,"syntax":"(medium)|(thin)|(thick)|([length])|(initial)|(inherit)","initial":"medium","values":["medium","thin","thick","[length]","initial","inherit"]},"border-radius":{"moz":true,"webkit":true,"syntax":"(([length])|[percent]){1:4}|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"border-right":{"moz":false,"webkit":false,"syntax":"(([prop:border-width]) ([prop:border-style]) ([prop:border-color]))|(initial)|(inherit)","initial":"medium none color","values":["[prop:border-right-width]","[prop:border-right-style]","[prop:border-right-color]","initial","inherit"]},"border-right-color":{"moz":false,"webkit":false,"syntax":"([color])|(transparent)|(initial)|(inherit)","initial":"black","values":["[color]","transparent","initial","inherit"]},"border-right-style":{"moz":false,"webkit":false,"syntax":"(none)|(hidden)|(dotted)|(dashed)|(solid)|(double)|(groove)|(ridge)|(inset)|(outset)|(initial)|(inherit)","initial":"none","values":["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-right-width":{"moz":false,"webkit":false,"syntax":"(medium)|(thin)|(thick)|([length])|(initial)|(inherit)","initial":"medium","values":["medium","thin","thick","[length]","initial","inherit"]},"border-spacing":{"moz":false,"webkit":false,"syntax":"([length]){1,2}|(initial)|(inherit)","initial":"2px","values":["[length]","initial","inherit"]},"border-style":{"moz":false,"webkit":false,"syntax":"(none)|(hidden)|(dotted)|(dashed)|(solid)|(double)|(groove)|(ridge)|(inset)|(outset)|(initial)|(inherit)","initial":"none","values":["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-top":{"moz":false,"webkit":false,"syntax":"(([prop:border-left-width]) ([prop:border-left-style]) ([prop:border-left-color]))|(initial)|(inherit)","initial":"medium none color","values":["[prop:border-top-width]","[prop:border-top-style]","[prop:border-top-color]","initial","inherit"]},"border-top-color":{"moz":false,"webkit":false,"syntax":"([color])|(transparent)|(initial)|(inherit)","initial":"The current color of the element","values":["[color]","transparent","initial","inherit"]},"border-top-left-radius":{"moz":true,"webkit":true,"syntax":"(([length])|[percent]){1,2}|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"border-top-right-radius":{"moz":true,"webkit":true,"syntax":"(([length])|[percent]){1,2}|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"border-top-style":{"moz":false,"webkit":false,"syntax":"(none)|(hidden)|(dotted)|(dashed)|(solid)|(double)|(groove)|(ridge)|(inset)|(outset)|(initial)|(inherit)","initial":"none","values":["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-top-width":{"moz":false,"webkit":false,"syntax":"(medium)|(thin)|(thick)|([length])|(initial)|(inherit)","initial":"medium","values":["medium","thin","thick","[length]","initial","inherit"]},"border-width":{"moz":false,"webkit":false,"syntax":"(medium)|(thin)|(thick)|([length])|(initial)|(inherit)","initial":"medium","values":["medium","thin","thick","[length]","initial","inherit"]},"bottom":{"moz":false,"webkit":false,"syntax":"(auto)|([length])|(initial)|(inherit)","initial":"auto","values":["auto","[length]","[percent]","initial","inherit"]},"box-shadow":{"moz":true,"webkit":true,"syntax":"(none)|(h-offset) v-offset blur spread color |(inset)|(initial)|(inherit)","initial":"none","values":["none","h-offset","v-offset","blur","spread","[color]","inset","initial","inherit"]},"box-sizing":{"moz":true,"webkit":true,"syntax":"(content-box)|(border-box)|(initial)|(inherit)","initial":"content-box","values":["content-box","border-box","initial","inherit"]},"clear":{"moz":false,"webkit":false,"syntax":"(none)|(left)|(right)|(both)|(initial)|(inherit)","initial":"none","values":["none","left","right","both","initial","inherit"]},"color":{"moz":false,"webkit":false,"syntax":"([color])|(initial)|(inherit)","initial":"not specified","values":["[color]","initial","inherit"]},"content":{"moz":false,"webkit":false,"syntax":"(normal)|(none)|(counter)|(attr)|(string)|(open-quote)|(close-quote)|(no-open-quote)|(no-close-quote)|(url)|(initial)|(inherit)","initial":"normal","values":["normal","none","counter","attr(attribute)","string","open-quote","close-quote","no-open-quote","no-close-quote","url(url)","initial","inherit"]},"cursor":{"moz":false,"webkit":false,"syntax":"(alias)|(all-scroll)|(auto)|(cell)|(context-menu)|(col-resize)|(copy)|(crosshair)|(default)|(e-resize)|(ew-resize)|(grab)|(grabbing)|(help)|(move)|(n-resize)|(ne-resize)|(nesw-resize)|(ns-resize)|(nw-resize)|(nwse-resize)|(no-drop)|(none)|(not-allowed)|(pointer)|(progress)|(row-resize)|(s-resize)|(se-resize)|(sw-resize)|(text)|(URL)|(vertical-text)|(w-resize)|(wait)|(zoom-in)|(zoom-out)|(initial)|(inherit)","initial":"auto","values":["alias","all-scroll","auto","cell","context-menu","col-resize","copy","crosshair","default","e-resize","ew-resize","grab","grabbing","help","move","n-resize","ne-resize","nesw-resize","ns-resize","nw-resize","nwse-resize","no-drop","none","not-allowed","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","URL","vertical-text","w-resize","wait","zoom-in","zoom-out","initial","inherit"]},"direction":{"moz":false,"webkit":false,"syntax":"(ltr)|(rtl)|(initial)|(inherit)","initial":"ltr","values":["ltr","rtl","initial","inherit"]},"display":{"moz":false,"webkit":false,"syntax":"(inline)|(block)|(contents)|(flex)|(grid)|(inline-block)|(inline-flex)|(inline-grid)|(inline-table)|(list-item)|(run-in)|(table)|(table-caption)|(table-column-group)|(table-header-group)|(table-footer-group)|(table-row-group)|(table-cell)|(table-column)|(table-row)|(none)|(initial)|(inherit)","initial":"","values":["inline","block","contents","flex","grid","inline-block","inline-flex","inline-grid","inline-table","list-item","run-in","table","table-caption","table-column-group","table-header-group","table-footer-group","table-row-group","table-cell","table-column","table-row","none","initial","inherit"]},"flex":{"moz":true,"webkit":true,"syntax":"(([prop:flex-grow]) ([prop:flex-shrink]) ([prop:flex-basis]))|(auto)|(initial)|(inherit)","initial":"0 1 auto","values":["[prop:flex-grow]","[prop:flex-shrink]","[prop:flex-basis]","auto","initial","none","inherit"]},"flex-basis":{"moz":true,"webkit":true,"syntax":"([number])|(auto)|(initial)|(inherit)","initial":"auto","values":["[number]","auto","initial","inherit"]},"flex-direction":{"moz":true,"webkit":true,"syntax":"(row)|(row-reverse)|(column)|(column-reverse)|(initial)|(inherit)","initial":"row","values":["row","row-reverse","column","column-reverse","initial","inherit"]},"flex-flow":{"moz":true,"webkit":true,"syntax":"flex-direction (flex-wrap)|(initial)|(inherit)","initial":"row nowrap","values":["flex-direction","flex-wrap","initial","inherit"]},"flex-grow":{"moz":true,"webkit":true,"syntax":"([number])|(initial)|(inherit)","initial":"0","values":["[number]","initial","inherit"]},"flex-shrink":{"moz":true,"webkit":true,"syntax":"([number])|(initial)|(inherit)","initial":"1","values":["[number]","initial","inherit"]},"flex-wrap":{"moz":true,"webkit":true,"syntax":"(nowrap)|(wrap)|(wrap-reverse)|(initial)|(inherit)","initial":"nowrap","values":["nowrap","wrap","wrap-reverse","initial","inherit"]},"float":{"moz":false,"webkit":false,"syntax":"(none)|(left)|(right)|(initial)|(inherit)","initial":"none","values":["none","left","right","initial","inherit"]},"font":{"moz":false,"webkit":false,"syntax":"font-style font-variant font-weight font-size/line-height (font-family)|(caption)|(icon)|(menu)|(message-box)|(small-caption)|(status-bar)|(initial)|(inherit)","initial":"The default value of the font properties","values":["[prop:font-style]","[prop:font-variant]","[prop:font-weight]","[prop:font-size/line-height]","[prop:font-family]","caption","icon","menu","message-box","small-caption","status-bar","initial","inherit"]},"font-family":{"moz":false,"webkit":false,"syntax":"([family-name])|([generic-family])|(initial)|(inherit)","initial":"depends on the browser","values":["[family-name]","[generic-family]","initial","inherit"]},"font-kerning":{"moz":false,"webkit":true,"syntax":"(auto)|(normal)|(none)","initial":"auto","values":["auto","normal","none"]},"font-size":{"moz":false,"webkit":false,"syntax":"([length])|([percent])|(medium)|(xx-small)|(x-small)|(small)|(large)|(x-large)|(xx-large)|(smaller)|(larger)|([length])|(initial)|(inherit)","initial":"medium","values":["medium","xx-small","x-small","small","large","x-large","xx-large","smaller","larger","[length]","[percent]","initial","inherit"]},"font-size-adjust":{"moz":false,"webkit":false,"syntax":"([number])|(none)|(initial)|(inherit)","initial":"none","values":["[number]","none","initial","inherit"]},"font-stretch":{"moz":false,"webkit":false,"syntax":"(ultra-condensed)|(extra-condensed)|(condensed)|(semi-condensed)|(normal)|(semi-expanded)|(expanded)|(extra-expanded)|(ultra-expanded)|(initial)|(inherit)","initial":"normal","values":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded","initial","inherit"]},"font-style":{"moz":false,"webkit":false,"syntax":"(normal)|(italic)|(oblique)|(initial)|(inherit)","initial":"normal","values":["normal","italic","oblique","initial","inherit"]},"font-variant":{"moz":false,"webkit":false,"syntax":"(normal)|(small-caps)|(initial)|(inherit)","initial":"normal","values":["normal","small-caps","initial","inherit"]},"font-weight":{"moz":false,"webkit":false,"syntax":"(normal)|(bold)|(bolder)|(lighter)|([number])|(initial)|(inherit)","initial":"normal","values":["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900","initial","inherit"]},"grid":{"moz":false,"webkit":false,"syntax":"(none)|(grid-template-rows) / (grid-template-columns)|(grid-template-areas)|(grid-template-rows) / [grid-auto-flow] (grid-auto-columns)|[grid-auto-flow] grid-auto-rows / (grid-template-columns)|(initial)|(inherit)","initial":"none none none auto auto row","values":["none","grid-template rows / grid-template-columns","grid-template-areas","grid-template rows / grid-auto-columns","grid-auto-rows / grid-template-columns","grid-template rows / grid-auto-flow grid-auto-columns","grid-auto flow grid-auto-rows / grid-template-columns","initial","inherit"]},"grid-area":{"moz":false,"webkit":false,"syntax":"(([prop:grid-row-start]) / ([prop:grid-column-start]) / ([prop:grid-row-end]) / ([prop:grid-row-end]))|([label])","initial":"auto / auto / auto / auto","values":["[prop:grid-row-start]","[prop:grid-column-start]","[prop:grid-row-end]","[prop:grid-column-end]","[label]"]},"grid-auto-columns":{"moz":false,"webkit":false,"syntax":"(auto)|(max-content)|(min-content)|([length])|([percent])|([fn:fit-content])|([fn:minmax])","initial":"auto","values":["auto","[fn:fit-content]","max-content","min-content","[fn:minmax]","[length]","[percent]"]},"grid-auto-flow":{"moz":false,"webkit":false,"syntax":"(row)|(column)|(dense)|(row dense)|(column dense)","initial":"row","values":["row","column","dense","row dense","column dense"]},"grid-auto-rows":{"moz":false,"webkit":false,"syntax":"(auto)|(max-content)|(min-content)|([length])","initial":"auto","values":["auto","max-content","min-content","[length]"]},"grid-column":{"moz":false,"webkit":false,"syntax":"grid-column-start / grid-column-end","initial":"auto / auto","values":["[prop:grid-column-start]","[prop:grid-column-end]"]},"grid-column-end":{"moz":false,"webkit":false,"syntax":"(auto)|((span) ([number]))|(column-line)","initial":"auto","values":["auto","(span) ([number])","column-line"]},"grid-column-gap":{"moz":false,"webkit":false,"syntax":"[length]","initial":"0","values":["[length]"]},"grid-column-start":{"moz":false,"webkit":false,"syntax":"(auto)|((span) ([number]))|(column-line)","initial":"auto","values":["auto","(span) ([number])","column-line"]},"grid-gap":{"moz":false,"webkit":false,"syntax":"([prop:grid-row-gap]) ([prop:grid-column-gap])","initial":"0 0","values":["[prop:grid-row-gap]","[prop:grid-column-gap]"]},"grid-row":{"moz":false,"webkit":false,"syntax":"([prop:grid-row-start]) / ([prop:grid-row-end])","initial":"auto / auto","values":["[prop:grid-row-start]","[prop:grid-row-end]"]},"grid-row-end":{"moz":false,"webkit":false,"syntax":"(auto)|(row-line)|((span) ([number]))|(column-line)","initial":"auto","values":["auto","(span) ([number])","column-line"]},"grid-row-gap":{"moz":false,"webkit":false,"syntax":"[length]","initial":"0","values":["[length]"]},"grid-row-start":{"moz":false,"webkit":false,"syntax":"(auto)|(row-line)","initial":"auto","values":["auto","row-line"]},"grid-template":{"moz":false,"webkit":false,"syntax":"(none)|(grid-template-rows) / (grid-template-columns)|(grid-template-areas)|(initial)|(inherit)","initial":"none none none","values":["none","grid-template rows / grid-template-columns","grid-template-areas","initial","inherit"]},"grid-template-areas":{"moz":false,"webkit":false,"syntax":"(none)|(itemnames)","initial":"none","values":["none","itemnames"]},"grid-template-columns":{"moz":false,"webkit":false,"syntax":"(none)|(auto)|(max-content)|(min-content)|([length])|(initial)|(inherit)","initial":"none","values":["none","auto","max-content","min-content","[length]","initial","inherit"]},"grid-template-rows":{"moz":false,"webkit":false,"syntax":"(none)|(auto)|(max-content)|(min-content)|([length])|(initial)|(inherit)","initial":"none","values":["none","auto","max-content","min-content","[length]"]},"height":{"moz":false,"webkit":false,"syntax":"(auto)|([length])|(initial)|(inherit)","initial":"auto","values":["auto","[length]","[percent]","initial","inherit"]},"justify-content":{"moz":true,"webkit":true,"syntax":"(flex-start)|(flex-end)|(center)|(space-between)|(space-around)|(initial)|(inherit)","initial":"flex-start","values":["flex-start","flex-end","center","space-between","space-around","initial","inherit"]},"left":{"moz":false,"webkit":false,"syntax":"(auto)|([length])|(initial)|(inherit)","initial":"auto","values":["auto","[length]","[percent]","initial","inherit"]},"letter-spacing":{"moz":false,"webkit":false,"syntax":"(normal)|([length])|(initial)|(inherit)","initial":"normal","values":["normal","[length]","initial","inherit"]},"line-height":{"moz":false,"webkit":false,"syntax":"(normal)|([number])|([length])|(initial)|(inherit)","initial":"normal","values":["normal","[number]","[length]","[percent]","initial","inherit"]},"margin":{"moz":false,"webkit":false,"syntax":"(([length])|([percent])){1,4}|(auto)|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","auto","initial","inherit"]},"margin-bottom":{"moz":false,"webkit":false,"syntax":"([length])|([percent])|(auto)|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","auto","initial","inherit"]},"margin-left":{"moz":false,"webkit":false,"syntax":"([length])|([percent])|(auto)|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","auto","initial","inherit"]},"margin-right":{"moz":false,"webkit":false,"syntax":"([length])|([percent])|(auto)|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","auto","initial","inherit"]},"margin-top":{"moz":false,"webkit":false,"syntax":"([length])|(auto)|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","auto","initial","inherit"]},"max-height":{"moz":false,"webkit":false,"syntax":"(none)|([length])|(initial)|(inherit)","initial":"none","values":["none","[length]","[percent]","initial","inherit"]},"max-width":{"moz":false,"webkit":false,"syntax":"(none)|([length])|(initial)|(inherit)","initial":"none","values":["none","[length]","[percent]","initial","inherit"]},"min-height":{"moz":false,"webkit":false,"syntax":"([length])|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"min-width":{"moz":false,"webkit":false,"syntax":"([length])|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"object-fit":{"moz":false,"webkit":false,"syntax":"(fill)|(contain)|(cover)|(scale-down)|(none)|(initial)|(inherit)","initial":"","values":["fill","contain","cover","none","scale-down","initial","inherit"]},"object-position":{"moz":false,"webkit":false,"syntax":"(position)|(initial)|(inherit)","initial":"50% 50%","values":["position","initial","inherit"]},"opacity":{"moz":false,"webkit":false,"syntax":"([number])|(initial)|(inherit)","initial":"1","values":["[number]","initial","inherit"]},"overflow":{"moz":false,"webkit":false,"syntax":"(visible)|(hidden)|(scroll)|(auto)|(initial)|(inherit)","initial":"visible","values":["visible","hidden","scroll","auto","initial","inherit"]},"overflow-x":{"moz":false,"webkit":false,"syntax":"(visible)|(hidden)|(scroll)|(auto)|(initial)|(inherit)","initial":"visible","values":["visible","hidden","scroll","auto","initial","inherit"]},"overflow-y":{"moz":false,"webkit":false,"syntax":"(visible)|(hidden)|(scroll)|(auto)|(initial)|(inherit)","initial":"visible","values":["visible","hidden","scroll","auto","initial","inherit"]},"padding":{"moz":false,"webkit":false,"syntax":"(([length])|([percent])){1,4}|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"padding-bottom":{"moz":false,"webkit":false,"syntax":"([length])|([percent])|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"padding-left":{"moz":false,"webkit":false,"syntax":"([length])|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"padding-right":{"moz":false,"webkit":false,"syntax":"([length])|([percent])|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"padding-top":{"moz":false,"webkit":false,"syntax":"([length])|([percent])|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"pointer-events":{"moz":false,"webkit":false,"syntax":"(auto)|(none)","initial":"auto","values":["auto","none","initial","inherit"]},"position":{"moz":false,"webkit":false,"syntax":"(static)|(absolute)|(fixed)|(relative)|(sticky)|(initial)|(inherit)","initial":"static","values":["static","absolute","fixed","relative","sticky","initial","inherit"]},"quotes":{"moz":false,"webkit":false,"syntax":"(none)|(string)|(initial)|(inherit)","initial":"not specified","values":["none","string string string string","initial","inherit","\\"","\'","‹","›","\xab","\xbb","‘","’","“","”","„"]},"right":{"moz":false,"webkit":false,"syntax":"(auto)|([length])|(initial)|(inherit)","initial":"auto","values":["auto","[length]","[percent]","initial","inherit"]},"table-layout":{"moz":false,"webkit":false,"syntax":"(auto)|(fixed)|(initial)|(inherit)","initial":"auto","values":["auto","fixed","initial","inherit"]},"text-align":{"moz":false,"webkit":false,"syntax":"(left)|(right)|(center)|(justify)|(initial)|(inherit)","initial":"left if direction is ltr, and right if direction is rtl","values":["left","right","center","justify","initial","inherit"]},"text-align-last":{"moz":true,"webkit":false,"syntax":"(auto)|(left)|(right)|(center)|(justify)|(start)|(end)|(initial)|(inherit)","initial":"auto","values":["auto","left","right","center","justify","start","end","initial","inherit"]},"text-decoration":{"moz":false,"webkit":false,"syntax":"(([prop:text-decoration-line]) ([prop:text-decoration-color]) ([prop:text-decoration-style]))|(initial)|(inherit)","initial":"none currentcolor solid","values":["[prop:text-decoration-line]","[prop:text-decoration-color]","[prop:text-decoration-style]","initial","inherit"]},"text-decoration-color":{"moz":true,"webkit":true,"syntax":"([color])|(initial)|(inherit)","initial":"currentColor","values":["[color]","initial","inherit"]},"text-decoration-line":{"moz":true,"webkit":true,"syntax":"(none)|(underline)|(overline)|(line-through)|(initial)|(inherit)","initial":"none","values":["none","underline","overline","line-through","initial","inherit"]},"text-decoration-style":{"moz":true,"webkit":false,"syntax":"(solid)|(double)|(dotted)|(dashed)|(wavy)|(initial)|(inherit)","initial":"solid","values":["solid","double","dotted","dashed","wavy","initial","inherit"]},"text-indent":{"moz":false,"webkit":false,"syntax":"([length])|(initial)|(inherit)","initial":"0","values":["[length]","[percent]","initial","inherit"]},"text-justify":{"moz":false,"webkit":false,"syntax":"(auto)|(inter-word)|(inter-character)|(none)|(initial)|(inherit)","initial":"auto","values":["auto","inter-word","inter-character","none","initial","inherit"]},"text-overflow":{"moz":false,"webkit":false,"syntax":"(clip)|(ellipsis)|(string)|(initial)|(inherit)","initial":"clip","values":["clip","ellipsis","string","initial","inherit"]},"text-shadow":{"moz":false,"webkit":false,"syntax":"h-shadow v-shadow blur-radius ([color])|(none)|(initial)|(inherit)","initial":"none","values":["h-shadow","v-shadow","blur-radius","[color]","none","initial","inherit"]},"text-transform":{"moz":false,"webkit":false,"syntax":"(none)|(capitalize)|(uppercase)|(lowercase)|(initial)|(inherit)","initial":"none","values":["none","capitalize","uppercase","lowercase","initial","inherit"]},"top":{"moz":false,"webkit":false,"syntax":"(auto)|([length])|(initial)|(inherit)","initial":"auto","values":["auto","[length]","[percent]","initial","inherit"]},"vertical-align":{"moz":false,"webkit":false,"syntax":"(baseline)|([length])|(sub)|(super)|(top)|(text-top)|(middle)|(bottom)|(text-bottom)|(initial)|(inherit)","initial":"baseline","values":["baseline","[length]","[percent]","sub","super","top","text-top","middle","bottom","text-bottom","initial","inherit"]},"visibility":{"moz":false,"webkit":false,"syntax":"(visible)|(hidden)|(collapse)|(initial)|(inherit)","initial":"visible","values":["visible","hidden","collapse","initial","inherit"]},"white-space":{"moz":false,"webkit":false,"syntax":"(normal)|(nowrap)|(pre)|(pre-line)|(pre-wrap)|(initial)|(inherit)","initial":"normal","values":["normal","nowrap","pre","pre-line","pre-wrap","initial","inherit"]},"width":{"moz":false,"webkit":false,"syntax":"(auto)|([length])|([percent])|(initial)|(inherit)","initial":"auto","values":["auto","[length]","[percent]","initial","inherit"]},"word-break":{"moz":false,"webkit":false,"syntax":"(normal)|(break-all)|(keep-all)|(break-word)|(initial)|(inherit)","initial":"normal","values":["normal","break-all","keep-all ","break-word","initial","inherit"]},"word-spacing":{"moz":false,"webkit":false,"syntax":"(normal)|([length])|(initial)|(inherit)","initial":"normal","values":["normal","[length]","initial","inherit"]},"word-wrap":{"moz":false,"webkit":false,"syntax":"(normal)|(break-word)|(initial)|(inherit)","initial":"normal","values":["normal","break-word","initial","inherit"]},"writing-mode":{"moz":false,"webkit":false,"syntax":"(horizontal-tb)|(vertical-rl)|(vertical-lr)","initial":"horizontal-tb","values":["horizontal-tb","vertical-rl","vertical-lr"]},"z-index":{"moz":false,"webkit":false,"syntax":"(auto)|([number])|(initial)|(inherit)","initial":"auto","values":["auto","[number]","initial","inherit"]}}')).map(e=>{let[t,n]=e;return[uB()(t),n]})),uF=e=>{let{name:t}=e,{t:n}=(0,tC.$G)();return(0,tf.jsx)(cp.Z.List,{name:t,children:(e,r)=>{let{remove:o,add:i}=r;return(0,tf.jsxs)(cp.Z.Item,{label:n("template-form.custom-css.label","Custom CSS"),children:[e.map(e=>(0,tf.jsxs)(tT.Z,{gutter:8,children:[(0,tf.jsx)(nw.Z,{span:12,children:(0,tf.jsx)(cp.Z.Item,{name:[e.name,"key"],children:(0,tf.jsx)(ty.default,{showSearch:!0,filterOption:(e,t)=>{var n;return(null!==(n=null==t?void 0:t.label)&&void 0!==n?n:"").toLowerCase().includes(e.toLowerCase())},options:Array.from(uZ.entries()).map(e=>{let[t]=e;return{label:t,value:t}})})})}),(0,tf.jsx)(nw.Z,{span:6,children:(0,tf.jsx)(cp.Z.Item,{name:[e.name,"value"],children:(0,tf.jsx)(cv.default,{})})}),(0,tf.jsx)(nw.Z,{span:2,children:(0,tf.jsx)(cp.Z.Item,{dependencies:[[...t,"css",e.name,"key"]],children:n=>{let{getFieldValue:r}=n,o=r([...t,"css",e.name,"key"]),i=uZ.get(o);return i?(0,tf.jsx)(iM.Z,{title:"Possible values: ".concat(i.values.join(", ")),children:(0,tf.jsx)(uD.Z,{className:"cursor-pointer"})}):null}})}),(0,tf.jsx)(nw.Z,{span:4,children:(0,tf.jsx)(nH.ZP,{onClick:()=>o(e.name),icon:(0,tf.jsx)(ci.Z,{}),danger:!0})})]},e.key)),(0,tf.jsx)(nH.ZP,{onClick:()=>i({}),icon:(0,tf.jsx)(uy.Z,{}),children:n("add","Add")})]})}})},uz=["Arial","Courier New","Georgia","Times New Roman","Trebuchet MS","Verdana"],uU=[100,200,300,400,500,600,700,800,900];!function(e){e.FontFamily="fontFamily",e.FontWeight="fontWeight",e.FontSize="fontSize",e.Colour="color",e.TextAlign="textAlign",e.Position="position",e.CustomCss="customCss"}(tu||(tu={}));let uH=e=>{let{title:t,name:n,hiddenInputs:r=[],className:o}=e,{t:i}=(0,tC.$G)(),a=(0,tp.useMemo)(()=>[{key:"fontFamily",cols:12,children:(0,tf.jsx)(cp.Z.Item,{name:[...n,"fontFamily"],label:i("template-form.font.label","Font"),children:(0,tf.jsx)(ty.default,{options:uz.map(e=>({label:(0,tf.jsx)("span",{style:{fontFamily:e},children:e}),value:e}))})})},{key:"fontWeight",cols:12,children:(0,tf.jsx)(cp.Z.Item,{name:[...n,"fontWeight"],label:i("template-form.font-weight.label","Font weight"),children:(0,tf.jsx)(ty.default,{options:uU.map(e=>({label:(0,tf.jsx)("span",{style:{fontWeight:e},children:e}),value:e}))})})},{key:"fontSize",cols:12,children:(0,tf.jsx)(cp.Z.Item,{name:[...n,"fontSize"],label:i("template-form.font-size.label","Font size"),children:(0,tf.jsx)(cv.default,{})})},{key:"color",cols:12,children:(0,tf.jsx)(cp.Z.Item,{name:[...n,"color"],label:i("template-form.text-colour.label","Text colour"),normalize:e=>e.toHexString(),children:(0,tf.jsx)(uj.Z,{showText:!0})})},{key:"textAlign",cols:12,children:(0,tf.jsx)(cp.Z.Item,{name:[...n,"textAlign"],label:i("template-form.text-alignment.label","Text alignment"),children:(0,tf.jsx)(cM.ZP.Group,{optionType:"button",options:[{label:"Left",value:"left"},{label:"Center",value:"center"},{label:"Right",value:"right"}]})})},{key:"position",cols:24,children:(0,tf.jsx)(cp.Z.Item,{label:i("template-form.position.label","Position (Left-Right-Top-Bottom, in px)"),shouldUpdate:!0,children:(0,tf.jsxs)(tT.Z,{gutter:16,children:[(0,tf.jsx)(nw.Z,{span:6,children:(0,tf.jsx)(cp.Z.Item,{name:[...n,"left"],children:(0,tf.jsx)(cv.default,{addonBefore:"L"})})}),(0,tf.jsx)(nw.Z,{span:6,children:(0,tf.jsx)(cp.Z.Item,{name:[...n,"right"],children:(0,tf.jsx)(cv.default,{addonBefore:"R"})})}),(0,tf.jsx)(nw.Z,{span:6,children:(0,tf.jsx)(cp.Z.Item,{name:[...n,"top"],children:(0,tf.jsx)(cv.default,{addonBefore:"T"})})}),(0,tf.jsx)(nw.Z,{span:6,children:(0,tf.jsx)(cp.Z.Item,{name:[...n,"bottom"],children:(0,tf.jsx)(cv.default,{addonBefore:"B"})})})]})})},{key:"customCss",cols:24,children:(0,tf.jsx)(uF,{name:[...n,"css"]})}],[]);return(0,tf.jsxs)("div",{className:o,children:[t&&(0,tf.jsx)(cc.Z.Title,{level:5,children:t}),(0,tf.jsx)(tT.Z,{gutter:16,children:a.map(e=>{let{key:t,cols:n,children:o}=e;return(0,tf.jsx)(nw.Z,{span:n,className:tw()({hidden:r.includes(t)}),children:o},t)})})]})};!function(e){e.OPPORTUNITY_NAME="Opportunity name",e.LOGO="Logo",e.CONTENT="Content section",e.PREPARED_BY="Prepared by",e.CONTACT_NAME="Contact name",e.DATE="Date"}(td||(td={}));let uq=e=>{let{onCancel:t,onSubmit:n,loading:r,coverImageUrl:o,selectedTemplate:i,hideCustomCss:a,templateName:s,form:l}=e,[c,u]=(0,tp.useState)("Opportunity name"),{t:d}=(0,nK.$G)(),f=a?[tu.CustomCss]:[],p=(0,tp.useMemo)(()=>[{key:"Opportunity name",label:tC.ZP.t("template:form.style.title.label","Opportunity name"),children:(0,tf.jsx)(uH,{name:["style","title"],hiddenInputs:f})},{key:"Logo",label:"Logo",children:(0,tf.jsxs)(tf.Fragment,{children:[(0,tf.jsx)(ck,{name:"logo",label:tC.ZP.t("template:form.logo.label","Custom logo")}),(0,tf.jsx)(uH,{title:tC.ZP.t("template:form.style.logo.label","Style"),name:["style","logo"],hiddenInputs:[...f,tu.Colour,tu.FontFamily,tu.FontSize,tu.FontWeight,tu.TextAlign]})]})},{key:"Prepared by",label:tC.ZP.t("template:form.style.subtitle.label","Prepared by"),children:(0,tf.jsx)(uH,{name:["style","subtitle"],hiddenInputs:f})},{key:"Contact name",label:tC.ZP.t("template:form.style.name.label","Contact name"),children:(0,tf.jsx)(uH,{name:["style","name"],hiddenInputs:[...f,tu.Position]})},{key:"Date",label:tC.ZP.t("template:form.style.date.label","Date"),children:(0,tf.jsx)(uH,{name:["style","date","value"],hiddenInputs:f})}],[a]),h=(0,tp.useMemo)(()=>{var e;if(!i)return;let{content:t,title:n,subtitle:r,name:o,date:a,logo:l,footer:c}=null!==(e=i.style)&&void 0!==e?e:{};return{name:s,logo:i.logoUrl?[i.logoUrl]:[],style:{content:uR.toFormValues(t),title:uR.toFormValues(n),subtitle:uR.toFormValues(r),name:uR.toFormValues(o),date:{key:uR.toFormValues(null==a?void 0:a.key),value:uR.toFormValues(null==a?void 0:a.value)},logo:uR.toFormValues(l),footer:uR.toFormValues(c)}}},[i]);return(0,tp.useEffect)(()=>{l.resetFields()},[h]),(0,tf.jsxs)(cp.Z,{form:l,initialValues:h,onFinish:n,layout:"vertical",children:[(0,tf.jsxs)(tT.Z,{gutter:32,children:[(0,tf.jsxs)(nw.Z,{span:12,children:[(0,tf.jsx)(cp.Z.Item,{label:d("template:form.name","Template name"),name:["name"],children:(0,tf.jsx)(cv.default,{})}),(0,tf.jsx)(uN.Z,{items:p.map(e=>({...e,forceRender:!0})),activeKey:c,onChange:u}),(0,tf.jsx)(uH,{className:"hidden",name:["style","content"]})]}),(0,tf.jsx)(nw.Z,{children:(0,tf.jsx)(cp.Z.Item,{shouldUpdate:!0,className:"sticky top-0",children:e=>{var t,n,r,i,a,s,l,c,u,f,p;let{getFieldsValue:h}=e,m=h(!0),g=(0,c_.C)(null===(t=m.logo)||void 0===t?void 0:t[0]);return(0,tf.jsx)(cA,{scale:.325,width:365,height:257,children:(0,tf.jsx)(uS,{title:d("template:form.preview.opportunity-name","Opportunity name"),subtitle:d("template:form.preview.prepared-by","Prepared by"),name:d("template:form.preview.name","John Smith"),coverUrl:o,logoUrl:g,style:{content:uR.toJSON(null==m?void 0:null===(n=m.style)||void 0===n?void 0:n.content),title:uR.toJSON(null==m?void 0:null===(r=m.style)||void 0===r?void 0:r.title),subtitle:uR.toJSON(null==m?void 0:null===(i=m.style)||void 0===i?void 0:i.subtitle),name:uR.toJSON(null==m?void 0:null===(a=m.style)||void 0===a?void 0:a.name),date:{key:uR.toJSON(null==m?void 0:null===(l=m.style)||void 0===l?void 0:null===(s=l.date)||void 0===s?void 0:s.key),value:uR.toJSON(null==m?void 0:null===(u=m.style)||void 0===u?void 0:null===(c=u.date)||void 0===c?void 0:c.value)},logo:uR.toJSON(null==m?void 0:null===(f=m.style)||void 0===f?void 0:f.logo),footer:uR.toJSON(null==m?void 0:null===(p=m.style)||void 0===p?void 0:p.footer)}})})}})})]}),(0,tf.jsxs)(ub.Z,{className:"mt-4",children:[(0,tf.jsx)(nH.ZP,{htmlType:"submit",loading:r,disabled:r,type:"primary",children:d("save","Save")}),(0,tf.jsx)(nH.ZP,{onClick:t,children:d("cancel","Cancel")})]})]})},uV=()=>{let{t:e}=(0,tC.$G)(),t=cp.Z.useFormInstance(),[n]=cp.Z.useForm(),{upload:r,createPath:o}=(0,sT.FL)(),[{templateId:i},a]=ug(),{agent:s,selectedTemplate:l,onTemplateSubmit:c,hideCustomCss:u}=up(),d=null==l?void 0:l.name,f=()=>a({templateId:null}),p=uC(n,f),h=async e=>e&&"string"!=typeof e?await r(o("logo"),e):{fileUrl:e,imageKey:void 0},m=t.getFieldValue("image"),g=(0,c_.C)(null==m?void 0:m[0]),[{loading:v},y]=(0,uO.Z)(async e=>{var n;if(!e||!l)return;let{imageKey:r}=await h(e.logo[0]),{content:o,title:i,subtitle:a,name:s,date:u,logo:d,footer:p}=null!==(n=e.style)&&void 0!==n?n:{},{templateId:m}=await c({id:l.id,type:l.type,name:e.name,logoKey:r,style:{content:uR.toJSON(o),title:uR.toJSON(i),subtitle:uR.toJSON(a),name:uR.toJSON(s),date:{key:uR.toJSON(null==u?void 0:u.key),value:uR.toJSON(null==u?void 0:u.value)},logo:uR.toJSON(d),footer:uR.toJSON(p)}});t.setFieldValue("templateId",m),t.submit(),f()},[l]);return(0,tf.jsx)(u_.Z,{title:(null==l?void 0:l.type)===tl.Predefined?e("manage-template.form.create.title","Create custom template from {{name}}",{name:d}):e("manage-template.form.update.title","Update template {{name}}",{name:d}),width:"75%",closable:!1,onClose:p,open:!!i,destroyOnClose:!0,children:(0,tf.jsx)(uq,{onCancel:p,onSubmit:y,coverImageUrl:g,selectedTemplate:l,hideCustomCss:u,loading:v,templateName:uM(l,null==s?void 0:s.templates),form:n})})},uW=e=>{let{template:t}=e,[,n]=ug();return(0,tf.jsx)(nH.ZP,{icon:(0,tf.jsx)(uv.Z,{}),onClick:()=>n({templateId:t.id}),size:"small"})},u$=e=>{let{template:t}=e,{t:n}=(0,tC.$G)(),{onTemplateRemove:r}=up(),[{loading:o},i]=(0,uO.Z)(async()=>{await r(t.id)});return t.type!==tl.Custom?null:(0,tf.jsx)(ca.Z,{title:n("front-cover:form.template.delete","Are you sure you want to remove this template?"),onConfirm:i,okText:n("remove","Remove"),cancelText:n("cancel","Cancel"),children:(0,tf.jsx)(nH.ZP,{icon:(0,tf.jsx)(ci.Z,{}),loading:o,size:"small",danger:!0})})},uG=e=>{let{template:t}=e;return t?(0,tf.jsxs)("div",{className:"flex items-center gap-4",children:[(0,tf.jsx)("span",{children:t.name}),(0,tf.jsxs)("div",{className:"flex items-center gap-2",children:[(0,tf.jsx)(uW,{template:t}),(0,tf.jsx)(u$,{template:t})]})]}):null},uK=e=>{var t;let{onCancel:n,onSubmit:r,form:o}=e,{t:i}=(0,tC.$G)(),{upload:a,createPath:s}=(0,sT.FL)(),{selectedFrontCover:l,agent:c}=up(),u=(0,tp.useMemo)(()=>{if(!l)return;let{imageUrl:e,template:t,...n}=l;return{...n,templateId:null==t?void 0:t.id,image:e?[e]:[]}},[l]),d=async e=>"string"==typeof e?{fileUrl:e,data:{name:null==u?void 0:u.name},imageKey:void 0}:await a(s("marketingContent"),e),[{loading:f},p]=(0,uO.Z)(async e=>{let{imageKey:t}=await d(e.image[0]);await r({id:null==l?void 0:l.id,name:e.name,imageKey:t,style:e.style,templateId:e.templateId}),o.resetFields()}),h=e=>{var t;let n=null==c?void 0:null===(t=c.templates)||void 0===t?void 0:t.find(t=>t.id===e.target.value);o.setFieldValue("style",null==n?void 0:n.style)};return(0,tf.jsxs)(cp.Z,{form:o,initialValues:u,onFinish:p,layout:"vertical",children:[(0,tf.jsx)(cp.Z.Item,{name:"name",label:i("name","Name"),rules:[{required:!0}],children:(0,tf.jsx)(cv.default,{})}),(0,tf.jsx)(cp.Z.Item,{name:"style",hidden:!0,children:(0,tf.jsx)(cv.default,{})}),(0,tf.jsxs)(tT.Z,{gutter:32,className:"mb-4",children:[(0,tf.jsxs)(nw.Z,{span:12,children:[(0,tf.jsx)(ck,{name:"image",label:i("front-cover:form.background-image.label","Background image"),crop:{aspect:297/210},rules:[{required:!0}]}),(0,tf.jsx)(cc.Z.Text,{className:"text-gray-400",children:i("front-cover:form.background-image.hint","Background image should be A4 landscape format (297x210) and uploaded as {{allowedTypes}}",{allowedTypes:cC.p})}),(0,tf.jsx)("div",{className:"mb-2 mt-4 text-sm font-medium",children:i("front-cover:form.layout.label","Layout")}),(0,tf.jsx)(cp.Z.Item,{name:"templateId",extra:i("front-cover:form.layout.hint","Create your own custom templates by editing existing ones"),children:(0,tf.jsx)(cM.ZP.Group,{className:"flex flex-col gap-2",options:null==c?void 0:null===(t=c.templates)||void 0===t?void 0:t.map(e=>({value:e.id,label:(0,tf.jsx)(uG,{template:e})})),onChange:h})})]}),(0,tf.jsx)(nw.Z,{children:(0,tf.jsx)(cp.Z.Item,{shouldUpdate:!0,children:e=>{var t,n,r,o;let{getFieldsValue:a}=e,{image:s,templateId:l}=a(),u=(0,c_.C)(null==s?void 0:s[0]);if(!u)return null;let{logoUrl:d,style:f}=null!==(o=null==c?void 0:null===(t=c.templates)||void 0===t?void 0:t.find(e=>{let{id:t}=e;return t===l}))&&void 0!==o?o:{};return(0,tf.jsxs)(tf.Fragment,{children:[(0,tf.jsx)("div",{className:"mb-2 text-sm font-medium",children:i("front-cover:form.preview.label","Preview")}),(0,tf.jsx)(cA,{scale:.325,width:350,height:257,children:(0,tf.jsx)(uS,{title:i("front-cover:form.preview.opportunity-name","Opportunity name"),subtitle:i("front-cover:form.preview.prepared-by","Prepared by"),name:i("front-cover:form.preview.name","John Smith"),coverUrl:u,logoUrl:d,style:{content:uR.toJSON(null==f?void 0:f.content),title:uR.toJSON(null==f?void 0:f.title),subtitle:uR.toJSON(null==f?void 0:f.subtitle),name:uR.toJSON(null==f?void 0:f.name),date:{key:uR.toJSON(null==f?void 0:null===(n=f.date)||void 0===n?void 0:n.key),value:uR.toJSON(null==f?void 0:null===(r=f.date)||void 0===r?void 0:r.value)},logo:uR.toJSON(null==f?void 0:f.logo),footer:uR.toJSON(null==f?void 0:f.footer)}})})]})}})})]}),(0,tf.jsx)("div",{className:"fixed bottom-0 w-full bg-white py-3",children:(0,tf.jsxs)(ub.Z,{children:[(0,tf.jsx)(nH.ZP,{htmlType:"submit",type:"primary",loading:f,disabled:f,children:i("save","Save")}),(0,tf.jsx)(nH.ZP,{onClick:n,disabled:f,children:i("cancel","Cancel")})]})}),(0,tf.jsx)(uV,{})]})},uY=e=>{let{onCreated:t=cm()}=e,{t:n}=(0,tC.$G)(),[r]=cp.Z.useForm(),o=cp.Z.useFormInstance(),{onSubmit:i}=up(),[{form:a},s]=ug(),l=()=>s({form:null,templateId:null}),c=uC(r,l),u=async e=>{let{name:n,imageKey:r,templateId:a}=e,{marketingContent:s,frontCovers:c,closingSlides:u}=o.getFieldsValue();await i({marketingContent:{create:[{name:n,type:tg.Rz.Cover,imageKey:r,templateId:a}],update:[...u,...c,...s],delete:[]}}),t(),l()};return(0,tf.jsx)(uk,{title:n("front-cover.drawer.create.title","Create front cover"),onClose:c,open:a===tc.CREATE,children:(0,tf.jsx)(uK,{onCancel:c,onSubmit:u,form:r})})},uX=e=>{let{name:t,onUpdated:n=cm()}=e,{t:r}=(0,nK.$G)(),[o]=cp.Z.useForm(),i=cp.Z.useFormInstance(),[{frontCoverId:a},s]=ug(),{onSubmit:l}=up(),c=cp.Z.useWatch(t,i),u=(0,tp.useMemo)(()=>null==c?void 0:c.find(e=>e.id===a),[c,a]),d=()=>s({form:null,frontCoverId:null,templateId:null}),f=uC(o,d),p=async e=>{let{name:t,imageKey:r,templateId:o}=e,{marketingContent:a,frontCovers:s,closingSlides:c}=i.getFieldsValue();await l({marketingContent:{create:[],update:[...c.map(e=>{let{id:n,imageUrl:r,type:o}=e;return{id:n,imageUrl:r,name:t,type:o}}),...s.map(e=>{let{style:n,...i}=e;return i.id===(null==u?void 0:u.id)?{...i,imageKey:r,templateId:o,name:t}:i}),...a.map(e=>{let{id:n,imageUrl:r,type:o}=e;return{id:n,imageUrl:r,name:t,type:o}})],delete:[]}}),n(),d()};return(0,tf.jsx)(uk,{title:r("front-cover:form.edit.title","Edit front cover"),onClose:f,open:!!a,children:u?(0,tf.jsx)(uK,{onCancel:f,onSubmit:p,form:o}):(0,tf.jsx)(tR.Z,{spinning:!0})})},uQ=e=>{let{name:t,onCreated:n,onUpdated:r}=e,[{form:o}]=ug();switch(o){case tc.CREATE:return(0,tf.jsx)(uY,{onCreated:n});case tc.EDIT:return(0,tf.jsx)(uX,{name:t,onUpdated:r});default:return null}},uJ=e=>{let{name:t,onRemoved:n,onCreated:r,onUpdated:o}=e,{t:i}=(0,tC.$G)();return(0,tf.jsxs)(tf.Fragment,{children:[(0,tf.jsx)(cc.Z.Title,{level:5,children:i("front-cover.title","Front cover")}),(0,tf.jsx)(ux,{name:t,onRemoved:n}),(0,tf.jsx)(uQ,{name:t,onCreated:r,onUpdated:o})]})},u0=e=>{var t,n;let{agent:r,onSubmit:o,onTemplateSubmit:i,onTemplateRemove:a,disabled:s,hideCustomCss:l,children:c}=e,[{templateId:u,frontCoverId:d}]=ug(),f=(null!==(n=null==r?void 0:r.templates)&&void 0!==n?n:[]).find(e=>e.id===u),p=null==r?void 0:null===(t=r.marketingContent)||void 0===t?void 0:t.find(e=>e.id===d);return(0,tf.jsx)(uf.Provider,{value:{agent:r,selectedFrontCover:p,selectedTemplate:f,onSubmit:o,onTemplateSubmit:i,onTemplateRemove:a,disabled:s,hideCustomCss:l},children:c})};u0.Footer=ul,u0.Form=uh;var u1=n(71401),u2="@vercel/speed-insights",u3="1.0.12",u4=()=>{window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)})};function u5(){return"undefined"!=typeof window}function u6(){try{let e="production";if("development"===e||"test"===e)return"development"}catch(e){}return"production"}function u8(){return"development"===u6()}function u7(e,t){if(!e||!t)return e;let n=e;try{let e=Object.entries(t);for(let[t,r]of e)if(!Array.isArray(r)){let e=u9(r);e.test(n)&&(n=n.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=u9(r.join("/"));e.test(n)&&(n=n.replace(e,`/[...${t}]`))}return n}catch(t){return e}}function u9(e){return RegExp(`/${de(e)}(?=[/?#]|$)`)}function de(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var dt="https://va.vercel-scripts.com/v1/speed-insights",dn=`${dt}/script.js`,dr=`${dt}/script.debug.js`,di="/_vercel/speed-insights/script.js";function da(e={}){var t;if(!u5()||null===e.route)return null;u4();let n=e.dsn?dn:di,r=e.scriptSrc||(u8()?dr:n);if(document.head.querySelector(`script[src*="${r}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let o=document.createElement("script");return o.src=r,o.defer=!0,o.dataset.sdkn=u2+(e.framework?`/${e.framework}`:""),o.dataset.sdkv=u3,e.sampleRate&&(o.dataset.sampleRate=e.sampleRate.toString()),e.route&&(o.dataset.route=e.route),e.endpoint&&(o.dataset.endpoint=e.endpoint),e.dsn&&(o.dataset.dsn=e.dsn),u8()&&!1===e.debug&&(o.dataset.debug="false"),o.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${r}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(o),{setRoute:e=>{o.dataset.route=e??void 0}}}function ds(e){let t=(0,tp.useRef)(null);return(0,tp.useEffect)(()=>{if(t.current)e.route&&t.current(e.route);else{let n=da({framework:e.framework||"react",...e});n&&(t.current=n.setRoute)}},[e.route]),null}var dl=()=>{let e=(0,u1.useParams)(),t=(0,u1.useSearchParams)()||new URLSearchParams,n=(0,u1.usePathname)(),r={...Object.fromEntries(t.entries()),...e||{}};return e?u7(n,r):null};function dc(e){let t=dl();return tp.createElement(ds,{route:t,...e,framework:"next"})}function du(e){return tp.createElement(tp.Suspense,{fallback:null},tp.createElement(dc,{...e}))}let dd=e=>{let{form:t,children:n,loading:r}=e,[o,i]=(0,tp.useState)(!1),a=cp.Z.useWatch([],t);return(0,tp.useEffect)(()=>{t.validateFields({validateOnly:!0}).then(()=>{i(!0)},()=>{i(!1)})},[a]),(0,tf.jsx)(nH.ZP,{type:"primary",htmlType:"submit",loading:r,disabled:!o,children:n})}},57490:function(e,t,n){"use strict";var r,o;n.d(t,{a:function(){return a}}),function(e){e.enGB="en-GB",e.enUS="en-US",e.fr="fr"}(r||(r={})),function(e){e.SquareFoot="SQUARE_FOOT",e.SquareMeter="SQUARE_METER"}(o||(o={}));let i={"en-GB":{value:"en-GB",region:"GB",label:"United Kingdom",defaultSizeUnit:"SQUARE_FOOT"},"en-US":{value:"en-US",region:"US",label:"United States",defaultSizeUnit:"SQUARE_FOOT"},fr:{value:"fr",region:"FR",label:"France",defaultSizeUnit:"SQUARE_METER"}};t.Z=i;let a=i["en-GB"]},57020:function(e,t,n){"use strict";n.d(t,{Qb:function(){return er},cC:function(){return r.cC},D0:function(){return eo},ZP:function(){return ei},$G:function(){return r.$G}});var r=n(77356);let o={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||o,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new i(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new i(this.logger,e)}}var a=new i;class s{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(t=>{let[r,o]=t;for(let t=0;t<o;t++)r.apply(r,[e,...n])})}}function l(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function c(e){return null==e?"":""+e}function u(e,t,n){e.forEach(e=>{t[e]&&(n[e]=t[e])})}let d=/###/g;function f(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(d,"."):e}function o(){return!e||"string"==typeof e}let i="string"!=typeof t?t:t.split("."),a=0;for(;a<i.length-1;){if(o())return{};let t=r(i[a]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return o()?{}:{obj:e,k:r(i[a])}}function p(e,t,n){let{obj:r,k:o}=f(e,t,Object);if(void 0!==r||1===t.length){r[o]=n;return}let i=t[t.length-1],a=t.slice(0,t.length-1),s=f(e,a,Object);for(;void 0===s.obj&&a.length;)i=`${a[a.length-1]}.${i}`,(s=f(e,a=a.slice(0,a.length-1),Object))&&s.obj&&void 0!==s.obj[`${s.k}.${i}`]&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n}function h(e,t,n,r){let{obj:o,k:i}=f(e,t,Object);o[i]=o[i]||[],r&&(o[i]=o[i].concat(n)),r||o[i].push(n)}function m(e,t){let{obj:n,k:r}=f(e,t);if(n)return n[r]}function g(e,t,n){let r=m(e,n);return void 0!==r?r:m(t,n)}function v(e,t,n){for(let r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):v(e[r],t[r],n):e[r]=t[r]);return e}function y(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function w(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,e=>b[e]):e}class S{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}let x=[" ",",","?","!",";"],E=new S(20);function C(e,t,n){t=t||"",n=n||"";let r=x.filter(e=>0>t.indexOf(e)&&0>n.indexOf(e));if(0===r.length)return!0;let o=E.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`),i=!o.test(e);if(!i){let t=e.indexOf(n);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i}function _(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let r=t.split(n),o=e;for(let e=0;e<r.length;){let t;if(!o||"object"!=typeof o)return;let i="";for(let a=e;a<r.length;++a)if(a!==e&&(i+=n),i+=r[a],void 0!==(t=o[i])){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}o=t}return o}function k(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class O extends s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?r=e.split("."):(r=[e,t],n&&(Array.isArray(n)?r.push(...n):"string"==typeof n&&i?r.push(...n.split(i)):r.push(n)));let s=m(this.data,r);return(!s&&!t&&!n&&e.indexOf(".")>-1&&(e=r[0],t=r[1],n=r.slice(2).join(".")),s||!a||"string"!=typeof n)?s:_(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),p(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let r in n)("string"==typeof n[r]||"[object Array]"===Object.prototype.toString.apply(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=m(this.data,a)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?v(s,n,o):s={...s,...n},p(this.data,a,s),i.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var A={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,o))}),t}};let I={};class P extends s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),u(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=a.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!C(e,n,r);if(i&&!a){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:o};let i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:i,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){let e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${i}`,usedKey:i,exactUsedKey:i,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${i}`}return r?{res:i,usedKey:i,exactUsedKey:i,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:i}let u=this.resolve(e,t),d=u&&u.res,f=u&&u.usedKey||i,p=u&&u.exactUsedKey||i,h=Object.prototype.toString.apply(d),m=["[object Number]","[object Function]","[object RegExp]"],g=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,y="string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d;if(v&&d&&y&&0>m.indexOf(h)&&!("string"==typeof g&&"[object Array]"===h)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,d,{...t,ns:a}):`key '${i} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(o){let e="[object Array]"===h,n=e?[]:{},r=e?p:f;for(let e in d)if(Object.prototype.hasOwnProperty.call(d,e)){let i=`${r}${o}${e}`;n[e]=this.translate(i,{...t,joinArrays:!1,ns:a}),n[e]===i&&(n[e]=d[e])}d=n}}else if(v&&"string"==typeof g&&"[object Array]"===h)(d=d.join(g))&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1,c=void 0!==t.count&&"string"!=typeof t.count,f=P.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(l,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",m=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),g=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(d)&&f&&(r=!0,d=g),this.isValidLookup(d)||(a=!0,d=i);let v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,y=f&&g!==d&&this.options.updateMissing;if(a||r||y){if(this.logger.log(y?"updateKey":"missingKey",l,s,i,y?g:d),o){let e=this.resolve(i,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);let r=(e,n,r)=>{let o=f&&r!==d?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,o,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,o,y,t),this.emit("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach(e=>{let n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&0>n.indexOf(`${this.options.pluralSeparator}zero`)&&n.push(`${this.options.pluralSeparator}zero`),n.forEach(n=>{r([e],i+n,t[`defaultValue${n}`]||g)})}):r(e,i,g))}d=this.extendTranslation(d,e,t,u,n),a&&d===i&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${i}`),(a||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${i}`:i,r?d:void 0):this.options.parseMissingKeyHandler(d))}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){let a;n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),s){let t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):i.translate(...r,t)},n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,s="string"==typeof a?[a]:a;return null!=e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=A.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,o,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let u=void 0!==a.count&&"string"!=typeof a.count,d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),f=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach(e=>{this.isValidLookup(t)||(i=e,!I[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(I[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(n=>{let i;if(this.isValidLookup(t))return;o=n;let s=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));let t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(s.push(l+e),a.ordinal&&0===e.indexOf(r)&&s.push(l+e.replace(r,this.options.pluralSeparator)),d&&s.push(l+t)),f){let n=`${l}${this.options.contextSeparator}${a.context}`;s.push(n),u&&(s.push(n+e),a.ordinal&&0===e.indexOf(r)&&s.push(n+e.replace(r,this.options.pluralSeparator)),d&&s.push(n+t))}}for(;i=s.pop();)this.isValidLookup(t)||(r=i,t=this.getResource(n,e,i,a))}))})}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!=typeof e.replace,r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n)for(let e of(r={...r},t))delete r[e];return r}static hasDefaultValue(e){let t="defaultValue";for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}function T(e){return e.charAt(0).toUpperCase()+e.slice(1)}class R{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=a.create("languageUtils")}getScriptPartFromCode(e){if(!(e=k(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=k(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){let t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=T(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=T(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&0===e.indexOf(n))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],o=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),n.forEach(e=>{0>r.indexOf(e)&&o(this.formatLanguageCode(e))}),r}}let M=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],N={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},j=["v1","v2","v3"],D=["v4"],L={zero:0,one:1,two:2,few:3,many:4,other:5};function B(){let e={};return M.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:N[t.fc]}})}),e}class Z{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=a.create("pluralResolver"),(!this.options.compatibilityJSON||D.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=B()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(k("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>L[e]-L[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));let o=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!j.includes(this.options.compatibilityJSON)}}function F(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4)||void 0===arguments[4]||arguments[4],i=g(e,t,n);return!i&&o&&"string"==typeof n&&void 0===(i=_(e,n,r))&&(i=_(t,n,r)),i}class z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=a.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let t=e.interpolation;this.escape=void 0!==t.escape?t.escape:w,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?y(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?y(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?y(t.nestingPrefix):t.nestingPrefixEscaped||y("$t("),this.nestingSuffix=t.nestingSuffix?y(t.nestingSuffix):t.nestingSuffixEscaped||y(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let o,i,a;let s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}let u=e=>{if(0>e.indexOf(this.formatSeparator)){let o=F(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...r,...t,interpolationkey:e}):o}let o=e.split(this.formatSeparator),i=o.shift().trim(),a=o.join(this.formatSeparator).trim();return this.format(F(t,s,i,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:i})};this.resetRegExp();let d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>l(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?l(this.escape(e)):l(e)}].forEach(t=>{for(a=0;o=t.regex.exec(e);){let n=o[1].trim();if(void 0===(i=u(n))){if("function"==typeof d){let t=d(e,o,r);i="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else if(f){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),i=""}else"string"==typeof i||this.useRawValueToEscape||(i=c(i));let s=t.safeValue(i);if(e=e.replace(o[0],s),f?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=this.maxReplaces)break}}),e}nest(e,t){let n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function a(e,t){let n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;let r=e.split(RegExp(`${n}[ ]*{`)),i=`{${r[1]}`;e=r[0];let a=(i=this.interpolate(i,o)).match(/'/g),s=i.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return delete o.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let s=[];(o=(o={...i}).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let e=n[1].split(this.formatSeparator).map(e=>e.trim());n[1]=e.shift(),s=e,l=!0}if((r=t(a.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=c(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce((e,t)=>this.format(e,t,i.lng,{...i,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}function U(e){let t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){let r=e.split("(");t=r[0].toLowerCase().trim();let o=r[1].substring(0,r[1].length-1);"currency"===t&&0>o.indexOf(":")?n.currency||(n.currency=o.trim()):"relativetime"===t&&0>o.indexOf(":")?n.range||(n.range=o.trim()):o.split(";").forEach(e=>{if(!e)return;let[t,...r]=e.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,"");n[t.trim()]||(n[t.trim()]=o),"false"===o&&(n[t.trim()]=!1),"true"===o&&(n[t.trim()]=!0),isNaN(o)||(n[t.trim()]=parseInt(o,10))})}return{formatName:t,formatOptions:n}}function H(e){let t={};return function(n,r,o){let i=r+JSON.stringify(o),a=t[i];return a||(a=e(k(r),o),t[i]=a),a(n)}}class q{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=a.create("formatter"),this.options=e,this.formats={number:H((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:H((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:H((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:H((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:H((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=H(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce((e,t)=>{let{formatName:o,formatOptions:i}=U(t);if(this.formats[o]){let t=e;try{let a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[o](e,s,{...i,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e)}}function V(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}class W extends s{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=a.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){let o={},i={},a={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,r=!1,void 0===i[a]&&(i[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;let a={};this.queue.forEach(n=>{h(n.loaded,[o],i),V(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:o,callback:i});return}this.readingCalls++;let a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*o,i)},o);return}i(a,s)},s=this.backend[n].bind(this.backend);if(2===s.length){try{let n=s(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(e){a(e)}return}return s(e,t,a)}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);let o=this.queueLoad(e,t,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn(`${t}loading namespace ${o} for language ${r} failed`,n),!n&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${r}`,i),this.loaded(e,n,i)})}saveMissing(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=n&&""!==n){if(this.backend&&this.backend.create){let s={...i,isUpdate:o},l=this.backend.create.bind(this.backend);if(l.length<6)try{let o;(o=5===l.length?l(e,t,n,r,s):l(e,t,n,r))&&"function"==typeof o.then?o.then(e=>a(null,e)).catch(a):a(null,o)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}function $(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function G(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function K(){}function Y(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}class X extends s{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=G(e),this.services={},this.logger=a,this.modules={external:[]},Y(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let r=$();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options={...r,...this.options,...G(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?a.init(o(this.modules.logger),this.options):a.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=q);let n=new R(this.options);this.store=new O(this.options.resources,this.options);let i=this.services;i.logger=a,i.resourceStore=this.store,i.languageUtils=n,i.pluralResolver=new Z(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(i.formatter=o(t),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new z(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new W(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit(t,...r)}),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new P(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit(t,...r)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||(n=K),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let i=l(),s=()=>{let e=(e,t)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),i}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K,n=t,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=l();return e||(e=this.languages),t||(t=this.options.ns),n||(n=K),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&A.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;let r=l();this.emit("languageChanging",e);let o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(e,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},a=t=>{e||t||!this.services.languageDetector||(t=[]);let n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{i(e,n)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;let o=function(e,t){let i,a;if("object"!=typeof t){for(var s=arguments.length,l=Array(s>2?s-2:0),c=2;c<s;c++)l[c-2]=arguments[c];i=r.options.overloadTranslationOptionHandler([e,t].concat(l))}else i={...t};i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,i.keyPrefix=i.keyPrefix||n||o.keyPrefix;let u=r.options.keySeparator||".";return a=i.keyPrefix&&Array.isArray(e)?e.map(e=>`${i.keyPrefix}${u}${e}`):i.keyPrefix?`${i.keyPrefix}${u}${e}`:e,r.t(a,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let i=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return -1===n||2===n};if(t.precheck){let e=t.precheck(this,i);if(void 0!==e)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(n,e)&&(!r||i(o,e)))}loadNamespaces(e,t){let n=l();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=l();"string"==typeof e&&(e=[e]);let r=this.options.preload||[],o=e.filter(e=>0>r.indexOf(e));return o.length?(this.options.preload=r.concat(o),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new R($())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new X(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K,n=e.forkResourceStore;n&&delete e.forkResourceStore;let r={...this.options,...e,isClone:!0},o=new X(r);return(void 0!==e.debug||void 0!==e.prefix)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new O(this.store.data,r),o.services.resourceStore=o.store),o.translator=new P(o.services,r),o.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit(e,...n)}),o.init(r,t),o.translator.options=r,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let Q=X.createInstance();Q.createInstance=X.createInstance,Q.createInstance,Q.dir,Q.init,Q.loadResources,Q.reloadResources,Q.use,Q.changeLanguage,Q.getFixedT,Q.t,Q.exists,Q.setDefaultNamespace,Q.hasLoadedNamespace,Q.loadNamespaces,Q.loadLanguages;var J=n(3017),ee=n.n(J),et=n(57490);let en={"en-GB":{account:JSON.parse('{"menu":{"account":{"password":"Password","preferences":"Preferences","profile":"Profile","title":"Account"},"application":{"branding":"Branding","digital-report":"Digital report","pdf-report":"PDF report","title":"Application"},"company":{"general":"General","members":"Members","subscription":"Subscription","title":"Company"}}}'),agent:JSON.parse('{"add-buildings":{"add-buildings-to-opportunity":"Add buildings to {{name}}","message":"Opportunity requirements transferred and applied to filters.","message_one":"{{count}} building have been added to opportunity","message_other":"{{count}} buildings have been added to opportunity"},"add-key-date":"Add key date","add-phone-number":"Add phone number","all-operators":"All Operators","availability":{"locked":{"body":"Hey Valve Team, we are interested in showing our full availability to agents. Could you tell us a bit more about suitable plans, that allow us to show our full availability.","content":"Your Spaces, Pricing and Availability is currently not visible to Agents and Brokers, to upgrade, contact our Sales Team.","subject":"Upgrade to show full availability"}},"availability-panel":{"all-occupied":"This building is fully occupied","available-soon":"This building is fully occupied, but some spaces will be available within 3 months","available-spaces_one":"This building has <accent>{{ count }} available space</accent>","available-spaces_other":"This building has <accent>{{ count }} available spaces</accent>","limited-availability":"This building has reserved spaces that may become available soon"},"back-to-key-dates":"Back to key dates","booking":{"price":{"at-least-one":"At least one booking price should be set","label":"Booking price","note":"This will be used for booking only","unit":{"per-day":"per day","per-hour":"per hour"}}},"booking-without-working-hours":"You can\'t mark a space as available for booking without specifying working hours","branding":{"map":"Map","map-pin":"Map pin","pin-preview":"Pin preview","primary-color":{"label":"Primary color","placeholder":"Enter HEX code"}},"building-forms":{"address":{"building-street-name":"Building / Street number","country":"Country","latitude":"Latitude","location":"Location","longitude":"Longitude","postcode":"Postcode","region":"Region","street":"Street","town":"Town"},"address-search":{"placeholder":"Start typing to get suggestions","search":"Address finder"},"building-group":{"approved-by-valve":"Approved by Valve","awaiting-approval":"Awaiting approval","cancel-request-button":"Cancel publishing request","cancel-request-description":"Are you sure you want to cancel this request?","cancel-request-success":"Request cancelled successfully","cancel-request-title":"Cancel publish request","close":"Close","create-building-first":"In order to request to publish, a building needs to be created first","info-tooltip":"By default, a new building is private and only visible for your company. To make building visible for everyone on the map, approval from Valve is needed prior to publishing","proceed":"Proceed","rejected-by-valve":"Rejected by Valve","request-approval-button":"Request to publish","request-approval-success":"You have successfully requested for building approval"},"building-information":{"title":"Building information"},"calendly-link":"Calendly link","commission":{"description":"Description","details-link":"Link to commission details","note":"Providing commission rates helps increase lead flow and trustworthiness","rate":"Commission rate","rate-required":"Please enter a numeric value between 1 and 100","title":"Commissions"},"location":{"error":{"intersection":"Location you have entered is not in your region","required":"Address - Location is required"}},"map":"You can move the marker on the map to position the building.","message":"Building updated","operators-website":"Operator\'s website","request-to-view":{"description":{"calendly":"With this type of selection, after the user clicks the \\"Request to View\\" button on the building or space page of the digital report. The user will be presented with a Calendly window where they can make a direct appointment with you.","email":"With this type of selection, after the user clicks the \\"Request to View\\" button on the building or space page of the digital report. You will receive an email notification."},"title":"Request to view from digital report"},"tabs":{"address":{"title":"Address"},"amenities":{"title":"Amenities"},"general":{"title":"General"},"media":{"title":"Media"},"price":{"title":"Pricing"},"working_hours":{"title":"Working hours"}},"tours":{"add":"Add tour","hint":"Please insert URL (e.g. https://my.matterport.com/show/?m=xbYh4Vuis2s).","title":"Virtual tours"},"vimeo":{"add":"Add vimeo"},"vimeos":{"errors":{"does-not-exist":"The video does not exist","invalid":"Invalid URL"},"hint":"Please insert URL (e.g. https://vimeo.com/750095839).","title":"Vimeos"},"working-hours":{"copy-time-to-all":"Copy time to all"},"your-building-id":"Your building ID"},"buildings-filter":{"all-up-to-date":"Availability published","message":"You have successfully published your inventory availability","publish-availability":"Publish availability","publish-availability-tooltip":"Confirm current pricing and availability and publish this information to the marketplace"},"buildings-list-empty":"There are no buildings that fit your criteria. Try changing the filter values.","calendly":{"confirm":{"cancelation":"Confirm cancelation","canceled-event":"Please confirm that you canceled this event in Calendly","no":"No, I didn\'t cancel"},"details":"Calendly details","message":{"invalid-url":"Invalid Calendly URL, e.g. https://calendly.com/xxx/yyy"}},"card-list":{"add-count-to-shortlist_one":"Add {{count}} building to the Shortlist","add-count-to-shortlist_other":"Add {{count}} buildings to the Shortlist"},"commission":{"title":"{{operatorName}} offers <accent>{{amount}}%</accent> commission for {{buildingName}}","title-standard":"{{operatorName}} offers <accent>{{amount}}%</accent> standard commission for {{buildingName}}"},"common":{"day-off":"Day-off","time":{"from":"From","till":"Till"}},"company-industry-input":{"note":"Please select the closest matching Industry for the company.","placeholder":"Select industry","title":"Company industry","tooltip":"This information helps Operators respond with more relevant options (e.g. creative environments for media companies)"},"company-location-input":{"placeholder":"Enter current company address","title":"Current company address","tooltip":"Current company address will be displayed on all reports as point of reference."},"company-size-input":{"note":"Please select an approximate number of employees.","title":"Company size","tooltip":"This information helps Operators respond with more relevant options (e.g. corporate style office vs start up office)"},"confirm":{"buildings-up-to-date":{"content":"You are confirming that all information, including pricing and availability, is up to date for agents","title":"Publish availability"},"discard":{"content":"Do you want to discard changes?","title":"Discard changes"},"floor-confirm":{"content":"If you change the floor, all changes from the floorplan will disappear","title":"Are you sure want to change floor?"},"remove-building":{"content":"Do you want to remove building?","title":"Remove building"},"remove-desk":{"content":"Do you want to remove desk?","title":"Remove desk"},"remove-file":{"content":"Do you want to remove file?","title":"Remove file"},"remove-key-date":{"content":"Do you want to remove this key date?","title":"Remove key date"},"remove-option":{"content":"Do you want to remove option?","title":"Remove option"},"remove-phone":{"content":"Do you want to remove phone?","title":"Remove phone"},"remove-referral":{"content":"Do you want to remove referral?","title":"Remove referral"},"remove-space":{"content":"Do you want to remove space?","title":"Remove space"},"remove-tour":{"content":"Do you want to remove tour?","title":"Remove tour"},"remove-vimeo":{"content":"Do you want to remove vimeo?","title":"Remove vimeo"}},"content":"Content","create-building-form":{"message":"Building created"},"create-desk-form":{"message":{"saved":"Desk saved"}},"create-space-form":{"message":"Space created"},"desk-forms":{"desk-external-id":{"label":"Desk ID (operator defined)"},"desk-name":{"label":"Name"},"desk-parent-space":{"label":"Parent space"},"desk-type":{"label":"Type"}},"digital-report":{"feedback":{"amenities":"The space should have certain amenities.","larger-options-size":"The space should be larger.","less-desks":"The space should have fewer desks.","less-expensive":"The space should be less expensive.","location":"The location should be more central.","more-desks":"The space should have more desks.","more-options":"I like the selection but want to see more options.","other":"Other reasons.","smaller-options-size":"The space should be smaller."}},"digital-report-form":{"message":"Digital report settings have been successfully updated"},"draw-on-floorplans":"Draw on floorplan","edit-floorplans":"Edit drawing","edit-key-date":"Edit key date","email-for-distributors-input":{"error":"Please enter an email or use the default selection","note":"This contact is shared with Distributors for bookings"},"email-for-distributors-warning":{"message":"Contact your sales representative to set up default email","title":"Booking email is missing"},"enquiry":{"title":"Enquiry"},"enquiry-filter":{"agent":{"placeholder":{"search-for-agent":"Search for an agent"},"title":"Agent"},"lead":"Lead","operator":{"placeholder":{"search-for-operator":"Search for an operator"},"title":"Operator"}},"file-upload":{"message":{"allowed-file-types":"Allowed file types: {{types}}","limit-exceeded":"File must be smaller than {{limit}}MB"},"upload":{"title":"Drag and drop a file here or simply click to add file."}},"filters-modal":{"include-only":{"title":"Include buildings with availability information"}},"floorplans-let-view":"Let your viewers know exactly where the offered space is located on the floorplan map. This will higher the chance of your space to be visible.","format":"Format","group-buildings":{"description":"You can organize the report by grouping buildings together. Unassigned buildings are listed under Others.","form":{"add":"Add group","buildings":{"error":"Must contain at least one building","label":"Buildings","placeholder":"Drag and drop buildings from the right panel"},"description":{"error_one":"Description should be less than {{count}} character","error_other":"Description should be less than {{count}} characters","label":"Description","placeholder":"Enter group description"},"name":{"label":"Name","placeholder":"Enter group name"},"success":"Groups successfully updated"},"move-down":"Move down","move-up":"Move up","new":"New group","others-count_one":"Other ({{count}})","others-count_other":"Others ({{count}})","title":"Group buildings"},"include-all-spaces":"Include all spaces","insights":{"email":{"body":"Please can you contact me with more details about Valve\'s Data Insight reports.\\n Thanks","subject":"Hey, I’m interested in Valve Data Insights reports"},"give-feedback":"Give feedback","icon":"Insights (new)","list-caption":"What you can expect:","list-item-1":"Demand trends by submarket","list-item-2":"Requirement size trends by submarket","list-item-3":"Pricing trends by submarket","share-thoughts":"Share your thoughts on what you\'d like to see","subtitle":"Actionable Market Insights for customisable submarkets to gain a Competitive Advantage","title":"Valve Market Insights<1></1>benchmark report"},"intro":{"agent":{"message":"Here you will find several number of options that match your search criteria.\\nThere is a lot of choice in the market of this size. We received over 100 buildings to the search so have narrowed it down the best we can to begin with.\\nLet me know if you would like to arrange some viewings."},"operator":{"message":"Enclosed you will find several options which match your search criteria.\\nPlease let me know if you have any questions or would like to arrange a viewing."},"title":"Welcome. We have prepared a report for you."},"key-date":"Key date","key-event":"Key event","key-format":{"date":"Day/Month/Year","month":"Month/Year","quarter":"Quarter/Year","year":"Year"},"location-search":{"make-primary":"Make primary","placeholder":"Search location","primary":"Primary"},"mediaform":{"brochures":{"hint":"Building brochures are used by agents to share with their clients, giving an overview of your building and brand.","title":"Brochures"},"drag-images":"Drag images in the correct order","floor-plans":{"hint":"Floorplans help agents and clients get idea of the layout of your building and where their office might be."},"photos":{"description":"Photos are a great way to show clients what your space offers aesthetically. (Please upload photos in the order you would like them to be displayed on reports as the first three photos will be included on the building slide. For any additional support with photo upload please contact <2>{{email}}</2>)","hint":"You can drag and drop uploaded photos to change the order."}},"menu":{"account":"Account","admin":"Admin","buildings":"Buildings","help":"Help","insights":"Insights","map":"Map","market":"Market","opportunities":"Opportunities"},"merge-options":{"confirm-content":"When merging options, we sum up various inputs. Be aware descriptions, term lengths, statuses and types are not transferred.","confirm-title":"Confirm merge","disabled-reason":"Please select the same currency and unit of area","existing-options":"Existing options","failure":"Failed to merge options","no-options":"There are no options to merge","options-based-on-inventory":"Options based on building inventory","select-floor":"Please select the floor to see the options","success":"Options successfully merged","title":"Merge options"},"new-key-date":"New key date","non-paying-customers":{"preview-limited":"As a basic provider some of your marketing content and branding may not be presented to agents and brokers. To learn more <2>speak</2> to our team about upgrading to Valve Professional."},"office-modal-page":{"message":"Office is not accessible"},"operator-forms":{"content":"Valve does not permit the usage of infringing content on its platform/services. By uploading content to the Valve platform, you agree that you have all necessary rights use and distribute this content. You also agree to Valve’s Operator T&Cs."},"operator-limit-warning":{"title":"Spaces, Pricing and Availability are locked features."},"operators":{"buildings":"Buildings","name":"Name"},"opportunity":{"has-been-updated":"Opportunity has been updated."},"opportunity-columns":{"max-x-custom-columns_one":"Max. {{count}} custom column","max-x-custom-columns_other":"Max. {{count}} custom columns"},"opportunity-empty":"Empty","opportunity-filter":{"collaborators":"Collaborators","removed":"Show removed opportunities","search-for-collaborator":"Search for a collaborator"},"opportunity-form":{"add-more-details":"Add more details","company-contact":"Company contact","company-name":"Company name","message":"Opportunity has been successfully created","requirements":{"description":"Record your client’s requirements for easy reference.","header":"Requirements"}},"opportunity-lead":{"accepted":"Accepted","declined":"Declined","not-submitted":"Not submitted","overturn":"Overturned","pending":"Pending"},"opportunity-status":{"active":"Active","lost":"Lost","on-hold":"On hold","removed":"Removed","won":"Won"},"opportunity-tab":{"enquiry":{"operator-correspondence":"Operator correspondence","title":"Enquiry"},"management":{"building-selection":"Building selection","title":"Building management"},"report":{"report-generation":"Report generation","title":"Report"},"tour":{"no-tours":"No tours","title":"Tour schedule"}},"opportunity-table":{"buildings":"Buildings","collaborators":"Collaborators","name":"Name","spaces":"Spaces"},"option-create":"Option successfully created","option-update":"Option successfully updated","options-view":{"add-from-scratch":"Add option from scratch","matching-spaces":"Options for this suite:","options-based-on-building-inventory":"Options based on the building inventory"},"pdf-report":{"branding":{"message":"PDF report branding has been successfully updated"}},"please-choose-floor":"Please choose a floor to view existing floorplans","preview":"Preview","price-form-items":{"cost-per-desk":{"empty":"Please provide number of desks and monthly cost of occupancy."},"quoting-rate":{"empty":"Please provide space and monthly cost of occupancy."}},"profile":{"contact":{"title":"Contact"},"header":"Profile","message":"Your profile has been successfully updated","personal-details":{"title":"Personal details"},"phone":{"title":"Phone numbers"},"preferences":{"title":"Region, Language, and Currency"},"preview":{"format":{"currency":"Currency: {{currency}}","date":"Date: {{date}}"},"label":"Format preview"},"report":{"digital":{"intro":{"preview":"Preview","title":"Intro"},"videoUrl":{"help":"Please insert Vimeo URL (e.g. https://player.vimeo.com/video/915744407).","label":"Vimeo URL"}}},"section":{"currency":{"label":"Default currency"},"job":{"label":"Job title"},"locale":{"hint":"It affects your date and number format.","label":"Your locale"},"region":{"hint":"It affects your map search region.","label":"Primary region","placeholder":"Select a region"},"report":{"default-message":"Default message"}}},"promotion-ad":{"be-the-first":"Be the first building that users see and leave a lasting impression","mail-subject":"Hey, I’m interested in Building Promotions.","office-name":"Your office name","want-to-promote":"Want to promote your building on Valve?"},"referral":{"add-option-for":"Add Option for {{name}}","add-to-tour":"Add to tour","event-deleted":"This event was successfully deleted!","message":"Building has been added to tour schedule","tour-requested":"Tour requested","tour-scheduled":"Tour scheduled"},"referral-contact":{"add-new-contact":"Add new contact","confirmation-message":"A confirmation email has been sent to {{email}}, please check your inbox or spam folder","email":{"add":"Add","error":"Incorrect email format","title":"Email"},"email-exists":"This email already exists in your contacts","error":"Please select a contact","label":"Email(s)","link":"Account > Company > Referral Contact","note":"Referral contact can either be a team member or a custom contact, Valve use this to share lead referrals from Agents. To manage custom referral contact, go to","placeholder":"Select a contact","remove":{"error":"{{email}} can not be removed","pop-text":"You are about to remove a referral contact, do you want to proceed?","popup-text":"The email {{email}} is used as referral contact for a few buildings in the inventory. In order to avoid miscommunication, please assign a new referral contact for these buildings before removing this email.","success":"{{email}} has been removed","title":"Assign new referral contact"},"resend-confirmation-email":"Resend confirmation email","table":{"description":"Valve uses this email to share lead referrals from Agents","members":{"confirmed":"Confirmed","unconfirmed":"Unconfirmed"},"title":"Custom referral contact"},"title":"Referral contact","tooltip":{"unconfirmed":"A confirmation email has been sent to the given email, please check your inbox or spam folder"},"try-again-in":"Try again in {{seconds}} seconds"},"referral-list":{"contact-operators":"Contact operators","contact-sales-representative":"Contact Sales representative","count":"{{buildings}} buildings, {{options}} options","empty":"Add buildings by clicking the <2>Add buildings</2> or drop down menu <6>Copy buildings</6> above","enquiry":"Enquiry","error":{"region-error-description":"These buildings are not enabled for your licensed region. Please contact Valve to get access to the required regions.","region-error-header":"To be reviewed","region-error-warning":"Some buildings in this transferred opportunity are not enabled for your licensed region. <1></1> Please contact Valve to get access to the required regions."},"no-results":"Nothing found for {{searchInput}}","search":"Search for Operator, office name or address","sort-asc":"A-Z","sort-desc":"Z-A","sort-label":"Sort","sort-no-options":"No Options - Options","sort-options":"Options - No Options","title":"Buildings"},"report":{"analytics":{"events":{"digital-report-created":{"content":"Digital report created. <author /> <accent>{{date}}</accent>"},"digital-report-document-created":{"content":"Contract requested: <strong>{{referral}}</strong>. <author /> <accent>{{date}}</accent>"},"digital-report-document-opened":{"content":"Digital contract reviewed: <strong>{{referral}}</strong>. <accent>{{date}}</accent>"},"digital-report-feedback":{"content":"{{status}}{{separator}} Changes requested. <accent>{{date}}</accent>"},"digital-report-updated":{"content":"Digital report setting changed to <strong>{{changes}}</strong>. <author /> <accent>{{date}}</accent>"},"opportunity-transferred":{"content":"Opportunity transferred from <strong>{{from}}</strong> to <strong>{{to}}</strong>. <author /> <accent>{{date}}</accent>"},"option-created":{"content":"<strong>{{option}}</strong> added to shortlist. <author /> <accent>{{date}}</accent>"},"option-merged":{"content":"<strong>{{option}}</strong> merged. <author /> <accent>{{date}}</accent>"},"option-removed":{"content":"<strong>{{option}}</strong> removed from shortlist. <author /> <accent>{{date}}</accent>"},"option-updated":{"content":"<strong>{{option}}</strong> updated. <author /> <accent>{{date}}</accent>"},"reaction-created":{"dislike":{"content":"Hidden: <strong>{{name}}</strong>. <accent>{{date}}</accent>"},"like":{"content":"Favourite: <strong>{{name}}</strong>. <accent>{{date}}</accent>"}},"referral-created":{"content":"<strong>{{referral}}</strong> added to shortlist. <author /> <accent>{{date}}</accent>"},"referral-removed":{"content":"<strong>{{referral}}</strong> removed from shortlist. <author /> <accent>{{date}}</accent>"},"view-request-created":{"content":"Viewing requested: <strong>{{referral}}</strong>. <accent>{{date}}</accent>"}},"last-viewed":"Last viewed","recent-activities":"Recent activities","stats":"Stats","total-views":"Total views"},"digital":{"description":"Interactive report with a personalised web link","subject":"Hey, I’m interested in unlocking the digital report.","title":"Digital"},"pdf":{"description":"Report in PDF format","open-designer":"Open report designer","title":"PDF"},"schedule-tour":"Schedule Tour","settings":{"operator-details":{"disabled":"Without operator’s details","enabled":"With operator’s details"},"title":"Settings"},"title":"Report"},"report-form":{"placeholder":"Ex. Building details are outdated or does not reflect the actual situation","provide-feedback":"Please provide feedback regarding this building below.","thank-you":"Thank you for reporting. We will respond to you shortly."},"report-wizard":{"choose-type":"Choose report type","congrats":{"description":"You can review customer engagement (e.g. total views, last viewed) via <2>Manage report</2> on Opportunity page","header":{"subtitle":"Share the report with your customers and track engagement","title":"Congrats! Your report is ready"},"step-title":"Generated report","subtitle":"Share report"},"digital":{"contact":"Contact Sales representative","description":"Interactive report with a personalised web link","locked":"Locked","paid":"This is a paid feature","sample":"View sample","subject":"Hey, I’m interested in unlocking the digital report.","title":"Digital"},"digital-contract":{"add-another":"Add another contract","link":"Link","title":"Digital contract","workspace":{"label":"Workspace","placeholder":"Select a workspace"}},"digital-report-type":{"request-contract":{"subtitle":"Prospects can request a contract for a workspace","title":"Request contract"},"request-to-view":{"subtitle":"Prospects can request a workspace viewing","title":"Request to view"},"sign-contract":{"subtitle":"Prospects can sign a contract via an attached link","title":"Sign contract"}},"include-operators-details":"Include operator’s details","logo":{"hint":"Please upload logo in {{allowedTypes}} format","label":"Prospect logo"},"message":{"description":"Add a personalised message for your customer as an introduction to the digital report. You can customise your default message on the <2>Application settings</2> page.","example-report":"Example report"},"pdf":{"description":"Report in PDF format","title":"PDF"},"personalisation":{"step-title":"Personalisation","title":"Personalise proposal for prospects"},"sign-contract":{"description":"Attach the link to the digital contract, e.g. via Docusign, so customers can review and sign instantly.<1></1>If the workspace has no associated link, customers will only be able to request the contract.","step-title":"Digital contract"},"type":{"choose-prompt":"Choose customer prompt","description":"Choose the complementary action that your customers should take in your digital report depending on your sales cycle.","post-tour":"Post-tour","pre-tour":"Pre-tour","step-title":"Customer prompt","subtitle":"Design your report based on your customer and preferences","title":"Digital report settings"},"view-example":"View example"},"requirements":"Requirements","save-changes":"Save changes","saving":"Saving...","search":{"by-building-space":"Search for a building or space","by-operator":"Search by operator","no-results":"No results","nothing-found":"Nothing found, try changing the search parameters"},"search-opportunity":"Search for your opportunity","select-floor":"Select floor","shortlist":{"no-spaces":"There\'s no additional spaces to include","success":"All spaces have been included"},"size-form-items":{"density":{"empty":"Please provide space and number of desks."}},"space":{"add-shortlist-success":"Selected buildings/spaces have been added to the shortlist","building":"building","buildings":"buildings","bulk-select-buildings_one":"{{count}} buildings selected","bulk-select-buildings_other":"{{count}} buildings selected","bulk-select-description":"{{buildings}} {{buildingText}} ({{spaces}} {{spaceText}}) selected","bulk-select-space_one":"{{count}} space selected","bulk-select-space_other":"{{count}} spaces selected","disabled-tooltip":"Space creation is currently unavailable for freemium accounts. To access this feature, please upgrade to the Professional plan","space":"space","spaces":"spaces","status-bulk-error":"There was an error changing status for selected buildings/spaces","status-bulk-success":"You have successfully changed status for selected buildings/spaces"},"space-forms":{"boking-id":"Booking ID","date-from":"Date from","date-to":"Date to","floorplans":{"hint":"This floor has no floorplan attached, you can add floorplans to buildings."},"private":{"label":"Private","note":"You can\'t change visibility when the building is private"},"public":{"description":"Space is visible to everyone","label":"Public"},"space-id":{"hint":"(operator defined)","placeholder":"Please enter your unique space id here (if you have one)"},"space-name":{"label":"Space name","placeholder":"Enter your space name e.g. 10 Person"},"working-hours-warning":"No working hours defined. Please edit <2>building details</2> first."},"submit-referral":{"new-referral":"You have a new referral","please-reply":"Please reply to this email with your acceptance of this referral along with your pricing and availability."},"submit-referral-form":{"add-contact":"Add contact","body":"You will be sending an enquiry to the operators listed below. Each enquiry will include your opportunity name and requirements, enabling the operators to respond with the latest pricing and availability information. Please make sure to provide as many details as possible to maintain high lead quality.","brief":"Add referral brief","button":"Send enquiry","email-enquiry-cc":"Send a copy of enquiry to my email","header":"Contact operators","mail":{"message":"Message","title":"Title"},"messages":{"enquiries-sent":"You have successfully sent enquiries to operators"},"select-recipients":{"fees":{"hint":"Before contacting operators, please confirm you have terms in place with each operator to secure your commission/fee position"},"hint":"Enquiries will be sent to operators’ default contact or building-specific contact, if provided. You can also add additional e-mail addresses. ","title":"Select recipients"},"share-opportunity-name":"Share opportunity name"},"subscription":{"billed":"Billed {{duration}}","contact-sales":"Contact Sales","current-plan":{"details":{"active-users":"Active users","billing-cycle":"Billing cycle","name":"{{planType}}","renewal-date":"Renewal date"},"hint":"View details of your current subscription plan","title":"Current plan"},"duration":{"quarterly":"Quarterly","yearly":"Yearly (5% discount)"},"enterprise":{"description":"Best for accelerating sales process and improving lead-to-viewing conversion","feature1":"Create interactive proposals for your prospect customers","feature2":"2 Digital Report licenses","feature3":"Optimize lead-to-viewing conversion","feature4":"Use new features as a first","list-footer":"And many more...","title":"Enterprise"},"free":{"feature1":"Building visibility to brokers","feature2":"Basic marketing materials available for brokers","feature3":"Amenities on building level","feature4":"Referrals from brokers","price-description":"Forever","title":"Free"},"overview-plan":{"hint":"Select a region and billing period to view your pricing options","title":"Overview"},"professional":{"description":"Perfect for boosting brand awareness and broker visibility","feature1":"Enhanced brand visibility in marketplace","feature2":"Space pricing and availability visible to brokers","feature3":"All marketing materials available for brokers","feature4":"Centralised lead management platform (BETA)","price-description":"per building per month","title":"Professional"},"professional_plus":{"description":"Designed for optimizing collaboration with brokers","feature1":"Explore the marketplace and compare your brand with others","feature2":"2 Market Explorer licenses","feature3":"Provide pricing and availability updates to brokers efficiently with WMS integration or bulk updates","feature4":"Support & SLA","price-description":"per building per month","secondary-price-description":"platform fee per month","title":"Professional+"},"promo":"Best value","proof":{"contact":{"button":"Talk to us","description":"Speak to our customer success specialists to discuss the right solution for your business.","header":"Not sure which plan is right for you?"},"header":"Trusted by industry experts"},"table":{"column":{"features":"Features"},"details":{"hint":"Select a region and billing period to view your pricing options","title":"Features in detail"},"eighty-per-month":"+ \xa380 per license per month","feature1":"Listing of your buildings in marketplace","feature10":"Floorplan drawing","feature11":"PDF report","feature12":"Digital report","feature13":"Additional digital report user licenses","feature14":"Tour management (including calendly integration)","feature15":"Client engagement tracking","feature16":"Send & sign contract","feature17":"LeadDADI CRM integration","feature18":"Bulk P&A content update","feature19":"WMS integration","feature2":"Listing of your spaces in marketplace","feature20":"Dynamic proposal (additional user licenses)","feature21":"Building promotions","feature3":"Pricing and availability visibility in marketplace","feature4":"Branded map elements","feature5":"Enriched marketing content for your listing","feature6":"Market explorer access","feature7":"Additional market explorer user licenses","feature8":"Proposal shortlist","feature9":"Proposal content customization","forty-per-month":"+ \xa340 per license per month","group1":"Building management","group2":"Marketplace brand activation","group3":"Dynamic proposals","group4":"Integrations","group5":"Add-ons","two-licenses":"(2 licenses)","unlimited":"Unlimited"}},"terms-conditions":{"accept":"Accept terms & conditions","logout":"Logout"},"tours":{"empty":"Add buildings by clicking the <2>Add buildings</2>","title":"Tours"},"update-desk-form":{"message":{"saved":"Desk saved"}},"update-space-form":{"message":{"saved":"Space saved"}},"upgrade":"Upgrade","upgrade-promo":{"branding":{"adjust-color-description":"Adjustable colour palette","customize-pin-description":"Customizable map pin","description":"Enhance your visibility and appeal to agents and brokers with customized branding","list-header":"What you can expect:","title":"Customize Your Brand Identity"},"enquiry":{"communicate-directly":"Communicate directly with operators","confirm-pricing-and-availability":"Confirm pricing and availability","description":"A centralised communication system for agents and operators","resolve-unclear-requirements":"Resolve unclear lead requirements","respond-to-lead-requests":"Respond directly to lead requests","send-reports-faster":"Send out reports faster","sync-inventory-automatically":"Sync automatically with operators\' inventory","title":"Enquiry System","track-lead-statuses":"Track lead statuses","update-opportunities-instantly":"Update agents\' opportunities instantly"},"general":{"book-tours-description":"Manage roles and permissions","description":"Unlock the full control over your team structure and permissions","list-header":"What you can expect:","tailor-opportunities-description":"Manage access for team members","title":"Enhanced Team Management"},"members":{"book-tours-description":"Manage roles and permissions","description":"Unlock the full control over your team structure and permissions","list-header":"What you can expect:","tailor-opportunities-description":"Manage access for team members","title":"Enhanced Team Management"},"opportunity":{"book-tours":"Book tours instantly","book-tours-description":"Eliminate delays and schedule tours instantly.","customize-brand":"Customize your brand","customize-brand-description":"Add your own content and branding elements","streamline-proposals":"Streamline proposals","streamline-proposals-description":"Design, share, and update proposals seamlessly.","tailor-opportunities":"Tailor opportunities","tailor-opportunities-description":"Select and share the best building and space options to meet customer needs.","title":"Elevate client engagement with opportunities"},"upgrade-now":"Upgrade now"},"upload":{"files-and-limit":"Please use {{files}} files not bigger than {{limit}}MB","files-and-size-and-limit":"Please use {{files}} files. Images must be at least {{width}}px wide, {{height}}px height and no larger than {{limit}}MB","title":"Drag and drop a file here or simply click to add file"},"viewing":{"added-by-you":"Added by you","requested-from-report":"Requested from report"},"zoom-to-results":"Zoom to results"}'),amenities:JSON.parse('{"24/7-access":"24/7 access","air-conditioning":"Air conditioning","backup-internet-connection":"Backup internet connection","balcony":"Balcony","brainstorming-rooms":"Brainstorming rooms","breakout-areas":"Breakout areas","business-lounge":"Business lounge","cafe":"Cafe","call-handling":"Call handling","car-parking":"Car parking","cat-567-cabling":"CAT 567 cabling","cctv":"CCTV","changing-rooms":"Changing rooms","cleaning":"Cleaning","coffee":"Coffee","conference-rooms":"Conference rooms","cycle-parking":"Cycle parking","dda-compliance":"DDA compliance","disable-access":"Disabled access","dog-friendly":"Dog friendly","event-space":"Event space","exercise-studio":"Exercise studio","filtered-water":"Filtered water","fully-furnished":"Fully furnished","games-lounge":"Games lounge","gym":"Gym","kitchen":"Kitchen","lift":"Lift","lockers":"Lockers","mail-handling":"Mail handling","meeting-rooms":"Meeting rooms","mindfulness-rooms":"Mindfulness rooms","on-site-barista":"On site barista","on-site-staff":"On site staff","outdoor-space":"Outdoor space","phone-booths":"Phone booths","printing":"Printing","restaurant":"Restaurant","restaurant-on-site":"Restaurant on site","rooftop-terrace":"Rooftop terrace","secretarial-services":"Secretarial services","secure-server-rooms":"Secure server rooms","security-guards":"Security guards","showers":"Showers","single-sex-toilets":"Single sex toilets","snacks-and-refreshments":"Snacks and refreshments","storage":"Storage","unisex-toilets":"Unisex toilets","video-conferencing":"Video conferencing","voip":"VOIP","wellness-room":"Wellness room","wi-fi":"Wi-Fi"}'),common:JSON.parse('{"add":"Add","add-file":"Add file","add-to-shortlist":"Add to shortlist","address":"Address","agent":{"admin-only":{"label":"Admin-only","tooltip":"Only admins have the rights to edit this section"},"group-buildings":{"confirm-delete":{"description":"Removing a group will not delete its associated buildings from the shortlist. These will be listed under Others instead. Are you sure you want to proceed?","title":"Removing {{name}}"},"disabled":"Upgrade to enable feature"}},"agree":"Agree","all-opportunities":"All opportunities","amenities":"Amenities","annual-cost":"Annual cost","apply":"Apply","available":"Available","available-from":"Available from","back":"Back","budget-units":{"PER_MONTH":" monthly","PER_YEAR":" annually","TOTAL":" total"},"building-group":{"presale":"Presale","private":"Private","standard":"Public"},"building-not-found":"Building not found","building-status":{"label":{"AVAILABLE":"Spaces available","AVAILABLE_SOON":"Spaces available soon","OCCUPIED":"Fully occupied","UNDER_OFFER":"Spaces reserved"},"tooltip":{"AVAILABLE":"Some spaces are currently available","AVAILABLE_SOON":"Some spaces will be available within 3 months","OCCUPIED":"No spaces are currently available","UNDER_OFFER":"Spaces are currently reserved but may become available soon"}},"buildings":"Buildings","button":{"download-pdf":"Download PDF"},"cancel":"Cancel","clear":"Clear","clear-all":"Clear all","clear-drawing":"Clear drawing","clear-filters":"Clear filters","close":"Close","closing-slides":{"title":"Closing slides"},"collaborators":"Collaborators","collapse-all":"Collapse all","commission":"{{amount}}% commission","commission-details":"View commission details","commission-not-set":"Commission not yet specified","commission-not-set-description":"This is a new feature, and is taking time for operators to upload their commissions. Please confirm commission with the operator","commission-note":"Note: <accent>Valve</accent> is not responsible for the processing of commissions or fee positions","company":{"company-details":"Company details","company-logo":"Company logo","company-name":"Company name","default-booking-contact":{"caption":"This contact is shared with Distributors for bookings.","title":"Default booking contact"}},"confirm":"Confirm","contact-type":{"landline":"Landline","organization":"Organization","personal":"Personal","primary":"Primary","work":"Work"},"cookie-consent":{"description":"By clicking \\"Accept\\", you agree to the storing of cookies on your device to enhance site navigation, analyse site usage, and assist in our marketing efforts. View our <2>Privacy Policy</2> for more information.","title":"Cookie Consent"},"copy-link":"Copy link","cost-per-desk":"Cost per desk","cost-per-desk-short":"Cost/desk","count":{"options_one":"{{count}} options","options_other":"{{count}} options"},"create":"Create","create-space":"Create space","density":{"per-desk":" per desk"},"description":"Description","desk-types":{"DEDICATED":{"title":"Dedicated"},"HOT":{"title":"Hot"}},"details":"Details","digital-report":{"notifications":{"previously":"Previously"}},"discard":"Discard","download-pdf":"Download PDF","draw-area":"Draw area","duplicate":"Duplicate","edit":"Edit","email":"Email","empty":{"nothing-found":"Nothing found, try changing your filter requirements"},"enquiries":{"lead-declined":"Declined"},"error-default":"Something went wrong, please try again","exclude-all":"Exclude all","expand":"Expand","expand-all":"Expand all","favourites":"Favourites","filter":"Filter","floor":"Floor","floor-number":"Floor {{number}}","floor-plans":"Floorplans","floor-plans-count_one":"Floorplans ({{count}})","floor-plans-count_other":"Floorplans ({{count}})","form":{"confirm":{"content":"You are about to leave the editor. There are unsaved changes, do you want to discard them and leave?","title":"Do you want to discard the changes?"}},"front-cover":{"add-front-cover":"Add front cover","delete-front-cover":{"message":"Are you sure you want to delete this front cover?","title":"Delete front cover"},"drawer":{"create":{"title":"Create front cover"}},"title":"Front cover"},"generate":"Generate","generate-report":"Generate report","image":"Image","include-all":"Include all","insights":"Insights","inventory-view":{"all":"All","enquiries":"Enquiries"},"invite":"Invite","key-dates":"Key dates","key-type":{"built":"Built (Practical Completion)","closed":"Closed down","launched":"Launch","renovated":"Renovated","update-operator":"Changed operator"},"last-updated":"Last updated","lead":{"rejection-feedback":{"bad-inventory-selection":"Selected buildings or spaces are not matching.","bad-requirements":"Requirements are not clear enough.","modal":{"button":"Send","comments":{"error":"Comments are required if you choose \\"Other reasons\\"","label":"Comments","placeholder":"Tell us more about your reason (max. 200 characters)"},"title":"Please provide a decline reason"},"occupied-inventory":"Selected buildings or spaces are occupied.","other":"Other reason.","success-message":"Your feedback has been successfully sent."}},"manage-report":"Manage report","manage-template":{"form":{"create":{"title":"Create custom template from {{name}}"},"update":{"title":"Update template {{name}}"}}},"map":"Map","marketing-content":{"guideline":{"failed":"The image you have uploaded has incorrect aspect ratio. Please follow our guidelines below for uploading in the correct format.","guidelines_1":"To help your Marketing content slides look the best they can, they should be uploaded to the dimensions of<1> </1><2>A4 landscape paper.</2>","guidelines_2":"We recommend using a slide editor such as Powerpoint or Google Slides and setting the size of A4 from there.","guidelines_3":"If you were require any further assistance please contact:<1></1><2>{{email}}</2>","title":"Marketing content upload guidelines"},"hint":"Marketing content helps convey your branding to agents as well as provide additional information about what your business offers.","title":"Marketing content"},"members":{"manage-members":{"header":{"member":"Member","role":"Role","updated-at":"Last updated"},"invite-new-members":{"form":{"add-member":"Add member","description":"Please send a request to Valve to invite new members to your team. They will receive access via email as soon as possible.","email":{"error":"This email already exists in the system","label":"Email","placeholder":"Enter email"},"full-name":{"label":"Full name","placeholder":"Enter full name"},"request-access":"Request access","response":{"success":"You have successfully requested for user access approval"},"role":{"label":"Role","tooltip":"Admins are allowed to invite new members, request access, remove access, and change member roles"}},"title":"Invite new members"},"list":{"actions":{"cancel-request":"Cancel request","request-to-remove-access":{"cancel":{"success":"You have successfully cancelled request to remove access for {{name}}","title":"Previously you have requested to remove access, do you want to cancel this request?","tooltip":"Cancel request to remove access"},"remove-access":"Remove access","retry":{"tooltip":"Resend remove access request"},"success":"You have successfully requested to remove access for {{name}}","title":"Do you want to request to remove access?","tooltip":"Request to remove access"},"request-to-restore-access":{"cancel":{"success":"You have successfully cancelled request to restore access for {{name}}","title":"Previously you have requested to restore access, do you want to cancel this request?","tooltip":"Cancel request to restore access"},"retry":{"tooltip":"Resend restore access request"},"success":"You have successfully requested to restore access for {{name}}","tooltip":"Request to restore access"}}},"role":{"admin":"Admin","member":"Member"},"title":"Manage members"},"title":"Members"},"merge":"Merge","monthly-cost-of-occupancy":"Monthly cost of occupancy","move-in-date":"Move-in date","name":"Name","next":"Next","number-of-desks":"Number of desks","number-of-desks-short":"Desks","occupied":"Occupied","office-suite-card":{"floor-level":"Floor level","space-location":{"tooltip":{"entire-floor":"Entire floor rent","exterior":"Has windows","exterior-interior":"Both exterior and interior","interior":"Doesn\'t have windows"}}},"office-suite-space-location":{"entire-floor-lowercase":"entire floor","exterior-interior-lowercase":"exterior & interior","exterior-lowercase":"exterior","interior-lowercase":"interior"},"office-suite-status":{"label":{"AVAILABLE":"Available","AVAILABLE_SOON":"Available soon","LIMITED_AVAILABILITY":"Limited Availability","OCCUPIED":"Occupied","UNDER_OFFER":"Under offer"}},"office-suite-visibility":{"label":{"PRIVATE":"Private","PUBLIC":"Public"}},"operators":"Operators","option":"Option","option-title":"Option title","order-by":{"alphabetical":"Alphabetical","last-created":"Last created"},"owner":"Owner","password":"Password","period-units":{"months":" months"},"photos":"Photos","placement":"Placement","previous":"Previous","proceed":"Proceed","profile":{"logout-of-my-account":"Log out of my account"},"promo":"Promo","quoting-rate":"Quoting rate","quoting-rate-units":{"PER_DESK":" / desk","PER_SQUARE_FOOT":" / ft\xb2","PER_SQUARE_METER":" / m\xb2"},"recipient":"Recipient","refresh-now":"Refresh now","reload":"Reload","remove":"Remove","remove-from-shortlist":"Remove from shortlist","reschedule":"Reschedule","reset":"Reset","resolve":"Resolve","resolved":"Resolved","restore":"Restore","save":"Save","save-and-request-to-publish":"Save and request to publish","search":"Search","select-all":"Select all","select-currency":"Select currency","select-type":"Select type","select-unit":"Select unit","send":"Send","share":"Share","share-opportunity":{"description":"Collaborators are allowed to adjust your shortlist and generate reports. A maximum of 3 people can collaborate on the same opportunity.","remove":"{{member}} has been removed from collaborators.","select-member":{"label":"Select a member"},"success":"{{members}} invited to collaborate","title":"Manage collaborators"},"share-report":"Share report","show-columns_one":"Show columns ({{count}})","show-columns_other":"Show columns ({{count}})","show-less-activities":"Show less activities","show-more-activities":"Show more activities","size":"Size","size-unit":{"square-foot":"ft\xb2","square-foot-full":"Square foot","square-meter":"m\xb2","square-meter-full":"Square meter"},"size-units":{"DESK":" desks","SQUARE_FOOT":" ft\xb2","SQUARE_METER":" m\xb2"},"sizes":{"per-desk":"per desk","per-sq-ft":"per ft\xb2","per-sq-m":"per m\xb2"},"space-location":{"entire-floor":"Entire floor","exterior":"Exterior","exterior-interior":"Exterior & Interior","interior":"Interior","not-specified":"Not specified"},"space-type":"Space type","status":{"active":"Active","inactive":"Inactive","requested":"Requested"},"subscription":{"free":{"description":"Ideal for making your locations visible in the market","price-description":"Forever"},"price-description":"per building per month","price-description-yearly":"per building per year"},"table":"Table","template-form":{"custom-css":{"label":"Custom CSS"},"font":{"label":"Font"},"font-size":{"label":"Font size"},"font-weight":{"label":"Font weight"},"position":{"label":"Position (Left-Right-Top-Bottom, in px)"},"text-alignment":{"label":"Text alignment"},"text-colour":{"label":"Text colour"}},"template-type":{"base":"Popup","horizontal":"Landscape image","horizontal-video":"Video","vertical":"Portrait image"},"term-length":"Term length","text":{"about-company":"About company","accept":"Accept","actions":"Actions","add-buildings":"Add buildings","added":"Added","added-options":"Added option/s","additional-contact":"Additional contact","address":"Address","agent":"Agent","all-amenities":"All amenities","all-numbers":"All numbers","all-prices":"All prices","all-sizes":"All sizes","all-types":"All types","amount-employees":"{{amount}} employees","any":"Any","availability":"Availability","available-for-booking":"Available for booking","available-from":"Available from","average-response-time":"Average response time","booking":"Booking","booking-email":"Booking contact","branding":"Branding","broker":"Broker","budget":"Budget","budget-note":"Please select a unit and provide the value, excluding VAT.","building-name":"Building name","building-space-name":"Building/Space name","buildings":"Buildings","city":"City","client":"Client","company-website":"Company website","contact":"Contact","contact-date":"Contact date","contact-for-details":"Contact Valve for details","contact-person":"Contact person","cost-desk-per-month":"{{cost}} per month","cost-per-desk":"Cost per desk","cost-per-month-short":"Cost/month","cost-per-name":"Cost per {{name}}","create-building":"Create building","create-desk":"Create desk","create-opportunity":"Create opportunity","create-option":"Create option","create-space":"Create space","created-at":"Created: {{at}}","current-address":"Current address","current-company-address":"Current company address","custom":"Custom","date":"Date","default":"Default","deny":"Deny","desk-density":"Desk density","desk-id-id":"Desk ID: {{id}}","desks":"Desks","different-currencies":{"description":"For correct display of the report, it is better to divide them into parts containing the same currencies systems.","title":"This opportunity contains buildings with different currencies systems"},"digital-report":"Digital report","email":"Email","emails":"Email(s)","feedback":"Feedback","floor":"Floor","floor-name":"{{floor}} floor","full-name":"Full name","general":"General","interested-in-beta-testing":"Are you interested in testing our beta version? Please get in touch","last-month":"Last month","last-updated":"Last updated","last-updated-at":"Last updated: {{at}}","lead":"Lead","logout":"Logout","map":"Map","marketing-content":"Marketing content","media":"Media","message":"Message","monthly-cost-of-occupancy":"Monthly cost of occupancy","move-in-date":"Move in date","name":"Name","notes":"Notes","number-of-desks":"Number of desks","operator":"Operator","operators":"Operators","opportunities":"Opportunities","option":"Option","option-number":"Option #{{number}}","others":"Others","overview":"Overview","pdf-report":"PDF report","phone":"Phone","photo":"Photo {{index}}","photos_one":"Photos ({{count}})","photos_other":"Photos ({{count}})","placement":"Placement","pricing":"Pricing","private-notes":"Private notes","private-notes-note":"Enter any information which will be helpful for you to prospect this opportunity.","prospect":"Prospect","referral-id":"Referral ID: {{id}}","report-content":"Report content issue","request-contract":"Request contract","request-to-view":"Request to view","schedule":"Schedule","select-floor":"Select floor","shortlist":"Shortlist","show":"Show","sign-contract":"Sign contract","space-id":"Space ID","space-size":"Space size","space-visibility":"Visibility","spaces-available":"Spaces available","status":"Status","subscription":"Subscription","term-length":"Term length","term-length-months":"Term length, months","this-is-paid-feature":"This is a paid feature","this-week":"This week","time":"Time","title":"Title","tour-overlap-found":"Please, check your tour schedule. There is an overlap.","update-option":"Review & Edit Option","url":"URL","view":"View","view-homepage":"View homepage","visibility":"Visibility","website":"Website","working-hours":"Working hours"},"tour-schedule":{"generate":"Generate tour schedule","open":"Open tour schedule"},"tours":"Tours","train-station":"Train station","transfer":"Transfer","transfer-opportunity":{"description":"Transferring an opportunity to another member will give them the rights to view and edit. You will <strong>no longer have access</strong> to this opportunity afterwards.","message":{"placeholder":"Leave a message for the recipient"},"select-member":{"label":"Select a member"},"success":"{{name}} was successfully transferred to {{owner}}","title":"Transfer opportunity"},"transport":"Transport","untitled":"Untitled","untitled-option":"Untitled option","url-copied":"URL copied to clipboard","use-range":"Use range","validation":{"max-characters-count_one":"Description cannot exceed {{count}} characters","max-characters-count_other":"Description cannot exceed {{count}} characters"},"videos":"Videos","view":"View","view-report":"View report","visible-only-company":"Building is not public and only visible for internal use","work-days":{"friday":"Friday","monday":"Monday","saturday":"Saturday","sunday":"Sunday","thursday":"Thursday","tuesday":"Tuesday","wednesday":"Wednesday"}}'),count:JSON.parse('{"brochures_one":"{{count}} brochure","brochures_other":"{{count}} brochures","buildings_one":"{{count}} building","buildings_other":"{{count}} buildings","buildings-accent_one":"{{count}} <accent>buildings</accent>","buildings-accent_other":"{{count}} <accent>buildings</accent>","floorplans_one":"{{count}} floorplan","floorplans_other":"{{count}} floorplans","marketing-content_one":"{{count}} item of marketing content","marketing-content_other":"{{count}} items of marketing content","operators-accent_one":"{{count}} <accent>operators</accent>","operators-accent_other":"{{count}} <accent>operators</accent>","options_one":"{{count}} options","options_other":"{{count}} options","options-selected_one":"{{count}} options selected","options-selected_other":"{{count}} options selected","plus-more-amenities_one":"+ {{count}} amenities","plus-more-amenities_other":"+ {{count}} amenities","plus-types_one":"+ {{count}} types","plus-types_other":"+ {{count}} types","requests_one":"{{count}} request","requests_other":"{{count}} requests","spaces_one":"{{count}} space","spaces_other":"{{count}} spaces","spaces-accent_one":"{{count}} <accent>spaces</accent>","spaces-accent_other":"{{count}} <accent>spaces</accent>","symbols-max_one":"{{count}} symbol max","symbols-max_other":"{{count}} symbols max","virtual-tours_one":"{{count}} virtual tour","virtual-tours_other":"{{count}} virtual tours"}'),currencies:JSON.parse('{"AED":"AED - United Arab Emirates Dirham","AUD":"AUD - Australian Dollar","BYN":"BYN - Belarusian Ruble","CAD":"CAD - Canadian Dollar","CHF":"CHF - Swiss Franc","CNY":"CNY - Chinese Renminbi Yuan","CZK":"CZK - Czech Koruna","DKK":"DKK - Danish Krone","EGP":"EGP - Egyptian Pound","EUR":"EUR - Euro","GBP":"GBP - British Pound","HKD":"HKD - Hong Kong Dollar","HUF":"HUF - Hungarian Forint","IDR":"IDR - Indonesian Rupiah","ILS":"ILS - Israeli New Shekel","INR":"INR - Indian Rupee","JPY":"JPY - Japanese Yen","KRW":"KRW - South Korean Won","MAD":"MAD - Moroccan Dirham","NGN":"NGN - Nigerian Naira","NOK":"NOK - Norwegian Krone","PHP":"PHP - Phillipine Peso","PLN":"PLN - Polish Złoty","RON":"RON - Romanian Leu","RUB":"RUB - Russian Ruble","SEK":"SEK - Swedish Krona","SGD":"SGD - Singapore Dollar","THB":"THB - Thai Baht","TRY":"TRY - Turkish Lira","UAH":"UAH - Ukrainian Hryvnia","UGX":"UGX - Ugandan Shilling","USD":"USD - US Dollar","VND":"VND - Vietnamese Đồng","ZAR":"ZAR - South African Rand"}'),"digital-report":JSON.parse('{"about-building":"About building","available-options_one":"Available options","available-options_other":"Available options","best-regards":"Best regards,<1></1>{{agentName}}","building":{"calendly-details":"Calendly details","cancel-contract-request":"Cancel contract request","cancel-request":"Cancel request","cancel-viewing-request":"Cancel viewing request","cancelling-request":"Cancelling request","contract-ready-to-sign":"Contract is ready to sign","contract-requested":"Contract requested","options-count":{"contract-ready-for-options_one":"Contract is ready to sign for {{count}} option","contract-ready-for-options_other":"Contract is ready to sign for {{count}} options","contract-requested-for-options_one":"Contract requested for {{count}} option","contract-requested-for-options_other":"Contract requested for {{count}} options","viewing-requested-for-options_one":"Viewing requested for {{count}} options","viewing-requested-for-options_other":"Viewing requested for {{count}} options"},"popover":{"cancelled":"The request is cancelled","done":"Done!","requested":"A consultant will be in touch asap"},"request-cancelled":"Request cancelled","requested":"Requested","requesting":"Requesting","send-again":"Send again","viewing-requested":"Viewing requested"},"contact":"Contact","content":{"request-changes":"Request changes"},"cost":"Costs","cost-of-occupancy":"Cost of occupancy","cost-per-ft":"Cost per ft\xb2","cost-per-meter":"Cost per m\xb2","currency-warning":"If you use this filter, buildings may not be displayed correctly.","do-not-show-again":"Do not show this message again","feedback":{"amenities":"The space should have certain amenities.","content":"<0>Can\'t find what you\'re looking for? We can help with that.</0><1></1>Give feedback on the proposal to get better results.","created":"Thank you for your feedback! You will be notified about an updated proposal soon.","larger-options-size":"The space should be larger.","less-desks":"The space should have fewer desks.","less-expensive":"The space should be less expensive.","location":"The location should be more central.","modal":{"button":"Send feedback","comments":{"error":"Comments are required if you choose \\"Other reasons\\"","label":"Comments","placeholder":"Tell us more about your criteria (max. 200 characters)"},"proposals":{"error":"Please pick at least one reason"},"title":"How should we improve the selection?"},"more-desks":"The space should have more desks.","more-options":"I like the selection but want to see more options.","other":"Other reasons (please specify).","smaller-options-size":"The space should be smaller.","success-message":"Your feedback has been successfully sent."},"instruction":{"next-steps":"Next steps","step-one":{"description":"Browse through the selection","title":"Explore options"},"step-three":{"description":"An agent will assist you personally","request-contract":{"description":"Select your favourite workspace and request a contract"},"request-to-view":{"description":"Select your favourites and request to view"},"sign-contract":{"description":"Review the attached contract/s and sign it via the attached link"},"title":"Personal consultation"}},"javascript-disabled":"JavaScript is disabled in your browser.","language":"Language","measurement":"Measurement","meta-description":"View your digital report","not-found-page":"Sorry we couldn\'t find this page.","notifications":{"events":{"digital-report-updated":{"request-contract":"Request contracts for available workspaces. <accent>{{date}}</accent>","request-to-view":"Request viewings for available workspaces. <accent>{{date}}</accent>","sign-contract":"Contracts are ready to be signed. <accent>{{date}}</accent>"},"option-created":{"content":"<strong><building /> / <option /></strong> added to shortlist. <accent>{{date}}</accent>"},"option-removed":{"content":"<strong><building /> / <option /></strong> removed from shortlist. <accent>{{date}}</accent>"},"option-updated":{"content":"<strong><building /> / <option /></strong> updated. <accent>{{date}}</accent>"},"referral-created":{"content":"<strong><building /></strong> added to shortlist. <accent>{{date}}</accent>"},"referral-removed":{"content":"<strong>{{referral}}</strong> removed from shortlist. <accent>{{date}}</accent>"}},"mark-as-read":"Mark all as read","no-new":"No new notifications","title":"Notifications"},"page-error":"<0>Oops</0><1>Something went wrong, please try <2>again</2>.</1>","rotate-device":"Please, rotate your device.","show-buildings-count_one":"Show {{count}} buildings","show-buildings-count_other":"Show {{count}} buildings","show-less":"Show less","space-ft":"Space, ft\xb2","space-meter":"Space, m\xb2","toggle-view":{"map":"Show map","offices":"Show offices"},"view-report":"View report"}'),"front-cover":JSON.parse('{"form":{"background-image":{"hint":"Background image should be A4 landscape format (297x210) and uploaded as {{allowedTypes}}","label":"Background image"},"edit":{"title":"Edit front cover"},"layout":{"hint":"Create your own custom templates by editing existing ones","label":"Layout"},"preview":{"label":"Preview","name":"John Smith","opportunity-name":"Opportunity name","prepared-by":"Prepared by"},"template":{"delete":"Are you sure you want to remove this template?"}}}'),industries:JSON.parse('{"aerospace-and-defence":"Aerospace and Defence","automotive":"Automotive","banking-and-financial-services-and-insurance":"Banking / Financial Services / Insurance","business-services":"Business Services","charities":"Charities","chemicals":"Chemicals","education":"Education","engineering-and-construction":"Engineering and Construction","forest-paper-and-packaging":"Forest, Paper and Packaging","government-and-public-services":"Government and Public Services","healthcare":"Healthcare","hospitality-and-leisure":"Hospitality and Leisure","legal-services":"Legal Services","manufacturing":"Manufacturing","media-and-creative":"Media and Creative","mining-and-metals":"Mining and Metals","oil-and-gas":"Oil and Gas","other":"Other","pharmaceutical-and-life-sciences":"Pharmaceutical and Life Sciences","power-and-utilities":"Power and Utilities","private-equity":"Private Equity","real-estate":"Real Estate","retail-and-consumer":"Retail and Consumer","sports-and-entertainment":"Sports & Entertainment","technology":"Technology","telecommunications":"Telecommunications","transport-and-logistics":"Transport and Logistics"}'),password:JSON.parse('{"change-password":"Change password","confirm-new-password":{"label":"Confirm new password","placeholder":"Re-enter your new password"},"current-password":{"label":"Current password","placeholder":"Enter your current password"},"do-not-match":"The passwords don\'t match","does-not-match":"The password does not match!","message":"Your password has been updated successfully","new-password":{"label":"New password","placeholder":"Enter your new password"},"rules":{"minimum-length_one":"Minimum password length is {{count}} symbols","minimum-length_other":"Minimum password length is {{count}} symbols","require-lowercase":"Must contain at least one lowercase letter","require-numbers":"Must contain at least one number","require-symbols":"Must contain at least one special symbol: !@#$%^&*(){}\\"","require-uppercase":"Must contain at least one capital letter"}}'),report:JSON.parse('{"cover":{"cover-support":"Choose a cover page for your report. To add or remove a cover sheet, either contact support at <2>support@valvespace.com</2> or upload new slides directly through the Application settings if you are an Admin user .","date":"Date","front":"Front cover","prepared-by":"Prepared by","report-for":"Report for","report-for-name":"Report for {{name}}","schedule-for":"Schedule for","schedule-for-name":"Schedule for {{name}}","slogan":"Flexible Workspace Options"},"designer":{"feedback":"Feedback and improvements","operator-transparency-settings":{"address":"Show building addresses","branding":"Show operator branding","button":"Operator visibility settings","page-numbering":"Page numbering","request-view-button":"Request to view button"},"report-designer":"Report designer","tour-designer":"Schedule designer","valve-disclaimer":"Valve will be investing further product and engineering resource in Report generation. Our medium term goal is to provide fully customisable and uniquely designed templates for you. If you have any feedback please email <2>product.feedback@valvespace.com</2>."},"drawer":{"add-slide":"Slide","slide-added":"Slide added","slides_one":"{{count}} slides","slides_other":"{{count}} slides","tab":{"content":"Content","floors":"Floors","others":"Others"}},"header":{"how-to":"How to convert PDF to Powerpoint","popover":"<0>Download the Report in PDF</0><1>Go to <2>smallpdf.com</2> and follow the instructions on it</1>"},"office-price":{"empty":"Operator provides on request","title":"Guide Pricing"},"options":{"and-more-options_one":"and {{count}} more options","and-more-options_other":"and {{count}} more options"},"request-to-view":"Request to view","section":{"add-slides":"Slides","include-in-report":"Include in report","name-floorplan":"Floor {{number}}","title":{"closing":"Closing slides","general":"General slides"}},"slide":{"contact":{"your-contact":"Your contact"},"map":{"range-buildings":"{{from}} - {{to}} buildings","schedule-options_one":"Schedule of {{count}} options","schedule-options_other":"Schedule of {{count}} options","tour-plan":"Tour plan"},"option-comparison":{"annual-cost":"Annual cost","cost":"Cost per area unit","monthly-cost":"Monthly cost","table":"Option comparison table"},"range-of-options":"{{from}} - {{to}} options","title":{"about-building":"About building","comparison":"Option comparison","contact":"Contact","disclaimer":"Disclaimer","options":"Options","scope-of-service-confirmation":"Scope of service confirmation"}}}'),"space-type":JSON.parse('{"coworking-desks":{"description":"Hot desks and fixed desks in a coworking environment.","title":"Coworking desks"},"event-space":{"description":"Dedicated space for hosting standing and/or seated events.","title":"Event space"},"meeting-room":{"description":"A room where a number of people can have a meeting.","title":"Meeting room"},"membership":{"description":"Business lounge access usually without a coworking desk.","title":"Membership"},"miscellaneous":{"title":"Miscellaneous"},"not-specified":{"title":"Not specified"},"pipeline-managed-space":{"description":"Space that is owned, operated and leased by the landlord. Available with short term leases.","title":"Prebuilt space (lease)"},"private-office":{"description":"Fully furnished private offices with shared facilities.","title":"Private office"},"self-contained-managed-space":{"description":"Large turn key requirements with some customisation, including a private kitchen area.","title":"Managed space (licence)"}}'),transport:JSON.parse('{"distance":{"foot_one":"{{count}} ft","foot_other":"{{count}} ft","km_one":"{{count}} km","km_other":"{{count}} km","meters_one":"{{count}} meter","meters_other":"{{count}} meters","miles_one":"{{count}} mile","miles_other":"{{count}} miles"},"duration":{"minutes":"{{value}} min","seconds":"{{value}} sec"},"walk":"{{duration}} walk"}'),utils:JSON.parse('{"max":"max {{value}}","min":"min {{value}}","range":{"from":"from {{from}}","from-to":"from {{from}} to {{to}}","from-to-short":"{{from}} - {{to}}","to":"to {{to}}"}}'),validation:JSON.parse('{"at-least-one-referral-selected":"At least one referral should be selected","equal-to":"Value is equal to {{value}}","errors-in-fields":"You have errors in the following fields: {{fields}}","image":{"required":"Please upload image"},"invalid-email":"Value is not a valid email","invalid-file":"Invalid file","invalid-url":"Value must be a valid URL, e.g. https://valvespace.com","is-after":"\\"Till\\" must be later than \\"From\\"","max-length_one":"{{field}} cannot be longer than {{count}} symbols","max-length_other":"{{field}} cannot be longer than {{count}} symbols","max-lines_one":"{{field}} cannot have more than {{count}} lines","max-lines_other":"{{field}} cannot have more than {{count}} lines","max-value":"Please input maximum value","min-height":"Image must be at least {{height}}px height","min-value":"Please input minimum value","min-width":"Image must be at least {{width}}px wide","more-than":"Value is more than {{value}}","required-condition":"{{first}} is required if {{second}} is on","required-field":"This field is required"}')},"en-US":{agent:JSON.parse('{"add-buildings":{"add-buildings-to-opportunity":"Add buildings to {{name}}","message":"Opportunity requirements transferred and applied to filters.","message_one":"{{count}} buildings have been added to opportunity","message_other":"{{count}} buildings have been added to opportunity"},"add-key-date":"Add key date","add-phone-number":"Add phone number","all-operators":"All Operators","availability":{"locked":{"body":"Hey Valve Team, we are interested in showing our full availability to agents. Could you tell us a bit more about suitable plans, that allow us to show our full availability.","content":"Your Spaces, Pricing and Availability is currently not visible to Agents and Brokers, to upgrade, contact our Sales Team.","subject":"Upgrade to show full availability"}},"availability-panel":{"all-occupied":"This building is fully occupied","available-soon":"This building is fully occupied, but some spaces will be available within 3 months","available-spaces_one":"This building has <accent>{{ count }} available space</accent>","available-spaces_other":"This building has <accent>{{ count }} available spaces</accent>","limited-availability":"This building has reserved spaces that may become available soon"},"back-to-key-dates":"Back to key dates","booking":{"price":{"at-least-one":"At least one booking price should be set","label":"Booking price","note":"This will be used for booking only","unit":{"per-day":"per day","per-hour":"per hour"}}},"booking-without-working-hours":"You can\'t mark a space as available for booking without specifying working hours","branding":{"map":"Map","map-pin":"Map pin","pin-preview":"Pin preview","primary-color":{"label":"Primary color","placeholder":"Enter HEX code"}},"building-forms":{"address":{"building-street-name":"Building / Street number","country":"Country","latitude":"Latitude","location":"Location","longitude":"Longitude","postcode":"Postcode","region":"Region","street":"Street","town":"Town"},"address-search":{"placeholder":"Start typing to get suggestions","search":"Address finder"},"building-group":{"approved-by-valve":"Approved by Valve","awaiting-approval":"Awaiting approval","cancel-request-button":"Cancel publishing request","cancel-request-description":"Are you sure you want to cancel this request?","cancel-request-success":"Request cancelled successfully","cancel-request-title":"Cancel publish request","close":"Close","create-building-first":"In order to request to publish, a building needs to be created first","info-tooltip":"By default, a new building is private and only visible for your company. To make building visible for everyone on the map, approval from Valve is needed prior to publishing","proceed":"Proceed","rejected-by-valve":"Rejected by Valve","request-approval-button":"Request to publish","request-approval-success":"You have successfully requested for building approval"},"building-information":{"title":"Building information"},"calendly-link":"Calendly link","commission":{"description":"Description","details-link":"Link to commission details","note":"Providing commission rates helps increase lead flow and trustworthiness","rate":"Commission rate","rate-required":"Please enter a numeric value between 1 and 100","title":"Commissions"},"location":{"error":{"intersection":"Location you have entered is not in your region","required":"Address - Location is required"}},"map":"You can move the marker on the map to position the building.","message":"Building updated","operators-website":"Operator\'s website","request-to-view":{"description":{"calendly":"With this type of selection, after the user clicks the \\"Request to View\\" button on the building or space page of the digital report. The user will be presented with a Calendly window where they can make a direct appointment with you.","email":"With this type of selection, after the user clicks the \\"Request to View\\" button on the building or space page of the digital report. You will receive an email notification."},"title":"Request to view from digital report"},"tabs":{"address":{"title":"Address"},"amenities":{"title":"Amenities"},"general":{"title":"General"},"media":{"title":"Media"},"price":{"title":"Pricing"},"working_hours":{"title":"Working hours"}},"tours":{"add":"Add tour","hint":"Please insert URL (e.g. https://my.matterport.com/show/?m=xbYh4Vuis2s).","title":"Virtual tours"},"vimeo":{"add":"Add vimeo"},"vimeos":{"errors":{"does-not-exist":"The video does not exist","invalid":"Invalid URL"},"hint":"Please insert URL (e.g. https://vimeo.com/750095839).","title":"Vimeos"},"working-hours":{"copy-time-to-all":"Copy time to all"},"your-building-id":"Your building ID"},"buildings-filter":{"all-up-to-date":"Availability published","message":"You have successfully published your inventory availability","publish-availability":"Publish availability","publish-availability-tooltip":"Confirm current pricing and availability and publish this information to the marketplace"},"buildings-list-empty":"There are no buildings that fit your criteria. Try changing the filter values.","calendly":{"confirm":{"cancelation":"Confirm cancelation","canceled-event":"Please confirm that you canceled this event in Calendly","no":"No, I didn\'t cancel"},"details":"Calendly details","message":{"invalid-url":"Invalid Calendly URL, e.g. https://calendly.com/xxx/yyy"}},"card-list":{"add-count-to-shortlist_one":"Add {{count}} buildings to the Shortlist","add-count-to-shortlist_other":"Add {{count}} buildings to the Shortlist"},"commission":{"title":"{{operatorName}} offers <accent>{{amount}}%</accent> commission for {{buildingName}}","title-standard":"{{operatorName}} offers <accent>{{amount}}%</accent> standard commission for {{buildingName}}"},"common":{"day-off":"Day-off","time":{"from":"From","till":"Till"}},"company-industry-input":{"note":"Please select the closest matching Industry for the company.","placeholder":"Select industry","title":"Company industry","tooltip":"This information helps Operators respond with more relevant options (e.g. creative environments for media companies)"},"company-location-input":{"placeholder":"Enter current company address","title":"Current company address","tooltip":"Current company address will be displayed on all reports as point of reference."},"company-size-input":{"note":"Please select an approximate number of employees.","title":"Company size","tooltip":"This information helps Operators respond with more relevant options (e.g. corporate style office vs start up office)"},"confirm":{"buildings-up-to-date":{"content":"You are confirming that all information, including pricing and availability, is up to date for agents","title":"Publish availability"},"discard":{"content":"Do you want to discard changes?","title":"Discard changes"},"floor-confirm":{"content":"If you change the floor, all changes from the floorplan will disappear","title":"Are you sure want to change floor?"},"remove-building":{"content":"Do you want to remove building?","title":"Remove building"},"remove-desk":{"content":"Do you want to remove desk?","title":"Remove desk"},"remove-file":{"content":"Do you want to remove file?","title":"Remove file"},"remove-key-date":{"content":"Do you want to remove this key date?","title":"Remove key date"},"remove-option":{"content":"Do you want to remove option?","title":"Remove option"},"remove-phone":{"content":"Do you want to remove phone?","title":"Remove phone"},"remove-referral":{"content":"Do you want to remove referral?","title":"Remove referral"},"remove-space":{"content":"Do you want to remove space?","title":"Remove space"},"remove-tour":{"content":"Do you want to remove tour?","title":"Remove tour"},"remove-vimeo":{"content":"Do you want to remove vimeo?","title":"Remove vimeo"}},"content":"Content","create-building-form":{"message":"Building created"},"create-desk-form":{"message":{"saved":"Desk saved"}},"create-space-form":{"message":"Space created"},"desk-forms":{"desk-external-id":{"label":"Desk ID (operator defined)"},"desk-name":{"label":"Name"},"desk-parent-space":{"label":"Parent space"},"desk-type":{"label":"Type"}},"digital-report":{"feedback":{"amenities":"The space should have certain amenities.","larger-options-size":"The space should be larger.","less-desks":"The space should have fewer desks.","less-expensive":"The space should be less expensive.","location":"The location should be more central.","more-desks":"The space should have more desks.","more-options":"I like the selection but want to see more options.","other":"Other reasons.","smaller-options-size":"The space should be smaller."}},"digital-report-form":{"message":"Digital report settings have been successfully updated"},"draw-on-floorplans":"Draw on floorplan","edit-floorplans":"Edit drawing","edit-key-date":"Edit key date","email-for-distributors-input":{"error":"Please enter an email or use the default selection","note":"This contact is shared with Distributors for bookings"},"email-for-distributors-warning":{"message":"Contact your sales representative to set up default email","title":"Booking email is missing"},"enquiry":{"title":"Enquiry"},"enquiry-filter":{"agent":{"placeholder":{"search-for-agent":"Search for an agent"},"title":"Agent"},"lead":"Lead","operator":{"placeholder":{"search-for-operator":"Search for an operator"},"title":"Operator"}},"file-upload":{"message":{"allowed-file-types":"Allowed file types: {{types}}","limit-exceeded":"File must be smaller than {{limit}}MB"},"upload":{"title":"Drag and drop a file here or simply click to add file."}},"filters-modal":{"include-only":{"title":"Include buildings with availability information"}},"floorplans-let-view":"Let your viewers know exactly where the offered space is located on the floorplan map. This will higher the chance of your space to be visible.","format":"Format","group-buildings":{"description":"You can organize the report by grouping buildings together. Unassigned buildings are listed under Others.","form":{"add":"Add group","buildings":{"error":"Must contain at least one building","label":"Buildings","placeholder":"Drag and drop buildings from the right panel"},"description":{"error_one":"Description should be less than {{count}} characters","error_other":"Description should be less than {{count}} characters","label":"Description","placeholder":"Enter group description"},"name":{"label":"Name","placeholder":"Enter group name"},"success":"Groups successfully updated"},"move-down":"Move down","move-up":"Move up","new":"New group","others-count_one":"Others ({{count}})","others-count_other":"Others ({{count}})","title":"Group buildings"},"include-all-spaces":"Include all spaces","insights":{"email":{"body":"Please can you contact me with more details about Valve\'s Data Insight reports.\\n Thanks","subject":"Hey, I’m interested in Valve Data Insights reports"},"give-feedback":"Give feedback","icon":"Insights (new)","list-caption":"What you can expect:","list-item-1":"Demand trends by submarket","list-item-2":"Requirement size trends by submarket","list-item-3":"Pricing trends by submarket","share-thoughts":"Share your thoughts on what you\'d like to see","subtitle":"Actionable Market Insights for customisable submarkets to gain a Competitive Advantage","title":"Valve Market Insights<1></1>benchmark report"},"intro":{"agent":{"message":"Here you will find several number of options that match your search criteria.\\nThere is a lot of choice in the market of this size. We received over 100 buildings to the search so have narrowed it down the best we can to begin with.\\nLet me know if you would like to arrange some viewings."},"operator":{"message":"Enclosed you will find several options which match your search criteria.\\nPlease let me know if you have any questions or would like to arrange a viewing."},"title":"Welcome. We have prepared a report for you."},"key-date":"Key date","key-event":"Key event","key-format":{"date":"Day/Month/Year","month":"Month/Year","quarter":"Quarter/Year","year":"Year"},"location-search":{"make-primary":"Make primary","placeholder":"Search location","primary":"Primary"},"mediaform":{"brochures":{"hint":"Building brochures are used by agents to share with their clients, giving an overview of your building and brand.","title":"Brochures"},"drag-images":"Drag images in the correct order","floor-plans":{"hint":"Floorplans help agents and clients get idea of the layout of your building and where their office might be."},"photos":{"description":"Photos are a great way to show clients what your space offers aesthetically. (Please upload photos in the order you would like them to be displayed on reports as the first three photos will be included on the building slide. For any additional support with photo upload please contact <2>{{email}}</2>)","hint":"You can drag and drop uploaded photos to change the order."}},"menu":{"account":"Account","admin":"Admin","buildings":"Buildings","help":"Help","insights":"Insights","map":"Map","market":"Market","opportunities":"Opportunities"},"merge-options":{"confirm-content":"When merging options, we sum up various inputs. Be aware descriptions, term lengths, statuses and types are not transferred.","confirm-title":"Confirm merge","disabled-reason":"Please select the same currency and unit of area","existing-options":"Existing options","failure":"Failed to merge options","no-options":"There are no options to merge","options-based-on-inventory":"Options based on building inventory","select-floor":"Please select the floor to see the options","success":"Options successfully merged","title":"Merge options"},"new-key-date":"New key date","non-paying-customers":{"preview-limited":"As a basic provider some of your marketing content and branding may not be presented to agents and brokers. To learn more <2>speak</2> to our team about upgrading to Valve Professional."},"office-modal-page":{"message":"Office is not accessible"},"operator-forms":{"content":"Valve does not permit the usage of infringing content on its platform/services. By uploading content to the Valve platform, you agree that you have all necessary rights use and distribute this content. You also agree to Valve’s Operator T&Cs."},"operator-limit-warning":{"title":"Spaces, Pricing and Availability are locked features."},"operators":{"buildings":"Buildings","name":"Name"},"opportunity":{"has-been-updated":"Opportunity has been updated."},"opportunity-columns":{"max-x-custom-columns_one":"Max. {{count}} custom columns","max-x-custom-columns_other":"Max. {{count}} custom columns"},"opportunity-empty":"Empty","opportunity-filter":{"collaborators":"Collaborators","removed":"Show removed opportunities","search-for-collaborator":"Search for a collaborator"},"opportunity-form":{"add-more-details":"Add more details","company-contact":"Company contact","company-name":"Company name","message":"Opportunity has been successfully created","requirements":{"description":"Record your client’s requirements for easy reference.","header":"Requirements"}},"opportunity-lead":{"accepted":"Accepted","declined":"Declined","not-submitted":"Not submitted","overturn":"Overturned","pending":"Pending"},"opportunity-status":{"active":"Active","lost":"Lost","on-hold":"On hold","removed":"Removed","won":"Won"},"opportunity-tab":{"enquiry":{"operator-correspondence":"Operator correspondence","title":"Enquiry"},"management":{"building-selection":"Building selection","title":"Building management"},"report":{"report-generation":"Report generation","title":"Report"},"tour":{"no-tours":"No tours","title":"Tour schedule"}},"opportunity-table":{"buildings":"Buildings","collaborators":"Collaborators","name":"Name","spaces":"Spaces"},"option-create":"Option successfully created","option-update":"Option successfully updated","options-view":{"add-from-scratch":"Add option from scratch","matching-spaces":"Options for this suite:","options-based-on-building-inventory":"Options based on the building inventory"},"pdf-report":{"branding":{"message":"PDF report branding has been successfully updated"}},"please-choose-floor":"Please choose a floor to view existing floorplans","preview":"Preview","price-form-items":{"cost-per-desk":{"empty":"Please provide number of desks and monthly cost of occupancy."},"quoting-rate":{"empty":"Please provide space and monthly cost of occupancy."}},"profile":{"contact":{"title":"Contact"},"header":"Profile","message":"Your profile has been successfully updated","personal-details":{"title":"Personal details"},"phone":{"title":"Phone numbers"},"preferences":{"title":"Region, Language, and Currency"},"preview":{"format":{"currency":"Currency: {{currency}}","date":"Date: {{date}}"},"label":"Format preview"},"report":{"digital":{"intro":{"preview":"Preview","title":"Intro"},"videoUrl":{"help":"Please insert Vimeo URL (e.g. https://player.vimeo.com/video/915744407).","label":"Vimeo URL"}}},"section":{"currency":{"label":"Default currency"},"job":{"label":"Job title"},"locale":{"hint":"It affects your date and number format.","label":"Your locale"},"region":{"hint":"It affects your map search region.","label":"Primary region","placeholder":"Select a region"},"report":{"default-message":"Default message"}}},"promotion-ad":{"be-the-first":"Be the first building that users see and leave a lasting impression","mail-subject":"Hey, I’m interested in Building Promotions.","office-name":"Your office name","want-to-promote":"Want to promote your building on Valve?"},"referral":{"add-option-for":"Add Option for {{name}}","add-to-tour":"Add to tour","event-deleted":"This event was successfully deleted!","message":"Building has been added to tour schedule","tour-requested":"Tour requested","tour-scheduled":"Tour scheduled"},"referral-contact":{"add-new-contact":"Add new contact","confirmation-message":"A confirmation email has been sent to {{email}}, please check your inbox or spam folder","email":{"add":"Add","error":"Incorrect email format","title":"Email"},"email-exists":"This email already exists in your contacts","error":"Please select a contact","label":"Email(s)","link":"Account > Company > Referral Contact","note":"Referral contact can either be a team member or a custom contact, Valve use this to share lead referrals from Agents. To manage custom referral contact, go to","placeholder":"Select a contact","remove":{"error":"{{email}} can not be removed","pop-text":"You are about to remove a referral contact, do you want to proceed?","popup-text":"The email {{email}} is used as referral contact for a few buildings in the inventory. In order to avoid miscommunication, please assign a new referral contact for these buildings before removing this email.","success":"{{email}} has been removed","title":"Assign new referral contact"},"resend-confirmation-email":"Resend confirmation email","table":{"description":"Valve uses this email to share lead referrals from Agents","members":{"confirmed":"Confirmed","unconfirmed":"Unconfirmed"},"title":"Custom referral contact"},"title":"Referral contact","tooltip":{"unconfirmed":"A confirmation email has been sent to the given email, please check your inbox or spam folder"},"try-again-in":"Try again in {{seconds}} seconds"},"referral-list":{"contact-operators":"Contact operators","contact-sales-representative":"Contact Sales representative","count":"{{buildings}} buildings, {{options}} options","empty":"Add buildings by clicking the <2>Add buildings</2> or drop down menu <6>Copy buildings</6> above","enquiry":"Enquiry","error":{"region-error-description":"These buildings are not enabled for your licensed region. Please contact Valve to get access to the required regions.","region-error-header":"To be reviewed","region-error-warning":"Some buildings in this transferred opportunity are not enabled for your licensed region. <1></1> Please contact Valve to get access to the required regions."},"no-results":"Nothing found for {{searchInput}}","search":"Search for Operator, office name or address","sort-asc":"A-Z","sort-desc":"Z-A","sort-label":"Sort","sort-no-options":"No Options - Options","sort-options":"Options - No Options","title":"Buildings"},"report":{"analytics":{"events":{"digital-report-created":{"content":"Digital report created. <author /> <accent>{{date}}</accent>"},"digital-report-document-created":{"content":"Contract requested: <strong>{{referral}}</strong>. <author /> <accent>{{date}}</accent>"},"digital-report-document-opened":{"content":"Digital contract reviewed: <strong>{{referral}}</strong>. <accent>{{date}}</accent>"},"digital-report-feedback":{"content":"{{status}}{{separator}} Changes requested. <accent>{{date}}</accent>"},"digital-report-updated":{"content":"Digital report setting changed to <strong>{{changes}}</strong>. <author /> <accent>{{date}}</accent>"},"opportunity-transferred":{"content":"Opportunity transferred from <strong>{{from}}</strong> to <strong>{{to}}</strong>. <author /> <accent>{{date}}</accent>"},"option-created":{"content":"<strong>{{option}}</strong> added to shortlist. <author /> <accent>{{date}}</accent>"},"option-merged":{"content":"<strong>{{option}}</strong> merged. <author /> <accent>{{date}}</accent>"},"option-removed":{"content":"<strong>{{option}}</strong> removed from shortlist. <author /> <accent>{{date}}</accent>"},"option-updated":{"content":"<strong>{{option}}</strong> updated. <author /> <accent>{{date}}</accent>"},"reaction-created":{"dislike":{"content":"Hidden: <strong>{{name}}</strong>. <accent>{{date}}</accent>"},"like":{"content":"Favourite: <strong>{{name}}</strong>. <accent>{{date}}</accent>"}},"referral-created":{"content":"<strong>{{referral}}</strong> added to shortlist. <author /> <accent>{{date}}</accent>"},"referral-removed":{"content":"<strong>{{referral}}</strong> removed from shortlist. <author /> <accent>{{date}}</accent>"},"view-request-created":{"content":"Viewing requested: <strong>{{referral}}</strong>. <accent>{{date}}</accent>"}},"last-viewed":"Last viewed","recent-activities":"Recent activities","stats":"Stats","total-views":"Total views"},"digital":{"description":"Interactive report with a personalised web link","subject":"Hey, I’m interested in unlocking the digital report.","title":"Digital"},"pdf":{"description":"Report in PDF format","open-designer":"Open report designer","title":"PDF"},"schedule-tour":"Schedule Tour","settings":{"operator-details":{"disabled":"Without operator’s details","enabled":"With operator’s details"},"title":"Settings"},"title":"Report"},"report-form":{"placeholder":"Ex. Building details are outdated or does not reflect the actual situation","provide-feedback":"Please provide feedback regarding this building below.","thank-you":"Thank you for reporting. We will respond to you shortly."},"report-wizard":{"choose-type":"Choose report type","congrats":{"description":"You can review customer engagement (e.g. total views, last viewed) via <2>Manage report</2> on Opportunity page","header":{"subtitle":"Share the report with your customers and track engagement","title":"Congrats! Your report is ready"},"step-title":"Generated report","subtitle":"Share report"},"digital":{"contact":"Contact Sales representative","description":"Interactive report with a personalised web link","locked":"Locked","paid":"This is a paid feature","sample":"View sample","subject":"Hey, I’m interested in unlocking the digital report.","title":"Digital"},"digital-contract":{"add-another":"Add another contract","link":"Link","title":"Digital contract","workspace":{"label":"Workspace","placeholder":"Select a workspace"}},"digital-report-type":{"request-contract":{"subtitle":"Prospects can request a contract for a workspace","title":"Request contract"},"request-to-view":{"subtitle":"Prospects can request a workspace viewing","title":"Request to view"},"sign-contract":{"subtitle":"Prospects can sign a contract via an attached link","title":"Sign contract"}},"include-operators-details":"Include operator’s details","logo":{"hint":"Please upload logo in {{allowedTypes}} format","label":"Prospect logo"},"message":{"description":"Add a personalised message for your customer as an introduction to the digital report. You can customise your default message on the <2>Application settings</2> page.","example-report":"Example report"},"pdf":{"description":"Report in PDF format","title":"PDF"},"personalisation":{"step-title":"Personalisation","title":"Personalise proposal for prospects"},"sign-contract":{"description":"Attach the link to the digital contract, e.g. via Docusign, so customers can review and sign instantly.<1></1>If the workspace has no associated link, customers will only be able to request the contract.","step-title":"Digital contract"},"type":{"choose-prompt":"Choose customer prompt","description":"Choose the complementary action that your customers should take in your digital report depending on your sales cycle.","post-tour":"Post-tour","pre-tour":"Pre-tour","step-title":"Customer prompt","subtitle":"Design your report based on your customer and preferences","title":"Digital report settings"},"view-example":"View example"},"requirements":"Requirements","save-changes":"Save changes","saving":"Saving...","search":{"by-building-space":"Search for a building or space","by-operator":"Search by operator","no-results":"No results","nothing-found":"Nothing found, try changing the search parameters"},"search-opportunity":"Search for your opportunity","select-floor":"Select floor","shortlist":{"no-spaces":"There\'s no additional spaces to include","success":"All spaces have been included"},"size-form-items":{"density":{"empty":"Please provide space and number of desks."}},"space":{"add-shortlist-success":"Selected buildings/spaces have been added to the shortlist","building":"building","buildings":"buildings","bulk-select-buildings_one":"{{count}} buildings selected","bulk-select-buildings_other":"{{count}} buildings selected","bulk-select-description":"{{buildings}} {{buildingText}} ({{spaces}} {{spaceText}}) selected","bulk-select-space_one":"{{count}} space selected","bulk-select-space_other":"{{count}} spaces selected","disabled-tooltip":"Space creation is currently unavailable for freemium accounts. To access this feature, please upgrade to the Professional plan","space":"space","spaces":"spaces","status-bulk-error":"There was an error changing status for selected buildings/spaces","status-bulk-success":"You have successfully changed status for selected buildings/spaces"},"space-forms":{"boking-id":"Booking ID","date-from":"Date from","date-to":"Date to","floorplans":{"hint":"This floor has no floorplan attached, you can add floorplans to buildings."},"private":{"label":"Private","note":"You can\'t change visibility when the building is private"},"public":{"description":"Space is visible to everyone","label":"Public"},"space-id":{"hint":"(operator defined)","placeholder":"Please enter your unique space id here (if you have one)"},"space-name":{"label":"Space name","placeholder":"Enter your space name e.g. 10 Person"},"working-hours-warning":"No working hours defined. Please edit <2>building details</2> first."},"submit-referral":{"new-referral":"You have a new referral","please-reply":"Please reply to this email with your acceptance of this referral along with your pricing and availability."},"submit-referral-form":{"add-contact":"Add contact","body":"You will be sending an enquiry to the operators listed below. Each enquiry will include your opportunity name and requirements, enabling the operators to respond with the latest pricing and availability information. Please make sure to provide as many details as possible to maintain high lead quality.","brief":"Add referral brief","button":"Send enquiry","email-enquiry-cc":"Send a copy of enquiry to my email","header":"Contact operators","mail":{"message":"Message","title":"Title"},"messages":{"enquiries-sent":"You have successfully sent enquiries to operators"},"select-recipients":{"fees":{"hint":"Before contacting operators, please confirm you have terms in place with each operator to secure your commission/fee position"},"hint":"Enquiries will be sent to operators’ default contact or building-specific contact, if provided. You can also add additional e-mail addresses. ","title":"Select recipients"},"share-opportunity-name":"Share opportunity name"},"subscription":{"billed":"Billed {{duration}}","contact-sales":"Contact Sales","current-plan":{"details":{"active-users":"Active users","billing-cycle":"Billing cycle","name":"{{planType}}","renewal-date":"Renewal date"},"hint":"View details of your current subscription plan","title":"Current plan"},"duration":{"quarterly":"Quarterly","yearly":"Yearly (5% discount)"},"enterprise":{"description":"Best for accelerating sales process and improving lead-to-viewing conversion","feature1":"Create interactive proposals for your prospect customers","feature2":"2 Digital Report licenses","feature3":"Optimize lead-to-viewing conversion","feature4":"Use new features as a first","list-footer":"And many more...","title":"Enterprise"},"free":{"feature1":"Building visibility to brokers","feature2":"Basic marketing materials available for brokers","feature3":"Amenities on building level","feature4":"Referrals from brokers","price-description":"Forever","title":"Free"},"overview-plan":{"hint":"Select a region and billing period to view your pricing options","title":"Overview"},"professional":{"description":"Perfect for boosting brand awareness and broker visibility","feature1":"Enhanced brand visibility in marketplace","feature2":"Space pricing and availability visible to brokers","feature3":"All marketing materials available for brokers","feature4":"Centralised lead management platform (BETA)","price-description":"per building per month","title":"Professional"},"professional_plus":{"description":"Designed for optimizing collaboration with brokers","feature1":"Explore the marketplace and compare your brand with others","feature2":"2 Market Explorer licenses","feature3":"Provide pricing and availability updates to brokers efficiently with WMS integration or bulk updates","feature4":"Support & SLA","price-description":"per building per month","secondary-price-description":"platform fee per month","title":"Professional+"},"promo":"Best value","proof":{"contact":{"button":"Talk to us","description":"Speak to our customer success specialists to discuss the right solution for your business.","header":"Not sure which plan is right for you?"},"header":"Trusted by industry experts"},"table":{"column":{"features":"Features"},"details":{"hint":"Select a region and billing period to view your pricing options","title":"Features in detail"},"eighty-per-month":"+ \xa380 per license per month","feature1":"Listing of your buildings in marketplace","feature10":"Floorplan drawing","feature11":"PDF report","feature12":"Digital report","feature13":"Additional digital report user licenses","feature14":"Tour management (including calendly integration)","feature15":"Client engagement tracking","feature16":"Send & sign contract","feature17":"LeadDADI CRM integration","feature18":"Bulk P&A content update","feature19":"WMS integration","feature2":"Listing of your spaces in marketplace","feature20":"Dynamic proposal (additional user licenses)","feature21":"Building promotions","feature3":"Pricing and availability visibility in marketplace","feature4":"Branded map elements","feature5":"Enriched marketing content for your listing","feature6":"Market explorer access","feature7":"Additional market explorer user licenses","feature8":"Proposal shortlist","feature9":"Proposal content customization","forty-per-month":"+ \xa340 per license per month","group1":"Building management","group2":"Marketplace brand activation","group3":"Dynamic proposals","group4":"Integrations","group5":"Add-ons","two-licenses":"(2 licenses)","unlimited":"Unlimited"}},"terms-conditions":{"accept":"Accept terms & conditions","logout":"Logout"},"tours":{"empty":"Add buildings by clicking the <2>Add buildings</2>","title":"Tours"},"update-desk-form":{"message":{"saved":"Desk saved"}},"update-space-form":{"message":{"saved":"Space saved"}},"upgrade":"Upgrade","upgrade-promo":{"branding":{"adjust-color-description":"Adjustable colour palette","customize-pin-description":"Customizable map pin","description":"Enhance your visibility and appeal to agents and brokers with customized branding","list-header":"What you can expect:","title":"Customize Your Brand Identity"},"enquiry":{"communicate-directly":"Communicate directly with operators","confirm-pricing-and-availability":"Confirm pricing and availability","description":"A centralised communication system for agents and operators","resolve-unclear-requirements":"Resolve unclear lead requirements","respond-to-lead-requests":"Respond directly to lead requests","send-reports-faster":"Send out reports faster","sync-inventory-automatically":"Sync automatically with operators\' inventory","title":"Enquiry System","track-lead-statuses":"Track lead statuses","update-opportunities-instantly":"Update agents\' opportunities instantly"},"general":{"book-tours-description":"Manage roles and permissions","description":"Unlock the full control over your team structure and permissions","list-header":"What you can expect:","tailor-opportunities-description":"Manage access for team members","title":"Enhanced Team Management"},"members":{"book-tours-description":"Manage roles and permissions","description":"Unlock the full control over your team structure and permissions","list-header":"What you can expect:","tailor-opportunities-description":"Manage access for team members","title":"Enhanced Team Management"},"opportunity":{"book-tours":"Book tours instantly","book-tours-description":"Eliminate delays and schedule tours instantly.","customize-brand":"Customize your brand","customize-brand-description":"Add your own content and branding elements","streamline-proposals":"Streamline proposals","streamline-proposals-description":"Design, share, and update proposals seamlessly.","tailor-opportunities":"Tailor opportunities","tailor-opportunities-description":"Select and share the best building and space options to meet customer needs.","title":"Elevate client engagement with opportunities"},"upgrade-now":"Upgrade now"},"upload":{"files-and-limit":"Please use {{files}} files not bigger than {{limit}}MB","files-and-size-and-limit":"Please use {{files}} files. Images must be at least {{width}}px wide, {{height}}px height and no larger than {{limit}}MB","title":"Drag and drop a file here or simply click to add file"},"viewing":{"added-by-you":"Added by you","requested-from-report":"Requested from report"},"zoom-to-results":"Zoom to results"}'),amenities:JSON.parse('{"24/7-access":"24/7 access","air-conditioning":"Air conditioning","backup-internet-connection":"Backup internet connection","balcony":"Balcony","brainstorming-rooms":"Brainstorming rooms","breakout-areas":"Breakout areas","business-lounge":"Business lounge","cafe":"Cafe","call-handling":"Call handling","car-parking":"Car parking","cat-567-cabling":"CAT 567 cabling","cctv":"CCTV","changing-rooms":"Changing rooms","cleaning":"Cleaning","coffee":"Coffee","conference-rooms":"Conference rooms","cycle-parking":"Cycle parking","dda-compliance":"DDA compliance","disable-access":"Disabled access","dog-friendly":"Dog friendly","event-space":"Event space","exercise-studio":"Exercise studio","filtered-water":"Filtered water","fully-furnished":"Fully furnished","games-lounge":"Games lounge","gym":"Gym","kitchen":"Kitchen","lift":"Lift","lockers":"Lockers","mail-handling":"Mail handling","meeting-rooms":"Meeting rooms","mindfulness-rooms":"Mindfulness rooms","on-site-barista":"On site barista","on-site-staff":"On site staff","outdoor-space":"Outdoor space","phone-booths":"Phone booths","printing":"Printing","restaurant":"Restaurant","restaurant-on-site":"Restaurant on site","rooftop-terrace":"Rooftop terrace","secretarial-services":"Secretarial services","secure-server-rooms":"Secure server rooms","security-guards":"Security guards","showers":"Showers","single-sex-toilets":"Single sex toilets","snacks-and-refreshments":"Snacks and refreshments","storage":"Storage","unisex-toilets":"Unisex toilets","video-conferencing":"Video conferencing","voip":"VOIP","wellness-room":"Wellness room","wi-fi":"Wi-Fi"}'),common:JSON.parse('{"add":"Add","add-file":"Add file","add-to-shortlist":"Add to shortlist","address":"Address","agent":{"admin-only":{"label":"Admin-only","tooltip":"Only admins have the rights to edit this section"},"group-buildings":{"confirm-delete":{"description":"Removing a group will not delete its associated buildings from the shortlist. These will be listed under Others instead. Are you sure you want to proceed?","title":"Removing {{name}}"},"disabled":"Upgrade to enable feature"}},"agree":"Agree","all-opportunities":"All opportunities","amenities":"Amenities","annual-cost":"Annual cost","apply":"Apply","available":"Available","available-from":"Available from","back":"Back","budget-units":{"PER_MONTH":" monthly","PER_YEAR":" annually","TOTAL":" total"},"building-group":{"presale":"Presale","private":"Private","standard":"Public"},"building-not-found":"Building not found","building-status":{"label":{"AVAILABLE":"Spaces available","AVAILABLE_SOON":"Spaces available soon","OCCUPIED":"Fully occupied","UNDER_OFFER":"Spaces reserved"},"tooltip":{"AVAILABLE":"Some spaces are currently available","AVAILABLE_SOON":"Some spaces will be available within 3 months","OCCUPIED":"No spaces are currently available","UNDER_OFFER":"Spaces are currently reserved but may become available soon"}},"buildings":"Buildings","button":{"download-pdf":"Download PDF"},"cancel":"Cancel","clear":"Clear","clear-all":"Clear all","clear-drawing":"Clear drawing","clear-filters":"Clear filters","close":"Close","closing-slides":{"title":"Closing slides"},"collaborators":"Collaborators","collapse-all":"Collapse all","commission":"{{amount}}% commission","commission-details":"View commission details","commission-not-set":"Commission not yet specified","commission-not-set-description":"This is a new feature, and is taking time for operators to upload their commissions. Please confirm commission with the operator","commission-note":"Note: <accent>Valve</accent> is not responsible for the processing of commissions or fee positions","company":{"company-details":"Company details","company-logo":"Company logo","company-name":"Company name","default-booking-contact":{"caption":"This contact is shared with Distributors for bookings.","title":"Default booking contact"}},"confirm":"Confirm","contact-type":{"landline":"Landline","organization":"Organization","personal":"Personal","primary":"Primary","work":"Work"},"cookie-consent":{"description":"By clicking \\"Accept\\", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our <2>Privacy Policy</2> for more information.","title":"Cookie Consent"},"copy-link":"Copy link","cost-per-desk":"Cost per desk","cost-per-desk-short":"Cost/desk","count":{"options_one":"{{count}} options","options_other":"{{count}} options"},"create":"Create","create-space":"Create space","density":{"per-desk":" per desk"},"description":"Description","desk-types":{"DEDICATED":{"title":"Dedicated"},"HOT":{"title":"Hot"}},"details":"Details","digital-report":{"notifications":{"previously":"Previously"}},"discard":"Discard","download-pdf":"Download PDF","draw-area":"Draw area","duplicate":"Duplicate","edit":"Edit","email":"Email","empty":{"nothing-found":"Nothing found, try changing your filter requirements"},"enquiries":{"lead-declined":"Declined"},"error-default":"Something went wrong, please try again","exclude-all":"Exclude all","expand":"Expand","expand-all":"Expand all","favourites":"Favorites","filter":"Filter","floor":"Floor","floor-number":"Floor {{number}}","floor-plans":"Floorplans","floor-plans-count_one":"Floorplans ({{count}})","floor-plans-count_other":"Floorplans ({{count}})","form":{"confirm":{"content":"You are about to leave the editor. There are unsaved changes, do you want to discard them and leave?","title":"Do you want to discard the changes?"}},"front-cover":{"add-front-cover":"Add front cover","delete-front-cover":{"message":"Are you sure you want to delete this front cover?","title":"Delete front cover"},"drawer":{"create":{"title":"Create front cover"}},"title":"Front cover"},"generate":"Generate","generate-report":"Generate report","image":"Image","include-all":"Include all","insights":"Insights","inventory-view":{"all":"All","enquiries":"Enquiries"},"invite":"Invite","key-dates":"Key dates","key-type":{"built":"Built (Practical Completion)","closed":"Closed down","launched":"Launch","renovated":"Renovated","update-operator":"Changed operator"},"last-updated":"Last updated","lead":{"rejection-feedback":{"bad-inventory-selection":"Selected buildings or spaces are not matching.","bad-requirements":"Requirements are not clear enough.","modal":{"button":"Send","comments":{"error":"Comments are required if you choose \\"Other reasons\\"","label":"Comments","placeholder":"Tell us more about your reason (max. 200 characters)"},"title":"Please provide a decline reason"},"occupied-inventory":"Selected buildings or spaces are occupied.","other":"Other reason.","success-message":"Your feedback has been successfully sent."}},"manage-report":"Manage report","manage-template":{"form":{"create":{"title":"Create custom template from {{name}}"},"update":{"title":"Update template {{name}}"}}},"map":"Map","marketing-content":{"guideline":{"failed":"The image you have uploaded has incorrect aspect ratio. Please follow our guidelines below for uploading in the correct format.","guidelines_1":"To help your Marketing content slides look the best they can, they should be uploaded to the dimensions of<1> </1><2>A4 landscape paper.</2>","guidelines_2":"We recommend using a slide editor such as Powerpoint or Google Slides and setting the size of A4 from there.","guidelines_3":"If you were require any further assistance please contact:<1></1><2>{{email}}</2>","title":"Marketing content upload guidelines"},"hint":"Marketing content helps convey your branding to agents as well as provide additional information about what your business offers.","title":"Marketing content"},"members":{"manage-members":{"header":{"member":"Member","role":"Role","updated-at":"Last updated"},"invite-new-members":{"form":{"add-member":"Add member","description":"Please send a request to Valve to invite new members to your team. They will receive access via email as soon as possible.","email":{"error":"This email already exists in the system","label":"Email","placeholder":"Enter email"},"full-name":{"label":"Full name","placeholder":"Enter full name"},"request-access":"Request access","response":{"success":"You have successfully requested for user access approval"},"role":{"label":"Role","tooltip":"Admins are allowed to invite new members, request access, remove access, and change member roles"}},"title":"Invite new members"},"list":{"actions":{"cancel-request":"Cancel request","request-to-remove-access":{"cancel":{"success":"You have successfully cancelled request to remove access for {{name}}","title":"Previously you have requested to remove access, do you want to cancel this request?","tooltip":"Cancel request to remove access"},"remove-access":"Remove access","retry":{"tooltip":"Resend remove access request"},"success":"You have successfully requested to remove access for {{name}}","title":"Do you want to request to remove access?","tooltip":"Request to remove access"},"request-to-restore-access":{"cancel":{"success":"You have successfully cancelled request to restore access for {{name}}","title":"Previously you have requested to restore access, do you want to cancel this request?","tooltip":"Cancel request to restore access"},"retry":{"tooltip":"Resend restore access request"},"success":"You have successfully requested to restore access for {{name}}","tooltip":"Request to restore access"}}},"role":{"admin":"Admin","member":"Member"},"title":"Manage members"},"title":"Members"},"merge":"Merge","monthly-cost-of-occupancy":"Monthly cost of occupancy","move-in-date":"Move-in date","name":"Name","next":"Next","number-of-desks":"Number of desks","number-of-desks-short":"Desks","occupied":"Occupied","office-suite-card":{"floor-level":"Floor level","space-location":{"tooltip":{"entire-floor":"Entire floor rent","exterior":"Has windows","exterior-interior":"Both exterior and interior","interior":"Doesn\'t have windows"}}},"office-suite-space-location":{"entire-floor-lowercase":"entire floor","exterior-interior-lowercase":"exterior & interior","exterior-lowercase":"exterior","interior-lowercase":"interior"},"office-suite-status":{"label":{"AVAILABLE":"Available","AVAILABLE_SOON":"Available soon","LIMITED_AVAILABILITY":"Limited Availability","OCCUPIED":"Occupied","UNDER_OFFER":"Under offer"}},"office-suite-visibility":{"label":{"PRIVATE":"Private","PUBLIC":"Public"}},"operators":"Operators","option":"Option","option-title":"Option title","order-by":{"alphabetical":"Alphabetical","last-created":"Last created"},"owner":"Owner","password":"Password","period-units":{"months":" months"},"photos":"Photos","placement":"Placement","previous":"Previous","proceed":"Proceed","profile":{"logout-of-my-account":"Log out of my account"},"promo":"Promo","quoting-rate":"Quoting rate","quoting-rate-units":{"PER_DESK":" / desk","PER_SQUARE_FOOT":" / ft\xb2","PER_SQUARE_METER":" / m\xb2"},"recipient":"Recipient","refresh-now":"Refresh now","reload":"Reload","remove":"Remove","remove-from-shortlist":"Remove from shortlist","reschedule":"Reschedule","reset":"Reset","resolve":"Resolve","resolved":"Resolved","restore":"Restore","save":"Save","save-and-request-to-publish":"Save and request to publish","search":"Search","select-all":"Select all","select-currency":"Select currency","select-type":"Select type","select-unit":"Select unit","send":"Send","share":"Share","share-opportunity":{"description":"Collaborators are allowed to adjust your shortlist and generate reports. A maximum of 3 people can collaborate on the same opportunity.","remove":"{{member}} has been removed from collaborators","select-member":{"label":"Select a member"},"success":"{{members}} invited to collaborate","title":"Manage collaborators"},"share-report":"Share report","show-columns_one":"Show columns ({{count}})","show-columns_other":"Show columns ({{count}})","show-less-activities":"Show less activities","show-more-activities":"Show more activities","size":"Size","size-unit":{"square-foot":"ft\xb2","square-foot-full":"Square foot","square-meter":"m\xb2","square-meter-full":"Square meter"},"size-units":{"DESK":" desks","SQUARE_FOOT":" ft\xb2","SQUARE_METER":" m\xb2"},"sizes":{"per-desk":"per desk","per-sq-ft":"per ft\xb2","per-sq-m":"per m\xb2"},"space-location":{"entire-floor":"Entire floor","exterior":"Exterior","exterior-interior":"Exterior & Interior","interior":"Interior","not-specified":"Not specified"},"space-type":"Space type","status":{"active":"Active","inactive":"Inactive","requested":"Requested"},"subscription":{"free":{"description":"Ideal for making your locations visible in the market","price-description":"Forever"},"price-description":"per building per month","price-description-yearly":"per building per year"},"table":"Table","template-form":{"custom-css":{"label":"Custom CSS"},"font":{"label":"Font"},"font-size":{"label":"Font size"},"font-weight":{"label":"Font weight"},"position":{"label":"Position (Left-Right-Top-Bottom, in px)"},"text-alignment":{"label":"Text alignment"},"text-colour":{"label":"Text colour"}},"template-type":{"base":"Popup","horizontal":"Landscape image","horizontal-video":"Video","vertical":"Portrait image"},"term-length":"Term length","text":{"about-company":"About company","accept":"Accept","actions":"Actions","add-buildings":"Add buildings","added":"Added","added-options":"Added option/s","additional-contact":"Additional contact","address":"Address","agent":"Agent","all-amenities":"All amenities","all-numbers":"All numbers","all-prices":"All prices","all-sizes":"All sizes","all-types":"All types","amount-employees":"{{amount}} employees","any":"Any","availability":"Availability","available-for-booking":"Available for booking","available-from":"Available from","average-response-time":"Average response time","booking":"Booking","booking-email":"Booking email","branding":"Branding","broker":"Broker","budget":"Budget","budget-note":"Please select a unit and provide the value, excluding VAT.","building-name":"Building name","building-space-name":"Building/Space name","buildings":"Buildings","city":"City","client":"Client","company-website":"Company website","contact":"Contact","contact-date":"Contact date","contact-for-details":"Contact Valve for details","contact-person":"Contact person","cost-desk-per-month":"{{cost}} per month","cost-per-desk":"Cost per desk","cost-per-month-short":"Cost/month","cost-per-name":"Cost per {{name}}","create-building":"Create building","create-desk":"Create desk","create-opportunity":"Create opportunity","create-option":"Create option","create-space":"Create space","created-at":"Created: {{at}}","current-address":"Current address","current-company-address":"Current company address","custom":"Custom","date":"Date","default":"Default","deny":"Deny","desk-density":"Desk density","desk-id-id":"Desk ID: {{id}}","desks":"Desks","different-currencies":{"description":"For correct display of the report, it is better to divide them into parts containing the same currencies systems.","title":"This opportunity contains buildings with different currencies systems"},"digital-report":"Digital report","email":"Email","emails":"Email(s)","feedback":"Feedback","floor":"Floor","floor-name":"{{floor}} floor","full-name":"Full name","general":"General","interested-in-beta-testing":"Are you interested in testing our beta version? Please get in touch","last-month":"Last month","last-updated":"Last updated","last-updated-at":"Last updated: {{at}}","lead":"Lead","logout":"Logout","map":"Map","marketing-content":"Marketing content","media":"Media","message":"Message","monthly-cost-of-occupancy":"Monthly cost of occupancy","move-in-date":"Move in date","name":"Name","notes":"Notes","number-of-desks":"Number of desks","operator":"Operator","operators":"Operators","opportunities":"Opportunities","option":"Option","option-number":"Option #{{number}}","others":"Others","overview":"Overview","pdf-report":"PDF report","phone":"Phone","photo":"Photo {{index}}","photos_one":"Photos ({{count}})","photos_other":"Photos ({{count}})","placement":"Placement","pricing":"Pricing","private-notes":"Private notes","private-notes-note":"Enter any information which will be helpful for you to prospect this opportunity.","prospect":"Prospect","referral-id":"Referral ID: {{id}}","report-content":"Report content issue","request-contract":"Request contract","request-to-view":"Request to view","schedule":"Schedule","select-floor":"Select floor","shortlist":"Shortlist","show":"Show","sign-contract":"Sign contract","space-id":"Space ID","space-size":"Space size","space-visibility":"Visibility","spaces-available":"Spaces available","status":"Status","subscription":"Subscription","term-length":"Term length","term-length-months":"Term length, months","this-is-paid-feature":"This is a paid feature","this-week":"This week","time":"Time","title":"Title","tour-overlap-found":"Please, check your tour schedule. There is an overlap.","update-option":"Review & Edit Option","url":"URL","view":"View","view-homepage":"View homepage","visibility":"Visibility","website":"Website","working-hours":"Working hours"},"tour-schedule":{"generate":"Generate tour schedule","open":"Open tour schedule"},"tours":"Tours","train-station":"Train station","transfer":"Transfer","transfer-opportunity":{"description":"Transferring an opportunity to another member will give them the rights to view and edit. You will <strong>no longer have access</strong> to this opportunity afterwards.","message":{"placeholder":"Leave a message for the recipient"},"select-member":{"label":"Select a member"},"success":"{{name}} was successfully transferred to {{owner}}","title":"Transfer opportunity"},"transport":"Transport","untitled":"Untitled","untitled-option":"Untitled option","url-copied":"URL copied to clipboard","use-range":"Use range","validation":{"max-characters-count_one":"Description cannot exceed {{count}} characters","max-characters-count_other":"Description cannot exceed {{count}} characters"},"videos":"Videos","view":"View","view-report":"View report","visible-only-company":"Building is not public and only visible for internal use","work-days":{"friday":"Friday","monday":"Monday","saturday":"Saturday","sunday":"Sunday","thursday":"Thursday","tuesday":"Tuesday","wednesday":"Wednesday"}}'),count:JSON.parse('{"brochures_one":"{{count}} brochure","brochures_other":"{{count}} brochures","buildings_one":"{{count}} building","buildings_other":"{{count}} buildings","buildings-accent_one":"{{count}} <accent>buildings</accent>","buildings-accent_other":"{{count}} <accent>buildings</accent>","floorplans_one":"{{count}} floorplan","floorplans_other":"{{count}} floorplans","marketing-content_one":"{{count}} item of marketing content","marketing-content_other":"{{count}} items of marketing content","operators-accent_one":"{{count}} <accent>operators</accent>","operators-accent_other":"{{count}} <accent>operators</accent>","options_one":"{{count}} options","options_other":"{{count}} options","options-selected_one":"{{count}} options selected","options-selected_other":"{{count}} options selected","plus-more-amenities_one":"+ {{count}} amenities","plus-more-amenities_other":"+ {{count}} amenities","plus-types_one":"+ {{count}} types","plus-types_other":"+ {{count}} types","requests_one":"{{count}} request","requests_other":"{{count}} requests","spaces_one":"{{count}} space","spaces_other":"{{count}} spaces","spaces-accent_one":"{{count}} <accent>spaces</accent>","spaces-accent_other":"{{count}} <accent>spaces</accent>","symbols-max_one":"{{count}} symbol max","symbols-max_other":"{{count}} symbols max","virtual-tours_one":"{{count}} virtual tour","virtual-tours_other":"{{count}} virtual tours"}'),currencies:JSON.parse('{"AED":"AED - United Arab Emirates Dirham","AUD":"AUD - Australian Dollar","BYN":"BYN - Belarusian Ruble","CAD":"CAD - Canadian Dollar","CHF":"CHF - Swiss Franc","CNY":"CNY - Chinese Renminbi Yuan","CZK":"CZK - Czech Koruna","DKK":"DKK - Danish Krone","EGP":"EGP - Egyptian Pound","EUR":"EUR - Euro","GBP":"GBP - British Pound","HKD":"HKD - Hong Kong Dollar","HUF":"HUF - Hungarian Forint","IDR":"IDR - Indonesian Rupiah","ILS":"ILS - Israeli New Shekel","INR":"INR - Indian Rupee","JPY":"JPY - Japanese Yen","KRW":"KRW - South Korean Won","MAD":"MAD - Moroccan Dirham","NGN":"NGN - Nigerian Naira","NOK":"NOK - Norwegian Krone","PHP":"PHP - Phillipine Peso","PLN":"PLN - Polish Złoty","RON":"RON - Romanian Leu","RUB":"RUB - Russian Ruble","SEK":"SEK - Swedish Krona","SGD":"SGD - Singapore Dollar","THB":"THB - Thai Baht","TRY":"TRY - Turkish Lira","UAH":"UAH - Ukrainian Hryvnia","UGX":"UGX - Ugandan Shilling","USD":"USD - US Dollar","VND":"VND - Vietnamese Đồng","ZAR":"ZAR - South African Rand"}'),"digital-report":JSON.parse('{"about-building":"About building","available-options_one":"Available option","available-options_other":"Available options","best-regards":"Best regards,<1></1>{{agentName}}","building":{"calendly-details":"Calendly details","cancel-contract-request":"Cancel contract request","cancel-request":"Cancel request","cancel-viewing-request":"Cancel viewing request","cancelling-request":"Cancelling request","contract-ready-to-sign":"Contract is ready to sign","contract-requested":"Contract requested","options-count":{"contract-ready-for-options_one":"Contract is ready to sign for {{count}} option","contract-ready-for-options_other":"Contract is ready to sign for {{count}} options","contract-requested-for-options_one":"Contract requested for {{count}} option","contract-requested-for-options_other":"Contract requested for {{count}} options","viewing-requested-for-options_one":"Viewing requested for {{count}} options","viewing-requested-for-options_other":"Viewing requested for {{count}} options"},"popover":{"cancelled":"The request is cancelled","done":"Done!","requested":"A consultant will be in touch asap"},"request-cancelled":"Request cancelled","requested":"Requested","requesting":"Requesting","send-again":"Send again","viewing-requested":"Viewing requested"},"contact":"Contact","content":{"request-changes":"Request changes"},"cost":"Costs","cost-of-occupancy":"Cost of occupancy","cost-per-ft":"Cost per ft\xb2","cost-per-meter":"Cost per m\xb2","currency-warning":"If you use this filter, buildings may not be displayed correctly.","do-not-show-again":"Do not show this message again","feedback":{"amenities":"The space should have certain amenities.","content":"<0>Can\'t find what you\'re looking for? We can help with that.</0><1></1>Give feedback on the proposal to get better results.","created":"Thank you for your feedback! You will be notified about an updated proposal soon.","larger-options-size":"The space should be larger.","less-desks":"The space should have fewer desks.","less-expensive":"The space should be less expensive.","location":"The location should be more central.","modal":{"button":"Send feedback","comments":{"error":"Comments are required if you choose \\"Other reasons\\"","label":"Comments","placeholder":"Tell us more about your criteria (max. 200 characters)"},"proposals":{"error":"Please pick at least one reason"},"title":"How should we improve the selection?"},"more-desks":"The space should have more desks.","more-options":"I like the selection but want to see more options.","other":"Other reasons (please specify).","smaller-options-size":"The space should be smaller.","success-message":"Your feedback has been successfully sent."},"instruction":{"next-steps":"Next steps","step-one":{"description":"Browse through the selection","title":"Explore options"},"step-three":{"description":"An agent will assist you personally","request-contract":{"description":"Select your favorite workspace and request a contract"},"request-to-view":{"description":"Select your favorites and request to view"},"sign-contract":{"description":"Review the attached contract/s and sign it via the attached link"},"title":"Personal consultation"}},"javascript-disabled":"JavaScript is disabled in your browser.","language":"Language","measurement":"Measurement","meta-description":"View your digital report","not-found-page":"Sorry we couldn\'t find this page.","notifications":{"events":{"digital-report-updated":{"request-contract":"Request contracts for available workspaces. <accent>{{date}}</accent>","request-to-view":"Request viewings for available workspaces. <accent>{{date}}</accent>","sign-contract":"Contracts are ready to be signed. <accent>{{date}}</accent>"},"option-created":{"content":"<strong><building /> / <option /></strong> added to shortlist. <accent>{{date}}</accent>"},"option-removed":{"content":"<strong><building /> / <option /></strong> removed from shortlist. <accent>{{date}}</accent>"},"option-updated":{"content":"<strong><building /> / <option /></strong> updated. <accent>{{date}}</accent>"},"referral-created":{"content":"<strong><building /></strong> added to shortlist. <accent>{{date}}</accent>"},"referral-removed":{"content":"<strong>{{referral}}</strong> removed from shortlist. <accent>{{date}}</accent>"}},"mark-as-read":"Mark all as read","no-new":"No new notifications","title":"Notifications"},"page-error":"<0>Oops</0><1>Something went wrong, please try <2>again</2>.</1>","rotate-device":"Please, rotate your device.","show-buildings-count_one":"Show {{count}} buildings","show-buildings-count_other":"Show {{count}} buildings","show-less":"Show less","space-ft":"Space, ft\xb2","space-meter":"Space, m\xb2","toggle-view":{"map":"Show map","offices":"Show offices"},"view-report":"View proposal"}'),enquiries:JSON.parse('{"add-options":{"empty":"No spaces available"},"add-suggestion":{"success":"{{space}} added as a suggestion"},"agent":{"requested-buildings":{"description":"Here you can find all requested buildings and spaces. Operator are incentivised to fill out all missing details in the list"}},"chat":{"conversation-with-agent":"Conversation with Agent","conversation-with-operator":"Conversation with Operator","input":{"placeholder":"Write a message"},"message":"Agent is currently not using the Enquiry System. As they still receive your updates via email, further communication will occur via email or phone"},"enquiry-details":{"title":"Enquiry: {{operator}}"},"internal-notes":{"placeholder":"Write a note","title":"Internal notes"},"operator":{"no-access":"Operator is currently not using the Enquiry System. As they still receive your enquiry via email, further communication will occur via email or phone","requested-buildings":{"description":"Please respond to your lead request and confirm pricing and availability for the following buildings. Necessary space updates can be provided directly via the enquiry"}},"operator-enquiry-details":{"title":"Enquiry: {{name}} <brackets>{{contactFullName}}</brackets>"},"requested-buildings":{"title":"Requested buildings"},"status":{"confirmed":"Confirmed","requested":"Requested","tooltip":{"confirmed":"Pricing and availability confirmed","requested":"Pricing and availability requested"}},"table":{"empty":"No enquiries found","header":{"contact-date":"Contact date"},"option":{"edit":"Edit option"},"suggestion":{"accept":"Accept suggestion","create":"Create suggestion","remove":"Remove suggestion","tooltip":"Suggested by operator"}}}'),industries:JSON.parse('{"aerospace-and-defence":"Aerospace and Defense","automotive":"Automotive","banking-and-financial-services-and-insurance":"Banking / Financial Services / Insurance","business-services":"Business Services","charities":"Charities","chemicals":"Chemicals","education":"Education","engineering-and-construction":"Engineering and Construction","forest-paper-and-packaging":"Forest, Paper and Packaging","government-and-public-services":"Government and Public Services","healthcare":"Healthcare","hospitality-and-leisure":"Hospitality and Leisure","legal-services":"Legal Services","manufacturing":"Manufacturing","media-and-creative":"Media and Creative","mining-and-metals":"Mining and Metals","oil-and-gas":"Oil and Gas","other":"Other","pharmaceutical-and-life-sciences":"Pharmaceutical and Life Sciences","power-and-utilities":"Power and Utilities","private-equity":"Private Equity","real-estate":"Real Estate","retail-and-consumer":"Retail and Consumer","sports-and-entertainment":"Sports & Entertainment","technology":"Technology","telecommunications":"Telecommunications","transport-and-logistics":"Transport and Logistics"}'),password:JSON.parse('{"change-password":"Change password","confirm-new-password":{"label":"Confirm new password","placeholder":"Re-enter your new password"},"current-password":{"label":"Current password","placeholder":"Enter your current password"},"do-not-match":"The passwords don\'t match","does-not-match":"The password does not match!","message":"Your password has been updated successfully","new-password":{"label":"New password","placeholder":"Enter your new password"},"rules":{"minimum-length_one":"Minimum password length is {{count}} symbols","minimum-length_other":"Minimum password length is {{count}} symbols","require-lowercase":"Must contain at least one lowercase letter","require-numbers":"Must contain at least one number","require-symbols":"Must contain at least one special symbol: !@#$%^&*(){}\\"","require-uppercase":"Must contain at least one capital letter"}}'),report:JSON.parse('{"cover":{"cover-support":"Choose a cover page for your report. To add or remove a cover sheet, either contact support at <2>support@valvespace.com</2> or upload new slides directly through the Application settings if you are an Admin user .","date":"Date","front":"Front cover","prepared-by":"Prepared by","report-for":"Report for","report-for-name":"Report for {{name}}","schedule-for":"Schedule for","schedule-for-name":"Schedule for {{name}}","slogan":"Flexible Workspace Options"},"designer":{"feedback":"Feedback and improvements","operator-transparency-settings":{"address":"Show building addresses","branding":"Show operator branding","button":"Operator visibility settings","page-numbering":"Page numbering","request-view-button":"Request to view button"},"report-designer":"Report designer","tour-designer":"Schedule designer","valve-disclaimer":"Valve will be investing further product and engineering resource in Report generation. Our medium term goal is to provide fully customisable and uniquely designed templates for you. If you have any feedback please email <2>product.feedback@valvespace.com</2>."},"drawer":{"add-slide":"Slide","slide-added":"Slide added","slides_one":"{{count}} slides","slides_other":"{{count}} slides","tab":{"content":"Content","floors":"Floors","others":"Others"}},"header":{"how-to":"How to convert PDF to Powerpoint","popover":"<0>Download the Report in PDF</0><1>Go to <2>smallpdf.com</2> and follow the instructions on it</1>"},"office-price":{"empty":"Operator provides on request","title":"Guide Pricing"},"options":{"and-more-options_one":"and {{count}} more options","and-more-options_other":"and {{count}} more options"},"request-to-view":"Request to view","section":{"add-slides":"Slides","include-in-report":"Include in report","name-floorplan":"Floor {{number}}","title":{"closing":"Closing slides","general":"General slides"}},"slide":{"contact":{"your-contact":"Your contact"},"map":{"range-buildings":"{{from}} - {{to}} buildings","schedule-options_one":"Schedule of {{count}} options","schedule-options_other":"Schedule of {{count}} options","tour-plan":"Tour plan"},"option-comparison":{"annual-cost":"Annual cost","cost":"Cost per area unit","monthly-cost":"Monthly cost","table":"Option comparison table"},"range-of-options":"{{from}} - {{to}} options","title":{"about-building":"About building","comparison":"Option comparison","contact":"Contact","disclaimer":"Disclaimer","options":"Options","scope-of-service-confirmation":"Scope of service confirmation"}}}'),"space-type":JSON.parse('{"coworking-desks":{"description":"Hot desks and fixed desks in a coworking environment.","title":"Coworking desks"},"event-space":{"description":"Dedicated space for hosting standing and/or seated events.","title":"Event space"},"meeting-room":{"description":"A room where a number of people can have a meeting.","title":"Meeting room"},"membership":{"description":"Business lounge access usually without a coworking desk.","title":"Membership"},"miscellaneous":{"title":"Miscellaneous"},"not-specified":{"title":"Not specified"},"pipeline-managed-space":{"description":"Space that is owned, operated and leased by the landlord. Available with short term leases.","title":"Prebuilt space (lease)"},"private-office":{"description":"Fully furnished private offices with shared facilities.","title":"Private office"},"self-contained-managed-space":{"description":"Large turn key requirements with some customization, including a private kitchen area.","title":"Managed space (license)"}}'),transport:JSON.parse('{"distance":{"foot_one":"{{count}} ft","foot_other":"{{count}} ft","km_one":"{{count}} km","km_other":"{{count}} km","meters_one":"{{count}} meter","meters_other":"{{count}} meters","miles_one":"{{count}} mile","miles_other":"{{count}} miles"},"duration":{"minutes":"{{value}} min","seconds":"{{value}} sec"},"walk":"{{duration}} walk"}'),utils:JSON.parse('{"max":"max {{value}}","min":"min {{value}}","range":{"from":"from {{from}}","from-to":"from {{from}} to {{to}}","from-to-short":"{{from}} - {{to}}","to":"to {{to}}"}}'),validation:JSON.parse('{"at-least-one-referral-selected":"At least one referral should be selected","equal-to":"Value is equal to {{value}}","errors-in-fields":"You have errors in the following fields: {{fields}}","image":{"required":"Please upload image"},"invalid-email":"Value is not a valid email","invalid-file":"Invalid file","invalid-url":"Value must be a valid URL, e.g. https://valvespace.com","is-after":"\\"Till\\" must be later than \\"From\\"","max-length_one":"{{field}} cannot be longer than {{count}} symbols","max-length_other":"{{field}} cannot be longer than {{count}} symbols","max-lines_one":"{{field}} cannot have more than {{count}} lines","max-lines_other":"{{field}} cannot have more than {{count}} lines","max-value":"Please input maximum value","min-height":"Image must be at least {{height}}px height","min-value":"Please input minimum value","min-width":"Image must be at least {{width}}px wide","more-than":"Value is more than {{value}}","required-condition":"{{first}} is required if {{second}} is on","required-field":"This field is required"}')},fr:{agent:JSON.parse('{"add-buildings":{"add-buildings-to-opportunity":"Ajouter des b\xe2timents {{name}}","message":"Les exigences en mati\xe8re d\'opportunit\xe9s sont transf\xe9r\xe9es et appliqu\xe9es aux filtres.","message_one":"{{count}} b\xe2timents ont \xe9t\xe9 ajout\xe9s \xe0 l\'opportunit\xe9","message_many":"{{count}} b\xe2timents ont \xe9t\xe9 ajout\xe9s \xe0 l\'opportunit\xe9","message_other":"{{count}} b\xe2timents ont \xe9t\xe9 ajout\xe9s \xe0 l\'opportunit\xe9"},"add-key-date":"Ajouter une date cl\xe9","add-phone-number":"Ajouter un num\xe9ro de t\xe9l\xe9phone","all-operators":"Tous les op\xe9rateurs","availability":{"locked":{"body":"Nous sommes int\xe9ress\xe9s par la possibilit\xe9 de montrer notre disponibilit\xe9 aux agents. Pourriez-vous nous en dire plus sur les plans appropri\xe9s qui nous permettent de montrer notre disponibilit\xe9 totale ?","content":"Vos espaces, prix et disponibilit\xe9 ne sont actuellement pas visibles pour les agents et courtiers. Pour mettre \xe0 niveau, contactez notre \xe9quipe commerciale.","subject":"Upgrade to show full availability"}},"availability-panel":{"all-occupied":"Ce b\xe2timent est enti\xe8rement occup\xe9","available-soon":"Ce b\xe2timent est enti\xe8rement occup\xe9, mais certains espaces seront disponibles d\'ici 3 mois","available-spaces_one":"Ce b\xe2timent dispose de <accent>{{ count }} espaces disponibles</accent>","available-spaces_many":"Ce b\xe2timent a <accent>{{ count }} espaces disponibles</accent>","available-spaces_other":"Ce b\xe2timent dispose de <accent>{{ count }} places disponibles</accent>","limited-availability":"Ce b\xe2timent dispose d\'espaces r\xe9serv\xe9s qui pourraient bient\xf4t devenir disponibles"},"back-to-key-dates":"Retour aux dates cl\xe9s","booking":{"price":{"at-least-one":"Au moins un prix de r\xe9servation doit \xeatre d\xe9fini","label":"Prix de r\xe9servation","note":"Il sera utilis\xe9 uniquement pour la r\xe9servation","unit":{"per-day":"par jour","per-hour":"par heure"}}},"booking-without-working-hours":"Vous ne pouvez pas indiquer qu\'un espace est disponible pour la r\xe9servation sans pr\xe9ciser les heures de travail","branding":{"map":"Carte","map-pin":"Carte de l\'\xe9pingle","pin-preview":"Aper\xe7u des \xe9pingles","primary-color":{"label":"Couleur primaire","placeholder":"Saisir le code HEX"}},"building-forms":{"address":{"building-street-name":"B\xe2timent / Num\xe9ro de rue","country":"Pays","latitude":"Latitude","location":"Location","longitude":"Longitude","postcode":"Code postal","region":"R\xe9gion","street":"Rue","town":"Ville"},"address-search":{"placeholder":"Commencez \xe0 taper pour obtenir des suggestions","search":"Recherche d\'adresse"},"building-group":{"approved-by-valve":"Approuv\xe9 par Valve","awaiting-approval":"En attente d\'approbation","cancel-request-button":"Annuler la demande de publication","cancel-request-description":"\xcates-vous s\xfbr de vouloir annuler cette demande?","cancel-request-success":"Demande annul\xe9e avec succ\xe8s","cancel-request-title":"Annuler la demande de publication","close":"Fermer","create-building-first":"Pour demander la publication, un b\xe2timent doit d\'abord \xeatre cr\xe9\xe9","info-tooltip":"Par d\xe9faut, un nouveau b\xe2timent est priv\xe9 et visible uniquement par votre entreprise. Pour rendre le b\xe2timent visible pour tout le monde sur la carte, l\'approbation de Valve est n\xe9cessaire avant la publication","proceed":"Proc\xe9der","rejected-by-valve":"Rejet\xe9 par Valve","request-approval-button":"Demande de publication","request-approval-success":"Vous avez demand\xe9 avec succ\xe8s une approbation de construction"},"building-information":{"title":"B\xe2timent information"},"calendly-link":"Lien Calendly","commission":{"description":"Description","details-link":"Lien vers les d\xe9tails de la co`mmission","note":"Fournir des taux de commission contribue \xe0 augmenter le flux de prospects et la fiabilit\xe9.","rate":"Taux de commission","rate-required":"Veuillez saisir une valeur num\xe9rique comprise entre 1 et 100","title":"Commissions"},"location":{"error":{"intersection":"Le lieu que vous avez saisi n\'est pas dans votre r\xe9gion","required":"Adresse - Le lieu est obligatoire"}},"map":"Vous pouvez d\xe9placer le marqueur sur la carte pour positionner le b\xe2timent.","message":"B\xe2timent mis \xe0 jour","operators-website":"Site web des op\xe9rateurs","request-to-view":{"description":{"calendly":"Avec ce type de s\xe9lection, apr\xe8s que l\'utilisateur a cliqu\xe9 sur le bouton \\"Demander \xe0 voir\\" sur la page du b\xe2timent ou de l\'espace du rapport num\xe9rique. L\'utilisateur se verra pr\xe9senter une fen\xeatre Calendly o\xf9 il pourra prendre rendez-vous directement avec vous.","email":"Avec ce type de s\xe9lection, apr\xe8s que l\'utilisateur a cliqu\xe9 sur le bouton \\"Demander \xe0 voir\\" sur la page du b\xe2timent ou de l\'espace du rapport num\xe9rique. Vous recevrez une notification par e-mail."},"title":"Demande de visualisation \xe0 partir d\'un rapport num\xe9rique"},"tabs":{"address":{"title":"Adresse"},"amenities":{"title":"Commodit\xe9s"},"general":{"title":"G\xe9n\xe9ral"},"media":{"title":"M\xe9dia"},"price":{"title":"Tarifs"},"working_hours":{"title":"Heures de travail"}},"tours":{"add":"Ajouter une visite","hint":"Veuillez ins\xe9rer l\'URL (ex: https://my.matterport.com/show/?m=xbYh4Vuis2s).","title":"Visites virtuelles"},"vimeo":{"add":"Ajouter un vimeo"},"vimeos":{"errors":{"does-not-exist":"La vid\xe9o n\'existe pas","invalid":"URL invalide"},"hint":"Veuillez ins\xe9rer l\'URL (ex: https://vimeo.com/750095839).","title":"Vimeos"},"working-hours":{"copy-time-to-all":"Copier l\'heure \xe0 tous"},"your-building-id":"ID de votre b\xe2timent"},"buildings-filter":{"all-up-to-date":"Tous les b\xe2timents sont \xe0 jour","message":"Vous avez publi\xe9 avec succ\xe8s la disponibilit\xe9 de votre inventaire","publish-availability":"Publier la disponibilit\xe9","publish-availability-tooltip":"Confirmer les prix et la disponibilit\xe9 actuels et publier ces informations sur le march\xe9"},"buildings-list-empty":"Aucun b\xe2timent ne correspond \xe0 vos crit\xe8res. Essayez de modifier les valeurs du filtre.","calendly":{"confirm":{"cancelation":"Confirmer l\'annulation","canceled-event":"Veuillez confirmer que vous avez annul\xe9 cet \xe9v\xe9nement dans Calendly","no":"Non, je n\'ai pas annul\xe9"},"details":"D\xe9tails calendly","message":{"invalid-url":"URL Calendly non valide, ex: https://calendly.com/xxx/yyy"}},"card-list":{"add-count-to-shortlist_one":"Ajouter {{count}} b\xe2timent \xe0 la liste restreinte","add-count-to-shortlist_many":"Ajouter {{count}} b\xe2timents \xe0 la liste restreinte","add-count-to-shortlist_other":"Ajouter {{count}} b\xe2timents \xe0 la liste restreinte"},"commission":{"title":"{{operatorName}} offre une commission de <accent>{{amount}}%</accent> pour {{buildingName}}","title-standard":"{{operatorName}} offre une standard commission de <accent>{{amount}}%</accent> pour{{buildingName}}"},"common":{"day-off":"Jour de fermeture","time":{"from":"De","till":"Jusqu\'\xe0"}},"company-industry-input":{"note":"Veuillez s\xe9lectionner l\'industrie qui correspond le plus \xe0 l\'entreprise.","placeholder":"S\xe9lectionnez une industrie","title":"Secteur d\'activit\xe9 de l\'entreprise","tooltip":"Cette information aide les op\xe9rateurs \xe0 r\xe9pondre avec des options plus pertinentes (ex: des environnements cr\xe9atifs pour les entreprises de m\xe9dias)"},"company-location-input":{"placeholder":"Saisir l\'adresse actuelle de l\'entreprise","title":"Adresse actuelle de l\'entreprise","tooltip":"L\'adresse actuelle de l\'entreprise sera affich\xe9e sur tous les rapports comme point de r\xe9f\xe9rence."},"company-size-input":{"note":"Veuillez s\xe9lectionner un nombre approximatif d\'employ\xe9s.","title":"Taille de l\'entreprise","tooltip":"Cette information aide les op\xe9rateurs \xe0 r\xe9pondre avec des options plus pertinentes (ex: bureau de type entreprise vs bureau de type start-up)"},"confirm":{"buildings-up-to-date":{"content":"Vous confirmez que toutes les informations, y compris les prix et la disponibilit\xe9, sont \xe0 jour pour les agents.","title":"Confirmer que les b\xe2timents sont \xe0 jour"},"discard":{"content":"Voulez-vous annuler les modifications?","title":"Annuler les modifications"},"floor-confirm":{"content":"Si vous changez l\'\xe9tage, toutes les modifications du plan d\'\xe9tage dispara\xeetront","title":"Vous \xeates s\xfbr de vouloir changer l\'\xe9tage?"},"remove-building":{"content":"Voulez-vous supprimer le b\xe2timent?","title":"Supprimer le b\xe2timent"},"remove-desk":{"content":"Voulez-vous supprimer le bureau?","title":"Supprimer le bureau"},"remove-file":{"content":"Voulez-vous supprimer le fichier?","title":"Supprimer le fichier"},"remove-key-date":{"content":"Voulez-vous supprimer cette date cl\xe9?","title":"Supprimer la date cl\xe9"},"remove-option":{"content":"Voulez-vous supprimer l\'option?","title":"Supprimer l\'option"},"remove-phone":{"content":"Voulez-vous supprimer le t\xe9l\xe9phone?","title":"Supprimer le t\xe9l\xe9phone"},"remove-referral":{"content":"Voulez-vous supprimer le parrainage?","title":"Supprimer le parrainage"},"remove-space":{"content":"Voulez-vous supprimer l\'espace?","title":"Supprimer l\'espace"},"remove-tour":{"content":"Voulez-vous supprimer la visite?","title":"Supprimer la visite"},"remove-vimeo":{"content":"Voulez-vous supprimer vimeo?","title":"Supprimer vim\xe9o"}},"content":"Contenu","create-building-form":{"message":"B\xe2timent cr\xe9\xe9"},"create-desk-form":{"message":{"saved":"Bureau enregistr\xe9"}},"create-space-form":{"message":"Espace cr\xe9\xe9"},"desk-forms":{"desk-external-id":{"label":"ID du bureau (d\xe9fini par l\'op\xe9rateur)"},"desk-name":{"label":"Nom"},"desk-parent-space":{"label":"Espace parents"},"desk-type":{"label":"Type"}},"digital-report":{"feedback":{"amenities":"L\'espace doit avoir certaines commodit\xe9s.","larger-options-size":"L\'espace devrait \xeatre plus grand.","less-desks":"L\'espace devrait avoir moins de bureaux.","less-expensive":"L\'espace devrait \xeatre moins cher.","location":"L\'emplacement devrait \xeatre plus central.","more-desks":"L\'espace devrait avoir plus de bureaux.","more-options":"J\'aime la s\xe9lection mais je souhaite voir plus d\'options.","other":"Autres raisons.","smaller-options-size":"L\'espace devrait \xeatre plus petit."}},"digital-report-form":{"message":"Digital report settings have been successfully updated"},"draw-on-floorplans":"Dessiner sur le plan","edit-floorplans":"Modifier le dessin","edit-key-date":"Modifier la date cl\xe9","email-for-distributors-input":{"error":"Veuillez saisir un courriel ou utiliser la s\xe9lection par d\xe9faut","note":"Ce contact est partag\xe9 avec les distributeurs pour les r\xe9servations"},"email-for-distributors-warning":{"message":"Contactez votre repr\xe9sentant commercial pour configurer l\'e-mail par d\xe9faut","title":"L\'e-mail de r\xe9servation est manquant"},"enquiry":{"title":"Enqu\xeate"},"enquiry-filter":{"agent":{"placeholder":{"search-for-agent":"Search for an agent"},"title":"Agent"},"lead":"Plomb","operator":{"placeholder":{"search-for-operator":"Rechercher un op\xe9rateur"},"title":"Op\xe9rateur"}},"file-upload":{"message":{"allowed-file-types":"Types de fichiers autoris\xe9s: {{types}}","limit-exceeded":"Le fichier doit \xeatre plus petit que {{limit}}MB"},"upload":{"title":"Faites glisser et d\xe9posez un fichier ici ou cliquez simplement pour ajouter un fichier"}},"filters-modal":{"include-only":{"title":"Inclure les b\xe2timents avec des informations sur leur disponibilit\xe9"}},"floorplans-let-view":"Indiquez \xe0 vos visiteurs l\'emplacement exact de l\'espace propos\xe9 sur le plan d\'\xe9tage. Cela augmentera les chances que votre espace soit visible.","format":"Formater","group-buildings":{"description":"Vous pouvez organiser le rapport en regroupant les b\xe2timents. Les b\xe2timents non affect\xe9s sont r\xe9pertori\xe9s sous Autres.","form":{"add":"Ajouter un groupe","buildings":{"error":"Doit contenir au moins un b\xe2timent","label":"B\xe2timents","placeholder":"Glisser-d\xe9poser des b\xe2timents depuis le panneau de droite"},"description":{"error_one":"La description doit comporter moins de {{count}} caract\xe8re","error_many":"Description should be less than {{count}} caract\xe8res","error_other":"Description should be less than {{count}} caract\xe8res","label":"Description","placeholder":"Saisir la description du groupe"},"name":{"label":"Nom","placeholder":"Saisir le nom du groupe"},"success":"Groupes mis \xe0 jour avec succ\xe8s"},"move-down":"Descendre","move-up":"Monter en grade","new":"Nouveau groupe","others-count_one":"Autres ({{count}})","others-count_many":"Autres ({{count}})","others-count_other":"Autres ({{count}})","title":"B\xe2timents du groupe"},"include-all-spaces":"Include all spaces","insights":{"email":{"body":"Veuillez me contacter avec plus de d\xe9tails sur les rapports Data Insight de Valve.\\n Merci","subject":"H\xe9, je suis int\xe9ress\xe9 par les rapports Valve Data Insights"},"give-feedback":"Donner un retour d\'information","icon":"Insights (nouveau)","list-caption":"Ce \xe0 quoi vous pouvez vous attendre:","list-item-1":"Tendances de la demande par sous march\xe9","list-item-2":"Tendances de la taille des exigences par sous-march\xe9","list-item-3":"Tendances des prix par sous-march\xe9","share-thoughts":"Partagez vos id\xe9es sur ce que vous aimeriez voir","subtitle":"Des informations exploitables sur le march\xe9 pour des sous-march\xe9s personnalisables afin d\'obtenir un avantage concurrentiel","title":"Valve Market Insights<1></1>rapport de r\xe9f\xe9rence"},"intro":{"agent":{"message":"Vous trouverez ici plusieurs options qui correspondent \xe0 vos crit\xe8res de recherche.\\nIl y a beaucoup de choix sur le march\xe9 de cette taille. Nous avons re\xe7u plus de 100\xa0b\xe2timents pour la recherche, nous avons donc r\xe9duit la liste du mieux que nous pouvions pour commencer.\\nFaites-moi savoir si vous souhaitez organiser des visites."},"operator":{"message":"Vous trouverez ci-joint plusieurs options qui correspondent \xe0 vos crit\xe8res de recherche.\\nSi vous avez des questions ou si vous souhaitez organiser une visite, n\'h\xe9sitez pas \xe0 me le faire savoir."},"title":"Accueillir. Nous vous avons pr\xe9par\xe9 un rapport."},"key-date":"Date cl\xe9","key-event":"\xc9v\xe9nement cl\xe9","key-format":{"date":"Jour/Mois/Ann\xe9e","month":"Mois/Ann\xe9e","quarter":"Trimestre/Ann\xe9e","year":"Ann\xe9e"},"location-search":{"make-primary":"Rendre primaire","placeholder":"Recherche d\'emplacement","primary":"Primaire"},"mediaform":{"brochures":{"hint":"Les brochures d\'immeubles sont utilis\xe9es par les agents pour les partager avec leurs clients, en donnant un aper\xe7u de votre immeuble et de votre marque.","title":"Brochures"},"drag-images":"Faites glisser les images dans le bon ordre","floor-plans":{"hint":"Les plans d\'\xe9tage aident les agents et les clients \xe0 se faire une id\xe9e de la disposition de votre b\xe2timent et de l\'emplacement de leur bureau."},"photos":{"description":"Les photos sont un excellent moyen de montrer aux clients ce que votre espace offre d\'un point de vue esth\xe9tique. (Veuillez t\xe9l\xe9charger les photos dans l\'ordre dans lequel vous souhaitez qu\'elles soient affich\xe9es dans les rapports, car les trois premi\xe8res photos seront incluses dans la diapositive sur le b\xe2timent. Pour toute aide suppl\xe9mentaire concernant le t\xe9l\xe9chargement des photos, veuillez contacter <2>{{email}}</2>)","hint":"Vous pouvez faire glisser et d\xe9poser les photos t\xe9l\xe9charg\xe9es pour en modifier l\'ordre."}},"menu":{"account":"Compte","admin":"Administrateur","buildings":"B\xe2timents","help":"Aide","insights":"Insights","map":"Carte","market":"March\xe9","opportunities":"Opportunit\xe9s"},"merge-options":{"confirm-content":"Lors de la fusion des options, nous cumulons les diff\xe9rentes donn\xe9es. Les descriptions, les dur\xe9es de validit\xe9, les statuts et les types ne sont pas transf\xe9r\xe9s.","confirm-title":"Confirmer la fusion","disabled-reason":"Veuillez s\xe9lectionner la m\xeame devise et la m\xeame unit\xe9 de surface","existing-options":"Options existantes","failure":"La fusion des options a \xe9chou\xe9","no-options":"Il n\'y a pas d\'options \xe0 fusionner","options-based-on-inventory":"Options bas\xe9es sur l\'inventaire du b\xe2timent","select-floor":"Veuillez s\xe9lectionner l\'\xe9tage pour voir les options","success":"Les options ont \xe9t\xe9 fusionn\xe9es avec succ\xe8s","title":"Fusionner les options"},"new-key-date":"Nouvelle date cl\xe9","non-paying-customers":{"preview-limited":"En tant que fournisseur de base, certains de vos contenus marketing et de votre image de marque peuvent ne pas \xeatre pr\xe9sent\xe9s aux agents et aux courtiers. Pour en savoir plus <2>speak</2> \xe0 notre \xe9quipe au sujet de la mise \xe0 niveau \xe0 Valve Professional."},"office-modal-page":{"message":"Le bureau n\'est pas accessible"},"operator-forms":{"content":"Valve n\'autorise pas l\'utilisation de contenu illicite sur sa plateforme/ses services. En t\xe9l\xe9chargeant du contenu sur la plateforme de Valve, vous acceptez de disposer de tous les droits n\xe9cessaires pour utiliser et distribuer ce contenu. Vous acceptez \xe9galement les conditions g\xe9n\xe9rales d\'utilisation de l\'op\xe9rateur de Valve."},"operator-limit-warning":{"title":"Les espaces, les prix et la disponibilit\xe9 sont des fonctionnalit\xe9s verrouill\xe9es."},"operators":{"buildings":"B\xe2timents","name":"Nom"},"opportunity":{"has-been-updated":"L\'opportunit\xe9 a \xe9t\xe9 mise \xe0 jour."},"opportunity-columns":{"max-x-custom-columns_one":"Max. {{count}} colonne personnalis\xe9e","max-x-custom-columns_many":"Max. {{count}} colonnes personnalis\xe9es","max-x-custom-columns_other":"Max. {{count}} colonnes personnalis\xe9es"},"opportunity-empty":"Vide","opportunity-filter":{"collaborators":"Collaborateurs","removed":"Afficher les opportunit\xe9s supprim\xe9es","search-for-collaborator":"Rechercher un collaborateur"},"opportunity-form":{"add-more-details":"Ajouter plus de d\xe9tails","company-contact":"Company contact","company-name":"Company name","message":"L\'opportunit\xe9 a \xe9t\xe9 cr\xe9\xe9e avec succ\xe8s","requirements":{"description":"Enregistrez les exigences de votre client pour pouvoir vous y r\xe9f\xe9rer facilement.","header":"Exigences"}},"opportunity-lead":{"accepted":"Accept\xe9","declined":"Diminu\xe9","not-submitted":"Non soumis","overturn":"Renvers\xe9","pending":"En attente"},"opportunity-status":{"active":"Actif","lost":"Perdu","on-hold":"En attente","removed":"Supprim\xe9","won":"Gagn\xe9"},"opportunity-tab":{"enquiry":{"operator-correspondence":"Correspondance de l\'op\xe9rateur","title":"Enqu\xeate"},"management":{"building-selection":"S\xe9lection de b\xe2timent","title":"Gestion des b\xe2timents"},"report":{"report-generation":"G\xe9n\xe9ration de rapports","title":"Rapport"},"tour":{"no-tours":"Aucune visite","title":"Calendrier de visite"}},"opportunity-table":{"buildings":"B\xe2timents","collaborators":"Collaborateurs","name":"Nom","spaces":"Espaces"},"option-create":"Option cr\xe9\xe9e avec succ\xe8s","option-update":"Option mise \xe0 jour avec succ\xe8s","options-view":{"add-from-scratch":"Ajouter une option \xe0 partir de z\xe9ro","matching-spaces":"Options pour cette suite :","options-based-on-building-inventory":"Options bas\xe9es sur l\'inventaire du b\xe2timent"},"pdf-report":{"branding":{"message":"L\'image de marque du rapport PDF a \xe9t\xe9 mise \xe0 jour avec succ\xe8s"}},"please-choose-floor":"Veuillez choisir un \xe9tage pour voir les plans d\'\xe9tage existants","preview":"Pr\xe9visualisation","price-form-items":{"cost-per-desk":{"empty":"Veuillez indiquer le nombre de bureaux et le co\xfbt mensuel de l\'occupation."},"quoting-rate":{"empty":"Veuillez indiquer l\'espace et le co\xfbt mensuel de l\'occupation."}},"profile":{"contact":{"title":"Contact"},"header":"Profile","message":"Votre profil a \xe9t\xe9 mis \xe0 jour avec succ\xe8s","personal-details":{"title":"D\xe9tails personnels"},"phone":{"title":"Les num\xe9ros de t\xe9l\xe9phone"},"preferences":{"title":"R\xe9gion, langue et devise"},"preview":{"format":{"currency":"Devise: {{currency}}","date":"Date: {{date}}"},"label":"Aper\xe7u du format"},"report":{"digital":{"intro":{"preview":"Preview","title":"Intro"},"videoUrl":{"help":"Please insert Vimeo URL (e.g. https://player.vimeo.com/video/915744407).","label":"Vimeo URL"}}},"section":{"currency":{"label":"Devise par d\xe9faut"},"job":{"label":"Titre de l\'emploi"},"locale":{"hint":"Cela affecte le format des dates et des nombres.","label":"Vos locales"},"region":{"hint":"Cela affecte la r\xe9gion de recherche de votre carte.","label":"R\xe9gion primaire","placeholder":"S\xe9lectionnez une r\xe9gion"},"report":{"default-message":"Message par d\xe9faut"}}},"promotion-ad":{"be-the-first":"Soyez le premier b\xe2timent que les utilisateurs voient et laissez une impression durable","mail-subject":"Salut, je suis int\xe9ress\xe9(e) par les promotions immobili\xe8res.","office-name":"Nom de votre bureau","want-to-promote":"Vous voulez promouvoir votre immeuble sur Valve?"},"referral":{"add-option-for":"Ajouter une option pour {{name}}","add-to-tour":"Ajouter \xe0 la visite","event-deleted":"Cet \xe9v\xe9nement a \xe9t\xe9 supprim\xe9 avec succ\xe8s!","message":"Le b\xe2timent a \xe9t\xe9 ajout\xe9 au programme de la visite","tour-requested":"Visite demand\xe9e","tour-scheduled":"Visite programm\xe9e"},"referral-contact":{"add-new-contact":"Ajouter un nouveau contact","confirmation-message":"Un e-mail de confirmation a \xe9t\xe9 envoy\xe9 \xe0 {{email}}, veuillez v\xe9rifier votre bo\xeete de r\xe9ception ou votre dossier spam","email":{"add":"Ajouter","error":"Format d\'e-mail incorrect","title":"E-mail"},"email-exists":"Cet email existe d\xe9j\xe0 dans vos contacts","error":"Veuillez s\xe9lectionner un contact","label":"Courriel(s)","link":"Compte > Entreprise > Contact de r\xe9f\xe9rence","note":"Le contact de r\xe9f\xe9rence peut \xeatre soit un membre de l\'\xe9quipe, soit un contact personnalis\xe9. Valve l\'utilise pour partager les r\xe9f\xe9rences de prospects des agents. Pour g\xe9rer un contact de r\xe9f\xe9rence personnalis\xe9, acc\xe9dez \xe0","placeholder":"S\xe9lectionnez un contact","remove":{"error":"{{email}} ne peut pas \xeatre supprim\xe9","pop-text":"Vous \xeates sur le point de supprimer un contact r\xe9f\xe9rent, souhaitez-vous continuer ?","popup-text":"L\'e-mail {{email}} est utilis\xe9 comme contact de r\xe9f\xe9rence pour quelques b\xe2timents de l\'inventaire. Afin d\'\xe9viter des probl\xe8mes de communication, veuillez attribuer un nouveau contact de r\xe9f\xe9rence pour ces b\xe2timents avant de supprimer cet e-mail","success":"{{email}} a \xe9t\xe9 supprim\xe9","title":"Attribuer un nouveau contact de r\xe9f\xe9rence"},"resend-confirmation-email":"Renvoyer un courriel de confirmation","table":{"description":"Valve utilise cet e-mail pour partager les r\xe9f\xe9rences de prospects des agents","members":{"confirmed":"Confirm\xe9","unconfirmed":"Non confirm\xe9"},"title":"Contact de r\xe9f\xe9rence"},"title":"Referral contact","tooltip":{"unconfirmed":"Un e-mail de confirmation a \xe9t\xe9 envoy\xe9 \xe0 l\'adresse e-mail indiqu\xe9e, veuillez v\xe9rifier votre bo\xeete de r\xe9ception ou votre dossier spam"},"try-again-in":"R\xe9essayez dans {{seconds}} secondes"},"referral-list":{"contact-operators":"Op\xe9rateurs de contact","contact-sales-representative":"Contacter le repr\xe9sentant commercial","count":"{{buildings}} b\xe2timents, {{options}} options","empty":"Ajouter des b\xe2timents en cliquant sur le <2>Ajouter des b\xe2timents</2> ou le menu d\xe9roulant <6>Copier des b\xe2timents</6> ci-dessus","enquiry":"Enquiry","error":{"region-error-description":"Ces b\xe2timents ne sont pas activ\xe9s pour votre r\xe9gion sous licence. Veuillez contacter Valve pour avoir acc\xe8s aux r\xe9gions requises.","region-error-header":"A v\xe9rifier","region-error-warning":"Certains b\xe2timents de cette opportunit\xe9 transf\xe9r\xe9e ne sont pas activ\xe9s pour votre r\xe9gion sous licence. <1></1> Veuillez contacter Valve pour avoir acc\xe8s aux r\xe9gions requises."},"no-results":"Rien n\'a \xe9t\xe9 trouv\xe9 pour  {{searchInput}}","search":"Recherche d\'un op\xe9rateur, d\'un nom de bureau ou d\'une adresse","sort-asc":"A-Z","sort-desc":"Z-A","sort-label":"Sort","sort-no-options":"Aucune Option - Options","sort-options":"Options - Aucune Option","title":"B\xe2timents"},"report":{"analytics":{"events":{"digital-report-created":{"content":"Rapport num\xe9rique g\xe9n\xe9r\xe9. <accent>{{date}}</accent>"},"digital-report-document-created":{"content":"Contrat demand\xe9 : <strong>{{referral}}</strong>. <accent>{{date}}</accent>"},"digital-report-document-opened":{"content":"Contrat num\xe9rique examin\xe9: <strong>{{referral}}</strong>. <accent>{{date}}</accent>"},"digital-report-feedback":{"content":"{{status}}{{separator}} Modifications demand\xe9es. <accent>{{date}}</accent>"},"digital-report-updated":{"content":"Le param\xe8tre de rapport num\xe9rique a \xe9t\xe9 modifi\xe9 pour <strong>{{changes}}</strong>. <accent>{{date}}</accent>"},"opportunity-transferred":{"content":"Opportunit\xe9 transf\xe9r\xe9e de <strong>{{from}}</strong> \xe0 <strong>{{to}}</strong>. <accent>{{date}}</accent>"},"option-created":{"content":"<strong>{{option}}</strong> ajout\xe9 \xe0 la liste restreinte. <accent>{{date}}</accent>"},"option-merged":{"content":"<strong>{{option}}</strong> fusionn\xe9. <accent>{{date}}</accent>"},"option-removed":{"content":"<strong>{{option}}</strong> retir\xe9 de la liste restreinte. <accent>{{date}}</accent>"},"option-updated":{"content":"<strong>{{option}}</strong> mis \xe0 jour. <accent>{{date}}</accent>"},"reaction-created":{"dislike":{"content":"Cach\xe9e: <strong>{{name}}</strong>. <accent>{{date}}</accent>"},"like":{"content":"Pr\xe9f\xe9r\xe9e: <strong>{{name}}</strong>. <accent>{{date}}</accent>"}},"referral-created":{"content":"<strong>{{referral}}</strong> ajout\xe9 \xe0 la liste restreinte. <accent>{{date}}</accent>"},"referral-removed":{"content":"<strong>{{referral}}</strong> retir\xe9 de la liste restreinte. <accent>{{date}}</accent>"},"view-request-created":{"content":"Visite demand\xe9e: <strong>{{referral}}</strong>. <accent>{{date}}</accent>"}},"last-viewed":"Derni\xe8re consultation","recent-activities":"Activit\xe9s r\xe9centes","stats":"Statistiques","total-views":"Vues totales"},"digital":{"description":"Rapport interactif avec un lien web personnalis\xe9","subject":"H\xe9, je souhaite d\xe9bloquer le rapport num\xe9rique.","title":"Num\xe9rique"},"pdf":{"description":"Rapport au format PDF","open-designer":"Ouvrir le concepteur de rapports","title":"PDF"},"schedule-tour":"Calendrier de la visite","settings":{"operator-details":{"disabled":"Sans les coordonn\xe9es de l\'op\xe9rateur","enabled":"Avec les coordonn\xe9es de l\'op\xe9rateur"},"title":"Param\xe8tres"},"title":"Rapport"},"report-form":{"placeholder":"Ex. Les d\xe9tails du b\xe2timent sont obsol\xe8tes ou ne refl\xe8tent pas la situation r\xe9elle","provide-feedback":"Veuillez donner votre avis sur ce b\xe2timent ci-dessous.","thank-you":"Merci de nous avoir fait part de vos observations. Nous vous r\xe9pondrons dans les plus brefs d\xe9lais."},"report-wizard":{"choose-type":"Choisir le type de rapport","congrats":{"description":"Vous pouvez consulter l\'engagement client (par exemple, nombre total de vues, derni\xe8re consultation) via <2>G\xe9rer le rapport</2> sur la page Opportunit\xe9.","header":{"subtitle":"Partagez le rapport avec vos clients et suivez l\'engagement","title":"Bravo! Votre rapport est pr\xeat"},"step-title":"Rapport g\xe9n\xe9r\xe9","subtitle":"Partager le rapport et suivre l\'engagement"},"digital":{"contact":"Contacter le repr\xe9sentant commercial","description":"Cr\xe9er un lien Web interactif et personnalis\xe9","locked":"Verrouill\xe9","paid":"Ceci est une fonctionnalit\xe9 payante","sample":"Afficher un exemple","subject":"Hey, je suis int\xe9ress\xe9 par le d\xe9verrouillage du rapport num\xe9rique.","title":"Num\xe9rique"},"digital-contract":{"add-another":"Ajouter un autre contrat","link":"Lien","title":"Contrat num\xe9rique","workspace":{"label":"Espace de travail","placeholder":"S\xe9lectionnez un espace de travail"}},"digital-report-type":{"request-contract":{"subtitle":"Les prospects peuvent demander le contrat pour un espace de travail","title":"Demander un contrat"},"request-to-view":{"subtitle":"Les prospects peuvent demander une visualisation de l\'espace de travail","title":"Demande \xe0 voir"},"sign-contract":{"subtitle":"Les prospects peuvent signer un contrat via un lien attach\xe9","title":"Signer le contrat"}},"include-operators-details":"Inclure les d\xe9tails de l\'op\xe9rateur","logo":{"hint":"Please upload logo in {{allowedTypes}} format","label":"Prospect logo"},"message":{"description":"Ajoutez un message personnalis\xe9 pour votre client en guise d\'introduction au rapport num\xe9rique. Vous pouvez personnaliser votre message par d\xe9faut sur la page <2>Param\xe8tres de l\'application</2>.","example-report":"Exemple de rapport"},"pdf":{"description":"Cr\xe9er un rapport au format PDF","title":"PDF"},"personalisation":{"step-title":"Personalisation","title":"Personalise proposal for prospects"},"sign-contract":{"description":"Attachez le lien au contrat num\xe9rique, par exemple via Docusign, afin que les clients puissent le consulter et le signer instantan\xe9ment.<1></1>Si l\'espace de travail n\'a pas de lien associ\xe9, les clients ne pourront que demander le contrat.","step-title":"Contrat num\xe9rique"},"type":{"choose-prompt":"Choisissez l\'invite du client","description":"Choisissez l\'action compl\xe9mentaire que vos clients doivent effectuer dans votre rapport num\xe9rique en fonction de votre cycle de vente.","post-tour":"Apr\xe8s la tourn\xe9e","pre-tour":"Pr\xe9-tour","step-title":"Avis \xe0 la client\xe8le","subtitle":"Concevez votre rapport en fonction de votre client et de vos pr\xe9f\xe9rences","title":"Param\xe8tres du rapport num\xe9rique"},"view-example":"Voir l\'exemple"},"requirements":"Exigences","save-changes":"Sauvegarder les modifications","saving":"Enregistrement...","search":{"by-building-space":"Rechercher un b\xe2timent ou un espace","by-operator":"Recherche par op\xe9rateur","no-results":"Aucun r\xe9sultat","nothing-found":"Rien trouv\xe9, essayez de modifier les param\xe8tres de recherche"},"search-opportunity":"Recherchez votre opportunit\xe9","select-floor":"Tous les \xe9tages","shortlist":{"no-spaces":"There\'s no additional spaces to include","success":"All spaces have been included"},"size-form-items":{"density":{"empty":"Veuillez indiquer l\'espace et le nombre de bureaux."}},"space":{"add-shortlist-success":"Les b\xe2timents/espaces s\xe9lectionn\xe9s ont \xe9t\xe9 ajout\xe9s \xe0 la liste restreinte","building":"b\xe2timent","buildings":"b\xe2timents","bulk-select-buildings_one":"{{count}} b\xe2timents s\xe9lectionn\xe9s","bulk-select-buildings_many":"{{count}} b\xe2timents s\xe9lectionn\xe9s","bulk-select-buildings_other":"{{count}} b\xe2timents s\xe9lectionn\xe9s","bulk-select-description":"{{buildings}} {{buildingText}} ({{spaces}} {{spaceText}}) s\xe9lectionn\xe9","bulk-select-space_one":"{{count}} espaces s\xe9lectionn\xe9s","bulk-select-space_many":"{{count}} espaces s\xe9lectionn\xe9s","bulk-select-space_other":"{{count}} espaces s\xe9lectionn\xe9s","disabled-tooltip":"La cr\xe9ation d\'espace n\'est actuellement pas disponible pour les comptes freemium. ","space":"espace","spaces":"les espaces","status-bulk-error":"Une erreur s\'est produite lors du changement de statut pour les b\xe2timents/espaces s\xe9lectionn\xe9s.","status-bulk-success":"Vous avez modifi\xe9 avec succ\xe8s le statut des b\xe2timents/espaces s\xe9lectionn\xe9s"},"space-forms":{"boking-id":"Identifiant de r\xe9servation","date-from":"Date \xe0 partir de","date-to":"Date jusqu\'\xe0","floorplans":{"hint":"Cet \xe9tage n\'a pas de plan d\'\xe9tage attach\xe9, vous pouvez ajouter des plans d\'\xe9tage aux b\xe2timents."},"private":{"label":"Priv\xe9","note":"Vous ne pouvez pas modifier la visibilit\xe9 lorsque le b\xe2timent est priv\xe9"},"public":{"description":"L\'espace est visible par tous","label":"Publique"},"space-id":{"hint":"(op\xe9rateur d\xe9fini)","placeholder":"Veuillez saisir ici votre identifiant unique d\'espace (si vous en avez un)"},"space-name":{"label":"Nom de l\'espace","placeholder":"Entrez le nom de votre espace, ex: 10 Person"},"working-hours-warning":"Aucun horaire de travail n\'a \xe9t\xe9 d\xe9fini. Veuillez d\'abord modifier les <2>d\xe9tails du b\xe2timent</2>."},"submit-referral":{"new-referral":"Vous avez une nouvelle r\xe9f\xe9rence","please-reply":"Veuillez r\xe9pondre \xe0 ce courriel en acceptant cette recommandation et en indiquant vos prix et vos disponibilit\xe9s."},"submit-referral-form":{"add-contact":"Ajouter un contact","body":"Vous allez envoyer les d\xe9tails de votre demande aux op\xe9rateurs.  Cela permet aux op\xe9rateurs de vous r\xe9pondre en vous proposant les derni\xe8res options d\'espace et de prix. Veuillez discuter et confirmer les tarifs avec chaque op\xe9rateur. Pour modifier les d\xe9tails de l\'exigence que vous enverrez, veuillez cliquer sur retour et modifier votre opportunit\xe9.","brief":"Ajouter un bref r\xe9sum\xe9 pour les op\xe9rateurs","button":"Envoyer aux op\xe9rateurs","email-enquiry-cc":"Envoyez une copie de la demande \xe0 mon e-mail","header":"Op\xe9rateurs de contact","mail":{"message":"Message","title":"Title"},"messages":{"enquiries-sent":"Vous avez des demandes de renseignements r\xe9ussies, puis des op\xe9rateurs"},"select-recipients":{"fees":{"hint":"Avant de contacter les op\xe9rateurs, veuillez confirmer que vous avez mis en place des conditions avec chaque op\xe9rateur pour garantir votre position en mati\xe8re de commission/frais"},"hint":"Enquiries will be sent to operators’ default contact or building-specific contact, if provided. You can also add additional e-mail addresses. ","title":"Select recipients"},"share-opportunity-name":"Share opportunity name"},"subscription":{"billed":"Factur\xe9 {{duration}}","contact-sales":"Contacter le service","current-plan":{"details":{"active-users":"Utilisateurs actifs","billing-cycle":"Cycle de facturation","name":"{{planType}}","renewal-date":"Date de renouvellement"},"hint":"Afficher les d\xe9tails de votre plan d\'abonnement actuel","title":"Plan actuel"},"duration":{"quarterly":"Trimestrielle","yearly":"Annuel (5% de r\xe9duction)"},"enterprise":{"description":"Id\xe9al pour acc\xe9l\xe9rer le processus de vente et am\xe9liorer la conversion des leads en vues","feature1":"Cr\xe9ez des propositions interactives pour vos clients potentiels","feature2":"2 licences de rapport num\xe9rique","feature3":"Optimiser la conversion des prospects en vues","feature4":"Utilisez d\'abord les nouvelles fonctionnalit\xe9s","list-footer":"Et beaucoup plus...","title":"Entreprise"},"free":{"feature1":"Renforcer la visibilit\xe9 des courtiers","feature2":"Documents de marketing de base disponibles pour les courtiers","feature3":"Commodit\xe9s au niveau du b\xe2timent","feature4":"R\xe9f\xe9rences de courtiers","price-description":"Pour toujours","title":"Free"},"overview-plan":{"hint":"S\xe9lectionnez une r\xe9gion et une p\xe9riode de facturation pour afficher vos options de tarification","title":"Aper\xe7u"},"professional":{"description":"Parfait pour renforcer la notori\xe9t\xe9 de la marque et la visibilit\xe9 des courtiers","feature1":"Visibilit\xe9 am\xe9lior\xe9e de la marque sur le march\xe9","feature2":"Tarification et disponibilit\xe9 des espaces visibles pour les courtiers","feature3":"Tous les supports marketing disponibles pour les courtiers","feature4":"Plateforme centralis\xe9e de gestion des leads (BETA)","price-description":"par b\xe2timent par mois","title":"Professionnelle"},"professional_plus":{"description":"Con\xe7u pour optimiser la collaboration avec les courtiers","feature1":"Explorez le march\xe9 et comparez votre marque avec d\'autres","feature2":"2 licences Market Explorer","feature3":"Fournissez efficacement des mises \xe0 jour de prix et de disponibilit\xe9 aux courtiers gr\xe2ce \xe0 l\'int\xe9gration WMS","feature4":"Assistance et SLA","price-description":"par b\xe2timent par mois","secondary-price-description":"frais de plateforme par mois","title":"Professionnelle+"},"promo":"Meilleure valeur","proof":{"contact":{"button":"Parle-nous","description":"Parlez \xe0 nos sp\xe9cialistes de la r\xe9ussite client pour discuter de la solution adapt\xe9e \xe0 votre entreprise","header":"Vous ne savez pas quel forfait vous convient le mieux?"},"header":"Approuv\xe9 par les experts du secteur"},"table":{"column":{"features":"Caract\xe9ristiques"},"details":{"hint":"Comparez les fonctionnalit\xe9s des plans choisir pour celui qui convient le mieux \xe0 vos besoins","title":"Caract\xe9ristiques en d\xe9tail"},"eighty-per-month":"+ 80\xa3 par licence et par mois","feature1":"R\xe9f\xe9rencement de vos immeubles sur Marketplace","feature10":"Dessin du plan d\'\xe9tage","feature11":"Rapport PDF","feature12":"Rapport num\xe9rique","feature13":"Licences d\'utilisation de rapports num\xe9riques suppl\xe9mentaires","feature14":"Gestion des tourn\xe9es (y compris l\'int\xe9gration de Calendly)","feature15":"Suivi de l\'engagement des clients","feature16":"Envoyer et signer le contrat","feature17":"Int\xe9gration LeadDADI CRM","feature18":"Mise \xe0 jour group\xe9e du contenu P&A","feature19":"Int\xe9gration WMS","feature2":"R\xe9f\xe9rencement de vos espaces sur Marketplace","feature20":"Proposition dynamique (licences utilisateurs suppl\xe9mentaires)","feature21":"Promotions de b\xe2timents","feature3":"Visibilit\xe9 des prix et de la disponibilit\xe9 sur le march\xe9","feature4":"\xc9l\xe9ments cartographiques de marque","feature5":"Contenu marketing enrichi pour votre annonce","feature6":"Acc\xe8s aux explorateurs de march\xe9","feature7":"Licences d\'utilisation suppl\xe9mentaires pour Market Explorer","feature8":"Liste restreinte des propositions","feature9":"Personnalisation du contenu de la proposition","forty-per-month":"+ 40\xa3 par licence et par mois","group1":"Gestion du b\xe2timent","group2":"Activation de la marque Marketplace","group3":"Propositions dynamiques","group4":"Int\xe9grations","group5":"Modules compl\xe9mentaires","two-licenses":"(2 licences)","unlimited":"Illimit\xe9"}},"terms-conditions":{"accept":"Accepter les termes et conditions","logout":"D\xe9connexion"},"tours":{"empty":"Ajouter des b\xe2timents en cliquant sur le bouton <2>Ajouter des b\xe2timents</2>","title":"Visites"},"update-desk-form":{"message":{"saved":"Bureau sauvegard\xe9"}},"update-space-form":{"message":{"saved":"Espace sauvegard\xe9"}},"upgrade":"Mise \xe0 niveau","upgrade-promo":{"branding":{"adjust-color-description":"Palette de couleurs r\xe9glable","customize-pin-description":"\xc9pingle de carte personnalisable","description":"Am\xe9liorez votre visibilit\xe9 et votre attrait aupr\xe8s des agents et des courtiers gr\xe2ce \xe0 une image de marque personnalis\xe9e","list-header":"Ce \xe0 quoi vous pouvez vous attendre:","title":"Personnalisez votre identit\xe9 de marque"},"enquiry":{"communicate-directly":"Communiquer directement avec les op\xe9rateurs","confirm-pricing-and-availability":"Confirmer les prix et la disponibilit\xe9","description":"Un syst\xe8me de communication centralis\xe9 pour les agents et les op\xe9rateurs","resolve-unclear-requirements":"R\xe9soudre les exigences peu claires en mati\xe8re de leads","respond-to-lead-requests":"R\xe9pondre directement aux demandes de prospects","send-reports-faster":"Envoyez des rapports plus rapidement","sync-inventory-automatically":"Synchronisez automatiquement avec l\'inventaire des op\xe9rateurs","title":"Syst\xe8me de demande de renseignements","track-lead-statuses":"Suivre les statuts des prospects","update-opportunities-instantly":"Mettez \xe0 jour instantan\xe9ment les opportunit\xe9s des agents"},"general":{"book-tours-description":"G\xe9rer les r\xf4les et les autorisations","description":"B\xe9n\xe9ficiez du contr\xf4le total sur la structure et les autorisations de votre \xe9quipe","list-header":"Ce \xe0 quoi vous pouvez vous attendre:","tailor-opportunities-description":"G\xe9rer l\'acc\xe8s des membres de l\'\xe9quipe","title":"Gestion d\'\xe9quipe am\xe9lior\xe9e"},"members":{"book-tours-description":"G\xe9rer les r\xf4les et les autorisations","description":"B\xe9n\xe9ficiez du contr\xf4le total sur la structure et les autorisations de votre \xe9quipe","list-header":"Ce \xe0 quoi vous pouvez vous attendre:","tailor-opportunities-description":"G\xe9rer l\'acc\xe8s des membres de l\'\xe9quipe","title":"Gestion d\'\xe9quipe am\xe9lior\xe9e"},"opportunity":{"book-tours":"R\xe9server des visites instantan\xe9ment","book-tours-description":"\xc9liminez les retards et planifiez des visites instantan\xe9ment.","customize-brand":"Personnaliser votre marque","customize-brand-description":"Ajoutez vos propres \xe9l\xe9ments de contenu et de marque","streamline-proposals":"Rationaliser les propositions","streamline-proposals-description":"Concevoir, partager et mettre \xe0 jour les propositions de mani\xe8re transparente.","tailor-opportunities":"Personnaliser les opportunit\xe9s","tailor-opportunities-description":"S\xe9lectionnez et partagez les meilleures options de b\xe2timents et d\'espaces pour r\xe9pondre aux besoins des clients.","title":"\xc9lever l\'engagement client avec des opportunit\xe9s"},"upgrade-now":"Mettre \xe0 jour maintenant"},"upload":{"files-and-limit":"Veuillez utiliser des fichiers {{files}} ne d\xe9passant pas {{limite}}MB","files-and-size-and-limit":"Veuillez utiliser des fichiers {{files}}. Les images doivent avoir au moins {{width}}px de large, {{height}}px de hauteur et ne pas d\xe9passer {{limit}}MB","title":"Glisser-d\xe9poser un fichier ici ou cliquer simplement pour ajouter un fichier"},"viewing":{"added-by-you":"Ajout\xe9 par vous","requested-from-report":"Demand\xe9 dans le rapport"},"zoom-to-results":"Zoom sur les r\xe9sultats"}'),amenities:JSON.parse('{"24/7-access":"Acc\xe8s 24/7","air-conditioning":"Climatisation","backup-internet-connection":"Connexion internet de secours","balcony":"Balcon","brainstorming-rooms":"Salles de brainstorming","breakout-areas":"Zones de repos","business-lounge":"Salon d\'affaires","cafe":"Caf\xe9t\xe9riat","call-handling":"Gestion des appels","car-parking":"Parking","cat-567-cabling":"Cable CAT 567","cctv":"CCTV","changing-rooms":"Vestaires","cleaning":"Service de nettoyage","coffee":"Caf\xe9","conference-rooms":"Salles de conference","cycle-parking":"Parking \xe0 v\xe9lo","dda-compliance":"Conformit\xe9 PMR","disable-access":"Accessibilit\xe9 aux personnes handicap\xe9es","dog-friendly":"Chiens accept\xe9s","event-space":"Salle \xe9venementielle","exercise-studio":"Salle d\'exercices\'","filtered-water":"Eau filtr\xe9e","fully-furnished":"Enti\xe8rement meubl\xe9","games-lounge":"Salon de jeux","gym":"Salle de Sport","kitchen":"Cuisine","lift":"Ascenseur","lockers":"Casiers","mail-handling":"Gestion du Courrier","meeting-rooms":"Salles de r\xe9union","mindfulness-rooms":"Salles de Mindfulness","on-site-barista":"Gar\xe7on de caf\xe9 sur place","on-site-staff":"Personnel sur place","outdoor-space":"Espace ext\xe9rieur","phone-booths":"Standart t\xe9l\xe9phonique","printing":"Imprimante","restaurant":"Restaurant","restaurant-on-site":"Restaurant sur place","rooftop-terrace":"Toits-terrasses","secretarial-services":"Service de secr\xe9tariat","secure-server-rooms":"Salles de serveurs s\xe9curis\xe9es","security-guards":"Agents de s\xe9curit\xe9","showers":"Douches","single-sex-toilets":"Toilettes unisexes","snacks-and-refreshments":"Collations et rafra\xeechissements","storage":"Espace de Rangement","unisex-toilets":"Toilettes unisexes","video-conferencing":"Vid\xe9oconf\xe9rence","voip":"T\xe9l\xe9com VOIP","wellness-room":"Salle de bien-\xeatre","wi-fi":"Wifi"}'),common:JSON.parse('{"add":"Add","add-file":"Ajouter le fichier","add-to-shortlist":"Ajouter \xe0 la liste restreinte","address":"Adresse","agent":{"admin-only":{"label":"Administrateur uniquement","tooltip":"Seuls les administrateurs ont le droit de modifier cette section"},"group-buildings":{"confirm-delete":{"description":"La suppression d\'un groupe ne supprime pas les b\xe2timents qui lui sont associ\xe9s de la liste restreinte. Ceux-ci seront r\xe9pertori\xe9s dans la rubrique Autres. \xcates-vous s\xfbr de vouloir continuer ?","title":"Suppression {{name}}"},"disabled":"Mise \xe0 jour pour activer la fonction"}},"agree":"Se mettre d\'accord","all-opportunities":"Toutes les opportunit\xe9s","amenities":"Am\xe9nagements","annual-cost":"Co\xfbt annuel","apply":"Appliquer","available":"Available","available-from":"Disponible depuis","back":"Retour","budget-units":{"PER_MONTH":" mensuel","PER_YEAR":" annuel","TOTAL":" total"},"building-group":{"presale":"Pr\xe9vente","private":"Priv\xe9","standard":"Publique"},"building-not-found":"B\xe2timent non trouv\xe9","building-status":{"label":{"AVAILABLE":"Places disponibles","AVAILABLE_SOON":"Espaces disponibles prochainement","OCCUPIED":"Enti\xe8rement occup\xe9e","UNDER_OFFER":"Places r\xe9serv\xe9es"},"tooltip":{"AVAILABLE":"Quelques places sont actuellement disponibles","AVAILABLE_SOON":"Certaines places seront disponibles dans les 3 mois","OCCUPIED":"Aucune place n\'est actuellement disponible","UNDER_OFFER":"Les places sont actuellement r\xe9serv\xe9es mais pourraient se lib\xe9rer prochainement."}},"buildings":"B\xe2timents","button":{"download-pdf":"T\xe9l\xe9charger le PDF"},"cancel":"Annuler","clear":"Effacer","clear-all":"Tout effacer","clear-drawing":"Dessin clair","clear-filters":"Effacer les filtres","close":"Fermer","closing-slides":{"title":"Diapositives de cl\xf4ture"},"collaborators":"Collaborators","collapse-all":"R\xe9duire tout","commission":"{{amount}}% commission","commission-details":"Voir les d\xe9tails de la commission","commission-not-set":"Commission non encore pr\xe9cis\xe9e","commission-not-set-description":"Il s\'agit d\'une nouvelle fonctionnalit\xe9 et les op\xe9rateurs mettent du temps \xe0 t\xe9l\xe9charger leurs commissions. Veuillez confirmer la commission aupr\xe8s de l\'op\xe9rateur","commission-note":"Remarque: <accent>Valve</accent> n\'est pas responsable du traitement des commissions ou des positions tarifaires","company":{"company-details":"D\xe9tails de l\'entreprise","company-logo":"Logo de l\'entreprise","company-name":"Nom de la soci\xe9t\xe9","default-booking-contact":{"caption":"Ce contact est partag\xe9 avec les Distributeurs pour les r\xe9servations.","title":"Contact de r\xe9servation par d\xe9faut"}},"confirm":"Confirmer","contact-type":{"landline":"T\xe9l\xe9phone fixe","organization":"Organisation","personal":"Personnel","primary":"Primaire","work":"Travail"},"cookie-consent":{"description":"En cliquant sur \\"Accepter\\", vous acceptez le stockage de cookies sur votre appareil pour am\xe9liorer la navigation sur le site, analyser l\'utilisation du site et nous aider dans nos efforts de marketing. Consultez notre <2>Politique de confidentialit\xe9</2> pour plus d\'informations.","title":"Consentement aux cookies"},"copy-link":"Lien de copie","cost-per-desk":"Co\xfbt par bureau","cost-per-desk-short":"Co\xfbt/bureau","count":{"options_one":"{{count}} options","options_many":"{{count}} options","options_other":"{{count}} options"},"create":"Cr\xe9er","create-space":"Cr\xe9er de l\'espace","density":{"per-desk":" par bureau"},"description":"Description","desk-types":{"DEDICATED":{"title":"D\xe9di\xe9"},"HOT":{"title":"Chaud"}},"details":"D\xe9tails","digital-report":{"notifications":{"previously":"Pr\xe9c\xe9demment"}},"discard":"Rejeter","download-pdf":"T\xe9l\xe9charger le PDF","draw-area":"Zone de dessin","duplicate":"Dupliquer","edit":"Editer","email":"E-mail","empty":{"nothing-found":"Rien trouv\xe9, essayez de modifier vos exigences de filtrage"},"enquiries":{"lead-declined":"Declined"},"error-default":"Une erreur s\'est produite, veuillez r\xe9essayer plus","exclude-all":"Exclure tout","expand":"D\xe9velopper","expand-all":"D\xe9velopper tout","favourites":"Favoris","filter":"Filtre","floor":"\xc9tage","floor-number":"\xc9tage {{number}}","floor-plans":"Plans d\'\xe9tage","floor-plans-count_one":"Plans d\'\xe9tage ({{count}})","floor-plans-count_many":"Plans d\'\xe9tage ({{count}})","floor-plans-count_other":"Plans d\'\xe9tage ({{count}})","form":{"confirm":{"content":"You are about to leave the editor. There are unsaved changes, do you want to discard them and leave?","title":"Do you want to discard the changes?"}},"front-cover":{"add-front-cover":"Ajouter la couverture","delete-front-cover":{"message":"\xcates-vous s\xfbr de vouloir supprimer cette couverture ?","title":"Supprimer la couverture avant"},"drawer":{"create":{"title":"Cr\xe9er une couverture"}},"title":"Premi\xe8re de couverture"},"generate":"G\xe9n\xe9rer","generate-report":"G\xe9n\xe9rer un rapport","image":"Image","include-all":"Inclure tous les","insights":"Perspectives","inventory-view":{"all":"Tout","enquiries":"Enqu\xeates"},"invite":"Invite","key-dates":"Dates cl\xe9s","key-type":{"built":"Construit (Ach\xe8vement pratique)","closed":"Ferm\xe9","launched":"Lanc\xe9","renovated":"R\xe9nov\xe9","update-operator":"Op\xe9rateur chang\xe9"},"last-updated":"Derni\xe8re mise \xe0 jour","lead":{"rejection-feedback":{"bad-inventory-selection":"Les b\xe2timents ou espaces s\xe9lectionn\xe9s ne correspondent pas.","bad-requirements":"Les exigences ne sont pas suffisamment claires.","modal":{"button":"Envoyer","comments":{"error":"Comments are required if you choose \\"Other reasons\\"","label":"Commentaires","placeholder":"Expliquez-nous votre raison (max. 200 caract\xe8res)"},"title":"Veuillez indiquer la raison du refus"},"occupied-inventory":"Certains b\xe2timents ou espaces sont occup\xe9s.","other":"Autre raison.","success-message":"Votre commentaire a \xe9t\xe9 envoy\xe9 avec succ\xe8s."}},"manage-report":"G\xe9rer le rapport","manage-template":{"form":{"create":{"title":"Create custom template from {{name}}"},"update":{"title":"Update template {{name}}"}}},"map":"Carte","marketing-content":{"guideline":{"failed":"L\'image que vous avez t\xe9l\xe9charg\xe9e a un rapport d\'aspect incorrect. Veuillez suivre les instructions ci-dessous pour t\xe9l\xe9charger l\'image dans le bon format.","guidelines_1":"Pour que vos diapositives de contenu marketing aient la meilleure apparence possible, elles doivent \xeatre t\xe9l\xe9charg\xe9es aux dimensions de<1> </1><2>A4 format paysage.</2>","guidelines_2":"Nous recommandons d\'utiliser un \xe9diteur de diapositives tel que Powerpoint ou Google Slides et de d\xe9finir la taille A4 \xe0 partir de l\xe0.","guidelines_3":"Si vous avez besoin d\'une aide suppl\xe9mentaire, veuillez contacter:<1></1><2>{{email}}</2>","title":"Directives pour le t\xe9l\xe9chargement de contenu marketing"},"hint":"Le contenu marketing permet de transmettre votre image de marque aux agents et de fournir des informations suppl\xe9mentaires sur ce que propose votre entreprise.","title":"Contenu marketing"},"members":{"manage-members":{"header":{"member":"Membre","role":"R\xf4le","updated-at":"Derni\xe8re mise \xe0 jour"},"invite-new-members":{"form":{"add-member":"Ajouter un membre","description":"Veuillez envoyer une demande \xe0 Valve pour inviter de nouveaux membres dans votre \xe9quipe. Ils recevront l\'acc\xe8s par e-mail d\xe8s que possible.","email":{"error":"This email already exists in the system","label":"E-mail","placeholder":"Entrez l\'e-mail"},"full-name":{"label":"Nom complet","placeholder":"Entrez le nom complet"},"request-access":"Demander l\'acc\xe8s","response":{"success":"Vous avez demand\xe9 avec succ\xe8s l\'approbation d\'acc\xe8s pour l\'utilisateur"},"role":{"label":"R\xf4le","tooltip":"Les administrateurs sont autoris\xe9s \xe0 inviter de nouveaux membres, demander l\'acc\xe8s, supprimer l\'acc\xe8s et modifier les r\xf4les des membres"}},"title":"Inviter de nouveaux membres"},"list":{"actions":{"cancel-request":"Annuler la demande","request-to-remove-access":{"cancel":{"success":"Vous avez annul\xe9 avec succ\xe8s la demande de suppression d\'acc\xe8s pour {{name}}","title":"Vous avez pr\xe9c\xe9demment demand\xe9 la suppression d\'acc\xe8s, voulez-vous annuler cette demande ?","tooltip":"Annuler la demande de suppression d\'acc\xe8s"},"remove-access":"Supprimer l\'acc\xe8s","retry":{"tooltip":"Renvoyer la demande de suppression d\'acc\xe8s"},"success":"Vous avez demand\xe9 avec succ\xe8s la suppression d\'acc\xe8s pour {{name}}","title":"Voulez-vous demander la suppression d\'acc\xe8s ?","tooltip":"Demander la suppression d\'acc\xe8s"},"request-to-restore-access":{"cancel":{"success":"Vous avez annul\xe9 avec succ\xe8s la demande de restauration d\'acc\xe8s pour {{name}}","title":"Vous avez pr\xe9c\xe9demment demand\xe9 la restauration d\'acc\xe8s, voulez-vous annuler cette demande ?","tooltip":"Annuler la demande de restauration d\'acc\xe8s"},"retry":{"tooltip":"Renvoyer la demande de restauration d\'acc\xe8s"},"success":"Vous avez demand\xe9 avec succ\xe8s la restauration d\'acc\xe8s pour {{name}}","tooltip":"Demander la restauration d\'acc\xe8s"}}},"role":{"admin":"Administrateur","member":"Membre"},"title":"G\xe9rer les membres"},"title":"Membres"},"merge":"Fusion","monthly-cost-of-occupancy":"Co\xfbt mensuel d\'occupation","move-in-date":"Move-in date","name":"Nom","next":"Suivant","number-of-desks":"Nombre de bureaux","number-of-desks-short":"Bureaux","occupied":"Occupied","office-suite-card":{"floor-level":"Rez-de-chauss\xe9e","space-location":{"tooltip":{"entire-floor":"Loyer de l\'\xe9tage entier","exterior":"A des fen\xeatres","exterior-interior":"\xc0 la fois ext\xe9rieur et int\xe9rieur","interior":"N\'a pas de fen\xeatres"}}},"office-suite-space-location":{"entire-floor-lowercase":"\xe9tage entier","exterior-interior-lowercase":"ext\xe9rieur & int\xe9rieur","exterior-lowercase":"ext\xe9rieur","interior-lowercase":"int\xe9rieur"},"office-suite-status":{"label":{"AVAILABLE":"Disponible","AVAILABLE_SOON":"Bient\xf4t disponible","LIMITED_AVAILABILITY":"Disponibilit\xe9 limit\xe9e","OCCUPIED":"Occup\xe9","UNDER_OFFER":"En cours d\'offre"}},"office-suite-visibility":{"label":{"PRIVATE":"Priv\xe9e","PUBLIC":"Publique"}},"operators":"Operateurs","option":"Option","option-title":"Titre de l\'option","order-by":{"alphabetical":"Alphab\xe9tique","last-created":"Derni\xe8re cr\xe9ation"},"owner":"Owner","password":"Mot de passe","period-units":{"months":" mois"},"photos":"Photos","placement":"Placement","previous":"Pr\xe9c\xe9dente","proceed":"Proc\xe9der","profile":{"logout-of-my-account":"Se d\xe9connecter de mon compte"},"promo":"Promo","quoting-rate":"Taux de cotation","quoting-rate-units":{"PER_DESK":" / bureau","PER_SQUARE_FOOT":" / ft\xb2","PER_SQUARE_METER":" / m\xb2"},"recipient":"Destinataire","refresh-now":"Rafra\xeechir maintenant","reload":"Recharger","remove":"Retirer","remove-from-shortlist":"Supprimer de la liste restreinte","reschedule":"Reprogrammer","reset":"R\xe9initialiser","resolve":"R\xe9soudre","resolved":"R\xe9solue","restore":"Restaurer","save":"Sauvegarder","save-and-request-to-publish":"Enregistrer et demander la publication","search":"Chercher","select-all":"Tout s\xe9lectionner","select-currency":"S\xe9lectionnez la devise","select-type":"S\xe9lectionnez le type","select-unit":"S\xe9lectionnez l\'unit\xe9","send":"Envoyer","share":"Share","share-opportunity":{"description":"Les collaborateurs sont autoris\xe9s \xe0 ajuster votre liste restreinte et \xe0 g\xe9n\xe9rer des rapports. Un maximum de 3 personnes peuvent collaborer sur la m\xeame opportunit\xe9.","remove":"{{member}} a \xe9t\xe9 supprim\xe9 des collaborateurs","select-member":{"label":"S\xe9lectionnez un membre"},"success":"{{members}} invit\xe9s \xe0 collaborer","title":"G\xe9rer les collaborateurs"},"share-report":"Partager le rapport","show-columns_one":"Afficher les colonnes ({{count}})","show-columns_many":"Afficher les colonnes ({{count}})","show-columns_other":"Afficher les colonnes ({{count}})","show-less-activities":"Afficher moins d\'activit\xe9s","show-more-activities":"Afficher plus d\'activit\xe9s","size":"Taille","size-unit":{"square-foot":"ft\xb2","square-foot-full":"Pied carr\xe9","square-meter":"m\xb2","square-meter-full":"M\xe8tre carr\xe9"},"size-units":{"DESK":" bureaux","SQUARE_FOOT":" ft\xb2","SQUARE_METER":" m\xb2"},"sizes":{"per-desk":"per desk","per-sq-ft":"per ft\xb2","per-sq-m":"per m\xb2"},"space-location":{"entire-floor":"\xc9tage entier","exterior":"Ext\xe9rieur","exterior-interior":"Ext\xe9rieur & Int\xe9rieur","interior":"Int\xe9rieur","not-specified":"Non sp\xe9cifi\xe9"},"space-type":"Type d\'espace","status":{"active":"Actif","inactive":"Inactif","requested":"Requested"},"subscription":{"free":{"description":"Id\xe9al pour rendre vos emplacements visibles sur le march\xe9","price-description":"Pour toujours"},"price-description":"par b\xe2timent par mois","price-description-yearly":"par b\xe2timent et par an"},"table":"Tableau","template-form":{"custom-css":{"label":"Custom CSS"},"font":{"label":"Font"},"font-size":{"label":"Font size"},"font-weight":{"label":"Font weight"},"position":{"label":"Position (Left-Right-Top-Bottom, in px)"},"text-alignment":{"label":"Text alignment"},"text-colour":{"label":"Text colour"}},"template-type":{"base":"Popup","horizontal":"Landscape image","horizontal-video":"Video","vertical":"Portrait image"},"term-length":"Term length","text":{"about-company":"\xc0 propos de la soci\xe9t\xe9","accept":"Accepter","actions":"Actions","add-buildings":"Ajouter des b\xe2timents","added":"Ajout\xe9","added-options":"Option(s) ajout\xe9e(s)","additional-contact":"Contact suppl\xe9mentaire","address":"Address","agent":"Agent","all-amenities":"Toutes les commodit\xe9s","all-numbers":"Tous les num\xe9ros","all-prices":"Tous les prix","all-sizes":"Toutes les tailles","all-types":"Tous les types","amount-employees":"{{amount}} employ\xe9s","any":"Quel qu\'il soit","availability":"Disponibilit\xe9","available-for-booking":"Disponible pour la r\xe9servation","available-from":"Disponible \xe0 l\'adresse suivante","average-response-time":"Temps de r\xe9ponse moyen","booking":"R\xe9servation","booking-email":"Contact de r\xe9servation","branding":"Branding","broker":"Courtier","budget":"Budget","budget-note":"Veuillez s\xe9lectionner une unit\xe9 et indiquer la valeur, hors TVA.","building-name":"Nom du b\xe2timent","building-space-name":"Nom du b\xe2timent/espace","buildings":"B\xe2timents","city":"Ville","client":"Client","company-website":"Site web de l\'entreprise","contact":"Contact","contact-date":"Date de contact","contact-for-details":"Contactez Valve pour plus de d\xe9tails","contact-person":"Personne \xe0 contacter","cost-desk-per-month":"{{cost}} par mois","cost-per-desk":"Cost per desk","cost-per-month-short":"Co\xfbt/mois","cost-per-name":"Co\xfbt par {{name}}","create-building":"Cr\xe9er un b\xe2timent","create-desk":"Cr\xe9er un bureau","create-opportunity":"Cr\xe9er une opportunit\xe9","create-option":"Cr\xe9er une option","create-space":"Cr\xe9er un espace","created-at":"Cr\xe9\xe9: {{at}}","current-address":"Adresse actuelle","current-company-address":"Adresse actuelle de l\'entreprise","custom":"Sur mesure","date":"Date","default":"D\xe9faut","deny":"Refuser","desk-density":"Densit\xe9 du bureau","desk-id-id":"Identifiant du bureau : {{id}}","desks":"Bureaux","different-currencies":{"description":"Pour un affichage correct du rapport, il est pr\xe9f\xe9rable de les diviser en parties contenant les m\xeames syst\xe8mes de devises.","title":"Cette opportunit\xe9 contient des b\xe2timents avec diff\xe9rents syst\xe8mes de devises"},"digital-report":"Digital report","email":"Email","emails":"Email(s)","feedback":"Retour","floor":"Plancher","floor-name":"{{floor}} \xe9tage","full-name":"Nom complet","general":"G\xe9n\xe9ral","interested-in-beta-testing":"Vous souhaitez tester notre version b\xeata ? Contactez-nous","last-month":"Dernier mois","last-updated":"Derni\xe8re mise \xe0 jour","last-updated-at":"Derni\xe8re mise \xe0 jour: {{at}}","lead":"Lead","logout":"Se d\xe9connecter","map":"Carte","marketing-content":"Marketing content","media":"M\xe9dia","message":"Message","monthly-cost-of-occupancy":"Co\xfbt mensuel de l\'occupation","move-in-date":"Date d\'emm\xe9nagement","name":"Nom","notes":"Notes","number-of-desks":"Nombre de bureaux","operator":"Op\xe9rateur","operators":"Les op\xe9rateurs","opportunities":"Opportunit\xe9s","option":"Option","option-number":"Option #{{number}}","others":"Autres","overview":"Vue d\'ensemble","pdf-report":"PDF report","phone":"T\xe9l\xe9phone","photo":"Photo {{index}}","photos_one":"Photos ({{count}})","photos_many":"Photos ({{count}})","photos_other":"Photos ({{count}})","placement":"Placement","pricing":"Tarification","private-notes":"Remarques priv\xe9es","private-notes-note":"Saisissez toute information qui vous sera utile pour prospecter cette opportunit\xe9.","prospect":"Prospect","referral-id":"Identifiant de r\xe9f\xe9rence: {{id}}","report-content":"Contenu du rapport","request-contract":"Demande de contrat","request-to-view":"Demande de consultation","schedule":"Programme","select-floor":"S\xe9lectionner l\'\xe9tage","shortlist":"Liste restreinte","show":"Montrer","sign-contract":"Signer le contrat","space-id":"Identifiant de l\'espace","space-size":"Taille de l\'espace","space-visibility":"Visibilit\xe9","spaces-available":"Espaces disponibles","status":"Status","subscription":"Abonnement","term-length":"Dur\xe9e du contrat","term-length-months":"Dur\xe9e du contrat, en mois","this-is-paid-feature":"Ceci est une fonctionnalit\xe9 payante","this-week":"Cette semaine","time":"Temps","title":"Titre","tour-overlap-found":"S\'il vous pla\xeet, v\xe9rifiez votre horaire de visite. Il y a un chevauchement.","update-option":"Option de r\xe9vision et de modification","url":"URL","view":"Vue","view-homepage":"Lien vers le site web","visibility":"Visibilit\xe9","website":"Website","working-hours":"Heures de travail"},"tour-schedule":{"generate":"Cr\xe9ation d\'un programme de visites","open":"Calendrier des visites libres"},"tours":"Visites","train-station":"Gare de train","transfer":"Transfert","transfer-opportunity":{"description":"Transf\xe9rer une opportunit\xe9 \xe0 un autre membre lui donnera les droits de visualisation et de modification. Vous n\'aurez <strong>plus acc\xe8s</strong> \xe0 cette opportunit\xe9 par la suite.","message":{"placeholder":"Laisser un message au destinataire"},"select-member":{"label":"S\xe9lectionnez un membre"},"success":"{{name}} a \xe9t\xe9 transf\xe9r\xe9 avec succ\xe8s vers {{owner}}","title":"Opportunit\xe9 de transfert"},"transport":"Transport","untitled":"Sans titre","untitled-option":"Option sans titre","url-copied":"URL copi\xe9e dans le presse-papiers","use-range":"Plage d\'utilisation","validation":{"max-characters-count_one":"Description cannot exceed {{count}} characters","max-characters-count_many":"Description cannot exceed {{count}} characters","max-characters-count_other":"Description cannot exceed {{count}} characters"},"videos":"Vid\xe9os","view":"Voir","view-report":"Voir le rapport","visible-only-company":"Le b\xe2timent n\'est pas public et visible uniquement pour un usage interne","work-days":{"friday":"vendredi","monday":"lundi","saturday":"samedi","sunday":"dimanche","thursday":"jeudi","tuesday":"mardi","wednesday":"mercredi"}}'),count:JSON.parse('{"brochures_one":"{{count}} brochure","brochures_many":"{{count}} brochures","brochures_other":"{{count}} brochures","buildings_one":"{{count}} b\xe2timent","buildings_many":"{{count}} b\xe2timents","buildings_other":"{{count}} b\xe2timents","buildings-accent_one":"{{count}} <accent>b\xe2timents</accent>","buildings-accent_many":"{{count}} <accent>b\xe2timents</accent>","buildings-accent_other":"{{count}} <accent>b\xe2timents</accent>","floorplans_one":"{{count}} plan d\'\xe9tage","floorplans_many":"{{count}} plans d\'\xe9tage","floorplans_other":"{{count}} plans d\'\xe9tage","marketing-content_one":"{{count} article de contenu marketing","marketing-content_many":"{{count}} articles de contenu marketing","marketing-content_other":"{{count}} articles de contenu marketing","operators-accent_one":"{{count}} <accent>operateurs</accent>","operators-accent_many":"{{count}} <accent>operateurs</accent>","operators-accent_other":"{{count}} <accent>operateurs</accent>","options_one":"{{count}} options","options_many":"{{count}} options","options_other":"{{count}} options","options-selected_one":"{{count}} option s\xe9lectionn\xe9e","options-selected_many":"{{count}} options s\xe9lectionn\xe9es","options-selected_other":"{{count}} options s\xe9lectionn\xe9es","plus-more-amenities_one":"+ {{count}} commodit\xe9","plus-more-amenities_many":"+ {{count}} commodit\xe9s","plus-more-amenities_other":"+ {{count}} commodit\xe9s","plus-types_one":"+ {{count}} type","plus-types_many":"+ {{count}} types","plus-types_other":"+ {{count}} types","requests_one":"{{count}} requ\xeate","requests_many":"{{count}} requ\xeates","requests_other":"{{count}} requ\xeates","spaces_one":"{{count}} espace","spaces_many":"{{count}} espaces","spaces_other":"{{count}} espaces","spaces-accent_one":"{{count}} <accent>espace</accent>","spaces-accent_many":"{{count}} <accent>espaces</accent>","spaces-accent_other":"{{count}} <accent>espaces</accent>","symbols-max_one":"{{count}} symbole max","symbols-max_many":"{{count}} symboles max","symbols-max_other":"{{count}} symboles max","virtual-tours_one":"{{count}} visite virtuelle","virtual-tours_many":"{{count}} visites virtuelles","virtual-tours_other":"{{count}} visites virtuelles"}'),currencies:JSON.parse('{"AED":"AED - Dirham des \xe9mirats arabes unis","AUD":"AUD - Dollar australien","BYN":"BYN - Rouble b\xe9larusse","CAD":"CAD - Dollar canadien","CHF":"CHF - Franc suisse","CNY":"CNY - Renminbi Yuan chinois","CZK":"CZK - Couronne tch\xe8que","DKK":"DKK - Couronne danoise","EGP":"EGP - Livre \xe9gyptienne","EUR":"EUR - Euro","GBP":"GBP - Livre sterling","HKD":"HKD - Dollar de Hong Kong","HUF":"HUF - Forint hongrois","IDR":"IDR - Rupiah indonesienne","ILS":"ILS - Nouveau Shekel isra\xe9lien","INR":"INR - Roupie indienne","JPY":"JPY - Yen japonais","KRW":"KRW - Won sud-cor\xe9en","MAD":"MAD - Dirham morocain","NGN":"NGN - Naira nig\xe9rian","NOK":"NOK - Couronne norv\xe9gienne","PHP":"PHP - Peso philippin","PLN":"PLN - Złoty polonais","RON":"RON - Leu roumain","RUB":"RUB - Rouble russe","SEK":"SEK - Couronne su\xe9doise","SGD":"SGD - Dollar de Singapour","THB":"THB - Baht tha\xeflandais","TRY":"TRY - Livre turque","UAH":"UAH - Hryvnia ukrainienne","UGX":"UGX - Shilling ougandais","USD":"USD - Dollar am\xe9ricain","VND":"VND - Đồng vietnamien","ZAR":"ZAR - Rand sud-africain"}'),"digital-report":JSON.parse('{"about-building":"\xc0 propos du b\xe2timent","available-options_one":"Option disponible","available-options_many":"Options disponibles","available-options_other":"Options disponibles","best-regards":"Best regards,<1></1>{{agentName}}","building":{"calendly-details":"D\xe9tails du calendrier","cancel-contract-request":"Annuler la demande de contrat","cancel-request":"Demande d\'annulation","cancel-viewing-request":"Annuler la demande de visualisation","cancelling-request":"Demande d\'annulation en cours","contract-ready-to-sign":"Le contrat est pr\xeat \xe0 \xeatre sign\xe9","contract-requested":"Contrat demand\xe9","options-count":{"contract-ready-for-options_one":"Le contrat est pr\xeat \xe0 \xeatre sign\xe9 pour {{count}} option","contract-ready-for-options_many":"Le contrat est pr\xeat \xe0 \xeatre sign\xe9 pour {{count}} options","contract-ready-for-options_other":"Le contrat est pr\xeat \xe0 \xeatre sign\xe9 pour {{count}} options","contract-requested-for-options_one":"Contrat demand\xe9 pour {{count}} option","contract-requested-for-options_many":"Contrat demand\xe9 pour {{count}} options","contract-requested-for-options_other":"Contrat demand\xe9 pour {{count}} options","viewing-requested-for-options_one":"Vue demand\xe9e pour l\'option {{count}}","viewing-requested-for-options_many":"Visualisation demand\xe9e pour {{count}} options","viewing-requested-for-options_other":"Visualisation demand\xe9e pour {{count}} options"},"popover":{"cancelled":"La demande a \xe9t\xe9 annul\xe9e","done":"Fait!","requested":"Un consultant vous contactera dans les plus brefs d\xe9lais"},"request-cancelled":"Demande annul\xe9e","requested":"Demand\xe9","requesting":"Demande en cours","send-again":"Envoyer \xe0 nouveau","viewing-requested":"Visite demand\xe9e"},"contact":"Contact","content":{"request-changes":"Demande de modifications"},"cost":"Frais","cost-of-occupancy":"Co\xfbt d\'occupation","cost-per-ft":"Co\xfbt par ft\xb2","cost-per-meter":"Co\xfbt par m\xb2","currency-warning":"Si vous utilisez ce filtre, les b\xe2timents risquent de ne pas s\'afficher correctement.","do-not-show-again":"Ne plus afficher ce message","feedback":{"amenities":"L\'espace doit \xeatre dot\xe9 de certains \xe9quipements.","content":"<0>Vous ne trouvez pas ce que vous cherchez? Nous pouvons vous aider.</0><1></1>Donnez votre avis sur la proposition pour obtenir de meilleurs r\xe9sultats.","created":"Nous vous remercions pour vos commentaires ! Vous serez bient\xf4t inform\xe9 de la mise \xe0 jour de la proposition.","larger-options-size":"L\'espace devrait \xeatre plus grand.","less-desks":"L\'espace devrait comporter moins de bureaux.","less-expensive":"L\'espace devrait \xeatre moins cher.","location":"L\'emplacement devrait \xeatre plus central.","modal":{"button":"Envoyer un retour d\'information","comments":{"error":"Des commentaires sont n\xe9cessaires si vous choisissez \\"Autres raisons\\"","label":"Commentaires","placeholder":"Pr\xe9cisez vos crit\xe8res (max. 200 caract\xe8res)"},"proposals":{"error":"Veuillez choisir au moins une raison"},"title":"Comment am\xe9liorer la s\xe9lection ?"},"more-desks":"L\'espace devrait avoir plus de bureaux.","more-options":"J\'aime la s\xe9lection, mais j\'aimerais avoir plus d\'options.","other":"Autres raisons (\xe0 pr\xe9ciser).","smaller-options-size":"L\'espace devrait \xeatre plus petit.","success-message":"Vos commentaires ont \xe9t\xe9 envoy\xe9s avec succ\xe8s."},"instruction":{"next-steps":"Prochaines \xe9tapes","step-one":{"description":"Parcourir la s\xe9lection","title":"Explorer les options"},"step-three":{"description":"Un agent vous assistera personnellement","request-contract":{"description":"S\xe9lectionnez votre espace de travail pr\xe9f\xe9r\xe9 et demandez un contrat"},"request-to-view":{"description":"S\xe9lectionnez vos favoris et demandez \xe0 les consulter"},"sign-contract":{"description":"Examinez le(s) contrat(s) ci-joint(s) et signez le(s) contrat(s) via le lien ci-joint"},"title":"Consultation personnelle"}},"javascript-disabled":"Javascript est d\xe9sactiv\xe9 sur votre navigateur.","language":"Langue","measurement":"Mesure","meta-description":"Consultez votre rapport num\xe9rique","not-found-page":"D\xe9sol\xe9, nous n\'avons pas pu trouver cette page.","notifications":{"events":{"digital-report-updated":{"request-contract":"Demandez des contrats pour les espaces de travail disponibles. <accent>{{date}}</accent>","request-to-view":"Demandez des visites pour les espaces de travail disponibles. <accent>{{date}}</accent>","sign-contract":"Les contrats sont pr\xeats \xe0 \xeatre sign\xe9s. <accent>{{date}}</accent>"},"option-created":{"content":"<strong><building /> / <option /></strong> ajout\xe9 \xe0 la liste restreinte. <accent>{{date}}</accent>"},"option-removed":{"content":"<strong><building /> / <option /></strong> retir\xe9 de la liste restreinte. <accent>{{date}}</accent>"},"option-updated":{"content":"<strong><building /> / <option /></strong> mis \xe0 jour. <accent>{{date}}</accent>"},"referral-created":{"content":"<strong><building /></strong> ajout\xe9 \xe0 la liste restreinte. <accent>{{date}}</accent>"},"referral-removed":{"content":"<strong>{{referral}}</strong> retir\xe9 de la liste restreinte. <accent>{{date}}</accent>"}},"mark-as-read":"Marquer tous les textes comme lus","no-new":"Pas de nouvelles notifications","title":"Notifications"},"page-error":"<0>Oops</0>Une erreur s\'est produite, veuillez <2>r\xe9essayer</2>.</1>","rotate-device":"Veuillez faire pivoter votre appareil.","show-buildings-count_one":"Afficher {{count}} b\xe2timent","show-buildings-count_many":"Afficher {{count}} b\xe2timents","show-buildings-count_other":"Afficher {{count}} b\xe2timents","show-less":"Montrer moins","space-ft":"Espace, ft\xb2","space-meter":"Espace, m\xb2","toggle-view":{"map":"Afficher la carte","offices":"Afficher les bureaux"},"view-report":"Voir le rapport"}'),industries:JSON.parse('{"aerospace-and-defence":"A\xe9ronautique et d\xe9fense","automotive":"Automobile","banking-and-financial-services-and-insurance":"Banque / Services financiers / Assurance","business-services":"Services aux entreprises","charities":"Organismes de bienfaisance","chemicals":"Produits chimiques","education":"\xc9ducation","engineering-and-construction":"Ing\xe9nierie et construction","forest-paper-and-packaging":"For\xeat, papier et emballage","government-and-public-services":"Gouvernement et services publics","healthcare":"Soins de sant\xe9","hospitality-and-leisure":"Hospitalit\xe9 et loisirs","legal-services":"Services juridiques","manufacturing":"Fabrication","media-and-creative":"M\xe9dia et cr\xe9atif","mining-and-metals":"Exploitation mini\xe8re et m\xe9taux","oil-and-gas":"P\xe9trole et gaz","other":"Autre","pharmaceutical-and-life-sciences":"Sciences pharmaceutiques et sciences de la vie","power-and-utilities":"\xc9nergie et services publics","private-equity":"Capital-investissement","real-estate":"Immobilier","retail-and-consumer":"Commerce de d\xe9tail et consommateurs","sports-and-entertainment":"Sports & Loisir","technology":"Technologie","telecommunications":"T\xe9l\xe9communications","transport-and-logistics":"Transport et logistique"}'),password:JSON.parse('{"change-password":"Changer le mot de passe","confirm-new-password":{"label":"Confirmer le nouveau mot de passe","placeholder":"Ressaisissez votre nouveau mot de passe"},"current-password":{"label":"Mot de passe actuel","placeholder":"Entrez votre mot de passe actuel"},"do-not-match":"Les mots de passe ne correspondent pas","does-not-match":"Le mot de passe ne correspond pas !","message":"Votre mot de passe a \xe9t\xe9 mis \xe0 jour avec succ\xe8s","new-password":{"label":"Nouveau mot de passe","placeholder":"Entrez votre nouveau mot de passe"},"rules":{"minimum-length_one":"La longueur minimale du mot de passe est de {{count}} symbole","minimum-length_many":"La longueur minimale du mot de passe est de {{count}} symboles","minimum-length_other":"La longueur minimale du mot de passe est de {{count}} symboles","require-lowercase":"Doit contenir au moins une lettre minuscule","require-numbers":"Doit contenir au moins un nombre","require-symbols":"Doit contenir au moins un symbole sp\xe9cial: !@#$%^&*(){}\\"","require-uppercase":"Doit contenir au moins une lettre majuscule"}}'),report:JSON.parse('{"cover":{"cover-support":"Choose a cover page for your report. To add or remove a cover sheet, either contact support at <2>support@valvespace.com</2> or upload new slides directly through the Application settings if you are an Admin user .","date":"Date","front":"Front cover","prepared-by":"Prepared by","report-for":"Report for","report-for-name":"Report for {{name}}","schedule-for":"Schedule for","schedule-for-name":"Schedule for {{name}}","slogan":"Flexible Workspace Options"},"designer":{"feedback":"Feedback and improvements","operator-transparency-settings":{"address":"Show building addresses","branding":"Show operator branding","button":"Operator visibility settings","page-numbering":"Page numbering","request-view-button":"Request to view button"},"report-designer":"Report designer","tour-designer":"Schedule designer","valve-disclaimer":"Valve will be investing further product and engineering resource in Report generation. Our medium term goal is to provide fully customisable and uniquely designed templates for you. If you have any feedback please email <2>product.feedback@valvespace.com</2>."},"drawer":{"add-slide":"Slide","slide-added":"Slide added","slides_one":"{{count}} slides","slides_many":"{{count}} slides","slides_other":"{{count}} slides","tab":{"content":"Content","floors":"Floors","others":"Others"}},"header":{"how-to":"How to convert PDF to Powerpoint","popover":"<0>Download the Report in PDF</0><1>Go to <2>smallpdf.com</2> and follow the instructions on it</1>"},"office-price":{"empty":"Operator provides on request","title":"Guide Pricing"},"options":{"and-more-options_one":"and {{count}} more options","and-more-options_many":"and {{count}} more options","and-more-options_other":"and {{count}} more options"},"request-to-view":"Request to view","section":{"add-slides":"Slides","include-in-report":"Include in report","name-floorplan":"Floor {{number}}","title":{"closing":"Closing slides","general":"General slides"}},"slide":{"contact":{"your-contact":"Your contact"},"map":{"range-buildings":"{{from}} - {{to}} buildings","schedule-options_one":"Schedule of {{count}} options","schedule-options_many":"Schedule of {{count}} options","schedule-options_other":"Schedule of {{count}} options","tour-plan":"Tour plan"},"option-comparison":{"annual-cost":"Annual cost","cost":"Cost per area unit","monthly-cost":"Monthly cost","table":"Option comparison table"},"range-of-options":"{{from}} - {{to}} options","title":{"about-building":"About building","comparison":"Option comparison","contact":"Contact","disclaimer":"Disclaimer","options":"Options","scope-of-service-confirmation":"Scope of service confirmation"}}}'),"space-type":JSON.parse('{"coworking-desks":{"description":"Des bureaux partag\xe9s et des bureaux fixes dans un environnement de coworking.","title":"Bureaux de coworking"},"event-space":{"description":"Espace d\xe9di\xe9 pour accueillir des \xe9v\xe9nements debout et/ou assis.","title":"Espace \xe9v\xe9nementiel"},"meeting-room":{"description":"Une salle o\xf9 plusieurs personnes peuvent se r\xe9unir.","title":"Salle de r\xe9union"},"membership":{"description":"Acc\xe8s au salon d\'affaires g\xe9n\xe9ralement sans bureau de coworking.","title":"Adh\xe9sion"},"miscellaneous":{"title":"Divers"},"not-specified":{"title":"Non sp\xe9cifi\xe9"},"pipeline-managed-space":{"description":"Espace d\xe9tenu, exploit\xe9 et lou\xe9 par le propri\xe9taire. Disponible avec des baux \xe0 court terme.","title":"Espace pr\xe9construit (bail)"},"private-office":{"description":"Bureaux priv\xe9s enti\xe8rement meubl\xe9s avec installations partag\xe9es.","title":"Bureau priv\xe9"},"self-contained-managed-space":{"description":"Grandes exigences cl\xe9s en main avec quelques personnalisations, y compris un coin cuisine priv\xe9.","title":"Espace g\xe9r\xe9 (licence)"}}'),transport:JSON.parse('{"distance":{"foot_one":"{{count}} ft","foot_many":"{{count}} ft","foot_other":"{{count}} ft","km_one":"{{count}} km","km_many":"{{count}} km","km_other":"{{count}} km","meters_one":"{{count}} m\xe8tre","meters_many":"{{count}} m\xe8tres","meters_other":"{{count}} m\xe8tres","miles_one":"{{count}} mille","miles_many":"{{count}} milles","miles_other":"{{count}} milles"},"duration":{"minutes":"{{value}} min","seconds":"{{value}} sec"},"walk":"{{duration}} marche"}'),utils:JSON.parse('{"max":"maximum {{value}}","min":"min {{value}}","range":{"from":"de {{from}}","from-to":"de {{from}} \xe0 {{to}}","from-to-short":"{{from}} - {{to}}","to":"\xe0 {{to}}"}}'),validation:JSON.parse('{"at-least-one-referral-selected":"Au moins une r\xe9f\xe9rence doit \xeatre s\xe9lectionn\xe9e","equal-to":"La valeur est \xe9gale \xe0 {{value}}","errors-in-fields":"Vous avez des erreurs dans les champs suivants: {{fields}}","image":{"required":"Please upload image"},"invalid-email":"La valeur n\'est pas un e-mail valide","invalid-file":"Fichier non valide","invalid-url":"La valeur doit \xeatre une URL valide, par exemple https://valvespace.com","is-after":"\\"Till\\" doit \xeatre post\xe9rieur \xe0 \\"From\\"","max-length_one":"{{field}} ne peut pas d\xe9passer le symbole","max-length_many":"{{field}} ne peut pas \xeatre plus long que {{count}} symbols","max-length_other":"{{field}} ne peut pas \xeatre plus long que {{count}} symbols","max-lines_one":"{{field}} ne peut pas avoir plus de {{count}} ligne","max-lines_many":"{{field}} ne peut pas avoir plus de {{count}} lignes","max-lines_other":"{{field}} ne peut pas avoir plus de {{count}} lignes","max-value":"Veuillez saisir la valeur maximale","min-height":"L\'image doit avoir une hauteur d\'au moins {{height}}px","min-value":"Veuillez saisir la valeur minimalee","min-width":"L\'image doit mesurer au moins {{width}}px de large","more-than":"La valeur est sup\xe9rieure \xe0 {{value}}","required-condition":"{{first}} est requis si {{second}} est activ\xe9","required-field":"Ce champ est obligatoire"}')}},er=["en-US","en-GB"];(function(){Q.use(ee()).use(r.Db).init({ns:["account","agent","amenities","common","count","currencies","digital-report","enquiries","front-cover","industries","password","report","space-type","template","transport","utils","validation"],defaultNS:"common",resources:en,fallbackLng:"en-GB",lng:null===et.a||void 0===et.a?void 0:et.a.value,interpolation:{escapeValue:!1}})})();let eo=e=>Q.changeLanguage(e);var ei=Q},57559:function(e){"use strict";e.exports={content:["./src/**/*.{js,ts,jsx,tsx}","../../packages/components/src/**/*.{js,ts,jsx,tsx}"],important:"body",corePlugins:{preflight:!1},theme:{extend:{colors:{black:"#101215",gray:{100:"#f5f5f5",300:"#dbe2e9",500:"#bbcddd",700:"#788897",900:"#1f2939"},indigo:{100:"rgba(255, 255, 255, 0.5)",200:"rgba(255, 255, 255, 0.3)",500:"rgba(60, 138, 255, 0.35)",700:"rgba(16, 18, 21, 0.3)",900:"rgba(16, 18, 21, 0.7)"},green:{100:"#e7f9f5",300:"#10dead",500:"#11c499",700:"#10af89"},blue:{100:"#e5f0ff",300:"#72aafe",500:"#3c8aff",700:"#0663f0"},red:{100:"#fedce2",300:"#ff4a60",500:"#f61840",700:"#d7183a"},yellow:{100:"#f6f4dc"}},fontSize:{tn:"10px"},screens:{print:{raw:"print"},xxs:"320px",xs:"480px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1600px"}}}}},29287:function(e,t,n){"use strict";var r=n(75730),o=n.n(r),i=n(57559),a=n.n(i);let s=o()(a());t.Z=s.theme},61078:function(e,t,n){var r="/",o=n(41438).Buffer,i=n(79895);!function(){var t={7160:function(e,t,n){var r=t;r.bignum=n(711),r.define=n(495).define,r.base=n(853),r.constants=n(7335),r.decoders=n(6701),r.encoders=n(3418)},495:function(e,t,n){var r=n(7160),o=n(3782);function i(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new i(e,t)},i.prototype._createNamed=function(e){var t;try{t=n(6144).runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return o(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},i.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r.decoders[e])),this.decoders[e]},i.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},i.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r.encoders[e])),this.encoders[e]},i.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},6483:function(e,t,n){var r=n(3782),o=n(853).Reporter,i=n(4300).Buffer;function a(e,t){if(o.call(this,t),!i.isBuffer(e)){this.error("Input not Buffer");return}this.base=e,this.offset=0,this.length=e.length}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=i.byteLength(e);else{if(!i.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(a,o),t.C=a,a.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,o.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.R=s,s.prototype.join=function(e,t){return e||(e=new i(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(n){n.join(e,t),t+=n.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):i.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},853:function(e,t,n){var r=t;r.Reporter=n(1293).b,r.DecoderBuffer=n(6483).C,r.EncoderBuffer=n(6483).R,r.Node=n(9374)},9374:function(e,t,n){var r=n(853).Reporter,o=n(853).EncoderBuffer,i=n(853).DecoderBuffer,a=n(3523),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s),c=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function u(e,t){var n={};this._baseState=n,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=u;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var e=this._baseState,t={};d.forEach(function(n){t[n]=e[n]});var n=new this.constructor(t.parent);return n._baseState=t,n},u.prototype._wrap=function(){var e=this._baseState;l.forEach(function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}},this)},u.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),a.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){var t=this._baseState,n=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==n.length&&(a(null===t.children),t.children=n,n.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(n){n==(0|n)&&(n|=0),t[e[n]]=n}),t}))},c.forEach(function(e){u.prototype[e]=function(){throw Error(e+" not implemented for encoding: "+this._baseState.enc)}}),s.forEach(function(e){u.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(n),this}}),u.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},u.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){var n,r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var o=r.default,a=!0,s=null;if(null!==r.key&&(s=e.enterKey(r.key)),r.optional){var l=null;if(null!==r.explicit?l=r.explicit:null!==r.implicit?l=r.implicit:null!==r.tag&&(l=r.tag),null!==l||r.any){if(a=this._peekTag(e,l,r.any),e.isError(a))return a}else{var c=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),a=!0}catch(e){a=!1}e.restore(c)}}if(r.obj&&a&&(n=e.enterObject()),a){if(null!==r.explicit){var u=this._decodeTag(e,r.explicit);if(e.isError(u))return u;e=u}var d=e.offset;if(null===r.use&&null===r.choice){if(r.any)var c=e.save();var f=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(f))return f;r.any?o=e.raw(c):e=f}if(t&&t.track&&null!==r.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(o=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(o))return o;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(n){n._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new i(o);o=this._getUse(r.contains,e._reporterState.obj)._decode(p,t)}}return r.obj&&a&&(o=e.leaveObject(n)),null!==r.key&&(null!==o||!0===a)?e.leaveKey(s,r.key,o):null!==s&&e.exitKey(s),o},u.prototype._decodeGeneric=function(e,t,n){var r=this._baseState;if("seq"===e||"set"===e)return null;if("seqof"===e||"setof"===e)return this._decodeList(t,e,r.args[0],n);if(/str$/.test(e))return this._decodeStr(t,e,n);if("objid"===e&&r.args)return this._decodeObjid(t,r.args[0],r.args[1],n);if("objid"===e)return this._decodeObjid(t,null,null,n);if("gentime"===e||"utctime"===e)return this._decodeTime(t,e,n);if("null_"===e)return this._decodeNull(t,n);if("bool"===e)return this._decodeBool(t,n);else if("objDesc"===e)return this._decodeStr(t,e,n);else if("int"===e||"enum"===e)return this._decodeInt(t,r.args&&r.args[0],n);return null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},u.prototype._decodeChoice=function(e,t){var n=this._baseState,r=null,o=!1;return(Object.keys(n.choice).some(function(i){var a=e.save(),s=n.choice[i];try{var l=s._decode(e,t);if(e.isError(l))return!1;r={type:i,value:l},o=!0}catch(t){return e.restore(a),!1}return!0},this),o)?r:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new o(e,this.reporter)},u.prototype._encode=function(e,t,n){var r=this._baseState;if(null===r.default||r.default!==e){var o=this._encodeValue(e,t,n);if(void 0!==o&&!this._skipDefault(o,t,n))return o}},u.prototype._encodeValue=function(e,t,n){var o,i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);var o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var a=null,s=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)a=this._getUse(i.contains,n)._encode(e,t),s=!0;else if(i.children)a=i.children.map(function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");var r=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var o=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),o},this).filter(function(e){return e}),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!(i.args&&1===i.args.length))return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,a=this._createEncoderBuffer(e.map(function(n){var r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)},l))}else null!==i.use?o=this._getUse(i.use,n)._encode(e,t):(a=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){var c=null!==i.implicit?i.implicit:i.tag,u=null===i.implicit?"universal":"context";null===c?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(c,s,u,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(e,t){var n=this._baseState,r=n.choice[e.type];return r||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);else if("objDesc"===e)return this._encodeStr(t,e);else throw Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},1293:function(e,t,n){var r=n(3782);function o(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function i(e,t){this.path=e,this.rethrow(t)}t.b=o,o.prototype.isError=function(e){return e instanceof i},o.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},o.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},o.prototype.enterKey=function(e){return this._reporterState.path.push(e)},o.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},o.prototype.leaveKey=function(e,t,n){var r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},o.prototype.leaveObject=function(e){var t=this._reporterState,n=t.obj;return t.obj=e,n},o.prototype.error=function(e){var t,n=this._reporterState,r=e instanceof i;if(t=r?e:new i(n.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},o.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(i,Error),i.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw Error(this.message)}catch(e){this.stack=e.stack}return this}},9791:function(e,t,n){var r=n(7335);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=r._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=r._reverse(t.tag)},7335:function(e,t,n){var r=t;r._reverse=function(e){var t={};return Object.keys(e).forEach(function(n){(0|n)==n&&(n|=0),t[e[n]]=n}),t},r.der=n(9791)},2259:function(e,t,n){var r=n(3782),o=n(7160),i=o.base,a=o.bignum,s=o.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){i.Node.call(this,"der",e)}function u(e,t){var n=e.readUInt8(t);if(e.isError(n))return n;var r=s.tagClass[n>>6],o=(32&n)==0;if((31&n)==31){var i=n;for(n=0;(128&i)==128;){if(i=e.readUInt8(t),e.isError(i))return i;n<<=7,n|=127&i}}else n&=31;var a=s.tag[n];return{cls:r,primitive:o,tag:n,tagStr:a}}function d(e,t,n){var r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if((128&r)==0)return r;var o=127&r;if(o>4)return e.error("length octect is too long");r=0;for(var i=0;i<o;i++){r<<=8;var a=e.readUInt8(n);if(e.isError(a))return a;r|=a}return r}e.exports=l,l.prototype.decode=function(e,t){return e instanceof i.DecoderBuffer||(e=new i.DecoderBuffer(e,t)),this.tree._decode(e,t)},r(c,i.Node),c.prototype._peekTag=function(e,t,n){if(e.isEmpty())return!1;var r=e.save(),o=u(e,'Failed to peek tag: "'+t+'"');return e.isError(o)?o:(e.restore(r),o.tag===t||o.tagStr===t||o.tagStr+"of"===t||n)},c.prototype._decodeTag=function(e,t,n){var r=u(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;var o=d(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(o))return o;if(!n&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||null!==o)return e.skip(o,'Failed to match body of: "'+t+'"');var i=e.save(),a=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(a)?a:(o=e.offset-i.offset,e.restore(i),e.skip(o,'Failed to match body of: "'+t+'"'))},c.prototype._skipUntilEnd=function(e,t){for(;;){var n,r=u(e,t);if(e.isError(r))return r;var o=d(e,r.primitive,t);if(e.isError(o))return o;if(n=r.primitive||null!==o?e.skip(o):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},c.prototype._decodeList=function(e,t,n,r){for(var o=[];!e.isEmpty();){var i=this._peekTag(e,"end");if(e.isError(i))return i;var a=n.decode(e,"der",r);if(e.isError(a)&&i)break;o.push(a)}return o},c.prototype._decodeStr=function(e,t){if("bitstr"===t){var n=e.readUInt8();return e.isError(n)?n:{unused:n,data:e.raw()}}if("bmpstr"===t){var r=e.raw();if(r.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var o="",i=0;i<r.length/2;i++)o+=String.fromCharCode(r.readUInt16BE(2*i));return o}if("numstr"===t){var a=e.raw().toString("ascii");return this._isNumstr(a)?a:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}if(/str$/.test(t))return e.raw().toString();else return e.error("Decoding of string type: "+t+" unsupported")},c.prototype._decodeObjid=function(e,t,n){for(var r,o=[],i=0;!e.isEmpty();){var a=e.readUInt8();i<<=7,i|=127&a,(128&a)==0&&(o.push(i),i=0)}128&a&&o.push(i);var s=o[0]/40|0,l=o[0]%40;if(r=n?o:[s,l].concat(o.slice(1)),t){var c=t[r.join(" ")];void 0===c&&(c=t[r.join(".")]),void 0!==c&&(r=c)}return r},c.prototype._decodeTime=function(e,t){var n=e.raw().toString();if("gentime"===t)var r=0|n.slice(0,4),o=0|n.slice(4,6),i=0|n.slice(6,8),a=0|n.slice(8,10),s=0|n.slice(10,12),l=0|n.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");var r=0|n.slice(0,2),o=0|n.slice(2,4),i=0|n.slice(4,6),a=0|n.slice(6,8),s=0|n.slice(8,10),l=0|n.slice(10,12);r=r<70?2e3+r:1900+r}return Date.UTC(r,o-1,i,a,s,l,0)},c.prototype._decodeNull=function(e){return null},c.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},c.prototype._decodeInt=function(e,t){var n=new a(e.raw());return t&&(n=t[n.toString(10)]||n),n},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},6701:function(e,t,n){var r=t;r.der=n(2259),r.pem=n(8527)},8527:function(e,t,n){var r=n(3782),o=n(4300).Buffer,i=n(2259);function a(e){i.call(this,e),this.enc="pem"}r(a,i),e.exports=a,a.prototype.decode=function(e,t){for(var n=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,l=-1,c=0;c<n.length;c++){var u=n[c].match(a);if(null!==u&&u[2]===r){if(-1===s){if("BEGIN"!==u[1])break;s=c}else{if("END"!==u[1])break;l=c;break}}}if(-1===s||-1===l)throw Error("PEM section not found for: "+r);var d=n.slice(s+1,l).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var f=new o(d,"base64");return i.prototype.decode.call(this,f,t)}},7804:function(e,t,n){var r=n(3782),o=n(4300).Buffer,i=n(7160),a=i.base,s=i.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){a.Node.call(this,"der",e)}function u(e){return e<10?"0"+e:e}function d(e,t,n,r){var o;if("seqof"===e?e="seq":"setof"===e&&(e="set"),s.tagByName.hasOwnProperty(e))o=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);o=e}return o>=31?r.error("Multi-octet tag encoding unsupported"):(t||(o|=32),o|=s.tagClassByName[n||"universal"]<<6)}e.exports=l,l.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(c,a.Node),c.prototype._encodeComposite=function(e,t,n,r){var i=d(e,t,n,this.reporter);if(r.length<128){var a=new o(2);return a[0]=i,a[1]=r.length,this._createEncoderBuffer([a,r])}for(var s=1,l=r.length;l>=256;l>>=8)s++;var a=new o(2+s);a[0]=i,a[1]=128|s;for(var l=1+s,c=r.length;c>0;l--,c>>=8)a[l]=255&c;return this._createEncoderBuffer([a,r])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=new o(2*e.length),r=0;r<e.length;r++)n.writeUInt16BE(e.charCodeAt(r),2*r);return this._createEncoderBuffer(n)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},c.prototype._encodeObjid=function(e,t,n){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var r=0;r<e.length;r++)e[r]|=0}else if(Array.isArray(e)){e=e.slice();for(var r=0;r<e.length;r++)e[r]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!n){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var i=0,r=0;r<e.length;r++){var a=e[r];for(i++;a>=128;a>>=7)i++}for(var s=new o(i),l=s.length-1,r=e.length-1;r>=0;r--){var a=e[r];for(s[l--]=127&a;(a>>=7)>0;)s[l--]=128|127&a}return this._createEncoderBuffer(s)},c.prototype._encodeTime=function(e,t){var n,r=new Date(e);return"gentime"===t?n=[u(r.getFullYear()),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[u(r.getFullYear()%100),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!o.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=new o(n)}if(o.isBuffer(e)){var r=e.length;0===e.length&&r++;var i=new o(r);return e.copy(i),0===e.length&&(i[0]=0),this._createEncoderBuffer(i)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var r=1,a=e;a>=256;a>>=8)r++;for(var i=Array(r),a=i.length-1;a>=0;a--)i[a]=255&e,e>>=8;return 128&i[0]&&i.unshift(0),this._createEncoderBuffer(new o(i))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,n){var r,o=this._baseState;if(null===o.default)return!1;var i=e.join();if(void 0===o.defaultBuffer&&(o.defaultBuffer=this._encodeValue(o.default,t,n).join()),i.length!==o.defaultBuffer.length)return!1;for(r=0;r<i.length;r++)if(i[r]!==o.defaultBuffer[r])return!1;return!0}},3418:function(e,t,n){var r=t;r.der=n(7804),r.pem=n(1564)},1564:function(e,t,n){var r=n(3782),o=n(7804);function i(e){o.call(this,e),this.enc="pem"}r(i,o),e.exports=i,i.prototype.encode=function(e,t){for(var n=o.prototype.encode.call(this,e).toString("base64"),r=["-----BEGIN "+t.label+"-----"],i=0;i<n.length;i+=64)r.push(n.slice(i,i+64));return r.push("-----END "+t.label+"-----"),r.join("\n")}},711:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw Error(t||"Assertion failed")}function o(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function i(e,t,n){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(n=t,t=10),this._init(e||0,t||10,n||"be"))}"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{l=n(4300).Buffer}catch(e){}function a(e,t,n){for(var r=0,o=Math.min(e.length,n),i=t;i<o;i++){var a=e.charCodeAt(i)-48;r<<=4,a>=49&&a<=54?r|=a-49+10:a>=17&&a<=22?r|=a-17+10:r|=15&a}return r}function s(e,t,n,r){for(var o=0,i=Math.min(e.length,n),a=t;a<i;a++){var s=e.charCodeAt(a)-48;o*=r,s>=49?o+=s-49+10:s>=17?o+=s-17+10:o+=s}return o}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return 0>e.cmp(t)?e:t},i.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var o,i,a=0;a<this.length;a++)this.words[a]=0;var s=0;if("be"===n)for(a=e.length-1,o=0;a>=0;a-=3)i=e[a]|e[a-1]<<8|e[a-2]<<16,this.words[o]|=i<<s&67108863,this.words[o+1]=i>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(a=0,o=0;a<e.length;a+=3)i=e[a]|e[a+1]<<8|e[a+2]<<16,this.words[o]|=i<<s&67108863,this.words[o+1]=i>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r,o=0;o<this.length;o++)this.words[o]=0;var i=0;for(o=e.length-6,n=0;o>=t;o-=6)r=a(e,o,o+6),this.words[n]|=r<<i&67108863,this.words[n+1]|=r>>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);o+6!==t&&(r=a(e,t,o+6),this.words[n]|=r<<i&67108863,this.words[n+1]|=r>>>26-i&4194303),this.strip()},i.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,o=1;o<=67108863;o*=t)r++;r--,o=o/t|0;for(var i=e.length-n,a=i%r,l=Math.min(i,i-a)+n,c=0,u=n;u<l;u+=r)c=s(e,u,u+r,t),this.imuln(o),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var d=1;for(c=s(e,u,e.length,t),u=0;u<a;u++)d*=t;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},i.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l,c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],u=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e){for(var t=Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,o=n%26;t[n]=(e.words[r]&1<<o)>>>o}return t}function p(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var o=0|e.words[0],i=0|t.words[0],a=o*i,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,d=67108863&l,f=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=f;p++){var h=c-p|0;u+=(a=(o=0|e.words[h])*(i=0|t.words[p])+d)/67108864|0,d=67108863&a}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}i.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var n,o=0,i=0,a=0;a<this.length;a++){var s=this.words[a],l=((s<<o|i)&16777215).toString(16);n=0!=(i=s>>>24-o&16777215)||a!==this.length-1?c[6-l.length]+l+n:l+n,(o+=2)>=26&&(o-=26,a--)}for(0!==i&&(n=i.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var f=u[e],p=d[e];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modn(p).toString(e);n=(h=h.idivn(p)).isZero()?m+n:c[f-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return r(void 0!==l),this.toArrayLike(l,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,n){var o,i,a=this.byteLength(),s=n||Math.max(1,a);r(a<=s,"byte array longer than desired length"),r(s>0,"Requested array length <= 0"),this.strip();var l="le"===t,c=new e(s),u=this.clone();if(l){for(i=0;!u.isZero();i++)o=u.andln(255),u.iushrn(8),c[i]=o;for(;i<s;i++)c[i]=0}else{for(i=0;i<s-a;i++)c[i]=0;for(i=0;!u.isZero();i++)o=u.andln(255),u.iushrn(8),c[s-i-1]=o}return c},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return(8191&t)==0&&(n+=13,t>>>=13),(127&t)==0&&(n+=7,t>>>=7),(15&t)==0&&(n+=4,t>>>=4),(3&t)==0&&(n+=2,t>>>=2),(1&t)==0&&n++,n},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return r((this.negative|e.negative)==0),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return r((this.negative|e.negative)==0),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){this.length>e.length?(t=this,n=e):(t=e,n=this);for(var t,n,r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return r((this.negative|e.negative)==0),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var o=0;o<t;o++)this.words[o]=67108863&~this.words[o];return n>0&&(this.words[o]=~this.words[o]&67108863>>26-n),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,o=e%26;return this._expand(n+1),t?this.words[n]=this.words[n]|1<<o:this.words[n]=this.words[n]&~(1<<o),this.strip()},i.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var t,n,r,o=0,i=0;i<r.length;i++)t=(0|n.words[i])+(0|r.words[i])+o,this.words[i]=67108863&t,o=t>>>26;for(;0!==o&&i<n.length;i++)t=(0|n.words[i])+o,this.words[i]=67108863&t,o=t>>>26;if(this.length=n.length,0!==o)this.words[this.length]=o,this.length++;else if(n!==this)for(;i<n.length;i++)this.words[i]=n.words[i];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,n,r=this.iadd(e);return e.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(t=this,n=e):(t=e,n=this);for(var i=0,a=0;a<n.length;a++)i=(r=(0|t.words[a])-(0|n.words[a])+i)>>26,this.words[a]=67108863&r;for(;0!==i&&a<t.length;a++)i=(r=(0|t.words[a])+i)>>26,this.words[a]=67108863&r;if(0===i&&a<t.length&&t!==this)for(;a<t.length;a++)this.words[a]=t.words[a];return this.length=Math.max(this.length,a),t!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,n){var r,o,i,a=e.words,s=t.words,l=n.words,c=0,u=0|a[0],d=8191&u,f=u>>>13,p=0|a[1],h=8191&p,m=p>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,S=b>>>13,x=0|a[4],E=8191&x,C=x>>>13,_=0|a[5],k=8191&_,O=_>>>13,A=0|a[6],I=8191&A,P=A>>>13,T=0|a[7],R=8191&T,M=T>>>13,N=0|a[8],j=8191&N,D=N>>>13,L=0|a[9],B=8191&L,Z=L>>>13,F=0|s[0],z=8191&F,U=F>>>13,H=0|s[1],q=8191&H,V=H>>>13,W=0|s[2],$=8191&W,G=W>>>13,K=0|s[3],Y=8191&K,X=K>>>13,Q=0|s[4],J=8191&Q,ee=Q>>>13,et=0|s[5],en=8191&et,er=et>>>13,eo=0|s[6],ei=8191&eo,ea=eo>>>13,es=0|s[7],el=8191&es,ec=es>>>13,eu=0|s[8],ed=8191&eu,ef=eu>>>13,ep=0|s[9],eh=8191&ep,em=ep>>>13;n.negative=e.negative^t.negative,n.length=19;var eg=(c+(r=Math.imul(d,z))|0)+((8191&(o=(o=Math.imul(d,U))+Math.imul(f,z)|0))<<13)|0;c=((i=Math.imul(f,U))+(o>>>13)|0)+(eg>>>26)|0,eg&=67108863,r=Math.imul(h,z),o=(o=Math.imul(h,U))+Math.imul(m,z)|0,i=Math.imul(m,U);var ev=(c+(r=r+Math.imul(d,q)|0)|0)+((8191&(o=(o=o+Math.imul(d,V)|0)+Math.imul(f,q)|0))<<13)|0;c=((i=i+Math.imul(f,V)|0)+(o>>>13)|0)+(ev>>>26)|0,ev&=67108863,r=Math.imul(v,z),o=(o=Math.imul(v,U))+Math.imul(y,z)|0,i=Math.imul(y,U),r=r+Math.imul(h,q)|0,o=(o=o+Math.imul(h,V)|0)+Math.imul(m,q)|0,i=i+Math.imul(m,V)|0;var ey=(c+(r=r+Math.imul(d,$)|0)|0)+((8191&(o=(o=o+Math.imul(d,G)|0)+Math.imul(f,$)|0))<<13)|0;c=((i=i+Math.imul(f,G)|0)+(o>>>13)|0)+(ey>>>26)|0,ey&=67108863,r=Math.imul(w,z),o=(o=Math.imul(w,U))+Math.imul(S,z)|0,i=Math.imul(S,U),r=r+Math.imul(v,q)|0,o=(o=o+Math.imul(v,V)|0)+Math.imul(y,q)|0,i=i+Math.imul(y,V)|0,r=r+Math.imul(h,$)|0,o=(o=o+Math.imul(h,G)|0)+Math.imul(m,$)|0,i=i+Math.imul(m,G)|0;var eb=(c+(r=r+Math.imul(d,Y)|0)|0)+((8191&(o=(o=o+Math.imul(d,X)|0)+Math.imul(f,Y)|0))<<13)|0;c=((i=i+Math.imul(f,X)|0)+(o>>>13)|0)+(eb>>>26)|0,eb&=67108863,r=Math.imul(E,z),o=(o=Math.imul(E,U))+Math.imul(C,z)|0,i=Math.imul(C,U),r=r+Math.imul(w,q)|0,o=(o=o+Math.imul(w,V)|0)+Math.imul(S,q)|0,i=i+Math.imul(S,V)|0,r=r+Math.imul(v,$)|0,o=(o=o+Math.imul(v,G)|0)+Math.imul(y,$)|0,i=i+Math.imul(y,G)|0,r=r+Math.imul(h,Y)|0,o=(o=o+Math.imul(h,X)|0)+Math.imul(m,Y)|0,i=i+Math.imul(m,X)|0;var ew=(c+(r=r+Math.imul(d,J)|0)|0)+((8191&(o=(o=o+Math.imul(d,ee)|0)+Math.imul(f,J)|0))<<13)|0;c=((i=i+Math.imul(f,ee)|0)+(o>>>13)|0)+(ew>>>26)|0,ew&=67108863,r=Math.imul(k,z),o=(o=Math.imul(k,U))+Math.imul(O,z)|0,i=Math.imul(O,U),r=r+Math.imul(E,q)|0,o=(o=o+Math.imul(E,V)|0)+Math.imul(C,q)|0,i=i+Math.imul(C,V)|0,r=r+Math.imul(w,$)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(S,$)|0,i=i+Math.imul(S,G)|0,r=r+Math.imul(v,Y)|0,o=(o=o+Math.imul(v,X)|0)+Math.imul(y,Y)|0,i=i+Math.imul(y,X)|0,r=r+Math.imul(h,J)|0,o=(o=o+Math.imul(h,ee)|0)+Math.imul(m,J)|0,i=i+Math.imul(m,ee)|0;var eS=(c+(r=r+Math.imul(d,en)|0)|0)+((8191&(o=(o=o+Math.imul(d,er)|0)+Math.imul(f,en)|0))<<13)|0;c=((i=i+Math.imul(f,er)|0)+(o>>>13)|0)+(eS>>>26)|0,eS&=67108863,r=Math.imul(I,z),o=(o=Math.imul(I,U))+Math.imul(P,z)|0,i=Math.imul(P,U),r=r+Math.imul(k,q)|0,o=(o=o+Math.imul(k,V)|0)+Math.imul(O,q)|0,i=i+Math.imul(O,V)|0,r=r+Math.imul(E,$)|0,o=(o=o+Math.imul(E,G)|0)+Math.imul(C,$)|0,i=i+Math.imul(C,G)|0,r=r+Math.imul(w,Y)|0,o=(o=o+Math.imul(w,X)|0)+Math.imul(S,Y)|0,i=i+Math.imul(S,X)|0,r=r+Math.imul(v,J)|0,o=(o=o+Math.imul(v,ee)|0)+Math.imul(y,J)|0,i=i+Math.imul(y,ee)|0,r=r+Math.imul(h,en)|0,o=(o=o+Math.imul(h,er)|0)+Math.imul(m,en)|0,i=i+Math.imul(m,er)|0;var ex=(c+(r=r+Math.imul(d,ei)|0)|0)+((8191&(o=(o=o+Math.imul(d,ea)|0)+Math.imul(f,ei)|0))<<13)|0;c=((i=i+Math.imul(f,ea)|0)+(o>>>13)|0)+(ex>>>26)|0,ex&=67108863,r=Math.imul(R,z),o=(o=Math.imul(R,U))+Math.imul(M,z)|0,i=Math.imul(M,U),r=r+Math.imul(I,q)|0,o=(o=o+Math.imul(I,V)|0)+Math.imul(P,q)|0,i=i+Math.imul(P,V)|0,r=r+Math.imul(k,$)|0,o=(o=o+Math.imul(k,G)|0)+Math.imul(O,$)|0,i=i+Math.imul(O,G)|0,r=r+Math.imul(E,Y)|0,o=(o=o+Math.imul(E,X)|0)+Math.imul(C,Y)|0,i=i+Math.imul(C,X)|0,r=r+Math.imul(w,J)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(S,J)|0,i=i+Math.imul(S,ee)|0,r=r+Math.imul(v,en)|0,o=(o=o+Math.imul(v,er)|0)+Math.imul(y,en)|0,i=i+Math.imul(y,er)|0,r=r+Math.imul(h,ei)|0,o=(o=o+Math.imul(h,ea)|0)+Math.imul(m,ei)|0,i=i+Math.imul(m,ea)|0;var eE=(c+(r=r+Math.imul(d,el)|0)|0)+((8191&(o=(o=o+Math.imul(d,ec)|0)+Math.imul(f,el)|0))<<13)|0;c=((i=i+Math.imul(f,ec)|0)+(o>>>13)|0)+(eE>>>26)|0,eE&=67108863,r=Math.imul(j,z),o=(o=Math.imul(j,U))+Math.imul(D,z)|0,i=Math.imul(D,U),r=r+Math.imul(R,q)|0,o=(o=o+Math.imul(R,V)|0)+Math.imul(M,q)|0,i=i+Math.imul(M,V)|0,r=r+Math.imul(I,$)|0,o=(o=o+Math.imul(I,G)|0)+Math.imul(P,$)|0,i=i+Math.imul(P,G)|0,r=r+Math.imul(k,Y)|0,o=(o=o+Math.imul(k,X)|0)+Math.imul(O,Y)|0,i=i+Math.imul(O,X)|0,r=r+Math.imul(E,J)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(C,J)|0,i=i+Math.imul(C,ee)|0,r=r+Math.imul(w,en)|0,o=(o=o+Math.imul(w,er)|0)+Math.imul(S,en)|0,i=i+Math.imul(S,er)|0,r=r+Math.imul(v,ei)|0,o=(o=o+Math.imul(v,ea)|0)+Math.imul(y,ei)|0,i=i+Math.imul(y,ea)|0,r=r+Math.imul(h,el)|0,o=(o=o+Math.imul(h,ec)|0)+Math.imul(m,el)|0,i=i+Math.imul(m,ec)|0;var eC=(c+(r=r+Math.imul(d,ed)|0)|0)+((8191&(o=(o=o+Math.imul(d,ef)|0)+Math.imul(f,ed)|0))<<13)|0;c=((i=i+Math.imul(f,ef)|0)+(o>>>13)|0)+(eC>>>26)|0,eC&=67108863,r=Math.imul(B,z),o=(o=Math.imul(B,U))+Math.imul(Z,z)|0,i=Math.imul(Z,U),r=r+Math.imul(j,q)|0,o=(o=o+Math.imul(j,V)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,V)|0,r=r+Math.imul(R,$)|0,o=(o=o+Math.imul(R,G)|0)+Math.imul(M,$)|0,i=i+Math.imul(M,G)|0,r=r+Math.imul(I,Y)|0,o=(o=o+Math.imul(I,X)|0)+Math.imul(P,Y)|0,i=i+Math.imul(P,X)|0,r=r+Math.imul(k,J)|0,o=(o=o+Math.imul(k,ee)|0)+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,r=r+Math.imul(E,en)|0,o=(o=o+Math.imul(E,er)|0)+Math.imul(C,en)|0,i=i+Math.imul(C,er)|0,r=r+Math.imul(w,ei)|0,o=(o=o+Math.imul(w,ea)|0)+Math.imul(S,ei)|0,i=i+Math.imul(S,ea)|0,r=r+Math.imul(v,el)|0,o=(o=o+Math.imul(v,ec)|0)+Math.imul(y,el)|0,i=i+Math.imul(y,ec)|0,r=r+Math.imul(h,ed)|0,o=(o=o+Math.imul(h,ef)|0)+Math.imul(m,ed)|0,i=i+Math.imul(m,ef)|0;var e_=(c+(r=r+Math.imul(d,eh)|0)|0)+((8191&(o=(o=o+Math.imul(d,em)|0)+Math.imul(f,eh)|0))<<13)|0;c=((i=i+Math.imul(f,em)|0)+(o>>>13)|0)+(e_>>>26)|0,e_&=67108863,r=Math.imul(B,q),o=(o=Math.imul(B,V))+Math.imul(Z,q)|0,i=Math.imul(Z,V),r=r+Math.imul(j,$)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,G)|0,r=r+Math.imul(R,Y)|0,o=(o=o+Math.imul(R,X)|0)+Math.imul(M,Y)|0,i=i+Math.imul(M,X)|0,r=r+Math.imul(I,J)|0,o=(o=o+Math.imul(I,ee)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,ee)|0,r=r+Math.imul(k,en)|0,o=(o=o+Math.imul(k,er)|0)+Math.imul(O,en)|0,i=i+Math.imul(O,er)|0,r=r+Math.imul(E,ei)|0,o=(o=o+Math.imul(E,ea)|0)+Math.imul(C,ei)|0,i=i+Math.imul(C,ea)|0,r=r+Math.imul(w,el)|0,o=(o=o+Math.imul(w,ec)|0)+Math.imul(S,el)|0,i=i+Math.imul(S,ec)|0,r=r+Math.imul(v,ed)|0,o=(o=o+Math.imul(v,ef)|0)+Math.imul(y,ed)|0,i=i+Math.imul(y,ef)|0;var ek=(c+(r=r+Math.imul(h,eh)|0)|0)+((8191&(o=(o=o+Math.imul(h,em)|0)+Math.imul(m,eh)|0))<<13)|0;c=((i=i+Math.imul(m,em)|0)+(o>>>13)|0)+(ek>>>26)|0,ek&=67108863,r=Math.imul(B,$),o=(o=Math.imul(B,G))+Math.imul(Z,$)|0,i=Math.imul(Z,G),r=r+Math.imul(j,Y)|0,o=(o=o+Math.imul(j,X)|0)+Math.imul(D,Y)|0,i=i+Math.imul(D,X)|0,r=r+Math.imul(R,J)|0,o=(o=o+Math.imul(R,ee)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,ee)|0,r=r+Math.imul(I,en)|0,o=(o=o+Math.imul(I,er)|0)+Math.imul(P,en)|0,i=i+Math.imul(P,er)|0,r=r+Math.imul(k,ei)|0,o=(o=o+Math.imul(k,ea)|0)+Math.imul(O,ei)|0,i=i+Math.imul(O,ea)|0,r=r+Math.imul(E,el)|0,o=(o=o+Math.imul(E,ec)|0)+Math.imul(C,el)|0,i=i+Math.imul(C,ec)|0,r=r+Math.imul(w,ed)|0,o=(o=o+Math.imul(w,ef)|0)+Math.imul(S,ed)|0,i=i+Math.imul(S,ef)|0;var eO=(c+(r=r+Math.imul(v,eh)|0)|0)+((8191&(o=(o=o+Math.imul(v,em)|0)+Math.imul(y,eh)|0))<<13)|0;c=((i=i+Math.imul(y,em)|0)+(o>>>13)|0)+(eO>>>26)|0,eO&=67108863,r=Math.imul(B,Y),o=(o=Math.imul(B,X))+Math.imul(Z,Y)|0,i=Math.imul(Z,X),r=r+Math.imul(j,J)|0,o=(o=o+Math.imul(j,ee)|0)+Math.imul(D,J)|0,i=i+Math.imul(D,ee)|0,r=r+Math.imul(R,en)|0,o=(o=o+Math.imul(R,er)|0)+Math.imul(M,en)|0,i=i+Math.imul(M,er)|0,r=r+Math.imul(I,ei)|0,o=(o=o+Math.imul(I,ea)|0)+Math.imul(P,ei)|0,i=i+Math.imul(P,ea)|0,r=r+Math.imul(k,el)|0,o=(o=o+Math.imul(k,ec)|0)+Math.imul(O,el)|0,i=i+Math.imul(O,ec)|0,r=r+Math.imul(E,ed)|0,o=(o=o+Math.imul(E,ef)|0)+Math.imul(C,ed)|0,i=i+Math.imul(C,ef)|0;var eA=(c+(r=r+Math.imul(w,eh)|0)|0)+((8191&(o=(o=o+Math.imul(w,em)|0)+Math.imul(S,eh)|0))<<13)|0;c=((i=i+Math.imul(S,em)|0)+(o>>>13)|0)+(eA>>>26)|0,eA&=67108863,r=Math.imul(B,J),o=(o=Math.imul(B,ee))+Math.imul(Z,J)|0,i=Math.imul(Z,ee),r=r+Math.imul(j,en)|0,o=(o=o+Math.imul(j,er)|0)+Math.imul(D,en)|0,i=i+Math.imul(D,er)|0,r=r+Math.imul(R,ei)|0,o=(o=o+Math.imul(R,ea)|0)+Math.imul(M,ei)|0,i=i+Math.imul(M,ea)|0,r=r+Math.imul(I,el)|0,o=(o=o+Math.imul(I,ec)|0)+Math.imul(P,el)|0,i=i+Math.imul(P,ec)|0,r=r+Math.imul(k,ed)|0,o=(o=o+Math.imul(k,ef)|0)+Math.imul(O,ed)|0,i=i+Math.imul(O,ef)|0;var eI=(c+(r=r+Math.imul(E,eh)|0)|0)+((8191&(o=(o=o+Math.imul(E,em)|0)+Math.imul(C,eh)|0))<<13)|0;c=((i=i+Math.imul(C,em)|0)+(o>>>13)|0)+(eI>>>26)|0,eI&=67108863,r=Math.imul(B,en),o=(o=Math.imul(B,er))+Math.imul(Z,en)|0,i=Math.imul(Z,er),r=r+Math.imul(j,ei)|0,o=(o=o+Math.imul(j,ea)|0)+Math.imul(D,ei)|0,i=i+Math.imul(D,ea)|0,r=r+Math.imul(R,el)|0,o=(o=o+Math.imul(R,ec)|0)+Math.imul(M,el)|0,i=i+Math.imul(M,ec)|0,r=r+Math.imul(I,ed)|0,o=(o=o+Math.imul(I,ef)|0)+Math.imul(P,ed)|0,i=i+Math.imul(P,ef)|0;var eP=(c+(r=r+Math.imul(k,eh)|0)|0)+((8191&(o=(o=o+Math.imul(k,em)|0)+Math.imul(O,eh)|0))<<13)|0;c=((i=i+Math.imul(O,em)|0)+(o>>>13)|0)+(eP>>>26)|0,eP&=67108863,r=Math.imul(B,ei),o=(o=Math.imul(B,ea))+Math.imul(Z,ei)|0,i=Math.imul(Z,ea),r=r+Math.imul(j,el)|0,o=(o=o+Math.imul(j,ec)|0)+Math.imul(D,el)|0,i=i+Math.imul(D,ec)|0,r=r+Math.imul(R,ed)|0,o=(o=o+Math.imul(R,ef)|0)+Math.imul(M,ed)|0,i=i+Math.imul(M,ef)|0;var eT=(c+(r=r+Math.imul(I,eh)|0)|0)+((8191&(o=(o=o+Math.imul(I,em)|0)+Math.imul(P,eh)|0))<<13)|0;c=((i=i+Math.imul(P,em)|0)+(o>>>13)|0)+(eT>>>26)|0,eT&=67108863,r=Math.imul(B,el),o=(o=Math.imul(B,ec))+Math.imul(Z,el)|0,i=Math.imul(Z,ec),r=r+Math.imul(j,ed)|0,o=(o=o+Math.imul(j,ef)|0)+Math.imul(D,ed)|0,i=i+Math.imul(D,ef)|0;var eR=(c+(r=r+Math.imul(R,eh)|0)|0)+((8191&(o=(o=o+Math.imul(R,em)|0)+Math.imul(M,eh)|0))<<13)|0;c=((i=i+Math.imul(M,em)|0)+(o>>>13)|0)+(eR>>>26)|0,eR&=67108863,r=Math.imul(B,ed),o=(o=Math.imul(B,ef))+Math.imul(Z,ed)|0,i=Math.imul(Z,ef);var eM=(c+(r=r+Math.imul(j,eh)|0)|0)+((8191&(o=(o=o+Math.imul(j,em)|0)+Math.imul(D,eh)|0))<<13)|0;c=((i=i+Math.imul(D,em)|0)+(o>>>13)|0)+(eM>>>26)|0,eM&=67108863;var eN=(c+(r=Math.imul(B,eh))|0)+((8191&(o=(o=Math.imul(B,em))+Math.imul(Z,eh)|0))<<13)|0;return c=((i=Math.imul(Z,em))+(o>>>13)|0)+(eN>>>26)|0,eN&=67108863,l[0]=eg,l[1]=ev,l[2]=ey,l[3]=eb,l[4]=ew,l[5]=eS,l[6]=ex,l[7]=eE,l[8]=eC,l[9]=e_,l[10]=ek,l[11]=eO,l[12]=eA,l[13]=eI,l[14]=eP,l[15]=eT,l[16]=eR,l[17]=eM,l[18]=eN,0!==c&&(l[19]=c,n.length++),n};function m(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,o=0,i=0;i<n.length-1;i++){var a=o;o=0;for(var s=67108863&r,l=Math.min(i,t.length-1),c=Math.max(0,i-e.length+1);c<=l;c++){var u=i-c,d=(0|e.words[u])*(0|t.words[c]),f=67108863&d;a=a+(d/67108864|0)|0,s=67108863&(f=f+s|0),o+=(a=a+(f>>>26)|0)>>>26,a&=67108863}n.words[i]=s,r=a,a=o}return 0!==r?n.words[i]=r:n.length--,n.strip()}function g(e,t,n){return(new v).mulp(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(h=p),i.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):n<63?p(this,e,t):n<1024?m(this,e,t):g(this,e,t)},v.prototype.makeRBT=function(e){for(var t=Array(e),n=i.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},v.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,o=0;o<t;o++)r|=(1&e)<<t-o-1,e>>=1;return r},v.prototype.permute=function(e,t,n,r,o,i){for(var a=0;a<i;a++)r[a]=t[e[a]],o[a]=n[e[a]]},v.prototype.transform=function(e,t,n,r,o,i){this.permute(i,e,t,n,r,o);for(var a=1;a<o;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<o;u+=s)for(var d=l,f=c,p=0;p<a;p++){var h=n[u+p],m=r[u+p],g=n[u+p+a],v=r[u+p+a],y=d*g-f*v;v=d*v+f*g,g=y,n[u+p]=h+g,r[u+p]=m+v,n[u+p+a]=h-g,r[u+p+a]=m-v,p!==s&&(y=l*d-c*f,f=l*f+c*d,d=y)}},v.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,o=0;for(n=n/2|0;n;n>>>=1)o++;return 1<<o+1+r},v.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var o=e[r];e[r]=e[n-r-1],e[n-r-1]=o,o=t[r],t[r]=-t[n-r-1],t[n-r-1]=-o}},v.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var o=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&o,n=o<67108864?0:o/67108864|0}return e},v.prototype.convert13b=function(e,t,n,o){for(var i=0,a=0;a<t;a++)i+=0|e[a],n[2*a]=8191&i,i>>>=13,n[2*a+1]=8191&i,i>>>=13;for(a=2*t;a<o;++a)n[a]=0;r(0===i),r((-8192&i)==0)},v.prototype.stub=function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=0;return t},v.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),o=this.makeRBT(r),i=this.stub(r),a=Array(r),s=Array(r),l=Array(r),c=Array(r),u=Array(r),d=Array(r),f=n.words;f.length=r,this.convert13b(e.words,e.length,a,r),this.convert13b(t.words,t.length,c,r),this.transform(a,i,s,l,r,o),this.transform(c,i,u,d,r,o);for(var p=0;p<r;p++){var h=s[p]*u[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*u[p],s[p]=h}return this.conjugate(s,l,r),this.transform(s,l,f,i,r,o),this.conjugate(f,i,r),this.normalize13b(f,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=Array(this.length+e.length),g(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var o=(0|this.words[n])*e,i=(67108863&o)+(67108863&t);t>>=26,t+=(o/67108864|0)+(i>>>26),this.words[n]=67108863&i}return 0!==t&&(this.words[n]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=f(e);if(0===t.length)return new i(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var o=n.sqr();r<t.length;r++,o=o.sqr())0!==t[r]&&(n=n.mul(o));return n},i.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,o=(e-n)/26,i=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&i,l=(0|this.words[t])-s<<n;this.words[t]=l|a,a=s>>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t<o;t++)this.words[t]=0;this.length+=o}return this.strip()},i.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,n){r("number"==typeof e&&e>=0),o=t?(t-t%26)/26:0;var o,i=e%26,a=Math.min((e-i)/26,this.length),s=67108863^67108863>>>i<<i,l=n;if(o-=a,o=Math.max(0,o),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=o);c--){var d=0|this.words[c];this.words[c]=u<<26-i|d>>>i,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,o=1<<t;return!(this.length<=n)&&!!(this.words[n]&o)},i.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var o=67108863^67108863>>>t<<t;this.words[this.length-1]&=o}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return(r("number"==typeof e),r(e<67108864),e<0)?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,n){var o,i,a=e.length+n;this._expand(a);var s=0;for(o=0;o<e.length;o++){i=(0|this.words[o+n])+s;var l=(0|e.words[o])*t;i-=67108863&l,s=(i>>26)-(l/67108864|0),this.words[o+n]=67108863&i}for(;o<this.length-n;o++)s=(i=(0|this.words[o+n])+s)>>26,this.words[o+n]=67108863&i;if(0===s)return this.strip();for(r(-1===s),s=0,o=0;o<this.length;o++)s=(i=-(0|this.words[o])+s)>>26,this.words[o]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var n,r=this.length-e.length,o=this.clone(),a=e,s=0|a.words[a.length-1];0!=(r=26-this._countBits(s))&&(a=a.ushln(r),o.iushln(r),s=0|a.words[a.length-1]);var l=o.length-a.length;if("mod"!==t){(n=new i(null)).length=l+1,n.words=Array(n.length);for(var c=0;c<n.length;c++)n.words[c]=0}var u=o.clone()._ishlnsubmul(a,1,l);0===u.negative&&(o=u,n&&(n.words[l]=1));for(var d=l-1;d>=0;d--){var f=(0|o.words[a.length+d])*67108864+(0|o.words[a.length+d-1]);for(f=Math.min(f/s|0,67108863),o._ishlnsubmul(a,f,d);0!==o.negative;)f--,o.negative=0,o._ishlnsubmul(a,1,d),o.isZero()||(o.negative^=1);n&&(n.words[d]=f)}return n&&n.strip(),o.strip(),"div"!==t&&0!==r&&o.iushrn(r),{div:n||null,mod:o}},i.prototype.divmod=function(e,t,n){var o,a,s;return(r(!e.isZero()),this.isZero())?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(o=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:o,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(o=s.div.neg()),{div:o,mod:s.mod}):(this.negative&e.negative)!=0?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||0>this.cmp(e)?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t)},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),o=e.andln(1),i=n.cmp(r);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){r(e<=67108863);for(var t=67108864%e,n=0,o=this.length-1;o>=0;o--)n=(t*n+(0|this.words[o]))%e;return n},i.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*t;this.words[n]=o/e|0,t=o%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),a=new i(0),s=new i(0),l=new i(1),c=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),d=t.clone();!t.isZero();){for(var f=0,p=1;(t.words[0]&p)==0&&f<26;++f,p<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(u),a.isub(d)),o.iushrn(1),a.iushrn(1);for(var h=0,m=1;(n.words[0]&m)==0&&h<26;++h,m<<=1);if(h>0)for(n.iushrn(h);h-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(s),a.isub(l)):(n.isub(t),s.isub(o),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,o=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var a=new i(1),s=new i(0),l=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var c=0,u=1;(n.words[0]&u)==0&&c<26;++c,u<<=1);if(c>0)for(n.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,f=1;(o.words[0]&f)==0&&d<26;++d,f<<=1);if(d>0)for(o.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);n.cmp(o)>=0?(n.isub(o),a.isub(s)):(o.isub(n),s.isub(a))}return 0>(t=0===n.cmpn(1)?a:s).cmpn(0)&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var o=t.cmp(n);if(o<0){var i=t;t=n,n=i}else if(0===o||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return(1&this.words[0])==0},i.prototype.isOdd=function(){return(1&this.words[0])==1},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,o=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=o,this;for(var i=o,a=n;0!==i&&a<this.length;a++){var s=0|this.words[a];s+=i,i=s>>>26,s&=67108863,this.words[a]=s}return 0!==i&&(this.words[a]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return -1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:o<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],o=0|e.words[n];if(r!==o){r<o?t=-1:r>o&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return -1===this.cmpn(e)},i.prototype.lt=function(e){return -1===this.cmp(e)},i.prototype.lten=function(e){return 0>=this.cmpn(e)},i.prototype.lte=function(e){return 0>=this.cmp(e)},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new C(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function _(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new i(null);return e.words=Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength();while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},o(w,b),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),o=0;o<r;o++)t.words[o]=e.words[o];if(t.length=r,e.length<=9){e.words[0]=0,e.length=1;return}var i=e.words[9];for(o=10,t.words[t.length++]=i&n;o<e.length;o++){var a=0|e.words[o];e.words[o-10]=(a&n)<<4|i>>>22,i=a}i>>>=22,e.words[o-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},o(S,b),o(x,b),o(E,b),E.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=(0|e.words[n])*19+t,o=67108863&r;r>>>=26,e.words[n]=o,t=r}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){var t;if(y[e])return y[e];if("k256"===e)t=new w;else if("p224"===e)t=new S;else if("p192"===e)t=new x;else if("p25519"===e)t=new E;else throw Error("Unknown prime "+e);return y[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r((e.negative|t.negative)==0,"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return 0>n.cmpn(0)&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return 0>n.cmpn(0)&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);r(!o.isZero());var s=new i(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new i(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var d=this.pow(u,o),f=this.pow(e,o.addn(1).iushrn(1)),p=this.pow(e,o),h=a;0!==p.cmp(s);){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<h);var v=this.pow(d,new i(1).iushln(h-g-1));f=f.redMul(v),d=v.redSqr(),p=p.redMul(d),h=g}return f},C.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=4,r=Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var o=2;o<r.length;o++)r[o]=this.mul(r[o-1],e);var a=r[0],s=0,l=0,c=t.bitLength()%26;for(0===c&&(c=26),o=t.length-1;o>=0;o--){for(var u=t.words[o],d=c-1;d>=0;d--){var f=u>>d&1;if(a!==r[0]&&(a=this.sqr(a)),0===f&&0===s){l=0;continue}s<<=1,s|=f,(++l===n||0===o&&0===d)&&(a=this.mul(a,r[s]),l=0,s=0)}c=26}return a},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new _(e)},o(_,C),_.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},_.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},_.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):0>o.cmpn(0)&&(i=o.iadd(this.m)),i._forceRed(this)},_.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):0>o.cmpn(0)&&(a=o.iadd(this.m)),a._forceRed(this)},_.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},1670:function(e,t,n){!function(e,t){"use strict";function r(e,t){if(!e)throw Error(t||"Assertion failed")}function o(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function i(e,t,n){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(n=t,t=10),this._init(e||0,t||10,n||"be"))}"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{u=n(4300).Buffer}catch(e){}function a(e,t,n){for(var o=0,i=Math.min(e.length,n),a=0,s=t;s<i;s++){var l,c=e.charCodeAt(s)-48;o<<=4,o|=l=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,a|=l}return r(!(240&a),"Invalid character in "+e),o}function s(e,t,n,o){for(var i=0,a=0,s=Math.min(e.length,n),l=t;l<s;l++){var c=e.charCodeAt(l)-48;i*=o,a=c>=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&a<o,"Invalid character"),i+=a}return i}function l(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}function c(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return 0>e.cmp(t)?e:t},i.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var o,i,a=0;a<this.length;a++)this.words[a]=0;var s=0;if("be"===n)for(a=e.length-1,o=0;a>=0;a-=3)i=e[a]|e[a-1]<<8|e[a-2]<<16,this.words[o]|=i<<s&67108863,this.words[o+1]=i>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(a=0,o=0;a<e.length;a+=3)i=e[a]|e[a+1]<<8|e[a+2]<<16,this.words[o]|=i<<s&67108863,this.words[o+1]=i>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r,o=0;o<this.length;o++)this.words[o]=0;var i=0;for(o=e.length-6,n=0;o>=t;o-=6)r=a(e,o,o+6),this.words[n]|=r<<i&67108863,this.words[n+1]|=r>>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);o+6!==t&&(r=a(e,t,o+6),this.words[n]|=r<<i&67108863,this.words[n+1]|=r>>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,o=1;o<=67108863;o*=t)r++;r--,o=o/t|0;for(var i=e.length-n,a=i%r,l=Math.min(i,i-a)+n,c=0,u=n;u<l;u+=r)c=s(e,u,u+r,t),this.imuln(o),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var d=1;for(c=s(e,u,e.length,t),u=0;u<a;u++)d*=t;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},i.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype._move=function(e){l(e,this)},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?i.prototype[Symbol.for("nodejs.util.inspect.custom")]=c:i.prototype.inspect=c;var u,d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var n,o=0,i=0,a=0;a<this.length;a++){var s=this.words[a],l=((s<<o|i)&16777215).toString(16);n=0!=(i=s>>>24-o&16777215)||a!==this.length-1?d[6-l.length]+l+n:l+n,(o+=2)>=26&&(o-=26,a--)}for(0!==i&&(n=i.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var c=f[e],u=p[e];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modrn(u).toString(e);n=(h=h.idivn(u)).isZero()?m+n:d[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},u&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(u,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var h=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function m(e){for(var t=Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,o=n%26;t[n]=e.words[r]>>>o&1}return t}function g(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var o=0|e.words[0],i=0|t.words[0],a=o*i,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var c=1;c<r;c++){for(var u=l>>>26,d=67108863&l,f=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=f;p++){var h=c-p|0;u+=(a=(o=0|e.words[h])*(i=0|t.words[p])+d)/67108864|0,d=67108863&a}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n._strip()}i.prototype.toArrayLike=function(e,t,n){this._strip();var o=this.byteLength(),i=n||Math.max(1,o);r(o<=i,"byte array longer than desired length"),r(i>0,"Requested array length <= 0");var a=h(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,o),a},i.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,o=0,i=0;o<this.length;o++){var a=this.words[o]<<i|r;e[n++]=255&a,n<e.length&&(e[n++]=a>>8&255),n<e.length&&(e[n++]=a>>16&255),6===i?(n<e.length&&(e[n++]=a>>24&255),r=0,i=0):(r=a>>>24,i+=2)}if(n<e.length)for(e[n++]=r;n<e.length;)e[n++]=0},i.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,o=0,i=0;o<this.length;o++){var a=this.words[o]<<i|r;e[n--]=255&a,n>=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===i?(n>=0&&(e[n--]=a>>24&255),r=0,i=0):(r=a>>>24,i+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return(8191&t)==0&&(n+=13,t>>>=13),(127&t)==0&&(n+=7,t>>>=7),(15&t)==0&&(n+=4,t>>>=4),(3&t)==0&&(n+=2,t>>>=2),(1&t)==0&&n++,n},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},i.prototype.ior=function(e){return r((this.negative|e.negative)==0),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},i.prototype.iand=function(e){return r((this.negative|e.negative)==0),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){this.length>e.length?(t=this,n=e):(t=e,n=this);for(var t,n,r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},i.prototype.ixor=function(e){return r((this.negative|e.negative)==0),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var o=0;o<t;o++)this.words[o]=67108863&~this.words[o];return n>0&&(this.words[o]=~this.words[o]&67108863>>26-n),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,o=e%26;return this._expand(n+1),t?this.words[n]=this.words[n]|1<<o:this.words[n]=this.words[n]&~(1<<o),this._strip()},i.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var t,n,r,o=0,i=0;i<r.length;i++)t=(0|n.words[i])+(0|r.words[i])+o,this.words[i]=67108863&t,o=t>>>26;for(;0!==o&&i<n.length;i++)t=(0|n.words[i])+o,this.words[i]=67108863&t,o=t>>>26;if(this.length=n.length,0!==o)this.words[this.length]=o,this.length++;else if(n!==this)for(;i<n.length;i++)this.words[i]=n.words[i];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,n,r=this.iadd(e);return e.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(t=this,n=e):(t=e,n=this);for(var i=0,a=0;a<n.length;a++)i=(r=(0|t.words[a])-(0|n.words[a])+i)>>26,this.words[a]=67108863&r;for(;0!==i&&a<t.length;a++)i=(r=(0|t.words[a])+i)>>26,this.words[a]=67108863&r;if(0===i&&a<t.length&&t!==this)for(;a<t.length;a++)this.words[a]=t.words[a];return this.length=Math.max(this.length,a),t!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var v=function(e,t,n){var r,o,i,a=e.words,s=t.words,l=n.words,c=0,u=0|a[0],d=8191&u,f=u>>>13,p=0|a[1],h=8191&p,m=p>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,S=b>>>13,x=0|a[4],E=8191&x,C=x>>>13,_=0|a[5],k=8191&_,O=_>>>13,A=0|a[6],I=8191&A,P=A>>>13,T=0|a[7],R=8191&T,M=T>>>13,N=0|a[8],j=8191&N,D=N>>>13,L=0|a[9],B=8191&L,Z=L>>>13,F=0|s[0],z=8191&F,U=F>>>13,H=0|s[1],q=8191&H,V=H>>>13,W=0|s[2],$=8191&W,G=W>>>13,K=0|s[3],Y=8191&K,X=K>>>13,Q=0|s[4],J=8191&Q,ee=Q>>>13,et=0|s[5],en=8191&et,er=et>>>13,eo=0|s[6],ei=8191&eo,ea=eo>>>13,es=0|s[7],el=8191&es,ec=es>>>13,eu=0|s[8],ed=8191&eu,ef=eu>>>13,ep=0|s[9],eh=8191&ep,em=ep>>>13;n.negative=e.negative^t.negative,n.length=19;var eg=(c+(r=Math.imul(d,z))|0)+((8191&(o=(o=Math.imul(d,U))+Math.imul(f,z)|0))<<13)|0;c=((i=Math.imul(f,U))+(o>>>13)|0)+(eg>>>26)|0,eg&=67108863,r=Math.imul(h,z),o=(o=Math.imul(h,U))+Math.imul(m,z)|0,i=Math.imul(m,U);var ev=(c+(r=r+Math.imul(d,q)|0)|0)+((8191&(o=(o=o+Math.imul(d,V)|0)+Math.imul(f,q)|0))<<13)|0;c=((i=i+Math.imul(f,V)|0)+(o>>>13)|0)+(ev>>>26)|0,ev&=67108863,r=Math.imul(v,z),o=(o=Math.imul(v,U))+Math.imul(y,z)|0,i=Math.imul(y,U),r=r+Math.imul(h,q)|0,o=(o=o+Math.imul(h,V)|0)+Math.imul(m,q)|0,i=i+Math.imul(m,V)|0;var ey=(c+(r=r+Math.imul(d,$)|0)|0)+((8191&(o=(o=o+Math.imul(d,G)|0)+Math.imul(f,$)|0))<<13)|0;c=((i=i+Math.imul(f,G)|0)+(o>>>13)|0)+(ey>>>26)|0,ey&=67108863,r=Math.imul(w,z),o=(o=Math.imul(w,U))+Math.imul(S,z)|0,i=Math.imul(S,U),r=r+Math.imul(v,q)|0,o=(o=o+Math.imul(v,V)|0)+Math.imul(y,q)|0,i=i+Math.imul(y,V)|0,r=r+Math.imul(h,$)|0,o=(o=o+Math.imul(h,G)|0)+Math.imul(m,$)|0,i=i+Math.imul(m,G)|0;var eb=(c+(r=r+Math.imul(d,Y)|0)|0)+((8191&(o=(o=o+Math.imul(d,X)|0)+Math.imul(f,Y)|0))<<13)|0;c=((i=i+Math.imul(f,X)|0)+(o>>>13)|0)+(eb>>>26)|0,eb&=67108863,r=Math.imul(E,z),o=(o=Math.imul(E,U))+Math.imul(C,z)|0,i=Math.imul(C,U),r=r+Math.imul(w,q)|0,o=(o=o+Math.imul(w,V)|0)+Math.imul(S,q)|0,i=i+Math.imul(S,V)|0,r=r+Math.imul(v,$)|0,o=(o=o+Math.imul(v,G)|0)+Math.imul(y,$)|0,i=i+Math.imul(y,G)|0,r=r+Math.imul(h,Y)|0,o=(o=o+Math.imul(h,X)|0)+Math.imul(m,Y)|0,i=i+Math.imul(m,X)|0;var ew=(c+(r=r+Math.imul(d,J)|0)|0)+((8191&(o=(o=o+Math.imul(d,ee)|0)+Math.imul(f,J)|0))<<13)|0;c=((i=i+Math.imul(f,ee)|0)+(o>>>13)|0)+(ew>>>26)|0,ew&=67108863,r=Math.imul(k,z),o=(o=Math.imul(k,U))+Math.imul(O,z)|0,i=Math.imul(O,U),r=r+Math.imul(E,q)|0,o=(o=o+Math.imul(E,V)|0)+Math.imul(C,q)|0,i=i+Math.imul(C,V)|0,r=r+Math.imul(w,$)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(S,$)|0,i=i+Math.imul(S,G)|0,r=r+Math.imul(v,Y)|0,o=(o=o+Math.imul(v,X)|0)+Math.imul(y,Y)|0,i=i+Math.imul(y,X)|0,r=r+Math.imul(h,J)|0,o=(o=o+Math.imul(h,ee)|0)+Math.imul(m,J)|0,i=i+Math.imul(m,ee)|0;var eS=(c+(r=r+Math.imul(d,en)|0)|0)+((8191&(o=(o=o+Math.imul(d,er)|0)+Math.imul(f,en)|0))<<13)|0;c=((i=i+Math.imul(f,er)|0)+(o>>>13)|0)+(eS>>>26)|0,eS&=67108863,r=Math.imul(I,z),o=(o=Math.imul(I,U))+Math.imul(P,z)|0,i=Math.imul(P,U),r=r+Math.imul(k,q)|0,o=(o=o+Math.imul(k,V)|0)+Math.imul(O,q)|0,i=i+Math.imul(O,V)|0,r=r+Math.imul(E,$)|0,o=(o=o+Math.imul(E,G)|0)+Math.imul(C,$)|0,i=i+Math.imul(C,G)|0,r=r+Math.imul(w,Y)|0,o=(o=o+Math.imul(w,X)|0)+Math.imul(S,Y)|0,i=i+Math.imul(S,X)|0,r=r+Math.imul(v,J)|0,o=(o=o+Math.imul(v,ee)|0)+Math.imul(y,J)|0,i=i+Math.imul(y,ee)|0,r=r+Math.imul(h,en)|0,o=(o=o+Math.imul(h,er)|0)+Math.imul(m,en)|0,i=i+Math.imul(m,er)|0;var ex=(c+(r=r+Math.imul(d,ei)|0)|0)+((8191&(o=(o=o+Math.imul(d,ea)|0)+Math.imul(f,ei)|0))<<13)|0;c=((i=i+Math.imul(f,ea)|0)+(o>>>13)|0)+(ex>>>26)|0,ex&=67108863,r=Math.imul(R,z),o=(o=Math.imul(R,U))+Math.imul(M,z)|0,i=Math.imul(M,U),r=r+Math.imul(I,q)|0,o=(o=o+Math.imul(I,V)|0)+Math.imul(P,q)|0,i=i+Math.imul(P,V)|0,r=r+Math.imul(k,$)|0,o=(o=o+Math.imul(k,G)|0)+Math.imul(O,$)|0,i=i+Math.imul(O,G)|0,r=r+Math.imul(E,Y)|0,o=(o=o+Math.imul(E,X)|0)+Math.imul(C,Y)|0,i=i+Math.imul(C,X)|0,r=r+Math.imul(w,J)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(S,J)|0,i=i+Math.imul(S,ee)|0,r=r+Math.imul(v,en)|0,o=(o=o+Math.imul(v,er)|0)+Math.imul(y,en)|0,i=i+Math.imul(y,er)|0,r=r+Math.imul(h,ei)|0,o=(o=o+Math.imul(h,ea)|0)+Math.imul(m,ei)|0,i=i+Math.imul(m,ea)|0;var eE=(c+(r=r+Math.imul(d,el)|0)|0)+((8191&(o=(o=o+Math.imul(d,ec)|0)+Math.imul(f,el)|0))<<13)|0;c=((i=i+Math.imul(f,ec)|0)+(o>>>13)|0)+(eE>>>26)|0,eE&=67108863,r=Math.imul(j,z),o=(o=Math.imul(j,U))+Math.imul(D,z)|0,i=Math.imul(D,U),r=r+Math.imul(R,q)|0,o=(o=o+Math.imul(R,V)|0)+Math.imul(M,q)|0,i=i+Math.imul(M,V)|0,r=r+Math.imul(I,$)|0,o=(o=o+Math.imul(I,G)|0)+Math.imul(P,$)|0,i=i+Math.imul(P,G)|0,r=r+Math.imul(k,Y)|0,o=(o=o+Math.imul(k,X)|0)+Math.imul(O,Y)|0,i=i+Math.imul(O,X)|0,r=r+Math.imul(E,J)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(C,J)|0,i=i+Math.imul(C,ee)|0,r=r+Math.imul(w,en)|0,o=(o=o+Math.imul(w,er)|0)+Math.imul(S,en)|0,i=i+Math.imul(S,er)|0,r=r+Math.imul(v,ei)|0,o=(o=o+Math.imul(v,ea)|0)+Math.imul(y,ei)|0,i=i+Math.imul(y,ea)|0,r=r+Math.imul(h,el)|0,o=(o=o+Math.imul(h,ec)|0)+Math.imul(m,el)|0,i=i+Math.imul(m,ec)|0;var eC=(c+(r=r+Math.imul(d,ed)|0)|0)+((8191&(o=(o=o+Math.imul(d,ef)|0)+Math.imul(f,ed)|0))<<13)|0;c=((i=i+Math.imul(f,ef)|0)+(o>>>13)|0)+(eC>>>26)|0,eC&=67108863,r=Math.imul(B,z),o=(o=Math.imul(B,U))+Math.imul(Z,z)|0,i=Math.imul(Z,U),r=r+Math.imul(j,q)|0,o=(o=o+Math.imul(j,V)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,V)|0,r=r+Math.imul(R,$)|0,o=(o=o+Math.imul(R,G)|0)+Math.imul(M,$)|0,i=i+Math.imul(M,G)|0,r=r+Math.imul(I,Y)|0,o=(o=o+Math.imul(I,X)|0)+Math.imul(P,Y)|0,i=i+Math.imul(P,X)|0,r=r+Math.imul(k,J)|0,o=(o=o+Math.imul(k,ee)|0)+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,r=r+Math.imul(E,en)|0,o=(o=o+Math.imul(E,er)|0)+Math.imul(C,en)|0,i=i+Math.imul(C,er)|0,r=r+Math.imul(w,ei)|0,o=(o=o+Math.imul(w,ea)|0)+Math.imul(S,ei)|0,i=i+Math.imul(S,ea)|0,r=r+Math.imul(v,el)|0,o=(o=o+Math.imul(v,ec)|0)+Math.imul(y,el)|0,i=i+Math.imul(y,ec)|0,r=r+Math.imul(h,ed)|0,o=(o=o+Math.imul(h,ef)|0)+Math.imul(m,ed)|0,i=i+Math.imul(m,ef)|0;var e_=(c+(r=r+Math.imul(d,eh)|0)|0)+((8191&(o=(o=o+Math.imul(d,em)|0)+Math.imul(f,eh)|0))<<13)|0;c=((i=i+Math.imul(f,em)|0)+(o>>>13)|0)+(e_>>>26)|0,e_&=67108863,r=Math.imul(B,q),o=(o=Math.imul(B,V))+Math.imul(Z,q)|0,i=Math.imul(Z,V),r=r+Math.imul(j,$)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,G)|0,r=r+Math.imul(R,Y)|0,o=(o=o+Math.imul(R,X)|0)+Math.imul(M,Y)|0,i=i+Math.imul(M,X)|0,r=r+Math.imul(I,J)|0,o=(o=o+Math.imul(I,ee)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,ee)|0,r=r+Math.imul(k,en)|0,o=(o=o+Math.imul(k,er)|0)+Math.imul(O,en)|0,i=i+Math.imul(O,er)|0,r=r+Math.imul(E,ei)|0,o=(o=o+Math.imul(E,ea)|0)+Math.imul(C,ei)|0,i=i+Math.imul(C,ea)|0,r=r+Math.imul(w,el)|0,o=(o=o+Math.imul(w,ec)|0)+Math.imul(S,el)|0,i=i+Math.imul(S,ec)|0,r=r+Math.imul(v,ed)|0,o=(o=o+Math.imul(v,ef)|0)+Math.imul(y,ed)|0,i=i+Math.imul(y,ef)|0;var ek=(c+(r=r+Math.imul(h,eh)|0)|0)+((8191&(o=(o=o+Math.imul(h,em)|0)+Math.imul(m,eh)|0))<<13)|0;c=((i=i+Math.imul(m,em)|0)+(o>>>13)|0)+(ek>>>26)|0,ek&=67108863,r=Math.imul(B,$),o=(o=Math.imul(B,G))+Math.imul(Z,$)|0,i=Math.imul(Z,G),r=r+Math.imul(j,Y)|0,o=(o=o+Math.imul(j,X)|0)+Math.imul(D,Y)|0,i=i+Math.imul(D,X)|0,r=r+Math.imul(R,J)|0,o=(o=o+Math.imul(R,ee)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,ee)|0,r=r+Math.imul(I,en)|0,o=(o=o+Math.imul(I,er)|0)+Math.imul(P,en)|0,i=i+Math.imul(P,er)|0,r=r+Math.imul(k,ei)|0,o=(o=o+Math.imul(k,ea)|0)+Math.imul(O,ei)|0,i=i+Math.imul(O,ea)|0,r=r+Math.imul(E,el)|0,o=(o=o+Math.imul(E,ec)|0)+Math.imul(C,el)|0,i=i+Math.imul(C,ec)|0,r=r+Math.imul(w,ed)|0,o=(o=o+Math.imul(w,ef)|0)+Math.imul(S,ed)|0,i=i+Math.imul(S,ef)|0;var eO=(c+(r=r+Math.imul(v,eh)|0)|0)+((8191&(o=(o=o+Math.imul(v,em)|0)+Math.imul(y,eh)|0))<<13)|0;c=((i=i+Math.imul(y,em)|0)+(o>>>13)|0)+(eO>>>26)|0,eO&=67108863,r=Math.imul(B,Y),o=(o=Math.imul(B,X))+Math.imul(Z,Y)|0,i=Math.imul(Z,X),r=r+Math.imul(j,J)|0,o=(o=o+Math.imul(j,ee)|0)+Math.imul(D,J)|0,i=i+Math.imul(D,ee)|0,r=r+Math.imul(R,en)|0,o=(o=o+Math.imul(R,er)|0)+Math.imul(M,en)|0,i=i+Math.imul(M,er)|0,r=r+Math.imul(I,ei)|0,o=(o=o+Math.imul(I,ea)|0)+Math.imul(P,ei)|0,i=i+Math.imul(P,ea)|0,r=r+Math.imul(k,el)|0,o=(o=o+Math.imul(k,ec)|0)+Math.imul(O,el)|0,i=i+Math.imul(O,ec)|0,r=r+Math.imul(E,ed)|0,o=(o=o+Math.imul(E,ef)|0)+Math.imul(C,ed)|0,i=i+Math.imul(C,ef)|0;var eA=(c+(r=r+Math.imul(w,eh)|0)|0)+((8191&(o=(o=o+Math.imul(w,em)|0)+Math.imul(S,eh)|0))<<13)|0;c=((i=i+Math.imul(S,em)|0)+(o>>>13)|0)+(eA>>>26)|0,eA&=67108863,r=Math.imul(B,J),o=(o=Math.imul(B,ee))+Math.imul(Z,J)|0,i=Math.imul(Z,ee),r=r+Math.imul(j,en)|0,o=(o=o+Math.imul(j,er)|0)+Math.imul(D,en)|0,i=i+Math.imul(D,er)|0,r=r+Math.imul(R,ei)|0,o=(o=o+Math.imul(R,ea)|0)+Math.imul(M,ei)|0,i=i+Math.imul(M,ea)|0,r=r+Math.imul(I,el)|0,o=(o=o+Math.imul(I,ec)|0)+Math.imul(P,el)|0,i=i+Math.imul(P,ec)|0,r=r+Math.imul(k,ed)|0,o=(o=o+Math.imul(k,ef)|0)+Math.imul(O,ed)|0,i=i+Math.imul(O,ef)|0;var eI=(c+(r=r+Math.imul(E,eh)|0)|0)+((8191&(o=(o=o+Math.imul(E,em)|0)+Math.imul(C,eh)|0))<<13)|0;c=((i=i+Math.imul(C,em)|0)+(o>>>13)|0)+(eI>>>26)|0,eI&=67108863,r=Math.imul(B,en),o=(o=Math.imul(B,er))+Math.imul(Z,en)|0,i=Math.imul(Z,er),r=r+Math.imul(j,ei)|0,o=(o=o+Math.imul(j,ea)|0)+Math.imul(D,ei)|0,i=i+Math.imul(D,ea)|0,r=r+Math.imul(R,el)|0,o=(o=o+Math.imul(R,ec)|0)+Math.imul(M,el)|0,i=i+Math.imul(M,ec)|0,r=r+Math.imul(I,ed)|0,o=(o=o+Math.imul(I,ef)|0)+Math.imul(P,ed)|0,i=i+Math.imul(P,ef)|0;var eP=(c+(r=r+Math.imul(k,eh)|0)|0)+((8191&(o=(o=o+Math.imul(k,em)|0)+Math.imul(O,eh)|0))<<13)|0;c=((i=i+Math.imul(O,em)|0)+(o>>>13)|0)+(eP>>>26)|0,eP&=67108863,r=Math.imul(B,ei),o=(o=Math.imul(B,ea))+Math.imul(Z,ei)|0,i=Math.imul(Z,ea),r=r+Math.imul(j,el)|0,o=(o=o+Math.imul(j,ec)|0)+Math.imul(D,el)|0,i=i+Math.imul(D,ec)|0,r=r+Math.imul(R,ed)|0,o=(o=o+Math.imul(R,ef)|0)+Math.imul(M,ed)|0,i=i+Math.imul(M,ef)|0;var eT=(c+(r=r+Math.imul(I,eh)|0)|0)+((8191&(o=(o=o+Math.imul(I,em)|0)+Math.imul(P,eh)|0))<<13)|0;c=((i=i+Math.imul(P,em)|0)+(o>>>13)|0)+(eT>>>26)|0,eT&=67108863,r=Math.imul(B,el),o=(o=Math.imul(B,ec))+Math.imul(Z,el)|0,i=Math.imul(Z,ec),r=r+Math.imul(j,ed)|0,o=(o=o+Math.imul(j,ef)|0)+Math.imul(D,ed)|0,i=i+Math.imul(D,ef)|0;var eR=(c+(r=r+Math.imul(R,eh)|0)|0)+((8191&(o=(o=o+Math.imul(R,em)|0)+Math.imul(M,eh)|0))<<13)|0;c=((i=i+Math.imul(M,em)|0)+(o>>>13)|0)+(eR>>>26)|0,eR&=67108863,r=Math.imul(B,ed),o=(o=Math.imul(B,ef))+Math.imul(Z,ed)|0,i=Math.imul(Z,ef);var eM=(c+(r=r+Math.imul(j,eh)|0)|0)+((8191&(o=(o=o+Math.imul(j,em)|0)+Math.imul(D,eh)|0))<<13)|0;c=((i=i+Math.imul(D,em)|0)+(o>>>13)|0)+(eM>>>26)|0,eM&=67108863;var eN=(c+(r=Math.imul(B,eh))|0)+((8191&(o=(o=Math.imul(B,em))+Math.imul(Z,eh)|0))<<13)|0;return c=((i=Math.imul(Z,em))+(o>>>13)|0)+(eN>>>26)|0,eN&=67108863,l[0]=eg,l[1]=ev,l[2]=ey,l[3]=eb,l[4]=ew,l[5]=eS,l[6]=ex,l[7]=eE,l[8]=eC,l[9]=e_,l[10]=ek,l[11]=eO,l[12]=eA,l[13]=eI,l[14]=eP,l[15]=eT,l[16]=eR,l[17]=eM,l[18]=eN,0!==c&&(l[19]=c,n.length++),n};function y(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,o=0,i=0;i<n.length-1;i++){var a=o;o=0;for(var s=67108863&r,l=Math.min(i,t.length-1),c=Math.max(0,i-e.length+1);c<=l;c++){var u=i-c,d=(0|e.words[u])*(0|t.words[c]),f=67108863&d;a=a+(d/67108864|0)|0,s=67108863&(f=f+s|0),o+=(a=a+(f>>>26)|0)>>>26,a&=67108863}n.words[i]=s,r=a,a=o}return 0!==r?n.words[i]=r:n.length--,n._strip()}function b(e,t,n){return y(e,t,n)}function w(e,t){this.x=e,this.y=t}Math.imul||(v=g),i.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?v(this,e,t):n<63?g(this,e,t):n<1024?y(this,e,t):b(this,e,t)},w.prototype.makeRBT=function(e){for(var t=Array(e),n=i.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},w.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,o=0;o<t;o++)r|=(1&e)<<t-o-1,e>>=1;return r},w.prototype.permute=function(e,t,n,r,o,i){for(var a=0;a<i;a++)r[a]=t[e[a]],o[a]=n[e[a]]},w.prototype.transform=function(e,t,n,r,o,i){this.permute(i,e,t,n,r,o);for(var a=1;a<o;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),u=0;u<o;u+=s)for(var d=l,f=c,p=0;p<a;p++){var h=n[u+p],m=r[u+p],g=n[u+p+a],v=r[u+p+a],y=d*g-f*v;v=d*v+f*g,g=y,n[u+p]=h+g,r[u+p]=m+v,n[u+p+a]=h-g,r[u+p+a]=m-v,p!==s&&(y=l*d-c*f,f=l*f+c*d,d=y)}},w.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,o=0;for(n=n/2|0;n;n>>>=1)o++;return 1<<o+1+r},w.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var o=e[r];e[r]=e[n-r-1],e[n-r-1]=o,o=t[r],t[r]=-t[n-r-1],t[n-r-1]=-o}},w.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var o=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&o,n=o<67108864?0:o/67108864|0}return e},w.prototype.convert13b=function(e,t,n,o){for(var i=0,a=0;a<t;a++)i+=0|e[a],n[2*a]=8191&i,i>>>=13,n[2*a+1]=8191&i,i>>>=13;for(a=2*t;a<o;++a)n[a]=0;r(0===i),r((-8192&i)==0)},w.prototype.stub=function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=0;return t},w.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),o=this.makeRBT(r),i=this.stub(r),a=Array(r),s=Array(r),l=Array(r),c=Array(r),u=Array(r),d=Array(r),f=n.words;f.length=r,this.convert13b(e.words,e.length,a,r),this.convert13b(t.words,t.length,c,r),this.transform(a,i,s,l,r,o),this.transform(c,i,u,d,r,o);for(var p=0;p<r;p++){var h=s[p]*u[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*u[p],s[p]=h}return this.conjugate(s,l,r),this.transform(s,l,f,i,r,o),this.conjugate(f,i,r),this.normalize13b(f,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n._strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=Array(this.length+e.length),b(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"==typeof e),r(e<67108864);for(var n=0,o=0;o<this.length;o++){var i=(0|this.words[o])*e,a=(67108863&i)+(67108863&n);n>>=26,n+=(i/67108864|0)+(a>>>26),this.words[o]=67108863&a}return 0!==n&&(this.words[o]=n,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=m(e);if(0===t.length)return new i(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var o=n.sqr();r<t.length;r++,o=o.sqr())0!==t[r]&&(n=n.mul(o));return n},i.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,o=(e-n)/26,i=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&i,l=(0|this.words[t])-s<<n;this.words[t]=l|a,a=s>>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t<o;t++)this.words[t]=0;this.length+=o}return this._strip()},i.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,n){r("number"==typeof e&&e>=0),o=t?(t-t%26)/26:0;var o,i=e%26,a=Math.min((e-i)/26,this.length),s=67108863^67108863>>>i<<i,l=n;if(o-=a,o=Math.max(0,o),l){for(var c=0;c<a;c++)l.words[c]=this.words[c];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=o);c--){var d=0|this.words[c];this.words[c]=u<<26-i|d>>>i,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,o=1<<t;return!(this.length<=n)&&!!(this.words[n]&o)},i.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var o=67108863^67108863>>>t<<t;this.words[this.length-1]&=o}return this._strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return(r("number"==typeof e),r(e<67108864),e<0)?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,n){var o,i,a=e.length+n;this._expand(a);var s=0;for(o=0;o<e.length;o++){i=(0|this.words[o+n])+s;var l=(0|e.words[o])*t;i-=67108863&l,s=(i>>26)-(l/67108864|0),this.words[o+n]=67108863&i}for(;o<this.length-n;o++)s=(i=(0|this.words[o+n])+s)>>26,this.words[o+n]=67108863&i;if(0===s)return this._strip();for(r(-1===s),s=0,o=0;o<this.length;o++)s=(i=-(0|this.words[o])+s)>>26,this.words[o]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var n,r=this.length-e.length,o=this.clone(),a=e,s=0|a.words[a.length-1];0!=(r=26-this._countBits(s))&&(a=a.ushln(r),o.iushln(r),s=0|a.words[a.length-1]);var l=o.length-a.length;if("mod"!==t){(n=new i(null)).length=l+1,n.words=Array(n.length);for(var c=0;c<n.length;c++)n.words[c]=0}var u=o.clone()._ishlnsubmul(a,1,l);0===u.negative&&(o=u,n&&(n.words[l]=1));for(var d=l-1;d>=0;d--){var f=(0|o.words[a.length+d])*67108864+(0|o.words[a.length+d-1]);for(f=Math.min(f/s|0,67108863),o._ishlnsubmul(a,f,d);0!==o.negative;)f--,o.negative=0,o._ishlnsubmul(a,1,d),o.isZero()||(o.negative^=1);n&&(n.words[d]=f)}return n&&n._strip(),o._strip(),"div"!==t&&0!==r&&o.iushrn(r),{div:n||null,mod:o}},i.prototype.divmod=function(e,t,n){var o,a,s;return(r(!e.isZero()),this.isZero())?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(o=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:o,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(o=s.div.neg()),{div:o,mod:s.mod}):(this.negative&e.negative)!=0?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||0>this.cmp(e)?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t)},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),o=e.andln(1),i=n.cmp(r);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=67108864%e,o=0,i=this.length-1;i>=0;i--)o=(n*o+(0|this.words[i]))%e;return t?-o:o},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,o=this.length-1;o>=0;o--){var i=(0|this.words[o])+67108864*n;this.words[o]=i/e|0,n=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),a=new i(0),s=new i(0),l=new i(1),c=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++c;for(var u=n.clone(),d=t.clone();!t.isZero();){for(var f=0,p=1;(t.words[0]&p)==0&&f<26;++f,p<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(u),a.isub(d)),o.iushrn(1),a.iushrn(1);for(var h=0,m=1;(n.words[0]&m)==0&&h<26;++h,m<<=1);if(h>0)for(n.iushrn(h);h-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(u),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(s),a.isub(l)):(n.isub(t),s.isub(o),l.isub(a))}return{a:s,b:l,gcd:n.iushln(c)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,o=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var a=new i(1),s=new i(0),l=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var c=0,u=1;(n.words[0]&u)==0&&c<26;++c,u<<=1);if(c>0)for(n.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,f=1;(o.words[0]&f)==0&&d<26;++d,f<<=1);if(d>0)for(o.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);n.cmp(o)>=0?(n.isub(o),a.isub(s)):(o.isub(n),s.isub(a))}return 0>(t=0===n.cmpn(1)?a:s).cmpn(0)&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var o=t.cmp(n);if(o<0){var i=t;t=n,n=i}else if(0===o||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return(1&this.words[0])==0},i.prototype.isOdd=function(){return(1&this.words[0])==1},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,o=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=o,this;for(var i=o,a=n;0!==i&&a<this.length;a++){var s=0|this.words[a];s+=i,i=s>>>26,s&=67108863,this.words[a]=s}return 0!==i&&(this.words[a]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return -1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:o<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],o=0|e.words[n];if(r!==o){r<o?t=-1:r>o&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return -1===this.cmpn(e)},i.prototype.lt=function(e){return -1===this.cmp(e)},i.prototype.lten=function(e){return 0>=this.cmpn(e)},i.prototype.lte=function(e){return 0>=this.cmp(e)},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new O(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var S={k256:null,p224:null,p192:null,p25519:null};function x(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function O(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function A(e){O.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var e=new i(null);return e.words=Array(Math.ceil(this.n/13)),e},x.prototype.ireduce=function(e){var t,n=e;do this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength();while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},o(E,x),E.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),o=0;o<r;o++)t.words[o]=e.words[o];if(t.length=r,e.length<=9){e.words[0]=0,e.length=1;return}var i=e.words[9];for(o=10,t.words[t.length++]=i&n;o<e.length;o++){var a=0|e.words[o];e.words[o-10]=(a&n)<<4|i>>>22,i=a}i>>>=22,e.words[o-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},E.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},o(C,x),o(_,x),o(k,x),k.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=(0|e.words[n])*19+t,o=67108863&r;r>>>=26,e.words[n]=o,t=r}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){var t;if(S[e])return S[e];if("k256"===e)t=new E;else if("p224"===e)t=new C;else if("p192"===e)t=new _;else if("p25519"===e)t=new k;else throw Error("Unknown prime "+e);return S[e]=t,t},O.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},O.prototype._verify2=function(e,t){r((e.negative|t.negative)==0,"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},O.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},O.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},O.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},O.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},O.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return 0>n.cmpn(0)&&n.iadd(this.m),n._forceRed(this)},O.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return 0>n.cmpn(0)&&n.iadd(this.m),n},O.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},O.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},O.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},O.prototype.isqr=function(e){return this.imul(e,e.clone())},O.prototype.sqr=function(e){return this.mul(e,e)},O.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);r(!o.isZero());var s=new i(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new i(2*u*u).toRed(this);0!==this.pow(u,c).cmp(l);)u.redIAdd(l);for(var d=this.pow(u,o),f=this.pow(e,o.addn(1).iushrn(1)),p=this.pow(e,o),h=a;0!==p.cmp(s);){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<h);var v=this.pow(d,new i(1).iushln(h-g-1));f=f.redMul(v),d=v.redSqr(),p=p.redMul(d),h=g}return f},O.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},O.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=4,r=Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var o=2;o<r.length;o++)r[o]=this.mul(r[o-1],e);var a=r[0],s=0,l=0,c=t.bitLength()%26;for(0===c&&(c=26),o=t.length-1;o>=0;o--){for(var u=t.words[o],d=c-1;d>=0;d--){var f=u>>d&1;if(a!==r[0]&&(a=this.sqr(a)),0===f&&0===s){l=0;continue}s<<=1,s|=f,(++l===n||0===o&&0===d)&&(a=this.mul(a,r[s]),l=0,s=0)}c=26}return a},O.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},O.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new A(e)},o(A,O),A.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},A.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},A.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):0>o.cmpn(0)&&(i=o.iadd(this.m)),i._forceRed(this)},A.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):0>o.cmpn(0)&&(a=o.iadd(this.m)),a._forceRed(this)},A.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=n.nmd(e),this)},3500:function(e,t,n){var r;function o(e){this.rand=e}if(e.exports=function(e){return r||(r=new o(null)),r.generate(e)},e.exports.Rand=o,o.prototype.generate=function(e){return this._rand(e)},o.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n<t.length;n++)t[n]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(o.prototype._rand=function(){throw Error("Not implemented yet")});else try{var i=n(6113);if("function"!=typeof i.randomBytes)throw Error("Not supported");o.prototype._rand=function(e){return i.randomBytes(e)}}catch(e){}},1387:function(e,t,n){var r=n(6911).Buffer;function o(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=Array(t),o=0;o<t;o++)n[o]=e.readUInt32BE(4*o);return n}function i(e){for(var t=0;t<e.length;e++)e[t]=0}function a(e,t,n,r,o){for(var i,a,s,l,c=n[0],u=n[1],d=n[2],f=n[3],p=e[0]^t[0],h=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],v=4,y=1;y<o;y++)i=c[p>>>24]^u[h>>>16&255]^d[m>>>8&255]^f[255&g]^t[v++],a=c[h>>>24]^u[m>>>16&255]^d[g>>>8&255]^f[255&p]^t[v++],s=c[m>>>24]^u[g>>>16&255]^d[p>>>8&255]^f[255&h]^t[v++],l=c[g>>>24]^u[p>>>16&255]^d[h>>>8&255]^f[255&m]^t[v++],p=i,h=a,m=s,g=l;return i=(r[p>>>24]<<24|r[h>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[v++],a=(r[h>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&p])^t[v++],[i>>>=0,a>>>=0,s=((r[m>>>24]<<24|r[g>>>16&255]<<16|r[p>>>8&255]<<8|r[255&h])^t[v++])>>>0,l=((r[g>>>24]<<24|r[p>>>16&255]<<16|r[h>>>8&255]<<8|r[255&m])^t[v++])>>>0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=Array(256),t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var n=[],r=[],o=[[],[],[],[]],i=[[],[],[],[]],a=0,s=0,l=0;l<256;++l){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,n[a]=c,r[c]=a;var u=e[a],d=e[u],f=e[d],p=257*e[c]^16843008*c;o[0][a]=p<<24|p>>>8,o[1][a]=p<<16|p>>>16,o[2][a]=p<<8|p>>>24,o[3][a]=p,p=16843009*f^65537*d^257*u^16843008*a,i[0][c]=p<<24|p>>>8,i[1][c]=p<<16|p>>>16,i[2][c]=p<<8|p>>>24,i[3][c]=p,0===a?a=s=1:(a=u^e[e[e[f^u]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:o,INV_SUB_MIX:i}}();function c(e){this._key=o(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=(n+1)*4,o=[],i=0;i<t;i++)o[i]=e[i];for(i=t;i<r;i++){var a=o[i-1];i%t==0?(a=a<<8|a>>>24,a=(l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a])^s[i/t|0]<<24):t>6&&i%t==4&&(a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a]),o[i]=o[i-t]^a}for(var c=[],u=0;u<r;u++){var d=r-u,f=o[d-(u%4?0:4)];u<4||d<=4?c[u]=f:c[u]=l.INV_SUB_MIX[0][l.SBOX[f>>>24]]^l.INV_SUB_MIX[1][l.SBOX[f>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[f>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&f]]}this._nRounds=n,this._keySchedule=o,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return a(e=o(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},c.prototype.decryptBlock=function(e){var t=(e=o(e))[1];e[1]=e[3],e[3]=t;var n=a(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),i=r.allocUnsafe(16);return i.writeUInt32BE(n[0],0),i.writeUInt32BE(n[3],4),i.writeUInt32BE(n[2],8),i.writeUInt32BE(n[1],12),i},c.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},e.exports.AES=c},6624:function(e,t,n){var r=n(1387),o=n(6911).Buffer,i=n(1043),a=n(3782),s=n(7225),l=n(4734),c=n(598);function u(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),o=0;o<r;++o)n+=e[o]^t[o];return n}function d(e,t,n){if(12===t.length)return e._finID=o.concat([t,o.from([0,0,0,1])]),o.concat([t,o.from([0,0,0,2])]);var r=new s(n),i=t.length,a=i%16;r.update(t),a&&(a=16-a,r.update(o.alloc(a,0))),r.update(o.alloc(8,0));var l=8*i,u=o.alloc(8);u.writeUIntBE(l,0,8),r.update(u),e._finID=r.state;var d=o.from(e._finID);return c(d),d}function f(e,t,n,a){i.call(this);var l=o.alloc(4,0);this._cipher=new r.AES(t);var c=this._cipher.encryptBlock(l);this._ghash=new s(c),n=d(this,n,c),this._prev=o.from(n),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(f,i),f.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=o.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},f.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&u(e,this._authTag))throw Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},f.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw Error("Attempting to get auth tag in unsupported state");return this._authTag},f.prototype.setAuthTag=function(e){if(!this._decrypt)throw Error("Attempting to set auth tag in unsupported state");this._authTag=e},f.prototype.setAAD=function(e){if(this._called)throw Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=f},6594:function(e,t,n){var r=n(2),o=n(2598),i=n(5866);function a(){return Object.keys(i)}t.createCipher=t.Cipher=r.createCipher,t.createCipheriv=t.Cipheriv=r.createCipheriv,t.createDecipher=t.Decipher=o.createDecipher,t.createDecipheriv=t.Decipheriv=o.createDecipheriv,t.listCiphers=t.getCiphers=a},2598:function(e,t,n){var r=n(6624),o=n(6911).Buffer,i=n(6370),a=n(126),s=n(1043),l=n(1387),c=n(8368);function u(e,t,n){s.call(this),this._cache=new d,this._last=void 0,this._cipher=new l.AES(t),this._prev=o.from(n),this._mode=e,this._autopadding=!0}function d(){this.cache=o.allocUnsafe(0)}function f(e){var t=e[15];if(t<1||t>16)throw Error("unable to decrypt data");for(var n=-1;++n<t;)if(e[n+(16-t)]!==t)throw Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}function p(e,t,n){var s=i[e.toLowerCase()];if(!s)throw TypeError("invalid suite type");if("string"==typeof n&&(n=o.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=o.from(t)),t.length!==s.key/8)throw TypeError("invalid key length "+t.length);return"stream"===s.type?new a(s.module,t,n,!0):"auth"===s.type?new r(s.module,t,n,!0):new u(s.module,t,n)}function h(e,t){var n=i[e.toLowerCase()];if(!n)throw TypeError("invalid suite type");var r=c(t,!1,n.key,n.iv);return p(e,r.key,r.iv)}n(3782)(u,s),u.prototype._update=function(e){this._cache.add(e);for(var t,n,r=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),r.push(n);return o.concat(r)},u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return f(this._mode.decrypt(this,e));if(e)throw Error("data not multiple of block length")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=o.concat([this.cache,e])},d.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=h,t.createDecipheriv=p},2:function(e,t,n){var r=n(6370),o=n(6624),i=n(6911).Buffer,a=n(126),s=n(1043),l=n(1387),c=n(8368);function u(e,t,n){s.call(this),this._cache=new f,this._cipher=new l.AES(t),this._prev=i.from(n),this._mode=e,this._autopadding=!0}n(3782)(u,s),u.prototype._update=function(e){this._cache.add(e);for(var t,n,r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return i.concat(r)};var d=i.alloc(16,16);function f(){this.cache=i.allocUnsafe(0)}function p(e,t,n){var s=r[e.toLowerCase()];if(!s)throw TypeError("invalid suite type");if("string"==typeof t&&(t=i.from(t)),t.length!==s.key/8)throw TypeError("invalid key length "+t.length);if("string"==typeof n&&(n=i.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw TypeError("invalid iv length "+n.length);return"stream"===s.type?new a(s.module,t,n):"auth"===s.type?new o(s.module,t,n):new u(s.module,t,n)}function h(e,t){var n=r[e.toLowerCase()];if(!n)throw TypeError("invalid suite type");var o=c(t,!1,n.key,n.iv);return p(e,o.key,o.iv)}u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(d))throw this._cipher.scrub(),Error("data not multiple of block length")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},f.prototype.add=function(e){this.cache=i.concat([this.cache,e])},f.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},f.prototype.flush=function(){for(var e=16-this.cache.length,t=i.allocUnsafe(e),n=-1;++n<e;)t.writeUInt8(e,n);return i.concat([this.cache,t])},t.createCipheriv=p,t.createCipher=h},7225:function(e,t,n){var r=n(6911).Buffer,o=r.alloc(16,0);function i(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function a(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},s.prototype._multiply=function(){for(var e,t,n=i(this.h),r=[0,0,0,0],o=-1;++o<128;){for((this.state[~~(o/8)]&1<<7-o%8)!=0&&(r[0]^=n[0],r[1]^=n[1],r[2]^=n[2],r[3]^=n[3]),t=(1&n[3])!=0,e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,t&&(n[0]=-520093696^n[0])}this.state=a(r)},s.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,o],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=s},598:function(e){function t(e){for(var t,n=e.length;n--;)if(255===(t=e.readUInt8(n)))e.writeUInt8(0,n);else{t++,e.writeUInt8(t,n);break}}e.exports=t},9825:function(e,t,n){var r=n(4734);t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;return e._prev=t,r(e._cipher.decryptBlock(t),n)}},321:function(e,t,n){var r=n(6911).Buffer,o=n(4734);function i(e,t,n){var i=t.length,a=o(t,e._cache);return e._cache=e._cache.slice(i),e._prev=r.concat([e._prev,n?t:a]),a}t.encrypt=function(e,t,n){for(var o,a=r.allocUnsafe(0);t.length;)if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),e._cache.length<=t.length)o=e._cache.length,a=r.concat([a,i(e,t.slice(0,o),n)]),t=t.slice(o);else{a=r.concat([a,i(e,t,n)]);break}return a}},3147:function(e,t,n){var r=n(6911).Buffer;function o(e,t,n){for(var r,o,a,s=-1,l=8,c=0;++s<l;)r=e._cipher.encryptBlock(e._prev),o=t&1<<7-s?128:0,c+=(128&(a=r[0]^o))>>s%8,e._prev=i(e._prev,n?o:a);return c}function i(e,t){var n=e.length,o=-1,i=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++o<n;)i[o]=e[o]<<1|e[o+1]>>7;return i}t.encrypt=function(e,t,n){for(var i=t.length,a=r.allocUnsafe(i),s=-1;++s<i;)a[s]=o(e,t[s],n);return a}},2430:function(e,t,n){var r=n(6911).Buffer;function o(e,t,n){var o=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([n?t:o])]),o}t.encrypt=function(e,t,n){for(var i=t.length,a=r.allocUnsafe(i),s=-1;++s<i;)a[s]=o(e,t[s],n);return a}},3361:function(e,t,n){var r=n(4734),o=n(6911).Buffer,i=n(598);function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return i(e._prev),t}var s=16;t.encrypt=function(e,t){var n=Math.ceil(t.length/s),i=e._cache.length;e._cache=o.concat([e._cache,o.allocUnsafe(n*s)]);for(var l=0;l<n;l++){var c=a(e),u=i+l*s;e._cache.writeUInt32BE(c[0],u+0),e._cache.writeUInt32BE(c[1],u+4),e._cache.writeUInt32BE(c[2],u+8),e._cache.writeUInt32BE(c[3],u+12)}var d=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,d)}},1590:function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},6370:function(e,t,n){var r={ECB:n(1590),CBC:n(9825),CFB:n(321),CFB8:n(2430),CFB1:n(3147),OFB:n(3412),CTR:n(3361),GCM:n(3361)},o=n(5866);for(var i in o)o[i].module=r[o[i].mode];e.exports=o},3412:function(e,t,n){var r=n(4734);function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=o.concat([e._cache,i(e)]);var n=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,n)}},126:function(e,t,n){var r=n(1387),o=n(6911).Buffer,i=n(1043);function a(e,t,n,a){i.call(this),this._cipher=new r.AES(t),this._prev=o.from(n),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=a,this._mode=e}n(3782)(a,i),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},8996:function(e,t,n){var r=n(5238),o=n(6594),i=n(6370),a=n(6280),s=n(8368);function l(e,t){if(i[e=e.toLowerCase()])n=i[e].key,r=i[e].iv;else if(a[e])n=8*a[e].key,r=a[e].iv;else throw TypeError("invalid suite type");var n,r,o=s(t,!1,n,r);return u(e,o.key,o.iv)}function c(e,t){if(i[e=e.toLowerCase()])n=i[e].key,r=i[e].iv;else if(a[e])n=8*a[e].key,r=a[e].iv;else throw TypeError("invalid suite type");var n,r,o=s(t,!1,n,r);return d(e,o.key,o.iv)}function u(e,t,n){if(i[e=e.toLowerCase()])return o.createCipheriv(e,t,n);if(a[e])return new r({key:t,iv:n,mode:e});throw TypeError("invalid suite type")}function d(e,t,n){if(i[e=e.toLowerCase()])return o.createDecipheriv(e,t,n);if(a[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw TypeError("invalid suite type")}function f(){return Object.keys(a).concat(o.getCiphers())}t.createCipher=t.Cipher=l,t.createCipheriv=t.Cipheriv=u,t.createDecipher=t.Decipher=c,t.createDecipheriv=t.Decipheriv=d,t.listCiphers=t.getCiphers=f},5238:function(e,t,n){var r=n(1043),o=n(9536),i=n(3782),a=n(6911).Buffer,s={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function l(e){r.call(this);var t,n=e.mode.toLowerCase(),o=s[n];t=e.decrypt?"decrypt":"encrypt";var i=e.key;a.isBuffer(i)||(i=a.from(i)),("des-ede"===n||"des-ede-cbc"===n)&&(i=a.concat([i,i.slice(0,8)]));var l=e.iv;a.isBuffer(l)||(l=a.from(l)),this._des=o.create({key:i,iv:l,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=l,i(l,r),l.prototype._update=function(e){return a.from(this._des.update(e))},l.prototype._final=function(){return a.from(this._des.final())}},6280:function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},7166:function(e,t,n){var r=n(711),i=n(7223);function a(e){var t=l(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}function s(e,t){var n=a(t),i=t.modulus.byteLength();r.mont(t.modulus);var s=new r(e).mul(n.blinder).umod(t.modulus),l=s.toRed(r.mont(t.prime1)),c=s.toRed(r.mont(t.prime2)),u=t.coefficient,d=t.prime1,f=t.prime2,p=l.redPow(t.exponent1),h=c.redPow(t.exponent2);p=p.fromRed(),h=h.fromRed();var m=p.isub(h).imul(u).umod(d);return m.imul(f),h.iadd(m),new o(h.imul(n.unblinder).umod(t.modulus).toArray(!1,i))}function l(e){for(var t=e.modulus.byteLength(),n=new r(i(t));n.cmp(e.modulus)>=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new r(i(t));return n}e.exports=s,s.getr=l},9276:function(e,t,n){e.exports=n(2908)},4078:function(e,t,n){var r=n(6911).Buffer,o=n(9739),i=n(3726),a=n(3782),s=n(9807),l=n(4013),c=n(2908);function u(e){i.Writable.call(this);var t=c[e];if(!t)throw Error("Unknown message digest");this._hashType=t.hash,this._hash=o(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){i.Writable.call(this);var t=c[e];if(!t)throw Error("Unknown message digest");this._hash=o(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){return new u(e)}function p(e){return new d(e)}Object.keys(c).forEach(function(e){c[e].id=r.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]}),a(u,i.Writable),u.prototype._write=function(e,t,n){this._hash.update(e),n()},u.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},u.prototype.sign=function(e,t){this.end();var n=s(this._hash.digest(),e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},a(d,i.Writable),d.prototype._write=function(e,t,n){this._hash.update(e),n()},d.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},d.prototype.verify=function(e,t,n){return"string"==typeof t&&(t=r.from(t,n)),this.end(),l(t,this._hash.digest(),e,this._signType,this._tag)},e.exports={Sign:f,Verify:p,createSign:f,createVerify:p}},9807:function(e,t,n){var r=n(6911).Buffer,o=n(4873),i=n(7166),a=n(949).ec,s=n(1670),l=n(9902),c=n(9267);function u(e,t,n,o,a){var s=l(t);if(s.curve){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw Error("wrong private key type");return d(e,s)}if("dsa"===s.type){if("dsa"!==o)throw Error("wrong private key type");return f(e,s,n)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw Error("wrong private key type");e=r.concat([a,e]);for(var c=s.modulus.byteLength(),u=[0,1];e.length+u.length+1<c;)u.push(255);u.push(0);for(var p=-1;++p<e.length;)u.push(e[p]);return i(u,s)}function d(e,t){var n=c[t.curve.join(".")];if(!n)throw Error("unknown curve "+t.curve.join("."));var o=new a(n).keyFromPrivate(t.privateKey).sign(e);return r.from(o.toDER())}function f(e,t,n){for(var r,o=t.params.priv_key,i=t.params.p,a=t.params.q,l=t.params.g,c=new s(0),u=m(e,a).mod(a),d=!1,f=h(o,a,e,n);!1===d;)c=y(l,r=v(a,f,n),i,a),0===(d=r.invm(a).imul(u.add(o.mul(c))).mod(a)).cmpn(0)&&(d=!1,c=new s(0));return p(c,d)}function p(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var n=[48,e.length+t.length+4,2,e.length];return n=n.concat(e,[2,t.length],t),r.from(n)}function h(e,t,n,i){if((e=r.from(e.toArray())).length<t.byteLength()){var a=r.alloc(t.byteLength()-e.length);e=r.concat([a,e])}var s=n.length,l=g(n,t),c=r.alloc(s);c.fill(1);var u=r.alloc(s);return u=o(i,u).update(c).update(r.from([0])).update(e).update(l).digest(),c=o(i,u).update(c).digest(),u=o(i,u).update(c).update(r.from([1])).update(e).update(l).digest(),c=o(i,u).update(c).digest(),{k:u,v:c}}function m(e,t){var n=new s(e),r=(e.length<<3)-t.bitLength();return r>0&&n.ishrn(r),n}function g(e,t){e=(e=m(e,t)).mod(t);var n=r.from(e.toArray());if(n.length<t.byteLength()){var o=r.alloc(t.byteLength()-n.length);n=r.concat([o,n])}return n}function v(e,t,n){var i,a;do{for(i=r.alloc(0);8*i.length<e.bitLength();)t.v=o(n,t.k).update(t.v).digest(),i=r.concat([i,t.v]);a=m(i,e),t.k=o(n,t.k).update(t.v).update(r.from([0])).digest(),t.v=o(n,t.k).update(t.v).digest()}while(-1!==a.cmp(e));return a}function y(e,t,n,r){return e.toRed(s.mont(n)).redPow(t).fromRed().mod(r)}e.exports=u,e.exports.getKey=h,e.exports.makeKey=v},4013:function(e,t,n){var r=n(6911).Buffer,o=n(1670),i=n(949).ec,a=n(9902),s=n(9267);function l(e,t,n,i,s){var l=a(n);if("ec"===l.type){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw Error("wrong public key type");return c(e,t,l)}if("dsa"===l.type){if("dsa"!==i)throw Error("wrong public key type");return u(e,t,l)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw Error("wrong public key type");t=r.concat([s,t]);for(var d=l.modulus.byteLength(),f=[1],p=0;t.length+f.length+2<d;)f.push(255),p++;f.push(0);for(var h=-1;++h<t.length;)f.push(t[h]);f=r.from(f);var m=o.mont(l.modulus);e=(e=new o(e).toRed(m)).redPow(new o(l.publicExponent));var g=p<8?1:0;for(d=Math.min((e=r.from(e.fromRed().toArray())).length,f.length),e.length!==f.length&&(g=1),h=-1;++h<d;)g|=e[h]^f[h];return 0===g}function c(e,t,n){var r=s[n.data.algorithm.curve.join(".")];if(!r)throw Error("unknown curve "+n.data.algorithm.curve.join("."));var o=new i(r),a=n.data.subjectPrivateKey.data;return o.verify(t,e,a)}function u(e,t,n){var r=n.data.p,i=n.data.q,s=n.data.g,l=n.data.pub_key,c=a.signature.decode(e,"der"),u=c.s,f=c.r;d(u,i),d(f,i);var p=o.mont(r),h=u.invm(i);return 0===s.toRed(p).redPow(new o(t).mul(h).mod(i)).fromRed().mul(l.toRed(p).redPow(f.mul(h).mod(i)).fromRed()).mod(r).mod(i).cmp(f)}function d(e,t){if(0>=e.cmpn(0)||e.cmp(t)>=t)throw Error("invalid sig")}e.exports=l},4734:function(e){e.exports=function(e,t){for(var n=Math.min(e.length,t.length),r=new o(n),i=0;i<n;++i)r[i]=e[i]^t[i];return r}},1043:function(e,t,n){var r=n(6911).Buffer,o=n(2781).Transform,i=n(1576).StringDecoder;function a(e){o.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(3782)(a,o),a.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var o=this._update(e);return this.hashMode?this:(n&&(o=this._toString(o,n)),o)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){r=e}finally{n(r)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=a},9942:function(e,t,n){var r=n(949),i=n(711);e.exports=function(e){return new s(e)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function l(e,t,n){Array.isArray(e)||(e=e.toArray());var r=new o(e);if(n&&r.length<n){var i=new o(n-r.length);i.fill(0),r=o.concat([i,r])}return t?r.toString(t):r}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,s.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},s.prototype.computeSecret=function(e,t,n){return t=t||"utf8",o.isBuffer(e)||(e=new o(e,t)),l(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},s.prototype.getPublicKey=function(e,t){var n=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(n[n.length-1]%2?n[0]=7:n[0]=6),l(n,e)},s.prototype.getPrivateKey=function(e){return l(this.keys.getPrivate(),e)},s.prototype.setPublicKey=function(e,t){return t=t||"utf8",o.isBuffer(e)||(e=new o(e,t)),this.keys._importPublic(e),this},s.prototype.setPrivateKey=function(e,t){t=t||"utf8",o.isBuffer(e)||(e=new o(e,t));var n=new i(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}},9739:function(e,t,n){"use strict";var r=n(3782),o=n(3533),i=n(3225),a=n(4371),s=n(1043);function l(e){s.call(this,"digest"),this._hash=e}r(l,s),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new o:"rmd160"===e||"ripemd160"===e?new i:new l(a(e))}},450:function(e,t,n){var r=n(3533);e.exports=function(e){return(new r).update(e).digest()}},4873:function(e,t,n){"use strict";var r=n(3782),o=n(8119),i=n(1043),a=n(6911).Buffer,s=n(450),l=n(3225),c=n(4371),u=a.alloc(128);function d(e,t){i.call(this,"digest"),"string"==typeof t&&(t=a.from(t));var n="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>n?t=("rmd160"===e?new l:c(e)).update(t).digest():t.length<n&&(t=a.concat([t,u],n));for(var r=this._ipad=a.allocUnsafe(n),o=this._opad=a.allocUnsafe(n),s=0;s<n;s++)r[s]=54^t[s],o[s]=92^t[s];this._hash="rmd160"===e?new l:c(e),this._hash.update(r)}r(d,i),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new l:c(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new d("rmd160",t):"md5"===e?new o(s,t):new d(e,t)}},8119:function(e,t,n){"use strict";var r=n(3782),o=n(6911).Buffer,i=n(1043),a=o.alloc(128),s=64;function l(e,t){i.call(this,"digest"),"string"==typeof t&&(t=o.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length<s&&(t=o.concat([t,a],s));for(var n=this._ipad=o.allocUnsafe(s),r=this._opad=o.allocUnsafe(s),l=0;l<s;l++)n[l]=54^t[l],r[l]=92^t[l];this._hash=[n]}r(l,i),l.prototype._update=function(e){this._hash.push(e)},l.prototype._final=function(){var e=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,e]))},e.exports=l},9536:function(e,t,n){"use strict";t.utils=n(5334),t.Cipher=n(9876),t.DES=n(1016),t.CBC=n(8641),t.EDE=n(6159)},8641:function(e,t,n){"use strict";var r=n(3523),o=n(3782),i={};function a(e){r.equal(e.length,8,"Invalid IV length"),this.iv=Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}function s(e){function t(t){e.call(this,t),this._cbcInit()}o(t,e);for(var n=Object.keys(i),r=0;r<n.length;r++){var a=n[r];t.prototype[a]=i[a]}return t.create=function(e){return new t(e)},t}t.instantiate=s,i._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},i._update=function(e,t,n,r){var o=this._cbcState,i=this.constructor.super_.prototype,a=o.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=e[t+s];i._update.call(this,a,0,n,r);for(var s=0;s<this.blockSize;s++)a[s]=n[r+s]}else{i._update.call(this,e,t,n,r);for(var s=0;s<this.blockSize;s++)n[r+s]^=a[s];for(var s=0;s<this.blockSize;s++)a[s]=e[t+s]}}},9876:function(e,t,n){"use strict";var r=n(3523);function o(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=Array(this.blockSize),this.bufferOff=0}e.exports=o,o.prototype._init=function(){},o.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},o.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<n;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=n,n},o.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(e){var t=0,n=0,r=Array(((this.bufferOff+e.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(r,n)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,r,n),n+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return r},o.prototype._updateDecrypt=function(e){for(var t=0,n=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,o=Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(o,n);return t+=this._buffer(e,t),o},o.prototype.final=function(e){var t,n;return(e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t)?t.concat(n):n},o.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},o.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=Array(this.blockSize);return this._update(this.buffer,0,e,0),e},o.prototype._unpad=function(e){return e},o.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},1016:function(e,t,n){"use strict";var r=n(3523),o=n(3782),i=n(5334),a=n(9876);function s(){this.tmp=[,,],this.keys=null}function l(e){a.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}o(l,a),e.exports=l,l.create=function(e){return new l(e)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(e,t){e.keys=Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var n=i.readUInt32BE(t,0),o=i.readUInt32BE(t,4);i.pc1(n,o,e.tmp,0),n=e.tmp[0],o=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var s=c[a>>>1];n=i.r28shl(n,s),o=i.r28shl(o,s),i.pc2(n,o,e.keys,a)}},l.prototype._update=function(e,t,n,r){var o=this._desState,a=i.readUInt32BE(e,t),s=i.readUInt32BE(e,t+4);i.ip(a,s,o.tmp,0),a=o.tmp[0],s=o.tmp[1],"encrypt"===this.type?this._encrypt(o,a,s,o.tmp,0):this._decrypt(o,a,s,o.tmp,0),a=o.tmp[0],s=o.tmp[1],i.writeUInt32BE(n,a,r),i.writeUInt32BE(n,s,r+4)},l.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r<e.length;r++)e[r]=n;return!0},l.prototype._unpad=function(e){for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,n,r,o){for(var a=t,s=n,l=0;l<e.keys.length;l+=2){var c=e.keys[l],u=e.keys[l+1];i.expand(s,e.tmp,0),c^=e.tmp[0],u^=e.tmp[1];var d=i.substitute(c,u),f=i.permute(d),p=s;s=(a^f)>>>0,a=p}i.rip(s,a,r,o)},l.prototype._decrypt=function(e,t,n,r,o){for(var a=n,s=t,l=e.keys.length-2;l>=0;l-=2){var c=e.keys[l],u=e.keys[l+1];i.expand(a,e.tmp,0),c^=e.tmp[0],u^=e.tmp[1];var d=i.substitute(c,u),f=i.permute(d),p=a;a=(s^f)>>>0,s=p}i.rip(a,s,r,o)}},6159:function(e,t,n){"use strict";var r=n(3523),o=n(3782),i=n(9876),a=n(1016);function s(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),o=t.slice(8,16),i=t.slice(16,24);"encrypt"===e?this.ciphers=[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i})]:this.ciphers=[a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o}),a.create({type:"decrypt",key:n})]}function l(e){i.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}o(l,i),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,n,r){var o=this._edeState;o.ciphers[0]._update(e,t,n,r),o.ciphers[1]._update(n,r,n,r),o.ciphers[2]._update(n,r,n,r)},l.prototype._pad=a.prototype._pad,l.prototype._unpad=a.prototype._unpad},5334:function(e,t){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var o=0,i=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)o<<=1,o|=t>>>s+a&1;for(var s=0;s<=24;s+=8)o<<=1,o|=e>>>s+a&1}for(var a=6;a>=0;a-=2){for(var s=1;s<=25;s+=8)i<<=1,i|=t>>>s+a&1;for(var s=1;s<=25;s+=8)i<<=1,i|=e>>>s+a&1}n[r+0]=o>>>0,n[r+1]=i>>>0},t.rip=function(e,t,n,r){for(var o=0,i=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;for(var a=4;a<8;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;n[r+0]=o>>>0,n[r+1]=i>>>0},t.pc1=function(e,t,n,r){for(var o=0,i=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(var s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(var s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(var a=1;a<=3;a++){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1}for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;n[r+0]=o>>>0,n[r+1]=i>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,o){for(var i=0,a=0,s=n.length>>>1,l=0;l<s;l++)i<<=1,i|=e>>>n[l]&1;for(var l=s;l<n.length;l++)a<<=1,a|=t>>>n[l]&1;r[o+0]=i>>>0,r[o+1]=a>>>0},t.expand=function(e,t,n){var r=0,o=0;r=(1&e)<<5|e>>>27;for(var i=23;i>=15;i-=4)r<<=6,r|=e>>>i&63;for(var i=11;i>=3;i-=4)o|=e>>>i&63,o<<=6;o|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=o>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var n=0,o=0;o<4;o++){var i=e>>>18-6*o&63,a=r[64*o+i];n<<=4,n|=a}for(var o=0;o<4;o++){var i=t>>>18-6*o&63,a=r[256+64*o+i];n<<=4,n|=a}return n>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,n=0;n<o.length;n++)t<<=1,t|=e>>>o[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var r=e.toString(2);r.length<t;)r="0"+r;for(var o=[],i=0;i<t;i+=n)o.push(r.slice(i,i+n));return o.join(" ")}},6587:function(e,t,n){var r=n(296),i=n(7992),a=n(373);function s(e){return new a(new o(i[e].prime,"hex"),new o(i[e].gen,"hex"))}var l={binary:!0,hex:!0,base64:!0};function c(e,t,n,i){return o.isBuffer(t)||void 0===l[t]?c(e,"binary",t,n):(t=t||"binary",i=i||"binary",n=n||new o([2]),o.isBuffer(n)||(n=new o(n,i)),"number"==typeof e)?new a(r(e,n),n,!0):(o.isBuffer(e)||(e=new o(e,t)),new a(e,n,!0))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=s,t.createDiffieHellman=t.DiffieHellman=c},373:function(e,t,n){var r=n(711),i=new(n(1354)),a=new r(24),s=new r(11),l=new r(10),c=new r(3),u=new r(7),d=n(296),f=n(7223);function p(e,t){return t=t||"utf8",o.isBuffer(e)||(e=new o(e,t)),this._pub=new r(e),this}function h(e,t){return t=t||"utf8",o.isBuffer(e)||(e=new o(e,t)),this._priv=new r(e),this}e.exports=v;var m={};function g(e,t){var n,r=t.toString("hex"),o=[r,e.toString(16)].join("_");if(o in m)return m[o];var f=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!i.test(e))return f+=1,"02"===r||"05"===r?f+=8:f+=4,m[o]=f,f;switch(i.test(e.shrn(1))||(f+=2),r){case"02":e.mod(a).cmp(s)&&(f+=8);break;case"05":(n=e.mod(l)).cmp(c)&&n.cmp(u)&&(f+=8);break;default:f+=4}return m[o]=f,f}function v(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=p,this.setPrivateKey=h):this._primeCode=8}function y(e,t){var n=new o(e.toArray());return t?n.toString(t):n}Object.defineProperty(v.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=g(this.__prime,this.__gen)),this._primeCode}}),v.prototype.generateKeys=function(){return this._priv||(this._priv=new r(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},v.prototype.computeSecret=function(e){var t=new o((e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed().toArray()),n=this.getPrime();if(t.length<n.length){var i=new o(n.length-t.length);i.fill(0),t=o.concat([i,t])}return t},v.prototype.getPublicKey=function(e){return y(this._pub,e)},v.prototype.getPrivateKey=function(e){return y(this._priv,e)},v.prototype.getPrime=function(e){return y(this.__prime,e)},v.prototype.getGenerator=function(e){return y(this._gen,e)},v.prototype.setGenerator=function(e,t){return t=t||"utf8",o.isBuffer(e)||(e=new o(e,t)),this.__gen=e,this._gen=new r(e),this}},296:function(e,t,n){var r=n(7223);e.exports=y,y.simpleSieve=g,y.fermatTest=v;var o=n(711),i=new o(24),a=new(n(1354)),s=new o(1),l=new o(2),c=new o(5);new o(16),new o(8);var u=new o(10),d=new o(3);new o(7);var f=new o(11),p=new o(4);new o(12);var h=null;function m(){if(null!==h)return h;var e=1048576,t=[];t[0]=2;for(var n=1,r=3;r<e;r+=2){for(var o=Math.ceil(Math.sqrt(r)),i=0;i<n&&t[i]<=o&&r%t[i]!=0;i++);n!==i&&t[i]<=o||(t[n++]=r)}return h=t,t}function g(e){for(var t=m(),n=0;n<t.length;n++)if(0===e.modn(t[n])){if(0!==e.cmpn(t[n]))return!1;break}return!0}function v(e){var t=o.mont(e);return 0===l.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function y(e,t){var n,h;if(e<16)return new o(2===t||5===t?[140,123]:[140,39]);for(t=new o(t);;){for(n=new o(r(Math.ceil(e/8)));n.bitLength()>e;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(l),t.cmp(l)){if(!t.cmp(c))for(;n.mod(u).cmp(d);)n.iadd(p)}else for(;n.mod(i).cmp(f);)n.iadd(p);if(g(h=n.shrn(1))&&g(n)&&v(h)&&v(n)&&a.test(h)&&a.test(n))return n}}},949:function(e,t,n){"use strict";var r=t;r.version=n(2531).i8,r.utils=n(4401),r.rand=n(3500),r.curve=n(9359),r.curves=n(6226),r.ec=n(4088),r.eddsa=n(8511)},2727:function(e,t,n){"use strict";var r=n(711),o=n(4401),i=o.getNAF,a=o.getJSF,s=o.assert;function l(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw Error("Not implemented")},l.prototype.validate=function(){throw Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){s(e.precomputed);var n=e._getDoubles(),r=i(t,1,this._bitLength),o=(1<<n.step+1)-(n.step%2==0?2:1);o/=3;for(var a=[],l=0;l<r.length;l+=n.step){for(var c=0,t=l+n.step-1;t>=l;t--)c=(c<<1)+r[t];a.push(c)}for(var u=this.jpoint(null,null,null),d=this.jpoint(null,null,null),f=o;f>0;f--){for(var l=0;l<a.length;l++){var c=a[l];c===f?d=d.mixedAdd(n.points[l]):c===-f&&(d=d.mixedAdd(n.points[l].neg()))}u=u.add(d)}return u.toP()},l.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var o=r.points,a=i(t,n,this._bitLength),l=this.jpoint(null,null,null),c=a.length-1;c>=0;c--){for(var t=0;c>=0&&0===a[c];c--)t++;if(c>=0&&t++,l=l.dblp(t),c<0)break;var u=a[c];s(0!==u),l="affine"===e.type?u>0?l.mixedAdd(o[u-1>>1]):l.mixedAdd(o[-u-1>>1].neg()):u>0?l.add(o[u-1>>1]):l.add(o[-u-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,n,r,o){for(var s=this._wnafT1,l=this._wnafT2,c=this._wnafT3,u=0,d=0;d<r;d++){var f=t[d],p=f._getNAFPoints(e);s[d]=p.wnd,l[d]=p.points}for(var d=r-1;d>=1;d-=2){var h=d-1,m=d;if(1!==s[h]||1!==s[m]){c[h]=i(n[h],s[h],this._bitLength),c[m]=i(n[m],s[m],this._bitLength),u=Math.max(c[h].length,u),u=Math.max(c[m].length,u);continue}var g=[t[h],null,null,t[m]];0===t[h].y.cmp(t[m].y)?(g[1]=t[h].add(t[m]),g[2]=t[h].toJ().mixedAdd(t[m].neg())):0===t[h].y.cmp(t[m].y.redNeg())?(g[1]=t[h].toJ().mixedAdd(t[m]),g[2]=t[h].add(t[m].neg())):(g[1]=t[h].toJ().mixedAdd(t[m]),g[2]=t[h].toJ().mixedAdd(t[m].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],y=a(n[h],n[m]);u=Math.max(y[0].length,u),c[h]=Array(u),c[m]=Array(u);for(var b=0;b<u;b++){var w=0|y[0][b],S=0|y[1][b];c[h][b]=v[(w+1)*3+(S+1)],c[m][b]=0,l[h]=g}}for(var x=this.jpoint(null,null,null),E=this._wnafT4,d=u;d>=0;d--){for(var C=0;d>=0;){for(var _=!0,b=0;b<r;b++)E[b]=0|c[b][d],0!==E[b]&&(_=!1);if(!_)break;C++,d--}if(d>=0&&C++,x=x.dblp(C),d<0)break;for(var b=0;b<r;b++){var f,k=E[b];0!==k&&(k>0?f=l[b][k-1>>1]:k<0&&(f=l[b][-k-1>>1].neg()),x="affine"===f.type?x.mixedAdd(f):x.add(f))}}for(var d=0;d<r;d++)l[d]=null;return o?x:x.toP()},l.BasePoint=c,c.prototype.eq=function(){throw Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(e,t){e=o.toArray(e,t);var n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*n)return 6===e[0]?s(e[e.length-1]%2==0):7===e[0]&&s(e[e.length-1]%2==1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),3===e[0]);throw Error("Unknown point format")},c.prototype.encodeCompressed=function(e){return this.encode(e,!0)},c.prototype._encode=function(e){var t=this.curve.p.byteLength(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",t))},c.prototype.encode=function(e,t){return o.encode(this._encode(t),e)},c.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},c.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,o=0;o<t;o+=e){for(var i=0;i<e;i++)r=r.dbl();n.push(r)}return{step:e,points:n}},c.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),o=1;o<n;o++)t[o]=t[o-1].add(r);return{wnd:e,points:t}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}},2705:function(e,t,n){"use strict";var r=n(4401),o=n(711),i=n(3782),a=n(2727),s=r.assert;function l(e){this.twisted=(0|e.a)!=1,this.mOneA=this.twisted&&(0|e.a)==-1,this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new o(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=(0|e.c)==1}function c(e,t,n,r,i){a.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(t,16),this.y=new o(n,16),this.z=r?new o(r,16):this.curve.one,this.t=i&&new o(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,!this.curve.extended||this.t||(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(l,a),e.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},l.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),i=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(i.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw Error("invalid point");var l=s.fromRed().isOdd();return(t&&!l||!t&&l)&&(s=s.redNeg()),this.point(e,s)},l.prototype.pointFromY=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),i=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(i.redInvm());if(0===a.cmp(this.zero)){if(!t)return this.point(this.zero,e);throw Error("invalid point")}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),o=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(o)},i(c,a.BasePoint),l.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},l.prototype.point=function(e,t,n,r){return new c(this,e,t,n,r)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),o=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),i=r.redAdd(t),a=i.redSub(n),s=r.redSub(t),l=o.redMul(a),c=i.redMul(s),u=o.redMul(s),d=a.redMul(i);return this.curve.point(l,c,d,u)},c.prototype._projDbl=function(){var e,t,n,r=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),i=this.y.redSqr();if(this.curve.twisted){var a=this.curve._mulA(o),s=a.redAdd(i);if(this.zOne)e=r.redSub(o).redSub(i).redMul(s.redSub(this.curve.two)),t=s.redMul(a.redSub(i)),n=s.redSqr().redSub(s).redSub(s);else{var l=this.z.redSqr(),c=s.redSub(l).redISub(l);e=r.redSub(o).redISub(i).redMul(c),t=s.redMul(a.redSub(i)),n=s.redMul(c)}}else{var a=o.redAdd(i),l=this.curve._mulC(this.z).redSqr(),c=a.redSub(l).redSub(l);e=this.curve._mulC(r.redISub(a)).redMul(c),t=this.curve._mulC(a).redMul(o.redISub(i)),n=a.redMul(c)}return this.curve.point(e,t,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),o=this.z.redMul(e.z.redAdd(e.z)),i=n.redSub(t),a=o.redSub(r),s=o.redAdd(r),l=n.redAdd(t),c=i.redMul(a),u=s.redMul(l),d=i.redMul(l),f=a.redMul(s);return this.curve.point(c,u,f,d)},c.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),o=r.redSqr(),i=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(i).redMul(a),l=o.redSub(s),c=o.redAdd(s),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(i).redISub(a),d=r.redMul(l).redMul(u);return this.curve.twisted?(t=r.redMul(c).redMul(a.redSub(this.curve._mulA(i))),n=l.redMul(c)):(t=r.redMul(c).redMul(a.redSub(i)),n=this.curve._mulC(l).redMul(c)),this.curve.point(d,t,n)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},c.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},9359:function(e,t,n){"use strict";var r=t;r.base=n(2727),r.short=n(4720),r.mont=n(6653),r.edwards=n(2705)},6653:function(e,t,n){"use strict";var r=n(711),o=n(3782),i=n(2727),a=n(4401);function s(e){i.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,n){i.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(s,i),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},o(l,i.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new l(this,e,t)},s.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),o=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,o)},l.prototype.add=function(){throw Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),o=e.x.redAdd(e.z),i=e.x.redSub(e.z).redMul(n),a=o.redMul(r),s=t.z.redMul(i.redAdd(a).redSqr()),l=t.x.redMul(i.redISub(a).redSqr());return this.curve.point(s,l)},l.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),o=this,i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var a=i.length-1;a>=0;a--)0===i[a]?(n=n.diffAdd(r,o),r=r.dbl()):(r=n.diffAdd(r,o),n=n.dbl());return r},l.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},4720:function(e,t,n){"use strict";var r=n(4401),o=n(711),i=n(3782),a=n(2727),s=r.assert;function l(e){a.call(this,"short",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function c(e,t,n,r){a.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(t,16),this.y=new o(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(e,t,n,r){a.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(t,16),this.y=new o(n,16),this.z=new o(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(l,a),e.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){if(e.beta)t=new o(e.beta,16).toRed(this.red);else{var t,n,r,i=this._getEndoRoots(this.p);t=(t=0>i[0].cmp(i[1])?i[0]:i[1]).toRed(this.red)}if(e.lambda)n=new o(e.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(t))?n=a[0]:(n=a[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return r=e.basis?e.basis.map(function(e){return{a:new o(e.a,16),b:new o(e.b,16)}}):this._getEndoBasis(n),{beta:t,lambda:n,basis:r}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:o.mont(e),n=new o(2).toRed(t).redInvm(),r=n.redNeg(),i=new o(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(i).fromRed(),r.redSub(i).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,n,r,i,a,s,l,c,u,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,p=this.n.clone(),h=new o(1),m=new o(0),g=new o(0),v=new o(1),y=0;0!==f.cmpn(0);){var b=p.div(f);c=p.sub(b.mul(f)),u=g.sub(b.mul(h));var w=v.sub(b.mul(m));if(!r&&0>c.cmp(d))t=l.neg(),n=h,r=c.neg(),i=u;else if(r&&2==++y)break;l=c,p=f,f=c,g=h,h=u,v=m,m=w}a=c.neg(),s=u;var S=r.sqr().add(i.sqr());return a.sqr().add(s.sqr()).cmp(S)>=0&&(a=t,s=n),r.negative&&(r=r.neg(),i=i.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:i},{a:a,b:s}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],o=r.b.mul(e).divRound(this.n),i=n.b.neg().mul(e).divRound(this.n),a=o.mul(n.a),s=i.mul(r.a),l=o.mul(n.b),c=i.mul(r.b);return{k1:e.sub(a).sub(s),k2:l.add(c).neg()}},l.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw Error("invalid point");var i=r.fromRed().isOdd();return(t&&!i||!t&&i)&&(r=r.redNeg()),this.point(e,r)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),o=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(o).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,o=this._endoWnafT2,i=0;i<e.length;i++){var a=this._endoSplit(t[i]),s=e[i],l=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),l=l.neg(!0)),r[2*i]=s,r[2*i+1]=l,o[2*i]=a.k1,o[2*i+1]=a.k2}for(var c=this._wnafMulAdd(1,r,o,2*i,n),u=0;u<2*i;u++)r[u]=null,o[u]=null;return c},i(c,a.BasePoint),l.prototype.point=function(e,t,n){return new c(this,e,t,n)},l.prototype.pointFromJSON=function(e,t){return c.fromJSON(this,e,t)},c.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(e,t,n){"string"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function o(t){return e.point(t[0],t[1],n)}var i=t[2];return r.precomputed={beta:null,doubles:i.doubles&&{step:i.doubles.step,points:[r].concat(i.doubles.points.map(o))},naf:i.naf&&{wnd:i.naf.wnd,points:[r].concat(i.naf.points.map(o))}},r},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e)||0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),o=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),i=o.redSqr().redISub(this.x.redAdd(this.x)),a=o.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return(e=new o(e,16),this.isInfinity())?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,n){var r=[this,t],o=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,o):this.curve._wnafMulAdd(1,r,o,2)},c.prototype.jmulAdd=function(e,t,n){var r=[this,t],o=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,o,!0):this.curve._wnafMulAdd(1,r,o,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(u,a.BasePoint),l.prototype.jpoint=function(e,t,n){return new u(this,e,t,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),o=e.x.redMul(n),i=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(o),l=i.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),d=r.redMul(c),f=l.redSqr().redIAdd(u).redISub(d).redISub(d),p=l.redMul(d.redISub(f)).redISub(i.redMul(u)),h=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(f,p,h)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),o=this.y,i=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=o.redSub(i);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),u=n.redMul(l),d=s.redSqr().redIAdd(c).redISub(u).redISub(u),f=s.redMul(u.redISub(d)).redISub(o.redMul(c)),p=this.z.redMul(a);return this.curve.jpoint(d,f,p)},u.prototype.dblp=function(e){if(0===e||this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}for(var r=this.curve.a,o=this.curve.tinv,i=this.x,a=this.y,s=this.z,l=s.redSqr().redSqr(),c=a.redAdd(a),n=0;n<e;n++){var u=i.redSqr(),d=c.redSqr(),f=d.redSqr(),p=u.redAdd(u).redIAdd(u).redIAdd(r.redMul(l)),h=i.redMul(d),m=p.redSqr().redISub(h.redAdd(h)),g=h.redISub(m),v=p.redMul(g);v=v.redIAdd(v).redISub(f);var y=c.redMul(s);n+1<e&&(l=l.redMul(f)),i=m,s=y,c=v}return this.curve.jpoint(i,c.redMul(o),s)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){if(this.zOne){var e,t,n,r=this.x.redSqr(),o=this.y.redSqr(),i=o.redSqr(),a=this.x.redAdd(o).redSqr().redISub(r).redISub(i);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r),l=s.redSqr().redISub(a).redISub(a),c=i.redIAdd(i);c=(c=c.redIAdd(c)).redIAdd(c),e=l,t=s.redMul(a.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),d=this.y.redSqr(),f=d.redSqr(),p=this.x.redAdd(d).redSqr().redISub(u).redISub(f);p=p.redIAdd(p);var h=u.redAdd(u).redIAdd(u),m=h.redSqr(),g=f.redIAdd(f);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(p).redISub(p),t=h.redMul(p.redISub(e)).redISub(g),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},u.prototype._threeDbl=function(){if(this.zOne){var e,t,n,r=this.x.redSqr(),o=this.y.redSqr(),i=o.redSqr(),a=this.x.redAdd(o).redSqr().redISub(r).redISub(i);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),l=s.redSqr().redISub(a).redISub(a);e=l;var c=i.redIAdd(i);c=(c=c.redIAdd(c)).redIAdd(c),t=s.redMul(a.redISub(l)).redISub(c),n=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),d=this.y.redSqr(),f=this.x.redMul(d),p=this.x.redSub(u).redMul(this.x.redAdd(u));p=p.redAdd(p).redIAdd(p);var h=f.redIAdd(f),m=(h=h.redIAdd(h)).redAdd(h);e=p.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(d).redISub(u);var g=d.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=p.redMul(h.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,n)},u.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,o=r.redSqr().redSqr(),i=t.redSqr(),a=n.redSqr(),s=i.redAdd(i).redIAdd(i).redIAdd(e.redMul(o)),l=t.redAdd(t),c=(l=l.redIAdd(l)).redMul(a),u=s.redSqr().redISub(c.redAdd(c)),d=c.redISub(u),f=a.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var p=s.redMul(d).redISub(f),h=n.redAdd(n).redMul(r);return this.curve.jpoint(u,p,h)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),o=e.redAdd(e).redIAdd(e),i=o.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(r),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(i)).redSqr(),l=r.redIAdd(r);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var c=o.redIAdd(a).redSqr().redISub(i).redISub(s).redISub(l),u=t.redMul(c);u=(u=u.redIAdd(u)).redIAdd(u);var d=this.x.redMul(s).redISub(u);d=(d=d.redIAdd(d)).redIAdd(d);var f=this.y.redMul(c.redMul(l.redISub(c)).redISub(a.redMul(s)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var p=this.z.redAdd(a).redSqr().redISub(n).redISub(s);return this.curve.jpoint(d,f,p)},u.prototype.mul=function(e,t){return e=new o(e,t),this.curve._wnafMul(this,e)},u.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),o=n.redMul(e.z);return 0===this.y.redMul(o).redISub(e.y.redMul(r)).cmpn(0)},u.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),o=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(o),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},6226:function(e,t,n){"use strict";var r,o=t,i=n(7028),a=n(9359),s=n(4401).assert;function l(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var n=new l(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:n}),n}})}o.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(9702)}catch(e){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},4088:function(e,t,n){"use strict";var r=n(711),o=n(4910),i=n(4401),a=n(6226),s=n(3500),l=i.assert,c=n(4724),u=n(7526);function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(l(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=d,d.prototype.keyPair=function(e){return new c(this,e)},d.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),i=this.n.sub(new r(2));;){var a=new r(t.generate(n));if(!(a.cmp(i)>0))return a.iaddn(1),this.keyFromPrivate(a)}},d.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return(n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0)?e.sub(this.n):e},d.prototype.sign=function(e,t,n,i){"object"==typeof n&&(i=n,n=null),i||(i={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new r(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),l=e.toArray("be",a),c=new o({hash:this.hash,entropy:s,nonce:l,pers:i.pers,persEnc:i.persEnc||"utf8"}),d=this.n.sub(new r(1)),f=0;;f++){var p=i.k?i.k(f):new r(c.generate(this.n.byteLength()));if(!(0>=(p=this._truncateToN(p,!0)).cmpn(1)||p.cmp(d)>=0)){var h=this.g.mul(p);if(!h.isInfinity()){var m=h.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var v=p.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var y=(h.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return i.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),y^=1),new u({r:g,s:v,recoveryParam:y})}}}}}},d.prototype.verify=function(e,t,n,o){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,o);var i=(t=new u(t,"hex")).r,a=t.s;if(0>i.cmpn(1)||i.cmp(this.n)>=0||0>a.cmpn(1)||a.cmp(this.n)>=0)return!1;var s=a.invm(this.n),l=s.mul(e).umod(this.n),c=s.mul(i).umod(this.n);if(!this.curve._maxwellTrick){var d=this.g.mulAdd(l,n.getPublic(),c);return!d.isInfinity()&&0===d.getX().umod(this.n).cmp(i)}var d=this.g.jmulAdd(l,n.getPublic(),c);return!d.isInfinity()&&d.eqXToP(i)},d.prototype.recoverPubKey=function(e,t,n,o){l((3&n)===n,"The recovery param is more than two bits"),t=new u(t,o);var i=this.n,a=new r(e),s=t.r,c=t.s,d=1&n,f=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw Error("Unable to find sencond key candinate");s=f?this.curve.pointFromX(s.add(this.curve.n),d):this.curve.pointFromX(s,d);var p=t.r.invm(i),h=i.sub(a).mul(p).umod(i),m=c.mul(p).umod(i);return this.g.mulAdd(h,s,m)},d.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new u(t,r)).recoveryParam)return t.recoveryParam;for(var o,i=0;i<4;i++){try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw Error("Unable to find valid recovery factor")}},4724:function(e,t,n){"use strict";var r=n(711),o=n(4401).assert;function i(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=i,i.fromPublic=function(e,t,n){return t instanceof i?t:new i(e,{pub:t,pubEnc:n})},i.fromPrivate=function(e,t,n){return t instanceof i?t:new i(e,{priv:t,privEnc:n})},i.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(e,t){return("string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t)?this.pub.encode(t,e):this.pub},i.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(e,t){if(e.x||e.y){"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&o(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,t)},i.prototype.derive=function(e){return e.mul(this.priv).getX()},i.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},i.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},i.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},7526:function(e,t,n){"use strict";var r=n(711),o=n(4401),i=o.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function l(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var o=0,i=0,a=t.place;i<r;i++,a++)o<<=8,o|=e[a],o>>>=0;return!(o<=127)&&(t.place=a,o)}function c(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function u(e,t){if(t<128){e.push(t);return}var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}e.exports=a,a.prototype._importDER=function(e,t){e=o.toArray(e,t);var n=new s;if(48!==e[n.place++])return!1;var i=l(e,n);if(!1===i||i+n.place!==e.length||2!==e[n.place++])return!1;var a=l(e,n);if(!1===a)return!1;var c=e.slice(n.place,a+n.place);if(n.place+=a,2!==e[n.place++])return!1;var u=l(e,n);if(!1===u||e.length!==u+n.place)return!1;var d=e.slice(n.place,u+n.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new r(c),this.s=new r(d),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=c(t),n=c(n);!n[0]&&!(128&n[1]);)n=n.slice(1);var r=[2];u(r,t.length),(r=r.concat(t)).push(2),u(r,n.length);var i=r.concat(n),a=[48];return u(a,i.length),a=a.concat(i),o.encode(a,e)}},8511:function(e,t,n){"use strict";var r=n(7028),o=n(6226),i=n(4401),a=i.assert,s=i.parseBytes,l=n(9917),c=n(9314);function u(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);var e=o[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=u,u.prototype.sign=function(e,t){e=s(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),o=this.g.mul(r),i=this.encodePoint(o),a=this.hashInt(i,n.pubBytes(),e).mul(n.priv()),l=r.add(a).umod(this.curve.n);return this.makeSignature({R:o,S:l,Rencoded:i})},u.prototype.verify=function(e,t,n){e=s(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),o=this.hashInt(t.Rencoded(),r.pubBytes(),e),i=this.g.mul(t.S());return t.R().add(r.pub().mul(o)).eq(i)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return i.intFromLE(e.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},u.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},u.prototype.makeSignature=function(e){return e instanceof c?e:new c(this,e)},u.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},u.prototype.decodePoint=function(e){var t=(e=i.parseBytes(e)).length-1,n=e.slice(0,t).concat(-129&e[t]),r=(128&e[t])!=0,o=i.intFromLE(n);return this.curve.pointFromY(o,r)},u.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(e){return i.intFromLE(e)},u.prototype.isPoint=function(e){return e instanceof this.pointClass}},9917:function(e,t,n){"use strict";var r=n(4401),o=r.assert,i=r.parseBytes,a=r.cachedProperty;function s(e,t){this.eddsa=e,this._secret=i(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=i(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),a(s,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),a(s,"privBytes",function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r}),a(s,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),a(s,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),a(s,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),s.prototype.sign=function(e){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return o(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},s.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=s},9314:function(e,t,n){"use strict";var r=n(711),o=n(4401),i=o.assert,a=o.cachedProperty,s=o.parseBytes;function l(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),i(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(l,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),a(l,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),a(l,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),a(l,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},9702:function(e){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},4401:function(e,t,n){"use strict";var r=t,o=n(711),i=n(3523),a=n(6545);function s(e,t,n){var r=Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var o=1<<t+1,i=e.clone(),a=0;a<r.length;a++){var s,l=i.andln(o-1);i.isOdd()?(s=l>(o>>1)-1?(o>>1)-l:l,i.isubn(s)):s=0,r[a]=s,i.iushrn(1)}return r}function l(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r=0,o=0;e.cmpn(-r)>0||t.cmpn(-o)>0;){var i,a,s=e.andln(3)+r&3,l=t.andln(3)+o&3;if(3===s&&(s=-1),3===l&&(l=-1),(1&s)==0)i=0;else{var c=e.andln(7)+r&7;i=(3===c||5===c)&&2===l?-s:s}if(n[0].push(i),(1&l)==0)a=0;else{var c=t.andln(7)+o&7;a=(3===c||5===c)&&2===s?-l:l}n[1].push(a),2*r===i+1&&(r=1-r),2*o===a+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return n}function c(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}}function u(e){return"string"==typeof e?r.toArray(e,"hex"):e}function d(e){return new o(e,"hex","le")}r.assert=i,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=s,r.getJSF=l,r.cachedProperty=c,r.parseBytes=u,r.intFromLE=d},8368:function(e,t,n){var r=n(6911).Buffer,o=n(3533);function i(e,t,n,i){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,s=r.alloc(a),l=r.alloc(i||0),c=r.alloc(0);a>0||i>0;){var u=new o;u.update(c),u.update(e),t&&u.update(t),c=u.digest();var d=0;if(a>0){var f=s.length-a;d=Math.min(a,c.length),c.copy(s,f,0,d),a-=d}if(d<c.length&&i>0){var p=l.length-i,h=Math.min(i,c.length-d);c.copy(l,p,d,d+h),i-=h}}return c.fill(0),{key:s,iv:l}}e.exports=i},9029:function(e,t,n){"use strict";var r=n(6911).Buffer,o=n(3726).Transform;function i(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw TypeError(t+" must be a string or a buffer")}function a(e){o.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(3782)(a,o),a.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},a.prototype.update=function(e,t){if(i(e,"Data"),this._finalized)throw Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,o=0;this._blockOffset+e.length-o>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)n[a++]=e[o++];this._update(),this._blockOffset=0}for(;o<e.length;)n[this._blockOffset++]=e[o++];for(var s=0,l=8*e.length;l>0;++s)this._length[s]+=l,(l=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*l);return this},a.prototype._update=function(){throw Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},a.prototype._digest=function(){throw Error("_digest is not implemented")},e.exports=a},7028:function(e,t,n){var r=t;r.utils=n(263),r.common=n(1330),r.sha=n(301),r.ripemd=n(3079),r.hmac=n(3092),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},1330:function(e,t,n){"use strict";var r=n(263),o=n(3523);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=Array(n+this.padLength);r[0]=128;for(var o=1;o<n;o++)r[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[o++]=0;r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=e>>>24&255,r[o++]=e>>>16&255,r[o++]=e>>>8&255,r[o++]=255&e}else for(i=8,r[o++]=255&e,r[o++]=e>>>8&255,r[o++]=e>>>16&255,r[o++]=e>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0;i<this.padLength;i++)r[o++]=0;return r}},3092:function(e,t,n){"use strict";var r=n(263),o=n(3523);function i(e,t,n){if(!(this instanceof i))return new i(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=i,i.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(t=0,this.inner=(new this.Hash).update(e);t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},i.prototype.update=function(e,t){return this.inner.update(e,t),this},i.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},3079:function(e,t,n){"use strict";var r=n(263),o=n(1330),i=r.rotl32,a=r.sum32,s=r.sum32_3,l=r.sum32_4,c=o.BlockHash;function u(){if(!(this instanceof u))return new u;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function f(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function p(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(u,c),t.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],o=this.h[2],c=this.h[3],u=this.h[4],y=n,b=r,w=o,S=c,x=u,E=0;E<80;E++){var C=a(i(l(n,d(E,r,o,c),e[h[E]+t],f(E)),g[E]),u);n=u,u=c,c=i(o,10),o=r,r=C,C=a(i(l(y,d(79-E,b,w,S),e[m[E]+t],p(E)),v[E]),x),y=x,x=S,S=i(w,10),w=b,b=C}C=s(this.h[1],o,S),this.h[1]=s(this.h[2],c,x),this.h[2]=s(this.h[3],u,y),this.h[3]=s(this.h[4],n,b),this.h[4]=s(this.h[0],r,w),this.h[0]=C},u.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var h=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},301:function(e,t,n){"use strict";t.sha1=n(2742),t.sha224=n(7105),t.sha256=n(1525),t.sha384=n(9948),t.sha512=n(1319)},2742:function(e,t,n){"use strict";var r=n(263),o=n(1330),i=n(2975),a=r.rotl32,s=r.sum32,l=r.sum32_5,c=i.ft_1,u=o.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}r.inherits(f,u),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=a(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var o=this.h[0],i=this.h[1],u=this.h[2],f=this.h[3],p=this.h[4];for(r=0;r<n.length;r++){var h=~~(r/20),m=l(a(o,5),c(h,i,u,f),p,n[r],d[h]);p=f,f=u,u=a(i,30),i=o,o=m}this.h[0]=s(this.h[0],o),this.h[1]=s(this.h[1],i),this.h[2]=s(this.h[2],u),this.h[3]=s(this.h[3],f),this.h[4]=s(this.h[4],p)},f.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},7105:function(e,t,n){"use strict";var r=n(263),o=n(1525);function i(){if(!(this instanceof i))return new i;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(i,o),e.exports=i,i.blockSize=512,i.outSize=224,i.hmacStrength=192,i.padLength=64,i.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},1525:function(e,t,n){"use strict";var r=n(263),o=n(1330),i=n(2975),a=n(3523),s=r.sum32,l=r.sum32_4,c=r.sum32_5,u=i.ch32,d=i.maj32,f=i.s0_256,p=i.s1_256,h=i.g0_256,m=i.g1_256,g=o.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=Array(64)}r.inherits(y,g),e.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=l(m(n[r-2]),n[r-7],h(n[r-15]),n[r-16]);var o=this.h[0],i=this.h[1],g=this.h[2],v=this.h[3],y=this.h[4],b=this.h[5],w=this.h[6],S=this.h[7];for(a(this.k.length===n.length),r=0;r<n.length;r++){var x=c(S,p(y),u(y,b,w),this.k[r],n[r]),E=s(f(o),d(o,i,g));S=w,w=b,b=y,y=s(v,x),v=g,g=i,i=o,o=s(x,E)}this.h[0]=s(this.h[0],o),this.h[1]=s(this.h[1],i),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],y),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],w),this.h[7]=s(this.h[7],S)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},9948:function(e,t,n){"use strict";var r=n(263),o=n(1319);function i(){if(!(this instanceof i))return new i;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(i,o),e.exports=i,i.blockSize=1024,i.outSize=384,i.hmacStrength=192,i.padLength=128,i.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},1319:function(e,t,n){"use strict";var r=n(263),o=n(1330),i=n(3523),a=r.rotr64_hi,s=r.rotr64_lo,l=r.shr64_hi,c=r.shr64_lo,u=r.sum64,d=r.sum64_hi,f=r.sum64_lo,p=r.sum64_4_hi,h=r.sum64_4_lo,m=r.sum64_5_hi,g=r.sum64_5_lo,v=o.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=Array(160)}function w(e,t,n,r,o){var i=e&n^~e&o;return i<0&&(i+=4294967296),i}function S(e,t,n,r,o,i){var a=t&r^~t&i;return a<0&&(a+=4294967296),a}function x(e,t,n,r,o){var i=e&n^e&o^n&o;return i<0&&(i+=4294967296),i}function E(e,t,n,r,o,i){var a=t&r^t&i^r&i;return a<0&&(a+=4294967296),a}function C(e,t){var n=a(e,t,28)^a(t,e,2)^a(t,e,7);return n<0&&(n+=4294967296),n}function _(e,t){var n=s(e,t,28)^s(t,e,2)^s(t,e,7);return n<0&&(n+=4294967296),n}function k(e,t){var n=a(e,t,14)^a(e,t,18)^a(t,e,9);return n<0&&(n+=4294967296),n}function O(e,t){var n=s(e,t,14)^s(e,t,18)^s(t,e,9);return n<0&&(n+=4294967296),n}function A(e,t){var n=a(e,t,1)^a(e,t,8)^l(e,t,7);return n<0&&(n+=4294967296),n}function I(e,t){var n=s(e,t,1)^s(e,t,8)^c(e,t,7);return n<0&&(n+=4294967296),n}function P(e,t){var n=a(e,t,19)^a(t,e,29)^l(e,t,6);return n<0&&(n+=4294967296),n}function T(e,t){var n=s(e,t,19)^s(t,e,29)^c(e,t,6);return n<0&&(n+=4294967296),n}r.inherits(b,v),e.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var o=P(n[r-4],n[r-3]),i=T(n[r-4],n[r-3]),a=n[r-14],s=n[r-13],l=A(n[r-30],n[r-29]),c=I(n[r-30],n[r-29]),u=n[r-32],d=n[r-31];n[r]=p(o,i,a,s,l,c,u,d),n[r+1]=h(o,i,a,s,l,c,u,d)}},b.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],o=this.h[1],a=this.h[2],s=this.h[3],l=this.h[4],c=this.h[5],p=this.h[6],h=this.h[7],v=this.h[8],y=this.h[9],b=this.h[10],A=this.h[11],I=this.h[12],P=this.h[13],T=this.h[14],R=this.h[15];i(this.k.length===n.length);for(var M=0;M<n.length;M+=2){var N=T,j=R,D=k(v,y),L=O(v,y),B=w(v,y,b,A,I,P),Z=S(v,y,b,A,I,P),F=this.k[M],z=this.k[M+1],U=n[M],H=n[M+1],q=m(N,j,D,L,B,Z,F,z,U,H),V=g(N,j,D,L,B,Z,F,z,U,H);N=C(r,o);var W=d(N,j=_(r,o),D=x(r,o,a,s,l,c),L=E(r,o,a,s,l,c)),$=f(N,j,D,L);T=I,R=P,I=b,P=A,b=v,A=y,v=d(p,h,q,V),y=f(h,h,q,V),p=l,h=c,l=a,c=s,a=r,s=o,r=d(q,V,W,$),o=f(q,V,W,$)}u(this.h,0,r,o),u(this.h,2,a,s),u(this.h,4,l,c),u(this.h,6,p,h),u(this.h,8,v,y),u(this.h,10,b,A),u(this.h,12,I,P),u(this.h,14,T,R)},b.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},2975:function(e,t,n){"use strict";var r=n(263).rotr32;function o(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?s(t,n,r):2===e?a(t,n,r):void 0}function i(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function s(e,t,n){return e^t^n}function l(e){return r(e,2)^r(e,13)^r(e,22)}function c(e){return r(e,6)^r(e,11)^r(e,25)}function u(e){return r(e,7)^r(e,18)^e>>>3}function d(e){return r(e,17)^r(e,19)^e>>>10}t.ft_1=o,t.ch32=i,t.maj32=a,t.p32=s,t.s0_256=l,t.s1_256=c,t.g0_256=u,t.g1_256=d},263:function(e,t,n){"use strict";var r=n(3523),o=n(3782);function i(e,t){return(64512&e.charCodeAt(t))==55296&&!(t<0)&&!(t+1>=e.length)&&(64512&e.charCodeAt(t+1))==56320}function a(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e){if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)n.push(parseInt(e[o]+e[o+1],16))}else for(var r=0,o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?n[r++]=a:(a<2048?n[r++]=a>>6|192:(i(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),n[r++]=a>>18|240,n[r++]=a>>12&63|128):n[r++]=a>>12|224,n[r++]=a>>6&63|128),n[r++]=63&a|128)}}else for(o=0;o<e.length;o++)n[o]=0|e[o];return n}function s(e){for(var t="",n=0;n<e.length;n++)t+=u(e[n].toString(16));return t}function l(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e,t){for(var n="",r=0;r<e.length;r++){var o=e[r];"little"===t&&(o=l(o)),n+=d(o.toString(16))}return n}function u(e){return 1===e.length?"0"+e:e}function d(e){if(7===e.length)return"0"+e;if(6===e.length)return"00"+e;if(5===e.length)return"000"+e;if(4===e.length)return"0000"+e;if(3===e.length)return"00000"+e;if(2===e.length)return"000000"+e;if(1===e.length)return"0000000"+e;else return e}function f(e,t,n,o){var i,a=n-t;r(a%4==0);for(var s=Array(a/4),l=0,c=t;l<s.length;l++,c+=4)i="big"===o?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],s[l]=i>>>0;return s}function p(e,t){for(var n=Array(4*e.length),r=0,o=0;r<e.length;r++,o+=4){var i=e[r];"big"===t?(n[o]=i>>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n}function h(e,t){return e>>>t|e<<32-t}function m(e,t){return e<<t|e>>>32-t}function g(e,t){return e+t>>>0}function v(e,t,n){return e+t+n>>>0}function y(e,t,n,r){return e+t+n+r>>>0}function b(e,t,n,r,o){return e+t+n+r+o>>>0}function w(e,t,n,r){var o=e[t],i=r+e[t+1]>>>0,a=(i<r?1:0)+n+o;e[t]=a>>>0,e[t+1]=i}function S(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0}function x(e,t,n,r){return t+r>>>0}function E(e,t,n,r,o,i,a,s){var l,c=t;return e+n+o+a+(l=0+((c=c+r>>>0)<t?1:0)+((c=c+i>>>0)<i?1:0)+((c=c+s>>>0)<s?1:0))>>>0}function C(e,t,n,r,o,i,a,s){return t+r+i+s>>>0}function _(e,t,n,r,o,i,a,s,l,c){var u,d=t;return e+n+o+a+l+(u=0+((d=d+r>>>0)<t?1:0)+((d=d+i>>>0)<i?1:0)+((d=d+s>>>0)<s?1:0)+((d=d+c>>>0)<c?1:0))>>>0}function k(e,t,n,r,o,i,a,s,l,c){return t+r+i+s+c>>>0}function O(e,t,n){return(t<<32-n|e>>>n)>>>0}function A(e,t,n){return(e<<32-n|t>>>n)>>>0}function I(e,t,n){return e>>>n}function P(e,t,n){return(e<<32-n|t>>>n)>>>0}t.inherits=o,t.toArray=a,t.toHex=s,t.htonl=l,t.toHex32=c,t.zero2=u,t.zero8=d,t.join32=f,t.split32=p,t.rotr32=h,t.rotl32=m,t.sum32=g,t.sum32_3=v,t.sum32_4=y,t.sum32_5=b,t.sum64=w,t.sum64_hi=S,t.sum64_lo=x,t.sum64_4_hi=E,t.sum64_4_lo=C,t.sum64_5_hi=_,t.sum64_5_lo=k,t.rotr64_hi=O,t.rotr64_lo=A,t.shr64_hi=I,t.shr64_lo=P},4910:function(e,t,n){"use strict";var r=n(7028),o=n(6545),i=n(3523);function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),n=o.toArray(e.nonce,e.nonceEnc||"hex"),r=o.toArray(e.pers,e.persEnc||"hex");i(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}e.exports=a,a.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var o=0;o<this.V.length;o++)this.K[o]=0,this.V[o]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,n,r){"string"!=typeof t&&(r=n,n=t,t=null),e=o.toArray(e,t),n=o.toArray(n,r),i(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},a.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=o.toArray(n,r||"hex"),this._update(n));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var a=i.slice(0,e);return this._update(n),this._reseed++,o.encode(a,t)}},3782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},3533:function(e,t,n){"use strict";var r=n(3782),o=n(9029),i=n(6911).Buffer,a=Array(16);function s(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<<t|e>>>32-t}function c(e,t,n,r,o,i,a){return l(e+(t&n|~t&r)+o+i|0,a)+t|0}function u(e,t,n,r,o,i,a){return l(e+(t&r|n&~r)+o+i|0,a)+t|0}function d(e,t,n,r,o,i,a){return l(e+(t^n^r)+o+i|0,a)+t|0}function f(e,t,n,r,o,i,a){return l(e+(n^(t|~r))+o+i|0,a)+t|0}r(s,o),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,o=this._c,i=this._d;n=c(n,r,o,i,e[0],3614090360,7),i=c(i,n,r,o,e[1],3905402710,12),o=c(o,i,n,r,e[2],606105819,17),r=c(r,o,i,n,e[3],3250441966,22),n=c(n,r,o,i,e[4],4118548399,7),i=c(i,n,r,o,e[5],1200080426,12),o=c(o,i,n,r,e[6],2821735955,17),r=c(r,o,i,n,e[7],4249261313,22),n=c(n,r,o,i,e[8],1770035416,7),i=c(i,n,r,o,e[9],2336552879,12),o=c(o,i,n,r,e[10],4294925233,17),r=c(r,o,i,n,e[11],2304563134,22),n=c(n,r,o,i,e[12],1804603682,7),i=c(i,n,r,o,e[13],4254626195,12),o=c(o,i,n,r,e[14],2792965006,17),r=c(r,o,i,n,e[15],1236535329,22),n=u(n,r,o,i,e[1],4129170786,5),i=u(i,n,r,o,e[6],3225465664,9),o=u(o,i,n,r,e[11],643717713,14),r=u(r,o,i,n,e[0],3921069994,20),n=u(n,r,o,i,e[5],3593408605,5),i=u(i,n,r,o,e[10],38016083,9),o=u(o,i,n,r,e[15],3634488961,14),r=u(r,o,i,n,e[4],3889429448,20),n=u(n,r,o,i,e[9],568446438,5),i=u(i,n,r,o,e[14],3275163606,9),o=u(o,i,n,r,e[3],4107603335,14),r=u(r,o,i,n,e[8],1163531501,20),n=u(n,r,o,i,e[13],2850285829,5),i=u(i,n,r,o,e[2],4243563512,9),o=u(o,i,n,r,e[7],1735328473,14),r=u(r,o,i,n,e[12],2368359562,20),n=d(n,r,o,i,e[5],4294588738,4),i=d(i,n,r,o,e[8],2272392833,11),o=d(o,i,n,r,e[11],1839030562,16),r=d(r,o,i,n,e[14],4259657740,23),n=d(n,r,o,i,e[1],2763975236,4),i=d(i,n,r,o,e[4],1272893353,11),o=d(o,i,n,r,e[7],4139469664,16),r=d(r,o,i,n,e[10],3200236656,23),n=d(n,r,o,i,e[13],681279174,4),i=d(i,n,r,o,e[0],3936430074,11),o=d(o,i,n,r,e[3],3572445317,16),r=d(r,o,i,n,e[6],76029189,23),n=d(n,r,o,i,e[9],3654602809,4),i=d(i,n,r,o,e[12],3873151461,11),o=d(o,i,n,r,e[15],530742520,16),r=d(r,o,i,n,e[2],3299628645,23),n=f(n,r,o,i,e[0],4096336452,6),i=f(i,n,r,o,e[7],1126891415,10),o=f(o,i,n,r,e[14],2878612391,15),r=f(r,o,i,n,e[5],4237533241,21),n=f(n,r,o,i,e[12],1700485571,6),i=f(i,n,r,o,e[3],2399980690,10),o=f(o,i,n,r,e[10],4293915773,15),r=f(r,o,i,n,e[1],2240044497,21),n=f(n,r,o,i,e[8],1873313359,6),i=f(i,n,r,o,e[15],4264355552,10),o=f(o,i,n,r,e[6],2734768916,15),r=f(r,o,i,n,e[13],1309151649,21),n=f(n,r,o,i,e[4],4149444226,6),i=f(i,n,r,o,e[11],3174756917,10),o=f(o,i,n,r,e[2],718787259,15),r=f(r,o,i,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+o|0,this._d=this._d+i|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},1354:function(e,t,n){var r=n(711),o=n(3500);function i(e){this.rand=e||new o.Rand}e.exports=i,i.create=function(e){return new i(e)},i.prototype._randbelow=function(e){var t=Math.ceil(e.bitLength()/8);do var n=new r(this.rand.generate(t));while(n.cmp(e)>=0);return n},i.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},i.prototype.test=function(e,t,n){var o=e.bitLength(),i=r.mont(e),a=new r(1).toRed(i);t||(t=Math.max(1,o/48|0));for(var s=e.subn(1),l=0;!s.testn(l);l++);for(var c=e.shrn(l),u=s.toRed(i),d=!0;t>0;t--){var f=this._randrange(new r(2),s);n&&n(f);var p=f.toRed(i).redPow(c);if(0!==p.cmp(a)&&0!==p.cmp(u)){for(var h=1;h<l;h++){if(0===(p=p.redSqr()).cmp(a))return!1;if(0===p.cmp(u))break}if(h===l)return!1}}return d},i.prototype.getDivisor=function(e,t){var n=e.bitLength(),o=r.mont(e),i=new r(1).toRed(o);t||(t=Math.max(1,n/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var l=e.shrn(s),c=a.toRed(o);t>0;t--){var u=this._randrange(new r(2),a),d=e.gcd(u);if(0!==d.cmpn(1))return d;var f=u.toRed(o).redPow(l);if(0!==f.cmp(i)&&0!==f.cmp(c)){for(var p=1;p<s;p++){if(0===(f=f.redSqr()).cmp(i))return f.fromRed().subn(1).gcd(e);if(0===f.cmp(c))break}if(p===s)return(f=f.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},3523:function(e){function t(e,t){if(!e)throw Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,n){if(e!=t)throw Error(n||"Assertion failed: "+e+" != "+t)}},6545:function(e,t){"use strict";var n=t;function r(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(var r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(var r=0;r<e.length;r++){var o=e.charCodeAt(r),i=o>>8,a=255&o;i?n.push(i,a):n.push(a)}return n}function o(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",n=0;n<e.length;n++)t+=o(e[n].toString(16));return t}n.toArray=r,n.zero2=o,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}},8687:function(e,t,n){"use strict";var r=n(7160);t.certificate=n(8782);var o=r.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});t.RSAPrivateKey=o;var i=r.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});t.RSAPublicKey=i;var a=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())});t.PublicKey=a;var s=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),l=r.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())});t.PrivateKey=l;var c=r.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});t.EncryptedPrivateKey=c;var u=r.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});t.DSAPrivateKey=u,t.DSAparam=r.define("DSAparam",function(){this.int()});var d=r.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())});t.ECPrivateKey=d;var f=r.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t.signature=r.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},8782:function(e,t,n){"use strict";var r=n(7160),o=r.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),i=r.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),a=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),s=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}),l=r.define("RelativeDistinguishedName",function(){this.setof(i)}),c=r.define("RDNSequence",function(){this.seqof(l)}),u=r.define("Name",function(){this.choice({rdnSequence:this.use(c)})}),d=r.define("Validity",function(){this.seq().obj(this.key("notBefore").use(o),this.key("notAfter").use(o))}),f=r.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),p=r.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(u),this.key("validity").use(d),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())}),h=r.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())});e.exports=h},6501:function(e,t,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,a=n(8368),s=n(6594),l=n(6911).Buffer;e.exports=function(e,t){var n,c=e.toString(),u=c.match(r);if(u){var d="aes"+u[1],f=l.from(u[2],"hex"),p=l.from(u[3].replace(/[\r\n]/g,""),"base64"),h=a(t,f.slice(0,8),parseInt(u[1],10)).key,m=[],g=s.createDecipheriv(d,h,f);m.push(g.update(p)),m.push(g.final()),n=l.concat(m)}else n=new l(c.match(i)[2].replace(/[\r\n]/g,""),"base64");return{tag:c.match(o)[1],data:n}}},9902:function(e,t,n){var r=n(8687),o=n(2510),i=n(6501),a=n(6594),s=n(4978),l=n(6911).Buffer;function c(e){"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var t,n,o,a=i(e,t),s=a.tag,c=a.data;switch(s){case"CERTIFICATE":o=r.certificate.decode(c,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(o||(o=r.PublicKey.decode(c,"der")),n=o.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(o.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return o.subjectPrivateKey=o.subjectPublicKey,{type:"ec",data:o};case"1.2.840.10040.4.1":return o.algorithm.params.pub_key=r.DSAparam.decode(o.subjectPublicKey.data,"der"),{type:"dsa",data:o.algorithm.params};default:throw Error("unknown key id "+n)}throw Error("unknown key type "+s);case"ENCRYPTED PRIVATE KEY":c=u(c=r.EncryptedPrivateKey.decode(c,"der"),t);case"PRIVATE KEY":switch(n=(o=r.PrivateKey.decode(c,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(o.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:o.algorithm.curve,privateKey:r.ECPrivateKey.decode(o.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return o.algorithm.params.priv_key=r.DSAparam.decode(o.subjectPrivateKey,"der"),{type:"dsa",params:o.algorithm.params};default:throw Error("unknown key id "+n)}throw Error("unknown key type "+s);case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(c,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(c,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(c,"der")};case"EC PRIVATE KEY":return{curve:(c=r.ECPrivateKey.decode(c,"der")).parameters.value,privateKey:c.privateKey};default:throw Error("unknown key type "+s)}}function u(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),i=o[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,u=e.subjectPrivateKey,d=parseInt(i.split("-")[1],10)/8,f=s.pbkdf2Sync(t,n,r,d,"sha1"),p=a.createDecipheriv(i,f,c),h=[];return h.push(p.update(u)),h.push(p.final()),l.concat(h)}e.exports=c,c.signature=r.signature},4978:function(e,t,n){var r=n(6113),o=n(5349),i=n(7007),a=n(5407);function s(e,t,n,s,l,c){if(o(n,s),e=a(e,i,"Password"),t=a(t,i,"Salt"),"function"==typeof l&&(c=l,l="sha1"),"function"!=typeof c)throw Error("No callback provided to pbkdf2");return r.pbkdf2(e,t,n,s,l,c)}function l(e,t,n,s,l){return o(n,s),e=a(e,i,"Password"),t=a(t,i,"Salt"),l=l||"sha1",r.pbkdf2Sync(e,t,n,s,l)}r.pbkdf2Sync&&-1!==r.pbkdf2Sync.toString().indexOf("keylen, digest")?(t.pbkdf2Sync=l,t.pbkdf2=s):(t.pbkdf2Sync=n(2127),t.pbkdf2=n(9601))},9601:function(e,t,r){var o,a=r(6911).Buffer,s=r(5349),l=r(7007),c=r(2127),u=r(5407),d=n.g.crypto&&n.g.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},p=[];function h(e){if(n.g.process&&!n.g.process.browser||!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(void 0!==p[e])return p[e];var t=m(o=o||a.alloc(8),o,10,128,e).then(function(){return!0}).catch(function(){return!1});return p[e]=t,t}function m(e,t,n,r,o){return d.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return d.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:o}},e,r<<3)}).then(function(e){return a.from(e)})}function g(e,t){e.then(function(e){i.nextTick(function(){t(null,e)})},function(e){i.nextTick(function(){t(e)})})}e.exports=function(e,t,r,o,a,d){"function"==typeof a&&(d=a,a=void 0);var p=f[(a=a||"sha1").toLowerCase()];if(!p||"function"!=typeof n.g.Promise)return i.nextTick(function(){var n;try{n=c(e,t,r,o,a)}catch(e){return d(e)}d(null,n)});if(s(r,o),e=u(e,l,"Password"),t=u(t,l,"Salt"),"function"!=typeof d)throw Error("No callback provided to pbkdf2");g(h(p).then(function(n){return n?m(e,t,r,o,p):c(e,t,r,o,a)}),d)}},7007:function(e){var t;t="utf-8",e.exports=t},5349:function(e){var t=1073741823;e.exports=function(e,n){if("number"!=typeof e)throw TypeError("Iterations not a number");if(e<0)throw TypeError("Bad iterations");if("number"!=typeof n)throw TypeError("Key length not a number");if(n<0||n>t||n!=n)throw TypeError("Bad key length")}},2127:function(e,t,n){var r={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20},o=n(4873),i=n(6911).Buffer,a=n(5349),s=n(7007),l=n(5407);function c(e,t,n,c,u){a(n,c),e=l(e,s,"Password"),t=l(t,s,"Salt"),u=u||"sha1";var d=i.allocUnsafe(c),f=i.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var p=0,h=r[u],m=Math.ceil(c/h),g=1;g<=m;g++){f.writeUInt32BE(g,t.length);for(var v=o(u,e).update(f).digest(),y=v,b=1;b<n;b++){y=o(u,e).update(y).digest();for(var w=0;w<h;w++)v[w]^=y[w]}v.copy(d,p),p+=h}return d}e.exports=c},5407:function(e,t,n){var r=n(6911).Buffer;e.exports=function(e,t,n){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,t);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},9783:function(e,t,n){t.publicEncrypt=n(3995),t.privateDecrypt=n(4366),t.privateEncrypt=function(e,n){return t.publicEncrypt(e,n,!0)},t.publicDecrypt=function(e,n){return t.privateDecrypt(e,n,!0)}},5520:function(e,t,n){var r=n(9739),o=n(6911).Buffer;function i(e){var t=o.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var n,a=o.alloc(0),s=0;a.length<t;)n=i(s++),a=o.concat([a,r("sha1").update(e).update(n).digest()]);return a.slice(0,t)}},4366:function(e,t,n){var r=n(9902),o=n(5520),i=n(6386),a=n(711),s=n(7166),l=n(9739),c=n(1607),u=n(6911).Buffer;function d(e,t){var n=e.modulus.byteLength(),r=l("sha1").update(u.alloc(0)).digest(),a=r.length;if(0!==t[0])throw Error("decryption error");var s=t.slice(1,a+1),c=t.slice(a+1),d=i(s,o(c,a)),f=i(c,o(d,n-a-1));if(p(r,f.slice(0,a)))throw Error("decryption error");for(var h=a;0===f[h];)h++;if(1!==f[h++])throw Error("decryption error");return f.slice(h)}function f(e,t,n){for(var r=t.slice(0,2),o=2,i=0;0!==t[o++];)if(o>=t.length){i++;break}var a=t.slice(2,o-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&i++,a.length<8&&i++,i)throw Error("decryption error");return t.slice(o)}function p(e,t){e=u.from(e),t=u.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));for(var o=-1;++o<r;)n+=e[o]^t[o];return n}e.exports=function(e,t,n){o=e.padding?e.padding:n?1:4;var o,i,l=r(e),p=l.modulus.byteLength();if(t.length>p||new a(t).cmp(l.modulus)>=0)throw Error("decryption error");i=n?c(new a(t),l):s(t,l);var h=u.alloc(p-i.length);if(i=u.concat([h,i],p),4===o)return d(l,i);if(1===o)return f(l,i,n);if(3===o)return i;throw Error("unknown padding")}},3995:function(e,t,n){var r=n(9902),o=n(7223),i=n(9739),a=n(5520),s=n(6386),l=n(711),c=n(1607),u=n(7166),d=n(6911).Buffer;function f(e,t){var n=e.modulus.byteLength(),r=t.length,c=i("sha1").update(d.alloc(0)).digest(),u=c.length,f=2*u;if(r>n-f-2)throw Error("message too long");var p=d.alloc(n-r-f-2),h=n-u-1,m=o(u),g=s(d.concat([c,p,d.alloc(1,1),t],h),a(m,h)),v=s(m,a(g,u));return new l(d.concat([d.alloc(1),v,g],n))}function p(e,t,n){var r,o=t.length,i=e.modulus.byteLength();if(o>i-11)throw Error("message too long");return r=n?d.alloc(i-o-3,255):h(i-o-3),new l(d.concat([d.from([0,n?1:2]),r,d.alloc(1),t],i))}function h(e){for(var t,n=d.allocUnsafe(e),r=0,i=o(2*e),a=0;r<e;)a===i.length&&(i=o(2*e),a=0),(t=i[a++])&&(n[r++]=t);return n}e.exports=function(e,t,n){o=e.padding?e.padding:n?1:4;var o,i,a=r(e);if(4===o)i=f(a,t);else if(1===o)i=p(a,t,n);else if(3===o){if((i=new l(t)).cmp(a.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");return n?u(i,a):c(i,a)}},1607:function(e,t,n){var r=n(711),o=n(6911).Buffer;function i(e,t){return o.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}e.exports=i},6386:function(e){e.exports=function(e,t){for(var n=e.length,r=-1;++r<n;)e[r]^=t[r];return e}},7223:function(e,t,r){"use strict";var o=65536,a=4294967295;function s(){throw Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var l=r(6911).Buffer,c=n.g.crypto||n.g.msCrypto;function u(e,t){if(e>a)throw RangeError("requested too many random bytes");var n=l.allocUnsafe(e);if(e>0){if(e>o)for(var r=0;r<e;r+=o)c.getRandomValues(n.slice(r,r+o));else c.getRandomValues(n)}return"function"==typeof t?i.nextTick(function(){t(null,n)}):n}c&&c.getRandomValues?e.exports=u:e.exports=s},6445:function(e,t,r){"use strict";function o(){throw Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var a=r(6911);r(7223);var s=a.Buffer,l=a.kMaxLength,c=n.g.crypto||n.g.msCrypto,u=4294967295;function d(e,t){if("number"!=typeof e||e!=e)throw TypeError("offset must be a number");if(e>u||e<0)throw TypeError("offset must be a uint32");if(e>l||e>t)throw RangeError("offset out of range")}function f(e,t,n){if("number"!=typeof e||e!=e)throw TypeError("size must be a number");if(e>u||e<0)throw TypeError("size must be a uint32");if(e+t>n||e>l)throw RangeError("buffer too small")}function p(e,t,r,o){if(!s.isBuffer(e)&&!(e instanceof n.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)o=t,t=0,r=e.length;else if("function"==typeof r)o=r,r=e.length-t;else if("function"!=typeof o)throw TypeError('"cb" argument must be a function');return d(t,e.length),f(r,t,e.length),h(e,t,r,o)}function h(e,t,n,r){var o=new Uint8Array(e.buffer,t,n);if(c.getRandomValues(o),r){i.nextTick(function(){r(null,e)});return}return e}function m(e,t,r){if(void 0===t&&(t=0),!s.isBuffer(e)&&!(e instanceof n.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');return d(t,e.length),void 0===r&&(r=e.length-t),f(r,t,e.length),h(e,t,r)}c&&c.getRandomValues?(t.randomFill=p,t.randomFillSync=m):(t.randomFill=o,t.randomFillSync=o)},4646:function(e){"use strict";let t={};function n(e,n,r){function o(e,t,r){return"string"==typeof n?n:n(e,t,r)}r||(r=Error);class i extends r{constructor(e,t,n){super(o(e,t,n))}}i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let n=e.length;return(e=e.map(e=>String(e)),n>2)?`one of ${t} ${e.slice(0,n-1).join(", ")}, or `+e[n-1]:2===n?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}function o(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function i(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function a(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}n("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(e,t,n){let s,l;if("string"==typeof t&&o(t,"not ")?(s="must not be",t=t.replace(/^not /,"")):s="must be",i(e," argument"))l=`The ${e} ${s} ${r(t,"type")}`;else{let n=a(e,".")?"property":"argument";l=`The "${e}" ${n} ${s} ${r(t,"type")}`}return l+`. Received type ${typeof n}`},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},2403:function(e,t,n){"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var o=n(1709),a=n(7337);n(3782)(u,o);for(var s=r(a.prototype),l=0;l<s.length;l++){var c=s[l];u.prototype[c]||(u.prototype[c]=a.prototype[c])}function u(e){if(!(this instanceof u))return new u(e);o.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||i.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},7889:function(e,t,n){"use strict";e.exports=o;var r=n(1170);function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}n(3782)(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},1709:function(e,t,r){"use strict";e.exports=I,I.ReadableState=A,r(2361).EventEmitter;var o,a,s,l,c,u=function(e,t){return e.listeners(t).length},d=r(4678),f=r(4300).Buffer,p=n.g.Uint8Array||function(){};function h(e){return f.from(e)}function m(e){return f.isBuffer(e)||e instanceof p}var g=r(3837);a=g&&g.debuglog?g.debuglog("stream"):function(){};var v=r(4379),y=r(7025),b=r(6776).getHighWaterMark,w=r(4646).q,S=w.ERR_INVALID_ARG_TYPE,x=w.ERR_STREAM_PUSH_AFTER_EOF,E=w.ERR_METHOD_NOT_IMPLEMENTED,C=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(3782)(I,d);var _=y.errorOrDestroy,k=["error","close","destroy","pause","resume"];function O(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function A(e,t,n){o=o||r(2403),e=e||{},"boolean"!=typeof n&&(n=t instanceof o),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",n),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(s||(s=r(3704).s),this.decoder=new s(e.encoding),this.encoding=e.encoding)}function I(e){if(o=o||r(2403),!(this instanceof I))return new I(e);var t=this instanceof o;this._readableState=new A(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),d.call(this)}function P(e,t,n,r,o){a("readableAddChunk",t);var i,s=e._readableState;if(null===t)s.reading=!1,D(e,s);else if(o||(i=R(s,t)),i)_(e,i);else if(s.objectMode||t&&t.length>0){if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===f.prototype||(t=h(t)),r)s.endEmitted?_(e,new C):T(e,s,t,!0);else if(s.ended)_(e,new x);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?T(e,s,t,!1):Z(e,s)):T(e,s,t,!1)}}else r||(s.reading=!1,Z(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function T(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&L(e)),Z(e,t)}function R(e,t){var n;return m(t)||"string"==typeof t||void 0===t||e.objectMode||(n=new S("chunk",["string","Buffer","Uint8Array"],t)),n}Object.defineProperty(I.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),I.prototype.destroy=y.destroy,I.prototype._undestroy=y.undestroy,I.prototype._destroy=function(e,t){t(e)},I.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=f.from(e,t),t=""),n=!0),P(this,e,t,!1,n)},I.prototype.unshift=function(e){return P(this,e,null,!0,!1)},I.prototype.isPaused=function(){return!1===this._readableState.flowing},I.prototype.setEncoding=function(e){s||(s=r(3704).s);var t=new s(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,o="";null!==n;)o+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this};var M=1073741824;function N(e){return e>=M?e=M:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function j(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=N(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function D(e,t){if(a("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,B(e)))}}function L(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(B,e))}function B(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,W(e)}function Z(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(F,e,t))}function F(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(a("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function z(e){return function(){var t=e._readableState;a("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&u(e,"data")&&(t.flowing=!0,W(e))}}function U(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function H(e){a("readable nexttick read 0"),e.read(0)}function q(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(V,e,t))}function V(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),W(e),t.flowing&&!t.reading&&e.read(0)}function W(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function $(e,t){var n;return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n)}function G(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(K,t,e))}function K(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Y(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1}I.prototype.read=function(e){a("read",e),e=parseInt(e,10);var t,n=this._readableState,r=e;if(0!==e&&(n.emittedReadable=!1),0===e&&n.needReadable&&((0!==n.highWaterMark?n.length>=n.highWaterMark:n.length>0)||n.ended))return a("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?G(this):L(this),null;if(0===(e=j(e,n))&&n.ended)return 0===n.length&&G(this),null;var o=n.needReadable;return a("need readable",o),(0===n.length||n.length-e<n.highWaterMark)&&a("length less than watermark",o=!0),n.ended||n.reading?a("reading or ended",o=!1):o&&(a("do read"),n.reading=!0,n.sync=!0,0===n.length&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(e=j(r,n))),null===(t=e>0?$(e,n):null)?(n.needReadable=n.length<=n.highWaterMark,e=0):(n.length-=e,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==e&&n.ended&&G(this)),null!==t&&this.emit("data",t),t},I.prototype._read=function(e){_(this,new E("_read()"))},I.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,a("pipe count=%d opts=%j",r.pipesCount,t);var o=t&&!1===t.end||e===i.stdout||e===i.stderr?v:l;function s(e,t){a("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function l(){a("onend"),e.end()}r.endEmitted?i.nextTick(o):n.once("end",o),e.on("unpipe",s);var c=z(n);e.on("drain",c);var d=!1;function f(){a("cleanup"),e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",v),n.removeListener("data",p),d=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}function p(t){a("ondata");var o=e.write(t);a("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==Y(r.pipes,e))&&!d&&(a("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(t){a("onerror",t),v(),e.removeListener("error",h),0===u(e,"error")&&_(e,t)}function m(){e.removeListener("finish",g),v()}function g(){a("onfinish"),e.removeListener("close",m),v()}function v(){a("unpipe"),n.unpipe(e)}return n.on("data",p),O(e,"error",h),e.once("close",m),e.once("finish",g),e.emit("pipe",n),r.flowing||(a("pipe resume"),n.resume()),e},I.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,{hasUnpiped:!1});return this}var a=Y(t.pipes,e);return -1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},I.prototype.on=function(e,t){var n=d.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"!==e||r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,a("on readable",r.length,r.reading),r.length?L(this):r.reading||i.nextTick(H,this)),n},I.prototype.addListener=I.prototype.on,I.prototype.removeListener=function(e,t){var n=d.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(U,this),n},I.prototype.removeAllListeners=function(e){var t=d.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&i.nextTick(U,this),t},I.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,q(this,e)),e.paused=!1,this},I.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},I.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",function(){if(a("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){a("wrapped data"),n.decoder&&(o=n.decoder.write(o)),(!n.objectMode||null!=o)&&(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<k.length;i++)e.on(k[i],this.emit.bind(this,k[i]));return this._read=function(t){a("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(I.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=r(6871)),l(this)}),Object.defineProperty(I.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(I.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(I.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),I._fromList=$,Object.defineProperty(I.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(I.from=function(e,t){return void 0===c&&(c=r(9727)),c(I,e,t)})},1170:function(e,t,n){"use strict";e.exports=u;var r=n(4646).q,o=r.ERR_METHOD_NOT_IMPLEMENTED,i=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(2403);function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new i);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);l.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush(function(t,n){f(e,t,n)})}function f(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}n(3782)(u,l),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new o("_transform()"))},u.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},7337:function(e,t,r){"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){V(t,e)}}e.exports=A,A.WritableState=O;var a,s,l={deprecate:r(6769)},c=r(4678),u=r(4300).Buffer,d=n.g.Uint8Array||function(){};function f(e){return u.from(e)}function p(e){return u.isBuffer(e)||e instanceof d}var h=r(7025),m=r(6776).getHighWaterMark,g=r(4646).q,v=g.ERR_INVALID_ARG_TYPE,y=g.ERR_METHOD_NOT_IMPLEMENTED,b=g.ERR_MULTIPLE_CALLBACK,w=g.ERR_STREAM_CANNOT_PIPE,S=g.ERR_STREAM_DESTROYED,x=g.ERR_STREAM_NULL_VALUES,E=g.ERR_STREAM_WRITE_AFTER_END,C=g.ERR_UNKNOWN_ENCODING,_=h.errorOrDestroy;function k(){}function O(e,t,n){a=a||r(2403),e=e||{},"boolean"!=typeof n&&(n=t instanceof a),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=m(this,e,"writableHighWaterMark",n),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){D(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function A(e){var t=this instanceof(a=a||r(2403));if(!t&&!s.call(A,this))return new A(e);this._writableState=new O(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function I(e,t){var n=new E;_(e,n),i.nextTick(t,n)}function P(e,t,n,r){var o;return null===n?o=new x:"string"==typeof n||t.objectMode||(o=new v("chunk",["string","Buffer"],n)),!o||(_(e,o),i.nextTick(r,o),!1)}function T(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,n)),t}function R(e,t,n,r,o,i){if(!n){var a=T(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else M(e,t,!1,s,r,o,i);return l}function M(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new S("write")):n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function N(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(H,e,t),e._writableState.errorEmitted=!0,_(e,r)):(o(r),e._writableState.errorEmitted=!0,_(e,r),H(e,t))}function j(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function D(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if("function"!=typeof o)throw new b;if(j(n),t)N(e,n,r,t,o);else{var a=F(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||Z(e,n),r?i.nextTick(L,e,n,a,o):L(e,n,a,o)}}function L(e,t,n,r){n||B(e,t),t.pendingcb--,r(),H(e,t)}function B(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function Z(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=n;for(var a=0,s=!0;n;)r[a]=n,n.isBuf||(s=!1),n=n.next,a+=1;r.allBuffers=s,M(e,t,!0,t.length,r,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,u=n.callback,d=t.objectMode?1:l.length;if(M(e,t,!1,d,l,c,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function F(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function z(e,t){e._final(function(n){t.pendingcb--,n&&_(e,n),t.prefinished=!0,e.emit("prefinish"),H(e,t)})}function U(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.nextTick(z,e,t)))}function H(e,t){var n=F(t);if(n&&(U(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}function q(e,t,n){t.ending=!0,H(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function V(e,t,n){var r=e.entry;for(e.entry=null;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}r(3782)(A,c),O.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(O.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===A&&e&&e._writableState instanceof O}})):s=function(e){return e instanceof this},A.prototype.pipe=function(){_(this,new w)},A.prototype.write=function(e,t,n){var r=this._writableState,o=!1,i=!r.objectMode&&p(e);return i&&!u.isBuffer(e)&&(e=f(e)),"function"==typeof t&&(n=t,t=null),i?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=k),r.ending?I(this,n):(i||P(this,r,e,n))&&(r.pendingcb++,o=R(this,r,i,e,t,n)),o},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||Z(this,e))},A.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new C(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,n){n(new y("_write()"))},A.prototype._writev=null,A.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||q(this,r,n),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=h.destroy,A.prototype._undestroy=h.undestroy,A.prototype._destroy=function(e,t){t(e)}},6871:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o,a=n(9698),s=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),d=Symbol("lastPromise"),f=Symbol("handlePromise"),p=Symbol("stream");function h(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var n=e[p].read();null!==n&&(e[d]=null,e[s]=null,e[l]=null,t(h(n,!1)))}}function g(e){i.nextTick(m,e)}function v(e,t){return function(n,r){e.then(function(){if(t[u]){n(h(void 0,!0));return}t[f](n,r)},r)}}var y=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((r(o={get stream(){return this[p]},next:function(){var e,t=this,n=this[c];if(null!==n)return Promise.reject(n);if(this[u])return Promise.resolve(h(void 0,!0));if(this[p].destroyed)return new Promise(function(e,n){i.nextTick(function(){t[c]?n(t[c]):e(h(void 0,!0))})});var r=this[d];if(r)e=new Promise(v(r,this));else{var o=this[p].read();if(null!==o)return Promise.resolve(h(o,!1));e=new Promise(this[f])}return this[d]=e,e}},Symbol.asyncIterator,function(){return this}),r(o,"return",function(){var e=this;return new Promise(function(t,n){e[p].destroy(null,function(e){if(e){n(e);return}t(h(void 0,!0))})})}),o),y),w=function(e){var t,n=Object.create(b,(r(t={},p,{value:e,writable:!0}),r(t,s,{value:null,writable:!0}),r(t,l,{value:null,writable:!0}),r(t,c,{value:null,writable:!0}),r(t,u,{value:e._readableState.endEmitted,writable:!0}),r(t,f,{value:function(e,t){var r=n[p].read();r?(n[d]=null,n[s]=null,n[l]=null,e(h(r,!1))):(n[s]=e,n[l]=t)},writable:!0}),t));return n[d]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[l];null!==t&&(n[d]=null,n[s]=null,n[l]=null,t(e)),n[c]=e;return}var r=n[s];null!==r&&(n[d]=null,n[s]=null,n[l]=null,r(h(void 0,!0))),n[u]=!0}),e.on("readable",g.bind(null,n)),n};e.exports=w},4379:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var c=n(4300).Buffer,u=n(3837).inspect,d=u&&u.custom||"inspect";function f(e,t,n){c.prototype.copy.call(e,t,n)}e.exports=function(){function e(){a(this,e),this.head=null,this.tail=null,this.length=0}return l(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);for(var t=c.allocUnsafe(e>>>0),n=this.head,r=0;n;)f(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var o=t.data,i=e>o.length?o.length:e;if(i===o.length?r+=o:r+=o.slice(0,e),0==(e-=i)){i===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(i));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return u(this,o({},t,{depth:0,customInspect:!1}))}}]),e}()},7025:function(e){"use strict";function t(e,t){var o=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(a,this,e)):i.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?o._writableState?o._writableState.errorEmitted?i.nextTick(r,o):(o._writableState.errorEmitted=!0,i.nextTick(n,o,e)):i.nextTick(n,o,e):t?(i.nextTick(r,o),t(e)):i.nextTick(r,o)})),this}function n(e,t){a(e,t),r(e)}function r(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(e,t){e.emit("error",t)}function s(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}e.exports={destroy:t,undestroy:o,errorOrDestroy:s}},9698:function(e,t,n){"use strict";var r=n(4646).q.ERR_STREAM_PREMATURE_CLOSE;function o(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r)}}}function i(){}function a(e){return e.setHeader&&"function"==typeof e.abort}function s(e,t,n){if("function"==typeof t)return s(e,null,t);t||(t={}),n=o(n||i);var l=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,u=function(){e.writable||f()},d=e._writableState&&e._writableState.finished,f=function(){c=!1,d=!0,l||n.call(e)},p=e._readableState&&e._readableState.endEmitted,h=function(){l=!1,p=!0,c||n.call(e)},m=function(t){n.call(e,t)},g=function(){var t;return l&&!p?(e._readableState&&e._readableState.ended||(t=new r),n.call(e,t)):c&&!d?(e._writableState&&e._writableState.ended||(t=new r),n.call(e,t)):void 0},v=function(){e.req.on("finish",f)};return a(e)?(e.on("complete",f),e.on("abort",g),e.req?v():e.on("request",v)):c&&!e._writableState&&(e.on("end",u),e.on("close",u)),e.on("end",h),e.on("finish",f),!1!==t.error&&e.on("error",m),e.on("close",g),function(){e.removeListener("complete",f),e.removeListener("abort",g),e.removeListener("request",v),e.req&&e.req.removeListener("finish",f),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",f),e.removeListener("end",h),e.removeListener("error",m),e.removeListener("close",g)}}e.exports=s},9727:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){n(e);return}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)})}}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(4646).q.ERR_INVALID_ARG_TYPE;function c(e,t,n){if(t&&"function"==typeof t.next)r=t;else if(t&&t[Symbol.asyncIterator])r=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])r=t[Symbol.iterator]();else throw new l("iterable",["Iterable"],t);var r,i=new e(a({objectMode:!0},n)),s=!1;function c(){return u.apply(this,arguments)}function u(){return(u=o(function*(){try{var e=yield r.next(),t=e.value;e.done?i.push(null):i.push((yield t))?c():s=!1}catch(e){i.destroy(e)}})).apply(this,arguments)}return i._read=function(){s||(s=!0,c())},i}e.exports=c},8442:function(e,t,n){"use strict";function r(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var o,i=n(4646).q,a=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function l(e){if(e)throw e}function c(e){return e.setHeader&&"function"==typeof e.abort}function u(e,t,i,a){a=r(a);var l=!1;e.on("close",function(){l=!0}),void 0===o&&(o=n(9698)),o(e,{readable:t,writable:i},function(e){if(e)return a(e);l=!0,a()});var u=!1;return function(t){if(!l&&!u){if(u=!0,c(e))return e.abort();if("function"==typeof e.destroy)return e.destroy();a(t||new s("pipe"))}}}function d(e){e()}function f(e,t){return e.pipe(t)}function p(e){return e.length&&"function"==typeof e[e.length-1]?e.pop():l}function h(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=p(n);if(Array.isArray(n[0])&&(n=n[0]),n.length<2)throw new a("streams");var i=n.map(function(t,r){var a=r<n.length-1;return u(t,a,r>0,function(t){e||(e=t),t&&i.forEach(d),a||(i.forEach(d),o(e))})});return n.reduce(f)}e.exports=h},6776:function(e,t,n){"use strict";var r=n(4646).q.ERR_INVALID_OPT_VALUE;function o(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}function i(e,t,n,i){var a=o(t,i,n);if(null!=a){if(!(isFinite(a)&&Math.floor(a)===a)||a<0)throw new r(i?n:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:i}},4678:function(e,t,n){e.exports=n(2781)},3726:function(e,t,n){var r=n(2781);"disable"===i.env.READABLE_STREAM&&r?(e.exports=r.Readable,Object.assign(e.exports,r),e.exports.Stream=r):((t=e.exports=n(1709)).Stream=r||t,t.Readable=t,t.Writable=n(7337),t.Duplex=n(2403),t.Transform=n(1170),t.PassThrough=n(7889),t.finished=n(9698),t.pipeline=n(8442))},3225:function(e,t,n){"use strict";var r=n(4300).Buffer,o=n(3782),i=n(9029),a=Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function p(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function h(e,t){return e<<t|e>>>32-t}function m(e,t,n,r,o,i,a,s){return h(e+(t^n^r)+i+a|0,s)+o|0}function g(e,t,n,r,o,i,a,s){return h(e+(t&n|~t&r)+i+a|0,s)+o|0}function v(e,t,n,r,o,i,a,s){return h(e+((t|~n)^r)+i+a|0,s)+o|0}function y(e,t,n,r,o,i,a,s){return h(e+(t&r|n&~r)+i+a|0,s)+o|0}function b(e,t,n,r,o,i,a,s){return h(e+(t^(n|~r))+i+a|0,s)+o|0}o(p,i),p.prototype._update=function(){for(var e,t,n=a,r=0;r<16;++r)n[r]=this._block.readInt32LE(4*r);for(var o=0|this._a,i=0|this._b,p=0|this._c,w=0|this._d,S=0|this._e,x=0|this._a,E=0|this._b,C=0|this._c,_=0|this._d,k=0|this._e,O=0;O<80;O+=1)O<16?(e=m(o,i,p,w,S,n[s[O]],d[0],c[O]),t=b(x,E,C,_,k,n[l[O]],f[0],u[O])):O<32?(e=g(o,i,p,w,S,n[s[O]],d[1],c[O]),t=y(x,E,C,_,k,n[l[O]],f[1],u[O])):O<48?(e=v(o,i,p,w,S,n[s[O]],d[2],c[O]),t=v(x,E,C,_,k,n[l[O]],f[2],u[O])):O<64?(e=y(o,i,p,w,S,n[s[O]],d[3],c[O]),t=g(x,E,C,_,k,n[l[O]],f[3],u[O])):(e=b(o,i,p,w,S,n[s[O]],d[4],c[O]),t=m(x,E,C,_,k,n[l[O]],f[4],u[O])),o=S,S=w,w=h(p,10),p=i,i=e,x=k,k=_,_=h(C,10),C=E,E=t;var A=this._b+p+_|0;this._b=this._c+w+k|0,this._c=this._d+S+x|0,this._d=this._e+o+E|0,this._e=this._a+i+C|0,this._a=A},p.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=p},5055:function(e,t,n){var r=n(4300),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}},6911:function(e,t,n){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var r=n(4300),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}},2858:function(e,t,n){var r=n(6911).Buffer;function o(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,o=this._blockSize,i=e.length,a=this._len,s=0;s<i;){for(var l=a%o,c=Math.min(i-s,o-l),u=0;u<c;u++)n[l+u]=e[s+u];a+=c,s+=c,a%o==0&&this._update(n)}return this._len+=i,this},o.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,o=(n-r)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},o.prototype._update=function(){throw Error("_update must be implemented by subclass")},e.exports=o},4371:function(e,t,n){var r=e.exports=function(e){var t=r[e=e.toLowerCase()];if(!t)throw Error(e+" is not supported (we accept pull requests)");return new t};r.sha=n(4018),r.sha1=n(4179),r.sha224=n(532),r.sha256=n(1843),r.sha384=n(7455),r.sha512=n(9934)},4018:function(e,t,n){var r=n(3782),o=n(2858),i=n(6911).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=Array(80);function l(){this.init(),this._w=s,o.call(this,64,56)}function c(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function d(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(l,o),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,o=0|this._c,i=0|this._d,s=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=t[l-3]^t[l-8]^t[l-14]^t[l-16];for(var f=0;f<80;++f){var p=~~(f/20),h=c(n)+d(p,r,o,i)+s+t[f]+a[p]|0;s=i,i=o,o=u(r),r=n,n=h}this._a=n+this._a|0,this._b=r+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0},l.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},4179:function(e,t,n){var r=n(3782),o=n(2858),i=n(6911).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=Array(80);function l(){this.init(),this._w=s,o.call(this,64,56)}function c(e){return e<<1|e>>>31}function u(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function f(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(l,o),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,o=0|this._c,i=0|this._d,s=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=c(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var p=0;p<80;++p){var h=~~(p/20),m=u(n)+f(h,r,o,i)+s+t[p]+a[h]|0;s=i,i=o,o=d(r),r=n,n=m}this._a=n+this._a|0,this._b=r+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0},l.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},532:function(e,t,n){var r=n(3782),o=n(1843),i=n(2858),a=n(6911).Buffer,s=Array(64);function l(){this.init(),this._w=s,i.call(this,64,56)}r(l,o),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},1843:function(e,t,n){var r=n(3782),o=n(2858),i=n(6911).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=Array(64);function l(){this.init(),this._w=s,o.call(this,64,56)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function f(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function p(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function h(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}r(l,o),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,o=0|this._c,i=0|this._d,s=0|this._e,l=0|this._f,m=0|this._g,g=0|this._h,v=0;v<16;++v)t[v]=e.readInt32BE(4*v);for(;v<64;++v)t[v]=h(t[v-2])+t[v-7]+p(t[v-15])+t[v-16]|0;for(var y=0;y<64;++y){var b=g+f(s)+c(s,l,m)+a[y]+t[y]|0,w=d(n)+u(n,r,o)|0;g=m,m=l,l=s,s=i+b|0,i=o,o=r,r=n,n=b+w|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=s+this._e|0,this._f=l+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},7455:function(e,t,n){var r=n(3782),o=n(9934),i=n(2858),a=n(6911).Buffer,s=Array(160);function l(){this.init(),this._w=s,i.call(this,128,112)}r(l,o),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},9934:function(e,t,n){var r=n(3782),o=n(2858),i=n(6911).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=Array(160);function l(){this.init(),this._w=s,o.call(this,128,112)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function f(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function v(e,t){return e>>>0<t>>>0?1:0}r(l,o),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,o=0|this._ch,i=0|this._dh,s=0|this._eh,l=0|this._fh,y=0|this._gh,b=0|this._hh,w=0|this._al,S=0|this._bl,x=0|this._cl,E=0|this._dl,C=0|this._el,_=0|this._fl,k=0|this._gl,O=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4);for(;A<160;A+=2){var I=t[A-30],P=t[A-30+1],T=p(I,P),R=h(P,I),M=m(I=t[A-4],P=t[A-4+1]),N=g(P,I),j=t[A-14],D=t[A-14+1],L=t[A-32],B=t[A-32+1],Z=R+D|0,F=T+j+v(Z,R)|0;F=(F=F+M+v(Z=Z+N|0,N)|0)+L+v(Z=Z+B|0,B)|0,t[A]=F,t[A+1]=Z}for(var z=0;z<160;z+=2){F=t[z],Z=t[z+1];var U=u(n,r,o),H=u(w,S,x),q=d(n,w),V=d(w,n),W=f(s,C),$=f(C,s),G=a[z],K=a[z+1],Y=c(s,l,y),X=c(C,_,k),Q=O+$|0,J=b+W+v(Q,O)|0;J=(J=(J=J+Y+v(Q=Q+X|0,X)|0)+G+v(Q=Q+K|0,K)|0)+F+v(Q=Q+Z|0,Z)|0;var ee=V+H|0,et=q+U+v(ee,V)|0;b=y,O=k,y=l,k=_,l=s,_=C,s=i+J+v(C=E+Q|0,E)|0,i=o,E=x,o=r,x=S,r=n,S=w,n=J+et+v(w=Q+ee|0,Q)|0}this._al=this._al+w|0,this._bl=this._bl+S|0,this._cl=this._cl+x|0,this._dl=this._dl+E|0,this._el=this._el+C|0,this._fl=this._fl+_|0,this._gl=this._gl+k|0,this._hl=this._hl+O|0,this._ah=this._ah+n+v(this._al,w)|0,this._bh=this._bh+r+v(this._bl,S)|0,this._ch=this._ch+o+v(this._cl,x)|0,this._dh=this._dh+i+v(this._dl,E)|0,this._eh=this._eh+s+v(this._el,C)|0,this._fh=this._fh+l+v(this._fl,_)|0,this._gh=this._gh+y+v(this._gl,k)|0,this._hh=this._hh+b+v(this._hl,O)|0},l.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},3704:function(e,t,n){"use strict";var r=n(5055).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=i(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=h,this.end=m,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=v,t=3;break;default:this.write=y,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e,t,n){var r=t.length-1;if(r<n)return 0;var o=l(t[r]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--r<n||-2===o?0:(o=l(t[r]))>=0?(o>0&&(e.lastNeed=o-2),o):--r<n||-2===o?0:(o=l(t[r]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}function u(e,t,n){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function f(e,t){var n=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function h(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function g(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function v(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function y(e){return e.toString(this.encoding)}function b(e){return e&&e.length?this.write(e):""}t.s=s,s.prototype.write=function(e){var t,n;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=p,s.prototype.text=f,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},6769:function(e){function t(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}function r(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=t},4300:function(e){"use strict";e.exports=n(41438)},6113:function(e){"use strict";e.exports=n(61078)},2361:function(e){"use strict";e.exports=n(47324)},2781:function(e){"use strict";e.exports=n(5992)},1576:function(e){"use strict";e.exports=n(23457)},3837:function(e){"use strict";e.exports=n(19343)},6144:function(e){"use strict";e.exports=n(26627)},5866:function(e){"use strict";e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2908:function(e){"use strict";e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},9267:function(e){"use strict";e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},7992:function(e){"use strict";e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},2531:function(e){"use strict";e.exports={i8:"6.5.3"}},2510:function(e){"use strict";e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},a={};function s(e){var n=a[e];if(void 0!==n)return n.exports;var r=a[e]={id:e,loaded:!1,exports:{}},o=!0;try{t[e].call(r.exports,r,r.exports,s),o=!1}finally{o&&delete a[e]}return r.loaded=!0,r.exports}(function(){s.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}})(),s.ab=r+"/";var l={};(function(){"use strict";var e=l;e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=s(7223),e.createHash=e.Hash=s(9739),e.createHmac=e.Hmac=s(4873);var t=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Object.keys(s(9276)));e.getHashes=function(){return t};var n=s(4978);e.pbkdf2=n.pbkdf2,e.pbkdf2Sync=n.pbkdf2Sync;var r=s(8996);e.Cipher=r.Cipher,e.createCipher=r.createCipher,e.Cipheriv=r.Cipheriv,e.createCipheriv=r.createCipheriv,e.Decipher=r.Decipher,e.createDecipher=r.createDecipher,e.Decipheriv=r.Decipheriv,e.createDecipheriv=r.createDecipheriv,e.getCiphers=r.getCiphers,e.listCiphers=r.listCiphers;var o=s(6587);e.DiffieHellmanGroup=o.DiffieHellmanGroup,e.createDiffieHellmanGroup=o.createDiffieHellmanGroup,e.getDiffieHellman=o.getDiffieHellman,e.createDiffieHellman=o.createDiffieHellman,e.DiffieHellman=o.DiffieHellman;var i=s(4078);e.createSign=i.createSign,e.Sign=i.Sign,e.createVerify=i.createVerify,e.Verify=i.Verify,e.createECDH=s(9942);var a=s(9783);e.publicEncrypt=a.publicEncrypt,e.privateEncrypt=a.privateEncrypt,e.publicDecrypt=a.publicDecrypt,e.privateDecrypt=a.privateDecrypt;var c=s(6445);e.randomFill=c.randomFill,e.randomFillSync=c.randomFillSync,e.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify")},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}})(),e.exports=l}()},37534:function(){},7076:function(){},48233:function(e){e.exports={dots:"Dots_dots__SEZ_x",viewport:"Dots_viewport__KRVop",list:"Dots_list__8ijKR",item:"Dots_item__KdAbR",active:"Dots_active__FOZnD"}},36569:function(e){e.exports={promoCarousel:"ImageCarousel_promoCarousel__eQ0TY"}},44886:function(e){e.exports={"landing-body":"styles_landing-body__KwqeO","landing-title":"styles_landing-title__ykIpd","landing-btn":"styles_landing-btn__5qtIs","landing-asset":"styles_landing-asset__5_LtX","landing-footer":"styles_landing-footer__Ka8uB","landing-footer--base":"styles_landing-footer--base__9snvB"}},3451:function(e,t,n){var r="/";!function(){var t={452:function(e){"use strict";e.exports=n(63802)}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={exports:{}},a=!0;try{t[e](r,r.exports,i),a=!1}finally{a&&delete o[e]}return r.exports}i.ab=r+"/";var a={};(function(){var e,t=a,n=(e=i(452))&&"object"==typeof e&&"default"in e?e.default:e,r=/https?|ftp|gopher|file/;function o(e){"string"==typeof e&&(e=b(e));var t=function(e,t,n){var r=e.auth,o=e.hostname,i=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",c=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",e.host?c=r+e.host:o&&(c=r+(~o.indexOf(":")?"["+o+"]":o),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=t.encode(l));var u=e.search||l&&"?"+l||"";return i&&":"!==i.substr(-1)&&(i+=":"),e.slashes||(!i||n.test(i))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),{protocol:i,host:c,pathname:a=a.replace(/[?#]/g,encodeURIComponent),search:u=u.replace("#","%23"),hash:s}}(e,n,r);return""+t.protocol+t.host+t.pathname+t.search+t.hash}var s="http://",l="w.w",c=s+l,u=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,d=/https?|ftp|gopher|file/;function f(e,t){var n="string"==typeof e?b(e):e;e="object"==typeof e?o(e):e;var r=b(t),i="";n.protocol&&!n.slashes&&(i=n.protocol,e=e.replace(n.protocol,""),i+="/"===t[0]||"/"===e[0]?"/":""),i&&r.protocol&&(i="",r.slashes||(i=r.protocol,t=t.replace(r.protocol,"")));var a=e.match(u);a&&!r.protocol&&(e=e.substr((i=a[1]+(a[2]||"")).length),/^\/\/[^/]/.test(t)&&(i=i.slice(0,-1)));var l=new URL(e,c+"/"),f=new URL(t,l).toString().replace(c,""),p=r.protocol||n.protocol;return p+=n.slashes||r.slashes?"//":"",!i&&p?f=f.replace(s,p):i&&(f=f.replace(s,"")),d.test(f)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==f.slice(-1)||(f=f.slice(0,-1)),i&&(f=i+("/"===f[0]?f.substr(1):f)),f}function p(){}p.prototype.parse=b,p.prototype.format=o,p.prototype.resolve=f,p.prototype.resolveObject=f;var h=/^https?|ftp|gopher|file/,m=/^(.*?)([#?].*)/,g=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,v=/^([a-z0-9.+-]*:)?\/\/\/*/i,y=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function b(e,t,r){if(void 0===t&&(t=!1),void 0===r&&(r=!1),e&&"object"==typeof e&&e instanceof p)return e;var i=(e=e.trim()).match(m);e=i?i[1].replace(/\\/g,"/")+i[2]:e.replace(/\\/g,"/"),y.test(e)&&"/"!==e.slice(-1)&&(e+="/");var a=!/(^javascript)/.test(e)&&e.match(g),s=v.test(e),u="";a&&(h.test(a[1])||(u=a[1].toLowerCase(),e=""+a[2]+a[3]),a[2]||(s=!1,h.test(a[1])?(u=a[1],e=""+a[3]):e="//"+a[3]),3!==a[2].length&&1!==a[2].length||(u=a[1],e="/"+a[3]));var d,f=(i?i[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),b=f&&f[1],w=new p,S="",x="";try{d=new URL(e)}catch(t){S=t,u||r||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(x="/",e=e.substr(1));try{d=new URL(e,c)}catch(e){return w.protocol=u,w.href=u,w}}w.slashes=s&&!x,w.host=d.host===l?"":d.host,w.hostname=d.hostname===l?"":d.hostname.replace(/(\[|\])/g,""),w.protocol=S?u||null:d.protocol,w.search=d.search.replace(/\\/g,"%5C"),w.hash=d.hash.replace(/\\/g,"%5C");var E=e.split("#");!w.search&&~E[0].indexOf("?")&&(w.search="?"),w.hash||""!==E[1]||(w.hash="#"),w.query=t?n.decode(d.search.substr(1)):w.search.substr(1),w.pathname=x+(a?function(e){return e.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}})}(d.pathname):d.pathname),"about:"===w.protocol&&"blank"===w.pathname&&(w.protocol="",w.pathname=""),S&&"/"!==e[0]&&(w.pathname=w.pathname.substr(1)),u&&!h.test(u)&&"/"!==e.slice(-1)&&"/"===w.pathname&&(w.pathname=""),w.path=w.pathname+w.search,w.auth=[d.username,d.password].map(decodeURIComponent).filter(Boolean).join(":"),w.port=d.port,b&&!w.host.endsWith(b)&&(w.host+=b,w.port=b.slice(1)),w.href=x?""+w.pathname+w.search+w.hash:o(w);var C=/^(file)/.test(w.href)?["host","hostname"]:[];return Object.keys(w).forEach(function(e){~C.indexOf(e)||(w[e]=w[e]||null)}),w}t.parse=b,t.format=o,t.resolve=f,t.resolveObject=function(e,t){return b(f(e,t))},t.Url=p})(),e.exports=a}()},14788:function(e){var t="/";!function(){var n={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function l(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],u=!1,d=-1;function f(){u&&r&&(u=!1,r.length?c=r.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(r=c,c=[];++d<t;)r&&r[d].run();d=-1,t=c.length}r=null,u=!1,l(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}},a=!0;try{n[e](i,i.exports,o),a=!1}finally{a&&delete r[e]}return i.exports}o.ab=t+"/";var i=o(229);e.exports=i}()},63802:function(e){var t="/";!function(){"use strict";var n={815:function(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,o,i){r=r||"&",o=o||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(r);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var d,f,p,h,m=e[u].replace(s,"%20"),g=m.indexOf(o);g>=0?(d=m.substr(0,g),f=m.substr(g+1)):(d=m,f=""),p=decodeURIComponent(d),h=decodeURIComponent(f),t(a,p)?n(a[p])?a[p].push(h):a[p]=[a[p],h]:a[p]=h}return a};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,i,a,s){return(i=i||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?r(o(e),function(o){var s=encodeURIComponent(t(o))+a;return n(e[o])?r(e[o],function(e){return s+encodeURIComponent(t(e))}).join(i):s+encodeURIComponent(t(e[o]))}).join(i):s?encodeURIComponent(t(s))+a+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}},a=!0;try{n[e](i,i.exports,o),a=!1}finally{a&&delete r[e]}return i.exports}o.ab=t+"/";var i={};(function(){var e=i;e.decode=e.parse=o(815),e.encode=e.stringify=o(577)})(),e.exports=i}()},5992:function(e,t,n){var r="/",o=n(79895);!function(){var t={782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},646:function(e){"use strict";let t={};function n(e,n,r){function o(e,t,r){return"string"==typeof n?n:n(e,t,r)}r||(r=Error);class i extends r{constructor(e,t,n){super(o(e,t,n))}}i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let n=e.length;return(e=e.map(e=>String(e)),n>2)?`one of ${t} ${e.slice(0,n-1).join(", ")}, or `+e[n-1]:2===n?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}function o(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function i(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function a(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}n("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(e,t,n){let s,l;if("string"==typeof t&&o(t,"not ")?(s="must not be",t=t.replace(/^not /,"")):s="must be",i(e," argument"))l=`The ${e} ${s} ${r(t,"type")}`;else{let n=a(e,".")?"property":"argument";l=`The "${e}" ${n} ${s} ${r(t,"type")}`}return l+`. Received type ${typeof n}`},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,n){"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var i=n(709),a=n(337);n(782)(u,i);for(var s=r(a.prototype),l=0;l<s.length;l++){var c=s[l];u.prototype[c]||(u.prototype[c]=a.prototype[c])}function u(e){if(!(this instanceof u))return new u(e);i.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||o.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},889:function(e,t,n){"use strict";e.exports=o;var r=n(170);function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}n(782)(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},709:function(e,t,r){"use strict";e.exports=I,I.ReadableState=A,r(361).EventEmitter;var i,a,s,l,c,u=function(e,t){return e.listeners(t).length},d=r(678),f=r(300).Buffer,p=n.g.Uint8Array||function(){};function h(e){return f.from(e)}function m(e){return f.isBuffer(e)||e instanceof p}var g=r(837);a=g&&g.debuglog?g.debuglog("stream"):function(){};var v=r(379),y=r(25),b=r(776).getHighWaterMark,w=r(646).q,S=w.ERR_INVALID_ARG_TYPE,x=w.ERR_STREAM_PUSH_AFTER_EOF,E=w.ERR_METHOD_NOT_IMPLEMENTED,C=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(782)(I,d);var _=y.errorOrDestroy,k=["error","close","destroy","pause","resume"];function O(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function A(e,t,n){i=i||r(403),e=e||{},"boolean"!=typeof n&&(n=t instanceof i),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",n),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(s||(s=r(704).s),this.decoder=new s(e.encoding),this.encoding=e.encoding)}function I(e){if(i=i||r(403),!(this instanceof I))return new I(e);var t=this instanceof i;this._readableState=new A(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),d.call(this)}function P(e,t,n,r,o){a("readableAddChunk",t);var i,s=e._readableState;if(null===t)s.reading=!1,D(e,s);else if(o||(i=R(s,t)),i)_(e,i);else if(s.objectMode||t&&t.length>0){if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===f.prototype||(t=h(t)),r)s.endEmitted?_(e,new C):T(e,s,t,!0);else if(s.ended)_(e,new x);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?T(e,s,t,!1):Z(e,s)):T(e,s,t,!1)}}else r||(s.reading=!1,Z(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function T(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&L(e)),Z(e,t)}function R(e,t){var n;return m(t)||"string"==typeof t||void 0===t||e.objectMode||(n=new S("chunk",["string","Buffer","Uint8Array"],t)),n}Object.defineProperty(I.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),I.prototype.destroy=y.destroy,I.prototype._undestroy=y.undestroy,I.prototype._destroy=function(e,t){t(e)},I.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=f.from(e,t),t=""),n=!0),P(this,e,t,!1,n)},I.prototype.unshift=function(e){return P(this,e,null,!0,!1)},I.prototype.isPaused=function(){return!1===this._readableState.flowing},I.prototype.setEncoding=function(e){s||(s=r(704).s);var t=new s(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,o="";null!==n;)o+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this};var M=1073741824;function N(e){return e>=M?e=M:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function j(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=N(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function D(e,t){if(a("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,B(e)))}}function L(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,o.nextTick(B,e))}function B(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,W(e)}function Z(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(F,e,t))}function F(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(a("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function z(e){return function(){var t=e._readableState;a("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&u(e,"data")&&(t.flowing=!0,W(e))}}function U(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function H(e){a("readable nexttick read 0"),e.read(0)}function q(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(V,e,t))}function V(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),W(e),t.flowing&&!t.reading&&e.read(0)}function W(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function $(e,t){var n;return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n)}function G(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,o.nextTick(K,t,e))}function K(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Y(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1}I.prototype.read=function(e){a("read",e),e=parseInt(e,10);var t,n=this._readableState,r=e;if(0!==e&&(n.emittedReadable=!1),0===e&&n.needReadable&&((0!==n.highWaterMark?n.length>=n.highWaterMark:n.length>0)||n.ended))return a("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?G(this):L(this),null;if(0===(e=j(e,n))&&n.ended)return 0===n.length&&G(this),null;var o=n.needReadable;return a("need readable",o),(0===n.length||n.length-e<n.highWaterMark)&&a("length less than watermark",o=!0),n.ended||n.reading?a("reading or ended",o=!1):o&&(a("do read"),n.reading=!0,n.sync=!0,0===n.length&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(e=j(r,n))),null===(t=e>0?$(e,n):null)?(n.needReadable=n.length<=n.highWaterMark,e=0):(n.length-=e,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==e&&n.ended&&G(this)),null!==t&&this.emit("data",t),t},I.prototype._read=function(e){_(this,new E("_read()"))},I.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,a("pipe count=%d opts=%j",r.pipesCount,t);var i=t&&!1===t.end||e===o.stdout||e===o.stderr?v:l;function s(e,t){a("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function l(){a("onend"),e.end()}r.endEmitted?o.nextTick(i):n.once("end",i),e.on("unpipe",s);var c=z(n);e.on("drain",c);var d=!1;function f(){a("cleanup"),e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",l),n.removeListener("end",v),n.removeListener("data",p),d=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}function p(t){a("ondata");var o=e.write(t);a("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==Y(r.pipes,e))&&!d&&(a("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(t){a("onerror",t),v(),e.removeListener("error",h),0===u(e,"error")&&_(e,t)}function m(){e.removeListener("finish",g),v()}function g(){a("onfinish"),e.removeListener("close",m),v()}function v(){a("unpipe"),n.unpipe(e)}return n.on("data",p),O(e,"error",h),e.once("close",m),e.once("finish",g),e.emit("pipe",n),r.flowing||(a("pipe resume"),n.resume()),e},I.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,{hasUnpiped:!1});return this}var a=Y(t.pipes,e);return -1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},I.prototype.on=function(e,t){var n=d.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"!==e||r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,a("on readable",r.length,r.reading),r.length?L(this):r.reading||o.nextTick(H,this)),n},I.prototype.addListener=I.prototype.on,I.prototype.removeListener=function(e,t){var n=d.prototype.removeListener.call(this,e,t);return"readable"===e&&o.nextTick(U,this),n},I.prototype.removeAllListeners=function(e){var t=d.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&o.nextTick(U,this),t},I.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,q(this,e)),e.paused=!1,this},I.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},I.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",function(){if(a("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){a("wrapped data"),n.decoder&&(o=n.decoder.write(o)),(!n.objectMode||null!=o)&&(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<k.length;i++)e.on(k[i],this.emit.bind(this,k[i]));return this._read=function(t){a("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(I.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=r(871)),l(this)}),Object.defineProperty(I.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(I.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(I.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),I._fromList=$,Object.defineProperty(I.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(I.from=function(e,t){return void 0===c&&(c=r(727)),c(I,e,t)})},170:function(e,t,n){"use strict";e.exports=u;var r=n(646).q,o=r.ERR_METHOD_NOT_IMPLEMENTED,i=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(403);function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new i);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);l.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush(function(t,n){f(e,t,n)})}function f(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}n(782)(u,l),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new o("_transform()"))},u.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},337:function(e,t,r){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){V(t,e)}}e.exports=A,A.WritableState=O;var a,s,l={deprecate:r(769)},c=r(678),u=r(300).Buffer,d=n.g.Uint8Array||function(){};function f(e){return u.from(e)}function p(e){return u.isBuffer(e)||e instanceof d}var h=r(25),m=r(776).getHighWaterMark,g=r(646).q,v=g.ERR_INVALID_ARG_TYPE,y=g.ERR_METHOD_NOT_IMPLEMENTED,b=g.ERR_MULTIPLE_CALLBACK,w=g.ERR_STREAM_CANNOT_PIPE,S=g.ERR_STREAM_DESTROYED,x=g.ERR_STREAM_NULL_VALUES,E=g.ERR_STREAM_WRITE_AFTER_END,C=g.ERR_UNKNOWN_ENCODING,_=h.errorOrDestroy;function k(){}function O(e,t,n){a=a||r(403),e=e||{},"boolean"!=typeof n&&(n=t instanceof a),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=m(this,e,"writableHighWaterMark",n),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){D(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function A(e){var t=this instanceof(a=a||r(403));if(!t&&!s.call(A,this))return new A(e);this._writableState=new O(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function I(e,t){var n=new E;_(e,n),o.nextTick(t,n)}function P(e,t,n,r){var i;return null===n?i=new x:"string"==typeof n||t.objectMode||(i=new v("chunk",["string","Buffer"],n)),!i||(_(e,i),o.nextTick(r,i),!1)}function T(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,n)),t}function R(e,t,n,r,o,i){if(!n){var a=T(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else M(e,t,!1,s,r,o,i);return l}function M(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new S("write")):n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function N(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(H,e,t),e._writableState.errorEmitted=!0,_(e,r)):(i(r),e._writableState.errorEmitted=!0,_(e,r),H(e,t))}function j(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function D(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new b;if(j(n),t)N(e,n,r,t,i);else{var a=F(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||Z(e,n),r?o.nextTick(L,e,n,a,i):L(e,n,a,i)}}function L(e,t,n,r){n||B(e,t),t.pendingcb--,r(),H(e,t)}function B(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function Z(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=Array(t.bufferedRequestCount),o=t.corkedRequestsFree;o.entry=n;for(var a=0,s=!0;n;)r[a]=n,n.isBuf||(s=!1),n=n.next,a+=1;r.allBuffers=s,M(e,t,!0,t.length,r,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,u=n.callback,d=t.objectMode?1:l.length;if(M(e,t,!1,d,l,c,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function F(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function z(e,t){e._final(function(n){t.pendingcb--,n&&_(e,n),t.prefinished=!0,e.emit("prefinish"),H(e,t)})}function U(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,o.nextTick(z,e,t)))}function H(e,t){var n=F(t);if(n&&(U(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}function q(e,t,n){t.ending=!0,H(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function V(e,t,n){var r=e.entry;for(e.entry=null;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}r(782)(A,c),O.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(O.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===A&&e&&e._writableState instanceof O}})):s=function(e){return e instanceof this},A.prototype.pipe=function(){_(this,new w)},A.prototype.write=function(e,t,n){var r=this._writableState,o=!1,i=!r.objectMode&&p(e);return i&&!u.isBuffer(e)&&(e=f(e)),"function"==typeof t&&(n=t,t=null),i?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=k),r.ending?I(this,n):(i||P(this,r,e,n))&&(r.pendingcb++,o=R(this,r,i,e,t,n)),o},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||Z(this,e))},A.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new C(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,n){n(new y("_write()"))},A.prototype._writev=null,A.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||q(this,r,n),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=h.destroy,A.prototype._undestroy=h.undestroy,A.prototype._destroy=function(e,t){t(e)}},871:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i,a=n(698),s=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),d=Symbol("lastPromise"),f=Symbol("handlePromise"),p=Symbol("stream");function h(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var n=e[p].read();null!==n&&(e[d]=null,e[s]=null,e[l]=null,t(h(n,!1)))}}function g(e){o.nextTick(m,e)}function v(e,t){return function(n,r){e.then(function(){if(t[u]){n(h(void 0,!0));return}t[f](n,r)},r)}}var y=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((r(i={get stream(){return this[p]},next:function(){var e,t=this,n=this[c];if(null!==n)return Promise.reject(n);if(this[u])return Promise.resolve(h(void 0,!0));if(this[p].destroyed)return new Promise(function(e,n){o.nextTick(function(){t[c]?n(t[c]):e(h(void 0,!0))})});var r=this[d];if(r)e=new Promise(v(r,this));else{var i=this[p].read();if(null!==i)return Promise.resolve(h(i,!1));e=new Promise(this[f])}return this[d]=e,e}},Symbol.asyncIterator,function(){return this}),r(i,"return",function(){var e=this;return new Promise(function(t,n){e[p].destroy(null,function(e){if(e){n(e);return}t(h(void 0,!0))})})}),i),y),w=function(e){var t,n=Object.create(b,(r(t={},p,{value:e,writable:!0}),r(t,s,{value:null,writable:!0}),r(t,l,{value:null,writable:!0}),r(t,c,{value:null,writable:!0}),r(t,u,{value:e._readableState.endEmitted,writable:!0}),r(t,f,{value:function(e,t){var r=n[p].read();r?(n[d]=null,n[s]=null,n[l]=null,e(h(r,!1))):(n[s]=e,n[l]=t)},writable:!0}),t));return n[d]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[l];null!==t&&(n[d]=null,n[s]=null,n[l]=null,t(e)),n[c]=e;return}var r=n[s];null!==r&&(n[d]=null,n[s]=null,n[l]=null,r(h(void 0,!0))),n[u]=!0}),e.on("readable",g.bind(null,n)),n};e.exports=w},379:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var c=n(300).Buffer,u=n(837).inspect,d=u&&u.custom||"inspect";function f(e,t,n){c.prototype.copy.call(e,t,n)}e.exports=function(){function e(){a(this,e),this.head=null,this.tail=null,this.length=0}return l(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);for(var t=c.allocUnsafe(e>>>0),n=this.head,r=0;n;)f(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var o=t.data,i=e>o.length?o.length:e;if(i===o.length?r+=o:r+=o.slice(0,e),0==(e-=i)){i===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(i));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return u(this,o({},t,{depth:0,customInspect:!1}))}}]),e}()},25:function(e){"use strict";function t(e,t){var i=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.nextTick(a,this,e)):o.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?i._writableState?i._writableState.errorEmitted?o.nextTick(r,i):(i._writableState.errorEmitted=!0,o.nextTick(n,i,e)):o.nextTick(n,i,e):t?(o.nextTick(r,i),t(e)):o.nextTick(r,i)})),this}function n(e,t){a(e,t),r(e)}function r(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function i(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(e,t){e.emit("error",t)}function s(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}e.exports={destroy:t,undestroy:i,errorOrDestroy:s}},698:function(e,t,n){"use strict";var r=n(646).q.ERR_STREAM_PREMATURE_CLOSE;function o(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r)}}}function i(){}function a(e){return e.setHeader&&"function"==typeof e.abort}function s(e,t,n){if("function"==typeof t)return s(e,null,t);t||(t={}),n=o(n||i);var l=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,u=function(){e.writable||f()},d=e._writableState&&e._writableState.finished,f=function(){c=!1,d=!0,l||n.call(e)},p=e._readableState&&e._readableState.endEmitted,h=function(){l=!1,p=!0,c||n.call(e)},m=function(t){n.call(e,t)},g=function(){var t;return l&&!p?(e._readableState&&e._readableState.ended||(t=new r),n.call(e,t)):c&&!d?(e._writableState&&e._writableState.ended||(t=new r),n.call(e,t)):void 0},v=function(){e.req.on("finish",f)};return a(e)?(e.on("complete",f),e.on("abort",g),e.req?v():e.on("request",v)):c&&!e._writableState&&(e.on("end",u),e.on("close",u)),e.on("end",h),e.on("finish",f),!1!==t.error&&e.on("error",m),e.on("close",g),function(){e.removeListener("complete",f),e.removeListener("abort",g),e.removeListener("request",v),e.req&&e.req.removeListener("finish",f),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",f),e.removeListener("end",h),e.removeListener("error",m),e.removeListener("close",g)}}e.exports=s},727:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){n(e);return}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)})}}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(646).q.ERR_INVALID_ARG_TYPE;function c(e,t,n){if(t&&"function"==typeof t.next)r=t;else if(t&&t[Symbol.asyncIterator])r=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])r=t[Symbol.iterator]();else throw new l("iterable",["Iterable"],t);var r,i=new e(a({objectMode:!0},n)),s=!1;function c(){return u.apply(this,arguments)}function u(){return(u=o(function*(){try{var e=yield r.next(),t=e.value;e.done?i.push(null):i.push((yield t))?c():s=!1}catch(e){i.destroy(e)}})).apply(this,arguments)}return i._read=function(){s||(s=!0,c())},i}e.exports=c},442:function(e,t,n){"use strict";function r(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var o,i=n(646).q,a=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function l(e){if(e)throw e}function c(e){return e.setHeader&&"function"==typeof e.abort}function u(e,t,i,a){a=r(a);var l=!1;e.on("close",function(){l=!0}),void 0===o&&(o=n(698)),o(e,{readable:t,writable:i},function(e){if(e)return a(e);l=!0,a()});var u=!1;return function(t){if(!l&&!u){if(u=!0,c(e))return e.abort();if("function"==typeof e.destroy)return e.destroy();a(t||new s("pipe"))}}}function d(e){e()}function f(e,t){return e.pipe(t)}function p(e){return e.length&&"function"==typeof e[e.length-1]?e.pop():l}function h(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=p(n);if(Array.isArray(n[0])&&(n=n[0]),n.length<2)throw new a("streams");var i=n.map(function(t,r){var a=r<n.length-1;return u(t,a,r>0,function(t){e||(e=t),t&&i.forEach(d),a||(i.forEach(d),o(e))})});return n.reduce(f)}e.exports=h},776:function(e,t,n){"use strict";var r=n(646).q.ERR_INVALID_OPT_VALUE;function o(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}function i(e,t,n,i){var a=o(t,i,n);if(null!=a){if(!(isFinite(a)&&Math.floor(a)===a)||a<0)throw new r(i?n:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:i}},678:function(e,t,n){e.exports=n(781)},55:function(e,t,n){var r=n(300),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}},173:function(e,t,n){e.exports=o;var r=n(361).EventEmitter;function o(){r.call(this)}n(782)(o,r),o.Readable=n(709),o.Writable=n(337),o.Duplex=n(403),o.Transform=n(170),o.PassThrough=n(889),o.finished=n(698),o.pipeline=n(442),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},704:function(e,t,n){"use strict";var r=n(55).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=i(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=h,this.end=m,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=v,t=3;break;default:this.write=y,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e,t,n){var r=t.length-1;if(r<n)return 0;var o=l(t[r]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--r<n||-2===o?0:(o=l(t[r]))>=0?(o>0&&(e.lastNeed=o-2),o):--r<n||-2===o?0:(o=l(t[r]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}function u(e,t,n){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function f(e,t){var n=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function h(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function g(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function v(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function y(e){return e.toString(this.encoding)}function b(e){return e&&e.length?this.write(e):""}t.s=s,s.prototype.write=function(e){var t,n;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=p,s.prototype.text=f,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},769:function(e){function t(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}function r(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=t},300:function(e){"use strict";e.exports=n(41438)},361:function(e){"use strict";e.exports=n(47324)},781:function(e){"use strict";e.exports=n(47324).EventEmitter},837:function(e){"use strict";e.exports=n(19343)}},i={};function a(e){var n=i[e];if(void 0!==n)return n.exports;var r=i[e]={exports:{}},o=!0;try{t[e](r,r.exports,a),o=!1}finally{o&&delete i[e]}return r.exports}a.ab=r+"/";var s=a(173);e.exports=s}()},19343:function(e,t,n){var r="/",o=n(41438).Buffer,i=n(79895);!function(){var t={992:function(e){e.exports=function(e,n,r){if(e.filter)return e.filter(n,r);if(null==e||"function"!=typeof n)throw TypeError();for(var o=[],i=0;i<e.length;i++)if(t.call(e,i)){var a=e[i];n.call(r,a,i,e)&&o.push(a)}return o};var t=Object.prototype.hasOwnProperty},256:function(e,t,n){"use strict";var r=n(925),o=n(139),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},139:function(e,t,n){"use strict";var r=n(174),o=n(925),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,a,arguments);return l&&c&&l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var d=function(){return s(r,i,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},144:function(e){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;e.exports=function(e,r,o){if("[object Function]"!==n.call(r))throw TypeError("iterator must be a function");var i=e.length;if(i===+i)for(var a=0;a<i;a++)r.call(o,e[a],a,e);else for(var s in e)t.call(e,s)&&r.call(o,e[s],s,e)}},426:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i,a=this;if("function"!=typeof a||r.call(a)!==o)throw TypeError(t+a);for(var s=n.call(arguments,1),l=function(){if(!(this instanceof i))return a.apply(e,s.concat(n.call(arguments)));var t=a.apply(this,s.concat(n.call(arguments)));return Object(t)===t?t:this},c=Math.max(0,a.length-s.length),u=[],d=0;d<c;d++)u.push("$"+d);if(i=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(l),a.prototype){var f=function(){};f.prototype=a.prototype,i.prototype=new f,f.prototype=null}return i}},174:function(e,t,n){"use strict";var r=n(426);e.exports=Function.prototype.bind||r},500:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new a},u=l?function(){try{return arguments.callee,c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,d=n(115)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?r:f(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":h,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},g=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=f(o.prototype))}return m[t]=n,n},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n(174),b=n(101),w=y.call(Function.call,Array.prototype.concat),S=y.call(Function.apply,Array.prototype.splice),x=y.call(Function.call,String.prototype.replace),E=y.call(Function.call,String.prototype.slice),C=y.call(Function.call,RegExp.prototype.exec),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,k=/\\(\\)?/g,O=function(e){var t=E(e,0,1),n=E(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,_,function(e,t,n,o){r[r.length]=n?x(o,k,"$1"):t||e}),r},A=function(e,t){var n,r=e;if(b(v,r)&&(r="%"+(n=v[r])[0]+"%"),b(m,r)){var i=m[r];if(i===p&&(i=g(r)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/g,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=O(e),r=n.length>0?n[0]:"",i=A("%"+r+"%",t),s=i.name,c=i.value,u=!1,d=i.alias;d&&(r=d[0],S(n,w([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],g=E(h,0,1),v=E(h,-1);if(('"'===g||"'"===g||"`"===g||'"'===v||"'"===v||"`"===v)&&g!==v)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),r+="."+h,b(m,s="%"+r+"%"))c=m[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var y=l(c,h);c=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[h]}else p=b(c,h),c=c[h];p&&!u&&(m[s]=c)}}return c}},925:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new a},u=l?function(){try{return arguments.callee,c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,d=n(115)(),f=n(504)(),p=Object.getPrototypeOf||(f?function(e){return e.__proto__}:null),h={},m="undefined"!=typeof Uint8Array&&p?p(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&p?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&p?p(p([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&p?p((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&p?p((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&p?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":m,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(p)try{null.error}catch(e){var v=p(p(e));g["%Error.prototype%"]=v}var y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&p&&(n=p(o.prototype))}return g[t]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=n(174),S=n(101),x=w.call(Function.call,Array.prototype.concat),E=w.call(Function.apply,Array.prototype.splice),C=w.call(Function.call,String.prototype.replace),_=w.call(Function.call,String.prototype.slice),k=w.call(Function.call,RegExp.prototype.exec),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,I=function(e){var t=_(e,0,1),n=_(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return C(e,O,function(e,t,n,o){r[r.length]=n?C(o,A,"$1"):t||e}),r},P=function(e,t){var n,r=e;if(S(b,r)&&(r="%"+(n=b[r])[0]+"%"),S(g,r)){var i=g[r];if(i===h&&(i=y(r)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===k(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=I(e),r=n.length>0?n[0]:"",i=P("%"+r+"%",t),s=i.name,c=i.value,u=!1,d=i.alias;d&&(r=d[0],E(n,x([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],m=_(h,0,1),v=_(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===v||"'"===v||"`"===v)&&m!==v)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),r+="."+h,S(g,s="%"+r+"%"))c=g[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var y=l(c,h);c=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[h]}else p=S(c,h),c=c[h];p&&!u&&(g[s]=c)}}return c}},504:function(e){"use strict";var t={foo:{}},n=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(({__proto__:null})instanceof n)}},942:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(773);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},773:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(i.value!==r||!0!==i.enumerable)return!1}return!0}},115:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(832);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},832:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(i.value!==r||!0!==i.enumerable)return!1}return!0}},101:function(e,t,n){"use strict";var r=n(174);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},157:function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,n=Object.prototype.toString,r=function(e){return(!t||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===n.call(e)},o=function(e){return!!r(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==n.call(e)&&"[object Function]"===n.call(e.callee)},i=function(){return r(arguments)}();r.isLegacyArguments=o,e.exports=i?r:o},391:function(e){"use strict";var t=Object.prototype.toString,n=Function.prototype.toString,r=/^\s*(?:function)?\*/,o="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=Object.getPrototypeOf,a=function(){if(!o)return!1;try{return Function("return function*() {}")()}catch(e){}}(),s=a?i(a):{};e.exports=function(e){return"function"==typeof e&&(!!r.test(n.call(e))||(o?i(e)===s:"[object GeneratorFunction]"===t.call(e)))}},994:function(e,t,r){"use strict";var o=r(144),i=r(349),a=r(256),s=a("Object.prototype.toString"),l=r(942)()&&"symbol"==typeof Symbol.toStringTag,c=i(),u=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return -1},d=a("String.prototype.slice"),f={},p=r(24),h=Object.getPrototypeOf;l&&p&&h&&o(c,function(e){var t=new n.g[e];if(!(Symbol.toStringTag in t))throw EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var r=h(t),o=p(r,Symbol.toStringTag);o||(o=p(h(r),Symbol.toStringTag)),f[e]=o.get});var m=function(e){var t=!1;return o(f,function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}}),t};e.exports=function(e){return!!e&&"object"==typeof e&&(l?!!p&&m(e):u(c,d(s(e),8,-1))>-1)}},369:function(e){e.exports=function(e){return e instanceof o}},584:function(e,t,n){"use strict";var r=n(157),o=n(391),i=n(490),a=n(994);function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,u=s(Object.prototype.toString),d=s(Number.prototype.valueOf),f=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(l)var h=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch}function y(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||z(e)}function b(e){return"Uint8Array"===i(e)}function w(e){return"Uint8ClampedArray"===i(e)}function S(e){return"Uint16Array"===i(e)}function x(e){return"Uint32Array"===i(e)}function E(e){return"Int8Array"===i(e)}function C(e){return"Int16Array"===i(e)}function _(e){return"Int32Array"===i(e)}function k(e){return"Float32Array"===i(e)}function O(e){return"Float64Array"===i(e)}function A(e){return"BigInt64Array"===i(e)}function I(e){return"BigUint64Array"===i(e)}function P(e){return"[object Map]"===u(e)}function T(e){return"undefined"!=typeof Map&&(P.working?P(e):e instanceof Map)}function R(e){return"[object Set]"===u(e)}function M(e){return"undefined"!=typeof Set&&(R.working?R(e):e instanceof Set)}function N(e){return"[object WeakMap]"===u(e)}function j(e){return"undefined"!=typeof WeakMap&&(N.working?N(e):e instanceof WeakMap)}function D(e){return"[object WeakSet]"===u(e)}function L(e){return D(e)}function B(e){return"[object ArrayBuffer]"===u(e)}function Z(e){return"undefined"!=typeof ArrayBuffer&&(B.working?B(e):e instanceof ArrayBuffer)}function F(e){return"[object DataView]"===u(e)}function z(e){return"undefined"!=typeof DataView&&(F.working?F(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=o,t.isTypedArray=a,t.isPromise=v,t.isArrayBufferView=y,t.isUint8Array=b,t.isUint8ClampedArray=w,t.isUint16Array=S,t.isUint32Array=x,t.isInt8Array=E,t.isInt16Array=C,t.isInt32Array=_,t.isFloat32Array=k,t.isFloat64Array=O,t.isBigInt64Array=A,t.isBigUint64Array=I,P.working="undefined"!=typeof Map&&P(new Map),t.isMap=T,R.working="undefined"!=typeof Set&&R(new Set),t.isSet=M,N.working="undefined"!=typeof WeakMap&&N(new WeakMap),t.isWeakMap=j,D.working="undefined"!=typeof WeakSet&&D(new WeakSet),t.isWeakSet=L,B.working="undefined"!=typeof ArrayBuffer&&B(new ArrayBuffer),t.isArrayBuffer=Z,F.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&F(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=z;var U="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function H(e){return"[object SharedArrayBuffer]"===u(e)}function q(e){return void 0!==U&&(void 0===H.working&&(H.working=H(new U)),H.working?H(e):e instanceof U)}function V(e){return"[object AsyncFunction]"===u(e)}function W(e){return"[object Map Iterator]"===u(e)}function $(e){return"[object Set Iterator]"===u(e)}function G(e){return"[object Generator]"===u(e)}function K(e){return"[object WebAssembly.Module]"===u(e)}function Y(e){return g(e,d)}function X(e){return g(e,f)}function Q(e){return g(e,p)}function J(e){return l&&g(e,h)}function ee(e){return c&&g(e,m)}function et(e){return Y(e)||X(e)||Q(e)||J(e)||ee(e)}function en(e){return"undefined"!=typeof Uint8Array&&(Z(e)||q(e))}t.isSharedArrayBuffer=q,t.isAsyncFunction=V,t.isMapIterator=W,t.isSetIterator=$,t.isGeneratorObject=G,t.isWebAssemblyCompiledModule=K,t.isNumberObject=Y,t.isStringObject=X,t.isBooleanObject=Q,t.isBigIntObject=J,t.isSymbolObject=ee,t.isBoxedPrimitive=et,t.isAnyArrayBuffer=en,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},177:function(e,t,n){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},o=/%[sdj%]/g;t.format=function(e){if(!C(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(c(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,i=r.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<i;s=r[++n])S(s)||!A(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,n){if(void 0!==i&&!0===i.noDeprecation)return e;if(void 0===i)return function(){return t.deprecate(e,n).apply(this,arguments)};var r=!1;return function(){if(!r){if(i.throwDeprecation)throw Error(n);i.traceDeprecation?console.trace(n):console.error(n),r=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(i.env.NODE_DEBUG){var l=i.env.NODE_DEBUG;s=RegExp("^"+(l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function c(e,n){var r={seen:[],stylize:d};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),w(n)?r.showHidden=n:n&&t._extend(r,n),k(r.showHidden)&&(r.showHidden=!1),k(r.depth)&&(r.depth=2),k(r.colors)&&(r.colors=!1),k(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),p(r,e,r.depth)}function u(e,t){var n=c.styles[t];return n?"\x1b["+c.colors[n][0]+"m"+e+"\x1b["+c.colors[n][1]+"m":e}function d(e,t){return e}function f(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function p(e,n,r){if(e.customInspect&&n&&T(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var o,i=n.inspect(r,e);return C(i)||(i=p(e,i,r)),i}var a=h(e,n);if(a)return a;var s=Object.keys(n),l=f(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),P(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return m(n);if(0===s.length){if(T(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(O(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(I(n))return e.stylize(Date.prototype.toString.call(n),"date");if(P(n))return m(n)}var u="",d=!1,w=["{","}"];return(b(n)&&(d=!0,w=["[","]"]),T(n)&&(u=" [Function"+(n.name?": "+n.name:"")+"]"),O(n)&&(u=" "+RegExp.prototype.toString.call(n)),I(n)&&(u=" "+Date.prototype.toUTCString.call(n)),P(n)&&(u=" "+m(n)),0!==s.length||d&&0!=n.length)?r<0?O(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),o=d?g(e,n,r,l,s):s.map(function(t){return v(e,n,r,l,t,d)}),e.seen.pop(),y(o,u,w)):w[0]+u+w[1]}function h(e,t){if(k(t))return e.stylize("undefined","undefined");if(C(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return E(t)?e.stylize(""+t,"number"):w(t)?e.stylize(""+t,"boolean"):S(t)?e.stylize("null","null"):void 0}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function g(e,t,n,r,o){for(var i=[],a=0,s=t.length;a<s;++a)L(t,String(a))?i.push(v(e,t,n,r,String(a),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(v(e,t,n,r,o,!0))}),i}function v(e,t,n,r,o,i){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),L(r,o)||(a="["+o+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=S(n)?p(e,l.value,null):p(e,l.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return"   "+e}).join("\n")):s=e.stylize("[Circular]","special")),k(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function y(e,t,n){var r=0;return e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function b(e){return Array.isArray(e)}function w(e){return"boolean"==typeof e}function S(e){return null===e}function x(e){return null==e}function E(e){return"number"==typeof e}function C(e){return"string"==typeof e}function _(e){return"symbol"==typeof e}function k(e){return void 0===e}function O(e){return A(e)&&"[object RegExp]"===M(e)}function A(e){return"object"==typeof e&&null!==e}function I(e){return A(e)&&"[object Date]"===M(e)}function P(e){return A(e)&&("[object Error]"===M(e)||e instanceof Error)}function T(e){return"function"==typeof e}function R(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function M(e){return Object.prototype.toString.call(e)}function N(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()]){if(s.test(e)){var n=i.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else a[e]=function(){}}return a[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(584),t.isArray=b,t.isBoolean=w,t.isNull=S,t.isNullOrUndefined=x,t.isNumber=E,t.isString=C,t.isSymbol=_,t.isUndefined=k,t.isRegExp=O,t.types.isRegExp=O,t.isObject=A,t.isDate=I,t.types.isDate=I,t.isError=P,t.types.isNativeError=P,t.isFunction=T,t.isPrimitive=R,t.isBuffer=n(369);var j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function D(){var e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":");return[e.getDate(),j[e.getMonth()],t].join(" ")}function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",D(),t.format.apply(t,arguments))},t.inherits=n(782),t._extend=function(e,t){if(!t||!A(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var B="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function Z(e,t){if(!e){var n=Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function F(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!=typeof r)throw TypeError("The last argument must be of type Function");var o=this,a=function(){return r.apply(o,arguments)};e.apply(this,t).then(function(e){i.nextTick(a.bind(null,null,e))},function(e){i.nextTick(Z.bind(null,e,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,r(e)),t}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(B&&e[B]){var t=e[B];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,B,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push(function(e,r){e?n(e):t(r)});try{e.apply(this,o)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),B&&Object.defineProperty(t,B,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=B,t.callbackify=F},490:function(e,t,r){"use strict";var o=r(144),i=r(349),a=r(256),s=a("Object.prototype.toString"),l=r(942)()&&"symbol"==typeof Symbol.toStringTag,c=i(),u=a("String.prototype.slice"),d={},f=r(24),p=Object.getPrototypeOf;l&&f&&p&&o(c,function(e){if("function"==typeof n.g[e]){var t=new n.g[e];if(!(Symbol.toStringTag in t))throw EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var r=p(t),o=f(r,Symbol.toStringTag);o||(o=f(p(r),Symbol.toStringTag)),d[e]=o.get}});var h=function(e){var t=!1;return o(d,function(n,r){if(!t)try{var o=n.call(e);o===r&&(t=o)}catch(e){}}),t},m=r(994);e.exports=function(e){return!!m(e)&&(l?h(e):u(s(e),8,-1))}},349:function(e,t,r){"use strict";var o=r(992);e.exports=function(){return o(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],function(e){return"function"==typeof n.g[e]})}},24:function(e,t,n){"use strict";var r=n(500)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r}},a={};function s(e){var n=a[e];if(void 0!==n)return n.exports;var r=a[e]={exports:{}},o=!0;try{t[e](r,r.exports,s),o=!1}finally{o&&delete a[e]}return r.exports}s.ab=r+"/";var l=s(177);e.exports=l}()},26627:function(module){var __dirname="/";!function(){var __webpack_modules__={950:function(__unused_webpack_module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return n;return -1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)t.push(n);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,n){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:n})}}catch(e){return function(e,t,n){e[t]=n}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var n=t.contentWindow,r=n.eval,o=n.execScript;!r&&o&&(o.call(n,"null"),r=n.eval),forEach(Object_keys(e),function(t){n[t]=e[t]}),forEach(globals,function(t){e[t]&&(n[t]=e[t])});var i=Object_keys(n),a=r.call(n,this.code);return forEach(Object_keys(n),function(t){(t in e||-1===indexOf(i,t))&&(e[t]=n[t])}),forEach(globals,function(t){t in e||defineProp(e,t,n[t])}),document.body.removeChild(t),a},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),n=this.runInContext(t);return e&&forEach(Object_keys(t),function(n){e[n]=t[n]}),n},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var n=Script(t);return n[e].apply(n,[].slice.call(arguments,1))}}),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(n){t[n]=e[n]}),t}}};"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var __nested_webpack_exports__={};__webpack_modules__[950](0,__nested_webpack_exports__),module.exports=__nested_webpack_exports__}()},5384:function(e,t,n){e.exports=n(34113)},66786:function(e,t,n){e.exports=n(73357)},27826:function(e,t,n){e.exports=n(33970)},15401:function(e,t,n){e.exports=n(3206)},71401:function(e,t,n){e.exports=n(35900)},22167:function(e,t,n){e.exports=n(27834)},49626:function(e,t,n){e.exports=n(94292)},52002:function(e,t,n){e.exports=n(98341)},94760:function(e){"use strict";var t=!!("undefined"!=typeof window&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},33912:function(e){var t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,g=!1;function v(){if(!g){g=!0;var e=navigator.userAgent,v=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),u=/Android/i.exec(e),h=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),v){(t=v[1]?parseFloat(v[1]):v[5]?parseFloat(v[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);a=b?parseFloat(b[1])+4:t,n=v[2]?parseFloat(v[2]):NaN,r=v[3]?parseFloat(v[3]):NaN,i=(o=v[4]?parseFloat(v[4]):NaN)&&(v=/(?:Chrome\/(\d+\.\d+))/.exec(e))&&v[1]?parseFloat(v[1]):NaN}else t=n=r=i=o=NaN;if(y){if(y[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);s=!w||parseFloat(w[1].replace("_","."))}else s=!1;l=!!y[2],c=!!y[3]}else s=l=c=!1}}var y={ie:function(){return v()||t},ieCompatibilityMode:function(){return v()||a>t},ie64:function(){return y.ie()&&d},firefox:function(){return v()||n},opera:function(){return v()||r},webkit:function(){return v()||o},safari:function(){return y.webkit()},chrome:function(){return v()||i},windows:function(){return v()||l},osx:function(){return v()||s},linux:function(){return v()||c},iphone:function(){return v()||f},mobile:function(){return v()||f||p||u||m},nativeApp:function(){return v()||h},android:function(){return v()||u},ipad:function(){return v()||p}};e.exports=y},22969:function(e,t,n){"use strict";var r,o=n(94760);/**
 * Checks if an event is supported in the current execution environment.
 *
 * NOTE: This will not work correctly for non-generic events such as `change`,
 * `reset`, `load`, `error`, and `select`.
 *
 * Borrows from Modernizr.
 *
 * @param {string} eventNameSuffix Event name, e.g. "click".
 * @param {?boolean} capture Check if the capture phase is supported.
 * @return {boolean} True if the event is supported.
 * @internal
 * @license Modernizr 3.0.0pre (Custom Build) | MIT
 */function i(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=i},98341:function(e,t,n){"use strict";var r=n(33912),o=n(22969),i=10,a=40,s=800;function l(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*i,o=n*i,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=a,o*=a):(r*=s,o*=s)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}l.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=l},19434:function(e){function t(e){return function(t,n,r,o){var s,l=o&&a(o.normalizer)?o.normalizer:i;n=l(n);for(var c=!1;!c;)u();function u(){for(s in t){var e=l(s);if(0===n.indexOf(e)){var r=n.substr(e.length);if("."===r.charAt(0)||0===r.length){n=r.substr(1);var o=t[s];if(null==o||!n.length){c=!0;return}t=o;return}}}s=void 0,c=!0}if(s)return null==t?t:e(t,s,r)}}function n(e,t){if(e.hasOwnProperty(t))return e[t]}function r(e,t){return e.hasOwnProperty(t)&&delete e[t],e}function o(e,t,n){return e.hasOwnProperty(t)&&(e[t]=n),e}function i(e){return e.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}function a(e){return"function"==typeof e}e.exports=t(n),e.exports.find=e.exports,e.exports.replace=function(e,n,r,i){return t(o).call(this,e,n,r,i),e},e.exports.del=function(e,n,o){return t(r).call(this,e,n,null,o),e}},24653:function(e){var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=n(),e.exports.createColors=n},82980:function(e){e.exports=function(e,t,n,r){var o=e[0],i=e[1],a=!1;void 0===n&&(n=0),void 0===r&&(r=t.length);for(var s=(r-n)/2,l=0,c=s-1;l<s;c=l++){var u=t[n+2*l+0],d=t[n+2*l+1],f=t[n+2*c+0],p=t[n+2*c+1];d>i!=p>i&&o<(f-u)*(i-d)/(p-d)+u&&(a=!a)}return a}},71807:function(e,t,n){var r=n(82980),o=n(70375);e.exports=function(e,t,n,i){return t.length>0&&Array.isArray(t[0])?o(e,t,n,i):r(e,t,n,i)},e.exports.nested=o,e.exports.flat=r},70375:function(e){e.exports=function(e,t,n,r){var o=e[0],i=e[1],a=!1;void 0===n&&(n=0),void 0===r&&(r=t.length);for(var s=r-n,l=0,c=s-1;l<s;c=l++){var u=t[l+n][0],d=t[l+n][1],f=t[c+n][0],p=t[c+n][1];d>i!=p>i&&o<(f-u)*(i-d)/(p-d)+u&&(a=!a)}return a}},86535:function(e,t,n){"use strict";n.d(t,{bC:function(){return g},m4:function(){return L},DZ:function(){return F}});var r,o=n(12314);function i(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}function u(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d(e,t,n){return(d=u()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&a(o,n.prototype),o}).apply(null,arguments)}function f(e){var t="function"==typeof Map?new Map:void 0;return(f=function(e){if(null===e||!c(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return d(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)})(e)}function p(e,t){return t||(t=e.slice(0)),e.raw=t,e}var h=function(e){function t(t){return i(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return s(t,e),t}(f(Error));function m(e){for(var t="",n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0;i<e.length;i+=1)if(t+=e[i],i===r.length-1&&r[i]){var a=r.filter(function(e){return!!e});a.length>1?t=t.slice(0,-1)+", "+r[i]:1===a.length&&(t+=""+r[i])}else r[i]&&(t+=r[i]+" ");return t.trim()}function g(e){var t=e.colorStops,n=e.fallback,o=e.toDirection,i=void 0===o?"":o;if(!t||t.length<2)throw new h(56);return{backgroundColor:n||t[0].replace(/,\s+/g,",").split(" ")[0].replace(/,(?=\S)/g,", "),backgroundImage:m(r||(r=p(["linear-gradient(","",")"])),i,t.join(", ").replace(/,(?=\S)/g,", "))}}function v(e){return Math.round(255*e)}function y(e,t,n){return v(e)+","+v(t)+","+v(n)}function b(e,t,n,r){if(void 0===r&&(r=y),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);var u=n-i/2;return r(s+u,l+u,c+u)}var w={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function S(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return w[t]?"#"+w[t]:e}var x=/^#[a-fA-F0-9]{6}$/,E=/^#[a-fA-F0-9]{8}$/,C=/^#[a-fA-F0-9]{3}$/,_=/^#[a-fA-F0-9]{4}$/,k=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,O=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,A=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,I=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function P(e){if("string"!=typeof e)throw new h(3);var t=S(e);if(t.match(x))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(E)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(C))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(_)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=k.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=O.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])};var a=A.exec(t);if(a){var s="rgb("+b(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=k.exec(s);if(!l)throw new h(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=I.exec(t.substring(0,50));if(c){var u="rgb("+b(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",d=k.exec(u);if(!d)throw new h(4,t,u);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+c[4])}}throw new h(5)}var T=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function R(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function M(e){return R(Math.round(255*e))}function N(e,t,n){return T("#"+M(e)+M(t)+M(n))}function j(e,t,n){return b(e,t,n,N)}function D(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return T("#"+R(e)+R(t)+R(n));if("object"==typeof e&&void 0===t&&void 0===n)return T("#"+R(e.red)+R(e.green)+R(e.blue));throw new h(6)}function L(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=P(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?D(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?D(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new h(7)}function B(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):B(e,t,r)}}function Z(e,t,n){return Math.max(e,Math.min(t,n))}var F=function(e){return B(e,e.length,[])}(function(e,t){if("transparent"===t)return t;var n=P(t),r="number"==typeof n.alpha?n.alpha:1;return L((0,o.Z)({},n,{alpha:Z(0,1,+(100*r-100*parseFloat(e)).toFixed(2)/100)}))})},31772:function(e,t,n){"use strict";var r=n(25148);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},7862:function(e,t,n){e.exports=n(31772)()},25148:function(e){"use strict";var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=t},86099:function(e,t,n){let r=n(43941),o=n(21403),i=n(13945),a=n(160);function s(e,t,n,i,a){let s=[].slice.call(arguments,1),l=s.length,c="function"==typeof s[l-1];if(!c&&!r())throw Error("Callback required as last argument");if(c){if(l<2)throw Error("Too few arguments provided");2===l?(a=n,n=t,t=i=void 0):3===l&&(t.getContext&&void 0===a?(a=i,i=void 0):(a=i,i=n,n=t,t=void 0))}else{if(l<1)throw Error("Too few arguments provided");return 1===l?(n=t,t=i=void 0):2!==l||t.getContext||(i=n,n=t,t=void 0),new Promise(function(r,a){try{let a=o.create(n,i);r(e(a,t,i))}catch(e){a(e)}})}try{let r=o.create(n,i);a(null,e(r,t,i))}catch(e){a(e)}}t.create=o.create,t.toCanvas=s.bind(null,i.render),t.toDataURL=s.bind(null,i.renderToDataURL),t.toString=s.bind(null,function(e,t,n){return a.render(e,n)})},43941:function(e){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},96807:function(e,t,n){let r=n(79992).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];let t=Math.floor(e/7)+2,n=r(e),o=145===n?26:2*Math.ceil((n-13)/(2*t-2)),i=[n-7];for(let e=1;e<t-1;e++)i[e]=i[e-1]-o;return i.push(6),i.reverse()},t.getPositions=function(e){let n=[],r=t.getRowColCoords(e),o=r.length;for(let e=0;e<o;e++)for(let t=0;t<o;t++)(0!==e||0!==t)&&(0!==e||t!==o-1)&&(e!==o-1||0!==t)&&n.push([r[e],r[t]]);return n}},46556:function(e,t,n){let r=n(2340),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function i(e){this.mode=r.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*o.indexOf(this.data[t]);n+=o.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},50827:function(e){function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){let t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},92648:function(e){function t(e){if(!e||e<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,n,r){let o=e*this.size+t;this.data[o]=n,r&&(this.reservedBit[o]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},92531:function(e,t,n){let r=n(73668),o=n(2340);function i(e){this.mode=o.BYTE,this.data=new Uint8Array(r(e))}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=i},84460:function(e,t,n){let r=n(15170),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return o[(e-1)*4+0];case r.M:return o[(e-1)*4+1];case r.Q:return o[(e-1)*4+2];case r.H:return o[(e-1)*4+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return i[(e-1)*4+0];case r.M:return i[(e-1)*4+1];case r.Q:return i[(e-1)*4+2];case r.H:return i[(e-1)*4+3];default:return}}},15170:function(e,t){function n(e){if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw Error("Unknown EC Level: "+e)}}t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return n(e)}catch(e){return r}}},99543:function(e,t,n){let r=n(79992).getSymbolSize,o=7;t.getPositions=function(e){let t=r(e);return[[0,0],[t-o,0],[0,t-o]]}},23686:function(e,t,n){let r=n(79992),o=1335,i=21522,a=r.getBCHDigit(o);t.getEncodedBits=function(e,t){let n=e.bit<<3|t,s=n<<10;for(;r.getBCHDigit(s)-a>=0;)s^=o<<r.getBCHDigit(s)-a;return(n<<10|s)^i}},57336:function(e,t){let n=new Uint8Array(512),r=new Uint8Array(256);(function(){let e=1;for(let t=0;t<255;t++)n[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(let e=255;e<512;e++)n[e]=n[e-255]})(),t.log=function(e){if(e<1)throw Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},44046:function(e,t,n){let r=n(2340),o=n(79992);function i(e){this.mode=r.KANJI,this.data=e}i.getBitsLength=function(e){return 13*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=o.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n=(n>>>8&255)*192+(255&n),e.put(n,13)}},e.exports=i},33340:function(e,t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};let n={N1:3,N2:3,N3:40,N4:10};function r(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error("bad maskPattern:"+e)}}t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){let t=e.size,r=0,o=0,i=0,a=null,s=null;for(let l=0;l<t;l++){o=i=0,a=s=null;for(let c=0;c<t;c++){let t=e.get(l,c);t===a?o++:(o>=5&&(r+=n.N1+(o-5)),a=t,o=1),(t=e.get(c,l))===s?i++:(i>=5&&(r+=n.N1+(i-5)),s=t,i=1)}o>=5&&(r+=n.N1+(o-5)),i>=5&&(r+=n.N1+(i-5))}return r},t.getPenaltyN2=function(e){let t=e.size,r=0;for(let n=0;n<t-1;n++)for(let o=0;o<t-1;o++){let t=e.get(n,o)+e.get(n,o+1)+e.get(n+1,o)+e.get(n+1,o+1);(4===t||0===t)&&r++}return r*n.N2},t.getPenaltyN3=function(e){let t=e.size,r=0,o=0,i=0;for(let n=0;n<t;n++){o=i=0;for(let a=0;a<t;a++)o=o<<1&2047|e.get(n,a),a>=10&&(1488===o||93===o)&&r++,i=i<<1&2047|e.get(a,n),a>=10&&(1488===i||93===i)&&r++}return r*n.N3},t.getPenaltyN4=function(e){let t=0,r=e.data.length;for(let n=0;n<r;n++)t+=e.data[n];return Math.abs(Math.ceil(100*t/r/5)-10)*n.N4},t.applyMask=function(e,t){let n=t.size;for(let o=0;o<n;o++)for(let i=0;i<n;i++)t.isReserved(i,o)||t.xor(i,o,r(e,i,o))},t.getBestMask=function(e,n){let r=Object.keys(t.Patterns).length,o=0,i=1/0;for(let a=0;a<r;a++){n(a),t.applyMask(a,e);let r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(a,e),r<i&&(i=r,o=a)}return o}},2340:function(e,t,n){let r=n(4780),o=n(78436);function i(e){if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw Error("Unknown mode: "+e)}}t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw Error("Invalid mode: "+e);if(!r.isValid(t))throw Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return i(e)}catch(e){return n}}},32010:function(e,t,n){let r=n(2340);function o(e){this.mode=r.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t,n,r;for(t=0;t+3<=this.data.length;t+=3)r=parseInt(n=this.data.substr(t,3),10),e.put(r,10);let o=this.data.length-t;o>0&&(r=parseInt(n=this.data.substr(t),10),e.put(r,3*o+1))},e.exports=o},21762:function(e,t,n){let r=n(57336);t.mul=function(e,t){let n=new Uint8Array(e.length+t.length-1);for(let o=0;o<e.length;o++)for(let i=0;i<t.length;i++)n[o+i]^=r.mul(e[o],t[i]);return n},t.mod=function(e,t){let n=new Uint8Array(e);for(;n.length-t.length>=0;){let e=n[0];for(let o=0;o<t.length;o++)n[o]^=r.mul(t[o],e);let o=0;for(;o<n.length&&0===n[o];)o++;n=n.slice(o)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let o=0;o<e;o++)n=t.mul(n,new Uint8Array([1,r.exp(o)]));return n}},21403:function(e,t,n){let r=n(79992),o=n(15170),i=n(50827),a=n(92648),s=n(96807),l=n(99543),c=n(33340),u=n(84460),d=n(46967),f=n(34940),p=n(23686),h=n(2340),m=n(48226);function g(e,t){let n=e.size,r=l.getPositions(t);for(let t=0;t<r.length;t++){let o=r[t][0],i=r[t][1];for(let t=-1;t<=7;t++)if(!(o+t<=-1)&&!(n<=o+t))for(let r=-1;r<=7;r++)i+r<=-1||n<=i+r||(t>=0&&t<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===t||6===t)||t>=2&&t<=4&&r>=2&&r<=4?e.set(o+t,i+r,!0,!0):e.set(o+t,i+r,!1,!0))}}function v(e){let t=e.size;for(let n=8;n<t-8;n++){let t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}function y(e,t){let n=s.getPositions(t);for(let t=0;t<n.length;t++){let r=n[t][0],o=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)-2===t||2===t||-2===n||2===n||0===t&&0===n?e.set(r+t,o+n,!0,!0):e.set(r+t,o+n,!1,!0)}}function b(e,t){let n,r,o;let i=e.size,a=f.getEncodedBits(t);for(let t=0;t<18;t++)n=Math.floor(t/3),r=t%3+i-8-3,o=(a>>t&1)==1,e.set(n,r,o,!0),e.set(r,n,o,!0)}function w(e,t,n){let r,o;let i=e.size,a=p.getEncodedBits(t,n);for(r=0;r<15;r++)o=(a>>r&1)==1,r<6?e.set(r,8,o,!0):r<8?e.set(r+1,8,o,!0):e.set(i-15+r,8,o,!0),r<8?e.set(8,i-r-1,o,!0):r<9?e.set(8,15-r-1+1,o,!0):e.set(8,15-r-1,o,!0);e.set(i-8,8,1,!0)}function S(e,t){let n=e.size,r=-1,o=n-1,i=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(o,s-n)){let r=!1;a<t.length&&(r=(t[a]>>>i&1)==1),e.set(o,s-n,r),-1==--i&&(a++,i=7)}if((o+=r)<0||n<=o){o-=r,r=-r;break}}}function x(e,t,n){let o=new i;n.forEach(function(t){o.put(t.mode.bit,4),o.put(t.getLength(),h.getCharCountIndicator(t.mode,e)),t.write(o)});let a=(r.getSymbolTotalCodewords(e)-u.getTotalCodewordsCount(e,t))*8;for(o.getLengthInBits()+4<=a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);let s=(a-o.getLengthInBits())/8;for(let e=0;e<s;e++)o.put(e%2?17:236,8);return E(o,e,t)}function E(e,t,n){let o,i;let a=r.getSymbolTotalCodewords(t),s=a-u.getTotalCodewordsCount(t,n),l=u.getBlocksCount(t,n),c=a%l,f=l-c,p=Math.floor(a/l),h=Math.floor(s/l),m=h+1,g=p-h,v=new d(g),y=0,b=Array(l),w=Array(l),S=0,x=new Uint8Array(e.buffer);for(let e=0;e<l;e++){let t=e<f?h:m;b[e]=x.slice(y,y+t),w[e]=v.encode(b[e]),y+=t,S=Math.max(S,t)}let E=new Uint8Array(a),C=0;for(o=0;o<S;o++)for(i=0;i<l;i++)o<b[i].length&&(E[C++]=b[i][o]);for(o=0;o<g;o++)for(i=0;i<l;i++)E[C++]=w[i][o];return E}function C(e,t,n,o){let i;if(Array.isArray(e))i=m.fromArray(e);else if("string"==typeof e){let r=t;if(!r){let t=m.rawSplit(e);r=f.getBestVersionForData(t,n)}i=m.fromString(e,r||40)}else throw Error("Invalid data");let s=f.getBestVersionForData(i,n);if(!s)throw Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<s)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+s+".\n")}else t=s;let l=x(t,n,i),u=new a(r.getSymbolSize(t));return g(u,t),v(u),y(u,t),w(u,n,0),t>=7&&b(u,t),S(u,l),isNaN(o)&&(o=c.getBestMask(u,w.bind(null,u,n))),c.applyMask(o,u),w(u,n,o),{modules:u,version:t,errorCorrectionLevel:n,maskPattern:o,segments:i}}t.create=function(e,t){let n,i;if(void 0===e||""===e)throw Error("No input text");let a=o.M;return void 0!==t&&(a=o.from(t.errorCorrectionLevel,o.M),n=f.from(t.version),i=c.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),C(e,n,a,i)}},46967:function(e,t,n){let r=n(21762);function o(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}o.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},o.prototype.encode=function(e){if(!this.genPoly)throw Error("Encoder not initialized");let t=new Uint8Array(e.length+this.degree);t.set(e);let n=r.mod(t,this.genPoly),o=this.degree-n.length;if(o>0){let e=new Uint8Array(this.degree);return e.set(n,o),e}return n},e.exports=o},78436:function(e,t){let n="[0-9]+",r="[A-Z $%*+\\-./:]+",o="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",i="(?:(?![A-Z0-9 $%*+\\-./:]|"+(o=o.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=RegExp(o,"g"),t.BYTE_KANJI=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=RegExp(i,"g"),t.NUMERIC=RegExp(n,"g"),t.ALPHANUMERIC=RegExp(r,"g");let a=RegExp("^"+o+"$"),s=RegExp("^"+n+"$"),l=RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return a.test(e)},t.testNumeric=function(e){return s.test(e)},t.testAlphanumeric=function(e){return l.test(e)}},48226:function(e,t,n){let r=n(2340),o=n(32010),i=n(46556),a=n(92531),s=n(44046),l=n(78436),c=n(79992),u=n(759);function d(e){return unescape(encodeURIComponent(e)).length}function f(e,t,n){let r;let o=[];for(;null!==(r=e.exec(n));)o.push({data:r[0],index:r.index,mode:t,length:r[0].length});return o}function p(e){let t,n;let o=f(l.NUMERIC,r.NUMERIC,e),i=f(l.ALPHANUMERIC,r.ALPHANUMERIC,e);return c.isKanjiModeEnabled()?(t=f(l.BYTE,r.BYTE,e),n=f(l.KANJI,r.KANJI,e)):(t=f(l.BYTE_KANJI,r.BYTE,e),n=[]),o.concat(i,t,n).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function h(e,t){switch(t){case r.NUMERIC:return o.getBitsLength(e);case r.ALPHANUMERIC:return i.getBitsLength(e);case r.KANJI:return s.getBitsLength(e);case r.BYTE:return a.getBitsLength(e)}}function m(e){return e.reduce(function(e,t){let n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?e[e.length-1].data+=t.data:e.push(t),e},[])}function g(e){let t=[];for(let n=0;n<e.length;n++){let o=e[n];switch(o.mode){case r.NUMERIC:t.push([o,{data:o.data,mode:r.ALPHANUMERIC,length:o.length},{data:o.data,mode:r.BYTE,length:o.length}]);break;case r.ALPHANUMERIC:t.push([o,{data:o.data,mode:r.BYTE,length:o.length}]);break;case r.KANJI:t.push([o,{data:o.data,mode:r.BYTE,length:d(o.data)}]);break;case r.BYTE:t.push([{data:o.data,mode:r.BYTE,length:d(o.data)}])}}return t}function v(e,t){let n={},o={start:{}},i=["start"];for(let a=0;a<e.length;a++){let s=e[a],l=[];for(let e=0;e<s.length;e++){let c=s[e],u=""+a+e;l.push(u),n[u]={node:c,lastCount:0},o[u]={};for(let e=0;e<i.length;e++){let a=i[e];n[a]&&n[a].node.mode===c.mode?(o[a][u]=h(n[a].lastCount+c.length,c.mode)-h(n[a].lastCount,c.mode),n[a].lastCount+=c.length):(n[a]&&(n[a].lastCount=c.length),o[a][u]=h(c.length,c.mode)+4+r.getCharCountIndicator(c.mode,t))}}i=l}for(let e=0;e<i.length;e++)o[i[e]].end=0;return{map:o,table:n}}function y(e,t){let n;let l=r.getBestModeForData(e);if((n=r.from(t,l))!==r.BYTE&&n.bit<l.bit)throw Error('"'+e+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(l));switch(n!==r.KANJI||c.isKanjiModeEnabled()||(n=r.BYTE),n){case r.NUMERIC:return new o(e);case r.ALPHANUMERIC:return new i(e);case r.KANJI:return new s(e);case r.BYTE:return new a(e)}}t.fromArray=function(e){return e.reduce(function(e,t){return"string"==typeof t?e.push(y(t,null)):t.data&&e.push(y(t.data,t.mode)),e},[])},t.fromString=function(e,n){let r=v(g(p(e,c.isKanjiModeEnabled())),n),o=u.find_path(r.map,"start","end"),i=[];for(let e=1;e<o.length-1;e++)i.push(r.table[o[e]].node);return t.fromArray(m(i))},t.rawSplit=function(e){return t.fromArray(p(e,c.isKanjiModeEnabled()))}},79992:function(e,t){let n;let r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw Error('"version" cannot be null or undefined');if(e<1||e>40)throw Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},4780:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},34940:function(e,t,n){let r=n(79992),o=n(84460),i=n(15170),a=n(2340),s=n(4780),l=7973,c=r.getBCHDigit(l);function u(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}function d(e,t){return a.getCharCountIndicator(e,t)+4}function f(e,t){let n=0;return e.forEach(function(e){let r=d(e.mode,t);n+=r+e.getBitsLength()}),n}function p(e,n){for(let r=1;r<=40;r++)if(f(e,r)<=t.getCapacity(r,n,a.MIXED))return r}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);let i=(r.getSymbolTotalCodewords(e)-o.getTotalCodewordsCount(e,t))*8;if(n===a.MIXED)return i;let l=i-d(n,e);switch(n){case a.NUMERIC:return Math.floor(l/10*3);case a.ALPHANUMERIC:return Math.floor(l/11*2);case a.KANJI:return Math.floor(l/13);case a.BYTE:default:return Math.floor(l/8)}},t.getBestVersionForData=function(e,t){let n;let r=i.from(t,i.M);if(Array.isArray(e)){if(e.length>1)return p(e,r);if(0===e.length)return 1;n=e[0]}else n=e;return u(n.mode,n.getLength(),r)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw Error("Invalid QR Code version");let t=e<<12;for(;r.getBCHDigit(t)-c>=0;)t^=l<<r.getBCHDigit(t)-c;return e<<12|t}},13945:function(e,t,n){let r=n(85619);function o(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}function i(){try{return document.createElement("canvas")}catch(e){throw Error("You need to specify a canvas element")}}t.render=function(e,t,n){let a=n,s=t;void 0!==a||t&&t.getContext||(a=t,t=void 0),t||(s=i()),a=r.getOptions(a);let l=r.getImageWidth(e.modules.size,a),c=s.getContext("2d"),u=c.createImageData(l,l);return r.qrToImageData(u.data,e,a),o(c,s,l),c.putImageData(u,0,0),s},t.renderToDataURL=function(e,n,r){let o=r;void 0!==o||n&&n.getContext||(o=n,n=void 0),o||(o={});let i=t.render(e,n,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},160:function(e,t,n){let r=n(85619);function o(e,t){let n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function i(e,t,n){let r=e+t;return void 0!==n&&(r+=" "+n),r}function a(e,t,n){let r="",o=0,a=!1,s=0;for(let l=0;l<e.length;l++){let c=Math.floor(l%t),u=Math.floor(l/t);c||a||(a=!0),e[l]?(s++,l>0&&c>0&&e[l-1]||(r+=a?i("M",c+n,.5+u+n):i("m",o,0),o=0,a=!1),c+1<t&&e[l+1]||(r+=i("h",s),s=0)):o++}return r}t.render=function(e,t,n){let i=r.getOptions(t),s=e.modules.size,l=e.modules.data,c=s+2*i.margin,u=i.color.light.a?"<path "+o(i.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",d="<path "+o(i.color.dark,"stroke")+' d="'+a(l,s,i.margin)+'"/>',f='viewBox="0 0 '+c+" "+c+'"',p='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+f+' shape-rendering="crispEdges">'+u+d+"</svg>\n";return"function"==typeof n&&n(null,p),p}},85619:function(e,t){function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");let n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});let t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:r,scale:r?4:o,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){let r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){let o=n.modules.size,i=n.modules.data,a=t.getScale(o,r),s=Math.floor((o+2*r.margin)*a),l=r.margin*a,c=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let u=(t*s+n)*4,d=r.color.light;t>=l&&n>=l&&t<s-l&&n<s-l&&(d=c[i[Math.floor((t-l)/a)*o+Math.floor((n-l)/a)]?1:0]),e[u++]=d.r,e[u++]=d.g,e[u++]=d.b,e[u]=d.a}}},89341:function(e,t,n){"use strict";var r=n(27820),o=n(33581),i=n(52986),a=n(7732),s=n(92486),l=n(51865),c=n.n(l),u=n(45571),d=n(44194),f=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],p=(0,d.forwardRef)(function(e,t){var n=e.prefixCls,l=void 0===n?"rc-checkbox":n,p=e.className,h=e.style,m=e.checked,g=e.disabled,v=e.defaultChecked,y=void 0!==v&&v,b=e.type,w=void 0===b?"checkbox":b,S=e.title,x=e.onChange,E=(0,s.Z)(e,f),C=(0,d.useRef)(null),_=(0,d.useRef)(null),k=(0,u.Z)(y,{value:m}),O=(0,a.Z)(k,2),A=O[0],I=O[1];(0,d.useImperativeHandle)(t,function(){return{focus:function(e){var t;null===(t=C.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=C.current)||void 0===e||e.blur()},input:C.current,nativeElement:_.current}});var P=c()(l,p,(0,i.Z)((0,i.Z)({},"".concat(l,"-checked"),A),"".concat(l,"-disabled"),g)),T=function(t){g||("checked"in e||I(t.target.checked),null==x||x({target:(0,o.Z)((0,o.Z)({},e),{},{type:w,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))};return d.createElement("span",{className:P,title:S,style:h,ref:_},d.createElement("input",(0,r.Z)({},E,{className:"".concat(l,"-input"),ref:C,onChange:T,disabled:g,checked:!!A,type:w})),d.createElement("span",{className:"".concat(l,"-inner")}))});t.Z=p},34912:function(e,t,n){"use strict";n.d(t,{s:function(){return C},Z:function(){return P}});var r=n(27820),o=n(7732),i=n(87922),a=n(44194),s=a.createContext({}),l=n(33581),c=n(51865),u=n.n(c),d=n(63957),f=n(70207),p=n(4062),h=n(11875);function m(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function g(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function v(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=g(o),n.top+=g(o,!0),n}var y=n(63290),b=n(24335),w=n(64198),S=a.memo(function(e){return e.children},function(e,t){return!t.shouldUpdate}),x={width:0,height:0,overflow:"hidden",outline:"none"},E={outline:"none"},C=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.className,i=e.style,c=e.title,d=e.ariaId,f=e.footer,p=e.closable,m=e.closeIcon,g=e.onClose,v=e.children,y=e.bodyStyle,C=e.bodyProps,_=e.modalRender,k=e.onMouseDown,O=e.onMouseUp,A=e.holderRef,I=e.visible,P=e.forceRender,T=e.width,R=e.height,M=e.classNames,N=e.styles,j=a.useContext(s).panel,D=(0,w.x1)(A,j),L=(0,a.useRef)(),B=(0,a.useRef)(),Z=(0,a.useRef)();a.useImperativeHandle(t,function(){return{focus:function(){var e;null===(e=Z.current)||void 0===e||e.focus({preventScroll:!0})},changeActive:function(e){var t=document.activeElement;e&&t===B.current?L.current.focus({preventScroll:!0}):e||t!==L.current||B.current.focus({preventScroll:!0})}}});var F={};void 0!==T&&(F.width=T),void 0!==R&&(F.height=R);var z=f?a.createElement("div",{className:u()("".concat(n,"-footer"),null==M?void 0:M.footer),style:(0,l.Z)({},null==N?void 0:N.footer)},f):null,U=c?a.createElement("div",{className:u()("".concat(n,"-header"),null==M?void 0:M.header),style:(0,l.Z)({},null==N?void 0:N.header)},a.createElement("div",{className:"".concat(n,"-title"),id:d},c)):null,H=(0,a.useMemo)(function(){return"object"===(0,b.Z)(p)&&null!==p?p:p?{closeIcon:null!=m?m:a.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[p,m,n]),q=(0,h.Z)(H,!0),V="object"===(0,b.Z)(p)&&p.disabled,W=p?a.createElement("button",(0,r.Z)({type:"button",onClick:g,"aria-label":"Close"},q,{className:"".concat(n,"-close"),disabled:V}),H.closeIcon):null,$=a.createElement("div",{className:u()("".concat(n,"-content"),null==M?void 0:M.content),style:null==N?void 0:N.content},W,U,a.createElement("div",(0,r.Z)({className:u()("".concat(n,"-body"),null==M?void 0:M.body),style:(0,l.Z)((0,l.Z)({},y),null==N?void 0:N.body)},C),v),z);return a.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":c?d:null,"aria-modal":"true",ref:D,style:(0,l.Z)((0,l.Z)({},i),F),className:u()(n,o),onMouseDown:k,onMouseUp:O},a.createElement("div",{tabIndex:0,ref:L,style:x,"aria-hidden":"true"}),a.createElement("div",{ref:Z,tabIndex:-1,style:E},a.createElement(S,{shouldUpdate:I||P},_?_($):$)),a.createElement("div",{tabIndex:0,ref:B,style:x,"aria-hidden":"true"}))}),_=a.forwardRef(function(e,t){var n=e.prefixCls,i=e.title,s=e.style,c=e.className,d=e.visible,f=e.forceRender,p=e.destroyOnClose,h=e.motionName,m=e.ariaId,g=e.onVisibleChanged,b=e.mousePosition,w=(0,a.useRef)(),S=a.useState(),x=(0,o.Z)(S,2),E=x[0],_=x[1],k={};function O(){var e=v(w.current);_(b&&(b.x||b.y)?"".concat(b.x-e.left,"px ").concat(b.y-e.top,"px"):"")}return E&&(k.transformOrigin=E),a.createElement(y.ZP,{visible:d,onVisibleChanged:g,onAppearPrepare:O,onEnterPrepare:O,forceRender:f,motionName:h,removeOnLeave:p,ref:w},function(o,d){var f=o.className,p=o.style;return a.createElement(C,(0,r.Z)({},e,{ref:t,title:i,ariaId:m,prefixCls:n,holderRef:d,style:(0,l.Z)((0,l.Z)((0,l.Z)({},p),s),k),className:u()(c,f)}))})});_.displayName="Content";var k=_,O=function(e){var t=e.prefixCls,n=e.style,o=e.visible,i=e.maskProps,s=e.motionName,c=e.className;return a.createElement(y.ZP,{key:"mask",visible:o,motionName:s,leavedClassName:"".concat(t,"-mask-hidden")},function(e,o){var s=e.className,d=e.style;return a.createElement("div",(0,r.Z)({ref:o,style:(0,l.Z)((0,l.Z)({},d),n),className:u()("".concat(t,"-mask"),s,c)},i))})};n(6103);var A=function(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,i=e.zIndex,s=e.visible,c=void 0!==s&&s,g=e.keyboard,v=void 0===g||g,y=e.focusTriggerAfterClose,b=void 0===y||y,w=e.wrapStyle,S=e.wrapClassName,x=e.wrapProps,E=e.onClose,C=e.afterOpenChange,_=e.afterClose,A=e.transitionName,I=e.animation,P=e.closable,T=void 0===P||P,R=e.mask,M=void 0===R||R,N=e.maskTransitionName,j=e.maskAnimation,D=e.maskClosable,L=void 0===D||D,B=e.maskStyle,Z=e.maskProps,F=e.rootClassName,z=e.classNames,U=e.styles,H=(0,a.useRef)(),q=(0,a.useRef)(),V=(0,a.useRef)(),W=a.useState(c),$=(0,o.Z)(W,2),G=$[0],K=$[1],Y=(0,f.Z)();function X(){(0,d.Z)(q.current,document.activeElement)||(H.current=document.activeElement)}function Q(){if(!(0,d.Z)(q.current,document.activeElement)){var e;null===(e=V.current)||void 0===e||e.focus()}}function J(e){if(e)Q();else{if(K(!1),M&&H.current&&b){try{H.current.focus({preventScroll:!0})}catch(e){}H.current=null}G&&(null==_||_())}null==C||C(e)}function ee(e){null==E||E(e)}var et=(0,a.useRef)(!1),en=(0,a.useRef)(),er=function(){clearTimeout(en.current),et.current=!0},eo=function(){en.current=setTimeout(function(){et.current=!1})},ei=null;function ea(e){if(v&&e.keyCode===p.Z.ESC){e.stopPropagation(),ee(e);return}c&&e.keyCode===p.Z.TAB&&V.current.changeActive(!e.shiftKey)}L&&(ei=function(e){et.current?et.current=!1:q.current===e.target&&ee(e)}),(0,a.useEffect)(function(){c&&(K(!0),X())},[c]),(0,a.useEffect)(function(){return function(){clearTimeout(en.current)}},[]);var es=(0,l.Z)((0,l.Z)((0,l.Z)({zIndex:i},w),null==U?void 0:U.wrapper),{},{display:G?null:"none"});return a.createElement("div",(0,r.Z)({className:u()("".concat(n,"-root"),F)},(0,h.Z)(e,{data:!0})),a.createElement(O,{prefixCls:n,visible:M&&c,motionName:m(n,N,j),style:(0,l.Z)((0,l.Z)({zIndex:i},B),null==U?void 0:U.mask),maskProps:Z,className:null==z?void 0:z.mask}),a.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:ea,className:u()("".concat(n,"-wrap"),S,null==z?void 0:z.wrapper),ref:q,onClick:ei,style:es},x),a.createElement(k,(0,r.Z)({},e,{onMouseDown:er,onMouseUp:eo,ref:V,closable:T,ariaId:Y,prefixCls:n,visible:c&&G,onClose:ee,onVisibleChanged:J,motionName:m(n,A,I)}))))},I=function(e){var t=e.visible,n=e.getContainer,l=e.forceRender,c=e.destroyOnClose,u=void 0!==c&&c,d=e.afterClose,f=e.panelRef,p=a.useState(t),h=(0,o.Z)(p,2),m=h[0],g=h[1],v=a.useMemo(function(){return{panel:f}},[f]);return(a.useEffect(function(){t&&g(!0)},[t]),l||!u||m)?a.createElement(s.Provider,{value:v},a.createElement(i.Z,{open:t||l||m,autoDestroy:!1,getContainer:n,autoLock:t||m},a.createElement(A,(0,r.Z)({},e,{destroyOnClose:u,afterClose:function(){null==d||d(),g(!1)}})))):null};I.displayName="Dialog";var P=I},15014:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(27820),o=n(52986),i=n(7732),a=n(92486),s=n(41890),l=n(51865),c=n.n(l),u=n(64198),d=n(44194),f=n(4062),p=n(30716),h=f.Z.ESC,m=f.Z.TAB;function g(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=d.useRef(!1),s=function(){if(t){var e,o;null===(e=n.current)||void 0===e||null===(o=e.focus)||void 0===o||o.call(e),null==r||r(!1)}},l=function(){var e;return null!==(e=i.current)&&void 0!==e&&!!e.focus&&(i.current.focus(),a.current=!0,!0)},c=function(e){switch(e.keyCode){case h:s();break;case m:var t=!1;a.current||(t=l()),t?e.preventDefault():s()}};d.useEffect(function(){return t?(window.addEventListener("keydown",c),o&&(0,p.Z)(l,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}},[t])}var v=(0,d.forwardRef)(function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=(0,d.useMemo)(function(){return"function"==typeof n?n():n},[n]),a=(0,u.sQ)(t,null==i?void 0:i.ref);return d.createElement(d.Fragment,null,r&&d.createElement("div",{className:"".concat(o,"-arrow")}),d.cloneElement(i,{ref:(0,u.Yr)(i)?a:void 0}))}),y={adjustX:1,adjustY:1},b=[0,0],w={topLeft:{points:["bl","tl"],overflow:y,offset:[0,-4],targetOffset:b},top:{points:["bc","tc"],overflow:y,offset:[0,-4],targetOffset:b},topRight:{points:["br","tr"],overflow:y,offset:[0,-4],targetOffset:b},bottomLeft:{points:["tl","bl"],overflow:y,offset:[0,4],targetOffset:b},bottom:{points:["tc","bc"],overflow:y,offset:[0,4],targetOffset:b},bottomRight:{points:["tr","br"],overflow:y,offset:[0,4],targetOffset:b}},S=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function x(e,t){var n,l=e.arrow,f=void 0!==l&&l,p=e.prefixCls,h=void 0===p?"rc-dropdown":p,m=e.transitionName,y=e.animation,b=e.align,x=e.placement,E=void 0===x?"bottomLeft":x,C=e.placements,_=void 0===C?w:C,k=e.getPopupContainer,O=e.showAction,A=e.hideAction,I=e.overlayClassName,P=e.overlayStyle,T=e.visible,R=e.trigger,M=void 0===R?["hover"]:R,N=e.autoFocus,j=e.overlay,D=e.children,L=e.onVisibleChange,B=(0,a.Z)(e,S),Z=d.useState(),F=(0,i.Z)(Z,2),z=F[0],U=F[1],H="visible"in e?T:z,q=d.useRef(null),V=d.useRef(null),W=d.useRef(null);d.useImperativeHandle(t,function(){return q.current});var $=function(e){U(e),null==L||L(e)};g({visible:H,triggerRef:W,onVisibleChange:$,autoFocus:N,overlayRef:V});var G=function(t){var n=e.onOverlayClick;U(!1),n&&n(t)},K=function(){return d.createElement(v,{ref:V,overlay:j,prefixCls:h,arrow:f})},Y=function(){return"function"==typeof j?K:K()},X=function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n},Q=function(){var t=e.openClassName;return void 0!==t?t:"".concat(h,"-open")},J=d.cloneElement(D,{className:c()(null===(n=D.props)||void 0===n?void 0:n.className,H&&Q()),ref:(0,u.Yr)(D)?(0,u.sQ)(W,D.ref):void 0}),ee=A;return ee||-1===M.indexOf("contextMenu")||(ee=["click"]),d.createElement(s.Z,(0,r.Z)({builtinPlacements:_},B,{prefixCls:h,ref:q,popupClassName:c()(I,(0,o.Z)({},"".concat(h,"-show-arrow"),f)),popupStyle:P,action:M,showAction:O,hideAction:ee,popupPlacement:E,popupAlign:b,popupTransitionName:m,popupAnimation:y,popupVisible:H,stretch:X()?"minWidth":"",popup:Y(),onPopupVisibleChange:$,onPopupClick:G,getPopupContainer:k}),J)}var E=d.forwardRef(x)},64054:function(e,t,n){"use strict";n.d(t,{gN:function(){return eN},zb:function(){return x},RV:function(){return eV},aV:function(){return ej},ZM:function(){return E},ZP:function(){return eJ},cI:function(){return eH},qo:function(){return eX}});var r,o=n(44194),i=n(27820),a=n(92486),s=n(21996),l=n(63011),c=n(33581),u=n(70826),d=n(10342),f=n(77009),p=n(45534),h=n(81065),m=n(17615),g=n(52986),v=n(2196),y=n(21608),b=n(6103),w="RC_FORM_INTERNAL_HOOKS",S=function(){(0,b.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},x=o.createContext({getFieldValue:S,getFieldsValue:S,getFieldError:S,getFieldWarning:S,getFieldsError:S,isFieldsTouched:S,isFieldTouched:S,isFieldValidating:S,isFieldsValidating:S,resetFields:S,setFields:S,setFieldValue:S,setFieldsValue:S,validateFields:S,submit:S,getInternalHooks:function(){return S(),{dispatch:S,initEntityValue:S,registerField:S,useSubscribe:S,setInitialValues:S,destroyForm:S,setCallbacks:S,registerWatch:S,getFields:S,setValidateMessages:S,setPreserve:S,getInitialValue:S}}}),E=o.createContext(null);function C(e){return null==e?[]:Array.isArray(e)?e:[e]}function _(e){return e&&!!e._init}var k=n(24335);function O(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var A=O(),I=n(21831),P=n(86193);function T(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}var R=n(3371);function M(e,t,n){if((0,R.Z)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,P.Z)(o,n.prototype),o}function N(e){var t="function"==typeof Map?new Map:void 0;return(N=function(e){if(null===e||!T(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return M(e,arguments,(0,I.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,P.Z)(n,e)})(e)}var j=n(79895),D=/%[sdj%]/g,L=function(){};function B(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)}),t}function Z(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i=n.length;return"function"==typeof e?e.apply(null,n):"string"==typeof e?e.replace(D,function(e){if("%%"===e)return"%";if(o>=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(e){return"[Circular]"}break;default:return e}}):e}function F(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}function z(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length||F(t)&&"string"==typeof e&&!e)}function U(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,(0,u.Z)(e||[])),++o===i&&n(r)}e.forEach(function(e){t(e,a)})}function H(e,t,n){var r=0,o=e.length;function i(a){if(a&&a.length){n(a);return}var s=r;r+=1,s<o?t(e[s],i):n([])}i([])}function q(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,(0,u.Z)(e[n]||[]))}),t}void 0!==j&&j.env;var V=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(e,r){var o;return(0,d.Z)(this,n),o=t.call(this,"Async Validation Error"),(0,g.Z)((0,p.Z)(o),"errors",void 0),(0,g.Z)((0,p.Z)(o),"fields",void 0),o.errors=e,o.fields=r,o}return(0,f.Z)(n)}(N(Error));function W(e,t,n,r,o){if(t.first){var i=new Promise(function(t,i){var a=function(e){return r(e),e.length?i(new V(e,B(e))):t(o)};H(q(e),n,a)});return i.catch(function(e){return e}),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],d=new Promise(function(t,i){var d=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?i(new V(u,B(u))):t(o)};s.length||(r(u),t(o)),s.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?H(r,n,d):U(r,n,d)})});return d.catch(function(e){return e}),d}function $(e){return!!(e&&void 0!==e.message)}function G(e,t){for(var n=e,r=0;r<t.length&&void 0!=n;r++)n=n[t[r]];return n}function K(e,t){return function(n){var r;return(r=e.fullFields?G(t,e.fullFields):t[n.field||e.fullField],$(n))?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:"function"==typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function Y(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===(0,k.Z)(r)&&"object"===(0,k.Z)(e[n])?e[n]=(0,c.Z)((0,c.Z)({},e[n]),r):e[n]=r}}return e}var X="enum",Q=function(e,t,n,r,o,i){e.required&&(!n.hasOwnProperty(e.field)||z(t,i||e.type))&&r.push(Z(o.messages.required,e.fullField))},J=function(){if(r)return r;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",i=["(?:".concat(o,":){7}(?:").concat(o,"|:)"),"(?:".concat(o,":){6}(?:").concat(n,"|:").concat(o,"|:)"),"(?:".concat(o,":){5}(?::").concat(n,"|(?::").concat(o,"){1,2}|:)"),"(?:".concat(o,":){4}(?:(?::").concat(o,"){0,1}:").concat(n,"|(?::").concat(o,"){1,3}|:)"),"(?:".concat(o,":){3}(?:(?::").concat(o,"){0,2}:").concat(n,"|(?::").concat(o,"){1,4}|:)"),"(?:".concat(o,":){2}(?:(?::").concat(o,"){0,3}:").concat(n,"|(?::").concat(o,"){1,5}|:)"),"(?:".concat(o,":){1}(?:(?::").concat(o,"){0,4}:").concat(n,"|(?::").concat(o,"){1,6}|:)"),"(?::(?:(?::".concat(o,"){0,5}:").concat(n,"|(?::").concat(o,"){1,7}|:))")],a="(?:%[0-9a-zA-Z]{1,})?",s="(?:".concat(i.join("|"),")").concat(a),l=new RegExp("(?:^".concat(n,"$)|(?:^").concat(s,"$)")),c=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(s,"$")),d=function(e){return e&&e.exact?l:RegExp("(?:".concat(t(e)).concat(n).concat(t(e),")|(?:").concat(t(e)).concat(s).concat(t(e),")"),"g")};d.v4=function(e){return e&&e.exact?c:RegExp("".concat(t(e)).concat(n).concat(t(e)),"g")},d.v6=function(e){return e&&e.exact?u:RegExp("".concat(t(e)).concat(s).concat(t(e)),"g")};var f="(?:(?:[a-z]+:)?//)",p="(?:\\S+(?::\\S*)?@)?",h=d.v4().source,m=d.v6().source,g="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",y="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",w='(?:[/?#][^\\s"]*)?',S="(?:".concat(f,"|www\\.)").concat(p,"(?:localhost|").concat(h,"|").concat(m,"|").concat(g).concat(v).concat(y,")").concat(b).concat(w);return r=RegExp("(?:^".concat(S,"$)"),"i")},ee={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},et={integer:function(e){return et.number(e)&&parseInt(e,10)===e},float:function(e){return et.number(e)&&!et.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(0,k.Z)(e)&&!et.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(ee.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(J())},hex:function(e){return"string"==typeof e&&!!e.match(ee.hex)}},en=function(e,t,n,r,o){if(e.required&&void 0===t){Q(e,t,n,r,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;i.indexOf(a)>-1?et[a](t)||r.push(Z(o.messages.types[a],e.fullField,e.type)):a&&(0,k.Z)(t)!==e.type&&r.push(Z(o.messages.types[a],e.fullField,e.type))},er={required:Q,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(Z(o.messages.whitespace,e.fullField))},type:en,range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,u=null,d="number"==typeof t,f="string"==typeof t,p=Array.isArray(t);if(d?u="number":f?u="string":p&&(u="array"),!u)return!1;p&&(c=t.length),f&&(c=t.replace(l,"_").length),i?c!==e.len&&r.push(Z(o.messages[u].len,e.fullField,e.len)):a&&!s&&c<e.min?r.push(Z(o.messages[u].min,e.fullField,e.min)):s&&!a&&c>e.max?r.push(Z(o.messages[u].max,e.fullField,e.max)):a&&s&&(c<e.min||c>e.max)&&r.push(Z(o.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[X]=Array.isArray(e[X])?e[X]:[],-1===e[X].indexOf(t)&&r.push(Z(o.messages[X],e.fullField,e[X].join(", ")))},pattern:function(e,t,n,r,o){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Z(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||new RegExp(e.pattern).test(t)||r.push(Z(o.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},eo="enum",ei=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t,i)&&!e.required)return n();er.required(e,t,r,a,o,i),z(t,i)||er.type(e,t,r,a,o)}n(a)},ea={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t,"string")&&!e.required)return n();er.required(e,t,r,i,o,"string"),z(t,"string")||(er.type(e,t,r,i,o),er.range(e,t,r,i,o),er.pattern(e,t,r,i,o),!0===e.whitespace&&er.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t)&&!e.required)return n();er.required(e,t,r,i,o),void 0!==t&&er.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),z(t)&&!e.required)return n();er.required(e,t,r,i,o),void 0!==t&&(er.type(e,t,r,i,o),er.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t)&&!e.required)return n();er.required(e,t,r,i,o),void 0!==t&&er.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t)&&!e.required)return n();er.required(e,t,r,i,o),z(t)||er.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t)&&!e.required)return n();er.required(e,t,r,i,o),void 0!==t&&(er.type(e,t,r,i,o),er.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t)&&!e.required)return n();er.required(e,t,r,i,o),void 0!==t&&(er.type(e,t,r,i,o),er.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();er.required(e,t,r,i,o,"array"),null!=t&&(er.type(e,t,r,i,o),er.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t)&&!e.required)return n();er.required(e,t,r,i,o),void 0!==t&&er.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t)&&!e.required)return n();er.required(e,t,r,i,o),void 0!==t&&er[eo](e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t,"string")&&!e.required)return n();er.required(e,t,r,i,o),z(t,"string")||er.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t,"date")&&!e.required)return n();er.required(e,t,r,a,o),!z(t,"date")&&(i=t instanceof Date?t:new Date(t),er.type(e,i,r,a,o),i&&er.range(e,i.getTime(),r,a,o))}n(a)},url:ei,hex:ei,email:ei,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":(0,k.Z)(t);er.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(z(t)&&!e.required)return n();er.required(e,t,r,i,o)}n(i)}},es=function(){function e(t){(0,d.Z)(this,e),(0,g.Z)(this,"rules",null),(0,g.Z)(this,"_messages",A),this.define(t)}return(0,f.Z)(e,[{key:"define",value:function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!==(0,k.Z)(e)||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})}},{key:"messages",value:function(e){return e&&(this._messages=Y(O(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=t,a=r,s=o;if("function"==typeof a&&(s=a,a={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,i),Promise.resolve(i);function l(e){var t=[],n={};function r(e){if(Array.isArray(e)){var n;t=(n=t).concat.apply(n,(0,u.Z)(e))}else t.push(e)}for(var o=0;o<e.length;o++)r(e[o]);t.length?(n=B(t),s(t,n)):s(null,i)}if(a.messages){var d=this.messages();d===A&&(d=O()),Y(d,a.messages),a.messages=d}else a.messages=this.messages();var f={};(a.keys||Object.keys(this.rules)).forEach(function(e){var r=n.rules[e],o=i[e];r.forEach(function(r){var a=r;"function"==typeof a.transform&&(i===t&&(i=(0,c.Z)({},i)),null!=(o=i[e]=a.transform(o))&&(a.type=a.type||(Array.isArray(o)?"array":(0,k.Z)(o)))),(a="function"==typeof a?{validator:a}:(0,c.Z)({},a)).validator=n.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),f[e]=f[e]||[],f[e].push({rule:a,value:o,source:i,field:e}))})});var p={};return W(f,a,function(t,n){var r,o,s,l=t.rule,d=("object"===l.type||"array"===l.type)&&("object"===(0,k.Z)(l.fields)||"object"===(0,k.Z)(l.defaultField));function f(e,t){return(0,c.Z)((0,c.Z)({},t),{},{fullField:"".concat(l.fullField,".").concat(e),fullFields:l.fullFields?[].concat((0,u.Z)(l.fullFields),[e]):[e]})}function h(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Array.isArray(r)?r:[r];!a.suppressWarning&&o.length&&e.warning("async-validator:",o),o.length&&void 0!==l.message&&(o=[].concat(l.message));var s=o.map(K(l,i));if(a.first&&s.length)return p[l.field]=1,n(s);if(d){if(l.required&&!t.value)return void 0!==l.message?s=[].concat(l.message).map(K(l,i)):a.error&&(s=[a.error(l,Z(a.messages.required,l.field))]),n(s);var h={};l.defaultField&&Object.keys(t.value).map(function(e){h[e]=l.defaultField});var m={};Object.keys(h=(0,c.Z)((0,c.Z)({},h),t.rule.fields)).forEach(function(e){var t=h[e],n=Array.isArray(t)?t:[t];m[e]=n.map(f.bind(null,e))});var g=new e(m);g.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),g.validate(t.value,t.rule.options||a,function(e){var t=[];s&&s.length&&t.push.apply(t,(0,u.Z)(s)),e&&e.length&&t.push.apply(t,(0,u.Z)(e)),n(t.length?t:null)})}else n(s)}if(d=d&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)r=l.asyncValidator(l,t.value,h,t.source,a);else if(l.validator){try{r=l.validator(l,t.value,h,t.source,a)}catch(e){null===(o=(s=console).error)||void 0===o||o.call(s,e),a.suppressValidatorError||setTimeout(function(){throw e},0),h(e.message)}!0===r?h():!1===r?h("function"==typeof l.message?l.message(l.fullField||l.field):l.message||"".concat(l.fullField||l.field," fails")):r instanceof Array?h(r):r instanceof Error&&h(r.message)}r&&r.then&&r.then(function(){return h()},function(e){return h(e)})},function(e){l(e)},i)}},{key:"getType",value:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!ea.hasOwnProperty(e.type))throw Error(Z("Unknown rule type %s",e.type));return e.type||"string"}},{key:"getValidationMethod",value:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return(-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0])?ea.required:ea[this.getType(e)]||void 0}}]),e}();(0,g.Z)(es,"register",function(e,t){if("function"!=typeof t)throw Error("Cannot register a validator by type, validator is not a function");ea[e]=t}),(0,g.Z)(es,"warning",L),(0,g.Z)(es,"messages",A),(0,g.Z)(es,"validators",ea);var el=es,ec="'${name}' is not a valid ${type}",eu={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:ec,method:ec,array:ec,object:ec,number:ec,date:ec,boolean:ec,integer:ec,float:ec,regexp:ec,email:ec,url:ec,hex:ec},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},ed=n(87549),ef=el;function ep(e,t){return e.replace(/\$\{\w+\}/g,function(e){return t[e.slice(2,-1)]})}var eh="CODE_LOGIC_ERROR";function em(e,t,n,r,o){return eg.apply(this,arguments)}function eg(){return(eg=(0,l.Z)((0,s.Z)().mark(function e(t,n,r,i,a){var l,d,f,p,h,m,v,y,b;return(0,s.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return l=(0,c.Z)({},r),delete l.ruleIndex,ef.warning=function(){},l.validator&&(d=l.validator,l.validator=function(){try{return d.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(eh)}}),f=null,l&&"array"===l.type&&l.defaultField&&(f=l.defaultField,delete l.defaultField),p=new ef((0,g.Z)({},t,[l])),h=(0,ed.T)(eu,i.validateMessages),p.messages(h),m=[],e.prev=10,e.next=13,Promise.resolve(p.validate((0,g.Z)({},t,n),(0,c.Z)({},i)));case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),e.t0.errors&&(m=e.t0.errors.map(function(e,t){var n=e.message,r=n===eh?h.default:n;return o.isValidElement(r)?o.cloneElement(r,{key:"error_".concat(t)}):r}));case 18:if(!(!m.length&&f)){e.next=23;break}return e.next=21,Promise.all(n.map(function(e,n){return em("".concat(t,".").concat(n),e,f,i,a)}));case 21:return v=e.sent,e.abrupt("return",v.reduce(function(e,t){return[].concat((0,u.Z)(e),(0,u.Z)(t))},[]));case 23:return y=(0,c.Z)((0,c.Z)({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),b=m.map(function(e){return"string"==typeof e?ep(e,y):e}),e.abrupt("return",b);case 26:case"end":return e.stop()}},e,null,[[10,15]])}))).apply(this,arguments)}function ev(e,t,n,r,o,i){var a,u=e.join("."),d=n.map(function(e,t){var n=e.validator,r=(0,c.Z)((0,c.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];Promise.resolve().then(function(){(0,b.ZP)(!o,"Your validator function has already return a promise. `callback` will be ignored."),o||r.apply(void 0,t)})});o=i&&"function"==typeof i.then&&"function"==typeof i.catch,(0,b.ZP)(o,"`callback` is deprecated. Please return a promise instead."),o&&i.then(function(){r()}).catch(function(e){r(e||" ")})}),r}).sort(function(e,t){var n=e.warningOnly,r=e.ruleIndex,o=t.warningOnly,i=t.ruleIndex;return!!n==!!o?r-i:n?1:-1});if(!0===o)a=new Promise(function(){var e=(0,l.Z)((0,s.Z)().mark(function e(n,o){var a,l,c;return(0,s.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<d.length)){e.next=12;break}return l=d[a],e.next=5,em(u,t,l,r,i);case 5:if(!(c=e.sent).length){e.next=9;break}return o([{errors:c,rule:l}]),e.abrupt("return");case 9:a+=1,e.next=1;break;case 12:n([]);case 13:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}());else{var f=d.map(function(e){return em(u,t,e,r,i).then(function(t){return{errors:t,rule:e}})});a=(o?ew(f):ey(f)).then(function(e){return Promise.reject(e)})}return a.catch(function(e){return e}),a}function ey(e){return eb.apply(this,arguments)}function eb(){return(eb=(0,l.Z)((0,s.Z)().mark(function e(t){return(0,s.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then(function(e){var t;return(t=[]).concat.apply(t,(0,u.Z)(e))}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ew(e){return eS.apply(this,arguments)}function eS(){return(eS=(0,l.Z)((0,s.Z)().mark(function e(t){var n;return(0,s.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise(function(e){t.forEach(function(r){r.then(function(r){r.errors.length&&e([r]),(n+=1)===t.length&&e([])})})}));case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}var ex=n(94012);function eE(e){return C(e)}function eC(e,t){var n={};return t.forEach(function(t){var r=(0,ex.Z)(e,t);n=(0,ed.Z)(n,t,r)}),n}function e_(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some(function(e){return ek(t,e,n)})}function ek(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!t&&(!!n||e.length===t.length)&&t.every(function(t,n){return e[n]===t})}function eO(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||"object"!==(0,k.Z)(e)||"object"!==(0,k.Z)(t))return!1;var n=new Set([].concat(Object.keys(e),Object.keys(t)));return(0,u.Z)(n).every(function(n){var r=e[n],o=t[n];return"function"==typeof r&&"function"==typeof o||r===o})}function eA(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,k.Z)(t.target)&&e in t.target?t.target[e]:t}function eI(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,u.Z)(e.slice(0,n)),[o],(0,u.Z)(e.slice(n,t)),(0,u.Z)(e.slice(t+1,r))):i<0?[].concat((0,u.Z)(e.slice(0,t)),(0,u.Z)(e.slice(t+1,n+1)),[o],(0,u.Z)(e.slice(n+1,r))):e}var eP=["name"],eT=[];function eR(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var eM=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(e){var r;return(0,d.Z)(this,n),r=t.call(this,e),(0,g.Z)((0,p.Z)(r),"state",{resetCount:0}),(0,g.Z)((0,p.Z)(r),"cancelRegisterFunc",null),(0,g.Z)((0,p.Z)(r),"mounted",!1),(0,g.Z)((0,p.Z)(r),"touched",!1),(0,g.Z)((0,p.Z)(r),"dirty",!1),(0,g.Z)((0,p.Z)(r),"validatePromise",void 0),(0,g.Z)((0,p.Z)(r),"prevValidating",void 0),(0,g.Z)((0,p.Z)(r),"errors",eT),(0,g.Z)((0,p.Z)(r),"warnings",eT),(0,g.Z)((0,p.Z)(r),"cancelRegister",function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,eE(o)),r.cancelRegisterFunc=null}),(0,g.Z)((0,p.Z)(r),"getNamePath",function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName,o=void 0===n?[]:n;return void 0!==t?[].concat((0,u.Z)(o),(0,u.Z)(t)):[]}),(0,g.Z)((0,p.Z)(r),"getRules",function(){var e=r.props,t=e.rules,n=void 0===t?[]:t,o=e.fieldContext;return n.map(function(e){return"function"==typeof e?e(o):e})}),(0,g.Z)((0,p.Z)(r),"refresh",function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})}),(0,g.Z)((0,p.Z)(r),"metaCache",null),(0,g.Z)((0,p.Z)(r),"triggerMetaEvent",function(e){var t=r.props.onMetaChange;if(t){var n=(0,c.Z)((0,c.Z)({},r.getMeta()),{},{destroy:e});(0,y.Z)(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null}),(0,g.Z)((0,p.Z)(r),"onStoreChange",function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,s=void 0===a?[]:a,l=o.onReset,c=n.store,u=r.getNamePath(),d=r.getValue(e),f=r.getValue(c),p=t&&e_(t,u);switch("valueUpdate"!==n.type||"external"!==n.source||(0,y.Z)(d,f)||(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=eT,r.warnings=eT,r.triggerMetaEvent()),n.type){case"reset":if(!t||p){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=eT,r.warnings=eT,r.triggerMetaEvent(),null==l||l(),r.refresh();return}break;case"remove":if(i){r.reRender();return}break;case"setField":var h=n.data;if(p){"touched"in h&&(r.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(r.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(r.errors=h.errors||eT),"warnings"in h&&(r.warnings=h.warnings||eT),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if("value"in h&&e_(t,u,!0)||i&&!u.length&&eR(i,e,c,d,f,n)){r.reRender();return}break;case"dependenciesUpdate":if(s.map(eE).some(function(e){return e_(n.relatedFields,e)})){r.reRender();return}break;default:if(p||(!s.length||u.length||i)&&eR(i,e,c,d,f,n)){r.reRender();return}}!0===i&&r.reRender()}),(0,g.Z)((0,p.Z)(r),"validateRules",function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},i=o.triggerName,a=o.validateOnly,c=void 0!==a&&a,d=Promise.resolve().then((0,l.Z)((0,s.Z)().mark(function o(){var a,l,c,f,p,h,m;return(0,s.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(r.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(c=void 0!==(l=(a=r.props).validateFirst)&&l,f=a.messageVariables,p=a.validateDebounce,h=r.getRules(),i&&(h=h.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||C(t).includes(i)})),!(p&&i)){o.next=10;break}return o.next=8,new Promise(function(e){setTimeout(e,p)});case 8:if(!(r.validatePromise!==d)){o.next=10;break}return o.abrupt("return",[]);case 10:return(m=ev(t,n,h,e,c,f)).catch(function(e){return e}).then(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eT;if(r.validatePromise===d){r.validatePromise=null;var t,n=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,i=void 0===r?eT:r;t?o.push.apply(o,(0,u.Z)(i)):n.push.apply(n,(0,u.Z)(i))}),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}}),o.abrupt("return",m);case 13:case"end":return o.stop()}},o)})));return c||(r.validatePromise=d,r.dirty=!0,r.errors=eT,r.warnings=eT,r.triggerMetaEvent(),r.reRender()),d}),(0,g.Z)((0,p.Z)(r),"isFieldValidating",function(){return!!r.validatePromise}),(0,g.Z)((0,p.Z)(r),"isFieldTouched",function(){return r.touched}),(0,g.Z)((0,p.Z)(r),"isFieldDirty",function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(w).getInitialValue)(r.getNamePath())}),(0,g.Z)((0,p.Z)(r),"getErrors",function(){return r.errors}),(0,g.Z)((0,p.Z)(r),"getWarnings",function(){return r.warnings}),(0,g.Z)((0,p.Z)(r),"isListField",function(){return r.props.isListField}),(0,g.Z)((0,p.Z)(r),"isList",function(){return r.props.isList}),(0,g.Z)((0,p.Z)(r),"isPreserve",function(){return r.props.preserve}),(0,g.Z)((0,p.Z)(r),"getMeta",function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}}),(0,g.Z)((0,p.Z)(r),"getOnlyChild",function(e){if("function"==typeof e){var t=r.getMeta();return(0,c.Z)((0,c.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,v.Z)(e);return 1===n.length&&o.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}}),(0,g.Z)((0,p.Z)(r),"getValue",function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return(0,ex.Z)(e||t(!0),n)}),(0,g.Z)((0,p.Z)(r),"getControlled",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.name,o=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,s=t.normalize,l=t.valuePropName,u=t.getValueProps,d=t.fieldContext,f=void 0!==i?i:d.validateTrigger,p=r.getNamePath(),h=d.getInternalHooks,m=d.getFieldsValue,v=h(w).dispatch,y=r.getValue(),b=u||function(e){return(0,g.Z)({},l,e)},S=e[o],x=void 0!==n?b(y):{},E=(0,c.Z)((0,c.Z)({},e),x);return E[o]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];e=a?a.apply(void 0,n):eA.apply(void 0,[l].concat(n)),s&&(e=s(e,y,m(!0))),v({type:"updateValue",namePath:p,value:e}),S&&S.apply(void 0,n)},C(f||[]).forEach(function(e){var t=E[e];E[e]=function(){t&&t.apply(void 0,arguments);var n=r.props.rules;n&&n.length&&v({type:"validateField",namePath:p,triggerName:e})}}),E}),e.fieldContext&&(0,(0,e.fieldContext.getInternalHooks)(w).initEntityValue)((0,p.Z)(r)),r}return(0,f.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.shouldUpdate,n=e.fieldContext;if(this.mounted=!0,n){var r=(0,n.getInternalHooks)(w).registerField;this.cancelRegisterFunc=r(this)}!0===t&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var e,t=this.state.resetCount,n=this.props.children,r=this.getOnlyChild(n),i=r.child;return r.isFunction?e=i:o.isValidElement(i)?e=o.cloneElement(i,this.getControlled(i.props)):((0,b.ZP)(!i,"`children` of Field is not validate ReactElement."),e=i),o.createElement(o.Fragment,{key:t},e)}}]),n}(o.Component);(0,g.Z)(eM,"contextType",x),(0,g.Z)(eM,"defaultProps",{trigger:"onChange",valuePropName:"value"});var eN=function(e){var t=e.name,n=(0,a.Z)(e,eP),r=o.useContext(x),s=o.useContext(E),l=void 0!==t?eE(t):void 0,c="keep";return n.isListField||(c="_".concat((l||[]).join("_"))),o.createElement(eM,(0,i.Z)({key:c,name:l,isListField:!!s},n,{fieldContext:r}))},ej=function(e){var t=e.name,n=e.initialValue,r=e.children,i=e.rules,a=e.validateTrigger,s=e.isListField,l=o.useContext(x),d=o.useContext(E),f=o.useRef({keys:[],id:0}).current,p=o.useMemo(function(){var e=eE(l.prefixName)||[];return[].concat((0,u.Z)(e),(0,u.Z)(eE(t)))},[l.prefixName,t]),h=o.useMemo(function(){return(0,c.Z)((0,c.Z)({},l),{},{prefixName:p})},[l,p]),m=o.useMemo(function(){return{getKey:function(e){var t=p.length,n=e[t];return[f.keys[n],e.slice(t+1)]}}},[p]);if("function"!=typeof r)return(0,b.ZP)(!1,"Form.List only accepts function as children."),null;var g=function(e,t,n){return"internal"!==n.source&&e!==t};return o.createElement(E.Provider,{value:m},o.createElement(x.Provider,{value:h},o.createElement(eN,{name:[],shouldUpdate:g,rules:i,validateTrigger:a,initialValue:n,isList:!0,isListField:null!=s?s:!!d},function(e,t){var n=e.value,o=void 0===n?[]:n,i=e.onChange,a=l.getFieldValue,s=function(){return a(p||[])||[]},c={add:function(e,t){var n=s();t>=0&&t<=n.length?(f.keys=[].concat((0,u.Z)(f.keys.slice(0,t)),[f.id],(0,u.Z)(f.keys.slice(t))),i([].concat((0,u.Z)(n.slice(0,t)),[e],(0,u.Z)(n.slice(t))))):(f.keys=[].concat((0,u.Z)(f.keys),[f.id]),i([].concat((0,u.Z)(n),[e]))),f.id+=1},remove:function(e){var t=s(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(f.keys=f.keys.filter(function(e,t){return!n.has(t)}),i(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=s();e<0||e>=n.length||t<0||t>=n.length||(f.keys=eI(f.keys,e,t),i(eI(n,e,t)))}}},d=o||[];return Array.isArray(d)||(d=[]),r(d.map(function(e,t){var n=f.keys[t];return void 0===n&&(f.keys[t]=f.id,n=f.keys[t],f.id+=1),{name:t,key:n,isListField:!0}}),c,t)})))},eD=n(7732);function eL(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,i){e.forEach(function(e,a){e.catch(function(e){return t=!0,e}).then(function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))})})}):Promise.resolve([])}var eB="__@field_split__";function eZ(e){return e.map(function(e){return"".concat((0,k.Z)(e),":").concat(e)}).join(eB)}var eF=function(){function e(){(0,d.Z)(this,e),(0,g.Z)(this,"kvs",new Map)}return(0,f.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(eZ(e),t)}},{key:"get",value:function(e){return this.kvs.get(eZ(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(eZ(e))}},{key:"map",value:function(e){return(0,u.Z)(this.kvs.entries()).map(function(t){var n=(0,eD.Z)(t,2),r=n[0],o=n[1];return e({key:r.split(eB).map(function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,eD.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o}),value:o})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null}),e}}]),e}(),ez=["name"],eU=(0,f.Z)(function e(t){var n=this;(0,d.Z)(this,e),(0,g.Z)(this,"formHooked",!1),(0,g.Z)(this,"forceRootUpdate",void 0),(0,g.Z)(this,"subscribable",!0),(0,g.Z)(this,"store",{}),(0,g.Z)(this,"fieldEntities",[]),(0,g.Z)(this,"initialValues",{}),(0,g.Z)(this,"callbacks",{}),(0,g.Z)(this,"validateMessages",null),(0,g.Z)(this,"preserve",null),(0,g.Z)(this,"lastValidatePromise",null),(0,g.Z)(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),(0,g.Z)(this,"getInternalHooks",function(e){return e===w?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,b.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,g.Z)(this,"useSubscribe",function(e){n.subscribable=e}),(0,g.Z)(this,"prevWithoutPreserves",null),(0,g.Z)(this,"setInitialValues",function(e,t){if(n.initialValues=e||{},t){var r,o=(0,ed.T)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map(function(t){var n=t.key;o=(0,ed.Z)(o,n,(0,ex.Z)(e,n))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),(0,g.Z)(this,"destroyForm",function(e){if(e)n.updateStore({});else{var t=new eF;n.getFieldEntities(!0).forEach(function(e){n.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)}),n.prevWithoutPreserves=t}}),(0,g.Z)(this,"getInitialValue",function(e){var t=(0,ex.Z)(n.initialValues,e);return e.length?(0,ed.T)(t):t}),(0,g.Z)(this,"setCallbacks",function(e){n.callbacks=e}),(0,g.Z)(this,"setValidateMessages",function(e){n.validateMessages=e}),(0,g.Z)(this,"setPreserve",function(e){n.preserve=e}),(0,g.Z)(this,"watchList",[]),(0,g.Z)(this,"registerWatch",function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter(function(t){return t!==e})}}),(0,g.Z)(this,"notifyWatch",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach(function(n){n(t,r,e)})}}),(0,g.Z)(this,"timeoutId",null),(0,g.Z)(this,"warningUnhooked",function(){}),(0,g.Z)(this,"updateStore",function(e){n.store=e}),(0,g.Z)(this,"getFieldEntities",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities}),(0,g.Z)(this,"getFieldsMap",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eF;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t}),(0,g.Z)(this,"getFieldEntitiesForNamePathList",function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=eE(e);return t.get(n)||{INVALIDATE_NAME_PATH:eE(e)}})}),(0,g.Z)(this,"getFieldsValue",function(e,t){if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,k.Z)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var r,o,i,a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),s=[];return a.forEach(function(e){var t,n,a,l,c="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(l=e).isList)&&void 0!==a&&a.call(l))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&s.push(c)}else s.push(c)}),eC(n.store,s.map(eE))}),(0,g.Z)(this,"getFieldValue",function(e){n.warningUnhooked();var t=eE(e);return(0,ex.Z)(n.store,t)}),(0,g.Z)(this,"getFieldsError",function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:eE(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})}),(0,g.Z)(this,"getFieldError",function(e){n.warningUnhooked();var t=eE(e);return n.getFieldsError([t])[0].errors}),(0,g.Z)(this,"getFieldWarning",function(e){n.warningUnhooked();var t=eE(e);return n.getFieldsError([t])[0].warnings}),(0,g.Z)(this,"isFieldsTouched",function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var i=r[0],a=r[1],s=!1;0===r.length?e=null:1===r.length?Array.isArray(i)?(e=i.map(eE),s=!1):(e=null,s=i):(e=i.map(eE),s=a);var l=n.getFieldEntities(!0),c=function(e){return e.isFieldTouched()};if(!e)return s?l.every(function(e){return c(e)||e.isList()}):l.some(c);var d=new eF;e.forEach(function(e){d.set(e,[])}),l.forEach(function(t){var n=t.getNamePath();e.forEach(function(e){e.every(function(e,t){return n[t]===e})&&d.update(e,function(e){return[].concat((0,u.Z)(e),[t])})})});var f=function(e){return e.some(c)},p=d.map(function(e){return e.value});return s?p.every(f):p.some(f)}),(0,g.Z)(this,"isFieldTouched",function(e){return n.warningUnhooked(),n.isFieldsTouched([e])}),(0,g.Z)(this,"isFieldsValidating",function(e){n.warningUnhooked();var t=n.getFieldEntities();if(!e)return t.some(function(e){return e.isFieldValidating()});var r=e.map(eE);return t.some(function(e){return e_(r,e.getNamePath())&&e.isFieldValidating()})}),(0,g.Z)(this,"isFieldValidating",function(e){return n.warningUnhooked(),n.isFieldsValidating([e])}),(0,g.Z)(this,"resetWithFieldInitialValue",function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=new eF,o=n.getFieldEntities(!0);o.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}});var i=function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))(0,b.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)(0,b.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);e.isListField()||t.skipExist&&void 0!==a||n.updateStore((0,ed.Z)(n.store,o,(0,u.Z)(i)[0].value))}}}})};t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,(0,u.Z)((0,u.Z)(o).map(function(e){return e.entity})))})):e=o,i(e)}),(0,g.Z)(this,"resetFields",function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore((0,ed.T)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(eE);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore((0,ed.Z)(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)}),(0,g.Z)(this,"setFields",function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=(0,a.Z)(e,ez),s=eE(o);r.push(s),"value"in i&&n.updateStore((0,ed.Z)(n.store,s,i.value)),n.notifyObservers(t,[s],{type:"setField",data:e})}),n.notifyWatch(r)}),(0,g.Z)(this,"getFields",function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,c.Z)((0,c.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o})}),(0,g.Z)(this,"initEntityValue",function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,ex.Z)(n.store,r)&&n.updateStore((0,ed.Z)(n.store,r,t))}}),(0,g.Z)(this,"isMergedPreserve",function(e){var t=void 0!==e?e:n.preserve;return null==t||t}),(0,g.Z)(this,"registerField",function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(t){return t!==e}),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every(function(e){return!ek(e.getNamePath(),t)})){var s=n.store;n.updateStore((0,ed.Z)(s,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t)}}n.notifyWatch([t])}}),(0,g.Z)(this,"dispatch",function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}}),(0,g.Z)(this,"notifyObservers",function(e,t,r){if(n.subscribable){var o=(0,c.Z)((0,c.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()}),(0,g.Z)(this,"triggerDependenciesUpdate",function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,u.Z)(r))}),r}),(0,g.Z)(this,"updateValue",function(e,t){var r=eE(e),o=n.store;n.updateStore((0,ed.Z)(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(eC(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,u.Z)(i)))}),(0,g.Z)(this,"setFieldsValue",function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,ed.T)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),(0,g.Z)(this,"setFieldValue",function(e,t){n.setFields([{name:e,value:t}])}),(0,g.Z)(this,"getDependencyChildrenFields",function(e){var t=new Set,r=[],o=new eF;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=eE(t);o.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(n){(o.get(n)||new Set).forEach(function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}})}(e),r}),(0,g.Z)(this,"triggerOnFieldsChange",function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new eF;t.forEach(function(e){var t=e.name,n=e.errors;i.set(t,n)}),o.forEach(function(e){e.errors=i.get(e.name)||e.errors})}var a=o.filter(function(t){return e_(e,t.name)});a.length&&r(a,o)}}),(0,g.Z)(this,"validateFields",function(e,t){n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e;var r,o,i=!!r,a=i?r.map(eE):[],s=[],l=String(Date.now()),d=new Set,f=o||{},p=f.recursive,h=f.dirty;n.getFieldEntities(!0).forEach(function(e){if(i||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!h||e.isFieldDirty())){var t=e.getNamePath();if(d.add(t.join(l)),!i||e_(a,t,p)){var r=e.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},eu),n.validateMessages)},o));s.push(r.then(function(){return{name:t,errors:[],warnings:[]}}).catch(function(e){var n,r=[],o=[];return(null===(n=e.forEach)||void 0===n||n.call(e,function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,(0,u.Z)(n)):r.push.apply(r,(0,u.Z)(n))}),r.length)?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}}))}}});var m=eL(s);n.lastValidatePromise=m,m.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)});var g=m.then(function(){return n.lastValidatePromise===m?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==m})});g.catch(function(e){return e});var v=a.filter(function(e){return d.has(e.join(l))});return n.triggerOnFieldsChange(v),g}),(0,g.Z)(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})}),this.forceRootUpdate=t}),eH=function(e){var t=o.useRef(),n=o.useState({}),r=(0,eD.Z)(n,2)[1];if(!t.current){if(e)t.current=e;else{var i=new eU(function(){r({})});t.current=i.getForm()}}return[t.current]},eq=o.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eV=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,i=e.children,a=o.useContext(eq),s=o.useRef({});return o.createElement(eq.Provider,{value:(0,c.Z)((0,c.Z)({},a),{},{validateMessages:(0,c.Z)((0,c.Z)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:s.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=(0,c.Z)((0,c.Z)({},s.current),{},(0,g.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.Z)({},s.current);delete t[e],s.current=t,a.unregisterForm(e)}})},i)},eW=eq,e$=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],eG=function(e,t){var n,r=e.name,s=e.initialValues,l=e.fields,u=e.form,d=e.preserve,f=e.children,p=e.component,h=void 0===p?"form":p,m=e.validateMessages,g=e.validateTrigger,v=void 0===g?"onChange":g,y=e.onValuesChange,b=e.onFieldsChange,S=e.onFinish,C=e.onFinishFailed,_=e.clearOnDestroy,k=(0,a.Z)(e,e$),O=o.useRef(null),A=o.useContext(eW),I=eH(u),P=(0,eD.Z)(I,1)[0],T=P.getInternalHooks(w),R=T.useSubscribe,M=T.setInitialValues,N=T.setCallbacks,j=T.setValidateMessages,D=T.setPreserve,L=T.destroyForm;o.useImperativeHandle(t,function(){return(0,c.Z)((0,c.Z)({},P),{},{nativeElement:O.current})}),o.useEffect(function(){return A.registerForm(r,P),function(){A.unregisterForm(r)}},[A,P,r]),j((0,c.Z)((0,c.Z)({},A.validateMessages),m)),N({onValuesChange:y,onFieldsChange:function(e){if(A.triggerFormChange(r,e),b){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];b.apply(void 0,[e].concat(n))}},onFinish:function(e){A.triggerFormFinish(r,e),S&&S(e)},onFinishFailed:C}),D(d);var B=o.useRef(null);M(s,!B.current),B.current||(B.current=!0),o.useEffect(function(){return function(){return L(_)}},[]);var Z="function"==typeof f;n=Z?f(P.getFieldsValue(!0),P):f,R(!Z);var F=o.useRef();o.useEffect(function(){eO(F.current||[],l||[])||P.setFields(l||[]),F.current=l},[l,P]);var z=o.useMemo(function(){return(0,c.Z)((0,c.Z)({},P),{},{validateTrigger:v})},[P,v]),U=o.createElement(E.Provider,{value:null},o.createElement(x.Provider,{value:z},n));return!1===h?U:o.createElement(h,(0,i.Z)({},k,{ref:O,onSubmit:function(e){e.preventDefault(),e.stopPropagation(),P.submit()},onReset:function(e){var t;e.preventDefault(),P.resetFields(),null===(t=k.onReset)||void 0===t||t.call(k,e)}}),U)};function eK(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var eY=function(){},eX=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],a=void 0===i?{}:i,s=_(a)?{form:a}:a,l=s.form,c=(0,o.useState)(),u=(0,eD.Z)(c,2),d=u[0],f=u[1],p=(0,o.useMemo)(function(){return eK(d)},[d]),h=(0,o.useRef)(p);h.current=p;var m=(0,o.useContext)(x),g=l||m,v=g&&g._init,y=eE(r),b=(0,o.useRef)(y);return b.current=y,eY(y),(0,o.useEffect)(function(){if(v){var e=g.getFieldsValue,t=(0,g.getInternalHooks)(w).registerWatch,n=function(e,t){var n=s.preserve?t:e;return"function"==typeof r?r(n):(0,ex.Z)(n,b.current)},o=t(function(e,t){var r=n(e,t),o=eK(r);h.current!==o&&(h.current=o,f(r))}),i=n(e(),e(!0));return d!==i&&f(i),o}},[v]),d},eQ=o.forwardRef(eG);eQ.FormProvider=eV,eQ.Field=eN,eQ.List=ej,eQ.useForm=eH,eQ.useWatch=eX;var eJ=eQ},88966:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(92486),o=n(33581),i=n(24335),a=n(44194),s=["show"];function l(e,t){return a.useMemo(function(){var n={};t&&(n.show="object"===(0,i.Z)(t)&&t.formatter?t.formatter:!!t);var a=n=(0,o.Z)((0,o.Z)({},n),e),l=a.show,c=(0,r.Z)(a,s);return(0,o.Z)((0,o.Z)({},c),{},{show:!!l,showFormatter:"function"==typeof l?l:void 0,strategy:c.strategy||function(e){return e.length}})},[e,t])}},26874:function(e,t,n){"use strict";n.d(t,{Q:function(){return d},Z:function(){return b}});var r=n(33581),o=n(27820),i=n(52986),a=n(24335),s=n(51865),l=n.n(s),c=n(44194),u=n(16745),d=c.forwardRef(function(e,t){var n=e.inputElement,s=e.children,d=e.prefixCls,f=e.prefix,p=e.suffix,h=e.addonBefore,m=e.addonAfter,g=e.className,v=e.style,y=e.disabled,b=e.readOnly,w=e.focused,S=e.triggerFocus,x=e.allowClear,E=e.value,C=e.handleReset,_=e.hidden,k=e.classes,O=e.classNames,A=e.dataAttrs,I=e.styles,P=e.components,T=null!=s?s:n,R=(null==P?void 0:P.affixWrapper)||"span",M=(null==P?void 0:P.groupWrapper)||"span",N=(null==P?void 0:P.wrapper)||"span",j=(null==P?void 0:P.groupAddon)||"span",D=(0,c.useRef)(null),L=function(e){var t;null!==(t=D.current)&&void 0!==t&&t.contains(e.target)&&(null==S||S())},B=(0,u.X3)(e),Z=(0,c.cloneElement)(T,{value:E,className:l()(T.props.className,!B&&(null==O?void 0:O.variant))||null}),F=(0,c.useRef)(null);if(c.useImperativeHandle(t,function(){return{nativeElement:F.current||D.current}}),B){var z=null;if(x){var U,H,q,V,W=!y&&!b&&E,$="".concat(d,"-clear-icon"),G="object"===(0,a.Z)(x)&&null!=x&&x.clearIcon?x.clearIcon:"✖";z=c.createElement("span",{onClick:C,onMouseDown:function(e){return e.preventDefault()},className:l()($,(V={},(0,i.Z)(V,"".concat($,"-hidden"),!W),(0,i.Z)(V,"".concat($,"-has-suffix"),!!p),V)),role:"button",tabIndex:-1},G)}var K="".concat(d,"-affix-wrapper"),Y=l()(K,(q={},(0,i.Z)(q,"".concat(d,"-disabled"),y),(0,i.Z)(q,"".concat(K,"-disabled"),y),(0,i.Z)(q,"".concat(K,"-focused"),w),(0,i.Z)(q,"".concat(K,"-readonly"),b),(0,i.Z)(q,"".concat(K,"-input-with-clear-btn"),p&&x&&E),q),null==k?void 0:k.affixWrapper,null==O?void 0:O.affixWrapper,null==O?void 0:O.variant),X=(p||x)&&c.createElement("span",{className:l()("".concat(d,"-suffix"),null==O?void 0:O.suffix),style:null==I?void 0:I.suffix},z,p);Z=c.createElement(R,(0,o.Z)({className:Y,style:null==I?void 0:I.affixWrapper,onClick:L},null==A?void 0:A.affixWrapper,{ref:D}),f&&c.createElement("span",{className:l()("".concat(d,"-prefix"),null==O?void 0:O.prefix),style:null==I?void 0:I.prefix},f),Z,X)}if((0,u.He)(e)){var Q="".concat(d,"-group"),J="".concat(Q,"-addon"),ee="".concat(Q,"-wrapper"),et=l()("".concat(d,"-wrapper"),Q,null==k?void 0:k.wrapper,null==O?void 0:O.wrapper),en=l()(ee,(0,i.Z)({},"".concat(ee,"-disabled"),y),null==k?void 0:k.group,null==O?void 0:O.groupWrapper);Z=c.createElement(M,{className:en,ref:F},c.createElement(N,{className:et},h&&c.createElement(j,{className:J},h),Z,m&&c.createElement(j,{className:J},m)))}return c.cloneElement(Z,{className:l()(null===(U=Z.props)||void 0===U?void 0:U.className,g)||null,style:(0,r.Z)((0,r.Z)({},null===(H=Z.props)||void 0===H?void 0:H.style),v),hidden:_})}),f=n(70826),p=n(7732),h=n(92486),m=n(45571),g=n(76933),v=n(88966),y=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],b=(0,c.forwardRef)(function(e,t){var n=e.autoComplete,a=e.onChange,s=e.onFocus,b=e.onBlur,w=e.onPressEnter,S=e.onKeyDown,x=e.prefixCls,E=void 0===x?"rc-input":x,C=e.disabled,_=e.htmlSize,k=e.className,O=e.maxLength,A=e.suffix,I=e.showCount,P=e.count,T=e.type,R=void 0===T?"text":T,M=e.classes,N=e.classNames,j=e.styles,D=e.onCompositionStart,L=e.onCompositionEnd,B=(0,h.Z)(e,y),Z=(0,c.useState)(!1),F=(0,p.Z)(Z,2),z=F[0],U=F[1],H=(0,c.useRef)(!1),q=(0,c.useRef)(null),V=(0,c.useRef)(null),W=function(e){q.current&&(0,u.nH)(q.current,e)},$=(0,m.Z)(e.defaultValue,{value:e.value}),G=(0,p.Z)($,2),K=G[0],Y=G[1],X=null==K?"":String(K),Q=(0,c.useState)(null),J=(0,p.Z)(Q,2),ee=J[0],et=J[1],en=(0,v.Z)(P,I),er=en.max||O,eo=en.strategy(X),ei=!!er&&eo>er;(0,c.useImperativeHandle)(t,function(){var e;return{focus:W,blur:function(){var e;null===(e=q.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=q.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=q.current)||void 0===e||e.select()},input:q.current,nativeElement:(null===(e=V.current)||void 0===e?void 0:e.nativeElement)||q.current}}),(0,c.useEffect)(function(){U(function(e){return(!e||!C)&&e})},[C]);var ea=function(e,t,n){var r,o,i=t;if(!H.current&&en.exceedFormatter&&en.max&&en.strategy(t)>en.max)i=en.exceedFormatter(t,{max:en.max}),t!==i&&et([(null===(r=q.current)||void 0===r?void 0:r.selectionStart)||0,(null===(o=q.current)||void 0===o?void 0:o.selectionEnd)||0]);else if("compositionEnd"===n.source)return;Y(i),q.current&&(0,u.rJ)(q.current,e,a,i)};(0,c.useEffect)(function(){if(ee){var e;null===(e=q.current)||void 0===e||e.setSelectionRange.apply(e,(0,f.Z)(ee))}},[ee]);var es=function(e){ea(e,e.target.value,{source:"change"})},el=function(e){H.current=!1,ea(e,e.currentTarget.value,{source:"compositionEnd"}),null==L||L(e)},ec=function(e){w&&"Enter"===e.key&&w(e),null==S||S(e)},eu=function(e){U(!0),null==s||s(e)},ed=function(e){U(!1),null==b||b(e)},ef=function(e){Y(""),W(),q.current&&(0,u.rJ)(q.current,e,a)},ep=ei&&"".concat(E,"-out-of-range"),eh=function(){var t=(0,g.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]);return c.createElement("input",(0,o.Z)({autoComplete:n},t,{onChange:es,onFocus:eu,onBlur:ed,onKeyDown:ec,className:l()(E,(0,i.Z)({},"".concat(E,"-disabled"),C),null==N?void 0:N.input),style:null==j?void 0:j.input,ref:q,size:_,type:R,onCompositionStart:function(e){H.current=!0,null==D||D(e)},onCompositionEnd:el}))},em=function(){var e=Number(er)>0;if(A||en.show){var t=en.showFormatter?en.showFormatter({value:X,count:eo,maxLength:er}):"".concat(eo).concat(e?" / ".concat(er):"");return c.createElement(c.Fragment,null,en.show&&c.createElement("span",{className:l()("".concat(E,"-show-count-suffix"),(0,i.Z)({},"".concat(E,"-show-count-has-suffix"),!!A),null==N?void 0:N.count),style:(0,r.Z)({},null==j?void 0:j.count)},t),A)}return null};return c.createElement(d,(0,o.Z)({},B,{prefixCls:E,className:l()(k,ep),handleReset:ef,value:X,focused:z,triggerFocus:W,suffix:em(),disabled:C,classes:M,classNames:N,styles:j}),eh())})},16745:function(e,t,n){"use strict";function r(e){return!!(e.addonBefore||e.addonAfter)}function o(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(e,t,n){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function a(e,t,n,r){if(n){var o=t;if("click"===t.type){n(o=i(t,e,""));return}if("file"!==e.type&&void 0!==r){n(o=i(t,e,r));return}n(o)}}function s(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var o=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}n.d(t,{He:function(){return r},X3:function(){return o},nH:function(){return s},rJ:function(){return a}})},46281:function(e,t,n){"use strict";n.d(t,{iz:function(){return e$},ck:function(){return ek},BW:function(){return eY},sN:function(){return ek},Wd:function(){return eV},ZP:function(){return e3},Xl:function(){return I}});var r=n(27820),o=n(52986),i=n(33581),a=n(70826),s=n(7732),l=n(92486),c=n(51865),u=n.n(c),d=n(54298),f=n(45571),p=n(21608),h=n(6103),m=n(44194),g=n(56321),v=m.createContext(null);function y(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function b(e){return y(m.useContext(v),e)}var w=n(9188),S=["children","locked"],x=m.createContext(null);function E(e,t){var n=(0,i.Z)({},e);return Object.keys(t).forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r)}),n}function C(e){var t=e.children,n=e.locked,r=(0,l.Z)(e,S),o=m.useContext(x),i=(0,w.Z)(function(){return E(o,r)},[o,r],function(e,t){return!n&&(e[0]!==t[0]||!(0,p.Z)(e[1],t[1],!0))});return m.createElement(x.Provider,{value:i},t)}var _=[],k=m.createContext(null);function O(){return m.useContext(k)}var A=m.createContext(_);function I(e){var t=m.useContext(A);return m.useMemo(function(){return void 0!==e?[].concat((0,a.Z)(t),[e]):t},[t,e])}var P=m.createContext(null),T=m.createContext({}),R=n(36859);function M(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,R.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}function N(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,a.Z)(e.querySelectorAll("*")).filter(function(e){return M(e,t)});return M(e,t)&&n.unshift(e),n}var j=n(4062),D=n(30716),L=j.Z.LEFT,B=j.Z.RIGHT,Z=j.Z.UP,F=j.Z.DOWN,z=j.Z.ENTER,U=j.Z.ESC,H=j.Z.HOME,q=j.Z.END,V=[Z,F,L,B];function W(e,t,n,r){var i,a,s,l,c="prev",u="next",d="children",f="parent";if("inline"===e&&r===z)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,Z,c),(0,o.Z)(i,F,u),i),h=(a={},(0,o.Z)(a,L,n?u:c),(0,o.Z)(a,B,n?c:u),(0,o.Z)(a,F,d),(0,o.Z)(a,z,d),a),m=(s={},(0,o.Z)(s,Z,c),(0,o.Z)(s,F,u),(0,o.Z)(s,z,d),(0,o.Z)(s,U,f),(0,o.Z)(s,L,n?d:f),(0,o.Z)(s,B,n?f:d),s);switch(null===(l=({inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[r]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function $(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function G(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function K(e,t){return N(e,!0).filter(function(e){return t.has(e)})}function Y(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=K(e,t),i=o.length,a=o.findIndex(function(e){return n===e});return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var X=function(e,t){var n=new Set,r=new Map,o=new Map;return e.forEach(function(e){var i=document.querySelector("[data-menu-id='".concat(y(t,e),"']"));i&&(n.add(i),o.set(i,e),r.set(e,i))}),{elements:n,key2element:r,element2key:o}};function Q(e,t,n,r,o,i,a,s,l,c){var u=m.useRef(),d=m.useRef();d.current=t;var f=function(){D.Z.cancel(u.current)};return m.useEffect(function(){return function(){f()}},[]),function(p){var h=p.which;if([].concat(V,[z,U,H,q]).includes(h)){var m=i(),g=X(m,r),v=g,y=v.elements,b=v.key2element,w=v.element2key,S=G(b.get(t),y),x=w.get(S),E=W(e,1===a(x,!0).length,n,h);if(!E&&h!==H&&h!==q)return;(V.includes(h)||[H,q].includes(h))&&p.preventDefault();var C=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=w.get(e);s(r),f(),u.current=(0,D.Z)(function(){d.current===r&&t.focus()})}};if([H,q].includes(h)||E.sibling||!S){var _,k,O=K(_=S&&"inline"!==e?$(S):o.current,y);C(k=h===H?O[0]:h===q?O[O.length-1]:Y(_,y,S,E.offset))}else if(E.inlineTrigger)l(x);else if(E.offset>0)l(x,!0),f(),u.current=(0,D.Z)(function(){g=X(m,r);var e=S.getAttribute("aria-controls");C(Y(document.getElementById(e),g.elements))},5);else if(E.offset<0){var A=a(x,!0),I=A[A.length-2],P=b.get(I);l(I,!1),C(P)}}null==c||c(p)}}function J(e){Promise.resolve().then(e)}var ee="__RC_UTIL_PATH_SPLIT__",et=function(e){return e.join(ee)},en=function(e){return e.split(ee)},er="rc-menu-more";function eo(){var e=m.useState({}),t=(0,s.Z)(e,2)[1],n=(0,m.useRef)(new Map),r=(0,m.useRef)(new Map),o=m.useState([]),i=(0,s.Z)(o,2),l=i[0],c=i[1],u=(0,m.useRef)(0),d=(0,m.useRef)(!1),f=function(){d.current||t({})},p=(0,m.useCallback)(function(e,t){var o=et(t);r.current.set(o,e),n.current.set(e,o),u.current+=1;var i=u.current;J(function(){i===u.current&&f()})},[]),h=(0,m.useCallback)(function(e,t){var o=et(t);r.current.delete(o),n.current.delete(e)},[]),g=(0,m.useCallback)(function(e){c(e)},[]),v=(0,m.useCallback)(function(e,t){var r=en(n.current.get(e)||"");return t&&l.includes(r[0])&&r.unshift(er),r},[l]),y=(0,m.useCallback)(function(e,t){return e.filter(function(e){return void 0!==e}).some(function(e){return v(e,!0).includes(t)})},[v]),b=function(){var e=(0,a.Z)(n.current.keys());return l.length&&e.push(er),e},w=(0,m.useCallback)(function(e){var t="".concat(n.current.get(e)).concat(ee),o=new Set;return(0,a.Z)(r.current.keys()).forEach(function(e){e.startsWith(t)&&o.add(r.current.get(e))}),o},[]);return m.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:p,unregisterPath:h,refreshOverflowKeys:g,isSubPathKey:y,getKeyPath:v,getKeys:b,getSubPathKeys:w}}function ei(e){var t=m.useRef(e);t.current=e;var n=m.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))},[]);return e?n:void 0}var ea=Math.random().toFixed(5).toString().slice(2),es=0;function el(e){var t=(0,f.Z)(e,{value:e}),n=(0,s.Z)(t,2),r=n[0],o=n[1];return m.useEffect(function(){es+=1;var e="".concat(ea,"-").concat(es);o("rc-menu-uuid-".concat(e))},[]),r}var ec=n(10342),eu=n(77009),ed=n(81065),ef=n(17615),ep=n(76933),eh=n(64198);function em(e,t,n,r){var o=m.useContext(x),i=o.activeKey,a=o.onActive,s=o.onInactive,l={active:i===e};return t||(l.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),a(e)},l.onMouseLeave=function(t){null==r||r({key:e,domEvent:t}),s(e)}),l}function eg(e){var t=m.useContext(x),n=t.mode,r=t.rtl,o=t.inlineIndent;if("inline"!==n)return null;var i=e;return r?{paddingRight:i*o}:{paddingLeft:i*o}}function ev(e){var t,n=e.icon,r=e.props,o=e.children;return null===n||!1===n?null:("function"==typeof n?t=m.createElement(n,(0,i.Z)({},r)):"boolean"!=typeof n&&(t=n),t||o||null)}var ey=["item"];function eb(e){var t=e.item,n=(0,l.Z)(e,ey);return Object.defineProperty(n,"item",{get:function(){return(0,h.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var ew=["title","attribute","elementRef"],eS=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ex=["active"],eE=function(e){(0,ed.Z)(n,e);var t=(0,ef.Z)(n);function n(){return(0,ec.Z)(this,n),t.apply(this,arguments)}return(0,eu.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=(0,l.Z)(e,ew),a=(0,ep.Z)(i,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,h.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),m.createElement(d.Z.Item,(0,r.Z)({},n,{title:"string"==typeof t?t:void 0},a,{ref:o}))}}]),n}(m.Component),eC=m.forwardRef(function(e,t){var n,s=e.style,c=e.className,d=e.eventKey,f=(e.warnKey,e.disabled),p=e.itemIcon,h=e.children,g=e.role,v=e.onMouseEnter,y=e.onMouseLeave,w=e.onClick,S=e.onKeyDown,E=e.onFocus,C=(0,l.Z)(e,eS),_=b(d),k=m.useContext(x),O=k.prefixCls,A=k.onItemClick,P=k.disabled,R=k.overflowDisabled,M=k.itemIcon,N=k.selectedKeys,D=k.onActive,L=m.useContext(T)._internalRenderMenuItem,B="".concat(O,"-item"),Z=m.useRef(),F=m.useRef(),z=P||f,U=(0,eh.x1)(t,F),H=I(d),q=function(e){return{key:d,keyPath:(0,a.Z)(H).reverse(),item:Z.current,domEvent:e}},V=p||M,W=em(d,z,v,y),$=W.active,G=(0,l.Z)(W,ex),K=N.includes(d),Y=eg(H.length),X=function(e){if(!z){var t=q(e);null==w||w(eb(t)),A(t)}},Q=function(e){if(null==S||S(e),e.which===j.Z.ENTER){var t=q(e);null==w||w(eb(t)),A(t)}},J=function(e){D(d),null==E||E(e)},ee={};"option"===e.role&&(ee["aria-selected"]=K);var et=m.createElement(eE,(0,r.Z)({ref:Z,elementRef:U,role:null===g?"none":g||"menuitem",tabIndex:f?null:-1,"data-menu-id":R&&_?null:_},C,G,ee,{component:"li","aria-disabled":f,style:(0,i.Z)((0,i.Z)({},Y),s),className:u()(B,(n={},(0,o.Z)(n,"".concat(B,"-active"),$),(0,o.Z)(n,"".concat(B,"-selected"),K),(0,o.Z)(n,"".concat(B,"-disabled"),z),n),c),onClick:X,onKeyDown:Q,onFocus:J}),h,m.createElement(ev,{props:(0,i.Z)((0,i.Z)({},e),{},{isSelected:K}),icon:V}));return L&&(et=L(et,e,{selected:K})),et});function e_(e,t){var n=e.eventKey,o=O(),i=I(n);return(m.useEffect(function(){if(o)return o.registerPath(n,i),function(){o.unregisterPath(n,i)}},[i]),o)?null:m.createElement(eC,(0,r.Z)({},e,{ref:t}))}var ek=m.forwardRef(e_),eO=["className","children"],eA=function(e,t){var n=e.className,o=e.children,i=(0,l.Z)(e,eO),a=m.useContext(x),s=a.prefixCls,c=a.mode,d=a.rtl;return m.createElement("ul",(0,r.Z)({className:u()(s,d&&"".concat(s,"-rtl"),"".concat(s,"-sub"),"".concat(s,"-").concat("inline"===c?"inline":"vertical"),n),role:"menu"},i,{"data-menu-list":!0,ref:t}),o)},eI=m.forwardRef(eA);eI.displayName="SubMenuList";var eP=eI,eT=n(2196);function eR(e,t){return(0,eT.Z)(e).map(function(e,n){if(m.isValidElement(e)){var r,o,i=e.key,s=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;null==s&&(s="tmp_key-".concat([].concat((0,a.Z)(t),[n]).join("-")));var l={key:s,eventKey:s};return m.cloneElement(e,l)}return e})}var eM=n(41890),eN={adjustX:1,adjustY:1},ej={topLeft:{points:["bl","tl"],overflow:eN},topRight:{points:["br","tr"],overflow:eN},bottomLeft:{points:["tl","bl"],overflow:eN},bottomRight:{points:["tr","br"],overflow:eN},leftTop:{points:["tr","tl"],overflow:eN},leftBottom:{points:["br","bl"],overflow:eN},rightTop:{points:["tl","tr"],overflow:eN},rightBottom:{points:["bl","br"],overflow:eN}},eD={topLeft:{points:["bl","tl"],overflow:eN},topRight:{points:["br","tr"],overflow:eN},bottomLeft:{points:["tl","bl"],overflow:eN},bottomRight:{points:["tr","br"],overflow:eN},rightTop:{points:["tr","tl"],overflow:eN},rightBottom:{points:["br","bl"],overflow:eN},leftTop:{points:["tl","tr"],overflow:eN},leftBottom:{points:["bl","br"],overflow:eN}};function eL(e,t,n){return t||(n?n[e]||n.other:void 0)}var eB={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function eZ(e){var t=e.prefixCls,n=e.visible,r=e.children,a=e.popup,l=e.popupStyle,c=e.popupClassName,d=e.popupOffset,f=e.disabled,p=e.mode,h=e.onVisibleChange,g=m.useContext(x),v=g.getPopupContainer,y=g.rtl,b=g.subMenuOpenDelay,w=g.subMenuCloseDelay,S=g.builtinPlacements,E=g.triggerSubMenuAction,C=g.forceSubMenuRender,_=g.rootClassName,k=g.motion,O=g.defaultMotions,A=m.useState(!1),I=(0,s.Z)(A,2),P=I[0],T=I[1],R=y?(0,i.Z)((0,i.Z)({},eD),S):(0,i.Z)((0,i.Z)({},ej),S),M=eB[p],N=eL(p,k,O),j=m.useRef(N);"inline"!==p&&(j.current=N);var L=(0,i.Z)((0,i.Z)({},j.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),B=m.useRef();return m.useEffect(function(){return B.current=(0,D.Z)(function(){T(n)}),function(){D.Z.cancel(B.current)}},[n]),m.createElement(eM.Z,{prefixCls:t,popupClassName:u()("".concat(t,"-popup"),(0,o.Z)({},"".concat(t,"-rtl"),y),c,_),stretch:"horizontal"===p?"minWidth":null,getPopupContainer:v,builtinPlacements:R,popupPlacement:M,popupVisible:P,popup:a,popupStyle:l,popupAlign:d&&{offset:d},action:f?[]:[E],mouseEnterDelay:b,mouseLeaveDelay:w,onPopupVisibleChange:h,forceRender:C,popupMotion:L,fresh:!0},r)}var eF=n(63290);function ez(e){var t=e.id,n=e.open,o=e.keyPath,a=e.children,l="inline",c=m.useContext(x),u=c.prefixCls,d=c.forceSubMenuRender,f=c.motion,p=c.defaultMotions,h=c.mode,g=m.useRef(!1);g.current=h===l;var v=m.useState(!g.current),y=(0,s.Z)(v,2),b=y[0],w=y[1],S=!!g.current&&n;m.useEffect(function(){g.current&&w(!1)},[h]);var E=(0,i.Z)({},eL(l,f,p));o.length>1&&(E.motionAppear=!1);var _=E.onVisibleChanged;return(E.onVisibleChanged=function(e){return g.current||e||w(!0),null==_?void 0:_(e)},b)?null:m.createElement(C,{mode:l,locked:!g.current},m.createElement(eF.ZP,(0,r.Z)({visible:S},E,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(u,"-hidden")}),function(e){var n=e.className,r=e.style;return m.createElement(eP,{id:t,className:n,style:r},a)}))}var eU=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],eH=["active"],eq=m.forwardRef(function(e,t){var n,a=e.style,c=e.className,f=e.title,p=e.eventKey,h=(e.warnKey,e.disabled),g=e.internalPopupClose,v=e.children,y=e.itemIcon,w=e.expandIcon,S=e.popupClassName,E=e.popupOffset,_=e.popupStyle,k=e.onClick,O=e.onMouseEnter,A=e.onMouseLeave,R=e.onTitleClick,M=e.onTitleMouseEnter,N=e.onTitleMouseLeave,j=(0,l.Z)(e,eU),D=b(p),L=m.useContext(x),B=L.prefixCls,Z=L.mode,F=L.openKeys,z=L.disabled,U=L.overflowDisabled,H=L.activeKey,q=L.selectedKeys,V=L.itemIcon,W=L.expandIcon,$=L.onItemClick,G=L.onOpenChange,K=L.onActive,Y=m.useContext(T)._internalRenderSubMenuItem,X=m.useContext(P).isSubPathKey,Q=I(),J="".concat(B,"-submenu"),ee=z||h,et=m.useRef(),en=m.useRef(),er=null!=y?y:V,eo=null!=w?w:W,ea=F.includes(p),es=!U&&ea,el=X(q,p),ec=em(p,ee,M,N),eu=ec.active,ed=(0,l.Z)(ec,eH),ef=m.useState(!1),ep=(0,s.Z)(ef,2),eh=ep[0],ey=ep[1],ew=function(e){ee||ey(e)},eS=function(e){ew(!0),null==O||O({key:p,domEvent:e})},ex=function(e){ew(!1),null==A||A({key:p,domEvent:e})},eE=m.useMemo(function(){return eu||"inline"!==Z&&(eh||X([H],p))},[Z,eu,H,eh,p,X]),eC=eg(Q.length),e_=function(e){ee||(null==R||R({key:p,domEvent:e}),"inline"===Z&&G(p,!ea))},ek=ei(function(e){null==k||k(eb(e)),$(e)}),eO=function(e){"inline"!==Z&&G(p,e)},eA=function(){K(p)},eI=D&&"".concat(D,"-popup"),eT=m.createElement("div",(0,r.Z)({role:"menuitem",style:eC,className:"".concat(J,"-title"),tabIndex:ee?null:-1,ref:et,title:"string"==typeof f?f:null,"data-menu-id":U&&D?null:D,"aria-expanded":es,"aria-haspopup":!0,"aria-controls":eI,"aria-disabled":ee,onClick:e_,onFocus:eA},ed),f,m.createElement(ev,{icon:"horizontal"!==Z?eo:void 0,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:es,isSubMenu:!0})},m.createElement("i",{className:"".concat(J,"-arrow")}))),eR=m.useRef(Z);if("inline"!==Z&&Q.length>1?eR.current="vertical":eR.current=Z,!U){var eM=eR.current;eT=m.createElement(eZ,{mode:eM,prefixCls:J,visible:!g&&es&&"inline"!==Z,popupClassName:S,popupOffset:E,popupStyle:_,popup:m.createElement(C,{mode:"horizontal"===eM?"vertical":eM},m.createElement(eP,{id:eI,ref:en},v)),disabled:ee,onVisibleChange:eO},eT)}var eN=m.createElement(d.Z.Item,(0,r.Z)({ref:t,role:"none"},j,{component:"li",style:a,className:u()(J,"".concat(J,"-").concat(Z),c,(n={},(0,o.Z)(n,"".concat(J,"-open"),es),(0,o.Z)(n,"".concat(J,"-active"),eE),(0,o.Z)(n,"".concat(J,"-selected"),el),(0,o.Z)(n,"".concat(J,"-disabled"),ee),n)),onMouseEnter:eS,onMouseLeave:ex}),eT,!U&&m.createElement(ez,{id:eI,open:es,keyPath:Q},v));return Y&&(eN=Y(eN,e,{selected:el,active:eE,open:es,disabled:ee})),m.createElement(C,{onItemClick:ek,mode:"horizontal"===Z?"vertical":Z,itemIcon:er,expandIcon:eo},eN)}),eV=m.forwardRef(function(e,t){var n,o=e.eventKey,i=e.children,a=I(o),s=eR(i,a),l=O();return m.useEffect(function(){if(l)return l.registerPath(o,a),function(){l.unregisterPath(o,a)}},[a]),n=l?s:m.createElement(eq,(0,r.Z)({ref:t},e),s),m.createElement(A.Provider,{value:a},n)}),eW=n(24335);function e$(e){var t=e.className,n=e.style,r=m.useContext(x).prefixCls;return O()?null:m.createElement("li",{role:"separator",className:u()("".concat(r,"-item-divider"),t),style:n})}var eG=["className","title","eventKey","children"],eK=m.forwardRef(function(e,t){var n=e.className,o=e.title,i=(e.eventKey,e.children),a=(0,l.Z)(e,eG),s=m.useContext(x).prefixCls,c="".concat(s,"-item-group");return m.createElement("li",(0,r.Z)({ref:t,role:"presentation"},a,{onClick:function(e){return e.stopPropagation()},className:u()(c,n)}),m.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof o?o:void 0},o),m.createElement("ul",{role:"group",className:"".concat(c,"-list")},i))}),eY=m.forwardRef(function(e,t){var n=e.eventKey,o=eR(e.children,I(n));return O()?o:m.createElement(eK,(0,r.Z)({ref:t},(0,ep.Z)(e,["warnKey"])),o)}),eX=["label","children","key","type"];function eQ(e,t){var n=t.item,o=t.group,i=t.submenu,a=t.divider;return(e||[]).map(function(e,s){if(e&&"object"===(0,eW.Z)(e)){var c=e,u=c.label,d=c.children,f=c.key,p=c.type,h=(0,l.Z)(c,eX),g=null!=f?f:"tmp-".concat(s);return d||"group"===p?"group"===p?m.createElement(o,(0,r.Z)({key:g},h,{title:u}),eQ(d,t)):m.createElement(i,(0,r.Z)({key:g},h,{title:u}),eQ(d,t)):"divider"===p?m.createElement(a,(0,r.Z)({key:g},h)):m.createElement(n,(0,r.Z)({key:g},h),u)}return null}).filter(function(e){return e})}function eJ(e,t,n,r){var o=e,a=(0,i.Z)({divider:e$,item:ek,group:eY,submenu:eV},r);return t&&(o=eQ(t,a)),eR(o,n)}var e0=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],e1=[],e2=m.forwardRef(function(e,t){var n,c,h=e,y=h.prefixCls,b=void 0===y?"rc-menu":y,w=h.rootClassName,S=h.style,x=h.className,E=h.tabIndex,_=void 0===E?0:E,O=h.items,A=h.children,I=h.direction,R=h.id,M=h.mode,N=void 0===M?"vertical":M,j=h.inlineCollapsed,D=h.disabled,L=h.disabledOverflow,B=h.subMenuOpenDelay,Z=void 0===B?.1:B,F=h.subMenuCloseDelay,z=void 0===F?.1:F,U=h.forceSubMenuRender,H=h.defaultOpenKeys,q=h.openKeys,V=h.activeKey,W=h.defaultActiveFirst,$=h.selectable,G=void 0===$||$,Y=h.multiple,J=void 0!==Y&&Y,ee=h.defaultSelectedKeys,et=h.selectedKeys,en=h.onSelect,ea=h.onDeselect,es=h.inlineIndent,ec=void 0===es?24:es,eu=h.motion,ed=h.defaultMotions,ef=h.triggerSubMenuAction,ep=void 0===ef?"hover":ef,eh=h.builtinPlacements,em=h.itemIcon,eg=h.expandIcon,ev=h.overflowedIndicator,ey=void 0===ev?"...":ev,ew=h.overflowedIndicatorPopupClassName,eS=h.getPopupContainer,ex=h.onClick,eE=h.onOpenChange,eC=h.onKeyDown,e_=(h.openAnimation,h.openTransitionName,h._internalRenderMenuItem),eO=h._internalRenderSubMenuItem,eA=h._internalComponents,eI=(0,l.Z)(h,e0),eP=m.useMemo(function(){return[eJ(A,O,e1,eA),eJ(A,O,e1,{})]},[A,O,eA]),eT=(0,s.Z)(eP,2),eR=eT[0],eM=eT[1],eN=m.useState(!1),ej=(0,s.Z)(eN,2),eD=ej[0],eL=ej[1],eB=m.useRef(),eZ=el(R),eF="rtl"===I,ez=(0,f.Z)(H,{value:q,postState:function(e){return e||e1}}),eU=(0,s.Z)(ez,2),eH=eU[0],eq=eU[1],eW=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){eq(e),null==eE||eE(e)}t?(0,g.flushSync)(n):n()},e$=m.useState(eH),eG=(0,s.Z)(e$,2),eK=eG[0],eY=eG[1],eX=m.useRef(!1),eQ=m.useMemo(function(){return("inline"===N||"vertical"===N)&&j?["vertical",j]:[N,!1]},[N,j]),e2=(0,s.Z)(eQ,2),e3=e2[0],e4=e2[1],e5="inline"===e3,e6=m.useState(e3),e8=(0,s.Z)(e6,2),e7=e8[0],e9=e8[1],te=m.useState(e4),tt=(0,s.Z)(te,2),tn=tt[0],tr=tt[1];m.useEffect(function(){e9(e3),tr(e4),eX.current&&(e5?eq(eK):eW(e1))},[e3,e4]);var to=m.useState(0),ti=(0,s.Z)(to,2),ta=ti[0],ts=ti[1],tl=ta>=eR.length-1||"horizontal"!==e7||L;m.useEffect(function(){e5&&eY(eH)},[eH]),m.useEffect(function(){return eX.current=!0,function(){eX.current=!1}},[]);var tc=eo(),tu=tc.registerPath,td=tc.unregisterPath,tf=tc.refreshOverflowKeys,tp=tc.isSubPathKey,th=tc.getKeyPath,tm=tc.getKeys,tg=tc.getSubPathKeys,tv=m.useMemo(function(){return{registerPath:tu,unregisterPath:td}},[tu,td]),ty=m.useMemo(function(){return{isSubPathKey:tp}},[tp]);m.useEffect(function(){tf(tl?e1:eR.slice(ta+1).map(function(e){return e.key}))},[ta,tl]);var tb=(0,f.Z)(V||W&&(null===(n=eR[0])||void 0===n?void 0:n.key),{value:V}),tw=(0,s.Z)(tb,2),tS=tw[0],tx=tw[1],tE=ei(function(e){tx(e)}),tC=ei(function(){tx(void 0)});(0,m.useImperativeHandle)(t,function(){return{list:eB.current,focus:function(e){var t,n,r=X(tm(),eZ),o=r.elements,i=r.key2element,a=r.element2key,s=K(eB.current,o),l=null!=tS?tS:s[0]?a.get(s[0]):null===(t=eR.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key,c=i.get(l);l&&c&&(null==c||null===(n=c.focus)||void 0===n||n.call(c,e))}}});var t_=(0,f.Z)(ee||[],{value:et,postState:function(e){return Array.isArray(e)?e:null==e?e1:[e]}}),tk=(0,s.Z)(t_,2),tO=tk[0],tA=tk[1],tI=function(e){if(G){var t,n=e.key,r=tO.includes(n);tA(t=J?r?tO.filter(function(e){return e!==n}):[].concat((0,a.Z)(tO),[n]):[n]);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:t});r?null==ea||ea(o):null==en||en(o)}!J&&eH.length&&"inline"!==e7&&eW(e1)},tP=ei(function(e){null==ex||ex(eb(e)),tI(e)}),tT=ei(function(e,t){var n=eH.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==e7){var r=tg(e);n=n.filter(function(e){return!r.has(e)})}(0,p.Z)(eH,n,!0)||eW(n,!0)}),tR=Q(e7,tS,eF,eZ,eB,tm,th,tx,function(e,t){var n=null!=t?t:!eH.includes(e);tT(e,n)},eC);m.useEffect(function(){eL(!0)},[]);var tM=m.useMemo(function(){return{_internalRenderMenuItem:e_,_internalRenderSubMenuItem:eO}},[e_,eO]),tN="horizontal"!==e7||L?eR:eR.map(function(e,t){return m.createElement(C,{key:e.key,overflowDisabled:t>ta},e)}),tj=m.createElement(d.Z,(0,r.Z)({id:R,ref:eB,prefixCls:"".concat(b,"-overflow"),component:"ul",itemComponent:ek,className:u()(b,"".concat(b,"-root"),"".concat(b,"-").concat(e7),x,(c={},(0,o.Z)(c,"".concat(b,"-inline-collapsed"),tn),(0,o.Z)(c,"".concat(b,"-rtl"),eF),c),w),dir:I,style:S,role:"menu",tabIndex:_,data:tN,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?eR.slice(-t):null;return m.createElement(eV,{eventKey:er,title:ey,disabled:tl,internalPopupClose:0===t,popupClassName:ew},n)},maxCount:"horizontal"!==e7||L?d.Z.INVALIDATE:d.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){ts(e)},onKeyDown:tR},eI));return m.createElement(T.Provider,{value:tM},m.createElement(v.Provider,{value:eZ},m.createElement(C,{prefixCls:b,rootClassName:w,mode:e7,openKeys:eH,rtl:eF,disabled:D,motion:eD?eu:null,defaultMotions:eD?ed:null,activeKey:tS,onActive:tE,onInactive:tC,selectedKeys:tO,inlineIndent:ec,subMenuOpenDelay:Z,subMenuCloseDelay:z,forceSubMenuRender:U,builtinPlacements:eh,triggerSubMenuAction:ep,getPopupContainer:eS,itemIcon:em,expandIcon:eg,onItemClick:tP,onOpenChange:tT},m.createElement(P.Provider,{value:ty},tj),m.createElement("div",{style:{display:"none"},"aria-hidden":!0},m.createElement(k.Provider,{value:tv},eM)))))});e2.Item=ek,e2.SubMenu=eV,e2.ItemGroup=eY,e2.Divider=e$;var e3=e2},63290:function(e,t,n){"use strict";n.d(t,{V4:function(){return ev},zt:function(){return m},ZP:function(){return ey}});var r=n(52986),o=n(33581),i=n(7732),a=n(24335),s=n(51865),l=n.n(s),c=n(45251),u=n(64198),d=n(44194),f=n(92486),p=["children"],h=d.createContext({});function m(e){var t=e.children,n=(0,f.Z)(e,p);return d.createElement(h.Provider,{value:n},t)}var g=n(10342),v=n(77009),y=n(81065),b=n(17615),w=function(e){(0,y.Z)(n,e);var t=(0,b.Z)(n);function n(){return(0,g.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component),S=n(91324),x=n(59798),E=n(61372);function C(e){var t=d.useReducer(function(e){return e+1},0),n=(0,i.Z)(t,2)[1],r=d.useRef(e);return[(0,E.Z)(function(){return r.current}),(0,E.Z)(function(e){r.current="function"==typeof e?e(r.current):e,n()})]}var _="none",k="appear",O="enter",A="leave",I="none",P="prepare",T="start",R="active",M="end",N="prepared",j=n(17680);function D(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var L=function(e,t){var n={animationend:D("Animation","AnimationEnd"),transitionend:D("Transition","TransitionEnd")};return!e||("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}((0,j.Z)(),"undefined"!=typeof window?window:{}),B={};(0,j.Z)()&&(B=document.createElement("div").style);var Z={};function F(e){if(Z[e])return Z[e];var t=L[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in B)return Z[e]=t[i],Z[e]}return""}var z=F("animationend"),U=F("transitionend"),H=!!(z&&U),q=z||"animationend",V=U||"transitionend";function W(e,t){return e?"object"===(0,a.Z)(e)?e[t.replace(/-\w/g,function(e){return e[1].toUpperCase()})]:"".concat(e,"-").concat(t):null}var $=function(e){var t=(0,d.useRef)();function n(t){t&&(t.removeEventListener(V,e),t.removeEventListener(q,e))}function r(r){t.current&&t.current!==r&&n(t.current),r&&r!==t.current&&(r.addEventListener(V,e),r.addEventListener(q,e),t.current=r)}return d.useEffect(function(){return function(){n(t.current)}},[]),[r,n]},G=(0,j.Z)()?d.useLayoutEffect:d.useEffect,K=n(30716),Y=function(){var e=d.useRef(null);function t(){K.Z.cancel(e.current)}function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,K.Z)(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i}return d.useEffect(function(){return function(){t()}},[]),[n,t]},X=[P,T,R,M],Q=[P,N],J=!1,ee=!0;function et(e){return e===R||e===M}var en=function(e,t,n){var r=(0,x.Z)(I),o=(0,i.Z)(r,2),a=o[0],s=o[1],l=Y(),c=(0,i.Z)(l,2),u=c[0],f=c[1];function p(){s(P,!0)}var h=t?Q:X;return G(function(){if(a!==I&&a!==M){var e=h.indexOf(a),t=h[e+1],r=n(a);r===J?s(t,!0):t&&u(function(e){function n(){e.isCanceled()||s(t,!0)}!0===r?n():Promise.resolve(r).then(n)})}},[e,a]),d.useEffect(function(){return function(){f()}},[]),[p,a]};function er(e,t,n,a){var s=a.motionEnter,l=void 0===s||s,c=a.motionAppear,u=void 0===c||c,f=a.motionLeave,p=void 0===f||f,h=a.motionDeadline,m=a.motionLeaveImmediately,g=a.onAppearPrepare,v=a.onEnterPrepare,y=a.onLeavePrepare,b=a.onAppearStart,w=a.onEnterStart,E=a.onLeaveStart,I=a.onAppearActive,M=a.onEnterActive,j=a.onLeaveActive,D=a.onAppearEnd,L=a.onEnterEnd,B=a.onLeaveEnd,Z=a.onVisibleChanged,F=(0,x.Z)(),z=(0,i.Z)(F,2),U=z[0],H=z[1],q=C(_),V=(0,i.Z)(q,2),W=V[0],K=V[1],Y=(0,x.Z)(null),X=(0,i.Z)(Y,2),Q=X[0],er=X[1],eo=W(),ei=(0,d.useRef)(!1),ea=(0,d.useRef)(null);function es(){return n()}var el=(0,d.useRef)(!1);function ec(){K(_),er(null,!0)}var eu=(0,S.zX)(function(e){var t,n=W();if(n!==_){var r=es();if(!e||e.deadline||e.target===r){var o=el.current;n===k&&o?t=null==D?void 0:D(r,e):n===O&&o?t=null==L?void 0:L(r,e):n===A&&o&&(t=null==B?void 0:B(r,e)),o&&!1!==t&&ec()}}}),ed=$(eu),ef=(0,i.Z)(ed,1)[0],ep=function(e){switch(e){case k:return(0,r.Z)((0,r.Z)((0,r.Z)({},P,g),T,b),R,I);case O:return(0,r.Z)((0,r.Z)((0,r.Z)({},P,v),T,w),R,M);case A:return(0,r.Z)((0,r.Z)((0,r.Z)({},P,y),T,E),R,j);default:return{}}},eh=d.useMemo(function(){return ep(eo)},[eo]),em=en(eo,!e,function(e){if(e===P){var t,n=eh[P];return n?n(es()):J}return ey in eh&&er((null===(t=eh[ey])||void 0===t?void 0:t.call(eh,es(),null))||null),ey===R&&eo!==_&&(ef(es()),h>0&&(clearTimeout(ea.current),ea.current=setTimeout(function(){eu({deadline:!0})},h))),ey===N&&ec(),ee}),eg=(0,i.Z)(em,2),ev=eg[0],ey=eg[1],eb=et(ey);el.current=eb,G(function(){H(t);var n,r=ei.current;ei.current=!0,!r&&t&&u&&(n=k),r&&t&&l&&(n=O),(r&&!t&&p||!r&&m&&!t&&p)&&(n=A);var o=ep(n);n&&(e||o[P])?(K(n),ev()):K(_)},[t]),(0,d.useEffect)(function(){(eo!==k||u)&&(eo!==O||l)&&(eo!==A||p)||K(_)},[u,l,p]),(0,d.useEffect)(function(){return function(){ei.current=!1,clearTimeout(ea.current)}},[]);var ew=d.useRef(!1);(0,d.useEffect)(function(){U&&(ew.current=!0),void 0!==U&&eo===_&&((ew.current||U)&&(null==Z||Z(U)),ew.current=!0)},[U,eo]);var eS=Q;return eh[P]&&ey===T&&(eS=(0,o.Z)({transition:"none"},eS)),[eo,ey,eS,null!=U?U:t]}var eo=function(e){var t=e;function n(e,n){return!!(e.motionName&&t&&!1!==n)}"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var s=d.forwardRef(function(e,t){var a=e.visible,s=void 0===a||a,f=e.removeOnLeave,p=void 0===f||f,m=e.forceRender,g=e.children,v=e.motionName,y=e.leavedClassName,b=e.eventProps,S=n(e,d.useContext(h).motion),x=(0,d.useRef)(),E=(0,d.useRef)(),C=er(S,s,function(){try{return x.current instanceof HTMLElement?x.current:(0,c.ZP)(E.current)}catch(e){return null}},e),k=(0,i.Z)(C,4),O=k[0],A=k[1],I=k[2],R=k[3],M=d.useRef(R);R&&(M.current=!0);var N=d.useCallback(function(e){x.current=e,(0,u.mH)(t,e)},[t]),j=(0,o.Z)((0,o.Z)({},b),{},{visible:s});if(g){if(O===_)D=R?g((0,o.Z)({},j),N):!p&&M.current&&y?g((0,o.Z)((0,o.Z)({},j),{},{className:y}),N):!m&&(p||y)?null:g((0,o.Z)((0,o.Z)({},j),{},{style:{display:"none"}}),N);else{A===P?L="prepare":et(A)?L="active":A===T&&(L="start");var D,L,B=W(v,"".concat(O,"-").concat(L));D=g((0,o.Z)((0,o.Z)({},j),{},{className:l()(W(v,O),(0,r.Z)((0,r.Z)({},B,B&&L),v,"string"==typeof v)),style:I}),N)}}else D=null;return d.isValidElement(D)&&(0,u.Yr)(D)&&!D.ref&&(D=d.cloneElement(D,{ref:N})),d.createElement(w,{ref:E},D)});return s.displayName="CSSMotion",s}(H),ei=n(27820),ea=n(45534),es="add",el="keep",ec="remove",eu="removed";function ed(e){var t;return t=e&&"object"===(0,a.Z)(e)&&"key"in e?e:{key:e},(0,o.Z)((0,o.Z)({},t),{},{key:String(t.key)})}function ef(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ed)}function ep(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=ef(e),s=ef(t);a.forEach(function(e){for(var t=!1,a=r;a<i;a+=1){var l=s[a];if(l.key===e.key){r<a&&(n=n.concat(s.slice(r,a).map(function(e){return(0,o.Z)((0,o.Z)({},e),{},{status:es})})),r=a),n.push((0,o.Z)((0,o.Z)({},l),{},{status:el})),r+=1,t=!0;break}}t||n.push((0,o.Z)((0,o.Z)({},e),{},{status:ec}))}),r<i&&(n=n.concat(s.slice(r).map(function(e){return(0,o.Z)((0,o.Z)({},e),{},{status:es})})));var l={};return n.forEach(function(e){var t=e.key;l[t]=(l[t]||0)+1}),Object.keys(l).filter(function(e){return l[e]>1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==ec})).forEach(function(t){t.key===e&&(t.status=el)})}),n}var eh=["component","children","onVisibleChanged","onAllRemoved"],em=["status"],eg=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ev=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo,n=function(e){(0,y.Z)(i,e);var n=(0,b.Z)(i);function i(){var e;(0,g.Z)(this,i);for(var t=arguments.length,a=Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=n.call.apply(n,[this].concat(a)),(0,r.Z)((0,ea.Z)(e),"state",{keyEntities:[]}),(0,r.Z)((0,ea.Z)(e),"removeKey",function(t){e.setState(function(e){return{keyEntities:e.keyEntities.map(function(e){return e.key!==t?e:(0,o.Z)((0,o.Z)({},e),{},{status:eu})})}},function(){0===e.state.keyEntities.filter(function(e){return e.status!==eu}).length&&e.props.onAllRemoved&&e.props.onAllRemoved()})}),e}return(0,v.Z)(i,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,i=r.component,a=r.children,s=r.onVisibleChanged,l=(r.onAllRemoved,(0,f.Z)(r,eh)),c=i||d.Fragment,u={};return eg.forEach(function(e){u[e]=l[e],delete l[e]}),delete l.keys,d.createElement(c,l,n.map(function(n,r){var i=n.status,l=(0,f.Z)(n,em),c=i===es||i===el;return d.createElement(t,(0,ei.Z)({},u,{key:l.key,visible:c,eventProps:l,onVisibleChanged:function(t){null==s||s(t,{key:l.key}),t||e.removeKey(l.key)}}),function(e,t){return a((0,o.Z)((0,o.Z)({},e),{},{index:r}),t)})}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities;return{keyEntities:ep(r,ef(n)).filter(function(e){var t=r.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==eu||e.status!==ec})}}}]),i}(d.Component);return(0,r.Z)(n,"defaultProps",{component:"div"}),n}(H),ey=eo},94838:function(e,t,n){"use strict";n.d(t,{qX:function(){return v},JB:function(){return b},lm:function(){return T}});var r=n(70826),o=n(7732),i=n(92486),a=n(44194),s=n(33581),l=n(56321),c=n(27820),u=n(52986),d=n(51865),f=n.n(d),p=n(63290),h=n(24335),m=n(4062),g=n(11875),v=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,s=e.duration,l=void 0===s?4.5:s,d=e.showProgress,p=e.pauseOnHover,v=void 0===p||p,y=e.eventKey,b=e.content,w=e.closable,S=e.closeIcon,x=void 0===S?"x":S,E=e.props,C=e.onClick,_=e.onNoticeClose,k=e.times,O=e.hovering,A=a.useState(!1),I=(0,o.Z)(A,2),P=I[0],T=I[1],R=a.useState(0),M=(0,o.Z)(R,2),N=M[0],j=M[1],D=a.useState(0),L=(0,o.Z)(D,2),B=L[0],Z=L[1],F=O||P,z=l>0&&d,U=function(){_(y)},H=function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===m.Z.ENTER)&&U()};a.useEffect(function(){if(!F&&l>0){var e=Date.now()-B,t=setTimeout(function(){U()},1e3*l-B);return function(){v&&clearTimeout(t),Z(Date.now()-e)}}},[l,F,k]),a.useEffect(function(){if(!F&&z&&(v||0===B)){var e,t=performance.now();return function n(){cancelAnimationFrame(e),e=requestAnimationFrame(function(e){var r=Math.min((e+B-t)/(1e3*l),1);j(100*r),r<1&&n()})}(),function(){v&&cancelAnimationFrame(e)}}},[l,B,F,z,k]);var q=a.useMemo(function(){return"object"===(0,h.Z)(w)&&null!==w?w:w?{closeIcon:x}:{}},[w,x]),V=(0,g.Z)(q,!0),W=100-(!N||N<0?0:N>100?100:N),$="".concat(n,"-notice");return a.createElement("div",(0,c.Z)({},E,{ref:t,className:f()($,i,(0,u.Z)({},"".concat($,"-closable"),w)),style:r,onMouseEnter:function(e){var t;T(!0),null==E||null===(t=E.onMouseEnter)||void 0===t||t.call(E,e)},onMouseLeave:function(e){var t;T(!1),null==E||null===(t=E.onMouseLeave)||void 0===t||t.call(E,e)},onClick:C}),a.createElement("div",{className:"".concat($,"-content")},b),w&&a.createElement("a",(0,c.Z)({tabIndex:0,className:"".concat($,"-close"),onKeyDown:H,"aria-label":"Close"},V,{onClick:function(e){e.preventDefault(),e.stopPropagation(),U()}}),q.closeIcon),z&&a.createElement("progress",{className:"".concat($,"-progress"),max:"100",value:W},W+"%"))}),y=a.createContext({}),b=function(e){var t=e.children,n=e.classNames;return a.createElement(y.Provider,{value:{classNames:n}},t)},w=8,S=3,x=16,E=function(e){var t,n,r,o={offset:w,threshold:S,gap:x};return e&&"object"===(0,h.Z)(e)&&(o.offset=null!==(t=e.offset)&&void 0!==t?t:w,o.threshold=null!==(n=e.threshold)&&void 0!==n?n:S,o.gap=null!==(r=e.gap)&&void 0!==r?r:x),[!!e,o]},C=["className","style","classNames","styles"],_=function(e){var t=e.configList,n=e.placement,l=e.prefixCls,d=e.className,h=e.style,m=e.motion,g=e.onAllNoticeRemoved,b=e.onNoticeClose,w=e.stack,S=(0,a.useContext)(y).classNames,x=(0,a.useRef)({}),_=(0,a.useState)(null),k=(0,o.Z)(_,2),O=k[0],A=k[1],I=(0,a.useState)([]),P=(0,o.Z)(I,2),T=P[0],R=P[1],M=t.map(function(e){return{config:e,key:String(e.key)}}),N=E(w),j=(0,o.Z)(N,2),D=j[0],L=j[1],B=L.offset,Z=L.threshold,F=L.gap,z=D&&(T.length>0||M.length<=Z),U="function"==typeof m?m(n):m;return(0,a.useEffect)(function(){D&&T.length>1&&R(function(e){return e.filter(function(e){return M.some(function(t){return e===t.key})})})},[T,M,D]),(0,a.useEffect)(function(){var e,t;D&&x.current[null===(e=M[M.length-1])||void 0===e?void 0:e.key]&&A(x.current[null===(t=M[M.length-1])||void 0===t?void 0:t.key])},[M,D]),a.createElement(p.V4,(0,c.Z)({key:n,className:f()(l,"".concat(l,"-").concat(n),null==S?void 0:S.list,d,(0,u.Z)((0,u.Z)({},"".concat(l,"-stack"),!!D),"".concat(l,"-stack-expanded"),z)),style:h,keys:M,motionAppear:!0},U,{onAllRemoved:function(){g(n)}}),function(e,t){var o=e.config,u=e.className,d=e.style,p=e.index,h=o,m=h.key,g=h.times,y=String(m),w=o,E=w.className,_=w.style,k=w.classNames,A=w.styles,I=(0,i.Z)(w,C),P=M.findIndex(function(e){return e.key===y}),N={};if(D){var j=M.length-1-(P>-1?P:p-1),L="top"===n||"bottom"===n?"-50%":"0";if(j>0){N.height=z?null===(Z=x.current[y])||void 0===Z?void 0:Z.offsetHeight:null==O?void 0:O.offsetHeight;for(var Z,U,H,q,V=0,W=0;W<j;W++)V+=(null===(q=x.current[M[M.length-1-W].key])||void 0===q?void 0:q.offsetHeight)+F;var $=(z?V:j*B)*(n.startsWith("top")?1:-1),G=!z&&null!=O&&O.offsetWidth&&null!==(U=x.current[y])&&void 0!==U&&U.offsetWidth?((null==O?void 0:O.offsetWidth)-2*B*(j<3?j:3))/(null===(H=x.current[y])||void 0===H?void 0:H.offsetWidth):1;N.transform="translate3d(".concat(L,", ").concat($,"px, 0) scaleX(").concat(G,")")}else N.transform="translate3d(".concat(L,", 0, 0)")}return a.createElement("div",{ref:t,className:f()("".concat(l,"-notice-wrapper"),u,null==k?void 0:k.wrapper),style:(0,s.Z)((0,s.Z)((0,s.Z)({},d),N),null==A?void 0:A.wrapper),onMouseEnter:function(){return R(function(e){return e.includes(y)?e:[].concat((0,r.Z)(e),[y])})},onMouseLeave:function(){return R(function(e){return e.filter(function(e){return e!==y})})}},a.createElement(v,(0,c.Z)({},I,{ref:function(e){P>-1?x.current[y]=e:delete x.current[y]},prefixCls:l,classNames:k,styles:A,className:f()(E,null==S?void 0:S.notice),style:_,times:g,key:m,eventKey:m,onNoticeClose:b,hovering:D&&T.length>0})))})},k=a.forwardRef(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-notification":n,c=e.container,u=e.motion,d=e.maxCount,f=e.className,p=e.style,h=e.onAllRemoved,m=e.stack,g=e.renderNotifications,v=a.useState([]),y=(0,o.Z)(v,2),b=y[0],w=y[1],S=function(e){var t,n=b.find(function(t){return t.key===e});null==n||null===(t=n.onClose)||void 0===t||t.call(n),w(function(t){return t.filter(function(t){return t.key!==e})})};a.useImperativeHandle(t,function(){return{open:function(e){w(function(t){var n,o=(0,r.Z)(t),i=o.findIndex(function(t){return t.key===e.key}),a=(0,s.Z)({},e);return i>=0?(a.times=((null===(n=t[i])||void 0===n?void 0:n.times)||0)+1,o[i]=a):(a.times=0,o.push(a)),d>0&&o.length>d&&(o=o.slice(-d)),o})},close:function(e){S(e)},destroy:function(){w([])}}});var x=a.useState({}),E=(0,o.Z)(x,2),C=E[0],k=E[1];a.useEffect(function(){var e={};b.forEach(function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))}),Object.keys(C).forEach(function(t){e[t]=e[t]||[]}),k(e)},[b]);var O=function(e){k(function(t){var n=(0,s.Z)({},t);return(n[e]||[]).length||delete n[e],n})},A=a.useRef(!1);if(a.useEffect(function(){Object.keys(C).length>0?A.current=!0:A.current&&(null==h||h(),A.current=!1)},[C]),!c)return null;var I=Object.keys(C);return(0,l.createPortal)(a.createElement(a.Fragment,null,I.map(function(e){var t=C[e],n=a.createElement(_,{key:e,configList:t,placement:e,prefixCls:i,className:null==f?void 0:f(e),style:null==p?void 0:p(e),motion:u,onNoticeClose:S,onAllNoticeRemoved:O,stack:m});return g?g(n,{prefixCls:i,key:e}):n})),c)}),O=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],A=function(){return document.body},I=0;function P(){for(var e={},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){t&&Object.keys(t).forEach(function(n){var r=t[n];void 0!==r&&(e[n]=r)})}),e}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?A:t,s=e.motion,l=e.prefixCls,c=e.maxCount,u=e.className,d=e.style,f=e.onAllRemoved,p=e.stack,h=e.renderNotifications,m=(0,i.Z)(e,O),g=a.useState(),v=(0,o.Z)(g,2),y=v[0],b=v[1],w=a.useRef(),S=a.createElement(k,{container:y,ref:w,prefixCls:l,motion:s,maxCount:c,className:u,style:d,onAllRemoved:f,stack:p,renderNotifications:h}),x=a.useState([]),E=(0,o.Z)(x,2),C=E[0],_=E[1],T=a.useMemo(function(){return{open:function(e){var t=P(m,e);(null===t.key||void 0===t.key)&&(t.key="rc-notification-".concat(I),I+=1),_(function(e){return[].concat((0,r.Z)(e),[{type:"open",config:t}])})},close:function(e){_(function(t){return[].concat((0,r.Z)(t),[{type:"close",key:e}])})},destroy:function(){_(function(e){return[].concat((0,r.Z)(e),[{type:"destroy"}])})}}},[]);return a.useEffect(function(){b(n())}),a.useEffect(function(){w.current&&C.length&&(C.forEach(function(e){switch(e.type){case"open":w.current.open(e.config);break;case"close":w.current.close(e.key);break;case"destroy":w.current.destroy()}}),_(function(e){return e.filter(function(e){return!C.includes(e)})}))},[C]),[T,S]}},54298:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(27820),o=n(33581),i=n(7732),a=n(92486),s=n(44194),l=n(51865),c=n.n(l),u=n(60118),d=n(75232),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0;function h(e,t){var n,i=e.prefixCls,l=e.invalidate,d=e.item,h=e.renderItem,m=e.responsive,g=e.responsiveDisabled,v=e.registerSize,y=e.itemKey,b=e.className,w=e.style,S=e.children,x=e.display,E=e.order,C=e.component,_=void 0===C?"div":C,k=(0,a.Z)(e,f),O=m&&!x;function A(e){v(y,e)}s.useEffect(function(){return function(){A(null)}},[]);var I=h&&d!==p?h(d):S;l||(n={opacity:O?0:1,height:O?0:p,overflowY:O?"hidden":p,order:m?E:p,pointerEvents:O?"none":p,position:O?"absolute":p});var P={};O&&(P["aria-hidden"]=!0);var T=s.createElement(_,(0,r.Z)({className:c()(!l&&i,b),style:(0,o.Z)((0,o.Z)({},n),w)},P,k,{ref:t}),I);return m&&(T=s.createElement(u.Z,{onResize:function(e){A(e.offsetWidth)},disabled:g},T)),T}var m=s.forwardRef(h);m.displayName="Item";var g=m,v=n(61372),y=n(56321),b=n(30716);function w(e){if("undefined"==typeof MessageChannel)(0,b.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function S(){var e=s.useRef(null);return function(t){e.current||(e.current=[],w(function(){(0,y.unstable_batchedUpdates)(function(){e.current.forEach(function(e){e()}),e.current=null})})),e.current.push(t)}}function x(e,t){var n=s.useState(t),r=(0,i.Z)(n,2),o=r[0],a=r[1];return[o,(0,v.Z)(function(t){e(function(){a(t)})})]}var E=s.createContext(null),C=["component"],_=["className"],k=["className"],O=function(e,t){var n=s.useContext(E);if(!n){var o=e.component,i=void 0===o?"div":o,l=(0,a.Z)(e,C);return s.createElement(i,(0,r.Z)({},l,{ref:t}))}var u=n.className,d=(0,a.Z)(n,_),f=e.className,p=(0,a.Z)(e,k);return s.createElement(E.Provider,{value:null},s.createElement(g,(0,r.Z)({ref:t,className:c()(u,f)},d,p)))},A=s.forwardRef(O);A.displayName="RawItem";var I=A,P=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],T="responsive",R="invalidate";function M(e){return"+ ".concat(e.length," ...")}function N(e,t){var n,l=e.prefixCls,f=void 0===l?"rc-overflow":l,p=e.data,h=void 0===p?[]:p,m=e.renderItem,v=e.renderRawItem,y=e.itemKey,b=e.itemWidth,w=void 0===b?10:b,C=e.ssr,_=e.style,k=e.className,O=e.maxCount,A=e.renderRest,I=e.renderRawRest,N=e.suffix,j=e.component,D=void 0===j?"div":j,L=e.itemComponent,B=e.onVisibleChange,Z=(0,a.Z)(e,P),F="full"===C,z=S(),U=x(z,null),H=(0,i.Z)(U,2),q=H[0],V=H[1],W=q||0,$=x(z,new Map),G=(0,i.Z)($,2),K=G[0],Y=G[1],X=x(z,0),Q=(0,i.Z)(X,2),J=Q[0],ee=Q[1],et=x(z,0),en=(0,i.Z)(et,2),er=en[0],eo=en[1],ei=x(z,0),ea=(0,i.Z)(ei,2),es=ea[0],el=ea[1],ec=(0,s.useState)(null),eu=(0,i.Z)(ec,2),ed=eu[0],ef=eu[1],ep=(0,s.useState)(null),eh=(0,i.Z)(ep,2),em=eh[0],eg=eh[1],ev=s.useMemo(function(){return null===em&&F?Number.MAX_SAFE_INTEGER:em||0},[em,q]),ey=(0,s.useState)(!1),eb=(0,i.Z)(ey,2),ew=eb[0],eS=eb[1],ex="".concat(f,"-item"),eE=Math.max(J,er),eC=O===T,e_=h.length&&eC,ek=O===R,eO=e_||"number"==typeof O&&h.length>O,eA=(0,s.useMemo)(function(){var e=h;return e_?e=null===q&&F?h:h.slice(0,Math.min(h.length,W/w)):"number"==typeof O&&(e=h.slice(0,O)),e},[h,w,q,O,e_]),eI=(0,s.useMemo)(function(){return e_?h.slice(ev+1):h.slice(eA.length)},[h,eA,e_,ev]),eP=(0,s.useCallback)(function(e,t){var n;return"function"==typeof y?y(e):null!==(n=y&&(null==e?void 0:e[y]))&&void 0!==n?n:t},[y]),eT=(0,s.useCallback)(m||function(e){return e},[m]);function eR(e,t,n){(em!==e||void 0!==t&&t!==ed)&&(eg(e),n||(eS(e<h.length-1),null==B||B(e)),void 0!==t&&ef(t))}function eM(e,t){V(t.clientWidth)}function eN(e,t){Y(function(n){var r=new Map(n);return null===t?r.delete(e):r.set(e,t),r})}function ej(e,t){eo(t),ee(er)}function eD(e,t){el(t)}function eL(e){return K.get(eP(eA[e],e))}(0,d.Z)(function(){if(W&&"number"==typeof eE&&eA){var e=es,t=eA.length,n=t-1;if(!t){eR(0,null);return}for(var r=0;r<t;r+=1){var o=eL(r);if(F&&(o=o||0),void 0===o){eR(r-1,void 0,!0);break}if(e+=o,0===n&&e<=W||r===n-1&&e+eL(n)<=W){eR(n,null);break}if(e+eE>W){eR(r-1,e-o-es+er);break}}N&&eL(0)+es>W&&ef(null)}},[W,K,er,es,eP,eA]);var eB=ew&&!!eI.length,eZ={};null!==ed&&e_&&(eZ={position:"absolute",left:ed,top:0});var eF={prefixCls:ex,responsive:e_,component:L,invalidate:ek},ez=v?function(e,t){var n=eP(e,t);return s.createElement(E.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},eF),{},{order:t,item:e,itemKey:n,registerSize:eN,display:t<=ev})},v(e,t))}:function(e,t){var n=eP(e,t);return s.createElement(g,(0,r.Z)({},eF,{order:t,key:n,item:e,renderItem:eT,itemKey:n,registerSize:eN,display:t<=ev}))},eU={order:eB?ev:Number.MAX_SAFE_INTEGER,className:"".concat(ex,"-rest"),registerSize:ej,display:eB};if(I)I&&(n=s.createElement(E.Provider,{value:(0,o.Z)((0,o.Z)({},eF),eU)},I(eI)));else{var eH=A||M;n=s.createElement(g,(0,r.Z)({},eF,eU),"function"==typeof eH?eH(eI):eH)}var eq=s.createElement(D,(0,r.Z)({className:c()(!ek&&f,k),style:_,ref:t},Z),eA.map(ez),eO?n:null,N&&s.createElement(g,(0,r.Z)({},eF,{responsive:eC,responsiveDisabled:!e_,order:ev,className:"".concat(ex,"-suffix"),registerSize:eD,display:!0,style:eZ}),N));return eC&&(eq=s.createElement(u.Z,{onResize:eM,disabled:!e_},eq)),eq}var j=s.forwardRef(N);j.displayName="Overflow",j.Item=I,j.RESPONSIVE=T,j.INVALIDATE=R;var D=j},12567:function(e,t){"use strict";var n={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};t.Z=n},74674:function(e,t){"use strict";var n={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"};t.Z=n},19342:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};t.default=n},11201:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};t.default=n},44884:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={items_per_page:"/ page",jump_to:"Aller \xe0",jump_to_confirm:"confirmer",page:"Page",prev_page:"Page pr\xe9c\xe9dente",next_page:"Page suivante",prev_5:"5 Pages pr\xe9c\xe9dentes",next_5:"5 Pages suivantes",prev_3:"3 Pages pr\xe9c\xe9dentes",next_3:"3 Pages suivantes",page_size:"taille de la page"};t.default=n},93930:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},23957:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commonLocale=void 0,t.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},57147:function(e,t,n){"use strict";var r=n(44043).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47641)),i=n(23957),a=(0,o.default)((0,o.default)({},i.commonLocale),{},{locale:"en_GB",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"Select time",dateSelect:"Select date",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"D/M/YYYY",dateTimeFormat:"D/M/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});t.default=a},65450:function(e,t,n){"use strict";var r=n(44043).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47641)),i=n(23957),a=(0,o.default)((0,o.default)({},i.commonLocale),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});t.default=a},45706:function(e,t,n){"use strict";var r=n(44043).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47641)),i=n(23957),a=(0,o.default)((0,o.default)({},i.commonLocale),{},{locale:"fr_FR",today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"OK",clear:"R\xe9tablir",month:"Mois",year:"Ann\xe9e",timeSelect:"S\xe9lectionner l'heure",dateSelect:"S\xe9lectionner la date",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une ann\xe9e",decadeSelect:"Choisissez une d\xe9cennie",dateFormat:"DD/MM/YYYY",dayFormat:"DD",dateTimeFormat:"DD/MM/YYYY HH:mm:ss",previousMonth:"Mois pr\xe9c\xe9dent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Ann\xe9e pr\xe9c\xe9dente (Ctrl + gauche)",nextYear:"Ann\xe9e prochaine (Ctrl + droite)",previousDecade:"D\xe9cennie pr\xe9c\xe9dente",nextDecade:"D\xe9cennie suivante",previousCentury:"Si\xe8cle pr\xe9c\xe9dent",nextCentury:"Si\xe8cle suivant"});t.default=a},60118:function(e,t,n){"use strict";n.d(t,{Z:function(){return F}});var r=n(62632),o=n(44194),i=n(39999);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return o.Children.forEach(e,function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(a(e)):(0,i.isFragment)(e)&&e.props?n=n.concat(a(e.props.children,t)):n.push(e))}),n}n(6459);var s=n(14068),l=n(58611),c=n(56321);function u(e){return e instanceof HTMLElement||e instanceof SVGElement}function d(e){return u(e)?e:e instanceof o.Component?c.findDOMNode(e):null}var f=n(9596);function p(e,t){"function"==typeof e?e(t):"object"===(0,l.Z)(e)&&e&&"current"in e&&(e.current=t)}function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(e){return e});return r.length<=1?r[0]:function(e){t.forEach(function(t){p(t,e)})}}function m(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,f.Z)(function(){return h.apply(void 0,t)},t,function(e,t){return e.length!==t.length||e.every(function(e,n){return e!==t[n]})})}function g(e){var t,n,r=(0,i.isMemo)(e)?e.type.type:e.type;return("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&!!t.render||r.$$typeof===i.ForwardRef)&&("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&!!n.render||e.$$typeof===i.ForwardRef)}var v=o.createContext(null);function y(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(v),s=o.useCallback(function(e,t,o){r.current+=1;var s=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){s===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(v.Provider,{value:s},t)}var b=n(20759),w=new Map;function S(e){e.forEach(function(e){var t,n=e.target;null===(t=w.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}var x=new b.Z(S);function E(e,t){w.has(e)||(w.set(e,new Set),x.observe(e)),w.get(e).add(t)}function C(e,t){w.has(e)&&(w.get(e).delete(t),w.get(e).size||(x.unobserve(e),w.delete(e)))}var _=n(99358),k=n(60545);function O(e,t){return(O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&O(e,t)}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P=function(){return!!e})()}function T(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(t&&("object"===(0,l.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return T(e)}function M(e){var t=P();return function(){var n,r=I(e);return n=t?Reflect.construct(r,arguments,I(this).constructor):r.apply(this,arguments),R(this,n)}}var N=function(e){A(n,e);var t=M(n);function n(){return(0,_.Z)(this,n),t.apply(this,arguments)}return(0,k.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component);function j(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),a=o.useRef(null),c=o.useContext(v),u="function"==typeof n,f=u?n(i):n,p=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!u&&o.isValidElement(f)&&g(f),y=m(h?f.ref:null,i),b=function(){var e;return d(i.current)||(i.current&&"object"===(0,l.Z)(i.current)?d(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||d(a.current)};o.useImperativeHandle(t,function(){return b()});var w=o.useRef(e);w.current=e;var S=o.useCallback(function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,a=o.height,l=e.offsetWidth,u=e.offsetHeight,d=Math.floor(i),f=Math.floor(a);if(p.current.width!==d||p.current.height!==f||p.current.offsetWidth!==l||p.current.offsetHeight!==u){var h={width:d,height:f,offsetWidth:l,offsetHeight:u};p.current=h;var m=l===Math.round(i)?i:l,g=u===Math.round(a)?a:u,v=(0,s.Z)((0,s.Z)({},h),{},{offsetWidth:m,offsetHeight:g});null==c||c(v,e,r),n&&Promise.resolve().then(function(){n(v,e)})}},[]);return o.useEffect(function(){var e=b();return e&&!r&&E(e,S),function(){return C(e,S)}},[i.current,r]),o.createElement(N,{ref:a},h?o.cloneElement(f,{ref:y}):f)}var D=o.forwardRef(j),L="rc-observer-key";function B(e,t){var n=e.children;return("function"==typeof n?[n]:a(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat(L,"-").concat(i);return o.createElement(D,(0,r.Z)({},e,{key:a,ref:0===i?t:void 0}),n)})}var Z=o.forwardRef(B);Z.Collection=y;var F=Z},93284:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(7732),o=n(44194),i=n(17680),a=0,s=(0,i.Z)();function l(){var e;return s?(e=a,a+=1):e="TEST_OR_SSR",e}function c(e){var t=o.useState(),n=(0,r.Z)(t,2),i=n[0],a=n[1];return o.useEffect(function(){a("rc_select_".concat(l()))},[]),e||i}},6671:function(e,t,n){"use strict";n.d(t,{Ac:function(){return es},Xo:function(){return ec},Wx:function(){return ed},ZP:function(){return ej},lk:function(){return S}});var r=n(27820),o=n(70826),i=n(52986),a=n(33581),s=n(7732),l=n(92486),c=n(24335),u=n(45571),d=n(6103),f=n(44194),p=n(51865),h=n.n(p),m=n(75232),g=n(97719),v=n(64198),y=function(e){var t=e.className,n=e.customizeIcon,r=e.customizeIconProps,o=e.children,i=e.onMouseDown,a=e.onClick,s="function"==typeof n?n(r):n;return f.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==i||i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==s?s:f.createElement("span",{className:h()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},o))},b=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=f.useMemo(function(){return"object"===(0,c.Z)(r)?r.clearIcon:o||void 0},[r,o]);return{allowClear:f.useMemo(function(){return!i&&!!r&&(!!n.length||!!a)&&!("combobox"===s&&""===a)},[r,i,n.length,a,s]),clearIcon:f.createElement(y,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:l},"\xd7")}},w=f.createContext(null);function S(){return f.useContext(w)}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=f.useState(!1),n=(0,s.Z)(t,2),r=n[0],o=n[1],i=f.useRef(null),a=function(){window.clearTimeout(i.current)};return f.useEffect(function(){return a},[]),[r,function(t,n){a(),i.current=window.setTimeout(function(){o(t),n&&n()},e)},a]}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=f.useRef(null),n=f.useRef(null);return f.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}function C(e,t,n,r){var o=f.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},f.useEffect(function(){function t(t){if(null===(n=o.current)||void 0===n||!n.customizedTrigger){var n,r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),o.current.open&&e().filter(function(e){return e}).every(function(e){return!e.contains(r)&&e!==r})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}},[])}var _=n(4062);function k(e){return![_.Z.ESC,_.Z.SHIFT,_.Z.BACKSPACE,_.Z.TAB,_.Z.WIN_KEY,_.Z.ALT,_.Z.META,_.Z.WIN_KEY_RIGHT,_.Z.CTRL,_.Z.SEMICOLON,_.Z.EQUALS,_.Z.CAPS_LOCK,_.Z.CONTEXT_MENU,_.Z.F1,_.Z.F2,_.Z.F3,_.Z.F4,_.Z.F5,_.Z.F6,_.Z.F7,_.Z.F8,_.Z.F9,_.Z.F10,_.Z.F11,_.Z.F12].includes(e)}var O=n(11875),A=n(54298),I=function(e,t){var n,r=e.prefixCls,o=e.id,i=e.inputElement,s=e.disabled,l=e.tabIndex,c=e.autoFocus,u=e.autoComplete,p=e.editable,m=e.activeDescendantId,g=e.value,y=e.maxLength,b=e.onKeyDown,w=e.onMouseDown,S=e.onChange,x=e.onPaste,E=e.onCompositionStart,C=e.onCompositionEnd,_=e.open,k=e.attrs,O=i||f.createElement("input",null),A=O,I=A.ref,P=A.props,T=P.onKeyDown,R=P.onChange,M=P.onMouseDown,N=P.onCompositionStart,j=P.onCompositionEnd,D=P.style;return(0,d.Kp)(!("maxLength"in O.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),O=f.cloneElement(O,(0,a.Z)((0,a.Z)((0,a.Z)({type:"search"},P),{},{id:o,ref:(0,v.sQ)(t,I),disabled:s,tabIndex:l,autoComplete:u||"off",autoFocus:c,className:h()("".concat(r,"-selection-search-input"),null===(n=O)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.className),role:"combobox","aria-expanded":_||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":_?m:void 0},k),{},{value:p?g:"",maxLength:y,readOnly:!p,unselectable:p?null:"on",style:(0,a.Z)((0,a.Z)({},D),{},{opacity:p?null:0}),onKeyDown:function(e){b(e),T&&T(e)},onMouseDown:function(e){w(e),M&&M(e)},onChange:function(e){S(e),R&&R(e)},onCompositionStart:function(e){E(e),N&&N(e)},onCompositionEnd:function(e){C(e),j&&j(e)},onPaste:x}))},P=f.forwardRef(I);function T(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var R="undefined"!=typeof window&&window.document&&window.document.documentElement;function M(e){return null!=e}function N(e){return!e&&0!==e}function j(e){return["string","number"].includes((0,c.Z)(e))}function D(e){var t=void 0;return e&&(j(e.title)?t=e.title.toString():j(e.label)&&(t=e.label.toString())),t}function L(e,t){R?f.useLayoutEffect(e,t):f.useEffect(e,t)}function B(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var Z=function(e){e.preventDefault(),e.stopPropagation()},F=function(e){var t=e.id,n=e.prefixCls,r=e.values,o=e.open,a=e.searchValue,l=e.autoClearSearchValue,c=e.inputRef,u=e.placeholder,d=e.disabled,p=e.mode,m=e.showSearch,g=e.autoFocus,v=e.autoComplete,b=e.activeDescendantId,w=e.tabIndex,S=e.removeIcon,x=e.maxTagCount,E=e.maxTagTextLength,C=e.maxTagPlaceholder,_=void 0===C?function(e){return"+ ".concat(e.length," ...")}:C,k=e.tagRender,I=e.onToggleOpen,T=e.onRemove,R=e.onInputChange,M=e.onInputPaste,N=e.onInputKeyDown,j=e.onInputMouseDown,F=e.onInputCompositionStart,z=e.onInputCompositionEnd,U=f.useRef(null),H=(0,f.useState)(0),q=(0,s.Z)(H,2),V=q[0],W=q[1],$=(0,f.useState)(!1),G=(0,s.Z)($,2),K=G[0],Y=G[1],X="".concat(n,"-selection"),Q=o||"multiple"===p&&!1===l||"tags"===p?a:"",J="tags"===p||"multiple"===p&&!1===l||m&&(o||K);L(function(){W(U.current.scrollWidth)},[Q]);var ee=function(e,t,n,r,o){return f.createElement("span",{title:D(e),className:h()("".concat(X,"-item"),(0,i.Z)({},"".concat(X,"-item-disabled"),n))},f.createElement("span",{className:"".concat(X,"-item-content")},t),r&&f.createElement(y,{className:"".concat(X,"-item-remove"),onMouseDown:Z,onClick:o,customizeIcon:S},"\xd7"))},et=function(e,t,n,r,i,a){var s=function(e){Z(e),I(!o)};return f.createElement("span",{onMouseDown:s},k({label:t,value:e,disabled:n,closable:r,onClose:i,isMaxTag:!!a}))},en=function(e){var t=e.disabled,n=e.label,r=e.value,o=!d&&!t,i=n;if("number"==typeof E&&("string"==typeof n||"number"==typeof n)){var a=String(i);a.length>E&&(i="".concat(a.slice(0,E),"..."))}var s=function(t){t&&t.stopPropagation(),T(e)};return"function"==typeof k?et(r,i,t,o,s):ee(e,i,t,o,s)},er=function(e){var t="function"==typeof _?_(e):_;return"function"==typeof k?et(void 0,t,!1,!1,void 0,!0):ee({title:t},t,!1)},eo=f.createElement("div",{className:"".concat(X,"-search"),style:{width:V},onFocus:function(){Y(!0)},onBlur:function(){Y(!1)}},f.createElement(P,{ref:c,open:o,prefixCls:n,id:t,inputElement:null,disabled:d,autoFocus:g,autoComplete:v,editable:J,activeDescendantId:b,value:Q,onKeyDown:N,onMouseDown:j,onChange:R,onPaste:M,onCompositionStart:F,onCompositionEnd:z,tabIndex:w,attrs:(0,O.Z)(e,!0)}),f.createElement("span",{ref:U,className:"".concat(X,"-search-mirror"),"aria-hidden":!0},Q,"\xa0")),ei=f.createElement(A.Z,{prefixCls:"".concat(X,"-overflow"),data:r,renderItem:en,renderRest:er,suffix:eo,itemKey:B,maxCount:x});return f.createElement(f.Fragment,null,ei,!r.length&&!Q&&f.createElement("span",{className:"".concat(X,"-placeholder")},u))},z=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,o=e.inputRef,i=e.disabled,a=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,u=e.mode,d=e.open,p=e.values,h=e.placeholder,m=e.tabIndex,g=e.showSearch,v=e.searchValue,y=e.activeValue,b=e.maxLength,w=e.onInputKeyDown,S=e.onInputMouseDown,x=e.onInputChange,E=e.onInputPaste,C=e.onInputCompositionStart,_=e.onInputCompositionEnd,k=e.title,A=f.useState(!1),I=(0,s.Z)(A,2),T=I[0],R=I[1],M="combobox"===u,N=M||g,j=p[0],L=v||"";M&&y&&!T&&(L=y),f.useEffect(function(){M&&R(!1)},[M,y]);var B=("combobox"===u||!!d||!!g)&&!!L,Z=void 0===k?D(j):k,F=f.useMemo(function(){return j?null:f.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:B?{visibility:"hidden"}:void 0},h)},[j,B,h,n]);return f.createElement(f.Fragment,null,f.createElement("span",{className:"".concat(n,"-selection-search")},f.createElement(P,{ref:o,prefixCls:n,id:r,open:d,inputElement:t,disabled:i,autoFocus:a,autoComplete:l,editable:N,activeDescendantId:c,value:L,onKeyDown:w,onMouseDown:S,onChange:function(e){R(!0),x(e)},onPaste:E,onCompositionStart:C,onCompositionEnd:_,tabIndex:m,attrs:(0,O.Z)(e,!0),maxLength:M?b:void 0})),!M&&j?f.createElement("span",{className:"".concat(n,"-selection-item"),title:Z,style:B?{visibility:"hidden"}:void 0},j.label):null,F)},U=function(e,t){var n=(0,f.useRef)(null),o=(0,f.useRef)(!1),i=e.prefixCls,a=e.open,l=e.mode,c=e.showSearch,u=e.tokenWithEnter,d=e.disabled,p=e.autoClearSearchValue,h=e.onSearch,m=e.onSearchSubmit,g=e.onToggleOpen,v=e.onInputKeyDown,y=e.domRef;f.useImperativeHandle(t,function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}});var b=E(0),w=(0,s.Z)(b,2),S=w[0],x=w[1],C=function(e){var t=e.which;(t===_.Z.UP||t===_.Z.DOWN)&&e.preventDefault(),v&&v(e),t!==_.Z.ENTER||"tags"!==l||o.current||a||null==m||m(e.target.value),k(t)&&g(!0)},O=function(){x(!0)},A=(0,f.useRef)(null),I=function(e){!1!==h(e,!0,o.current)&&g(!0)},P=function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},T=function(e){var t=S();e.target===n.current||t||"combobox"===l&&d||e.preventDefault(),("combobox"===l||c&&t)&&a||(a&&!1!==p&&h("",!0,!1),g())},R={inputRef:n,onInputKeyDown:C,onInputMouseDown:O,onInputChange:function(e){var t=e.target.value;if(u&&A.current&&/[\r\n]/.test(A.current)){var n=A.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,A.current)}A.current=null,I(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");A.current=n||""},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&I(e.target.value)}},M="multiple"===l||"tags"===l?f.createElement(F,(0,r.Z)({},e,R)):f.createElement(z,(0,r.Z)({},e,R));return f.createElement("div",{ref:y,className:"".concat(i,"-selector"),onClick:P,onMouseDown:T},M)},H=f.forwardRef(U),q=n(41890),V=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],W=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}},$=function(e,t){var n=e.prefixCls,o=(e.disabled,e.visible),s=e.children,c=e.popupElement,u=e.animation,d=e.transitionName,p=e.dropdownStyle,m=e.dropdownClassName,g=e.direction,v=void 0===g?"ltr":g,y=e.placement,b=e.builtinPlacements,w=e.dropdownMatchSelectWidth,S=e.dropdownRender,x=e.dropdownAlign,E=e.getPopupContainer,C=e.empty,_=e.getTriggerDOMNode,k=e.onPopupVisibleChange,O=e.onPopupMouseEnter,A=(0,l.Z)(e,V),I="".concat(n,"-dropdown"),P=c;S&&(P=S(c));var T=f.useMemo(function(){return b||W(w)},[b,w]),R=u?"".concat(I,"-").concat(u):d,M="number"==typeof w,N=f.useMemo(function(){return M?null:!1===w?"minWidth":"width"},[w,M]),j=p;M&&(j=(0,a.Z)((0,a.Z)({},j),{},{width:w}));var D=f.useRef(null);return f.useImperativeHandle(t,function(){return{getPopupElement:function(){var e;return null===(e=D.current)||void 0===e?void 0:e.popupElement}}}),f.createElement(q.Z,(0,r.Z)({},A,{showAction:k?["click"]:[],hideAction:k?["click"]:[],popupPlacement:y||("rtl"===v?"bottomRight":"bottomLeft"),builtinPlacements:T,prefixCls:I,popupTransitionName:R,popup:f.createElement("div",{onMouseEnter:O},P),ref:D,stretch:N,popupAlign:x,popupVisible:o,getPopupContainer:E,popupClassName:h()(m,(0,i.Z)({},"".concat(I,"-empty"),C)),popupStyle:j,getTriggerDOMNode:_,onPopupVisibleChange:k}),s)},G=f.forwardRef($),K=n(54232);function Y(e,t){var n,r=e.key;return("value"in e&&(n=e.value),null!=r)?r:void 0!==n?n:"rc-index-key-".concat(t)}function X(e){return void 0!==e&&!Number.isNaN(e)}function Q(e,t){var n=e||{},r=n.label,o=n.value,i=n.options,a=n.groupLabel,s=r||(t?"children":"label");return{label:s,value:o||"value",options:i||"options",groupLabel:a||s}}function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=Q(n,!1),a=i.label,s=i.value,l=i.options,c=i.groupLabel;function u(e,t){Array.isArray(e)&&e.forEach(function(e){if(!t&&l in e){var n=e[c];void 0===n&&r&&(n=e.label),o.push({key:Y(e,o.length),group:!0,data:e,label:n}),u(e[l],!0)}else{var i=e[s];o.push({key:Y(e,o.length),groupOption:t,data:e,label:e[a],value:i})}})}return u(e,!1),o}function ee(e){var t=(0,a.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,d.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var et=function(e,t,n){if(!t||!t.length)return null;var r=!1,i=function e(t,n){var i=(0,K.Z)(n),a=i[0],s=i.slice(1);if(!a)return[t];var l=t.split(a);return r=r||l.length>1,l.reduce(function(t,n){return[].concat((0,o.Z)(t),(0,o.Z)(e(n,s)))},[]).filter(Boolean)}(e,t);return r?void 0!==n?i.slice(0,n):i:null},en=f.createContext(null);function er(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return f.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(e){var t=e.label,n=e.value;return["number","string"].includes((0,c.Z)(t))?t:n}).join(", ")),n.length>r?", ...":null)}var eo=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],ei=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ea=function(e){return"tags"===e||"multiple"===e},es=f.forwardRef(function(e,t){var n,c,d,p,S=e.id,_=e.prefixCls,k=e.className,O=e.showSearch,A=e.tagRender,I=e.direction,P=e.omitDomProps,T=e.displayValues,R=e.onDisplayValuesChange,M=e.emptyOptions,N=e.notFoundContent,j=void 0===N?"Not Found":N,D=e.onClear,L=e.mode,B=e.disabled,Z=e.loading,F=e.getInputElement,z=e.getRawInputElement,U=e.open,q=e.defaultOpen,V=e.onDropdownVisibleChange,W=e.activeValue,$=e.onActiveValueChange,K=e.activeDescendantId,Y=e.searchValue,Q=e.autoClearSearchValue,J=e.onSearch,ee=e.onSearchSplit,es=e.tokenSeparators,el=e.allowClear,ec=e.suffixIcon,eu=e.clearIcon,ed=e.OptionList,ef=e.animation,ep=e.transitionName,eh=e.dropdownStyle,em=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,ev=e.dropdownRender,ey=e.dropdownAlign,eb=e.placement,ew=e.builtinPlacements,eS=e.getPopupContainer,ex=e.showAction,eE=void 0===ex?[]:ex,eC=e.onFocus,e_=e.onBlur,ek=e.onKeyUp,eO=e.onKeyDown,eA=e.onMouseDown,eI=(0,l.Z)(e,eo),eP=ea(L),eT=(void 0!==O?O:eP)||"combobox"===L,eR=(0,a.Z)({},eI);ei.forEach(function(e){delete eR[e]}),null==P||P.forEach(function(e){delete eR[e]});var eM=f.useState(!1),eN=(0,s.Z)(eM,2),ej=eN[0],eD=eN[1];f.useEffect(function(){eD((0,g.Z)())},[]);var eL=f.useRef(null),eB=f.useRef(null),eZ=f.useRef(null),eF=f.useRef(null),ez=f.useRef(null),eU=f.useRef(!1),eH=x(),eq=(0,s.Z)(eH,3),eV=eq[0],eW=eq[1],e$=eq[2];f.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eF.current)||void 0===e?void 0:e.focus,blur:null===(t=eF.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=ez.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:eL.current||eB.current}});var eG=f.useMemo(function(){if("combobox"!==L)return Y;var e,t=null===(e=T[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[Y,L,T]),eK="combobox"===L&&"function"==typeof F&&F()||null,eY="function"==typeof z&&z(),eX=(0,v.x1)(eB,null==eY||null===(n=eY.props)||void 0===n?void 0:n.ref),eQ=f.useState(!1),eJ=(0,s.Z)(eQ,2),e0=eJ[0],e1=eJ[1];(0,m.Z)(function(){e1(!0)},[]);var e2=(0,u.Z)(!1,{defaultValue:q,value:U}),e3=(0,s.Z)(e2,2),e4=e3[0],e5=e3[1],e6=!!e0&&e4,e8=!j&&M;(B||e8&&e6&&"combobox"===L)&&(e6=!1);var e7=!e8&&e6,e9=f.useCallback(function(e){var t=void 0!==e?e:!e6;B||(e5(t),e6!==t&&(null==V||V(t)))},[B,e6,e5,V]),te=f.useMemo(function(){return(es||[]).some(function(e){return["\n","\r\n"].includes(e)})},[es]),tt=f.useContext(en)||{},tn=tt.maxCount,tr=tt.rawValues,to=function(e,t,n){if(!(eP&&X(tn))||!((null==tr?void 0:tr.size)>=tn)){var r=!0,o=e;null==$||$(null);var i=et(e,es,X(tn)?tn-tr.size:void 0),a=n?null:i;return"combobox"!==L&&a&&(o="",null==ee||ee(a),e9(!1),r=!1),J&&eG!==o&&J(o,{source:t?"typing":"effect"}),r}},ti=function(e){e&&e.trim()&&J(e,{source:"submit"})};f.useEffect(function(){e6||eP||"combobox"===L||to("",!1,!1)},[e6]),f.useEffect(function(){e4&&B&&e5(!1),B&&!eU.current&&eW(!1)},[B]);var ta=E(),ts=(0,s.Z)(ta,2),tl=ts[0],tc=ts[1],tu=f.useRef(!1),td=function(e){var t,n=tl(),r=e.key,i="Enter"===r;if(i&&("combobox"!==L&&e.preventDefault(),e6||e9(!0)),tc(!!eG),"Backspace"===r&&!n&&eP&&!eG&&T.length){for(var a=(0,o.Z)(T),s=null,l=a.length-1;l>=0;l-=1){var c=a[l];if(!c.disabled){a.splice(l,1),s=c;break}}s&&R(a,{type:"remove",values:[s]})}for(var u=arguments.length,d=Array(u>1?u-1:0),f=1;f<u;f++)d[f-1]=arguments[f];!e6||i&&tu.current||null===(t=ez.current)||void 0===t||t.onKeyDown.apply(t,[e].concat(d)),i&&(tu.current=!0),null==eO||eO.apply(void 0,[e].concat(d))},tf=function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e6&&(null===(t=ez.current)||void 0===t||t.onKeyUp.apply(t,[e].concat(r))),"Enter"===e.key&&(tu.current=!1),null==ek||ek.apply(void 0,[e].concat(r))},tp=function(e){R(T.filter(function(t){return t!==e}),{type:"remove",values:[e]})},th=f.useRef(!1),tm=function(){eW(!0),!B&&(eC&&!th.current&&eC.apply(void 0,arguments),eE.includes("focus")&&e9(!0)),th.current=!0},tg=function(){eU.current=!0,eW(!1,function(){th.current=!1,eU.current=!1,e9(!1)}),!B&&(eG&&("tags"===L?J(eG,{source:"submit"}):"multiple"===L&&J("",{source:"blur"})),e_&&e_.apply(void 0,arguments))},tv=[];f.useEffect(function(){return function(){tv.forEach(function(e){return clearTimeout(e)}),tv.splice(0,tv.length)}},[]);var ty=function(e){var t,n=e.target,r=null===(t=eZ.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var o=setTimeout(function(){var e,t=tv.indexOf(o);-1!==t&&tv.splice(t,1),e$(),ej||r.contains(document.activeElement)||null===(e=eF.current)||void 0===e||e.focus()});tv.push(o)}for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];null==eA||eA.apply(void 0,[e].concat(a))},tb=f.useState({}),tw=(0,s.Z)(tb,2)[1];function tS(){tw({})}eY&&(c=function(e){e9(e)}),C(function(){var e;return[eL.current,null===(e=eZ.current)||void 0===e?void 0:e.getPopupElement()]},e7,e9,!!eY);var tx=f.useMemo(function(){return(0,a.Z)((0,a.Z)({},e),{},{notFoundContent:j,open:e6,triggerOpen:e7,id:S,showSearch:eT,multiple:eP,toggleOpen:e9})},[e,j,e7,e6,S,eT,eP,e9]),tE=!!ec||Z;tE&&(d=f.createElement(y,{className:h()("".concat(_,"-arrow"),(0,i.Z)({},"".concat(_,"-arrow-loading"),Z)),customizeIcon:ec,customizeIconProps:{loading:Z,searchValue:eG,open:e6,focused:eV,showSearch:eT}}));var tC=b(_,function(){var e;null==D||D(),null===(e=eF.current)||void 0===e||e.focus(),R([],{type:"clear",values:T}),to("",!1,!1)},T,el,eu,B,eG,L),t_=tC.allowClear,tk=tC.clearIcon,tO=f.createElement(ed,{ref:ez}),tA=h()(_,k,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(_,"-focused"),eV),"".concat(_,"-multiple"),eP),"".concat(_,"-single"),!eP),"".concat(_,"-allow-clear"),el),"".concat(_,"-show-arrow"),tE),"".concat(_,"-disabled"),B),"".concat(_,"-loading"),Z),"".concat(_,"-open"),e6),"".concat(_,"-customize-input"),eK),"".concat(_,"-show-search"),eT)),tI=f.createElement(G,{ref:eZ,disabled:B,prefixCls:_,visible:e7,popupElement:tO,animation:ef,transitionName:ep,dropdownStyle:eh,dropdownClassName:em,direction:I,dropdownMatchSelectWidth:eg,dropdownRender:ev,dropdownAlign:ey,placement:eb,builtinPlacements:ew,getPopupContainer:eS,empty:M,getTriggerDOMNode:function(e){return eB.current||e},onPopupVisibleChange:c,onPopupMouseEnter:tS},eY?f.cloneElement(eY,{ref:eX}):f.createElement(H,(0,r.Z)({},e,{domRef:eB,prefixCls:_,inputElement:eK,ref:eF,id:S,showSearch:eT,autoClearSearchValue:Q,mode:L,activeDescendantId:K,tagRender:A,values:T,open:e6,onToggleOpen:e9,activeValue:W,searchValue:eG,onSearch:to,onSearchSubmit:ti,onRemove:tp,tokenWithEnter:te})));return p=eY?tI:f.createElement("div",(0,r.Z)({className:tA},eR,{ref:eL,onMouseDown:ty,onKeyDown:td,onKeyUp:tf,onFocus:tm,onBlur:tg}),f.createElement(er,{visible:eV&&!e6,values:T}),tI,d,t_&&tk),f.createElement(w.Provider,{value:tx},p)}),el=function(){return null};el.isSelectOptGroup=!0;var ec=el,eu=function(){return null};eu.isSelectOption=!0;var ed=eu,ef=n(9188),ep=n(76933),eh=n(28881);function em(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var eg=["disabled","title","children","style","className"];function ev(e){return"string"==typeof e||"number"==typeof e}var ey=function(e,t){var n=S(),a=n.prefixCls,c=n.id,u=n.open,d=n.multiple,p=n.mode,m=n.searchValue,g=n.toggleOpen,v=n.notFoundContent,b=n.onPopupScroll,w=f.useContext(en),x=w.maxCount,E=w.flattenOptions,C=w.onActiveValue,k=w.defaultActiveFirstOption,A=w.onSelect,I=w.menuItemSelectedIcon,P=w.rawValues,T=w.fieldNames,R=w.virtual,M=w.direction,N=w.listHeight,j=w.listItemHeight,D=w.optionRender,L="".concat(a,"-item"),B=(0,ef.Z)(function(){return E},[u,E],function(e,t){return t[0]&&e[1]!==t[1]}),Z=f.useRef(null),F=f.useMemo(function(){return d&&X(x)&&(null==P?void 0:P.size)>=x},[d,x,null==P?void 0:P.size]),z=function(e){e.preventDefault()},U=function(e){var t;null===(t=Z.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},H=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=B.length,r=0;r<n;r+=1){var o=(e+r*t+n)%n,i=B[o]||{},a=i.group,s=i.data;if(!a&&!(null!=s&&s.disabled)&&!F)return o}return -1},q=f.useState(function(){return H(0)}),V=(0,s.Z)(q,2),W=V[0],$=V[1],G=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];$(e);var n={source:t?"keyboard":"mouse"},r=B[e];if(!r){C(null,-1,n);return}C(r.value,e,n)};(0,f.useEffect)(function(){G(!1!==k?H(0):-1)},[B.length,m]);var K=f.useCallback(function(e){return P.has(e)&&"combobox"!==p},[p,(0,o.Z)(P).toString(),P.size]);(0,f.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&u&&1===P.size){var e=Array.from(P)[0],t=B.findIndex(function(t){return t.data.value===e});-1!==t&&(G(t),U(t))}});return u&&(null===(e=Z.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[u,m]);var Y=function(e){void 0!==e&&A(e,{selected:!P.has(e)}),d||g(!1)};if(f.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case _.Z.N:case _.Z.P:case _.Z.UP:case _.Z.DOWN:var r=0;if(t===_.Z.UP?r=-1:t===_.Z.DOWN?r=1:em()&&n&&(t===_.Z.N?r=1:t===_.Z.P&&(r=-1)),0!==r){var o=H(W+r,r);U(o),G(o,!0)}break;case _.Z.ENTER:var i,a=B[W];!a||null!=a&&null!==(i=a.data)&&void 0!==i&&i.disabled||F?Y(void 0):Y(a.value),u&&e.preventDefault();break;case _.Z.ESC:g(!1),u&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){U(e)}}}),0===B.length)return f.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(L,"-empty"),onMouseDown:z},v);var Q=Object.keys(T).map(function(e){return T[e]}),J=function(e){return e.label};function ee(e,t){return{role:e.group?"presentation":"option",id:"".concat(c,"_list_").concat(t)}}var et=function(e){var t=B[e];if(!t)return null;var n=t.data||{},o=n.value,i=t.group,a=(0,O.Z)(n,!0),s=J(t);return t?f.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof s||i?null:s},a,{key:e},ee(t,e),{"aria-selected":K(o)}),o):null},er={role:"listbox",id:"".concat(c,"_list")};return f.createElement(f.Fragment,null,R&&f.createElement("div",(0,r.Z)({},er,{style:{height:0,width:0,overflow:"hidden"}}),et(W-1),et(W),et(W+1)),f.createElement(eh.Z,{itemKey:"key",ref:Z,data:B,height:N,itemHeight:j,fullHeight:!1,onMouseDown:z,onScroll:b,virtual:R,direction:M,innerProps:R?null:er},function(e,t){var n=e.group,o=e.groupOption,a=e.data,s=e.label,c=e.value,u=a.key;if(n){var d,p=null!==(d=a.title)&&void 0!==d?d:ev(s)?s.toString():void 0;return f.createElement("div",{className:h()(L,"".concat(L,"-group"),a.className),title:p},void 0!==s?s:u)}var m=a.disabled,g=a.title,v=(a.children,a.style),b=a.className,w=(0,l.Z)(a,eg),S=(0,ep.Z)(w,Q),x=K(c),E=m||!x&&F,C="".concat(L,"-option"),_=h()(L,C,b,(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(C,"-grouped"),o),"".concat(C,"-active"),W===t&&!E),"".concat(C,"-disabled"),E),"".concat(C,"-selected"),x)),k=J(e),A=!I||"function"==typeof I||x,P="number"==typeof k?k:k||c,T=ev(P)?P.toString():void 0;return void 0!==g&&(T=g),f.createElement("div",(0,r.Z)({},(0,O.Z)(S),R?{}:ee(e,t),{"aria-selected":x,className:_,title:T,onMouseMove:function(){W===t||E||G(t)},onClick:function(){E||Y(c)},style:v}),f.createElement("div",{className:"".concat(C,"-content")},"function"==typeof D?D(e,{index:t}):P),f.isValidElement(I)||x,A&&f.createElement(y,{className:"".concat(L,"-option-state"),customizeIcon:I,customizeIconProps:{value:c,disabled:E,isSelected:x}},x?"✓":null))}))},eb=f.forwardRef(ey),ew=function(e,t){var n=f.useRef({values:new Map,options:new Map});return[f.useMemo(function(){var r=n.current,o=r.values,i=r.options,s=e.map(function(e){if(void 0===e.label){var t;return(0,a.Z)((0,a.Z)({},e),{},{label:null===(t=o.get(e.value))||void 0===t?void 0:t.label})}return e}),l=new Map,c=new Map;return s.forEach(function(e){l.set(e.value,e),c.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=l,n.current.options=c,s},[e,t]),f.useCallback(function(e){return t.get(e)||n.current.options.get(e)},[t])]};function eS(e,t){return T(e).join("").toUpperCase().includes(t)}var ex=function(e,t,n,r,o){return f.useMemo(function(){if(!n||!1===r)return e;var s=t.options,l=t.label,c=t.value,u=[],d="function"==typeof r,f=n.toUpperCase(),p=d?r:function(e,t){return o?eS(t[o],f):t[s]?eS(t["children"!==l?l:"label"],f):eS(t[c],f)},h=d?function(e){return ee(e)}:function(e){return e};return e.forEach(function(e){if(e[s]){if(p(n,h(e)))u.push(e);else{var t=e[s].filter(function(e){return p(n,h(e))});t.length&&u.push((0,a.Z)((0,a.Z)({},e),{},(0,i.Z)({},s,t)))}return}p(n,h(e))&&u.push(e)}),u},[e,r,o,n,t])},eE=n(93284),eC=n(2196),e_=["children","value"],ek=["children"];function eO(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,s=(0,l.Z)(r,e_);return(0,a.Z)({key:n,value:void 0!==i?i:n,children:o},s)}function eA(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,eC.Z)(e).map(function(e,n){if(!f.isValidElement(e)||!e.type)return null;var r=e,o=r.type.isSelectOptGroup,i=r.key,s=r.props,c=s.children,u=(0,l.Z)(s,ek);return t||!o?eO(e):(0,a.Z)((0,a.Z)({key:"__RC_SELECT_GRP__".concat(null===i?n:i,"__"),label:i},u),{},{options:eA(c)})}).filter(function(e){return e})}var eI=function(e,t,n,r,o){return f.useMemo(function(){var i=e;e||(i=eA(t));var a=new Map,s=new Map,l=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c<t.length;c+=1){var u=t[c];!u[n.options]||i?(a.set(u[n.value],u),l(s,u,n.label),l(s,u,r),l(s,u,o)):e(u[n.options],!0)}}(i),{options:i,valueOptions:a,labelOptions:s}},[e,t,n,r,o])};function eP(e){var t=f.useRef();return t.current=e,f.useCallback(function(){return t.current.apply(t,arguments)},[])}var eT=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],eR=["inputValue"];function eM(e){return!e||"object"!==(0,c.Z)(e)}var eN=f.forwardRef(function(e,t){var n=e.id,c=e.mode,d=e.prefixCls,p=void 0===d?"rc-select":d,h=e.backfill,m=e.fieldNames,g=e.inputValue,v=e.searchValue,y=e.onSearch,b=e.autoClearSearchValue,w=void 0===b||b,S=e.onSelect,x=e.onDeselect,E=e.dropdownMatchSelectWidth,C=void 0===E||E,_=e.filterOption,k=e.filterSort,O=e.optionFilterProp,A=e.optionLabelProp,I=e.options,P=e.optionRender,R=e.children,j=e.defaultActiveFirstOption,D=e.menuItemSelectedIcon,L=e.virtual,B=e.direction,Z=e.listHeight,F=void 0===Z?200:Z,z=e.listItemHeight,U=void 0===z?20:z,H=e.labelRender,q=e.value,V=e.defaultValue,W=e.labelInValue,$=e.onChange,G=e.maxCount,K=(0,l.Z)(e,eT),Y=(0,eE.ZP)(n),X=ea(c),et=!!(!I&&R),er=f.useMemo(function(){return(void 0!==_||"combobox"!==c)&&_},[_,c]),eo=f.useMemo(function(){return Q(m,et)},[JSON.stringify(m),et]),ei=(0,u.Z)("",{value:void 0!==v?v:g,postState:function(e){return e||""}}),el=(0,s.Z)(ei,2),ec=el[0],eu=el[1],ed=eI(I,R,eo,O,A),ef=ed.valueOptions,ep=ed.labelOptions,eh=ed.options,em=f.useCallback(function(e){return T(e).map(function(e){eM(e)?t=e:(r=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:r);var t,n,r,o,i,a,s,l=ef.get(t);return l&&(void 0===n&&(n=null==l?void 0:l[A||eo.label]),void 0===r&&(r=null!==(s=null==l?void 0:l.key)&&void 0!==s?s:t),o=null==l?void 0:l.disabled,i=null==l?void 0:l.title),{label:n,value:t,key:r,disabled:o,title:i}})},[eo,A,ef]),eg=(0,u.Z)(V,{value:q}),ev=(0,s.Z)(eg,2),ey=ev[0],eS=ev[1],eC=ew(f.useMemo(function(){var e,t=em(X&&null===ey?[]:ey);return"combobox"===c&&N(null===(e=t[0])||void 0===e?void 0:e.value)?[]:t},[ey,em,c,X]),ef),e_=(0,s.Z)(eC,2),ek=e_[0],eO=e_[1],eA=f.useMemo(function(){if(!c&&1===ek.length){var e=ek[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return ek.map(function(e){var t;return(0,a.Z)((0,a.Z)({},e),{},{label:null!==(t="function"==typeof H?H(e):e.label)&&void 0!==t?t:e.value})})},[c,ek,H]),eN=f.useMemo(function(){return new Set(ek.map(function(e){return e.value}))},[ek]);f.useEffect(function(){if("combobox"===c){var e,t=null===(e=ek[0])||void 0===e?void 0:e.value;eu(M(t)?String(t):"")}},[ek]);var ej=eP(function(e,t){var n=null!=t?t:e;return(0,i.Z)((0,i.Z)({},eo.value,e),eo.label,n)}),eD=ex(f.useMemo(function(){if("tags"!==c)return eh;var e=(0,o.Z)(eh),t=function(e){return ef.has(e)};return(0,o.Z)(ek).sort(function(e,t){return e.value<t.value?-1:1}).forEach(function(n){var r=n.value;t(r)||e.push(ej(r,n.label))}),e},[ej,eh,ef,ek,c]),eo,ec,er,O),eL=f.useMemo(function(){return"tags"!==c||!ec||eD.some(function(e){return e[O||"value"]===ec})||eD.some(function(e){return e[eo.value]===ec})?eD:[ej(ec)].concat((0,o.Z)(eD))},[ej,O,c,eD,ec,eo]),eB=function e(t){return(0,o.Z)(t).sort(function(e,t){return k(e,t,{searchValue:ec})}).map(function(t){return Array.isArray(t.options)?(0,a.Z)((0,a.Z)({},t),{},{options:t.options.length>0?e(t.options):t.options}):t})},eZ=f.useMemo(function(){return k?eB(eL):eL},[eL,k,ec]),eF=f.useMemo(function(){return J(eZ,{fieldNames:eo,childrenAsData:et})},[eZ,eo,et]),ez=function(e){var t=em(e);if(eS(t),$&&(t.length!==ek.length||t.some(function(e,t){var n;return(null===(n=ek[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=W?t:t.map(function(e){return e.value}),r=t.map(function(e){return ee(eO(e.value))});$(X?n:n[0],X?r:r[0])}},eU=f.useState(null),eH=(0,s.Z)(eU,2),eq=eH[0],eV=eH[1],eW=f.useState(0),e$=(0,s.Z)(eW,2),eG=e$[0],eK=e$[1],eY=void 0!==j?j:"combobox"!==c,eX=f.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.source,o=void 0===r?"keyboard":r;eK(t),h&&"combobox"===c&&null!==e&&"keyboard"===o&&eV(String(e))},[h,c]),eQ=function(e,t,n){var r=function(){var t,n=eO(e);return[W?{label:null==n?void 0:n[eo.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,ee(n)]};if(t&&S){var o=r(),i=(0,s.Z)(o,2);S(i[0],i[1])}else if(!t&&x&&"clear"!==n){var a=r(),l=(0,s.Z)(a,2);x(l[0],l[1])}},eJ=eP(function(e,t){var n,r=!X||t.selected;ez(n=r?X?[].concat((0,o.Z)(ek),[e]):[e]:ek.filter(function(t){return t.value!==e})),eQ(e,r),"combobox"===c?eV(""):(!ea||w)&&(eu(""),eV(""))}),e0=function(e,t){ez(e);var n=t.type,r=t.values;("remove"===n||"clear"===n)&&r.forEach(function(e){eQ(e.value,!1,n)})},e1=function(e,t){if(eu(e),eV(null),"submit"===t.source){var n=(e||"").trim();n&&(ez(Array.from(new Set([].concat((0,o.Z)(eN),[n])))),eQ(n,!0),eu(""));return}"blur"!==t.source&&("combobox"===c&&ez(e),null==y||y(e))},e2=function(e){var t=e;"tags"!==c&&(t=e.map(function(e){var t=ep.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,o.Z)(eN),(0,o.Z)(t))));ez(n),n.forEach(function(e){eQ(e,!0)})},e3=f.useMemo(function(){var e=!1!==L&&!1!==C;return(0,a.Z)((0,a.Z)({},ed),{},{flattenOptions:eF,onActiveValue:eX,defaultActiveFirstOption:eY,onSelect:eJ,menuItemSelectedIcon:D,rawValues:eN,fieldNames:eo,virtual:e,direction:B,listHeight:F,listItemHeight:U,childrenAsData:et,maxCount:G,optionRender:P})},[G,ed,eF,eX,eY,eJ,D,eN,eo,L,C,B,F,U,et,P]);return f.createElement(en.Provider,{value:e3},f.createElement(es,(0,r.Z)({},K,{id:Y,prefixCls:p,ref:t,omitDomProps:eR,mode:c,displayValues:eA,onDisplayValuesChange:e0,direction:B,searchValue:ec,onSearch:e1,autoClearSearchValue:w,onSearchSplit:e2,dropdownMatchSelectWidth:C,OptionList:eb,emptyOptions:!eF.length,activeValue:eq,activeDescendantId:"".concat(Y,"_list_").concat(eG)})))});eN.Option=ed,eN.OptGroup=ec;var ej=eN},29611:function(e,t,n){"use strict";n.d(t,{G:function(){return a},Z:function(){return v}});var r=n(51865),o=n.n(r),i=n(44194);function a(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,s=e.className,l=e.style;return i.createElement("div",{className:o()("".concat(n,"-content"),s),style:l},i.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},"function"==typeof t?t():t))}var s=n(27820),l=n(33581),c=n(92486),u=n(41890),d={shiftX:64,adjustY:1},f={adjustX:1,shiftY:!0},p=[0,0],h={left:{points:["cr","cl"],overflow:f,offset:[-4,0],targetOffset:p},right:{points:["cl","cr"],overflow:f,offset:[4,0],targetOffset:p},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:p},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:p},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:p},leftTop:{points:["tr","tl"],overflow:f,offset:[-4,0],targetOffset:p},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:p},rightTop:{points:["tl","tr"],overflow:f,offset:[4,0],targetOffset:p},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:p},rightBottom:{points:["bl","br"],overflow:f,offset:[4,0],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:p},leftBottom:{points:["br","bl"],overflow:f,offset:[-4,0],targetOffset:p}},m=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],g=function(e,t){var n=e.overlayClassName,r=e.trigger,o=void 0===r?["hover"]:r,d=e.mouseEnterDelay,f=void 0===d?0:d,p=e.mouseLeaveDelay,g=void 0===p?.1:p,v=e.overlayStyle,y=e.prefixCls,b=void 0===y?"rc-tooltip":y,w=e.children,S=e.onVisibleChange,x=e.afterVisibleChange,E=e.transitionName,C=e.animation,_=e.motion,k=e.placement,O=void 0===k?"right":k,A=e.align,I=void 0===A?{}:A,P=e.destroyTooltipOnHide,T=void 0!==P&&P,R=e.defaultVisible,M=e.getTooltipContainer,N=e.overlayInnerStyle,j=(e.arrowContent,e.overlay),D=e.id,L=e.showArrow,B=void 0===L||L,Z=(0,c.Z)(e,m),F=(0,i.useRef)(null);(0,i.useImperativeHandle)(t,function(){return F.current});var z=(0,l.Z)({},Z);"visible"in e&&(z.popupVisible=e.visible);var U=function(){return i.createElement(a,{key:"content",prefixCls:b,id:D,overlayInnerStyle:N},j)};return i.createElement(u.Z,(0,s.Z)({popupClassName:n,prefixCls:b,popup:U,action:o,builtinPlacements:h,popupPlacement:O,ref:F,popupAlign:I,getPopupContainer:M,onPopupVisibleChange:S,afterPopupVisibleChange:x,popupTransitionName:E,popupAnimation:C,popupMotion:_,defaultPopupVisible:R,autoDestroy:T,mouseLeaveDelay:g,popupStyle:v,mouseEnterDelay:f,arrow:B},z),w)},v=(0,i.forwardRef)(g)},92967:function(e,t,n){"use strict";n.d(t,{S:function(){return c}});var r=n(6103),o=n(1195);function i(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function a(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!!(n||r)||!1===o}function s(e,t,n,r){for(var o=new Set(e),a=new Set,s=0;s<=n;s+=1)(t.get(s)||new Set).forEach(function(e){var t=e.key,n=e.node,i=e.children,a=void 0===i?[]:i;o.has(t)&&!r(n)&&a.filter(function(e){return!r(e.node)}).forEach(function(e){o.add(e.key)})});for(var l=new Set,c=n;c>=0;c-=1)(t.get(c)||new Set).forEach(function(e){var t=e.parent;if(!(r(e.node)||!e.parent||l.has(e.parent.key))){if(r(e.parent.node)){l.add(t.key);return}var n=!0,i=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=o.has(t);n&&!r&&(n=!1),!i&&(r||a.has(t))&&(i=!0)}),n&&o.add(t.key),i&&a.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(i(a,o))}}function l(e,t,n,r,o){for(var a=new Set(e),s=new Set(t),l=0;l<=r;l+=1)(n.get(l)||new Set).forEach(function(e){var t=e.key,n=e.node,r=e.children,i=void 0===r?[]:r;a.has(t)||s.has(t)||o(n)||i.filter(function(e){return!o(e.node)}).forEach(function(e){a.delete(e.key)})});s=new Set;for(var c=new Set,u=r;u>=0;u-=1)(n.get(u)||new Set).forEach(function(e){var t=e.parent;if(!(o(e.node)||!e.parent||c.has(e.parent.key))){if(o(e.parent.node)){c.add(t.key);return}var n=!0,r=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=a.has(t);n&&!o&&(n=!1),!r&&(o||s.has(t))&&(r=!0)}),n||a.delete(t.key),r&&s.add(t.key),c.add(t.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(i(s,a))}}function c(e,t,n,i){var c,u,d=[];c=i||a;var f=new Set(e.filter(function(e){var t=!!(0,o.Z)(n,e);return t||d.push(e),t})),p=new Map,h=0;return Object.keys(n).forEach(function(e){var t=n[e],r=t.level,o=p.get(r);o||(o=new Set,p.set(r,o)),o.add(t),h=Math.max(h,r)}),(0,r.ZP)(!d.length,"Tree missing follow keys: ".concat(d.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),u=!0===t?s(f,p,h,c):l(f,t.halfCheckedKeys,p,h,c)}},1195:function(e,t,n){"use strict";function r(e,t){return e[t]}n.d(t,{Z:function(){return r}})},44781:function(e,t,n){"use strict";n.d(t,{F:function(){return S},H8:function(){return w},I8:function(){return b},km:function(){return h},oH:function(){return v},w$:function(){return m},zn:function(){return g}});var r=n(24335),o=n(70826),i=n(33581),a=n(92486),s=n(2196),l=n(76933),c=n(6103),u=n(1195),d=["children"];function f(e,t){return"".concat(e,"-").concat(t)}function p(e){return e&&e.type&&e.type.isTreeNode}function h(e,t){return null!=e?e:t}function m(e){var t=e||{},n=t.title,r=t._title,o=t.key,i=t.children,a=n||"title";return{title:a,_title:r||[a],key:o||"key",children:i||"children"}}function g(e){function t(e){return(0,s.Z)(e).map(function(e){if(!p(e))return(0,c.ZP)(!e,"Tree/TreeNode can only accept TreeNode as children."),null;var n=e.key,r=e.props,o=r.children,s=(0,a.Z)(r,d),l=(0,i.Z)({key:n},s),u=t(o);return u.length&&(l.children=u),l}).filter(function(e){return e})}return t(e)}function v(e,t,n){var r=m(n),i=r._title,a=r.key,s=r.children,c=new Set(!0===t?[]:t),u=[];function d(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.map(function(r,p){for(var m,g=f(n?n.pos:"0",p),v=h(r[a],g),y=0;y<i.length;y+=1){var b=i[y];if(void 0!==r[b]){m=r[b];break}}var w=Object.assign((0,l.Z)(r,[].concat((0,o.Z)(i),[a,s])),{title:m,key:v,parent:n,pos:g,children:null,data:r,isStart:[].concat((0,o.Z)(n?n.isStart:[]),[0===p]),isEnd:[].concat((0,o.Z)(n?n.isEnd:[]),[p===e.length-1])});return u.push(w),!0===t||c.has(v)?w.children=d(r[s]||[],w):w.children=[],w})}return d(e),u}function y(e,t,n){var i,a={},s=a=(a="object"===(0,r.Z)(n)?n:{externalGetKey:n})||{},l=s.childrenPropName,c=s.externalGetKey,u=m(s.fieldNames),d=u.key,p=u.children,g=l||p;function v(n,r,a,s){var l=n?n[g]:e,c=n?f(a.pos,r):"0",u=n?[].concat((0,o.Z)(s),[n]):[];if(n){var d=i(n,c);t({node:n,index:r,pos:c,key:d,parentPos:a.node?a.pos:null,level:a.level+1,nodes:u})}l&&l.forEach(function(e,t){v(e,t,{node:n,pos:c,level:a?a.level+1:-1},u)})}c?"string"==typeof c?i=function(e){return e[c]}:"function"==typeof c&&(i=function(e){return c(e)}):i=function(e,t){return h(e[d],t)},v(null)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,i=t.externalGetKey,a=t.childrenPropName,s=t.fieldNames,l=arguments.length>2?arguments[2]:void 0,c=i||l,u={},d={},f={posEntities:u,keyEntities:d};return n&&(f=n(f)||f),y(e,function(e){var t=e.node,n=e.index,o=e.pos,i=e.key,a=e.parentPos,s=e.level,l={node:t,nodes:e.nodes,index:n,key:i,pos:o,level:s},c=h(i,o);u[o]=l,d[c]=l,l.parent=u[a],l.parent&&(l.parent.children=l.parent.children||[],l.parent.children.push(l)),r&&r(l,f)},{externalGetKey:c,childrenPropName:a,fieldNames:s}),o&&o(f),f}function w(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,d=t.keyEntities,f=(0,u.Z)(d,e);return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==i.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==s.indexOf(e),pos:String(f?f.pos:""),dragOver:l===e&&0===c,dragOverGapTop:l===e&&-1===c,dragOverGapBottom:l===e&&1===c}}function S(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,a=e.loaded,s=e.loading,l=e.halfChecked,u=e.dragOver,d=e.dragOverGapTop,f=e.dragOverGapBottom,p=e.pos,h=e.active,m=e.eventKey,g=(0,i.Z)((0,i.Z)({},t),{},{expanded:n,selected:r,checked:o,loaded:a,loading:s,halfChecked:l,dragOver:u,dragOverGapTop:d,dragOverGapBottom:f,pos:p,active:h,key:m});return"props"in g||Object.defineProperty(g,"props",{get:function(){return(0,c.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}},8775:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:function(){return r}})},75246:function(e,t,n){"use strict";n.d(t,{jL:function(){return g},hq:function(){return y}});var r=n(14068),o=n(8775);function i(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var a="data-rc-order",s="data-rc-priority",l="rc-util-key",c=new Map;function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):l}function d(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function f(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function p(e){return Array.from((c.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.Z)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,c=f(r),u="prependQueue"===c,h=document.createElement("style");h.setAttribute(a,c),u&&l&&h.setAttribute(s,"".concat(l)),null!=n&&n.nonce&&(h.nonce=null==n?void 0:n.nonce),h.innerHTML=e;var m=d(t),g=m.firstChild;if(r){if(u){var v=(t.styles||p(m)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(a))&&l>=Number(e.getAttribute(s)||0)});if(v.length)return m.insertBefore(h,v[v.length-1].nextSibling),h}m.insertBefore(h,g)}else m.appendChild(h);return h}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(t);return(t.styles||p(n)).find(function(n){return n.getAttribute(u(t))===e})}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(e,t);n&&d(t).removeChild(n)}function v(e,t){var n=c.get(e);if(!n||!i(document,n)){var r=h("",t),o=r.parentNode;c.set(e,o),e.removeChild(r)}}function y(e,t){var n,o,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=d(a),l=p(s),c=(0,r.Z)((0,r.Z)({},a),{},{styles:l});v(s,c);var f=m(t,c);if(f)return null!==(n=c.csp)&&void 0!==n&&n.nonce&&f.nonce!==(null===(o=c.csp)||void 0===o?void 0:o.nonce)&&(f.nonce=null===(i=c.csp)||void 0===i?void 0:i.nonce),f.innerHTML!==e&&(f.innerHTML=e),f;var g=h(e,c);return g.setAttribute(u(c),t),g}},9596:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44194);function o(e,t,n){var o=r.useRef({});return(!("value"in o.current)||n(o.current.condition,t))&&(o.current.value=e(),o.current.condition=t),o.current.value}},6459:function(e,t,n){"use strict";n.d(t,{Kp:function(){return a}});var r={},o=[],i=function(e){o.push(e)};function a(e,t){}function s(e,t){}function l(){r={}}function c(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function u(e,t){c(a,e,t)}function d(e,t){c(s,e,t)}u.preMessage=i,u.resetWarned=l,u.noteOnce=d,t.ZP=u},44819:function(e,t){"use strict";function n(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},16853:function(e,t){"use strict";function n(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},86912:function(e,t,n){"use strict";var r=n(55552).default;Object.defineProperty(t,"__esModule",{value:!0}),t.clearContainerCache=b,t.injectCSS=m,t.removeCSS=v,t.updateCSS=w;var o=r(n(10345)),i=r(n(44819)),a=r(n(16853)),s="data-rc-order",l="data-rc-priority",c="rc-util-key",u=new Map;function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):c}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function p(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function h(e){return Array.from((u.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,i.default)())return null;var n=t.csp,r=t.prepend,o=t.priority,a=void 0===o?0:o,c=p(r),u="prependQueue"===c,d=document.createElement("style");d.setAttribute(s,c),u&&a&&d.setAttribute(l,"".concat(a)),null!=n&&n.nonce&&(d.nonce=null==n?void 0:n.nonce),d.innerHTML=e;var m=f(t),g=m.firstChild;if(r){if(u){var v=(t.styles||h(m)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(s))&&a>=Number(e.getAttribute(l)||0)});if(v.length)return m.insertBefore(d,v[v.length-1].nextSibling),d}m.insertBefore(d,g)}else m.appendChild(d);return d}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(t);return(t.styles||h(n)).find(function(n){return n.getAttribute(d(t))===e})}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=g(e,t);n&&f(t).removeChild(n)}function y(e,t){var n=u.get(e);if(!n||!(0,a.default)(document,n)){var r=m("",t),o=r.parentNode;u.set(e,o),e.removeChild(r)}}function b(){u.clear()}function w(e,t){var n,r,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=f(a),l=h(s),c=(0,o.default)((0,o.default)({},a),{},{styles:l});y(s,c);var u=g(t,c);if(u)return null!==(n=c.csp)&&void 0!==n&&n.nonce&&u.nonce!==(null===(r=c.csp)||void 0===r?void 0:r.nonce)&&(u.nonce=null===(i=c.csp)||void 0===i?void 0:i.nonce),u.innerHTML!==e&&(u.innerHTML=e),u;var p=m(e,c);return p.setAttribute(d(c),t),p}},50756:function(e,t){"use strict";function n(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function r(e){return n(e) instanceof ShadowRoot}function o(e){return r(e)?n(e):null}Object.defineProperty(t,"__esModule",{value:!0}),t.getShadowRoot=o,t.inShadow=r},85904:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=l,t.default=void 0,t.note=a,t.noteOnce=u,t.preMessage=void 0,t.resetWarned=s,t.warning=i,t.warningOnce=c;var n={},r=[],o=t.preMessage=function(e){r.push(e)};function i(e,t){}function a(e,t){}function s(){n={}}function l(e,t,r){t||n[r]||(e(!1,r),n[r]=!0)}function c(e,t){l(i,e,t)}function u(e,t){l(a,e,t)}c.preMessage=o,c.resetWarned=s,c.noteOnce=u,t.default=c},2196:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(44194),o=n(39999);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))}),n}},17680:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:function(){return r}})},63957:function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{Z:function(){return r}})},8042:function(e,t,n){"use strict";n.d(t,{hq:function(){return y},jL:function(){return g}});var r=n(33581),o=n(17680),i=n(63957),a="data-rc-order",s="data-rc-priority",l="rc-util-key",c=new Map;function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):l}function d(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function f(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function p(e){return Array.from((c.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.Z)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,c=f(r),u="prependQueue"===c,h=document.createElement("style");h.setAttribute(a,c),u&&l&&h.setAttribute(s,"".concat(l)),null!=n&&n.nonce&&(h.nonce=null==n?void 0:n.nonce),h.innerHTML=e;var m=d(t),g=m.firstChild;if(r){if(u){var v=(t.styles||p(m)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(a))&&l>=Number(e.getAttribute(s)||0)});if(v.length)return m.insertBefore(h,v[v.length-1].nextSibling),h}m.insertBefore(h,g)}else m.appendChild(h);return h}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(t);return(t.styles||p(n)).find(function(n){return n.getAttribute(u(t))===e})}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(e,t);n&&d(t).removeChild(n)}function v(e,t){var n=c.get(e);if(!n||!(0,i.Z)(document,n)){var r=h("",t),o=r.parentNode;c.set(e,o),e.removeChild(r)}}function y(e,t){var n,o,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=d(a),l=p(s),c=(0,r.Z)((0,r.Z)({},a),{},{styles:l});v(s,c);var f=m(t,c);if(f)return null!==(n=c.csp)&&void 0!==n&&n.nonce&&f.nonce!==(null===(o=c.csp)||void 0===o?void 0:o.nonce)&&(f.nonce=null===(i=c.csp)||void 0===i?void 0:i.nonce),f.innerHTML!==e&&(f.innerHTML=e),f;var g=h(e,c);return g.setAttribute(u(c),t),g}},45251:function(e,t,n){"use strict";n.d(t,{Sh:function(){return a},ZP:function(){return l},bn:function(){return s}});var r=n(24335),o=n(44194),i=n(56321);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){return e&&"object"===(0,r.Z)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}function l(e){var t;return s(e)||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},36859:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},99489:function(e,t,n){"use strict";function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return r(e) instanceof ShadowRoot}function i(e){return o(e)?r(e):null}n.d(t,{A:function(){return i}})},8514:function(e,t,n){"use strict";n.d(t,{G:function(){return a}});var r=n(17680),o=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},i=function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function a(e,t){return Array.isArray(e)||void 0===t?o(e):i(e,t)}},4062:function(e,t){"use strict";var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE||e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY||e>=n.A&&e<=n.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},8372:function(e,t,n){"use strict";n.d(t,{s:function(){return y},v:function(){return x}});var r,o,i=n(21996),a=n(63011),s=n(24335),l=n(33581),c=n(56321),u=(0,l.Z)({},r||(r=n.t(c,2))),d=u.version,f=u.render,p=u.unmountComponentAtNode;try{Number((d||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.Z)(t)&&(t.usingClientEntryPoint=e)}var m="__rc_react_root__";function g(e,t){h(!0);var n=t[m]||o(t);h(!1),n.render(e),t[m]=n}function v(e,t){f(e,t)}function y(e,t){if(o){g(e,t);return}v(e,t)}function b(e){return w.apply(this,arguments)}function w(){return(w=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[m])||void 0===e||e.unmount(),delete t[m]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function S(e){p(e)}function x(e){return E.apply(this,arguments)}function E(){return(E=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",b(t));case 2:S(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},35677:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},o:function(){return s}});var r,o=n(8042);function i(e){var t,n,r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),i=document.createElement("div");i.id=r;var a=i.style;if(a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll",e){var s=getComputedStyle(e);a.scrollbarColor=s.scrollbarColor,a.scrollbarWidth=s.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),u=parseInt(l.height,10);try{var d=c?"width: ".concat(l.width,";"):"",f=u?"height: ".concat(l.height,";"):"";(0,o.hq)("\n#".concat(r,"::-webkit-scrollbar {\n").concat(d,"\n").concat(f,"\n}"),r)}catch(e){console.error(e),t=c,n=u}}document.body.appendChild(i);var p=e&&t&&!isNaN(t)?t:i.offsetWidth-i.clientWidth,h=e&&n&&!isNaN(n)?n:i.offsetHeight-i.clientHeight;return document.body.removeChild(i),(0,o.jL)(r),{width:p,height:h}}function a(e){return"undefined"==typeof document?0:((e||void 0===r)&&(r=i()),r.width)}function s(e){return"undefined"!=typeof document&&e&&e instanceof Element?i(e):{width:0,height:0}}},61372:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44194);function o(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))},[])}},70207:function(e,t,n){"use strict";var r,o=n(7732),i=n(33581),a=n(44194),s=0,l=function(){return(0,i.Z)({},r||(r=n.t(a,2))).useId}();t.Z=l?function(e){var t=l();return e||t}:function(e){var t=a.useState("ssr-id"),n=(0,o.Z)(t,2),r=n[0],i=n[1];return(a.useEffect(function(){var e=s;s+=1,i("rc_unique_".concat(e))},[]),e)?e:r}},75232:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(44194),o=(0,n(17680).Z)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o(function(){return e(n.current)},t),o(function(){return n.current=!1,function(){n.current=!0}},[])},a=function(e,t){i(function(t){if(!t)return e()},t)};t.Z=i},9188:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44194);function o(e,t,n){var o=r.useRef({});return(!("value"in o.current)||n(o.current.condition,t))&&(o.current.value=e(),o.current.condition=t),o.current.value}},45571:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(7732),o=n(61372),i=n(75232),a=n(59798);function s(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,c=n.value,u=n.onChange,d=n.postState,f=(0,a.Z)(function(){return s(c)?c:s(l)?"function"==typeof l?l():l:"function"==typeof e?e():e}),p=(0,r.Z)(f,2),h=p[0],m=p[1],g=void 0!==c?c:h,v=d?d(g):g,y=(0,o.Z)(u),b=(0,a.Z)([g]),w=(0,r.Z)(b,2),S=w[0],x=w[1];return(0,i.o)(function(){var e=S[0];h!==e&&y(h,e)},[S]),(0,i.o)(function(){s(c)||m(c)},[c]),[v,(0,o.Z)(function(e,t){m(e,t),x([g],t)})]}},59798:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7732),o=n(44194);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.Z)(n,2),a=i[0],s=i[1];return o.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]),[a,function(e,n){n&&t.current||s(e)}]}},91324:function(e,t,n){"use strict";n.d(t,{C8:function(){return o.Z},t4:function(){return i.t4},x1:function(){return i.x1},zX:function(){return r.Z}});var r=n(61372),o=n(45571),i=n(64198);n(87549),n(6103)},21608:function(e,t,n){"use strict";var r=n(24335),o=n(6103);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;function a(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(e);if((0,o.ZP)(!l,"Warning: There may be circular references"),l)return!1;if(e===t)return!0;if(n&&s>1)return!1;i.add(e);var c=s+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var u=0;u<e.length;u++)if(!a(e[u],t[u],c))return!1;return!0}if(e&&t&&"object"===(0,r.Z)(e)&&"object"===(0,r.Z)(t)){var d=Object.keys(e);return d.length===Object.keys(t).length&&d.every(function(n){return a(e[n],t[n],c)})}return!1}return a(e,t)}t.Z=i},97719:function(e,t){"use strict";t.Z=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},76933:function(e,t,n){"use strict";function r(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(e){delete n[e]}),n}n.d(t,{Z:function(){return r}})},11875:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(33581),o="accept acceptCharset accessKey action allowFullScreen allowTransparency\n    alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n    charSet checked classID className colSpan cols content contentEditable contextMenu\n    controls coords crossOrigin data dateTime default defer dir disabled download draggable\n    encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n    headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n    is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n    mediaGroup method min minLength multiple muted name noValidate nonce open\n    optimum pattern placeholder poster preload radioGroup readOnly rel required\n    reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n    shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n    summary tabIndex target title type useMap value width wmode wrap",i="onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n    onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n    onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n    onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n    onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n    onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n    onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError",a="".concat(o," ").concat(i).split(/[\s\n]+/),s="aria-",l="data-";function c(e,t){return 0===e.indexOf(t)}function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.Z)({},n);var o={};return Object.keys(e).forEach(function(n){(t.aria&&("role"===n||c(n,s))||t.data&&c(n,l)||t.attr&&a.includes(n))&&(o[n]=e[n])}),o}},30716:function(e,t){"use strict";var n=function(e){return+setTimeout(e,16)},r=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(n=function(e){return window.requestAnimationFrame(e)},r=function(e){return window.cancelAnimationFrame(e)});var o=0,i=new Map;function a(e){i.delete(e)}var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=o+=1;function s(t){if(0===t)a(r),e();else{var o=n(function(){s(t-1)});i.set(r,o)}}return s(t),r};s.cancel=function(e){var t=i.get(e);return a(e),r(t)},t.Z=s},64198:function(e,t,n){"use strict";n.d(t,{Yr:function(){return u},mH:function(){return s},sQ:function(){return l},t4:function(){return f},x1:function(){return c}});var r=n(24335),o=n(44194),i=n(39999),a=n(9188),s=function(e,t){"function"==typeof e?e(t):"object"===(0,r.Z)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(Boolean);return r.length<=1?r[0]:function(e){t.forEach(function(t){s(t,e)})}},c=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,a.Z)(function(){return l.apply(void 0,t)},t,function(e,t){return e.length!==t.length||e.every(function(e,n){return e!==t[n]})})},u=function(e){var t,n,r=(0,i.isMemo)(e)?e.type.type:e.type;return("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&!!t.render||r.$$typeof===i.ForwardRef)&&("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&!!n.render||e.$$typeof===i.ForwardRef)};function d(e){return(0,o.isValidElement)(e)&&!(0,i.isFragment)(e)}var f=function(e){return d(e)&&u(e)};o.version.split(".")[0]},94012:function(e,t,n){"use strict";function r(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null==n)return;n=n[t[r]]}return n}n.d(t,{Z:function(){return r}})},87549:function(e,t,n){"use strict";n.d(t,{T:function(){return p},Z:function(){return c}});var r=n(24335),o=n(33581),i=n(70826),a=n(54232),s=n(94012);function l(e,t,n,r){if(!t.length)return n;var s,c=(0,a.Z)(t),u=c[0],d=c.slice(1);return s=e||"number"!=typeof u?Array.isArray(e)?(0,i.Z)(e):(0,o.Z)({},e):[],r&&void 0===n&&1===d.length?delete s[u][d[0]]:s[u]=l(s[u],d,n,r),s}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,s.Z)(e,t.slice(0,-1))?e:l(e,t,n,r)}function u(e){return"object"===(0,r.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function d(e){return Array.isArray(e)?[]:{}}var f="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function p(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=d(t[0]);return t.forEach(function(e){function t(n,a){var l=new Set(a),p=(0,s.Z)(e,n),h=Array.isArray(p);if(h||u(p)){if(!l.has(p)){l.add(p);var m=(0,s.Z)(o,n);h?o=c(o,n,[]):m&&"object"===(0,r.Z)(m)||(o=c(o,n,d(p))),f(p).forEach(function(e){t([].concat((0,i.Z)(n),[e]),l)})}}else o=c(o,n,p)}t([])}),o}},6103:function(e,t,n){"use strict";n.d(t,{ET:function(){return d},Kp:function(){return a}});var r={},o=[],i=function(e){o.push(e)};function a(e,t){}function s(e,t){}function l(){r={}}function c(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function u(e,t){c(a,e,t)}function d(e,t){c(s,e,t)}u.preMessage=i,u.resetWarned=l,u.noteOnce=d,t.ZP=u},28881:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(27820),o=n(24335),i=n(33581),a=n(52986),s=n(7732),l=n(92486),c=n(51865),u=n.n(c),d=n(60118),f=n(91324),p=n(75232),h=n(44194),m=n(56321),g=h.forwardRef(function(e,t){var n=e.height,o=e.offsetY,s=e.offsetX,l=e.children,c=e.prefixCls,f=e.onInnerResize,p=e.innerProps,m=e.rtl,g=e.extra,v={},y={display:"flex",flexDirection:"column"};return void 0!==o&&(v={height:n,position:"relative",overflow:"hidden"},y=(0,i.Z)((0,i.Z)({},y),{},(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({transform:"translateY(".concat(o,"px)")},m?"marginRight":"marginLeft",-s),"position","absolute"),"left",0),"right",0),"top",0))),h.createElement("div",{style:v},h.createElement(d.Z,{onResize:function(e){e.offsetHeight&&f&&f()}},h.createElement("div",(0,r.Z)({style:y,className:u()((0,a.Z)({},"".concat(c,"-holder-inner"),c)),ref:t},p),l,g)))});g.displayName="Filler";var v=g;function y(e){var t=e.children,n=e.setRef,r=h.useCallback(function(e){n(e)},[]);return h.cloneElement(t,{ref:r})}function b(e,t,n,r,o,i,a,s){var l=s.getKey;return e.slice(t,n+1).map(function(e,n){var s=a(e,t+n,{style:{width:r},offsetX:o}),c=l(e);return h.createElement(y,{key:c,setRef:function(t){return i(e,t)}},s)})}function w(e,t,n){var r,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i<a?(r=e,o=t):(r=t,o=e);var s={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?n(e):s}for(var c=null,u=1!==Math.abs(i-a),d=0;d<o.length;d+=1){var f=l(r[d]);if(f!==l(o[d])){c=d,u=u||f!==l(o[d+1]);break}}return null===c?null:{index:c,multiple:u}}function S(e,t,n){var r=h.useState(e),o=(0,s.Z)(r,2),i=o[0],a=o[1],l=h.useState(null),c=(0,s.Z)(l,2),u=c[0],d=c[1];return h.useEffect(function(){var r=w(i||[],e||[],t);(null==r?void 0:r.index)!==void 0&&(null==n||n(r.index),d(e[r.index])),a(e)},[e]),[u]}var x=n(30716),E=("undefined"==typeof navigator?"undefined":(0,o.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),C=function(e,t,n,r){var o=(0,h.useRef)(!1),i=(0,h.useRef)(null);function a(){clearTimeout(i.current),o.current=!0,i.current=setTimeout(function(){o.current=!1},50)}var s=(0,h.useRef)({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return n&&r?(clearTimeout(i.current),o.current=!1):(!r||o.current)&&a(),!o.current&&r}};function _(e,t,n,r,o,i,a){var s=(0,h.useRef)(0),l=(0,h.useRef)(null),c=(0,h.useRef)(null),u=(0,h.useRef)(!1),d=C(t,n,r,o);function f(e,t){if(x.Z.cancel(l.current),!d(!1,t)){var n=e;n._virtualHandled||(n._virtualHandled=!0,s.current+=t,c.current=t,E||n.preventDefault(),l.current=(0,x.Z)(function(){var e=u.current?10:1;a(s.current*e,!1),s.current=0}))}}function p(e,t){a(t,!0),E||e.preventDefault()}var m=(0,h.useRef)(null),g=(0,h.useRef)(null);return[function(t){if(e){x.Z.cancel(g.current),g.current=(0,x.Z)(function(){m.current=null},2);var n=t.deltaX,r=t.deltaY,o=t.shiftKey,a=n,s=r;("sx"===m.current||!m.current&&o&&r&&!n)&&(a=r,s=0,m.current="sx");var l=Math.abs(a),c=Math.abs(s);null===m.current&&(m.current=i&&l>c?"x":"y"),"y"===m.current?f(t,s):p(t,a)}},function(t){e&&(u.current=t.detail===c.current)}]}function k(e,t,n,r){var o=h.useMemo(function(){return[new Map,[]]},[e,n.id,r]),i=(0,s.Z)(o,2),a=i[0],l=i[1];return function(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,s=a.get(o),c=a.get(i);if(void 0===s||void 0===c)for(var u=e.length,d=l.length;d<u;d+=1){var f,p=t(e[d]);a.set(p,d);var h=null!==(f=n.get(p))&&void 0!==f?f:r;if(l[d]=(l[d-1]||0)+h,p===o&&(s=d),p===i&&(c=d),void 0!==s&&void 0!==c)break}return{top:l[s-1]||0,bottom:l[c]}}}var O=n(45251),A=n(10342),I=n(77009),P=function(){function e(){(0,A.Z)(this,e),(0,a.Z)(this,"maps",void 0),(0,a.Z)(this,"id",0),this.maps=Object.create(null)}return(0,I.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}();function T(e,t,n){var r=h.useState(0),o=(0,s.Z)(r,2),i=o[0],a=o[1],l=(0,h.useRef)(new Map),c=(0,h.useRef)(new P),u=(0,h.useRef)();function d(){x.Z.cancel(u.current)}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){l.current.forEach(function(e,t){if(e&&e.offsetParent){var n=(0,O.ZP)(e),r=n.offsetHeight;c.current.get(t)!==r&&c.current.set(t,n.offsetHeight)}}),a(function(e){return e+1})};e?t():u.current=(0,x.Z)(t)}function p(r,o){var i=e(r),a=l.current.get(i);o?(l.current.set(i,o),f()):l.current.delete(i),!a!=!o&&(o?null==t||t(r):null==n||n(r))}return(0,h.useEffect)(function(){return d},[]),[p,f,c.current,i]}var R=14/15;function M(e,t,n){var r,o=(0,h.useRef)(!1),i=(0,h.useRef)(0),a=(0,h.useRef)(0),s=(0,h.useRef)(null),l=(0,h.useRef)(null),c=function(e){if(o.current){var t=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),s=i.current-t,c=a.current-r,u=Math.abs(s)>Math.abs(c);u?i.current=t:a.current=r;var d=n(u,u?s:c,!1,e);d&&e.preventDefault(),clearInterval(l.current),d&&(l.current=setInterval(function(){u?s*=R:c*=R;var e=Math.floor(u?s:c);(!n(u,e,!0)||.1>=Math.abs(e))&&clearInterval(l.current)},16))}},u=function(){o.current=!1,r()},d=function(e){r(),1!==e.touches.length||o.current||(o.current=!0,i.current=Math.ceil(e.touches[0].pageX),a.current=Math.ceil(e.touches[0].pageY),s.current=e.target,s.current.addEventListener("touchmove",c,{passive:!1}),s.current.addEventListener("touchend",u,{passive:!0}))};r=function(){s.current&&(s.current.removeEventListener("touchmove",c),s.current.removeEventListener("touchend",u))},(0,p.Z)(function(){return e&&t.current.addEventListener("touchstart",d,{passive:!0}),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(l.current)}},[e])}var N=10;function j(e,t,n,r,a,l,c,u){var d=h.useRef(),f=h.useState(null),m=(0,s.Z)(f,2),g=m[0],v=m[1];return(0,p.Z)(function(){if(g&&g.times<N){if(!e.current){v(function(e){return(0,i.Z)({},e)});return}l();var o=g.targetAlign,s=g.originAlign,u=g.index,d=g.offset,f=e.current.clientHeight,p=!1,h=o,m=null;if(f){for(var y=o||s,b=0,w=0,S=0,x=Math.min(t.length-1,u),E=0;E<=x;E+=1){var C=a(t[E]);w=b;var _=n.get(C);b=S=w+(void 0===_?r:_)}for(var k="top"===y?d:f-d,O=x;O>=0;O-=1){var A=a(t[O]),I=n.get(A);if(void 0===I){p=!0;break}if((k-=I)<=0)break}switch(y){case"top":m=w-d;break;case"bottom":m=S-f+d;break;default:var P=e.current.scrollTop,T=P+f;w<P?h="top":S>T&&(h="bottom")}null!==m&&c(m),m!==g.lastTop&&(p=!0)}p&&v((0,i.Z)((0,i.Z)({},g),{},{times:g.times+1,targetAlign:h,lastTop:m}))}},[g,e.current]),function(e){if(null==e){u();return}if(x.Z.cancel(d.current),"number"==typeof e)c(e);else if(e&&"object"===(0,o.Z)(e)){var n,r=e.align;n="index"in e?e.index:t.findIndex(function(t){return a(t)===e.key});var i=e.offset;v({times:0,index:n,offset:void 0===i?0:i,originAlign:r})}}}function D(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var L=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,o=e.scrollOffset,l=e.scrollRange,c=e.onStartMove,d=e.onStopMove,f=e.onScroll,p=e.horizontal,m=e.spinSize,g=e.containerSize,v=e.style,y=e.thumbStyle,b=h.useState(!1),w=(0,s.Z)(b,2),S=w[0],E=w[1],C=h.useState(null),_=(0,s.Z)(C,2),k=_[0],O=_[1],A=h.useState(null),I=(0,s.Z)(A,2),P=I[0],T=I[1],R=!r,M=h.useRef(),N=h.useRef(),j=h.useState(!1),L=(0,s.Z)(j,2),B=L[0],Z=L[1],F=h.useRef(),z=function(){clearTimeout(F.current),Z(!0),F.current=setTimeout(function(){Z(!1)},3e3)},U=l-g||0,H=g-m||0,q=h.useMemo(function(){return 0===o||0===U?0:o/U*H},[o,U,H]),V=function(e){e.stopPropagation(),e.preventDefault()},W=h.useRef({top:q,dragging:S,pageY:k,startTop:P});W.current={top:q,dragging:S,pageY:k,startTop:P};var $=function(e){E(!0),O(D(e,p)),T(W.current.top),c(),e.stopPropagation(),e.preventDefault()};h.useEffect(function(){var e=function(e){e.preventDefault()},t=M.current,n=N.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",$,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",$)}},[]);var G=h.useRef();G.current=U;var K=h.useRef();K.current=H,h.useEffect(function(){if(S){var e,t=function(t){var n=W.current,r=n.dragging,o=n.pageY,i=n.startTop;x.Z.cancel(e);var a=M.current.getBoundingClientRect(),s=g/(p?a.width:a.height);if(r){var l=(D(t,p)-o)*s,c=i;!R&&p?c-=l:c+=l;var u=G.current,d=K.current,h=Math.ceil((d?c/d:0)*u);h=Math.min(h=Math.max(h,0),u),e=(0,x.Z)(function(){f(h,p)})}},n=function(){E(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),x.Z.cancel(e)}}},[S]),h.useEffect(function(){return z(),function(){clearTimeout(F.current)}},[o]),h.useImperativeHandle(t,function(){return{delayHidden:z}});var Y="".concat(n,"-scrollbar"),X={position:"absolute",visibility:B?null:"hidden"},Q={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return p?(X.height=8,X.left=0,X.right=0,X.bottom=0,Q.height="100%",Q.width=m,R?Q.left=q:Q.right=q):(X.width=8,X.top=0,X.bottom=0,R?X.right=0:X.left=0,Q.width="100%",Q.height=m,Q.top=q),h.createElement("div",{ref:M,className:u()(Y,(0,a.Z)((0,a.Z)((0,a.Z)({},"".concat(Y,"-horizontal"),p),"".concat(Y,"-vertical"),!p),"".concat(Y,"-visible"),B)),style:(0,i.Z)((0,i.Z)({},X),v),onMouseDown:V,onMouseMove:z},h.createElement("div",{ref:N,className:u()("".concat(Y,"-thumb"),(0,a.Z)({},"".concat(Y,"-thumb-moving"),S)),style:(0,i.Z)((0,i.Z)({},Q),y),onMouseDown:$}))}),B=20;function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),Math.floor(n=Math.max(n,B))}var F=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],z=[],U={overflowY:"auto",overflowAnchor:"none"};function H(e,t){var n=e.prefixCls,c=void 0===n?"rc-virtual-list":n,g=e.className,y=e.height,w=e.itemHeight,x=e.fullHeight,E=void 0===x||x,O=e.style,A=e.data,I=e.children,P=e.itemKey,R=e.virtual,N=e.direction,D=e.scrollWidth,B=e.component,H=void 0===B?"div":B,q=e.onScroll,V=e.onVirtualScroll,W=e.onVisibleChange,$=e.innerProps,G=e.extraRender,K=e.styles,Y=(0,l.Z)(e,F),X=h.useCallback(function(e){return"function"==typeof P?P(e):null==e?void 0:e[P]},[P]),Q=T(X,null,null),J=(0,s.Z)(Q,4),ee=J[0],et=J[1],en=J[2],er=J[3],eo=!!(!1!==R&&y&&w),ei=h.useMemo(function(){return Object.values(en.maps).reduce(function(e,t){return e+t},0)},[en.id,en.maps]),ea=eo&&A&&(Math.max(w*A.length,ei)>y||!!D),es="rtl"===N,el=u()(c,(0,a.Z)({},"".concat(c,"-rtl"),es),g),ec=A||z,eu=(0,h.useRef)(),ed=(0,h.useRef)(),ef=(0,h.useRef)(),ep=(0,h.useState)(0),eh=(0,s.Z)(ep,2),em=eh[0],eg=eh[1],ev=(0,h.useState)(0),ey=(0,s.Z)(ev,2),eb=ey[0],ew=ey[1],eS=(0,h.useState)(!1),ex=(0,s.Z)(eS,2),eE=ex[0],eC=ex[1],e_=function(){eC(!0)},ek=function(){eC(!1)},eO={getKey:X};function eA(e){eg(function(t){var n,r=eK(n="function"==typeof e?e(t):e);return eu.current.scrollTop=r,r})}var eI=(0,h.useRef)({start:0,end:ec.length}),eP=(0,h.useRef)(),eT=S(ec,X),eR=(0,s.Z)(eT,1)[0];eP.current=eR;var eM=h.useMemo(function(){if(!eo)return{scrollHeight:void 0,start:0,end:ec.length-1,offset:void 0};if(!ea)return{scrollHeight:(null===(e=ed.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:ec.length-1,offset:void 0};for(var e,t,n,r,o=0,i=ec.length,a=0;a<i;a+=1){var s=X(ec[a]),l=en.get(s),c=o+(void 0===l?w:l);c>=em&&void 0===t&&(t=a,n=o),c>em+y&&void 0===r&&(r=a),o=c}return void 0===t&&(t=0,n=0,r=Math.ceil(y/w)),void 0===r&&(r=ec.length-1),{scrollHeight:o,start:t,end:r=Math.min(r+1,ec.length-1),offset:n}},[ea,eo,em,ec,er,y]),eN=eM.scrollHeight,ej=eM.start,eD=eM.end,eL=eM.offset;eI.current.start=ej,eI.current.end=eD;var eB=h.useState({width:0,height:y}),eZ=(0,s.Z)(eB,2),eF=eZ[0],ez=eZ[1],eU=function(e){ez({width:e.offsetWidth,height:e.offsetHeight})},eH=(0,h.useRef)(),eq=(0,h.useRef)(),eV=h.useMemo(function(){return Z(eF.width,D)},[eF.width,D]),eW=h.useMemo(function(){return Z(eF.height,eN)},[eF.height,eN]),e$=eN-y,eG=(0,h.useRef)(e$);function eK(e){var t=e;return Number.isNaN(eG.current)||(t=Math.min(t,eG.current)),t=Math.max(t,0)}eG.current=e$;var eY=em<=0,eX=em>=e$,eQ=eb<=0,eJ=eb>=D,e0=C(eY,eX,eQ,eJ),e1=function(){return{x:es?-eb:eb,y:em}},e2=(0,h.useRef)(e1()),e3=(0,f.zX)(function(e){if(V){var t=(0,i.Z)((0,i.Z)({},e1()),e);(e2.current.x!==t.x||e2.current.y!==t.y)&&(V(t),e2.current=t)}});function e4(e,t){var n=e;t?((0,m.flushSync)(function(){ew(n)}),e3()):eA(n)}function e5(e){var t=e.currentTarget.scrollTop;t!==em&&eA(t),null==q||q(e),e3()}var e6=function(e){var t=e,n=D?D-eF.width:0;return Math.min(t=Math.max(t,0),n)},e8=_(eo,eY,eX,eQ,eJ,!!D,(0,f.zX)(function(e,t){t?((0,m.flushSync)(function(){ew(function(t){return e6(t+(es?-e:e))})}),e3()):eA(function(t){return t+e})})),e7=(0,s.Z)(e8,2),e9=e7[0],te=e7[1];M(eo,eu,function(e,t,n,r){var o=r;return!e0(e,t,n)&&(!o||!o._virtualHandled)&&(o&&(o._virtualHandled=!0),e9({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0)}),(0,p.Z)(function(){function e(e){var t=eY&&e.detail<0,n=eX&&e.detail>0;!eo||t||n||e.preventDefault()}var t=eu.current;return t.addEventListener("wheel",e9,{passive:!1}),t.addEventListener("DOMMouseScroll",te,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",e9),t.removeEventListener("DOMMouseScroll",te),t.removeEventListener("MozMousePixelScroll",e)}},[eo,eY,eX]),(0,p.Z)(function(){if(D){var e=e6(eb);ew(e),e3({x:e})}},[eF.width,D]);var tt=function(){var e,t;null===(e=eH.current)||void 0===e||e.delayHidden(),null===(t=eq.current)||void 0===t||t.delayHidden()},tn=j(eu,ec,en,w,X,function(){return et(!0)},eA,tt);h.useImperativeHandle(t,function(){return{nativeElement:ef.current,getScrollInfo:e1,scrollTo:function(e){(function(e){return e&&"object"===(0,o.Z)(e)&&("left"in e||"top"in e)})(e)?(void 0!==e.left&&ew(e6(e.left)),tn(e.top)):tn(e)}}}),(0,p.Z)(function(){W&&W(ec.slice(ej,eD+1),ec)},[ej,eD,ec]);var tr=k(ec,X,en,w),to=null==G?void 0:G({start:ej,end:eD,virtual:ea,offsetX:eb,offsetY:eL,rtl:es,getSize:tr}),ti=b(ec,ej,eD,D,eb,ee,I,eO),ta=null;y&&(ta=(0,i.Z)((0,a.Z)({},E?"height":"maxHeight",y),U),eo&&(ta.overflowY="hidden",D&&(ta.overflowX="hidden"),eE&&(ta.pointerEvents="none")));var ts={};return es&&(ts.dir="rtl"),h.createElement("div",(0,r.Z)({ref:ef,style:(0,i.Z)((0,i.Z)({},O),{},{position:"relative"}),className:el},ts,Y),h.createElement(d.Z,{onResize:eU},h.createElement(H,{className:"".concat(c,"-holder"),style:ta,ref:eu,onScroll:e5,onMouseEnter:tt},h.createElement(v,{prefixCls:c,height:eN,offsetX:eb,offsetY:eL,scrollWidth:D,onInnerResize:et,ref:ed,innerProps:$,rtl:es,extra:to},ti))),ea&&eN>y&&h.createElement(L,{ref:eH,prefixCls:c,scrollOffset:em,scrollRange:eN,rtl:es,onScroll:e4,onStartMove:e_,onStopMove:ek,spinSize:eW,containerSize:eF.height,style:null==K?void 0:K.verticalScrollBar,thumbStyle:null==K?void 0:K.verticalScrollBarThumb}),ea&&D>eF.width&&h.createElement(L,{ref:eq,prefixCls:c,scrollOffset:eb,scrollRange:D,rtl:es,onScroll:e4,onStartMove:e_,onStopMove:ek,spinSize:eV,containerSize:eF.width,horizontal:!0,style:null==K?void 0:K.horizontalScrollBar,thumbStyle:null==K?void 0:K.horizontalScrollBarThumb}))}var q=h.forwardRef(H);q.displayName="List";var V=q},60342:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(2));t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n={};for(var r in e)!(t.indexOf(r)>=0)&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.default=u;var a=n(3),s=o(n(4)),l=n(14),c=o(n(15));function u(e){var t=e.activeClassName,n=void 0===t?"":t,o=e.activeIndex,s=void 0===o?-1:o,u=e.activeStyle,d=e.autoEscape,f=e.caseSensitive,p=void 0!==f&&f,h=e.className,m=e.findChunks,g=e.highlightClassName,v=void 0===g?"":g,y=e.highlightStyle,b=void 0===y?{}:y,w=e.highlightTag,S=void 0===w?"mark":w,x=e.sanitize,E=e.searchWords,C=e.textToHighlight,_=e.unhighlightTag,k=void 0===_?"span":_,O=e.unhighlightClassName,A=void 0===O?"":O,I=e.unhighlightStyle,P=i(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),T=(0,a.findAll)({autoEscape:d,caseSensitive:p,findChunks:m,sanitize:x,searchWords:E,textToHighlight:C}),R=S,M=-1,N="",j=void 0,D=function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t},L=(0,c.default)(D);return(0,l.createElement)("span",r({className:h},P,{children:T.map(function(e,t){var r=C.substr(e.start,e.end-e.start);if(!e.highlight)return(0,l.createElement)(k,{children:r,className:A,key:t,style:I});M++;var o=void 0;o="object"==typeof v?p?v[r]:(v=L(v))[r.toLowerCase()]:v;var i=M===+s;N=o+" "+(i?n:""),j=!0===i&&null!=u?Object.assign({},b,u):b;var a={children:r,className:N,key:t,style:j};return"string"!=typeof R&&(a.highlightIndex=M),(0,l.createElement)(R,a)})}))}u.propTypes={activeClassName:s.default.string,activeIndex:s.default.number,activeStyle:s.default.object,autoEscape:s.default.bool,className:s.default.string,findChunks:s.default.func,highlightClassName:s.default.oneOfType([s.default.object,s.default.string]),highlightStyle:s.default.object,highlightTag:s.default.oneOfType([s.default.node,s.default.func,s.default.string]),sanitize:s.default.func,searchWords:s.default.arrayOf(s.default.oneOfType([s.default.string,s.default.instanceOf(RegExp)])).isRequired,textToHighlight:s.default.string.isRequired,unhighlightTag:s.default.oneOfType([s.default.node,s.default.func,s.default.string]),unhighlightClassName:s.default.string,unhighlightStyle:s.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,a=void 0!==i&&i,s=e.findChunks,l=void 0===s?r:s,c=e.sanitize,u=e.searchWords,d=e.textToHighlight;return o({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:c,searchWords:u,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){return e.chunks.sort(function(e,t){return e.start-t.start}).reduce(function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e},[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?i:r,s=e.searchWords,l=e.textToHighlight;return l=o(l),s.filter(function(e){return e}).reduce(function(e,r){r=o(r),t&&(r=a(r));for(var i=new RegExp(r,n?"g":"gi"),s=void 0;s=i.exec(l);){var c=s.index,u=i.lastIndex;u>c&&e.push({start:c,end:u}),s.index==i.lastIndex&&i.lastIndex++}return e},[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var i=0;t.forEach(function(e){o(i,e.start,!1),o(e.start,e.end,!0),i=e.end}),o(i,n,!1)}return r};function i(e){return e}function a(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},i=!0;e.exports=n(6)(o,i)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,o,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function c(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u=[],d=!1,f=-1;function p(){d&&o&&(d=!1,o.length?u=o.concat(u):f=-1,u.length&&h())}function h(){if(!d){var e=l(p);d=!0;for(var t=u.length;t;){for(o=u,u=[];++f<t;)o&&o[f].run();f=-1,t=u.length}o=null,d=!1,c(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||d||l(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";var r=n(7),o=n(8),i=n(9),a=n(10),s=n(11),l=n(12);e.exports=function(e,n){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator";function d(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}var f="<<anonymous>>",p={array:v("array"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:y(),arrayOf:b,element:w(),instanceOf:S,node:_(),objectOf:E,oneOf:x,oneOfType:C,shape:k,exact:O};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e){this.message=e,this.stack=""}function g(e){if("production"!==t.env.NODE_ENV)var r={},a=0;function l(l,c,u,d,p,h,g){if(d=d||f,h=h||u,g!==s){if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=d+":"+u;!r[v]&&a<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,d),r[v]=!0,a++)}}return null!=c[u]?e(c,u,d,p,h):l?new m(null===c[u]?"The "+p+" `"+h+"` is marked as required in `"+d+"`, but its value is `null`.":"The "+p+" `"+h+"` is marked as required in `"+d+"`, but its value is `undefined`."):null}var c=l.bind(null,!1);return c.isRequired=l.bind(null,!0),c}function v(e){return g(function(t,n,r,o,i,a){var s=t[n];return P(s)!==e?new m("Invalid "+o+" `"+i+"` of type "+("`"+T(s))+"` supplied to `"+r+"`, expected `"+e+"`."):null})}function y(){return g(r.thatReturnsNull)}function b(e){return g(function(t,n,r,o,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new m("Invalid "+o+" `"+i+"` of type "+("`"+P(a))+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,r,o,i+"["+l+"]",s);if(c instanceof Error)return c}return null})}function w(){return g(function(t,n,r,o,i){var a=t[n];return e(a)?null:new m("Invalid "+o+" `"+i+"` of type "+("`"+P(a))+"` supplied to `"+r+"`, expected a single ReactElement.")})}function S(e){return g(function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||f;return new m("Invalid "+o+" `"+i+"` of type "+("`"+M(t[n]))+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null})}function x(e){return Array.isArray(e)?g(function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(h(a,e[s]))return null;return new m("Invalid "+o+" `"+i+"` of value `"+a+"` "+("supplied to `"+r)+"`, expected one of "+JSON.stringify(e)+".")}):("production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)}function E(e){return g(function(t,n,r,o,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],l=P(a);if("object"!==l)return new m("Invalid "+o+" `"+i+"` of type "+("`"+l)+"` supplied to `"+r+"`, expected an object.");for(var c in a)if(a.hasOwnProperty(c)){var u=e(a,c,r,o,i+"."+c,s);if(u instanceof Error)return u}return null})}function C(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return i(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",R(o),n),r.thatReturnsNull}return g(function(t,n,r,o,i){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,r,o,i,s))return null;return new m("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")})}function _(){return g(function(e,t,n,r,o){return A(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})}function k(e){return g(function(t,n,r,o,i){var a=t[n],l=P(a);if("object"!==l)return new m("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if(u){var d=u(a,c,r,o,i+"."+c,s);if(d)return d}}return null})}function O(e){return g(function(t,n,r,o,i){var l=t[n],c=P(l);if("object"!==c)return new m("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var u=a({},t[n],e);for(var d in u){var f=e[d];if(!f)return new m("Invalid "+o+" `"+i+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null,"  "));var p=f(l,d,r,o,i+"."+d,s);if(p)return p}return null})}function A(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(A);if(null===t||e(t))return!0;var n=d(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!A(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!A(i[1]))return!1}return!0;default:return!1}}function I(e,t){return!!("symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function P(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":I(t,e)?"symbol":t}function T(e){if(null==e)return""+e;var t=P(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function R(e){var t=T(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function M(e){return e.constructor&&e.constructor.name?e.constructor.name:f}return m.prototype=Error.prototype,p.checkPropTypes=l,p.PropTypes=p,p}}).call(t,n(5))},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){"use strict";var n=function(e){};function r(e,t,r,o,i,a,s,l){if(n(t),!e){var c;if(void 0===t)c=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,o,i,a,s,l],d=0;(c=Error(t.replace(/%s/g,function(){return u[d++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw Error("invariant requires an error message argument")}),e.exports=r}).call(t,n(5))},function(e,t,n){(function(t){"use strict";var r=n(7);if("production"!==t.env.NODE_ENV){var o=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw Error(i)}catch(e){}};r=function(e,t){if(void 0===t)throw Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];o.apply(void 0,[t].concat(r))}}}e.exports=r}).call(t,n(5))},function(e,t){/*
	object-assign
	(c) Sindre Sorhus
	@license MIT
	*/"use strict";var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function a(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};if("abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},o)).join(""))return!1;return!0}catch(e){return!1}}e.exports=a()?Object.assign:function(e,t){for(var a,s,l=i(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))r.call(a,u)&&(l[u]=a[u]);if(n){s=n(a);for(var d=0;d<s.length;d++)o.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){(function(t){"use strict";if("production"!==t.env.NODE_ENV)var r=n(8),o=n(9),i=n(11),a={};function s(e,n,s,l,c){if("production"!==t.env.NODE_ENV){for(var u in e)if(e.hasOwnProperty(u)){var d;try{r("function"==typeof e[u],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",l||"React class",s,u,typeof e[u]),d=e[u](n,u,l,s,null,i)}catch(e){d=e}if(o(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,u,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var f=c?c():"";o(!1,"Failed %s type: %s%s",s,d.message,null!=f?f:"")}}}}e.exports=s}).call(t,n(5))},function(e,t,n){"use strict";var r=n(7),o=n(8),i=n(11);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){e.exports=n(44194)},function(e,t){"use strict";var n=function(e,t){return e===t};function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,o=[],i=void 0,a=!1,s=function(e,n){return t(e,o[n])};return function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return a&&r===this&&n.length===o.length&&n.every(s)?i:(a=!0,r=this,o=n,i=e.apply(this,n))}}e.exports=r}])},32829:function(e,t,n){"use strict";n.d(t,{KV:function(){return e5},ZP:function(){return n8}});var r=n(7862),o=n.n(r),i=n(44194);Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(this==null)throw TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof e)throw TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(t=n[i],e.call(o,t,i,n))return i;return -1},enumerable:!1,configurable:!1,writable:!1});var a=n(62118),s=n.n(a),l=n(31236),c=n.n(l);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var f={warnings:{fallbackImage:!0,sizesAttribute:!0,invalidARFormat:!0}},p="9.7.0",h=n(41438).Buffer;let m="function"==typeof atob,g="function"==typeof btoa,v="function"==typeof h,y="function"==typeof TextDecoder?new TextDecoder:void 0,b="function"==typeof TextEncoder?new TextEncoder:void 0,w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",S=Array.prototype.slice.call(w),x=(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(S),E=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,C=String.fromCharCode.bind(String),_="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),k=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),O=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),A=e=>{let t,n,r,o,i="",a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw TypeError("invalid character found");i+=S[(t=n<<16|r<<8|o)>>18&63]+S[t>>12&63]+S[t>>6&63]+S[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},I=g?e=>btoa(e):v?e=>h.from(e,"binary").toString("base64"):A,P=v?e=>h.from(e).toString("base64"):e=>{let t=4096,n=[];for(let r=0,o=e.length;r<o;r+=t)n.push(C.apply(null,e.subarray(r,r+t)));return I(n.join(""))},T=(e,t=!1)=>t?k(P(e)):P(e),R=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?C(192|t>>>6)+C(128|63&t):C(224|t>>>12&15)+C(128|t>>>6&63)+C(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return C(240|t>>>18&7)+C(128|t>>>12&63)+C(128|t>>>6&63)+C(128|63&t)},M=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,N=e=>e.replace(M,R),j=v?e=>h.from(e,"utf8").toString("base64"):b?e=>P(b.encode(e)):e=>I(N(e)),D=(e,t=!1)=>t?k(j(e)):j(e),L=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,B=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return C((t>>>10)+55296)+C((1023&t)+56320);case 3:return C((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return C((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Z=e=>e.replace(L,B),F=e=>{if(e=e.replace(/\s+/g,""),!E.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n="",r,o;for(let i=0;i<e.length;)t=x[e.charAt(i++)]<<18|x[e.charAt(i++)]<<12|(r=x[e.charAt(i++)])<<6|(o=x[e.charAt(i++)]),n+=64===r?C(t>>16&255):64===o?C(t>>16&255,t>>8&255):C(t>>16&255,t>>8&255,255&t);return n},z=m?e=>atob(O(e)):v?e=>h.from(e,"base64").toString("binary"):F,U=v?e=>_(h.from(e,"base64")):e=>_(z(e).split("").map(e=>e.charCodeAt(0))),H=e=>U(V(e)),q=v?e=>h.from(e,"base64").toString("utf8"):y?e=>y.decode(U(e)):e=>Z(z(e)),V=e=>O(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),W=e=>q(V(e)),$=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),G={encodeURI:e=>D(e,!0)};var K=n(5681),Y=n.n(K);let X=/\+/g;function Q(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function J(e){return Q(e.replace(X," "))}function ee(e=""){let t={};for(let n of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=Q(e[1]);if("__proto__"===r||"constructor"===r)continue;let o=J(e[2]||"");void 0!==t[r]?Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]:t[r]=o}return t}let et=/^\w{2,}:([/\\]{1,2})/,en=/^\w{2,}:([/\\]{2})?/,er=/^([/\\]\s*){2,}[^/\\]/;function eo(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?et.test(e):en.test(e)||!!t.acceptRelative&&er.test(e)}function ei(e){return ee(ea(e).search)}function ea(e="",t){if(!eo(e,{acceptRelative:!0}))return t?ea(t+e):es(e);let[n="",r,o=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[i="",a=""]=(o.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:s,search:l,hash:c}=es(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:i,pathname:s,search:l,hash:c}}function es(e=""){let[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function el(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(n),!0).forEach(function(t){em(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ec(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ed(e){return(ed="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ef(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function ep(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ek(r.key),r)}}function eh(e,t,n){return t&&ep(e.prototype,t),n&&ep(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function em(e,t,n){return(t=ek(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eg(e,t){return eb(e)||el(e,t)||eS(e,t)||eC()}function ev(e){return ey(e)||ew(e)||eS(e)||eE()}function ey(e){if(Array.isArray(e))return ex(e)}function eb(e){if(Array.isArray(e))return e}function ew(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function eS(e,t){if(e){if("string"==typeof e)return ex(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ex(e,t)}}function ex(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eE(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eC(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e_(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function ek(e){var t=e_(e,"string");return"symbol"==typeof t?t:String(t)}var eO="3.8.0",eA=/^(?:[a-z\d\-_]{1,62}\.){0,125}(?:[a-z\d](?:\-(?=\-*[a-z\d])|[a-z]|\d){0,62}\.)[a-z\d]{1,63}$/i,eI=100,eP=8192,eT=.08,eR={1:75,2:50,3:35,4:23,5:20},eM=[1,2,3,4,5],eN={domain:null,useHTTPS:!0,includeLibraryParam:!0,urlPrefix:"https://",secureURLToken:null};function ej(e){var t=e.url,n=void 0===t?"":t,r=e.useHttps,o=void 0!==r&&r?"https://":"http://";return eo(n,!0)?ea(n):ej({url:o+n})}function eD(e){void 0!==e.widthTolerance?(eB(e.widthTolerance),t=e.widthTolerance):t=eT;var t,n=void 0===e.minWidth?eI:e.minWidth,r=void 0===e.maxWidth?eP:e.maxWidth;return(n!=eI||r!=eP)&&eL(n,r),[t,n,r]}function eL(e,t){if(!(Number.isInteger(e)&&Number.isInteger(t))||e<=0||t<=0||e>t)throw Error("The min and max srcset widths can only be passed positive Number values, and min must be less than max. Found min: ".concat(e," and max: ").concat(t,"."))}function eB(e){if("number"!=typeof e||e<.01)throw Error("The srcset widthTolerance must be a number greater than or equal to 0.01")}function eZ(e){if(Array.isArray(e)&&e.length){if(!e.every(function(e){return Number.isInteger(e)&&e>0}))throw Error("A custom widths argument can only contain positive integer values")}else throw Error("The widths argument can only be passed a valid non-empty array of integers")}function eF(e){if("boolean"!=typeof e)throw Error("The disableVariableQuality argument can only be passed a Boolean value")}function ez(e){if(Array.isArray(e)&&e.length){if(!e.every(function(e){return"number"==typeof e&&e>=1&&e<=5}))throw Error("The devicePixelRatios argument can only contain positive integer values between 1 and 5")}else throw Error("The devicePixelRatios argument can only be passed a valid non-empty array of integers")}function eU(e){if("object"!==ed(e))throw Error("The variableQualities argument can only be an object")}var eH=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(ef(this,e),this.settings=eu(eu({},eN),t),this.targetWidthsCache={},"string"!=typeof this.settings.domain)throw Error("ImgixClient must be passed a valid string domain");if(null==eA.exec(this.settings.domain))throw Error('Domain must be passed in as fully-qualified domain name and should not include a protocol or any path element, i.e. "example.imgix.net".');this.settings.includeLibraryParam&&(this.settings.libraryParam="js-"+e.version()),this.settings.urlPrefix=this.settings.useHTTPS?"https://":"http://"}return eh(e,[{key:"buildURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._sanitizePath(e,n),o=this._buildParams(t,n);return this.settings.secureURLToken&&(o=this._signParams(r,o)),this.settings.urlPrefix+this.settings.domain+r+o}},{key:"_buildParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!!t.encoder,r=t.encoder,o=[].concat(ev(this.settings.libraryParam?["ixlib=".concat(this.settings.libraryParam)]:[]),ev(Object.entries(e).reduce(function(e,t){var o=eg(t,2),i=o[0],a=o[1];if(null==a)return e;var s=n?r(i,a):encodeURIComponent(i),l="64"===i.substr(-2)?n?r(a,i):G.encodeURI(a):n?r(a,i):encodeURIComponent(a);return e.push("".concat(s,"=").concat(l)),e},[])));return"".concat(o.length>0?"?":"").concat(o.join("&"))}},{key:"_signParams",value:function(e,t){var n=this.settings.secureURLToken+e+t,r=Y()(n);return t.length>0?t+"&s="+r:"?s="+r}},{key:"_sanitizePath",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.replace(/^\//,"");return t.disablePathEncoding?"/"+n:"/"+(n=t.encoder?t.encoder(n):/^https?:\/\//.test(n)?encodeURIComponent(n):encodeURI(n).replace(/[#?:+]/g,encodeURIComponent))}},{key:"buildSrcSet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.w,o=t.h;return r||o?this._buildDPRSrcSet(e,t,n):this._buildSrcSetPairs(e,t,n)}},{key:"_buildSrcSetPairs",value:function(t){var n,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=eg(eD(i),3),s=a[0],l=a[1],c=a[2];return i.widths?(eZ(i.widths),n=ev(i.widths)):n=e.targetWidths(l,c,s,this.targetWidthsCache),n.map(function(e){return"".concat(r.buildURL(t,eu(eu({},o),{},{w:e}),i)," ").concat(e,"w")}).join(",\n")}},{key:"_buildDPRSrcSet",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.devicePixelRatios&&ez(r.devicePixelRatios);var o=r.devicePixelRatios||eM,i=r.disableVariableQuality||!1;i||eF(i),r.variableQualities&&eU(r.variableQualities);var a=eu(eu({},eR),r.variableQualities),s=function(e,n,o){return"".concat(t.buildURL(e,eu(eu({},n),{},{dpr:o,q:n.q||a[o]||a[Math.floor(o)]}),r)," ").concat(o,"x")};return(i?o.map(function(o){return"".concat(t.buildURL(e,eu(eu({},n),{},{dpr:o}),r)," ").concat(o,"x")}):o.map(function(t){return s(e,n,t)})).join(",\n")}}],[{key:"version",value:function(){return eO}},{key:"_buildURL",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==t)return"";var o=ej({url:t,useHTTPS:r.useHTTPS}),i=o.host,a=o.pathname,s=eu(eu({},ei(o.search)),n);if(!i.length||!a.length)throw Error("_buildURL: URL must match {host}/{pathname}?{query}");return new e(eu({domain:i},r)).buildURL(a,s)}},{key:"_buildSrcSet",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(null==t)return"";var i=ej({url:t,useHTTPS:o.useHTTPS}),a=i.host,s=i.pathname,l=eu(eu({},ei(i.search)),n);if(!a.length||!s.length)throw Error("_buildOneStepURL: URL must match {host}/{pathname}?{query}");return new e(eu({domain:a},o)).buildSrcSet(s,l,r)}},{key:"targetWidths",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8192,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.08,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=Math.floor(e),i=Math.floor(t);eL(e,t),eB(n);var a=n+"/"+o+"/"+i;if(a in r)return r[a];if(o===i)return[o];for(var s=[],l=o;l<i;)s.push(Math.round(l)),l*=1+2*n;return s[s.length-1]<i&&s.push(i),r[a]=s,s}}]),e}();function eq(e){var t=e.split("?"),n=t[0],r=t[1];if(!r)return[n,{}];for(var o=r.split("&"),i={},a=o.length,s=0;s<a;s++){var l=o[s].split("="),c=l[0],u=l[1];i[c]=decodeURIComponent(u)}return[n,i]}function eV(){return(eV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function eW(e){return eJ(e)||e$(e)||eY(e)||eK()}function e$(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function eG(e,t){return eJ(e)||eQ(e,t)||eY(e,t)||eK()}function eK(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eY(e,t){if(e){if("string"==typeof e)return eX(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eX(e,t)}}function eX(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eQ(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function eJ(e){if(Array.isArray(e))return e}var e0="9.7.0",e1=Object.freeze({brightness:"bri",contrast:"con",exposure:"exp",gamma:"gam",highlights:"high",hue:"hue",invert:"invert",saturation:"sat",shaddows:"shad",shadows:"shad",sharpness:"sharp","unsharp-mask":"usm","unsharp-radius":"usmrad",vibrance:"vib","auto-features":"auto","background-color":"bg",blend:"blend","blend-mode":"bm","blend-align":"ba","blend-alpha":"balph","blend-padding":"bp","blend-width":"bw","blend-height":"bh","blend-fit":"bf","blend-crop":"bc","blend-size":"bs","blend-x":"bx","blend-y":"by",border:"border",padding:"pad","face-index":"faceindex","face-padding":"facepad",faces:"faces","chroma-subsampling":"chromasub","color-quantization":"colorquant",download:"dl",DPI:"dpi",format:"fm","lossless-compression":"lossless",quality:"q","mask-image":"mask","noise-blur":"nr","noise-sharpen":"nrs","flip-direction":"flip",orientation:"or","rotation-angle":"rot","crop-mode":"crop","fit-mode":"fit","image-height":"h","image-width":"w",blurring:"blur",halftone:"htn",monotone:"mono",pixelate:"px","sepia-tone":"sepia",height:"h",width:"w"});function e2(e,t,n){if(!e)return"";var r=e3(t),o=e4(e),i=o.client,a=o.pathComponents;return i.buildURL(a.join("/"),r,n)}function e3(e){for(var t=Object.keys(e),n=t.length,r={},o=0;o<n;o++){var i=t[o];e1[i]?r[e1[i]]=e[i]:r[i]=e[i]}return r}function e4(e){var t=eG(e.split("://"),2),n=t[0],r=eW(t[1].split("/")),o=r[0],i=r.slice(1);return{client:new eH({domain:o,useHTTPS:"https"==n,includeLibraryParam:!1}),pathComponents:i}}function e5(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.disableLibraryParam,o=eG(eq(e),2),i=o[0],a=o[1];return e2(i,eV({},a,t,r?{}:{ixlib:"react-".concat(e0)}))}Object.freeze({auto:"format"});var e6=e2;function e8(e){return(e8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e7(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function e9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,tc(r.key),r)}}function te(e,t,n){return t&&e9(e.prototype,t),n&&e9(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function tt(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tn(e,t)}function tn(e,t){return(tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tr(e){var t=ta();return function(){var n,r=ts(e);return n=t?Reflect.construct(r,arguments,ts(this).constructor):r.apply(this,arguments),to(this,n)}}function to(e,t){if(t&&("object"===e8(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return ti(e)}function ti(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ta(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ts(e){return(ts=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tl(e,t,n){return(t=tc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e){var t=tu(e,"string");return"symbol"===e8(t)?t:String(t)}function tu(e,t){if("object"!==e8(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==e8(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var td=function(e){var t=function(t){tt(r,t);var n=tr(r);function r(){var e;e7(this,r);for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return tl(ti(e=n.call.apply(n,[this].concat(o))),"shouldComponentUpdate",function(t){var n=e.props;s()(t.onMounted==e.props.onMounted,"props.onMounted() is changing between renders. This is probably not intended. Ensure that a class method is being passed to Imgix rather than a function that is created every render. If this is intended, ignore this warning.");var r=function(e,t,n){return"children"===n?c()(e,t):"imgixParams"===n?c()(e,t,function(e,t){if(Array.isArray(e))return c()(e,t)}):"htmlAttributes"===n||"attributeConfig"===n?c()(e,t):void 0};return!c()(n,t,r)}),e}return te(r,[{key:"render",value:function(){return i.createElement(e,this.props)}}]),r}(i.Component);return t.displayName="ShouldComponentUpdateHOC(".concat(e.displayName,")"),t},tf=(0,i.createContext)();function tp(){return(0,i.useContext)(tf)}function th(e){for(var t=[],n=Object.keys(e),r=0;r<n.length;r++)t.push([n[r],e[n[r]]]);return t}function tm(e){return(tm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tg(e,t){return tS(e)||tw(e,t)||ty(e,t)||tv()}function tv(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ty(e,t){if(e){if("string"==typeof e)return tb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tb(e,t)}}function tb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tw(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function tS(e){if(Array.isArray(e))return e}function tx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tx(Object(n),!0).forEach(function(t){tC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tC(e,t,n){return(t=t_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t_(e){var t=tk(e,"string");return"symbol"===tm(t)?t:String(t)}function tk(e,t){if("object"!==tm(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==tm(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var tO=function e(t,n){if(null==t&&null!==n)return n;if(null!==t&&null==n)return t;if(null==t&&null==n)return{};for(var r=tE({},n),o=Object.keys(r),i=0,a=th(t);i<a.length;i++){var s=tg(a[i],2),l=s[0],c=s[1];-1==o.indexOf(l)&&null!==c&&(r[l]=c),("imgixParams"===l||"htmlAttributes"===l)&&null!==c&&(r[l]=e(t[l],r[l]))}return r},tA=function(e){return function(t){var n=tp();if(null==n)return i.createElement(e,t);var r=tO(n,t);return i.createElement(e,r)}},tI=Object.freeze({brightness:"bri",contrast:"con",exposure:"exp",gamma:"gam",highlights:"high",hue:"hue",invert:"invert",saturation:"sat",shaddows:"shad",shadows:"shad",sharpness:"sharp","unsharp-mask":"usm","unsharp-radius":"usmrad",vibrance:"vib","auto-features":"auto","background-color":"bg",blend:"blend","blend-mode":"bm","blend-align":"ba","blend-alpha":"balph","blend-padding":"bp","blend-width":"bw","blend-height":"bh","blend-fit":"bf","blend-crop":"bc","blend-size":"bs","blend-x":"bx","blend-y":"by",border:"border",padding:"pad","face-index":"faceindex","face-padding":"facepad",faces:"faces","chroma-subsampling":"chromasub","color-quantization":"colorquant",download:"dl",DPI:"dpi",format:"fm","lossless-compression":"lossless",quality:"q","mask-image":"mask","noise-blur":"nr","noise-sharpen":"nrs","flip-direction":"flip",orientation:"or","rotation-angle":"rot","crop-mode":"crop","fit-mode":"fit","image-height":"h","image-width":"w",blurring:"blur",halftone:"htn",monotone:"mono",pixelate:"px","sepia-tone":"sepia",height:"h",width:"w"});function tP(e){for(var t=[],n=Object.keys(e),r=0;r<n.length;r++)t.push([n[r],e[n[r]]]);return t}function tT(e,t){return tD(e)||tj(e,t)||tM(e,t)||tR()}function tR(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tM(e,t){if(e){if("string"==typeof e)return tN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tN(e,t)}}function tN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tj(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function tD(e){if(Array.isArray(e))return e}function tL(){return(tL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function tB(e,t){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return -1!==e.indexOf("://")?e:null==t?e:(n?"https://":"http://")+(t?t.replace(/^\/|\/$/g,""):"")+"/"+e.replace(/^\/|\/$/g,"")}var tZ=function(e){var t=!e.width||e.width<=1?void 0:e.width,n=!e.height||e.height<=1?void 0:e.height,r=e.src?tB(e.src,e.domain,e.useHttps):void 0;return tL({},e,{width:t,height:n,src:r})},tF=function(e){if(null==e)return e;for(var t={},n=0,r=tP(e);n<r.length;n++){var o=tT(r[n],2),i=o[0],a=o[1];tI[i]?t[tI[i]]=a:t[i]=a}return t},tz=function(e){return function(t){var n=tZ(t),r=tF(n.imgixParams);return i.createElement(e,tL({},n,{imgixParams:r}))}};function tU(e){return(tU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var tH=["width","w","height","h","q"],tq=["width","w","height","h"];function tV(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function tW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,t2(r.key),r)}}function t$(e,t,n){return t&&tW(e.prototype,t),n&&tW(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function tG(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tK(e,t)}function tK(e,t){return(tK=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tY(e){var t=tJ();return function(){var n,r=t0(e);return n=t?Reflect.construct(r,arguments,t0(this).constructor):r.apply(this,arguments),tX(this,n)}}function tX(e,t){if(t&&("object"===tU(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return tQ(e)}function tQ(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tJ(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t0(e){return(t0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function t1(e,t,n){return(t=t2(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t2(e){var t=t3(e,"string");return"symbol"===tU(t)?t:String(t)}function t3(e,t){if("object"!==tU(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==tU(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function t4(e,t){if(null==e)return{};var n,r,o=t5(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function t5(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function t6(e,t){return nt(e)||ne(e,t)||t7(e,t)||t8()}function t8(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function t7(e,t){if(e){if("string"==typeof e)return t9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t9(e,t)}}function t9(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ne(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function nt(e){if(Array.isArray(e))return e}function nn(){return(nn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var nr="production",no=function(e){return"react-imgix-".concat(e)},ni={auto:["format"]},na={src:"src",srcSet:"srcSet",sizes:"sizes"},ns=function(){},nl={className:o().string,onMounted:o().func,htmlAttributes:o().object,alt:o().string},nc=nn({},nl,{disableQualityByDPR:o().bool,disableSrcSet:o().bool,disableLibraryParam:o().bool,disablePathEncoding:o().bool,imgixParams:o().object,sizes:o().string,width:o().number,height:o().number,src:o().string.isRequired,srcSetOptions:o().shape({widths:o().arrayOf(o().number),widthTolerance:o().number,minWidth:o().number,maxWidth:o().number,devicePixelRatios:o().arrayOf(o().number)})}),nu=nn({},nc,{alt:o().string});function nd(e){return"string"==typeof e&&/^\d+(\.\d+)?:\d+(\.\d+)?$/.test(e)}var nf=function(e,t){e&&("function"==typeof e?e(t):e.current=t)};function np(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e4(e),o=r.client,i=r.pathComponents,a=e3(t);return o.buildSrcSet(i.join("/"),a,n)}function nh(e){var t,n=e.src,r=e.width,o=e.height,i=e.disableLibraryParam,a=e.disableSrcSet,s=e.disablePathEncoding,l=e.imgixParams,c=e.disableQualityByDPR,u=e.srcSetOptions,d=null!=r||null!=o,h=t6(eq(n),2),m=h[0],g=h[1],v=nn({},g,l,i?{}:{ixlib:"react-".concat(p)},d&&o?{height:o}:{},d&&r?{width:r}:{}),y=e6(m,v,{disablePathEncoding:s});if(a)t=y;else{var b=nn({},u,{disablePathEncoding:s});if(d){var w=v.width,S=v.w,x=v.height,E=v.h,C=v.q,_=t4(v,tH);C&&(_.q=C);var k=w||S,O=x||E;k&&(_.w=k),O&&(_.h=O),t=np(m,_,nn({disableVariableQuality:c},b))}else{v.width,v.w,v.height,v.h;var A=t4(v,tq),I=l.ar,P=null!=I&&!1===nd(I);t=np(m,A,b),"production"!==nr&&P&&f.warnings.invalidARFormat&&console.warn('[Imgix] The aspect ratio passed ("'.concat(I,'") is not in the correct format. The correct format is "W:H".'))}}return{src:y,srcSet:t}}function nm(e){var t=nn({},ni,e.imgixParams);return nn({},t)}var ng=function(e){tG(n,e);var t=tY(n);function n(e){var r;return tV(this,n),(r=t.call(this,e)).imgRef=null,r}return t$(n,[{key:"componentDidMount",value:function(){this.props.onMounted(this.imgRef)}},{key:"render",value:function(){var e,t,n,r=this,o=this.props,a=o.disableSrcSet,s=o.width,l=o.height;"production"!==nr&&f.warnings.sizesAttribute&&null==this.props.width&&null==this.props.height&&null==this.props.sizes&&!this.props._inPicture&&console.warn("If width and height are not set, a sizes attribute should be passed.");var c=nh(nn({},this.props,{type:"img",imgixParams:nm(this.props)})),u=c.src,d=c.srcSet,p=nn({},na,this.props.attributeConfig),h=nn({},this.props.htmlAttributes,(t1(n={},p.sizes,this.props.sizes),t1(n,"className",this.props.className),t1(n,"width",s<=1?null:null!=s?s:null===(e=this.props.htmlAttributes)||void 0===e?void 0:e.width),t1(n,"height",l<=1?null:null!=l?l:null===(t=this.props.htmlAttributes)||void 0===t?void 0:t.height),t1(n,p.src,u),t1(n,"ref",function(e){r.imgRef=e,void 0!==r.props.htmlAttributes&&"ref"in r.props.htmlAttributes&&nf(r.props.htmlAttributes.ref,r.imgRef)}),n));return a||(h[p.srcSet]=d),this.props.alt&&(h.alt=this.props.alt),i.createElement("img",h)}}]),n}(i.Component);t1(ng,"propTypes",nn({},nu)),t1(ng,"defaultProps",{disableSrcSet:!1,onMounted:ns}),ng.displayName="ReactImgix";var nv=function(e){tG(n,e);var t=tY(n);function n(e){var r;return tV(this,n),(r=t.call(this,e)).pictureRef=null,r}return t$(n,[{key:"componentDidMount",value:function(){this.props.onMounted(this.pictureRef)}},{key:"render",value:function(){var e=this,t=this.props.children,n=i.Children.map(t,function(e,t){var n,r=(null===(n=e.type)||void 0===n?void 0:n.name)==="mergeComponentPropsHOFInner";return i.cloneElement(e,nn({key:no(t)},r&&{_inPicture:!0}))})||[],r=n.findIndex(function(e){return"img"===e.type||e.type===ng||e.type===nb});return -1===r&&f.warnings.fallbackImage?console.warn("No fallback <img /> or <Imgix /> found in the children of a <picture> component. A fallback image should be passed to ensure the image renders correctly at all dimensions."):r!==n.length-1&&n.push(n.splice(r,1)[0]),i.createElement("picture",{ref:function(t){return e.pictureRef=t},children:n})}}]),n}(i.Component);t1(nv,"propTypes",nn({},nl,{children:o().any})),t1(nv,"defaultProps",{onMounted:ns}),nv.displayName="ReactImgixPicture";var ny=function(e){tG(n,e);var t=tY(n);function n(e){var r;return tV(this,n),(r=t.call(this,e)).sourceRef=null,r}return t$(n,[{key:"componentDidMount",value:function(){this.props.onMounted(this.sourceRef)}},{key:"render",value:function(){var e,t,n,r=this,o=this.props,a=o.disableSrcSet,s=o.width,l=o.height,c=nh(nn({},this.props,{type:"source",imgixParams:nm(this.props)})),u=c.src,d=c.srcSet,f=nn({},na,this.props.attributeConfig),p=nn({},this.props.htmlAttributes,(t1(n={},f.sizes,this.props.sizes),t1(n,"className",this.props.className),t1(n,"width",s<=1?null:null!=s?s:null===(e=this.props.htmlAttributes)||void 0===e?void 0:e.width),t1(n,"height",l<=1?null:null!=l?l:null===(t=this.props.htmlAttributes)||void 0===t?void 0:t.height),t1(n,"ref",function(e){r.sourceRef=e,void 0!==r.props.htmlAttributes&&"ref"in r.props.htmlAttributes&&nf(r.props.htmlAttributes.ref,r.sourceRef)}),n));return a?p[f.srcSet]=u:p[f.srcSet]="".concat(d),i.createElement("source",p)}}]),n}(i.Component);t1(ny,"propTypes",nn({},nc)),t1(ny,"defaultProps",{disableSrcSet:!1,onMounted:ns}),ny.displayName="ReactImgixSource";var nb=tA(tz(td(ng)));tA(tz(td(nv))),tA(tz(td(ny)));var nw=nb;function nS(){return(nS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function nx(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function nE(e,t){return(nE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function nC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,nE(e,t)}var n_=n(20759),nk=["client","offset","scroll","bounds","margin"];function nO(e){var t=[];return nk.forEach(function(n){e[n]&&t.push(n)}),t}function nA(e,t){var n={};if(t.indexOf("client")>-1&&(n.client={top:e.clientTop,left:e.clientLeft,width:e.clientWidth,height:e.clientHeight}),t.indexOf("offset")>-1&&(n.offset={top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}),t.indexOf("scroll")>-1&&(n.scroll={top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}),t.indexOf("bounds")>-1){var r=e.getBoundingClientRect();n.bounds={top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:r.width,height:r.height}}if(t.indexOf("margin")>-1){var o=getComputedStyle(e);n.margin={top:o?parseInt(o.marginTop):0,right:o?parseInt(o.marginRight):0,bottom:o?parseInt(o.marginBottom):0,left:o?parseInt(o.marginLeft):0}}return n}function nI(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||window}function nP(e){return function(t){var n,r;return r=n=function(n){function r(){for(var t,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n.call.apply(n,[this].concat(o))||this).state={contentRect:{entry:{},client:{},offset:{},scroll:{},bounds:{},margin:{}}},t._animationFrameID=null,t._resizeObserver=null,t._node=null,t._window=null,t.measure=function(n){var r=nA(t._node,e||nO(t.props));n&&(r.entry=n[0].contentRect),t._animationFrameID=t._window.requestAnimationFrame(function(){null!==t._resizeObserver&&(t.setState({contentRect:r}),"function"==typeof t.props.onResize&&t.props.onResize(r))})},t._handleRef=function(e){null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.unobserve(t._node),t._node=e,t._window=nI(t._node);var n=t.props.innerRef;n&&("function"==typeof n?n(t._node):n.current=t._node),null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.observe(t._node)},t}nC(r,n);var o=r.prototype;return o.componentDidMount=function(){this._resizeObserver=null!==this._window&&this._window.ResizeObserver?new this._window.ResizeObserver(this.measure):new n_.Z(this.measure),null!==this._node&&(this._resizeObserver.observe(this._node),"function"==typeof this.props.onResize&&this.props.onResize(nA(this._node,e||nO(this.props))))},o.componentWillUnmount=function(){null!==this._window&&this._window.cancelAnimationFrame(this._animationFrameID),null!==this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)},o.render=function(){var e=this.props,n=(e.innerRef,e.onResize,nx(e,["innerRef","onResize"]));return(0,i.createElement)(t,nS({},n,{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))},r}(i.Component),n.propTypes={client:o().bool,offset:o().bool,scroll:o().bool,bounds:o().bool,margin:o().bool,innerRef:o().oneOfType([o().object,o().func]),onResize:o().func},r}}var nT=nP()(function(e){var t=e.measure,n=e.measureRef,r=e.contentRect;return(0,e.children)({measure:t,measureRef:n,contentRect:r})});function nR(e,t){if(e<t[0])return t[0];if(e>t[t.length-1])return t[t.length-1];for(var n,r=0,o=t.length-1;o-r>1;)t[n=Math.floor((r+o)/2)]<e?r=n:o=n;return e-t[r]<t[o]-e?t[r]:t[o]}nT.displayName="Measure",nT.propTypes.children=o().func;var nM=eH.targetWidths();function nN(e){return(nN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nj(e,t){return nF(e)||nZ(e,t)||nL(e,t)||nD()}function nD(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nL(e,t){if(e){if("string"==typeof e)return nB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nB(e,t)}}function nB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nZ(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function nF(e){if(Array.isArray(e))return e}function nz(){return(nz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function nU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nH(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nU(Object(n),!0).forEach(function(t){nq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nq(e,t,n){return(t=nG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nV(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function nW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nG(r.key),r)}}function n$(e,t,n){return t&&nW(e.prototype,t),n&&nW(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function nG(e){var t=nK(e,"string");return"symbol"===nN(t)?t:String(t)}function nK(e,t){if("object"!==nN(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==nN(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function nY(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nX(e,t)}function nX(e,t){return(nX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function nQ(e){var t=n1();return function(){var n,r=n2(e);return n=t?Reflect.construct(r,arguments,n2(this).constructor):r.apply(this,arguments),nJ(this,n)}}function nJ(e,t){if(t&&("object"===nN(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return n0(e)}function n0(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n1(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n2(e){return(n2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var n3=function(e){return nR(e,nM)},n4=function(e,t){return+t.toFixed(e)},n5=function(e,t){var n=e.contentRect.bounds,r=n.width,o=n.height,i=t.contentRect.bounds,a=i.width,s=i.height;if(!a||!s||!r||!o||r&&a&&a>r||o&&s&&s>o)return!0;var l=function(e,t,n){return"contentRect"===n||"measure"===n||"measureRef"===n||("children"===n?e==t:"imgixParams"===n?c()(e,t,function(e,t){if(Array.isArray(e))return c()(e,t)}):"htmlAttributes"===n?c()(e,t):void 0)};return!c()(e,t,l)},n6=function(e){nY(r,e);var t=nQ(r);function r(e){return nV(this,r),t.call(this,e)}return n$(r,[{key:"shouldComponentUpdate",value:function(e){return n5(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.measureRef,r=e.contentRect,o=e.imgixParams,a=void 0===o?{}:o,s=(e.onLoad,e.disableLibraryParam),l=e.disablePathEncoding,c=e.src,u=e.children,d=e.className,f=void 0===d?"":d,h=a.w,m=a.h,g=null!=r.bounds.width&&null!=r.bounds.height,v=this.props.htmlAttributes||{},y=n4(2,a.dpr||n.g.devicePixelRatio||1),b=v.ref,w=function(e){t(e),"function"==typeof b&&b(e)},S=function(){if(null!=h&&null!=m)return{width:h,height:m};if(!g)return{width:void 0,height:void 0};var e=r.bounds.width/r.bounds.height;if(null==h&&null==m){var t=n3(r.bounds.width),n=Math.ceil(t/e);return{width:t,height:n}}if(null!=h){var o=Math.ceil(h/e);return{width:h,height:o}}if(null!=m)return{width:Math.ceil(m*e),height:m}}(),x=S.width,E=S.height,C=null!=x&&null!=E,_=nH({},v);if(!C)return i.createElement("div",nz({},_,{className:"react-imgix-bg-loading ".concat(f),ref:w}),u);var k=function(){var e=nj(eq(c),2);return e6(e[0],nH(nH(nH(nH({},e[1]),{},{fit:"crop"},a),s?{}:{ixlib:"react-".concat(p)}),{},{width:x,height:E,dpr:y}),{disablePathEncoding:l})}(),O=nH(nH({},v.style),{},{backgroundImage:"url(".concat(k,")"),backgroundSize:void 0!==(v.style||{}).backgroundSize?v.style.backgroundSize:"cover"});return i.createElement("div",nz({},_,{className:f,ref:w,style:O}),u)}}]),r}(i.Component);nP("bounds")(n6);var n8=nw},4507:function(e,t){"use strict";/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return S(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||S(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return S(e)===c},t.isContextProvider=function(e){return S(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===i},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===m},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=S},99415:function(e,t,n){"use strict";e.exports=n(4507)},80208:function(e,t){"use strict";/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n,r,o=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case a:case l:case s:case p:case h:return e;default:switch(e=e&&e.$$typeof){case d:case u:case f:case g:case m:case c:return e;default:return t}}case i:return t}}}r=Symbol.for("react.module.reference"),n=u,n=c,n=o,t.ForwardRef=f,n=a,n=g,n=m,n=i,n=l,n=s,n=p,n=h,n=function(){return!1},n=function(){return!1},n=function(e){return y(e)===u},n=function(e){return y(e)===c},n=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},n=function(e){return y(e)===f},t.isFragment=function(e){return y(e)===a},n=function(e){return y(e)===g},t.isMemo=function(e){return y(e)===m},n=function(e){return y(e)===i},n=function(e){return y(e)===l},n=function(e){return y(e)===s},n=function(e){return y(e)===p},n=function(e){return y(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===l||e===s||e===p||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===u||e.$$typeof===f||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=y},39999:function(e,t,n){"use strict";e.exports=n(80208)},18018:function(e,t,n){"use strict";var r;r={value:!0},t.b=void 0;let o=n(31549),i=n(44194),a="undefined"==typeof window,s=!a&&(()=>{try{return"ontouchstart"in window||navigator.maxTouchPoints}catch(e){return!1}})(),l=!a&&(()=>{try{return window.CSS.supports("overflow-anchor: auto")}catch(e){return!1}})(),c=s&&!l,u={top:"top",bottom:"bottom",clientHeight:"clientHeight",scrollHeight:"scrollHeight",scrollTop:"scrollTop",overflowY:"overflowY",height:"height",minHeight:"minHeight",maxHeight:"maxHeight",marginTop:"marginTop"},d={top:"left",bottom:"right",scrollHeight:"scrollWidth",clientHeight:"clientWidth",scrollTop:"scrollLeft",overflowY:"overflowX",minHeight:"minWidth",height:"width",maxHeight:"maxWidth",marginTop:"marginLeft"},f=(e,t,n=1/0)=>Math.max(Math.min(t,n),e),p=(e,t,n)=>Math.ceil(Math.abs(e-t)/n),h=a?i.useEffect:i.useLayoutEffect,m=(e,t,n)=>{let r=[];for(let o=e;o<t;o++)r.push(n(o));return r},g=({fromElement:e,toElement:t,fromIndex:n,asc:r=!0,compare:o})=>{let i=n,a=e;for(;a&&a!==t;){if(o(a,i))return[a,i];r?(i++,a=a.nextSibling):(i--,a=a.previousSibling)}return[null,-1]},v=/auto|scroll/gi,y=(e,t)=>{if(!t||t===document.body||t===document.documentElement)return document.documentElement;let n=window.getComputedStyle(t);return v.test(n[e.overflowY])||v.test(n.overflow)?t:y(e,t.parentNode)},b=(e,t,n=0)=>({padding:0,margin:0,border:"none",visibility:"hidden",overflowAnchor:"none",[e.minHeight]:t,[e.height]:t,[e.maxHeight]:t,[e.marginTop]:n}),w=({items:e=[],count:t,children:n,viewportRef:r,itemSize:a=0,itemMargin:v=-1,overscan:w=1,axis:S="y",initialIndex:x=-1,initialAlignToTop:E=!0,initialOffset:C=0,initialDelay:_=-1,initialPrerender:k=0,onViewportIndexesChange:O,overflowAnchor:A="auto",withCache:I=!0,scrollThreshold:P=0,renderSpacer:T=({ref:e,style:t})=>(0,o.jsx)("div",{ref:e,style:t},void 0),indexesShift:R=0,getItemBoundingClientRect:M=e=>e.getBoundingClientRect()},N)=>{let j;let D="y"===S?u:d,L="number"==typeof t,B=(L?t:e.length)-1,[[Z,F],z]=(0,i.useState)(()=>[f(0,a),f(-1,v)]),U=f(0,Z+F),H=f(0,Math.ceil(w*U)),[q,V]=(0,i.useState)([x-k,x+k]),W=(0,i.useRef)(null),$=(0,i.useRef)(-1),G=(0,i.useRef)(null),K=(0,i.useRef)(null),Y=(0,i.useRef)(!1),X=(0,i.useRef)(R),Q=(0,i.useRef)([]),J=(0,i.useRef)(x>=0?{index:x,alignToTop:E,offset:C,delay:_,prerender:k}:null),ee=(0,i.useRef)(null),et=(0,i.useRef)(0),en=(0,i.useRef)([-1,-1]),er=(0,i.useRef)(null),[eo,ei]=(0,i.useMemo)(()=>{q[0]=f(0,q[0],B),q[1]=f(q[0],q[1],B);let e=R-X.current;X.current=R;let t=G.current;return t&&e&&(q[0]=f(0,q[0]+e,B),q[1]=f(q[0],q[1]+e,B),W.current=t.nextSibling,$.current=q[0],Y.current=!0),q},[R,q,B]),ea=(0,i.useMemo)(()=>b(D,(I?Q.current:[]).slice(0,eo).reduce((e,t)=>e+(t-Z),eo*U),et.current),[D,I,eo,U,Z]),es=(0,i.useMemo)(()=>b(D,(I?Q.current:[]).slice(ei+1,B+1).reduce((e,t)=>e+(t-Z),U*(B-ei))),[D,I,ei,B,U,Z]),el=(0,i.useMemo)(()=>{let e=null;return()=>{if(r)return r.current===document.body?document.documentElement:r.current;if(e&&e.isConnected)return e;let t=G.current;return t?e=y(D,t.parentNode):null}},[D,r]),ec=(0,i.useRef)(()=>{}),eu=(0,i.useRef)(()=>({index:-1,offset:0}));return h(()=>{ec.current=()=>{let e=el(),t=G.current,n=K.current;if(!e||!t||!n)return;let r=t.nextSibling,o=n.previousSibling,i=e.getBoundingClientRect(),a=t.getBoundingClientRect(),s=n.getBoundingClientRect(),l={[D.top]:e===document.documentElement?0:i[D.top],[D.bottom]:e===document.documentElement?document.documentElement[D.clientHeight]:i[D.bottom]},u={[D.top]:l[D.top]-H,[D.bottom]:l[D.bottom]+H};if(et.current<0&&a[D.top]-et.current>=u[D.top]||et.current>0&&a[D.top]>=u[D.top]||et.current&&J.current){t.style[D.marginTop]="0px",e.style[D.overflowY]="hidden",e[D.scrollTop]+=-et.current,e.style[D.overflowY]="",et.current=0;return}if(0===Z||-1===F){let e=0;if(g({fromElement:r,toElement:n,fromIndex:eo,compare:t=>(e+=M(t)[D.height],!1)}),!e)return;let t=ei-eo+1;z([0===Z?Math.ceil(e/t):Z,-1===F?Math.ceil((s[D.top]-a[D.bottom]-e)/t):F]);return}if(ee.current)return;if(J.current){let t=f(0,J.current.index,B);if(t<eo||t>ei){V([t-J.current.prerender,t+J.current.prerender]);return}let[o]=g({fromElement:r,toElement:n,fromIndex:eo,compare:(e,n)=>n===t});if(!o)return;let{alignToTop:i,offset:a,delay:s}=J.current;J.current=null;let u=()=>{let t=M(o),n=i?t[D.top]-l[D.top]+a:t[D.bottom]-l[D.top]-e[D.clientHeight]+a;e[D.scrollTop]+=n,ee.current=null},d=s<0&&c?30:s;if(d>0){ee.current=setTimeout(u,d);return}u();return}if(null===er.current)er.current=e.scrollTop;else if(er.current!==e.scrollTop){let t=Math.abs(e.scrollTop-er.current);if(er.current=e.scrollTop,P>0&&t>P)return}let d=r===n?n:r.nextSibling,h=o===t?t:o.previousSibling,m=Math.ceil((s[D.top]-a[D.bottom])/(ei+1-eo)),v=a[D.bottom]>u[D.bottom],y=s[D.top]<u[D.top],b=!v&&!y&&a[D.bottom]>u[D.top],w=!v&&!y&&s[D.top]<u[D.bottom],S=!v&&!y&&(h===t?a:M(h))[D.bottom]>u[D.bottom],x=!v&&!y&&(d===n?s:M(d))[D.top]<u[D.top],E=eo,C=ei;if(v&&(E-=p(a[D.bottom],u[D.top],m),C-=p(s[D.top],u[D.bottom],m)),y&&(C+=p(s[D.top],u[D.bottom],m),E+=p(a[D.bottom],u[D.top],m)),b&&(E-=p(a[D.bottom],u[D.top],m)),w&&(C+=p(s[D.top],u[D.bottom],m)),S){let[,e]=g({fromElement:o,toElement:t,fromIndex:ei,asc:!1,compare:e=>M(e)[D.bottom]<=u[D.bottom]});-1!==e&&(C=e+1)}if(x){let[,e]=g({fromElement:r,toElement:n,fromIndex:eo,compare:e=>M(e)[D.top]>=u[D.top]});-1!==e&&(E=e-1)}if(O){let[,e]=g({fromElement:r,toElement:n,fromIndex:eo,compare:e=>M(e)[D.bottom]>l[D.top]});-1===e&&(e=eo);let[,i]=g({fromElement:o,toElement:t,fromIndex:ei,asc:!1,compare:e=>M(e)[D.top]<l[D.bottom]});-1===i&&(i=ei),(e!==en.current[0]||i!==en.current[1])&&(en.current=[e,i],O(en.current))}if(E=f(0,E,B),C=f(E,C,B),E!==eo||C!==ei){if(E!==eo){if(eo>=E)W.current=r,$.current=eo;else{let[e,t]=g({fromElement:r,toElement:n,fromIndex:eo,compare:(e,t)=>{if(t===E)return!0;let n=M(e);return n[D.height]!==Z&&(Q.current[t]=n[D.height]),!1}});e?(W.current=e,$.current=t):(W.current=o,$.current=ei)}}V([E,C])}},eu.current=()=>{let e=el(),t=G.current,n=K.current,r=-1,o=0;if(!e||!t||!n)return{index:r,offset:o};let i=t.nextSibling,a=e.getBoundingClientRect(),s={[D.top]:e===document.documentElement?0:a[D.top],[D.bottom]:e===document.documentElement?document.documentElement[D.clientHeight]:a[D.bottom]};return g({fromElement:i,toElement:n,fromIndex:eo,compare:(e,t)=>{let n=M(e);return r=t,o=s[D.top]-n[D.top],n[D.bottom]>s[D.top]}}),{index:r,offset:o}}}),W.current&&el()&&G.current&&(j=M(W.current)[D.top]-(el()===document.documentElement?0:el().getBoundingClientRect()[D.top])),h(()=>{W.current=null;let e=$.current,t=Y.current;$.current=-1,Y.current=!1;let n=el(),r=G.current,o=K.current;if(-1===e||!n||!r||!o||void 0===j||l&&"none"!==A&&!t)return;let i=null;if(e>=eo&&e<=ei){let[t]=g({fromElement:r.nextSibling,toElement:o,fromIndex:eo,compare:(t,n)=>n===e});t&&(i=M(t)[D.top])}else e<eo?i=r.getBoundingClientRect()[D.top]+(I?Q.current:[]).slice(0,e).reduce((e,t)=>e+(t-Z),e*U):e<=B&&(i=o.getBoundingClientRect()[D.top]+(I?Q.current:[]).slice(ei+1,e).reduce((e,t)=>e+(t-Z),U*(e-1-ei)));if(null===i)return;let a=i-(n===document.documentElement?0:n.getBoundingClientRect()[D.top])-j;if(a){if(s){et.current-=a,r.style[D.marginTop]=`${et.current}px`;return}n[D.scrollTop]+=a}},[eo]),h(()=>{let e;let t=()=>{e=requestAnimationFrame(t),ec.current()};return t(),()=>{cancelAnimationFrame(e),ee.current&&clearTimeout(ee.current)}},[]),(0,i.useImperativeHandle)(N,()=>({scrollToIndex:({index:e=-1,alignToTop:t=!0,offset:n=0,delay:r=-1,prerender:o=0})=>{J.current={index:e,alignToTop:t,offset:n,delay:r,prerender:o},ec.current()},getScrollPosition:()=>eu.current()}),[]),(0,o.jsxs)(i.Fragment,{children:[T({ref:G,style:ea,type:"top"}),(!!t||!!e.length)&&m(eo,ei+1,L?n:t=>n(e[t],t,e)),T({ref:K,style:es,type:"bottom"})]},void 0)};t.b=(0,i.forwardRef)(w)},83690:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return y}});var o=n(44194),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},a={};"undefined"!=typeof window?r=window:"undefined"!=typeof self?r=self:r=i;let s=null,l=null,c=20,u=r.clearTimeout,d=r.setTimeout,f=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame,p=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame;function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){var t=g(e,"string");return"symbol"==typeof t?t:String(t)}function g(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}null==f||null==p?(s=u,l=function(e){return d(e,c)}):(s=function([e,t]){f(e),u(t)},l=function(e){let t=p(function(){u(n),e()}),n=d(function(){f(t),e()},c);return[t,n]}),a={createDetectElementResize:function(e){let t,n,o,i,a,c,u;let d="undefined"!=typeof document&&document.attachEvent;if(!d){c=function(e){let t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},u=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&0>e.target.className.indexOf("contract-trigger")&&0>e.target.className.indexOf("expand-trigger"))return;let t=this;c(this),this.__resizeRAF__&&s(this.__resizeRAF__),this.__resizeRAF__=l(function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(n){n.call(t,e)}))})};let e=!1,r="";o="animationstart";let d="Webkit Moz O ms".split(" "),f="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p="";{let t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e){for(let n=0;n<d.length;n++)if(void 0!==t.style[d[n]+"AnimationName"]){r="-"+(p=d[n]).toLowerCase()+"-",o=f[n],e=!0;break}}}t="@"+r+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",i=r+"animation: 1ms "+n+"; "}let f=function(n){if(!n.getElementById("detectElementResize")){let r=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o=n.head||n.getElementsByTagName("head")[0],a=n.createElement("style");a.id="detectElementResize",a.type="text/css",null!=e&&a.setAttribute("nonce",e),a.styleSheet?a.styleSheet.cssText=r:a.appendChild(n.createTextNode(r)),o.appendChild(a)}};return{addResizeListener:function(e,t){if(d)e.attachEvent("onresize",t);else{if(!e.__resizeTriggers__){let t=e.ownerDocument,i=r.getComputedStyle(e);i&&"static"===i.position&&(e.style.position="relative"),f(t),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=t.createElement("div")).className="resize-triggers";let a=t.createElement("div");a.className="expand-trigger",a.appendChild(t.createElement("div"));let s=t.createElement("div");s.className="contract-trigger",e.__resizeTriggers__.appendChild(a),e.__resizeTriggers__.appendChild(s),e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",u,!0),o&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName===n&&c(e)},e.__resizeTriggers__.addEventListener(o,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(t)}},removeResizeListener:function(e,t){if(d)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",u,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(o,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}};class v extends o.Component{constructor(...e){super(...e),h(this,"state",{height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0}),h(this,"_autoSizer",null),h(this,"_detectElementResize",null),h(this,"_parentNode",null),h(this,"_resizeObserver",null),h(this,"_onResize",()=>{let{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){var r,o,i,a;let s=window.getComputedStyle(this._parentNode)||{},l=parseInt(null!==(r=s.paddingLeft)&&void 0!==r?r:"0",10),c=parseInt(null!==(o=s.paddingRight)&&void 0!==o?o:"0",10),u=parseInt(null!==(i=s.paddingTop)&&void 0!==i?i:"0",10),d=parseInt(null!==(a=s.paddingBottom)&&void 0!==a?a:"0",10),f=this._parentNode.getBoundingClientRect(),p=f.height-u-d,h=f.width-l-c,m=this._parentNode.offsetHeight-u-d,g=this._parentNode.offsetWidth-l-c;(e||this.state.height===m&&this.state.scaledHeight===p)&&(t||this.state.width===g&&this.state.scaledWidth===h)||(this.setState({height:m,width:g,scaledHeight:p,scaledWidth:h}),"function"==typeof n&&n({height:m,scaledHeight:p,scaledWidth:h,width:g}))}}),h(this,"_setRef",e=>{this._autoSizer=e})}componentDidMount(){let{nonce:e}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,null!=this._parentNode&&("undefined"!=typeof ResizeObserver?(this._resizeObserver=new ResizeObserver(()=>{setTimeout(this._onResize,0)}),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=(0,a.createDetectElementResize)(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){let{children:e,defaultHeight:t,defaultWidth:n,disableHeight:r,disableWidth:i,nonce:a,onResize:s,style:l,tagName:c="div",...u}=this.props,{height:d,scaledHeight:f,scaledWidth:p,width:h}=this.state,m={overflow:"visible"},g={},v=!1;return r||(0===d&&(v=!0),m.height=0,g.height=d,g.scaledHeight=f),i||(0===h&&(v=!0),m.width=0,g.width=h,g.scaledWidth=p),(0,o.createElement)(c,{ref:this._setRef,style:{...m,...l},...u},!v&&e(g))}}h(v,"defaultProps",{onResize:()=>{},disableHeight:!1,disableWidth:!1,style:{}});var y=v},2972:function(e){"use strict";function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var n={};function r(e,r,o){function i(e,t,n){return"string"==typeof r?r:r(e,t,n)}o||(o=Error);var a=function(e){function n(t,n,r){return e.call(this,i(t,n,r))||this}return t(n,e),n}(o);a.prototype.name=o.name,a.prototype.code=e,n[e]=a}function o(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var n=e.length;return(e=e.map(function(e){return String(e)}),n>2)?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}function i(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function a(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function s(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,n){if("string"==typeof t&&i(t,"not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be",a(e," argument"))l="The ".concat(e," ").concat(r," ").concat(o(t,"type"));else{var r,l,c=s(e,".")?"property":"argument";l='The "'.concat(e,'" ').concat(c," ").concat(r," ").concat(o(t,"type"))}return l+". Received type ".concat(typeof n)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=n},23955:function(e,t,n){"use strict";var r=n(79895),o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var i=n(40794),a=n(33216);n(67483)(u,i);for(var s=o(a.prototype),l=0;l<s.length;l++){var c=s[l];u.prototype[c]||(u.prototype[c]=a.prototype[c])}function u(e){if(!(this instanceof u))return new u(e);i.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||r.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},70637:function(e,t,n){"use strict";e.exports=o;var r=n(93685);function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}n(67483)(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},40794:function(e,t,n){"use strict";var r,o,i,a,s,l=n(79895);e.exports=A,A.ReadableState=O,n(47324).EventEmitter;var c=function(e,t){return e.listeners(t).length},u=n(61612),d=n(41438).Buffer,f=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};function p(e){return d.from(e)}function h(e){return d.isBuffer(e)||e instanceof f}var m=n(22810);o=m&&m.debuglog?m.debuglog("stream"):function(){};var g=n(68741),v=n(48045),y=n(36782).getHighWaterMark,b=n(2972).q,w=b.ERR_INVALID_ARG_TYPE,S=b.ERR_STREAM_PUSH_AFTER_EOF,x=b.ERR_METHOD_NOT_IMPLEMENTED,E=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(67483)(A,u);var C=v.errorOrDestroy,_=["error","close","destroy","pause","resume"];function k(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function O(e,t,o){r=r||n(23955),e=e||{},"boolean"!=typeof o&&(o=t instanceof r),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=y(this,e,"readableHighWaterMark",o),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(i||(i=n(23457).StringDecoder),this.decoder=new i(e.encoding),this.encoding=e.encoding)}function A(e){if(r=r||n(23955),!(this instanceof A))return new A(e);var t=this instanceof r;this._readableState=new O(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function I(e,t,n,r,i){o("readableAddChunk",t);var a,s=e._readableState;if(null===t)s.reading=!1,j(e,s);else if(i||(a=T(s,t)),a)C(e,a);else if(s.objectMode||t&&t.length>0){if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===d.prototype||(t=p(t)),r)s.endEmitted?C(e,new E):P(e,s,t,!0);else if(s.ended)C(e,new S);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?P(e,s,t,!1):B(e,s)):P(e,s,t,!1)}}else r||(s.reading=!1,B(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function P(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&D(e)),B(e,t)}function T(e,t){var n;return h(t)||"string"==typeof t||void 0===t||e.objectMode||(n=new w("chunk",["string","Buffer","Uint8Array"],t)),n}Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),A.prototype.destroy=v.destroy,A.prototype._undestroy=v.undestroy,A.prototype._destroy=function(e,t){t(e)},A.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=d.from(e,t),t=""),n=!0),I(this,e,t,!1,n)},A.prototype.unshift=function(e){return I(this,e,null,!0,!1)},A.prototype.isPaused=function(){return!1===this._readableState.flowing},A.prototype.setEncoding=function(e){i||(i=n(23457).StringDecoder);var t=new i(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,o="";null!==r;)o+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this};var R=1073741824;function M(e){return e>=R?e=R:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function N(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=M(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function j(e,t){if(o("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?D(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,L(e)))}}function D(e){var t=e._readableState;o("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(o("emitReadable",t.flowing),t.emittedReadable=!0,l.nextTick(L,e))}function L(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,V(e)}function B(e,t){t.readingMore||(t.readingMore=!0,l.nextTick(Z,e,t))}function Z(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(o("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function F(e){return function(){var t=e._readableState;o("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&c(e,"data")&&(t.flowing=!0,V(e))}}function z(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function U(e){o("readable nexttick read 0"),e.read(0)}function H(e,t){t.resumeScheduled||(t.resumeScheduled=!0,l.nextTick(q,e,t))}function q(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),V(e),t.flowing&&!t.reading&&e.read(0)}function V(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function W(e,t){var n;return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n)}function $(e){var t=e._readableState;o("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,l.nextTick(G,t,e))}function G(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function K(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1}A.prototype.read=function(e){o("read",e),e=parseInt(e,10);var t,n=this._readableState,r=e;if(0!==e&&(n.emittedReadable=!1),0===e&&n.needReadable&&((0!==n.highWaterMark?n.length>=n.highWaterMark:n.length>0)||n.ended))return o("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?$(this):D(this),null;if(0===(e=N(e,n))&&n.ended)return 0===n.length&&$(this),null;var i=n.needReadable;return o("need readable",i),(0===n.length||n.length-e<n.highWaterMark)&&o("length less than watermark",i=!0),n.ended||n.reading?o("reading or ended",i=!1):i&&(o("do read"),n.reading=!0,n.sync=!0,0===n.length&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(e=N(r,n))),null===(t=e>0?W(e,n):null)?(n.needReadable=n.length<=n.highWaterMark,e=0):(n.length-=e,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==e&&n.ended&&$(this)),null!==t&&this.emit("data",t),t},A.prototype._read=function(e){C(this,new x("_read()"))},A.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,o("pipe count=%d opts=%j",r.pipesCount,t);var i=t&&!1===t.end||e===l.stdout||e===l.stderr?v:s;function a(e,t){o("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function s(){o("onend"),e.end()}r.endEmitted?l.nextTick(i):n.once("end",i),e.on("unpipe",a);var u=F(n);e.on("drain",u);var d=!1;function f(){o("cleanup"),e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",u),e.removeListener("error",h),e.removeListener("unpipe",a),n.removeListener("end",s),n.removeListener("end",v),n.removeListener("data",p),d=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u()}function p(t){o("ondata");var i=e.write(t);o("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==K(r.pipes,e))&&!d&&(o("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function h(t){o("onerror",t),v(),e.removeListener("error",h),0===c(e,"error")&&C(e,t)}function m(){e.removeListener("finish",g),v()}function g(){o("onfinish"),e.removeListener("close",m),v()}function v(){o("unpipe"),n.unpipe(e)}return n.on("data",p),k(e,"error",h),e.once("close",m),e.once("finish",g),e.emit("pipe",n),r.flowing||(o("pipe resume"),n.resume()),e},A.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,{hasUnpiped:!1});return this}var a=K(t.pipes,e);return -1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},A.prototype.on=function(e,t){var n=u.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"!==e||r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,o("on readable",r.length,r.reading),r.length?D(this):r.reading||l.nextTick(U,this)),n},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(e,t){var n=u.prototype.removeListener.call(this,e,t);return"readable"===e&&l.nextTick(z,this),n},A.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&l.nextTick(z,this),t},A.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,H(this,e)),e.paused=!1,this},A.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",function(){if(o("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){o("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!=i)&&(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<_.length;a++)e.on(_[a],this.emit.bind(this,_[a]));return this._read=function(t){o("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(A.prototype[Symbol.asyncIterator]=function(){return void 0===a&&(a=n(21505)),a(this)}),Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(A.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(A.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),A._fromList=W,Object.defineProperty(A.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(A.from=function(e,t){return void 0===s&&(s=n(23913)),s(A,e,t)})},93685:function(e,t,n){"use strict";e.exports=u;var r=n(2972).q,o=r.ERR_METHOD_NOT_IMPLEMENTED,i=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(23955);function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new i);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);l.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush(function(t,n){f(e,t,n)})}function f(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}n(67483)(u,l),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,n){n(new o("_transform()"))},u.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},33216:function(e,t,n){"use strict";var r,o,i=n(79895);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){q(t,e)}}e.exports=O,O.WritableState=k;var s={deprecate:n(54012)},l=n(61612),c=n(41438).Buffer,u=(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};function d(e){return c.from(e)}function f(e){return c.isBuffer(e)||e instanceof u}var p=n(48045),h=n(36782).getHighWaterMark,m=n(2972).q,g=m.ERR_INVALID_ARG_TYPE,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_MULTIPLE_CALLBACK,b=m.ERR_STREAM_CANNOT_PIPE,w=m.ERR_STREAM_DESTROYED,S=m.ERR_STREAM_NULL_VALUES,x=m.ERR_STREAM_WRITE_AFTER_END,E=m.ERR_UNKNOWN_ENCODING,C=p.errorOrDestroy;function _(){}function k(e,t,o){r=r||n(23955),e=e||{},"boolean"!=typeof o&&(o=t instanceof r),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=h(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){j(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function O(e){var t=this instanceof(r=r||n(23955));if(!t&&!o.call(O,this))return new O(e);this._writableState=new k(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function A(e,t){var n=new x;C(e,n),i.nextTick(t,n)}function I(e,t,n,r){var o;return null===n?o=new S:"string"==typeof n||t.objectMode||(o=new g("chunk",["string","Buffer"],n)),!o||(C(e,o),i.nextTick(r,o),!1)}function P(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,n)),t}function T(e,t,n,r,o,i){if(!n){var a=P(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else R(e,t,!1,s,r,o,i);return l}function R(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new w("write")):n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function M(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(U,e,t),e._writableState.errorEmitted=!0,C(e,r)):(o(r),e._writableState.errorEmitted=!0,C(e,r),U(e,t))}function N(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function j(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if("function"!=typeof o)throw new y;if(N(n),t)M(e,n,r,t,o);else{var a=Z(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||B(e,n),r?i.nextTick(D,e,n,a,o):D(e,n,a,o)}}function D(e,t,n,r){n||L(e,t),t.pendingcb--,r(),U(e,t)}function L(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function B(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=Array(t.bufferedRequestCount),o=t.corkedRequestsFree;o.entry=n;for(var i=0,s=!0;n;)r[i]=n,n.isBuf||(s=!1),n=n.next,i+=1;r.allBuffers=s,R(e,t,!0,t.length,r,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,u=n.callback,d=t.objectMode?1:l.length;if(R(e,t,!1,d,l,c,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function Z(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function F(e,t){e._final(function(n){t.pendingcb--,n&&C(e,n),t.prefinished=!0,e.emit("prefinish"),U(e,t)})}function z(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.nextTick(F,e,t)))}function U(e,t){var n=Z(t);if(n&&(z(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}function H(e,t,n){t.ending=!0,U(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function q(e,t,n){var r=e.entry;for(e.entry=null;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree.next=e}n(67483)(O,l),k.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(k.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(e){return!!o.call(this,e)||this===O&&e&&e._writableState instanceof k}})):o=function(e){return e instanceof this},O.prototype.pipe=function(){C(this,new b)},O.prototype.write=function(e,t,n){var r=this._writableState,o=!1,i=!r.objectMode&&f(e);return i&&!c.isBuffer(e)&&(e=d(e)),"function"==typeof t&&(n=t,t=null),i?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=_),r.ending?A(this,n):(i||I(this,r,e,n))&&(r.pendingcb++,o=T(this,r,i,e,t,n)),o},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||B(this,e))},O.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new E(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(e,t,n){n(new v("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||H(this,r,n),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=p.destroy,O.prototype._undestroy=p.undestroy,O.prototype._destroy=function(e,t){t(e)}},21505:function(e,t,n){"use strict";var r,o=n(79895);function i(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=s(e,"string");return"symbol"==typeof t?t:String(t)}function s(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var l=n(3825),c=Symbol("lastResolve"),u=Symbol("lastReject"),d=Symbol("error"),f=Symbol("ended"),p=Symbol("lastPromise"),h=Symbol("handlePromise"),m=Symbol("stream");function g(e,t){return{value:e,done:t}}function v(e){var t=e[c];if(null!==t){var n=e[m].read();null!==n&&(e[p]=null,e[c]=null,e[u]=null,t(g(n,!1)))}}function y(e){o.nextTick(v,e)}function b(e,t){return function(n,r){e.then(function(){if(t[f]){n(g(void 0,!0));return}t[h](n,r)},r)}}var w=Object.getPrototypeOf(function(){}),S=Object.setPrototypeOf((i(r={get stream(){return this[m]},next:function(){var e,t=this,n=this[d];if(null!==n)return Promise.reject(n);if(this[f])return Promise.resolve(g(void 0,!0));if(this[m].destroyed)return new Promise(function(e,n){o.nextTick(function(){t[d]?n(t[d]):e(g(void 0,!0))})});var r=this[p];if(r)e=new Promise(b(r,this));else{var i=this[m].read();if(null!==i)return Promise.resolve(g(i,!1));e=new Promise(this[h])}return this[p]=e,e}},Symbol.asyncIterator,function(){return this}),i(r,"return",function(){var e=this;return new Promise(function(t,n){e[m].destroy(null,function(e){if(e){n(e);return}t(g(void 0,!0))})})}),r),w),x=function(e){var t,n=Object.create(S,(i(t={},m,{value:e,writable:!0}),i(t,c,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,d,{value:null,writable:!0}),i(t,f,{value:e._readableState.endEmitted,writable:!0}),i(t,h,{value:function(e,t){var r=n[m].read();r?(n[p]=null,n[c]=null,n[u]=null,e(g(r,!1))):(n[c]=e,n[u]=t)},writable:!0}),t));return n[p]=null,l(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[u];null!==t&&(n[p]=null,n[c]=null,n[u]=null,t(e)),n[d]=e;return}var r=n[c];null!==r&&(n[p]=null,n[c]=null,n[u]=null,r(g(void 0,!0))),n[f]=!0}),e.on("readable",y.bind(null,n)),n};e.exports=x},68741:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e){var t=u(e,"string");return"symbol"==typeof t?t:String(t)}function u(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var d=n(41438).Buffer,f=n(15325).inspect,p=f&&f.custom||"inspect";function h(e,t,n){d.prototype.copy.call(e,t,n)}e.exports=function(){function e(){a(this,e),this.head=null,this.tail=null,this.length=0}return l(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return d.alloc(0);for(var t=d.allocUnsafe(e>>>0),n=this.head,r=0;n;)h(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var o=t.data,i=e>o.length?o.length:e;if(i===o.length?r+=o:r+=o.slice(0,e),0==(e-=i)){i===o.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=d.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(i));break}++r}return this.length-=r,t}},{key:p,value:function(e,t){return f(this,o(o({},t),{},{depth:0,customInspect:!1}))}}]),e}()},48045:function(e,t,n){"use strict";var r=n(79895);function o(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(l,this,e)):r.nextTick(l,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?n._writableState?n._writableState.errorEmitted?r.nextTick(a,n):(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t?(r.nextTick(a,n),t(e)):r.nextTick(a,n)})),this}function i(e,t){l(e,t),a(e)}function a(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function s(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function l(e,t){e.emit("error",t)}function c(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}e.exports={destroy:o,undestroy:s,errorOrDestroy:c}},3825:function(e,t,n){"use strict";var r=n(2972).q.ERR_STREAM_PREMATURE_CLOSE;function o(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r)}}}function i(){}function a(e){return e.setHeader&&"function"==typeof e.abort}function s(e,t,n){if("function"==typeof t)return s(e,null,t);t||(t={}),n=o(n||i);var l=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,u=function(){e.writable||f()},d=e._writableState&&e._writableState.finished,f=function(){c=!1,d=!0,l||n.call(e)},p=e._readableState&&e._readableState.endEmitted,h=function(){l=!1,p=!0,c||n.call(e)},m=function(t){n.call(e,t)},g=function(){var t;return l&&!p?(e._readableState&&e._readableState.ended||(t=new r),n.call(e,t)):c&&!d?(e._writableState&&e._writableState.ended||(t=new r),n.call(e,t)):void 0},v=function(){e.req.on("finish",f)};return a(e)?(e.on("complete",f),e.on("abort",g),e.req?v():e.on("request",v)):c&&!e._writableState&&(e.on("end",u),e.on("close",u)),e.on("end",h),e.on("finish",f),!1!==t.error&&e.on("error",m),e.on("close",g),function(){e.removeListener("complete",f),e.removeListener("abort",g),e.removeListener("request",v),e.req&&e.req.removeListener("finish",f),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",f),e.removeListener("end",h),e.removeListener("error",m),e.removeListener("close",g)}}e.exports=s},23913:function(e){e.exports=function(){throw Error("Readable.from is not available in the browser")}},3599:function(e,t,n){"use strict";function r(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var o,i=n(2972).q,a=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function l(e){if(e)throw e}function c(e){return e.setHeader&&"function"==typeof e.abort}function u(e,t,i,a){a=r(a);var l=!1;e.on("close",function(){l=!0}),void 0===o&&(o=n(3825)),o(e,{readable:t,writable:i},function(e){if(e)return a(e);l=!0,a()});var u=!1;return function(t){if(!l&&!u){if(u=!0,c(e))return e.abort();if("function"==typeof e.destroy)return e.destroy();a(t||new s("pipe"))}}}function d(e){e()}function f(e,t){return e.pipe(t)}function p(e){return e.length&&"function"==typeof e[e.length-1]?e.pop():l}function h(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=p(n);if(Array.isArray(n[0])&&(n=n[0]),n.length<2)throw new a("streams");var i=n.map(function(t,r){var a=r<n.length-1;return u(t,a,r>0,function(t){e||(e=t),t&&i.forEach(d),a||(i.forEach(d),o(e))})});return n.reduce(f)}e.exports=h},36782:function(e,t,n){"use strict";var r=n(2972).q.ERR_INVALID_OPT_VALUE;function o(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}function i(e,t,n,i){var a=o(t,i,n);if(null!=a){if(!(isFinite(a)&&Math.floor(a)===a)||a<0)throw new r(i?n:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:i}},61612:function(e,t,n){e.exports=n(47324).EventEmitter},84401:function(e,t,n){"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,n(44194))},20759:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=function(){return void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),s=2;function l(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&c()}function l(){a(i)}function c(){var e=Date.now();if(n){if(e-o<s)return;r=!0}else n=!0,r=!1,setTimeout(l,t);o=e}return c}var c=20,u=["top","right","bottom","left","width","height","size","weight"],d="undefined"!=typeof MutationObserver,f=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=l(this.refresh.bind(this),c)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),d?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;u.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),p=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},m=_(0,0,0,0);function g(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+g(e["border-"+n+"-width"])},0)}function y(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var i=o[r],a=e["padding-"+i];n[i]=g(a)}return n}function b(e){var t=e.getBBox();return _(0,0,t.width,t.height)}function w(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return m;var r=h(e).getComputedStyle(e),o=y(r),i=o.left+o.right,a=o.top+o.bottom,s=g(r.width),l=g(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=v(r,"left","right")+i),Math.round(l+a)!==n&&(l-=v(r,"top","bottom")+a)),!x(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return _(o.left,o.top,s,l)}var S=function(){return"undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"==typeof e.getBBox}}();function x(e){return e===h(e).document.documentElement}function E(e){return o?S(e)?b(e):w(e):m}function C(e){var t=e.x,n=e.y,r=e.width,o=e.height,i=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype);return p(i,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),i}function _(e,t,n,r){return{x:e,y:t,width:n,height:r}}var k=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=E(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),O=function(){return function(e,t){p(this,{target:e,contentRect:C(t)})}}(),A=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new O(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),I="undefined"!=typeof WeakMap?new WeakMap:new r,P=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new A(t,f.getInstance(),this);I.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){P.prototype[e]=function(){var t;return(t=I.get(this))[e].apply(t,arguments)}});var T=function(){return void 0!==i.ResizeObserver?i.ResizeObserver:P}();t.Z=T},21607:function(e,t,n){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var r=n(41438),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}},31236:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},96704:function(e,t,n){e.exports=o;var r=n(47324).EventEmitter;function o(){r.call(this)}n(67483)(o,r),o.Readable=n(40794),o.Writable=n(33216),o.Duplex=n(23955),o.Transform=n(93685),o.PassThrough=n(70637),o.finished=n(3825),o.pipeline=n(3599),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},86021:function(e){var t=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()};e.exports=t},23457:function(e,t,n){"use strict";var r=n(21607).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=i(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=h,this.end=m,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=v,t=3;break;default:this.write=y,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e,t,n){var r=t.length-1;if(r<n)return 0;var o=l(t[r]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--r<n||-2===o?0:(o=l(t[r]))>=0?(o>0&&(e.lastNeed=o-2),o):--r<n||-2===o?0:(o=l(t[r]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}function u(e,t,n){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function f(e,t){var n=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function h(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function g(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function v(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function y(e){return e.toString(this.encoding)}function b(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){var t,n;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},s.prototype.end=p,s.prototype.text=f,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},82718:function(e){let t=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);let r={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function o(e,o={}){if(o=Object.assign({},r,o),!e||"string"!=typeof e)return e;let a=e.trim();if(void 0!==o.skipLike&&o.skipLike.test(a))return e;if(o.hex&&t.test(a))return Number.parseInt(a,16);{let t=n.exec(a);if(!t)return e;{let n=t[1],r=t[2],s=i(t[3]),l=t[4]||t[6];if(!o.leadingZeros&&r.length>0&&n&&"."!==a[2])return e;{if(!o.leadingZeros&&r.length>0&&!n&&"."!==a[1])return e;let t=Number(a),i=""+t;return -1!==i.search(/[eE]/)||l?o.eNotation?t:e:-1!==a.indexOf(".")?"0"===i&&""===s?t:i===s?t:n&&i==="-"+s?t:e:r?s===i?t:n+s===i?t:e:a===i?t:a===n+i?t:e}}}}function i(e){return e&&-1!==e.indexOf(".")&&("."===(e=e.replace(/0+$/,""))?e="0":"."===e[0]?e="0"+e:"."===e[e.length-1]&&(e=e.substr(0,e.length-1))),e}e.exports=o},38440:function(e,t,n){var r=n(11879);function o(e,t,n){if(null==e)return{};var i,a,s,l,c,u,d=e[0]||{},f=1,p=e.length;for(n=n||[],"object"!=typeof d&&(d={});f<p;f++)if(null!=(c=e[f])){for(l in c)if(c.hasOwnProperty(l)&&"__proto__"!==l){if(i=d[l],s=c[l],d===s)continue;if(s&&(r.isPlainObject(s)||(a=r.isArray(s)))){a?(a=!1,u=i&&r.isArray(i)?i:[]):u=i&&r.isPlainObject(i)?i:{};var h=n.slice(0);h.push(l),d[l]=o([u,s],t,h)}else void 0!==s&&(null!=i&&"function"==typeof t&&t({target:d,copy:c,path:n,key:l}),d[l]=s)}}return d}e.exports=o},11879:function(e,t,n){let r=n(38996),o=function(e,t,n){return Object.keys(e||{}).reduce((n,r)=>t(n,e[r],r,e),n)},i=function(e,t){Object.keys(e||{}).forEach(n=>{t(e[n],n)})},a=function(e){return Object.assign(new e.constructor,e)},s=function(e){return null==e||"object"!=typeof e?e:e instanceof Array?e.reduce((e,t,n)=>(e[n]=s(t),e),[]):e instanceof Object?Object.keys(e||{}).reduce((t,n)=>(t[n]=s(e[n]),t),{}):void 0},l=function(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)},c=function(e){return"string"==typeof e||e instanceof String},u=function(e){return Array.isArray(e)},d=function(e){return[Object,Array].includes((e||{}).constructor)&&!Object.entries(e||{}).length};function f(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}let p=function(e,t){if("function"!=typeof t)throw"filter is not a function";return void 0===e?[]:e.filter(t)},h=function(){let e=Array.prototype.slice.call(arguments);return e.unshift({}),Object.assign(...e)},m=function(e,...t){var n=new Set(t);for(let t=e.length-1;t>=0;t--)n.has(e[t])&&e.splice(t,1)},g=function(e){return[...new Set(e)]},v=function(e){return e?e[0].toUpperCase()+e.substr(1):""},y=function(e,t){return l(t)?Object.keys(t).every(n=>y(e[n],t[n])):e==t},b=function(e){let t=s(e);return e=>y(e,t)},w={transform:r.camelCaseTransformMerge},S=function(e,t){return(n,r)=>e(n,Object.assign({},w,t,r))};e.exports={each:i,forEach:i,forIn:i,keys:Object.keys,clone:a,cloneDeep:s,extend:Object.assign,isString:c,isArray:u,isObject:l,isPlainObject:f,isEmpty:d,filter:p,reduce:o,assign:h,upperFirst:v,camelCase:S(r.camelCase),snakeCase:r.snakeCase,kebabCase:r.paramCase,pull:m,matches:b,unique:g}},31489:function(e,t,n){var r=n(11879);function o(e,t){for(var n in t=t||[],e)e.hasOwnProperty(n)&&(r.isPlainObject(e[n])&&"value"in e[n]?t.push(e[n]):r.isPlainObject(e[n])&&o(e[n],t));return t}e.exports=o},57150:function(e,t,n){let r=n(57453);function o(e={}){let t=Object.assign({},r,e);return RegExp("\\"+t.opening_character+"([^"+t.closing_character+"]+)\\"+t.closing_character,"g")}e.exports=o},57453:function(e){let t={opening_character:"{",closing_character:"}",separator:"."};e.exports=t},51974:function(e,t,n){let r=n(57150);function o(e,t={}){let n=t instanceof RegExp?t:r(t);if("string"==typeof e)return n.test(e);if("object"==typeof e){let n=!1;for(let r in e)if(e.hasOwnProperty(r)&&o(e[r],t)){n=!0;break}return n}return!1}e.exports=o},28182:function(e,t,n){"use strict";n.d(t,{f6:function(){return eP},ZP:function(){return eN}});var r=n(39999),o=n(44194),i=n(31236),a=n.n(i),s=function(e){function t(e,r,l,c,u){for(var p,h,m,g,v,S=0,E=0,C=0,_=0,k=0,O=0,M=m=p=0,j=0,L=0,B=0,Z=0,F=l.length,z=F-1,U="",H="",q="",V="";j<F;){if(h=l.charCodeAt(j),j===z&&0!==E+_+C+S&&(0!==E&&(h=47===E?10:47),_=C=S=0,F++,z++),0===E+_+C+S){if(j===z&&(0<L&&(U=U.replace(f,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=l.charAt(j)}h=59}switch(h){case 123:for(p=(U=U.trim()).charCodeAt(0),m=1,Z=++j;j<F;){switch(h=l.charCodeAt(j)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(j+1)){case 42:case 47:t:{for(M=j+1;M<z;++M)switch(l.charCodeAt(M)){case 47:if(42===h&&42===l.charCodeAt(M-1)&&j+2!==M){j=M+1;break t}break;case 10:if(47===h){j=M+1;break t}}j=M}}break;case 91:h++;case 40:h++;case 34:case 39:for(;j++<z&&l.charCodeAt(j)!==h;);}if(0===m)break;j++}if(m=l.substring(Z,j),0===p&&(p=(U=U.replace(d,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(U=U.replace(f,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=R}if(Z=(m=t(r,L,m,h,u+1)).length,0<N&&(v=s(3,m,L=n(R,U,B),r,I,A,Z,h,u,c),U=L.join(""),void 0!==v&&0===(Z=(m=v.trim()).length)&&(h=0,m="")),0<Z)switch(h){case 115:U=U.replace(x,a);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(y,"$1 $2"))+"{"+m+"}",m=1===T||2===T&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===c&&(H+=m,m="")}else m=""}else m=t(r,n(r,U,B),m,c,u+1);q+=m,m=B=L=M=p=0,U="",h=l.charCodeAt(++j);break;case 125:case 59:if(1<(Z=(U=(0<L?U.replace(f,""):U).trim()).length))switch(0===M&&(45===(p=U.charCodeAt(0))||96<p&&123>p)&&(Z=(U=U.replace(" ",":")).length),0<N&&void 0!==(v=s(1,U,r,e,I,A,H.length,c,u,c))&&0===(Z=(U=v.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),h=U.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){V+=U+l.charAt(j);break}default:58!==U.charCodeAt(Z-1)&&(H+=o(U,p,h,U.charCodeAt(2)))}B=L=M=p=0,U="",h=l.charCodeAt(++j)}}switch(h){case 13:case 10:47===E?E=0:0===1+p&&107!==c&&0<U.length&&(L=1,U+="\0"),0<N*D&&s(0,U,r,e,I,A,H.length,c,u,c),A=1,I++;break;case 59:case 125:if(0===E+_+C+S){A++;break}default:switch(A++,g=l.charAt(j),h){case 9:case 32:if(0===_+S+E)switch(k){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===_+E+S&&(L=B=1,g="\f"+g);break;case 108:if(0===_+E+S+P&&0<M)switch(j-M){case 2:112===k&&58===l.charCodeAt(j-3)&&(P=k);case 8:111===O&&(P=O)}break;case 58:0===_+E+S&&(M=j);break;case 44:0===E+C+_+S&&(L=1,g+="\r");break;case 34:case 39:0===E&&(_=_===h?0:0===_?h:_);break;case 91:0===_+E+C&&S++;break;case 93:0===_+E+C&&S--;break;case 41:0===_+E+S&&C--;break;case 40:0===_+E+S&&(0===p&&(2*k+3*O==533||(p=1)),C++);break;case 64:0===E+C+_+S+M+m&&(m=1);break;case 42:case 47:if(!(0<_+S+C))switch(E){case 0:switch(2*h+3*l.charCodeAt(j+1)){case 235:E=47;break;case 220:Z=j,E=42}break;case 42:47===h&&42===k&&Z+2!==j&&(33===l.charCodeAt(Z+2)&&(H+=l.substring(Z,j+1)),g="",E=0)}}0===E&&(U+=g)}O=k,k=h,j++}if(0<(Z=H.length)){if(L=r,0<N&&void 0!==(v=s(2,H,L,e,I,A,Z,c,u,c))&&0===(H=v).length)return V+H+q;if(H=L.join(",")+"{"+H+"}",0!=T*P){switch(2!==T||i(H,2)||(P=0),P){case 111:H=H.replace(w,":-moz-$1")+H;break;case 112:H=H.replace(b,"::-webkit-input-$1")+H.replace(b,"::-moz-$1")+H.replace(b,":-ms-input-$1")+H}P=0}}return V+H+q}function n(e,t,n){var o=t.trim().split(g);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<i;++s)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===T||2===T&&i(l,1)?"-webkit-"+l+l:l}if(0===T||2===T&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(O,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return h.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(S,"tb");break;case 232:l=a.replace(S,"tb-rl");break;case 220:l=a.replace(S,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(C,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(C,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),j(2!==t?r:r.replace(_,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,i,a,s,l,c){for(var d,f=0,p=t;f<N;++f)switch(d=M[f].call(u,e,p,n,r,o,i,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function l(e){switch(e){case void 0:case null:N=M.length=0;break;default:if("function"==typeof e)M[N++]=e;else if("object"==typeof e)for(var t=0,n=e.length;t<n;++t)l(e[t]);else D=0|!!e}return l}function c(e){return void 0!==(e=e.prefix)&&(j=null,e?"function"!=typeof e?T=1:(T=2,j=e):T=0),c}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[L=r],0<N){var o=s(-1,n,r,r,I,A,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(R,r,n,0,0);return 0<N&&void 0!==(o=s(-2,i,r,r,I,A,i.length,0,0,0))&&(i=o),L="",P=0,A=I=1,i}var d=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,h=/zoo|gra/,m=/([,: ])(transform)/g,g=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,w=/:(read-only)/g,S=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,C=/-self|flex-/g,_=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,A=1,I=1,P=0,T=1,R=[],M=[],N=0,j=null,D=0,L="";return u.use=l,u.set=c,void 0!==e&&c(e),u},l=n(82785),c=/^((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|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)-.*))$/,u=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),d=n(10063),f=n.n(d),p=n(79895);function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var m=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},g=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,r.typeOf)(e)},v=Object.freeze([]),y=Object.freeze({});function b(e){return"function"==typeof e}function w(e){return e.displayName||e.name||"Component"}function S(e){return e&&"string"==typeof e.styledComponentId}var x=void 0!==p&&void 0!==p.env&&(p.env.REACT_APP_SC_ATTR||p.env.SC_ATTR)||"data-styled",E="undefined"!=typeof window&&"HTMLElement"in window,C=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==p&&void 0!==p.env&&(void 0!==p.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==p.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==p.env.REACT_APP_SC_DISABLE_SPEEDY&&p.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==p.env.SC_DISABLE_SPEEDY&&""!==p.env.SC_DISABLE_SPEEDY&&"false"!==p.env.SC_DISABLE_SPEEDY&&p.env.SC_DISABLE_SPEEDY));function _(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var k=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&_(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),O=new Map,A=new Map,I=1,P=function(e){if(O.has(e))return O.get(e);for(;A.has(I);)I++;var t=I++;return O.set(e,t),A.set(t,e),t},T=function(e){return A.get(e)},R=function(e,t){t>=I&&(I=t+1),O.set(e,t),A.set(t,e)},M="style["+x+'][data-styled-version="5.3.10"]',N=RegExp("^"+x+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),j=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},D=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(N);if(s){var l=0|parseInt(s[1],10),c=s[2];0!==l&&(R(c,l),j(e,c,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},L=function(){return n.nc},B=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(x))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(x,"active"),r.setAttribute("data-styled-version","5.3.10");var a=L();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},Z=function(){function e(e){var t=this.element=B(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}_(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),F=function(){function e(e){var t=this.element=B(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),z=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=E,H={isServer:!E,useCSSOMInjection:!C},q=function(){function e(e,t,n){void 0===e&&(e=y),void 0===t&&(t={}),this.options=h({},H,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&E&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(M),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(x)&&(D(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return P(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(h({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(t=(e=this.options).isServer,n=e.useCSSOMInjection,r=e.target,new k(t?new z(r):n?new Z(r):new F(r))))},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(P(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(P(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(P(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=T(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var l=x+".g"+o+'[id="'+i+'"]',c="";void 0!==a&&a.forEach(function(e){e.length>0&&(c+=e+",")}),r+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),V=/(a)(d)/gi,W=function(e){return String.fromCharCode(e+(e>25?39:97))};function $(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=W(t%52)+n;return(W(t%52)+n).replace(V,"$1-$2")}var G=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},K=function(e){return G(5381,e)};function Y(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(b(n)&&!S(n))return!1}return!0}var X=K("5.3.10"),Q=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Y(e),this.componentId=t,this.baseHash=G(X,t),this.baseStyle=n,q.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash){if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=eg(this.rules,e,t,n).join(""),a=$(G(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var s=n(i,"."+a,void 0,r);t.insertRules(r,a,s)}o.push(a),this.staticRulesId=a}}else{for(var l=this.rules.length,c=G(this.baseHash,n.hash),u="",d=0;d<l;d++){var f=this.rules[d];if("string"==typeof f)u+=f;else if(f){var p=eg(f,e,t,n),h=Array.isArray(p)?p.join(""):p;c=G(c,h+d),u+=h}}if(u){var m=$(c>>>0);if(!t.hasNameForId(r,m)){var g=n(u,"."+m,void 0,r);t.insertRules(r,m,g)}o.push(m)}}return o.join(" ")},e}(),J=/^\s*\/\/.*$/gm,ee=[":","[",".","#"];function et(e){var t,n,r,o,i=void 0===e?y:e,a=i.options,l=void 0===a?y:a,c=i.plugins,u=void 0===c?v:c,d=new s(l),f=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,s,l,c,u,d){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case -2:r.split("/*|*/}").forEach(t)}}}(function(e){f.push(e)}),h=function(e,r,i){return 0===r&&-1!==ee.indexOf(i[n.length])||i.match(o)?e:"."+t};function m(e,i,a,s){void 0===s&&(s="&");var l=e.replace(J,""),c=i&&a?a+" "+i+" { "+l+" }":l;return t=s,r=RegExp("\\"+(n=i)+"\\b","g"),o=RegExp("(\\"+n+"\\b){2,}"),d(a||!i?"":i,c)}return d.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,h))},p,function(e){if(-2===e){var t=f;return f=[],t}}])),m.hash=u.length?u.reduce(function(e,t){return t.name||_(15),G(e,t.name)},5381).toString():"",m}var en=o.createContext(),er=(en.Consumer,o.createContext()),eo=(er.Consumer,new q),ei=et();function ea(){return(0,o.useContext)(en)||eo}function es(){return(0,o.useContext)(er)||ei}function el(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=ea(),s=(0,o.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,o.useMemo)(function(){return et({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return(0,o.useEffect)(function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),o.createElement(en.Provider,{value:s},o.createElement(er.Provider,{value:l},e.children))}var ec=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ei);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return _(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ei),this.name+e.hash},e}(),eu=/([A-Z])/,ed=/([A-Z])/g,ef=/^ms-/,ep=function(e){return"-"+e.toLowerCase()};function eh(e){return eu.test(e)?e.replace(ed,ep).replace(ef,"-ms-"):e}var em=function(e){return null==e||!1===e||""===e};function eg(e,t,n,r){if(Array.isArray(e)){for(var o,i,a=[],s=0,c=e.length;s<c;s+=1)""!==(i=eg(e[s],t,n,r))&&(Array.isArray(i)?a.push.apply(a,i):a.push(i));return a}return em(e)?"":S(e)?"."+e.styledComponentId:b(e)?"function"!=typeof(o=e)||o.prototype&&o.prototype.isReactComponent||!t?e:eg(e(t),t,n,r):e instanceof ec?n?(e.inject(n,r),e.getName(r)):e:g(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!em(t[a])&&(Array.isArray(t[a])&&t[a].isCss||b(t[a])?i.push(eh(a)+":",t[a],";"):g(t[a])?i.push.apply(i,e(t[a],a)):i.push(eh(a)+": "+(r=a,null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in l.Z||r.startsWith("--")?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString()}var ev=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ey(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return b(e)||g(e)?ev(eg(m(v,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ev(eg(m(e,n)))}var eb=function(e,t,n){return void 0===n&&(n=y),e.theme!==n.theme&&e.theme||t||n.theme},ew=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eS=/(^-|-$)/g;function ex(e){return e.replace(ew,"-").replace(eS,"")}var eE=function(e){return $(K(e)>>>0)};function eC(e){return"string"==typeof e}var e_=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ek=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function eO(e,t,n){var r=e[n];e_(t)&&e_(r)?eA(r,t):e[n]=t}function eA(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(e_(a))for(var s in a)ek(s)&&eO(e,a[s],s)}return e}var eI=o.createContext();function eP(e){var t=(0,o.useContext)(eI),n=(0,o.useMemo)(function(){return function(e,t){return e?b(e)?e(t):Array.isArray(e)||"object"!=typeof e?_(8):t?h({},t,{},e):e:_(14)}(e.theme,t)},[e.theme,t]);return e.children?o.createElement(eI.Provider,{value:n},e.children):null}eI.Consumer;var eT={};function eR(e,t,n){var r=S(e),i=!eC(e),a=t.attrs,s=void 0===a?v:a,l=t.componentId,c=void 0===l?function(e,t){var n="string"!=typeof e?"sc":ex(e);eT[n]=(eT[n]||0)+1;var r=n+"-"+eE("5.3.10"+n+eT[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,d=t.displayName,p=void 0===d?function(e){return eC(e)?"styled."+e:"Styled("+w(e)+")"}(e):d,m=t.displayName&&t.componentId?ex(t.displayName)+"-"+t.componentId:t.componentId||c,g=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,x=t.shouldForwardProp;r&&e.shouldForwardProp&&(x=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var E,C=new Q(n,m,r?e.componentStyle:void 0),_=C.isStatic&&0===s.length,k=function(e,t){return function(e,t,n,r){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.shouldForwardProp,d=e.styledComponentId,f=e.target,p=function(e,t,n){void 0===e&&(e=y);var r=h({},t,{theme:e}),o={};return n.forEach(function(e){var t,n,i,a=e;for(t in b(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]}),[r,o]}(eb(t,(0,o.useContext)(eI),s)||y,t,i),m=p[0],g=p[1],v=function(e,t,n,r){var o=ea(),i=es();return t?e.generateAndInjectStyles(y,o,i):e.generateAndInjectStyles(n,o,i)}(a,r,m,0),w=n,S=g.$as||t.$as||g.as||t.as||f,x=eC(S),E=g!==t?h({},t,{},g):t,C={};for(var _ in E)"$"!==_[0]&&"as"!==_&&("forwardedAs"===_?C.as=E[_]:(c?c(_,u,S):!x||u(_))&&(C[_]=E[_]));return t.style&&g.style!==t.style&&(C.style=h({},t.style,{},g.style)),C.className=Array.prototype.concat(l,d,v!==d?v:null,t.className,g.className).filter(Boolean).join(" "),C.ref=w,(0,o.createElement)(S,C)}(E,e,t,_)};return k.displayName=p,(E=o.forwardRef(k)).attrs=g,E.componentStyle=C,E.displayName=p,E.shouldForwardProp=x,E.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):v,E.styledComponentId=m,E.target=r?e.target:e,E.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(eC(e)?e:ex(w(e)));return eR(e,h({},o,{attrs:g,componentId:i}),n)},Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?eA({},e.defaultProps,t):t}}),Object.defineProperty(E,"toString",{value:function(){return"."+E.styledComponentId}}),i&&f()(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),E}var eM=function(e){return function e(t,n,o){if(void 0===o&&(o=y),!(0,r.isValidElementType)(n))return _(1,String(n));var i=function(){return t(n,o,ey.apply(void 0,arguments))};return i.withConfig=function(r){return e(t,n,h({},o,{},r))},i.attrs=function(r){return e(t,n,h({},o,{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},i}(eR,e)};["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","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){eM[e]=eM(e)}),function(){var e=(function(e,t){this.rules=e,this.componentId=t,this.isStatic=Y(e),q.registerId(this.componentId+1)}).prototype;e.createStyles=function(e,t,n,r){var o=r(eg(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},e.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.renderStyles=function(e,t,n,r){e>2&&q.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){var e=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=L();return"<style "+[n&&'nonce="'+n+'"',x+'="true"','data-styled-version="5.3.10"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?_(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return _(2);var t,n=((t={})[x]="",t["data-styled-version"]="5.3.10",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=L();return r&&(n.nonce=r),[o.createElement("style",h({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new q({isServer:!0}),this.sealed=!1}).prototype;e.collectStyles=function(e){return this.sealed?_(2):o.createElement(el,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return _(3)}}();var eN=eM},14674:function(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),r="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var o,a,s,l=[],c=[],f=e.querySelectorAll(n);for(t.includeContainer&&r.call(e,n)&&(f=Array.prototype.slice.apply(f)).unshift(e),o=0;o<f.length;o++)i(a=f[o])&&(0===(s=u(a))?l.push(a):c.push({documentOrder:o,tabIndex:s,node:a}));return c.sort(d).map(function(e){return e.node}).concat(l)}function i(e){return!(!s(e)||g(e)||0>u(e))}function a(e){if(!e)throw Error("No node provided");return!1!==r.call(e,n)&&i(e)}function s(e){return!(e.disabled||h(e)||b(e))}o.isTabbable=a,o.isFocusable=c;var l=t.concat("iframe").join(",");function c(e){if(!e)throw Error("No node provided");return!1!==r.call(e,l)&&s(e)}function u(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?f(e)?0:e.tabIndex:t}function d(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function f(e){return"true"===e.contentEditable}function p(e){return"INPUT"===e.tagName}function h(e){return p(e)&&"hidden"===e.type}function m(e){return p(e)&&"radio"===e.type}function g(e){return m(e)&&!y(e)}function v(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}function y(e){if(!e.name)return!0;var t=v(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}function b(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}e.exports=o},10226:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});let n=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]},49636:function(e,t,n){"use strict";var r=n(79895);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{flagEnabled:function(){return c},issueFlagNotices:function(){return d},default:function(){return f}});let o=a(n(24653)),i=a(n(63092));function a(e){return e&&e.__esModule?e:{default:e}}let s={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},l={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function c(e,t){var n,r,o,i,a,c;return l.future.includes(t)?"all"===e.future||null!==(o=null!==(r=null==e?void 0:null===(n=e.future)||void 0===n?void 0:n[t])&&void 0!==r?r:s[t])&&void 0!==o&&o:!!l.experimental.includes(t)&&("all"===e.experimental||null!==(c=null!==(a=null==e?void 0:null===(i=e.experimental)||void 0===i?void 0:i[t])&&void 0!==a?a:s[t])&&void 0!==c&&c)}function u(e){var t;return"all"===e.experimental?l.experimental:Object.keys(null!==(t=null==e?void 0:e.experimental)&&void 0!==t?t:{}).filter(t=>l.experimental.includes(t)&&e.experimental[t])}function d(e){if(void 0===r.env.JEST_WORKER_ID&&u(e).length>0){let t=u(e).map(e=>o.default.yellow(e)).join(", ");i.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}let f=l},63151:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=o(n(63092));function o(e){return e&&e.__esModule?e:{default:e}}function i({version:e,from:t,to:n}){r.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}let a={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return i({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return i({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return i({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return i({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return i({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}},38121:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=i(n(30553)),o=i(n(33533));function i(e){return e&&e.__esModule?e:{default:e}}function a(...e){let[,...t]=(0,o.default)(e[0]);return(0,r.default)([...e,...t])}},11048:function(e,t){"use strict";function n(e){return Array.isArray(e)?e.map(e=>n(e)):"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e).map(([e,t])=>[e,n(t)])):e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return n}})},92506:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{parseColor:function(){return p},formatColor:function(){return h}});let r=o(n(35153));function o(e){return e&&e.__esModule?e:{default:e}}let i=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,a=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,s=/(?:\d+|\d*\.\d+)%?/,l=/(?:\s*,\s*|\s+)/,c=/\s*[,/]\s*/,u=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,d=RegExp(`^(rgba?)\\(\\s*(${s.source}|${u.source})(?:${l.source}(${s.source}|${u.source}))?(?:${l.source}(${s.source}|${u.source}))?(?:${c.source}(${s.source}|${u.source}))?\\s*\\)$`),f=RegExp(`^(hsla?)\\(\\s*((?:${s.source})(?:deg|rad|grad|turn)?|${u.source})(?:${l.source}(${s.source}|${u.source}))?(?:${l.source}(${s.source}|${u.source}))?(?:${c.source}(${s.source}|${u.source}))?\\s*\\)$`);function p(e,{loose:t=!1}={}){var n,o,s;if("string"!=typeof e)return null;if("transparent"===(e=e.trim()))return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(e in r.default)return{mode:"rgb",color:r.default[e].map(e=>e.toString())};let l=e.replace(a,(e,t,n,r,o)=>["#",t,t,n,n,r,r,o?o+o:""].join("")).match(i);if(null!==l)return{mode:"rgb",color:[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)].map(e=>e.toString()),alpha:l[4]?(parseInt(l[4],16)/255).toString():void 0};let c=null!==(s=e.match(d))&&void 0!==s?s:e.match(f);if(null===c)return null;let u=[c[2],c[3],c[4]].filter(Boolean).map(e=>e.toString());return 2===u.length&&u[0].startsWith("var(")?{mode:c[1],color:[u[0]],alpha:u[1]}:(t||3===u.length)&&(!(u.length<3)||u.some(e=>/^var\(.*?\)$/.test(e)))?{mode:c[1],color:u,alpha:null===(n=c[5])||void 0===n?void 0:null===(o=n.toString)||void 0===o?void 0:o.call(n)}:null}function h({mode:e,color:t,alpha:n}){let r=void 0!==n;return"rgba"===e||"hsla"===e?`${e}(${t.join(", ")}${r?`, ${n}`:""})`:`${e}(${t.join(" ")}${r?` / ${n}`:""})`}},35153:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});let n={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},60072:function(e,t){"use strict";function n(e,t){return void 0===e?t:Array.isArray(e)?e:[...new Set(t.filter(t=>!1!==e&&!1!==e[t]).concat(Object.keys(e).filter(t=>!1!==e[t])))]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},9936:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{normalize:function(){return c},url:function(){return d},number:function(){return f},percentage:function(){return p},length:function(){return g},lineWidth:function(){return y},shadow:function(){return b},color:function(){return w},image:function(){return S},gradient:function(){return E},position:function(){return _},familyName:function(){return k},genericName:function(){return A},absoluteSize:function(){return P},relativeSize:function(){return R}});let r=n(92506),o=n(75320),i=n(85471),a=["min","max","clamp","calc"];function s(e){return a.some(t=>RegExp(`^${t}\\(.*\\)`).test(e))}let l=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","anchor-name","anchor-scope","position-anchor","position-try-options","scroll-timeline","animation-timeline","view-timeline","position-try"]);function c(e,t=null,n=!0){let r=t&&l.has(t.property);return e.startsWith("--")&&!r?`var(${e})`:e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(e=>/^url\(.*?\)$/.test(e)?e:c(e,t,!1)).join(""):(e=e.replace(/([^\\])_+/g,(e,t)=>t+" ".repeat(e.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),n&&(e=e.trim()),e=u(e))}function u(e){let t=["theme"],n=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height","radial-gradient","linear-gradient","conic-gradient","repeating-radial-gradient","repeating-linear-gradient","repeating-conic-gradient"];return e.replace(/(calc|min|max|clamp)\(.+\)/g,e=>{let r="";function o(){let e=r.trimEnd();return e[e.length-1]}for(let s=0;s<e.length;s++){function i(t){return t.split("").every((t,n)=>e[s+n]===t)}function a(t){let n=1/0;for(let r of t){let t=e.indexOf(r,s);-1!==t&&t<n&&(n=t)}let r=e.slice(s,n);return s+=r.length-1,r}let l=e[s];if(i("var"))r+=a([")",","]);else if(n.some(e=>i(e))){let e=n.find(e=>i(e));r+=e,s+=e.length-1}else t.some(e=>i(e))?r+=a([")"]):i("[")?r+=a(["]"]):["+","-","*","/"].includes(l)&&!["(","+","-","*","/",","].includes(o())?r+=` ${l} `:r+=l}return r.replace(/\s+/g," ")})}function d(e){return e.startsWith("url(")}function f(e){return!isNaN(Number(e))||s(e)}function p(e){return e.endsWith("%")&&f(e.slice(0,-1))||s(e)}let h=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],m=`(?:${h.join("|")})`;function g(e){return"0"===e||RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${m}$`).test(e)||s(e)}let v=new Set(["thin","medium","thick"]);function y(e){return v.has(e)}function b(e){for(let t of(0,o.parseBoxShadowValue)(c(e)))if(!t.valid)return!1;return!0}function w(e){let t=0;return!!(0,i.splitAtTopLevelOnly)(e,"_").every(e=>!!(e=c(e)).startsWith("var(")||null!==(0,r.parseColor)(e,{loose:!0})&&(t++,!0))&&t>0}function S(e){let t=0;return!!(0,i.splitAtTopLevelOnly)(e,",").every(e=>!!(e=c(e)).startsWith("var(")||!!(d(e)||E(e)||["element(","image(","cross-fade(","image-set("].some(t=>e.startsWith(t)))&&(t++,!0))&&t>0}let x=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function E(e){for(let t of(e=c(e),x))if(e.startsWith(`${t}(`))return!0;return!1}let C=new Set(["center","top","right","bottom","left"]);function _(e){let t=0;return!!(0,i.splitAtTopLevelOnly)(e,"_").every(e=>!!(e=c(e)).startsWith("var(")||!!(C.has(e)||g(e)||p(e))&&(t++,!0))&&t>0}function k(e){let t=0;return!!(0,i.splitAtTopLevelOnly)(e,",").every(e=>!!(e=c(e)).startsWith("var(")||!(e.includes(" ")&&!/(['"])([^"']+)\1/g.test(e)||/^\d/g.test(e))&&(t++,!0))&&t>0}let O=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function A(e){return O.has(e)}let I=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function P(e){return I.has(e)}let T=new Set(["larger","smaller"]);function R(e){return T.has(e)}},30807:function(e,t){"use strict";function n(e,...t){for(let n of t){var r,o;for(let t in n)(null==e?void 0:null===(r=e.hasOwnProperty)||void 0===r?void 0:r.call(e,t))||(e[t]=n[t]);for(let t of Object.getOwnPropertySymbols(n))(null==e?void 0:null===(o=e.hasOwnProperty)||void 0===o?void 0:o.call(e,t))||(e[t]=n[t])}return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return n}})},36117:function(e,t){"use strict";function n(e){return e.replace(/\\,/g,"\\2c ")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},33533:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=i(n(86503)),o=n(49636);function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t;let n=(null!==(t=null==e?void 0:e.presets)&&void 0!==t?t:[r.default]).slice().reverse().flatMap(e=>a(e instanceof Function?e():e)),i={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:e})=>({DEFAULT:"#3b82f67f",...e("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},s=Object.keys(i).filter(t=>(0,o.flagEnabled)(e,t)).map(e=>i[e]);return[e,...s,...n]}},33469:function(e,t){"use strict";function n(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},63092:function(e,t,n){"use strict";var r=n(79895);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{dim:function(){return l},default:function(){return c}});let o=i(n(24653));function i(e){return e&&e.__esModule?e:{default:e}}let a=new Set;function s(e,t,n){(void 0===r||!r.env.JEST_WORKER_ID)&&(n&&a.has(n)||(n&&a.add(n),console.warn(""),t.forEach(t=>console.warn(e,"-",t))))}function l(e){return o.default.dim(e)}let c={info(e,t){s(o.default.bold(o.default.cyan("info")),...Array.isArray(e)?[e]:[t,e])},warn(e,t){s(o.default.bold(o.default.yellow("warn")),...Array.isArray(e)?[e]:[t,e])},risk(e,t){s(o.default.bold(o.default.magenta("risk")),...Array.isArray(e)?[e]:[t,e])}}},19832:function(e,t){"use strict";function n(e){if("0"==(e=`${e}`))return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,e=>"-"===e?"":"-");for(let t of["var","calc","min","max","clamp"])if(e.includes(`${t}(`))return`calc(${e} * -1)`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},35422:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeConfig",{enumerable:!0,get:function(){return s}});let r=n(49636),o=a(n(63092));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function s(e){if((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&!("object"==typeof e.content&&null!==e.content))return!1;if(Array.isArray(e.content))return e.content.every(e=>"string"==typeof e||"string"==typeof(null==e?void 0:e.raw)&&(null==e||!e.extension||"string"==typeof(null==e?void 0:e.extension)));if("object"==typeof e.content&&null!==e.content){if(Object.keys(e.content).some(e=>!["files","relative","extract","transform"].includes(e)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(e=>"string"==typeof e||"string"==typeof(null==e?void 0:e.raw)&&(null==e||!e.extension||"string"==typeof(null==e?void 0:e.extension))))return!1;if("object"==typeof e.content.extract){for(let t of Object.values(e.content.extract))if("function"!=typeof t)return!1}else if(!(void 0===e.content.extract||"function"==typeof e.content.extract))return!1;if("object"==typeof e.content.transform){for(let t of Object.values(e.content.transform))if("function"!=typeof t)return!1}else if(!(void 0===e.content.transform||"function"==typeof e.content.transform))return!1;if("boolean"!=typeof e.content.relative&&void 0!==e.content.relative)return!1}return!0}return!1})()||o.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),e.safelist=(()=>{var t;let{content:n,purge:r,safelist:o}=e;return Array.isArray(o)?o:Array.isArray(null==n?void 0:n.safelist)?n.safelist:Array.isArray(null==r?void 0:r.safelist)?r.safelist:Array.isArray(null==r?void 0:null===(t=r.options)||void 0===t?void 0:t.safelist)?r.options.safelist:[]})(),e.blocklist=(()=>{let{blocklist:t}=e;if(Array.isArray(t)){if(t.every(e=>"string"==typeof e))return t;o.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),"function"==typeof e.prefix)o.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),e.prefix="";else{var t;e.prefix=null!==(t=e.prefix)&&void 0!==t?t:""}for(let t of(e.content={relative:(()=>{let{content:t}=e;return(null==t?void 0:t.relative)?t.relative:(0,r.flagEnabled)(e,"relativeContentPathsByDefault")})(),files:(()=>{let{content:t,purge:n}=e;return Array.isArray(n)?n:Array.isArray(null==n?void 0:n.content)?n.content:Array.isArray(t)?t:Array.isArray(null==t?void 0:t.content)?t.content:Array.isArray(null==t?void 0:t.files)?t.files:[]})(),extract:(()=>{let t=(()=>{var t,n,r,o,i,a,s,l,c,u;return(null===(t=e.purge)||void 0===t?void 0:t.extract)?e.purge.extract:(null===(n=e.content)||void 0===n?void 0:n.extract)?e.content.extract:(null===(r=e.purge)||void 0===r?void 0:null===(o=r.extract)||void 0===o?void 0:o.DEFAULT)?e.purge.extract.DEFAULT:(null===(i=e.content)||void 0===i?void 0:null===(a=i.extract)||void 0===a?void 0:a.DEFAULT)?e.content.extract.DEFAULT:(null===(s=e.purge)||void 0===s?void 0:null===(l=s.options)||void 0===l?void 0:l.extractors)?e.purge.options.extractors:(null===(c=e.content)||void 0===c?void 0:null===(u=c.options)||void 0===u?void 0:u.extractors)?e.content.options.extractors:{}})(),n={},r=(()=>{var t,n,r,o;return(null===(t=e.purge)||void 0===t?void 0:null===(n=t.options)||void 0===n?void 0:n.defaultExtractor)?e.purge.options.defaultExtractor:(null===(r=e.content)||void 0===r?void 0:null===(o=r.options)||void 0===o?void 0:o.defaultExtractor)?e.content.options.defaultExtractor:void 0})();if(void 0!==r&&(n.DEFAULT=r),"function"==typeof t)n.DEFAULT=t;else if(Array.isArray(t))for(let{extensions:e,extractor:r}of null!=t?t:[])for(let t of e)n[t]=r;else"object"==typeof t&&null!==t&&Object.assign(n,t);return n})(),transform:(()=>{let t=(()=>{var t,n,r,o,i,a;return(null===(t=e.purge)||void 0===t?void 0:t.transform)?e.purge.transform:(null===(n=e.content)||void 0===n?void 0:n.transform)?e.content.transform:(null===(r=e.purge)||void 0===r?void 0:null===(o=r.transform)||void 0===o?void 0:o.DEFAULT)?e.purge.transform.DEFAULT:(null===(i=e.content)||void 0===i?void 0:null===(a=i.transform)||void 0===a?void 0:a.DEFAULT)?e.content.transform.DEFAULT:{}})(),n={};return"function"==typeof t?n.DEFAULT=t:"object"==typeof t&&null!==t&&Object.assign(n,t),n})()},e.content.files))if("string"==typeof t&&/{([^,]*?)}/g.test(t)){o.default.warn("invalid-glob-braces",[`The glob pattern ${(0,o.dim)(t)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,o.dim)(t.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}},75320:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{parseBoxShadowValue:function(){return s},formatBoxShadowValue:function(){return l}});let r=n(85471),o=new Set(["inset","inherit","initial","revert","unset"]),i=/\ +(?![^(]*\))/g,a=/^-?(\d+|\.\d+)(.*?)$/g;function s(e){return(0,r.splitAtTopLevelOnly)(e,",").map(e=>{let t=e.trim(),n={raw:t},r=t.split(i),s=new Set;for(let e of r)a.lastIndex=0,!s.has("KEYWORD")&&o.has(e)?(n.keyword=e,s.add("KEYWORD")):a.test(e)?s.has("X")?s.has("Y")?s.has("BLUR")?s.has("SPREAD")||(n.spread=e,s.add("SPREAD")):(n.blur=e,s.add("BLUR")):(n.y=e,s.add("Y")):(n.x=e,s.add("X")):n.color?(n.unknown||(n.unknown=[]),n.unknown.push(e)):n.color=e;return n.valid=void 0!==n.x&&void 0!==n.y,n})}function l(e){return e.map(e=>e.valid?[e.keyword,e.x,e.y,e.blur,e.spread,e.color].filter(Boolean).join(" "):e.raw).join(", ")}},83801:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{updateAllClasses:function(){return u},asValue:function(){return p},parseColorFormat:function(){return g},asColor:function(){return y},asLookupValue:function(){return b},typeMap:function(){return S},coerceValue:function(){return C},getMatchingTypes:function(){return _}});let r=c(n(36117)),o=n(53455),i=n(9936),a=c(n(19832)),s=n(4472),l=n(49636);function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){e.walkClasses(e=>{e.value=t(e.value),e.raws&&e.raws.value&&(e.raws.value=(0,r.default)(e.raws.value))})}function d(e,t){if(!h(e))return;let n=e.slice(1,-1);if(t(n))return(0,i.normalize)(n)}function f(e,t={},n){let r=t[e];if(void 0!==r)return(0,a.default)(r);if(h(e)){let t=d(e,n);if(void 0===t)return;return(0,a.default)(t)}}function p(e,t={},{validate:n=()=>!0}={}){var r;let o=null===(r=t.values)||void 0===r?void 0:r[e];return void 0!==o?o:t.supportsNegativeValues&&e.startsWith("-")?f(e.slice(1),t.values,n):d(e,n)}function h(e){return e.startsWith("[")&&e.endsWith("]")}function m(e){let t=e.lastIndexOf("/"),n=e.lastIndexOf("[",t),r=e.indexOf("]",t);return(!("]"===e[t-1]||"["===e[t+1])&&-1!==n&&-1!==r&&n<t&&t<r&&(t=e.lastIndexOf("/",n)),-1===t||t===e.length-1||h(e)&&!e.includes("]/["))?[e,void 0]:[e.slice(0,t),e.slice(t+1)]}function g(e){if("string"==typeof e&&e.includes("<alpha-value>")){let t=e;return({opacityValue:e=1})=>t.replace(/<alpha-value>/g,e)}return e}function v(e){return(0,i.normalize)(e.slice(1,-1))}function y(e,t={},{tailwindConfig:n={}}={}){var r,a,s,l,c,u;if((null===(r=t.values)||void 0===r?void 0:r[e])!==void 0)return g(null===(a=t.values)||void 0===a?void 0:a[e]);let[d,f]=m(e);if(void 0!==f){let e=null!==(u=null===(s=t.values)||void 0===s?void 0:s[d])&&void 0!==u?u:h(d)?d.slice(1,-1):void 0;if(void 0===e)return;if(e=g(e),h(f))return(0,o.withAlphaValue)(e,v(f));if((null===(l=n.theme)||void 0===l?void 0:null===(c=l.opacity)||void 0===c?void 0:c[f])===void 0)return;return(0,o.withAlphaValue)(e,n.theme.opacity[f])}return p(e,t,{validate:i.color})}function b(e,t={}){var n;return null===(n=t.values)||void 0===n?void 0:n[e]}function w(e){return(t,n)=>p(t,n,{validate:e})}let S={any:p,color:y,url:w(i.url),image:w(i.image),length:w(i.length),percentage:w(i.percentage),position:w(i.position),lookup:b,"generic-name":w(i.genericName),"family-name":w(i.familyName),number:w(i.number),"line-width":w(i.lineWidth),"absolute-size":w(i.absoluteSize),"relative-size":w(i.relativeSize),shadow:w(i.shadow),size:w(s.backgroundSize)},x=Object.keys(S);function E(e,t){let n=e.indexOf(t);return -1===n?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function C(e,t,n,r){if(n.values&&t in n.values)for(let{type:o}of null!=e?e:[]){let e=S[o](t,n,{tailwindConfig:r});if(void 0!==e)return[e,o,null]}if(h(t)){let e=t.slice(1,-1),[r,o]=E(e,":");if(/^[\w-_]+$/g.test(r)){if(void 0!==r&&!x.includes(r))return[]}else o=e;if(o.length>0&&x.includes(r))return[p(`[${o}]`,n),r,null]}for(let o of _(e,t,n,r))return o;return[]}function*_(e,t,n,r){let o=(0,l.flagEnabled)(r,"generalizedModifiers"),[i,a]=m(t);if(o&&null!=n.modifiers&&("any"===n.modifiers||"object"==typeof n.modifiers&&(a&&h(a)||a in n.modifiers))||(i=t,a=void 0),void 0!==a&&""===i&&(i="DEFAULT"),void 0!==a&&"object"==typeof n.modifiers){var s,c;let e=null!==(c=null===(s=n.modifiers)||void 0===s?void 0:s[a])&&void 0!==c?c:null;null!==e?a=e:h(a)&&(a=v(a))}for(let{type:t}of null!=e?e:[]){let e=S[t](i,n,{tailwindConfig:r});void 0!==e&&(yield[e,t,null!=a?a:null])}}},30553:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return I}});let r=m(n(19832)),o=m(n(10226)),i=m(n(60072)),a=m(n(63151)),s=n(30807),l=n(78507),c=n(35422),u=m(n(33469)),d=n(11048),f=n(83801),p=n(53455),h=m(n(8810));function m(e){return e&&e.__esModule?e:{default:e}}function g(e){return"function"==typeof e}function v(e,...t){let n=t.pop();for(let r of t)for(let t in r){let o=n(e[t],r[t]);void 0===o?(0,u.default)(e[t])&&(0,u.default)(r[t])?e[t]=v({},e[t],r[t],n):e[t]=r[t]:e[t]=o}return e}let y={colors:a.default,negative:e=>Object.keys(e).filter(t=>"0"!==e[t]).reduce((t,n)=>{let o=(0,r.default)(e[n]);return void 0!==o&&(t[`-${n}`]=o),t},{}),breakpoints:e=>Object.keys(e).filter(t=>"string"==typeof e[t]).reduce((t,n)=>({...t,[`screen-${n}`]:e[n]}),{})};function b(e,...t){return g(e)?e(...t):e}function w(e){return e.reduce((e,{extend:t})=>v(e,t,(e,t)=>void 0===e?[t]:Array.isArray(e)?[t,...e]:[t,e]),{})}function S(e){return{...e.reduce((e,t)=>(0,s.defaults)(e,t),{}),extend:w(e)}}function x(e,t){return Array.isArray(e)&&(0,u.default)(e[0])?e.concat(t):Array.isArray(t)&&(0,u.default)(t[0])&&(0,u.default)(e)?[e,...t]:Array.isArray(t)?t:void 0}function E({extend:e,...t}){return v(t,e,(e,t)=>g(e)||t.some(g)?(n,r)=>v({},...[e,...t].map(e=>b(e,n,r)),x):v({},e,...t,x))}function*C(e){let t=(0,l.toPath)(e);if(0===t.length||(yield t,Array.isArray(e)))return;let n=/^(.*?)\s*\/\s*([^/]+)$/,r=e.match(n);if(null!==r){let[,e,t]=r,n=(0,l.toPath)(e);n.alpha=t,yield n}}function _(e){let t=(n,r)=>{for(let r of C(n)){let n=0,o=e;for(;null!=o&&n<r.length;)o=g(o=o[r[n++]])&&(void 0===r.alpha||n<=r.length-1)?o(t,y):o;if(void 0!==o){if(void 0!==r.alpha){let e=(0,f.parseColorFormat)(o);return(0,p.withAlphaValue)(e,r.alpha,(0,h.default)(e))}if((0,u.default)(o))return(0,d.cloneDeep)(o);return o}}return r};return Object.assign(t,{theme:t,...y}),Object.keys(e).reduce((n,r)=>(n[r]=g(e[r])?e[r](t,y):e[r],n),{})}function k(e){let t=[];return e.forEach(e=>{var n;t=[...t,e];let r=null!==(n=null==e?void 0:e.plugins)&&void 0!==n?n:[];0!==r.length&&r.forEach(e=>{var n;e.__isOptionsFunction&&(e=e()),t=[...t,...k([null!==(n=null==e?void 0:e.config)&&void 0!==n?n:{}])]})}),t}function O(e){return[...e].reduceRight((e,t)=>g(t)?t({corePlugins:e}):(0,i.default)(t,e),o.default)}function A(e){return[...e].reduceRight((e,t)=>[...e,...t],[])}function I(e){var t,n;let r=[...k(e),{prefix:"",important:!1,separator:":"}];return(0,c.normalizeConfig)((0,s.defaults)({theme:_(E(S(r.map(e=>null!==(t=null==e?void 0:e.theme)&&void 0!==t?t:{})))),corePlugins:O(r.map(e=>e.corePlugins)),plugins:A(e.map(e=>null!==(n=null==e?void 0:e.plugins)&&void 0!==n?n:[]))},...r))}},85471:function(e,t){"use strict";function n(e,t){let n=[],r=[],o=0,i=!1;for(let a=0;a<e.length;a++){let s=e[a];0!==n.length||s!==t[0]||i||1!==t.length&&e.slice(a,a+t.length)!==t||(r.push(e.slice(o,a)),o=a+t.length),i=!i&&"\\"===s,"("===s||"["===s||"{"===s?n.push(s):(")"===s&&"("===n[n.length-1]||"]"===s&&"["===n[n.length-1]||"}"===s&&"{"===n[n.length-1])&&n.pop()}return r.push(e.slice(o)),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return n}})},8810:function(e,t){"use strict";function n(e){return"function"==typeof e?e({}):e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},78507:function(e,t){"use strict";function n(e){if(Array.isArray(e))return e;if(e.split("[").length-1!=e.split("]").length-1)throw Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toPath",{enumerable:!0,get:function(){return n}})},4472:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return i}});let r=n(9936),o=n(85471);function i(e){let t=["cover","contain"];return(0,o.splitAtTopLevelOnly)(e,",").every(e=>{let n=(0,o.splitAtTopLevelOnly)(e,"_").filter(Boolean);return!!(1===n.length&&t.includes(n[0]))||(1===n.length||2===n.length)&&n.every(e=>(0,r.length)(e)||(0,r.percentage)(e)||"auto"===e)})}},53455:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{withAlphaValue:function(){return o},default:function(){return i}});let r=n(92506);function o(e,t,n){if("function"==typeof e)return e({opacityValue:t});let o=(0,r.parseColor)(e,{loose:!0});return null===o?n:(0,r.formatColor)({...o,alpha:t})}function i({color:e,property:t,variable:n}){let o=[].concat(t);if("function"==typeof e)return{[n]:"1",...Object.fromEntries(o.map(t=>[t,e({opacityVariable:n,opacityValue:`var(${n})`})]))};let i=(0,r.parseColor)(e);return null===i?Object.fromEntries(o.map(t=>[t,e])):void 0!==i.alpha?Object.fromEntries(o.map(t=>[t,e])):{[n]:"1",...Object.fromEntries(o.map(e=>[e,(0,r.formatColor)({...i,alpha:`var(${n})`})]))}}},75730:function(e,t,n){let r=n(38121);e.exports=(r.__esModule?r:{default:r}).default},86503:function(e){e.exports={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}},80480:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},33569:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return i},__asyncDelegator:function(){return w},__asyncGenerator:function(){return b},__asyncValues:function(){return S},__await:function(){return y},__awaiter:function(){return u},__classPrivateFieldGet:function(){return _},__classPrivateFieldSet:function(){return k},__createBinding:function(){return f},__decorate:function(){return s},__exportStar:function(){return p},__extends:function(){return o},__generator:function(){return d},__importDefault:function(){return C},__importStar:function(){return E},__makeTemplateObject:function(){return x},__metadata:function(){return c},__param:function(){return l},__read:function(){return m},__rest:function(){return a},__spread:function(){return g},__spreadArrays:function(){return v},__values:function(){return h}});/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(i){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}function f(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function p(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{l(o[e](t))}catch(e){d(i[0][3],e)}}function l(e){e.value instanceof y?Promise.resolve(e.value.v).then(c,u):d(i[0][2],e)}function c(e){s("next",e)}function u(e){s("throw",e)}function d(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){o(r,i,(t=e[n](t)).done,t.value)})}}function o(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}function _(e,t){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)}function k(e,t,n){if(!t.has(e))throw TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},88802:function(e,t,n){"use strict";n.d(t,{pi:function(){return r},pr:function(){return o}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}},51577:function(e,t,n){var r,o,i,a=[].slice;!function(a,s){null!=n.amdO?(o=[],void 0!==(i="function"==typeof(r=s)?r.apply(t,o):r)&&(e.exports=i)):null!==t?e.exports=s():a.UrlPattern=s()}(this,function(){var e,t,n,r,o,i,s,l,c,u,d,f,p,h,m;return c=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},s=function(e,t){var n,r,o;for(o=[],n=-1,r=e.length;++n<r;)o=o.concat(t(e[n]));return o},h=function(e,t){var n,r,o;for(o="",n=-1,r=e.length;++n<r;)o+=t(e[n]);return o},p=function(e){return RegExp(e.toString()+"|").exec("").length-1},d=function(e,t){var n,r,o,i,a;for(i={},n=-1,o=e.length;++n<o;)r=e[n],null!=(a=t[n])&&(null!=i[r]?(Array.isArray(i[r])||(i[r]=[i[r]]),i[r].push(a)):i[r]=a);return i},(e={}).Result=function(e,t){this.value=e,this.rest=t},e.Tagged=function(e,t){this.tag=e,this.value=t},e.tag=function(t,n){return function(r){var o,i;if(null!=(o=n(r)))return i=new e.Tagged(t,o.value),new e.Result(i,o.rest)}},e.regex=function(t){return function(n){var r,o;if(null!=(r=t.exec(n)))return o=r[0],new e.Result(o,n.slice(o.length))}},e.sequence=function(){var t;return t=1<=arguments.length?a.call(arguments,0):[],function(n){var r,o,i,a,s;for(r=-1,o=t.length,s=[],i=n;++r<o;){if(null==(a=(0,t[r])(i)))return;s.push(a.value),i=a.rest}return new e.Result(s,i)}},e.pick=function(){var t,n;return t=arguments[0],n=2<=arguments.length?a.call(arguments,1):[],function(r){var o,i;if(null!=(i=e.sequence.apply(e,n)(r)))return o=i.value,i.value=o[t],i}},e.string=function(t){var n;return n=t.length,function(r){if(r.slice(0,n)===t)return new e.Result(t,r.slice(n))}},e.lazy=function(e){var t;return t=null,function(n){return null==t&&(t=e()),t(n)}},e.baseMany=function(t,n,r,o,i){var a,s,l;for(s=i,l=r?"":[];(null==n||null==n(s))&&null!=(a=t(s));)r?l+=a.value:l.push(a.value),s=a.rest;if(!o||0!==l.length)return new e.Result(l,s)},e.many1=function(t){return function(n){return e.baseMany(t,null,!1,!0,n)}},e.concatMany1Till=function(t,n){return function(r){return e.baseMany(t,n,!0,!0,r)}},e.firstChoice=function(){var e;return e=1<=arguments.length?a.call(arguments,0):[],function(t){var n,r,o;for(n=-1,r=e.length;++n<r;)if(null!=(o=(0,e[n])(t)))return o}},f=function(t){var n;return(n={}).wildcard=e.tag("wildcard",e.string(t.wildcardChar)),n.optional=e.tag("optional",e.pick(1,e.string(t.optionalSegmentStartChar),e.lazy(function(){return n.pattern}),e.string(t.optionalSegmentEndChar))),n.name=e.regex(RegExp("^["+t.segmentNameCharset+"]+")),n.named=e.tag("named",e.pick(1,e.string(t.segmentNameStartChar),e.lazy(function(){return n.name}))),n.escapedChar=e.pick(1,e.string(t.escapeChar),e.regex(/^./)),n.static=e.tag("static",e.concatMany1Till(e.firstChoice(e.lazy(function(){return n.escapedChar}),e.regex(/^./)),e.firstChoice(e.string(t.segmentNameStartChar),e.string(t.optionalSegmentStartChar),e.string(t.optionalSegmentEndChar),n.wildcard))),n.token=e.lazy(function(){return e.firstChoice(n.wildcard,n.optional,n.named,n.static)}),n.pattern=e.many1(e.lazy(function(){return n.token})),n},l={escapeChar:"\\",segmentNameStartChar:":",segmentValueCharset:"a-zA-Z0-9-_~ %",segmentNameCharset:"a-zA-Z0-9",optionalSegmentStartChar:"(",optionalSegmentEndChar:")",wildcardChar:"*"},i=function(e,t){if(Array.isArray(e))return h(e,function(e){return i(e,t)});switch(e.tag){case"wildcard":return"(.*?)";case"named":return"(["+t+"]+)";case"static":return c(e.value);case"optional":return"(?:"+i(e.value,t)+")?"}},o=function(e,t){return null==t&&(t=l.segmentValueCharset),"^"+i(e,t)+"$"},r=function(e){if(Array.isArray(e))return s(e,r);switch(e.tag){case"wildcard":return["_"];case"named":return[e.value];case"static":return[];case"optional":return r(e.value)}},u=function(e,t,n,r){var o,i,a;if(null==r&&(r=!1),null==(a=e[t])){if(!r)return;throw Error("no values provided for key `"+t+"`")}if((o=n[t]||0)>(Array.isArray(a)?a.length-1:0)){if(!r)return;throw Error("too few values provided for key `"+t+"`")}return i=Array.isArray(a)?a[o]:a,r&&(n[t]=o+1),i},n=function(e,t,r){var o,i;if(Array.isArray(e)){for(o=-1,i=e.length;++o<i;)if(n(e[o],t,r))return!0;return!1}switch(e.tag){case"wildcard":return null!=u(t,"_",r,!1);case"named":return null!=u(t,e.value,r,!1);case"static":return!1;case"optional":return n(e.value,t,r)}},m=function(e,t,r){if(Array.isArray(e))return h(e,function(e){return m(e,t,r)});switch(e.tag){case"wildcard":return u(t,"_",r,!0);case"named":return u(t,e.value,r,!0);case"static":return e.value;case"optional":if(n(e.value,t,r))return m(e.value,t,r);return""}},(t=function(e,n){var i,a,s;if(e instanceof t){this.isRegex=e.isRegex,this.regex=e.regex,this.ast=e.ast,this.names=e.names;return}if(this.isRegex=e instanceof RegExp,!("string"==typeof e||this.isRegex))throw TypeError("argument must be a regex or a string");if(this.isRegex){if(this.regex=e,null!=n){if(!Array.isArray(n))throw Error("if first argument is a regex the second argument may be an array of group names but you provided something else");if(i=p(this.regex),n.length!==i)throw Error("regex contains "+i+" groups but array of group names contains "+n.length);this.names=n}return}if(""===e)throw Error("argument must not be the empty string");if(e.replace(/\s+/g,"")!==e)throw Error("argument must not contain whitespace");if(null==(s=f(a={escapeChar:(null!=n?n.escapeChar:void 0)||l.escapeChar,segmentNameStartChar:(null!=n?n.segmentNameStartChar:void 0)||l.segmentNameStartChar,segmentNameCharset:(null!=n?n.segmentNameCharset:void 0)||l.segmentNameCharset,segmentValueCharset:(null!=n?n.segmentValueCharset:void 0)||l.segmentValueCharset,optionalSegmentStartChar:(null!=n?n.optionalSegmentStartChar:void 0)||l.optionalSegmentStartChar,optionalSegmentEndChar:(null!=n?n.optionalSegmentEndChar:void 0)||l.optionalSegmentEndChar,wildcardChar:(null!=n?n.wildcardChar:void 0)||l.wildcardChar}).pattern(e)))throw Error("couldn't parse pattern");if(""!==s.rest)throw Error("could only partially parse pattern");this.ast=s.value,this.regex=new RegExp(o(this.ast,a.segmentValueCharset)),this.names=r(this.ast)}).prototype.match=function(e){var t,n;return null==(n=this.regex.exec(e))?null:(t=n.slice(1),this.names)?d(this.names,t):t},t.prototype.stringify=function(e){if(null==e&&(e={}),this.isRegex)throw Error("can't stringify patterns generated from a regex");if(e!==Object(e))throw Error("argument must be an object or undefined");return m(this.ast,e,{})},t.escapeForRegex=c,t.concatMap=s,t.stringConcatMap=h,t.regexGroupCount=p,t.keysAndValuesToObject=d,t.P=e,t.newParser=f,t.defaultOptions=l,t.astNodeToRegexString=o,t.astNodeToNames=r,t.getParam=u,t.astNodeContainsSegmentsForProvidedParams=n,t.stringify=m,t})},13005:function(e,t,n){"use strict";/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(44194);function o(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var i="function"==typeof Object.is?Object.is:o,a=r.useState,s=r.useEffect,l=r.useLayoutEffect,c=r.useDebugValue;function u(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return l(function(){o.value=n,o.getSnapshot=t,d(o)&&i({inst:o})},[e,n,t]),s(function(){return d(o)&&i({inst:o}),e(function(){d(o)&&i({inst:o})})},[e]),c(n),n}function d(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}function f(e,t){return t()}var p="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?f:u;t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:p},89312:function(e,t,n){"use strict";/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(44194),o=n(48218);function i(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var a="function"==typeof Object.is?Object.is:i,s=o.useSyncExternalStore,l=r.useRef,c=r.useEffect,u=r.useMemo,d=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=l(null);if(null===i.current){var f={hasValue:!1,value:null};i.current=f}else f=i.current;var p=s(e,(i=u(function(){function e(e){if(!l){if(l=!0,i=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,s=n)}var i,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,o]))[0],i[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}},48218:function(e,t,n){"use strict";e.exports=n(13005)},67591:function(e,t,n){"use strict";e.exports=n(89312)},14527:function(e,t,n){"use strict";/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(44194);function o(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var i="function"==typeof Object.is?Object.is:o,a=r.useState,s=r.useEffect,l=r.useLayoutEffect,c=r.useDebugValue;function u(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return l(function(){o.value=n,o.getSnapshot=t,d(o)&&i({inst:o})},[e,n,t]),s(function(){return d(o)&&i({inst:o}),e(function(){d(o)&&i({inst:o})})},[e]),c(n),n}function d(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}function f(e,t){return t()}var p="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?f:u;t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:p},72744:function(e,t,n){"use strict";/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(44194),o=n(38645);function i(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var a="function"==typeof Object.is?Object.is:i,s=o.useSyncExternalStore,l=r.useRef,c=r.useEffect,u=r.useMemo,d=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=l(null);if(null===i.current){var f={hasValue:!1,value:null};i.current=f}else f=i.current;var p=s(e,(i=u(function(){function e(e){if(!l){if(l=!0,i=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,s=n)}var i,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,o]))[0],i[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}},38645:function(e,t,n){"use strict";e.exports=n(14527)},81136:function(e,t,n){"use strict";e.exports=n(72744)},54012:function(e,t,n){function r(e,t){if(o("noDeprecation"))return e;var n=!1;return function(){if(!n){if(o("throwDeprecation"))throw Error(t);o("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}function o(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=r},41925:function(e,t,n){var r=n(26575),o=n(29868),i=o;i.v1=r,i.v4=o,e.exports=i},21572:function(e){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);function r(e,n){var r=n||0,o=t;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}e.exports=r},39267:function(e){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=Array(16);e.exports=function(){for(var e,t=0;t<16;t++)(3&t)==0&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},26575:function(e,t,n){var r,o,i=n(39267),a=n(21572),s=0,l=0;function c(e,t,n){var c=t&&n||0,u=t||[],d=(e=e||{}).node||r,f=void 0!==e.clockseq?e.clockseq:o;if(null==d||null==f){var p=i();null==d&&(d=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==f&&(f=o=(p[6]<<8|p[7])&16383)}var h=void 0!==e.msecs?e.msecs:new Date().getTime(),m=void 0!==e.nsecs?e.nsecs:l+1,g=h-s+(m-l)/1e4;if(g<0&&void 0===e.clockseq&&(f=f+1&16383),(g<0||h>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,l=m,o=f;var v=((268435455&(h+=122192928e5))*1e4+m)%4294967296;u[c++]=v>>>24&255,u[c++]=v>>>16&255,u[c++]=v>>>8&255,u[c++]=255&v;var y=h/4294967296*1e4&268435455;u[c++]=y>>>8&255,u[c++]=255&y,u[c++]=y>>>24&15|16,u[c++]=y>>>16&255,u[c++]=f>>>8|128,u[c++]=255&f;for(var b=0;b<6;++b)u[c+b]=d[b];return t||a(u)}e.exports=c},29868:function(e,t,n){var r=n(39267),o=n(21572);function i(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}e.exports=i},70810:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return c}});var o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let i=new Uint8Array(16);function a(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}let s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));function l(e,t=0){return s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]}var c=function(e,t,n){if(o.randomUUID&&!t&&!e)return o.randomUUID();let r=(e=e||{}).random||(e.rng||a)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return l(r)}},63229:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},62118:function(e){"use strict";var t=function(){};e.exports=t},5626:function(e,t){"use strict";function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function r(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function i(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.defineProperty(t,"__esModule",{value:!0}),/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.__assign.apply(this,arguments)},t.__read=o,t.__rest=n,t.__spreadArray=i,t.__values=r},19483:function(e,t,n){"use strict";r={value:!0};var r,o=n(5626),i={timeout:1e4};function a(e,t,n){var r=o.__assign(o.__assign({},i),n);return new Promise(function(n,o){var i=!1,a=r.timeout===1/0?void 0:setTimeout(function(){l.unsubscribe(),o(Error("Timeout of ".concat(r.timeout," ms exceeded")))},r.timeout),s=function(){clearTimeout(a),i=!0,null==l||l.unsubscribe()},l=e.subscribe({next:function(e){t(e)&&(s(),n(e))},error:function(e){s(),o(e)},complete:function(){s(),o(Error("Actor terminated without satisfying predicate"))}});i&&l.unsubscribe()})}t.x=a},31693:function(e){e.exports=n;var t=Object.prototype.hasOwnProperty;function n(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var o in r)t.call(r,o)&&(e[o]=r[o])}return e}},13610:function(e,t,n){var r={"./1.svg":[75420,5420],"./2.svg":[94064,4064],"./3.svg":[14653,4653],"./4.svg":[94042,4042],"./5.svg":[44084,4084],"./6-express.svg":[7281,7281],"./6.svg":[38211,8211],"./7-express.svg":[67453,7453],"./7.svg":[15114,5114],"./a.svg":[68485,8485],"./b.svg":[16242,6242],"./bakerloo.svg":[99364,9364],"./c.svg":[45234,5234],"./central.svg":[65671,5671],"./circle.svg":[20500,500],"./d.svg":[76611,6611],"./district.svg":[74450,4450],"./dlr.svg":[66421,6421],"./e.svg":[71439,1439],"./elizabeth-line.svg":[4785,4785],"./f-express.svg":[71810,1810],"./f.svg":[80781,781],"./g.svg":[65305,5305],"./hammersmith-city.svg":[64143,4143],"./j.svg":[22118,2118],"./jubilee.svg":[16207,6207],"./l.svg":[4885,4885],"./london-overground.svg":[84278,4278],"./m.svg":[94694,4694],"./metro-1.svg":[76650,6650],"./metro-10.svg":[14881,4881],"./metro-11.svg":[88950,8950],"./metro-12.svg":[68917,8917],"./metro-13.svg":[19813,9813],"./metro-14.svg":[33173,3173],"./metro-2.svg":[16703,6703],"./metro-3.svg":[90265,265],"./metro-3b.svg":[91907,1907],"./metro-4.svg":[96011,6011],"./metro-5.svg":[93671,3671],"./metro-6.svg":[14888,4888],"./metro-7.svg":[98327,8327],"./metro-7b.svg":[18279,8279],"./metro-8.svg":[99374,9374],"./metro-9.svg":[13507,3507],"./metro-fun.svg":[2195,2195],"./metropolitan.svg":[15748,5748],"./n.svg":[42503,2503],"./northern.svg":[82221,2221],"./piccadilly.svg":[98209,8209],"./q.svg":[31461,1461],"./r.svg":[4033,4033],"./rer-a.svg":[66240,6240],"./rer-b.svg":[69766,9766],"./rer-c.svg":[98753,8753],"./rer-d.svg":[49479,9479],"./rer-e.svg":[60636,636],"./s.svg":[47174,7174],"./t.svg":[96929,6929],"./train.svg":[52629],"./tramway-t1.svg":[6620,6620],"./tramway-t11.svg":[96996,6996],"./tramway-t2.svg":[63106,3106],"./tramway-t3a.svg":[56785,6785],"./tramway-t3b.svg":[67251,7251],"./tramway-t4.svg":[55531,5531],"./tramway-t5.svg":[56337,6337],"./tramway-t6.svg":[50156,156],"./tramway-t7.svg":[35302,5302],"./tramway-t8.svg":[10778,778],"./tramway-t9.svg":[85303,5303],"./transilien-h.svg":[86429,6429],"./transilien-j.svg":[70543,543],"./transilien-k.svg":[77107,7107],"./transilien-l.svg":[13702,3702],"./transilien-n.svg":[74589,4589],"./transilien-p.svg":[66672,6672],"./transilien-r.svg":[11624,1624],"./transilien-u.svg":[94786,4786],"./victoria.svg":[59630,9630],"./w.svg":[12969,2969],"./waterloo-city.svg":[22733,2733],"./z.svg":[66041,6041]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n(o)})}o.keys=function(){return Object.keys(r)},o.id=13610,e.exports=o},91483:function(){},15325:function(){},22810:function(){},25036:function(e,t,n){var r=n(93731);function o(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},55552:function(e){function t(e){return e&&e.__esModule?e:{default:e}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},10345:function(e,t,n){var r=n(25036);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},44024:function(e,t,n){var r=n(19695).default;function o(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},93731:function(e,t,n){var r=n(19695).default,o=n(44024);function i(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},19695:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},84700:function(e,t,n){var r=n(90644);function o(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},44043:function(e){function t(e){return e&&e.__esModule?e:{default:e}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},47641:function(e,t,n){var r=n(84700);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},10695:function(e,t,n){var r=n(48048).default;function o(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},90644:function(e,t,n){var r=n(48048).default,o=n(10695);function i(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},48048:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},51865:function(e,t){var n;/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0!==(n=(function(){return o}).apply(t,[]))&&(e.exports=n)}()},68516:function(e,t,n){"use strict";n.d(t,{R:function(){return f}});var r=n(43112),o=n(96181),i=n(53576),a=n(62756),s=n(79624),l=n(31467),c=n(23530),u=n(24397),d=n(91215),f=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.re)(i.Yk,{max:a.Q["cache.fragmentQueryDocuments"]||1e3,cache:c.k})}return e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(n)},r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.pi)((0,r.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,o=e.fragment,i=e.fragmentName,a=e.from,c=e.optimistic,u=void 0===c||c,f={returnPartialData:!0,id:"string"==typeof a?a:this.identify(a),query:this.getFragmentDoc(o,i),optimistic:u};return new s.y(function(e){return n.watch((0,r.pi)((0,r.pi)({},f),{immediate:!0,query:n.getFragmentDoc(o,i),callback:function(n){if(!(0,d.D)(n,t)){var r={data:n.result,complete:!!n.complete};n.missing&&(r.missing=(0,l.bw)(n.missing.map(function(e){return e.missing}))),t=n,e.next(r)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.pi)((0,r.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,o=(0,r._T)(e,["id","data"]);return this.write(Object.assign(o,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,o=e.fragment,i=e.fragmentName,a=(0,r._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(o,i),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var o=n.readQuery(e),i=t(o);return null==i?o:(n.writeQuery((0,r.pi)((0,r.pi)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var o=n.readFragment(e),i=t(o);return null==i?o:(n.writeFragment((0,r.pi)((0,r.pi)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(f.prototype.getMemoryInternals=u.Kb)},34711:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(43112),o=function(e){function t(n,r,o,i){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=o,s.variables=i,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)s.missing=((a={})[s.path[l]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,r.ZT)(t,e),t}(Error)},29594:function(e,t,n){"use strict";n.d(t,{$O:function(){return y},E_:function(){return b},Is:function(){return E},RC:function(){return w},RI:function(){return d},ig:function(){return x},j:function(){return S},jS:function(){return m},jp:function(){return v},lg:function(){return g},uG:function(){return p}});var r=n(85101),o=n(64065),i=n(52492),a=n(57295),s=n(89126),l=n(31467),c=n(53576),u=n(42821),d=Object.prototype.hasOwnProperty;function f(e){return null==e}function p(e,t){var n=e.__typename,r=e.id,o=e._id;if("string"==typeof n&&(t&&(t.keyObject=f(r)?f(o)?void 0:{_id:o}:{id:r}),f(r)&&!f(o)&&(r=o),!f(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var h={dataIdFromObject:p,addTypename:!0,resultCaching:!0,canonizeResults:!1};function m(e){return(0,r.o)(h,e)}function g(e){var t=e.canonizeResults;return void 0===t?h.canonizeResults:t}function v(e,t){return(0,o.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var y=/^[_a-z][_0-9a-z]*/i;function b(e){var t=e.match(y);return t?t[0]:e}function w(e,t,n){return!!(0,i.s)(t)&&((0,a.k)(t)?t.every(function(t){return w(e,t,n)}):e.selections.every(function(e){if((0,o.My)(e)&&(0,s.LZ)(e,n)){var r=(0,o.u2)(e);return d.call(t,r)&&(!e.selectionSet||w(e.selectionSet,t[r],n))}return!0}))}function S(e){return(0,i.s)(e)&&!(0,o.Yk)(e)&&!(0,a.k)(e)}function x(){return new l.w0}function E(e,t){var n=(0,c.F)((0,u.kU)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}},3576:function(e,t,n){"use strict";n.d(t,{h:function(){return eS}});var r=n(43112),o=n(77821),i=n(96181),a=n(91215),s=n(68516),l=n(34711),c=n(56050),u=n(43308),d=n(62756),f=n(80399),p=n(99152),h=n(64065),m=n(16334),g=n(76337),v=n(85101),y=n(42821),b=n(31467),w=n(89126),S=n(53576),x=n(47902),E=n(52492),C=n(31356),_=n(29594),k=Object.create(null),O=function(){return k},A=Object.create(null),I=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,x.J)((0,h.Yk)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,h.Yk)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,h.kQ)(e);if((0,h.Yk)(e))return e;var r=n.policies.identify(e)[0];if(r){var o=(0,h.kQ)(r);return t&&n.merge(r,e),o}}}return e.prototype.toObject=function(){return(0,r.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),_.RI.call(this.data,e)){var n=this.data[e];if(n&&_.RI.call(n,t))return n[t]}return"__typename"===t&&_.RI.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof M?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),_.RI.call(this.data,e))?this.data[e]:this instanceof M?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,h.Yk)(e)&&(e=e.__ref),(0,h.Yk)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(n=e):e,a="string"==typeof t?this.lookup(n=t):t;if(a){(0,o.kG)("string"==typeof n,1);var s=new b.w0(j).merge(i,a);if(this.data[n]=s,s!==i&&(delete this.refs[n],this.group.caching)){var l=Object.create(null);i||(l.__exists=1),Object.keys(a).forEach(function(e){if(!i||i[e]!==s[e]){l[e]=1;var t=(0,_.E_)(e);t===e||r.policies.hasKeyArgs(s.__typename,t)||(l[t]=1),void 0!==s[e]||r instanceof M||delete s[e]}}),l.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[n]===s.__typename&&delete l.__typename,Object.keys(l).forEach(function(e){return r.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,i=this.lookup(e);if(i){var a=Object.create(null),s=!1,l=!0,c={DELETE:k,INVALIDATE:A,isReference:h.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||(0,h.kQ)(e)}:t,{store:n})}};if(Object.keys(i).forEach(function(u){var d=(0,_.E_)(u),f=i[u];if(void 0!==f){var p="function"==typeof t?t:t[u]||t[d];if(p){var m=p===O?k:p((0,x.J)(f),(0,r.pi)((0,r.pi)({},c),{fieldName:d,storeFieldName:u,storage:n.getStorage(e,u)}));if(m===A)n.group.dirty(e,u);else if(m===k&&(m=void 0),m!==f&&(a[u]=m,s=!0,f=m,!1!==globalThis.__DEV__)){var g=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&o.kG.warn(2,e),!0};if((0,h.Yk)(m))g(m);else if(Array.isArray(m))for(var v=!1,y=void 0,b=0,w=m;b<w.length;b++){var S=w[b];if((0,h.Yk)(S)){if(v=!0,g(S))break}else"object"==typeof S&&S&&n.policies.identify(S)[0]&&(y=S);if(v&&void 0!==y){!1!==globalThis.__DEV__&&o.kG.warn(3,y);break}}}}void 0!==f&&(l=!1)}}),s)return this.merge(e,a),l&&(this instanceof M?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,o=this.lookup(e);if(o){var i=this.getFieldValue(o,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:i,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=O,r):O)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(_.RI.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof M&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach(function(t){_.RI.call(e.policies.rootTypenamesById,t)||n.push(t)}),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(n){e&&_.RI.call(e,n)||t.delete(n)}),e){var n=e.__META,o=(0,r._T)(e,["__META"]);Object.keys(o).forEach(function(e){t.merge(e,o[e])}),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof M?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach(function(r){_.RI.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])});var r=Object.keys(n);if(r.length){for(var o=this;o instanceof M;)o=o.parent;r.forEach(function(e){return o.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!_.RI.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach(function(e){(0,h.Yk)(e)&&(t[e.__ref]=!0),(0,E.s)(e)&&Object.keys(e).forEach(function(t){var n=e[t];(0,E.s)(n)&&r.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),P=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,i.dP)():null,this.keyMaker=new C.B(g.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(T(e,t));var n=(0,_.E_)(t);n!==t&&this.d(T(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(T(e,t),"__exists"===t?"forget":"setDirty")},e}();function T(e,t){return t+"#"+e}function R(e,t){D(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,o=void 0===r||r,i=t.seed,a=e.call(this,n,new P(o))||this;return a.stump=new N(a),a.storageTrie=new C.B(g.mr),i&&a.replace(i),a}return(0,r.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(I||(I={}));var M=function(e){function t(t,n,r,o){var i=e.call(this,n.policies,o)||this;return i.id=t,i.parent=n,i.replay=r,i.group=o,r(i),i}return(0,r.ZT)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var r=t.data[e],o=n.lookup(e);o?r?r!==o&&Object.keys(r).forEach(function(n){(0,a.D)(r[n],o[n])||t.group.dirty(e,n)}):(t.group.dirty(e,"__exists"),Object.keys(o).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,r.pi)((0,r.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return _.RI.call(this.data,t)?(0,r.pi)((0,r.pi)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(I),N=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new P(t.group.caching,t.group))||this}return(0,r.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(M);function j(e,t,n){var r=e[n],o=t[n];return(0,a.D)(r,o)?r:o}function D(e){return!!(e instanceof I&&e.group.caching)}var L=n(57295);function B(e){return(0,E.s)(e)?(0,L.k)(e)?e.slice(0):(0,r.pi)({__proto__:Object.getPrototypeOf(e)},e):e}var Z=function(){function e(){this.known=new(g.sy?WeakSet:Set),this.pool=new C.B(g.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,E.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,E.s)(e)){var t=B(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,E.s)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var r=e.map(this.admit,this),o=this.pool.lookupArray(r);return o.array||(this.known.add(o.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),o.array;case null:case Object.prototype:if(this.known.has(e))break;var i=Object.getPrototypeOf(e),a=[i],s=this.sortedKeys(e);a.push(s.json);var l=a.length;s.sorted.forEach(function(n){a.push(t.admit(e[n]))});var o=this.pool.lookupArray(a);if(!o.object){var c=o.object=Object.create(i);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=a[l+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return o.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}();function F(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var z=function(){function e(e){var t=this;this.knownResults=new(g.mr?WeakMap:Map),this.config=(0,v.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,_.lg)(e)}),this.canon=e.canon||new Z,this.executeSelectionSet=(0,i.re)(function(e){var n,o=e.context.canonizeResults,i=F(e);i[3]=!o;var a=(n=t.executeSelectionSet).peek.apply(n,i);return a?o?(0,r.pi)((0,r.pi)({},a),{result:t.canon.admit(a.result)}):a:(R(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||d.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:F,makeCacheKey:function(e,t,n,r){if(D(n.store))return n.store.makeCacheKey(e,(0,h.Yk)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,i.re)(function(e){return R(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||d.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(D(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Z},e.prototype.diffQueryAgainstStore=function(e){var t,n=e.store,o=e.query,i=e.rootId,a=void 0===i?"ROOT_QUERY":i,s=e.variables,c=e.returnPartialData,u=void 0===c||c,d=e.canonizeResults,p=void 0===d?this.config.canonizeResults:d,m=this.config.cache.policies;s=(0,r.pi)((0,r.pi)({},(0,y.O4)((0,y.iW)(o))),s);var g=(0,h.kQ)(a),v=this.executeSelectionSet({selectionSet:(0,y.p$)(o).selectionSet,objectOrReference:g,enclosingRef:g,context:(0,r.pi)({store:n,query:o,policies:m,variables:s,varString:(0,f.B)(s),canonizeResults:p},(0,_.Is)(o,this.config.fragments))});if(v.missing&&(t=[new l.y(U(v.missing),v.missing,o,s)],!u))throw t[0];return{result:v.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,n,r){if(D(r.store)&&this.knownResults.get(e)===n){var o=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,n=this,r=e.selectionSet,i=e.objectOrReference,a=e.enclosingRef,s=e.context;if((0,h.Yk)(i)&&!s.policies.rootTypenamesById[i.__ref]&&!s.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var l=s.variables,c=s.policies,d=s.store.getFieldValue(i,"__typename"),f=[],p=new b.w0;function g(e,n){var r;return e.missing&&(t=p.merge(t,((r={})[n]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof d&&!c.rootIdsByTypename[d]&&f.push({__typename:d});var v=new Set(r.selections);v.forEach(function(e){var r,y;if((0,w.LZ)(e,l)){if((0,h.My)(e)){var b=c.readField({fieldName:e.name.value,field:e,variables:s.variables,from:i},s),x=(0,h.u2)(e);void 0===b?u.Gw.added(e)||(t=p.merge(t,((r={})[x]="Can't find field '".concat(e.name.value,"' on ").concat((0,h.Yk)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),r))):(0,L.k)(b)?b.length>0&&(b=g(n.executeSubSelectedArray({field:e,array:b,enclosingRef:a,context:s}),x)):e.selectionSet?null!=b&&(b=g(n.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,h.Yk)(b)?b:a,context:s}),x)):s.canonizeResults&&(b=n.canon.pass(b)),void 0!==b&&f.push(((y={})[x]=b,y))}else{var E=(0,S.hi)(e,s.lookupFragment);if(!E&&e.kind===m.h.FRAGMENT_SPREAD)throw(0,o._K)(9,e.name.value);E&&c.fragmentMatches(E,d)&&E.selectionSet.selections.forEach(v.add,v)}}});var y={result:(0,b.bw)(f),missing:t},E=s.canonizeResults?this.canon.admit(y):(0,x.J)(y);return E.result&&this.knownResults.set(E.result,r),E},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,i=e.enclosingRef,a=e.context,s=new b.w0;function l(e,n){var r;return e.missing&&(t=s.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(o=o.filter(a.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,L.k)(e)?l(n.executeSubSelectedArray({field:r,array:e,enclosingRef:i,context:a}),t):r.selectionSet?l(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,h.Yk)(e)?e:i,context:a}),t):(!1!==globalThis.__DEV__&&H(a.store,r,e),e)}),{result:a.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function U(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}function H(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(n){(0,E.s)(n)&&((0,o.kG)(!(0,h.Yk)(n),10,(0,_.jp)(e,n),t.name.value),Object.values(n).forEach(r.add,r))})}}var q=n(98061),V=n(15047),W=n(89244),$=Object.create(null);function G(e){var t=JSON.stringify(e);return $[t]||($[t]=Object.create(null))}function K(e){var t=G(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},i=n.keyObject=X(e,function(e){var i=ee(n.storeObject,e,r);return void 0===i&&t!==n.storeObject&&_.RI.call(t,e[0])&&(i=ee(t,e,J)),(0,o.kG)(void 0!==i,4,e.join("."),t),i});return"".concat(n.typename,":").concat(JSON.stringify(i))})}function Y(e){var t=G(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,o=n.variables,i=n.fieldName,a=JSON.stringify(X(e,function(e){var n=e[0],i=n.charAt(0);if("@"===i){if(r&&(0,L.O)(r.directives)){var a=n.slice(1),s=r.directives.find(function(e){return e.name.value===a}),l=s&&(0,h.NC)(s,o);return l&&ee(l,e.slice(1))}return}if("$"===i){var c=n.slice(1);if(o&&_.RI.call(o,c)){var u=e.slice(0);return u[0]=c,ee(o,u)}return}if(t)return ee(t,e)}));return(t||"{}"!==a)&&(i+=":"+a),i})}function X(e,t){var n=new b.w0;return Q(e).reduce(function(e,r){var o,i=t(r);if(void 0!==i){for(var a=r.length-1;a>=0;--a)(o={})[r[a]]=i,i=o;e=n.merge(e,i)}return e},Object.create(null))}function Q(e){var t=G(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(t,o){(0,L.k)(t)?(Q(t).forEach(function(e){return n.push(r.concat(e))}),r.length=0):(r.push(t),(0,L.k)(e[o+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function J(e,t){return e[t]}function ee(e,t,n){return n=n||J,et(t.reduce(function e(t,r){return(0,L.k)(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}function et(e){return(0,E.s)(e)?(0,L.k)(e)?e.map(et):X(Object.keys(e).sort(),function(t){return ee(e,t)}):e}function en(e){return void 0!==e.args?e.args:e.field?(0,h.NC)(e.field,e.variables):null}var er=function(){},eo=function(e,t){return t.fieldName},ei=function(e,t,n){return(0,n.mergeObjects)(e,t)},ea=function(e,t){return t},es=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,r.pi)({dataIdFromObject:_.uG},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,o,i=this,a=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s=t&&t.storeObject||e,l=(0,r.pi)((0,r.pi)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=ec(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=a&&this.getTypePolicy(a),u=c&&c.keyFn||this.config.dataIdFromObject;u;){var d=u((0,r.pi)((0,r.pi)({},e),s),l);if((0,L.k)(d))u=K(d);else{o=d;break}}return o=o?String(o):void 0,l.keyObject?[o,l.keyObject]:[o]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var o=e[n],i=o.queryType,a=o.mutationType,s=o.subscriptionType,l=(0,r._T)(o,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),a&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),_.RI.call(t.toBeAdded,n)?t.toBeAdded[n].push(l):t.toBeAdded[n]=[l]})},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),o=t.keyFields,i=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ei:!1===t?ea:e.merge}a(r,t.merge),r.keyFn=!1===o?er:(0,L.k)(o)?K(o):"function"==typeof o?o:r.keyFn,i&&Object.keys(i).forEach(function(t){var r=n.getFieldPolicy(e,t,!0),o=i[t];if("function"==typeof o)r.read=o;else{var s=o.keyArgs,l=o.read,c=o.merge;r.keyFn=!1===s?eo:(0,L.k)(s)?Y(s):"function"==typeof s?s:r.keyFn,"function"==typeof l&&(r.read=l),a(r,c)}r.read&&r.merge&&(r.keyFn=r.keyFn||eo)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,o.kG)(!r||r===e,5,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){t.getSupertypeSet(n,!0),e[n].forEach(function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(_.$O);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!_.RI.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var o=this.supertypeMap.get(e);!o&&this.fuzzySubtypes.size&&(o=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,r){if(n.test(e)){var i=t.supertypeMap.get(r);i&&i.forEach(function(e){return o.add(e)})}})),o&&o.size&&o.forEach(function(e){var o=t.getTypePolicy(e),i=o.fields;Object.assign(n,(0,r._T)(o,["fields"])),Object.assign(n.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(n){t.updateTypePolicy(e,n)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),l=[s],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>l.indexOf(t)&&l.push(t)},u=!!(n&&this.fuzzySubtypes.size),d=!1,f=0;f<l.length;++f){var p=l[f];if(p.has(a))return s.has(a)||(d&&!1!==globalThis.__DEV__&&o.kG.warn(6,t,a),s.add(a)),!0;p.forEach(c),u&&f===l.length-1&&(0,_.RC)(e.selectionSet,n,r)&&(u=!1,d=!0,this.fuzzySubtypes.forEach(function(e,n){var r=t.match(e);r&&r[0]===t&&c(n)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!!(n&&n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,o=this.getFieldPolicy(n,r,!1),i=o&&o.keyFn;if(i&&n)for(var a={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=en(e);i;){var l=i(s,a);if((0,L.k)(l))i=Y(l);else{t=l||r;break}}return(void 0===t&&(t=e.field?(0,h.vf)(e.field,e.variables):(0,h.PT)(r,en(e))),!1===t)?r:r===(0,_.E_)(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var o=this.getStoreFieldName(e),i=(0,_.E_)(o),a=t.store.getFieldValue(n,o),s=this.getFieldPolicy(e.typename,i,!1),l=s&&s.read;if(l){var c=el(this,n,e,t,t.store.getStorage((0,h.Yk)(n)?n.__ref:n,o));return W.ab.withValue(this.cache,l,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),o=r&&r.merge;return!o&&n&&(o=(r=this.getTypePolicy(n))&&r.merge),o},e.prototype.runMergeFunction=function(e,t,n,r,o){var i=n.field,a=n.typename,s=n.merge;return s===ei?eu(r.store)(e,t):s===ea?t:(r.overwrite&&(e=void 0),s(e,t,el(this,void 0,{typename:a,fieldName:i.name.value,field:i,variables:r.variables},r,o||Object.create(null))))},e}();function el(e,t,n,r,o){var i=e.getStoreFieldName(n),a=(0,_.E_)(i),s=n.variables||r.variables,l=r.store,c=l.toReference,u=l.canRead;return{args:en(n),field:n.field||null,fieldName:a,storeFieldName:i,variables:s,isReference:h.Yk,toReference:c,storage:o,cache:e.cache,canRead:u,readField:function(){return e.readField(ec(arguments,t,s),r)},mergeObjects:eu(r.store)}}function ec(e,t,n){var i,a=e[0],s=e[1],l=e.length;return"string"==typeof a?i={fieldName:a,from:l>1?s:t}:(i=(0,r.pi)({},a),_.RI.call(i,"from")||(i.from=t)),!1!==globalThis.__DEV__&&void 0===i.from&&!1!==globalThis.__DEV__&&o.kG.warn(7,(0,V.v)(Array.from(e))),void 0===i.variables&&(i.variables=n),i}function eu(e){return function(t,n){if((0,L.k)(t)||(0,L.k)(n))throw(0,o._K)(8);if((0,E.s)(t)&&(0,E.s)(n)){var i=e.getFieldValue(t,"__typename"),a=e.getFieldValue(n,"__typename");if(i&&a&&i!==a)return n;if((0,h.Yk)(t)&&(0,_.j)(n))return e.merge(t.__ref,n),t;if((0,_.j)(t)&&(0,h.Yk)(n))return e.merge(t,n.__ref),n;if((0,_.j)(t)&&(0,_.j)(n))return(0,r.pi)((0,r.pi)({},t),n)}return n}}function ed(e,t,n){var o="".concat(t).concat(n),i=e.flavors.get(o);return i||e.flavors.set(o,i=e.clientOnly===t&&e.deferred===n?e:(0,r.pi)((0,r.pi)({},e),{clientOnly:t,deferred:n})),i}var ef=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,i=t.query,a=t.result,s=t.dataId,l=t.variables,c=t.overwrite,u=(0,y.$H)(i),d=(0,_.ig)();l=(0,r.pi)((0,r.pi)({},(0,y.O4)(u)),l);var p=(0,r.pi)((0,r.pi)({store:e,written:Object.create(null),merge:function(e,t){return d.merge(e,t)},variables:l,varString:(0,f.B)(l)},(0,_.Is)(i,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),m=this.processSelectionSet({result:a||Object.create(null),dataId:s,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:p});if(!(0,h.Yk)(m))throw(0,o._K)(11,a);return p.incomingById.forEach(function(t,r){var o=t.storeObject,i=t.mergeTree,a=t.fieldNodeSet,s=(0,h.kQ)(r);if(i&&i.map.size){var l=n.applyMerges(i,s,o,p);if((0,h.Yk)(l))return;o=l}if(!1!==globalThis.__DEV__&&!p.overwrite){var c=Object.create(null);a.forEach(function(e){e.selectionSet&&(c[e.name.value]=!0)});var u=function(e){return!0===c[(0,_.E_)(e)]},d=function(e){var t=i&&i.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(o).forEach(function(e){u(e)&&!d(e)&&eb(s,o,e,p.store)})}e.merge(r,o)}),e.retain(m.__ref),m},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,i=e.result,a=e.selectionSet,s=e.context,l=e.mergeTree,c=this.cache.policies,d=Object.create(null),f=n&&c.rootTypenamesById[n]||(0,h.qw)(i,a,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"==typeof f&&(d.__typename=f);var p=function(){var e=ec(arguments,d,s.variables);if((0,h.Yk)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var n=c.readField((0,r.pi)((0,r.pi)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return c.readField(e,s)},m=new Set;this.flattenFields(a,i,s,f).forEach(function(e,n){var r,a=i[(0,h.u2)(n)];if(m.add(n),void 0!==a){var s=c.getStoreFieldName({typename:f,fieldName:n.name.value,field:n,variables:e.variables}),g=eh(l,s),v=t.processFieldValue(a,n,n.selectionSet?ed(e,!1,!1):e,g),y=void 0;n.selectionSet&&((0,h.Yk)(v)||(0,_.j)(v))&&(y=p("__typename",v));var b=c.getMergeFunction(f,n.name.value,y);b?g.info={field:n,typename:f,merge:b}:ev(l,s),d=e.merge(d,((r={})[s]=v,r))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||u.Gw.added(n)||c.getReadFunction(f,n.name.value)||!1===globalThis.__DEV__||o.kG.error(12,(0,h.u2)(n),i)});try{var g=c.identify(i,{typename:f,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:d,readField:p}),v=g[0],y=g[1];n=n||v,y&&(d=s.merge(d,y))}catch(e){if(!n)throw e}if("string"==typeof n){var b=(0,h.kQ)(n),w=s.written[n]||(s.written[n]=[]);if(w.indexOf(a)>=0||(w.push(a),this.reader&&this.reader.isFresh(i,b,a,s)))return b;var S=s.incomingById.get(n);return S?(S.storeObject=s.merge(S.storeObject,d),S.mergeTree=em(S.mergeTree,l),m.forEach(function(e){return S.fieldNodeSet.add(e)})):s.incomingById.set(n,{storeObject:d,mergeTree:eg(l)?void 0:l,fieldNodeSet:m}),b}return d},e.prototype.processFieldValue=function(e,t,n,r){var o=this;return t.selectionSet&&null!==e?(0,L.k)(e)?e.map(function(e,i){var a=o.processFieldValue(e,t,n,eh(r,i));return ev(r,i),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?(0,q.X)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,h.qw)(t,e,n.fragmentMap));var i=new Map,a=this.cache.policies,s=new C.B(!1);return function e(l,c){var u=s.lookup(l,c.clientOnly,c.deferred);u.visited||(u.visited=!0,l.selections.forEach(function(s){if((0,w.LZ)(s,n.variables)){var l=c.clientOnly,u=c.deferred;if(!(l&&u)&&(0,L.O)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(l=!0),"defer"===t){var r=(0,h.NC)(e,n.variables);r&&!1===r.if||(u=!0)}}),(0,h.My)(s)){var d=i.get(s);d&&(l=l&&d.clientOnly,u=u&&d.deferred),i.set(s,ed(n,l,u))}else{var f=(0,S.hi)(s,n.lookupFragment);if(!f&&s.kind===m.h.FRAGMENT_SPREAD)throw(0,o._K)(13,s.name.value);f&&a.fragmentMatches(f,r,t,n.variables)&&e(f.selectionSet,ed(n,l,u))}}}))}(e,n),i},e.prototype.applyMerges=function(e,t,n,i,a){var s=this;if(e.map.size&&!(0,h.Yk)(n)){var l,c,u=!(0,L.k)(n)&&((0,h.Yk)(t)||(0,_.j)(t))?t:void 0,d=n;u&&!a&&(a=[(0,h.Yk)(u)?u.__ref:u]);var f=function(e,t){return(0,L.k)(e)?"number"==typeof t?e[t]:void 0:i.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var n=f(u,t),r=f(d,t);if(void 0!==r){a&&a.push(t);var l=s.applyMerges(e,n,r,i,a);l!==r&&(c=c||new Map).set(t,l),a&&(0,o.kG)(a.pop()===t)}}),c&&(n=(0,L.k)(d)?d.slice(0):(0,r.pi)({},d),c.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,i,a&&(l=i.store).getStorage.apply(l,a)):n},e}(),ep=[];function eh(e,t){var n=e.map;return n.has(t)||n.set(t,ep.pop()||{map:new Map}),n.get(t)}function em(e,t){if(e===t||!t||eg(t))return e;if(!e||eg(e))return t;var n=e.info&&t.info?(0,r.pi)((0,r.pi)({},e.info),t.info):e.info||t.info,o=e.map.size&&t.map.size,i={info:n,map:o?new Map:e.map.size?e.map:t.map};if(o){var a=new Set(t.map.keys());e.map.forEach(function(e,n){i.map.set(n,em(e,t.map.get(n))),a.delete(n)}),a.forEach(function(n){i.map.set(n,em(t.map.get(n),e.map.get(n)))})}return i}function eg(e){return!e||!(e.info||e.map.size)}function ev(e,t){var n=e.map,r=n.get(t);r&&eg(r)&&(ep.push(r),n.delete(t))}var ey=new Set;function eb(e,t,n,r){var i=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},s=i(e);if(s){var l=i(t);if(!(!l||(0,h.Yk)(s)||(0,a.D)(s,l)||Object.keys(s).every(function(e){return void 0!==r.getFieldValue(l,e)}))){var c=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),u=(0,_.E_)(n),d="".concat(c,".").concat(u);if(!ey.has(d)){ey.add(d);var f=[];(0,L.k)(s)||(0,L.k)(l)||[s,l].forEach(function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||f.includes(t)||f.push(t)}),!1!==globalThis.__DEV__&&o.kG.warn(14,u,c,f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"",d,s,l)}}}}var ew=n(24397),eS=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new c.A(u.Gw),n.assumeImmutableResults=!0,n.makeVar=W.QS,n.txCount=0,n.config=(0,_.jS)(t),n.addTypename=!!n.config.addTypename,n.policies=new es({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,r.ZT)(t,e),t.prototype.init=function(){var e=this.data=new I.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new ef(this,this.storeReader=new z({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,_.lg)(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,i.re)(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||d.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(D(n)){var r=e.optimistic,o=e.id,i=e.variables;return n.makeCacheKey(e.query,e.callback,(0,f.B)({optimistic:r,id:o,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,r.pi)((0,r.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(e){if(e instanceof l.y)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(_.RI.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,r.pi)((0,r.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,W._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,W.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){f.B.reset(),p.S.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var t,n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,h.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&o.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(_.RI.call(e,"id"))return!1;e=(0,r.pi)((0,r.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),f.B.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,W.li)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,o=e.update,i=e.optimistic,a=void 0===i||i,s=e.removeOptimistic,l=e.onWatchUpdated,c=function(e){var r=n,i=r.data,a=r.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=o(n)}finally{--n.txCount,n.data=i,n.optimisticData=a}},u=new Set;return l&&!this.txCount&&this.broadcastWatches((0,r.pi)((0,r.pi)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),l&&u.size?(this.broadcastWatches((0,r.pi)((0,r.pi)({},e),{onWatchUpdated:function(e,t){var n=l.call(this,e,t);return!1!==n&&u.delete(e),n}})),u.size&&u.forEach(function(e){return n.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,r,n)))&&(n&&(0,a.D)(n.result,r.result)||e.callback(e.lastDiff=r,n))},t}(s.R);!1!==globalThis.__DEV__&&(eS.prototype.getMemoryInternals=ew.q4)},89244:function(e,t,n){"use strict";n.d(t,{QS:function(){return c},_v:function(){return l},ab:function(){return o},li:function(){return s}});var r=n(96181),o=new r.g7,i=new WeakMap;function a(e){var t=i.get(e);return t||i.set(e,t={vars:new Set,dep:(0,r.dP)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function l(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function c(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(r),u(e)});var l=Array.from(n);n.clear(),l.forEach(function(t){return t(e)})}}else{var c=o.getValue();c&&(i(c),a(c).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),a(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function u(e){e.broadcastWatches&&e.broadcastWatches()}},74215:function(e,t,n){"use strict";n.d(t,{f:function(){return J}});var r=n(43112),o=n(77821),i=n(76833),a=n(71880),s=n(58358),l=n(29309),c=n(91215),u=n(92002),d=n(89126),f=n(43308),p=n(80399),h=n(56050),m=n(79624);function g(e,t,n){return new m.y(function(r){var o={then:function(e){return new Promise(function(t){return t(e())})}};function i(e,t){return function(n){if(e){var i=function(){return r.closed?0:e(n)};o=o.then(i,i).then(function(e){return r.next(e)},function(e){return r.error(e)})}else r[t](n)}}var a={next:i(t,"next"),error:i(n,"error"),complete:function(){o.then(function(){return r.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}var v=n(57295);function y(e){var t=b(e);return(0,v.O)(t)}function b(e){var t=(0,v.O)(e.errors)?e.errors.slice(0):[];return(0,u.GG)(e)&&(0,v.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var w=n(42821),S=n(64065),x=n(52492),E=n(56009),C=n(18662),_=n(68109);function k(e){return e&&"function"==typeof e.then}var O=function(e){function t(t){var n=e.call(this,function(e){return n.addObserver(e),function(){return n.removeObserver(e)}})||this;return n.observers=new Set,n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),(0,C.p)(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),(0,C.p)(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources,o=void 0===r?[]:r;if(null!==t){var i=o.shift();i?k(i)?i.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=i.subscribe(n.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),(0,C.p)(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new m.y(t)]),k(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,r.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,r){t||(t=!0,e(n,r))})},t}(m.y);(0,_.D)(O);var A=n(41928),I=n(74683),P=n(66002),T=n(29394),R=n(16334);function M(e){return e.kind===R.h.FIELD||e.kind===R.h.FRAGMENT_SPREAD||e.kind===R.h.INLINE_FRAGMENT}var N=n(31467),j=n(53576),D=n(89244),L=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,N.Ee)(t.resolvers,e)}):this.resolvers=(0,N.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,r.mG)(this,arguments,void 0,function(e){var t=e.document,n=e.remoteResult,o=e.context,i=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,r.Jh)(this,function(e){return t?[2,this.resolveDocument(t,n.data,o,i,this.fragmentMatcher,s).then(function(e){return(0,r.pi)((0,r.pi)({},n),{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,d.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,f.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,r.pi)((0,r.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,r.mG)(this,arguments,void 0,function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,r.Jh)(this,function(o){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return(0,r.pi)((0,r.pi)({},t),e.exportedVariables)})]:[2,(0,r.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,T.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return T.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,f.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,r.mG)(this,arguments,void 0,function(e,t,n,o,i,a){var s,l,c,u,d,f,p,h,m,g,v;return void 0===n&&(n={}),void 0===o&&(o={}),void 0===i&&(i=function(){return!0}),void 0===a&&(a=!1),(0,r.Jh)(this,function(y){return s=(0,w.p$)(e),l=(0,w.kU)(e),c=(0,j.F)(l),u=this.collectSelectionsToResolve(s,c),f=(d=s.operation)?d.charAt(0).toUpperCase()+d.slice(1):"Query",p=this,h=p.cache,m=p.client,g={fragmentMap:c,context:(0,r.pi)((0,r.pi)({},n),{cache:h,client:m}),variables:o,fragmentMatcher:i,defaultOperationType:f,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:a},v=!1,[2,this.resolveSelectionSet(s.selectionSet,v,t,g).then(function(e){return{result:e,exportedVariables:g.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,i){return(0,r.mG)(this,void 0,void 0,function(){var a,s,l,c,u,f=this;return(0,r.Jh)(this,function(p){return a=i.fragmentMap,s=i.context,l=i.variables,c=[n],u=function(e){return(0,r.mG)(f,void 0,void 0,function(){var u,f;return(0,r.Jh)(this,function(r){return(t||i.selectionsToResolve.has(e))&&(0,d.LZ)(e,l)?(0,S.My)(e)?[2,this.resolveField(e,t,n,i).then(function(t){var n;void 0!==t&&c.push(((n={})[(0,S.u2)(e)]=t,n))})]:((0,S.Ao)(e)?u=e:(u=a[e.name.value],(0,o.kG)(u,18,e.name.value)),u&&u.typeCondition&&(f=u.typeCondition.name.value,i.fragmentMatcher(n,f,s)))?[2,this.resolveSelectionSet(u.selectionSet,t,n,i).then(function(e){c.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(u)).then(function(){return(0,N.bw)(c)})]})})},e.prototype.resolveField=function(e,t,n,o){return(0,r.mG)(this,void 0,void 0,function(){var i,a,s,l,c,u,d,f,p,h=this;return(0,r.Jh)(this,function(r){return n?(i=o.variables,l=(a=e.name.value)!==(s=(0,S.u2)(e)),u=Promise.resolve(c=n[s]||n[a]),(!o.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(d=n.__typename||o.defaultOperationType,(f=this.resolvers&&this.resolvers[d])&&(p=f[l?a:s])&&(u=Promise.resolve(D.ab.withValue(this.cache,p,[n,(0,S.NC)(e,i),o.context,{field:e,fragmentMap:o.fragmentMap}])))),[2,u.then(function(n){if(void 0===n&&(n=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(o.exportedVariables[e.value.value]=n)})}),!e.selectionSet||null==n)return n;var r,i,a=null!==(i=null===(r=e.directives)||void 0===r?void 0:r.some(function(e){return"client"===e.name.value}))&&void 0!==i&&i;return Array.isArray(n)?h.resolveSubSelectedArray(e,t||a,n,o):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||a,n,o):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var o=this;return Promise.all(n.map(function(n){return null===n?null:Array.isArray(n)?o.resolveSubSelectedArray(e,t,n,r):e.selectionSet?o.resolveSelectionSet(e.selectionSet,t,n,r):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;function i(e){if(!r.has(e)){var a=new Set;r.set(e,a),(0,T.Vn)(e,{Directive:function(e,t,r,o,i){"client"===e.name.value&&i.forEach(function(e){n(e)&&M(e)&&a.add(e)})},FragmentSpread:function(e,r,s,l,c){var u=t[e.name.value];(0,o.kG)(u,19,e.name.value);var d=i(u);d.size>0&&(c.forEach(function(e){n(e)&&M(e)&&a.add(e)}),a.add(e),d.forEach(function(e){a.add(e)}))}})}return r.get(e)}return i(e)},e}(),B=new((n(76337)).mr?WeakMap:Map);function Z(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return B.set(e,(B.get(e)+1)%1e15),n.apply(this,arguments)})}function F(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var z=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;B.has(n)||(B.set(n,0),Z(n,"evict"),Z(n,"modify"),Z(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||P.Ie.loading;return this.variables&&this.networkStatus!==P.Ie.loading&&!(0,c.D)(this.variables,e.variables)&&(t=P.Ie.setVariables),(0,c.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){F(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,c.D)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n=this,r=this.lastDiff&&this.lastDiff.diff;(!e||e.complete||(null===(t=this.observableQuery)||void 0===t?void 0:t.options.returnPartialData)||r&&r.complete)&&(this.updateLastDiff(e),this.dirty||(0,c.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():(0,I.vj)(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;F(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,P.Oj)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var o=(0,r.pi)((0,r.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,c.D)(o,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=o))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===B.get(this.cache)&&(0,c.D)(t,n.variables)&&(0,c.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var o=this,i=new N.w0,a=(0,v.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,v.O)(e.incremental)){var s=(0,u.mT)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var l=this.getDiff();e.data=i.merge(l.result,e.data)}this.graphQLErrors=a,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(U(e,n.errorPolicy)?this.cache.performTransaction(function(i){if(o.shouldWrite(e,n.variables))i.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),o.lastWrite={result:e,variables:n.variables,dmCount:B.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var a=o.getDiffOptions(n.variables),s=i.diff(a);!o.stopped&&(0,c.D)(o.variables,n.variables)&&o.updateWatch(n.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=P.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=P.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function U(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!y(e);return!r&&n&&e.data&&(r=!0),r}var H=n(99152),q=n(31356),V=n(16829),W=n(62756),$=Object.prototype.hasOwnProperty,G=Object.create(null),K=function(){function e(e){var t=e.cache,n=e.link,r=e.defaultOptions,o=e.documentTransform,i=e.queryDeduplication,a=void 0!==i&&i,s=e.onBroadcast,l=e.ssrMode,c=void 0!==l&&l,u=e.clientAwareness,d=void 0===u?{}:u,f=e.localState,p=e.assumeImmutableResults,m=void 0===p?!!t.assumeImmutableResults:p,g=e.defaultContext,v=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new V.s(W.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new q.B(!1);var y=new h.A(function(e){return v.cache.transformDocument(e)},{cache:!1});this.cache=t,this.link=n,this.defaultOptions=r||Object.create(null),this.queryDeduplication=a,this.clientAwareness=d,this.localState=f||new L({cache:t}),this.ssrMode=c,this.assumeImmutableResults=m,this.documentTransform=o?y.concat(o).concat(y):y,this.defaultContext=g||Object.create(null),(this.onBroadcast=s)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches((0,o._K)(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,r.mG)(this,arguments,void 0,function(e){var t,n,i,a,s,l,c,u=e.mutation,d=e.variables,f=e.optimisticResponse,p=e.updateQueries,h=e.refetchQueries,m=void 0===h?[]:h,v=e.awaitRefetchQueries,w=void 0!==v&&v,S=e.update,x=e.onQueryUpdated,E=e.fetchPolicy,C=void 0===E?(null===(l=this.defaultOptions.mutate)||void 0===l?void 0:l.fetchPolicy)||"network-only":E,_=e.errorPolicy,k=void 0===_?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.errorPolicy)||"none":_,O=e.keepRootFields,I=e.context;return(0,r.Jh)(this,function(e){switch(e.label){case 0:if((0,o.kG)(u,26),(0,o.kG)("network-only"===C||"no-cache"===C,27),t=this.generateMutationId(),u=this.cache.transformForLink(this.transform(u)),n=this.getDocumentInfo(u).hasClientExports,d=this.getVariables(u,d),!n)return[3,2];return[4,this.localState.addExportedVariables(u,d,I)];case 1:d=e.sent(),e.label=2;case 2:return i=this.mutationStore&&(this.mutationStore[t]={mutation:u,variables:d,loading:!0,error:null}),a=f&&this.markMutationOptimistic(f,{mutationId:t,document:u,variables:d,fetchPolicy:C,errorPolicy:k,context:I,updateQueries:p,update:S,keepRootFields:O}),this.broadcastQueries(),s=this,[2,new Promise(function(e,n){return g(s.getObservableFromLink(u,(0,r.pi)((0,r.pi)({},I),{optimisticResponse:a?f:void 0}),d,!1),function(e){if(y(e)&&"none"===k)throw new A.cA({graphQLErrors:b(e)});i&&(i.loading=!1,i.error=null);var n=(0,r.pi)({},e);return"function"==typeof m&&(m=m(n)),"ignore"===k&&y(n)&&delete n.errors,s.markMutationResult({mutationId:t,result:n,document:u,variables:d,fetchPolicy:C,errorPolicy:k,context:I,update:S,updateQueries:p,awaitRefetchQueries:w,refetchQueries:m,removeOptimistic:a?t:void 0,onQueryUpdated:x,keepRootFields:O})}).subscribe({next:function(t){s.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){i&&(i.loading=!1,i.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),n(e instanceof A.cA?e:new A.cA({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var o=e.result,i=[],a="no-cache"===e.fetchPolicy;if(!a&&U(o,e.errorPolicy)){if((0,u.GG)(o)||i.push({result:o.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,u.GG)(o)&&(0,v.O)(o.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),l=void 0;s.result&&(l=(0,u.mT)(s.result,o)),void 0!==l&&(o.data=l,i.push({result:l,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,r){var a=e.observableQuery,s=a&&a.queryName;if(s&&$.call(c,s)){var l=c[s],u=n.queries.get(r),d=u.document,f=u.variables,p=t.diff({query:d,variables:f,returnPartialData:!0,optimistic:!1}),h=p.result;if(p.complete&&h){var m=l(h,{mutationResult:o,queryName:d&&(0,w.rY)(d)||void 0,queryVariables:f});m&&i.push({result:m,dataId:"ROOT_QUERY",query:d,variables:f})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(t){a||i.forEach(function(e){return t.write(e)});var s=e.update,l=!(0,u.M0)(o)||(0,u.GG)(o)&&!o.hasNext;if(s){if(!a){var c=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(o=(0,r.pi)((0,r.pi)({},o),{data:c.result}))&&delete o.incremental,"hasNext"in o&&delete o.hasNext)}l&&s(t,o,{context:e.context,variables:e.variables})}a||e.keepRootFields||!l||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return d.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(d).then(function(){return o})}return Promise.resolve(o)},e.prototype.markMutationOptimistic=function(e,t){var n=this,i="function"==typeof e?e(t.variables,{IGNORE:G}):e;return i!==G&&(this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult((0,r.pi)((0,r.pi)({},t),{result:{data:i}}),e)}catch(e){!1!==globalThis.__DEV__&&o.kG.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:(0,d.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,d.FS)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,f.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,w.O4)((0,w.$H)(e)),asQuery:(0,r.pi)((0,r.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,r.pi)((0,r.pi)({},e),{operation:"query"}):e})})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,r.pi)((0,r.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,r.pi)((0,r.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new z(this),o=new I.ue({queryManager:this,queryInfo:n,options:e});return o.lastQuery=t,this.queries.set(o.queryId,n),n.init({document:t,observableQuery:o,variables:o.variables}),o},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),(0,o.kG)(e.query,28),(0,o.kG)("Document"===e.query.kind,29),(0,o.kG)(!e.returnPartialData,30),(0,o.kG)(!e.pollInterval,31),this.fetchQuery(t,(0,r.pi)((0,r.pi)({},e),{query:this.transform(e.query)})).finally(function(){return n.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,o._K)(32)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=P.Ie.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,i=new Map,a=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?i.set(e,!1):(0,S.JW)(e)?i.set(t.transform(e),!1):(0,x.s)(e)&&e.query&&a.add(e)}),this.queries.forEach(function(t,r){var o=t.observableQuery,a=t.document;if(o){if("all"===e){n.set(r,o);return}var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&i.has(s)||a&&i.has(a))&&(n.set(r,o),s&&i.set(s,!0),a&&i.set(a,!0))}}),a.size&&a.forEach(function(e){var i=(0,E.X)("legacyOneTimeQuery"),a=t.getQuery(i).init({document:e.query,variables:e.variables}),s=new I.ue({queryManager:t,queryInfo:a,options:(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"network-only"})});(0,o.kG)(s.queryId===i),a.setObservableQuery(s),n.set(i,s)}),!1!==globalThis.__DEV__&&i.size&&i.forEach(function(e,t){e||!1===globalThis.__DEV__||o.kG.warn("string"==typeof t?33:34,t)}),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(r,o){var i=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==i&&"cache-only"!==i)&&n.push(r.refetch()),t.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,o=e.errorPolicy,i=void 0===o?"none":o,a=e.variables,s=e.context,l=void 0===s?{}:s;n=this.transform(n),a=this.getVariables(n,a);var c=function(e){return t.getObservableFromLink(n,l,e).map(function(o){"no-cache"!==r&&(U(o,i)&&t.cache.write({query:n,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=y(o),s=(0,A.ls)(o);if(a||s){var l={};if(a&&(l.graphQLErrors=o.errors),s&&(l.protocolErrors=o.extensions[A.YG]),"none"===i||s)throw new A.cA(l)}return"ignore"===i&&delete o.errors,o})};if(this.getDocumentInfo(n).hasClientExports){var u=this.localState.addExportedVariables(n,a,l).then(c);return new m.y(function(e){var t=null;return u.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return c(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,o){var i,s,l=this;void 0===o&&(o=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var c=this.getDocumentInfo(e),u=c.serverQuery,d=c.clientQuery;if(u){var f=this,h=f.inFlightLinkObservables,v=f.link,y={query:u,variables:n,operationName:(0,w.rY)(u)||void 0,context:this.prepareContext((0,r.pi)((0,r.pi)({},t),{forceFetch:!o}))};if(t=y.context,o){var b=(0,H.S)(u),S=(0,p.B)(n),x=h.lookup(b,S);if(!(s=x.observable)){var E=new O([(0,a.h)(v,y)]);s=x.observable=E,E.beforeNext(function(){h.remove(b,S)})}}else s=new O([(0,a.h)(v,y)])}else s=new O([m.y.of({data:{}})]),t=this.prepareContext(t);return d&&(s=g(s,function(e){return l.localState.runResolvers({document:d,remoteResult:e,context:t,variables:n})})),s},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(n.query);return g(this.getObservableFromLink(o,n.context,n.variables),function(i){var a=b(i),s=a.length>0;if(r>=e.lastRequestId){if(s&&"none"===n.errorPolicy)throw e.markError(new A.cA({graphQLErrors:a}));e.markResult(i,o,n,t),e.markReady()}var l={data:i.data,loading:!1,networkStatus:P.Ie.ready};return s&&"ignore"!==n.errorPolicy&&(l.errors=a,l.networkStatus=P.Ie.error),l},function(t){var n=(0,A.MS)(t)?t:new A.cA({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var o,i,a=this;void 0===n&&(n=P.Ie.loading),void 0===r&&(r=t.query);var s=this.getVariables(r,t.variables),l=this.getQuery(e),c=this.defaultOptions.watchQuery,u=t.fetchPolicy,d=void 0===u?c&&c.fetchPolicy||"cache-first":u,f=t.errorPolicy,p=void 0===f?c&&c.errorPolicy||"none":f,h=t.returnPartialData,m=void 0!==h&&h,g=t.notifyOnNetworkStatusChange,v=void 0!==g&&g,y=t.context,b=Object.assign({},t,{query:r,variables:s,fetchPolicy:d,errorPolicy:p,returnPartialData:m,notifyOnNetworkStatusChange:v,context:void 0===y?{}:y}),w=function(e){b.variables=e;var r=a.fetchQueryByPolicy(l,b,n);return"standby"!==b.fetchPolicy&&r.sources.length>0&&l.observableQuery&&l.observableQuery.applyNextFetchPolicy("after-fetch",t),r},S=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){S(),setTimeout(function(){return o.cancel(e)})}),this.getDocumentInfo(b.query).hasClientExports)o=new O(this.localState.addExportedVariables(b.query,b.variables,b.context).then(w).then(function(e){return e.sources})),i=!0;else{var x=w(b.variables);i=x.fromLink,o=new O(x.sources)}return o.promise.then(S,S),{concast:o,fromLink:i}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,o=e.optimistic,i=void 0!==o&&o,a=e.removeOptimistic,s=void 0===a?i?(0,E.X)("refetchQueries"):void 0:a,l=e.onQueryUpdated,c=new Map;r&&this.getObservableQueries(r).forEach(function(e,n){c.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})});var u=new Map;return n&&this.cache.batch({update:n,optimistic:i&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof z&&e.watcher.observableQuery;if(r){if(l){c.delete(r.queryId);var o=l(r,t,n);return!0===o&&(o=r.refetch()),!1!==o&&u.set(r,o),o}null!==l&&c.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),c.size&&c.forEach(function(e,n){var r,o=e.oq,i=e.lastDiff,a=e.diff;if(l){if(!a){var s=o.queryInfo;s.reset(),a=s.getDiff()}r=l(o,a,i)}l&&!0!==r||(r=o.refetch()),!1!==r&&u.set(o,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)}),s&&this.cache.removeOptimistic(s),u},e.prototype.fetchQueryByPolicy=function(e,t,n){var o=this,i=t.query,a=t.variables,s=t.fetchPolicy,l=t.refetchWritePolicy,u=t.errorPolicy,d=t.returnPartialData,f=t.context,p=t.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:i,variables:a,networkStatus:n});var g=function(){return e.getDiff()},v=function(t,n){void 0===n&&(n=e.networkStatus||P.Ie.loading);var s=t.result;!1===globalThis.__DEV__||d||(0,c.D)(s,{})||(0,I.DC)(t.missing);var l=function(e){return m.y.of((0,r.pi)({data:e,loading:(0,P.Oj)(n),networkStatus:n},t.complete?null:{partial:!0}))};return s&&o.getDocumentInfo(i).hasForcedResolvers?o.localState.runResolvers({document:i,remoteResult:{data:s},context:f,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return l(e.data||void 0)}):"none"===u&&n===P.Ie.refetch&&Array.isArray(t.missing)?l(void 0):l(s)},y="no-cache"===s?0:n===P.Ie.refetch&&"merge"!==l?1:2,b=function(){return o.getResultsFromLink(e,y,{query:i,variables:a,context:f,fetchPolicy:s,errorPolicy:u})},w=p&&"number"==typeof h&&h!==n&&(0,P.Oj)(n);switch(s){default:case"cache-first":var S=g();if(S.complete)return{fromLink:!1,sources:[v(S,e.markReady())]};if(d||w)return{fromLink:!0,sources:[v(S),b()]};return{fromLink:!0,sources:[b()]};case"cache-and-network":var S=g();if(S.complete||d||w)return{fromLink:!0,sources:[v(S),b()]};return{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[v(g(),e.markReady())]};case"network-only":if(w)return{fromLink:!0,sources:[v(g()),b()]};return{fromLink:!0,sources:[b()]};case"no-cache":if(w)return{fromLink:!0,sources:[v(e.getDiff()),b()]};return{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new z(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,r.pi)((0,r.pi)((0,r.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),Y=n(45480),X=n(24397),Q=!1,J=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,o._K)(15);var n=e.uri,r=e.credentials,a=e.headers,c=e.cache,u=e.documentTransform,d=e.ssrMode,f=void 0!==d&&d,p=e.ssrForceFetchDelay,h=void 0===p?0:p,m=e.connectToDevTools,g=void 0===m?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:m,v=e.queryDeduplication,y=void 0===v||v,b=e.defaultOptions,w=e.defaultContext,S=e.assumeImmutableResults,x=void 0===S?c.assumeImmutableResults:S,E=e.resolvers,C=e.typeDefs,_=e.fragmentMatcher,k=e.name,O=e.version,A=e.link;A||(A=n?new l.u({uri:n,credentials:r,headers:a}):i.i.empty()),this.link=A,this.cache=c,this.disableNetworkFetches=f||h>0,this.queryDeduplication=y,this.defaultOptions=b||Object.create(null),this.typeDefs=C,h&&setTimeout(function(){return t.disableNetworkFetches=!1},h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.i,this.localState=new L({cache:c,client:this,resolvers:E,fragmentMatcher:_}),this.queryManager=new K({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:w,documentTransform:u,queryDeduplication:y,ssrMode:f,clientAwareness:{name:k,version:O},localState:this.localState,assumeImmutableResults:x,onBroadcast:g?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),g&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}Q||!1===globalThis.__DEV__||(Q=!0,setTimeout(function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&o.kG.log("Download the Apollo DevTools for a better development experience: %s",n)}},1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,Y.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,Y.J)(this.defaultOptions.query,e)),(0,o.kG)("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,Y.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,a.h)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach(function(e,t){n.push(t),r.push(e)});var i=Promise.all(r);return i.queries=n,i.results=r,i.catch(function(e){!1!==globalThis.__DEV__&&o.kG.debug(17,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(J.prototype.getMemoryInternals=X.su)},74683:function(e,t,n){"use strict";n.d(t,{ue:function(){return x},DC:function(){return _},vj:function(){return E}});var r=n(43112),o=n(77821),i=n(91215),a=n(66002),s=n(42821),l=n(85101),c=n(98061),u=n(18662),d=n(79624),f=n(68109),p=n(53576),h=n(89126),m=n(64065);function g(e,t,n,o){var a=t.data,l=(0,r._T)(t,["data"]),c=n.data,u=(0,r._T)(n,["data"]);return(0,i.Z)(l,u)&&v((0,s.p$)(e).selectionSet,a,c,{fragmentMap:(0,p.F)((0,s.kU)(e)),variables:o})}function v(e,t,n,r){if(t===n)return!0;var o=new Set;return e.selections.every(function(e){if(o.has(e)||(o.add(e),!(0,h.LZ)(e,r.variables)||y(e)))return!0;if((0,m.My)(e)){var a=(0,m.u2)(e),s=t&&t[a],l=n&&n[a],c=e.selectionSet;if(!c)return(0,i.Z)(s,l);var u=Array.isArray(s),d=Array.isArray(l);if(u!==d)return!1;if(u&&d){var f=s.length;if(l.length!==f)return!1;for(var g=0;g<f;++g)if(!v(c,s[g],l[g],r))return!1;return!0}return v(c,s,l,r)}var b=(0,p.hi)(e,r.fragmentMap);if(b)return!!y(b)||v(b.selectionSet,t,n,r)})}function y(e){return!!e.directives&&e.directives.some(b)}function b(e){return"nonreactive"===e.name.value}var w=Object.assign,S=Object.hasOwnProperty,x=function(e){function t(t){var n=t.queryManager,o=t.queryInfo,i=t.options,a=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=C)}catch(e){}var n=!a.observers.size;a.observers.add(e);var r=a.last;return r&&r.error?e.error&&e.error(r.error):r&&r.result&&e.next&&e.next(r.result),n&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=o,a.queryManager=n,a.waitForOwnResult=k(i.fetchPolicy),a.isTornDown=!1;var l=n.defaultOptions.watchQuery,c=(void 0===l?{}:l).fetchPolicy,u=void 0===c?"cache-first":c,d=i.fetchPolicy,f=void 0===d?u:d,p=i.initialFetchPolicy,h=void 0===p?"standby"===f?u:f:p;a.options=(0,r.pi)((0,r.pi)({},i),{initialFetchPolicy:h,fetchPolicy:f}),a.queryId=o.queryId||n.generateQueryId();var m=(0,s.$H)(a.query);return a.queryName=m&&m.name&&m.name.value,a}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){o.unsubscribe()},0)},error:n},o=e.subscribe(r)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||a.Ie.ready,o=(0,r.pi)((0,r.pi)({},t),{loading:(0,a.Oj)(n),networkStatus:n}),s=this.options.fetchPolicy,l=void 0===s?"cache-first":s;if(k(l)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(o.data=c.result),(0,i.D)(o.data,{})&&(o.data=void 0),c.complete?(delete o.partial,c.complete&&o.networkStatus===a.Ie.loading&&("cache-first"===l||"cache-only"===l)&&(o.networkStatus=a.Ie.ready,o.loading=!1)):o.partial=!0,!1===globalThis.__DEV__||c.complete||this.options.partialRefetch||o.loading||o.data||o.error||_(c.missing)}return e&&this.updateLastResult(o),o},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!g(this.query,this.last.result,e,this.variables):!(0,i.D)(this.last.result,e))||t&&!(0,i.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,i.D)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},l=this.options.fetchPolicy;if("cache-and-network"===l?n.fetchPolicy=l:"no-cache"===l?n.fetchPolicy="no-cache":n.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&S.call(e,"variables")){var c=(0,s.iW)(this.query),u=c.variableDefinitions;u&&u.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||o.kG.warn(20,e,(null===(t=c.name)||void 0===t?void 0:t.value)||c)}return e&&!(0,i.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,r.pi)((0,r.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,a.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.pi)((0,r.pi)({},e.query?e:(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},this.options),{query:this.options.query}),e),{variables:(0,r.pi)((0,r.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var i=this.queryInfo,s=i.networkStatus;i.networkStatus=a.Ie.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var l=new Set;return this.queryManager.fetchQuery(o,n,a.Ie.fetchMore).then(function(r){return t.queryManager.removeQuery(o),i.networkStatus===a.Ie.fetchMore&&(i.networkStatus=s),t.queryManager.cache.batch({update:function(o){var i=e.updateQuery;i?o.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:r.data,variables:n.variables})}):o.writeQuery({query:n.query,variables:n.variables,data:r.data})},onWatchUpdated:function(e){l.add(e.query)}}),r}).finally(function(){l.has(t.query)||E(t)})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery(function(e,t){return r(e,{subscriptionData:n,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&o.kG.error(21,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,l.o)(this.options,e||{});w(this.options,t)},t.prototype.setVariables=function(e){return(0,i.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,o=t.initialFetchPolicy,i=void 0===o?r:o;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:i}):"variables-changed"===e?t.fetchPolicy=i:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this,n=t.pollingInfo,r=t.options.pollInterval;if(!r){n&&(clearTimeout(n.timeout),delete this.pollingInfo);return}if(!n||n.interval!==r){(0,o.kG)(r,22),(n||(this.pollingInfo={})).interval=r;var i=function(){var t,n;e.pollingInfo&&((0,a.Oj)(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?s():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.Ie.poll).then(s,s))},s=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(i,t.interval))};s()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!(0,i.D)(t,this.last.variables)&&(n=void 0),this.last=(0,r.pi)({result:this.queryManager.assumeImmutableResults?e:(0,c.X)(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var o=t===a.Ie.refetch||t===a.Ie.fetchMore||t===a.Ie.poll,s=this.options.variables,c=this.options.fetchPolicy,u=(0,l.o)(this.options,e||{}),d=o?u:w(this.options,u),f=this.transformDocument(d.query);this.lastQuery=f,!o&&(this.updatePolling(),e&&e.variables&&!(0,i.D)(e.variables,s)&&"standby"!==d.fetchPolicy&&d.fetchPolicy===c&&(this.applyNextFetchPolicy("variables-changed",d),void 0===t&&(t=a.Ie.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=k(d.fetchPolicy));var p=function(){n.concast===g&&(n.waitForOwnResult=!1)},h=d.variables&&(0,r.pi)({},d.variables),m=this.fetch(d,t,f),g=m.concast,v=m.fromLink,y={next:function(e){(0,i.D)(n.variables,h)&&(p(),n.reportResult(e,h))},error:function(e){(0,i.D)(n.variables,h)&&(p(),n.reportError(e,h))}};return o||!v&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=g,this.observer=y),g.addObserver(y),g},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&(0,u.p)(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=(0,r.pi)((0,r.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:a.Ie.error,loading:!1});this.updateLastResult(n,t),(0,u.p)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(d.y);function E(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):n}}):e.reobserve()}function C(e){!1!==globalThis.__DEV__&&o.kG.error(23,e.message,e.stack)}function _(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&o.kG.debug(24,e)}function k(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,f.D)(x)},43032:function(e,t,n){"use strict";n.r(t),n.d(t,{ApolloCache:function(){return c.R},ApolloClient:function(){return o.f},ApolloError:function(){return l.cA},ApolloLink:function(){return m.i},Cache:function(){return r},DocumentTransform:function(){return j.A},HttpLink:function(){return A.u},InMemoryCache:function(){return u.h},MissingFieldError:function(){return d.y},NetworkStatus:function(){return s.Ie},Observable:function(){return T.y},ObservableQuery:function(){return a.ue},checkFetcher:function(){return C.U},concat:function(){return b},createHttpLink:function(){return O.L},createSignalIfSupported:function(){return _},defaultDataIdFromObject:function(){return f.uG},defaultPrinter:function(){return E.sb},disableExperimentalFragmentVariables:function(){return B.J9},disableFragmentWarnings:function(){return B._t},empty:function(){return g},enableExperimentalFragmentVariables:function(){return B.wO},execute:function(){return w.h},fallbackHttpConfig:function(){return E.SC},from:function(){return v},fromError:function(){return M.Q},fromPromise:function(){return R},gql:function(){return B.Ps},isApolloError:function(){return l.MS},isNetworkRequestSettled:function(){return s.Jp},isReference:function(){return D.Yk},makeReference:function(){return D.kQ},makeVar:function(){return p.QS},mergeOptions:function(){return i.J},parseAndCheckHttpResponse:function(){return S.dO},resetCaches:function(){return B.HW},rewriteURIForGET:function(){return I.H},selectHttpOptionsAndBody:function(){return E.E4},selectHttpOptionsAndBodyInternal:function(){return E.ve},selectURI:function(){return k.r},serializeFetchParameter:function(){return x.g},setLogVerbosity:function(){return L.U6},split:function(){return y},throwServerError:function(){return N.P},toPromise:function(){return P}});var r,o=n(74215),i=n(45480),a=n(74683),s=n(66002),l=n(41928);r||(r={});var c=n(68516),u=n(3576),d=n(34711),f=n(29594),p=n(89244),h=n(77821),m=n(76833),g=m.i.empty,v=m.i.from,y=m.i.split,b=m.i.concat,w=n(71880),S=n(40160),x=n(20754),E=n(4841),C=n(56426),_=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},k=n(59882),O=n(68164),A=n(29309),I=n(65275);function P(e){var t=!1;return new Promise(function(n,r){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&h.kG.warn(42):(t=!0,n(e))},error:r})})}var T=n(79624);function R(e){return new T.y(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}var M=n(72610),N=n(30410),j=n(56050),D=n(64065),L=n(67558),B=n(73921);(0,L.U6)(!1!==globalThis.__DEV__?"log":"silent")},66002:function(e,t,n){"use strict";var r;function o(e){return!!e&&e<7}function i(e){return 7===e||8===e}n.d(t,{Ie:function(){return r},Jp:function(){return i},Oj:function(){return o}}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}))},41928:function(e,t,n){"use strict";n.d(t,{MS:function(){return s},YG:function(){return i},cA:function(){return c},ls:function(){return a}});var r=n(43112);n(77821);var o=n(52492),i=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[i])}function s(e){return e.hasOwnProperty("graphQLErrors")}var l=function(e){var t=(0,r.ev)((0,r.ev)((0,r.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,o.s)(e)&&e.message||"Error message not found."}).join("\n")},c=function(e){function t(n){var r=n.graphQLErrors,o=n.protocolErrors,i=n.clientErrors,a=n.networkError,s=n.errorMessage,c=n.extraInfo,u=e.call(this,s)||this;return u.name="ApolloError",u.graphQLErrors=r||[],u.protocolErrors=o||[],u.clientErrors=i||[],u.networkError=a||null,u.message=s||l(u),u.extraInfo=c,u.__proto__=t.prototype,u}return(0,r.ZT)(t,e),t}(Error)},71553:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(43112),o=n(76833),i=n(79624);function a(e){return new o.i(function(t,n){var o=(0,r._T)(t,[]);return new i.y(function(r){var i,a=!1;return Promise.resolve(o).then(function(n){return e(n,t.getContext())}).then(t.setContext).then(function(){a||(i=n(t).subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}))}).catch(r.error.bind(r)),function(){a=!0,i&&i.unsubscribe()}})})}},76833:function(e,t,n){"use strict";n.d(t,{i:function(){return p}});var r=n(77821),o=n(79624),i=n(43112);function a(e,t){var n=(0,i.pi)({},e),r=function(){return(0,i.pi)({},n)};return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,i.pi)((0,i.pi)({},n),e(n)):(0,i.pi)((0,i.pi)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:r}),t}var s=n(42821);function l(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,s.rY)(t.query)||void 0:""),t}function c(e){for(var t=["query","operationName","variables","extensions","context"],n=0,o=Object.keys(e);n<o.length;n++){var i=o[n];if(0>t.indexOf(i))throw(0,r._K)(43,i)}return e}function u(e,t){return t?t(e):o.y.of()}function d(e){return"function"==typeof e?new p(e):e}function f(e){return e.request.length<=1}var p=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return o.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(d).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var i,a=d(n),s=d(r||new e(u));return Object.assign(i=new e(f(a)&&f(s)?function(e){return t(e)?a.request(e)||o.y.of():s.request(e)||o.y.of()}:function(e,n){return t(e)?a.request(e,n)||o.y.of():s.request(e,n)||o.y.of()}),{left:a,right:s})},e.execute=function(e,t){return e.request(a(t.context,l(c(t))))||o.y.of()},e.concat=function(t,n){var i,a=d(t);if(f(a))return!1!==globalThis.__DEV__&&r.kG.warn(35,a),a;var s=d(n);return Object.assign(i=new e(f(s)?function(e){return a.request(e,function(e){return s.request(e)||o.y.of()})||o.y.of()}:function(e,t){return a.request(e,function(e){return s.request(e,t)||o.y.of()})||o.y.of()}),{left:a,right:s})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(u)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,r._K)(36)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},71880:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r=n(76833).i.execute},5969:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(43112),o=n(79624),i=n(76833);function a(e){return new i.i(function(t,n){return new o.y(function(r){var o,i,a;try{o=n(t).subscribe({next:function(o){if(o.errors&&(a=e({graphQLErrors:o.errors,response:o,operation:t,forward:n}))){i=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)});return}r.next(o)},error:function(o){if(a=e({operation:t,networkError:o,graphQLErrors:o&&o.result&&o.result.errors,forward:n})){i=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)});return}r.error(o)},complete:function(){a||r.complete.bind(r)()}})}catch(o){e({networkError:o,operation:t,forward:n}),r.error(o)}return function(){o&&o.unsubscribe(),i&&o.unsubscribe()}})})}!function(e){function t(t){var n=e.call(this)||this;return n.link=a(t),n}(0,r.ZT)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(i.i)},29309:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var r=n(43112),o=n(76833),i=n(68164),a=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,(0,i.L)(t).request)||this;return n.options=t,n}return(0,r.ZT)(t,e),t}(o.i)},56426:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(77821),o=function(e){if(!e&&"undefined"==typeof fetch)throw(0,r._K)(37)}},68164:function(e,t,n){"use strict";n.d(t,{L:function(){return w}});var r=n(43112),o=n(77821),i=n(76833),a=n(89126),s=n(79624),l=n(20754),c=n(59882),u=n(40160),d=n(56426),f=n(4841),p=n(65275),h=n(72610),m=n(29394);function g(e,t){var n=(0,r.pi)({},e),o=new Set(Object.keys(e));return(0,m.Vn)(t,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&o.delete(e.name.value)}}),o.forEach(function(e){delete n[e]}),n}var v=n(43308),y=n(42821),b=(0,o.wY)(function(){return fetch}),w=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,m=e.fetch,w=e.print,S=void 0===w?f.sb:w,x=e.includeExtensions,E=e.preserveHeaderCase,C=e.useGETForQueries,_=e.includeUnusedVariables,k=void 0!==_&&_,O=(0,r._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,d.U)(m||b);var A={http:{includeExtensions:x,preserveHeaderCase:E},options:O.fetchOptions,credentials:O.credentials,headers:O.headers};return new i.i(function(e){var t,i=(0,c.r)(e,n),d=e.getContext(),w={};if(d.clientAwareness){var x=d.clientAwareness,E=x.name,_=x.version;E&&(w["apollographql-client-name"]=E),_&&(w["apollographql-client-version"]=_)}var O=(0,r.pi)((0,r.pi)({},w),d.headers),I={http:d.http,options:d.fetchOptions,credentials:d.credentials,headers:O};if((0,a.FS)(["client"],e.query)){var P=(0,v.ob)(e.query);if(!P)return(0,h.Q)(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=P}var T=(0,f.ve)(e,S,f.SC,A,I),R=T.options,M=T.body;M.variables&&!k&&(M.variables=g(M.variables,e.query)),R.signal||"undefined"==typeof AbortController||(t=new AbortController,R.signal=t.signal);var N=function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation},j=function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}((0,y.p$)(e.query)),D=(0,a.FS)(["defer"],e.query);if(C&&!e.query.definitions.some(N)&&(R.method="GET"),D||j){R.headers=R.headers||{};var L="multipart/mixed;";j&&D&&!1!==globalThis.__DEV__&&o.kG.warn(38),j?L+="boundary=graphql;subscriptionSpec=1.0,application/json":D&&(L+="deferSpec=20220824,application/json"),R.headers.accept=L}if("GET"===R.method){var B=(0,p.H)(i,M),Z=B.newURI,F=B.parseError;if(F)return(0,h.Q)(F);i=Z}else try{R.body=(0,l.g)(M,"Payload")}catch(e){return(0,h.Q)(e)}return new s.y(function(n){var r=m||(0,o.wY)(function(){return fetch})||b,a=n.next.bind(n);return r(i,R).then(function(t){e.setContext({response:t});var n,r=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==r&&/^multipart\/mixed/i.test(r)?(0,u.TF)(t,a):(0,u.dO)(e)(t).then(a)}).then(function(){t=void 0,n.complete()}).catch(function(e){t=void 0,(0,u.S3)(e,n)}),function(){t&&t.abort()}})})}},40160:function(e,t,n){"use strict";n.d(t,{S3:function(){return E},dO:function(){return C},TF:function(){return w}});var r=n(43112),o=n(76337);function i(e){var t,n=e[Symbol.asyncIterator]();return(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t}function a(e){var t=null,n=null,r=!1,i=[],a=[];function s(e){if(!n){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function l(e){n=e,a.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){r=!0,a.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}function u(){return new Promise(function(e,t){return n?t(n):i.length?e({value:i.shift(),done:!1}):r?e({value:void 0,done:!0}):void a.push([e,t])})}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",l),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",l),e.on("end",c),e.on("finish",c),e.on("close",c);var d={next:function(){return u()}};return o.DN&&(d[Symbol.asyncIterator]=function(){return this}),d}function s(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,n){e.then(function(e){t({value:e,done:!1})}).catch(n)}))}};return o.DN&&(n[Symbol.asyncIterator]=function(){return this}),n}function l(e){var t={next:function(){return e.read()}};return o.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}function c(e){return!!e.body}function u(e){return!!e.getReader}function d(e){return!!(o.DN&&e[Symbol.asyncIterator])}function f(e){return!!e.stream}function p(e){return!!e.arrayBuffer}function h(e){return!!e.pipe}function m(e){var t=e;if(c(e)&&(t=e.body),d(t))return i(t);if(u(t))return l(t.getReader());if(f(t))return l(t.stream().getReader());if(p(t))return s(t.arrayBuffer());if(h(t))return a(t);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}var g=n(30410),v=n(41928),y=n(92002),b=Object.prototype.hasOwnProperty;function w(e,t){return(0,r.mG)(this,void 0,void 0,function(){var n,o,i,a,s,l,c,u,d,f,p,h,g,b,w,E,C,_,k,O,A,I,P;return(0,r.Jh)(this,function(T){switch(T.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),o=null===(P=e.headers)||void 0===P?void 0:P.get("content-type"),i="boundary=",a=(null==o?void 0:o.includes(i))?null==o?void 0:o.substring((null==o?void 0:o.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),l="",c=m(e),u=!0,T.label=1;case 1:if(!u)return[3,3];return[4,c.next()];case 2:for(f=(d=T.sent()).value,p=d.done,h="string"==typeof f?f:n.decode(f),g=l.length-s.length+1,u=!p,l+=h,b=l.indexOf(s,g);b>-1;){if(w=void 0,w=(A=[l.slice(0,b),l.slice(b+s.length)])[0],l=A[1],E=w.indexOf("\r\n\r\n"),(C=S(w.slice(0,E))["content-type"])&&-1===C.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(_=w.slice(E)){if(Object.keys(k=x(e,_)).length>1||"data"in k||"incremental"in k||"errors"in k||"payload"in k){if((0,y.yU)(k)){if(O={},"payload"in k){if(1===Object.keys(k).length&&null===k.payload)return[2];O=(0,r.pi)({},k.payload)}"errors"in k&&(O=(0,r.pi)((0,r.pi)({},O),{extensions:(0,r.pi)((0,r.pi)({},"extensions"in O?O.extensions:null),((I={})[v.YG]=k.errors,I))})),t(O)}else t(k)}else if(1===Object.keys(k).length&&"hasNext"in k&&!k.hasNext)return[2]}b=l.indexOf(s)}return[3,1];case 3:return[2]}})})}function S(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();t[r]=o}}),t}function x(e,t){if(e.status>=300){var n=function(){try{return JSON.parse(t)}catch(e){return t}};(0,g.P)(e,n(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function E(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function C(e){return function(t){return t.text().then(function(e){return x(t,e)}).then(function(n){return Array.isArray(n)||b.call(n,"data")||b.call(n,"errors")||(0,g.P)(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),n})}}},65275:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(20754);function o(e,t){var n=[],o=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&o("query",t.query),t.operationName&&o("operationName",t.operationName),t.variables){var i=void 0;try{i=(0,r.g)(t.variables,"Variables map")}catch(e){return{parseError:e}}o("variables",i)}if(t.extensions){var a=void 0;try{a=(0,r.g)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}o("extensions",a)}var s="",l=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),l=e.substr(0,c));var u=-1===l.indexOf("?")?"?":"&";return{newURI:l+u+n.join("&")+s}}},4841:function(e,t,n){"use strict";n.d(t,{E4:function(){return s},SC:function(){return i},sb:function(){return a},ve:function(){return l}});var r=n(43112),o=n(99152),i={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return n.unshift(t),l.apply(void 0,(0,r.ev)([e,a],n,!1))}function l(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a={},s={};n.forEach(function(e){a=(0,r.pi)((0,r.pi)((0,r.pi)({},a),e.options),{headers:(0,r.pi)((0,r.pi)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),s=(0,r.pi)((0,r.pi)({},s),e.http)}),a.headers&&(a.headers=c(a.headers,s.preserveHeaderCase));var l=e.operationName,u=e.extensions,d=e.variables,f=e.query,p={operationName:l,variables:d};return s.includeExtensions&&(p.extensions=u),s.includeQuery&&(p.query=t(f,o.S)),{options:a,body:p}}function c(e,t){if(!t){var n=Object.create(null);return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var r=Object.create(null);Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}});var o=Object.create(null);return Object.keys(r).forEach(function(e){o[r[e].originalName]=r[e].value}),o}},59882:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var r=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}},20754:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var r=n(77821),o=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var o=(0,r._K)(39,t,e.message);throw o.parseError=e,o}return n}},72610:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var r=n(79624);function o(e){return new r.y(function(t){t.error(e)})}},30410:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var r=function(e,t,n){var r=Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r}},40531:function(e,t,n){"use strict";n.d(t,{K:function(){return l}});var r,o=n(84401),i=n(76337),a=n(77821),s=i.aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function l(){(0,a.kG)("createContext"in(r||(r=n.t(o,2))),45);var e=o.createContext[s];return e||(Object.defineProperty(o.createContext,s,{value:e=o.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},68174:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r=n(43112),o=n(77821),i=n(84401),a=n(40531),s=function(e){var t=e.client,n=e.children,s=(0,a.K)(),l=i.useContext(s),c=i.useMemo(function(){return(0,r.pi)((0,r.pi)({},l),{client:t||l.client})},[l,t]);return(0,o.kG)(c.client,46),i.createElement(s.Provider,{value:c},n)}},90666:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var r=n(77821),o=n(84401),i=n(40531);function a(e){var t=o.useContext((0,i.K)()),n=e||t.client;return(0,r.kG)(!!n,49),n}},28560:function(e,t,n){"use strict";n.d(t,{D:function(){return u}});var r=n(43112),o=n(84401),i=n(45480),a=n(91215),s=n(4212),l=n(41928),c=n(90666);function u(e,t){var n=(0,c.x)(null==t?void 0:t.client);(0,s.Vp)(e,s.n_.Mutation);var u=o.useState({called:!1,loading:!1,client:n}),d=u[0],f=u[1],p=o.useRef({result:d,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});Object.assign(p.current,{client:n,options:t,mutation:e});var h=o.useCallback(function(e){void 0===e&&(e={});var t=p.current,n=t.options,o=t.mutation,s=(0,r.pi)((0,r.pi)({},n),{mutation:o}),c=e.client||p.current.client;p.current.result.loading||s.ignoreResults||!p.current.isMounted||f(p.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:c});var u=++p.current.mutationId,d=(0,i.J)(s,e);return c.mutate(d).then(function(t){var n,r,o=t.data,i=t.errors,s=i&&i.length>0?new l.cA({graphQLErrors:i}):void 0,h=e.onError||(null===(n=p.current.options)||void 0===n?void 0:n.onError);if(s&&h&&h(s,d),u===p.current.mutationId&&!d.ignoreResults){var m={called:!0,loading:!1,data:o,error:s,client:c};p.current.isMounted&&!(0,a.D)(p.current.result,m)&&f(p.current.result=m)}var g=e.onCompleted||(null===(r=p.current.options)||void 0===r?void 0:r.onCompleted);return s||null==g||g(t.data,d),t}).catch(function(t){if(u===p.current.mutationId&&p.current.isMounted){var n,r={loading:!1,error:t,data:void 0,called:!0,client:c};(0,a.D)(p.current.result,r)||f(p.current.result=r)}var o=e.onError||(null===(n=p.current.options)||void 0===n?void 0:n.onError);if(o)return o(t,d),{data:void 0,errors:t};throw t})},[]),m=o.useCallback(function(){if(p.current.isMounted){var e={called:!1,loading:!1,client:n};Object.assign(p.current,{mutationId:0,result:e}),f(e)}},[]);return o.useEffect(function(){return p.current.isMounted=!0,function(){p.current.isMounted=!1}},[]),[h,(0,r.pi)({reset:m},d)]}},37540:function(e,t,n){"use strict";n.d(t,{A:function(){return k},a:function(){return C}});var r=n(43112),o=n(77821),i=n(84401),a=n.t(i,2),s=n(76337),l=!1,c=a.useSyncExternalStore||function(e,t,n){var r=t();!1===globalThis.__DEV__||l||r===t()||(l=!0,!1!==globalThis.__DEV__&&o.kG.error(58));var a=i.useState({inst:{value:r,getSnapshot:t}}),c=a[0].inst,d=a[1];return s.JC?i.useLayoutEffect(function(){Object.assign(c,{value:r,getSnapshot:t}),u(c)&&d({inst:c})},[e,r,t]):Object.assign(c,{value:r,getSnapshot:t}),i.useEffect(function(){return u(c)&&d({inst:c}),e(function(){u(c)&&d({inst:c})})},[e]),r};function u(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(e){return!0}}var d=n(91215),f=n(45480),p=n(40531),h=n(41928),m=n(66002),g=n(4212),v=n(90666),y=n(47902),b=n(85101),w=n(57295),S=Symbol.for("apollo.hook.wrappers");function x(e,t,n){var r=n.queryManager,o=r&&r[S],i=o&&o[e];return i?i(t):t}var E=Object.prototype.hasOwnProperty;function C(e,t){return void 0===t&&(t=Object.create(null)),x("useQuery",_,(0,v.x)(t&&t.client))(e,t)}function _(e,t){return k((0,v.x)(t.client),e).useQuery(t)}function k(e,t){var n=i.useRef();n.current&&e===n.current.client&&t===n.current.query||(n.current=new O(e,t,n.current));var r=n.current;return r.forceUpdateState=i.useReducer(function(e){return e+1},0)[1],r}var O=function(){function e(e,t,n){var r=this;this.client=e,this.query=t,this.forceUpdate=function(){return r.forceUpdateState()},this.ssrDisabledResult=(0,y.J)({loading:!0,data:void 0,error:void 0,networkStatus:m.Ie.loading}),this.skipStandbyResult=(0,y.J)({loading:!1,data:void 0,error:void 0,networkStatus:m.Ie.ready}),this.toQueryResultCache=new(s.mr?WeakMap:Map),(0,g.Vp)(t,g.n_.Query);var o=n&&n.result,i=o&&o.data;i&&(this.previousData=i)}return e.prototype.forceUpdateState=function(){!1!==globalThis.__DEV__&&o.kG.warn(51)},e.prototype.executeQuery=function(e){var t,n=this;e.query&&Object.assign(this,{query:e.query}),this.watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=e);var r=this.observable.reobserveAsConcast(this.getObsQueryOptions());return this.previousData=(null===(t=this.result)||void 0===t?void 0:t.data)||this.previousData,this.result=void 0,this.forceUpdate(),new Promise(function(e){var t;r.subscribe({next:function(e){t=e},error:function(){e(n.toQueryResult(n.observable.getCurrentResult()))},complete:function(){e(n.toQueryResult(t))}})})},e.prototype.useQuery=function(e){var t=this;this.renderPromises=i.useContext((0,p.K)()).renderPromises,this.useOptions(e);var n=this.useObservableQuery(),r=c(i.useCallback(function(e){if(t.renderPromises)return function(){};t.forceUpdate=e;var r=function(){var e=t.result,r=n.getCurrentResult();e&&e.loading===r.loading&&e.networkStatus===r.networkStatus&&(0,d.D)(e.data,r.data)||t.setResult(r)},o=function(e){if(i.unsubscribe(),i=n.resubscribeAfterError(r,o),!E.call(e,"graphQLErrors"))throw e;var a=t.result;(!a||a&&a.loading||!(0,d.D)(e,a.error))&&t.setResult({data:a&&a.data,error:e,loading:!1,networkStatus:m.Ie.error})},i=n.subscribe(r,o);return function(){setTimeout(function(){return i.unsubscribe()}),t.forceUpdate=function(){return t.forceUpdateState()}}},[n,this.renderPromises,this.client.disableNetworkFetches]),function(){return t.getCurrentResult()},function(){return t.getCurrentResult()});return this.unsafeHandlePartialRefetch(r),this.toQueryResult(r)},e.prototype.useOptions=function(t){var n,r=this.createWatchQueryOptions(this.queryHookOptions=t),o=this.watchQueryOptions;!(0,d.D)(r,o)&&(this.watchQueryOptions=r,o&&this.observable&&(this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(n=this.result)||void 0===n?void 0:n.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,(this.renderPromises||this.client.disableNetworkFetches)&&!1===this.queryHookOptions.ssr&&!this.queryHookOptions.skip?this.result=this.ssrDisabledResult:this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:(this.result===this.ssrDisabledResult||this.result===this.skipStandbyResult)&&(this.result=void 0)},e.prototype.getObsQueryOptions=function(){var e=[],t=this.client.defaultOptions.watchQuery;return t&&e.push(t),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push((0,b.o)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(f.J)},e.prototype.createWatchQueryOptions=function(e){void 0===e&&(e={});var t,n=e.skip,o=Object.assign((e.ssr,e.onCompleted,e.onError,e.defaultOptions,(0,r._T)(e,["skip","ssr","onCompleted","onError","defaultOptions"])),{query:this.query});if(this.renderPromises&&("network-only"===o.fetchPolicy||"cache-and-network"===o.fetchPolicy)&&(o.fetchPolicy="cache-first"),o.variables||(o.variables={}),n){var i=o.fetchPolicy,a=void 0===i?this.getDefaultFetchPolicy():i,s=o.initialFetchPolicy;Object.assign(o,{initialFetchPolicy:void 0===s?a:s,fetchPolicy:"standby"})}else o.fetchPolicy||(o.fetchPolicy=(null===(t=this.observable)||void 0===t?void 0:t.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return o},e.prototype.getDefaultFetchPolicy=function(){var e,t;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(t=this.client.defaultOptions.watchQuery)||void 0===t?void 0:t.fetchPolicy)||"cache-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=i.useMemo(function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[e]);var t=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&t&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e,t)},e.prototype.handleErrorOrCompleted=function(e,t){var n=this;if(!e.loading){var r=this.toApolloError(e);Promise.resolve().then(function(){r?n.onError(r):e.data&&(null==t?void 0:t.networkStatus)!==e.networkStatus&&e.networkStatus===m.Ie.ready&&n.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&o.kG.warn(e)})}},e.prototype.toApolloError=function(e){return(0,w.O)(e.errors)?new h.cA({graphQLErrors:e.errors}):e.error},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var n=e.data,o=(e.partial,(0,r._T)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=(0,r.pi)((0,r.pi)((0,r.pi)({data:n},o),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&(0,w.O)(e.errors)&&(t.error=new h.cA({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){e.partial&&this.queryHookOptions.partialRefetch&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==this.observable.options.fetchPolicy&&(Object.assign(e,{loading:!0,networkStatus:m.Ie.refetch}),this.observable.refetch())},e}()},4212:function(e,t,n){"use strict";n.d(t,{Vp:function(){return d},n_:function(){return r}});var r,o,i=n(77821),a=n(16829),s=n(62756),l=n(24397);function c(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function u(e){o||(o=new a.s(s.Q.parser||1e3));var t,n,l,c=o.get(e);if(c)return c;(0,i.kG)(!!e&&!!e.kind,59,e);for(var u=[],d=[],f=[],p=[],h=0,m=e.definitions;h<m.length;h++){var g=m[h];if("FragmentDefinition"===g.kind){u.push(g);continue}if("OperationDefinition"===g.kind)switch(g.operation){case"query":d.push(g);break;case"mutation":f.push(g);break;case"subscription":p.push(g)}}(0,i.kG)(!u.length||d.length||f.length||p.length,60),(0,i.kG)(d.length+f.length+p.length<=1,61,e,d.length,p.length,f.length),n=d.length?r.Query:r.Mutation,d.length||f.length||(n=r.Subscription);var v=d.length?d:f.length?f:p;(0,i.kG)(1===v.length,62,e,v.length);var y=v[0];t=y.variableDefinitions||[];var b={name:l=y.name&&"Name"===y.name.kind?y.name.value:"data",type:n,variables:t};return o.set(e,b),b}function d(e,t){var n=u(e),r=c(t),o=c(n.type);(0,i.kG)(n.type===t,63,r,r,o)}(function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"})(r||(r={})),u.resetCache=function(){o=void 0},!1!==globalThis.__DEV__&&(0,l.zP)("parser",function(){return o?o.size:0})},16829:function(e,t,n){"use strict";n.d(t,{L:function(){return l},s:function(){return s}});var r=n(23530),o=n(95255),i=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(i.has(e)||(i.add(e),setTimeout(function(){e.clean(),i.delete(e)},100)))}var s=function(e,t){var n=new r.k(e,t);return n.set=function(e,t){var n=r.k.prototype.set.call(this,e,t);return a(this),n},n},l=function(e,t){var n=new o.e(e,t);return n.set=function(e,t){var n=o.e.prototype.set.call(this,e,t);return a(this),n},n}},24397:function(e,t,n){"use strict";n.d(t,{Kb:function(){return c},q4:function(){return l},su:function(){return s},zP:function(){return a}});var r=n(43112),o=n(62756),i={};function a(e,t){i[e]=t}var s=!1!==globalThis.__DEV__?d:void 0,l=!1!==globalThis.__DEV__?p:void 0,c=!1!==globalThis.__DEV__?f:void 0;function u(){return Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],n=e[1];return[t,o.Q[t]||n]}))}function d(){var e,t,n,o,a;if(!(!1!==globalThis.__DEV__))throw Error("only supported in development mode");return{limits:u(),sizes:(0,r.pi)({print:null===(e=i.print)||void 0===e?void 0:e.call(i),parser:null===(t=i.parser)||void 0===t?void 0:t.call(i),canonicalStringify:null===(n=i.canonicalStringify)||void 0===n?void 0:n.call(i),links:b(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:v(this.queryManager.documentTransform)}},null===(a=(o=this.cache).getMemoryInternals)||void 0===a?void 0:a.call(o))}}function f(){return{cache:{fragmentQueryDocuments:m(this.getFragmentDoc)}}}function p(){var e=this.config.fragments;return(0,r.pi)((0,r.pi)({},f.apply(this)),{addTypenameDocumentTransform:v(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:m(this.storeReader.executeSelectionSet),executeSubSelectedArray:m(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:m(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:m(null==e?void 0:e.findFragmentSpreads),lookup:m(null==e?void 0:e.lookup),transform:m(null==e?void 0:e.transform)}})}function h(e){return!!e&&"dirtyKey"in e}function m(e){return h(e)?e.size:void 0}function g(e){return null!=e}function v(e){return y(e).map(function(e){return{cache:e}})}function y(e){return e?(0,r.ev)((0,r.ev)([m(null==e?void 0:e.performWork)],y(null==e?void 0:e.left),!0),y(null==e?void 0:e.right),!0).filter(g):[]}function b(e){var t;return e?(0,r.ev)((0,r.ev)([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],b(null==e?void 0:e.left),!0),b(null==e?void 0:e.right),!0).filter(g):[]}},62756:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(43112),o=n(77821),i=Symbol.for("apollo.cacheSize"),a=(0,r.pi)({},o.CO[i])},57295:function(e,t,n){"use strict";n.d(t,{O:function(){return o},k:function(){return r}});var r=Array.isArray;function o(e){return Array.isArray(e)&&e.length>0}},76337:function(e,t,n){"use strict";n.d(t,{DN:function(){return s},JC:function(){return u},aS:function(){return a},mr:function(){return o},sy:function(){return i}});var r=n(77821),o="function"==typeof WeakMap&&!(0,r.wY)(function(){return"ReactNative"==navigator.product&&!global.HermesInternal}),i="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,s=a&&Symbol.asyncIterator,l="function"==typeof(0,r.wY)(function(){return window.document.createElement}),c=(0,r.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,u=l&&!c},80399:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var r,o=n(16829),i=n(62756),a=n(24397),s=Object.assign(function(e){return JSON.stringify(e,l)},{reset:function(){r=new o.L(i.Q.canonicalStringify||1e3)}});function l(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var o=Object.keys(t);if(o.every(c))return t;var i=JSON.stringify(o),a=r.get(i);if(!a){o.sort();var s=JSON.stringify(o);a=r.get(s)||o,r.set(i,a),r.set(s,a)}var l=Object.create(n);return a.forEach(function(e){l[e]=t[e]}),l}}return t}function c(e,t,n){return 0===t||n[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.zP)("canonicalStringify",function(){return r.size}),s.reset()},98061:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=Object.prototype.toString;function o(e){return i(e)}function i(e,t){switch(r.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach(function(e,r){n[r]=i(e,t)}),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var o=Object.create(Object.getPrototypeOf(e));return t.set(e,o),Object.keys(e).forEach(function(n){o[n]=i(e[n],t)}),o;default:return e}}},85101:function(e,t,n){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var r=e[t];void 0!==r&&(n[t]=r)})}),n}n.d(t,{o:function(){return r}})},92002:function(e,t,n){"use strict";n.d(t,{GG:function(){return a},M0:function(){return l},mT:function(){return u},yU:function(){return c}});var r=n(52492),o=n(57295),i=n(31467);function a(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function l(e){return a(e)||s(e)}function c(e){return(0,r.s)(e)&&"payload"in e}function u(e,t){var n=e,r=new i.w0;return a(t)&&(0,o.O)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,o=e.path,i=o.length-1;i>=0;--i){var a=o[i],s=isNaN(+a)?{}:[];s[a]=t,t=s}n=r.merge(n,t)}),n}},56009:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=new Map;function o(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},47902:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(52492);function o(e){var t=new Set([e]);return t.forEach(function(e){(0,r.s)(e)&&i(e)===e&&Object.getOwnPropertyNames(e).forEach(function(n){(0,r.s)(e[n])&&t.add(e[n])})}),e}function i(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}function a(e){return!1!==globalThis.__DEV__&&o(e),e}},31467:function(e,t,n){"use strict";n.d(t,{Ee:function(){return a},bw:function(){return s},w0:function(){return c}});var r=n(43112),o=n(52492),i=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new c,o=1;o<n;++o)t=r.merge(t,e[o]);return t}var l=function(e,t,n){return this.merge(e[n],t[n])},c=function(){function e(e){void 0===e&&(e=l),this.reconciler=e,this.isObject=o.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,o.s)(t)&&(0,o.s)(e)?(Object.keys(t).forEach(function(o){if(i.call(e,o)){var s=e[o];if(t[o]!==s){var l=n.reconciler.apply(n,(0,r.ev)([e,t,o],a,!1));l!==s&&((e=n.shallowCopyForMerge(e))[o]=l)}}else(e=n.shallowCopyForMerge(e))[o]=t[o]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,o.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,r.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},45480:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(43112),o=n(85101);function i(e,t){return(0,o.o)(e,t,t.variables&&{variables:(0,o.o)((0,r.pi)((0,r.pi)({},e&&e.variables),t.variables))})}},52492:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{s:function(){return r}})},15047:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(56009);function o(e,t){void 0===t&&(t=0);var n=(0,r.X)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}},77821:function(e,t,n){"use strict";n.d(t,{CO:function(){return a},kG:function(){return c},wY:function(){return i},_K:function(){return u}});var r=n(67558),o=n(58358);function i(e){try{return e()}catch(e){}}var a=i(function(){return globalThis})||i(function(){return window})||i(function(){return self})||i(function(){return global})||i(function(){return i.constructor("return this")()}),s=n(15047);function l(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var o=t;(t=p(o))||(t=h(o,n),n=[])}e.apply(void 0,[t].concat(n))}}var c=Object.assign(function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];e||(0,r.kG)(e,p(t,n)||h(t,n))},{debug:l(r.kG.debug),log:l(r.kG.log),warn:l(r.kG.warn),error:l(r.kG.error)});function u(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new r.ej(p(e,t)||h(e,t))}var d=Symbol.for("ApolloErrorMessageHandler_"+o.i);function f(e){return"string"==typeof e?e:(0,s.v)(e,2).slice(0,1e3)}function p(e,t){if(void 0===t&&(t=[]),e)return a[d]&&a[d](e,t.map(f))}function h(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:o.i,message:e,args:t.map(f)})))}},56050:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(31356),o=n(76337),i=n(42821),a=n(77821),s=n(23530),l=n(96181),c=n(62756);function u(e){return e}var d=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=o.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(u,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e(function(e){return(t(e)?n:r).transformDocument(e)},{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new r.B(o.mr);this.performWork=(0,l.re)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,a.kG)(Array.isArray(r),66),n.lookupArray(r)},max:c.Q["documentTransform.cache"],cache:s.k})}},e.prototype.performWork=function(e){return(0,i.A$)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},89126:function(e,t,n){"use strict";n.d(t,{FS:function(){return a},LZ:function(){return i},mj:function(){return s}});var r=n(77821),o=n(29394);function i(e,t){var n=e.directives;return!n||!n.length||c(n).every(function(e){var n=e.directive,o=e.ifArgument,i=!1;return"Variable"===o.value.kind?(i=t&&t[o.value.name.value],(0,r.kG)(void 0!==i,67,n.name.value)):i=o.value.value,"skip"===n.name.value?!i:i})}function a(e,t,n){var r=new Set(e),i=r.size;return(0,o.Vn)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return o.$_}}),n?!r.size:r.size<i}function s(e){return e&&a(["client","export"],e,!0)}function l(e){var t=e.name.value;return"skip"===t||"include"===t}function c(e){var t=[];return e&&e.length&&e.forEach(function(e){if(l(e)){var n=e.arguments,o=e.name.value;(0,r.kG)(n&&1===n.length,68,o);var i=n[0];(0,r.kG)(i.name&&"if"===i.name.value,69,o);var a=i.value;(0,r.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),70,o),t.push({directive:e,ifArgument:i})}}),t}},53576:function(e,t,n){"use strict";n.d(t,{F:function(){return a},Yk:function(){return i},hi:function(){return s}});var r=n(43112),o=n(77821);function i(e,t){var n=t,i=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,o._K)(71,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&i.push(e)}),void 0===n&&((0,o.kG)(1===i.length,72,i.length),n=i[0].name.value),(0,r.pi)((0,r.pi)({},e),{definitions:(0,r.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function a(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function s(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return(0,o.kG)(r,73,n),r||null;default:return null}}},42821:function(e,t,n){"use strict";n.d(t,{$H:function(){return a},A$:function(){return i},O4:function(){return f},iW:function(){return c},kU:function(){return l},p$:function(){return d},pD:function(){return u},rY:function(){return s}});var r=n(77821),o=n(64065);function i(e){(0,r.kG)(e&&"Document"===e.kind,74);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,r._K)(75,e.kind);return e});return(0,r.kG)(t.length<=1,76,t.length),e}function a(e){return i(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function l(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function c(e){var t=a(e);return(0,r.kG)(t&&"query"===t.operation,77),t}function u(e){(0,r.kG)("Document"===e.kind,78),(0,r.kG)(e.definitions.length<=1,79);var t=e.definitions[0];return(0,r.kG)("FragmentDefinition"===t.kind,80),t}function d(e){i(e);for(var t,n=0,o=e.definitions;n<o.length;n++){var a=o[n];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r._K)(81)}function f(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(e){e.defaultValue&&(0,o.vb)(t,e.variable.name,e.defaultValue)}),t}},99152:function(e,t,n){"use strict";n.d(t,{S:function(){return S}});var r,o=n(99408);function i(e){return`"${e.replace(a,s)}"`}let a=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function s(e){return l[e.charCodeAt(0)]}let l=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var c=n(29394);function u(e){return(0,c.Vn)(e,f)}let d=80,f={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>p(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=m("(",p(e.variableDefinitions,", "),")"),n=p([e.operation,p([e.name,t]),p(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+m(" = ",n)+m(" ",p(r," "))},SelectionSet:{leave:({selections:e})=>h(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:o}){let i=m("",e,": ")+t,a=i+m("(",p(n,", "),")");return a.length>d&&(a=i+m("(\n",g(p(n,"\n")),"\n)")),p([a,p(r," "),o]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+m(" ",p(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>p(["...",m("on ",e),p(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:o})=>`fragment ${e}${m("(",p(n,", "),")")} on ${t} ${m("",p(r," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,o.LZ)(e):i(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+p(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+p(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+m("(",p(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>m("",e,"\n")+p(["schema",p(t," "),h(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>m("",e,"\n")+p(["scalar",t,p(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>m("",e,"\n")+p(["type",t,m("implements ",p(n," & ")),p(r," "),h(o)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:o})=>m("",e,"\n")+t+(v(n)?m("(\n",g(p(n,"\n")),"\n)"):m("(",p(n,", "),")"))+": "+r+m(" ",p(o," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:o})=>m("",e,"\n")+p([t+": "+n,m("= ",r),p(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>m("",e,"\n")+p(["interface",t,m("implements ",p(n," & ")),p(r," "),h(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>m("",e,"\n")+p(["union",t,p(n," "),m("= ",p(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>m("",e,"\n")+p(["enum",t,p(n," "),h(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>m("",e,"\n")+p([t,p(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>m("",e,"\n")+p(["input",t,p(n," "),h(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:o})=>m("",e,"\n")+"directive @"+t+(v(n)?m("(\n",g(p(n,"\n")),"\n)"):m("(",p(n,", "),")"))+(r?" repeatable":"")+" on "+p(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>p(["extend schema",p(e," "),h(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>p(["extend scalar",e,p(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>p(["extend type",e,m("implements ",p(t," & ")),p(n," "),h(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>p(["extend interface",e,m("implements ",p(t," & ")),p(n," "),h(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>p(["extend union",e,p(t," "),m("= ",p(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>p(["extend enum",e,p(t," "),h(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>p(["extend input",e,p(t," "),h(n)]," ")}};function p(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function h(e){return m("{\n",g(p(e,"\n")),"\n}")}function m(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function g(e){return m("  ",e.replace(/\n/g,"\n  "))}function v(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var y=n(16829),b=n(62756),w=n(24397),S=Object.assign(function(e){var t=r.get(e);return t||(t=u(e),r.set(e,t)),t},{reset:function(){r=new y.s(b.Q.print||2e3)}});S.reset(),!1!==globalThis.__DEV__&&(0,w.zP)("print",function(){return r?r.size:0})},64065:function(e,t,n){"use strict";n.d(t,{Ao:function(){return A},JW:function(){return c},My:function(){return O},NC:function(){return C},PT:function(){return E},Yk:function(){return l},kQ:function(){return s},qw:function(){return k},u2:function(){return _},vb:function(){return b},vf:function(){return w}});var r=n(77821),o=n(52492),i=n(53576),a=n(80399);function s(e){return{__ref:String(e)}}function l(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,o.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function u(e){return"StringValue"===e.kind}function d(e){return"BooleanValue"===e.kind}function f(e){return"IntValue"===e.kind}function p(e){return"FloatValue"===e.kind}function h(e){return"Variable"===e.kind}function m(e){return"ObjectValue"===e.kind}function g(e){return"ListValue"===e.kind}function v(e){return"EnumValue"===e.kind}function y(e){return"NullValue"===e.kind}function b(e,t,n,o){if(f(n)||p(n))e[t.value]=Number(n.value);else if(d(n)||u(n))e[t.value]=n.value;else if(m(n)){var i={};n.fields.map(function(e){return b(i,e.name,e.value,o)}),e[t.value]=i}else if(h(n)){var a=(o||{})[n.name.value];e[t.value]=a}else if(g(n))e[t.value]=n.values.map(function(e){var n={};return b(n,t,e,o),n[t.value]});else if(v(n))e[t.value]=n.value;else if(y(n))e[t.value]=null;else throw(0,r._K)(82,t.value,n.kind)}function w(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var o=r.name,i=r.value;return b(n[e.name.value],o,i,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,o=e.value;return b(r,n,o,t)})),E(e.name.value,r,n)}var S=["connection","include","skip","client","rest","export","nonreactive"],x=a.B,E=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(!n.connection.filter||!(n.connection.filter.length>0))return n.connection.key;var r=n.connection.filter?n.connection.filter:[];r.sort();var o={};return r.forEach(function(e){o[e]=t[e]}),"".concat(n.connection.key,"(").concat(x(o),")")}var i=e;if(t){var a=x(t);i+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(e){-1===S.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@".concat(e,"(").concat(x(n[e]),")"):i+="@".concat(e))}),i},{setStringify:function(e){var t=x;return x=e,t}});function C(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){return b(n,e.name,e.value,t)}),n}return null}function _(e){return e.alias?e.alias.value:e.name.value}function k(e,t,n){for(var r,o=0,a=t.selections;o<a.length;o++){var s=a[o];if(O(s)){if("__typename"===s.name.value)return e[_(s)]}else r?r.push(s):r=[s]}if("string"==typeof e.__typename)return e.__typename;if(r)for(var l=0,c=r;l<c.length;l++){var s=c[l],u=k(e,(0,i.hi)(s,n).selectionSet,n);if("string"==typeof u)return u}}function O(e){return"Field"===e.kind}function A(e){return"InlineFragment"===e.kind}},43308:function(e,t,n){"use strict";n.d(t,{Gw:function(){return v},aL:function(){return y},bi:function(){return g},ob:function(){return b}});var r=n(43112),o=n(77821),i=n(16334),a=n(29394),s=n(42821),l=n(64065),c=n(53576),u=n(57295),d={kind:i.h.FIELD,name:{kind:i.h.NAME,value:"__typename"}};function f(e,t){return!e||e.selectionSet.selections.every(function(e){return e.kind===i.h.FRAGMENT_SPREAD&&f(t[e.name.value],t)})}function p(e){return f((0,s.$H)(e)||(0,s.pD)(e),(0,c.F)((0,s.kU)(e)))?null:e}function h(e){var t=new Map,n=new Map;return e.forEach(function(e){e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))}),function(e){var r=t.get(e.name.value);return!r&&n.size&&n.forEach(function(t,n){n(e)&&(r=t)}),r}}function m(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function g(e,t){(0,s.A$)(t);for(var n=m(""),l=m(""),c=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,u.k)(r)){if(r.kind===i.h.OPERATION_DEFINITION)return n(r.name&&r.name.value);if(r.kind===i.h.FRAGMENT_DEFINITION)return l(r.name.value)}return!1!==globalThis.__DEV__&&o.kG.error(83),null},d=0,f=t.definitions.length-1;f>=0;--f)t.definitions[f].kind===i.h.OPERATION_DEFINITION&&++d;var g=h(e),v=function(e){return(0,u.O)(e)&&e.map(g).some(function(e){return e&&e.remove})},y=new Map,b=!1,w={enter:function(e){if(v(e.directives))return b=!0,null}},S=(0,a.Vn)(t,{Field:w,InlineFragment:w,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,o){var i=c(o);i&&i.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,o){if(v(e.directives))return b=!0,null;var i=c(o);i&&i.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){y.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===y.get(JSON.stringify(r))?e:d>0&&e.selectionSet.selections.every(function(e){return e.kind===i.h.FIELD&&"__typename"===e.name.value})?(l(e.name.value).removed=!0,b=!0,null):void 0}},Directive:{leave:function(e){if(g(e))return b=!0,null}}});if(!b)return t;var x=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){x(l(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},E=new Set;S.definitions.forEach(function(e){e.kind===i.h.OPERATION_DEFINITION?x(n(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){E.add(e)}):e.kind!==i.h.FRAGMENT_DEFINITION||0!==d||l(e.name.value).removed||E.add(e.name.value)}),E.forEach(function(e){x(l(e)).fragmentSpreads.forEach(function(e){E.add(e)})});var C=function(e){return!!(!E.has(e)||l(e).removed)},_={enter:function(e){if(C(e.name.value))return null}};return p((0,a.Vn)(S,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=x(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.pi)((0,r.pi)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var v=Object.assign(function(e){return(0,a.Vn)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==i.h.OPERATION_DEFINITION){var o=e.selections;if(!(!o||o.some(function(e){return(0,l.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var a=n;if(!((0,l.My)(a)&&a.directives&&a.directives.some(function(e){return"export"===e.name.value})))return(0,r.pi)((0,r.pi)({},e),{selections:(0,r.ev)((0,r.ev)([],o,!0),[d],!1)})}}}}})},{added:function(e){return e===d}});function y(e){return"query"===(0,s.p$)(e).operation?e:(0,a.Vn)(e,{OperationDefinition:{enter:function(e){return(0,r.pi)((0,r.pi)({},e),{operation:"query"})}}})}function b(e){return(0,s.A$)(e),g([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},18662:function(e,t,n){"use strict";function r(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}n.d(t,{p:function(){return r}})},68109:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(79624),o=n(76337);function i(e){function t(t){Object.defineProperty(e,t,{value:r.y})}return o.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}},58358:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r="3.10.1"},12314:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},63829:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},99358:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},60545:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(72790);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},84896:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(72790);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},62632:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},14068:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(84896);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}},31605:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function o(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Z:function(){return o}})},37988:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}function o(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}n.d(t,{Z:function(){return s}});var i=n(84963);function a(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){return r(e)||o(e,t)||(0,i.Z)(e,t)||a()}},4013:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(63829);function o(e){if(Array.isArray(e))return(0,r.Z)(e)}function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var a=n(84963);function s(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){return o(e)||i(e)||(0,a.Z)(e)||s()}},72790:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(58611);function o(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function i(e){var t=o(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},58611:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},84963:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(63829);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r.Z)(e,t)}}},75911:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},41289:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},45534:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},63011:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)})}}n.d(t,{Z:function(){return o}})},10342:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},77009:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(90633);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},17615:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(21831),o=n(3371),i=n(66437);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);return n=t?Reflect.construct(o,arguments,(0,r.Z)(this).constructor):o.apply(this,arguments),(0,i.Z)(this,n)}}},52986:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(90633);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},27820:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{Z:function(){return r}})},21831:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},81065:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86193);function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},3371:function(e,t,n){"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}n.d(t,{Z:function(){return r}})},31181:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},57758:function(e,t,n){"use strict";function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},33581:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(52986);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}},92486:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function o(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Z:function(){return o}})},66437:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(24335),o=n(45534);function i(e,t){if(t&&("object"==(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},21996:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(24335);function o(){o=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=Object.create((t&&t.prototype instanceof b?t:b).prototype);return a(o,"_invoke",{value:A(e,n,new R(r||[]))}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",m="suspendedYield",g="executing",v="completed",y={};function b(){}function w(){}function S(){}var x={};d(x,l,function(){return this});var E=Object.getPrototypeOf,C=E&&E(E(M([])));C&&C!==n&&i.call(C,l)&&(x=C);var _=S.prototype=b.prototype=Object.create(x);function k(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function O(e,t){var n;function o(n,a,s,l){var c=p(e[n],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==(0,r.Z)(d)&&i.call(d,"__await")?t.resolve(d.__await).then(function(e){o("next",e,s,l)},function(e){o("throw",e,s,l)}):t.resolve(d).then(function(e){u.value=e,s(u)},function(e){return o("throw",e,s,l)})}l(c.arg)}a(this,"_invoke",{value:function(e,r){function i(){return new t(function(t,n){o(e,r,t,n)})}return n=n?n.then(i,i):i()}})}function A(t,n,r){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=I(s,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?v:m,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=v,r.method="throw",r.arg=c.arg)}}}function I(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,I(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+r+"' method")),y;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function M(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(i.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw TypeError((0,r.Z)(t)+" is not iterable")}return w.prototype=S,a(_,"constructor",{value:S,configurable:!0}),a(S,"constructor",{value:w,configurable:!0}),w.displayName=d(S,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,d(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},k(O.prototype),d(O.prototype,c,function(){return this}),t.AsyncIterator=O,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},k(_),d(_,u,"Generator"),d(_,l,function(){return this}),d(_,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=M,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}},86193:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},7732:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(41289);function o(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}var i=n(79715),a=n(57758);function s(e,t){return(0,r.Z)(e)||o(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},54232:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(41289),o=n(31181),i=n(79715),a=n(57758);function s(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},70826:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(75911);function o(e){if(Array.isArray(e))return(0,r.Z)(e)}var i=n(31181),a=n(79715);function s(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){return o(e)||(0,i.Z)(e)||(0,a.Z)(e)||s()}},90633:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(24335);function o(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function i(e){var t=o(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},24335:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},79715:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(75911);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},50836:function(e,t,n){"use strict";n.d(t,{v4:function(){return a}});for(var r,o=256,i=[];o--;)i[o]=(o+256).toString(16).substring(1);function a(){var e,t=0,n="";if(!r||o+16>256){for(r=Array(t=256);t--;)r[t]=256*Math.random()|0;t=o=0}for(;t<16;t++)e=r[o+t],6==t?n+=i[15&e|64]:8==t?n+=i[63&e|128]:n+=i[e],1&t&&t>1&&t<11&&(n+="-");return o++,n}},83950:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},45101:function(e,t,n){"use strict";n.d(t,{Wz:function(){return u},m9:function(){return l},re:function(){return f}});var r=n(40351),o=n(45216),i=n(53531),a=n(18141),s=n(21229);let l=i.GLOBAL_OBJ,c=0;function u(){return c>0}function d(){c++,setTimeout(()=>{c--})}function f(e,t={},n){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)return t;if((0,a.HK)(e))return e}catch(t){return e}let i=function(){let i=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);let r=i.map(e=>f(e,t));return e.apply(this,r)}catch(e){throw d(),(0,r.$e)(n=>{n.addEventProcessor(e=>(t.mechanism&&((0,s.Db)(e,void 0,void 0),(0,s.EG)(e,t.mechanism)),e.extra={...e.extra,arguments:i},e)),(0,o.Tb)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}catch(e){}(0,a.$Q)(i,e),(0,a.xp)(e,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:()=>e.name})}catch(e){}return i}},33267:function(e,t,n){"use strict";let r;n.d(t,{nV:function(){return tV},S1:function(){return tG},jp:function(){return tK}});var o=n(56007),i=n(21229),a=n(96481),s=n(69790),l=n(258);let c=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],u="InboundFilters",d=(e={})=>({name:u,processEvent:(t,n,r)=>h(t,p(e,r.getOptions()))?null:t}),f=(0,l._I)(d);function p(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:c],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}function h(e,t){return t.ignoreInternal&&w(e)?(s.X&&o.kg.warn(`Event dropped due to being internal Sentry Error.
Event: ${(0,i.jH)(e)}`),!0):m(e,t.ignoreErrors)?(s.X&&o.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${(0,i.jH)(e)}`),!0):g(e,t.ignoreTransactions)?(s.X&&o.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${(0,i.jH)(e)}`),!0):v(e,t.denyUrls)?(s.X&&o.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${(0,i.jH)(e)}.
Url: ${x(e)}`),!0):!y(e,t.allowUrls)&&(s.X&&o.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${(0,i.jH)(e)}.
Url: ${x(e)}`),!0)}function m(e,t){return!e.type&&!!t&&!!t.length&&b(e).some(e=>(0,a.U0)(e,t))}function g(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let n=e.transaction;return!!n&&(0,a.U0)(n,t)}function v(e,t){if(!t||!t.length)return!1;let n=x(e);return!!n&&(0,a.U0)(n,t)}function y(e,t){if(!t||!t.length)return!0;let n=x(e);return!n||(0,a.U0)(n,t)}function b(e){let t;let n=[];e.message&&n.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(n.push(t.value),t.type&&n.push(`${t.type}: ${t.value}`)),n}function w(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}function S(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function x(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?S(t):null}catch(t){return s.X&&o.kg.error(`Cannot extract url for event ${(0,i.jH)(e)}`),null}}var E=n(18141),C=n(40351);let _="FunctionToString",k=new WeakMap,O=()=>({name:_,setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,E.HK)(this),n=k.has((0,C.s3)())&&void 0!==t?t:this;return r.apply(n,e)}}catch(e){}},setup(e){k.set(e,!0)}}),A=(0,l._I)(O),I="Dedupe",P=()=>{let e;return{name:I,processEvent(t){if(t.type)return t;try{if(R(t,e))return s.X&&o.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}},T=(0,l._I)(P);function R(e,t){return!!t&&!!(M(e,t)||N(e,t))}function M(e,t){let n=e.message,r=t.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&D(e,t)&&j(e,t))}function N(e,t){let n=L(t),r=L(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&D(e,t)&&j(e,t))}function j(e,t){let n=B(e),r=B(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],o=n[e];if(t.filename!==o.filename||t.lineno!==o.lineno||t.colno!==o.colno||t.function!==o.function)return!1}return!0}function D(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function L(e){return e.exception&&e.exception.values&&e.exception.values[0]}function B(e){let t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){}}var Z=n(81352);function F(e,t){!0===t.debug&&(s.X?o.kg.enable():(0,o.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,C.nZ)().update(t.initialScope);let n=new e(t);z(n),n.init()}function z(e){(0,C.nZ)().setClient(e),U(e)}function U(e){let t=(0,Z.q)((0,Z.c)());t.hub&&"function"==typeof t.hub.getStackTop&&(t.hub.getStackTop().client=e)}var H=n(45216),q=n(87827);let V="7";function W(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function $(e){return`${W(e)}${e.projectId}/envelope/`}function G(e,t){return(0,E._j)({sentry_key:e.publicKey,sentry_version:V,...t&&{sentry_client:`${t.name}/${t.version}`}})}function K(e,t,n){return t||`${$(e)}?${G(e,n)}`}function Y(e,t){let n=(0,q.vK)(e);if(!n)return"";let r=`${W(n)}embed/error-page/`,o=`dsn=${(0,q.RA)(n)}`;for(let e in t)if("dsn"!==e&&"onClose"!==e){if("user"===e){let e=t.user;if(!e)continue;e.name&&(o+=`&name=${encodeURIComponent(e.name)}`),e.email&&(o+=`&email=${encodeURIComponent(e.email)}`)}else o+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`}return`${r}?${o}`}var X=n(99146),Q=n(89e3),J=n(49418),ee=n(95849),et=n(56821),en=n(83893);class er extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}var eo=n(85326),ei=n(5971),ea=n(4751),es=n(55158),el=n(66441);let ec="Not capturing exception because it's already been captured.";class eu{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,q.vK)(e.dsn):s.X&&o.kg.warn("No DSN provided, client will not send events."),this._dsn){let t=K(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){let r=(0,i.DM)();if((0,i.YO)(e))return s.X&&o.kg.log(ec),r;let a={event_id:r,...t};return this._process(this.eventFromException(e,a).then(e=>this._captureEvent(e,a,n))),a.event_id}captureMessage(e,t,n,r){let o={event_id:(0,i.DM)(),...n},a=(0,ee.Le)(e)?e:String(e),s=(0,ee.pt)(e)?this.eventFromMessage(a,t,o):this.eventFromException(e,o);return this._process(s.then(e=>this._captureEvent(e,o,r))),o.event_id}captureEvent(e,t,n){let r=(0,i.DM)();if(t&&t.originalException&&(0,i.YO)(t.originalException))return s.X&&o.kg.log(ec),r;let a={event_id:r,...t},l=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,a,l||n)),a.event_id}captureSession(e){"string"!=typeof e.release?s.X&&o.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,ei.CT)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):(0,et.WD)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];(0,l.m7)(this,e,this._integrations),t||(0,l.uf)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,eo.Mq)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=(0,en.BO)(n,(0,en.zQ)(e));let r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=(0,eo.Q3)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let n=`${e}:${t}`;s.X&&o.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(s.X&&o.kg.error("Error while sending event:",e),e)):(s.X&&o.kg.error("Transport disabled"),(0,et.WD)({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=(0,l.q4)(this,e),(0,l.uf)(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1,o=t.exception&&t.exception.values;if(o)for(let e of(r=!0,o)){let t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}let i="ok"===e.status;(i&&0===e.errors||i&&n)&&((0,ei.CT)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new et.cW(t=>{let n=0,r=1,o=setInterval(()=>{0==this._numProcessing?(clearInterval(o),t(!0)):(n+=r,e&&n>=e&&(clearInterval(o),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=(0,C.aF)()){let o=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,el.R)(o,e,t,n,this,r).then(e=>{if(null===e)return e;let t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){let{traceId:n,spanId:r,parentSpanId:o,dsc:i}=t;e.contexts={trace:(0,E.Jr)({trace_id:n,span_id:r,parent_span_id:o}),...e.contexts};let a=i||(0,ea._l)(n,this);e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata}}return e})}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{if(s.X){let t=e;"log"===t.logLevel?o.kg.log(t.message):o.kg.warn(t)}})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:o}=r,i=eh(e),a=ep(e),s=e.type||"error",l=`before send for type \`${s}\``,c=void 0===o?void 0:(0,es.o)(o);if(a&&"number"==typeof c&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error",e),(0,et.$2)(new er(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));let u="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,e),new er("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:ed(ef(r,n,t),l)}).then(r=>{if(null===r)throw this.recordDroppedEvent("before_send",u,e),new er(`${l} returned \`null\`, will not send event.`,"log");let o=n&&n.getSession();!i&&o&&this._updateSessionFromEvent(o,r);let a=r.transaction_info;if(i&&a&&r.transaction!==e.transaction){let e="custom";r.transaction_info={...a,source:e}}return this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof er)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new er(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.keys(e).map(t=>{let[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}})}}function ed(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,ee.J8)(e))return e.then(e=>{if(!(0,ee.PO)(e)&&null!==e)throw new er(n);return e},e=>{throw new er(`${t} rejected with ${e}`)});if(!(0,ee.PO)(e)&&null!==e)throw new er(n);return e}function ef(e,t,n){let{beforeSend:r,beforeSendTransaction:o,beforeSendSpan:i}=e;if(ep(t)&&r)return r(t,n);if(eh(t)){if(t.spans&&i){let e=[];for(let n of t.spans){let t=i(n);t&&e.push(t)}t.spans=e}if(o)return o(t,n)}return t}function ep(e){return void 0===e.type}function eh(e){return"transaction"===e.type}var em=n(41503),eg=n(91834),ev=n(77740);function ey(e,t,n){let r=[{type:"client_report"},{timestamp:n||(0,ev.yW)(),discarded_events:e}];return(0,en.Jd)(t?{dsn:t}:{},[r])}var eb=n(83950),ew=n(31187);function eS(e,t){let n=eC(e,t),r={type:t&&t.name,value:eA(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function ex(e,t,n,r){let o=(0,C.s3)(),i=o&&o.getOptions().normalizeDepth,a=ej(t),s={__serialized__:(0,ew.Qy)(t,i)};if(a)return{exception:{values:[eS(e,a)]},extra:s};let l={exception:{values:[{type:(0,ee.cO)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:eM(t,{isUnhandledRejection:r})}]},extra:s};if(n){let t=eC(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}function eE(e,t){return{exception:{values:[eS(e,t)]}}}function eC(e,t){let n=t.stacktrace||t.stack||"",r=ek(t),o=eO(t);try{return e(n,r,o)}catch(e){}return[]}let e_=/Minified React error #\d+;/i;function ek(e){return e&&e_.test(e.message)?1:0}function eO(e){return"number"==typeof e.framesToPop?e.framesToPop:0}function eA(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function eI(e,t,n,r){let o=eT(e,t,n&&n.syntheticException||void 0,r);return(0,i.EG)(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),(0,et.WD)(o)}function eP(e,t,n="info",r,o){let i=eR(e,t,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),(0,et.WD)(i)}function eT(e,t,n,r,o){let a;if((0,ee.VW)(t)&&t.error)return eE(e,t.error);if((0,ee.TX)(t)||(0,ee.fm)(t)){let o=t;if("stack"in t)a=eE(e,t);else{let t=o.name||((0,ee.TX)(o)?"DOMError":"DOMException"),s=o.message?`${t}: ${o.message}`:t;a=eR(e,s,n,r),(0,i.Db)(a,s)}return"code"in o&&(a.tags={...a.tags,"DOMException.code":`${o.code}`}),a}return(0,ee.VZ)(t)?eE(e,t):((0,ee.PO)(t)||(0,ee.cO)(t)?a=ex(e,t,n,o):(a=eR(e,t,n,r),(0,i.Db)(a,`${t}`,void 0)),(0,i.EG)(a,{synthetic:!0}),a)}function eR(e,t,n,r){let o={};if(r&&n){let r=eC(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]})}if((0,ee.Le)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function eM(e,{isUnhandledRejection:t}){let n=(0,E.zf)(e),r=t?"promise rejection":"exception";if((0,ee.VW)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,ee.cO)(e)){let t=eN(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}function eN(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}function ej(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}var eD=n(45101);function eL(e,{metadata:t,tunnel:n,dsn:r}){let o={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:(0,q.RA)(r)}},i=eB(e);return(0,en.Jd)(o,[i])}function eB(e){return[{type:"user_report"},e]}class eZ extends eu{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e},n=eD.m9.SENTRY_SDK_SOURCE||(0,eg.S)();(0,em.V)(t,"browser",["browser"],n),super(t),t.sendClientReports&&eD.m9.document&&eD.m9.document.addEventListener("visibilitychange",()=>{"hidden"===eD.m9.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return eI(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return eP(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){eb.X&&o.kg.warn("SDK not enabled, will not capture user feedback.");return}let t=eL(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){let e=this._clearOutcomes();if(0===e.length){eb.X&&o.kg.log("No outcomes to send");return}if(!this._dsn){eb.X&&o.kg.log("No dsn provided, will not send outcomes");return}eb.X&&o.kg.log("Sending outcomes:",e);let t=ey(e,this._options.tunnel&&(0,q.RA)(this._dsn));this.sendEnvelope(t)}}var eF=n(27279),ez=n(85410),eU=n(62010),eH=n(53531),eq=n(37352);function eV(e){let t="console";(0,eq.Hj)(t,e),(0,eq.D2)(t,eW)}function eW(){"console"in eH.GLOBAL_OBJ&&o.RU.forEach(function(e){e in eH.GLOBAL_OBJ.console&&(0,E.hl)(eH.GLOBAL_OBJ.console,e,function(t){return o.LD[e]=t,function(...t){let n={args:t,level:e};(0,eq.rK)("console",n);let r=o.LD[e];r&&r.apply(eH.GLOBAL_OBJ.console,t)}})})}var e$=n(63286),eG=n(99124);let eK=["fatal","error","warning","log","info","debug"];function eY(e){return"warn"===e?"warning":eK.includes(e)?e:"log"}var eX=n(59701);let eQ=1024,eJ="Breadcrumbs",e0=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:eJ,setup(e){t.console&&eV(e4(e)),t.dom&&(0,eF.O)(e3(e,t.dom)),t.xhr&&(0,ez.UK)(e5(e)),t.fetch&&(0,e$.U)(e6(e)),t.history&&(0,J.a)(e8(e)),t.sentry&&e.on("beforeSendEvent",e2(e))}}},e1=(0,l._I)(e0);function e2(e){return function(t){(0,C.s3)()===e&&(0,eU.n)({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,i.jH)(t)},{event:t})}}function e3(e,t){return function(n){let r,i;if((0,C.s3)()!==e)return;let a="object"==typeof t?t.serializeAttribute:void 0,s="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;s&&s>eQ&&(eb.X&&o.kg.warn(`\`dom.maxStringLength\` cannot exceed ${eQ}, but a value of ${s} was configured. Sentry will use ${eQ} instead.`),s=eQ),"string"==typeof a&&(a=[a]);try{let e=n.event,t=e7(e)?e.target:e;r=(0,eG.Rt)(t,{keyAttrs:a,maxStringLength:s}),i=(0,eG.iY)(t)}catch(e){r="<unknown>"}if(0===r.length)return;let l={category:`ui.${n.name}`,message:r};i&&(l.data={"ui.component_name":i}),(0,eU.n)(l,{event:n.event,name:n.name,global:n.global})}}function e4(e){return function(t){if((0,C.s3)()!==e)return;let n={category:"console",data:{arguments:t.args,logger:"console"},level:eY(t.level),message:(0,a.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,a.nK)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,eU.n)(n,{input:t.args,level:t.level})}}function e5(e){return function(t){if((0,C.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,o=t.xhr[ez.xU];if(!n||!r||!o)return;let{method:i,url:a,status_code:s,body:l}=o,c={method:i,url:a,status_code:s},u={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r};(0,eU.n)({category:"xhr",data:c,type:"http"},u)}}function e6(e){return function(t){if((0,C.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error){let e=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r};(0,eU.n)({category:"fetch",data:e,level:"error",type:"http"},o)}else{let e=t.response,o={...t.fetchData,status_code:e&&e.status},i={input:t.args,response:e,startTimestamp:n,endTimestamp:r};(0,eU.n)({category:"fetch",data:o,type:"http"},i)}}}}function e8(e){return function(t){if((0,C.s3)()!==e)return;let n=t.from,r=t.to,o=(0,eX.en)(eD.m9.location.href),i=n?(0,eX.en)(n):void 0,a=(0,eX.en)(r);i&&i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),(0,eU.n)({category:"navigation",data:{from:n,to:r}})}}function e7(e){return!!e&&!!e.target}let e9=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],te="BrowserApiErrors",tt=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:te,setupOnce(){t.setTimeout&&(0,E.hl)(eD.m9,"setTimeout",tr),t.setInterval&&(0,E.hl)(eD.m9,"setInterval",tr),t.requestAnimationFrame&&(0,E.hl)(eD.m9,"requestAnimationFrame",to),t.XMLHttpRequest&&"XMLHttpRequest"in eD.m9&&(0,E.hl)(XMLHttpRequest.prototype,"send",ti);let e=t.eventTarget;e&&(Array.isArray(e)?e:e9).forEach(ta)}}},tn=(0,l._I)(tt);function tr(e){return function(...t){let n=t[0];return t[0]=(0,eD.re)(n,{mechanism:{data:{function:(0,Q.$P)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function to(e){return function(t){return e.apply(this,[(0,eD.re)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,Q.$P)(e)},handled:!1,type:"instrument"}})])}}function ti(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,E.hl)(n,e,function(t){let n={mechanism:{data:{function:e,handler:(0,Q.$P)(t)},handled:!1,type:"instrument"}},r=(0,E.HK)(t);return r&&(n.mechanism.data.handler=(0,Q.$P)(r)),(0,eD.re)(t,n)})}),e.apply(this,t)}}function ta(e){let t=eD.m9,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,E.hl)(n,"addEventListener",function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,eD.re)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,Q.$P)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,(0,eD.re)(r,{mechanism:{data:{function:"addEventListener",handler:(0,Q.$P)(r),target:e},handled:!1,type:"instrument"}}),o])}}),(0,E.hl)(n,"removeEventListener",function(e){return function(t,n,r){let o=n;try{let n=o&&o.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,o,r)}}))}var ts=n(79069),tl=n(30653);let tc="GlobalHandlers",tu=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:tc,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(tf(e),tv("onerror")),t.onunhandledrejection&&(tp(e),tv("onunhandledrejection"))}}},td=(0,l._I)(tu);function tf(e){(0,ts.V)(t=>{let{stackParser:n,attachStacktrace:r}=ty();if((0,C.s3)()!==e||(0,eD.Wz)())return;let{msg:o,url:i,line:a,column:s,error:l}=t,c=tg(eT(n,l||o,void 0,r,!1),i,a,s);c.level="error",(0,H.eN)(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function tp(e){(0,tl.h)(t=>{let{stackParser:n,attachStacktrace:r}=ty();if((0,C.s3)()!==e||(0,eD.Wz)())return;let o=th(t),i=(0,ee.pt)(o)?tm(o):eT(n,o,void 0,r,!0);i.level="error",(0,H.eN)(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function th(e){if((0,ee.pt)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}function tm(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function tg(e,t,n,r){let o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=(0,ee.HD)(t)&&t.length>0?t:(0,eG.l4)();return 0===l.length&&l.push({colno:c,filename:d,function:Q.Fi,in_app:!0,lineno:u}),e}function tv(e){eb.X&&o.kg.log(`Global Handler attached: ${e}`)}function ty(){let e=(0,C.s3)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let tb=(0,l._I)(()=>({name:"HttpContext",preprocessEvent(e){if(!eD.m9.navigator&&!eD.m9.location&&!eD.m9.document)return;let t=e.request&&e.request.url||eD.m9.location&&eD.m9.location.href,{referrer:n}=eD.m9.document||{},{userAgent:r}=eD.m9.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:o};e.request=i}}));function tw(e,t,n=250,r,o,i,a){if(!i.exception||!i.exception.values||!a||!(0,ee.V9)(a.originalException,Error))return;let s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=tC(tS(e,t,o,a.originalException,r,i.exception.values,s,0),n))}function tS(e,t,n,r,o,i,a,s){if(i.length>=n+1)return i;let l=[...i];if((0,ee.V9)(r[o],Error)){tx(a,s);let i=e(t,r[o]),c=l.length;tE(i,o,c,s),l=tS(e,t,n,r[o],o,[i,...l],i,c)}return Array.isArray(r.errors)&&r.errors.forEach((r,i)=>{if((0,ee.V9)(r,Error)){tx(a,s);let c=e(t,r),u=l.length;tE(c,`errors[${i}]`,u,s),l=tS(e,t,n,r,o,[c,...l],c,u)}}),l}function tx(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function tE(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function tC(e,t){return e.map(e=>(e.value&&(e.value=(0,a.$G)(e.value,t)),e))}let t_="cause",tk=5,tO="LinkedErrors",tA=(e={})=>{let t=e.limit||tk,n=e.key||t_;return{name:tO,preprocessEvent(e,r,o){let i=o.getOptions();tw(eS,i.stackParser,i.maxValueLength,n,t,e,r)}}},tI=(0,l._I)(tA);function tP(e,t,n,r){let o={filename:e,function:"<anonymous>"===t?Q.Fi:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}let tT=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tR=/\((\S*)(?::(\d+))(?::(\d+))\)/,tM=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tN=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tj=[[30,e=>{let t=tT.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){let e=tR.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}let[e,n]=tL(t[1]||Q.Fi,t[2]);return tP(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{let t=tM.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=tN.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||Q.Fi;return[n,e]=tL(n,e),tP(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]],tD=(0,Q.pE)(...tj),tL=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Q.Fi,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};var tB=n(35969);function tZ(e){let t=[];function n(){return void 0===e||t.length<e}function r(e){return t.splice(t.indexOf(e),1)[0]}function o(e){if(!n())return(0,et.$2)(new er("Not adding Promise because buffer limit was reached."));let o=e();return -1===t.indexOf(o)&&t.push(o),o.then(()=>r(o)).then(null,()=>r(o).then(null,()=>{})),o}function i(e){return new et.cW((n,r)=>{let o=t.length;if(!o)return n(!0);let i=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{(0,et.WD)(e).then(()=>{--o||(clearTimeout(i),n(!0))},r)})})}return{$:t,add:o,drain:i}}var tF=n(20771);let tz=64;function tU(e,t,n=tZ(e.bufferSize||tz)){let r={};return{send:function(i){let a=[];if((0,en.gv)(i,(t,n)=>{let o=(0,en.mL)(n);if((0,tF.Q)(r,o)){let r=tH(t,n);e.recordDroppedEvent("ratelimit_backoff",o,r)}else a.push(t)}),0===a.length)return(0,et.WD)({});let l=(0,en.Jd)(i[0],a),c=t=>{(0,en.gv)(l,(n,r)=>{let o=tH(n,r);e.recordDroppedEvent(t,(0,en.mL)(r),o)})},u=()=>t({body:(0,en.V$)(l)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&s.X&&o.kg.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=(0,tF.WG)(r,e),e),e=>{throw c("network_error"),e});return n.add(u).then(e=>e,e=>{if(e instanceof er)return s.X&&o.kg.error("Skipped sending event because buffer is full."),c("queue_overflow"),(0,et.WD)({});throw e})},flush:e=>n.drain(e)}}function tH(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function tq(e,t=(0,tB.L2)("fetch")){let n=0,r=0;function o(o){let i=o.body.length;n+=i,r++;let a={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return(0,tB._6)("fetch"),(0,et.$2)("No fetch implementation available");try{return t(e.url,a).then(e=>(n-=i,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return(0,tB._6)("fetch"),n-=i,r--,(0,et.$2)(e)}}return tU(e,o)}function tV(e){return[f(),A(),tn(),e1(),td(),tI(),T(),tb()]}function tW(e={}){return{defaultIntegrations:tV(),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:eD.m9.SENTRY_RELEASE&&eD.m9.SENTRY_RELEASE.id?eD.m9.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0,...e}}function t$(){let e=eD.m9,t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,o=eD.m9.location&&eD.m9.location.href||"",i=["chrome-extension:","moz-extension:","ms-browser-extension:"],a=!!r&&eD.m9===eD.m9.top&&i.some(e=>o.startsWith(`${e}//`));return!!r&&!a}function tG(e={}){let t=tW(e);if(t$()){(0,o.Cf)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}eb.X&&!(0,X.Ak)()&&o.kg.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."),F(eZ,{...t,stackParser:(0,Q.Sq)(t.stackParser||tD),integrations:(0,l.m8)(t),transport:t.transport||tq}),t.autoSessionTracking&&tY()}function tK(e={}){if(!eD.m9.document){eb.X&&o.kg.error("Global document not defined in showReportDialog call");return}let t=(0,C.nZ)(),n=t.getClient(),r=n&&n.getDsn();if(!r){eb.X&&o.kg.error("DSN not configured for showReportDialog call");return}if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){let t=(0,H.eW)();t&&(e.eventId=t)}let i=eD.m9.document.createElement("script");i.async=!0,i.crossOrigin="anonymous",i.src=Y(r,e),e.onLoad&&(i.onload=e.onLoad);let{onClose:a}=e;if(a){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{a()}finally{eD.m9.removeEventListener("message",e)}};eD.m9.addEventListener("message",e)}let s=eD.m9.document.head||eD.m9.document.body;s?s.appendChild(i):eb.X&&o.kg.error("Not injecting report dialog. No injection point found in HTML")}function tY(){if(void 0===eD.m9.document){eb.X&&o.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}(0,H.yj)({ignoreDuration:!0}),(0,H.cg)(),(0,J.a)(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,H.yj)({ignoreDuration:!0}),(0,H.cg)())})}},78226:function(e,t,n){"use strict";n.d(t,{G:function(){return m}});var r=n(81352),o=n(95849),i=n(53531),a=n(36718);function s(){return(0,i.Y)("defaultCurrentScope",()=>new a.s)}function l(){return(0,i.Y)("defaultIsolationScope",()=>new a.s)}class c{constructor(e,t){let n,r;n=e||new a.s,r=t||new a.s,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t;let n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return(0,o.J8)(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}_popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}}function u(){let e=(0,r.c)(),t=(0,r.q)(e);return t.hub||(t.hub=new c(s(),l())),t.hub}function d(e){return u().withScope(e)}function f(e,t){let n=u();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function p(e){return u().withScope(()=>e(u().getIsolationScope()))}function h(){return{withIsolationScope:p,withScope:d,withSetScope:f,withSetIsolationScope:(e,t)=>p(t),getCurrentScope:()=>u().getScope(),getIsolationScope:()=>u().getIsolationScope()}}function m(e){let t=(0,r.q)(e);return t.acs?t.acs:h()}},62010:function(e,t,n){"use strict";n.d(t,{n:function(){return s}});var r=n(77740),o=n(56007),i=n(40351);let a=100;function s(e,t){let n=(0,i.s3)(),s=(0,i.aF)();if(!n)return;let{beforeBreadcrumb:l=null,maxBreadcrumbs:c=a}=n.getOptions();if(c<=0)return;let u={timestamp:(0,r.yW)(),...e},d=l?(0,o.Cf)(()=>l(u,t)):u;null!==d&&(n.emit&&n.emit("beforeAddBreadcrumb",d,t),s.addBreadcrumb(d,c))}},81352:function(e,t,n){"use strict";n.d(t,{c:function(){return o},q:function(){return i}});var r=n(53531);function o(){return i(r.GLOBAL_OBJ),r.GLOBAL_OBJ}function i(e){return e.__SENTRY__||(e.__SENTRY__={extensions:{}}),e.__SENTRY__}},29361:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});let r="production"},40351:function(e,t,n){"use strict";n.d(t,{$e:function(){return u},aF:function(){return l},lW:function(){return c},nZ:function(){return s},s3:function(){return d}});var r=n(53531),o=n(78226),i=n(81352),a=n(36718);function s(){let e=(0,i.c)();return(0,o.G)(e).getCurrentScope()}function l(){let e=(0,i.c)();return(0,o.G)(e).getIsolationScope()}function c(){return(0,r.Y)("globalScope",()=>new a.s)}function u(...e){let t=(0,i.c)(),n=(0,o.G)(t);if(2===e.length){let[t,r]=e;return t?n.withSetScope(t,r):n.withScope(r)}return n.withScope(e[0])}function d(){return s().getClient()}},69790:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},85326:function(e,t,n){"use strict";n.d(t,{Mq:function(){return c},Q3:function(){return l},uE:function(){return u}});var r=n(83893),o=n(87827),i=n(4751),a=n(18871);function s(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function l(e,t,n,i){let a=(0,r.HY)(n),s={sent_at:new Date().toISOString(),...a&&{sdk:a},...!!i&&t&&{dsn:(0,o.RA)(t)}},l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,r.Jd)(s,[l])}function c(e,t,n,o){let i=(0,r.HY)(n),a=e.type&&"replay_event"!==e.type?e.type:"event";s(e,n&&n.sdk);let l=(0,r.Cd)(e,i,o,t);delete e.sdkProcessingMetadata;let c=[{type:a},e];return(0,r.Jd)(l,[c])}function u(e,t){function n(e){return!!e.trace_id&&!!e.public_key}let s=(0,i.jC)(e[0]),l=t&&t.getDsn(),c=t&&t.getOptions().tunnel,u={sent_at:new Date().toISOString(),...n(s)&&{trace:s},...!!c&&l&&{dsn:(0,o.RA)(l)}},d=t&&t.getOptions().beforeSendSpan,f=d?e=>d((0,a.XU)(e)):e=>(0,a.XU)(e),p=[];for(let t of e){let e=f(t);e&&p.push((0,r.KQ)(e))}return(0,r.Jd)(u,p)}},45216:function(e,t,n){"use strict";n.d(t,{Qy:function(){return m},Tb:function(){return l},YA:function(){return f},av:function(){return p},cg:function(){return b},eN:function(){return u},eW:function(){return h},uT:function(){return c},v:function(){return d},yj:function(){return g}});var r=n(53531),o=n(29361),i=n(40351),a=n(5971),s=n(66441);function l(e,t){return(0,i.nZ)().captureException(e,(0,s.U0)(t))}function c(e,t){let n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return(0,i.nZ)().captureMessage(e,n,r)}function u(e,t){return(0,i.nZ)().captureEvent(e,t)}function d(e,t){(0,i.aF)().setContext(e,t)}function f(e,t){(0,i.aF)().setTag(e,t)}function p(e){(0,i.aF)().setUser(e)}function h(){return(0,i.aF)().lastEventId()}function m(e){(0,i.aF)().addEventProcessor(e)}function g(e){let t=(0,i.s3)(),n=(0,i.aF)(),s=(0,i.nZ)(),{release:l,environment:c=o.J}=t&&t.getOptions()||{},{userAgent:u}=r.GLOBAL_OBJ.navigator||{},d=(0,a.Hv)({release:l,environment:c,user:s.getUser()||n.getUser(),...u&&{userAgent:u},...e}),f=n.getSession();return f&&"ok"===f.status&&(0,a.CT)(f,{status:"exited"}),v(),n.setSession(d),s.setSession(d),d}function v(){let e=(0,i.aF)(),t=(0,i.nZ)(),n=t.getSession()||e.getSession();n&&(0,a.RJ)(n),y(),e.setSession(),t.setSession()}function y(){let e=(0,i.aF)(),t=(0,i.nZ)(),n=(0,i.s3)(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function b(e=!1){if(e){v();return}y()}},258:function(e,t,n){"use strict";n.d(t,{_I:function(){return p},m7:function(){return d},m8:function(){return l},q4:function(){return c},uf:function(){return u}});var r=n(21229),o=n(56007),i=n(69790);let a=[];function s(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.keys(t).map(e=>t[e])}function l(e){let t;let n=e.defaultIntegrations||[],o=e.integrations;n.forEach(e=>{e.isDefaultInstance=!0});let i=s(t=Array.isArray(o)?[...n,...o]:"function"==typeof o?(0,r.lE)(o(n)):n),a=f(i,e=>"Debug"===e.name);if(-1!==a){let[e]=i.splice(a,1);i.push(e)}return i}function c(e,t){let n={};return t.forEach(t=>{t&&d(e,t,n)}),n}function u(e,t){for(let n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function d(e,t,n){if(n[t.name]){i.X&&o.kg.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===a.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),a.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}i.X&&o.kg.log(`Integration installed: ${t.name}`)}function f(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return -1}function p(e){return e}},47917:function(e,t,n){"use strict";let r;n.d(t,{y:function(){return a}});var o=n(18141);function i(e){return r?r.get(e):void 0}function a(e){let t=i(e);if(!t)return;let n={};for(let[,[e,r]]of t)n[e]||(n[e]=[]),n[e].push((0,o.Jr)(r));return n}},36718:function(e,t,n){"use strict";n.d(t,{s:function(){return f}});var r=n(29131),o=n(95849),i=n(77740),a=n(21229),s=n(56007),l=n(5971),c=n(45707);let u=100;class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=(0,r.Q)()}clone(){let e=new d;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,c.D)(e,(0,c.Y)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,l.CT)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,[n,r]=t instanceof f?[t.getScopeData(),t.getRequestSession()]:(0,o.PO)(t)?[e,e.requestSession]:[],{tags:i,extra:a,user:s,contexts:l,level:c,fingerprint:u=[],propagationContext:d}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...l},s&&Object.keys(s).length&&(this._user=s),c&&(this._level=c),u.length&&(this._fingerprint=u),d&&(this._propagationContext=d),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,(0,c.D)(this,void 0),this._attachments=[],this._propagationContext=(0,r.Q)(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:u;if(n<=0)return this;let r={timestamp:(0,i.yW)(),...e},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,c.Y)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture message!"),r;let o=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:(0,a.DM)();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):s.kg.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}let f=d},57957:function(e,t,n){"use strict";n.d(t,{$J:function(){return i},E1:function(){return l},JQ:function(){return d},S3:function(){return a},TE:function(){return o},Wb:function(){return c},Zj:function(){return r},ju:function(){return s},p6:function(){return u}});let r="sentry.source",o="sentry.sample_rate",i="sentry.op",a="sentry.origin",s="sentry.idle_span_finish_reason",l="sentry.measurement_unit",c="sentry.measurement_value",u="sentry.profile_id",d="sentry.exclusive_time"},5971:function(e,t,n){"use strict";n.d(t,{CT:function(){return s},Hv:function(){return a},RJ:function(){return l}});var r=n(77740),o=n(21229),i=n(18141);function a(e){let t=(0,r.ph)(),n={sid:(0,o.DM)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>c(n)};return e&&s(n,e),n}function s(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,r.ph)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,o.DM)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function l(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}function c(e){return(0,i.Jr)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}},4751:function(e,t,n){"use strict";n.d(t,{Lh:function(){return c},_l:function(){return u},jC:function(){return d}});var r=n(18141),o=n(29361),i=n(40351),a=n(57957),s=n(18871);let l="_frozenDsc";function c(e,t){let n=e;(0,r.xp)(n,l,t)}function u(e,t){let n=t.getOptions(),{publicKey:i}=t.getDsn()||{},a=(0,r.Jr)({environment:n.environment||o.J,release:n.release,public_key:i,trace_id:e});return t.emit("createDsc",a),a}function d(e){let t=(0,i.s3)();if(!t)return{};let n=u((0,s.XU)(e).trace_id||"",t),r=(0,s.Gx)(e);if(!r)return n;let o=r[l];if(o)return o;let c=(0,s.XU)(r),d=c.data||{},f=d[a.TE];null!=f&&(n.sample_rate=`${f}`);let p=d[a.Zj];return p&&"url"!==p&&(n.transaction=c.description),n.sampled=String((0,s.Tt)(r)),t.emit("createDsc",n),n}},95639:function(e,t,n){"use strict";n.d(t,{OP:function(){return o},Q0:function(){return s},jt:function(){return i},pq:function(){return r}});let r=0,o=1,i=2;function a(e){if(e<400&&e>=100)return{code:o};if(e>=400&&e<500)switch(e){case 401:return{code:i,message:"unauthenticated"};case 403:return{code:i,message:"permission_denied"};case 404:return{code:i,message:"not_found"};case 409:return{code:i,message:"already_exists"};case 413:return{code:i,message:"failed_precondition"};case 429:return{code:i,message:"resource_exhausted"};case 499:return{code:i,message:"cancelled"};default:return{code:i,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:i,message:"unimplemented"};case 503:return{code:i,message:"unavailable"};case 504:return{code:i,message:"deadline_exceeded"};default:return{code:i,message:"internal_error"}}return{code:i,message:"unknown_error"}}function s(e,t){e.setAttribute("http.response.status_code",t);let n=a(t);"unknown_error"!==n.message&&e.setStatus(n)}},55158:function(e,t,n){"use strict";n.d(t,{o:function(){return i}});var r=n(56007),o=n(69790);function i(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if("number"!=typeof t||isNaN(t)||t<0||t>1){o.X&&r.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}},66441:function(e,t,n){"use strict";n.d(t,{U0:function(){return j},R:function(){return O}});var r=n(21229),o=n(77740),i=n(96481),a=n(53531),s=n(31187),l=n(29361),c=n(40351),u=n(56821),d=n(56007),f=n(95849),p=n(69790);function h(e,t,n,r=0){return new u.cW((o,i)=>{let a=e[r];if(null===t||"function"!=typeof a)o(t);else{let s=a({...t},n);p.X&&a.id&&null===s&&d.kg.log(`Event processor "${a.id}" dropped event`),(0,f.J8)(s)?s.then(t=>h(e,t,n,r+1).then(o)).then(null,i):h(e,s,n,r+1).then(o).then(null,i)}})}var m=n(36718),g=n(18141),v=n(4751),y=n(18871);function b(e,t){let{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:i}=t;x(e,t),r&&_(e,r),k(e,n),E(e,o),C(e,i)}function w(e,t){let{extra:n,tags:r,user:o,contexts:i,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:f,transactionName:p,span:h}=t;S(e,"extra",n),S(e,"tags",r),S(e,"user",o),S(e,"contexts",i),S(e,"sdkProcessingMetadata",s),a&&(e.level=a),p&&(e.transactionName=p),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function S(e,t,n){if(n&&Object.keys(n).length)for(let r in e[t]={...e[t]},n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}function x(e,t){let{extra:n,tags:r,user:o,contexts:i,level:a,transactionName:s}=t,l=(0,g.Jr)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});let c=(0,g.Jr)(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});let u=(0,g.Jr)(o);u&&Object.keys(u).length&&(e.user={...u,...e.user});let d=(0,g.Jr)(i);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)}function E(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function C(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function _(e,t){e.contexts={trace:(0,y.wy)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,v.jC)(t),...e.sdkProcessingMetadata};let n=(0,y.Gx)(t),r=(0,y.XU)(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}function k(e,t){e.fingerprint=e.fingerprint?(0,r.lE)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function O(e,t,n,i,a,s){let{normalizeDepth:l=3,normalizeMaxBreadth:u=1e3}=e,d={...t,event_id:t.event_id||n.event_id||(0,r.DM)(),timestamp:t.timestamp||(0,o.yW)()},f=n.integrations||e.integrations.map(e=>e.name);A(d,e),R(d,f),void 0===t.type&&P(d,e.stackParser);let p=N(i,n.captureContext);n.mechanism&&(0,r.EG)(d,n.mechanism);let m=a?a.getEventProcessors():[],g=(0,c.lW)().getScopeData();s&&w(g,s.getScopeData()),p&&w(g,p.getScopeData());let v=[...n.attachments||[],...g.attachments];return v.length&&(n.attachments=v),b(d,g),h([...m,...g.eventProcessors],d,n).then(e=>(e&&T(e),"number"==typeof l&&l>0)?M(e,l,u):e)}function A(e,t){let{environment:n,release:r,dist:o,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:l.J),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=(0,i.$G)(e.message,a));let s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,i.$G)(s.value,a));let c=e.request;c&&c.url&&(c.url=(0,i.$G)(c.url,a))}let I=new WeakMap;function P(e,t){let n;let r=a.GLOBAL_OBJ._sentryDebugIds;if(!r)return;let o=I.get(t);o?n=o:(n=new Map,I.set(t,n));let i=Object.keys(r).reduce((e,o)=>{let i;let a=n.get(o);a?i=a:(i=t(o),n.set(o,i));for(let t=i.length-1;t>=0;t--){let n=i[t];if(n.filename){e[n.filename]=r[o];break}}return e},{});try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=i[e.filename])})})}catch(e){}}function T(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.keys(t).forEach(e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})})}function R(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function M(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,s.Fv)(e.data,t,n)}}))},...e.user&&{user:(0,s.Fv)(e.user,t,n)},...e.contexts&&{contexts:(0,s.Fv)(e.contexts,t,n)},...e.extra&&{extra:(0,s.Fv)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,s.Fv)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,s.Fv)(e.data,t,n)}}))),r}function N(e,t){if(!t)return e;let n=e?e.clone():new m.s;return n.update(t),n}function j(e){return e?D(e)||B(e)?{captureContext:e}:e:void 0}function D(e){return e instanceof m.s||"function"==typeof e}let L=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function B(e){return Object.keys(e).some(e=>L.includes(e))}},41503:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});let r="8.5.0";function o(e,t,n=[t],o="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${o}:@sentry/${e}`,version:r})),version:r}),e._metadata=i}},45707:function(e,t,n){"use strict";n.d(t,{D:function(){return i},Y:function(){return a}});var r=n(18141);let o="_sentrySpan";function i(e,t){t?(0,r.xp)(e,o,t):delete e[o]}function a(e){return e[o]}},18871:function(e,t,n){"use strict";n.d(t,{$k:function(){return y},Dp:function(){return I},Gx:function(){return P},HN:function(){return T},HR:function(){return m},Hb:function(){return v},Tt:function(){return E},XU:function(){return w},_4:function(){return C},ed:function(){return A},i0:function(){return h},j5:function(){return O},ve:function(){return p},wy:function(){return g}});var r=n(18141),o=n(30009),i=n(77740),a=n(78226),s=n(81352),l=n(40351),c=n(47917),u=n(57957),d=n(95639),f=n(45707);let p=0,h=1;function m(e){let{spanId:t,traceId:n}=e.spanContext(),{data:o,op:i,parent_span_id:a,status:s,origin:l}=w(e);return(0,r.Jr)({parent_span_id:a,span_id:t,trace_id:n,data:o,op:i,status:s,origin:l})}function g(e){let{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:o}=w(e);return(0,r.Jr)({parent_span_id:o,span_id:t,trace_id:n})}function v(e){let{traceId:t,spanId:n}=e.spanContext(),r=E(e);return(0,o.$p)(t,n,r)}function y(e){return"number"==typeof e?b(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?b(e.getTime()):(0,i.ph)()}function b(e){return e>9999999999?e/1e3:e}function w(e){if(x(e))return e.getSpanJSON();try{let{spanId:t,traceId:n}=e.spanContext();if(S(e)){let{attributes:o,startTime:i,name:a,endTime:s,parentSpanId:l,status:d}=e;return(0,r.Jr)({span_id:t,trace_id:n,data:o,description:a,parent_span_id:l,start_timestamp:y(i),timestamp:y(s)||void 0,status:C(d),op:o[u.$J],origin:o[u.S3],_metrics_summary:(0,c.y)(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function S(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function x(e){return"function"==typeof e.getSpanJSON}function E(e){let{traceFlags:t}=e.spanContext();return t===h}function C(e){return e&&e.code!==d.pq?e.code===d.OP?"ok":e.message||"unknown_error":void 0}let _="_sentryChildSpans",k="_sentryRootSpan";function O(e,t){let n=e[k]||e;(0,r.xp)(t,k,n),e[_]&&e[_].size<1e3?e[_].add(t):(0,r.xp)(e,_,new Set([t]))}function A(e,t){e[_]&&e[_].delete(t)}function I(e){let t=new Set;function n(e){if(!t.has(e)&&E(e))for(let r of(t.add(e),e[_]?Array.from(e[_]):[]))n(r)}return n(e),Array.from(t)}function P(e){return e[k]||e}function T(){let e=(0,s.c)(),t=(0,a.G)(e);return t.getActiveSpan?t.getActiveSpan():(0,f.Y)((0,l.nZ)())}},47157:function(e,t,n){"use strict";n.d(t,{EN:function(){return u},IQ:function(){return d},bU:function(){return a}});var r=n(94003),o=n(95849),i=n(56007);let a="baggage",s="sentry-",l=/^sentry-/,c=8192;function u(e){let t=f(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.match(l)&&(e[t.slice(s.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}function d(e){if(e)return h(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${s}${t}`]=n),e),{}))}function f(e){return e&&((0,o.HD)(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>{let n=p(t);for(let t of Object.keys(n))e[t]=n[t];return e},{}):p(e):void 0}function p(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(e[t]=n,e),{})}function h(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,n],o)=>{let a=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===o?a:`${e},${a}`;return s.length>c?(r.X&&i.kg.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s},"")}},99124:function(e,t,n){"use strict";n.d(t,{Rt:function(){return a},iY:function(){return u},l4:function(){return l},qT:function(){return c}});var r=n(95849);let o=n(53531).GLOBAL_OBJ,i=80;function a(e,t={}){if(!e)return"<unknown>";try{let n,r=e,o=5,a=[],l=0,c=0,u=" > ",d=u.length,f=Array.isArray(t)?t:t.keyAttrs,p=!Array.isArray(t)&&t.maxStringLength||i;for(;r&&l++<o&&(n=s(r,f),"html"!==n&&(!(l>1)||!(c+a.length*d+n.length>=p)));)a.push(n),c+=n.length,r=r.parentNode;return a.reverse().join(u)}catch(e){return"<unknown>"}}function s(e,t){let n,i,a,s,l;let c=e,u=[];if(!c||!c.tagName)return"";if(o.HTMLElement&&c instanceof HTMLElement&&c.dataset){if(c.dataset.sentryComponent)return c.dataset.sentryComponent;if(c.dataset.sentryElement)return c.dataset.sentryElement}u.push(c.tagName.toLowerCase());let d=t&&t.length?t.filter(e=>c.getAttribute(e)).map(e=>[e,c.getAttribute(e)]):null;if(d&&d.length)d.forEach(e=>{u.push(`[${e[0]}="${e[1]}"]`)});else if(c.id&&u.push(`#${c.id}`),(n=c.className)&&(0,r.HD)(n))for(l=0,i=n.split(/\s+/);l<i.length;l++)u.push(`.${i[l]}`);let f=["aria-label","type","name","title","alt"];for(l=0;l<f.length;l++)a=f[l],(s=c.getAttribute(a))&&u.push(`[${a}="${s}"]`);return u.join("")}function l(){try{return o.document.location.href}catch(e){return""}}function c(e){return o.document&&o.document.querySelector?o.document.querySelector(e):null}function u(e){if(!o.HTMLElement)return null;let t=e,n=5;for(let e=0;e<n&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},94003:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},87827:function(e,t,n){"use strict";n.d(t,{RA:function(){return s},U4:function(){return l},vK:function(){return d}});var r=n(94003),o=n(56007);let i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e){return"http"===e||"https"===e}function s(e,t=!1){let{host:n,path:r,pass:o,port:i,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${a}`}function l(e){let t=i.exec(e);if(!t){(0,o.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,a="",s,l="",u]=t.slice(1),d="",f=u,p=f.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),f=p.pop()),f){let e=f.match(/^\d+/);e&&(f=e[0])}return c({host:s,pass:a,path:d,projectId:f,port:l,protocol:n,publicKey:r})}function c(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function u(e){if(!r.X)return!0;let{port:t,projectId:n,protocol:i}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(o.kg.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?a(i)?!(t&&isNaN(parseInt(t,10)))||(o.kg.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(o.kg.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(o.kg.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}function d(e){let t="string"==typeof e?l(e):c(e);if(t&&u(t))return t}},91834:function(e,t,n){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function o(){return"npm"}n.d(t,{S:function(){return o},n:function(){return r}})},83893:function(e,t,n){"use strict";n.d(t,{BO:function(){return l},Cd:function(){return y},HY:function(){return v},Jd:function(){return s},KQ:function(){return p},V$:function(){return d},gv:function(){return c},mL:function(){return g},zQ:function(){return h}});var r=n(87827),o=n(31187),i=n(18141),a=n(53531);function s(e,t=[]){return[e,t]}function l(e,t){let[n,r]=e;return[n,[...r,t]]}function c(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function u(e){return a.GLOBAL_OBJ.__SENTRY__&&a.GLOBAL_OBJ.__SENTRY__.encodePolyfill?a.GLOBAL_OBJ.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function d(e){let[t,n]=e,r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[u(r),e]:r.push("string"==typeof e?u(e):e)}for(let e of n){let[t,n]=e;if(i(`
${JSON.stringify(t)}
`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,o.Fv)(n))}i(e)}}return"string"==typeof r?r:f(r)}function f(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}function p(e){return[{type:"span"},e]}function h(e){let t="string"==typeof e.data?u(e.data):e.data;return[(0,i.Jr)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}let m={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function g(e){return m[e]}function v(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function y(e,t,n,o){let a=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&o&&{dsn:(0,r.RA)(o)},...a&&{trace:(0,i.Jr)({...a})}}}},63286:function(e,t,n){"use strict";n.d(t,{U:function(){return l}});var r=n(18141),o=n(99146),i=n(77740),a=n(53531),s=n(37352);function l(e){let t="fetch";(0,s.Hj)(t,e),(0,s.D2)(t,c)}function c(){(0,o.t$)()&&(0,r.hl)(a.GLOBAL_OBJ,"fetch",function(e){return function(...t){let{method:n,url:r}=f(t),o={args:t,fetchData:{method:n,url:r},startTimestamp:1e3*(0,i.ph)()};return(0,s.rK)("fetch",{...o}),e.apply(a.GLOBAL_OBJ,t).then(e=>{let t={...o,endTimestamp:1e3*(0,i.ph)(),response:e};return(0,s.rK)("fetch",t),e},e=>{let t={...o,endTimestamp:1e3*(0,i.ph)(),error:e};throw(0,s.rK)("fetch",t),e})}})}function u(e,t){return!!e&&"object"==typeof e&&!!e[t]}function d(e){return"string"==typeof e?e:e?u(e,"url")?e.url:e.toString?e.toString():"":""}function f(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:d(t),method:u(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:d(t),method:u(t,"method")?String(t.method).toUpperCase():"GET"}}},79069:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var r=n(53531),o=n(37352);let i=null;function a(e){let t="error";(0,o.Hj)(t,e),(0,o.D2)(t,s)}function s(){i=r.GLOBAL_OBJ.onerror,r.GLOBAL_OBJ.onerror=function(e,t,n,r,a){let s={column:r,error:a,line:n,msg:e,url:t};return(0,o.rK)("error",s),!!i&&!i.__SENTRY_LOADER__&&i.apply(this,arguments)},r.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}},30653:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(53531),o=n(37352);let i=null;function a(e){let t="unhandledrejection";(0,o.Hj)(t,e),(0,o.D2)(t,s)}function s(){i=r.GLOBAL_OBJ.onunhandledrejection,r.GLOBAL_OBJ.onunhandledrejection=function(e){let t=e;return(0,o.rK)("unhandledrejection",t),!i||!!i.__SENTRY_LOADER__||i.apply(this,arguments)},r.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},37352:function(e,t,n){"use strict";n.d(t,{D2:function(){return c},Hj:function(){return l},rK:function(){return u}});var r=n(94003),o=n(56007),i=n(89e3);let a={},s={};function l(e,t){a[e]=a[e]||[],a[e].push(t)}function c(e,t){s[e]||(t(),s[e]=!0)}function u(e,t){let n=e&&a[e];if(n)for(let a of n)try{a(t)}catch(t){r.X&&o.kg.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${(0,i.$P)(a)}
Error:`,t)}}},95849:function(e,t,n){"use strict";n.d(t,{Cy:function(){return v},HD:function(){return c},J8:function(){return g},Kj:function(){return m},Le:function(){return u},PO:function(){return f},TX:function(){return s},V9:function(){return y},VW:function(){return a},VZ:function(){return o},cO:function(){return p},fm:function(){return l},kK:function(){return h},pt:function(){return d},y1:function(){return b}});let r=Object.prototype.toString;function o(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(e,Error)}}function i(e,t){return r.call(e)===`[object ${t}]`}function a(e){return i(e,"ErrorEvent")}function s(e){return i(e,"DOMError")}function l(e){return i(e,"DOMException")}function c(e){return i(e,"String")}function u(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||u(e)||"object"!=typeof e&&"function"!=typeof e}function f(e){return i(e,"Object")}function p(e){return"undefined"!=typeof Event&&y(e,Event)}function h(e){return"undefined"!=typeof Element&&y(e,Element)}function m(e){return i(e,"RegExp")}function g(e){return!!(e&&e.then&&"function"==typeof e.then)}function v(e){return f(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function y(e,t){try{return e instanceof t}catch(e){return!1}}function b(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}},56007:function(e,t,n){"use strict";n.d(t,{Cf:function(){return l},LD:function(){return s},RU:function(){return a},kg:function(){return c}});var r=n(94003),o=n(53531);let i="Sentry Logger ",a=["debug","info","warn","error","log","assert","trace"],s={};function l(e){if(!("console"in o.GLOBAL_OBJ))return e();let t=o.GLOBAL_OBJ.console,n={},r=Object.keys(s);r.forEach(e=>{let r=s[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}let c=function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.X?a.forEach(n=>{t[n]=(...t)=>{e&&l(()=>{o.GLOBAL_OBJ.console[n](`${i}[${n}]:`,...t)})}}):a.forEach(e=>{t[e]=()=>void 0}),t}()},21229:function(e,t,n){"use strict";n.d(t,{DM:function(){return i},Db:function(){return l},EG:function(){return c},YO:function(){return u},jH:function(){return s},lE:function(){return d}});var r=n(18141),o=n(53531);function i(){let e=o.GLOBAL_OBJ,t=e.crypto||e.msCrypto,n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&n())>>e/4).toString(16))}function a(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function s(e){let{message:t,event_id:n}=e;if(t)return t;let r=a(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function l(e,t,n){let r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function c(e,t){let n=a(e);if(!n)return;let r={type:"generic",handled:!0},o=n.mechanism;if(n.mechanism={...r,...o,...t},t&&"data"in t){let e={...o&&o.data,...t.data};n.mechanism.data=e}}function u(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.xp)(e,"__sentry_captured__",!0)}catch(e){}return!1}function d(e){return Array.isArray(e)?e:[e]}},31187:function(e,t,n){"use strict";n.d(t,{Fv:function(){return s},Qy:function(){return l}});var r=n(95849);function o(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}var i=n(18141),a=n(89e3);function s(e,t=100,n=Infinity){try{return c("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function l(e,t=3,n=102400){let r=s(e,t);return p(r)>n?l(e,t-1,n):r}function c(e,t,n=Infinity,r=Infinity,a=o()){let[s,l]=a;if(null==t||["number","boolean","string"].includes(typeof t)&&!Number.isNaN(t))return t;let d=u(e,t);if(!d.startsWith("[object "))return d;if(t.__sentry_skip_normalization__)return t;let f="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===f)return d.replace("object ","");if(s(t))return"[Circular ~]";let p=t;if(p&&"function"==typeof p.toJSON)try{let e=p.toJSON();return c("",e,f-1,r,a)}catch(e){}let h=Array.isArray(t)?[]:{},m=0,g=(0,i.Sh)(t);for(let e in g){if(!Object.prototype.hasOwnProperty.call(g,e))continue;if(m>=r){h[e]="[MaxProperties ~]";break}let t=g[e];h[e]=c(e,t,f-1,r,a),m++}return l(t),h}function u(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.y1)(t))return"[VueViewModel]";if((0,r.Cy)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${(0,a.$P)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let n=d(t);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}function d(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function f(e){return~-encodeURI(e).split(/%..|./).length}function p(e){return f(JSON.stringify(e))}},18141:function(e,t,n){"use strict";n.d(t,{$Q:function(){return u},HK:function(){return d},Jr:function(){return v},Sh:function(){return p},_j:function(){return f},hl:function(){return l},xp:function(){return c},zf:function(){return g}});var r=n(99124),o=n(94003),i=n(95849),a=n(56007),s=n(96481);function l(e,t,n){if(!(t in e))return;let r=e[t],o=n(r);"function"==typeof o&&u(o,r),e[t]=o}function c(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){o.X&&a.kg.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,c(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function f(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function p(e){if((0,i.VZ)(e))return{message:e.message,name:e.name,stack:e.stack,...m(e)};if(!(0,i.cO)(e))return e;{let t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...m(e)};return"undefined"!=typeof CustomEvent&&(0,i.V9)(e,CustomEvent)&&(t.detail=e.detail),t}}function h(e){try{return(0,i.kK)(e)?(0,r.Rt)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function m(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function g(e,t=40){let n=Object.keys(p(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,s.$G)(n[0],t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");if(!(r.length>t)){if(e===n.length)return r;return(0,s.$G)(r,t)}}return""}function v(e){return y(e,new Map)}function y(e,t){if(b(e)){let n=t.get(e);if(void 0!==n)return n;let r={};for(let n of(t.set(e,r),Object.keys(e)))void 0!==e[n]&&(r[n]=y(e[n],t));return r}if(Array.isArray(e)){let n=t.get(e);if(void 0!==n)return n;let r=[];return t.set(e,r),e.forEach(e=>{r.push(y(e,t))}),r}return e}function b(e){if(!(0,i.PO)(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}},29131:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var r=n(21229);function o(){return{traceId:(0,r.DM)(),spanId:(0,r.DM)().substring(16)}}},20771:function(e,t,n){"use strict";n.d(t,{Q:function(){return a},WG:function(){return s}});let r=6e4;function o(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let o=Date.parse(`${e}`);return isNaN(o)?r:o-t}function i(e,t){return e[t]||e.all||0}function a(e,t,n=Date.now()){return i(e,t)>n}function s(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},a=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(a)for(let e of a.trim().split(",")){let[t,n,,,o]=e.split(":",5),a=parseInt(t,10),s=(isNaN(a)?60:a)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!o||o.split(";").includes("custom"))&&(i[e]=r+s):i[e]=r+s;else i.all=r+s}else s?i.all=r+o(s,r):429===t&&(i.all=r+6e4);return i}},89e3:function(e,t,n){"use strict";n.d(t,{$P:function(){return d},Fi:function(){return o},Sq:function(){return l},pE:function(){return s}});let r=50,o="?",i=/\(error: (.*)\)/,a=/captureMessage|captureException/;function s(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,o=0)=>{let a=[],s=e.split("\n");for(let e=n;e<s.length;e++){let n=s[e];if(n.length>1024)continue;let l=i.test(n)?n.replace(i,"$1"):n;if(!l.match(/\S*Error: /)){for(let e of t){let t=e(l);if(t){a.push(t);break}}if(a.length>=r+o)break}}return c(a.slice(o))}}function l(e){return Array.isArray(e)?s(...e):e}function c(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),a.test(t[t.length-1].function||"")&&(t.pop(),a.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,r).map(e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||o}))}let u="<anonymous>";function d(e){try{if(!e||"function"!=typeof e)return u;return e.name||u}catch(e){return u}}},96481:function(e,t,n){"use strict";n.d(t,{$G:function(){return o},U0:function(){return s},nK:function(){return i}});var r=n(95849);function o(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function i(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let o=e[t];try{(0,r.y1)(o)?n.push("[VueViewModel]"):n.push(String(o))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function a(e,t,n=!1){return!!(0,r.HD)(e)&&((0,r.Kj)(t)?t.test(e):!!(0,r.HD)(t)&&(n?e===t:e.includes(t)))}function s(e,t=[],n=!1){return t.some(t=>a(e,t,n))}},99146:function(e,t,n){"use strict";n.d(t,{Ak:function(){return a},QC:function(){return s},t$:function(){return l}});var r=n(94003),o=n(56007);let i=n(53531).GLOBAL_OBJ;function a(){if(!("fetch"in i))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function l(){if("string"==typeof EdgeRuntime)return!0;if(!a())return!1;if(s(i.fetch))return!0;let e=!1,t=i.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=s(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r.X&&o.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}},56821:function(e,t,n){"use strict";n.d(t,{$2:function(){return a},WD:function(){return i},cW:function(){return s}});var r,o=n(95849);function i(e){return new s(t=>{t(e)})}function a(e){return new s((t,n)=>{n(e)})}!function(e){let t=0;e[e.PENDING=t]="PENDING";let n=1;e[e.RESOLVED=n]="RESOLVED";let r=2;e[e.REJECTED=r]="REJECTED"}(r||(r={}));class s{constructor(e){s.prototype.__init.call(this),s.prototype.__init2.call(this),s.prototype.__init3.call(this),s.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new s((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new s((t,n)=>{let r,o;return this.then(t=>{o=!1,r=t,e&&e()},t=>{o=!0,r=t,e&&e()}).then(()=>{if(o){n(r);return}t(r)})})}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===r.PENDING){if((0,o.J8)(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)})}}}},77740:function(e,t,n){"use strict";let r;n.d(t,{Z1:function(){return l},ph:function(){return s},yW:function(){return a}});var o=n(53531);let i=1e3;function a(){return Date.now()/i}let s=function(){let{performance:e}=o.GLOBAL_OBJ;if(!e||!e.now)return a;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/i}(),l=(()=>{let{performance:e}=o.GLOBAL_OBJ;if(!e||!e.now){r="none";return}let t=36e5,n=e.now(),i=Date.now(),a=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,s=a<t,l=e.timing&&e.timing.navigationStart,c="number"==typeof l?Math.abs(l+n-i):t,u=c<t;return s||u?a<=c?(r="timeOrigin",e.timeOrigin):(r="navigationStart",l):(r="dateNow",i)})()},30009:function(e,t,n){"use strict";n.d(t,{$p:function(){return l},pT:function(){return s}});var r=n(47157),o=n(21229);let i=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(e){let t;if(!e)return;let n=e.match(i);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}function s(e,t){let n=a(e),i=(0,r.EN)(t),{traceId:s,parentSpanId:l,parentSampled:c}=n||{};return n?{traceId:s||(0,o.DM)(),parentSpanId:l||(0,o.DM)().substring(16),spanId:(0,o.DM)().substring(16),sampled:c,dsc:i||{}}:{traceId:s||(0,o.DM)(),spanId:(0,o.DM)().substring(16)}}function l(e=(0,o.DM)(),t=(0,o.DM)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}},59701:function(e,t,n){"use strict";function r(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function o(e){return e.split(/[\?#]/,1)[0]}n.d(t,{en:function(){return r},rt:function(){return o}})},53531:function(e,t,n){"use strict";n.d(t,{GLOBAL_OBJ:function(){return r},Y:function(){return o}});let r=globalThis;function o(e,t,n){let o=n||r,i=o.__SENTRY__=o.__SENTRY__||{};return i[e]||(i[e]=t())}},6944:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},35969:function(e,t,n){"use strict";n.d(t,{L2:function(){return l},_6:function(){return c},iK:function(){return u}});var r=n(99146),o=n(56007),i=n(6944),a=n(28251);let s={};function l(e){let t=s[e];if(t)return t;let n=a.m[e];if((0,r.QC)(n))return s[e]=n.bind(a.m);let l=a.m.document;if(l&&"function"==typeof l.createElement)try{let t=l.createElement("iframe");t.hidden=!0,l.head.appendChild(t);let r=t.contentWindow;r&&r[e]&&(n=r[e]),l.head.removeChild(t)}catch(t){i.X&&o.kg.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?s[e]=n.bind(a.m):n}function c(e){s[e]=void 0}function u(...e){return l("setTimeout")(...e)}},27279:function(e,t,n){"use strict";let r,o,i;n.d(t,{O:function(){return d}});var a=n(37352),s=n(18141),l=n(21229),c=n(28251);let u=1e3;function d(e){let t="dom";(0,a.Hj)(t,e),(0,a.D2)(t,f)}function f(){if(!c.m.document)return;let e=a.rK.bind(null,"dom"),t=m(e,!0);c.m.document.addEventListener("click",t,!1),c.m.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=c.m[t]&&c.m[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,s.hl)(n,"addEventListener",function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{let r=this,i=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},a=i[n]=i[n]||{refCount:0};if(!a.handler){let r=m(e);a.handler=r,t.call(this,n,r,o)}a.refCount++}catch(e){}return t.call(this,n,r,o)}}),(0,s.hl)(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this,o=n.__sentry_instrumentation_handlers__||{},i=o[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete o[t]),0===Object.keys(o).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function p(e){if(e.type!==o)return!1;try{if(!e.target||e.target._sentryId!==i)return!1}catch(e){}return!0}function h(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}function m(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let a=g(n);if(h(n.type,a))return;(0,s.xp)(n,"_sentryCaptured",!0),a&&!a._sentryId&&(0,s.xp)(a,"_sentryId",(0,l.DM)());let d="keypress"===n.type?"input":n.type;p(n)||(e({event:n,name:d,global:t}),o=n.type,i=a?a._sentryId:void 0),clearTimeout(r),r=c.m.setTimeout(()=>{i=void 0,o=void 0},u)}}function g(e){try{return e.target}catch(e){return null}}},49418:function(e,t,n){"use strict";let r;n.d(t,{a:function(){return c}});var o=n(37352);let i=n(53531).GLOBAL_OBJ;function a(){let e=i.chrome,t=e&&e.app&&e.app.runtime,n="history"in i&&!!i.history.pushState&&!!i.history.replaceState;return!t&&n}var s=n(18141),l=n(28251);function c(e){let t="history";(0,o.Hj)(t,e),(0,o.D2)(t,u)}function u(){if(!a())return;let e=l.m.onpopstate;function t(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=r,t=String(n);r=t;let i={from:e,to:t};(0,o.rK)("history",i)}return e.apply(this,t)}}l.m.onpopstate=function(...t){let n=l.m.location.href,i=r;r=n;let a={from:i,to:n};if((0,o.rK)("history",a),e)try{return e.apply(this,t)}catch(e){}},(0,s.hl)(l.m.history,"pushState",t),(0,s.hl)(l.m.history,"replaceState",t)}},85410:function(e,t,n){"use strict";n.d(t,{UK:function(){return c},xU:function(){return l}});var r=n(37352),o=n(18141),i=n(77740),a=n(95849),s=n(28251);let l="__sentry_xhr_v3__";function c(e){let t="xhr";(0,r.Hj)(t,e),(0,r.D2)(t,u)}function u(){if(!s.m.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;(0,o.hl)(e,"open",function(e){return function(...t){let n=1e3*(0,i.ph)(),s=(0,a.HD)(t[0])?t[0].toUpperCase():void 0,c=d(t[1]);if(!s||!c)return e.apply(this,t);this[l]={method:s,url:c,request_headers:{}},"POST"===s&&c.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let u=()=>{let e=this[l];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}let t={endTimestamp:1e3*(0,i.ph)(),startTimestamp:n,xhr:this};(0,r.rK)("xhr",t)}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,o.hl)(this,"onreadystatechange",function(e){return function(...t){return u(),e.apply(this,t)}}):this.addEventListener("readystatechange",u),(0,o.hl)(this,"setRequestHeader",function(e){return function(...t){let[n,r]=t,o=this[l];return o&&(0,a.HD)(n)&&(0,a.HD)(r)&&(o.request_headers[n.toLowerCase()]=r),e.apply(this,t)}}),e.apply(this,t)}}),(0,o.hl)(e,"send",function(e){return function(...t){let n=this[l];if(!n)return e.apply(this,t);void 0!==t[0]&&(n.body=t[0]);let o={startTimestamp:1e3*(0,i.ph)(),xhr:this};return(0,r.rK)("xhr",o),e.apply(this,t)}})}function d(e){if((0,a.HD)(e))return e;try{return e.toString()}catch(e){}}},28251:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});let r=n(53531).GLOBAL_OBJ},31791:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{_:function(){return r}})},95255:function(e,t,n){"use strict";function r(){}n.d(t,{e:function(){return o}});class o{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},23530:function(e,t,n){"use strict";function r(){}n.d(t,{k:function(){return c}});let o=r,i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},a="undefined"!=typeof WeakMap?WeakMap:Map,s="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:r,unregister:r}},l=10024;class c{constructor(e=1/0,t=o){this.max=e,this.dispose=t,this.map=new a,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<l;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let n=t.key;delete t.key,t.keyRef=new i(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new s(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},91215:function(e,t,n){"use strict";n.d(t,{D:function(){return s}});let{toString:r,hasOwnProperty:o}=Object.prototype,i=Function.prototype.toString,a=new Map;function s(e,t){try{return l(e,t)}finally{a.clear()}}function l(e,t){if(e===t)return!0;let n=r.call(e);if(n!==r.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)break;case"[object Object]":{if(p(e,t))return!0;let n=c(e),r=c(t),i=n.length;if(i!==r.length)return!1;for(let e=0;e<i;++e)if(!o.call(t,n[e]))return!1;for(let r=0;r<i;++r){let o=n[r];if(!l(e[o],t[o]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(p(e,t))return!0;let r=e.entries(),o="[object Map]"===n;for(;;){let e=r.next();if(e.done)break;let[n,i]=e.value;if(!t.has(n)||o&&!l(i,t.get(n)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return -1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let n=i.call(e);if(n!==i.call(t))return!1;return!f(n,d)}}return!1}function c(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}t.Z=s;let d="{ [native code] }";function f(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function p(e,t){let n=a.get(e);if(n){if(n.has(t))return!0}else a.set(e,n=new Set);return n.add(t),!1}},31356:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});let r=()=>Object.create(null),{forEach:o,slice:i}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return o.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(i.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let n=e[0],r=this.mapFor(n,!1),o=r&&r.get(n);!o||(t=o.removeArray(i.call(e,1)),o.data||o.weak||o.strong&&o.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),n=t.get(e);return n||t.set(e,n=new s(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&l(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}function l(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}},23034:function(e,t,n){"use strict";function r(e,t,n){t.split&&(t=t.split("."));for(var r,o,i=0,a=t.length,s=e;i<a&&"__proto__"!==(o=t[i++])&&"constructor"!==o&&"prototype"!==o;)s=s[o]=i===a?n:typeof(r=s[o])==typeof t?r:0*t[i]!=0||~(""+t[i]).indexOf(".")?{}:[]}n.d(t,{N:function(){return r}})},34962:function(e,t,n){"use strict";function r(e,t){if(!e)throw Error(t)}n.d(t,{a:function(){return r}})},77150:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});let r=10,o=2;function i(e){return a(e,[])}function a(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return s(e,t);default:return String(e)}}function s(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if(l(e)){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:a(t,n)}else if(Array.isArray(e))return u(e,n);return c(e,n)}function l(e){return"function"==typeof e.toJSON}function c(e,t){let n=Object.entries(e);return 0===n.length?"{}":t.length>o?"["+d(e)+"]":"{ "+n.map(([e,n])=>e+": "+a(n,t)).join(", ")+" }"}function u(e,t){if(0===e.length)return"[]";if(t.length>o)return"[Array]";let n=Math.min(r,e.length),i=e.length-n,s=[];for(let r=0;r<n;++r)s.push(a(e[r],t));return 1===i?s.push("... 1 more item"):i>1&&s.push(`... ${i} more items`),"["+s.join(", ")+"]"}function d(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}},48500:function(e,t,n){"use strict";var r;n.d(t,{UG:function(){return l},WU:function(){return i},Ye:function(){return o},h8:function(){return a},ku:function(){return r}});class o{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,n,r,o,i){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=i,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(a));function l(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(r||(r={}))},99408:function(e,t,n){"use strict";n.d(t,{LZ:function(){return a},wv:function(){return o}});var r=n(71754);function o(e){var t,n;let r=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],l=i(s);l!==s.length&&(o=null!==(n=o)&&void 0!==n?n:t,a=t,0!==t&&l<r&&(r=l))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!==(t=o)&&void 0!==t?t:0,a+1)}function i(e){let t=0;for(;t<e.length&&(0,r.FD)(e.charCodeAt(t));)++t;return t}function a(e,t){let n=e.replace(/"""/g,'\\"""'),o=n.split(/\r\n|[\n\r]/g),i=1===o.length,a=o.length>1&&o.slice(1).every(e=>0===e.length||(0,r.FD)(e.charCodeAt(0))),s=n.endsWith('\\"""'),l=e.endsWith('"')&&!s,c=e.endsWith("\\"),u=l||c,d=!(null!=t&&t.minimize)&&(!i||e.length>70||u||a||s),f="",p=i&&(0,r.FD)(e.charCodeAt(0));return(d&&!p||a)&&(f+="\n"),f+=n,(d||u)&&(f+="\n"),'"""'+f+'"""'}},71754:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function o(e){return e>=48&&e<=57}function i(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return i(e)||95===e}function s(e){return i(e)||o(e)||95===e}n.d(t,{FD:function(){return r},HQ:function(){return s},LQ:function(){return a},X1:function(){return o}})},16334:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return r}}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},29394:function(e,t,n){"use strict";n.d(t,{$_:function(){return s},Vn:function(){return l}});var r=n(34962),o=n(77150),i=n(48500),a=n(16334);let s=Object.freeze({});function l(e,t,n=i.h8){let l,u,d;let f=new Map;for(let e of Object.values(a.h))f.set(e,c(t,e));let p=Array.isArray(e),h=[e],m=-1,g=[],v=e,y=[],b=[];do{var w,S,x;let e;let a=++m===h.length,c=a&&0!==g.length;if(a){if(u=0===b.length?void 0:y[y.length-1],v=d,d=b.pop(),c){if(p){v=v.slice();let e=0;for(let[t,n]of g){let r=t-e;null===n?(v.splice(r,1),e++):v[r]=n}}else for(let[e,t]of(v=Object.defineProperties({},Object.getOwnPropertyDescriptors(v)),g))v[e]=t}m=l.index,h=l.keys,g=l.edits,p=l.inArray,l=l.prev}else if(d){if(null==(v=d[u=p?m:h[m]]))continue;y.push(u)}if(!Array.isArray(v)){(0,i.UG)(v)||(0,r.a)(!1,`Invalid AST Node: ${(0,o.X)(v)}.`);let n=a?null===(w=f.get(v.kind))||void 0===w?void 0:w.leave:null===(S=f.get(v.kind))||void 0===S?void 0:S.enter;if((e=null==n?void 0:n.call(t,v,u,d,y,b))===s)break;if(!1===e){if(!a){y.pop();continue}}else if(void 0!==e&&(g.push([u,e]),!a)){if((0,i.UG)(e))v=e;else{y.pop();continue}}}void 0===e&&c&&g.push([u,v]),a?y.pop():(l={inArray:p,index:m,keys:h,edits:g,prev:l},h=(p=Array.isArray(v))?v:null!==(x=n[v.kind])&&void 0!==x?x:[],m=-1,g=[],d&&b.push(d),d=v)}while(void 0!==l);return 0!==g.length?g[g.length-1][1]:e}function c(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}},72118:function(e,t,n){"use strict";/*! js-cookie v3.0.5 | MIT */function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function o(e,t){function n(n,o,i){if("undefined"!=typeof document){"number"==typeof(i=r({},t,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=n+"="+e.write(o,n)+a}}return Object.create({set:n,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=e.read(a,s),t===s)break}catch(e){}}return t?r[t]:r}},remove:function(e,t){n(e,"",r({},t,{expires:-1}))},withAttributes:function(e){return o(this.converter,r({},this.attributes,e))},withConverter:function(e){return o(r({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}n.d(t,{Z:function(){return i}});var i=o({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},96181:function(e,t,n){"use strict";let r;n.d(t,{g7:function(){return y},dP:function(){return V},re:function(){return G}});let o=()=>Object.create(null),{forEach:i,slice:a}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class l{constructor(e=!0,t=o){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),s.call(t,"data")?t.data:t.data=this.makeData(a.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=this.weakness&&c(e[n])?t.weak:t.strong;t=r&&r.get(e[n])}return t&&t.data}getChildTrie(e){let t=this.weakness&&c(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=t.get(e);return n||t.set(e,n=new l(this.weakness,this.makeData)),n}}function c(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}var u=n(95255),d=null,f={},p=1,h=function(){return function(){function e(){this.id=["slot",p++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=d;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===f)break;return e!==d&&(d.slots[this.id]=t),!0}return d&&(d.slots[this.id]=f),!1},e.prototype.getValue=function(){if(this.hasValue())return d.slots[this.id]},e.prototype.withValue=function(e,t,n,r){var o,i=((o={__proto__:null})[this.id]=e,o),a=d;d={parent:a,slots:i};try{return t.apply(r,n)}finally{d=a}},e.bind=function(e){var t=d;return function(){var n=d;try{return d=t,e.apply(this,arguments)}finally{d=n}}},e.noContext=function(e,t,n){if(!d)return e.apply(n,t);var r=d;try{return d=null,e.apply(n,t)}finally{d=r}},e}()};function m(e){try{return e()}catch(e){}}var g="@wry/context:Slot",v=m(function(){return globalThis})||m(function(){return n.g})||Object.create(null),y=v[g]||Array[g]||function(e){try{Object.defineProperty(v,g,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(h());y.bind,y.noContext;let b=new y,{hasOwnProperty:w}=Object.prototype,S=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function x(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let E=[],C=100;function _(e,t){if(!e)throw Error(t||"assertion failure")}function k(e,t){let n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function O(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function A(e){return e.slice(0)}class I{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++I.count}peek(){if(1===this.value.length&&!M(this))return P(this),this.value[0]}recompute(e){return _(!this.recomputing,"already recomputing"),P(this),M(this)?T(this,e):O(this.value)}setDirty(){this.dirty||(this.dirty=!0,j(this),x(this))}dispose(){this.setDirty(),z(this),L(this,(e,t)=>{e.setDirty(),U(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=E.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(S(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),E.push(this.deps),this.deps=null)}}function P(e){let t=b.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),M(e)?B(t,e):Z(t,e),t}function T(e,t){return z(e),b.withValue(e,R,[e,t]),H(e,t)&&N(e),O(e.value)}function R(e,t){let n;e.recomputing=!0;let{normalizeResult:r}=e;r&&1===e.value.length&&(n=A(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!k(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function M(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function N(e){e.dirty=!1,M(e)||D(e)}function j(e){L(e,B)}function D(e){L(e,Z)}function L(e,t){let n=e.parents.size;if(n){let r=S(e.parents);for(let o=0;o<n;++o)t(r[o],e)}}function B(e,t){_(e.childValues.has(t)),_(M(t));let n=!M(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=E.pop()||new Set;e.dirtyChildren.add(t),n&&j(e)}function Z(e,t){_(e.childValues.has(t)),_(!M(t));let n=e.childValues.get(t);0===n.length?e.childValues.set(t,A(t.value)):k(n,t.value)||e.setDirty(),F(e,t),M(e)||D(e)}function F(e,t){let n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(E.length<C&&E.push(n),e.dirtyChildren=null))}function z(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{U(e,n)}),e.forgetDeps(),_(null===e.dirtyChildren)}function U(e,t){t.parents.delete(e),e.childValues.delete(t),F(e,t)}function H(e,t){if("function"==typeof e.subscribe)try{x(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}I.count=0;let q={setDirty:!0,dispose:!0,forget:!0};function V(e){let t=new Map,n=e&&e.subscribe;function r(e){let r=b.getValue();if(r){let o=t.get(e);o||t.set(e,o=new Set),r.dependOn(o),"function"==typeof n&&(x(o),o.unsubscribe=n(e))}}return r.dirty=function(e,n){let r=t.get(e);if(r){let o=n&&w.call(q,n)?n:"setDirty";S(r).forEach(e=>e[o]()),t.delete(e),x(r)}},r}function W(...e){return(r||(r=new l("function"==typeof WeakMap))).lookupArray(e)}let $=new Set;function G(e,{max:t=65536,keyArgs:n,makeCacheKey:r=W,normalizeResult:o,subscribe:i,cache:a=u.e}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,l=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new I(e)),a.normalizeResult=o,a.subscribe=i,a.forget=()=>s.delete(t));let l=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),$.add(s),b.hasValue()||($.forEach(e=>e.clean()),$.clear()),l};function c(e){let t=e&&s.get(e);t&&t.setDirty()}function d(e){let t=e&&s.get(e);if(t)return t.peek()}function f(e){return!!e&&s.delete(e)}return Object.defineProperty(l,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:o,subscribe:i,cache:s}),l.dirtyKey=c,l.dirty=function(){c(r.apply(null,arguments))},l.peekKey=d,l.peek=function(){return d(r.apply(null,arguments))},l.forgetKey=f,l.forget=function(){return f(r.apply(null,arguments))},l.makeCacheKey=r,l.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(l)}},77356:function(e,t,n){"use strict";let r;n.d(t,{cC:function(){return z},Db:function(){return B},$G:function(){return V}});var o=n(44194),i=n(63229),a=n.n(i),s=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function l(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(a()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(s),i=null;null!==(i=o.exec(e));)if(i[0].trim()){if(i[1]){var l=i[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1))}return t}var c=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,u=/^\s*$/,d=Object.create(null);function f(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(f,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var p={parse:function(e,t){t||(t={}),t.components||(t.components=d);var n,r=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");r.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(c,function(s,c){if(a){if(s!=="</"+n.name+">")return;a=!1}var d,f="/"!==s.charAt(1),p=s.startsWith("<!--"),h=c+s.length,m=e.charAt(h);if(p){var g=l(s);return i<0?r.push(g):(d=o[i]).children.push(g),r}if(f&&(i++,"tag"===(n=l(s)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!m||"<"===m||n.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===i&&r.push(n),(d=o[i-1])&&d.children.push(n),o[i]=n),(!f||n.voidElement)&&(i>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(n=-1==--i?r:o[i]),!a&&"<"!==m&&m)){d=-1===i?r:o[i].children;var v=e.indexOf("<",h),y=e.slice(h,-1===v?void 0:v);u.test(y)&&(y=" "),(v>-1&&i+d.length>=0||" "!==y)&&d.push({type:"text",content:y})}}),r}};function h(){if(console&&console.warn){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}let m={};function g(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&m[t[0]]||("string"==typeof t[0]&&(m[t[0]]=new Date),h(...t))}let v=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}};function y(e,t,n){e.loadNamespaces(t,v(e,n))}function b(e,t,n,r){"string"==typeof n&&(n=[n]),n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,v(e,r))}function w(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;let a=(e,n)=>{let r=t.services.backendConnector.state[`${e}|${n}`];return -1===r||2===r};return(!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1)||!t.services.backendConnector.backend||!t.isLanguageChangingTo||!!a(t.isLanguageChangingTo,e))&&!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!o||a(i,e)))}function S(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):w(e,t,n):(g("i18n.languages were undefined or empty",t.languages),!0)}let x=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,E={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},C=e=>E[e],_={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(x,C)};function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_={..._,...e}}function O(){return _}function A(e){r=e}function I(){return r}function P(e,t){if(!e)return!1;let n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function T(e){if(!e)return[];let t=e.props?e.props.children:e.children;return e.props&&e.props.i18nIsDynamicList?M(t):t}function R(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every(e=>(0,o.isValidElement)(e))}function M(e){return Array.isArray(e)?e:[e]}function N(e,t){let n={...t};return n.props=Object.assign(e.props,t.props),n}function j(e,t){if(!e)return"";let n="",r=M(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach((e,r)=>{if("string"==typeof e)n+=`${e}`;else if((0,o.isValidElement)(e)){let o=Object.keys(e.props).length,a=i.indexOf(e.type)>-1,s=e.props.children;if(!s&&a&&0===o)n+=`<${e.type}/>`;else if(s||a&&0===o){if(e.props.i18nIsDynamicList)n+=`<${r}></${r}>`;else if(a&&1===o&&"string"==typeof s)n+=`<${e.type}>${s}</${e.type}>`;else{let e=j(s,t);n+=`<${r}>${e}</${r}>`}}else n+=`<${r}></${r}>`}else if(null===e)h("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"==typeof e){let{format:t,...r}=e,o=Object.keys(r);if(1===o.length){let e=t?`${o[0]}, ${t}`:o[0];n+=`{{${e}}}`}else h("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else h("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)}),n}function D(e,t,n,r,i,a){if(""===t)return[];let s=r.transKeepBasicHtmlNodesFor||[],l=t&&new RegExp(s.map(e=>`<${e}`).join("|")).test(t);if(!e&&!l&&!a)return[t];let c={};function u(e){M(e).forEach(e=>{"string"==typeof e||(P(e)?u(T(e)):"object"!=typeof e||(0,o.isValidElement)(e)||Object.assign(c,e))})}u(e);let d=p.parse(`<0>${t}</0>`),f={...c,...i};function h(e,t,n){let r=T(e),o=g(r,t.children,n);return R(r)&&0===o.length||e.props&&e.props.i18nIsDynamicList?r:o}function m(e,t,n,r,i){e.dummy?(e.children=t,n.push((0,o.cloneElement)(e,{key:r},i?void 0:t))):n.push(...o.Children.map([e],e=>{let n={...e.props};return delete n.i18nIsDynamicList,(0,o.createElement)(e.type,{...n,key:r,ref:e.ref},i?null:t)}))}function g(t,i,c){let u=M(t);return M(i).reduce((t,i,d)=>{let p=i.children&&i.children[0]&&i.children[0].content&&n.services.interpolator.interpolate(i.children[0].content,f,n.language);if("tag"===i.type){let a=u[parseInt(i.name,10)];1!==c.length||a||(a=c[0][i.name]),a||(a={});let v=0!==Object.keys(i.attrs).length?N({props:i.attrs},a):a,y=(0,o.isValidElement)(v),b=y&&P(i,!0)&&!i.voidElement,w=l&&"object"==typeof v&&v.dummy&&!y,S="object"==typeof e&&null!==e&&Object.hasOwnProperty.call(e,i.name);if("string"==typeof v){let e=n.services.interpolator.interpolate(v,f,n.language);t.push(e)}else if(P(v)||b){let e=h(v,i,c);m(v,e,t,d)}else if(w)m(v,g(u,i.children,c),t,d);else if(Number.isNaN(parseFloat(i.name))){if(S){let e=h(v,i,c);m(v,e,t,d,i.voidElement)}else if(r.transSupportBasicHtmlNodes&&s.indexOf(i.name)>-1){if(i.voidElement)t.push((0,o.createElement)(i.name,{key:`${i.name}-${d}`}));else{let e=g(u,i.children,c);t.push((0,o.createElement)(i.name,{key:`${i.name}-${d}`},e))}}else if(i.voidElement)t.push(`<${i.name} />`);else{let e=g(u,i.children,c);t.push(`<${i.name}>${e}</${i.name}>`)}}else if("object"!=typeof v||y)m(v,p,t,d,1!==i.children.length||!p);else{let e=i.children[0]?p:null;e&&t.push(e)}}else if("text"===i.type){let e=r.transWrapTextNodes,s=a?r.unescape(n.services.interpolator.interpolate(i.content,f,n.language)):n.services.interpolator.interpolate(i.content,f,n.language);e?t.push((0,o.createElement)(e,{key:`${i.name}-${d}`},s)):t.push(s)}return t},[])}return T(g([{dummy:!0,children:e||[]}],d,M(e||[]))[0])}function L(e){let{children:t,count:n,parent:r,i18nKey:i,context:a,tOptions:s={},values:l,defaults:c,components:u,ns:d,i18n:f,t:p,shouldUnescape:h,...m}=e,v=f||I();if(!v)return g("You will need to pass in an i18next instance by using i18nextReactModule"),t;let y=p||v.t.bind(v)||(e=>e);a&&(s.context=a);let b={...O(),...v.options&&v.options.react},w=d||y.ns||v.options&&v.options.defaultNS;w="string"==typeof w?[w]:w||["translation"];let S=j(t,b),x=c||S||b.transEmptyNodeValue||i,{hashTransKey:E}=b,C=i||(E?E(S||x):S||x);v.options&&v.options.interpolation&&v.options.interpolation.defaultVariables&&(l=l&&Object.keys(l).length>0?{...l,...v.options.interpolation.defaultVariables}:{...v.options.interpolation.defaultVariables});let _=l||void 0!==n?s.interpolation:{interpolation:{...s.interpolation,prefix:"#$?",suffix:"?$#"}},k={...s,count:n,...l,..._,defaultValue:x,ns:w},A=C?y(C,k):x;u&&Object.keys(u).forEach(e=>{let t=u[e];function n(){return(0,o.createElement)(o.Fragment,null,t)}"function"==typeof t.type||!t.props||!t.props.children||0>A.indexOf(`${e}/>`)&&0>A.indexOf(`${e} />`)||(u[e]=(0,o.createElement)(n))});let P=D(u||t,A,v,b,k,h),T=void 0!==r?r:b.defaultTransParent;return T?(0,o.createElement)(T,m,P):P}let B={type:"3rdParty",init(e){k(e.options.react),A(e)}},Z=(0,o.createContext)();class F{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function z(e){let{children:t,count:n,parent:r,i18nKey:i,context:a,tOptions:s={},values:l,defaults:c,components:u,ns:d,i18n:f,t:p,shouldUnescape:h,...m}=e,{i18n:g,defaultNS:v}=(0,o.useContext)(Z)||{},y=f||g||I(),b=p||y&&y.t.bind(y);return L({children:t,count:n,parent:r,i18nKey:i,context:a,tOptions:s,values:l,defaults:c,components:u,ns:d||b&&b.ns||v||y&&y.options&&y.options.defaultNS,i18n:y,t:p,shouldUnescape:h,...m})}let U=(e,t)=>{let n=(0,o.useRef)();return(0,o.useEffect)(()=>{n.current=t?n.current:e},[e,t]),n.current};function H(e,t,n,r){return e.getFixedT(t,n,r)}function q(e,t,n,r){return(0,o.useCallback)(H(e,t,n,r),[e,t,n,r])}function V(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{i18n:n}=t,{i18n:r,defaultNS:i}=(0,o.useContext)(Z)||{},a=n||r||I();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new F),!a){g("You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react&&void 0!==a.options.react.wait&&g("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let s={...O(),...a.options.react,...t},{useSuspense:l,keyPrefix:c}=s,u=e||i||a.options&&a.options.defaultNS;u="string"==typeof u?[u]:u||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(u);let d=(a.isInitialized||a.initializedStoreOnce)&&u.every(e=>S(e,a,s)),f=q(a,t.lng||null,"fallback"===s.nsMode?u:u[0],c),p=()=>f,h=()=>H(a,t.lng||null,"fallback"===s.nsMode?u:u[0],c),[m,v]=(0,o.useState)(p),w=u.join();t.lng&&(w=`${t.lng}${w}`);let x=U(w),E=(0,o.useRef)(!0);(0,o.useEffect)(()=>{let{bindI18n:e,bindI18nStore:n}=s;function r(){E.current&&v(h)}return E.current=!0,d||l||(t.lng?b(a,t.lng,u,()=>{E.current&&v(h)}):y(a,u,()=>{E.current&&v(h)})),d&&x&&x!==w&&E.current&&v(h),e&&a&&a.on(e,r),n&&a&&a.store.on(n,r),()=>{E.current=!1,e&&a&&e.split(" ").forEach(e=>a.off(e,r)),n&&a&&n.split(" ").forEach(e=>a.store.off(e,r))}},[a,w]);let C=(0,o.useRef)(!0);(0,o.useEffect)(()=>{E.current&&!C.current&&v(p),C.current=!1},[a,c]);let _=[m,a,d];if(_.t=m,_.i18n=a,_.ready=d,d||!d&&!l)return _;throw new Promise(e=>{t.lng?b(a,t.lng,u,()=>e()):y(a,u,()=>e())})}},37781:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return o(n.overflowY,t)||o(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},a=(e,t,n,r,o,i,a,s)=>i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0,s=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},l=(e,t)=>{var n,o,l,c;if("undefined"==typeof document)return[];let{scrollMode:u,block:d,inline:f,boundary:p,skipOverflowHiddenElements:h}=t,m="function"==typeof p?p:e=>e!==p;if(!r(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,v=[],y=e;for(;r(y)&&m(y);){if((y=s(y))===g){v.push(y);break}null!=y&&y===document.body&&i(y)&&!i(document.documentElement)||null!=y&&i(y,h)&&v.push(y)}let b=null!=(o=null==(n=window.visualViewport)?void 0:n.width)?o:innerWidth,w=null!=(c=null==(l=window.visualViewport)?void 0:l.height)?c:innerHeight,{scrollX:S,scrollY:x}=window,{height:E,width:C,top:_,right:k,bottom:O,left:A}=e.getBoundingClientRect(),{top:I,right:P,bottom:T,left:R}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),M="start"===d||"nearest"===d?_-I:"end"===d?O+T:_+E/2-I+T,N="center"===f?A+C/2-R+P:"end"===f?k+P:A-R,j=[];for(let e=0;e<v.length;e++){let t=v[e],{height:n,width:r,top:o,right:i,bottom:s,left:l}=t.getBoundingClientRect();if("if-needed"===u&&_>=0&&A>=0&&O<=w&&k<=b&&_>=o&&O<=s&&A>=l&&k<=i)break;let c=getComputedStyle(t),p=parseInt(c.borderLeftWidth,10),h=parseInt(c.borderTopWidth,10),m=parseInt(c.borderRightWidth,10),y=parseInt(c.borderBottomWidth,10),I=0,P=0,T="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-m:0,R="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-y:0,D="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,L="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(g===t)I="start"===d?M:"end"===d?M-w:"nearest"===d?a(x,x+w,w,h,y,x+M,x+M+E,E):M-w/2,P="start"===f?N:"center"===f?N-b/2:"end"===f?N-b:a(S,S+b,b,p,m,S+N,S+N+C,C),I=Math.max(0,I+x),P=Math.max(0,P+S);else{I="start"===d?M-o-h:"end"===d?M-s+y+R:"nearest"===d?a(o,s,n,h,y+R,M,M+E,E):M-(o+n/2)+R/2,P="start"===f?N-l-p:"center"===f?N-(l+r/2)+T/2:"end"===f?N-i+m+T:a(l,i,r,p,m+T,N,N+C,C);let{scrollLeft:e,scrollTop:c}=t;I=0===L?0:Math.max(0,Math.min(c+I/L,t.scrollHeight-n/L+R)),P=0===D?0:Math.max(0,Math.min(e+P/D,t.scrollWidth-r/D+T)),M+=c-I,N+=e-P}j.push({el:t,top:I,left:P})}return j},c=e=>{let t;return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"}};function u(e,t){let n;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let r=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof(n=t)&&"function"==typeof n.behavior)return t.behavior(l(e,t));let o="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:i,left:a}of l(e,c(t))){let e=i-r.top+r.bottom,t=a-r.left+r.right;n.scroll({top:e,left:t,behavior:o})}}},54308:function(e,t,n){"use strict";function r(e,t,n){var r,o=n||{},i=o.noTrailing,a=void 0!==i&&i,s=o.noLeading,l=void 0!==s&&s,c=o.debounceMode,u=void 0===c?void 0:c,d=!1,f=0;function p(){r&&clearTimeout(r)}function h(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;p(),d=!n}function m(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var s=this,c=Date.now()-f;function h(){f=Date.now(),t.apply(s,o)}function m(){r=void 0}!d&&(l||!u||r||h(),p(),void 0===u&&c>e?l?(f=Date.now(),a||(r=setTimeout(u?m:h,e))):h():!0!==a&&(r=setTimeout(u?m:h,void 0===u?e-c:e)))}return m.cancel=h,m}function o(e,t,n){var o=(n||{}).atBegin;return r(e,t,{debounceMode:!1!==(void 0!==o&&o)})}n.d(t,{D:function(){return o}})},67558:function(e,t,n){"use strict";n.d(t,{U6:function(){return f},ej:function(){return s},kG:function(){return l}});var r=n(43112),o="Invariant Violation",i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,s=function(e){function t(n){void 0===n&&(n=o);var r=e.call(this,"number"==typeof n?o+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=o,a(r,t.prototype),r}return(0,r.ZT)(t,e),t}(Error);function l(e,t){if(!e)throw new s(t)}var c=["debug","log","warn","error","silent"],u=c.indexOf("log");function d(e){return function(){if(c.indexOf(e)>=u)return(console[e]||console.log).apply(console,arguments)}}function f(e){var t=c[u];return u=Math.max(0,c.indexOf(e)),t}!function(e){e.debug=d("debug"),e.log=d("log"),e.warn=d("warn"),e.error=d("error")}(l||(l={}))},43112:function(e,t,n){"use strict";n.d(t,{Jh:function(){return l},ZT:function(){return o},_T:function(){return a},ev:function(){return c},mG:function(){return s},pi:function(){return i}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function s(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})}function l(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(s){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function c(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},94154:function(e,t,n){"use strict";n.d(t,{CR:function(){return c},Jh:function(){return l},ZT:function(){return o},_T:function(){return a},ev:function(){return u},mG:function(){return s},pi:function(){return i}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function s(e,t,n,r){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())})}function l(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return l([e,t])}}function l(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},79624:function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{y:function(){return k}});var l=function(){return"function"==typeof Symbol},c=function(e){return l()&&!!Symbol[e]},u=function(e){return c(e)?Symbol[e]:"@@"+e};l()&&!c("observable")&&(Symbol.observable=Symbol("observable"));var d=u("iterator"),f=u("observable"),p=u("species");function h(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw TypeError(n+" is not a function");return n}}function m(e){var t=e.constructor;return void 0!==t&&null===(t=t[p])&&(t=void 0),void 0!==t?t:k}function g(e){return e instanceof k}function v(e){v.log?v.log(e):setTimeout(function(){throw e})}function y(e){Promise.resolve().then(function(){try{e()}catch(e){v(e)}})}function b(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var n=h(t,"unsubscribe");n&&n.call(t)}}catch(e){v(e)}}}function w(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function S(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(x(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}function x(e,t,n){e._state="running";var r=e._observer;try{var o=h(r,t);switch(t){case"next":o&&o.call(r,n);break;case"error":if(w(e),o)o.call(r,n);else throw n;break;case"complete":w(e),o&&o.call(r)}}catch(e){v(e)}"closed"===e._state?b(e):"running"===e._state&&(e._state="ready")}function E(e,t,n){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:n});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:n}],y(function(){return S(e)});return}x(e,t,n)}}var C=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new _(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(w(this),b(this))},s(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),_=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){E(this._subscription,"next",e)},t.error=function(e){E(this._subscription,"error",e)},t.complete=function(){E(this._subscription,"complete")},s(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),k=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new C(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,r){if("function"!=typeof e){r(TypeError(e+" is not a function"));return}function o(){i.unsubscribe(),n()}var i=t.subscribe({next:function(t){try{e(t,o)}catch(e){r(e),i.unsubscribe()}},error:r,complete:n})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(m(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(m(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=m(this),r=arguments.length>1,o=!1,i=arguments[1],a=i;return new n(function(n){return t.subscribe({next:function(t){var i=!o;if(o=!0,!i||r)try{a=e(a,t)}catch(e){return n.error(e)}else a=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=m(this);return new o(function(t){var r,i=0;function a(e){r=e.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===n.length?(r=void 0,t.complete()):a(o.from(n[i++]))}})}return a(e),function(){r&&(r.unsubscribe(),r=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=m(this);return new n(function(r){var o=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var i=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=o.indexOf(i);e>=0&&o.splice(e,1),a()}});o.push(i)},error:function(e){r.error(e)},complete:function(){a()}});function a(){i.closed&&0===o.length&&r.complete()}return function(){o.forEach(function(e){return e.unsubscribe()}),i.unsubscribe()}})},t[f]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var o=h(t,f);if(o){var i=o.call(t);if(Object(i)!==i)throw TypeError(i+" is not an object");return g(i)&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(c("iterator")&&(o=h(t,d)))return new n(function(e){y(function(){if(!e.closed){for(var n,i=r(o.call(t));!(n=i()).done;){var a=n.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){y(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)(function(e){y(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},s(e,null,[{key:p,get:function(){return this}}]),e}();l()&&Object.defineProperty(k,Symbol("extensions"),{value:{symbol:f,hostReportError:v},configurable:!0})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(18745),t(34273),t(27834)}),_N_E=e.O()}]);