1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{49685:function(e,t,n){"use strict";n.d(t,{R_:function(){return p},ez:function(){return _}});var r=n(47845),i=n(13144),o=[{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 a(e){var t=e.r,n=e.g,i=e.b,o=(0,r.py)(t,n,i);return{h:360*o.h,s:o.s,v:o.v}}function s(e){var t=e.r,n=e.g,i=e.b;return"#".concat((0,r.vq)(t,n,i,!1))}function c(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 l(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function u(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function d(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function p(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,i.uA)(e),p=5;p>0;p-=1){var _=a(r),f=s((0,i.uA)({h:l(_,p,!0),s:u(_,p,!0),v:d(_,p,!0)}));n.push(f)}n.push(s(r));for(var h=1;h<=4;h+=1){var m=a(r),b=s((0,i.uA)({h:l(m,h),s:u(m,h),v:d(m,h)}));n.push(b)}return"dark"===t.theme?o.map((function(e){var r=e.index,o=e.opacity;return s(c((0,i.uA)(t.backgroundColor||"#141414"),(0,i.uA)(n[r]),100*o))})):n}var _={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},f={},h={};Object.keys(_).forEach((function(e){f[e]=p(_[e]),f[e].primary=f[e][5],h[e]=p(_[e],{theme:"dark",backgroundColor:"#141414"}),h[e].primary=h[e][5]}));f.red,f.volcano,f.gold,f.orange,f.yellow,f.lime,f.green,f.cyan,f.blue,f.geekblue,f.purple,f.magenta,f.grey},72644:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(50189),i=n(8136),o=n(64649),a=n(96535),s=n(27378),c=n(60042),l=n.n(c),u=n(37460),d=n(33940),p=n(49685),_=n(74485),f=n(98628),h=n(97429),m=n.n(h);function b(e){return"object"===(0,d.Z)(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===(0,d.Z)(e.icon)||"function"===typeof e.icon)}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else delete t[n],t[m()(n)]=r;return t}),{})}function v(e,t,n){return n?s.createElement(e.tag,(0,r.Z)((0,r.Z)({key:t},g(e.attrs)),n),(e.children||[]).map((function(n,r){return v(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):s.createElement(e.tag,(0,r.Z)({key:t},g(e.attrs)),(e.children||[]).map((function(n,r){return v(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function w(e){return(0,p.R_)(e)[0]}function y(e){return e?Array.isArray(e)?e:[e]:[]}var k="\n.anticon {\n display: inline-block;\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",x=["icon","className","onClick","style","primaryColor","secondaryColor"],E={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var S=function(e){var t,n,i=e.icon,o=e.className,c=e.onClick,l=e.style,d=e.primaryColor,p=e.secondaryColor,h=(0,a.Z)(e,x),m=E;
1if(d&&(m={primaryColor:d,secondaryColor:p||w(d)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k,t=(0,s.useContext)(u.Z).csp;(0,s.useEffect)((function(){(0,f.hq)(e,"@ant-design-icons",{prepend:!0,csp:t})}),[])}(),t=b(i),n="icon should be icon definiton, but got ".concat(i),(0,_.ZP)(t,"[@ant-design/icons] ".concat(n)),!b(i))return null;var g=i;return g&&"function"===typeof g.icon&&(g=(0,r.Z)((0,r.Z)({},g),{},{icon:g.icon(m.primaryColor,m.secondaryColor)})),v(g.icon,"svg-".concat(g.name),(0,r.Z)({className:o,onClick:c,style:l,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},h))};S.displayName="IconReact",S.getTwoToneColors=function(){return(0,r.Z)({},E)},S.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;E.primaryColor=t,E.secondaryColor=n||w(t),E.calculated=!!n};var P=S;function O(e){var t=y(e),n=(0,i.Z)(t,2),r=n[0],o=n[1];return P.setTwoToneColors({primaryColor:r,secondaryColor:o})}var C=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];O("#1890ff");var T=s.forwardRef((function(e,t){var n,c=e.className,d=e.icon,p=e.spin,_=e.rotate,f=e.tabIndex,h=e.onClick,m=e.twoToneColor,b=(0,a.Z)(e,C),g=s.useContext(u.Z),v=g.prefixCls,w=void 0===v?"anticon":v,k=g.rootClassName,x=l()(k,w,(n={},(0,o.Z)(n,"".concat(w,"-").concat(d.name),!!d.name),(0,o.Z)(n,"".concat(w,"-spin"),!!p||"loading"===d.name),n),c),E=f;void 0===E&&h&&(E=-1);var S=_?{msTransform:"rotate(".concat(_,"deg)"),transform:"rotate(".concat(_,"deg)")}:void 0,O=y(m),T=(0,i.Z)(O,2),j=T[0],A=T[1];return s.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":d.name},b),{},{ref:t,tabIndex:E,onClick:h,className:x}),s.createElement(P,{icon:d,primaryColor:j,secondaryColor:A,style:S}))}));T.displayName="AntdIcon",T.getTwoToneColor=function(){var e=P.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},T.setTwoToneColor=O;var j=T},37460:function(e,t,n){"use strict";var r=(0,n(27378).createContext)({});t.Z=r},25590:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="CheckCircleFilled";var c=i.forwardRef(s)},99314:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="CheckCircleOutlined";var c=i.forwardRef(s)},21014:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="CheckOutlined";var c=i.forwardRef(s)},59127:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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.
106L466.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"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="CloseCircleFilled";var c=i.forwardRef(s)},18546:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="CloseCircleOutlined";var c=i.forwardRef(s)},58693:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"}
1,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"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="CloseOutlined";var c=i.forwardRef(s)},77659:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="DownOutlined";var c=i.forwardRef(s)},60597:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="ExclamationCircleFilled";var c=i.forwardRef(s)},23697:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="ExclamationCircleOutlined";var c=i.forwardRef(s)},31463:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="EyeOutlined";var c=i.forwardRef(s)},85920:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="InfoCircleFilled";var c=i.forwardRef(s)},89786:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="InfoCircleOutlined";var c=i.forwardRef(s)},38280:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focu
vendor: 4,333 bytes, line 1
1sable:"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"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="LoadingOutlined";var c=i.forwardRef(s)},13009:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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"},a=n(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="RightOutlined";var c=i.forwardRef(s)},8785:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(27378),o={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(72644),s=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};s.displayName="SearchOutlined";var c=i.forwardRef(s)},47845:function(e,t,n){"use strict";n.d(t,{T6:function(){return _},VD:function(){return f},WE:function(){return l},Yt:function(){return h},lC:function(){return o},py:function(){return c},rW:function(){return i},s:function(){return d},ve:function(){return s},vq:function(){return u}});var r=n(39057);function i(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 o(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var i=Math.max(e,t,n),o=Math.min(e,t,n),a=0,s=0,c=(i+o)/2;if(i===o)s=0,a=0;else{var l=i-o;switch(s=c>.5?l/(2-i-o):l/(i+o),i){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:s,l:c}}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){var i,o,s;if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)o=n,s=n,i=n;else{var c=n<.5?n*(1+t):n+t-n*t,l=2*n-c;i=a(l,c,e+1/3),o=a(l,c,e),s=a(l,c,e-1/3)}return{r:255*i,g:255*o,b:255*s}}function c(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var i=Math.max(e,t,n),o=Math.min(e,t,n),a=0,s=i,c=i-o,l=0===i?0:c/i;if(i===o)a=0;else{switch(i){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:l,v:s}}function l(e,t,n){e=6*(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100);var i=Math.floor(e),o=e-i,a=n*(1-t),s=n*(1-o*t),c=n*(1-(1-o)*t),l=i%6;return{r:255*[n,s,a,a,c,n][l],g:255*[c,n,n,s,a,a][l],b:255*[a,a,c,n,n,s][l]}}function u(e,t,n,i){var o=[(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 i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function d(e,t,n,i,o){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)(p(i))];return o&&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 p(e){return Math.round(255*parseFloat(e)).toString(16)}function _(e){return f(e)/255}function f(e){return parseInt(e,16)}function h(e){return{r:e>>
116,g:(65280&e)>>8,b:255&e}}},97649: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"}},13144:function(e,t,n){"use strict";n.d(t,{uA:function(){return a}});var r=n(47845),i=n(97649),o=n(39057);function a(e){var t={r:0,g:0,b:0},n=1,a=null,s=null,c=null,l=!1,p=!1;return"string"===typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(i.R[e])e=i.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=u.rgba.exec(e))return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=u.hsl.exec(e))return{h:n[1],s:n[2],l:n[3]};if(n=u.hsla.exec(e))return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=u.hsv.exec(e))return{h:n[1],s:n[2],v:n[3]};if(n=u.hsva.exec(e))return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=u.hex8.exec(e))return{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"};if(n=u.hex6.exec(e))return{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"};if(n=u.hex4.exec(e))return{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"};if(n=u.hex3.exec(e))return{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"};return!1}(e)),"object"===typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),l=!0,p="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(a=(0,o.JX)(e.s),s=(0,o.JX)(e.v),t=(0,r.WE)(e.h,a,s),l=!0,p="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(a=(0,o.JX)(e.s),c=(0,o.JX)(e.l),t=(0,r.ve)(e.h,a,c),l=!0,p="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,o.Yq)(n),{ok:l,format:e.format||p,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="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+c),rgba:new RegExp("rgba"+l),hsl
1:new RegExp("hsl"+c),hsla:new RegExp("hsla"+l),hsv:new RegExp("hsv"+c),hsva:new RegExp("hsva"+l),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 d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},39057:function(e,t,n){"use strict";function r(e,t){(function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function i(e){return Math.min(1,Math.max(0,e))}function o(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function s(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return s},JX:function(){return a},V2:function(){return i},Yq:function(){return o},sh:function(){return r}})},72377:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(8136),i=n(27378),o=n(31542),a=n(98554),s=(n(74485),n(79986)),c=i.createContext(null),l=n(13285),u=n(99664),d=[];var p=n(98628),_=n(80408);var f="rc-util-locker-".concat(Date.now()),h=0;function m(e){var t=!!e,n=i.useState((function(){return h+=1,"".concat(f,"_").concat(h)})),o=(0,r.Z)(n,1)[0];(0,u.Z)((function(){if(t){var e=(0,_.o)(document.body).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,p.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),o)}else(0,p.jL)(o);return function(){(0,p.jL)(o)}}),[t,o])}var b=!1;var g=function(e){return!1!==e&&((0,a.Z)()&&e?"string"===typeof e?document.querySelector(e):"function"===typeof e?e():e:null)};var v=i.forwardRef((function(e,t){var n=e.open,p=e.autoLock,_=e.getContainer,f=(e.debug,e.autoDestroy),h=void 0===f||f,v=e.children,w=i.useState(n),y=(0,r.Z)(w,2),k=y[0],x=y[1],E=k||n;i.useEffect((function(){(h||n)&&x(n)}),[n,h]);var S=i.useState((function(){return g(_)})),P=(0,r.Z)(S,2),O=P[0],C=P[1];i.useEffect((function(){var e=g(_);C(null!==e&&void 0!==e?e:null)}));var T=function(e,t){var n=i.useState((function(){return(0,a.Z)()?document.createElement("div"):null})),o=(0,r.Z)(n,1)[0],s=i.useRef(!1),p=i.useContext(c),_=i.useState(d),f=(0,r.Z)(_,2),h=f[0],m=f[1],b=p||(s.current?void 0:function(e){m((function(t){return[e].concat((0,l.Z)(t))}))});function g(){o.parentElement||document.body.appendChild(o),s.current=!0}function v(){var e;null===(e=o.parentElement)||void 0===e||e.removeChild(o),s.current=!1}return(0,u.Z)((function(){return e?p?p(g):g():v(),v}),[e]),(0,u.Z)((function(){h.length&&(h.forEach((function(e){return e()})),m(d))}),[h]),[o,b]}(E&&!O),j=(0,r.Z)(T,2),A=j[0],D=j[1],N=null!==O&&void 0!==O?O:A;m(p&&n&&(0,a.Z)()&&(N===A||N===document.body));var I=null;v&&(0,s.Yr)(v)&&t&&(I=v.ref);var R=(0,s.x1)(I,t);if(!E||!(0,a.Z)()||void 0===O)return null;var L,M=!1===N||("boolean"===typeof L&&(b=L),b),z=v;return t&&(z=i.cloneElement(v,{ref:R})),i.createElement(c.Provider,{value:D},M?z:(0,o.createPortal)(z,N))}))},20859:function(e,t,n){"use strict";var r=n(27378);t.Z=function(e){var t=(0,r.useRef)(e);return t.current=e,t}},11858:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r=n(85556),i=n(27378),o=function(e){return function(t,n){var r=(0,i.useRef)(!1);e((function(){return function(){r.current=!1}}),[]),e((function(){if(r.current)return t();r.current=!0}),n)}},a=o(i.useEffect),s=function(e,t){var n=t.manual,o=t.ready,s=void 0===o||o,c=t.defaultParams,l=void 0===c?[]:c,u=t.refreshDeps,d=void 0===u?[]:u,p=t.refreshDepsAction,_=(0,i.useRef)(!1);return _.current=!1,a((function(){!n&&s&&(_.current=!0,e.run.apply(e,(0,r.ev)([],(0,r.CR)(l),!1)))}),[s]),a((function(){_.current||n||(_.current=!0,p?p():e.refresh())}),(0,r.ev)([],(0,r.CR)(d),!1)),{onBefore:function(){if(!s)return{stopNow:!0}}}};s.onInit=function(e){var t=e.ready,n=void 0===t||t;return{loading:!e.manual&&n}};var c=s,l=n(39422);function u(e,t){var n=(0,i.useRef)({deps:t,obj:void 0,initialized:!1}).current;return!1!==n.initialized&&(0,l.Z)(n.deps,t)||(n.deps=t,n.obj=e(),n.initialized=!0),n.obj}var d=n(34182),p=new Map,_=new Map,f={},h=function(e,t){return f[e]||(f[e]=[]),f[e].push(t),function(){var n=f[e].indexOf(t);f[e].splice(n,1)}},m=function(e,t){var n=t.cacheKey,o=t.cacheTime,a=void 0===o?3e5:o,s=t.staleTime,c=void 0===s?0:s,l=t.setCac
1he,m=t.getCache,b=(0,i.useRef)(),g=(0,i.useRef)(),v=function(e,t){l?l(t):function(e,t,n){var i=p.get(e);(null===i||void 0===i?void 0:i.timer)&&clearTimeout(i.timer);var o=void 0;t>-1&&(o=setTimeout((function(){p.delete(e)}),t)),p.set(e,(0,r.pi)((0,r.pi)({},n),{timer:o}))}(e,a,t),function(e,t){f[e]&&f[e].forEach((function(e){return e(t)}))}(e,t.data)},w=function(e,t){return void 0===t&&(t=[]),m?m(t):function(e){return p.get(e)}(e)};return u((function(){if(n){var t=w(n);t&&Object.hasOwnProperty.call(t,"data")&&(e.state.data=t.data,e.state.params=t.params,(-1===c||(new Date).getTime()-t.time<=c)&&(e.state.loading=!1)),b.current=h(n,(function(t){e.setState({data:t})}))}}),[]),(0,d.Z)((function(){var e;null===(e=b.current)||void 0===e||e.call(b)})),n?{onBefore:function(e){var t=w(n,e);return t&&Object.hasOwnProperty.call(t,"data")?-1===c||(new Date).getTime()-t.time<=c?{loading:!1,data:null===t||void 0===t?void 0:t.data,error:void 0,returnNow:!0}:{data:null===t||void 0===t?void 0:t.data,error:void 0}:{}},onRequest:function(e,t){var i=function(e){return _.get(e)}(n);return i&&i!==g.current||(i=e.apply(void 0,(0,r.ev)([],(0,r.CR)(t),!1)),g.current=i,function(e,t){_.set(e,t),t.then((function(t){return _.delete(e),t})).catch((function(){_.delete(e)}))}(n,i)),{servicePromise:i}},onSuccess:function(t,r){var i;n&&(null===(i=b.current)||void 0===i||i.call(b),v(n,{data:t,params:r,time:(new Date).getTime()}),b.current=h(n,(function(t){e.setState({data:t})})))},onMutate:function(t){var r;n&&(null===(r=b.current)||void 0===r||r.call(b),v(n,{data:t,params:e.state.params,time:(new Date).getTime()}),b.current=h(n,(function(t){e.setState({data:t})})))}}:{}},b=n(66726),g=n.n(b),v=function(e,t){var n=t.debounceWait,o=t.debounceLeading,a=t.debounceTrailing,s=t.debounceMaxWait,c=(0,i.useRef)(),l=(0,i.useMemo)((function(){var e={};return void 0!==o&&(e.leading=o),void 0!==a&&(e.trailing=a),void 0!==s&&(e.maxWait=s),e}),[o,a,s]);return(0,i.useEffect)((function(){if(n){var t=e.runAsync.bind(e);return c.current=g()((function(e){e()}),n,l),e.runAsync=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Promise((function(n,i){var o;null===(o=c.current)||void 0===o||o.call(c,(function(){t.apply(void 0,(0,r.ev)([],(0,r.CR)(e),!1)).then(n).catch(i)}))}))},function(){var n;null===(n=c.current)||void 0===n||n.cancel(),e.runAsync=t}}}),[n,l]),n?{onCancel:function(){var e;null===(e=c.current)||void 0===e||e.cancel()}}:{}},w=function(e,t){var n=t.loadingDelay,r=t.ready,o=(0,i.useRef)();if(!n)return{};var a=function(){o.current&&clearTimeout(o.current)};return{onBefore:function(){return a(),!1!==r&&(o.current=setTimeout((function(){e.setState({loading:!0})}),n)),{loading:!1}},onFinally:function(){a()},onCancel:function(){a()}}},y=n(24252);function k(){return!y.Z||"hidden"!==document.visibilityState}var x=[];if(y.Z){window.addEventListener("visibilitychange",(function(){if(k())for(var e=0;e<x.length;e++){(0,x[e])()}}),!1)}var E=function(e){return x.push(e),function(){var t=x.indexOf(e);x.splice(t,1)}},S=function(e,t){var n=t.pollingInterval,r=t.pollingWhenHidden,o=void 0===r||r,s=t.pollingErrorRetryCount,c=void 0===s?-1:s,l=(0,i.useRef)(),u=(0,i.useRef)(),d=(0,i.useRef)(0),p=function(){var e;l.current&&clearTimeout(l.current),null===(e=u.current)||void 0===e||e.call(u)};return a((function(){n||p()}),[n]),n?{onBefore:function(){p()},onError:function(){d.current+=1},onSuccess:function(){d.current=0},onFinally:function(){-1===c||-1!==c&&d.current<=c?l.current=setTimeout((function(){o||k()?e.refresh():u.current=E((function(){e.refresh()}))}),n):d.current=0},onCancel:function(){p()}}:{}};var P=[];if(y.Z){var O=function(){if(k()&&(!y.Z||"undefined"===typeof navigator.onLine||navigator.onLine))for(var e=0;e<P.length;e++){(0,P[e])()}};window.addEventListener("visibilitychange",O,!1),window.addEventListener("focus",O,!1)}var C=function(e){return P.push(e),function(){var t=P.indexOf(e);t>-1&&P.splice(t,1)}},T=function(e,t){var n=t.refreshOnWindowFocus,o=t.focusTimespan,a=void 0===o?5e3:o,s=(0,i.useRef)(),c=function(){var e;null===(e=s.current)||void 0===e||e.call(s)};return(0,i.useEffect)((function(){if(n){var t=function(e,t){var n=!1;return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];
1n||(n=!0,e.apply(void 0,(0,r.ev)([],(0,r.CR)(i),!1)),setTimeout((function(){n=!1}),t))}}(e.refresh.bind(e),a);s.current=C((function(){t()}))}return function(){c()}}),[n,a]),(0,d.Z)((function(){c()})),{}},j=function(e,t){var n=t.retryInterval,r=t.retryCount,o=(0,i.useRef)(),a=(0,i.useRef)(0),s=(0,i.useRef)(!1);return r?{onBefore:function(){s.current||(a.current=0),s.current=!1,o.current&&clearTimeout(o.current)},onSuccess:function(){a.current=0},onError:function(){if(a.current+=1,-1===r||a.current<=r){var t=null!==n&&void 0!==n?n:Math.min(1e3*Math.pow(2,a.current),3e4);o.current=setTimeout((function(){s.current=!0,e.refresh()}),t)}else a.current=0},onCancel:function(){a.current=0,o.current&&clearTimeout(o.current)}}:{}},A=n(19783),D=n.n(A),N=function(e,t){var n=t.throttleWait,o=t.throttleLeading,a=t.throttleTrailing,s=(0,i.useRef)(),c={};return void 0!==o&&(c.leading=o),void 0!==a&&(c.trailing=a),(0,i.useEffect)((function(){if(n){var t=e.runAsync.bind(e);return s.current=D()((function(e){e()}),n,c),e.runAsync=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Promise((function(n,i){var o;null===(o=s.current)||void 0===o||o.call(s,(function(){t.apply(void 0,(0,r.ev)([],(0,r.CR)(e),!1)).then(n).catch(i)}))}))},function(){var n;e.runAsync=t,null===(n=s.current)||void 0===n||n.cancel()}}}),[n,o,a]),n?{onCancel:function(){var e;null===(e=s.current)||void 0===e||e.cancel()}}:{}},I=n(20859),R=n(34898),L=n(50376);var M=function(e){L.Z&&((0,R.mf)(e)||console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof e)));var t=(0,i.useRef)(e);t.current=(0,i.useMemo)((function(){return e}),[e]);var n=(0,i.useRef)();return n.current||(n.current=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(this,e)}),n.current},z=function(e){L.Z&&((0,R.mf)(e)||console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof e,'".'))),(0,i.useEffect)((function(){null===e||void 0===e||e()}),[])},Z=function(){var e=(0,r.CR)((0,i.useState)({}),2)[1];return(0,i.useCallback)((function(){return e({})}),[])},F=function(){function e(e,t,n,i){void 0===i&&(i={}),this.serviceRef=e,this.options=t,this.subscribe=n,this.initState=i,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=(0,r.pi)((0,r.pi)((0,r.pi)({},this.state),{loading:!t.manual}),i)}return e.prototype.setState=function(e){void 0===e&&(e={}),this.state=(0,r.pi)((0,r.pi)({},this.state),e),this.subscribe()},e.prototype.runPluginHandler=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=this.pluginImpls.map((function(n){var i;return null===(i=n[e])||void 0===i?void 0:i.call.apply(i,(0,r.ev)([n],(0,r.CR)(t),!1))})).filter(Boolean);return Object.assign.apply(Object,(0,r.ev)([{}],(0,r.CR)(i),!1))},e.prototype.runAsync=function(){for(var e,t,n,i,o,a,s,c,l,u,d=[],p=0;p<arguments.length;p++)d[p]=arguments[p];return(0,r.mG)(this,void 0,void 0,(function(){var p,_,f,h,m,b,g,v,w,y,k;return(0,r.Jh)(this,(function(x){switch(x.label){case 0:if(this.count+=1,p=this.count,_=this.runPluginHandler("onBefore",d),f=_.stopNow,h=void 0!==f&&f,m=_.returnNow,b=void 0!==m&&m,g=(0,r._T)(_,["stopNow","returnNow"]),h)return[2,new Promise((function(){}))];if(this.setState((0,r.pi)({loading:!0,params:d},g)),b)return[2,Promise.resolve(g.data)];null===(t=(e=this.options).onBefore)||void 0===t||t.call(e,d),x.label=1;case 1:return x.trys.push([1,3,,4]),(v=this.runPluginHandler("onRequest",this.serviceRef.current,d).servicePromise)||(v=(k=this.serviceRef).current.apply(k,(0,r.ev)([],(0,r.CR)(d),!1))),[4,v];case 2:return w=x.sent(),p!==this.count?[2,new Promise((function(){}))]:(this.setState({data:w,error:void 0,loading:!1}),null===(i=(n=this.options).onSuccess)||void 0===i||i.call(n,w,d),this.runPluginHandler("onSuccess",w,d),null===(a=(o=this.options).onFinally)||void 0===a||a.call(o,d,w,void 0),p===this.count&&this.runPluginHandler("onFinally",d,w,void 0),[2,w]);case 3:if(y=x.sent(),p!==this.count)return[2,new Promise((function(){}))];throw this.setState({error:y,loading:!1}),null===(c=(s=this.options).onError)||void 0===c||c.call(s,y,d),this.runPluginHandler("onError",y,d),null===(u=(l=this.options).onFinally)||void 0===u||u.call(l,d,void 0,y),p===this.count&&this.runPluginHandler("onFinally",d,void 0,y),y;case 4:return[2]}}
1))}))},e.prototype.run=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.runAsync.apply(this,(0,r.ev)([],(0,r.CR)(t),!1)).catch((function(t){e.options.onError||console.error(t)}))},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},e.prototype.refresh=function(){this.run.apply(this,(0,r.ev)([],(0,r.CR)(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,(0,r.ev)([],(0,r.CR)(this.state.params||[]),!1))},e.prototype.mutate=function(e){var t=(0,R.mf)(e)?e(this.state.data):e;this.runPluginHandler("onMutate",t),this.setState({data:t})},e}(),V=F;var B=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n=[]);var i=t.manual,o=void 0!==i&&i,a=(0,r._T)(t,["manual"]);L.Z&&t.defaultParams&&!Array.isArray(t.defaultParams)&&console.warn("expected defaultParams is array, got ".concat(typeof t.defaultParams));var s=(0,r.pi)({manual:o},a),c=(0,I.Z)(e),l=Z(),p=u((function(){var e=n.map((function(e){var t;return null===(t=null===e||void 0===e?void 0:e.onInit)||void 0===t?void 0:t.call(e,s)})).filter(Boolean);return new V(c,s,l,Object.assign.apply(Object,(0,r.ev)([{}],(0,r.CR)(e),!1)))}),[]);return p.options=s,p.pluginImpls=n.map((function(e){return e(p,s)})),z((function(){if(!o){var e=p.state.params||t.defaultParams||[];p.run.apply(p,(0,r.ev)([],(0,r.CR)(e),!1))}})),(0,d.Z)((function(){p.cancel()})),{loading:p.state.loading,data:p.state.data,error:p.state.error,params:p.state.params||[],cancel:M(p.cancel.bind(p)),refresh:M(p.refresh.bind(p)),refreshAsync:M(p.refreshAsync.bind(p)),run:M(p.run.bind(p)),runAsync:M(p.runAsync.bind(p)),mutate:M(p.mutate.bind(p))}};var U=function(e,t,n){return B(e,t,(0,r.ev)((0,r.ev)([],(0,r.CR)(n||[]),!1),[v,w,S,T,N,c,m,j],!1))}},34182:function(e,t,n){"use strict";var r=n(27378),i=n(20859),o=n(34898),a=n(50376);t.Z=function(e){a.Z&&((0,o.mf)(e)||console.error("useUnmount expected parameter is a function, got ".concat(typeof e)));var t=(0,i.Z)(e);(0,r.useEffect)((function(){return function(){t.current()}}),[])}},39422:function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;for(var n=0;n<e.length;n++)if(!Object.is(e[n],t[n]))return!1;return!0}n.d(t,{Z:function(){return r}})},34898:function(e,t,n){"use strict";n.d(t,{hj:function(){return i},mf:function(){return r}});var r=function(e){return"function"===typeof e},i=function(e){return"number"===typeof e}},24252:function(e,t){"use strict";var n=!("undefined"===typeof window||!window.document||!window.document.createElement);t.Z=n},50376:function(e,t){"use strict";t.Z=!1},93083:function(e,t,n){"use strict";var r=n(8136),i=n(27378),o=n(85905);t.Z=function(){var e=i.useState(!1),t=(0,r.Z)(e,2),n=t[0],a=t[1];return i.useEffect((function(){a((0,o.fk)())}),[]),n}},10350:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8136),i=n(27378);function o(){var e=i.useReducer((function(e){return e+1}),0);return(0,r.Z)(e,2)[1]}},80821:function(e,t,n){"use strict";n.d(t,{mL:function(){return c},q0:function(){return s}});var r=function(){return{height:0,opacity:0}},i=function(e){return{height:e.scrollHeight,opacity:1}},o=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},a={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:r,onAppearEnd:o,onEnterEnd:o,onLeaveEnd:o,motionDeadline:500},s=((0,n(24525).b)("bottomLeft","bottomRight","topLeft","topRight"),function(e){return void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down"}),c=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t.ZP=a},72862:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(25773),i=n(63569),o={adjustX:1,adjustY:1},a={adjustX:0,adjustY:0},s=[0,0];function c(e){return"boolean"===typeof e?e?o:a:(0,r.Z)((0,r.Z)({},a),e)}function l(e){var t=e.arrowWidth,n=void 0===t?4:t,o=e.horizontalArrowShift,a=void 0===o?16:o,l=e.verticalArrowShift,u=void 0===l?8:l,d=e.autoAdjustOverflow,p=e.arrowPointAtCenter,_={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(a+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(u+n)]},topRight:{points:["br","tc"],offset:[a+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(u+n)]},bottomRight:{points:["tr","bc"],offset:[a+n,4]},rightBottom:{points:["bl","cr"],offset:[4,u+n]},bottomLeft:{points:["tl","bc"],offset:[-(a+n),4]},leftBottom:{points:["br","cl"],offset:[-4,u+n]}};return Object.keys(_).forEach((function(e){_[e]=p?(0,r.Z)((0,r.Z)({},_[e]),{overflow:c(d),targetOffset:s}):(0,r.Z)((0,r.Z)({},i.C[e]),{overflow:c(d)}),_[e].ignoreShake=!0})),_}},93795:function(e,t,n){"use strict";n.d(t,{M2:function(){return o},Tm:function(){return s},l$:function(){return i},wm:function(){return a}});var r=n(27378),i=r.isValidElement;function o(e){return e&&i(e)&&e.type===r.Fragment}function a(e,t,n){return i(e)?r.cloneElement(e,"function"===typeof n?n(e.props||{}):n):t}function s(e,t){return a(e,e,t)}}
1,58815:function(e,t,n){"use strict";n.d(t,{c4:function(){return o}});var r=n(64649),i=n(25773),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},s=new Map,c=-1,l={},u={matchHandlers:{},dispatch:function(e){return l=e,s.forEach((function(e){return e(l)})),s.size>=1},subscribe:function(e){return s.size||this.register(),c+=1,s.set(c,e),e(l),c},unsubscribe:function(e){s.delete(e),s.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],r=e.matchHandlers[n];null===r||void 0===r||r.mql.removeListener(null===r||void 0===r?void 0:r.listener)})),s.clear()},register:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,i.Z)((0,i.Z)({},l),(0,r.Z)({},t,o)))},s=window.matchMedia(n);s.addListener(o),e.matchHandlers[n]={mql:s,listener:o},o(s)}))}};t.ZP=u},69531:function(e,t,n){"use strict";n.d(t,{F:function(){return s},Z:function(){return a}});var r=n(64649),i=n(60042),o=n.n(i);(0,n(24525).b)("warning","error","");function a(e,t,n){var i;return o()((i={},(0,r.Z)(i,"".concat(e,"-status-success"),"success"===t),(0,r.Z)(i,"".concat(e,"-status-warning"),"warning"===t),(0,r.Z)(i,"".concat(e,"-status-error"),"error"===t),(0,r.Z)(i,"".concat(e,"-status-validating"),"validating"===t),(0,r.Z)(i,"".concat(e,"-has-feedback"),n),i))}var s=function(e,t){return t||e}},85905:function(e,t,n){"use strict";n.d(t,{fk:function(){return a},jD:function(){return o}});var r,i=n(98554),o=function(){return(0,i.Z)()&&window.document.documentElement},a=function(){if(!o())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},24525:function(e,t,n){"use strict";n.d(t,{a:function(){return i},b:function(){return r}});var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t}},41596:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(22951),i=n(91976),o=n(47169),a=n(28418),s=n(59180),c=n(98628),l=n(79986),u=n(27378),d=n(26775),p=n(94068),_=0,f={};function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=_++,r=t;function i(){(r-=1)<=0?(e(),delete f[n]):f[n]=(0,p.Z)(i)}return f[n]=(0,p.Z)(i),n}h.cancel=function(e){void 0!==e&&(p.Z.cancel(f[e]),delete f[e])},h.ids=f;var m,b=n(93795);function g(e){return!e||null===e.offsetParent||e.hidden}function v(e){return e instanceof Document?e.body:Array.from(e.childNodes).find((function(e){return(null===e||void 0===e?void 0:e.nodeType)===Node.ELEMENT_NODE}))}function w(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}var y=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;return(0,r.Z)(this,n),(e=t.apply(this,arguments)).containerRef=u.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var r,i,a=e.props,s=a.insertExtraNode;if(!a.disabled&&t&&!g(t)&&!t.className.includes("-leave")){e.extraNode=document.createElement("div");var l=(0,o.Z)(e).extraNode,u=e.context.getPrefixCls;l.className="".concat(u(""),"-click-animating-node");var d=e.getAttributeName();if(t.setAttribute(d,"true"),n&&"#fff"!==n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&"rgba(255, 255, 255, 1)"!==n&&w(n)&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){l.style.borderColor=n;var p=(null===(r=t.getRootNode)||void 0===r?void 0:r.call(t))||t.ownerDocument,_=null!==(i=v(p))&&void 0!==i?i:p;m=(0,c.hq)("\n [".concat(u(""),"-click-animating-without-extra-node='true']::after, .").concat(u(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:e.csp,attachTo:_})}s&&t.appendChild(l),["transition","animation"].forEach((function(n){t.addEventListener("".concat(n,"start"),e.onTransitionStart),t.addEventListener("".concat(n,"end"),e.onTransitionEnd)}))}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(t&&t.getAttribute&&!t.getAttribute("disabled")&&!t.className.includes("disabled")){var n=function(n){if("INPUT"!==n.target.tagName&&!g(n.target)){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout((function(){return e.onClick(t,r)}),0),h.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=h((function(){e.animationStart=!1}),10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!u.isValidElement(r))return r;var i=e.containerRef;return(0,l.Yr)(r)&&(i=(0,l.sQ)(r.ref,e.containerRef)),(0,b.Tm)(r,{ref:i})},e}
1return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1;var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls,t=this.props.insertExtraNode;return"".concat(e(""),t?"-click-animating":"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,r=this.getAttributeName();e.setAttribute(r,"false"),m&&(m.innerHTML=""),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),["transition","animation"].forEach((function(n){e.removeEventListener("".concat(n,"start"),t.onTransitionStart),e.removeEventListener("".concat(n,"end"),t.onTransitionEnd)}))}}},{key:"render",value:function(){return u.createElement(d.C,null,this.renderWave)}}]),n}(u.Component);y.contextType=d.E_;var k=y},83110:function(e,t,n){"use strict";n.d(t,{n:function(){return A},Z:function(){return I}});var r=n(25773),i=n(64649),o=n(8136),a=n(33940),s=n(60042),c=n.n(s),l=n(42445),u=n(27378),d=n(26775),p=n(11887),_=n(31552),f=n(31630),h=n(93795),m=n(24525),b=n(41596),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},v=u.createContext(void 0),w=function(e){var t,n=u.useContext(d.E_),o=n.getPrefixCls,a=n.direction,s=e.prefixCls,l=e.size,p=e.className,_=g(e,["prefixCls","size","className"]),f=o("btn-group",s),h="";switch(l){case"large":h="lg";break;case"small":h="sm"}var m=c()(f,(t={},(0,i.Z)(t,"".concat(f,"-").concat(h),h),(0,i.Z)(t,"".concat(f,"-rtl"),"rtl"===a),t),p);return u.createElement(v.Provider,{value:l},u.createElement("div",(0,r.Z)({},_,{className:m})))},y=n(38280),k=n(6958),x=function(){return{width:0,opacity:0,transform:"scale(0)"}},E=function(e){return{width:e.scrollWidth,opacity:1,transform:"scale(1)"}},S=function(e){var t=e.prefixCls,n=!!e.loading;return e.existIcon?u.createElement("span",{className:"".concat(t,"-loading-icon")},u.createElement(y.Z,null)):u.createElement(k.ZP,{visible:n,motionName:"".concat(t,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:x,onAppearActive:E,onEnterStart:x,onEnterActive:E,onLeaveStart:E,onLeaveActive:x},(function(e,n){var r=e.className,i=e.style;return u.createElement("span",{className:"".concat(t,"-loading-icon"),style:i,ref:n},u.createElement(y.Z,{className:r}))}))},P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},O=/^[\u4e00-\u9fa5]{2}$/,C=O.test.bind(O);function T(e){return"text"===e||"link"===e}function j(e,t){var n=!1,r=[];return u.Children.forEach(e,(function(e){var t=(0,a.Z)(e),i="string"===t||"number"===t;if(n&&i){var o=r.length-1,s=r[o];r[o]="".concat(s).concat(e)}else r.push(e);n=i})),u.Children.map(r,(function(e){return function(e,t){if(null!==e&&void 0!==e){var n=t?" ":"";return"string"!==typeof e&&"number"!==typeof e&&"string"===typeof e.type&&C(e.props.children)?(0,h.Tm)(e,{children:e.props.children.split("").join(n)}):"string"===typeof e?C(e)?u.createElement("span",null,e.split("").join(n)):u.createElement("span",null,e):(0,h.M2)(e)?u.createElement("span",null,e):e}}(e,t)}))}(0,m.b)("default","primary","ghost","dashed","link","text"),(0,m.b)("default","circle","round"),(0,m.b)("submit","button","reset");function A(e){return"danger"===e?{danger:!0}:{type:e}}var D=function(e,t){var n,a=e.loading,s=void 0!==a&&a,h=e.prefixCls,m=e.type,g=void 0===m?"default":m,w=e.danger,y=e.shape,k=void 0===y?"default":y,x=e.size,E=e.disabled,O=e.className,A=e.children,D=e.icon,N=e.ghost,I=void 0!==N&&N,R=e.block,L=void 0!==R&&R,M=e.htmlType,z=void 0===M?"button":M,Z=P(e,["loading","prefixCls","type","danger","shape","size","disabled","className","children","icon","ghost","block","htmlType"]),F=u.useContext(_.Z),V=u.useContext(p.Z),B=null!==E&&void 0!==E?E:V,U=u.useContext(v),G=u.useState(!!s),q=(0,o.Z)(G,2),H=q[0],K=q[1],W=u.useState(!1),$=(0,o.Z)(W,2),Y=$[0],X=$[1],J=u.useContext(d.E_),Q=J.getPrefixCls,ee=J.autoInsertSpaceInButton,te=J.direction,ne=t||u.createRef(),re=function(){return 1===u.Children.count(A)&&!D&&!T(g)},ie="boolean"===typeof s?s:(null===s||void 0===s?void 0:s.delay)||!0;u.useEffect((function(){var e=null;return"number"===typeof ie?e=window.setTimeout((function(){e=null,K(ie)}),ie):K(ie),function(){e&&(window.clearTimeout(e),e=null)}}),[ie]),u.useEffect((function(){if(ne&&ne.current&&!1!==ee){var e=ne.current.textContent;re()&&C(e)?Y||X(!0):Y&&X(!1)}}),[ne]);var oe=function(t){var n=e.onClick;H||B?t.preventDefault():null===n||void 0===n||n(t)},ae=Q("btn",h),se=!1!==ee,ce=(0,f.ri)(ae,te),le=ce.compactSize,ue=ce.compactItemClassnames,de=le||U||x||F,pe=de&&{large:"lg",small:"sm",middle:void 0}[de]||"",_e=H?"loading":D,fe=(0,l.Z)(Z,["navigate"]),he=c()(ae,(n={},(0,i.Z)(n,"".concat(ae,"-").concat(k),"default"!==k&&k),(0,i.Z)(n,"".concat(ae,"-").concat(g),g),(0,i.Z)(n,"".concat(ae,"-").concat(pe),pe),(0,i.Z)(n,"".concat(ae,"-icon-only"),!A&&0!==A&&!!_e),(0,i.Z)(n,"".concat(ae,"-background-ghost"),I&&!T(g)),(0,i.Z)(n,"".concat(ae,"-loading"),H),(0,i.Z)(n,"".concat(ae,"-two-chinese-chars"),Y&&se&&!H),(0,i.Z)(n,"".concat(ae,"-block"),L),(0,i.Z)(n,"".concat(ae,"-dangerous"),!!w),(0,i.Z)(n,"".concat(ae,"-rtl"),"rtl"===te),(0,i.Z)(n,"".concat(ae,"-disabled"),void 0!==fe.href&&B),n),ue,O),me=D&&!H?D:u.createElement(S,{existIcon:!!D,prefixCls:ae,loading:!!H}),be=A||0===A?j(A,re()&&se):null;if(void 0!==fe.href)return u.createElement("a",(0,r.Z)({},fe,{className:he,onClick:oe,ref:ne}),me,be);var ge=u.createElement("button",(0,r.Z)({},Z,{type:z,className:he,onClick:oe,disabled:B,ref:ne}),me,be);return T(g)?ge:u.createElement(b.Z,{disabled:!!H},ge)},N=u.forwardRef(D);N.Group=w,N.__ANT_BUTTON=!0;var I=N},56591:function(e,t,n){"use strict";var r=n(83110);t.Z=r.Z},92846:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(64649),i=n(25773),o=n(60042),a=n.n(o),s=n(18092),c=n(27378),l=n(26775),u=n(84006),d=n(13285),p=n(8136),_=n(42445),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},h=c.createContext(null),m=function(e,t){var n=e.defaultValue,o=e.children,s=e.options,u=void 0===s?[]:s,m=e.prefixCls,b=e.className,g=e.style,v=e.onChange,w=f(e,["defaultValue","children","options","prefixCls","className","style","onChange"]),y=c.useContext(l.E_),x=y.getPrefixCls,E=y.direction,S=c.useState(w.value||n||[]),P=(0,p.Z)(S,2),O=P[0],C=P[1],T=c.useState([]),j=(0,p.Z)(T,2),A=j[0],D=j[1];c.useEffect((function(){"value"in w&&C(w.value||[])}),[w.value]);var N=function(){return u.map((function(e){return"string"===typeof e||"number"===typeof e?{label:e,value:e}:e}))},I=x("checkbox",m),R="".concat(I,"-group"),L=(0,_.Z)(w,["value","disabled"]);u&&u.length>0&&(o=N().map((function(e){return c.createElement(k,{prefixCls:I,
1key:e.value.toString(),disabled:"disabled"in e?e.disabled:w.disabled,value:e.value,checked:O.includes(e.value),onChange:e.onChange,className:"".concat(R,"-item"),style:e.style},e.label)})));var M={toggleOption:function(e){var t=O.indexOf(e.value),n=(0,d.Z)(O);-1===t?n.push(e.value):n.splice(t,1),"value"in w||C(n);var r=N();null===v||void 0===v||v(n.filter((function(e){return A.includes(e)})).sort((function(e,t){return r.findIndex((function(t){return t.value===e}))-r.findIndex((function(e){return e.value===t}))})))},value:O,disabled:w.disabled,name:w.name,registerValue:function(e){D((function(t){return[].concat((0,d.Z)(t),[e])}))},cancelValue:function(e){D((function(t){return t.filter((function(t){return t!==e}))}))}},z=a()(R,(0,r.Z)({},"".concat(R,"-rtl"),"rtl"===E),b);return c.createElement("div",(0,i.Z)({className:z,style:g},L,{ref:t}),c.createElement(h.Provider,{value:M},o))},b=c.forwardRef(m),g=c.memo(b),v=n(11887),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},y=function(e,t){var n,o,d=e.prefixCls,p=e.className,_=e.children,f=e.indeterminate,m=void 0!==f&&f,b=e.style,g=e.onMouseEnter,y=e.onMouseLeave,k=e.skipGroup,x=void 0!==k&&k,E=e.disabled,S=w(e,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),P=c.useContext(l.E_),O=P.getPrefixCls,C=P.direction,T=c.useContext(h),j=(0,c.useContext)(u.aM).isFormItemInput,A=(0,c.useContext)(v.Z),D=null!==(o=(null===T||void 0===T?void 0:T.disabled)||E)&&void 0!==o?o:A,N=c.useRef(S.value);c.useEffect((function(){null===T||void 0===T||T.registerValue(S.value)}),[]),c.useEffect((function(){if(!x)return S.value!==N.current&&(null===T||void 0===T||T.cancelValue(N.current),null===T||void 0===T||T.registerValue(S.value),N.current=S.value),function(){return null===T||void 0===T?void 0:T.cancelValue(S.value)}}),[S.value]);var I=O("checkbox",d),R=(0,i.Z)({},S);T&&!x&&(R.onChange=function(){S.onChange&&S.onChange.apply(S,arguments),T.toggleOption&&T.toggleOption({label:_,value:S.value})},R.name=T.name,R.checked=T.value.includes(S.value));var L=a()((n={},(0,r.Z)(n,"".concat(I,"-wrapper"),!0),(0,r.Z)(n,"".concat(I,"-rtl"),"rtl"===C),(0,r.Z)(n,"".concat(I,"-wrapper-checked"),R.checked),(0,r.Z)(n,"".concat(I,"-wrapper-disabled"),D),(0,r.Z)(n,"".concat(I,"-wrapper-in-form-item"),j),n),p),M=a()((0,r.Z)({},"".concat(I,"-indeterminate"),m)),z=m?"mixed":void 0;return c.createElement("label",{className:L,style:b,onMouseEnter:g,onMouseLeave:y},c.createElement(s.Z,(0,i.Z)({"aria-checked":z},R,{prefixCls:I,className:M,disabled:D,ref:t})),void 0!==_&&c.createElement("span",null,_))};var k=c.forwardRef(y),x=k;x.Group=g,x.__ANT_CHECKBOX=!0;var E=x},10374:function(e,t,n){"use strict";var r=n(44971);t.Z=r.Z},11887:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});var r=n(27378),i=r.createContext(!1),o=function(e){var t=e.children,n=e.disabled,o=r.useContext(i);return r.createElement(i.Provider,{value:null!==n&&void 0!==n?n:o},t)};t.Z=i},31552:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(27378),i=r.createContext(void 0),o=function(e){var t=e.children,n=e.size;return r.createElement(i.Consumer,null,(function(e){return r.createElement(i.Provider,{value:n||e},t)}))};t.Z=i},26775:function(e,t,n){"use strict";n.d(t,{C:function(){return i},E_:function(){return r}});var r=n(27378).createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")}}),i=r.Consumer},78845:function(e,t,n){"use strict";var r=n(27378),i=n(26775),o=n(66332);t.Z=function(e){return r.createElement(i.C,null,(function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return r.createElement(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r.createElement(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return r.createElement(o.Z,null)}}))}},57372:function(e,t,n){"use strict";n.d(t,{ZP:function(){return ce},w6:function(){return oe}});var r=n(25773),i=n(37460),o=n(80258),a=n(8805),s=n(27378),c=n(45664),l=n(80276),u=function(e){var t=e.locale,n=void 0===t?{}:t,i=e.children;e._ANT_MARK__;s.useEffect((function(){return(0,c.f)(n&&n.Modal),function(){(0,c.f)()}}),[n]);var o=s.useMemo((function(){return(0,r.Z)((0,r.Z)({},n),{exist:!0})}),[n]);return s.createElement(l.Z.Provider,{value:o},i)},d=n(73682),p=n(91511),_=n(15060),f=n(64649),h=n(99314),m=n(18546),b=n(58693),g=n(23697),v=n(89786),w=n(60042),y=n.n(w),k=n(72587),x=n(8136),E=n(15865),S=n(26775);var P,O,C,T={},j=4.5,A=24,D=24,N="",I="topRight",R=!1;function L(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:D;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}function M(e,t){var n=e.placement,r=void 0===n?I:n,i=e.top,o=e.bottom,a=e.getContainer,s=void 0===a?P:a,c=e.prefixCls,l=oe(),u=l.getPrefixCls,d=l.getIconPrefixCls,p=u("notification",c||N),_=d(),h="".concat(p,"-").concat(r),m=T[h];
1if(m)Promise.resolve(m).then((function(e){t({prefixCls:"".concat(p,"-notice"),iconPrefixCls:_,instance:e})}));else{var b=y()("".concat(p,"-").concat(r),(0,f.Z)({},"".concat(p,"-rtl"),!0===R));T[h]=new Promise((function(e){k.Z.newInstance({prefixCls:p,className:b,style:L(r,i,o),getContainer:s,maxCount:C},(function(n){e(n),t({prefixCls:"".concat(p,"-notice"),iconPrefixCls:_,instance:n})}))}))}}var z={success:h.Z,info:v.Z,error:m.Z,warning:g.Z};function Z(e,t,n){var r=e.duration,i=e.icon,o=e.type,a=e.description,c=e.message,l=e.btn,u=e.onClose,d=e.onClick,p=e.key,_=e.style,h=e.className,m=e.closeIcon,g=void 0===m?O:m,v=e.props,w=void 0===r?j:r,k=null;i?k=s.createElement("span",{className:"".concat(t,"-icon")},e.icon):o&&(k=s.createElement(z[o]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(o)}));var x=s.createElement("span",{className:"".concat(t,"-close-x")},g||s.createElement(b.Z,{className:"".concat(t,"-close-icon")})),E=!a&&k?s.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:s.createElement(ce,{iconPrefixCls:n},s.createElement("div",{className:k?"".concat(t,"-with-icon"):"",role:"alert"},k,s.createElement("div",{className:"".concat(t,"-message")},E,c),s.createElement("div",{className:"".concat(t,"-description")},a),l?s.createElement("span",{className:"".concat(t,"-btn")},l):null)),duration:w,closable:!0,closeIcon:x,onClose:u,onClick:d,key:p,style:_||{},className:y()(h,(0,f.Z)({},"".concat(t,"-").concat(o),!!o)),props:v}}var F={open:function(e){M(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(Z(e,n,r))}))},close:function(e){Object.keys(T).forEach((function(t){return Promise.resolve(T[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,i=e.top,o=e.getContainer,a=e.closeIcon,s=e.prefixCls;void 0!==s&&(N=s),void 0!==t&&(j=t),void 0!==n?I=n:e.rtl&&(I="topLeft"),void 0!==r&&(D=r),void 0!==i&&(A=i),void 0!==o&&(P=o),void 0!==a&&(O=a),void 0!==e.rtl&&(R=e.rtl),void 0!==e.maxCount&&(C=e.maxCount)},destroy:function(){Object.keys(T).forEach((function(e){Promise.resolve(T[e]).then((function(e){e.destroy()})),delete T[e]}))}};["success","info","warning","error"].forEach((function(e){F[e]=function(t){return F.open((0,r.Z)((0,r.Z)({},t),{type:e}))}})),F.warn=F.warning,F.useNotification=function(e,t){return function(){var n,i=null,o={add:function(e,t){null===i||void 0===i||i.component.add(e,t)}},a=(0,E.Z)(o),c=(0,x.Z)(a,2),l=c[0],u=c[1];var d=s.useRef({});return d.current.open=function(o){var a=o.prefixCls,s=n("notification",a);e((0,r.Z)((0,r.Z)({},o),{prefixCls:s}),(function(e){var n=e.prefixCls,r=e.instance;i=r,l(t(o,n))}))},["success","info","warning","error"].forEach((function(e){d.current[e]=function(t){return d.current.open((0,r.Z)((0,r.Z)({},t),{type:e}))}})),[d.current,s.createElement(S.C,{key:"holder"},(function(e){return n=e.getPrefixCls,u}))]}}(M,Z);var V=F,B=n(49685),U=n(47845),G=n(97649),q=n(13144),H=n(39057),K=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=(0,U.Yt)(t)),this.originalInput=t;var i=(0,q.uA)(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:i.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=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},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=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,H.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,U.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,U.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,U.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,U.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,U.vq)(this.r,this.g,this.b,e)}
1,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,U.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,H.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,H.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,U.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(G.R);t<n.length;t++){var r=n[t],i=r[0];if(e===r[1])return i}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!==e&&void 0!==e?e:this.format;var n=!1,r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("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()):"name"===e&&0===this.a?this.toName():this.toRgbString()},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,H.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,H.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,H.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,H.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(),i=new e(t).toRgb(),o=n/100;return new e({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},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,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+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(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},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,i=[this],o=360/t,a=1;a<t;a++)i.push(new e({h:(r+a*o)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();var W=n(98554),$=n(98628),Y="-ant-".concat(Date.now(),"-").concat(Math.random());function X(e,t){var n=function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null===t||void 0===t?void 0:t(n))||n).toRgbString()},i=function(e,t){var i=new K(e),o=(0,B.R_)(i.toRgbString());n["".concat(t,"-color")]=r(i),n["".concat(t,"-color-disabled")]=o[1],n["".concat(t,"-color-hover")]=o[4],n["".concat(t,"-color-active")]=o[6],n["".concat(t,"-color-outline")]=i.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=o[0],n["".concat(t,"-color-deprecated-border")]=o[2]};if(t.primaryColor){i(t.primaryColor,"primary");var o=new K(t.primaryColor),a=(0,B.R_)(o.toRgbString());a.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(o,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(o,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(o,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(o,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(o,(function(e){return e.setAlpha(.12*e.getAlpha())}));var s=new K(a[0]);n["primary-color-active-deprecated-f-30"]=r(s,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(s,(function(e){return e.darken(2)}))}t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info");var c=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));return"\n :root {\n ".concat(c.join("\n"),"\n }\n ").trim()}(e,t);(0,W.Z)()&&(0,$.hq)(n,"".concat(Y,"-dynamic-theme"))}var J,Q,ee=n(11887),te=n(31552),ne=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];function re(){return J||"ant"}function ie(){return Q||"anticon"}var oe=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(re(),"-").concat(e):re())},getIconPrefixCls:ie,getRootPrefixCls:function(e,t){return e||(J||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):re()))}}},ae=function(e){var t,n,c=e.children,l=e.csp,d=e.autoInsertSpaceInButton,_=e.form,f=e.locale,h=e.componentSize,m=e.direction,b=e.space,g=e.virtual,v=e.dropdownMatchSelectWidth,w=e.legacyLocale,y=e.parentContext,k=e.iconPrefixCls,x=e.componentDisabled,E=s.useCallback((function(t,n){var r=e.prefixCls;if(n)return n;var i=r||y.getPrefixCls("");return t?"".concat(i,"-").concat(t):i}),[y.getPrefixCls,e.prefixCls]),P=(0,r.Z)((0,r.Z)({},y),{csp:l,autoInsertSpaceInButton:d,locale:f||w,direction:m,space:b,virtual:g,dropdownMatchSelectWidth:v,getPrefixCls:E});ne.forEach((function(t){var n=e[t];n&&(P[t]=n)}));var O=(0,a.Z)((function(){return P}),P,(function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((function(n){return e[n]!==t[n]}))})),C=s.useMemo((function(){return{prefixCls:k,csp:l}}),[k,l]),T=c,j={};return f&&(j=(null===(t=f.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=p.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),_&&_.validateMessages&&(j=(0,r.Z)((0,r.Z)({},j),_.validateMessages)),Object.keys(j).length>0&&(T=s.createElement(o.RV,{validateMessages:j},c)),f&&(T=s.createElement(u,{locale:f,_ANT_MARK__:"internalMark"},T)),(k||l)&&(T=s.createElement(i.Z.Provider,{value:C},T)),h&&(T=s.createElement(te.q,{size:h},T)),void 0!==x&&(T=s.createElement(ee.n,{disabled:x},T)),s.createElement(S.E_.Provider,{value:O},T)},se=function(e){return s.useEffect((function(){e.direction&&(_.ZP.config({rtl:"rtl"===e.direction}),V.config({rtl:"rtl"===e.direction}))}),[e.direction]),s.createElement(d.Z,null,(function(t,n,i){return s.createElement(S.C,null,(function(t){return s.createElement(ae,(0,r.Z)({parentContext:t,legacyLocale:i},e))}))}))};se.ConfigContext=S.E_,se.SizeContext=te.Z,se.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(J=t),void 0!==n&&(Q=n),r&&X(re(),r)};var ce=se},2133:function(e,t,n){"use strict";var r=n(25773),i=n(64649),o=n(60042),a=n.n(o),s=n(27378),c=n(26775),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};t.Z=function(e){var t,n=s.useContext(c.E_),o=n.getPrefixCls,u=n.direction,d=e.prefixCls,p=e.type,_=void 0===p?"horizontal":p,f=e.orientation,h=void 0===f?"center":f,m=e.orientationMargin,b=e.className,g=e.children,v=e.dashed,w=e.plain,y=l(e,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),k=o("divider",d),x=h.length>0?"-".concat(h):h,E=!!g,S="left"===h&&null!=m,P="right"===h&&null!=m,O=a()(k,"".concat(k,"-").concat(_),(t={},(0,i.Z)(t,"".concat(k,"-with-text"),E),(0,i.Z)(t,"".concat(k,"-with-text").concat(x),E),(0,i.Z)(t,"".concat(k,"-dashed"),!!v),(0,i.Z)(t,"".concat(k,"-plain"),!!w),(0,i.Z)(t,"".concat(k,"-rtl"),"rtl"===u),(0,i.Z)(t,"".concat(k,"-no-default-orientation-margin-left"),S),(0,i.Z)(t,"".concat(k,"-no-default-orientation-margin-right"),P),t),b),C=(0,r.Z)((0,r.Z)({},S&&{marginLeft:m}),P&&{marginRight:m});return s.createElement("div",(0,r.Z)({className:O},y,{role:"separator"}),g&&"vertical"!==_&&s.createElement("span",{className:"".concat(k,"-inner-text"),style:C},g))}},66332:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(64649),i=n(25773),o=n(60042),a=n.n(o),s=n(27378),c=n(26775),l=n(73682),u=function(){var e=(0,s.useContext(c.E_).getPrefixCls)("empty-img-default");return s.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},s.createElement("g",{fill:"none",fillRule:"evenodd"},s.createElement("g",{transform:"translate(24 31.67)"},s.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),s.createElement("path",{className:"".concat(e,"-path-1"),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"}),s.createElement("path",{className:"".concat(e,"-path-2"),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",transform:"translate(13.56)"}),s.createElement("path",{className:"".concat(e,"-path-3"),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"}),s.createElement("path",{className:"".concat(e,"-path-4"),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.51
15c-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"})),s.createElement("path",{className:"".concat(e,"-path-5"),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"}),s.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},s.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),s.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},d=function(){var e=(0,s.useContext(c.E_).getPrefixCls)("empty-img-simple");return s.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},s.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},s.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),s.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},s.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"}),s.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",className:"".concat(e,"-path")}))))},p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},_=s.createElement(u,null),f=s.createElement(d,null),h=function(e){var t=e.className,n=e.prefixCls,o=e.image,u=void 0===o?_:o,d=e.description,h=e.children,m=e.imageStyle,b=p(e,["className","prefixCls","image","description","children","imageStyle"]),g=s.useContext(c.E_),v=g.getPrefixCls,w=g.direction;return s.createElement(l.Z,{componentName:"Empty"},(function(e){var o,c=v("empty",n),l="undefined"!==typeof d?d:e.description,p="string"===typeof l?l:"empty",_=null;return _="string"===typeof u?s.createElement("img",{alt:p,src:u}):u,s.createElement("div",(0,i.Z)({className:a()(c,(o={},(0,r.Z)(o,"".concat(c,"-normal"),u===f),(0,r.Z)(o,"".concat(c,"-rtl"),"rtl"===w),o),t)},b),s.createElement("div",{className:"".concat(c,"-image"),style:m},_),l&&s.createElement("div",{className:"".concat(c,"-description")},l),h&&s.createElement("div",{className:"".concat(c,"-footer")},h))}))};h.PRESENTED_IMAGE_DEFAULT=_,h.PRESENTED_IMAGE_SIMPLE=f;var m=h},84006:function(e,t,n){"use strict";n.d(t,{RV:function(){return l},Rk:function(){return u},Ux:function(){return p},aM:function(){return d},q3:function(){return s},qI:function(){return c}});var r=n(25773),i=n(80258),o=n(42445),a=n(27378),s=a.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),c=a.createContext(null),l=function(e){var t=(0,o.Z)(e,["prefixCls"]);return a.createElement(i.RV,(0,r.Z)({},t))},u=a.createContext({prefixCls:""}),d=a.createContext({}),p=function(e){var t=e.children,n=e.status,i=e.override,o=(0,a.useContext)(d),s=(0,a.useMemo)((function(){var e=(0,r.Z)({},o);return i&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,i,o]);return a.createElement(d.Provider,{value:s},t)}},98530:function(e,t,n){"use strict";n.d(t,{Z:function(){return be}});var r=n(84006),i=n(64649),o=n(25773),a=n(13285),s=n(60042),c=n.n(s),l=n(6958),u=n(27378),d=n(26775),p=n(80821),_=n(8136);function f(e){var t=u.useState(e),n=(0,_.Z)(t,2),r=n[0],i=n[1];return u.useEffect((function(){var t=setTimeout((function(){i(e)}),e.length?0:10);return function(){clearTimeout(t)}}),[e]),r}var h=[];function m(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"===typeof e?e:"".concat(n,"-").concat(r),error:e,errorStatus:t}}function b(e){var t=e.help,n=e.helpStatus,s=e.errors,_=void 0===s?h:s,b=e.warnings,g=void 0===b?h:b,v=e.className,w=e.fieldId,y=e.onVisibleChanged,k=u.useContext(r.Rk).prefixCls,x=u.useContext(d.E_).getPrefixCls,E="".concat(k,"-item-explain"),S=x(),P=f(_),O=f(g),C=u.useMemo((function(){return void 0!==t&&null!==t?[m(t,n,"help")]:[].concat((0,a.Z)(P.map((function(e,t){return m(e,"error","error",t)}))),(0,a.Z)(O.map((function(e,t){return m(e,"warning","warning",t)}))))}),[t,n,P,O]),T={};return w&&(T.id="".concat(w,"_help")),u.createElement(l.ZP,{motionDeadline:p.ZP.motionDeadline,motionName:"".concat(S,"-show-help"),visible:!!C.length,onVisibleChanged:y},(function(e){var t=e.className,n=e.style;return u.createElement("div",(0,o.Z)({},T,{className:c()(E,t,v),style:n,role:"alert"}),u.createElement(l.V4,(0,o.Z)({keys:C},p.ZP,{motionName:"".concat(S,"-show-help-item"),component:!1}),(function(e){var t=e.key,n=e.error,r=e.errorStatus,o=e.className,a=e.style;return u.createElement("div",{key:t,className:c()(o,(0,i.Z)({},"".concat(E,"-").concat(r),r)),style:a},n)})))}))}var g=n(33940),v=n(80258),w=n(11887),y=n(31552);function k(e){return"object"==typeof e&&null!=e&&1===e.nodeType}
1function x(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function E(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return x(n.overflowY,t)||x(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 S(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}var P=function(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,c="function"==typeof a?a:function(e){return e!==a};if(!k(e))throw new TypeError("Invalid target");for(var l,u,d=document.scrollingElement||document.documentElement,p=[],_=e;k(_)&&c(_);){if((_=null==(u=(l=_).parentElement)?l.getRootNode().host||null:u)===d){p.push(_);break}null!=_&&_===document.body&&E(_)&&!E(document.documentElement)||null!=_&&E(_,s)&&p.push(_)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,h=n.visualViewport?n.visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),v=g.height,w=g.width,y=g.top,x=g.right,P=g.bottom,O=g.left,C="start"===i||"nearest"===i?y:"end"===i?P:y+v/2,T="center"===o?O+w/2:"end"===o?x:O,j=[],A=0;A<p.length;A++){var D=p[A],N=D.getBoundingClientRect(),I=N.height,R=N.width,L=N.top,M=N.right,z=N.bottom,Z=N.left;if("if-needed"===r&&y>=0&&O>=0&&P<=h&&x<=f&&y>=L&&P<=z&&O>=Z&&x<=M)return j;var F=getComputedStyle(D),V=parseInt(F.borderLeftWidth,10),B=parseInt(F.borderTopWidth,10),U=parseInt(F.borderRightWidth,10),G=parseInt(F.borderBottomWidth,10),q=0,H=0,K="offsetWidth"in D?D.offsetWidth-D.clientWidth-V-U:0,W="offsetHeight"in D?D.offsetHeight-D.clientHeight-B-G:0,$="offsetWidth"in D?0===D.offsetWidth?0:R/D.offsetWidth:0,Y="offsetHeight"in D?0===D.offsetHeight?0:I/D.offsetHeight:0;if(d===D)q="start"===i?C:"end"===i?C-h:"nearest"===i?S(b,b+h,h,B,G,b+C,b+C+v,v):C-h/2,H="start"===o?T:"center"===o?T-f/2:"end"===o?T-f:S(m,m+f,f,V,U,m+T,m+T+w,w),q=Math.max(0,q+b),H=Math.max(0,H+m);else{q="start"===i?C-L-B:"end"===i?C-z+G+W:"nearest"===i?S(L,z,I,B,G+W,C,C+v,v):C-(L+I/2)+W/2,H="start"===o?T-Z-V:"center"===o?T-(Z+R/2)+K/2:"end"===o?T-M+U+K:S(Z,M,R,V,U+K,T,T+w,w);var X=D.scrollLeft,J=D.scrollTop;C+=J-(q=Math.max(0,Math.min(J+q/Y,D.scrollHeight-I/Y+W))),T+=X-(H=Math.max(0,Math.min(X+H/$,D.scrollWidth-R/$+K)))}j.push({el:D,top:q,left:H})}return j};function O(e){return e===Object(e)&&0!==Object.keys(e).length}var C=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(O(t)&&"function"===typeof t.behavior)return t.behavior(n?P(e,t):[]);if(n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:O(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,i=e.top,o=e.left;r.scroll&&n?r.scroll({top:i,left:o,behavior:t}):(r.scrollTop=i,r.scrollLeft=o)}))}(P(e,r),r.behavior)}},T=["parentNode"];function j(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function A(e,t){if(e.length){var n=e.join("_");return t?"".concat(t,"_").concat(n):T.includes(n)?"".concat("form_item","_").concat(n):n}}function D(e){return j(e).join("_")}function N(e){var t=(0,v.cI)(),n=(0,_.Z)(t,1)[0],r=u.useRef({}),i=u.useMemo((function(){return null!==e&&void 0!==e?e:(0,o.Z)((0,o.Z)({},n),{__INTERNAL__:{itemRef:function(e){return function(t){var n=D(e);t?r.current[n]=t:delete r.current[n]}}},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=j(e),r=A(n,i.__INTERNAL__.name),a=r?document.getElementById(r):null;a&&C(a,(0,o.Z)({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:function(e){var t=D(e);return r.current[t]}})}),[e,n]);return[i]}var I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},R=function(e,t){var n,a=u.useContext(y.Z),s=u.useContext(w.Z),l=u.useContext(d.E_),p=l.getPrefixCls,f=l.direction,h=l.form,m=e.prefixCls,b=e.className,k=void 0===b?"":b,x=e.size,E=void 0===x?a:x,S=e.disabled,P=void 0===S?s:S,O=e.form,C=e.colon,T=e.labelAlign,j=e.labelWrap,A=e.labelCol,D=e.wrapperCol,R=e.hideRequiredMark,L=e.layout,M=void 0===L?"horizontal":L,z=e.scrollToFirstError,Z=e.requiredMark,F=e.onFinishFailed,V=e.name,B=I(e,["prefixCls","className","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),U=(0,u.useMemo)((function(){return void 0!==Z?Z:h&&void 0!==h.requiredMark?h.requiredMark:!R}),[R,Z,h]),G=null!==C&&void 0!==C?C:null===h||void 0===h?void 0:h.colon,q=p("form",m),H=c()(q,(n={},(0,i.Z)(n,"".concat(q,"-").concat(M),!0),(0,i.Z)(n,"".concat(q,"-hide-required-mark"),!1===U),(0,i.Z)(n,"".concat(q,"-rtl"),"rtl"===f),(0,i.Z)(n,"".concat(q,"-").concat(E),E),n),k),K=N(O),W=(0,_.Z)(K,1)[0],$=W.__INTERNAL__;$.name=V;var Y=(0,u.useMemo)((function(){return{name:V,labelAlign:T,labelCol:A,labelWrap:j,wrapperCol:D,vertical:"vertical"===M,colon:G,requiredMark:U,itemRef:$.itemRef,form:W}}),[V,T,A,D,M,G,U,W]);u.useImperativeHandle(t,(function(){return W}));return u.createElement(w.n,{disabled:P},u.createElement(y.q,{size:E},u.createElement(r.q3.Provider,{value:Y},u.createElement(v.ZP,(0,o.Z)({id:V},B,{name:V,onFinishFailed:function(e){null===F||void 0===F||F(e);var t={block:"nearest"};z&&e.errorFields.length&&("object"===(0,g.Z)(z)&&(t=z),W.scrollToField(e.errorFields[0].name,t))},form:W,className:H})))))},L=u.forwardRef(R),M=n(87643),z=n(79986),Z=function(){return{status:(0,u.useContext)(r.aM).status}},F=n(93795),V=n(24525),B=n(94068);var U=n(25590),G=n(59127),q=n(60597),H=n(38280),K=n(99664),W=n(42445),$=n(54175),Y=n(50189),X={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"},J=n(72644),Q=function(e,t){return u.createElement(J.Z,(0,Y.Z)((0,Y.Z)({},e),{},{ref:t,icon:X}))};Q.displayName="QuestionCircleOutlined";var ee=u.forwardRef(Q),te=n(44971),ne=n(73682),re=n(91511),ie=n(50221),oe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};var ae=function(e){var t=e.prefixCls,n=e.label,a=e.htmlFor,s=e.labelCol,l=e.labelAlign,d=e.colon,p=e.required,f=e.requiredMark,h=e.tooltip,m=(0,ne.E)("Form"),b=(0,_.Z)(m,1)[0];return n?u.createElement(r.q3.Consumer,{key:"label"},(function(e){var r,_,m=e.vertical,v=e.labelAlign,w=e.labelCol,y=e.labelWrap,k=e.colon,x=s||w||{},E=l||v,S="".concat(t,"-item-label"),P=c()(S,"left"===E&&"".concat(S,"-left"),x.className,(0,i.Z)({},"".concat(S,"-wrap"),!!y)),O=n,C=!0===d||!1!==k&&!1!==d;C&&!m&&"string"===typeof n&&""!==n.trim()&&(O=n.replace(/[:|\uff1a]\s*$/,""));var T=function(e){return e?"object"!==(0,g.Z)(e)||u.isValidElement(e)?{title:e}:e:null}(h);if(T){var j=T.icon,A=void 0===j?u.createElement(ee,null):j,D=oe(T,["icon"]),N=u.createElement(ie.Z,(0,o.Z)({},D),u.cloneElement(A,{className:"".concat(t,"-item-tooltip"),title:""}));O=u.createElement(u.Fragment,null,O,N)}"optional"!==f||p||(O=u.createElement(u.Fragment,null,O,u.createElement("span",{className:"".concat(t,"-item-optional"),title:""},(null===b||void 0===b?void 0:b.optional)||(null===(_=re.Z.Form)||void 0===_?void 0:_.optional))));var I=c()((r={},(0,i.Z)(r,"".concat(t,"-item-required"),p),(0,i.Z)(r,"".concat(t,"-item-required-mark-optional"),"optional"===f),(0,i.Z)(r,"".concat(t,"-item-no-colon"),!C),r));return u.createElement(te.Z,(0,o.Z)({},x,{className:P}),u.createElement("label",{htmlFor:a,className:I,title:"string"===typeof n?n:""},O))})):null},se=function(e){var t=e.prefixCls,n=e.status,i=e.wrapperCol,a=e.children,s=e.errors,l=e.warnings,d=e._internalItemRender,p=e.extra,_=e.help,f=e.fieldId,h=e.marginBottom,m=e.onErrorVisibleChanged,g="".concat(t,"-item"),v=u.useContext(r.q3),w=i||v.wrapperCol||{},y=c()("".concat(g,"-control"),w.className),k=u.useMemo((function(){return(0,o.Z)({},v)}),[v]);delete k.labelCol,delete k.wrapperCol;var x=u.createElement("div",{className:"".concat(g,"-control-input")},u.createElement("div",{className:"".concat(g,"-control-input-content")},a)),E=u.useMemo((function(){return{prefixCls:t,status:n}}),[t,n]),S=null!==h||s.length||l.length?u.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},u.createElement(r.Rk.Provider,{value:E},u.createElement(b,{fieldId:f,errors:s,warnings:l,help:_,helpStatus:n,className:"".concat(g,"-explain-connected"),onVisibleChanged:m})),!!h&&u.createElement("div",{style:{width:0,height:h}})):null,P={};f&&(P.id="".concat(f,"_extra"));var O=p?u.createElement("div",(0,o.Z)({},P,{className:"".concat(g,"-extra")}),p):null,C=d&&"pro_table_render"===d.mark&&d.render?d.render(e,{input
1:x,errorList:S,extra:O}):u.createElement(u.Fragment,null,x,S,O);return u.createElement(r.q3.Provider,{value:k},u.createElement(te.Z,(0,o.Z)({},w,{className:y}),C))},ce=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},le={success:U.Z,warning:q.Z,error:G.Z,validating:H.Z};function ue(e){var t,n=e.prefixCls,a=e.className,s=e.style,l=e.help,d=e.errors,p=e.warnings,h=e.validateStatus,m=e.meta,b=e.hasFeedback,g=e.hidden,v=e.children,w=e.fieldId,y=e.isRequired,k=e.onSubItemMetaChange,x=ce(e,["prefixCls","className","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","isRequired","onSubItemMetaChange"]),E="".concat(n,"-item"),S=u.useContext(r.q3).requiredMark,P=u.useRef(null),O=f(d),C=f(p),T=void 0!==l&&null!==l,j=!!(T||d.length||p.length),A=u.useState(null),D=(0,_.Z)(A,2),N=D[0],I=D[1];(0,K.Z)((function(){if(j&&P.current){var e=getComputedStyle(P.current);I(parseInt(e.marginBottom,10))}}),[j]);var R="";void 0!==h?R=h:m.validating?R="validating":O.length?R="error":C.length?R="warning":m.touched&&(R="success");var L=u.useMemo((function(){var e;if(b){var t=R&&le[R];e=t?u.createElement("span",{className:c()("".concat(E,"-feedback-icon"),"".concat(E,"-feedback-icon-").concat(R))},u.createElement(t,null)):null}return{status:R,hasFeedback:b,feedbackIcon:e,isFormItemInput:!0}}),[R,b]),M=(t={},(0,i.Z)(t,E,!0),(0,i.Z)(t,"".concat(E,"-with-help"),T||O.length||C.length),(0,i.Z)(t,"".concat(a),!!a),(0,i.Z)(t,"".concat(E,"-has-feedback"),R&&b),(0,i.Z)(t,"".concat(E,"-has-success"),"success"===R),(0,i.Z)(t,"".concat(E,"-has-warning"),"warning"===R),(0,i.Z)(t,"".concat(E,"-has-error"),"error"===R),(0,i.Z)(t,"".concat(E,"-is-validating"),"validating"===R),(0,i.Z)(t,"".concat(E,"-hidden"),g),t);return u.createElement("div",{className:c()(M),style:s,ref:P},u.createElement($.Z,(0,o.Z)({className:"".concat(E,"-row")},(0,W.Z)(x,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","required","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),u.createElement(ae,(0,o.Z)({htmlFor:w,required:y,requiredMark:S},e,{prefixCls:n})),u.createElement(se,(0,o.Z)({},e,m,{errors:O,warnings:C,prefixCls:n,status:R,help:l,marginBottom:N,onErrorVisibleChanged:function(e){e||I(null)}}),u.createElement(r.qI.Provider,{value:k},u.createElement(r.aM.Provider,{value:L},v)))),!!N&&u.createElement("div",{className:"".concat(E,"-margin-offset"),style:{marginBottom:-N}}))}(0,V.b)("success","warning","error","validating","");var de=u.memo((function(e){return e.children}),(function(e,t){return e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((function(e,n){return e===t.childProps[n]}))}));var pe=function(e){var t=e.name,n=e.noStyle,i=e.dependencies,s=e.prefixCls,c=e.shouldUpdate,l=e.rules,p=e.children,f=e.required,h=e.label,m=e.messageVariables,b=e.trigger,w=void 0===b?"onChange":b,y=e.validateTrigger,k=e.hidden,x=(0,u.useContext)(d.E_).getPrefixCls,E=(0,u.useContext)(r.q3).name,S="function"===typeof p,P=(0,u.useContext)(r.qI),O=(0,u.useContext)(v.zb).validateTrigger,C=void 0!==y?y:O,T=function(e){return!(void 0===e||null===e)}(t),D=x("form",s),N=u.useContext(v.ZM),I=u.useRef(),R=function(e){var t=u.useState(e),n=(0,_.Z)(t,2),r=n[0],i=n[1],o=(0,u.useRef)(null),a=(0,u.useRef)([]),s=(0,u.useRef)(!1);return u.useEffect((function(){return s.current=!1,function(){s.current=!0,B.Z.cancel(o.current),o.current=null}}),[]),[r,function(e){s.current||(null===o.current&&(a.current=[],o.current=(0,B.Z)((function(){o.current=null,i((function(e){var t=e;return a.current.forEach((function(e){t=e(t)})),t}))}))),a.current.push(e))}]}({}),L=(0,_.Z)(R,2),Z=L[0],V=L[1],U=(0,M.Z)((function(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[]}})),G=(0,_.Z)(U,2),q=G[0],H=G[1],K=function(e,t){V((function(n){var r=(0,o.Z)({},n),i=[].concat((0,a.Z)(e.name.slice(0,-1)),(0,a.Z)(t)).join("__SPLIT__");return e.destroy?delete r[i]:r[i]=e,r}))},W=u.useMemo((function(){var e=(0,a.Z)(q.errors),t=(0,a.Z)(q.warnings);
1return Object.values(Z).forEach((function(n){e.push.apply(e,(0,a.Z)(n.errors||[])),t.push.apply(t,(0,a.Z)(n.warnings||[]))})),[e,t]}),[Z,q.errors,q.warnings]),$=(0,_.Z)(W,2),Y=$[0],X=$[1],J=function(){var e=u.useContext(r.q3).itemRef,t=u.useRef({});return function(n,r){var i=r&&"object"===(0,g.Z)(r)&&r.ref,o=n.join("_");return t.current.name===o&&t.current.originRef===i||(t.current.name=o,t.current.originRef=i,t.current.ref=(0,z.sQ)(e(n),i)),t.current.ref}}();function Q(t,r,i){return n&&!k?t:u.createElement(ue,(0,o.Z)({key:"row"},e,{prefixCls:D,fieldId:r,isRequired:i,errors:Y,warnings:X,meta:q,onSubItemMetaChange:K}),t)}if(!T&&!S&&!i)return Q(p);var ee={};return"string"===typeof h?ee.label=h:t&&(ee.label=String(t)),m&&(ee=(0,o.Z)((0,o.Z)({},ee),m)),u.createElement(v.gN,(0,o.Z)({},e,{messageVariables:ee,trigger:w,validateTrigger:C,onMetaChange:function(e){var t=null===N||void 0===N?void 0:N.getKey(e.name);if(H(e.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[]}:e,!0),n&&P){var r=e.name;if(e.destroy)r=I.current||r;else if(void 0!==t){var i=(0,_.Z)(t,2),o=i[0],s=i[1];r=[o].concat((0,a.Z)(s)),I.current=r}P(e,r)}}}),(function(n,r,s){var d=j(t).length&&r?r.name:[],_=A(d,E),h=void 0!==f?f:!(!l||!l.some((function(e){if(e&&"object"===(0,g.Z)(e)&&e.required&&!e.warningOnly)return!0;if("function"===typeof e){var t=e(s);return t&&t.required&&!t.warningOnly}return!1}))),m=(0,o.Z)({},n),b=null;if(Array.isArray(p)&&T)b=p;else if(S&&(!c&&!i||T));else if(!i||S||T)if((0,F.l$)(p)){var v=(0,o.Z)((0,o.Z)({},p.props),m);if(v.id||(v.id=_),e.help||Y.length>0||X.length>0||e.extra){var y=[];(e.help||Y.length>0)&&y.push("".concat(_,"_help")),e.extra&&y.push("".concat(_,"_extra")),v["aria-describedby"]=y.join(" ")}Y.length>0&&(v["aria-invalid"]="true"),h&&(v["aria-required"]="true"),(0,z.Yr)(p)&&(v.ref=J(d,p)),new Set([].concat((0,a.Z)(j(w)),(0,a.Z)(j(C)))).forEach((function(e){v[e]=function(){for(var t,n,r,i,o,a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];null===(r=m[e])||void 0===r||(t=r).call.apply(t,[m].concat(s)),null===(o=(i=p.props)[e])||void 0===o||(n=o).call.apply(n,[i].concat(s))}}));var k=[v["aria-required"],v["aria-invalid"],v["aria-describedby"]];b=u.createElement(de,{value:m[e.valuePropName||"value"],update:p,childProps:k},(0,F.Tm)(p,v))}else b=S&&(c||i)&&!T?p(s):p;else;return Q(b,_,h)}))};pe.useStatus=Z;var _e=pe,fe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},he=function(e){var t=e.prefixCls,n=e.children,i=fe(e,["prefixCls","children"]),a=(0,u.useContext(d.E_).getPrefixCls)("form",t),s=u.useMemo((function(){return{prefixCls:a,status:"error"}}),[a]);return u.createElement(v.aV,(0,o.Z)({},i),(function(e,t,i){return u.createElement(r.Rk.Provider,{value:s},n(e.map((function(e){return(0,o.Z)((0,o.Z)({},e),{fieldKey:e.key})})),t,{errors:i.errors,warnings:i.warnings}))}))};var me=L;me.Item=_e,me.List=he,me.ErrorList=b,me.useForm=N,me.useFormInstance=function(){return(0,u.useContext)(r.q3).form},me.useWatch=v.qo,me.Provider=r.RV,me.create=function(){};var be=me},99302:function(e,t,n){"use strict";var r=(0,n(27378).createContext)({});t.Z=r},44971:function(e,t,n){"use strict";var r=n(64649),i=n(25773),o=n(33940),a=n(60042),s=n.n(a),c=n(27378),l=n(26775),u=n(99302),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};var p=["xs","sm","md","lg","xl","xxl"],_=c.forwardRef((function(e,t){var n,a=c.useContext(l.E_),_=a.getPrefixCls,f=a.direction,h=c.useContext(u.Z),m=h.gutter,b=h.wrap,g=h.supportFlexGap,v=e.prefixCls,w=e.span,y=e.order,k=e.offset,x=e.push,E=e.pull,S=e.className,P=e.children,O=e.flex,C=e.style,T=d(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=_("col",v),A={};p.forEach((function(t){var n,a={},s=e[t];"number"===typeof s?a.span=s:"object"===(0,o.Z)(s)&&(a=s||{}),delete T[t],A=(0,i.Z)((0,i.Z)({},A),(n={},(0,r.Z)(n,"".concat(j,"-").concat(t,"-").concat(a.span),void 0!==a.span),(0,r.Z)(n,"".concat(j,"-").concat(t,"-order-").concat(a.order),a.order||0===a.order),(0,r.Z)(n,"".concat(j,"-").concat(t,"-offset-").concat(a.offset),a.offset||0===a.offset),(0,r.Z)(n,"".concat(j,"-").concat(t,"-push-").concat(a.push),a.push||0===a.push),(0,r.Z)(n,"".concat(j,"-").concat(t,"-pull-").concat(a.pull),a.pull||0===a.pull),(0,r.Z)(n,"".concat(j,"-rtl"),"rtl"===f),n))}));var D=s()(j,(n={},(0,r.Z)(n,"".concat(j,"-").concat(w),void 0!==w),(0,r.Z)(n,"".concat(j,"-order-").concat(y),y),(0,r.Z)(n,"".concat(j,"-offset-").concat(k),k),(0,r.Z)(n,"".concat(j,"-push-").concat(x),x),(0,r.Z)(n,"".concat(j,"-pull-").concat(E),E),n),S,A),N={};if(m&&m[0]>0){var I=m[0]/2;N.paddingLeft=I,N.paddingRight=I}if(m&&m[1]>0&&!g){var R=m[1]/2;N.paddingTop=R,N.paddingBottom=R}return O&&(N.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(O),!1!==b||N.minWidth||(N.minWidth=0)),c.createElement("div",(0,i.Z)({},T,{style:(0,i.Z)((0,i.Z)({},N),C),className:D,ref:t}),P)}
1));t.Z=_},3159:function(e,t,n){"use strict";var r=n(27378),i=n(10350),o=n(58815);t.Z=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=(0,r.useRef)({}),n=(0,i.Z)();return(0,r.useEffect)((function(){var r=o.ZP.subscribe((function(r){t.current=r,e&&n()}));return function(){return o.ZP.unsubscribe(r)}}),[]),t.current}},54175:function(e,t,n){"use strict";var r=n(25773),i=n(64649),o=n(33940),a=n(8136),s=n(60042),c=n.n(s),l=n(27378),u=n(26775),d=n(93083),p=n(58815),_=n(24525),f=n(99302),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};(0,_.b)("top","middle","bottom","stretch"),(0,_.b)("start","end","center","space-around","space-between","space-evenly");function m(e,t){var n=l.useState("string"===typeof e?e:""),r=(0,a.Z)(n,2),i=r[0],s=r[1];return l.useEffect((function(){!function(){if("string"===typeof e&&s(e),"object"===(0,o.Z)(e))for(var n=0;n<p.c4.length;n++){var r=p.c4[n];if(t[r]){var i=e[r];if(void 0!==i)return void s(i)}}}()}),[JSON.stringify(e),t]),i}var b=l.forwardRef((function(e,t){var n,s=e.prefixCls,_=e.justify,b=e.align,g=e.className,v=e.style,w=e.children,y=e.gutter,k=void 0===y?0:y,x=e.wrap,E=h(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),S=l.useContext(u.E_),P=S.getPrefixCls,O=S.direction,C=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),T=(0,a.Z)(C,2),j=T[0],A=T[1],D=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),N=(0,a.Z)(D,2),I=N[0],R=N[1],L=m(b,I),M=m(_,I),z=(0,d.Z)(),Z=l.useRef(k);l.useEffect((function(){var e=p.ZP.subscribe((function(e){R(e);var t=Z.current||0;(!Array.isArray(t)&&"object"===(0,o.Z)(t)||Array.isArray(t)&&("object"===(0,o.Z)(t[0])||"object"===(0,o.Z)(t[1])))&&A(e)}));return function(){return p.ZP.unsubscribe(e)}}),[]);var F=P("row",s),V=function(){var e=[void 0,void 0];return(Array.isArray(k)?k:[k,void 0]).forEach((function(t,n){if("object"===(0,o.Z)(t))for(var r=0;r<p.c4.length;r++){var i=p.c4[r];if(j[i]&&void 0!==t[i]){e[n]=t[i];break}}else e[n]=t})),e}(),B=c()(F,(n={},(0,i.Z)(n,"".concat(F,"-no-wrap"),!1===x),(0,i.Z)(n,"".concat(F,"-").concat(M),M),(0,i.Z)(n,"".concat(F,"-").concat(L),L),(0,i.Z)(n,"".concat(F,"-rtl"),"rtl"===O),n),g),U={},G=null!=V[0]&&V[0]>0?V[0]/-2:void 0,q=null!=V[1]&&V[1]>0?V[1]/-2:void 0;if(G&&(U.marginLeft=G,U.marginRight=G),z){var H=(0,a.Z)(V,2);U.rowGap=H[1]}else q&&(U.marginTop=q,U.marginBottom=q);var K=(0,a.Z)(V,2),W=K[0],$=K[1],Y=l.useMemo((function(){return{gutter:[W,$],wrap:x,supportFlexGap:z}}),[W,$,x,z]);return l.createElement(f.Z.Provider,{value:Y},l.createElement("div",(0,r.Z)({},E,{className:B,style:(0,r.Z)((0,r.Z)({},U),v),ref:t}),w))}));t.Z=b},64047:function(e,t,n){"use strict";n.d(t,{ZP:function(){return I},D7:function(){return A},rJ:function(){return D},nH:function(){return N}});var r=n(64649),i=n(25773),o=n(33940),a=n(59127),s=n(60042),c=n.n(s),l=n(27378);
1function u(e){return!(!e.addonBefore&&!e.addonAfter)}function d(e){return!!(e.prefix||e.suffix||e.allowClear)}function p(e,t,n,r){if(n){var i=t;if("click"===t.type){var o=e.cloneNode(!0);return i=Object.create(t,{target:{value:o},currentTarget:{value:o}}),o.value="",void n(i)}if(void 0!==r)return i=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(i);n(i)}}function _(e){return"undefined"===typeof e||null===e?"":String(e)}var f=function(e){var t=e.inputElement,n=e.prefixCls,i=e.prefix,a=e.suffix,s=e.addonBefore,p=e.addonAfter,_=e.className,f=e.style,h=e.affixWrapperClassName,m=e.groupClassName,b=e.wrapperClassName,g=e.disabled,v=e.readOnly,w=e.focused,y=e.triggerFocus,k=e.allowClear,x=e.value,E=e.handleReset,S=e.hidden,P=(0,l.useRef)(null),O=(0,l.cloneElement)(t,{value:x,hidden:S});if(d(e)){var C,T="".concat(n,"-affix-wrapper"),j=c()(T,(C={},(0,r.Z)(C,"".concat(T,"-disabled"),g),(0,r.Z)(C,"".concat(T,"-focused"),w),(0,r.Z)(C,"".concat(T,"-readonly"),v),(0,r.Z)(C,"".concat(T,"-input-with-clear-btn"),a&&k&&x),C),!u(e)&&_,h),A=(a||k)&&l.createElement("span",{className:"".concat(n,"-suffix")},function(){var e;if(!k)return null;var t=!g&&!v&&x,i="".concat(n,"-clear-icon"),s="object"===(0,o.Z)(k)&&null!==k&&void 0!==k&&k.clearIcon?k.clearIcon:"\u2716";return l.createElement("span",{onClick:E,onMouseDown:function(e){return e.preventDefault()},className:c()(i,(e={},(0,r.Z)(e,"".concat(i,"-hidden"),!t),(0,r.Z)(e,"".concat(i,"-has-suffix"),!!a),e)),role:"button",tabIndex:-1},s)}(),a);O=l.createElement("span",{className:j,style:f,hidden:!u(e)&&S,onClick:function(e){var t;null!==(t=P.current)&&void 0!==t&&t.contains(e.target)&&(null===y||void 0===y||y())},ref:P},i&&l.createElement("span",{className:"".concat(n,"-prefix")},i),(0,l.cloneElement)(t,{style:null,value:x,hidden:null}),A)}if(u(e)){var D="".concat(n,"-group"),N="".concat(D,"-addon"),I=c()("".concat(n,"-wrapper"),D,b),R=c()("".concat(n,"-group-wrapper"),_,m);return l.createElement("span",{className:R,style:f,hidden:S},l.createElement("span",{className:I},s&&l.createElement("span",{className:N},s),(0,l.cloneElement)(O,{style:null,hidden:null}),p&&l.createElement("span",{className:N},p)))}return O},h=n(13285),m=n(8136),b=n(96535),g=n(42445),v=n(24391),w=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","inputClassName"],y=(0,l.forwardRef)((function(e,t){var n=e.autoComplete,a=e.onChange,s=e.onFocus,y=e.onBlur,k=e.onPressEnter,x=e.onKeyDown,E=e.prefixCls,S=void 0===E?"rc-input":E,P=e.disabled,O=e.htmlSize,C=e.className,T=e.maxLength,j=e.suffix,A=e.showCount,D=e.type,N=void 0===D?"text":D,I=e.inputClassName,R=(0,b.Z)(e,w),L=(0,v.Z)(e.defaultValue,{value:e.value}),M=(0,m.Z)(L,2),z=M[0],Z=M[1],F=(0,l.useState)(!1),V=(0,m.Z)(F,2),B=V[0],U=V[1],G=(0,l.useRef)(null),q=function(e){G.current&&function(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}(G.current,e)};(0,l.useImperativeHandle)(t,(function(){return{focus:q,blur:function(){var e;null===(e=G.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=G.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=G.current)||void 0===e||e.select()},input:G.current}})),(0,l.useEffect)((function(){U((function(e){return(!e||!P)&&e}))}),[P]);var H=function(t){void 0===e.value&&Z(t.target.value),G.current&&p(G.current,t,a)},K=function(e){k&&"Enter"===e.key&&k(e),null===x||void 0===x||x(e)},W=function(e){U(!0),null===s||void 0===s||s(e)},$=function(e){U(!1),null===y||void 0===y||y(e)};return l.createElement(f,(0,i.Z)({},R,{prefixCls:S,className:C,inputElement:function(){var t=(0,g.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName","htmlSize"]);return l.createElement("input",(0,i.Z)({autoComplete:n},t,{onChange:H,onFocus:W,onBlur:$,onKeyDown:K,className:c()(S,(0,r.Z)({},"".concat(S,"-disabled"),P),I,!u(e)&&!d(e)&&C),ref:G,size:O,type:N}))}(),handleReset:function(e){Z(""),q(),G.current&&p(G.current,e,a)},value:_(z),focused:B,triggerFocus:q,suffix:function(){var e=Number(T)>0;if(j||A){var t=_(z),n=(0,h.Z)(t).length,i="object"===(0,o.Z)(A)?A.formatter({value:t,count:n,maxLength:T}):"".concat(n).concat(e?" / ".concat(T):"");return l.createElement(l.Fragment,null,!!A&&l.createElement("span",{className:c()("".concat(S,"-show-count-suffix"),(0,r.Z)({},"".concat(S,"-show-count-has-suffix"),!!j))},i),j)}return null}(),disabled:P}))})),k=n(79986),x=n(26775),E=n(11887),S=n(31552),P=n(84006),O=n(31630),C=n(69531),T=n(78931);var j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function A(e){return"undefined"===typeof e||null===e?"":String(e)}function D(e,t,n,r){if(n){var i=t;if("click"===t.type){var o=e.cloneNode(!0);return i=Object.create(t,{target:{value:o},currentTarget:{value:o}}),o.value="",void n(i)}if(void 0!==r)return i=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(i);n(i)}}function N(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}var I=(0,l.forwardRef)((function(e,t){var n,s,u,d=e.prefixCls,p=e.bordered,_=void 0===p||p,f=e.status,h=e.size,m=e.disabled,b=e.onBlur,g=e.onFocus,v=e.suffix,w=e.allowClear,A=e.addonAfter,D=e.addonBefore,N=e.className,I=e.onChange,R=j(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),L=l.useContext(x.E_),M=L.getPrefixCls,z=L.direction,Z=L.input,F=M("input",d),V=(0,l.useRef)(null),B=(0,O.ri)(F,z),U=B.compactSize,G=B.compactItemClassnames,q=l.useContext(S.Z),H=U||h||q,K=l.useContext(E.Z),W=null!==m&&void 0!==m?m:K,$=(0,l.useContext)(P.aM),Y=$.status,X=$.hasFeedback,J=$.feedbackIcon,Q=(0,C.F)(Y,f),ee=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e)||!!X,te=(0,l.useRef)(ee);(0,l.useEffect)((function(){ee&&te.current,te.current=ee}),[ee]);var ne,re=(0,T.Z)(V,!0),ie=(X||v)&&l.createElement(l.Fragment,null,v,X&&J);return"object"===(0,o.Z)(w)&&(null===w||void 0===w?void 0:w.clearIcon)?ne=w:w&&(ne={clearIcon:l.createElement(a.Z,null)}),l.createElement(y,(0,i.Z)({ref:(0,k.sQ)(t,V),prefixCls:F,autoComplete:null===Z||void 0===Z?void 0:Z.autoComplete},R,{disabled:W||void 0,onBlur:function(e){re(),null===b||void 0===b||b(e)},onFocus:function(e){re(),null===g||void 0===g||g(e)},suffix:ie,allowClear:ne,className:c()(N,G),onChange:function(e){re(),null===I||void 0===I||I(e)},addonAfter:A&&l.createElement(O.BR,null,l.createElement(P.Ux,{override:!0,status:!0},A)),addonBefore:D&&l.createElement(O.BR,null,l.createElement(P.Ux,{override:!0,status:!0},D)),inputClassName:c()((n={},(0,r.Z)(n,"".concat(F,"-sm"),"small"===H),(0,r.Z)(n,"".concat(F,"-lg"),"large"===H),(0,r.Z)(n,"".concat(F,"-rtl"),"rtl"===z),(0,r.Z)(n,"".concat(F,"-borderless"),!_),n),!ee&&(0,C.Z)(F,Q)),affixWrapperClassName:c()((s={},(0,r.Z)(s,"".concat(F,"-affix-wrapper-sm"),"small"===H),(0,r.Z)(s,"".concat(F,"-affix-wrapper-lg"),"large"===H),(0,r.Z)(s,"".concat(F,"-affix-wrapper-rtl"),"rtl"===z),(0,r.Z)(s,"".concat(F,"-affix-wrapper-borderless"),!_),s),(0,C.Z)("".concat(F,"-affix-wrapper"),Q,X)),wrapperClassName:c()((0,r.Z)({},"".concat(F,"-group-rtl"),"rtl"===z)),groupClassName:c()((u={},(0,r.Z)(u,"".concat(F,"-group-wrapper-sm"),"small"===H),(0,r.Z)(u,"".concat(F,"-group-wrapper-lg"),"large"===H),(0,r.Z)(u,"".concat(F,"-group-wrapper-rtl"),"rtl"===z),u),(0,C.Z)("".concat(F,"-group-wrapper"),Q,X))}))}))},38197:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});
1var r,i=n(33940),o=n(64649),a=n(25773),s=n(8136),c=n(13285),l=n(60042),u=n.n(l),d=n(22951),p=n(91976),_=n(28418),f=n(59180),h=n(27378),m=n(50189),b=n(96535),g=n(98442),v=n(99664),w=n(94068),y=n(24391),k="\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"],E={};function S(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),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=x.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),c={sizingStyle:s,paddingSize:o,borderSize:a,boxSizing:i};return t&&n&&(E[n]=c),c}var P=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],O=h.forwardRef((function(e,t){var n=e.prefixCls,c=void 0===n?"rc-textarea":n,l=(e.onPressEnter,e.defaultValue),d=e.value,p=e.autoSize,_=e.onResize,f=e.className,x=e.style,E=e.disabled,O=e.onChange,C=(e.onInternalAutoSize,(0,b.Z)(e,P)),T=(0,y.Z)(l,{value:d,postState:function(e){return null!==e&&void 0!==e?e:""}}),j=(0,s.Z)(T,2),A=j[0],D=j[1],N=h.useRef();h.useImperativeHandle(t,(function(){return{textArea:N.current}}));var I=h.useMemo((function(){return p&&"object"===(0,i.Z)(p)?[p.minRows,p.maxRows]:[]}),[p]),R=(0,s.Z)(I,2),L=R[0],M=R[1],z=!!p,Z=h.useState(2),F=(0,s.Z)(Z,2),V=F[0],B=F[1],U=h.useState(),G=(0,s.Z)(U,2),q=G[0],H=G[1],K=function(){B(0)};(0,v.Z)((function(){z&&K()}),[d,L,M,z]),(0,v.Z)((function(){if(0===V)B(1);else if(1===V){var e=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=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 o=S(e,t),a=o.paddingSize,s=o.borderSize,c=o.boxSizing,l=o.sizingStyle;r.setAttribute("style","".concat(l,";").concat(k)),r.value=e.value||e.placeholder||"";var u,d=void 0,p=void 0,_=r.scrollHeight;if("border-box"===c?_+=s:"content-box"===c&&(_-=a),null!==n||null!==i){r.value=" ";var f=r.scrollHeight-a;null!==n&&(d=f*n,"border-box"===c&&(d=d+a+s),_=Math.max(d,_)),null!==i&&(p=f*i,"border-box"===c&&(p=p+a+s),u=_>p?"":"hidden",_=Math.min(p,_))}var h={height:_,overflowY:u,resize:"none"};return d&&(h.minHeight=d),p&&(h.maxHeight=p),h}(N.current,!1,L,M);B(2),H(e)}else!function(){try{if(document.activeElement===N.current){var e=N.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;N.current.setSelectionRange(t,n),N.current.scrollTop=r}}catch(i){}}()}),[V]);var W=h.useRef(),$=function(){w.Z.cancel(W.current)};h.useEffect((function(){return $}),[]);var Y=z?q:null,X=(0,m.Z)((0,m.Z)({},x),Y);return 0!==V&&1!==V||(X.overflowY="hidden",X.overflowX="hidden"),h.createElement(g.Z,{onResize:function(e){2===V&&(null===_||void 0===_||_(e),p&&($(),W.current=(0,w.Z)((function(){K()}))))},disabled:!(p||_)},h.createElement("textarea",(0,a.Z)({},C,{ref:N,style:X,className:u()(c,f,(0,o.Z)({},"".concat(c,"-disabled"),E)),disabled:E,value:A,onChange:function(e){D(e.target.value),null===O||void 0===O||O(e)}})))})),C=O,T=function(e){(0,_.Z)(n,e);var t=(0,f.Z)(n);function n(e){var r;(0,d.Z)(this,n),(r=t.call(this,e)).resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,i=t.onKeyDown;13===e.keyCode&&n&&n(e),i&&i(e)};var i="undefined"===typeof e.value||null===e.value?e.defaultValue:e.value;return r.state={value:i},r}return(0,p.Z)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return h.createElement(C,(0,a.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(h.Component),j=n(42445),A=n(26775),D=n(11887),N=n(31552),I=n(84006),R=n(69531),L=n(59127),M=n(93795),z=(0,n(24525).b)("text","input");var Z=function(e){(0,_.Z)(n,e);var t=(0,f.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,p.Z)(n,[{key:"renderClearIcon",value:function(e){var t,n=this.props,r=n.value,i=n.disabled,a=n.readOnly,s=n.handleReset,c=n.suffix,l=!i&&!a&&r,d="".concat(e,"-clear-icon");return h.createElement(L.Z,{onClick:s,onMouseDown:function(e){return e.preventDefault()},className:u()((t={},(0,o.Z)(t,"".concat(d,"-hidden"),!l),(0,o.Z)(t,"".concat(d,"-has-suffix"),!!c),t),d),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,n){var r,i=this.props,a=i.value,s=i.allowClear,c=i.className,l=i.style,d=i.direction,p=i.bordered,_=i.hidden,f=i.status,m=n.status,b=n.hasFeedback;if(!s)return(0,M.Tm)(t,{value:a});var g,v=u()("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,R.Z)("".concat(e,"-affix-wrapper"),(0,R.F)(m,f),b),(r={},(0,o.Z)(r,"".concat(e,"-affix-wrapper-rtl"),"rtl"===d),(0,o.Z)(r,"".concat(e,"-affix-wrapper-borderless"),!p),(0,o.Z)(r,"".concat(c),!((g=this.props).addonBefore||g.addonAfter)&&c),r));return h.createElement("span",{className:v,style:l,hidden:_},(0,M.Tm)(t,{style:null,value:a}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;
1return h.createElement(I.aM.Consumer,null,(function(t){var n=e.props,r=n.prefixCls,i=n.inputType,o=n.element;if(i===z[0])return e.renderTextAreaWithClearIcon(r,o,t)}))}}]),n}(h.Component),F=Z,V=n(64047),B=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function U(e,t){return(0,c.Z)(e||"").slice(0,t).join("")}function G(e,t,n,r){var i=n;return e?i=U(n,r):(0,c.Z)(t||"").length<n.length&&(0,c.Z)(n||"").length>r&&(i=t),i}var q=h.forwardRef((function(e,t){var n,r=e.prefixCls,l=e.bordered,d=void 0===l||l,p=e.showCount,_=void 0!==p&&p,f=e.maxLength,m=e.className,b=e.style,g=e.size,v=e.disabled,w=e.onCompositionStart,k=e.onCompositionEnd,x=e.onChange,E=e.status,S=B(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),P=h.useContext(A.E_),O=P.getPrefixCls,C=P.direction,L=h.useContext(N.Z),M=h.useContext(D.Z),z=null!==v&&void 0!==v?v:M,Z=h.useContext(I.aM),q=Z.status,H=Z.hasFeedback,K=Z.isFormItemInput,W=Z.feedbackIcon,$=(0,R.F)(q,E),Y=h.useRef(null),X=h.useRef(null),J=h.useState(!1),Q=(0,s.Z)(J,2),ee=Q[0],te=Q[1],ne=h.useRef(),re=h.useRef(0),ie=(0,y.Z)(S.defaultValue,{value:S.value}),oe=(0,s.Z)(ie,2),ae=oe[0],se=oe[1],ce=S.hidden,le=function(e,t){void 0===S.value&&(se(e),null===t||void 0===t||t())},ue=Number(f)>0,de=O("input",r);h.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=Y.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,V.nH)(null===(n=null===(t=Y.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=Y.current)||void 0===e?void 0:e.blur()}}}));var pe=h.createElement(T,(0,a.Z)({},(0,j.Z)(S,["allowClear"]),{disabled:z,className:u()((n={},(0,o.Z)(n,"".concat(de,"-borderless"),!d),(0,o.Z)(n,m,m&&!_),(0,o.Z)(n,"".concat(de,"-sm"),"small"===L||"small"===g),(0,o.Z)(n,"".concat(de,"-lg"),"large"===L||"large"===g),n),(0,R.Z)(de,$)),style:_?{resize:null===b||void 0===b?void 0:b.resize}:b,prefixCls:de,onCompositionStart:function(e){te(!0),ne.current=ae,re.current=e.currentTarget.selectionStart,null===w||void 0===w||w(e)},onChange:function(e){var t=e.target.value;!ee&&ue&&(t=G(e.target.selectionStart>=f+1||e.target.selectionStart===t.length||!e.target.selectionStart,ae,t,f));le(t),(0,V.rJ)(e.currentTarget,e,x,t)},onCompositionEnd:function(e){var t;te(!1);var n=e.currentTarget.value;ue&&(n=G(re.current>=f+1||re.current===(null===(t=ne.current)||void 0===t?void 0:t.length),ne.current,n,f));n!==ae&&(le(n),(0,V.rJ)(e.currentTarget,e,x,n)),null===k||void 0===k||k(e)},ref:Y})),_e=(0,V.D7)(ae);ee||!ue||null!==S.value&&void 0!==S.value||(_e=U(_e,f));var fe=h.createElement(F,(0,a.Z)({disabled:z},S,{prefixCls:de,direction:C,inputType:"text",value:_e,element:pe,handleReset:function(e){var t,n,r;le(""),null===(t=Y.current)||void 0===t||t.focus(),(0,V.rJ)(null===(r=null===(n=Y.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,x)},ref:X,bordered:d,status:E,style:_?void 0:b}));if(_||H){var he,me=(0,c.Z)(_e).length,be="";return be="object"===(0,i.Z)(_)?_.formatter({value:_e,count:me,maxLength:f}):"".concat(me).concat(ue?" / ".concat(f):""),h.createElement("div",{hidden:ce,className:u()("".concat(de,"-textarea"),(he={},(0,o.Z)(he,"".concat(de,"-textarea-rtl"),"rtl"===C),(0,o.Z)(he,"".concat(de,"-textarea-show-count"),_),(0,o.Z)(he,"".concat(de,"-textarea-in-form-item"),K),he),(0,R.Z)("".concat(de,"-textarea"),$,H),m),style:b,"data-count":be},fe,H&&h.createElement("span",{className:"".concat(de,"-textarea-suffix")},W))}return fe}))},78931:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(27378);function i(e,t){var n=(0,r.useRef)([]),i=function(){n.current.push(setTimeout((function(){var t,n,r,i;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(i=e.current)||void 0===i||i.input.removeAttribute("value"))})))};return(0,r.useEffect)((function(){return t&&i(),function(){return n.current.forEach((function(e){e&&clearTimeout(e)}))}}),[]),i}},71216:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(25773),i=n(64649),o=n(60042),a=n.n(o),s=n(27378),c=n(26775),l=n(84006),u=function(e){var t,n=(0,s.useContext)(c.E_),o=n.getPrefixCls,u=n.direction,d=e.prefixCls,p=e.className,_=void 0===p?"":p,f=o("input-group",d),h=a()(f,(t={},(0,i.Z)(t,"".concat(f,"-lg"),"large"===e.size),(0,i.Z)(t,"".concat(f,"-sm"),"small"===e.size),(0,i.Z)(t,"".concat(f,"-compact"),e.compact),(0,i.Z)(t,"".concat(f,"-rtl"),"rtl"===u),t),_),m=(0,s.useContext)(l.aM),b=(0,s.useMemo)((function(){return(0,r.Z)((0,r.Z)({},m),{isFormItemInput:!1})}),[m]);return s.createElement("span",{className:h,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onF
1ocus:e.onFocus,onBlur:e.onBlur},s.createElement(l.aM.Provider,{value:b},e.children))},d=n(64047),p=n(8136),_=n(33940),f=n(50189),h={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"},m=n(72644),b=function(e,t){return s.createElement(m.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:t,icon:h}))};b.displayName="EyeInvisibleOutlined";var g=s.forwardRef(b),v=n(31463),w=n(42445),y=n(79986),k=n(78931),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},E=function(e){return e?s.createElement(v.Z,null):s.createElement(g,null)},S={click:"onClick",hover:"onMouseOver"};var P=s.forwardRef((function(e,t){var n=e.visibilityToggle,o=void 0===n||n,l="object"===(0,_.Z)(o)&&void 0!==o.visible,u=(0,s.useState)((function(){return!!l&&o.visible})),f=(0,p.Z)(u,2),h=f[0],m=f[1],b=(0,s.useRef)(null);s.useEffect((function(){l&&m(o.visible)}),[l,o]);var g=(0,k.Z)(b),v=function(){e.disabled||(h&&g(),m((function(e){var t,n=!e;return"object"===(0,_.Z)(o)&&(null===(t=o.onVisibleChange)||void 0===t||t.call(o,n)),n})))},P=function(n){var c=n.getPrefixCls,l=e.className,u=e.prefixCls,p=e.inputPrefixCls,_=e.size,f=x(e,["className","prefixCls","inputPrefixCls","size"]),m=c("input",p),g=c("input-password",u),k=o&&function(t){var n,r=e.action,o=void 0===r?"click":r,a=e.iconRender,c=S[o]||"",l=(void 0===a?E:a)(h),u=(n={},(0,i.Z)(n,c,v),(0,i.Z)(n,"className","".concat(t,"-icon")),(0,i.Z)(n,"key","passwordIcon"),(0,i.Z)(n,"onMouseDown",(function(e){e.preventDefault()})),(0,i.Z)(n,"onMouseUp",(function(e){e.preventDefault()})),n);return s.cloneElement(s.isValidElement(l)?l:s.createElement("span",null,l),u)}(g),P=a()(g,l,(0,i.Z)({},"".concat(g,"-").concat(_),!!_)),O=(0,r.Z)((0,r.Z)({},(0,w.Z)(f,["suffix","iconRender","visibilityToggle"])),{type:h?"text":"password",className:P,prefixCls:m,suffix:k});return _&&(O.size=_),s.createElement(d.ZP,(0,r.Z)({ref:(0,y.sQ)(t,b)},O))};return s.createElement(c.C,null,P)})),O=n(8785),C=n(56591),T=n(31552),j=n(31630),A=n(93795),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};var N=s.forwardRef((function(e,t){var n,o,l=e.prefixCls,u=e.inputPrefixCls,p=e.className,_=e.size,f=e.suffix,h=e.enterButton,m=void 0!==h&&h,b=e.addonAfter,g=e.loading,v=e.disabled,w=e.onSearch,k=e.onChange,x=e.onCompositionStart,E=e.onCompositionEnd,S=D(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),P=s.useContext(c.E_),N=P.getPrefixCls,I=P.direction,R=s.useContext(T.Z),L=s.useRef(!1),M=N("input-search",l),z=N("input",u),Z=(0,j.ri)(M,I).compactSize||_||R,F=s.useRef(null),V=function(e){var t;document.activeElement===(null===(t=F.current)||void 0===t?void 0:t.input)&&e.preventDefault()},B=function(e){var t,n;w&&w(null===(n=null===(t=F.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},U="boolean"===typeof m?s.createElement(O.Z,null):null,G="".concat(M,"-button"),q=m||{},H=q.type&&!0===q.type.__ANT_BUTTON;o=H||"button"===q.type?(0,A.Tm)(q,(0,r.Z)({onMouseDown:V,onClick:function(e){var t,n;null===(n=null===(t=null===q||void 0===q?void 0:q.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),B(e)},key:"enterButton"},H?{className:G,size:Z}:{})):s.createElement(C.Z,{className:G,type:m?"primary":void 0,size:Z,disabled:v,key:"enterButton",onMouseDown:V,onClick:B,loading:g,icon:U},m),b&&(o=[o,(0,A.Tm)(b,{key:"addonAfter"})]);var K=a()(M,(n={},(0,i.Z)(n,"".concat(M,"-rtl"),"rtl"===I),(0,i.Z)(n,"".concat(M,"-").concat(Z),!!Z),(0,i.Z)(n,"".concat(M,"-with-button"),!!m),n),p);return s.createElement(d.ZP,(0,r.Z)({ref:(0,y.sQ)(F,t),onPressEnter:function(e){L.current||g||B(e)}},S,{size:Z,onCompositionStart:function(e){L.current=!0,null===x||void 0===x||x(e)},onCompositionEnd:function(e){L.current=!1,null===E||void 0===E||E(e)},prefixCls:z,addonAfter:o,suffix:f,onChange:function(e){e&&e.target&&"click"===e.type&&w&&w(e.target.value,e),k&&k(e)},className:K,disabled:v}))})),I=n(38197),R=d.ZP;R.Group=u,R.Search=N,R.TextArea=I.Z,R.Password=P;var L=R}
1,73682:function(e,t,n){"use strict";n.d(t,{Z:function(){return s},E:function(){return c}});var r=n(25773),i=n(27378),o=n(80276),a=n(91511).Z,s=function(e){var t=e.componentName,n=void 0===t?"global":t,s=e.defaultLocale,c=e.children,l=i.useContext(o.Z);return c(i.useMemo((function(){var e,t=s||a[n],i=null!==(e=null===l||void 0===l?void 0:l[n])&&void 0!==e?e:{};return(0,r.Z)((0,r.Z)({},t instanceof Function?t():t),i||{})}),[n,s,l]),i.useMemo((function(){var e=l&&l.locale;return l&&l.exist&&!e?a.locale:e}),[l]),l)},c=function(e,t){var n=i.useContext(o.Z);return[i.useMemo((function(){var i,o=t||a[e],s=null!==(i=null===n||void 0===n?void 0:n[e])&&void 0!==i?i:{};return(0,r.Z)((0,r.Z)({},"function"===typeof o?o():o),s||{})}),[e,t,n])]}},80276:function(e,t,n){"use strict";var r=(0,n(27378).createContext)(void 0);t.Z=r},91511:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(84433),i=n(25773),o={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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},s={lang:(0,i.Z)({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),timePickerLocale:(0,i.Z)({},a)},c=s,l="${label} is not a valid ${type}",u={locale:"en",Pagination:r.Z,DatePicker:s,TimePicker:a,Calendar:c,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"},PageHeader:{back:"Back"},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:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},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"}}},15060:function(e,t,n){"use strict";n.d(t,{Df:function(){return I},ZP:function(){return R},S$:function(){return C},z$:function(){return A}});var r,i=n(25773),o=n(64649),a=n(25590),s=n(59127),c=n(60597),l=n(85920),u=n(38280),d=n(60042),p=n.n(d),_=n(72587),f=n(27378),h=n(57372),m=n(8136),b=n(15865),g=n(26775);var v,w,y,k=3,x=1,E="",S="move-up",P=!1,O=!1;function C(){return x++}function T(e,t){var n=e.prefixCls,i=e.getPopupContainer,o=(0,h.w6)(),a=o.getPrefixCls,s=o.getRootPrefixCls,c=o.getIconPrefixCls,l=a("message",n||E),u=s(e.rootPrefixCls,l),d=c();if(r)t({prefixCls:l,rootPrefixCls:u,iconPrefixCls:d,instance:r});else{var p={prefixCls:l,transitionName:P?S:"".concat(u,"-").concat(S),style:{to
1p:v},getContainer:w||i,maxCount:y};_.Z.newInstance(p,(function(e){r?t({prefixCls:l,rootPrefixCls:u,iconPrefixCls:d,instance:r}):(r=e,t({prefixCls:l,rootPrefixCls:u,iconPrefixCls:d,instance:e}))}))}}var j={info:l.Z,success:a.Z,error:s.Z,warning:c.Z,loading:u.Z},A=Object.keys(j);function D(e,t,n){var r,i=void 0!==e.duration?e.duration:k,a=j[e.type],s=p()("".concat(t,"-custom-content"),(r={},(0,o.Z)(r,"".concat(t,"-").concat(e.type),e.type),(0,o.Z)(r,"".concat(t,"-rtl"),!0===O),r));return{key:e.key,duration:i,style:e.style||{},className:e.className,content:f.createElement(h.ZP,{iconPrefixCls:n},f.createElement("div",{className:s},e.icon||a&&f.createElement(a,null),f.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var N={open:function(e){var t=e.key||C(),n=new Promise((function(n){var r=function(){return"function"===typeof e.onClose&&e.onClose(),n(!0)};T(e,(function(n){var o=n.prefixCls,a=n.iconPrefixCls;n.instance.notice(D((0,i.Z)((0,i.Z)({},e),{key:t,onClose:r}),o,a))}))})),o=function(){var n;r&&(r.removeNotice(t),null===(n=e.onClose)||void 0===n||n.call(e))};return o.then=function(e,t){return n.then(e,t)},o.promise=n,o},config:function(e){void 0!==e.top&&(v=e.top,r=null),void 0!==e.duration&&(k=e.duration),void 0!==e.prefixCls&&(E=e.prefixCls),void 0!==e.getContainer&&(w=e.getContainer,r=null),void 0!==e.transitionName&&(S=e.transitionName,r=null,P=!0),void 0!==e.maxCount&&(y=e.maxCount,r=null),void 0!==e.rtl&&(O=e.rtl)},destroy:function(e){if(r)if(e){(0,r.removeNotice)(e)}else{var t=r.destroy;t(),r=null}}};function I(e,t){e[t]=function(n,r,o){return function(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}(n)?e.open((0,i.Z)((0,i.Z)({},n),{type:t})):("function"===typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}A.forEach((function(e){return I(N,e)})),N.warn=N.warning,N.useMessage=function(e,t){return function(){var n,r,o=null,a={add:function(e,t){null===o||void 0===o||o.component.add(e,t)}},s=(0,b.Z)(a),c=(0,m.Z)(s,2),l=c[0],u=c[1];var d=f.useRef({});return d.current.open=function(a){var s=a.prefixCls,c=n("message",s),u=n(),d=a.key||C(),p=new Promise((function(n){var s=function(){return"function"===typeof a.onClose&&a.onClose(),n(!0)};e((0,i.Z)((0,i.Z)({},a),{prefixCls:c,rootPrefixCls:u,getPopupContainer:r}),(function(e){var n=e.prefixCls,r=e.instance;o=r,l(t((0,i.Z)((0,i.Z)({},a),{key:d,onClose:s}),n))}))})),_=function(){o&&o.removeNotice(d)};return _.then=function(e,t){return p.then(e,t)},_.promise=p,_},A.forEach((function(e){return I(d.current,e)})),[d.current,f.createElement(g.C,{key:"holder"},(function(e){return n=e.getPrefixCls,r=e.getPopupContainer,u}))]}}(T,D);var R=N},56850:function(e,t,n){"use strict";n.d(t,{Z:function(){return me}});var r=n(13285),i=n(25773),o=n(99314),a=n(18546),s=n(23697),c=n(89786),l=n(5245),u=n(27378),d=n.t(u,2),p=n(57372),_=n(64649),f=n(60042),h=n.n(f),m=n(8136),b=n(87643),g=n(56591),v=n(83110);function w(e){return!(!e||!e.then)}var y=function(e){var t=u.useRef(!1),n=u.useRef(null),r=(0,b.Z)(!1),o=(0,m.Z)(r,2),a=o[0],s=o[1],c=e.close,l=function(){null===c||void 0===c||c.apply(void 0,arguments)};u.useEffect((function(){var t=null;return e.autoFocus&&(t=setTimeout((function(){var e;null===(e=n.current)||void 0===e||e.focus()}))),function(){t&&clearTimeout(t)}}),[]);var d=e.type,p=e.children,_=e.prefixCls,f=e.buttonProps;return u.createElement(g.Z,(0,i.Z)({},(0,v.n)(d),{onClick:function(n){var r=e.actionFn;if(!t.current)if(t.current=!0,r){var i;if(e.emitEvent){if(i=r(n),e.quitOnNullishReturnValue&&!w(i))return t.current=!1,void l(n)}else if(r.length)i=r(c),t.current=!1;else if(!(i=r()))return void l();!function(e){w(e)&&(s(!0),e.then((function(){s(!1,!0),l.apply(void 0,arguments),t.current=!1}),(function(e){console.error(e),s(!1,!0),t.current=!1})))}(i)}else l()},loading:a,prefixCls:_},f,{ref:n}),p)},k=n(80821),x=n(58693),E=n(72377),S=n(50189),P=n(78730);var O=0;var C=(0,S.Z)({},d).useId,T=C?function(e){var t=C();return e||t}:function(e){var t=u.useState("ssr-id"),n=(0,m.Z)(t,2),r=n[0],i=n[1];return u.useEffect((function(){var e=O;O+=1,i("rc_unique_".concat(e))}),[]),e||r},j=n(98209),A=n(91864),D=n(6958);function N(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,a=e.motionName;return u.createElement(D.ZP,{key:"mask",visible:r,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,r){var a=e.className,s=e.style;return u.createElement("div",(0,i.Z)({ref:r,style:(0,S.Z)((0,S.Z)({},s),n),className:h()("".concat(t,"-mask"),a)},o))}))}function I(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function R(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var i=e.document;"number"!==typeof(n=i.documentElement[r])&&(n=i.body[r])}return n}var L=u.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate})),M={width:0,height:0,overflow:"hidden",outline:"none"};var z=u.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.title,s=e.ariaId,c=e.footer,l=e.closable,d=e.closeIcon,p=e.onClose,_=e.children,f=e.bodyStyle,m=e.bodyProps,b=e.modalRender,g=e.onMouseDown,v=e.onMouseUp,w=e.holderRef,y=e.visible,k=e.forceRender,x=e.width,E=e.he
1ight,P=(0,u.useRef)(),O=(0,u.useRef)();u.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=P.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===O.current?P.current.focus():e||t!==P.current||O.current.focus()}}}));var C,T,j,A={};void 0!==x&&(A.width=x),void 0!==E&&(A.height=E),c&&(C=u.createElement("div",{className:"".concat(n,"-footer")},c)),a&&(T=u.createElement("div",{className:"".concat(n,"-header")},u.createElement("div",{className:"".concat(n,"-title"),id:s},a))),l&&(j=u.createElement("button",{type:"button",onClick:p,"aria-label":"Close",className:"".concat(n,"-close")},d||u.createElement("span",{className:"".concat(n,"-close-x")})));var D=u.createElement("div",{className:"".concat(n,"-content")},j,T,u.createElement("div",(0,i.Z)({className:"".concat(n,"-body"),style:f},m),_),C);return u.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?s:null,"aria-modal":"true",ref:w,style:(0,S.Z)((0,S.Z)({},o),A),className:h()(n,r),onMouseDown:g,onMouseUp:v},u.createElement("div",{tabIndex:0,ref:P,style:M,"aria-hidden":"true"}),u.createElement(L,{shouldUpdate:y||k},b?b(D):D),u.createElement("div",{tabIndex:0,ref:O,style:M,"aria-hidden":"true"}))})),Z=u.forwardRef((function(e,t){var n=e.prefixCls,r=e.title,o=e.style,a=e.className,s=e.visible,c=e.forceRender,l=e.destroyOnClose,d=e.motionName,p=e.ariaId,_=e.onVisibleChanged,f=e.mousePosition,b=(0,u.useRef)(),g=u.useState(),v=(0,m.Z)(g,2),w=v[0],y=v[1],k={};function x(){var e=function(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=R(i),n.top+=R(i,!0),n}(b.current);y(f?"".concat(f.x-e.left,"px ").concat(f.y-e.top,"px"):"")}return w&&(k.transformOrigin=w),u.createElement(D.ZP,{visible:s,onVisibleChanged:_,onAppearPrepare:x,onEnterPrepare:x,forceRender:c,motionName:d,removeOnLeave:l,ref:b},(function(s,c){var l=s.className,d=s.style;return u.createElement(z,(0,i.Z)({},e,{ref:t,title:r,ariaId:p,prefixCls:n,holderRef:c,style:(0,S.Z)((0,S.Z)((0,S.Z)({},d),o),k),className:h()(a,l)}))}))}));Z.displayName="Content";var F=Z;function V(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,o=e.visible,a=void 0!==o&&o,s=e.keyboard,c=void 0===s||s,l=e.focusTriggerAfterClose,d=void 0===l||l,p=e.wrapStyle,_=e.wrapClassName,f=e.wrapProps,b=e.onClose,g=e.afterClose,v=e.transitionName,w=e.animation,y=e.closable,k=void 0===y||y,x=e.mask,E=void 0===x||x,O=e.maskTransitionName,C=e.maskAnimation,D=e.maskClosable,R=void 0===D||D,L=e.maskStyle,M=e.maskProps,z=e.rootClassName,Z=(0,u.useRef)(),V=(0,u.useRef)(),B=(0,u.useRef)(),U=u.useState(a),G=(0,m.Z)(U,2),q=G[0],H=G[1],K=T();function W(e){null===b||void 0===b||b(e)}var $=(0,u.useRef)(!1),Y=(0,u.useRef)(),X=null;return R&&(X=function(e){$.current?$.current=!1:V.current===e.target&&W(e)}),(0,u.useEffect)((function(){a&&(H(!0),(0,j.Z)(V.current,document.activeElement)||(Z.current=document.activeElement))}),[a]),(0,u.useEffect)((function(){return function(){clearTimeout(Y.current)}}),[]),u.createElement("div",(0,i.Z)({className:h()("".concat(n,"-root"),z)},(0,A.Z)(e,{data:!0})),u.createElement(N,{prefixCls:n,visible:E&&a,motionName:I(n,O,C),style:(0,S.Z)({zIndex:r},L),maskProps:M}),u.createElement("div",(0,i.Z)({tabIndex:-1,onKeyDown:function(e){if(c&&e.keyCode===P.Z.ESC)return e.stopPropagation(),void W(e);a&&e.keyCode===P.Z.TAB&&B.current.changeActive(!e.shiftKey)},className:h()("".concat(n,"-wrap"),_),ref:V,onClick:X,style:(0,S.Z)((0,S.Z)({zIndex:r},p),{},{display:q?null:"none"})},f),u.createElement(F,(0,i.Z)({},e,{onMouseDown:function(){clearTimeout(Y.current),$.current=!0},onMouseUp:function(){Y.current=setTimeout((function(){$.current=!1}))},ref:B,closable:k,ariaId:K,prefixCls:n,visible:a&&q,onClose:W,onVisibleChanged:function(e){if(e)!function(){var e;(0,j.Z)(V.current,document.activeElement)||null===(e=B.current)||void 0===e||e.focus()}();else{if(H(!1),E&&Z.current&&d){try{Z.current.focus({preventScroll:!0})}catch(t){}Z.current=null}q&&(null===g||void 0===g||g())}},motionName:I(n,v,w)}))))}var B=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,a=void 0!==o&&o,s=e.afterClose,c=u.useState(t),l=(0,m.Z)(c,2),d=l[0],p=l[1];return u.useEffect((function(){t&&p(!0)}),[t]),r||!a||d?u.createElement(E.Z,{open:t||r||d,autoDestroy:!1,getContainer:n,autoLock:t||d},u.createElement(V,(0,i.Z)({},e,{destroyOnClose:a,afterClose:function(){null===s||void 0===s||s(),p(!1)}}))):null};B.displayName="Dialog";var U,G=B,q=n(26775),H=n(84006),K=n(73682),W=n(31630),$=n(85905),Y=n(45664),X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};(0,$.jD)()&&document.documentElement.addEventListener("click",(function(e){U={x:e.pageX,y:e.pageY},setTimeout((function(){U=null}),100)}),!0);var J=function(e){var t,n,r=u.useContext(q.E_),o=r.getPopupContainer,a=r.getPrefixCls,s=r.direction,c=function(t){var n=e.onCancel;null===n||void 0===n||n(t)},l=function(t){var n=e.onOk;null===n||void 0===n||n(t)},d=e.prefixCls,p=e.footer,f=e.visible,m=e.open,b=void 0!==m&&m,w=e.wrapClassName,y=e.centered,E=e.getContainer,S=e.closeIcon,P=e.focusTriggerAfterClose,O=void 0===P||P,C=e.width,T=void 0===C?520:C,j=X(e,["prefixCls","footer","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose","width"]),A=a("modal",d),D=a(),N=u.createElement(K.Z,{componentName:"Modal",defaultLocale:(0,Y.A)()},(function(t){var n=e.okText,r=e.okType,o=void 0===r?"primary":r,a=e.cancelText,s=e.confirmLoading,d=void 0!==s&&s;return u.createElement(u.Fragment,null,u.createElement(g.Z,(0,i.Z)({onClick:c},e.cancelButtonProps),a||t.cancelText),u.createElement(g.Z,(0,i.Z)({},(0,v.n)(o),{loading:d,onClick:l},e.okButtonProps),null!==n&&void 0!==n?n:t.okText))})),I=u.createElement("span",{className:"".concat(A,"-close-x")},S||u.createElement(x.Z,{className:"".concat(A,"-close-icon")})),R=h()(w,(t={},(0,_.Z)(t,"".concat(A,"-centered"),!!y),(0,_.Z)(t,"".concat(A,"-wrap-rtl"),"rtl"===s),t));return u.createElement(W.BR,null,u.createElement(H.Ux,{status:!0,override:!0},u.createElement(G,(0,i.Z)({width:T},j,{getContainer:void 0===E?o:E,prefixCls:A,wrapClassName:R,footer:void 0===p?N:p,visible:b||f,mousePosition:null!==(n=j.mousePosition)&&void 0!==n?n:U,onClose:c,closeIcon:I,focusTriggerAfterClose:O,transitionName:(0,k.mL)(D,"zoom",e.transitionName),maskTransitionName:(0,k.mL)(D,"fade",e.maskTransitionName)}))))},Q=function(e){var t=e.icon,n=e.onCancel,r=e.onOk,i=e.close,o=e.zIndex,a=e.afterClose,s=e.visible,c=e.open,l=e.keyboard,d=e.centered,f=e.getContainer,m=e.maskStyle,b=e.okText,g=e.okButtonProps,v=e.cancelText,w=e.cancelButtonProps,x=e.direction,E=e.prefixCls,S=e.wrapClassName,P=e.rootPrefixCls,O=e.iconPrefixCls,C=e.bodyStyle,T=e.closable,j=void 0!==T&&T,A=e.closeIcon,D=e.modalRender,N=e.focusTriggerAfterClose;var I=e.okType||"primary",R="".concat(E,"-confirm"),L=!("okCancel"in e)||e.okCancel,M=e.width||416,z=e.style||{},Z=void 0===e.mask||e.mask,F=void 0!==e.maskClosable&&e.maskClosable,V=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),B=h()(R,"".concat(R,"-").concat(e.type),(0,_.Z)({},"".concat(R,"-rtl"),"rtl"===x),e.className),U=L&&u.createElement(y,{actionFn:n,close:i,autoFocus:"cancel"===V,buttonProps:w,prefixCls:"".concat(P,"-btn")},v);return u.createElement(p.ZP,{prefixCls:P,iconPrefixCls:O,direction:x},u.createElement(J,{prefixCls:E,className:B,wrapClassName:h()((0,_.Z)({},"".concat(R,"-centered"),!!e.centered),S),onCancel:function(){return null===i||void 0===i?void 0:i({triggerCancel:!0})},open:c||s,title:"",footer:"",transitionName:(0,k.mL)(P,"zoom",e.transitionName),maskTransitionName:(0,k.mL)(P,"fade",e.maskTransitionName),mask:Z,maskClosable:F,maskStyle:m,style:z,bodyStyle:C,width:M,zIndex:o,afterClose:a,keyboard:l,centered:d,getContainer:f,closable:j,closeIcon:A,modalRender:D,focusTriggerAfterClose:N},u.createElement("div",{className:"".concat(R,"-body-wrapper")},u.createElement("div",{className:"".concat(R,"-body")},t,void 0===e.title?null:u.createElement("span",{className:"".concat(R,"-title")},e.title),u.createElement("div",{className:"".concat(R,"-content")},e.content)),u.createElement("div",{className:"".concat(R,"-btns")},U,u.createElement(y,{type:I,actionFn:r,close:i,autoFocus:"ok"===V,buttonProps:g,prefixCls:"".concat(P,"-btn")},b)))))},ee=[],te=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},ne="";function re(e){var t,n=document.createDocumentFragment(),o=(0,i.Z)((0,i.Z)({},e),{close:c,open:!0});function a(){for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];var a=i.some((function(e){return e&&e.triggerCancel}));e.onCancel&&a&&e.onCancel.apply(e,[function(){}].concat((0,r.Z)(i.slice(1))));for(var s=0;s<ee.length;s++){var u=ee[s];if(u===c){ee.splice(s,1);break}}(0,l.v)(n)}function s(e){var r=e.okText,o=e.cancelText,a=e.prefixCls,s=te(e,["okText","cancelText","prefixCls"]);clearTimeout(t),t=setTimeout((function(){var e=(0,Y.A)(),t=(0,p.w6)(),c=t.getPrefixCls,d=t.getIconPrefixCls,_=c(void 0,ne),f=a||"".concat(_,"-modal"),h=d();(0,l.s)(u.createElement(Q,(0,i.Z)({},s,{prefixCls:f,rootPrefixCls:_,iconPrefixCls:h,okText:r||(s.okCancel?e.okText:e.justOkText),cancelText:o||e.cancelText})),n)}))}function c(){for(var t=this,n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];(o=(0,i.Z)((0,i.Z)({},o),{open:!1,afterClose:function(){"function"===typeof e.afterClose&&e.afterClose(),a.apply(t,r)}})).visible&&delete o.visible,s(o)}return s(o),ee.push(c),{destroy:c,update:function(e){s(o="function"===typeof e?e(o):(0,i.Z)((0,i.Z)({},o),e))}}}function ie(e){return(0,i.Z)((0,i.Z)({icon:u.createElement(s.Z,null),okCancel:!1},e),{type:"warning"})}function oe(e){return(0,i.Z)((0,i.Z)({icon:u.createElement(c.Z,null),okCancel:!1},e),{type:"info"})}function ae(e){return(0,i.Z)((0,i.Z)({icon:u.createElement(o.Z,null),okCancel:!1},e),{type:"success"})}function se(e){return(0,i.Z)((0,i.Z)({icon:u.createElement(a.Z,null),okCancel:!1},e),{type:"error"})}function ce(e){return(0,i.Z)((0,i.Z)({icon:u.createElement(s.Z,null),okCancel:!0},e),{type:"confirm"})}var le=n(91511),ue=function(e,t){var n=e.afterClose,o=e.config,a=u.useState(!0),s=(0,m.Z)(a,2),c=s[0],l=s[1],d=u.useState(o),p=(0,m.Z)(d,2),_=p[0],f=p[1],h=u.useContext(q.E_),b=h.direction,g=h.getPrefixCls,v=g("modal"),w=g(),y=function(){l(!1);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t.some((function(e){return e&&e.triggerCancel}));_.onCancel&&i&&_.onCancel.apply(_,[function(){}].concat((0,r.Z)(t.slice(1))))};return u.useImperativeHandle(t,(function(){return{destroy:y,update:function(e){f((function(t){return(0,i.Z)((0,i.Z)({},t),e)}))}}})),u.createElement(K.Z,{componentName:"Modal",defaultLocale:le.Z.Mod
1al},(function(e){return u.createElement(Q,(0,i.Z)({prefixCls:v,rootPrefixCls:w},_,{close:y,open:c,afterClose:n,okText:_.okText||(_.okCancel?e.okText:e.justOkText),direction:b,cancelText:_.cancelText||e.cancelText}))}))},de=u.forwardRef(ue),pe=0,_e=u.memo(u.forwardRef((function(e,t){var n=function(){var e=u.useState([]),t=(0,m.Z)(e,2),n=t[0],i=t[1];return[n,u.useCallback((function(e){return i((function(t){return[].concat((0,r.Z)(t),[e])})),function(){i((function(t){return t.filter((function(t){return t!==e}))}))}}),[])]}(),i=(0,m.Z)(n,2),o=i[0],a=i[1];return u.useImperativeHandle(t,(function(){return{patchElement:a}}),[]),u.createElement(u.Fragment,null,o)})));function fe(e){return re(ie(e))}var he=J;he.useModal=function(){var e=u.useRef(null),t=u.useState([]),n=(0,m.Z)(t,2),i=n[0],o=n[1];u.useEffect((function(){i.length&&((0,r.Z)(i).forEach((function(e){e()})),o([]))}),[i]);var a=u.useCallback((function(t){return function(n){var i;pe+=1;var a,s=u.createRef(),c=u.createElement(de,{key:"modal-".concat(pe),config:t(n),ref:s,afterClose:function(){null===a||void 0===a||a()}});return a=null===(i=e.current)||void 0===i?void 0:i.patchElement(c),{destroy:function(){function e(){var e;null===(e=s.current)||void 0===e||e.destroy()}s.current?e():o((function(t){return[].concat((0,r.Z)(t),[e])}))},update:function(e){function t(){var t;null===(t=s.current)||void 0===t||t.update(e)}s.current?t():o((function(e){return[].concat((0,r.Z)(e),[t])}))}}}}),[]);return[u.useMemo((function(){return{info:a(oe),success:a(ae),error:a(se),warning:a(ie),confirm:a(ce)}}),[]),u.createElement(_e,{ref:e})]},he.info=function(e){return re(oe(e))},he.success=function(e){return re(ae(e))},he.error=function(e){return re(se(e))},he.warning=fe,he.warn=fe,he.confirm=function(e){return re(ce(e))},he.destroyAll=function(){for(;ee.length;){var e=ee.pop();e&&e()}},he.config=function(e){var t=e.rootPrefixCls;ne=t};var me=he},45664:function(e,t,n){"use strict";n.d(t,{A:function(){return s},f:function(){return a}});var r=n(25773),i=n(91511),o=(0,r.Z)({},i.Z.Modal);function a(e){o=e?(0,r.Z)((0,r.Z)({},o),e):(0,r.Z)({},i.Z.Modal)}function s(){return o}},71526:function(e,t,n){"use strict";n.d(t,{Z:function(){return G}});var r=n(64649),i=n(25773),o=n(50189),a=n(27378),s={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"},c=n(72644),l=function(e,t){return a.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:s}))};l.displayName="DoubleLeftOutlined";var u=a.forwardRef(l),d={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"},p=function(e,t){return a.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:d}))};p.displayName="DoubleRightOutlined";var _=a.forwardRef(p),f={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"}}
1]},name:"left",theme:"outlined"},h=function(e,t){return a.createElement(c.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:f}))};h.displayName="LeftOutlined";var m=a.forwardRef(h),b=n(13009),g=n(60042),v=n.n(g),w=n(22951),y=n(91976),k=n(28418),x=n(59180),E=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),i=v()(n,"".concat(n,"-").concat(e.page),(t={},(0,r.Z)(t,"".concat(n,"-active"),e.active),(0,r.Z)(t,"".concat(n,"-disabled"),!e.page),(0,r.Z)(t,e.className,!!e.className),t));return a.createElement("li",{title:e.showTitle?e.page:null,className:i,onClick:function(){e.onClick(e.page)},onKeyPress:function(t){e.onKeyPress(t,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",a.createElement("a",{rel:"nofollow"},e.page)))},S=13,P=38,O=40,C=function(e){(0,k.Z)(n,e);var t=(0,x.Z)(n);function n(){var e;(0,w.Z)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).state={goInputText:""},e.buildOptionText=function(t){return"".concat(t," ").concat(e.props.locale.items_per_page)},e.changeSize=function(t){e.props.changeSize(Number(t))},e.handleChange=function(t){e.setState({goInputText:t.target.value})},e.handleBlur=function(t){var n=e.props,r=n.goButton,i=n.quickGo,o=n.rootPrefixCls,a=e.state.goInputText;r||""===a||(e.setState({goInputText:""}),t.relatedTarget&&(t.relatedTarget.className.indexOf("".concat(o,"-item-link"))>=0||t.relatedTarget.className.indexOf("".concat(o,"-item"))>=0)||i(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode!==S&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return(0,y.Z)(n,[{key:"getValidValue",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(t))?0:Number(t))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.locale,i=t.rootPrefixCls,o=t.changeSize,s=t.quickGo,c=t.goButton,l=t.selectComponentClass,u=t.buildOptionText,d=t.selectPrefixCls,p=t.disabled,_=this.state.goInputText,f="".concat(i,"-options"),h=l,m=null,b=null,g=null;if(!o&&!s)return null;var v=this.getPageSizeOptions();if(o&&h){var w=v.map((function(t,n){return a.createElement(h.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))}));m=a.createElement(h,{disabled:p,prefixCls:d,showSearch:!1,className:"".concat(f,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||v[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":r.page_size,defaultOpen:!1},w)}return s&&(c&&(g="boolean"===typeof c?a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:p,className:"".concat(f,"-quick-jumper-button")},r.jump_to_confirm):a.createElement("span",{onClick:this.go,onKeyUp:this.go},c)),b=a.createElement("div",{className:"".concat(f,"-quick-jumper")},r.jump_to,a.createElement("input",{disabled:p,type:"text",value:_,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":r.page}),r.page,g)),a.createElement("li",{className:"".concat(f)},m,b)}}]),n}(a.Component);C.defaultProps={pageSizeOptions:["10","20","50","100"]};var T=C;function j(){}function A(e){var t=Number(e);return"number"===typeof t&&!isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function D(e,t,n){var r="undefined"===typeof e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var N=function(e){(0,k.Z)(n,e);var t=(0,x.Z)(n);function n(e){var r;(0,w.Z)(this,n),(r=t.call(this,e)).getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(D(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e,t){var n=r.props.prefixCls,i=e||a.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"===typeof e&&(i=a.createElement(e,(0,o.Z)({},r.props))),i},r.savePaginationNode=function(e){r.paginationNode=e},r.isValid=function(e){var t=r.props.total;return A(e)&&e!==r.state.current&&A(t)&&t>0},r.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper;return!(e.total<=r.state.pageSize)&&t},r.handleKeyDown=function(e){e.keyCode!==P&&e.keyCode!==O||e.preventDefault()},r.handleKeyUp=function(e){var t=r.getValidValue(e);t!==r.state.currentInputValue&&r.setState({currentInputValue:t}),e.keyCode===S?r.handleChange(t):e.keyCode===P?r.handleChange(t-1):e.keyCode===O&&r.handleChange(t+1)},r.handleBlur=function(e){var t=r.getValidValue(e);r.handleChange(t)}
1,r.changePageSize=function(e){var t=r.state.current,n=D(e,r.state,r.props);t=t>n?n:t,0===n&&(t=r.state.current),"number"===typeof e&&("pageSize"in r.props||r.setState({pageSize:e}),"current"in r.props||r.setState({current:t,currentInputValue:t})),r.props.onShowSizeChange(t,e),"onChange"in r.props&&r.props.onChange&&r.props.onChange(t,e)},r.handleChange=function(e){var t=r.props,n=t.disabled,i=t.onChange,o=r.state,a=o.pageSize,s=o.current,c=o.currentInputValue;if(r.isValid(e)&&!n){var l=D(void 0,r.state,r.props),u=e;return e>l?u=l:e<1&&(u=1),"current"in r.props||r.setState({current:u}),u!==c&&r.setState({currentInputValue:u}),i(u,a),u}return s},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current<D(void 0,r.state,r.props)},r.runIfEnter=function(e,t){if("Enter"===e.key||13===e.charCode){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];t.apply(void 0,r)}},r.runIfEnterPrev=function(e){r.runIfEnter(e,r.prev)},r.runIfEnterNext=function(e){r.runIfEnter(e,r.next)},r.runIfEnterJumpPrev=function(e){r.runIfEnter(e,r.jumpPrev)},r.runIfEnterJumpNext=function(e){r.runIfEnter(e,r.jumpNext)},r.handleGoTO=function(e){e.keyCode!==S&&"click"!==e.type||r.handleChange(r.state.currentInputValue)};var i=e.onChange!==j;"current"in e&&!i&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var s=e.defaultCurrent;"current"in e&&(s=e.current);var c=e.defaultPageSize;return"pageSize"in e&&(c=e.pageSize),s=Math.min(s,D(c,void 0,e)),r.state={current:s,currentInputValue:s,pageSize:c},r}return(0,y.Z)(n,[{key:"componentDidUpdate",value:function(e,t){var n=this.props.prefixCls;if(t.current!==this.state.current&&this.paginationNode){var r=this.paginationNode.querySelector(".".concat(n,"-item-").concat(t.current));r&&document.activeElement===r&&r.blur()}}},{key:"getValidValue",value:function(e){var t=e.target.value,n=D(void 0,this.state,this.props),r=this.state.currentInputValue;return""===t?t:isNaN(Number(t))?r:t>=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return"undefined"!==typeof t?t:n>r}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,r=(0,t.itemRender)(e,"prev",this.getItemIcon(n,"prev page")),i=!this.hasPrev();return(0,a.isValidElement)(r)?(0,a.cloneElement)(r,{disabled:i}):r}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,r=(0,t.itemRender)(e,"next",this.getItemIcon(n,"next page")),i=!this.hasNext();return(0,a.isValidElement)(r)?(0,a.cloneElement)(r,{disabled:i}):r}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,o=t.className,s=t.style,c=t.disabled,l=t.hideOnSinglePage,u=t.total,d=t.locale,p=t.showQuickJumper,_=t.showLessItems,f=t.showTitle,h=t.showTotal,m=t.simple,b=t.itemRender,g=t.showPrevNextJumpers,w=t.jumpPrevIcon,y=t.jumpNextIcon,k=t.selectComponentClass,x=t.selectPrefixCls,S=t.pageSizeOptions,P=this.state,O=P.current,C=P.pageSize,j=P.currentInputValue;if(!0===l&&u<=C)return null;var A=D(void 0,this.state,this.props),N=[],I=null,R=null,L=null,M=null,z=null,Z=p&&p.goButton,F=_?1:2,V=O-1>0?O-1:0,B=O+1<A?O+1:A,U=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{}),G=h&&a.createElement("li",{className:"".concat(n,"-total-text")},h(u,[0===u?0:(O-1)*C+1,O*C>u?u:O*C]));if(m)return Z&&(z="boolean"===typeof Z?a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},d.jump_to_confirm):a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Z),z=a.createElement("li",{title:f?"".concat(d.jump_to).concat(O,"/").concat(A):null,className:"".concat(n,"-simple-pager")},z)),a.createElement("ul",(0,i.Z)({className:v()(n,"".concat(n,"-simple"),(0,r.Z)({},"".concat(n,"-disabled"),c),o),style:s,ref:this.savePaginationNode},U),G,a.createElement("li",{title:f?d.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:v()("".concat(n,"-prev"),(0,r.Z)({},"".concat(n,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(V)),a.createElement("li",{title:f?"".concat(O,"/").concat(A):null,className:"".concat(n,"-simple-pager")},a.createElement("input",{type:"text",value:j,disabled:c,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:"3"}),a.createElement("span",{className:"".concat(n,"-slash")},"/"),A),a.createElement("li",{title:f?d.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:v()("".concat(n,"-next"),(0,r.Z)({},"".concat(n,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(B)),z);if(A<=3+2*F){var q={locale:d,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:f,itemRender:b};A||N.push(a.createElement(E,(0,i.Z)({},q,{key:"noPager",page:1,className:"".concat(n,"-item-disabled")})));for(var H=1;H<=A;H+=1){var K=O===H;N.push(a.createElement(E,(0,i.Z)({},q,{key:H,page:H,active:K})))}}else{var W=_?d.prev_3:d.prev_5,$=_?d.next_3:d.next_5;g&&(I=a.createElement("li",{title:f?W:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:v()("".concat(n,"-jump-prev"),(0,r.Z)({},"".concat(n,"-jump-prev-custom-icon"),!!w))},b(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(w,"prev page"))),R=a.createElement("li",{title:f?$:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:v()("".concat(n,"-jump-next"),(0,r.Z)({},"".concat(n,"-jump-next-custom-icon"),!!y))},b(this.getJumpNextPage(),"jump-next",this.getItemIcon(y,"next page")))),M=a.createElement(E,{locale:d,last:!0,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:A,page:A,active:!1,showTitle:f,itemRender:b}),L=a.createElement(E,{locale:d,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:f,itemRender:b});var Y=Math.max(1,O-F),X=Math.min(O+F,A);O-1<=F&&(X=1+2*F),A-O<=F&&(Y=A-2*F);for(var J=Y;J<=X;J+=1){var Q=O===J;N.push(a.createElement(E,{locale:d,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:J,page:J,active:Q,showTitle:f,itemRender:b}))}O-1>=2*F&&3!==O&&(N[0]=(0,a.cloneElement)(N[0],{className:"".concat(n,"-item-after-jump-prev")}),N.unshift(I)),A-O>=2*F&&O!==A-2&&(N[N.length-1]=(0,a.cloneElement)(N[N.length-1],{className:"".concat(n,"-item-before-jump-next")}),N.push(R)),1!==Y&&N.unshift(L),X!==A&&N.push(M)}var ee=!this.hasPrev()||!A,te=!this.hasNext()||!A;return a.createElement("ul",(0,i.Z)({className:v()(n,o,(0,r.Z)({},"".concat(n,"-disabled"),c)),style:s,ref:this.savePaginationNode},U),G,a.createElement("li",{title:f?d.prev_page:null,onClick:this.prev,tabIndex:ee?null:0,onKeyPress:this.runIfEnterPrev,className:v()("".concat(n,"-prev"),(0,r.Z)({},"".concat(n,"-disabled"),ee)),"aria-disabled":ee},this.renderPrev(V)),N,a.createElement("li",{title:f?d.next_page:null,onClick:this.next,tabIndex:te?null:0,onKeyPress:this.runIfEnterNext,className:v()("".concat(n,"-next"),(0,r.Z)({},"".concat(n,"-disabled"),te)),"aria-disabled":te},this.renderNext(B)),a.createElement(T,{disabled:c,locale:d,rootPrefixCls:n,selectComponentClass:k,selectPrefixCls:x,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:O,pageSize:C,pageSizeOptions:S,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Z}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,i=D(e.pageSize,t,e);r=r>i?i:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),n}(a.Component);N.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:j,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:j,locale:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var I=N,R=n(84433),L=n(26775),M=n(3159),z=n(73682),Z=n(3196),F=function(e){return a.createElement(Z.Z,(0,i.Z)({},e,{size:"small"}))},V=function(e){return a.createElement(Z.Z,(0,i.Z)({},e,{size:"middle"}))};F.Option=Z.Z.Option,V.Option=Z.Z.Option;var B=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},U=function(e){var t=e.prefixCls,n=e.selectPrefixCls,o=e.className,s=e.size,c=e.locale,l=e.selectComponentClass,d=e.responsive,p=e.showSizeChanger,f=B(e,["prefixCls","selectPrefixCls","className","size","locale","selectComponentClass","responsive","showSizeChanger"]),h=(0,M.Z)(d).xs,g=a.useContext(L.E_),w=g.getPrefixCls,y=g.direction,k=g.pagination,x=void 0===k?{}:k,E=w("pagination",t),S=null!==p&&void 0!==p?p:x.showSizeChanger;return a.createElement(z.Z,{componentName:"Pagination",defaultLocale:R.Z},(function(e){var t,p=(0,i.Z)((0,i.Z)({}
1,e),c),g="small"===s||!(!h||s||!d),k=w("select",n),x=v()((t={},(0,r.Z)(t,"".concat(E,"-mini"),g),(0,r.Z)(t,"".concat(E,"-rtl"),"rtl"===y),t),o);return a.createElement(I,(0,i.Z)({},function(){var e=a.createElement("span",{className:"".concat(E,"-item-ellipsis")},"\u2022\u2022\u2022"),t=a.createElement("button",{className:"".concat(E,"-item-link"),type:"button",tabIndex:-1},a.createElement(m,null)),n=a.createElement("button",{className:"".concat(E,"-item-link"),type:"button",tabIndex:-1},a.createElement(b.Z,null)),r=a.createElement("a",{className:"".concat(E,"-item-link")},a.createElement("div",{className:"".concat(E,"-item-container")},a.createElement(u,{className:"".concat(E,"-item-link-icon")}),e)),i=a.createElement("a",{className:"".concat(E,"-item-link")},a.createElement("div",{className:"".concat(E,"-item-container")},a.createElement(_,{className:"".concat(E,"-item-link-icon")}),e));if("rtl"===y){var o=[n,t];t=o[0],n=o[1];var s=[i,r];r=s[0],i=s[1]}return{prevIcon:t,nextIcon:n,jumpPrevIcon:r,jumpNextIcon:i}}(),f,{prefixCls:E,selectPrefixCls:k,className:x,selectComponentClass:l||(g?F:V),locale:p,showSizeChanger:S}))}))},G=U},6133:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(25773),i=n(27378),o=n(26775),a=n(50221),s=function(e){return e?"function"===typeof e?e():e:null},c=n(80821),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},u=function(e){var t=e.title,n=e.content,r=e.prefixCls;return t||n?i.createElement(i.Fragment,null,t&&i.createElement("div",{className:"".concat(r,"-title")},s(t)),i.createElement("div",{className:"".concat(r,"-inner-content")},s(n))):null};var d=i.forwardRef((function(e,t){var n=e.prefixCls,s=e.title,d=e.content,p=e._overlay,_=e.placement,f=void 0===_?"top":_,h=e.trigger,m=void 0===h?"hover":h,b=e.mouseEnterDelay,g=void 0===b?.1:b,v=e.mouseLeaveDelay,w=void 0===v?.1:v,y=e.overlayStyle,k=void 0===y?{}:y,x=l(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),E=i.useContext(o.E_).getPrefixCls,S=E("popover",n),P=E();return i.createElement(a.Z,(0,r.Z)({placement:f,trigger:m,mouseEnterDelay:g,mouseLeaveDelay:w,overlayStyle:k},x,{prefixCls:S,ref:t,overlay:p||i.createElement(u,{prefixCls:S,title:s,content:d}),transitionName:(0,c.mL)(P,"zoom-big",x.transitionName)}))}))},35062:function(e,t,n){"use strict";var r=n(54175);t.Z=r.Z},3196:function(e,t,n){"use strict";var r=n(64649),i=n(25773),o=n(60042),a=n.n(o),s=n(14043),c=n(42445),l=n(27378),u=n(26775),d=n(78845),p=n(11887),_=n(31552),f=n(84006),h=n(80821),m=n(69531),b=n(59983),g=n(31630),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},w="SECRET_COMBOBOX_MODE_DO_NOT_USE",y=function(e,t){var n,o,y=e.prefixCls,k=e.bordered,x=void 0===k||k,E=e.className,S=e.getPopupContainer,P=e.dropdownClassName,O=e.popupClassName,C=e.listHeight,T=void 0===C?256:C,j=e.placement,A=e.listItemHeight,D=void 0===A?24:A,N=e.size,I=e.disabled,R=e.notFoundContent,L=e.status,M=e.showArrow,z=v(e,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),Z=l.useContext(u.E_),F=Z.getPopupContainer,V=Z.getPrefixCls,B=Z.renderEmpty,U=Z.direction,G=Z.virtual,q=Z.dropdownMatchSelectWidth,H=l.useContext(_.Z),K=V("select",y),W=V(),$=(0,g.ri)(K,U),Y=$.compactSize,X=$.compactItemClassnames,J=l.useMemo((function(){var e=z.mode;if("combobox"!==e)return e===w?"combobox":e}),[z.mode]),Q="multiple"===J||"tags"===J,ee=void 0!==M?M:z.loading||!(Q||"combobox"===J),te=(0,l.useContext)(f.aM),ne=te.status,re=te.hasFeedback,ie=te.isFormItemInput,oe=te.feedbackIcon,ae=(0,m.F)(ne,L);o=void 0!==R?R:"combobox"===J?null:(B||d.Z)("Select");var se=(0,b.Z)((0,i.Z)((0,i.Z)({},z),{multiple:Q,hasFeedback:re,feedbackIcon:oe,showArrow:ee,prefixCls:K})),ce=se.suffixIcon,le=se.itemIcon,ue=se.removeIcon,de=se.clearIcon,pe=(0,c.Z)(z,["suffixIcon","itemIcon"]),_e=a()(O||P,(0,r.Z)({},"".concat(K,"-dropdown-").concat(U),"rtl"===U)),fe=Y||N||H,he=l.useContext(p.Z),me=null!==I&&void 0!==I?I:he,be=a()((n={},(0,r.Z)(n,"".concat(K,"-lg"),"large"===fe),(0,r.Z)(n,"".concat(K,"-sm"),"small"===fe),(0,r.Z)(n,"".concat(K,"-rtl"),"rtl"===U),(0,r.Z)(n,"".concat(K,"-borderless"),!x),(0,r.Z)(n,"".concat(K,"-in-form-item"),ie),n),(0,m.Z)(K,ae,re),X,E);return l.createElement(s.ZP,(0,i.Z)({ref:t,virtual:G,dropdownMatchSelectWidth:q},pe,{transitionName:(0,h.mL)(W,(0,h.q0)(j),z.transitionName),listHeight:T,listItemHeight:D,mode:J,prefixCls:K,placement:void 0!==j?j:"rtl"===U?"bottomRight":"bottomLeft",direction:U,inputIcon:ce,menuItemSelectedIcon:le,removeIcon:ue,clearIcon:de,notFoundContent:o,className:be,getPopupContainer:S||F,dropdownClassName:_e,showArrow:re||M,disabled:me}))},k=l.forwardRef(y);k.SECRET_COMBOBOX_MODE_DO_NOT_USE=w,k.Option=s.Wx,k.OptGroup=s.Xo,t.Z=k},59983:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(21014),i=n(59127),o=n(58693),a=n(77659),s=n(38280),c=n(8785),l=n(27378);function u(e){var t=e.suffixIcon,n=e.clearIcon,u=e.menuItemSelectedIcon,d=e.removeIcon,p=e.loading,_=e.multiple,f=e.hasFeedback,h=e.prefixCls,m=e.showArrow,b=e.feedbackIcon,g=null!==n&&void 0!==n?n:l.createElement(i.Z,null),v=function(e){return l.createElement(l.Fragment,null,!1!==m&&e,f&&b)},w=null;if(void 0!==t)w=v(t);else if(p)w=v(l.createElement(s.Z,{spin:!0}));else{var y="".concat(h,"-suffix");w=function(e){var t=e.open,n=e.showSearch;return v(t&&n?l.createElement(c.Z,{className:y}):l.createElement(a.Z,{className:y}))}}return{clearIcon:g,suffixIcon:w,itemIcon:void 0!==u?u:_?l.createElement(r.Z,null):null,removeIcon:void 0!==d?d:l.createElement(o.Z,null)}}},31630:function(e,t,n){"use strict";n.d(t,{BR:function(){return _},ri:function(){return p}});var r=n(25773),i=n(64649),o=n(60042),a=n.n(o),s=n(27406),c=n(27378),l=n(26775),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},d=c.createContext(null),p=function(e,t){var n=c.useContext(d),r=c.useMemo((function(){var r;if(!n)return"";var o=n.compactDirection,s=n.isFirstItem,c=n.isLastItem,l="vertical"===o?"-vertical-":"-";return a()((r={}
1,(0,i.Z)(r,"".concat(e,"-compact").concat(l,"item"),!0),(0,i.Z)(r,"".concat(e,"-compact").concat(l,"first-item"),s),(0,i.Z)(r,"".concat(e,"-compact").concat(l,"last-item"),c),(0,i.Z)(r,"".concat(e,"-compact").concat(l,"item-rtl"),"rtl"===t),r))}),[e,t,n]);return{compactSize:null===n||void 0===n?void 0:n.compactSize,compactDirection:null===n||void 0===n?void 0:n.compactDirection,compactItemClassnames:r}},_=function(e){var t=e.children;return c.createElement(d.Provider,{value:null},t)},f=function(e){var t=e.children,n=u(e,["children"]);return c.createElement(d.Provider,{value:n},t)};t.ZP=function(e){var t,n=c.useContext(l.E_),o=n.getPrefixCls,p=n.direction,_=e.size,h=void 0===_?"middle":_,m=e.direction,b=e.block,g=e.prefixCls,v=e.className,w=e.children,y=u(e,["size","direction","block","prefixCls","className","children"]),k=o("space-compact",g),x=a()(k,(t={},(0,i.Z)(t,"".concat(k,"-rtl"),"rtl"===p),(0,i.Z)(t,"".concat(k,"-block"),b),(0,i.Z)(t,"".concat(k,"-vertical"),"vertical"===m),t),v),E=c.useContext(d),S=(0,s.Z)(w),P=c.useMemo((function(){return S.map((function(e,t){var n=e&&e.key||"".concat(k,"-item-").concat(t);return c.createElement(f,{key:n,compactSize:h,compactDirection:m,isFirstItem:0===t&&(!E||(null===E||void 0===E?void 0:E.isFirstItem)),isLastItem:t===S.length-1&&(!E||(null===E||void 0===E?void 0:E.isLastItem))},e)}))}),[h,S,E]);return 0===S.length?null:c.createElement("div",(0,r.Z)({className:x},y),P)}},52395:function(e,t,n){"use strict";var r=n(25773),i=n(64649),o=n(8136),a=n(60042),s=n.n(a),c=n(66726),l=n.n(c),u=n(42445),d=n(27378),p=n(26775),_=n(93795),f=n(24525),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},m=((0,f.b)("small","default","large"),null);var b=function(e){var t=e.spinPrefixCls,n=e.spinning,a=void 0===n||n,c=e.delay,f=e.className,b=e.size,g=void 0===b?"default":b,v=e.tip,w=e.wrapperClassName,y=e.style,k=e.children,x=h(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),E=d.useState((function(){return a&&!function(e,t){return!!e&&!!t&&!isNaN(Number(t))}(a,c)})),S=(0,o.Z)(E,2),P=S[0],O=S[1];d.useEffect((function(){var e=l()((function(){O(a)}),c);return e(),function(){var t;null===(t=null===e||void 0===e?void 0:e.cancel)||void 0===t||t.call(e)}}),[c,a]);var C=function(n){var o,a=n.direction,c=s()(t,(o={},(0,i.Z)(o,"".concat(t,"-sm"),"small"===g),(0,i.Z)(o,"".concat(t,"-lg"),"large"===g),(0,i.Z)(o,"".concat(t,"-spinning"),P),(0,i.Z)(o,"".concat(t,"-show-text"),!!v),(0,i.Z)(o,"".concat(t,"-rtl"),"rtl"===a),o),f),l=(0,u.Z)(x,["indicator","prefixCls"]),p=d.createElement("div",(0,r.Z)({},l,{style:y,className:c,"aria-live":"polite","aria-busy":P}),function(e,t){var n=t.indicator,r="".concat(e,"-dot");return null===n?null:(0,_.l$)(n)?(0,_.Tm)(n,{className:s()(n.props.className,r)}):(0,_.l$)(m)?(0,_.Tm)(m,{className:s()(m.props.className,r)}):d.createElement("span",{className:s()(r,"".concat(e,"-dot-spin"))},d.createElement("i",{className:"".concat(e,"-dot-item")}),d.createElement("i",{className:"".concat(e,"-dot-item")}),d.createElement("i",{className:"".concat(e,"-dot-item")}),d.createElement("i",{className:"".concat(e,"-dot-item")}))}(t,e),v?d.createElement("div",{className:"".concat(t,"-text")},v):null);if("undefined"!==typeof k){var h=s()("".concat(t,"-container"),(0,i.Z)({},"".concat(t,"-blur"),P));return d.createElement("div",(0,r.Z)({},l,{className:s()("".concat(t,"-nested-loading"),w)}),P&&d.createElement("div",{key:"loading"},p),d.createElement("div",{className:h,key:"container"},k))}return p};return d.createElement(p.C,null,C)},g=function(e){var t=e.prefixCls,n=(0,d.useContext(p.E_).getPrefixCls)("spin",t),i=(0,r.Z)((0,r.Z)({},e),{spinPrefixCls:n});return d.createElement(b,(0,r.Z)({},i))};g.setDefaultIndicator=function(e){m=e},t.Z=g},27849:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(25773),i=n(64649),o=n(38280),a=n(60042),s=n.n(a),c=n(8136),l=n(96535),u=n(27378),d=n(24391),p=n(78730),_=u.forwardRef((function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-switch":r,a=e.className,_=e.checked,f=e.defaultChecked,h=e.disabled,m=e.loadingIcon,b=e.checkedChildren,g=e.unCheckedChildren,v=e.onClick,w=e.onCh
1ange,y=e.onKeyDown,k=(0,l.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),x=(0,d.Z)(!1,{value:_,defaultValue:f}),E=(0,c.Z)(x,2),S=E[0],P=E[1];function O(e,t){var n=S;return h||(P(n=e),null===w||void 0===w||w(n,t)),n}var C=s()(o,a,(n={},(0,i.Z)(n,"".concat(o,"-checked"),S),(0,i.Z)(n,"".concat(o,"-disabled"),h),n));return u.createElement("button",Object.assign({},k,{type:"button",role:"switch","aria-checked":S,disabled:h,className:C,ref:t,onKeyDown:function(e){e.which===p.Z.LEFT?O(!1,e):e.which===p.Z.RIGHT&&O(!0,e),null===y||void 0===y||y(e)},onClick:function(e){var t=O(!S,e);null===v||void 0===v||v(t,e)}}),m,u.createElement("span",{className:"".concat(o,"-inner")},S?b:g))}));_.displayName="Switch";var f=_,h=n(26775),m=n(11887),b=n(31552),g=n(41596),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},w=u.forwardRef((function(e,t){var n,a=e.prefixCls,c=e.size,l=e.disabled,d=e.loading,p=e.className,_=void 0===p?"":p,w=v(e,["prefixCls","size","disabled","loading","className"]),y=u.useContext(h.E_),k=y.getPrefixCls,x=y.direction,E=u.useContext(b.Z),S=u.useContext(m.Z),P=(null!==l&&void 0!==l?l:S)||d,O=k("switch",a),C=u.createElement("div",{className:"".concat(O,"-handle")},d&&u.createElement(o.Z,{className:"".concat(O,"-loading-icon")})),T=s()((n={},(0,i.Z)(n,"".concat(O,"-small"),"small"===(c||E)),(0,i.Z)(n,"".concat(O,"-loading"),d),(0,i.Z)(n,"".concat(O,"-rtl"),"rtl"===x),n),_);return u.createElement(g.Z,{insertExtraNode:!0},u.createElement(f,(0,r.Z)({},w,{prefixCls:O,className:T,disabled:P,ref:t,loadingIcon:C})))}));w.__ANT_SWITCH=!0;var y=w},50221:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(64649),i=n(8136),o=n(25773),a=n(60042),s=n.n(a),c=n(33940),l=n(50189),u=n(96535),d=n(27378),p=n(64845),_=n(63569);function f(e){var t=e.showArrow,n=e.arrowContent,r=e.children,i=e.prefixCls,o=e.id,a=e.overlayInnerStyle,c=e.className,l=e.style;return d.createElement("div",{className:s()("".concat(i,"-content"),c),style:l},!1!==t&&d.createElement("div",{className:"".concat(i,"-arrow"),key:"arrow"},n),d.createElement("div",{className:"".concat(i,"-inner"),id:o,role:"tooltip",style:a},"function"===typeof r?r():r))}var h=function(e,t){var n=e.overlayClassName,r=e.trigger,i=void 0===r?["hover"]:r,a=e.mouseEnterDelay,s=void 0===a?0:a,h=e.mouseLeaveDelay,m=void 0===h?.1:h,b=e.overlayStyle,g=e.prefixCls,v=void 0===g?"rc-tooltip":g,w=e.children,y=e.onVisibleChange,k=e.afterVisibleChange,x=e.transitionName,E=e.animation,S=e.motion,P=e.placement,O=void 0===P?"right":P,C=e.align,T=void 0===C?{}:C,j=e.destroyTooltipOnHide,A=void 0!==j&&j,D=e.defaultVisible,N=e.getTooltipContainer,I=e.overlayInnerStyle,R=e.arrowContent,L=e.overlay,M=e.id,z=e.showArrow,Z=(0,u.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),F=(0,d.useRef)(null);(0,d.useImperativeHandle)(t,(function(){return F.current}));var V=(0,l.Z)({},Z);"visible"in e&&(V.popupVisible=e.visible);var B=!1,U=!1;if("boolean"===typeof A)B=A;else if(A&&"object"===(0,c.Z)(A)){var G=A.keepParent;B=!0===G,U=!1===G}return d.createElement(p.Z,(0,o.Z)({popupClassName:n,prefixCls:v,popup:function(){return d.createElement(f,{showArrow:z,arrowContent:R,key:"content",prefixCls:v,id:M,overlayInnerStyle:I},L)},action:i,builtinPlacements:_.C,popupPlacement:O,ref:F,popupAlign:T,getPopupContainer:N,onPopupVisibleChange:y,afterPopupVisibleChange:k,popupTransitionName:x,popupAnimation:E,popupMotion:S,defaultPopupVisible:D,destroyPopupOnHide:B,autoDestroy:U,mouseLeaveDelay:m,popupStyle:b,mouseEnterDelay:s},V),w)},m=(0,d.forwardRef)(h),b=n(24391),g=n(26775),v=n(24525),w=((0,v.b)("success","processing","error","default","warning"),
1(0,v.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")),y=n(80821),k=n(72862),x=n(93795),E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},S=new RegExp("^(".concat(w.join("|"),")(-inverse)?$"));function P(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){var r=function(e,t){var n={},r=(0,o.Z)({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete r[t])})),{picked:n,omitted:r}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),i=r.picked,a=r.omitted,c=(0,o.Z)((0,o.Z)({display:"inline-block"},i),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),l=(0,o.Z)((0,o.Z)({},a),{pointerEvents:"none"}),u=(0,x.Tm)(e,{style:l,className:null});return d.createElement("span",{style:c,className:s()(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},u)}return e}var O=d.forwardRef((function(e,t){var n,a=d.useContext(g.E_),c=a.getPopupContainer,l=a.getPrefixCls,u=a.direction;var p=(0,b.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),_=(0,i.Z)(p,2),f=_[0],h=_[1],v=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},w=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=void 0!==n&&n,i=e.autoAdjustOverflow,o=void 0===i||i;return t||(0,k.Z)({arrowPointAtCenter:r,autoAdjustOverflow:o})},O=e.getPopupContainer,C=e.placement,T=void 0===C?"top":C,j=e.mouseEnterDelay,A=void 0===j?.1:j,D=e.mouseLeaveDelay,N=void 0===D?.1:D,I=E(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),R=e.prefixCls,L=e.openClassName,M=e.getTooltipContainer,z=e.overlayClassName,Z=e.color,F=e.overlayInnerStyle,V=e.children,B=l("tooltip",R),U=l(),G=f;"open"in e||"visible"in e||!v()||(G=!1);var q=P((0,x.l$)(V)&&!(0,x.M2)(V)?V:d.createElement("span",null,V),B),H=q.props,K=H.className&&"string"!==typeof H.className?H.className:s()(H.className,(0,r.Z)({},L||"".concat(B,"-open"),!0)),W=s()(z,(n={},(0,r.Z)(n,"".concat(B,"-rtl"),"rtl"===u),(0,r.Z)(n,"".concat(B,"-").concat(Z),Z&&S.test(Z)),n)),$=F,Y={};return Z&&!S.test(Z)&&($=(0,o.Z)((0,o.Z)({},F),{background:Z}),Y={"--antd-arrow-background-color":Z}),d.createElement(m,(0,o.Z)({},I,{placement:T,mouseEnterDelay:A,mouseLeaveDelay:N,prefixCls:B,overlayClassName:W,getTooltipContainer:O||M||c,ref:t,builtinPlacements:w(),overlay:function(){var t=e.title,n=e.overlay;return 0===t?t:n||t||""}(),visible:G,onVisibleChange:function(t){var n,r;h(!v()&&t),v()||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},onPopupAlign:function(e,t){var n=w(),r=Object.keys(n).find((function(e){var r,i;return n[e].points[0]===(null===(r=t.points)||void 0===r?void 0:r[0])&&n[e].points[1]===(null===(i=t.points)||void 0===i?void 0:i[1])}));if(r){var i=e.getBoundingClientRect(),o={top:"50%",left:"50%"};/top|Bottom/.test(r)?o.top="".concat(i.height-t.offset[1],"px"):/Top|bottom/.test(r)&&(o.top="".concat(-t.offset[1],"px")),/left|Right/.test(r)?o.left="".concat(i.width-t.offset[0],"px"):/right|Left/.test(r)&&(o.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(o.left," ").concat(o.top)}},overlayInnerStyle:$,arrowContent:d.createElement("span",{className:"".concat(B,"-arrow-content"),style:Y}),motion:{motionName:(0,y.mL)(U,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),G?(0,x.Tm)(q,{className:K}):q)}));var C=O},12795:function(e,t){"use strict";function n(){return window.location.host.replace(/:.*/,"")}function r(e,t,r){if(void 0===r&&(r={}),0===e.length)return!1;var i=30,o="lax",a=!1,s=!1;if("number"===typeof r)i=r;else{if(void 0!==r.expires&&(i=r.expires),r.samesite){if(-1===["Strict","Lax","None","strict","lax","none"].indexOf(r.samesite))throw new TypeError('The value of SameSite can only be "Strict", "Lax" or "None"');o=r.samesite}"none"===o.toLowerCase()?a=!0:void 0!==r.secure&&(a=r.secure),r.crossDomain&&(s=r.crossDomain)}var c=e+"="+encodeURIComponent(t+"");c+=";path=/";var l=new Date;(l.setTime(l.getTime()+24*i*3600*1e3),c+=";expires="+l.toUTCString(),s)&&(""!==n()&&(c+=";domain="+n()));c+=";samesite="+o,a&&(c+=";secure");try{return document.cookie=c,!0}catch(u){return console.log("cookie is disabled"),!1}}function i(e){var t="",n=void 0;try{t=document.cookie}catch(o){console.log("cookie is disabled")}if(t.length>0){var r=t.indexOf(e+"=");if(-1!==r){r+=e.length+1;var i=-1===t.indexOf(";",r)?t.length:t.indexOf(";",r);n=decodeURIComponent(t.substring(r,i))}}return n}function o(e){r(e,"",-1)}t.A0=t.ej=t.d8=void 0,t.d8=r,t.ej=i,t.A0=o},56840:function(e,t,n){"use strict";t.qH=t.xb=t.Vs=t.aq=t.UJ=t.TS=t.d9=t.sO=void 0;var r=n(67025);function i(e){return"object"===typeof e&&"[object object]"===Object.prototype.toString.call(e).toLowerCase()&&!e.length}function o(e){var t=typeof e;return"object"===t&&(t=null===e?"null":Array.isArray(e)?"array":"json"),t}function a(e){var t=e,n=o(e);return"array"!==n&&"json"!==n||(t="array"===n?[]:{},Object.keys(e).forEach((function(n){var r=o(e[n]);t[n]="array"===r||"json"===r?a(e[n]):e[n]}))),t}function s(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=o(e);return e=a(e),t.forEach((function(t){o(t)!==r?e=a(t):Object.entries(t).forEach((function(t){var n=t[0],r=t[1];i(r)?e[n]=s(e[n],r):Array.isArray(r)?e[n]=s(r):e[n]=r}))})),e}function c(e){var t=null;if(i(e))t=a(e);else{if("string"!==typeof e)throw new TypeError("Parameter can only be string or json: "+e);try{t=JSON.parse(e.replace(/'/g,'"'))}catch(n){throw new TypeError("Illegal json format: "+e)}}return t}function l(e,t){if(e instanceof Array)return e.map((function(e){return l(e,t)}));if(i(e)){var n={};return Object.keys(e).forEach((function(i){var o="camel"===t?r.underToCamel(i):r.camelToUnder(i);n[o]=l(e[i],t)})),n}return e}function u(e){return l(e,"camel")}function d(e){return l(e,"under")}function p(e){for(var t in e)null===e[t]?delete e[t]:"string"===o(e[t])?e[t]=e[t].trim():"object"!==o(e[t])&&"array"!==o(e[t])||(e[t]=p(e[t]));return e}function _(e,t,n){var r={};return Object.entries(e).map((function(e){var i=e[0],o=e[1];t&&i in t?r[t[i]]=o:n&&!n.includes(i)||(r[i]=o)})),r}function f(e){if(void 0===e||null===e||""===e)return!0;var t=o(e);return"array"===t?0===e.length:"json"===t&&"{}"===JSON.stringify(e)}function h(e,t){var n=o(e);if(f(e)||f(t)||!["json","array"].includes(n))return e;var r=Array.isArray(t)?t:null===t||void 0===t?void 0:t.keepFields,i=Array.isArray(t)||null===t||void 0===t?void 0:t.exludeFields;if("json"===n){var a={};return Object.entries(e).forEach((function(e){var n=e[0],o=e[1];(function(e,t,n){return"undefined"!==typeof n?!n.includes(e):"undefined"===typeof t||t.includes(e)})(n,r,i)&&(a[n]=n in t?h(o,t[n]):o)})),a}return e.map((function(e){return h(e,t)}))}t.sO=i,t.d9=a,t.TS=s,t.UJ=u,t.aq=p,t.Vs=_,t.xb=f,t.qH=h},12270:function(e,t){"use strict";function n(e,t,n){if(n||!i(e,t)){var r=e.className.trim();e.className=r+(""!==r?" ":"")+t}}function r(e,t,n){if(n||i(e,t)){var r=e.className.trim().replace(/(\s+)/gi," ");r=" "+r+" ",e.className=r.replace(" "+t+" "," ").trim()}}function i(e,t){var n=e.className.trim().replace(/(\s+)/gi," ");return-1!==(n=" "+n+" ").indexOf(" "+t+" ")}function o(e,t){i(e,t)?r(e,t,!0):n(e,t,!0)}t.pv=t.IV=t.cn=void 0,t.cn=n,t.IV=r,t.pv=i},76174:function(e,t){"use strict";function n(e,t,n,r){void 0===r&&(r=!1),r="undefined"!==typeof r&&r,e.addEventListener(t,n,r)}function r(e,t,n){e.removeEventListener(t,n,!1)}function i(e,t){var n=e.target;do{if(n===t)return!0;n=n.parentNode}while(n&&n.parentNode);return!1}function o(e,t){var n=e.target;do{if(n.tagName.toLowerCase()===t)return!0;n=n.parentNode}while(n&&n.parentNode);return!1}t.xq=t.xC=t.vP=void 0,t.vP=n,t.xC=r,t.xq=i},1605:function(e,t,n){"use strict";t.v4=t.pn=void 0;var r=n(24903);t.pn=function(e){var t;if(e&&e.offsetParent){var n=window.getComputedStyle(e);t=0!==parseFloat(n.width)&&0!==parseFloat(n.height)&&0!==parseFloat(n.op
1acity)&&"none"!==n.display&&"hidden"!==n.visibility}else t=!1;return t},t.v4=function(e){if(!e)return!1;var t=e.getBoundingClientRect(),n=t.top>=0&&t.top<r.getWindowHeight(),i=t.top<0&&t.top+t.height>0,o=t.left>=0&&t.left<r.getWindowWidth()-r.getScrollBarWidth(),a=t.left<0&&t.left+t.width>0;return(n||i)&&(o||a)}},24903:function(e,t){"use strict";function n(){return window.innerWidth?window.innerWidth:document.documentElement.offsetWidth}function r(){return window.innerHeight?window.innerHeight:document.documentElement.offsetHeight}function i(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop}function o(){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)){var e=document.createElement("div");e.style.cssText="position:absolute; top:-1000px; width:100px; height:100px; overflow:hidden;";var t=document.body.appendChild(e).clientWidth;e.style.overflowY="scroll";var n=e.clientWidth;return document.body.removeChild(e),t-n}return 0}function a(){window.scrollTo(window.pageXOffset,window.pageYOffset-1),window.scrollTo(window.pageXOffset,window.pageYOffset+1)}function s(){if("function"===typeof Event)window.dispatchEvent(new Event("resize"));else{var e=window.document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)}}function c(){return new Promise((function(e){"undefined"===typeof window||"complete"===document.readyState?e():window.addEventListener("load",(function(){e()}))}))}Object.defineProperty(t,"__esModule",{value:!0}),t.windowLoad=t.dispatchWindowResize=t.dispatchWindowScroll=t.getScrollBarWidth=t.getWindowScrollTop=t.getWindowHeight=t.getWindowWidth=void 0,t.getWindowWidth=n,t.getWindowHeight=r,t.getWindowScrollTop=i,t.getScrollBarWidth=o,t.dispatchWindowScroll=a,t.dispatchWindowResize=s,t.windowLoad=c,t.default={getWindowWidth:n,getWindowHeight:r,getWindowScrollTop:i,getScrollBarWidth:o,dispatchWindowScroll:a,dispatchWindowResize:s,windowLoad:c}},97277:function(e,t){"use strict";function n(e,t){return new Promise((function(n,r){var i=(t=t||{}).checkLoad;i&&i()&&n("Script has been exist.");var o=document.getElementsByTagName("head")[0],a=document.createElement("script");if(a.src=e,t.id&&(a.id=t.id),t.async&&(a.async=t.async),a.onerror=function(e){r(e)},i){var s=t.checkInterval||200,c=(t.checkTimeout||6e4)/s,l=0,u=function(){i()?n("Loaded."):l<c?(l++,setTimeout(u,s)):r(new Error("Timeout."))};u()}else a.onload=function(){n("Loaded.")};o.appendChild(a)}))}t.ve=void 0,t.ve=n},46918: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 i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.updateUrl=t.generatePath=t.getHash=t.getSearch=t.getPathname=t.getOrigin=t.updateSearch=t.getParamInSearch=t.getParamsInSearch=void 0;var i=n(92586),o=n(68891),a={arrayFormat:"bracket"};function s(e){return void 0===e&&(e="undefined"!==typeof window?window.location.search:""),o.parse(e,a)}function c(e,t,n){void 0===t&&(t=""),void 0===n&&(n={});var i=r(r({},a),n),s=r(r({},o.parse(t,i)),e),c=o.stringify(s,i);return c?"?"+c:""}function l(e){var t=e.match(/^(http:|https:)*\/\/.*?\//);return t?t[0].replace(/\/$/,""):""}function u(e){return e.includes("?")||e.includes("#")?e.match(/^.*?(?=[?|#])/)[0]:e}function d(e){var t="";e.includes("?")&&(t=e.match(/\?.*$/)[0].replace(/#.*$/,""));return"?"===t?"":t}function p(e){var t="";e.includes("#")&&(t=e.match(/#.*$/)[0].replace(/\?.*$/,""));return t}t.getParamsInSearch=s,t.getParamInSearch=function(e,t){return s(t)[e]},t.updateSearch=c,t.getOrigin=l,t.getPathname=u,t.getSearch=d,t.getHash=p,t.generatePath=function(e,t,n){"string"!==typeof e&&(t=e,e="undefined"!==typeof window?window.location.href.replace(/^\w*:\/\/.*?\//,"/"):"");var r=u(e),o=d(e);return r.includes(":")&&t?r=i.compile(r,{encode:encodeURIComponent})(t):n=t,n&&(o=c(n,o)),r+o+p(e)},t.updateUrl=function(e,t){var n=l(e);return n+u(e.replace(n,""))+c(t,d(e))+p(e)}},67025:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.lowerFirstLetter=t.upperFirstLetter=t.underToCamel=t.camelToUnder=void 0,t.camelToUnder=function(e){return e.replace(/[A-Z]/g,(function(e){return"_"+e.toLowerCase()}))},t.underToCamel=function(e){return e.replace(/_(\w)/g,(function(e,t){return t.toUpperCase()}))},t.upperFirstLetter=function(e){return e.replace(/(^|\s+)\w/g,(function(e){return e.toUpperCase()}))},t.lowerFirstLetter=function(e){return e.replace(/(^|\s+)\w/g,(function(e){return e.toLowerCase()}))}},76114:function(e,t){"use strict";var n={isPhone:/(iPhone|iPod|Android|BlackBerry|SymbianOS|Windows Phone|ZuneWP7|webOS)/i,isTablet:/iPad/i,isMobile:/(iPad|iPhone|iPod|Android|ios|Windows Phone)/i,isIOS:/(iPhone|iPad|iPod|iOS)/i,isAndroid:/Android/i,isSafari:/Version\/([\d.]+).*Safari/i,isChrome:/(Chrome\/([\d.]+))|(((iPhone|iPad|iPod|iOS)).*CriOS)/i,isFirefox:/Firefox/,isOpera:/OPR/,isEdge:/Edge/},r=Object.create(null);["isPhone","isTablet","isMobile","isIOS","isAndroid","isChrome","isSafari","isEdge","isFirefox","isOpera"].forEach((function(e){r[e]=function(t){return t||(t="undefined"!==typeof window?window.navigator.userAgent:""),n[e].test(t)}})),r.parse=function(e){var t=Object.create(null);return Object.keys(n).forEach((function(r){t[r]=n[r].test(e)})),t},t.Z=r},60042:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},31998:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(o){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=i(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var n={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},i=r.exec(e);i;){try{n[i[0]]=decodeURIComponent(i[0])}catch(t){var a=o(i[0]);a!==i[0]&&(n[i[0]]=a)}i=r.exec(e)}n["%C2"]="\ufffd";for(var s=Object.keys(n),c=0;c<s.length;c++){var l=s[c];e=e.replace(new RegExp(l,"g"),n[l])}return e}(e)}}},87728:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o<r.length;o++){var a=r[o],s=e[a];(i?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},11808:function(e,t,n){var r,i;i=this,r=function(){return i.is=function(){var e={VERSION:"0.8.0",not:{},all:{},any:{}},t=Object.prototype.toString,r=Array.prototype.slice,i=Object.prototype.hasOwnProperty;function o(e){return function(){return!e.apply(null,r.call(arguments))}}function a(e){return function(){for(var t=u(arguments),n=t.length,r=0;r<n;r++)if(!e.call(null,t[r]))return!1;return!0}}function s(e){return function(){for(var t=u(arguments),n=t.length,r=0;r<n;r++)if(e.call(null,t[r]))return!0;return!1}}var c={"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t}};function l(e,t){var n=t+"",r=+(n.match(/\d+/)||NaN),i=n.match(/^[<>]=?|/)[0];return c[i]?c[i](e,r):e==r||r!==r}function u(t){var n=r.call(t);return 1===n.length&&e.array(n[0])&&(n=n[0]),n}e.arguments=function(e){return"[object Arguments]"===t.call(e)||null!=e&&"object"===typeof e&&"callee"in e},e.array=Array.isArray||function(e){return"[object Array]"===t.call(e)},e.boolean=function(e){return!0===e||!1===e||"[object Boolean]"===t.call(e)},e.char=function(t){return e.string(t)&&1===t.length},e.date=function(e){return"[object Date]"===t.call(e)},e.domNode=function(t){return e.object(t)&&t.nodeType>0},e.error=function(e){return"[object Error]"===t.call(e)},e.function=function(e){return"[object Function]"===t.call(e)||"function"===typeof e},e.json=function(e){return"[object Object]"===t.call(e)},e.nan=function(e){return e!==e},e.null=function(e){return null===e},e.number=function(n){return e.not.nan(n)&&"[object Number]"===t.call(n)},e.object=function(e){return Object(e)===e},e.regexp=function(e){return"[object RegExp]"===t.call(e)},e.sameType=function(n,r){var i=t.call(n);return i===t.call(r)&&("[object Number]"!==i||!e.any.nan(n,r)||e.all.nan(n,r))},e.sameType.api=["not"],e.string=function(e){return"[object String]"===t.call(e)},e.undefined=function(e){return void 0===e},e.windowObject=function(e){return null!=e&&"object"===typeof e&&"setInterval"in e},e.empty=function(t){if(e.object(t)){var n=Object.getOwnPropertyNames(t).length;return!!(0===n||1===n&&e.array(t)||2===n&&e.arguments(t))}return""===t},e.existy=function(e){return null!=e},e.falsy=function(e){return!e},e.truthy=o(e.falsy),e.above=function(t,n){return e.all.number(t,n)&&t>n},e.above.api=["not"],e.decimal=function(t){return e.number(t)&&t%1!==0},e.equal=function(t,n){return e.all.number(t,n)?t===n&&1/t===1/n:e.all.string(t,n)||e.all.regexp(t,n)?""+t===""+n:!!e.all.boolean(t,n)&&t===n},e.equal.api=["not"],e.even=function(t){return e.number(t)&&t%2===0},e.finite=isFinite||function(t){return e.not.infinite(t)&&e.not.nan(t)},e.infinite=function(e){return e===1/0||e===-1/0}
1,e.integer=function(t){return e.number(t)&&t%1===0},e.negative=function(t){return e.number(t)&&t<0},e.odd=function(t){return e.number(t)&&t%2===1},e.positive=function(t){return e.number(t)&&t>0},e.under=function(t,n){return e.all.number(t,n)&&t<n},e.under.api=["not"],e.within=function(t,n,r){return e.all.number(t,n,r)&&t>n&&t<r},e.within.api=["not"];var d={affirmative:/^(?:1|t(?:rue)?|y(?:es)?|ok(?:ay)?)$/,alphaNumeric:/^[A-Za-z0-9]+$/,caPostalCode:/^(?!.*[DFIOQU])[A-VXY][0-9][A-Z]\s?[0-9][A-Z][0-9]$/,creditCard:/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/,dateString:/^(1[0-2]|0?[1-9])([\/-])(3[01]|[12][0-9]|0?[1-9])(?:\2)(?:[0-9]{2})?[0-9]{2}$/,email:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,eppPhone:/^\+[0-9]{1,3}\.[0-9]{4,14}(?:x.+)?$/,hexadecimal:/^(?:0x)?[0-9a-fA-F]+$/,hexColor:/^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/,ipv4:/^(?:(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$/,ipv6:/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i,nanpPhone:/^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/,socialSecurityNumber:/^(?!000|666)[0-8][0-9]{2}-?(?!00)[0-9]{2}-?(?!0000)[0-9]{4}$/,timeString:/^(2[0-3]|[01]?[0-9]):([0-5]?[0-9]):([0-5]?[0-9])$/,ukPostCode:/^[A-Z]{1,2}[0-9RCHNQ][0-9A-Z]?\s?[0-9][ABD-HJLNP-UW-Z]{2}$|^[A-Z]{2}-?[0-9]{4}$/,url:/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i,usZipCode:/^[0-9]{5}(?:-[0-9]{4})?$/};function p(t,n){e[t]=function(e){return n[t].test(e)}}for(var _ in d)d.hasOwnProperty(_)&&p(_,d);e.ip=function(t){return e.ipv4(t)||e.ipv6(t)},e.capitalized=function(t){if(e.not.string(t))return!1;for(var n=t.split(" "),r=0;r<n.length;r++){var i=n[r];if(i.length){var o=i.charAt(0);if(o!==o.toUpperCase())return!1}}return!0},e.endWith=function(t,n){if(e.not.string(t))return!1;n+="";var r=t.length-n.length;return r>=0&&t.indexOf(n,r)===r},e.endWith.api=["not"],e.include=function(e,t){return e.indexOf(t)>-1},e.include.api=["not"],e.lowerCase=function(t){return e.string(t)&&t===t.toLowerCase()},e.palindrome=function(t){if(e.not.string(t))return!1;for(var n=(t=t.replace(/[^a-zA-Z0-9]+/g,"").toLowerCase()).length-1,r=0,i=Math.floor(n/2);r<=i;r++)if(t.charAt(r)!==t.charAt(n-r))return!1;return!0},e.space=function(t){if(e.not.char(t))return!1;var n=t.charCodeAt(0);return n>8&&n<14||32===n},e.startWith=function(t,n){return e.string(t)&&0===t.indexOf(n)},e.startWith.api=["not"],e.upperCase=function(t){return e.string(t)&&t===t.toUpperCase()};var f=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],h=["january","february","march","april","may","june","july","august","september","october","november","december"];e.day=function(t,n){return e.date(t)&&n.toLowerCase()===f[t.getDay()]},e.day.api=["not"],e.dayLightSavingTime=function(e){var t=new Date(e.getFullYear(),0,1),n=new Date(e.getFullYear(),6,1),r=Math.max(t.getTimezoneOffset(),n.getTimezoneOffset());return e.getTimezoneOffset()<r},e.future=function(t){var n=new Date;return e.date(t)&&t.getTime()>n.getTime()},e.inDateRange=function(t,n,r){if(e.not.date(t)||e.not.date(n)||e.not.date(r))return!1;var i=t.getTime();return i>n.getTime()&&i<r.getTime()},e.inDateRange.api=["not"],e.inLastMonth=function(t){return e.inDateRange(t,new Date((new Date).setMonth((new Date).getMonth()-1)),new Date)},e.inLastWeek=function(t){return e.inDateRange(t,new Date((new Date).setDate((new Date).getDate()-7)),new Date)},e.inLastYear=function(t){return e.inDateRange(t,new Date((new Date).setFullYear((new Date).getFullYear()-1)),new Date)},e.inNextMonth=function(t){return e.inDateRange(t,new Date,new Date((new Date).setMonth((new Date).getMonth()+1)))},e.inNextWeek=function(t){return e.inDateRange(t,new Date,new Date((new Date).setDate((new Date).getDate()+7)))},e.inNextYear=function(t){return e.inDateRange(t,new Date,new Date((new Date).setFullYear((new Date).getFullYear()+1)))},e.leapYear=function(t){return e.number(t)&&(t%4===0&&t%100!==0||t%400===0)},e.month=function(t,n){return e.date(t)&&n.toLowerCase()===h[t.getMonth()]},e.month.api=["not"],e.past=function(t){var n=new Date;return e.date(t)&&t.getTime()<n.getTime()},e.quarterOfYear=function(t,n){return e.date(t)&&e.number(n)&&n===Math.floor((t.getMonth()+3)/3)},e.quarterOfYear.api=["not"],e.today=function(t){var n=(new Date).toDateString();return e.date(t)&&t.toDateString()===n},e.tomorrow=function(t){var n=new Date,r=new Date(n.setDate(n.getDate()+1)).toDateString();return e.date(t)&&t.toDateString()===r},e.weekend=function(t){return e.date(t)&&(6===t.getDay()||0===t.getDay())},e.weekday=o(e.weekend),e.year=function(t,n){return e.date(t)&&e.number(n)&&n===t.getFullYear()},e.year.api=["not"],e.yesterday=function(t){var n=new Date,r=new Date(n.setDate(n.getDate()-1)).toDateString();return e.date(t)&&t.toDateString()===r};var m=e.windowObject("object"==typeof n.g&&n.g)&&n.g,b=e.windowObject("object"==typeof self&&self)&&self,g=e.windowObject("object"==typeof this&&this)&&this,v=m||b||g||Function("return this")(),w=b&&b.document,y=v.is,k=b&&b.navigator,x=(k&&k.appVersion||"").toLowerCase(),E=(k&&k.userAgent||"").toLowerCase(),S=(k&&k.vendor||"").toLowerCase();function P(){var t=e;for(var n in t)if(i.call(t,n)&&e.function(t[n]))for(var r=t[n].api||["not","all","any"],c=0;c<r.length;c++)"not"===r[c]&&(e.not[n]=o(e[n])),"all"===r[c]&&(e.all[n]=a(e[n])),"any"===r[c]&&(e.any[n]=s(e[n]))}return e.android=function(){return/android/.test(E)},e.android.api=["not"],e.androidPhone=function(){return/android/.test(E)&&/mobile/.test(E)},e.androidPhone.api=["not"],e.androidTablet=function(){return/android/.test(E)&&!/mobile/.test(E)},e.androidTablet.api=["not"],e.blackberry=function(){return/blackberry/.test(E)||/bb10/.test(E)},e.blackberry.api=["not"],e.chrome=function(e){var t=/google inc/.test(S)?E.match(/(?:chrome|crios)\/(\d+)/):null;return null!==t&&l(t[1],e)},e.chrome.api=["not"],e.desktop=function(){return e.not.mobile()&&e.not.tablet()},e.desktop.api=["not"],e.edge=function(e){var t=E.match(/edge\/(\d+)/);return null!==t&&l(t[1],e)},e.edge.api=["not"],e.firefox=function(e){var t=E.match(/(?:firefox|fxios)\/(\d+)/);return null!==t&&l(t[1],e)},e.firefox.api=["not"],e.ie=function(e){var t=E.match(/(?:msie |trident.+?; rv:)(\d+)/);return null!==t&&l(t[1],e)},e.ie.api=["not"],e.ios=function(){return e.iphone()||e.ipad()||e.ipod()},e.ios.api=["not"],e.ipad=function(e){var t=E.match(/ipad.+?os (\d+)/);return null!==t&&l(t[1],e)},e.ipad.api=["not"],e.iphone=function(e){var t=E.match(/iphone(?:.+?os (\d+))?/);return null!==t&&l(t[1]||1,e)},e.iphone.api=["not"],e.ipod=function(e){var t=E.match(/ipod.+?os (\d+)/);return null!==t&&l(t[1],e)},e.ipod.api=["not"],e.linux=function(){return/linux/.test(x)},e.linux.api=["not"],e.mac=function(){return/mac/.test(x)},e.mac.api=["not"],e.mobile=function(){return e.iphone()||e.ipod()||e.androidPhone()||e.blackberry()||e.windowsPhone()},e.mobile.api=["not"],e.offline=o(e.online),e.offline.api=["not"],e.online=function(){return!k||!0===k.onLine},e.online.api=["not"],e.opera=function(e){var t=E.match(/(?:^opera.+?version|opr)\/(\d+)/);return null!==t&&l(t[1],e)},e.opera.api=["not"],e.phantom=function(e){var t=E.match(/phantomjs\/(\d+)/);return null!==t&&l(t[1],e)},e.phantom.api=["not"],e.safari=function(e){var t=E.match(/version\/(\d+).+?safari/);return null!==t&&l(t[1],e)},e.safari.api=["not"],e.tablet=function(){return e.ipad()||e.androidTablet()||e.windowsTablet()},e.tablet.api=["not"],e.touchDevice=function(){return!!w&&("ontouchstart"in b||"DocumentTouch"in b&&w instanceof DocumentTouch)},e.touchDevice.api=["not"],e.windows=function(){return/win/.test(x)},e.windows.api=["not"],e.windowsPhone=function(){return e.windows()&&/phone/.test(E)},e.windowsPhone.api=["not"],e.windowsTablet=function(){return e.windows()&&e.not.windowsPhone()&&/touch/.test(E)},e.windowsTablet.api=["not"],e.propertyCount=function(t,n){if(e.not.object(t)||e.not.number(n))return!1;var r=0;for(var o in t)if(i.call(t,o)&&++r>n)return!1;return r===n},e.propertyCount.api=["not"],e.propertyDefined=function(t,n){return e.object(t)&&e.string(n)&&n in t},e.propertyDefined.api=["not"],e.inArray=function(t,n){if(e.not.array(n))return!1;for(var r=0;r<n.length;r++)if(n[r]===t)return!0;return!1},e.inArray.api=["not"],e.sorted=function(t,n){if(e.not.array(t))return!1;for(var r=c[n]||c[">="],i=1;i<t.length;i++)if(!r(t[i],t[i-1]))return!1;return!0},P(),e.setNamespace=function(){return v.is=y,this}
1,e.setRegexp=function(e,t){for(var n in d)i.call(d,n)&&t===n&&(d[n]=e)},e}()}.call(t,n,t,e),void 0===r||(e.exports=r)},96539:function(e,t,n){var r=n(77400).Symbol;e.exports=r},66070:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},6446:function(e){e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}},85630:function(e){e.exports=function(e){return e.split("")}},40585:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},99736:function(e,t,n){var r=n(96539),i=n(34840),o=n(21258),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},17646:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},75733:function(e){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},34282:function(e,t,n){var r=n(96539),i=n(66070),o=n(19785),a=n(55193),s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},74833:function(e,t,n){var r=n(56127),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},39158:function(e,t,n){var r=n(75733);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},62690:function(e,t,n){var r=n(39158),i=n(25348),o=n(63528),a=n(65567);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),c=n?r(n,1).join(""):t.slice(1);return s[e]()+c}}},68267:function(e,t,n){var r=n(6446),i=n(69689),o=n(93254),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},4248:function(e,t,n){var r=n(17646)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},39120:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},34840:function(e,t,n){var r=n(96539),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},25348:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},73909: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 ]/;e.exports=function(e){return t.test(e)}},21258:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},77400:function(e,t,n){var r=n(39120),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},63528:function(e,t,n){var r=n(85630),i=n(25348),o=n(84890);e.exports=function(e){return i(e)?o(e):r(e)}},56127:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},84890:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",c="[\\ufe0e\\ufe0f]?",l=c+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+c+s+")*"),u="(?:"+[i+n+"?",n,o,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+u+l,"g");e.exports=function(e){return e.match(d)||[]}},97025:function(e){var t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="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",o="["+i+"]",a="\\d+",s="[\\u2700-\\u27bf]",c="["+n+"]",l="[^\\ud800-\\udfff"+i+a+t+n+r+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}
1",d="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+r+"]",_="(?:"+c+"|"+l+")",f="(?:"+p+"|"+l+")",h="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",m="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",b="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",g="[\\ufe0e\\ufe0f]?",v=g+b+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,d].join("|")+")"+g+b+")*"),w="(?:"+[s,u,d].join("|")+")"+v,y=RegExp([p+"?"+c+"+"+h+"(?="+[o,p,"$"].join("|")+")",f+"+"+m+"(?="+[o,p+_,"$"].join("|")+")",p+"?"+_+"+"+h,p+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,w].join("|"),"g");e.exports=function(e){return e.match(y)||[]}},97429:function(e,t,n){var r=n(98052),i=n(68267)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=i},98052:function(e,t,n){var r=n(65567),i=n(76744);e.exports=function(e){return i(r(e).toLowerCase())}},66726:function(e,t,n){var r=n(11611),i=n(82846),o=n(91936),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,l,u,d,p,_,f=0,h=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=c,r=l;return c=l=void 0,f=t,d=e.apply(r,n)}function v(e){return f=e,p=setTimeout(y,t),h?g(e):d}function w(e){var n=e-_;return void 0===_||n>=t||n<0||m&&e-f>=u}function y(){var e=i();if(w(e))return k(e);p=setTimeout(y,function(e){var n=t-(e-_);return m?s(n,u-(e-f)):n}(e))}function k(e){return p=void 0,b&&c?g(e):(c=l=void 0,d)}function x(){var e=i(),n=w(e);if(c=arguments,l=this,_=e,n){if(void 0===p)return v(_);if(m)return clearTimeout(p),p=setTimeout(y,t),g(_)}return void 0===p&&(p=setTimeout(y,t)),d}return t=o(t)||0,r(n)&&(h=!!n.leading,u=(m="maxWait"in n)?a(o(n.maxWait)||0,t):u,b="trailing"in n?!!n.trailing:b),x.cancel=function(){void 0!==p&&clearTimeout(p),f=0,c=_=l=p=void 0},x.flush=function(){return void 0===p?d:k(i())},x}},69689:function(e,t,n){var r=n(4248),i=n(65567),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
17f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},19785:function(e){var t=Array.isArray;e.exports=t},11611:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},92360:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},55193:function(e,t,n){var r=n(99736),i=n(92360);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},82846:function(e,t,n){var r=n(77400);e.exports=function(){return r.Date.now()}},19783:function(e,t,n){var r=n(66726),i=n(11611);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},91936:function(e,t,n){var r=n(74833),i=n(11611),o=n(55193),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},65567:function(e,t,n){var r=n(34282);e.exports=function(e){return null==e?"":r(e)}},76744:function(e,t,n){var r=n(62690)("toUpperCase");e.exports=r},93254:function(e,t,n){var r=n(40585),i=n(73909),o=n(65567),a=n(97025);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},50099:function(e,t){"use strict";t.Z={"fill-placeholder-child":"fill-placeholder-child_p2TN5","modal-large":"modal-large_1UGZg","sw-dialog-footer":"sw-dialog-footer","sw-dialog-btn-ok":"sw-dialog-btn-ok",drawer:"drawer_ccEzA","sw-drawer-body":"sw-drawer-body"}},98099:function(e,t){"use strict";t.Z={"fill-placeholder-child":"fill-placeholder-child_csiMu",pagination:"pagination_mIAXZ","ant-pagination-item":"ant-pagination-item","ant-pagination-item-active":"ant-pagination-item-active","ant-pagination-item-container":"ant-pagination-item-container","ant-pagination-item-link-icon":"ant-pagination-item-link-icon","ant-pagination-item-ellipsis":"ant-pagination-item-ellipsis","ant-pagination-jump-prev":"ant-pagination-jump-prev","ant-pagination-jump-next":"ant-pagination-jump-next","ant-pagination-item-link":"ant-pagination-item-link","ant-pagination-disabled":"ant-pagination-disabled","ant-select-selector":"ant-select-selector","ant-select-selection-item":"ant-select-selection-item","ant-pagination-mini":"ant-pagination-mini","ant-pagination-simple-pager":"ant-pagination-simple-pager","ant-pagination-slash":"ant-pagination-slash"}},46055:function(e,t){"use strict";t.Z={"fill-placeholder-child":"fill-placeholder-child_S-Cte","header-bar":"header-bar_3ULeh",left:"left_OHUbc",right:"right_5yQ-K",center:"center_EF-Zn","ant-popover-open":"ant-popover-open","ant-popover":"ant-popover","red-point":"red-point_O7jZN",widget:"widget_HM-9F","widget-trigger":"widget-trigger_917OP",arrow:"arrow_SBLvU","widget-trigger-text":"widget-trigger-text_ftxaz","widget-trigger-icon":"widget-trigger-icon_8Oo7Y",iconfont:"iconfont","sw-icon":"sw-icon",flag:"flag_-T8wE","widget-overlay":"widget-overlay_lNoye","ant-popover-inner":"ant-popover-inner","ant-popover-inner-content":"ant-popover-inner-content","widget-overlay-right":"widget-overlay-right_Ca0yB","widget-menu-wrap":"widget-menu-wrap_j1ezX","widget-links":"widget-links_JxUfT","widget-link":"widget-link_-02S-"}},29177:function(e,t){"use strict";t.Z={"fill-placeholder-child":"fill-placeholder-child_h0GJw",body:"body_Luyy7","info-wrapper":"info-wrapper_YTnhU","top-left":"top-left_ne86P","top-right":"top-right_ofHG3","see-full-link":"see-full-link_-IyRC",tabs:"tabs_MzgX5","tab-part":"tab-part_Om7o8","show-part":"show-part_Oh-Wc","tab-bar-nav":"tab-bar-nav_2QCQI",active:"active_oiuuA","right-module":"right-module_77BMf","module-title":"module-title_25J1S","title-right":"title-right_qAoLf","monkey-prod-wrap":"monkey-prod-wrap_NYPiZ"}},54098:function(e,t){"use strict";t.Z={"fill-placeholder-child":"fill-placeholder-child_xG06m",wrapper:"wrapper_AJGoP",title:"title_QUyFb","g-theme-dark":"g-theme-dark",swiper:"swiper_zkm3c","g-prev":"g-prev","g-next":"g-next",iconfont:"iconfont","sw-icon":"sw-icon","g-body-pc":"g-body-pc",page:"page_vLyLs","g-wrapper":"g-wrapper"}},5005:function(e,t,n){var r=n(62994);r=r.default||r,e.exports=function(e,t){var n=e.req&&e.req.headers&&e.req.headers.cookie;return new r(n).getAll(t)}},36128:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,r,i){var o=n(14472).normalizeLocalePath,a=n(71443).detectDomainLocale,s=t||o(e,r).detectedLocale,c=a(i,void 0,s);if(c){var l="http".concat(c.http?"":"s","://"),u=s===c.defaultLocale?"":"/".concat(s);return"".concat(l).concat(c.domain).concat("").concat(u).concat(e)}return!1};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93144:function(e,t,n){"use strict";var r=n(65977);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(42619).Z,o=n(90518).Z,a=i(n(27378)),s=n(67378),c=n(79568),l=n(5714),u=n(22105),d=n(55708),p=n(36128),_=n(6015),f="undefined"!==typeof a.default.useTransition,h={};function m(e,t,n,r){if(e&&s.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch((function(e){0}));var i=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;h[t+"%"+n+(i?"%"+i:"")]=!0}}var b=a.default.forwardRef((function(e,t){var n,i=e.href,b=e.as,g=e.children,v=e.prefetch,w=e.passHref,y=e.replace,k=e.shallow,x=e.scroll,E=e.locale,S=e.onClick,P=e.onMouseEnter,O=e.onTouchStart,C=e.legacyBehavior,T=void 0===C?!0!==Boolean(!1):C,j=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,!T||"string"!==typeof n&&"number"!==typeof n||(n=a.default.createElement("a",null,n));var A=!1!==v,D=f?a.default.useTransition():[],N=r(D,2)[1],I=a.default.useContext(l.RouterContext),R=a.default.useContext(u.AppRouterContext);R&&(I=R);var L,M=a.default.useMemo((function(){var e=s.resolveHref(I,i,!0),t=r(e,2),n=t[0],o=t[1];return{href:n,as:b?s.resolveHref(I,b):o||n}}),[I,i,b]),z=M.href,Z=M.as,F=a.default.useRef(z),V=a.default.useRef(Z);T&&(L=a.default.Children.only(n));var B=T?L&&"object"===typeof L&&L.ref:t,U=d.useIntersection({rootMargin:"200px"}),G=r(U,3),q=G[0],H=G[1],K=G[2],W=a.default.useCallback((function(e){V.current===Z&&F.current===z||(K(),V.current=Z,F.current=z),q(e),B&&("function"===typeof B?B(e):"object"===typeof B&&(B.current=e))}),[Z,B,z,K,q]);a.default.useEffect((function(){var e=H&&A&&s.isLocalURL(z),t="undefined"!==typeof E?E:I&&I.locale,n=h[z+"%"+Z+(t?"%"+t:"")];e&&!n&&m(I,z,Z,{locale:t})}),[Z,z,H,E,A,I]);var $={ref:W,onClick:function(e){T||"function"!==typeof S||S(e),T&&L.props&&"function"===typeof L.props.onClick&&L.props.onClick(e),e.defaultPrevented||function(e,t,n,r,i,o,a,c,l,u){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&s.isLocalURL(n)){e.preventDefault();var d=function(){"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:c,scroll:a}):t[i?"replace":"push"](n,{forceOptimisticNavigation:!u})};l?l(d):d()}}(e,I,z,Z,y,k,x,E,R?N:void 0,A)},onMouseEnter:function(e){T||"function"!==typeof P||P(e),T&&L.props&&"function"===typeof L.props.onMouseEnter&&L.props.onMouseEnter(e),!A&&R||s.isLocalURL(z)&&m(I,z,Z,{priority:!0})},onTouchStart:function(e){T||"function"!==typeof O||O(e),T&&L.props&&"function"===typeof L.props.onTouchStart&&L.props.onTouchStart(e),!A&&R||s.isLocalURL(z)&&m(I,z,Z,{priority:!0})}};if(!T||w||"a"===L.type&&!("href"in L.props)){var Y="undefined"!==typeof E?E:I&&I.locale,X=I&&I.isLocaleDomain&&p.getDomainLocale(Z,Y,I.locales,I.domainLocales);$.href=X||_.addBasePath(c.addLocale(Z,Y,I&&I.defaultLocale))}return T?a.default.cloneElement(L,$):a.default.createElement("a",Object.assign({},j,$),n)}));t.default=b,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14472:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=void 0;t.normalizeLocalePath=function(e,t){return n(60348).normalizeLocalePath(e,t)},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55708:function(e,t,n){"use strict";var r=n(65977);Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,l=e.disabled||!a,u=i.useState(!1),d=r(u,2),p=d[0],_=d[1],f=i.useState(null),h=r(f,2),m=h[0],b=h[1];i.useEffect((function(){if(a){if(l||p)return;if(m&&m.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=c.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=s.get(r)))return t;var i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:o,elements:i},c.push(n),s.set(n,t),t}(n),i=r.id,o=r.observer,a=r.elements;return a.set(e,t),o.observe(e),function(){if(a.delete(e),o.unobserve(e),0===a.size){o.disconnect(),s.delete(i);var t=c.findIndex((function(e){return e.root===i.root&&e.margin===i.margin}));t>-1&&c.splice(t,1)}}}(m,(function(e){return e&&_(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!p){var r=o.requestIdleCallback((function(){return _(!0)}));return function(){return o.cancelIdleCallback(r)}}}),[m,l,n,t,p]);var g=i.useCallback((function(){_(!1)}),[]);return[b,p,g]};var i=n(27378),o=n(23261),a="function"===typeof IntersectionObserver,s=new Map,c=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67142:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var r=(0,n(42619).Z)(n(27378)).default.createContext({});t.AmpStateContext=r},83046:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,i=void 0!==r&&r,o=e.hasQuery,a=void 0!==o&&o;return n||i&&a}},22105:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var r=(0,n(42619).Z)(n(27378)),i=r.default.createContext(null);t.AppRouterContext=i;var o=r.default.createContext(null);t.LayoutRouterContext=o;var a=r.default.createContext(null);t.GlobalLayoutRouterContext=a},60296:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default,i={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};e instanceof Promise?i.loader=function(){return e}:"function"===typeof e?i.loader=e:"object"===typeof e&&(i=r({},i,e));!1;0;(i=r({},i,t)).loadableGenerated&&delete(i=r({},i,i.loadableGenerated)).loadableGenerated;if("boolean"===typeof i.ssr&&!i.suspense){if(!i.ssr)return delete i.ssr,a(n,i);delete i.ssr}return n(i)},t.noSSR=a;var r=n(76516).Z,i=n(42619).Z,o=(i(n(27378)),i(n(81740)));function a(e,t){return delete t.webpack,delete t.modules,e(t)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59611:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=u,t.default=void 0;var r=n(76516).Z,i=n(42619).Z,o=(0,n(96808).Z)(n(27378)),a=i(n(68774)),s=n(67142),c=n(68602),l=n(83046);n(72221);function u(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function d(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var p=["name","httpEquiv","charSet","itemProp"];function _(e,t){var n=t.inAmpMode;return e.reduce(d,[]).reverse().concat(u(n).reverse()).filter(function(){var e=new Set,t=new Set,n=new Set,r={};return function(i){var o=!0,a=!1;if(i.key&&"number"!==typeof i.key&&i.key.indexOf("$")>0){a=!0;var s=i.key.slice(i.key.indexOf("$")+1);e.has(s)?o=!1:e.add(s)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(var c=0,l=p.length;c<l;c++){var u=p[c];if(i.props.hasOwnProperty(u))if("charSet"===u)n.has(u)?o=!1:n.add(u);else{var d=i.props[u],_=r[u]||new Set;"name"===u&&a||!_.has(d)?(_.add(d),r[u]=_):o=!1}}}return o}}()).reverse().map((function(e,t){var i=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((function(t){return e.props.href.startsWith(t)}))){var a=r({},e.props||{});return a["data-href"]=a.href,a.href=void 0,a["data-optimized-fonts"]=!0,o.default.cloneElement(e,a)}return o.default.cloneElement(e,{key:i})}))}var f=function(e){var t=e.children,n=o.useContext(s.AmpStateContext),r=o.useContext(c.HeadManagerContext);return o.default.createElement(a.default,{reduceComponentsToState:_,headManager:r,inAmpMode:l.isInAmpMode(n)},t)};t.default=f,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(42619).Z)(n(27378)).default.createContext(null);t.LoadableContext=r},81740:function(e,t,n){"use strict";var r=n(65855),i=n(46684);function o(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(76516).Z,c=(0,n(42619).Z)(n(27378)),l=n(59749),u=n(27378).useSyncExternalStore,d=[],p=[],_=!1;function f(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}var h=function(){function e(t,n){r(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return i(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=s({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function m(e){return function(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);n.suspense&&(n.lazy=c.default.lazy(n.loader));var r=null;function i(){if(!r){var t=new h(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!_){var a=n.webpack?n.webpack():n.modules;a&&p.push((function(e){var t,n=o(a);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return i()}}catch(s){n.e(s)}finally{n.f()}}))}function d(){i();var e=c.default.useContext(l.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach((function(t){e(t)}))}var f=n.suspense?function(e,t){return d(),c.default.createElement(n.lazy,s({},e,{ref:t}))}:function(e,t){d();var i=u(r.subscribe,r.getCurrentValue,r.getCurrentValue);return c.default.useImperativeHandle(t,(function(){return{retry:r.retry}}),[]),c.default.useMemo((function(){return i.loading||i.error?c.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?c.default.createElement((t=i.loaded)&&t.__esModule?t.default:t,e):null;var t}),[e,i])};return f.preload=function(){return i()},f.displayName="LoadableComponent",c.default.forwardRef(f)}(f,e)}function b(e,t){for(var n=[];e.length;){var r=e.pop();
1n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return b(e,t)}))}m.preloadAll=function(){return new Promise((function(e,t){b(d).then(e,t)}))},m.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return _=!0,t()};b(p,e).then(n,n)}))},window.__NEXT_PRELOADREADY=m.preloadReady;var g=m;t.default=g},68774:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.headManager,n=e.reduceComponentsToState;function s(){if(t&&t.mountedInstances){var i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}if(i){var c;null==t||null==(c=t.mountedInstances)||c.add(e.children),s()}return o((function(){var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),function(){var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}})),o((function(){return t&&(t._pendingUpdate=s),function(){t&&(t._pendingUpdate=s)}})),a((function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}})),null};var r=(0,n(96808).Z)(n(27378));var i=!1,o=i?function(){}:r.useLayoutEffect,a=i?function(){}:r.useEffect},14239:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});n(27378);var r=n(60042),i=n.n(r),o=n(49589),a={"fill-placeholder-child":"fill-placeholder-child_IXizM",reward_num:"reward_num_cdvFu"},s=n(24246),c=function(e){var t=e.className,n=e.iconUrl,r=e.iconWidth,c=void 0===r?23:r,l=e.num;return(0,s.jsxs)("div",{className:i()(t,a.reward_item,"flex"),children:[(0,s.jsx)("div",{className:i()(a.reward_icon,"g-icon"),children:(0,s.jsx)(o.Z,{src:n,width:c,height:c,fixed:!0,background:!1})}),(0,s.jsx)("span",{className:i()(a.reward_num,"g-num"),children:l})]})}},41768:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(27378),i="bonus-products-wrap_Wmp8N",o="swiper_zzVIT",a=n(60042),s=n.n(a),c=n(45246),l=n(24401),u=n(54098),d=n(71499),p=n(41982),_=n(24246),f=function(e){var t=(0,r.useState)(!1),n=t[0],a=t[1],f=(0,r.useState)(),h=f[0],m=f[1],b=e.cart,g=(b=void 0===b?{}:b).bonusProdListData,v=b.onBonusProdSelect,w=e.miniCartLinked,y=void 0!==w&&w,k=function(e){a(!0),m(e)},x=(0,r.useRef)(null);return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(p.T,{visible:n,onClose:function(){return a(!1)},variantId:h,hiddenElements:d.q}),(0,_.jsxs)("div",{className:s()("bonus-products-wrap",i),children:[(0,_.jsx)("p",{className:"tips",children:null===g||void 0===g?void 0:g.tip}),(0,_.jsx)("div",{children:(0,_.jsx)(l.v,{ref:x,slidesPerView:"auto",spaceBetween:12,pagination:!1,className:s()(o,u.Z.swiper),navigation:!0,navigationHideWhenDisabled:!0,list:null===g||void 0===g?void 0:g.items,render:function(e){return(0,_.jsx)(c.Z,{onQuickView:k,miniCartLinked:y,bonusProduct:e,onBonusProdSelect:v},e.variantId)}})})]})]})}},45246:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(90849),i=n(55732),o=n(34707),a=n.n(o),s=n(27378),c=n(81628),l=n(60951),u=n(85272),d=n(60042),p=n.n(d),_=n(72202),f="bonus-item_z2n8U",h="m_9KgYL",m="disable-mask_vm5ka",b="text_6jSd4",g=n(69640),v=n(32996),w=n(24246);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 k(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){(0,r.Z)(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}var x=function(e){return!(!e.isOnSale||!e.isStock)},E=function(e){var t,n,r,o,d,y=(0,s.useState)(),E=y[0],S=y[1],P=(0,s.useState)(!1),O=P[0],C=P[1],T=(0,v.IA)().t,j=e.onBonusProdSelect,A=e.miniCartLinked,D=void 0!==A&&A,N=e.bonusProduct,I=e.onQuickView,R=e.showType,L=void 0===R?"pc":R,M=(0,_.oR)().miniCartStore,z=N.variants,Z=void 0===z?[]:z,F=N.optionType,V=void 0===F?"image":F,B=N.canSelect,U=void 0!==B&&B,G=N.spendToUnlockBonusText,q=function(){var e=(0,i.Z)(a().mark((function e(t,n){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null===j||void 0===j?void 0:j(t,n);case 2:D&&M.reloadByBonusList();case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}
1(),H=function(e){S(k(k({},e),{},{tradeIn:k(k({},e.tradeIn),{},{hasSelect:O})})),O&&q(e,E).then()};(0,s.useEffect)((function(){!function(){var e=Z.find((function(e){return e.tradeIn.hasSelect}));C(!!e),e||(E?e=Z.find((function(e){return e.variantId==E.variantId})):(e=Z.find((function(e){return x(e)})))||(e=Z[0])),S(e)}()}),[N]);var K=U&&(null===E||void 0===E||null===(t=E.tradeIn)||void 0===t?void 0:t.hasSelect),W=(null===E||void 0===E?void 0:E.isStock)&&(null===E||void 0===E?void 0:E.isOnSale);return E?(0,w.jsxs)("div",{className:p()("bonus-item",f,"m"==L&&h),children:["pc"==L&&(0,w.jsx)("div",{className:p()("ipt"),onClick:function(){return W&&q(E)},children:(0,w.jsx)(c.Z,{className:p()(K?"icon-select1":"icon-radio-unchecked",{"out-of-stock":!W})})}),(0,w.jsx)(l.Z,{className:"pointer g-product-img",product:E,imageSize:80,fixed:!0,showTag:!1,background:!1,canJump:!1,onClick:function(){return null===I||void 0===I?void 0:I(E.variantId)}}),(0,w.jsxs)("div",{className:"info flex-1",children:[(0,w.jsx)(u.Z,{className:"pointer",canJump:!1,product:E,onClick:function(){return null===I||void 0===I?void 0:I(E.variantId)}}),(0,w.jsxs)("div",{className:"prices",children:["points"===(null===E||void 0===E||null===(n=E.tradeIn)||void 0===n?void 0:n.tradeInType)?(0,w.jsxs)("div",{className:"flex flex-middle",children:[(0,w.jsx)(g.M,{size:18,className:"g-icon-points"}),(0,w.jsx)("span",{className:"points",children:null===E||void 0===E||null===(r=E.tradeIn)||void 0===r?void 0:r.points})]}):(0,w.jsx)("div",{children:(0,w.jsx)("strong",{children:null!==E&&void 0!==E&&null!==(o=E.tradeIn)&&void 0!==o&&o.free?T("web_price_free_upper"):null===E||void 0===E||null===(d=E.tradeIn)||void 0===d?void 0:d.dealPriceExchangeDisplay})}),(0,w.jsx)("del",{className:"del-price",children:null===E||void 0===E?void 0:E.shopPriceExchangeDisplay})]}),Z.length>1&&(0,w.jsxs)("div",{className:"options-wrap",children:[(0,w.jsx)("p",{className:"title",children:T("web_cart_bonus_more_options")}),(0,w.jsx)("div",{className:"options flex",children:Z.map((function(e,t){return"image"==V?(0,w.jsx)("div",{className:p()("option-image-wrap",{disabled:!x(e)},{on:e.variantId==E.variantId}),children:(0,w.jsx)("div",{className:"option-image",onClick:function(){return H(e)},children:(0,w.jsx)(l.Z,{background:!1,product:e,imageSize:38,fixed:!0,canJump:!1,showTag:!1,canShowSoldOut:!1})})},e.variantId):(0,w.jsx)("div",{className:p()("option-text-wrap",{disabled:!x(e)},{on:e.variantId==E.variantId}),children:(0,w.jsx)("span",{className:"option-text",onClick:function(){return H(e)},children:e.tradeIn.optionText})},e.variantId)}))})]})]}),"m"===L&&(0,w.jsx)("div",{className:"flex flex-center flex-middle",children:(0,w.jsx)("div",{className:p()("ipt"),onClick:function(){return W&&q(E)},children:(0,w.jsx)(c.Z,{className:p()(K?"icon-select1":"icon-radio-unchecked",{"out-of-stock":!W})})})}),!U&&(0,w.jsx)("div",{className:p()(m,"flex flex-middle flex-center pointer"),onClick:function(){return null===I||void 0===I?void 0:I(E.variantId)},children:(0,w.jsx)("p",{className:b,children:G})})]}):null}},32214:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(90849),i=n(52395),o="activity-tip_Vq-98",a="satisfied_tUB4H",s="unsatisfied_dLcdm",c="bf-apple-watch_tAVz8",l=n(60042),u=n.n(l),d=n(81628),p=n(16918),_=n(7756),f=n(24246),h=function(){return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("h2",{children:"Event Timing and Participation Conditions:"}),(0,f.jsxs)("p",{children:["-This event is exclusively available to users in the United States.",(0,f.jsx)("br",{}),"-Event Period: November 10, 2023, 00:00 PST, to November 29, 2023, 00:00 PST.",(0,f.jsx)("br",{}),"-To qualify for a free Apple Watch, place a single order with an actual payment of $7,777 or more."]}),(0,f.jsx)("h2",{children:"About the Gift:"}),(0,f.jsx)("p",{children:"-Apple Watch Series 9 GPS, 45mm Midnight Aluminum Case with Midnight Sport Band - M/L."}),(0,f.jsx)("h2",{children:"About Shipping:"}),(0,f.jsxs)("p",{children:["-The Apple Watch will be shipped separately from your order items.",(0,f.jsx)("br",{}),"-",_.Z.brand,"'s customer service representatives will contact you after confirming receipt of your order to arrange delivery of the watch."]}),(0,f.jsx)("h2",{children:"About Returns:"}),(0,f.jsxs)("p",{children:["-Items ordered during this event cannot be returned unless there is a quality issue.",(0,f.jsx)("br",{}),"-Contact customer service for specific return policy details."]})]})},m=n(56311),b=n(41768),g=n(27378),v="bonus-products-wrap_PVBRq",w=n(45246),y=n(41982),k=n(71499),x=n(32996),E=function(e){var t,n,r=e.cart,i=(r=void 0===r?{}:r).bonusProdListData,o=r.onBonusProdSelect,a=e.miniCartLinked,s=void 0!==a&&a,c=(0,g.useState)(!1),l=c[0],p=c[1],_=(0,g.useState)(!1),h=_[0],m=_[1],b=(0,g.useState)(),E=b[0],S=b[1],P=(0,x.IA)().t,O=function(e){m(!0),S(e)};return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(y.T,{visible:h,onClose:function(){return m(!1)},variantId:E,hiddenElements:k.q}),(0,f.jsxs)("div",{className:u()("bonus-products-wrap",v),children:[(0,f.jsx)("p",{className:"tips",children:null===i||void 0===i?void 0:i.tip}),!(null===i||void 0===i||!i.items.length)&&(0,f.jsxs)("div",{children:[(0,f.jsx)("div",{children:l?(0,f.jsx)(f.Fragment,{children:null===i||void 0===i||null===(t=i.items)||void 0===t?void 0:t.map((function(e){var t;return(0,f.jsx)(w.Z,{showType:"m",onQuickView:O,miniCartLinked:s,bonusProduct:e,onBonusProdSelect:o},null===(t=e[0])||void 0===t?void 0:t.variantId)}))}):(0,f.jsx)(w.Z,{showType:"m",onQuickView:O,miniCartLinked:s,bonusProduct:null===i||void 0===i?void 0:i.items[0],onBonusProdSelect:o})}),(null===i||void 0===i||null===(n=i.items)||void 0===n?void 0:n.length)>1&&(0,f.jsxs)("div",{className:u()("view-all text-center"),onClick:function(){p(!l)},children:[(0,f.jsx)("span",{children:P(l?"web_common_btn_close":"web_common_view_all")}),"\xa0",(0,f.jsx)(d.Z,{className:l?"icon-arrow-top":"icon-arrow-down"})]})]})]})]})},S=n(53589),P={bfAppleWatch:"icon-gift",freeShipping:"icon-shipped",bundleDeals:"icon-bonus",bonusItem:"icon-bonus"},O=function(e){var t=(0,x.IA)().t,n=e.type,r=void 0===n?"simple":n,i=e.activityLink,l=e.activityType,_=e.status,g=e.cart,v=e.bonusListType,w=void 0===v?"pc":v,y=P[l];if(!y)return null;var k=1===_,O=e.title,C=e.tip,T="bfAppleWatch"===l;T&&(O=t("web_cart_black_friday_title"),C=t("web_cart_black_friday_tip"));var j=(0,f.jsx)("div",{className:u()("status-icon",{"status-icon-whole":"whole"===r}),children:(0,f.jsx)(d.Z,{className:k&&!T?"icon-select":y})}),A=(0,f.jsxs)("div",{className:"text",children:["whole"===r&&(0,f.jsx)("div",{className:"title",children:O}),(0,f.jsx)("div",{className:"tip",dangerouslySetInnerHTML:{__html:C}})]}),D=(0,f.jsx)("div",{className:"arrow text-right",children:(0,f.jsx)(d.Z,{className:"icon-arrow-right"})});return T?(0,f.jsx)("div",{className:u()("activity-tip",o,c),children:(0,f.jsx)(m.Z,{trigger:(0,f.jsxs)("div",{className:"link",children:[j,A,D]}),title:t("web_cart_black_friday_title"),contentSize:"large",content:(0,f.jsx)(h,{})})}):(0,f.jsxs)("div",{className:u()("activity-tip",o,k?a:s),children:[k||!i?(0,f.jsxs)("div",{className:"link",children:[j,A]}):(0,f.jsx)(p.Z,{href:i,children:(0,f.jsxs)("a",{className:"link",children:[j,A,D]})}),g.showBonusProdList&&"bonusItem"===l&&(0,f.jsx)(f.Fragment,{children:S.M||"m"==w?(0,f.jsx)(E,{cart:g}):(0,f.jsx)(b.Z,{cart:g})})]})};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 T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?C(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=function(e){var t=e.className,n=void 0===t?"":t,r=e.type,o=e.cart,a=e.bonusListType;return o.activityTips.length?(0,f.jsx)("div",{className:n,children:(0,f.jsx)(i.Z,{spinning:o.summaryLoading,children:o.activityTips.map((function(e,t){return(0,f.jsx)(O,T(T({},e),{},{type:r,cart:o,bonusListType:a},e),"".concat(e,"-").concat(t))}))})}):null}},497:function(e,t,n){"use strict";n(27378);var r=n(72202),i=n(46126),o=n(86677),a=n(26152),s=n(88303),c=n(46918),l=n(32996),u=n(24246);t.Z=function(e){var t=(0,r.Kw)("userStore").isLogin,n=(0,o.useRouter)(),d=(0,l.IA)().t,p=e.className,_=void 0===p?"":p,f=e.image,h=e.imageSize,m=e.showGoShopping,b=void 0===m||m,g=e.TButtonType,v=void 0===g?"primary":g,w=e.buttonSize,y=void 0===w?"large":w;return(0,u.jsx)("div",{className:_,children:(0,u.jsx)(a.Z,{type:"cart",image:f,imageSize:h,tip:t?d("web_cart_empty_tip"):(0,u.jsxs)(u.Fragment,{children:[d("web_cart_empty_tip"),(0,u.jsx)("br",{}),d("web_cart_empty_login_tip")]}),extra:(0,u.jsxs)(u.Fragment,{children:[b&&(0,u.jsx)("p",{className:"btn-wrap",children:(0,u.jsx)(i.z,{className:"btn-shopping",size:y,type:v,onClick:function(){return n.push(s.g.SHOP)},children:d("web_cart_empty_btn_shopping")})}),!t&&!n.asPath.startsWith("/account/login")&&(0,u.jsx)("p",{className:"btn-wrap",children:(0,u.jsx)(i.z,{className:"btn-login",size:y,type:"e",onClick:function(){return n.push((0,c.generatePath)(s.g.LOGIN,{redirect:s.g.CART}))},children:d("web_common_btn_login")})})]})})})}},34654:function(e,t,n){"use strict";n(27378);var r=n(24246);t.Z=function(e){var t=e.className,n=e.item,i=n.productSkuNum,o=n.optionValueList;return i>1&&o.length>0?(0,r.jsx)("div",{className:t,children:o.join(" / ")}):null}},54334:function(e,t,n){"use strict";n(27378);var r=n(92846),i=n(32996),o=n(24246);t.Z=function(e){var t=e.className,n=e.item,a=n.id,s=n.stockNum,c=n.isChangingQty,l=n.groupCanSelect,u=e.batchActive,d=e.onCheckBoxChange,p=(0,i.IA)().t;return(0,o.jsx)(r.Z,{value:a,className:t,disabled:!u&&(c||0===s||!l),onChange:d,children:(0,o.jsx)("span",{className:"visually-hidden",children:p("web_form_select_label")})})}},99296:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});n(27378);var r=n(60042),i=n.n(r),o="img-wrap_v-QLv",a=n(49589),s=n(77682),c=n(83398),l=n(32996),u=n(75936),d=n(37117),p=n(24246),_=function(e){var t=e.className,n=e.item,r=e.width,_=e.batchActive,f=void 0!==_&&_,h=e.group,m=f?void 0:n.productUrl,b=(0,l.IA)().t,g=n.productTags?function(e){var t;return null===e||void 0===e||e.find((function(e){var n=(0,d.Xk)(e.tag.toLocaleLowerCase(),"picTag");return n&&(t=n),!!n})),t}(n.productTags):void 0;return(0,p.jsxs)("div",{className:i()(o,t),children:[(0,p.jsx)(a.Z,{className:"picture",href:m,src:n.productVariantPic,width:r}),g?(0,p.jsx)("div",{style:{position:"absolute",top:0,left:0},children:(0,p.jsx)(u.F,{tagConfig:g})}):(0,p.jsx)(p.Fragment,{children:!h.forceBatchOperate&&(0,p.jsx)(c.Z,{product:n})}),0===n.stockNum&&(0,p.jsx)(s.Z,{link:m,text:b("web_product_sold_out"),className:"sold-out",canJump:!f})]})}},57632:function(e,t,n){"use strict";n(27378);var r=n(16918),i=n(24246);t.Z=function(e){var t=e.className,n=e.item,o=n.productName,a=n.productUrl,s=e.batchActive,c=void 0!==s&&s;return(0,i.jsx)("div",{className:t,children:c?o:(0,i.jsx)(r.Z,{href:a,children:o})})}},80394:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(90849),i=(n(27378),{"fill-placeholder-child":"fill-placeholder-child_SkK92",prices:"prices_hwRjb","price-activity":"price-activity_ydnS4",red:"red_I1qut",green:"green_Wkuw1",points:"points_Xb0ZD"}),o=n(60042),a=n.n(o),s=n(81628),c=n(25039),l=n(40235),u=n(11644),d=n(72202),p=n(69640),_=n(37117),f=n(32996),h=n(96270),m=n(14239),b=n(24246);function g(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]:{};
1t%2?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w={POINTS_MALL_FLASH_SALE:"green",default:"red"},y=function(e){var t=e.purchaseType,n=e.pointsNum,r=e.variantPriceExchange,i=e.variantPriceExchangeDisplay,o=e.retailPriceExchangeDisplay,a=e.activity,c=a.valid,l=void 0!==c&&c,u=a.code,d=Number(r)>0?i:"FREE";return"POINTS"===t?(0,b.jsxs)("div",{className:"real-price points-price flex flex-middle",children:[(0,b.jsx)(p.M,{className:"points-price-icon"}),n]}):i!==o?(0,b.jsxs)("div",{className:"real-price deal-price",children:[l&&"FLASHSALE"==u&&(0,b.jsx)(s.Z,{className:"icon-a-flashsale"}),d]}):(0,b.jsx)("div",{className:"real-price shop-price",children:d})},k=function(e){var t=e.dealerShopPriceExchangeDisplay;return t?(0,b.jsx)("div",{className:"del-price",children:t}):null},x=function(e){var t=e.purchaseType,n=e.variantPriceExchangeDisplay,r=e.retailPriceExchangeDisplay;return"POINTS"===t||n!==r?(0,b.jsx)("del",{className:"del-price",children:r}):null},E=function(e){var t,n,r,o,s=e.activity,l=s.valid,u=void 0!==l&&l,d=s.code,p=void 0===d?"":d,h=s.text,m=void 0===h?"":h,g=s.timestamp,y=void 0===g?0:g,k=e.loadCart,x=(0,f.IA)().t;if(!u)return null;var E=null===p||void 0===p||null===(t=p.replace("_",""))||void 0===t?void 0:t.toLowerCase(),S=(0,_.Xk)(E,"cartTip");return(0,b.jsxs)("div",{className:a()("price-activity",i["price-activity"],i[w[p]||w.default]),children:[(0,b.jsx)("div",{className:"price-activity-tag",style:v(v({},null===(n=(0,_.H1)(S))||void 0===n?void 0:n.titleStyle),null===(r=(0,_.H1)(S))||void 0===r?void 0:r.wrapStyle),children:(null===S||void 0===S?void 0:S.title)||m}),(0,b.jsx)("div",{style:null===(o=(0,_.H1)(S))||void 0===o?void 0:o.descStyle,children:(0,b.jsx)(c.Z,{className:"price-activity-countdown",isShowDay:!0,endTime:Number(y),render:function(e){return"".concat(x("web_time_ends_in")," ").concat(e.day,":").concat(e.hour,":").concat(e.minute,":").concat(e.second)},onEnd:function(){"function"===typeof k&&k()}})})]})},S=(0,d.Pi)((function(e){var t=e.className,n=e.loadCart,r=e.item,o=e.group,s=(0,d.oR)().userStore.isDealer();if((null===o||void 0===o?void 0:o.groupType)===h.Eg){var c=r.rewardCoin;return(0,b.jsx)(m.Z,{iconUrl:c.icon,num:c.num})}return(0,l.Zi)(r)?(0,b.jsx)("div",{className:a()(t,i.prices),children:(0,b.jsx)("div",{className:"real-price deal-price",children:(0,l.F2)(r)})}):(0,b.jsxs)("div",{className:a()(t,i.prices),children:[(0,b.jsx)(y,v({},r)),s&&(0,b.jsx)(k,v({},r)),(0,b.jsx)(x,v({},r)),!s&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(E,v(v({},r),{},{loadCart:n})),(0,b.jsx)(u.Z,{className:i.points,hasBg:!0,points:r.points})]})]})}))},80840:function(e,t,n){"use strict";n(27378);var r=n(11580),i=n(40235),o=n(32996),a=n(24246);t.Z=function(e){var t=(0,o.IA)().t,n=e.item,s=e.className,c=e.onChangeItemNum,l=e.batchActive,u=void 0!==l&&l,d=e.changeable,p=void 0===d||d,_=n.id,f=n.stockNum,h=n.num;return(0,a.jsx)("div",{className:s,children:(0,i.Zi)(n)||!p?(0,a.jsxs)("span",{className:"g-qty-text",children:[t("web_common_qty"),": ",h]}):(0,a.jsx)(r.Z,{className:"g-qty-input",disabled:0===f||u,value:h,onChange:function(e){return c(_,Number(e))},min:1,max:999})})}},58262:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(90849),i=(n(27378),n(60042)),o=n.n(i),a={"fill-placeholder-child":"fill-placeholder-child_Ce21-","reward-coin-tips":"reward-coin-tips_txyWq",reward_item:"reward_item_l1Gq2",reward_num:"reward_num_X50fp",waring:"waring_CGAiA"},s=n(14239),c=n(24246),l=function(e){var t,n=e.data;return n?(0,c.jsxs)("div",{className:o()(a["reward-coin-tips"],"flex flex-justify"),children:[(0,c.jsx)("div",{className:o()(a.title,"flex-1"),children:n.title}),(0,c.jsx)("div",{className:"flex",children:null===(t=n.rewardCoins)||void 0===t?void 0:t.map((function(e){return(0,c.jsx)(s.Z,{className:o()(a.reward_item,"flex flex-middle"),iconUrl:e.icon,num:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:o()((0,r.Z)({},a.waring,+e.cartCoinNum>+(null===e||void 0===e?void 0:e.num))),children:e.cartCoinNum}),"/",null===e||void 0===e?void 0:e.num]})})}))})]}):null}},71499:function(e,t,n){"use strict";n.d(t,{q:function(){return r}});var r=["price","qty","viewMore","btns"]},54901:function(e,t,n){"use strict";n.d(t,{CR:function(){return d},GR:function(){return c},Hm:function(){return u},Hx:function(){return o},IK:function(){return s},V9:function(){return l},Zg:function(){return p},gZ:function(){return a}});var r=n(27551),i=n(40235),o=function(e){return r.Z.post("/web/cart/v3/select",{data:{cartItemIds:e}})};function a(){return r.Z.post("/web/cart/v2/calculate",{data:{}}).catch((function(){return null}))}function s(e,t){return r.Z.post("/web/cart/update-cart-item-num",{data:{cartItemId:e,cartItemNum:t}})}function c(e){return r.Z.post("/web/cart/delete-cart-item",{data:{cartItemId:e}})}function l(){return r.Z.get("/web/featureConfig/getCartRecommend",{params:{name:"Cart Recommendation"}}).then((function(e){return(0,i.Dr)(e.variants)}))}function u(e){return r.Z.post("/web/cart/delete-cart-item",{data:{cartItemIds:e}})}function d(e){return r.Z.post("/web/cart/v2/checkGroupValid",{data:{cartItems:e}})}function p(){return r.Z.get("/web/bonus/item/list")}},51695:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var r=n(97865),i=n(55732),o=n(90849),a=n(34707),s=n.n(a),c=n(27378),l=n(56850),u=n(69380),d=n(12795),p=n(86677),_=n(88303),f=n(46885),h=n(54901),m=n(8437),b=n(72202),g=n(97421),v=n(57471),w=n(98522),y=n(46918),k=n(42507),x=n(73300),E=n(63898),S=n(56840),P=n(32996),O=n(51657),C=n(62157),T=n(50232),j=n(7756),A=n(65712);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 N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?D(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function I(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){throw e})),f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,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){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){s=!0,o=e})),f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var L=function(e,t){var n,r=!1,i=I((0,E.SW)(t));try{for(i.s();!(n=i.n()).done;){var o,a,s=n.value;if(null!==(o=e[s])&&void 0!==o&&o.isChangingQty||null!==(a=e[s])&&void 0!==a&&a.isDeleting){r=!0;break}}}catch(c){i.e(c)}finally{i.f()}return r},M={totalPrice:0,retailPrice:0,retailDiscount:0,productTotalPrice:0,shipPrice:0,vatPrice:0,couponPrice:0};function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.showCartList,n=void 0===t||t,a=e.showSummary,D=void 0===a||a,I=e.showCoupon,R=void 0===I||I,z=e.showBonusProdList,Z=void 0===z||z,F=e.isMiniCart,V=void 0!==F&&F,B=e.canAriaLive,U=void 0!==B&&B,G=(0,P.IA)(),q=G.t,H=(0,O.Z)({id:"cart-aria-live"}),K=H.onSetAriaLiveContent,W=(0,p.useRouter)(),$=W.pathname===_.g.CART,Y=(0,b.oR)(),X=Y.userStore,J=Y.miniCartStore,Q=X.isDealer(),ee=!1,te=(0,c.useState)([]),ne=te[0],re=te[1],ie=(0,c.useState)(),oe=ie[0],ae=ie[1],se=(0,c.useState)([]),ce=se[0],le=se[1],ue=(0,c.useState)({}),de=ue[0],pe=ue[1],_e=(0,c.useState)({}),fe=_e[0],he=_e[1],me=(0,c.useState)(),be=me[0],ge=me[1],ve=(0,c.useState)(!1),we=ve[0],ye=ve[1],ke=(0,c.useState)(0),xe=ke[0],Ee=ke[1],Se=(0,c.useState)(0),Pe=Se[0],Oe=Se[1],Ce=(0,c.useState)(!1),Te=Ce[0],je=Ce[1],Ae=(0,c.useState)(!1),De=Ae[0],Ne=(Ae[1],(0,c.useState)(!1)),Ie=Ne[0],Re=(Ne[1],(0,c.useState)({})),Le=Re[0],Me=Re[1],ze=(0,c.useState)(!1),Ze=ze[0],Fe=ze[1],Ve=(0,c.useState)(N({},M)),Be=Ve[0],Ue=Ve[1],Ge=(0,c.useState)(),qe=Ge[0],He=Ge[1],Ke=(0,c.useRef)({items:{},checkedIds:{},instockIds:[],summaryLoading:!1,summaryWaiting:!1,cartLoading:!1,cartLoadNext:null,trackCode:"",revenue:0,isPageLoaded:!1,bonusProdList:[],isSelecting:!1}),We=function(){var e=(0,i.Z)(s().mark((function e(){var t,i,o,a,c,l,p,_,b,g,v,w,y,k,S,P,O,T,j,A,I,M,z,F,B=arguments;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=B.length>0&&void 0!==B[0]?B[0]:{},i=t.loadingType,o=void 0===i?"part":i,a=t.isLoadList,c=void 0===a||a,l=t.fromListBonusItem,p=void 0!==l&&l,!(_=Ke.current).cartLoading){e.next=6;break}return _.cartLoadNext=function(){return We(t)},e.abrupt("return");case 6:return _.cartLoading=!0,"whole"===o?ge(!0):Fe(!0),U&&(null===K||void 0===K||K("fetch order summary")),e.next=11,Promise.all([n&&c?(0,x.mB)():null,Z?(0,h.Zg)():null,D?(0,h.gZ)():null,R?(0,f.U0)({page:"cart"}):null]);case 11:if(b=e.sent,g=(0,r.Z)(b,4),v=g[0],w=g[1],y=g[2],k=g[3],_.cartLoading=!1,!_.cartLoadNext){e.next=23;break}_.cartLoadNext(),_.cartLoadNext=null,e.next=64;break;case 23:if(S=L(_.items,_.checkedIds)||_.isSelecting,!v){e.next=55;break}if(!(v.groups.length>0)){e.next=46;break}if(P=v.items,!(O=(0,E.xC)(P))){e.next=32;break}return T=O.reduce((function(e,t){return e[t]=[],e}),{}),et(N(N({},fe),T)).then(),e.abrupt("return");case 32:if(S)for(A in j=(0,E.SW)(_.checkedIds),P)(I=_.items[A])&&(P[A].isChangingQty=I.isChangingQty,P[A].isDeleting=I.isDeleting,P[A].num=I.num,P[A].select=j.includes(A));M=(0,E.Hp)(P),z=(0,E.QJ)(v.groups,P),Ke.current.items=P,Ke.current.checkedIds=z,le(v.groups),pe(P),he(z),ut(M),re(v.activityTips),J.setTotalQty(v.cartProductItemNum),(0,d.d8)(u.O2,JSON.stringify((0,E.SW)(z))),e.next=53;break;case 46:le([]),pe({}),Ee(0),je(!1),re([]),J.setTotalQty(0),(0,d.d8)(u.O2,JSON.stringify([]));case 53:$&&!Ke.current.isPageLoaded&&(Ke.current.isPageLoaded=!0,(0,m.Z0)({detail:v.track.id}),Object.values(v.items).length>0&&y&&(0,m.BH)({items:Object.values(v.items).map((function(e,t){return N(N({},e),{},{list:"cart-".concat(v.cartId),shopPrice:e.variantPriceExchange,position:t+1})})),orderInfo:{id:v.cartId,revenue:Number(y.totalPrice||0).toFixed(2)}})),Ke.current.trackCode=v.track.id;case 55:if(w&&(ae(w),Ke.current.bonusProdList=w.items||[]),!y){e.next=62;break}if(Ue(y),!U||!y.totalPrice){e.next=62;break}return F=(0,C.T4)(y.totalPrice),e.next=62,null===K||void 0===K?void 0:K("".concat(q("web_summary_order_total_price"),", ").concat(F.currencySymbol).concat(F.integer).concat(F.decimal),500);case 62:k&&He(k),S||(ge(!1),Fe(!1),V&&!p&&document.dispatchEvent(new CustomEvent("loadListBonusItem")));case 64:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$e=function(e,t,n){var r=Ke.current,i=(0,S.d9)(r.items);i[t]=N(N({},i[t]),n),"both"!==e&&"status"!==e||(r.items=i),"both"===e&&pe(i)},Ye=function(){var e=(0,i.Z)(s().mark((function e(t,n){var r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,K("".concat(n," items"));
1case 2:if(!(r=Ke.current).items[t].isChangingQty){e.next=6;break}return $e("both",t,{num:n}),e.abrupt("return");case 6:$e("both",t,{num:n,isChangingQty:!0}),Fe(!0),(0,h.IK)(t,n).then((function(e){$e("status",t,{isChangingQty:!1});var i=r.items[t],o=i.realNum;o<n?(0,m.Kc)([N(N({},i),{},{shopPrice:i.variantPriceExchange,num:n-o})]):o>n&&(0,m.CL)([N(N({},i),{},{shopPrice:i.variantPriceExchange,num:o-n})]),i.realNum=n,i.num!==n?Ye(t,i.num):We()})).catch((function(e){$e("both",t,{num:r.items[t].realNum,isChangingQty:!1}),(0,k.z)(e,{reload:{afterClose:function(){We()}}})}));case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Xe=function(){var e=(0,i.Z)(s().mark((function e(t){var n,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Ke.current,Fe(!0),$e("both",t,{isDeleting:!0}),e.prev=3,r=n.items[t],e.next=7,(0,h.GR)(t);case 7:$e("status",t,{isDeleting:!1}),We(),(0,m.CL)([N(N({},r),{},{shopPrice:r.variantPriceExchange})]),e.next=18;break;case 12:e.prev=12,e.t0=e.catch(3),console.log(e.t0),g.Z.error(e.t0.message),$e("both",t,{isDeleting:!1}),Fe(!1);case 18:return e.prev=18,e.finish(18);case 20:case"end":return e.stop()}}),e,null,[[3,12,18,20]])})));return function(t){return e.apply(this,arguments)}}(),Je=function(){var e=(0,i.Z)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,A.Vs)({body:q("web_cart_delete_confirm"),okButtonProps:{type:"danger"},okText:q("web_common_btn_delete"),onOk:function(){Xe(t)}});case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Qe=function(e){ye(e),e&&Me({})},et=function(){var e=(0,i.Z)(s().mark((function e(t){var n,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Ke.current).checkedIds=t,he(t),r=(0,E.SW)(t),je((0,E.xg)(Object.values(n.items),r)),Oe(r.length),Fe(!0),!n.isSelecting){e.next=9;break}return e.abrupt("return");case 9:return n.isSelecting=!0,e.next=12,(0,h.Hx)(r);case 12:n.isSelecting=!1,r.sort().join(",")===(0,E.SW)(n.checkedIds).sort().join(",")?We():et(n.checkedIds);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),tt=function(e){var t=e.target.checked,n={};ce.forEach((function(e){if(t){var r=(0,E.Xj)(e,de);n[e.groupId]=r.filter((function(e){return e.stockNum>0})).map((function(e){return e.id}))}else n[e.groupId]=[]})),et(n)},nt=function(e,t){et(N(N({},fe),{},(0,o.Z)({},e.groupId,t?(0,E.Xj)(e,de).filter((function(e){return e.stockNum>0})).map((function(e){return e.id})):[])))},rt=function(e,t){et(N(N({},fe),{},(0,o.Z)({},e,t)))},it=function(e,t){Me(N(N({},Le),{},(0,o.Z)({},e,t)))},ot=function(e){var t=e.target.checked,n={};ce.forEach((function(e){if(t){var r=(0,E.Xj)(e,de);n[e.groupId]=r.map((function(e){return e.id}))}else n[e.groupId]=[]})),Me(n)},at=function(e,t){Me(N(N({},Le),{},(0,o.Z)({},e.groupId,t?(0,E.Xj)(e,de).map((function(e){return e.id})):[])))},st=function(){var e=(0,i.Z)(s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l.Z.confirm({width:542,title:q("web_cart_delete_confirm"),icon:null,okText:q("web_common_btn_ok"),cancelText:q("web_common_btn_cancel"),okButtonProps:{size:"large"},cancelButtonProps:{size:"large"},centered:!0,wrapClassName:"ant-modal-confirm-title-center",onOk:function(){var e=(0,i.Z)(s().mark((function e(){var t;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=(0,E.SW)(Le),e.next=4,(0,h.Hm)(t);case 4:(0,m.CL)(Object.values(de).filter((function(e){return t.includes(e.id)}
1)).map((function(e){return N(N({},e),{},{shopPrice:e.variantPriceExchange})}))),Me({}),t.length===Object.keys(de).length&&ye(!1),We(),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),g.Z.error(e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ct=function(){var e=(0,i.Z)(s().mark((function e(){var t,n,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(0,d.ej)(u.O2),n=t?JSON.parse(t):[],!((r=(0,E.SW)(fe)).length>0&&n.length>0)){e.next=17;break}return e.prev=4,e.next=7,(0,T.A)(r);case 7:e.next=13;break;case 9:return e.prev=9,e.t0=e.catch(4),"undefined"!==typeof e.t0.code&&u.mT.includes(e.t0.code)?(0,w.pF)({content:e.t0.message,okText:q("web_common_btn_return_to_cart"),afterClose:function(){We({loadingType:"whole",isLoadList:!0})}}):(0,k.z)(e.t0),e.abrupt("return");case 13:(0,m.ku)({items:Object.values(de).map((function(e,t){return N(N({},e),{},{shopPrice:e.variantPriceExchange,position:t})})),orderInfo:{id:Ke.current.trackCode,revenue:Number(Ke.current.revenue||0).toFixed(2)}}),W.push(_.g.CHECKOUT),e.next=18;break;case 17:We();case 18:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(){return e.apply(this,arguments)}}(),lt=function(){var e=(0,i.Z)(s().mark((function e(t,n){var r,i,o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.tradeIn,i=t.variantId,r.hasSelect||"points"!==r.tradeInType||X.checkAuth()){e.next=4;break}return(0,w.pF)({content:q("web_cart_bonus_login_confirm"),okText:q("web_common_btn_login"),onOk:function(){W.push((0,y.generatePath)(_.g.LOGIN,{redirect:W.asPath}))}}),e.abrupt("return");case 4:if(!r.hasSelect||n){e.next=17;break}return e.prev=5,e.next=8,Xe(r.cartItemId);case 8:ee&&J.afterAddCart(-1),We(),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),Fe(!1);case 15:e.next=32;break;case 17:return o=null===n||void 0===n?void 0:n.tradeIn,Fe(!0),e.prev=19,e.next=22,(0,v.FM)([{productVariantId:i,num:1}],"bonusItemTradeIn",o?[o.cartItemId]:[]);case 22:We(),ee&&J.afterAddCart(1),e.next=32;break;case 26:return e.prev=26,e.t1=e.catch(19),(0,w.pF)({content:e.t1.message,okText:q("web_common_btn_ok")}),e.next=31,We();case 31:Fe(!1);case 32:case"end":return e.stop()}}),e,null,[[5,12],[19,26]])})));return function(t,n){return e.apply(this,arguments)}}(),ut=function(e){Ee(e.totalQty),Oe(e.checkedTotalQty),je(e.checkAll)},dt=function(e){var t={details:[{key:"retail",displayName:q("web_summary_retail_price"),displayValue:e.retailPriceExchangeDisplay,value:e.retailPrice,valueExchange:e.retailPriceExchange},{key:"subtotal",displayName:q("web_summary_subtotal"),displayValue:e.totalPriceExchangeDisplay,value:e.totalPrice,valueExchange:e.totalPriceExchange,isTotal:!0}]};return Number(e.discountPrice)>0&&t.details.push({key:"discount",displayName:"",displayValue:"".concat(q("web_summary_tip_already_saved")).concat(e.discountPriceExchangeDisplay),value:e.discountPrice,valueExchange:e.discountPriceExchange,highlight:!0}),e.canObtainPoints&&(t.rewards=[{tip:q("web_summary_tip_reward_points_tooltip",{brand:j.Z.brand}),title:q("web_summary_tip_reward_points",{brand:j.Z.brand}).replace("<span>{{num}}</span>","{{value}}"),type:"points",value:e.canObtainPoints}]),t};return(0,c.useEffect)((function(){We({loadingType:"whole",isLoadList:!0})}),[]),{activityTips:ne,groups:ce,items:de,totalQty:xe,checkedTotalQty:Pe,onChangeItemNum:Ye,onDeleteItem:Xe,onDeleteWithConfirm:Je,loadCart:We,batchActive:we,switchBatch:Qe,cartLoading:be,checkedIds:fe,checkAll:Te,checkAllDisabled:Ie,indeterminate:De,onCheckAll:tt,onGroupCheckAll:nt,onChangeIds:rt,batchCheckedIds:Le,onBatchChangeIds:it,onBatchCheckAll:ot,onBatchGroupCheckAll:at,onBatchDelete:st,summaryLoading:Ze,summaryData:Be,summary:dt(Be),goCheckout:ct,couponsListData:qe,isCartPage:$,isDealer:Q,showBonusProdList:Z,bonusProdListData:oe,onBonusProdSelect:lt}}},30516:function(e,t,n){"use strict";n.d(t,{D3:function(){return o},J8:function(){return r},Pv:function(){return s},d9:function(){return i},x5:function(){return a}});var r=["","0","0.00","$0.00","$0","US$0.00","US$0",0,0,void 0,"free","Free","-"],i={adyenCard:"Adyen_Card",adyenAfterPay:"Adyen_AfterPay",adyenKlarna:"Adyen_Klarna",adyenPayByBank:"Adyen_Pay_By_Bank",adyenAffirmPay:"Adyen_Affirm",klarna:"klarna",paypal:"paypal"},o=[i.adyenCard,i.adyenAfterPay,i.adyenKlarna,i.adyenPayByBank,i.adyenAffirmPay],a=[i.adyenAfterPay,i.adyenKlarna,i.adyenPayByBank,i.adyenAffirmPay],s="SESSION_STORAGE_VERIFY_EMAIL_MARK"},19e3:function(e,t,n){"use strict";n.r(t),n.d(t,{addAppLogGroup:function(){return k},appLogActive:function(){return y},default:function(){return P}});var r=n(73679),i=n(90849),o=n(97865),a=n(27378),s=n(72202),c=n(46126),l="container_bsmne",u="btn-debug_VQDvh",d=n(69380),p=n(12795),_=n(83033),f=n(63651),h=n(60042),m=n.n(h),b=n(49696),g=n(54234),v=n(24246);function w(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 y(){return(0,b.N0)()}function k(e,t){y()&&document.dispatchEvent(new CustomEvent("addAppLog",{detail:{title:e,data:t}}))}var x=function(e){var t=e.title,n=e.data,r=(0,a.useState)(!1),i=r[0],o=r[1];return(0,v.jsxs)("div",{className:"app-log-group",children:[(0,v.jsx)("div",{className:m()("title",{active:i}),onClick:function(){return o(!i)},children:t}),n&&(0,v.jsx)("pre",{children:JSON.stringify(n,null,4)})]})},E=function(e){var t=e.title,n=e.getData,r=(0,a.useState)(),i=r[0],s=r[1];return(0,v.jsxs)("section",{className:"mb-4",children:[(0,v.jsxs)("div",{className:"flex flex-justify flex-middle",children:[(0,v.jsx)(c.z,{onClick:function(){return s(n())},children:t}),!!i&&(0,v.jsx)(g.b,{size:24,onClick:function(){return s(void 0)}})]}),!!i&&(0,v.jsx)("ul",{className:"mt-4",children:Object.entries(i).map((function(e){var t=(0,o.Z)(e,2),n=t[0],r=t[1];return(0,v.jsxs)("li",{children:[n,": ",(0,v.jsx)("span",{className:"text-light",children:r})]},n)}))})]})},S=(0,s.Pi)((function(e){var t=e.logs,n=e.clearLogs,r=(0,s.Kw)("userStore"),u=(0,a.useState)(),_=(u[0],u[1],(0,a.useState)());_[0],_[1];return(0,v.jsxs)("div",{className:l,children:[(0,v.jsxs)("section",{className:"mb-4",children:[(0,v.jsx)(c.z,{onClick:n,children:"Clear Log"}),(0,v.jsx)(f.N,{list:t,render:function(e){return(0,v.jsx)(x,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?w(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}}),(0,v.jsx)(x,{title:"userState",data:r})]}),(0,v.jsx)(E,{title:"Get Global Data in Cookie",getData:function(){return{LANGUAGE:(0,p.ej)(d.Lc)||"",COUNTRY:(0,p.ej)(d.RI)||"",CURRENCY:(0,p.ej)(d.ap)||"",ACCESS_TOKEN:(0,p.ej)(d.tr)||"",LOGIN_TOKEN:(0,p.ej)(d.b1)||"",NATIVE_APIS:(0,p.ej)(d.Xp)||"",NATIVE_THEME:(0,p.ej)(d.UP)||""}}}),(0,v.jsx)(E,{title:"Get All Cookie",getData:function(){var e={};return document.cookie.split("; ").forEach((function(t){var n=t.split("="),r=(0,o.Z)(n,2),i=r[0],a=r[1];e[i]=a})),e}}),(0,v.jsx)(E,{title:"Get Page Url",getData:function(){return{url:window.location.href}}})]})})),P=function(){var e=(0,a.useState)(!1),t=e[0],n=e[1],i=(0,a.useState)([]),o=i[0],s=i[1],l=(0,a.useRef)([]);return(0,a.useEffect)((function(){document.addEventListener("addAppLog",(function(e){var t=[{title:e.detail.title,data:e.detail.data}].concat((0,r.Z)(l.current));l.current=t,s(t)}))}),[]),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(c.z,{type:"base",shape:"circle",size:"small",className:u,onClick:function(){return n(!t)},children:"A"}),(0,v.jsx)(_.dy,{title:"App Debug",open:t,onClose:function(){return n(!1)},children:(0,v.jsx)(S,{logs:o,clearLogs:function(){l.current=[],s([])}})})]})}},42885:function(e,t,n){"use strict";n.d(t,{g7:function(){return b},TX:function(){return h},xA:function(){return m},mF:function(){return g}});var r=n(90849),i=n(90089),o=(n(27378),n(7756)),a=n(67201),s=n(15542),c=n(72202),l=n(24246),u=function(e){var t=e.className,n=e.value;return(0,c.Kw)("rootStore").ua.isPhone?(0,l.jsx)("a",{className:t,href:"whatsapp://send?phone=".concat(n),children:n}):(0,l.jsx)("span",{className:t,children:n})},d=["type"];function p(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(){return o.Z.contact},h=function(e){var t=f().email,n=e.type,r=void 0===n?"default":n,o=(0,i.Z)(e,d),s=(null===t||void 0===t?void 0:t[r])||(null===t||void 0===t?void 0:t.default);return s?(0,l.jsx)(a.Z,_({value:s},o)):null},m=function(e){var t=f().phone;return t?(0,l.jsx)(s.ZP,_(_({value:t.url},e),{},{children:t.text})):null},b=function(e){var t=f().address;return t?(0,l.jsx)("span",_(_({},e),{},{children:t})):null},g=function(e){var t=f().whatsApp;return t?(0,l.jsx)(u,_({value:t},e)):null}},8797:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var r=n(7756),i=n(32996),o=n(24246),a=function(e){var t=e.className,n=(0,i.IA)().t;return(0,o.jsx)("div",{className:t,children:n("web_common_copyright",{year:(new Date).getFullYear(),brand:r.Z.brand})})}},43737:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});n(27378);var r=n(60042),i=n.n(r),o=n(52395),a={"fill-placeholder-child":"fill-placeholder-child_vS68g",loading:"loading_M0OEE",page:"page_fUlAy","ant-spin":"ant-spin"},s=n(24246),c=function(e){var t=e.type,n=void 0===t?"default":t;return(0,s.jsx)("div",{className:i()(a.loading,a[n],"wrapper"),children:(0,s.jsx)(o.Z,{})})}},20638:function(e,t,n){"use strict";n.d(t,{C:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M481.834667 353.834667a42.666667 42.666667 0 0 1 60.330666 0l256 256a42.666667 42.666667 0 0 1-60.330666 60.330666L512 444.330667l-225.834667 225.834666a42.666667 42.666667 0 0 1-60.330666-60.330666l256-256z"}))}},19772:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M853.333333 853.333333V298.666667h42.666667a42.666667 42.666667 0 1 0 0-85.333334h-170.666667V170.666667a128 128 0 0 0-128-128h-170.666666a128 128 0 0 0-128 128v42.666666H128a42.666667 42.666667 0 0 0 0 85.333334h42.666667v554.666666a128 128 0 0 0 128 128h426.666666a128 128 0 0 0 128-128zM640 170.666667v42.666666H384V170.666667q0-17.664 12.501333-30.165334T426.666667 128h170.666666q17.664 0 30.165334 12.501333T640 170.666667zM256 298.666667h512v554.666666q0 17.664-12.501333 30.165334T725.333333 896H298.666667q-17.664 0-30.165334-12.501333T256 853.333333V298.666667z m128 170.666666a42.666667 42.666667 0 1 1 85.333333 0v256a42.666667 42.666667 0 1 1-85.333333 0v-256z m170.666667 0a42.666667 42.666667 0 1 1 85.333333 0v256a42.666667 42.666667 0 1 1-85.333333 0v-256z"}))}},21171:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{paths:["M286.250667 709.12L147.584 246.954667q-1.237333-4.010667-1.621333-8.192-0.426667-4.181333 0-8.362667t1.706666-8.192q1.194667-4.010667 3.2-7.722667t4.693334-6.954666q2.645333-3.242667 5.888-5.888 3.285333-2.645333 6.997333-4.608 3.712-2.005333 7.722667-3.2 5.973333-1.792 12.288-1.792h785.749333q4.224 0 8.32 0.853333 4.138667 0.768 8.021333 2.389333 3.84 1.621333 7.381334 3.968 3.498667 2.304 6.442666 5.290667 2.986667 2.986667 5.333334 6.442667 2.304 3.498667 3.925333 7.381333 1.621333 3.882667 2.432 8.021333 0.853333 4.138667 0.853333 8.32 0 6.272-1.834666 12.245334l-138.666667 462.250666q-0.981333 3.242667-2.474667 6.357334-1.493333 3.072-3.413333 5.845333-2.005333 2.816-4.394667 5.248-2.389333 2.474667-5.12 4.522667-2.730667 2.048-5.76 3.584-3.029333 1.578667-6.272 2.688-3.242667 1.066667-6.656 1.621333-3.370667 0.512-6.784 0.512H327.125333q-3.413333 0-6.826666-0.512-3.370667-0.554667-6.613334-1.621333-3.242667-1.109333-6.272-2.688-3.029333-1.536-5.76-3.584-2.773333-2.048-5.12-4.522667-2.389333-2.432-4.352-5.248-1.962667-2.773333-3.456-5.845333-1.493333-3.114667-2.474666-6.4z m81.706666-24.490667l-40.832 12.245334v-42.666667h508.416v42.666667l-40.874666-12.245334 138.666666-462.208 40.874667 12.245334v42.666666H188.458667v-42.666666l40.832-12.245334 138.666666 462.208z","M3.541333 98.432h155.52q3.413333 0 6.784 0.554667 3.328 0.512 6.570667 1.578666 3.242667 1.109333 6.272 2.645334 3.029333 1.578667 5.802667 3.626666 2.730667 2.048 5.12 4.48 2.346667 2.432 4.352 5.248 1.962667 2.773333 3.413333 5.845334 1.536 3.072 2.517333 6.314666l168.064 555.818667-81.664 24.704L118.186667 153.429333l40.874666-12.373333v42.666667H3.541333v-85.333334z","M341.333333 885.333333a74.666667 74.666667 0 1 0 149.333334 0 74.666667 74.666667 0 1 0-149.333334 0Z","M682.666667 885.333333a74.666667 74.666667 0 1 0 149.333333 0 74.666667 74.666667 0 1 0-149.333333 0Z"]}))}},93855:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M883.484444 225.848889a42.666667 42.666667 0 0 1 0 60.302222l-469.333333 469.333333a42.666667 42.666667 0 0 1-60.302222 0L140.515556 542.151111a42.666667 42.666667 0 1 1 60.302222-60.302222l183.182222 183.182222 439.182222-439.182222a42.666667 42.666667 0 0 1 60.302222 0z"}))}},54234:function(e,t,n){"use strict";n.d(t,{b:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M225.848889 225.848889a42.666667 42.666667 0 0 1 60.302222 0L512 451.697778l225.848889-225.848889a42.666667 42.666667 0 1 1 60.302222 60.302222L572.302222 512l225.848889 225.848889a42.666667 42.666667 0 1 1-60.302222 60.302222L512 572.302222l-225.848889 225.848889a42.666667 42.666667 0 1 1-60.302222-60.302222L451.697778 512 225.848889 286.151111a42.666667 42.666667 0 0 1 0-60.302222z"}))}},79949:function(e,t,n){"use strict";n.d(t,{l:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M512 42.666667c259.2 0 469.333333 210.133333 469.333333 469.333333s-210.133333 469.333333-469.333333 469.333333S42.666667 771.2 42.666667 512 252.8 42.666667 512 42.666667z m128.042667 298.666666a42.624 42.624 0 0 0-30.122667 12.501334L512 451.754667 414.08 353.834667a42.624 42.624 0 1 0-60.288 60.245333L451.712 512l-97.92 97.92a42.624 42.624 0 0 0 60.288 60.245333L512 572.288l97.92 97.877333a42.624 42.624 0 1 0 60.245333-60.245333L572.245333 512l97.92-97.92A42.624 42.624 0 0 0 640.042667 341.333333z"}))}},14894:function(e,t,n){"use strict";n.d(t,{v:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M512 981.333333c259.2 0 469.333333-210.133333 469.333333-469.333333S771.2 42.666667 512 42.666667 42.666667 252.8 42.666667 512s210.133333 469.333333 469.333333 469.333333z m77.653333-93.184A661.504 661.504 0 0 0 705.024 554.666667h188.629333a384.298667 384.298667 0 0 1-304 333.482666zM705.024 469.333333a661.418667 661.418667 0 0 0-115.370667-333.482666A384.298667 384.298667 0 0 1 893.653333 469.333333h-188.586666z m-270.762667-333.482666A661.461333 661.461333 0 0 0 318.933333 469.333333h-188.586666a384.298667 384.298667 0 0 1 303.914666-333.482666zM404.266667 469.333333Q415.146667 303.189333 512 172.672q96.853333 130.56 107.733333 296.661333H404.266667z m0 85.333334h215.424q-10.88 166.101333-107.690667 296.618666Q415.146667 720.768 404.309333 554.666667z m-85.333334 0a661.461333 661.461333 0 0 0 115.413334 333.482666A384.298667 384.298667 0 0 1 130.346667 554.666667h188.586666z"}))}},29051:function(e,t,n){"use strict";n.d(t,{y:function(){return _}});var r=n(90849),i=n(90089),o=n(50678),a=n(60042),s=n.n(a),c={"fill-placeholder-child":"fill-placeholder-child_IAmij",rotate:"rotate_8anZ0","circle-rotate":"circle-rotate_FQ-Ru","round-rotate":"round-rotate_ZEQLA"},l=n(24246),u=["className","shape"];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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(e){var t=e.className,n=e.shape,r=(0,i.Z)(e,u);return(0,l.jsx)(o.W,p(p({className:s()(t,n&&"default"!==n?c["".concat(n,"-rotate")]:c.rotate),shape:n},r),{},{path:"M512 42.666667a42.666667 42.666667 0 0 1 42.666667 42.666666v170.666667a42.666667 42.666667 0 1 1-85.333334 0V85.333333a42.666667 42.666667 0 0 1 42.666667-42.666666zM180.181333 180.181333a42.666667 42.666667 0 0 1 60.330667 0l120.746667 120.746667a42.666667 42.666667 0 0 1-60.330667 60.330667l-120.746667-120.746667a42.666667 42.666667 0 0 1 0-60.330667z m663.637334 0a42.666667 42.666667 0 0 1 0 60.330667l-120.746667 120.746667a42.666667 42.666667 0 1 1-60.330667-60.330667l120.746667-120.746667a42.666667 42.666667 0 0 1 60.330667 0zM42.666667 512a42.666667 42.666667 0 0 1 42.666666-42.666667h170.666667a42.666667 42.666667 0 1 1 0 85.333334H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666667z m682.666666 0a42.666667 42.666667 0 0 1 42.666667-42.666667h170.666667a42.666667 42.666667 0 1 1 0 85.333334h-170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667z m-364.074666 150.741333a42.666667 42.666667 0 0 1 0 60.330667l-120.746667 120.746667a42.666667 42.666667 0 0 1-60.330667-60.330667l120.746667-120.746667a42.666667 42.666667 0 0 1 60.330667 0z m301.482666 0a42.666667 42.666667 0 0 1 60.330667 0l120.746667 120.746667a42.666667 42.666667 0 0 1-60.330667 60.330667l-120.746667-120.746667a42.666667 42.666667 0 0 1 0-60.330667zM512 725.333333a42.666667 42.666667 0 0 1 42.666667 42.666667v170.666667a42.666667 42.666667 0 1 1-85.333334 0v-170.666667a42.666667 42.666667 0 0 1 42.666667-42.666667z"}))}},4743:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M780.501333 183.168L469.333333 494.336 529.664 554.666667l311.168-311.168v125.013333h85.333333V140.501333a42.666667 42.666667 0 0 0-42.666666-42.666666h-234.666667v85.333333h131.669333zM128 938.666667h725.333333a42.666667 42.666667 0 0 0 42.666667-42.666667V469.333333h-85.333333v384H170.666667V213.333333h384V128H128a42.666667 42.666667 0 0 0-42.666667 42.666667v725.333333a42.666667 42.666667 0 0 0 42.666667 42.666667z"}))}},63010:function(e,t,n){"use strict";n.d(t,{U:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M170.666667 512a42.666667 42.666667 0 0 1 42.666666-42.666667h597.333334a42.666667 42.666667 0 0 1 0 85.333334H213.333333A42.666667 42.666667 0 0 1 170.666667 512z"}))}},13467:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{paths:["M256 213.333333m42.666667 0l85.333333 0q42.666667 0 42.666667 42.666667l0 512q0 42.666667-42.666667 42.666667l-85.333333 0q-42.666667 0-42.666667-42.666667l0-512q0-42.666667 42.666667-42.666667Z","M597.333333 213.333333m42.666667 0l85.333333 0q42.666667 0 42.666667 42.666667l0 512q0 42.666667-42.666667 42.666667l-85.333333 0q-42.666667 0-42.666667-42.666667l0-512q0-42.666667 42.666667-42.666667Z"]}))}},46634:function(e,t,n){"use strict";n.d(t,{J:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M341.333333 807.594667q-1.194667 0.725333-2.474666 1.322666l-2.56 1.152q-1.28 0.554667-2.56 0.981334l-2.688 0.853333-2.730667 0.597333-2.730667 0.426667q-1.408 0.213333-2.816 0.298667-1.365333 0.085333-2.773333 0.085333t-2.773333-0.085333q-1.408-0.085333-2.773334-0.256l-2.773333-0.469334q-1.365333-0.256-2.730667-0.64-1.322667-0.341333-2.645333-0.810666-1.322667-0.426667-2.645333-0.981334l-2.56-1.152q-1.237333-0.597333-2.432-1.28l-2.389334-1.493333-2.261333-1.664q-1.109333-0.853333-2.133333-1.749333-1.066667-0.938667-2.048-1.92t-1.92-2.048q-0.896-1.024-1.749334-2.133334-0.853333-1.109333-1.621333-2.261333-0.810667-1.194667-1.493333-2.389333-0.682667-1.194667-1.28-2.474667-0.64-1.237333-1.194667-2.56l-0.981333-2.56-0.810667-2.688-0.64-2.730667-0.426667-2.730666q-0.213333-1.408-0.298666-2.773334l-0.085334-2.816V253.354667q0-2.816 0.384-5.546667 0.341333-2.816 1.066667-5.504t1.792-5.290667q1.066667-2.56 2.474667-4.992 1.408-2.432 3.114666-4.650666 1.706667-2.218667 3.669334-4.181334 1.962667-2.005333 4.181333-3.712 2.218667-1.706667 4.650667-3.072 2.432-1.408 4.992-2.474666 2.56-1.066667 5.290666-1.792t5.504-1.109334q2.773333-0.341333 5.546667-0.341333 2.816 0 5.546667 0.341333 2.816 0.384 5.504 1.109334t5.290666 1.792q2.56 1.066667 4.992 2.474666l448 258.645334q1.194667 0.682667 2.389334 1.493333 1.152 0.768 2.261333 1.621333t2.133333 1.749334q1.066667 0.938667 2.048 1.92t1.92 2.048q0.896 1.024 1.749334 2.133333 0.853333 1.109333 1.621333 2.261333 0.810667 1.194667 1.493333 2.389334 0.682667 1.194667 1.28 2.474666l1.194667 2.56 0.981333 2.56 0.810667 2.688 0.64 2.730667 0.426667 2.730667q0.213333 1.408 0.298666 2.816 0.085333 1.365333 0.085334 2.773333t-0.085334 2.773333q-0.085333 1.408-0.298666 2.816l-0.426667 2.730667-0.64 2.730667-0.853333 2.645333-0.938667 2.645333-1.152 2.56-1.322667 2.432q-0.682667 1.194667-1.493333 2.389334-0.768 1.152-1.621333 2.261333t-1.749334 2.133333q-0.938667 1.066667-1.92 2.048t-2.048 1.92q-1.024 0.896-2.133333 1.749334-1.109333 0.853333-2.261333 1.621333-1.194667 0.810667-2.389334 1.493333L341.333333 807.594667z"}))}},8749:function(e,t,n){"use strict";n.d(t,{S:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M512 170.666667a42.666667 42.666667 0 0 1 42.666667 42.666666v256h256a42.666667 42.666667 0 0 1 0 85.333334h-256v256a42.666667 42.666667 0 0 1-85.333334 0v-256h-256a42.666667 42.666667 0 0 1 0-85.333334h256v-256A42.666667 42.666667 0 0 1 512 170.666667z"}))}},72676:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M752.76288 157.013333l-26.760533 46.353067q-31.70304-22.03648-67.857067-37.31456Q588.3904 136.533333 512 136.533333t-146.158933 29.518507q-67.3792 28.494507-119.330134 80.459093-51.964587 51.950933-80.459093 119.330134Q136.533333 435.623253 136.533333 512q0 76.363093 29.518507 146.158933 28.494507 67.3792 80.44544 119.330134 51.964587 51.964587 119.330133 80.459093Q435.636907 887.466667 512 887.466667q76.363093 0 146.158933-29.518507 67.3792-28.494507 119.330134-80.459093 51.950933-51.950933 80.459093-119.330134Q887.466667 588.376747 887.466667 512a27.306667 27.306667 0 1 0-54.613334 0v0.054613q0 65.262933-25.204053 124.832427-24.357547 57.576107-68.77184 101.9904-44.427947 44.427947-101.9904 68.77184Q577.276587 832.853333 512 832.853333q-65.303893 0-124.88704-25.204053-57.576107-24.357547-101.9904-68.77184-44.427947-44.414293-68.77184-101.9904Q191.146667 577.29024 191.146667 512t25.204053-124.88704q24.343893-57.576107 68.77184-101.9904 44.414293-44.414293 101.9904-68.77184Q446.696107 191.146667 512 191.146667q65.29024 0 124.873387 25.204053 33.01376 13.96736 61.713066 34.515627L669.98272 300.373333a13.653333 13.653333 0 0 0 11.823787 20.48h165.533013a13.653333 13.653333 0 0 0 11.823787-20.48l-82.766507-143.36a13.653333 13.653333 0 0 0-23.647573 0zM431.18592 650.56768q0.600747-0.273067 1.160533-0.628053l209.05984-120.695467q0.559787-0.314027 1.119574-0.69632 0.546133-0.354987 1.051306-0.764587 0.518827-0.395947 0.996694-0.8192 0.505173-0.423253 0.955733-0.887466 0.464213-0.45056 0.90112-0.955734l0.8192-0.996693q0.395947-0.518827 0.750933-1.051307 0.382293-0.559787 0.69632-1.119573l0.6144-1.133227 0.546134-1.18784 0.436906-1.2288 0.395947-1.242453 0.300373-1.283413 0.191147-1.26976q0.109227-0.65536 0.136533-1.31072 0.054613-0.641707 0.054614-1.297067t-0.04096-1.297067q-0.04096-0.65536-0.136534-1.31072l-0.2048-1.26976-0.300373-1.283413-0.382293-1.242453-0.45056-1.201494-0.559787-1.18784q-0.273067-0.600747-0.600747-1.160533-0.314027-0.559787-0.69632-1.119573-0.354987-0.546133-0.750933-1.051307l-0.8192-0.996693q-0.436907-0.505173-0.90112-0.955734-0.45056-0.45056-0.955733-0.90112l-0.996694-0.8192q-0.518827-0.395947-1.051306-0.750933-0.546133-0.36864-1.119574-0.682667l-209.05984-120.70912q-1.133227-0.65536-2.321066-1.160533-1.2288-0.49152-2.484907-0.832853-1.242453-0.341333-2.566827-0.518827-1.26976-0.16384-2.594133-0.16384-1.283413 0-2.58048 0.16384-1.297067 0.177493-2.566827 0.518827t-2.4576 0.832853q-1.201493 0.505173-2.33472 1.160533-1.14688 0.628053-2.184533 1.4336-1.024 0.791893-1.938773 1.733974-0.914773 0.914773-1.72032 1.938773-0.791893 1.037653-1.447254 2.184533-0.65536 1.133227-1.160533 2.321067-0.49152 1.215147-0.832853 2.4576-0.341333 1.26976-0.505174 2.58048-0.177493 1.26976-0.177493 2.594133v241.390934l0.04096 1.324373q0.04096 0.628053 0.136533 1.297067l0.2048 1.26976 0.300374 1.26976 0.382293 1.256106 0.45056 1.18784q0.273067 0.628053 0.559787 1.201494 0.273067 0.600747 0.600746 1.160533 0.314027 0.546133 0.682667 1.10592 0.36864 0.546133 0.764587 1.06496 0.4096 0.518827 0.8192 0.98304 0.436907 0.505173 0.90112 0.955733 0.45056 0.464213 0.955733 0.90112l0.996693 0.8192 1.051307 0.77824 1.119573 0.682667q0.546133 0.32768 1.133227 0.6144l1.18784 0.53248q0.6144 0.259413 1.2288 0.45056 0.628053 0.232107 1.2288 0.382293 0.65536 0.177493 1.283413 0.300374l1.297067 0.218453q0.641707 0.08192 1.297067 0.12288 0.641707 0.04096 1.297066 0.04096t1.283414-0.04096q0.669013-0.04096 1.324373-0.136533l1.26976-0.2048 1.26976-0.273067 1.256107-0.4096q0.600747-0.191147 1.201493-0.45056l1.18784-0.546133z"}))}},33224:function(e,t,n){"use strict";n.d(t,{j:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M709.034667 769.365333q-25.344 20.224-53.76 35.925334-28.330667 15.701333-58.965334 26.453333-30.592 10.709333-62.592 16.128Q501.76 853.333333 469.333333 853.333333q-9.386667 0-18.858666-0.426666-9.386667-0.512-18.773334-1.408-9.386667-0.938667-18.730666-2.304-9.301333-1.408-18.56-3.242667t-18.346667-4.138667q-9.173333-2.261333-18.218667-4.992-9.002667-2.773333-17.877333-5.973333-8.874667-3.114667-17.578667-6.741333t-17.237333-7.68q-8.533333-4.010667-16.853333-8.448-8.277333-4.437333-16.384-9.258667-8.106667-4.864-15.914667-10.112-7.850667-5.248-15.402667-10.837333-7.594667-5.632-14.890666-11.605334-7.253333-5.973333-14.250667-12.288-6.997333-6.357333-13.653333-13.013333t-13.013334-13.653333q-6.314667-6.997333-12.288-14.293334-5.973333-7.253333-11.605333-14.848-5.589333-7.552-10.837333-15.36-5.248-7.893333-10.112-15.957333-4.821333-8.106667-9.258667-16.384-4.437333-8.32-8.490667-16.853333-4.010667-8.533333-7.637333-17.237334-3.584-8.704-6.784-17.578666-3.157333-8.874667-5.888-17.92-2.773333-8.96-5.034667-18.133334-2.304-9.130667-4.138666-18.389333-1.834667-9.258667-3.242667-18.56-1.365333-9.344-2.304-18.730667-0.896-9.386667-1.365333-18.773333Q85.333333 478.72 85.333333 469.333333q0-9.386667 0.426667-18.858666 0.512-9.386667 1.408-18.773334 0.938667-9.386667 2.304-18.730666 1.408-9.301333 3.242667-18.56t4.138666-18.346667q2.261333-9.173333 5.034667-18.218667 2.730667-9.002667 5.888-17.877333 3.2-8.874667 6.826667-17.578667 3.584-8.704 7.594666-17.237333 4.053333-8.533333 8.490667-16.853333 4.437333-8.277333 9.258667-16.384 4.864-8.106667 10.112-15.914667 5.248-7.850667 10.837333-15.402667 5.632-7.594667 11.605333-14.890666 5.973333-7.253333 12.288-14.250667 6.357333-6.997333 13.013334-13.653333t13.653333-13.013334q6.997333-6.314667 14.250667-12.288 7.296-5.973333 14.890666-11.605333 7.552-5.589333 15.36-10.837333 7.893333-5.248 15.957334-10.112 8.106667-4.821333 16.384-9.258667 8.32-4.437333 16.853333-8.490667 8.533333-4.010667 17.237333-7.637333 8.704-3.584 17.578667-6.784 8.874667-3.157333 17.92-5.888 8.96-2.773333 18.133333-5.034667 9.130667-2.304 18.389334-4.138666 9.258667-1.834667 18.56-3.242667 9.344-1.365333 18.730666-2.304 9.386667-0.896 18.773334-1.365333Q459.946667 85.333333 469.333333 85.333333q9.386667 0 18.858667 0.426667 9.386667 0.512 18.773333 1.408 9.386667 0.938667 18.730667 2.304 9.301333 1.408 18.56 3.242667 9.216 1.834667 18.346667 4.138666 9.173333 2.261333 18.218666 5.034667 9.002667 2.730667 17.877334 5.888 8.874667 3.2 17.578666 6.826667 8.704 3.584 17.237334 7.594666 8.533333 4.053333 16.853333 8.490667 8.277333 4.437333 16.384 9.258667 8.106667 4.864 15.914667 10.112 7.850667 5.248 15.402666 10.837333 7.594667 5.632 14.848 11.605333 7.296 5.973333 14.293334 12.288 6.997333 6.357333 13.653333 13.013334t13.013333 13.653333q6.314667 6.997333 12.288 14.250667 5.973333 7.296 11.605334 14.890666 5.589333 7.552 10.837333 15.36 5.248 7.893333 10.112 15.957334 4.821333 8.106667 9.258667 16.384 4.437333 8.32 8.490666 16.853333 4.010667 8.533333 7.637334 17.237333 3.584 8.704 6.784 17.578667 3.157333 8.874667 5.930666 17.92 2.730667 8.96 4.992 18.133333 2.304 9.130667 4.138667 18.389334 1.834667 9.258667 3.242667 18.56 1.365333 9.344 2.304 18.730666 0.896 9.386667 1.365333 18.773334Q853.333333 459.946667 853.333333 469.333333q0 32.426667-5.461333 64.426667-5.418667 31.957333-16.128 62.549333-10.752 30.634667-26.453333 59.008t-35.925334 53.674667l156.288 156.330667a42.666667 42.666667 0 0 1-60.330666 60.330666l-156.288-156.288zM768 469.333333q0-123.733333-87.466667-211.2Q593.066667 170.666667 469.333333 170.666667 345.6 170.666667 258.133333 258.133333 170.666667 345.6 170.666667 469.333333q0 123.733333 87.466666 211.2Q345.6 768 469.333333 768q123.733333 0 211.2-87.466667Q768 593.066667 768 469.333333z"}))}},15388:function(e,t,n){"use strict";n.d(t,{G:function(){return u}});var r=n(90849),i=n(90089),o=n(50678),a=n(24246),s=["type"];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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(e){var t=e.type,n=void 0===t?"default":t,r=(0,i.Z)(e,s);switch(n){case"half":return(0,a.jsx)(o.W,l(l({},r),{},{path:"M512 64.00000033a42.666667 42.666667 0 0 1 38.286222 23.779555l121.912889 247.011556 272.611556 39.822222a42.666667 42.666667 0 0 1 23.608889 72.817778l-197.233778 192.113778 46.535111 271.416888a42.666667 42.666667 0 0 1-61.895111 44.942223L512 827.79022233l-243.825778 128.227555a42.666667 42.666667 0 0 1-61.895111-44.942222l46.535111-271.473778L55.580444 447.43111133a42.666667 42.666667 0 0 1 23.608889-72.817778l272.611556-39.822222 121.912889-247.011556A42.666667 42.666667 0 0 1 512 64.00000033z m0.568889 672.881777a42.666667 42.666667 0 0 1 19.342222 4.892445l187.107556 98.417778-35.726223-208.327111a42.666667 42.666667 0 0 1 12.288-37.774223l151.438223-147.512889-209.351111-30.606222a42.666667 42.666667 0 0 1-32.085334-23.324444L512.568889 204.17422233v532.707555z"}));case"outline":return(0,a.jsx)(o.W,l(l({},r),{},{path:"M512 64.00000033a42.666667 42.666667 0 0 1 38.286222 23.779555l121.912889 247.011556 272.611556 39.822222a42.666667 42.666667 0 0 1 23.608889 72.817778l-197.233778 192.113778 46.535111 271.416888a42.666667 42.666667 0 0 1-61.895111 44.942223L512 827.79022233l-243.825778 128.227555a42.666667 42.666667 0 0 1-61.895111-44.942222l46.535111-271.473778L55.580444 447.43111133a42.666667 42.666667 0 0 1 23.608889-72.817778l272.611556-39.822222 121.912889-247.011556A42.666667 42.666667 0 0 1 512 64.00000033z m0 139.036444L418.417778 392.64711133a42.666667 42.666667 0 0 1-32.085334 23.324444l-209.351111 30.606222 151.438223 147.512889a42.666667 42.666667 0 0 1 12.288 37.774223l-35.726223 208.327111 187.164445-98.417778a42.666667 42.666667 0 0 1 39.708444 0l187.164445 98.417778-35.726223-208.327111a42.666667 42.666667 0 0 1 12.288-37.774223l151.438223-147.512889-209.351111-30.606222a42.666667 42.666667 0 0 1-32.085334-23.324444L512 203.03644433z"}));default:return(0,a.jsx)(o.W,l(l({},r),{},{path:"M512 64.00000033a42.666667 42.666667 0 0 1 38.286222 23.779555l121.912889 247.011556 272.611556 39.822222a42.666667 42.666667 0 0 1 23.608889 72.817778l-197.233778 192.113778 46.535111 271.416888a42.666667 42.666667 0 0 1-61.895111 44.942223L512 827.79022233l-243.825778 128.227555a42.666667 42.666667 0 0 1-61.895111-44.942222l46.535111-271.473778L55.580444 447.43111133a42.666667 42.666667 0 0 1 23.608889-72.817778l272.611556-39.822222 121.912889-247.011556A42.666667 42.666667 0 0 1 512 64.00000033z"}))}}},60365:function(e,t,n){"use strict";n.d(t,{f:function(){return c}});var r=n(90849),i=n(50678),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return(0,o.jsx)(i.W,s(s({},e),{},{path:"M512 170.666667a128 128 0 1 0 0 256 128 128 0 0 0 0-256zM298.666667 298.666667a213.333333 213.333333 0 1 1 426.666666 0A213.333333 213.333333 0 0 1 298.666667 298.666667z m-108.202667 361.130666A213.333333 213.333333 0 0 1 341.333333 597.333333h341.333334a213.333333 213.333333 0 0 1 213.333333 213.333334v85.333333a42.666667 42.666667 0 1 1-85.333333 0v-85.333333a128 128 0 0 0-128-128H341.333333a128 128 0 0 0-128 128v85.333333a42.666667 42.666667 0 1 1-85.333333 0v-85.333333a213.333333 213.333333 0 0 1 62.464-150.869334z"}))}},50678:function(e,t,n){"use strict";n.d(t,{W:function(){return _}});var r=n(90849),i=n(63651),o=n(23767),a=n(60042),s=n.n(a),c={"fill-placeholder-child":"fill-placeholder-child_5K5-f",circle:"circle_2xRTh",round:"roun
1d_JGYDH",down:"down_qiKF0",left:"left_O5Cmh",right:"right_pHuHa"},l=n(24246);function u(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"};var _=function(e){var t=e.className,n=e.style,a=e.size,u=void 0===a?"1em":a,_=e.path,f=e.paths,h=e.shape,m=void 0===h?"default":h,b=e.direction,g=void 0===b?"up":b,v=e.onClick,w=e.children,y=function(e){var t={};return!1!==e&&("number"===typeof(e=e||16)&&(e=(0,o._P)(e)),t.width=e,t.height=e),t}(u),k=(0,l.jsxs)(l.Fragment,{children:[!!_&&(0,l.jsx)("path",{d:_}),(0,l.jsx)(i.N,{tag:!1,list:f,render:function(e){return(0,l.jsx)("path",{d:e})}}),w]});return"default"!==m?(0,l.jsx)("span",{className:s()(t,"sw-icon",(0,r.Z)({},c[g],g&&"up"!==g),c[m]),style:d(d({},n),y),children:(0,l.jsx)("svg",d(d({width:"100%",height:"100%"},p),{},{children:k}))}):(0,l.jsx)("svg",d(d(d({className:s()(t,"sw-icon",(0,r.Z)({},c[g],g&&"up"!==g)),style:n,onClick:v},y),p),{},{children:k}))}},46126:function(e,t,n){"use strict";n.d(t,{z:function(){return v}});var r=n(90089),i=n(90849),o=n(27378),a=n(86834),s=n(60042),c=n.n(s),l=n(29051),u=n(54151),d=n(24246),p=["type","size","shape","block","loading","disabled","icon","text","className","children"],_=["htmlType"];function f(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m={middle:"md",small:"sm",large:"lg",mini:"xs"};function b(e){var t=e.className,n=e.type,r=void 0===n?"default":n,o=e.size,a=void 0===o?"middle":o,s=e.shape,l=void 0===s?u.r.buttonDefaultType||"default":s,d=e.loading,p=void 0!==d&&d,_=e.disabled,f=void 0!==_&&_,h=e.block,b=void 0!==h&&h,g=e.icon,v=e.text,w=e.children,y=u.r.buttonTypes.includes(r)?r:"default";return c()(t,"no-style"===y?"sw-btn-no-style":c()("sw-btn","sw-btn-".concat(y),!1===a?"":"sw-btn-".concat(m[a])),{"sw-btn-disabled":f},{"sw-btn-loading":p},{"sw-btn-full":b},{"sw-btn-icon-only":!!g&&!(w||v)},(0,i.Z)({},"sw-btn-".concat(l),"default"!==l&&!1!==l))}var g=function(e){var t=e.children;return(0,d.jsx)("span",{className:"sw-btn-icon",children:t})},v=(0,o.forwardRef)((function(e,t){var n=e.type,i=void 0===n?"default":n,s=(e.size,e.shape,e.block,e.loading),c=void 0!==s&&s,u=e.disabled,f=void 0!==u&&u,m=e.icon,v=e.text,w=(e.className,e.children),y=(0,r.Z)(e,p),k=v||w;if("href"in y)return(0,d.jsxs)(a.r,h(h({},y),{},{ref:t,className:b(e),children:[c&&(0,d.jsx)(g,{children:(0,d.jsx)(l.y,{size:"100%"})}),m&&!c&&(0,d.jsx)(g,{children:m}),(0,o.isValidElement)(k)||"no-style"===i?k:k?(0,d.jsx)("span",{className:"sw-text",children:k}):null]}));var x=y.htmlType,E=void 0===x?"button":x,S=(0,r.Z)(y,_);return(0,d.jsxs)("button",h(h({},S),{},{ref:t,type:E,className:b(e),disabled:f||c,children:[c&&(0,d.jsx)(g,{children:(0,d.jsx)(l.y,{size:"100%"})}),m&&!c&&(0,d.jsx)(g,{children:m}),(0,o.isValidElement)(k)||"no-style"===i?k:k?(0,d.jsx)("span",{className:"sw-text",children:k}):null]}))}))},70522:function(e,t,n){"use strict";n.d(t,{U:function(){return Se}});var r=n(90849),i=n(90089),o=n(27378),a=n(13958),s=n(62921),c=n(54315),l=n(24246);var u=new WeakMap;Map;function d(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=function(e,t){const n=e.length,r=p(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}(e,t);return-1===n?void 0:e[n]}function p(e){return e!==e||0===e?0:Math.trunc(e)}var _=n(76949),f=n(37517),h=n(23392),m=n(39447),b=n(13099),g=n(24395),v="Collapsible",[w,y]=(0,a.b)(v),[k,x]=w(v),E=o.forwardRef(((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:s,...c}=e,[u,d]=(0,f.T)({prop:r,defaultProp:i??!1,onChange:s,caller:v});return(0,l.jsx)(k,{scope:n,disabled:a,contentId:(0,g.M)(),open:u,onOpenToggle:o.useCallback((()=>d((e=>!e))),[d]),children:(0,l.jsx)(h.WV.div,{"data-state":j(u),"data-disabled":a?"":void 0,...c,ref:t})})}));E.displayName=v;var S="CollapsibleTrigger",P=o.forwardRef(((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=x(S,n);return(0,l.jsx)(h.WV.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":j(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,_.M)(e.onClick,i.onOpenToggle)})}
1));P.displayName=S;var O="CollapsibleContent",C=o.forwardRef(((e,t)=>{const{forceMount:n,...r}=e,i=x(O,e.__scopeCollapsible);return(0,l.jsx)(b.z,{present:n||i.open,children:({present:e})=>(0,l.jsx)(T,{...r,ref:t,present:e})})}));C.displayName=O;var T=o.forwardRef(((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...a}=e,c=x(O,n),[u,d]=o.useState(r),p=o.useRef(null),_=(0,s.e)(t,p),f=o.useRef(0),b=f.current,g=o.useRef(0),v=g.current,w=c.open||u,y=o.useRef(w),k=o.useRef(void 0);return o.useEffect((()=>{const e=requestAnimationFrame((()=>y.current=!1));return()=>cancelAnimationFrame(e)}),[]),(0,m.b)((()=>{const e=p.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";const t=e.getBoundingClientRect();f.current=t.height,g.current=t.width,y.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),d(r)}}),[c.open,r]),(0,l.jsx)(h.WV.div,{"data-state":j(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!w,...a,ref:_,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":v?`${v}px`:void 0,...e.style},children:w&&i})}));function j(e){return e?"open":"closed"}var A=E,D=P,N=C,I=o.createContext(void 0);var R="Accordion",L=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[M,z,Z]=function(e){const t=e+"CollectionProvider",[n,r]=(0,a.b)(t),[i,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{const{scope:t,children:n}=e,r=o.useRef(null),a=o.useRef(new Map).current;return(0,l.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})};d.displayName=t;const p=e+"CollectionSlot",_=(0,c.Z8)(p),f=o.forwardRef(((e,t)=>{const{scope:n,children:r}=e,i=u(p,n),o=(0,s.e)(t,i.collectionRef);return(0,l.jsx)(_,{ref:o,children:r})}));f.displayName=p;const h=e+"CollectionItemSlot",m="data-radix-collection-item",b=(0,c.Z8)(h),g=o.forwardRef(((e,t)=>{const{scope:n,children:r,...i}=e,a=o.useRef(null),c=(0,s.e)(t,a),d=u(h,n);return o.useEffect((()=>(d.itemMap.set(a,{ref:a,...i}),()=>{d.itemMap.delete(a)}))),(0,l.jsx)(b,{[m]:"",ref:c,children:r})}));return g.displayName=h,[{Provider:d,Slot:f,ItemSlot:g},function(t){const n=u(e+"CollectionConsumer",t);return o.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},r]}(R),[F,V]=(0,a.b)(R,[Z,y]),B=y(),U=o.forwardRef(((e,t)=>{const{type:n,...r}=e,i=r,o=r;return(0,l.jsx)(M.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,l.jsx)($,{...o,ref:t}):(0,l.jsx)(W,{...i,ref:t})})}));U.displayName=R;var[G,q]=F(R),[H,K]=F(R,{collapsible:!1}),W=o.forwardRef(((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=(()=>{}),collapsible:a=!1,...s}=e,[c,u]=(0,f.T)({prop:n,defaultProp:r??"",onChange:i,caller:R});return(0,l.jsx)(G,{scope:e.__scopeAccordion,value:o.useMemo((()=>c?[c]:[]),[c]),onItemOpen:u,onItemClose:o.useCallback((()=>a&&u("")),[a,u]),children:(0,l.jsx)(H,{scope:e.__scopeAccordion,collapsible:a,children:(0,l.jsx)(J,{...s,ref:t})})})})),$=o.forwardRef(((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=(()=>{}),...a}=e,[s,c]=(0,f.T)({prop:n,defaultProp:r??[],onChange:i,caller:R}),u=o.useCallback((e=>c(((t=[])=>[...t,e]))),[c]),d=o.useCallback((e=>c(((t=[])=>t.filter((t=>t!==e))))),[c]);return(0,l.jsx)(G,{scope:e.__scopeAccordion,value:s,onItemOpen:u,onItemClose:d,children:(0,l.jsx)(H,{scope:e.__scopeAccordion,collapsible:!0,children:(0,l.jsx)(J,{...a,ref:t})})})})),[Y,X]=F(R),J=o.forwardRef(((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:i,orientation:a="vertical",...c}=e,u=o.useRef(null),d=(0,s.e)(u,t),p=z(n),f="ltr"===function(e){const t=o.useContext(I);return e||t||"ltr"}(i),m=(0,_.M)(e.onKeyDown,(e=>{if(!L.includes(e.key))return;const t=e.target,n=p().filter((e=>!e.ref.current?.disabled)),r=n.findIndex((e=>e.ref.current===t)),i=n.length;if(-1===r)return;e.preventDefault();let o=r;const s=i-1,c=()=>{o=r+1,o>s&&(o=0)},l=()=>{o=r-1,o<0&&(o=s)};switch(e.key){case"Home":o=0;break;case"End":o=s;break;case"ArrowRight":"horizontal"===a&&(f?c():l());break;case"ArrowDown":"vertical"===a&&c();break;case"ArrowLeft":"horizontal"===a&&(f?l():c());break;case"ArrowUp":"vertical"===a&&l()}n[o%i].ref.current?.focus()}));return(0,l.jsx)(Y,{scope:n,disabled:r,direction:i,orientation:a,children:(0,l.jsx)(M.Slot,{scope:n,children:(0,l.jsx)(h.WV.div,{...c,"data-orientation":a,ref:d,onKeyDown:r?void 0:m})})})})),Q="AccordionItem",[ee,te]=F(Q),ne=o.forwardRef(((e,t)=>{const{__scopeAccordion:n,value:r,...i}=e,o=X(Q,n),a=q(Q,n),s=B(n),c=(0,g.M)(),u=r&&a.value.includes(r)||!1,d=o.disabled||e.disabled;return(0,l.jsx)(ee,{scope:n,open:u,disabled:d,triggerId:c,children:(0,l.jsx)(A,{"data-orientation":o.orientation,"data-state":le(u),...s,...i,ref:t,disabled:d,open:u,onOpenChange:e=>{e?a.onItemOpen(r):a.onItemClose(r)}})})}));
1ne.displayName=Q;var re="AccordionHeader",ie=o.forwardRef(((e,t)=>{const{__scopeAccordion:n,...r}=e,i=X(R,n),o=te(re,n);return(0,l.jsx)(h.WV.h3,{"data-orientation":i.orientation,"data-state":le(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})}));ie.displayName=re;var oe="AccordionTrigger",ae=o.forwardRef(((e,t)=>{const{__scopeAccordion:n,...r}=e,i=X(R,n),o=te(oe,n),a=K(oe,n),s=B(n);return(0,l.jsx)(M.ItemSlot,{scope:n,children:(0,l.jsx)(D,{"aria-disabled":o.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...s,...r,ref:t})})}));ae.displayName=oe;var se="AccordionContent",ce=o.forwardRef(((e,t)=>{const{__scopeAccordion:n,...r}=e,i=X(R,n),o=te(se,n),a=B(n);return(0,l.jsx)(N,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})}));function le(e){return e?"open":"closed"}ce.displayName=se;var ue=U,de=ne,pe=ie,_e=ae,fe=ce,he=n(60042),me=n.n(he),be=n(20638),ge=n(86834),ve=n(87025),we=n(8437),ye=["key"],ke=["href","target","className","onClick"];function xe(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 Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Se=function(e){var t=e.list,n=e.accordion,r=void 0!==n&&n,a=e.collapsible,s=void 0===a||a,c=e.value,u=e.defaultValue,d=e.onChange,p=e.getTrackData,_=e.className,f=(0,o.useState)(u||[]),h=f[0],m=f[1];return(0,o.useEffect)((function(){c&&m(c)}),[c]),(0,l.jsx)(ue,{className:me()(_,"sw-collapse"),type:r?"single":"multiple",collapsible:r?s:void 0,value:r?h[0]||"":h,onValueChange:function(e){var t=Array.isArray(e)?e:e?[e]:[];c||m(t),null===d||void 0===d||d(t)},children:t.map((function(e,t){var n=e.key,r=(0,i.Z)(e,ye),o=r.triggerOnlyOnIcon,a=void 0!==o&&o,s=r.headerProps,c=r.body,u=r.className,d=r.style,_=s||{},f=_.href,m=_.target,b=_.className,g=_.onClick,v=(0,i.Z)(_,ke),w=function(e){var t=e.expandIcon,n=e.expandIconPosition,r=void 0===n?"right":n,i=e.triggerOnlyOnIcon,o=void 0!==i&&i,a=e.disabled,s=void 0!==a&&a,c=e.body,l=["sw-collapse-header user-select-none"];return!1!==t&&(l.push("flex"),"left"===r&&l.push("flex-reverse")),!c||o||s||l.push("pointer"),l.join(" ")}(r),y=!!c,k=h.includes(n),x="function"===typeof p?p(r,t):void 0;return(0,l.jsxs)(de,{className:me()(u,"sw-collapse-item",{"sw-collapse-item-active":k}),style:d,value:n,children:[(0,l.jsx)(Pe,{isHeader:y&&!a,children:(0,l.jsx)(Oe,{isTrigger:y&&!a,children:f?(0,l.jsx)(ge.r,Ee(Ee({className:me()(w,b,"block"),href:f,target:m},v),{},{onClick:function(e){null===g||void 0===g||g(e),x&&(0,we.Du)(Ee(Ee({},x),{},{action:"click"}))},children:(0,l.jsx)(Ce,Ee(Ee({},r),{},{isActive:k,trackData:x}))})):(0,l.jsx)("div",Ee(Ee({className:me()(w,b)},v),{},{onClick:function(e){null===g||void 0===g||g(e),!h.includes(n)&&x&&(0,we.Du)(Ee(Ee({},x),{},{action:"click"}))},children:(0,l.jsx)(Ce,Ee(Ee({},r),{},{isActive:k,trackData:x}))}))})}),!!c&&(0,l.jsx)(fe,{className:"sw-collapse-body-wrap",children:(0,l.jsx)("div",{className:"sw-collapse-body",children:c})})]},n)}))})},Pe=function(e){var t=e.isHeader,n=e.children;return t?(0,l.jsx)(pe,{asChild:!0,children:n}):n},Oe=function(e){var t=e.isTrigger,n=e.children;return t?(0,l.jsx)(_e,{asChild:!0,children:n}):n},Ce=function(e){var t=e.title,n=e.extra,r=e.expandIcon,i=void 0===r||r,o=e.triggerOnlyOnIcon,a=void 0!==o&&o,s=e.disabled,c=void 0!==s&&s,u=e.isActive,d=e.trackData,p=e.body;return(0,l.jsxs)(l.Fragment,{children:[!!n&&(0,l.jsx)("div",{className:"sw-collapse-extra",children:n}),(0,l.jsx)(ve.ZP,{trigger:"impr",data:d,children:(0,l.jsx)("div",{className:me()("sw-collapse-title",{"flex-1":!1!==i}),children:t})}),!1!==i&&(0,l.jsx)(Oe,{isTrigger:!!p&&a&&!c,children:(0,l.jsx)("div",{className:me()("sw-collapse-trigger user-select-none low-line",{pointer:a&&!c}),children:"function"===typeof i?i(u):!0===i?(0,l.jsx)(be.C,{direction:u?"up":"down",className:"sw-collapse-
1arrow"}):i})})]})}},25039:function(e,t,n){"use strict";n.d(t,{I:function(){return y},Z:function(){return k}});var r=n(90849),i=n(90089),o=n(27378),a=n(72202),s=n(64584);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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u,d={items:[],startTime:0,startLocTime:0},p=function(e){return(e<10?"0":"")+e},_=function(e,t){return t[e>1?1:0]},f=function(e,t){var n=Object.assign({},u,e),r=n.endTime,i=n.container;if(!document.body.contains(i))return!1;var o=Math.max(r-t,0);if(i.innerHTML=n.render(function(e,t){var n=Math.floor(e/86400);e-=24*n*60*60;var r=Math.floor(e/3600);e-=60*r*60;var i=Math.floor(e/60),o=e-60*i;!t.isShowDay&&n>0&&(r=24*n+r,n=0);var a=_(n,t.dayText),s=_(r,t.hourText),c=_(i,t.minuteText),l=_(o,t.secondText);return{day:p(n),hour:p(r),minute:p(i),second:p(o),dayText:a,hourText:s,minuteText:c,secondText:l}}(o,n)),n.onUpdate&&n.onUpdate(i,o),o>0)return!0;var a=n.endContainer||i;if(n.endRender){var s=n.endRender(a);s&&(a.innerHTML=s)}return n.onEnd&&n.onEnd(a),!1},h=(0,s.Z)((function(){if(d.startTime<=0)return!1;var e=Math.floor(Date.now()/1e3),t=d.startTime+(e-d.startLocTime);return d.items=d.items.filter((function(e){return f(e,t)})),d.items.length>0}),1e3),m=n(81628),b=n(24246),g=["className","style","label","arrow"];function v(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=(0,a.Pi)((function(e){var t=(0,a.oR)().userStore.state.currentTime,n=(0,o.useRef)(null),r=e.className,s=e.style,c=e.label,p=e.arrow,_=void 0!==p&&p,f=(0,i.Z)(e,g),v=f.endTime>0&&t>0;return(0,o.useEffect)((function(){var e,r;v&&(e=t,r={dayText:["DAY","DAYS"],hourText:["HOUR","HOURS"],minuteText:["MINUTE","MINUTES"],secondText:["SECOND","SECONDS"]},d.startTime>0||e<=0||(u=l({endTime:0,isShowDay:!1,render:function(e){return(Number(e.day)>0?"".concat(e.day,":"):"")+"".concat(e.hour,":").concat(e.minute,":").concat(e.second)}},r),d.startTime=e,d.startLocTime=Math.floor(Date.now()/1e3),d.items.length>0&&h.start()),n.current&&function(e,t){if(t.endTime>0){for(var n=d.items,r=0;r<n.length;r++)if(n[r].container===e)return;d.items.push(l({container:e},t)),h.start()}}(n.current,w(w({},f),{},{endContainer:c?n.current.parentElement:void 0})))}),[v]),v?c?(0,b.jsxs)("div",{className:r,style:s,children:[e.label,(0,b.jsx)("div",{ref:n}),!1!==_&&("boolean"!==typeof _?_:(0,b.jsx)(m.Z,{className:"icon-arrow-right"}))]}):(0,b.jsx)("div",{ref:n,className:r,style:s}):null})),k=y},98180:function(e,t,n){"use strict";n.d(t,{Pq:function(){return S},Ts:function(){return P},Vq:function(){return R}});var r=n(55732),i=n(97865),o=n(90849),a=n(90089),s=n(34707),c=n.n(s),l=n(27378),u=n(11901),d=n(60042),p=n.n(d),_=n(46126),f=n(54234),h=n(54151),m=n(32996),b=n(24246),g=["className"],v=["className","loading"],w=["className"],y=["className","style","children"];function k(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]:{};
1t%2?k(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=h.r.dialog||{},S="sw-dialog-input",P="sw-dialog-form",O=function(e){return e.target instanceof Element&&Boolean(e.target.closest(".ant-message"))},C=function(e){var t=e.className,n=(0,a.Z)(e,g);return(0,b.jsx)("div",x({className:p()(t,"sw-dialog-wrapper bg-inherit relative z-index-0")},n))},T=function(e){var t=e.className,n=e.title,r=e.children;return n||r?(0,b.jsx)("div",{className:p()(t,"sw-dialog-header sticky top-0 bg-inherit z-index-1"),children:r||(0,b.jsx)(j,{children:n})}):null},j=function(e){var t=e.children,n=e.visible,r=void 0===n||n;return(0,b.jsx)(u.Dx,{className:p()("sw-dialog-title",{"visually-hidden":!r}),children:t})},A=function(e){var t=e.children;return(0,b.jsx)(u.x8,{asChild:!0,children:t})},D=function(e){var t=e.className,n=e.loading,r=(0,a.Z)(e,v),i=(0,m.IA)().t,o=r.okText,s=r.okButtonProps,c=r.onOk,l=r.cancelText,u=void 0!==l&&l,d=r.cancelType,_=void 0===d?"cancel":d,f=r.cancelButtonProps,h=r.onCancel,g=r.children;return o||u||g?(0,b.jsx)("div",{className:p()(t,"sw-dialog-footer sticky bottom-0 bg-inherit z-index-1 flex"),children:g||(0,b.jsxs)(b.Fragment,{children:[!!u&&(0,b.jsx)(N,x({className:p()(null===f||void 0===f?void 0:f.className,"sw-dialog-btn-".concat(_)),type:"auxiliary"===_?E.auxiliaryButtonType:E.cancelButtonType,onClick:h,text:!0===u?i("web_common_btn_cancel"):u},f)),!!o&&(0,b.jsx)(N,x({className:p()(null===s||void 0===s?void 0:s.className,"sw-dialog-btn-ok"),type:E.okButtonType,onClick:c,loading:n||(null===s||void 0===s?void 0:s.loading),text:!0===o?i("web_common_btn_ok"):o},s))]})}):null},N=function(e){var t=e.className,n=(0,a.Z)(e,w);return(0,b.jsx)(_.z,x({className:p()(t,"flex-1"),size:E.footerButtonSize||"normal"},n))},I=function(e){var t=e.className,n=e.children,r=e.bodyStyle;return(0,b.jsx)("div",{className:p()(t,"sw-dialog-body"),style:r,children:n})},R=l.forwardRef((function(e,t){var n=e.className,o=e.style,s=e.children,d=(0,a.Z)(e,y),h=d.width,g=void 0===h?520:h,v=d.height,w=d.zIndex,k=d.trigger,E=d.header,S=void 0===E||E,P=d.body,N=d.footer,R=void 0===N||N,L=d.title,M=d.closeIcon,z=void 0!==M&&M,Z=d.cancelText,F=d.okText,V=d.onOk,B=d.onCancel,U=d.okButtonProps,G=d.cancelButtonProps,q=d.cancelType,H=d.bodyClassName,K=d.bodyStyle,W=d.mask,$=void 0===W||W,Y=d.maskClosable,X=void 0===Y||Y,J=d.maskClassName,Q=d.maskStyle,ee=d.keyboard,te=void 0===ee||ee,ne=d.open,re=d.onOpenChange,ie=d.onClose,oe=d.closable,ae=d.getContainer,se=d.modal,ce=void 0===se||se,le=(0,m.IA)().t,ue=!1!==oe&&te,de=!1!==oe&&X,pe=l.useState(!1),_e=(0,i.Z)(pe,2),fe=_e[0],he=_e[1],me=void 0!==ne,be=me?ne:fe,ge=l.useCallback(function(){var e=(0,r.Z)(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ie){e.next=13;break}return e.prev=1,e.next=4,ie(t);case 4:if(!1!==e.sent){e.next=7;break}return e.abrupt("return");case 7:e.next=13;break;case 9:return e.prev=9,e.t0=e.catch(1),console.error("Dialog onClose error:",e.t0),e.abrupt("return");case 13:me||he(!1),null===re||void 0===re||re(!1);case 15:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}(),[me,re,ie]),ve=l.useCallback((function(e){if(e)return me||he(!0),void(null===re||void 0===re||re(!0));me||he(!1),null===re||void 0===re||re(!1)}),[me,re]),we=(0,l.useState)(null),ye=we[0],ke=we[1];(0,l.useEffect)((function(){if("function"===typeof ae){var e=ae();e&&ke(e)}}),[ae]);var xe=l.useState(!1),Ee=(0,i.Z)(xe,2),Se=Ee[0],Pe=Ee[1],Oe=function(){var e=(0,r.Z)(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Se){e.next=2;break}return e.abrupt("return");case 2:if(V){e.next=5;break}return ge(t),e.abrupt("return");case 5:return Pe(!0),e.prev=6,e.next=9,V(t);case 9:!1!==e.sent&&ge(t),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),console.error("Dialog onOk error:",e.t0);case 16:return e.prev=16,Pe(!1),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[6,13,16,19]])})));return function(t){return e.apply(this,arguments)}}(),Ce=function(){var e=(0,r.Z)(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!B){e.next=13;break}return e.prev=1,e.next=4,B();case 4:if(!1!==e.sent){e.next=7;break}return e.abrupt("return");case 7:e.next=13;break;case 9:return e.prev=9,e.t0=e.catch(1),console.error("Dialog onCancel error:",e.t0),e.abrupt("return");case 13:ge(t);case 14:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}();return(0,b.jsxs)(u.fC,{open:be,onOpenChange:ve,modal:ce,children:[!!k&&(0,b.jsx)(u.xz,{asChild:!0,children:k}),(0,b.jsxs)(u.h_,{container:ye,children:[$&&(0,b.jsx)(u.aV,{className:p()(J,"sw-dialog-mask"),style:Q}),(0,b.jsxs)(u.VY,{ref:t,onPointerDownOutside:function(e){e.preventDefault(),de&&!O(e)&&ge()},onInteractOutside:function(e){O(e)&&e.preventDefault()},onEscapeKeyDown:function(e){ue?(e.preventDefault(),null===re||void 0===re||re
1(!1)):e.preventDefault()},"aria-describedby":void 0,className:p()(n,"sw-dialog flex flex-vertical"),style:x(x({width:"number"===typeof g?"".concat(g,"px"):g,height:"number"===typeof v?"".concat(v,"px"):v},void 0!==w?{zIndex:w}:{}),o),children:[(!S||!L)&&(0,b.jsx)(j,{visible:!1,children:L||le("web_common_dialog")}),!!z&&(0,b.jsx)(A,{children:(0,b.jsx)(_.z,{type:"no-style",className:"sw-dialog-close",onClick:function(e){ge(e)},children:"boolean"!==typeof z?z:(0,b.jsx)(f.b,{})})}),(0,b.jsxs)(C,{children:[!!S&&(0,b.jsx)(T,{title:L,children:!0!==S?S:void 0}),P?(0,b.jsx)(I,{className:H,bodyStyle:K,children:P}):s,!1!==R&&(0,b.jsx)(D,{cancelText:Z,okText:F,onOk:Oe,onCancel:Ce,okButtonProps:U,cancelButtonProps:G,cancelType:q,loading:Se,children:!0!==R?R:void 0})]})]})]})]})}))},83033:function(e,t,n){"use strict";n.d(t,{dy:function(){return A},Ng:function(){return j},uh:function(){return S},ze:function(){return C},OX:function(){return x},Do:function(){return O}});var r=n(90849),i=n(90089),o=n(27378),a=n(11901),s=n(60042),c=n.n(s),l=n(46126),u=n(20638),d=n(54234);var p=n(24246),_=["className","safeAreaInsetBottom"],f=["className","onPointerDown","onPointerMove","onPointerUp","onPointerCancel"],h=["className","type"],m=["className"],b=["className","style","children"];function g(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?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w=function(e){return e.target instanceof Element&&Boolean(e.target.closest(".ant-message"))},y=function(e){var t=e.className,n=e.safeAreaInsetBottom,r=(0,i.Z)(e,_);return(0,p.jsx)("div",v({className:c()(t,"sw-drawer-wrapper flex-1",{"sw-drawer-safe-area":n})},r))},k=function(e){var t=e.className,n=e.onPointerDown,r=e.onPointerMove,o=e.onPointerUp,a=e.onPointerCancel,s=(0,i.Z)(e,f);return(0,p.jsx)("div",v(v({className:c()(t,"sw-drawer-handle"),role:"presentation","aria-hidden":!0,onPointerDown:n,onPointerMove:r,onPointerUp:o,onPointerCancel:a},s),{},{children:(0,p.jsx)("span",{className:"sw-drawer-handle-bar"})}))},x=function(e){var t=e.className,n=e.children,r=e.title,i=e.titleVisible,o=void 0===i||i,a=e.extra,s=e.closeIcon,l=void 0===s||s,_=e.closeIconType,f=void 0===_?"x":_,h=e.closePlacement,m=void 0===h?"right":h;return r&&(!r||o)||a||l||n&&!0!==n?(0,p.jsx)("div",{className:c()(t,"sw-drawer-header sticky top-0 bg-inherit flex flex-middle z-index-1",{"flex-reverse":"right"===m}),children:n&&!0!==n?n:(0,p.jsxs)(p.Fragment,{children:[!l&&!!a&&(0,p.jsx)(P,{}),l&&(0,p.jsx)(S,{children:(0,p.jsx)(O,{children:"boolean"!==typeof l?l:"x"===f?(0,p.jsx)(d.b,{size:!1}):(0,p.jsx)(u.C,{direction:"left"})})}),!!r&&(0,p.jsx)(E,{visible:o,children:r}),a,l&&!a&&(0,p.jsx)(P,{})]})}):r&&!o?(0,p.jsx)(E,{visible:!1,children:r}):null},E=function(e){var t=e.children,n=e.visible,r=void 0===n||n;return(0,p.jsx)(a.Dx,{className:c()("sw-drawer-title flex-1",{"visually-hidden":!r}),children:t})},S=function(e){var t=e.children;return(0,p.jsx)(a.x8,{asChild:!0,children:t})},P=function(e){var t=e.className,n=e.children;return(0,p.jsx)("div",{className:c()(t,"sw-drawer-header-widget h-full"),children:n})},O=o.forwardRef((function(e,t){var n=e.className,r=(e.type,(0,i.Z)(e,h));return(0,p.jsx)(l.z,v(v({},r),{},{ref:t,className:c()(n,"sw-drawer-header-btn h-full"),type:"no-style"}))})),C=function(e){var t=e.className,n=e.cancelText,r=e.children;return!r&&!n||!0===r&&!n?null:(0,p.jsx)("div",{className:c()(t,"sw-drawer-footer sticky bottom-0 bg-inherit z-index-1"),children:r&&!0!==r?r:(0,p.jsx)(S,{children:(0,p.jsx)(T,{children:n})})})},T=function(e){e.className;var t=(0,i.Z)(e,m);return(0,p.jsx)(l.z,v(v({},t),{},{type:"primary",block:!0}))},j=o.forwardRef((function(e,t){var n=e.className,r=e.children;return(0,p.jsx)(a.dk,{asChild:!0,children:(0,p.jsx)("div",{ref:t,className:c()(n,"sw-drawer-body relative z-index-0"),children:r})})})),A=function(e){var t=e.className,n=e.style,r=e.children,s=(0,i.Z)(e,b),l=s.width,u=s.height,d=s.placement,_=void 0===d?"bottom":d,f=s.safeAreaInsetBottom,h=void 0===f||f,m=s.trigger,g=s.header,E=void 0===g||g,S=s.body,P=s.footer,O=void 0===P||P,T=s.cancelText,A=s.mask,D=void 0===A||A,N=s.maskClosable,I=void 0===N||N,R=s.maskClassName,L=s.maskStyle,M=s.open,z=s.onOpenChange,Z=s.onClose,F=s.defaultOpen,V=void 0!==F&&F,B=s.closable,U=void 0===B||B,G=s.modal,q=void 0===G||G,H=s.swipeable,K=void 0!==H&&H,W=s.toTopCounter,$=(0,o.useRef)(null),Y=s.closeIcon,X=s.closeIconType,J=s.closePlacement;U||"undefined"!==typeof Y||(Y=!1),"left"!==_||!1===Y||X||(X="arrow"),"left"===_&&"undefined"===typeof J&&(J="left");var Q=K&&"bottom"===_&&U,ee=function(e){var t=e.enabled,n=e.open,r=e.onOpenChange,i=e.onClose,a=(0,o.useRef)(null),s=(0,o.useRef)({active:!1,startY:0,deltaY:0,pointerId:-1}),c=(0,o.useRef)(!1),l=(0,o.useCallback)((function(){var e=a.current;e&&(e.style.transform="",e.style.transition="",e.classList.remove("sw-drawer-dragging"))}),[]),u=(0,o.useCallback)((function(){var e=a.current;if(!e)return null===r||void 0===r||r(!1),void(null===i||void 0===i||i());c.current=!0;var t=e.getBoundingClientRect().height||window.innerHeight;e.classList.add("sw-drawer-dragging","sw-drawer-settled"),e.style.transition="transform ".concat(220,"ms ease"),e.offsetHeight,e.style.transform="translate3d(0, ".concat(t,"px, 0)");var n=!1,o=function t(o){n||o&&o.propertyName&&"transform"!==o.propertyName||(n=!0,e.removeEventListener("transitionend",t),window.clearTimeout(s),null===r||void 0===r||r(!1),null===i||void 0===i||i())};e.addEventListener("transitionend",o);var s=window.setTimeout((function(){return o()}),280)}),[i,r]);(0,o.useEffect)((function(){var e=a.current;if(t&&e){if(!n){var r=c.current?250:0,i=window.setTimeout((function(){c.current=!1,l(),e.classList.remove("sw-drawer-settled")}),r);return function(){return window.clearTimeout(i)}}c.current=!1;var o=window.setTimeout((function(){e.classList.add("sw-drawer-settled")}),320);return function(){return window.clearTimeout(o)}}}),[n,t,l]);var d=(0,o.useCallback)((function(e){if(t&&("mouse"!==e.pointerType||0===e.button)){s.current={active:!0,startY:e.clientY,deltaY:0,pointerId:e.pointerId},e.currentTarget.setPointerCapture(e.pointerId);var n=a.current;n&&(n.classList.add("sw-drawer-dragging","sw-drawer-settled"),n.style.transition="none")}}),[t]),p=(0,o.useCallback)((function(e){var t=s.current;if(t.active&&e.pointerId===t.pointerId){var n=Math.max(0,e.clientY-t.startY);t.deltaY=n;var r=a.current;r&&(r.style.transform="translate3d(0, ".concat(n,"px, 0)"))}}),[]),_=(0,o.useCallback)((function(e){var t=s.current;if(t.active&&e.pointerId===t.pointerId)if(t.active=!1,e.currentTarget.hasPointerCapture(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId),t.deltaY>=80)u();else{var n=a.current;n&&(n.classList.add("sw-drawer-settled"),n.style.transition="transform 0.2s ease",n.style.transform="translate3d(0, 0, 0)",n.addEventListener("transitionend",(function e(){n.style.transform="",n.style.transition="",n.classList.remove("sw-drawer-dragging"),n.removeEventListener("transitionend",e)})))}}),[u]);return{contentRef:a,handleProps:{onPointerDown:d,onPointerMove:p,onPointerUp:_,onPointerCancel:_}}}({enabled:Q,open:M,onOpenChange:z,onClose:Z}),te=ee.contentRef,ne=ee.handleProps;return(0,o.useEffect)((function(){W&&M&&function(e){var t=$.current;t&&setTimeout((function(){t.scrollTop=0}),e)}(0)}),[W]),(0,p.jsxs)(a.fC,{open:M,onOpenChange:function(e){null===z||void 0===z||z(e),e||null===Z||void 0===Z||Z()},defaultOpen:V,modal:q,children:[!!m&&(0,p.jsx)(a.xz,{asChild:!0,children:m}),(0,p.jsxs)(a.h_,{children:[D&&(0,p.jsx)(a.aV,{className:c()(R,"sw-drawer-mask fixed inset-0"),style:L}),(0,p.jsx)(a.VY,{ref:te,onPointerDownOutside:function(e){U&&I&&!w(e)||e.preventDefault()},onInteractOutside:function(e){U&&I&&!w(e)||e.preventDefault()},onEscapeKeyDown:function(e){U||e.preventDefault()},className:c()(t,"sw-drawer","sw-drawer-".concat(_),"flex flex-vertical",{"sw-drawer-swipeable":Q}),style:v(v({},n),{},{width:l||(["left","right"].includes(_)?"90%":void 0),maxHeight:u||(["top","bottom"].includes(_)?"90%":void 0)}),children:(0,p.jsxs)(y,{safeAreaInsetBottom:h,children:[Q&&(0,p.jsx)(k,v({},ne)),E&&(0,p.jsx)(x,v(v({},s),{},{closeIcon:!!U&&Y,closeIconType:X,closePlacement:J,children:E})),S?(0,p.jsx)(j,{children:S}):r,O&&(0,p.jsx)(C,{cancelText:T,children:O})]})})]})]})}},79738:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(90849),i=(n(27378),n(26152)),o=n(86677),a=n(69380),s=n(60042),c=n.n(s),l={"fill-placeholder-child":"fill-placeholder-child_CvdNc",middle:"middle_pBEzE"},u=n(24246),d=function(e,t,n){return e||(t?(0,u.jsx)("div",{children:t.map((function(e,n){return(0,u.jsxs)("p",{children:[e.message,n===t.length-1?".":","]},n)}))}):n?n.message:"Oops! Something is wrong.")},p=function(e){if(e.request)try{e.request=JSON.parse(e.request),e.request.body&&(e.request.body=JSON.parse(e.request.body))}catch(t){}return JSON.stringify(e,null,4)},_=function(e){var t=(0,o.useRouter)(),n=e.errorTip,s=e.error,_=e.errors,f=e.middle,h=void 0!==f&&f;return(0,u.jsx)("div",{className:c()(l["error-display"],"g-bg",(0,r.Z)({}
1,l.middle,h)),children:(0,u.jsx)(i.Z,{className:"g-wrapper min-w-auto",tip:d(n,_,s),extra:"1"===t.query[a.n4]&&(_||s)?(0,u.jsxs)("div",{className:"text-left",children:[_&&_.map((function(e,t){return(0,u.jsx)("pre",{className:l.pre,children:p(e)},t)})),s&&(0,u.jsx)("pre",{className:l.pre,children:p(s)})]}):void 0})})}},16537:function(e,t,n){"use strict";n.d(t,{e:function(){return f},Z:function(){return h}});var r=n(90849),i=n(90089),o=n(27378),a=n(31542),s=n(60042),c=n.n(s),l="fixed-container_EJv9G",u=n(24246),d=["children","className","style","width","height","placement","offset","container","zIndex","fixed","sticky"];function p(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=(0,o.forwardRef)((function(e,t){var n,s=(0,o.useState)(!1),p=s[0],f=s[1],h=e.children,m=e.className,b=e.style,g=e.width,v=void 0===g?"100%":g,w=e.height,y=e.placement,k=void 0===y?["left","bottom"]:y,x=e.offset,E=void 0===x?[0,0]:x,S=e.container,P=e.zIndex,O=e.fixed,C=void 0===O||O,T=e.sticky,j=void 0!==T&&T,A=(0,i.Z)(e,d);(0,o.useEffect)((function(){f(!0)}),[]);var D=j?"sticky":C?"fixed":"relative";return p?(0,a.createPortal)((0,u.jsx)("div",_(_({ref:t,className:c()(l,D,m),style:C?_((n={width:v,height:w},(0,r.Z)(n,k[0],E[0]),(0,r.Z)(n,k[1],E[1]),(0,r.Z)(n,"zIndex",P),n),b):b},A),{},{children:h})),S&&S()||document.body):null})),h=f},56311:function(e,t,n){"use strict";n.d(t,{o:function(){return h}});var r=n(90849),i=n(90089),o=n(27378),a=n(60042),s=n.n(a),c=n(50099),l=(n(83033),n(98180)),u=n(24246),d=["className","trigger","title","content","contentSize","drawerProps","btnProps","width"],p=["height"];function _(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=(0,o.forwardRef)((function(e,t){var n=e.className,r=e.trigger,a=e.title,_=e.content,h=e.contentSize,m=void 0===h?"normal":h,b=e.drawerProps,g=void 0===b?{}:b,v=(e.btnProps,e.width,(0,i.Z)(e,d)),w=(0,o.useState)(!1),y=w[0],k=w[1],x=e.width||("normal"===m?370:750),E=(g.height,(0,i.Z)(g,p),function(){return k(!0)}),S=function(){return k(!1)};(0,o.useImperativeHandle)(t,(function(){return{open:E,close:S}}));var P="function"===typeof _?_({close:S}):_;return(0,u.jsxs)(u.Fragment,{children:["function"===typeof r?r({open:E}):(0,o.cloneElement)(r,{onClick:E}),(0,u.jsx)(l.Vq,f({width:x,open:y,onClose:S,closable:!0,closeIcon:!0,className:s()(c.Z.modal,c.Z["modal-".concat(m)],n),title:a,body:P,okText:!0},v))]})}));t.Z=h},63427:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(90849),i=n(90089),o=(n(27378),n(60042)),a=n.n(o),s=n(72202),c="wrapper_rt33h",l=n(23767),u=n(24246),d=["size","className","style","bgColor","color"];function p(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){var t=e.size,n=e.className,r=(e.style,e.bgColor),o=e.color,p=(0,i.Z)(e,d),f=(0,s.Kw)("rootStore").ua.isPhone,h=f?("number"===typeof t?t:t[0])/2:"number"===typeof t?t:t[1],m=f?(0,l.BX)(2*h):"".concat(h,"px"),b=Math.floor(h/44*100)/100;return(0,u.jsx)("div",_(_({},p),{},{className:a()(n,c),style:{width:m,height:m},children:(0,u.jsx)("div",{className:"bg",style:{transform:"scale(".concat(b,")"),backgroundColor:r},children:(0,u.jsx)("div",{className:"check",style:{borderColor:o}})})}))}},81628:function(e,t,n){"use strict";n.d(t,{K:function(){return c}});var r=n(90849),i=n(90089),o=n(24246),a=["className"];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}var c=function(e){var t=e.className,n=(0,i.Z)(e,a);return(0,o.jsx)("em",function(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){(0,r.Z)(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}({className:"iconfont "+t},n))};t.Z=c},82226:function(e,t,n){"use strict";n.d(t,{Vr:function(){return y},ZP:function(){return k}});var r=n(27378),i=n(56850),o="modal_VChUV",a="pc-wrapper_Yk4lV",s="options_RfXvu",c="option_X33oL",l=n(99148);var u=n(81628),d=n(72791),p=n(24401),_=n(40397),f=n(49589),h=n(24246),m=function(){var e=0;return function(t,n){e+=1,setTimeout((function(){1===e&&"function"===typeof t?t():2===e&&"function"===typeof n&&n(),e=0}),300)}}(),b=!1;function g(e){return"string"!==typeof e||(0,d.cb)(e)}var v=function(e){var t=e.item,n=e.closeModal,r=e.toggleZoom,i=e.videoTrack;return"string"===typeof t?(0,d.cb)(t)?(0,h.jsx)(l.ZP,{src:(0,_.$B)(t),controls:!0,control:!0,track:i}):(0,h.jsx)("div",{className:"swiper-zoom-container",children:(0,h.jsx)(f.Z,{src:(0,_.$B)(t),alt:"",width:"100%",fit:"contain",background:!1,onClick:function(e){e.stopPropagation(),m(n,r)}})}):(0,h.jsx)(l.ZP,{src:[t.src,t.backup],poster:t.poster,controls:!0,control:!0,track:i})},w=(0,r.forwardRef)((function(e,t){var n=e.videoAutoPlay,l=void 0===n||n,d=e.videoTrack,_=(0,r.useState)(!1),f=_[0],m=_[1],w=(0,r.useState)({list:[],activeIndex:0}),y=w[0],k=w[1],x=(0,r.useState)(!1),E=x[0],S=x[1],P=(0,r.useRef)(null),O=function(){return P.current},C=y.list.length<2,T=function(){var e=document.querySelectorAll("video");e&&e.length>0&&Array.prototype.forEach.call(e,(function(e){e.pause()}))},j=function(){var e;null===(e=O())||void 0===e||e.zoomOut()},A=function(){var e;null===(e=O())||void 0===e||e.zoomToggle()},D=function(){T(),j(),function(){var e=document.querySelectorAll("video");e&&e.length>0&&Array.prototype.forEach.call(e,(function(e){var t=e.autoplay,n=e.loop;t&&n&&e.play()}))}(),m(!1)};(0,r.useImperativeHandle)(t,(function(){return{open:function(e){var t;null!==e&&void 0!==e&&null!==(t=e.list)&&void 0!==t&&t.length&&(k(e),m(!0),S(g(e.list[e.activeIndex||0])))}}})),(0,r.useEffect)((function(){f&&l&&g(y.list[y.activeIndex||0])&&setTimeout((function(){var e,t,n=null===(e=O())||void 0===e||null===(t=e.getSwiperEl())||void 0===t?void 0:t.querySelector(".swiper-slide-active video");n&&(n.currentTime=0,n.play())}),200)}),[f]);var N=(0,h.jsx)(p.v,{ref:P,className:"swiper",zoom:!0,loop:!0,navigation:!0,pagination:!C&&{type:"fraction"},onSlideChangeTransitionStart:function(){j(),T()},onSlideChangeTransitionEnd:function(e){var t=e.el.querySelector(".swiper-slide-active");if(t&&t.querySelector("video"))return void S(!0);S(!1)},initialSlide:y.activeIndex,list:y.list,render:function(e,t){return(0,h.jsx)(v,{item:e,closeModal:D,toggleZoom:A,videoTrack:d})}});return(0,h.jsx)(i.Z,{open:f,onCancel:D,wrapClassName:o,footer:!1,closable:b,destroyOnClose:!0,wrapProps:{onClick:function(e){e.stopPropagation()}},children:(0,h.jsxs)("div",{className:a,children:[N,(0,h.jsxs)("div",{className:s,children:[!E&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:c,onClick:function(){return O().zoomIn()},children:(0,h.jsx)(u.Z,{className:"icon-add"})}),(0,h.jsx)("span",{className:c,onClick:function(){return O().zoomOut()},children:(0,h.jsx)(u.Z,{className:"icon-minus"})})]}),(0,h.jsx)("span",{className:c,onClick:D,children:(0,h.jsx)(u.Z,{className:"icon-x"})})]})]})})})),y=function(e){var t=e.children,n=e.videoAutoPlay,i=e.videoTrack,o=(0,r.useRef)(null);return"function"!==typeof t?t:(0,h.jsxs)(h.Fragment,{children:[t({open:function(e){return m((function(){var t,n;e.list.length>0&&(null===o||void 0===o||null===(t=o.current)||void 0===t||null===(n=t.open)||void 0===n||n.call(t,e))}))}}),(0,h.jsx)(w,{ref:o,videoAutoPlay:n,videoTrack:i})]})}
1,k=y},11580:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(27378),i=n(60042),o=n.n(i),a="input-number_yr0xl",s=n(32996),c=n(63010),l=n(8749),u=n(24246),d=function(e){var t=e.min,n=e.max,i=e.value,d=e.step,p=void 0===d?1:d,_=e.precision,f=void 0===_?0:_,h=e.onChange,m=e.onClick,b=e.onBlur,g=e.className,v=e.disabled,w=void 0!==v&&v,y=e.tabIndex,k=void 0===y?0:y,x=e.prefix,E=(0,r.useState)(""),S=E[0],P=E[1],O=(0,r.useRef)(!1),C=(0,s.IA)().t,T=function(e){var r=Number(e);if("undefined"!==typeof t&&(r=Math.max(t,r)),"undefined"!==typeof n&&(r=Math.min(n,r)),f<=0)r=Math.floor(r);else{var i=Number("1".concat(new Array(f).fill(0).join("")));r=(Math.round(r*i)/i).toFixed(f)}return P(r),r},j=function(e){"function"===typeof h&&h(String(e))},A=function(e){O.current=!1;var t=e.replace(/[^\d.]/g,"").replace(/^(\d*\.)(\d*).*$/,"$1$2")||"1",n=t.split("."),r=n[0]||0;if(f<=0)t=T(r);else{var o=n[1]?n[1].substr(0,f):0;t=T("".concat(r,".").concat(o))}String(i)!==String(t)&&(j(t),null===b||void 0===b||b(t))},D=function(e){j(T(Number(i)+e)),null===m||void 0===m||m(e)};return(0,r.useEffect)((function(){if(!O.current){var e=T(i||"");P(e),String(i)!==String(e)&&j(e)}}),[i]),(0,u.jsxs)("div",{className:o()(g,a),children:[(0,u.jsxs)("button",{tabIndex:k,className:"operator minus",onClick:function(e){e.stopPropagation(),D(0-p)},disabled:"undefined"!==typeof t&&Number(i)<=t||w,children:[(0,u.jsx)(c.U,{}),(0,u.jsx)("span",{className:"visually-hidden",children:C("web_form_number_minus")})]}),(0,u.jsx)("label",{className:"visually-hidden",htmlFor:"numberOfVariants",children:C("web_product_number_label")}),(0,u.jsxs)("span",{className:"field",children:[!!x&&(0,u.jsx)("span",{className:"prefix",children:x}),(0,u.jsx)("input",{tabIndex:k,id:"numberOfVariants",type:"text",className:"input",value:S,onChange:function(e){return function(e){var t=String(e).replace(/[^\d.]/g,"").replace(/^(\d*\.)(\d*).*$/,"$1$2");P(t="0"!=t&&t?t:"1")}(e.target.value)},onFocus:function(){return O.current=!0},onBlur:function(e){return A(e.target.value)},disabled:w})]}),(0,u.jsxs)("button",{tabIndex:k,className:"operator plus",onClick:function(e){e.stopPropagation(),D(p)},disabled:"undefined"!==typeof n&&Number(i)>=n||w,children:[(0,u.jsx)(l.S,{}),(0,u.jsx)("span",{className:"visually-hidden",children:C("web_form_number_plus")})]})]})}},86834:function(e,t,n){"use strict";n.d(t,{r:function(){return h}});var r=n(90849),i=n(90089),o=n(97865),a=n(27378),s=n(79894),c=n.n(s),l=n(72202),u=n(49696),d=n(24246),p=["href","as","replace","scroll","shallow","passHref","prefetch","locale","legacyBehavior","children","target","rel","hrefEmptyRender","hrefEmptyTag"];function _(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=a.forwardRef((function(e,t){var n=(0,l.Kw)("rootStore").ua.isApp,r=e.href,s=e.as,_=e.replace,h=e.scroll,m=e.shallow,b=e.passHref,g=e.prefetch,v=void 0!==g&&g,w=e.locale,y=e.legacyBehavior,k=e.children,x=e.target,E=e.rel,S=e.hrefEmptyRender,P=e.hrefEmptyTag,O=void 0===P?"span":P,C=((0,i.Z)(e,p),f({ref:t},function(e,t){var n={};return Object.entries(e).forEach((function(e){var r=(0,o.Z)(e,2),i=r[0],a=r[1];(t.includes(i)||i.startsWith("on")||i.startsWith("data-"))&&(n[i]=a)})),n}(e,["id","className","style","dangerouslySetInnerHTML"])));if(!r||"string"===typeof r&&""===r.trim())return S?S(k):(0,a.createElement)(O,C,k);if(n&&"string"===typeof r){var T=r.replace(/[?#].*$/,""),j=(0,u.Mc)(T);if(j)return"string"===typeof k||"number"===typeof k?(0,d.jsx)("a",f(f({},C),{},{onClick:function(e){j.callback(T,r),e.preventDefault()},children:k})):(0,a.isValidElement)(k)?(0,a.cloneElement)(k,{commonTagProps:C,onClick:function(e){j.callback(T,r),e.preventDefault()}}):(0,d.jsx)("span",f(f({},C),{},{onClick:function(){j.callback(T,r)},children:k}))}return"string"!==typeof r||/^[/#?]/.test(r)?(0,d.jsx)(c(),{href:r,as:s,replace:_,scroll:h,shallow:m,passHref:b,prefetch:v,locale:w,legacyBehavior:y,children:(0,d.jsx)("a",f(f({target:x,rel:E||("_blank"===x?"nofollow noopener noreferrer":void 0)},C),{},{children:k}))}):(0,d.jsx)("a",f(f({},C),{},{href:r,target:x,rel:E||("_blank"===x?"nofollow noopener noreferrer":void 0),children:k}))}));t.Z=h},97421:function(e,t,n){"use strict";n.d(t,{v:function(){return h},Z:function(){return m}});var r=n(90849),i=n(15060),o="tip_e-tGw",a=n(54234),s=n(93855),c=n(54151),l=n(24246);function u(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}i.ZP.config({maxCount:1});var p={size:"100%"},_={success:(0,l.jsx)("div",{className:"g-icon g-icon-suc",children:(0,l.jsx)(s.N,d({},p))}),error:(0,l.jsx)("div",{className:"g-icon g-icon-err",children:(0,l.jsx)(a.b,d({},p))})},f=function(e,t,n){var r;return d(d({className:o,type:e,content:t,style:{marginTop:"20vh"},icon:_[e]?_[e]:void 0},n),{},{duration:(null===n||void 0===n?void 0:n.duration)||(null===(r=c.r.message)||void 0===r?void 0:r.duration)||1.5})},h={success:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Successfully!",t=arguments.length>1?arguments[1]:void 0;i.ZP.open(f("success",e,t))},error:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Something is wrong.",t=arguments.length>1?arguments[1]:void 0;i.ZP.open(f("error",e,t))}},m=h},2701:function(e,t,n){"use strict";n(27378);var r=n(88038),i=n.n(r),o=n(24246);t.Z=function(e){var t=Array.from(new Set(e.list.filter((function(e){return e.length>0}))));return t.length>0?(0,o.jsx)(i(),{children:t.map((function(e){return(0,o.jsx)("link",{rel:"preload",as:"image",href:e},e)}))}):null}},99148:function(e,t,n){"use strict";n.d(t,{TN:function(){return sa},U6:function(){return ra},AX:function(){return ca},ZP:function(){return la},cg:function(){return ta}});var r=n(55732),i=n(90849),o=n(90089),a=n(34707),s=n.n(a),c=n(27378),l="pure-video_fBMpf",u="control-btn_0bih7",d="control-btn-hide_O9Hs-",p=n(60042),_=n.n(p),f=n(40397);function h(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var m,b={exports:{}};m=b,function(e){var t=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,n=/^(?=([^\/?#]*))\1([^]*)$/,r=/(?:\/|^)\.(?=\/)/g,i=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,o={buildAbsoluteURL:function(e,t,r){if(r=r||{},e=e.trim(),!(t=t.trim())){if(!r.alwaysNormalize)return e;var i=o.parseURL(e);if(!i)throw new Error("Error trying to parse base URL.");return i.path=o.normalizePath(i.path),o.buildURLFromParts(i)}var a=o.parseURL(t);if(!a)throw new Error("Error trying to parse relative URL.");if(a.scheme)return r.alwaysNormalize?(a.path=o.normalizePath(a.path),o.buildURLFromParts(a)):t;var s=o.parseURL(e);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var c=n.exec(s.path);s.netLoc=c[1],s.path=c[2]}s.netLoc&&!s.path&&(s.path="/");var l={scheme:s.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(l.netLoc=s.netLoc,"/"!==a.path[0]))if(a.path){var u=s.path,d=u.substring(0,u.lastIndexOf("/")+1)+a.path;l.path=o.normalizePath(d)}else l.path=s.path,a.params||(l.params=s.params,a.query||(l.query=s.query));return null===l.path&&(l.path=r.alwaysNormalize?o.normalizePath(a.path):a.path),o.buildURLFromParts(l)},parseURL:function(e){var n=t.exec(e);return n?{scheme:n[1]||"",netLoc:n[2]||"",path:n[3]||"",params:n[4]||"",query:n[5]||"",fragment:n[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(r,"");e.length!==(e=e.replace(i,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}};m.exports=o}();var g=b.exports;function v(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return(t=function(e){var t=function(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 new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(){return k=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},k.apply(this,arguments)}const x=Number.isFinite||function(e){return"number"===typeof e&&isFinite(e)},E=Number.isSafeInteger||function(e){return"number"===typeof e&&Math.abs(e)<=S},S=Number.MAX_SAFE_INTEGER||9007199254740991;
vendor: 12,243 bytes, line 1
1let P=function(e){return e.MEDIA_ATTACHING="hlsMediaAttaching",e.MEDIA_ATTACHED="hlsMediaAttached",e.MEDIA_DETACHING="hlsMediaDetaching",e.MEDIA_DETACHED="hlsMediaDetached",e.BUFFER_RESET="hlsBufferReset",e.BUFFER_CODECS="hlsBufferCodecs",e.BUFFER_CREATED="hlsBufferCreated",e.BUFFER_APPENDING="hlsBufferAppending",e.BUFFER_APPENDED="hlsBufferAppended",e.BUFFER_EOS="hlsBufferEos",e.BUFFER_FLUSHING="hlsBufferFlushing",e.BUFFER_FLUSHED="hlsBufferFlushed",e.MANIFEST_LOADING="hlsManifestLoading",e.MANIFEST_LOADED="hlsManifestLoaded",e.MANIFEST_PARSED="hlsManifestParsed",e.LEVEL_SWITCHING="hlsLevelSwitching",e.LEVEL_SWITCHED="hlsLevelSwitched",e.LEVEL_LOADING="hlsLevelLoading",e.LEVEL_LOADED="hlsLevelLoaded",e.LEVEL_UPDATED="hlsLevelUpdated",e.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",e.LEVELS_UPDATED="hlsLevelsUpdated",e.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",e.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",e.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",e.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",e.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",e.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",e.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",e.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",e.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",e.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",e.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",e.CUES_PARSED="hlsCuesParsed",e.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",e.INIT_PTS_FOUND="hlsInitPtsFound",e.FRAG_LOADING="hlsFragLoading",e.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",e.FRAG_LOADED="hlsFragLoaded",e.FRAG_DECRYPTED="hlsFragDecrypted",e.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",e.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",e.FRAG_PARSING_METADATA="hlsFragParsingMetadata",e.FRAG_PARSED="hlsFragParsed",e.FRAG_BUFFERED="hlsFragBuffered",e.FRAG_CHANGED="hlsFragChanged",e.FPS_DROP="hlsFpsDrop",e.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",e.ERROR="hlsError",e.DESTROYING="hlsDestroying",e.KEY_LOADING="hlsKeyLoading",e.KEY_LOADED="hlsKeyLoaded",e.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",e.BACK_BUFFER_REACHED="hlsBackBufferReached",e}({}),O=function(e){return e.NETWORK_ERROR="networkError",e.MEDIA_ERROR="mediaError",e.KEY_SYSTEM_ERROR="keySystemError",e.MUX_ERROR="muxError",e.OTHER_ERROR="otherError",e}({}),C=function(e){return e.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",e.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",e.KEY_SYSTEM_NO_SESSION="keySystemNoSession",e.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",e.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",e.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",e.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",e.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",e.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",e.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",e.MANIFEST_LOAD_ERROR="manifestLoadError",e.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",e.MANIFEST_PARSING_ERROR="manifestParsingError",e.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",e.LEVEL_EMPTY_ERROR="levelEmptyError",e.LEVEL_LOAD_ERROR="levelLoadError",e.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",e.LEVEL_PARSING_ERROR="levelParsingError",e.LEVEL_SWITCH_ERROR="levelSwitchError",e.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",e.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",e.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",e.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",e.FRAG_LOAD_ERROR="fragLoadError",e.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",e.FRAG_DECRYPT_ERROR="fragDecryptError",e.FRAG_PARSING_ERROR="fragParsingError",e.FRAG_GAP="fragGap",e.REMUX_ALLOC_ERROR="remuxAllocError",e.KEY_LOAD_ERROR="keyLoadError",e.KEY_LOAD_TIMEOUT="keyLoadTimeOut",e.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",e.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",e.BUFFER_APPEND_ERROR="bufferAppendError",e.BUFFER_APPENDING_ERROR="bufferAppendingError",e.BUFFER_STALLED_ERROR="bufferStalledError",e.BUFFER_FULL_ERROR="bufferFullError",e.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",e.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",e.INTERNAL_EXCEPTION="internalException",e.INTERNAL_ABORTED="aborted",e.UNKNOWN="unknown",e}({});const T=function(){},j={trace:T,debug:T,log:T,warn:T,info:T,error:T};let A=j;function D(e,...t){t.forEach((function(t){A[t]=e[t]?e[t].bind(e):function(e){const t=self.console[e];return t?t.bind(self.console,`[${e}] >`):T}(t)}))}const N=A,I=/^(\d+)x(\d+)$/,R=/(.+?)=(".*?"|.*?)(?:,|$)/g;class L{constructor(e){"string"===typeof e&&(e=L.parseAttrList(e));for(const t in e)e.hasOwnProperty(t)&&("X-"===t.substring(0,2)&&(this.clientAttrs=this.clientAttrs||[],this.clientAttrs.push(t)),this[t]=e[t])}decimalInteger(e){const t=parseInt(this[e],10);return t>Number.MAX_SAFE_INTEGER?1/0:t}hexadecimalInteger(e){if(this[e]){let t=(this[e]||"0x").slice(2);t=(1&t.length?"0":"")+t;const n=new Uint8Array(t.length/2);for(let e=0;e<t.length/2;e++)n[e]=parseInt(t.slice(2*e,2*e+2),16);return n}return null}hexadecimalIntegerAsNumber(e){const t=parseInt(this[e],16);return t>Number.MAX_SAFE_INTEGER?1/0:t}decimalFloatingPoint(e){return parseFloat(this[e])}optionalFloat(e,t){const n=this[e];return n?parseFloat(n):t}enumeratedString(e){return this[e]}bool(e){return"YES"===this[e]}decimalResolution(e){const t=I.exec(this[e]);if(null!==t)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}static parseAttrList(e){let t;const n={};for(R.lastIndex=0;null!==(t=R.exec(e));){let e=t[2];0===e.indexOf('"')&&e.lastIndexOf('"')===e.length-1&&(e=e.slice(1,-1));n[t[1].trim()]=e}return n}}function M(e){return"SCTE35-OUT"===e||"SCTE35-IN"===e}class z{constructor(e,t){if(this.attr=void 0,this._startDate=void 0,this._endDate=void 0,this._badValueForSameId=void 0,t){const n=t.attr;for(const t in n)if(Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==n[t]){N.warn(`DATERANGE tag attribute: "${t}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=t;break}e=k(new L({}),n,e)}if(this.attr=e,this._startDate=new Date(e["START-DATE"]),"END-DATE"in this.attr){const e=new Date(this.attr["END-DATE"]);x(e.getTime())&&(this._endDate=e)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get startDate(){return this._startDate}get endDate(){if(this._endDate)return this._endDate;const e=this.duration;return null!==e?new Date(this._startDate.getTime()+1e3*e):null}get duration(){if("DURATION"in this.attr){const e=this.attr.decimalFloatingPoint("DURATION");if(x(e))return e}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isValid(){return!!this.id&&!this._badValueForSameId&&x(this.startDate.getTime())&&(null===this.duration||this.duration>=0)&&(!this.endOnNext||!!this.class)}}class Z{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var F="audio",V="video",B="audiovideo";class U{constructor(e){this._byteRange=null,this._url=null,this.baseurl=void 0,this.relurl=void 0,this.elementaryStreams={[F]:null,[V]:null,[B]:null},this.baseurl=e}setByteRange(e,t){const n=e.split("@",2),r=[];1===n.length?r[0]=t?t.byteRangeEndOffset:0:r[0]=parseInt(n[1]),r[1]=parseInt(n[0])+r[0],this._byteRange=r}get byteRange(){return this._byteRange?this._byteRange:[]}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=g.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}}class G extends U{constructor(e,t){super(t),this._decryptdata=null,this.rawProgramDateTime=null,this.programDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.stats=new Z,this.urlId=0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.type=e}get decryptdata(){const{levelkeys:e}=this;if(!e&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const e=this.levelkeys.identity;if(e)this._decryptdata=e.getDecryptData(this.sn);else{const e=Object.keys(this.levelkeys);if(1===e.length)return this._decryptdata=this.levelkeys[e[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(null===this.programDateTime)return null;if(!x(this.programDateTime))return null;const e=x(this.duration)?this.duration:0;return this.programDateTime+1e3*e}get encrypted(){var e;if(null!=(e=this._decryptdata)&&e.encrypted)return!0;if(this.levelkeys){const e=Object.keys(this.levelkeys),t=e.length;if(t>1||1===t&&this.levelkeys[e[0]].encrypted)return!0}return!1}setKeyFormat(e){if(this.levelkeys){const t=this.levelkeys[e];t&&!this._decryptdata&&(this._decryptdata=t.getDecryptData(this.sn))}}abortRequests(){var e,t;null==(e=this.loader)||e.abort(),null==(t=this.keyLoader)||t.abort()}setElementaryStreamInfo(e,t,n,r,i,o=!1){const{elementaryStreams:a}=this,s=a[e];s?(s.startPTS=Math.min(s.startPTS,t),s.endPTS=Math.max(s.endPTS,n),s.startDTS=Math.min(s.startDTS,r),s.endDTS=Math.max(s.endDTS,i)):a[e]={startPTS:t,endPTS:n,startDTS:r,endDTS:i,partial:o}}clearElementaryStreamInfo(){const{elementaryStreams:e}=this;e[F]=null,e[V]=null,e[B]=null}}class q extends U{constructor(e,t,n,r,i){super(n),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.stats=new Z,this.duration=e.decimalFloatingPoint("DURATION"),this.gap=e.bool("GAP"),this.independent=e.bool("INDEPENDENT"),this.relurl=e.enumeratedString("URI"),this.fragment=t,this.index=r;const o=e.enumeratedString("BYTERANGE");o&&this.setByteRange(o,i),i&&(this.fragOffset=i.fragOffset+i.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:e}=this;return!!(e.audio||e.video||e.audiovideo)}}class H{constructor(e){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.live=!0,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.availabilityDelay=void 0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=e}reloaded(e){if(!e)return this.advanced=!0,void(this.updated=!0);const t=this.lastPartSn-e.lastPartSn,n=this.lastPartIndex-e.lastPartIndex;this.updated=this.endSN!==e.endSN||!!n||!!t||!this.live,this.advanced=this.endSN>e.endSN||t>0||0===t&&n>0,this.updated||this.advanced?this.misses=Math.floor(.6*e.misses):this.misses=e.misses+1,this.availabilityDelay=e.availabilityDelay}get hasProgramDateTime(){return!!this.fragments.length&&x(this.fragments[this.fragments.length-1].programDateTime)}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||10}
1get drift(){const e=this.driftEndTime-this.driftStartTime;if(e>0){return 1e3*(this.driftEnd-this.driftStart)/e}return 1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var e;return null!=(e=this.fragments)&&e.length?this.fragments[this.fragments.length-1].end:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].index:-1}get lastPartSn(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}}function K(e){return Uint8Array.from(atob(e),(e=>e.charCodeAt(0)))}function W(e){const t=e.split(":");let n=null;if("data"===t[0]&&2===t.length){const e=t[1].split(";"),r=e[e.length-1].split(",");if(2===r.length){const t="base64"===r[0],i=r[1];t?(e.splice(-1,1),n=K(i)):n=function(e){const t=$(e).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}(i)}}return n}function $(e){return Uint8Array.from(unescape(encodeURIComponent(e)),(e=>e.charCodeAt(0)))}var Y={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},X="org.w3.clearkey",J="com.apple.streamingkeydelivery",Q="com.microsoft.playready",ee="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";function te(e){switch(e){case J:return Y.FAIRPLAY;case Q:return Y.PLAYREADY;case ee:return Y.WIDEVINE;case X:return Y.CLEARKEY}}var ne="edef8ba979d64acea3c827dcd51d21ed";function re(e){switch(e){case Y.FAIRPLAY:return J;case Y.PLAYREADY:return Q;case Y.WIDEVINE:return ee;case Y.CLEARKEY:return X}}function ie(e){const{drmSystems:t,widevineLicenseUrl:n}=e,r=t?[Y.FAIRPLAY,Y.WIDEVINE,Y.PLAYREADY,Y.CLEARKEY].filter((e=>!!t[e])):[];return!r[Y.WIDEVINE]&&n&&r.push(Y.WIDEVINE),r}const oe="undefined"!==typeof self&&self.navigator&&self.navigator.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null;function ae(e,t,n){return Uint8Array.prototype.slice?e.slice(t,n):new Uint8Array(Array.prototype.slice.call(e,t,n))}const se=(e,t)=>t+10<=e.length&&73===e[t]&&68===e[t+1]&&51===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128,ce=(e,t)=>t+10<=e.length&&51===e[t]&&68===e[t+1]&&73===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128,le=(e,t)=>{const n=t;let r=0;for(;se(e,t);){r+=10;r+=ue(e,t+6),ce(e,t+10)&&(r+=10),t+=r}if(r>0)return e.subarray(n,n+r)},ue=(e,t)=>{let n=0;return n=(127&e[t])<<21,n|=(127&e[t+1])<<14,n|=(127&e[t+2])<<7,n|=127&e[t+3],n},de=(e,t)=>se(e,t)&&ue(e,t+6)+10<=e.length-t,pe=e=>e&&"PRIV"===e.key&&"com.apple.streaming.transportStreamTimestamp"===e.info,_e=e=>{const t=String.fromCharCode(e[0],e[1],e[2],e[3]),n=ue(e,4);return{type:t,size:n,data:e.subarray(10,10+n)}},fe=e=>{let t=0;const n=[];for(;se(e,t);){const r=ue(e,t+6);t+=10;const i=t+r;for(;t+8<i;){const r=_e(e.subarray(t)),i=he(r);i&&n.push(i),t+=r.size+10}ce(e,t)&&(t+=10)}return n},he=e=>"PRIV"===e.type?me(e):"W"===e.type[0]?ge(e):be(e),me=e=>{if(e.size<2)return;const t=we(e.data,!0),n=new Uint8Array(e.data.subarray(t.length+1));return{key:e.type,info:t,data:n.buffer}},be=e=>{if(e.size<2)return;if("TXXX"===e.type){let t=1;const n=we(e.data.subarray(t),!0);t+=n.length+1;const r=we(e.data.subarray(t));return{key:e.type,info:n,data:r}}const t=we(e.data.subarray(1));return{key:e.type,data:t}},ge=e=>{if("WXXX"===e.type){if(e.size<2)return;let t=1;const n=we(e.data.subarray(t),!0);t+=n.length+1;const r=we(e.data.subarray(t));return{key:e.type,info:n,data:r}}const t=we(e.data);return{key:e.type,data:t}},ve=e=>{if(8===e.data.byteLength){const t=new Uint8Array(e.data),n=1&t[3];let r=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return r/=45,n&&(r+=47721858.84),Math.round(r)}},we=(e,t=!1)=>{const n=ke();if(n){const r=n.decode(e);if(t){const e=r.indexOf("\0");return-1!==e?r.substring(0,e):r}return r.replace(/\0/g,"")}const r=e.length;let i,o,a,s="",c=0;for(;c<r;){if(i=e[c++],0===i&&t)return s;if(0!==i&&3!==i)switch(i>>
14){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:s+=String.fromCharCode(i);break;case 12:case 13:o=e[c++],s+=String.fromCharCode((31&i)<<6|63&o);break;case 14:o=e[c++],a=e[c++],s+=String.fromCharCode((15&i)<<12|(63&o)<<6|(63&a)<<0)}}return s};let ye;function ke(){return ye||"undefined"===typeof self.TextDecoder||(ye=new self.TextDecoder("utf-8")),ye}const xe=function(e){let t="";for(let n=0;n<e.length;n++){let r=e[n].toString(16);r.length<2&&(r="0"+r),t+=r}return t},Ee=Math.pow(2,32)-1,Se=[].push,Pe={video:1,audio:2,id3:3,text:4};function Oe(e){return String.fromCharCode.apply(null,e)}function Ce(e,t){const n=e[t]<<8|e[t+1];return n<0?65536+n:n}function Te(e,t){const n=je(e,t);return n<0?4294967296+n:n}function je(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}function Ae(e,t,n){e[t]=n>>24,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}function De(e,t){const n=[];if(!t.length)return n;const r=e.byteLength;for(let i=0;i<r;){const o=Te(e,i),a=o>1?i+o:r;if(Oe(e.subarray(i+4,i+8))===t[0])if(1===t.length)n.push(e.subarray(i+8,a));else{const r=De(e.subarray(i+8,a),t.slice(1));r.length&&Se.apply(n,r)}i=a}return n}function Ne(e){const t=[],n=e[0];let r=8;const i=Te(e,r);r+=4;r+=0===n?8:16,r+=2;let o=e.length+0;const a=Ce(e,r);r+=2;for(let s=0;s<a;s++){let n=r;const a=Te(e,n);n+=4;const s=2147483647&a;if(1===(2147483648&a)>>>31)return N.warn("SIDX has hierarchical references (not supported)"),null;const c=Te(e,n);n+=4,t.push({referenceSize:s,subsegmentDuration:c,info:{duration:c/i,start:o,end:o+s-1}}),o+=s,n+=4,r=n}return{earliestPresentationTime:0,timescale:i,version:n,referencesCount:a,references:t}}function Ie(e){const t=[],n=De(e,["moov","trak"]);for(let r=0;r<n.length;r++){const e=n[r],i=De(e,["tkhd"])[0];if(i){let n=i[0],r=0===n?12:20;const o=Te(i,r),a=De(e,["mdia","mdhd"])[0];if(a){n=a[0],r=0===n?12:20;const i=Te(a,r),s=De(e,["mdia","hdlr"])[0];if(s){const n=Oe(s.subarray(8,12)),r={soun:F,vide:V}[n];if(r){const n=De(e,["mdia","minf","stbl","stsd"])[0];let a;n&&(a=Oe(n.subarray(12,16))),t[o]={timescale:i,type:r},t[r]={timescale:i,id:o,codec:a}}}}}}return De(e,["moov","mvex","trex"]).forEach((e=>{const n=Te(e,4),r=t[n];r&&(r.default={duration:Te(e,12),flags:Te(e,20)})})),t}function Re(e){const t=De(e,["schm"])[0];if(t){const n=Oe(t.subarray(4,8));if("cbcs"===n||"cenc"===n)return De(e,["schi","tenc"])[0]}return N.error("[eme] missing 'schm' box"),null}function Le(e){const t=Te(e,0);let n=8;1&t&&(n+=4),4&t&&(n+=4);let r=0;const i=Te(e,4);for(let o=0;o<i;o++){if(256&t){r+=Te(e,n),n+=4}512&t&&(n+=4),1024&t&&(n+=4),2048&t&&(n+=4)}return r}function Me(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function ze(e,t){const n=[],r=t.samples,i=t.timescale,o=t.id;let a=!1;return De(r,["moof"]).map((s=>{const c=s.byteOffset-8;De(s,["traf"]).map((s=>{const l=De(s,["tfdt"]).map((e=>{const t=e[0];let n=Te(e,4);return 1===t&&(n*=Math.pow(2,32),n+=Te(e,8)),n/i}))[0];return void 0!==l&&(e=l),De(s,["tfhd"]).map((l=>{const u=Te(l,4),d=16777215&Te(l,0);let p=0;const _=0!==(16&d);let f=0;const h=0!==(32&d);let m=8;u===o&&(0!==(1&d)&&(m+=8),0!==(2&d)&&(m+=4),0!==(8&d)&&(p=Te(l,m),m+=4),_&&(f=Te(l,m),m+=4),h&&(m+=4),"video"===t.type&&(a=function(e){if(!e)return!1;const t=e.indexOf("."),n=t<0?e:e.substring(0,t);return"hvc1"===n||"hev1"===n||"dvh1"===n||"dvhe"===n}(t.codec)),De(s,["trun"]).map((o=>{const s=o[0],l=16777215&Te(o,0),u=0!==(1&l);let d=0;const _=0!==(4&l),h=0!==(256&l);let m=0;const b=0!==(512&l);let g=0;const v=0!==(1024&l),w=0!==(2048&l);let y=0;const k=Te(o,4);let x=8;u&&(d=Te(o,x),x+=4),_&&(x+=4);let E=d+c;for(let c=0;c<k;c++){if(h?(m=Te(o,x),x+=4):m=p,b?(g=Te(o,x),x+=4):g=f,v&&(x+=4),w&&(y=0===s?Te(o,x):je(o,x),x+=4),t.type===V){let t=0;for(;t<g;){const o=Te(r,E);if(E+=4,Ze(a,r[E])){Fe(r.subarray(E,E+o),a?2:1,e+y/i,n)}E+=o,t+=o+4}}e+=m/i}})))}))}))})),n}function Ze(e,t){if(e){const e=t>>1&63;return 39===e||40===e}return 6===(31&t)}function Fe(e,t,n,r){const i=Ve(e);let o=0;o+=t;let a=0,s=0,c=!1,l=0;for(;o<i.length;){a=0;do{if(o>=i.length)break;l=i[o++],a+=l}while(255===l);s=0;do{if(o>=i.length)break;l=i[o++],s+=l}while(255===l);const e=i.length-o;
1if(!c&&4===a&&o<i.length){c=!0;if(181===i[o++]){const e=Ce(i,o);if(o+=2,49===e){const e=Te(i,o);if(o+=4,1195456820===e){const e=i[o++];if(3===e){const t=i[o++],s=31&t,c=64&t,l=c?2+3*s:0,u=new Uint8Array(l);if(c){u[0]=t;for(let e=1;e<l;e++)u[e]=i[o++]}r.push({type:e,payloadType:a,pts:n,bytes:u})}}}}}else if(5===a&&s<e){if(c=!0,s>16){const e=[];for(let n=0;n<16;n++){const t=i[o++].toString(16);e.push(1==t.length?"0"+t:t),3!==n&&5!==n&&7!==n&&9!==n||e.push("-")}const t=s-16,c=new Uint8Array(t);for(let n=0;n<t;n++)c[n]=i[o++];r.push({payloadType:a,pts:n,uuid:e.join(""),userData:we(c),userDataBytes:c})}}else if(s<e)o+=s;else if(s>e)break}}function Ve(e){const t=e.byteLength,n=[];let r=1;for(;r<t-2;)0===e[r]&&0===e[r+1]&&3===e[r+2]?(n.push(r+2),r+=2):r++;if(0===n.length)return e;const i=t-n.length,o=new Uint8Array(i);let a=0;for(r=0;r<i;a++,r++)a===n[0]&&(a++,n.shift()),o[r]=e[a];return o}function Be(e,t,n){if(16!==e.byteLength)throw new RangeError("Invalid system id");let r,i,o;if(t){r=1,i=new Uint8Array(16*t.length);for(let e=0;e<t.length;e++){const n=t[e];if(16!==n.byteLength)throw new RangeError("Invalid key");i.set(n,16*e)}}else r=0,i=new Uint8Array;r>0?(o=new Uint8Array(4),t.length>0&&new DataView(o.buffer).setUint32(0,t.length,!1)):o=new Uint8Array;const a=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(a.buffer).setUint32(0,n.byteLength,!1),function(e,...t){const n=t.length;let r=8,i=n;for(;i--;)r+=t[i].byteLength;const o=new Uint8Array(r);for(o[0]=r>>24&255,o[1]=r>>16&255,o[2]=r>>8&255,o[3]=255&r,o.set(e,4),i=0,r=8;i<n;i++)o.set(t[i],r),r+=t[i].byteLength;return o}([112,115,115,104],new Uint8Array([r,0,0,0]),e,o,i,a,n||new Uint8Array)}let Ue={};class Ge{static clearKeyUriToKeyIdMap(){Ue={}}constructor(e,t,n,r=[1],i=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=e,this.uri=t,this.keyFormat=n,this.keyFormatVersions=r,this.iv=i,this.encrypted=!!e&&"NONE"!==e,this.isCommonEncryption=this.encrypted&&"AES-128"!==e}isSupported(){if(this.method){if("AES-128"===this.method||"NONE"===this.method)return!0;if("identity"===this.keyFormat)return"SAMPLE-AES"===this.method;switch(this.keyFormat){case J:case ee:case Q:case X:return-1!==["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)}}return!1}getDecryptData(e){if(!this.encrypted||!this.uri)return null;if("AES-128"===this.method&&this.uri&&!this.iv){"number"!==typeof e&&("AES-128"!==this.method||this.iv||N.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0);const t=function(e){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=e>>8*(15-n)&255;return t}(e);return new Ge(this.method,this.uri,"identity",this.keyFormatVersions,t)}const t=W(this.uri);if(t)switch(this.keyFormat){case ee:this.pssh=t,t.length>=22&&(this.keyId=t.subarray(t.length-22,t.length-6));break;case Q:{const e=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=Be(e,null,t);const n=new Uint16Array(t.buffer,t.byteOffset,t.byteLength/2),r=String.fromCharCode.apply(null,Array.from(n)),i=r.substring(r.indexOf("<"),r.length),o=(new DOMParser).parseFromString(i,"text/xml").getElementsByTagName("KID")[0];if(o){const e=o.childNodes[0]?o.childNodes[0].nodeValue:o.getAttribute("VALUE");if(e){const t=K(e).subarray(0,16);!function(e){const t=function(e,t,n){const r=e[t];e[t]=e[n],e[n]=r};t(e,0,3),t(e,1,2),t(e,4,5),t(e,6,7)}(t),this.keyId=t}}break}default:{let e=t.subarray(0,16);if(16!==e.length){const t=new Uint8Array(16);t.set(e,16-e.length),e=t}this.keyId=e;break}}if(!this.keyId||16!==this.keyId.byteLength){let e=Ue[this.uri];if(!e){const t=Object.keys(Ue).length%Number.MAX_SAFE_INTEGER;e=new Uint8Array(16);new DataView(e.buffer,12,4).setUint32(0,t),Ue[this.uri]=e}this.keyId=e}return this}}const qe=/\{\$([a-zA-Z0-9-_]+)\}/g;function He(e){return qe.test(e)}function Ke(e,t,n){if(null!==e.variableList||e.hasVariableRefs)for(let r=n.length;r--;){const i=n[r],o=t[i];o&&(t[i]=We(e,o))}}function We(e,t){if(null!==e.variableList||e.hasVariableRefs){const n=e.variableList;return t.replace(qe,(t=>{const r=t.substring(2,t.length-1),i=null==n?void 0:n[r];return void 0===i?(e.playlistParsingError||(e.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${r}"`)),t):i}))}return t}function $e(e,t,n){let r,i,o=e.variableList;if(o||(e.variableList=o={}),"QUERYPARAM"in t){r=t.QUERYPARAM;try{const e=new self.URL(n).searchParams;if(!e.has(r))throw new Error(`"${r}" does not match any query parameter in URI: "${n}"`);i=e.get(r)}catch(a){e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${a.message}`))}}else r=t.NAME,i=t.VALUE;r in o?e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${r}"`)):o[r]=i||""}function Ye(e,t,n){const r=t.IMPORT;if(n&&r in n){let t=e.variableList;t||(e.variableList=t={}),t[r]=n[r]}else e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${r}"`))}
1function Xe(){if("undefined"!==typeof self)return self.MediaSource||self.WebKitMediaSource}const Je={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,av01:!0,drac:!0,dva1:!0,dvav:!0,dvh1:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0},text:{stpp:!0,wvtt:!0}},Qe=Xe();function et(e,t){var n;return null!=(n=null==Qe?void 0:Qe.isTypeSupported(`${t||"video"}/mp4;codecs="${e}"`))&&n}const tt=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,nt=/#EXT-X-MEDIA:(.*)/g,rt=/^#EXT(?:INF|-X-TARGETDURATION):/m,it=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[\S ]*)/.source,/#EXT-X-BYTERANGE:*(.+)/.source,/#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/#.*/.source].join("|"),"g"),ot=new RegExp([/#(EXTM3U)/.source,/#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class at{static findGroup(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(r.id===t)return r}}static convertAVC1ToAVCOTI(e){const t=e.split(".");if(t.length>2){let e=t.shift()+".";return e+=parseInt(t.shift()).toString(16),e+=("000"+parseInt(t.shift()).toString(16)).slice(-4),e}return e}static resolve(e,t){return g.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return rt.test(e)}static parseMasterPlaylist(e,t){const n={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:He(e)},r=[];let i;for(tt.lastIndex=0;null!=(i=tt.exec(e));)if(i[1]){var o;const e=new L(i[1]);Ke(n,e,["CODECS","SUPPLEMENTAL-CODECS","ALLOWED-CPC","PATHWAY-ID","STABLE-VARIANT-ID","AUDIO","VIDEO","SUBTITLES","CLOSED-CAPTIONS","NAME"]);const a=We(n,i[2]),s={attrs:e,bitrate:e.decimalInteger("AVERAGE-BANDWIDTH")||e.decimalInteger("BANDWIDTH"),name:e.NAME,url:at.resolve(a,t)},c=e.decimalResolution("RESOLUTION");c&&(s.width=c.width,s.height=c.height),lt((e.CODECS||"").split(/[ ,]+/).filter((e=>e)),s),s.videoCodec&&-1!==s.videoCodec.indexOf("avc1")&&(s.videoCodec=at.convertAVC1ToAVCOTI(s.videoCodec)),null!=(o=s.unknownCodecs)&&o.length||r.push(s),n.levels.push(s)}else if(i[3]){const e=i[3],r=i[4];switch(e){case"SESSION-DATA":{const e=new L(r);Ke(n,e,["DATA-ID","LANGUAGE","VALUE","URI"]);const t=e["DATA-ID"];t&&(null===n.sessionData&&(n.sessionData={}),n.sessionData[t]=e);break}case"SESSION-KEY":{const e=st(r,t,n);e.encrypted&&e.isSupported()?(null===n.sessionKeys&&(n.sessionKeys=[]),n.sessionKeys.push(e)):N.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${r}"`);break}case"DEFINE":{const e=new L(r);Ke(n,e,["NAME","VALUE","QUERYPARAM"]),$e(n,e,t)}break;case"CONTENT-STEERING":{const e=new L(r);Ke(n,e,["SERVER-URI","PATHWAY-ID"]),n.contentSteering={uri:at.resolve(e["SERVER-URI"],t),pathwayId:e["PATHWAY-ID"]||"."};break}case"START":n.startTimeOffset=ct(r)}}const a=r.length>0&&r.length<n.levels.length;return n.levels=a?r:n.levels,0===n.levels.length&&(n.playlistParsingError=new Error("no levels found in manifest")),n}static parseMasterPlaylistMedia(e,t,n){let r;const i={},o=n.levels,a={AUDIO:o.map((e=>({id:e.attrs.AUDIO,audioCodec:e.audioCodec}))),SUBTITLES:o.map((e=>({id:e.attrs.SUBTITLES,textCodec:e.textCodec}))),"CLOSED-CAPTIONS":[]};let s=0;for(nt.lastIndex=0;null!==(r=nt.exec(e));){const e=new L(r[1]),o=e.TYPE;if(o){const r=a[o],c=i[o]||[];i[o]=c,Ke(n,e,["URI","GROUP-ID","LANGUAGE","ASSOC-LANGUAGE","STABLE-RENDITION-ID","NAME","INSTREAM-ID","CHARACTERISTICS","CHANNELS"]);const l={attrs:e,bitrate:0,id:s++,groupId:e["GROUP-ID"]||"",instreamId:e["INSTREAM-ID"],name:e.NAME||e.LANGUAGE||"",type:o,default:e.bool("DEFAULT"),autoselect:e.bool("AUTOSELECT"),forced:e.bool("FORCED"),lang:e.LANGUAGE,url:e.URI?at.resolve(e.URI,t):""};if(null!=r&&r.length){const e=at.findGroup(r,l.groupId)||r[0];ut(l,e,"audioCodec"),ut(l,e,"textCodec")}c.push(l)}}return i}static parseLevelPlaylist(e,t,n,r,i,o){const a=new H(t),s=a.fragments;let c,l,u,d=null,p=0,_=0,f=0,h=0,m=null,b=new G(r,t),g=-1,v=!1;for(it.lastIndex=0,a.m3u8=e,a.hasVariableRefs=He(e);null!==(c=it.exec(e));){v&&(v=!1,b=new G(r,t),b.start=f,b.sn=p,b.cc=h,b.level=n,d&&(b.initSegment=d,b.rawProgramDateTime=d.rawProgramDateTime,d.rawProgramDateTime=null));const e=c[1];if(e){b.duration=parseFloat(e);const t=(" "+c[2]).slice(1);b.title=t||null,b.tagList.push(t?["INF",e,t]:["INF",e])}else if(c[3]){if(x(b.duration)){b.start=f,u&&_t(b,u,a),b.sn=p,b.level=n,b.cc=h,b.urlId=i,s.push(b);const e=(" "+c[3]).slice(1);
1b.relurl=We(a,e),dt(b,m),m=b,f+=b.duration,p++,_=0,v=!0}}else if(c[4]){const e=(" "+c[4]).slice(1);m?b.setByteRange(e,m):b.setByteRange(e)}else if(c[5])b.rawProgramDateTime=(" "+c[5]).slice(1),b.tagList.push(["PROGRAM-DATE-TIME",b.rawProgramDateTime]),-1===g&&(g=s.length);else{if(c=c[0].match(ot),!c){N.warn("No matches on slow regex match for level playlist!");continue}for(l=1;l<c.length&&"undefined"===typeof c[l];l++);const e=(" "+c[l]).slice(1),i=(" "+c[l+1]).slice(1),f=c[l+2]?(" "+c[l+2]).slice(1):"";switch(e){case"PLAYLIST-TYPE":a.type=i.toUpperCase();break;case"MEDIA-SEQUENCE":p=a.startSN=parseInt(i);break;case"SKIP":{const e=new L(i);Ke(a,e,["RECENTLY-REMOVED-DATERANGES"]);const t=e.decimalInteger("SKIPPED-SEGMENTS");if(x(t)){a.skippedSegments=t;for(let e=t;e--;)s.unshift(null);p+=t}const n=e.enumeratedString("RECENTLY-REMOVED-DATERANGES");n&&(a.recentlyRemovedDateranges=n.split("\t"));break}case"TARGETDURATION":a.targetduration=Math.max(parseInt(i),1);break;case"VERSION":a.version=parseInt(i);break;case"EXTM3U":break;case"ENDLIST":a.live=!1;break;case"#":(i||f)&&b.tagList.push(f?[i,f]:[i]);break;case"DISCONTINUITY":h++,b.tagList.push(["DIS"]);break;case"GAP":b.gap=!0,b.tagList.push([e]);break;case"BITRATE":b.tagList.push([e,i]);break;case"DATERANGE":{const e=new L(i);Ke(a,e,["ID","CLASS","START-DATE","END-DATE","SCTE35-CMD","SCTE35-OUT","SCTE35-IN"]),Ke(a,e,e.clientAttrs);const t=new z(e,a.dateRanges[e.ID]);t.isValid||a.skippedSegments?a.dateRanges[t.id]=t:N.warn(`Ignoring invalid DATERANGE tag: "${i}"`),b.tagList.push(["EXT-X-DATERANGE",i]);break}case"DEFINE":{const e=new L(i);Ke(a,e,["NAME","VALUE","IMPORT","QUERYPARAM"]),"IMPORT"in e?Ye(a,e,o):$e(a,e,t)}break;case"DISCONTINUITY-SEQUENCE":h=parseInt(i);break;case"KEY":{const e=st(i,t,a);if(e.isSupported()){if("NONE"===e.method){u=void 0;break}u||(u={}),u[e.keyFormat]&&(u=k({},u)),u[e.keyFormat]=e}else N.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${i}"`);break}case"START":a.startTimeOffset=ct(i);break;case"MAP":{const e=new L(i);if(Ke(a,e,["BYTERANGE","URI"]),b.duration){const i=new G(r,t);pt(i,e,n,u),d=i,b.initSegment=d,d.rawProgramDateTime&&!b.rawProgramDateTime&&(b.rawProgramDateTime=d.rawProgramDateTime)}else pt(b,e,n,u),d=b,v=!0;break}case"SERVER-CONTROL":{const e=new L(i);a.canBlockReload=e.bool("CAN-BLOCK-RELOAD"),a.canSkipUntil=e.optionalFloat("CAN-SKIP-UNTIL",0),a.canSkipDateRanges=a.canSkipUntil>0&&e.bool("CAN-SKIP-DATERANGES"),a.partHoldBack=e.optionalFloat("PART-HOLD-BACK",0),a.holdBack=e.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{const e=new L(i);a.partTarget=e.decimalFloatingPoint("PART-TARGET");break}case"PART":{let e=a.partList;e||(e=a.partList=[]);const n=_>0?e[e.length-1]:void 0,r=_++,o=new L(i);Ke(a,o,["BYTERANGE","URI"]);const s=new q(o,b,t,r,n);e.push(s),b.duration+=s.duration;break}case"PRELOAD-HINT":{const e=new L(i);Ke(a,e,["URI"]),a.preloadHint=e;break}case"RENDITION-REPORT":{const e=new L(i);Ke(a,e,["URI"]),a.renditionReports=a.renditionReports||[],a.renditionReports.push(e);break}default:N.warn(`line parsed but not handled: ${c}`)}}}m&&!m.relurl?(s.pop(),f-=m.duration,a.partList&&(a.fragmentHint=m)):a.partList&&(dt(b,m),b.cc=h,a.fragmentHint=b,u&&_t(b,u,a));const w=s.length,y=s[0],E=s[w-1];if(f+=a.skippedSegments*a.targetduration,f>0&&w&&E){a.averagetargetduration=f/w;const e=E.sn;a.endSN="initSegment"!==e?e:0,a.live||(E.endList=!0),y&&(a.startCC=y.cc)}else a.endSN=0,a.startCC=0;return a.fragmentHint&&(f+=a.fragmentHint.duration),a.totalduration=f,a.endCC=h,g>0&&function(e,t){let n=e[t];for(let r=t;r--;){const t=e[r];if(!t)return;t.programDateTime=n.programDateTime-1e3*t.duration,n=t}}(s,g),a}}function st(e,t,n){var r,i;const o=new L(e);Ke(n,o,["KEYFORMAT","KEYFORMATVERSIONS","URI","IV","URI"]);const a=null!=(r=o.METHOD)?r:"",s=o.URI,c=o.hexadecimalInteger("IV"),l=o.KEYFORMATVERSIONS,u=null!=(i=o.KEYFORMAT)?i:"identity";s&&o.IV&&!c&&N.error(`Invalid IV: ${o.IV}`);const d=s?at.resolve(s,t):"",p=(l||"1").split("/").map(Number).filter(Number.isFinite);return new Ge(a,d,u,p,c)}function ct(e){const t=new L(e).decimalFloatingPoint("TIME-OFFSET");return x(t)?t:null}function lt(e,t){["video","audio","text"].forEach((n=>{const r=e.filter((e=>function(e,t){const n=Je[t];return!!n&&!0===n[e.slice(0,4)]}(e,n)));if(r.length){const i=r.filter((e=>0===e.lastIndexOf("avc1",0)||0===e.lastIndexOf("mp4a",0)));t[`${n}Codec`]=i.length>0?i[0]:r[0],e=e.filter((e=>-1===r.indexOf(e)))}})),t.unknownCodecs=e}function ut(e,t,n){const r=t[n];r&&(e[n]=r)}function dt(e,t){e.rawProgramDateTime?e.programDateTime=Date.parse(e.rawProgramDateTime):null!=t&&t.programDateTime&&(e.programDateTime=t.endProgramDateTime),x(e.programDateTime)||(e.programDateTime=null,e.rawProgramDateTime=null)}function pt(e,t,n,r){e.relurl=t.URI,t.BYTERANGE&&e.setByteRange(t.BYTERANGE),e.level=n,e.sn="initSegment",r&&(e.levelkeys=r),e.initSegment=null}function _t(e,t,n){e.levelkeys=t;const{encryptedFragments:r}=n;r.length&&r[r.length-1].levelkeys===t||!Object.keys(t).some((e=>t[e].isCommonEncryption))||r.push(e)}var ft="manifest",ht="level",mt="audioTrack",bt="subtitleTrack",gt="main",vt="audio",wt="subtitle";function yt(e){const{type:t}=e;switch(t){case mt:return vt;case bt:return wt;default:return gt}}function kt(e,t){let n=e.url;return void 0!==n&&0!==n.indexOf("data:")||(n=t.url),n}class xt{constructor(e){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.hls=e,this.registerListeners()}
vendor: 4,682 bytes, line 1
1startLoad(e){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:e}=this;e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.LEVEL_LOADING,this.onLevelLoading,this),e.on(P.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(P.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}unregisterListeners(){const{hls:e}=this;e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.LEVEL_LOADING,this.onLevelLoading,this),e.off(P.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(P.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}createInternalLoader(e){const t=this.hls.config,n=t.pLoader,r=t.loader,i=new(n||r)(t);return this.loaders[e.type]=i,i}getInternalLoader(e){return this.loaders[e.type]}resetInternalLoader(e){this.loaders[e]&&delete this.loaders[e]}destroyInternalLoaders(){for(const e in this.loaders){const t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(e,t){const{url:n}=t;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:ft,url:n,deliveryDirectives:null})}onLevelLoading(e,t){const{id:n,level:r,url:i,deliveryDirectives:o}=t;this.load({id:n,level:r,responseType:"text",type:ht,url:i,deliveryDirectives:o})}onAudioTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:o}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:mt,url:i,deliveryDirectives:o})}onSubtitleTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:o}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:bt,url:i,deliveryDirectives:o})}load(e){var t;const n=this.hls.config;let r,i=this.getInternalLoader(e);if(i){const t=i.context;if(t&&t.url===e.url)return void N.trace("[playlist-loader]: playlist request ongoing");N.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),i.abort()}if(r=e.type===ft?n.manifestLoadPolicy.default:k({},n.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),i=this.createInternalLoader(e),null!=(t=e.deliveryDirectives)&&t.part){let t;if(e.type===ht&&null!==e.level?t=this.hls.levels[e.level].details:e.type===mt&&null!==e.id?t=this.hls.audioTracks[e.id].details:e.type===bt&&null!==e.id&&(t=this.hls.subtitleTracks[e.id].details),t){const e=t.partTarget,n=t.targetduration;if(e&&n){const t=1e3*Math.max(3*e,.8*n);r=k({},r,{maxTimeToFirstByteMs:Math.min(t,r.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(t,r.maxTimeToFirstByteMs)})}}}const o=r.errorRetry||r.timeoutRetry||{},a={loadPolicy:r,timeout:r.maxLoadTimeMs,maxRetry:o.maxNumRetry||0,retryDelay:o.retryDelayMs||0,maxRetryDelay:o.maxRetryDelayMs||0},s={onSuccess:(e,t,n,r)=>{const i=this.getInternalLoader(n);this.resetInternalLoader(n.type);const o=e.data;0===o.indexOf("#EXTM3U")?(t.parsing.start=performance.now(),at.isMediaPlaylist(o)?this.handleTrackOrLevelPlaylist(e,t,n,r||null,i):this.handleMasterPlaylist(e,t,n,r)):this.handleManifestParsingError(e,n,new Error("no EXTM3U delimiter"),r||null,t)},onError:(e,t,n,r)=>{this.handleNetworkError(t,n,!1,e,r)},onTimeout:(e,t,n)=>{this.handleNetworkError(t,n,!0,void 0,e)}};i.load(e,a,s)}handleMasterPlaylist(e,t,n,r){const i=this.hls,o=e.data,a=kt(e,n),s=at.parseMasterPlaylist(o,a);if(s.playlistParsingError)return void this.handleManifestParsingError(e,n,s.playlistParsingError,r,t);const{contentSteering:c,levels:l,sessionData:u,sessionKeys:d,startTimeOffset:p,variableList:_}=s;this.variableList=_;const{AUDIO:f=[],SUBTITLES:h,"CLOSED-CAPTIONS":m}=at.parseMasterPlaylistMedia(o,a,s);if(f.length){f.some((e=>!e.url))||!l[0].audioCodec||l[0].attrs.AUDIO||(N.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),f.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new L({}),bitrate:0,url:""}))}i.trigger(P.MANIFEST_LOADED,{levels:l,audioTracks:f,subtitles:h,captions:m,contentSteering:c,url:a,stats:t,networkDetails:r,sessionData:u,sessionKeys:d,startTimeOffset:p,variableList:_})}handleTrackOrLevelPlaylist(e,t,n,r,i){const o=this.hls,{id:a,level:s,type:c}=n,l=kt(e,n),u=x(a)?a:0,d=x(s)?s:u,p=yt(n),_=at.parseLevelPlaylist(e.data,l,d,p,u,this.variableList);if(c===ft){const e={attrs:new L({}),bitrate:0,details:_,name:"",url:l};o.trigger(P.MANIFEST_LOADED,{levels:[e],audioTracks:[],url:l,stats:t,networkDetails:r,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),n.levelDetails=_,this.handlePlaylistLoaded(_,e,t,n,r,i)}handleManifestParsingError(e,t,n,r,i){this.hls.trigger(P.ERROR,{type:O.NETWORK_E
1RROR,details:C.MANIFEST_PARSING_ERROR,fatal:t.type===ft,url:e.url,err:n,error:n,reason:n.message,response:e,context:t,networkDetails:r,stats:i})}handleNetworkError(e,t,n=!1,r,i){let o=`A network ${n?"timeout":"error"+(r?" (status "+r.code+")":"")} occurred while loading ${e.type}`;e.type===ht?o+=`: ${e.level} id: ${e.id}`:e.type!==mt&&e.type!==bt||(o+=` id: ${e.id} group-id: "${e.groupId}"`);const a=new Error(o);N.warn(`[playlist-loader]: ${o}`);let s=C.UNKNOWN,c=!1;const l=this.getInternalLoader(e);switch(e.type){case ft:s=n?C.MANIFEST_LOAD_TIMEOUT:C.MANIFEST_LOAD_ERROR,c=!0;break;case ht:s=n?C.LEVEL_LOAD_TIMEOUT:C.LEVEL_LOAD_ERROR,c=!1;break;case mt:s=n?C.AUDIO_TRACK_LOAD_TIMEOUT:C.AUDIO_TRACK_LOAD_ERROR,c=!1;break;case bt:s=n?C.SUBTITLE_TRACK_LOAD_TIMEOUT:C.SUBTITLE_LOAD_ERROR,c=!1}l&&this.resetInternalLoader(e.type);const u={type:O.NETWORK_ERROR,details:s,fatal:c,url:e.url,loader:l,context:e,error:a,networkDetails:t,stats:i};if(r){const n=(null==t?void 0:t.url)||e.url;u.response=w({url:n,data:void 0},r)}this.hls.trigger(P.ERROR,u)}handlePlaylistLoaded(e,t,n,r,i,o){const a=this.hls,{type:s,level:c,id:l,groupId:u,deliveryDirectives:d}=r,p=kt(t,r),_=yt(r),f="number"===typeof r.level&&_===gt?c:void 0;if(!e.fragments.length){const e=new Error("No Segments found in Playlist");return void a.trigger(P.ERROR,{type:O.NETWORK_ERROR,details:C.LEVEL_EMPTY_ERROR,fatal:!1,url:p,error:e,reason:e.message,response:t,context:r,level:f,parent:_,networkDetails:i,stats:n})}e.targetduration||(e.playlistParsingError=new Error("Missing Target Duration"));const h=e.playlistParsingError;if(h)a.trigger(P.ERROR,{type:O.NETWORK_ERROR,details:C.LEVEL_PARSING_ERROR,fatal:!1,url:p,error:h,reason:h.message,response:t,context:r,level:f,parent:_,networkDetails:i,stats:n});else switch(e.live&&o&&(o.getCacheAge&&(e.ageHeader=o.getCacheAge()||0),o.getCacheAge&&!isNaN(e.ageHeader)||(e.ageHeader=0)),s){case ft:case ht:a.trigger(P.LEVEL_LOADED,{details:e,level:f||0,id:l||0,stats:n,networkDetails:i,deliveryDirectives:d});break;case mt:a.trigger(P.AUDIO_TRACK_LOADED,{details:e,id:l||0,groupId:u||"",stats:n,networkDetails:i,deliveryDirectives:d});break;case bt:a.trigger(P.SUBTITLE_TRACK_LOADED,{details:e,id:l||0,groupId:u||"",stats:n,networkDetails:i,deliveryDirectives:d})}}}function Et(e,t){let n;try{n=new Event("addtrack")}catch(r){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=e,t.dispatchEvent(n)}function St(e,t){const n=e.mode;if("disabled"===n&&(e.mode="hidden"),e.cues&&!e.cues.getCueById(t.id))try{if(e.addCue(t),!e.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(r){N.debug(`[texttrack-utils]: ${r}`);try{const n=new self.TextTrackCue(t.startTime,t.endTime,t.text);n.id=t.id,e.addCue(n)}catch(i){N.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${i}`)}}"disabled"===n&&(e.mode=n)}function Pt(e){const t=e.mode;if("disabled"===t&&(e.mode="hidden"),e.cues)for(let n=e.cues.length;n--;)e.removeCue(e.cues[n]);"disabled"===t&&(e.mode=t)}function Ot(e,t,n,r){const i=e.mode;if("disabled"===i&&(e.mode="hidden"),e.cues&&e.cues.length>0){const i=function(e,t,n){const r=[],i=function(e,t){if(t<e[0].startTime)return 0;const n=e.length-1;if(t>e[n].endTime)return-1;let r=0,i=n;for(;r<=i;){const o=Math.floor((i+r)/2);if(t<e[o].startTime)i=o-1;else{if(!(t>e[o].startTime&&r<n))return o;r=o+1}}return e[r].startTime-t<t-e[i].startTime?r:i}(e,t);if(i>-1)for(let o=i,a=e.length;o<a;o++){const i=e[o];if(i.startTime>=t&&i.endTime<=n)r.push(i);else if(i.startTime>n)return r}return r}(e.cues,t,n);for(let t=0;t<i.length;t++)r&&!r(i[t])||e.removeCue(i[t])}"disabled"===i&&(e.mode=i)}var Ct="org.id3",Tt="com.apple.quicktime.HLS",jt="https://aomedia.org/emsg/ID3";function At(){if("undefined"!==typeof self)return self.VTTCue||self.TextTrackCue}function Dt(e,t,n,r,i){let o=new e(t,n,"");try{o.value=r,i&&(o.type=i)}catch(a){o=new e(t,n,JSON.stringify(i?w({type:i},r):r))}return o}const Nt=(()=>{const e=At();try{e&&new e(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function It(e,t){return e.getTime()/1e3-t}class Rt{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=e,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=null}_registerListeners(){const{hls:e}=this;
1e.on(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(P.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(P.LEVEL_UPDATED,this.onLevelUpdated,this)}_unregisterListeners(){const{hls:e}=this;e.off(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(P.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(P.LEVEL_UPDATED,this.onLevelUpdated,this)}onMediaAttached(e,t){this.media=t.media}onMediaDetaching(){this.id3Track&&(Pt(this.id3Track),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(e){const t=this.getID3Track(e.textTracks);return t.mode="hidden",t}getID3Track(e){if(this.media){for(let t=0;t<e.length;t++){const n=e[t];if("metadata"===n.kind&&"id3"===n.label)return Et(n,this.media),n}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(e,t){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:n,enableID3MetadataCues:r}}}=this;if(!n&&!r)return;const{samples:i}=t;this.id3Track||(this.id3Track=this.createTrack(this.media));const o=At();if(o)for(let a=0;a<i.length;a++){const e=i[a].type;if(e===jt&&!n||!r)continue;const t=fe(i[a].data);if(t){const n=i[a].pts;let r=n+i[a].duration;r>Nt&&(r=Nt);r-n<=0&&(r=n+.25);for(let i=0;i<t.length;i++){const a=t[i];if(!pe(a)){this.updateId3CueEnds(n,e);const t=Dt(o,n,r,a,e);t&&this.id3Track.addCue(t)}}}}}updateId3CueEnds(e,t){var n;const r=null==(n=this.id3Track)?void 0:n.cues;if(r)for(let i=r.length;i--;){const n=r[i];n.type===t&&n.startTime<e&&n.endTime===Nt&&(n.endTime=e)}}onBufferFlushing(e,{startOffset:t,endOffset:n,type:r}){const{id3Track:i,hls:o}=this;if(!o)return;const{config:{enableEmsgMetadataCues:a,enableID3MetadataCues:s}}=o;if(i&&(a||s)){let e;e="audio"===r?e=>e.type===Ct&&s:"video"===r?e=>e.type===jt&&a:e=>e.type===Ct&&s||e.type===jt&&a,Ot(i,t,n,e)}}onLevelUpdated(e,{details:t}){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{dateRangeCuesAppended:n,id3Track:r}=this,{dateRanges:i}=t,o=Object.keys(i);if(r){const e=Object.keys(n).filter((e=>!o.includes(e)));for(let t=e.length;t--;){const i=e[t];Object.keys(n[i].cues).forEach((e=>{r.removeCue(n[i].cues[e])})),delete n[i]}}const a=t.fragments[t.fragments.length-1];if(0===o.length||!x(null==a?void 0:a.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const s=a.programDateTime/1e3-a.start,c=At();for(let d=0;d<o.length;d++){const e=o[d],t=i[e],r=n[e],a=(null==r?void 0:r.cues)||{};let p=(null==r?void 0:r.durationKnown)||!1;const _=It(t.startDate,s);let f=Nt;const h=t.endDate;if(h)f=It(h,s),p=!0;else if(t.endOnNext&&!p){const e=o.reduce(((e,n)=>{const r=i[n];return r.class===t.class&&r.id!==n&&r.startDate>t.startDate&&e.push(r),e}),[]).sort(((e,t)=>e.startDate.getTime()-t.startDate.getTime()))[0];e&&(f=It(e.startDate,s),p=!0)}const m=Object.keys(t.attr);for(let n=0;n<m.length;n++){const i=m[n];if("ID"===(u=i)||"CLASS"===u||"START-DATE"===u||"DURATION"===u||"END-DATE"===u||"END-ON-NEXT"===u)continue;const o=a[i];if(o)p&&!r.durationKnown&&(o.endTime=f);else if(c){let n=t.attr[i];M(i)&&(l=n,n=Uint8Array.from(l.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer);const r=Dt(c,_,f,{key:i,data:n},Tt);r&&(r.id=e,this.id3Track.addCue(r),a[i]=r)}}n[e]={cues:a,dateRange:t,durationKnown:p}}var l,u}}class Lt{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.levelDetails=null,this.currentTime=0,this.stallCount=0,this._latency=null,this.timeupdateHandler=()=>this.timeupdate(),this.hls=e,this.config=e.config,this.registerListeners()}get latency(){return this._latency||0}get maxLatency(){const{config:e,levelDetails:t}=this;return void 0!==e.liveMaxLatencyDuration?e.liveMaxLatencyDuration:t?e.liveMaxLatencyDurationCount*t.targetduration:0}get targetLatency(){const{levelDetails:e}=this;if(null===e)return null;const{holdBack:t,partHoldBack:n,targetduration:r}=e,{liveSyncDuration:i,liveSyncDurationCount:o,lowLatencyMode:a}=this.config,s=this.hls.userConfig;let c=a&&n||t;(s.liveSyncDuration||s.liveSyncDurationCount||0===c)&&(c=void 0!==i?i:o*r);const l=r;return c+Math.min(1*this.stallCount,l)}get liveSyncPosition(){const e=this.estimateLiveEdge(),t=this.targetLatency,n=this.levelDetails;if(null===e||null===t||null===n)return null;const r=n.edge,i=e-t-this.edgeStalled,o=r-n.totalduration,a=r-(this.config.lowLatencyMode&&n.partTarget||n.targetduration);return Math.min(Math.max(o,i),a)}get drift(){const{levelDetails:e}=this;return null===e?1:e.drift}get edgeStalled(){const{levelDetails:e}=this;if(null===e)return 0;const t=3*(this.config.lowLatencyMode&&e.partTarget||e.targetduration);return Math.max(e.age-t,0)}get forwardBufferLength(){const{media:e,levelDetails:t}=this;if(!e||!t)return 0;const n=e.buffered.length;return(n?e.buffered.end(n-1):t.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.levelDetails=null,this.hls=this.timeupdateHandler=null}
1registerListeners(){this.hls.on(P.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(P.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.on(P.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(P.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.on(P.ERROR,this.onError,this)}unregisterListeners(){this.hls.off(P.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(P.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.off(P.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(P.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.off(P.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("timeupdate",this.timeupdateHandler)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.timeupdateHandler),this.media=null)}onManifestLoading(){this.levelDetails=null,this._latency=null,this.stallCount=0}onLevelUpdated(e,{details:t}){this.levelDetails=t,t.advanced&&this.timeupdate(),!t.live&&this.media&&this.media.removeEventListener("timeupdate",this.timeupdateHandler)}onError(e,t){var n;t.details===C.BUFFER_STALLED_ERROR&&(this.stallCount++,null!=(n=this.levelDetails)&&n.live&&N.warn("[playback-rate-controller]: Stall detected, adjusting target latency"))}timeupdate(){const{media:e,levelDetails:t}=this;if(!e||!t)return;this.currentTime=e.currentTime;const n=this.computeLatency();if(null===n)return;this._latency=n;const{lowLatencyMode:r,maxLiveSyncPlaybackRate:i}=this.config;if(!r||1===i)return;const o=this.targetLatency;if(null===o)return;const a=n-o,s=a<Math.min(this.maxLatency,o+t.targetduration);if(t.live&&s&&a>.05&&this.forwardBufferLength>1){const t=Math.min(2,Math.max(1,i)),n=Math.round(2/(1+Math.exp(-.75*a-this.edgeStalled))*20)/20;e.playbackRate=Math.min(t,Math.max(1,n))}else 1!==e.playbackRate&&0!==e.playbackRate&&(e.playbackRate=1)}estimateLiveEdge(){const{levelDetails:e}=this;return null===e?null:e.edge+e.age}computeLatency(){const e=this.estimateLiveEdge();return null===e?null:e-this.currentTime}}const Mt=["NONE","TYPE-0","TYPE-1",null];var zt="",Zt="YES",Ft="v2";class Vt{constructor(e,t,n){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=e,this.part=t,this.skip=n}addDirectives(e){const t=new self.URL(e);return void 0!==this.msn&&t.searchParams.set("_HLS_msn",this.msn.toString()),void 0!==this.part&&t.searchParams.set("_HLS_part",this.part.toString()),this.skip&&t.searchParams.set("_HLS_skip",this.skip),t.href}}class Bt{constructor(e){this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.videoCodec=void 0,this.width=void 0,this.unknownCodecs=void 0,this.audioGroupIds=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.textGroupIds=void 0,this.url=void 0,this._urlId=0,this.url=[e.url],this._attrs=[e.attrs],this.bitrate=e.bitrate,e.details&&(this.details=e.details),this.id=e.id||0,this.name=e.name,this.width=e.width||0,this.height=e.height||0,this.audioCodec=e.audioCodec,this.videoCodec=e.videoCodec,this.unknownCodecs=e.unknownCodecs,this.codecSet=[e.videoCodec,e.audioCodec].filter((e=>e)).join(",").replace(/\.[^.,]+/g,"")}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get attrs(){return this._attrs[this._urlId]}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get uri(){return this.url[this._urlId]||""}get urlId(){return this._urlId}set urlId(e){const t=e%this.url.length;this._urlId!==t&&(this.fragmentError=0,this.loadError=0,this.details=void 0,this._urlId=t)}get audioGroupId(){var e;return null==(e=this.audioGroupIds)?void 0:e[this.urlId]}get textGroupId(){var e;return null==(e=this.textGroupIds)?void 0:e[this.urlId]}addFallback(e){this.url.push(e.url),this._attrs.push(e.attrs)}}function Ut(e,t){const n=t.startPTS;if(x(n)){let r,i=0;t.sn>e.sn?(i=n-e.start,r=e):(i=e.start-n,r=t),r.duration!==i&&(r.duration=i)}else if(t.sn>e.sn){e.cc===t.cc&&e.minEndPTS?t.start=e.start+(e.minEndPTS-e.start):t.start=e.start+e.duration}else t.start=Math.max(e.start-t.duration,0)}function Gt(e,t,n,r,i,o){r-n<=0&&(N.warn("Fragment should have a positive duration",t),r=n+t.duration,o=i+t.duration);let a=n,s=r;const c=t.startPTS,l=t.endPTS;if(x(c)){const e=Math.abs(c-n);x(t.deltaPTS)?t.deltaPTS=Math.max(e,t.deltaPTS):t.deltaPTS=e,a=Math.max(n,c),n=Math.min(n,c),i=Math.min(i,t.startDTS),s=Math.min(r,l),r=Math.max(r,l),o=Math.max(o,t.endDTS)}const u=n-t.start;0!==t.start&&(t.start=n),t.duration=r-t.start,t.startPTS=n,t.maxStartPTS=a,t.startDTS=i,t.endPTS=r,t.minEndPTS=s,t.endDTS=o;const d=t.sn;if(!e||d<e.startSN||d>e.endSN)return 0;let p;const _=d-e.startSN,f=e.fragments;for(f[_]=t,p=_;p>0;p--)Ut(f[p],f[p-1]);for(p=_;p<f.length-1;p++)Ut(f[p],f[p+1]);return e.fragmentHint&&Ut(f[f.length-1],e.fragmentHint),e.PTSKnown=e.alignedSliding=!0,u}function qt(e,t){let n=null;const r=e.fragments;for(let c=r.length-1;c>=0;c--){const e=r[c].initSegment;if(e){n=e;break}}e.fragmentHint&&delete e.fragmentHint.endPTS;let i,o=0;if(function(e,t,n){const r=t.skippedSegments,i=Math.max(e.startSN,t.startSN)-t.startSN,o=(e.fragmentHint?1:0)+(r?t.endSN:Math.min(e.endSN,t.endSN))-t.startSN,a=t.startSN-e.startSN,s=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,c=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments;for(let l=i;l<=o;l++){const e=c[a+l];let i=s[l];r&&!i&&l<r&&(i=t.fragments[l]=e),e&&i&&n(e,i)}}(e,t,((e,r)=>{e.relurl&&(o=e.cc-r.cc),x(e.startPTS)&&x(e.endPTS)&&(r.start=r.startPTS=e.startPTS,r.startDTS=e.startDTS,r.maxStartPTS=e.maxStartPTS,r.endPTS=e.endPTS,r.endDTS=e.endDTS,r.minEndPTS=e.minEndPTS,r.duration=e.endPTS-e.startPTS,r.duration&&(i=r),t.PTSKnown=t.alignedSliding=!0),r.elementaryStreams=e.elementaryStreams,r.loader=e.loader,r.stats=e.stats,r.urlId=e.urlId,e.initSegment&&(r.initSegment=e.initSegment,n=e.initSegment)})),n){(t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments).forEac
1h((e=>{var t;e.initSegment&&e.initSegment.relurl!==(null==(t=n)?void 0:t.relurl)||(e.initSegment=n)}))}if(t.skippedSegments)if(t.deltaUpdateFailed=t.fragments.some((e=>!e)),t.deltaUpdateFailed){N.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let e=t.skippedSegments;e--;)t.fragments.shift();t.startSN=t.fragments[0].sn,t.startCC=t.fragments[0].cc}else t.canSkipDateRanges&&(t.dateRanges=function(e,t,n){const r=k({},e);n&&n.forEach((e=>{delete r[e]}));return Object.keys(t).forEach((e=>{const n=new z(t[e].attr,r[e]);n.isValid?r[e]=n:N.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${JSON.stringify(t[e].attr)}"`)})),r}(e.dateRanges,t.dateRanges,t.recentlyRemovedDateranges));const a=t.fragments;if(o){N.warn("discontinuity sliding from playlist, take drift into account");for(let e=0;e<a.length;e++)a[e].cc+=o}t.skippedSegments&&(t.startCC=t.fragments[0].cc),function(e,t,n){if(e&&t){let r=0;for(let i=0,o=e.length;i<=o;i++){const o=e[i],a=t[i+r];o&&a&&o.index===a.index&&o.fragment.sn===a.fragment.sn?n(o,a):r--}}}(e.partList,t.partList,((e,t)=>{t.elementaryStreams=e.elementaryStreams,t.stats=e.stats})),i?Gt(t,i,i.startPTS,i.endPTS,i.startDTS,i.endDTS):Ht(e,t),a.length&&(t.totalduration=t.edge-a[0].start),t.driftStartTime=e.driftStartTime,t.driftStart=e.driftStart;const s=t.advancedDateTime;if(t.advanced&&s){const e=t.edge;t.driftStart||(t.driftStartTime=s,t.driftStart=e),t.driftEndTime=s,t.driftEnd=e}else t.driftEndTime=e.driftEndTime,t.driftEnd=e.driftEnd,t.advancedDateTime=e.advancedDateTime}function Ht(e,t){const n=t.startSN+t.skippedSegments-e.startSN,r=e.fragments;n<0||n>=r.length||Kt(t,r[n].start)}function Kt(e,t){if(t){const n=e.fragments;for(let r=e.skippedSegments;r<n.length;r++)n[r].start+=t;e.fragmentHint&&(e.fragmentHint.start+=t)}}function Wt(e,t,n){var r;return null!=e&&e.details?$t(null==(r=e.details)?void 0:r.partList,t,n):null}function $t(e,t,n){if(e)for(let r=e.length;r--;){const i=e[r];if(i.index===n&&i.fragment.sn===t)return i}return null}function Yt(e){switch(e.details){case C.FRAG_LOAD_TIMEOUT:case C.KEY_LOAD_TIMEOUT:case C.LEVEL_LOAD_TIMEOUT:case C.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function Xt(e,t){const n=Yt(t);return e.default[(n?"timeout":"error")+"Retry"]}function Jt(e,t){const n="linear"===e.backoff?1:Math.pow(2,t);return Math.min(n*e.retryDelayMs,e.maxRetryDelayMs)}function Qt(e){return w(w({},e),{errorRetry:null,timeoutRetry:null})}function en(e,t,n,r){return!!e&&t<e.maxNumRetry&&(function(e){return 0===e&&!1===navigator.onLine||!!e&&(e<400||e>499)}(r)||!!n)}const tn=function(e,t){let n=0,r=e.length-1,i=null,o=null;for(;n<=r;){i=(n+r)/2|0,o=e[i];const a=t(o);if(a>0)n=i+1;else{if(!(a<0))return o;r=i-1}}return null};function nn(e,t,n=0,r=0){let i=null;if(e?i=t[e.sn-t[0].sn+1]||null:0===n&&0===t[0].start&&(i=t[0]),i&&0===rn(n,r,i))return i;const o=tn(t,rn.bind(null,n,r));return!o||o===e&&i?i:o}function rn(e=0,t=0,n){if(n.start<=e&&n.start+n.duration>e)return 0;const r=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-r<=e?1:n.start-r>e&&n.start?-1:0}function on(e,t,n){const r=1e3*Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return(n.endProgramDateTime||0)-r>e}var an=0,sn=2,cn=5,ln=0,un=1,dn=2;function pn(e,t,n){if(performance.now()-e.lastErrorPerfMs>3e5)return!0;const r=e.details;if(t.details===C.FRAG_GAP&&r&&t.frag){const e=t.frag.start,n=nn(null,r.fragments,e);if(n&&!n.gap)return!0}if(n&&e.errors.length<n.errors.length){const n=e.errors[e.errors.length-1];if(r&&n.frag&&t.frag&&Math.abs(n.frag.start-t.frag.start)>3*r.targetduration)return!0}return!1}class _n{constructor(e,t){this.hls=void 0,this.timer=-1,this.requestScheduled=-1,this.canLoad=!1,this.log=void 0,this.warn=void 0,this.log=N.log.bind(N,`${t}:`),this.warn=N.warn.bind(N,`${t}:`),this.hls=e}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){clearTimeout(this.timer),this.timer=-1}startLoad(){this.canLoad=!0,this.requestScheduled=-1,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(e,t){const n=null==t?void 0:t.renditionReports;if(n){let i=-1;for(let o=0;o<n.length;o++){const a=n[o];let s;try{s=new self.URL(a.URI,t.url).href}catch(r){N.warn(`Could not construct new URL for Rendition Report: ${r}`),s=a.URI||""}if(s===e){i=o;break}s===e.substring(0,s.length)&&(i=o)}if(-1!==i){const e=n[i],r=parseInt(e["LAST-MSN"])||(null==t?void 0:t.lastPartSn);let o=parseInt(e["LAST-PART"])||(null==t?void 0:t.lastPartIndex);if(this.hls.config.lowLatencyMode){const e=Math.min(t.age-t.partTarget,t.targetduration);o>=0&&e>t.partTarget&&(o+=1)}return new Vt(r,o>=0?o:void 0,zt)}}}loadPlaylist(e){-1===this.requestScheduled&&(this.requestScheduled=self.performance.now())}shouldLoadPlaylist(e){return this.canLoad&&!!e&&!!e.url&&(!e.details||e.details.live)}shouldReloadPlaylist(e){return-1===this.timer&&-1===this.requestScheduled&&this.shouldLoadPlaylist(e)}playlistLoaded(e,t,n){const{details:r,stats:i}=t,o=self.performance.now(),a=i.loading.first?Math.max(0,o-i.loading.first):0;if(r.advancedDateTime=Date.now()-a,r.live||null!=n&&n.live){if(r.reloaded(n),n&&this.log(`live playlist ${e} ${r.advanced?"REFRESHED "+r.lastPartSn+"-"+r.lastPartIndex:r.updated?"UPDATED":"MISSED"}`),n&&r.fragments.length>0&&qt(n,r),!this.canLoad||!r.live)return;let a,s,c;if(r.canBlockReload&&r.endSN&&r.advanced){const e=this.hls.config.lowLatencyMode,i=r.lastPartSn,o=r.endSN,l=r.lastPartIndex,u=i===o,d=e?0:l;
1-1!==l?(s=u?o+1:i,c=u?d:l+1):s=o+1;const p=r.age,_=p+r.ageHeader;let f=Math.min(_-r.partTarget,1.5*r.targetduration);if(f>0){if(n&&f>n.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${n.tuneInGoal} to: ${f} with playlist age: ${r.age}`),f=0;else{const e=Math.floor(f/r.targetduration);if(s+=e,void 0!==c){c+=Math.round(f%r.targetduration/r.partTarget)}this.log(`CDN Tune-in age: ${r.ageHeader}s last advanced ${p.toFixed(2)}s goal: ${f} skip sn ${e} to part ${c}`)}r.tuneInGoal=f}if(a=this.getDeliveryDirectives(r,t.deliveryDirectives,s,c),e||!u)return void this.loadPlaylist(a)}else(r.canBlockReload||r.canSkipUntil)&&(a=this.getDeliveryDirectives(r,t.deliveryDirectives,s,c));const l=this.hls.mainForwardBufferInfo,u=l?l.end-l.len:0,d=function(e,t=1/0){let n=1e3*e.targetduration;if(e.updated){const r=e.fragments,i=4;if(r.length&&n*i>t){const e=1e3*r[r.length-1].duration;e<n&&(n=e)}}else n/=2;return Math.round(n)}(r,1e3*(r.edge-u));r.updated&&o>this.requestScheduled+d&&(this.requestScheduled=i.loading.start),void 0!==s&&r.canBlockReload?this.requestScheduled=i.loading.first+d-(1e3*r.partTarget||1e3):-1===this.requestScheduled||this.requestScheduled+d<o?this.requestScheduled=o:this.requestScheduled-o<=0&&(this.requestScheduled+=d);let p=this.requestScheduled-o;p=Math.max(0,p),this.log(`reload live playlist ${e} in ${Math.round(p)} ms`),this.timer=self.setTimeout((()=>this.loadPlaylist(a)),p)}else this.clearTimer()}getDeliveryDirectives(e,t,n,r){let i=function(e,t){const{canSkipUntil:n,canSkipDateRanges:r,endSN:i}=e;return n&&(void 0!==t?t-i:0)<n?r?Ft:Zt:zt}(e,n);return null!=t&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,i=zt),new Vt(n,r,i)}checkRetry(e){const t=e.details,n=Yt(e),r=e.errorAction,{action:i,retryCount:o=0,retryConfig:a}=r||{},s=!!r&&!!a&&(i===cn||!r.resolved&&i===sn);if(s){var c;if(this.requestScheduled=-1,o>=a.maxNumRetry)return!1;if(n&&null!=(c=e.context)&&c.deliveryDirectives)this.warn(`Retrying playlist loading ${o+1}/${a.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const e=Jt(a,o);this.timer=self.setTimeout((()=>this.loadPlaylist()),e),this.warn(`Retrying playlist loading ${o+1}/${a.maxNumRetry} after "${t}" in ${e}ms`)}e.levelRetry=!0,r.resolved=!0}return s}}let fn;class hn extends _n{constructor(e,t){super(e,"[level-controller]"),this._levels=[],this._firstLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=t,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(P.LEVEL_LOADED,this.onLevelLoaded,this),e.on(P.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(P.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(P.FRAG_LOADED,this.onFragLoaded,this),e.on(P.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(P.LEVEL_LOADED,this.onLevelLoaded,this),e.off(P.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(P.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(P.FRAG_LOADED,this.onFragLoaded,this),e.off(P.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}startLoad(){this._levels.forEach((e=>{e.loadError=0,e.fragmentError=0})),super.startLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[]}onManifestLoading(e,t){this.resetLevels()}onManifestLoaded(e,t){const n=[],r={};let i;t.levels.forEach((e=>{var t;const o=e.attrs;-1!==(null==(t=e.audioCodec)?void 0:t.indexOf("mp4a.40.34"))&&(fn||(fn=/chrome|firefox/i.test(navigator.userAgent)),fn&&(e.audioCodec=void 0));const{AUDIO:a,CODECS:s,"FRAME-RATE":c,"PATHWAY-ID":l,RESOLUTION:u,SUBTITLES:d}=o,p=`${`${l||"."}-`}${e.bitrate}-${u}-${c}-${s}`;i=r[p],i?i.addFallback(e):(i=new Bt(e),r[p]=i,n.push(i)),mn(i,"audio",a),mn(i,"text",d)})),this.filterAndSortMediaOptions(n,t)}filterAndSortMediaOptions(e,t){let n=[],r=[],i=!1,o=!1,a=!1,s=e.filter((({audioCodec:e,videoCodec:t,width:n,height:r,unknownCodecs:s})=>(i||(i=!(!n||!r)),o||(o=!!t),a||(a=!!e),!(null!=s&&s.length)&&(!e||et(e,"audio"))&&(!t||et(t,"video")))));if((i||o)&&a&&(s=s.filter((({videoCodec:e,width:t,height:n})=>!!e||!(!t||!n)))),0===s.length)return void Promise.resolve().then((()=>
1{if(this.hls){const e=new Error("no level with compatible codecs found in manifest");this.hls.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:e,reason:e.message})}}));t.audioTracks&&(n=t.audioTracks.filter((e=>!e.audioCodec||et(e.audioCodec,"audio"))),bn(n)),t.subtitles&&(r=t.subtitles,bn(r));const c=s.slice(0);s.sort(((e,t)=>e.attrs["HDCP-LEVEL"]!==t.attrs["HDCP-LEVEL"]?(e.attrs["HDCP-LEVEL"]||"")>(t.attrs["HDCP-LEVEL"]||"")?1:-1:e.bitrate!==t.bitrate?e.bitrate-t.bitrate:e.attrs["FRAME-RATE"]!==t.attrs["FRAME-RATE"]?e.attrs.decimalFloatingPoint("FRAME-RATE")-t.attrs.decimalFloatingPoint("FRAME-RATE"):e.attrs.SCORE!==t.attrs.SCORE?e.attrs.decimalFloatingPoint("SCORE")-t.attrs.decimalFloatingPoint("SCORE"):i&&e.height!==t.height?e.height-t.height:0));let l=c[0];if(this.steering&&(s=this.steering.filterParsedLevels(s),s.length!==c.length))for(let p=0;p<c.length;p++)if(c[p].pathwayId===s[0].pathwayId){l=c[p];break}this._levels=s;for(let p=0;p<s.length;p++)if(s[p]===l){this._firstLevel=p,this.log(`manifest loaded, ${s.length} level(s) found, first bitrate: ${l.bitrate}`);break}const u=a&&!o,d={levels:s,audioTracks:n,subtitleTracks:r,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:a,video:o,altAudio:!u&&n.some((e=>!!e.url))};this.hls.trigger(P.MANIFEST_PARSED,d),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}get levels(){return 0===this._levels.length?null:this._levels}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(0===t.length)return;if(e<0||e>=t.length){const n=new Error("invalid level idx"),r=e<0;if(this.hls.trigger(P.ERROR,{type:O.OTHER_ERROR,details:C.LEVEL_SWITCH_ERROR,level:e,fatal:r,error:n,reason:n.message}),r)return;e=Math.min(e,t.length-1)}const n=this.currentLevelIndex,r=this.currentLevel,i=r?r.attrs["PATHWAY-ID"]:void 0,o=t[e],a=o.attrs["PATHWAY-ID"];if(this.currentLevelIndex=e,this.currentLevel=o,n===e&&o.details&&r&&i===a)return;this.log(`Switching to level ${e}${a?" with Pathway "+a:""} from level ${n}${i?" with Pathway "+i:""}`);const s=k({},o,{level:e,maxBitrate:o.maxBitrate,attrs:o.attrs,uri:o.uri,urlId:o.urlId});delete s._attrs,delete s._urlId,this.hls.trigger(P.LEVEL_SWITCHING,s);const c=o.details;if(!c||c.live){const e=this.switchParams(o.uri,null==r?void 0:r.details);this.loadPlaylist(e)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(e){this.manualLevelIndex=e,void 0===this._startLevel&&(this._startLevel=e),-1!==e&&(this.level=e)}get firstLevel(){return this._firstLevel}set firstLevel(e){this._firstLevel=e}get startLevel(){if(void 0===this._startLevel){const e=this.hls.config.startLevel;return void 0!==e?e:this._firstLevel}return this._startLevel}set startLevel(e){this._startLevel=e}onError(e,t){!t.fatal&&t.context&&t.context.type===ht&&t.context.level===this.level&&this.checkRetry(t)}onFragLoaded(e,{frag:t}){if(void 0!==t&&t.type===gt){const e=this._levels[t.level];void 0!==e&&(e.loadError=0)}}onLevelLoaded(e,t){var n;const{level:r,details:i}=t,o=this._levels[r];var a;if(!o)return this.warn(`Invalid level index ${r}`),void(null!=(a=t.deliveryDirectives)&&a.skip&&(i.deltaUpdateFailed=!0));r===this.currentLevelIndex?(0===o.fragmentError&&(o.loadError=0),this.playlistLoaded(r,t,o.details)):null!=(n=t.deliveryDirectives)&&n.skip&&(i.deltaUpdateFailed=!0)}onAudioTrackSwitched(e,t){const n=this.currentLevel;if(!n)return;const r=this.hls.audioTracks[t.id].groupId;if(n.audioGroupIds&&n.audioGroupId!==r){let e=-1;for(let t=0;t<n.audioGroupIds.length;t++)if(n.audioGroupIds[t]===r){e=t;break}-1!==e&&e!==n.urlId&&(n.urlId=e,this.canLoad&&this.startLoad())}}loadPlaylist(e){super.loadPlaylist();const t=this.currentLevelIndex,n=this.currentLevel;if(n&&this.shouldLoadPlaylist(n)){const i=n.urlId;let o=n.uri;if(e)try{o=e.addDirectives(o)}catch(r){this.warn(`Could not construct new URL with HLS Delivery Directives: ${r}`)}const a=n.attrs["PATHWAY-ID"];this.log(`Loading level index ${t}${void 0!==(null==e?void 0:e.msn)?" at sn "+e.msn+" part "+e.part:""} with${a?" Pathway "+a:""} URI ${i+1}/${n.url.length} ${o}`),this.clearTimer(),this.hls.trigger(P.LEVEL_LOADING,{url:o,level:t,id:i,deliveryDirectives:e||null})}}get nextLoadLevel(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(e){this.level=e,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=e)}removeLevel(e,t){const n=(e,n)=>n!==t,r=this._levels.filter(((r,i)=>i!==e||(r.url.length>1&&void 0!==t?(r.url=r.url.filter(n),r.audioGroupIds&&(r.audioGroupIds=r.audioGroupIds.filter(n)),r.textGroupIds&&(r.textGroupIds=r.textGroupIds.filter(n)),r.urlId=0,!0):(this.steering&&this.steering.removeLevel(r),!1))));this.hls.trigger(P.LEVELS_UPDATED,{levels:r})}onLevelsUpdated(e,{levels:t}){t.forEach(((e,t)=>{const{details:n}=e;
1null!=n&&n.fragments&&n.fragments.forEach((e=>{e.level=t}))})),this._levels=t}}function mn(e,t,n){n&&("audio"===t?(e.audioGroupIds||(e.audioGroupIds=[]),e.audioGroupIds[e.url.length-1]=n):"text"===t&&(e.textGroupIds||(e.textGroupIds=[]),e.textGroupIds[e.url.length-1]=n))}function bn(e){const t={};e.forEach((e=>{const n=e.groupId||"";e.id=t[n]=t[n]||0,t[n]++}))}var gn="NOT_LOADED",vn="APPENDING",wn="PARTIAL",yn="OK";class kn{constructor(e){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=e,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(P.BUFFER_APPENDED,this.onBufferAppended,this),e.on(P.FRAG_BUFFERED,this.onFragBuffered,this),e.on(P.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:e}=this;e.off(P.BUFFER_APPENDED,this.onBufferAppended,this),e.off(P.FRAG_BUFFERED,this.onFragBuffered,this),e.off(P.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(e,t){const n=this.activePartLists[t];if(n)for(let r=n.length;r--;){const t=n[r];if(!t)break;const i=t.end;if(t.start<=e&&null!==i&&e<=i)return t}return this.getBufferedFrag(e,t)}getBufferedFrag(e,t){const{fragments:n}=this,r=Object.keys(n);for(let i=r.length;i--;){const o=n[r[i]];if((null==o?void 0:o.body.type)===t&&o.buffered){const t=o.body;if(t.start<=e&&e<=t.end)return t}}return null}detectEvictedFragments(e,t,n,r){this.timeRanges&&(this.timeRanges[e]=t);const i=(null==r?void 0:r.fragment.sn)||-1;Object.keys(this.fragments).forEach((r=>{const o=this.fragments[r];if(!o)return;if(i>=o.body.sn)return;if(!o.buffered&&!o.loaded)return void(o.body.type===n&&this.removeFragment(o.body));const a=o.range[e];a&&a.time.some((e=>{const n=!this.isTimeBuffered(e.startPTS,e.endPTS,t);return n&&this.removeFragment(o.body),n}))}))}detectPartialFragments(e){const t=this.timeRanges,{frag:n,part:r}=e;if(!t||"initSegment"===n.sn)return;const i=En(n),o=this.fragments[i];if(!o||o.buffered&&n.gap)return;const a=!n.relurl;if(Object.keys(t).forEach((e=>{const i=n.elementaryStreams[e];if(!i)return;const s=t[e],c=a||!0===i.partial;o.range[e]=this.getBufferedTimes(n,r,c,s)})),o.loaded=null,Object.keys(o.range).length){o.buffered=!0;(o.body.endList=n.endList||o.body.endList)&&(this.endListFragments[o.body.type]=o),xn(o)||this.removeParts(n.sn-1,n.type)}else this.removeFragment(o.body)}removeParts(e,t){const n=this.activePartLists[t];n&&(this.activePartLists[t]=n.filter((t=>t.fragment.sn>=e)))}fragBuffered(e,t){const n=En(e);let r=this.fragments[n];!r&&t&&(r=this.fragments[n]={body:e,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},e.gap&&(this.hasGaps=!0)),r&&(r.loaded=null,r.buffered=!0)}getBufferedTimes(e,t,n,r){const i={time:[],partial:n},o=e.start,a=e.end,s=e.minEndPTS||a,c=e.maxStartPTS||o;for(let l=0;l<r.length;l++){const e=r.start(l)-this.bufferPadding,t=r.end(l)+this.bufferPadding;if(c>=e&&s<=t){i.time.push({startPTS:Math.max(o,r.start(l)),endPTS:Math.min(a,r.end(l))});break}if(o<t&&a>e)i.partial=!0,i.time.push({startPTS:Math.max(o,r.start(l)),endPTS:Math.min(a,r.end(l))});else if(a<=e)break}return i}getPartialFragment(e){let t,n,r,i=null,o=0;const{bufferPadding:a,fragments:s}=this;return Object.keys(s).forEach((c=>{const l=s[c];l&&xn(l)&&(n=l.body.start-a,r=l.body.end+a,e>=n&&e<=r&&(t=Math.min(e-n,r-e),o<=t&&(i=l.body,o=t)))})),i}isEndListAppended(e){const t=this.endListFragments[e];return void 0!==t&&(t.buffered||xn(t))}getState(e){const t=En(e),n=this.fragments[t];return n?n.buffered?xn(n)?wn:yn:vn:gn}isTimeBuffered(e,t,n){let r,i;for(let o=0;o<n.length;o++){if(r=n.start(o)-this.bufferPadding,i=n.end(o)+this.bufferPadding,e>=r&&t<=i)return!0;if(t<=r)return!1}return!1}onFragLoaded(e,t){const{frag:n,part:r}=t;if("initSegment"===n.sn||n.bitrateTest)return;const i=r?null:t,o=En(n);this.fragments[o]={body:n,appendedPTS:null,loaded:i,buffered:!1,range:Object.create(null)}}onBufferAppended(e,t){const{frag:n,part:r,timeRanges:i}=t;if("initSegment"===n.sn)return;const o=n.type;if(r){let e=this.activePartLists[o];e||(this.activePartLists[o]=e=[]),e.push(r)}
vendor: 1,191 bytes, line 1
1this.timeRanges=i,Object.keys(i).forEach((e=>{const t=i[e];this.detectEvictedFragments(e,t,o,r)}))}onFragBuffered(e,t){this.detectPartialFragments(t)}hasFragment(e){const t=En(e);return!!this.fragments[t]}hasParts(e){var t;return!(null==(t=this.activePartLists[e])||!t.length)}removeFragmentsInRange(e,t,n,r,i){r&&!this.hasGaps||Object.keys(this.fragments).forEach((o=>{const a=this.fragments[o];if(!a)return;const s=a.body;s.type!==n||r&&!s.gap||s.start<t&&s.end>e&&(a.buffered||i)&&this.removeFragment(s)}))}removeFragment(e){const t=En(e);e.stats.loaded=0,e.clearElementaryStreamInfo();const n=this.activePartLists[e.type];if(n){const t=e.sn;this.activePartLists[e.type]=n.filter((e=>e.fragment.sn!==t))}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1}}function xn(e){var t,n,r;return e.buffered&&(e.body.gap||(null==(t=e.range.video)?void 0:t.partial)||(null==(n=e.range.audio)?void 0:n.partial)||(null==(r=e.range.audiovideo)?void 0:r.partial))}function En(e){return`${e.type}_${e.level}_${e.urlId}_${e.sn}
1`}const Sn=Math.pow(2,17);class Pn{constructor(e){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=e}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(e,t){const n=e.url;if(!n)return Promise.reject(new Tn({type:O.NETWORK_ERROR,details:C.FRAG_LOAD_ERROR,fatal:!1,frag:e,error:new Error("Fragment does not have a "+(n?"part list":"url")),networkDetails:null}));this.abort();const r=this.config,i=r.fLoader,o=r.loader;return new Promise(((a,s)=>{if(this.loader&&this.loader.destroy(),e.gap){if(e.tagList.some((e=>"GAP"===e[0])))return void s(Cn(e));e.gap=!1}const c=this.loader=e.loader=i?new i(r):new o(r),l=On(e),u=Qt(r.fragLoadPolicy.default),d={loadPolicy:u,timeout:u.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:"initSegment"===e.sn?1/0:Sn};e.stats=c.stats,c.load(l,d,{onSuccess:(t,n,r,i)=>{this.resetLoader(e,c);let o=t.data;r.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(o.slice(0,16)),o=o.slice(16)),a({frag:e,part:null,payload:o,networkDetails:i})},onError:(t,r,i,o)=>{this.resetLoader(e,c),s(new Tn({type:O.NETWORK_ERROR,details:C.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:w({url:n,data:void 0},t),error:new Error(`HTTP Error ${t.code} ${t.text}`),networkDetails:i,stats:o}))},onAbort:(t,n,r)=>{this.resetLoader(e,c),s(new Tn({type:O.NETWORK_ERROR,details:C.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:r,stats:t}))},onTimeout:(t,n,r)=>{this.resetLoader(e,c),s(new Tn({type:O.NETWORK_ERROR,details:C.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${d.timeout}ms`),networkDetails:r,stats:t}))},onProgress:(n,r,i,o)=>{t&&t({frag:e,part:null,payload:i,networkDetails:o})}})}))}loadPart(e,t,n){this.abort();const r=this.config,i=r.fLoader,o=r.loader;return new Promise(((a,s)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap)return void s(Cn(e,t));const c=this.loader=e.loader=i?new i(r):new o(r),l=On(e,t),u=Qt(r.fragLoadPolicy.default),d={loadPolicy:u,timeout:u.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Sn};t.stats=c.stats,c.load(l,d,{onSuccess:(r,i,o,s)=>{this.resetLoader(e,c),this.updateStatsFromPart(e,t);const l={frag:e,part:t,payload:r.data,networkDetails:s};n(l),a(l)},onError:(n,r,i,o)=>{this.resetLoader(e,c),s(new Tn({type:O.NETWORK_ERROR,details:C.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:w({url:l.url,data:void 0},n),error:new Error(`HTTP Error ${n.code} ${n.text}`),networkDetails:i,stats:o}))},onAbort:(n,r,i)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,c),s(new Tn({type:O.NETWORK_ERROR,details:C.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:i,stats:n}))},onTimeout:(n,r,i)=>{this.resetLoader(e,c),s(new Tn({type:O.NETWORK_ERROR,details:C.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${d.timeout}ms`),networkDetails:i,stats:n}))}})}))}updateStatsFromPart(e,t){const n=e.stats,r=t.stats,i=r.total;if(n.loaded+=r.loaded,i){const r=Math.round(e.duration/t.duration),o=Math.min(Math.round(n.loaded/i),r),a=(r-o)*Math.round(n.loaded/o);n.total=n.loaded+a}else n.total=Math.max(n.loaded,n.total);const o=n.loading,a=r.loading;o.start?o.first+=a.first-a.start:(o.start=a.start,o.first=a.first),o.end=a.end}resetLoader(e,t){e.loader=null,this.loader===t&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),t.destroy()}}function On(e,t=null){const n=t||e,r={frag:e,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},i=n.byteRangeStartOffset,o=n.byteRangeEndOffset;if(x(i)&&x(o)){var a;let t=i,n=o;if("initSegment"===e.sn&&"AES-128"===(null==(a=e.decryptdata)?void 0:a.method)){const e=o-i;e%16&&(n=o+(16-e%16)),0!==i&&(r.resetIV=!0,t=i-16)}r.rangeStart=t,r.rangeEnd=n}return r}function Cn(e,t){const n=new Error(`GAP ${e.gap?"tag":"attribute"} found`),r={type:O.MEDIA_ERROR,details:C.FRAG_GAP,fatal:!1,frag:e,error:n,networkDetails:null};return t&&(r.part=t),(t||e).stats.aborted=!0,new Tn(r)}class Tn extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class jn{constructor(e){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;if(n){if(e&&e!==n.context.frag.type)return;n.abort()}}}detach(){for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e].loader;t&&t.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(e,t=C.KEY_LOAD_ERROR,n,r,i){return new Tn({type:O.NETWORK_E
1RROR,details:t,fatal:!1,frag:e,response:i,error:n,networkDetails:r})}loadClear(e,t){if(this.emeController&&this.config.emeEnabled){const{sn:n,cc:r}=e;for(let e=0;e<t.length;e++){const i=t[e];if(r<=i.cc&&("initSegment"===n||"initSegment"===i.sn||n<i.sn)){this.emeController.selectKeySystemFormat(i).then((e=>{i.setKeyFormat(e)}));break}}}}load(e){return!e.decryptdata&&e.encrypted&&this.emeController?this.emeController.selectKeySystemFormat(e).then((t=>this.loadInternal(e,t))):this.loadInternal(e)}loadInternal(e,t){var n,r;t&&e.setKeyFormat(t);const i=e.decryptdata;if(!i){const n=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(e,C.KEY_LOAD_ERROR,n))}const o=i.uri;if(!o)return Promise.reject(this.createKeyLoadError(e,C.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${o}"`)));let a=this.keyUriToKeyInfo[o];if(null!=(n=a)&&n.decryptdata.key)return i.key=a.decryptdata.key,Promise.resolve({frag:e,keyInfo:a});var s;if(null!=(r=a)&&r.keyLoadPromise)switch(null==(s=a.mediaKeySessionContext)?void 0:s.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return a.keyLoadPromise.then((t=>(i.key=t.keyInfo.decryptdata.key,{frag:e,keyInfo:a})))}switch(a=this.keyUriToKeyInfo[o]={decryptdata:i,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},i.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return"identity"===i.keyFormat?this.loadKeyHTTP(a,e):this.loadKeyEME(a,e);case"AES-128":return this.loadKeyHTTP(a,e);default:return Promise.reject(this.createKeyLoadError(e,C.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${i.method}"`)))}}loadKeyEME(e,t){const n={frag:t,keyInfo:e};if(this.emeController&&this.config.emeEnabled){const t=this.emeController.loadKey(n);if(t)return(e.keyLoadPromise=t.then((t=>(e.mediaKeySessionContext=t,n)))).catch((t=>{throw e.keyLoadPromise=null,t}))}return Promise.resolve(n)}loadKeyHTTP(e,t){const n=this.config,r=new(0,n.loader)(n);return t.keyLoader=e.loader=r,e.keyLoadPromise=new Promise(((i,o)=>{const a={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},s=n.keyLoadPolicy.default,c={loadPolicy:s,timeout:s.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},l={onSuccess:(e,t,n,r)=>{const{frag:a,keyInfo:s,url:c}=n;if(!a.decryptdata||s!==this.keyUriToKeyInfo[c])return o(this.createKeyLoadError(a,C.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),r));s.decryptdata.key=a.decryptdata.key=new Uint8Array(e.data),a.keyLoader=null,s.loader=null,i({frag:a,keyInfo:s})},onError:(e,n,r,i)=>{this.resetLoader(n),o(this.createKeyLoadError(t,C.KEY_LOAD_ERROR,new Error(`HTTP Error ${e.code} loading key ${e.text}`),r,w({url:a.url,data:void 0},e)))},onTimeout:(e,n,r)=>{this.resetLoader(n),o(this.createKeyLoadError(t,C.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),r))},onAbort:(e,n,r)=>{this.resetLoader(n),o(this.createKeyLoadError(t,C.INTERNAL_ABORTED,new Error("key loading aborted"),r))}};r.load(a,c,l)}))}resetLoader(e){const{frag:t,keyInfo:n,url:r}=e,i=n.loader;t.keyLoader===i&&(t.keyLoader=null,n.loader=null),delete this.keyUriToKeyInfo[r],i&&i.destroy()}}const An={length:0,start:()=>0,end:()=>0};class Dn{static isBuffered(e,t){try{if(e){const n=Dn.getBuffered(e);for(let e=0;e<n.length;e++)if(t>=n.start(e)&&t<=n.end(e))return!0}}catch(n){}return!1}static bufferInfo(e,t,n){try{if(e){const r=Dn.getBuffered(e),i=[];let o;for(o=0;o<r.length;o++)i.push({start:r.start(o),end:r.end(o)});return this.bufferedInfo(i,t,n)}}catch(r){}return{len:0,start:t,end:t,nextStart:void 0}}static bufferedInfo(e,t,n){t=Math.max(0,t),e.sort((function(e,t){const n=e.start-t.start;return n||t.end-e.end}));let r=[];if(n)for(let c=0;c<e.length;c++){const t=r.length;if(t){const i=r[t-1].end;e[c].start-i<n?e[c].end>i&&(r[t-1].end=e[c].end):r.push(e[c])}else r.push(e[c])}else r=e;let i,o=0,a=t,s=t;for(let c=0;c<r.length;c++){const e=r[c].start,l=r[c].end;if(t+n>=e&&t<l)a=e,s=l,o=s-t;else if(t+n<e){i=e;break}}return{len:o,start:a||0,end:s||0,nextStart:i}}static getBuffered(e){try{return e.buffered}catch(t){return N.log("failed to get media.buffered",t),An}}}class Nn{constructor(e,t,n,r=0,i=-1,o=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing={start:0,executeStart:0,executeEnd:0,end:0},this.buffering={audio:{start:0,executeStart:0,executeEnd:0,end:0},video:{start:0,executeStart:0,executeEnd:0,end:0},audiovideo:{start:0,executeStart:0,executeEnd:0,end:0}},this.level=e,this.sn=t,this.id=n,this.size=r,this.part=i,this.partial=o}}function In(e,t){let n=null;for(let r=0,i=e.length;r<i;r++){const i=e[r];if(i&&i.cc===t){n=i;break}}return n}function Rn(e,t){if(e){const n=e.start+t;e.start=e.startPTS=n,e.endPTS=n+e.duration}}function Ln(e,t){const n=t.fragments;for(let r=0,i=n.length;r<i;r++)Rn(n[r],e);t.fragmentHint&&Rn(t.fragmentHint,e),t.alignedSliding=!0}function Mn(e,t,n){t&&(!function(e,t,n){if(function(e,t,n){return!(!t.details||!(n.endCC>n.startCC||e&&e.cc<n.startCC))}(e,n,t)){const e=function(e,t,n=0){const r=e.fragments,i=t.fragments;if(!i.length||!r.length)return void N.log("No fragments to align");const o=In(r,i[0].cc);
1if(o&&(!o||o.startPTS))return o;N.log("No frag in previous level to align on")}(n.details,t);e&&x(e.start)&&(N.log(`Adjusting PTS using last level due to CC increase within current level ${t.url}`),Ln(e.start,t))}}(e,n,t),!n.alignedSliding&&t.details&&function(e,t){if(!t.fragments.length||!e.hasProgramDateTime||!t.hasProgramDateTime)return;const n=t.fragments[0].programDateTime,r=e.fragments[0].programDateTime,i=(r-n)/1e3+t.fragments[0].start;i&&x(i)&&(N.log(`Adjusting PTS using programDateTime delta ${r-n}ms, sliding:${i.toFixed(3)} ${e.url} `),Ln(i,e))}(n,t.details),n.alignedSliding||!t.details||n.skippedSegments||Ht(t.details,n))}function zn(e,t){if(!e.hasProgramDateTime||!t.hasProgramDateTime)return;const n=e.fragments,r=t.fragments;if(!n.length||!r.length)return;const i=r[Math.round(r.length/2)-1],o=In(n,i.cc)||n[Math.round(n.length/2)-1],a=i.programDateTime,s=o.programDateTime;if(null===a||null===s)return;Ln((s-a)/1e3-(o.start-i.start),e)}class Zn{constructor(e,t){this.subtle=void 0,this.aesIV=void 0,this.subtle=e,this.aesIV=t}decrypt(e,t){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e)}}class Fn{constructor(e,t){this.subtle=void 0,this.key=void 0,this.subtle=e,this.key=t}expandKey(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])}}class Vn{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(e){const t=new DataView(e),n=new Uint32Array(4);for(let r=0;r<4;r++)n[r]=t.getUint32(4*r);return n}initTable(){const e=this.sBox,t=this.invSBox,n=this.subMix,r=n[0],i=n[1],o=n[2],a=n[3],s=this.invSubMix,c=s[0],l=s[1],u=s[2],d=s[3],p=new Uint32Array(256);let _=0,f=0,h=0;for(h=0;h<256;h++)p[h]=h<128?h<<1:h<<1^283;for(h=0;h<256;h++){let n=f^f<<1^f<<2^f<<3^f<<4;n=n>>>8^255&n^99,e[_]=n,t[n]=_;const s=p[_],h=p[s],m=p[h];let b=257*p[n]^16843008*n;r[_]=b<<24|b>>>8,i[_]=b<<16|b>>>16,o[_]=b<<8|b>>>24,a[_]=b,b=16843009*m^65537*h^257*s^16843008*_,c[n]=b<<24|b>>>8,l[n]=b<<16|b>>>16,u[n]=b<<8|b>>>24,d[n]=b,_?(_=s^p[p[p[m^s]]],f^=p[p[f]]):_=f=1}}expandKey(e){const t=this.uint8ArrayToUint32Array_(e);let n=!0,r=0;for(;r<t.length&&n;)n=t[r]===this.key[r],r++;if(n)return;this.key=t;const i=this.keySize=t.length;if(4!==i&&6!==i&&8!==i)throw new Error("Invalid aes key size="+i);const o=this.ksRows=4*(i+6+1);let a,s;const c=this.keySchedule=new Uint32Array(o),l=this.invKeySchedule=new Uint32Array(o),u=this.sBox,d=this.rcon,p=this.invSubMix,_=p[0],f=p[1],h=p[2],m=p[3];let b,g;for(a=0;a<o;a++)a<i?b=c[a]=t[a]:(g=b,a%i===0?(g=g<<8|g>>>24,g=u[g>>>24]<<24|u[g>>>16&255]<<16|u[g>>>8&255]<<8|u[255&g],g^=d[a/i|0]<<24):i>6&&a%i===4&&(g=u[g>>>24]<<24|u[g>>>16&255]<<16|u[g>>>8&255]<<8|u[255&g]),c[a]=b=(c[a-i]^g)>>>0);for(s=0;s<o;s++)a=o-s,g=3&s?c[a]:c[a-4],l[s]=s<4||a<=4?g:_[u[g>>>24]]^f[u[g>>>16&255]]^h[u[g>>>8&255]]^m[u[255&g]],l[s]=l[s]>>>0}networkToHostOrderSwap(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24}decrypt(e,t,n){const r=this.keySize+6,i=this.invKeySchedule,o=this.invSBox,a=this.invSubMix,s=a[0],c=a[1],l=a[2],u=a[3],d=this.uint8ArrayToUint32Array_(n);let p=d[0],_=d[1],f=d[2],h=d[3];const m=new Int32Array(e),b=new Int32Array(m.length);let g,v,w,y,k,x,E,S,P,O,C,T,j,A;const D=this.networkToHostOrderSwap;for(;t<m.length;){for(P=D(m[t]),O=D(m[t+1]),C=D(m[t+2]),T=D(m[t+3]),k=P^i[0],x=T^i[1],E=C^i[2],S=O^i[3],j=4,A=1;A<r;A++)g=s[k>>>24]^c[x>>16&255]^l[E>>8&255]^u[255&S]^i[j],v=s[x>>>24]^c[E>>16&255]^l[S>>8&255]^u[255&k]^i[j+1],w=s[E>>>24]^c[S>>16&255]^l[k>>8&255]^u[255&x]^i[j+2],y=s[S>>>24]^c[k>>16&255]^l[x>>8&255]^u[255&E]^i[j+3],k=g,x=v,E=w,S=y,j+=4;g=o[k>>>24]<<24^o[x>>16&255]<<16^o[E>>8&255]<<8^o[255&S]^i[j],v=o[x>>>24]<<24^o[E>>16&255]<<16^o[S>>8&255]<<8^o[255&k]^i[j+1],w=o[E>>>24]<<24^o[S>>16&255]<<16^o[k>>8&255]<<8^o[255&x]^i[j+2],y=o[S>>>24]<<24^o[k>>16&255]<<16^o[x>>8&255]<<8^o[255&E]^i[j+3],b[t]=D(g^p),b[t+1]=D(y^_),b[t+2]=D(w^f),b[t+3]=D(v^h),p=P,_=O,f=C,h=T,t+=4}return b.buffer}}class Bn{constructor(e,{removePKCS7Padding:t=!0}={}){if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.useSoftware=e.enableSoftw
1areAES,this.removePKCS7Padding=t,t)try{const e=self.crypto;e&&(this.subtle=e.subtle||e.webkitSubtle)}catch(n){}null===this.subtle&&(this.useSoftware=!0)}destroy(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null}isSync(){return this.useSoftware}flush(){const{currentResult:e,remainderData:t}=this;if(!e||t)return this.reset(),null;const n=new Uint8Array(e);return this.reset(),this.removePKCS7Padding?function(e){const t=e.byteLength,n=t&&new DataView(e.buffer).getUint8(t-1);return n?ae(e,0,t-n):e}(n):n}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(e,t,n){return this.useSoftware?new Promise(((r,i)=>{this.softwareDecrypt(new Uint8Array(e),t,n);const o=this.flush();o?r(o.buffer):i(new Error("[softwareDecrypt] Failed to decrypt data"))})):this.webCryptoDecrypt(new Uint8Array(e),t,n)}softwareDecrypt(e,t,n){const{currentIV:r,currentResult:i,remainderData:o}=this;this.logOnce("JS AES decrypt"),o&&(e=Me(o,e),this.remainderData=null);const a=this.getValidChunk(e);if(!a.length)return null;r&&(n=r);let s=this.softwareDecrypter;s||(s=this.softwareDecrypter=new Vn),s.expandKey(t);const c=i;return this.currentResult=s.decrypt(a.buffer,0,n),this.currentIV=ae(a,-16).buffer,c||null}webCryptoDecrypt(e,t,n){const r=this.subtle;return this.key===t&&this.fastAesKey||(this.key=t,this.fastAesKey=new Fn(r,t)),this.fastAesKey.expandKey().then((t=>{if(!r)return Promise.reject(new Error("web crypto not initialized"));this.logOnce("WebCrypto AES decrypt");return new Zn(r,new Uint8Array(n)).decrypt(e.buffer,t)})).catch((r=>(N.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${r.name}: ${r.message}`),this.onWebCryptoError(e,t,n))))}onWebCryptoError(e,t,n){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(e,t,n);const r=this.flush();if(r)return r.buffer;throw new Error("WebCrypto and softwareDecrypt: failed to decrypt data")}getValidChunk(e){let t=e;const n=e.length-e.length%16;return n!==e.length&&(t=ae(e,0,n),this.remainderData=ae(e,n)),t}logOnce(e){this.logEnabled&&(N.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const Un=function(e){let t="";const n=e.length;for(let r=0;r<n;r++)t+=`[${e.start(r).toFixed(3)}-${e.end(r).toFixed(3)}]`;return t},Gn="STOPPED",qn="IDLE",Hn="KEY_LOADING",Kn="FRAG_LOADING",Wn="FRAG_LOADING_WAITING_RETRY",$n="WAITING_TRACK",Yn="PARSING",Xn="PARSED",Jn="ENDED",Qn="ERROR",er="WAITING_INIT_PTS",tr="WAITING_LEVEL";class nr extends class{constructor(){this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}destroy(){this.onHandlerDestroying(),this.onHandlerDestroyed()}onHandlerDestroying(){this.clearNextTick(),this.clearInterval()}onHandlerDestroyed(){}hasInterval(){return!!this._tickInterval}hasNextTick(){return!!this._tickTimer}setInterval(e){return!this._tickInterval&&(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,e),!0)}clearInterval(){return!!this._tickInterval&&(self.clearInterval(this._tickInterval),this._tickInterval=null,!0)}clearNextTick(){return!!this._tickTimer&&(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0)}tick(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)}tickImmediate(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)}doTick(){}}{constructor(e,t,n,r,i){super(),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=Gn,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.loadedmetadata=!1,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.onvseeking=null,this.onvended=null,this.logPrefix="",this.log=void 0,this.warn=void 0,this.playlistType=i,this.logPrefix=r,this.log=N.log.bind(N,`${r}:`),this.warn=N.warn.bind(N,`${r}:`),this.hls=e,this.fragmentLoader=new Pn(e.config),this.keyLoader=n,this.fragmentTracker=t,this.config=e.config,this.decrypter=new Bn(e.config),e.on(P.MANIFEST_LOADED,this.onManifestLoaded,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const e=this.fragCurrent;null!=e&&e.loader&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=Gn}_streamEnded(e,t){if(t.live||e.nextStart||!e.end||!this.media)return!1;const n=t.partList;if(null!=n&&n.length){const e=n[n.length-1];return Dn.isBuffered(this.media,e.start+e.duration/2)}const r=t.fragments[t.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(r)}getLevelDetails(){var e;if(this.levels&&null!==this.levelLastLoaded)return null==(e=this.levels[this.levelLastLoaded])?void 0:e.details}onMediaAttached(e,t){const n=this.media=this.mediaBuffer=t.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),n.addEventListener("seeking",this.onvseeking),n.addEventListener("ended",this.onvended);const r=this.config;this.levels&&r.autoStartLoad&&this.state===Gn&&this.startLoad(r.
vendor: 8,309 bytes, line 1
1startPosition)}onMediaDetaching(){const e=this.media;null!=e&&e.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),e&&this.onvseeking&&this.onvended&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvended=null),this.keyLoader&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}onMediaSeeking(){const{config:e,fragCurrent:t,media:n,mediaBuffer:r,state:i}=this,o=n?n.currentTime:0,a=Dn.bufferInfo(r||n,o,e.maxBufferHole);if(this.log(`media seeking to ${x(o)?o.toFixed(3):o}, state: ${i}`),this.state===Jn)this.resetLoadingState();else if(t){const n=e.maxFragLookUpTolerance,r=t.start-n,i=t.start+t.duration+n;if(!a.len||i<a.start||r>a.end){const e=o>i;(o<r||e)&&(e&&t.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),t.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}n&&(this.fragmentTracker.removeFragmentsInRange(o,1/0,this.playlistType,!0),this.lastCurrentTime=o),this.loadedmetadata||a.len||(this.nextLoadPosition=this.startPosition=o),this.tickImmediate()}onMediaEnded(){this.startPosition=this.lastCurrentTime=0}onManifestLoaded(e,t){this.startTimeOffset=t.startTimeOffset,this.initPTS=[]}onHandlerDestroying(){this.stopLoad(),super.onHandlerDestroying()}onHandlerDestroyed(){this.state=Gn,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(e,t,n){this._loadFragForPlayback(e,t,n)}_loadFragForPlayback(e,t,n){this._doFragLoad(e,t,n,(t=>{if(this.fragContextChanged(e))return this.warn(`Fragment ${e.sn}${t.part?" p: "+t.part.index:""} of level ${e.level} was dropped during download.`),void this.fragmentTracker.removeFragment(e);e.stats.chunkCount++,this._handleFragmentLoadProgress(t)})).then((t=>{if(!t)return;const n=this.state;this.fragContextChanged(e)?(n===Kn||!this.fragCurrent&&n===Yn)&&(this.fragmentTracker.removeFragment(e),this.state=qn):("payload"in t&&(this.log(`Loaded fragment ${e.sn} of level ${e.level}`),this.hls.trigger(P.FRAG_LOADED,t)),this._handleFragmentLoadComplete(t))})).catch((t=>{this.state!==Gn&&this.state!==Qn&&(this.warn(t),this.resetFragmentLoading(e))}))}clearTrackerIfNeeded(e){var t;const{fragmentTracker:n}=this;if(n.getState(e)===vn){const t=e.type,r=this.getFwdBufferInfo(this.mediaBuffer,t),i=Math.max(e.duration,r?r.len:this.config.maxBufferLength);this.reduceMaxBufferLength(i)&&n.removeFragment(e)}else 0===(null==(t=this.mediaBuffer)?void 0:t.buffered.length)?n.removeAllFragments():n.hasParts(e.type)&&(n.detectPartialFragments({frag:e,part:null,stats:e.stats,id:e.type}),n.getState(e)===wn&&n.removeFragment(e))}checkLiveUpdate(e){if(e.updated&&!e.live){const t=e.fragments[e.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type})}e.fragments[0]||(e.deltaUpdateFailed=!0)}flushMainBuffer(e,t,n=null){if(!(e-t))return;const r={startOffset:e,endOffset:t,type:n};this.hls.trigger(P.BUFFER_FLUSHING,r)}_loadInitSegment(e,t){this._doFragLoad(e,t).then((t=>{if(!t||this.fragContextChanged(e)||!this.levels)throw new Error("init load aborted");return t})).then((t=>{const{hls:n}=this,{payload:r}=t,i=e.decryptdata;if(r&&r.byteLength>0&&i&&i.key&&i.iv&&"AES-128"===i.method){const o=self.performance.now();return this.decrypter.decrypt(new Uint8Array(r),i.key.buffer,i.iv.buffer).catch((t=>{throw n.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.FRAG_DECRYPT_ERROR,fatal:!1,error:t,reason:t.message,frag:e}),t})).then((r=>{const i=self.performance.now();return n.trigger(P.FRAG_DECRYPTED,{frag:e,payload:r,stats:{tstart:o,tdecrypt:i}}),t.payload=r,t}))}return t})).then((n=>{const{fragCurrent:r,hls:i,levels:o}=this;if(!o)throw new Error("init load aborted, missing levels");const a=e.stats;this.state=qn,t.fragmentError=0,e.data=new Uint8Array(n.payload),a.parsing.start=a.buffering.start=self.performance.now(),a.parsing.end=a.buffering.end=self.performance.now(),n.frag===r&&i.trigger(P.FRAG_BUFFERED,{stats:a,frag:r,part:null,id:e.type}),this.tick()})).catch((t=>{this.state!==Gn&&this.state!==Qn&&(this.warn(t),this.resetFragmentLoading(e))}))}fragContextChanged(e){const{fragCurrent:t}=this;return!e||!t||e.level!==t.level||e.sn!==t.sn||e.urlId!==t.urlId}fragBufferedComplete(e,t){var n,r,i,o;const a=this.mediaBuffer?this.mediaBuffer:this.media;this.log(`Buffered ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.playlistType===gt?"level":"track"} ${e.level} (frag:[${(null!=(n=e.startPTS)?n:NaN).toFixed(3)}-${(null!=(r=e.endPTS)?r:NaN).toFixed(3)}] > buffer:${a?Un(Dn.getBuffered(a)):"(detached)"})`),this.state=qn,a&&(!this.loadedmetadata&&e.type==gt&&a.buffered.length&&(null==(i=this.fragCurrent)?void 0:i.sn)===(null==(o=this.fragPrevious)?void 0:o.sn)&&(this.loadedmetadata=!0,this.seekToStartPos()),this.tick())}seekToStartPos(){}_handleFragmentLoadComplete(e){const{transmuxer:t}=this;if(!t)return;const{frag:n,part:r,partsLoaded:i}=e,o=!i||0===i.length||i.some((e=>!e)),a=new Nn(n.level,n.sn,n.stats.chunkCount+1,0,r?r.index:-1,!o);t.flush(a)}_handleFragmentLoadProgress(e){}_doFragLoad(e,t,n=null,r){var i;const o=null==t?void 0:t.details;if(!this.levels||!o)throw new Error(`frag load aborted, missing level${o?"":" detail"}s`);let a=null;if(!e.encrypted||null!=(i=e.decryptdata)&&i.key?!e.encrypted&&o.encryptedFragments.length&&this.keyLoader.loadClear(e,o.encryptedFragments):(this.log(`Loading key for ${e.sn} of [${o.startSN}-${o.endSN}], ${"[stream-controller]"===this.logPrefix?"level":"track"} ${e.level}`),this.state=Hn,this.fragCurrent=e,a=this.keyLoader.load(e).then((e=>{if(!this.fragContextChanged(e.frag))return this.hls.trigger(P.KEY_LOADED,e),this.state===Hn&&(this.state=qn),e})),this.hls.trigger(P.KEY_LOADING,{frag:e}),null===this.fragCurrent&&(a=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))),n=Math.max(e.start,n||0),this.config.lowLatencyMode&&"initSegment"!==e.sn){const i=o.partList;if(i&&r){n>e.end&&o.fragmentHint&&(e=o.fragmentHint);const s=this.getNextPart(i,e,n);if(s>-1){const c=i[s];let l;return this.log(`Loading part sn: ${e.sn} p: ${c.index} cc: ${e.cc} of playlist [${o.startSN}-${o.endSN}] parts [0-${s}-${i.length-1}] ${"[stream-controller]"===this.logPrefix?"level":"track"}: ${e.level}, target: ${parseFloat(n.toFixed(3))}`),this.nextLoadPosition=c.start+c.duration,this.state=Kn,l=a?a.then((n=>!n||this.fragContextChanged(n.frag)?null:this.doFragPartsLoad(e,c,t,r))).catch((e=>this.handleFragLoadError(e))):this.doFragPartsLoad(e,c,t,r).catch((e=>this.handleFragLoadError(e))),this.hls.trigger(P.FRAG_LOADING,{frag:e,part:c,targetBufferTime:n}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):l}if(!e.url||this.loadedEndOfParts(i,n))return Promise.resolve(null)}}this.log(`Loading fragment ${e.sn} cc: ${e.cc} ${o?"of ["+o.startSN+"-"+o.endSN+"] ":""}${"[stream-controller]"===this.logPrefix?"level":"track"}: ${e.level}, target: ${parseFloat(n.toFixed(3))}`),x(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=Kn;const s=this.config.progressive;let c;return c=s&&a?a.then((t=>!t||this.fragContextChanged(null==t?void 0:t.frag)?null:this.fragmentLoader.load(e,r))).catch((e=>this.handleFragLoadError(e))):Promise.all([this.fragmentLoader.load(e,s?r:void 0),a]).then((([e])=>(!s&&e&&r&&r(e),e))).catch((e=>this.handleFragLoadError(e))),this.hls.trigger(P.FRAG_LOADING,{frag:e,targetBufferTime:n}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):c}doFragPartsLoad(e,t,n,r){return new Promise(((i,o)=>{var a;const s=[],c=null==(a=n.details)?void 0:a.partList,l=t=>{this.fragmentLoader.loadPart(e,t,r).then((r=>{s[t.index]=r;const o=r.part;this.hls.trigger(P.FRAG_LOADED,r);const a=Wt(n,e.sn,t.index+1)||$t(c,e.sn,t.index+1);if(!a)return i({frag:e,part:o,partsLoaded:s});l(a)})).catch(o)};l(t)}))}handleFragLoadError(e){if("data"in e){const t=e.data;
vendor: 4,755 bytes, line 1
1e.data&&t.details===C.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):this.hls.trigger(P.ERROR,t)}else this.hls.trigger(P.ERROR,{type:O.OTHER_ERROR,details:C.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==Yn)return void(this.fragCurrent||this.state===Gn||this.state===Qn||(this.state=qn));const{frag:n,part:r,level:i}=t,o=self.performance.now();n.stats.parsing.end=o,r&&(r.stats.parsing.end=o),this.updateLevelTiming(n,r,i,e.partial)}getCurrentContext(e){const{levels:t,fragCurrent:n}=this,{level:r,sn:i,part:o}=e;if(null==t||!t[r])return this.warn(`Levels object was unset while buffering fragment ${i} of level ${r}. The current chunk will not be buffered.`),null;const a=t[r],s=o>-1?Wt(a,i,o):null,c=s?s.fragment:function(e,t,n){if(null==e||!e.details)return null;const r=e.details;let i=r.fragments[t-r.startSN];return i||(i=r.fragmentHint,i&&i.sn===t?i:t<r.startSN&&n&&n.sn===t?n:null)}(a,i,n);return c?(n&&n!==c&&(c.stats=n.stats),{frag:c,part:s,level:a}):null}bufferFragmentData(e,t,n,r,i){var o;if(!e||this.state!==Yn)return;const{data1:a,data2:s}=e;let c=a;if(a&&s&&(c=Me(a,s)),null==(o=c)||!o.length)return;const l={type:e.type,frag:t,part:n,chunkMeta:r,parent:t.type,data:c};if(this.hls.trigger(P.BUFFER_APPENDING,l),e.dropped&&e.independent&&!n){if(i)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!Dn.isBuffered(t,t.currentTime))return void this.flushMainBuffer(0,e.start);const n=t.currentTime,r=Dn.bufferInfo(t,n,0),i=e.duration,o=Math.min(2*this.config.maxFragLookUpTolerance,.25*i),a=Math.max(Math.min(e.start-o,r.end-o),n+o);e.start-a>o&&this.flushMainBuffer(a,e.start)}getFwdBufferInfo(e,t){const n=this.getLoadPosition();return x(n)?this.getFwdBufferInfoAtPos(e,n,t):null}getFwdBufferInfoAtPos(e,t,n){const{config:{maxBufferHole:r}}=this,i=Dn.bufferInfo(e,t,r);if(0===i.len&&void 0!==i.nextStart){const o=this.fragmentTracker.getBufferedFrag(t,n);if(o&&i.nextStart<o.end)return Dn.bufferInfo(e,t,Math.max(i.nextStart,r))}return i}getMaxBufferLength(e){const{config:t}=this;let n;return n=e?Math.max(8*t.maxBufferSize/e,t.maxBufferLength):t.maxBufferLength,Math.min(n,t.maxMaxBufferLength)}reduceMaxBufferLength(e){const t=this.config,n=e||t.maxBufferLength;return t.maxMaxBufferLength>=n&&(t.maxMaxBufferLength/=2,this.warn(`Reduce max buffer length to ${t.maxMaxBufferLength}s`),!0)}getAppendedFrag(e,t=gt){const n=this.fragmentTracker.getAppendedFrag(e,gt);return n&&"fragment"in n?n.fragment:n}getNextFragment(e,t){const n=t.fragments,r=n.length;if(!r)return null;const{config:i}=this,o=n[0].start;let a;if(t.live){const o=i.initialLiveManifestSize;if(r<o)return this.warn(`Not enough fragments to start playback (have: ${r}, need: ${o})`),null;t.PTSKnown||this.startFragRequested||-1!==this.startPosition||(a=this.getInitialLiveFragment(t,n),this.startPosition=a?this.hls.liveSyncPosition||a.start:e)}else e<=o&&(a=n[0]);if(!a){const n=i.lowLatencyMode?t.partEnd:t.fragmentEnd;a=this.getFragmentAtPosition(e,n,t)}return this.mapToInitFragWhenRequired(a)}isLoopLoading(e,t){const n=this.fragmentTracker.getState(e);return(n===yn||n===wn&&!!e.gap)&&this.nextLoadPosition>t}getNextFragmentLoopLoading(e,t,n,r,i){const o=e.gap,a=this.getNextFragment(this.nextLoadPosition,t);if(null===a)return a;if(e=a,o&&e&&!e.gap&&n.nextStart){const t=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,n.nextStart,r);if(null!==t&&n.len+t.len>=i)return this.log(`buffer full after gaps in "${r}" playlist starting at sn: ${e.sn}`),null}return e}mapToInitFragWhenRequired(e){return null==e||!e.initSegment||null!=e&&e.initSegment.data||this.bitrateTest?e:e.initSegment}getNextPart(e,t,n){let r=-1,i=!1,o=!0;for(let a=0,s=e.length;a<s;a++){const s=e[a];if(o=o&&!s.independent,r>-1&&n<s.start)break;const c=s.loaded;c?r=-1:(i||s.independent||o)&&s.fragment===t&&(r=a),i=c}return r}loadedEndOfParts(e,t){const n=e[e.length-1];return n&&t>n.start&&n.loaded}getInitialLiveFragment(e,t){const n=this.fragPrevious;let r=null;if(n){if(e.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${n.programDateTime}`),r=function(e,t,n){if(null===t||!Array.isArray(e)||!e.length||!x(t))return null;if(t<(e[0].programDateTime||0))return null;if(t>=(e[e.length-1].endProgramDateTime||0))return null;n=n||0;for(let r=0;r<e.length;++r){const i=e[r];if(on(t,n,i))return i}return null}(t,n.endProgramDateTime,this.config.maxFragLookUpTolerance)),!r){const i=n.sn+1;if(i>=e.startSN&&i<=e.endSN){const o=t[i-e.startSN];n.cc===o.cc&&(r=o,this.log(`Live playlist, switching playlist, load frag with next SN: ${r.sn}`))}r||(r=function(e,t){return tn(e,(e=>e.cc<t?1:e.cc>t?-1:0))}
1(t,n.cc),r&&this.log(`Live playlist, switching playlist, load frag with same CC: ${r.sn}`))}}else{const t=this.hls.liveSyncPosition;null!==t&&(r=this.getFragmentAtPosition(t,this.bitrateTest?e.fragmentEnd:e.edge,e))}return r}getFragmentAtPosition(e,t,n){const{config:r}=this;let{fragPrevious:i}=this,{fragments:o,endSN:a}=n;const{fragmentHint:s}=n,c=r.maxFragLookUpTolerance,l=n.partList,u=!!(r.lowLatencyMode&&null!=l&&l.length&&s);let d;if(u&&s&&!this.bitrateTest&&(o=o.concat(s),a=s.sn),e<t){d=nn(i,o,e,e>t-c?0:c)}else d=o[o.length-1];if(d){const e=d.sn-n.startSN,t=this.fragmentTracker.getState(d);if((t===yn||t===wn&&d.gap)&&(i=d),i&&d.sn===i.sn&&(!u||l[0].fragment.sn>d.sn)){if(i&&d.level===i.level){const t=o[e+1];d=d.sn<a&&this.fragmentTracker.getState(t)!==yn?t:null}}}return d}synchronizeToLiveEdge(e){const{config:t,media:n}=this;if(!n)return;const r=this.hls.liveSyncPosition,i=n.currentTime,o=e.fragments[0].start,a=e.edge,s=i>=o-t.maxFragLookUpTolerance&&i<=a;if(null!==r&&n.duration>r&&(i<r||!s)){const o=void 0!==t.liveMaxLatencyDuration?t.liveMaxLatencyDuration:t.liveMaxLatencyDurationCount*e.targetduration;(!s&&n.readyState<4||i<a-o)&&(this.loadedmetadata||(this.nextLoadPosition=r),n.readyState&&(this.warn(`Playback: ${i.toFixed(3)} is located too far from the end of live sliding playlist: ${a}, reset currentTime to : ${r.toFixed(3)}`),n.currentTime=r))}}alignPlaylists(e,t){const{levels:n,levelLastLoaded:r,fragPrevious:i}=this,o=null!==r?n[r]:null,a=e.fragments.length;if(!a)return this.warn("No fragments in live playlist"),0;const s=e.fragments[0].start,c=!t,l=e.alignedSliding&&x(s);if(c||!l&&!s){Mn(i,o,e);const n=e.fragments[0].start;return this.log(`Live playlist sliding: ${n.toFixed(2)} start-sn: ${t?t.startSN:"na"}->${e.startSN} prev-sn: ${i?i.sn:"na"} fragments: ${a}`),n}return s}waitForCdnTuneIn(e){return e.live&&e.canBlockReload&&e.partTarget&&e.tuneInGoal>Math.max(e.partHoldBack,3*e.partTarget)}setStartPosition(e,t){let n=this.startPosition;if(n<t&&(n=-1),-1===n||-1===this.lastCurrentTime){const r=null!==this.startTimeOffset,i=r?this.startTimeOffset:e.startTimeOffset;null!==i&&x(i)?(n=t+i,i<0&&(n+=e.totalduration),n=Math.min(Math.max(t,n),t+e.totalduration),this.log(`Start time offset ${i} found in ${r?"multivariant":"media"} playlist, adjust startPosition to ${n}`),this.startPosition=n):e.live?n=this.hls.liveSyncPosition||t:this.startPosition=n=0,this.lastCurrentTime=n}this.nextLoadPosition=n}getLoadPosition(){const{media:e}=this;let t=0;return this.loadedmetadata&&e?t=e.currentTime:this.nextLoadPosition&&(t=this.nextLoadPosition),t}handleFragLoadAborted(e,t){this.transmuxer&&"initSegment"!==e.sn&&e.stats.aborted&&(this.warn(`Fragment ${e.sn}${t?" part "+t.index:""} of level ${e.level} was aborted`),this.resetFragmentLoading(e))}resetFragmentLoading(e){this.fragCurrent&&(this.fragContextChanged(e)||this.state===Wn)||(this.state=qn)}onFragmentOrKeyLoadError(e,t){if(t.chunkMeta&&!t.frag){const e=this.getCurrentContext(t.chunkMeta);e&&(t.frag=e.frag)}const n=t.frag;if(!n||n.type!==e||!this.levels)return;var r;if(this.fragContextChanged(n))return void this.warn(`Frag load error must match current frag to retry ${n.url} > ${null==(r=this.fragCurrent)?void 0:r.url}`);const i=t.details===C.FRAG_GAP;i&&this.fragmentTracker.fragBuffered(n,!0);const o=t.errorAction,{action:a,retryCount:s=0,retryConfig:c}=o||{};if(o&&a===cn&&c){var l;this.resetStartWhenNotLoaded(null!=(l=this.levelLastLoaded)?l:n.level);const r=Jt(c,s);this.warn(`Fragment ${n.sn} of ${e} ${n.level} errored with ${t.details}, retrying loading ${s+1}/${c.maxNumRetry} in ${r}ms`),o.resolved=!0,this.retryDate=self.performance.now()+r,this.state=Wn}else c&&o?(this.resetFragmentErrors(e),s<c.maxNumRetry?i||(o.resolved=!0):N.warn(`${t.details} reached or exceeded max retry (${s})`)):(null==o?void 0:o.action)===sn?this.state=tr:this.state=Qn;this.tickImmediate()}reduceLengthAndFlushBuffer(e){if(this.state===Yn||this.state===Xn){const t=e.parent,n=this.getFwdBufferInfo(this.mediaBuffer,t),r=n&&n.len>.5;r&&this.reduceMaxBufferLength(n.len);const i=!r;return i&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${t} buffer`),e.frag&&(this.fragmentTracker.removeFragment(e.frag),this.nextLoadPosition=e.frag.start),this.resetLoadingState(),i}return!1}resetFragmentErrors(e){e===vt&&(this.fragCurrent=null),this.loadedmetadata||(this.startFragRequested=!1),this.state!==Gn&&(this.state=qn)}afterBufferFlushed(e,t,n){if(!e)return;const r=Dn.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===Jn&&this.resetLoadingState()}
1resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state=qn}resetStartWhenNotLoaded(e){if(!this.loadedmetadata){this.startFragRequested=!1;const t=this.levels?this.levels[e].details:null;null!=t&&t.live?(this.startPosition=-1,this.setStartPosition(t,0),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(e){var t;this.warn(`The loading context changed while buffering fragment ${e.sn} of level ${e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(null!=(t=this.levelLastLoaded)?t:e.level),this.resetLoadingState()}removeUnbufferedFrags(e=0){this.fragmentTracker.removeFragmentsInRange(e,1/0,this.playlistType,!1,!0)}updateLevelTiming(e,t,n,r){var i;const o=n.details;if(!o)return void this.warn("level.details undefined");if(Object.keys(e.elementaryStreams).reduce(((t,i)=>{const a=e.elementaryStreams[i];if(a){const s=a.endPTS-a.startPTS;if(s<=0)return this.warn(`Could not parse fragment ${e.sn} ${i} duration reliably (${s})`),t||!1;const c=r?0:Gt(o,e,a.startPTS,a.endPTS,a.startDTS,a.endDTS);return this.hls.trigger(P.LEVEL_PTS_UPDATED,{details:o,level:n,drift:c,type:i,frag:e,start:a.startPTS,end:a.endPTS}),!0}return t}),!1))n.fragmentError=0;else if(null===(null==(i=this.transmuxer)?void 0:i.error)){const t=new Error(`Found no media in fragment ${e.sn} of level ${e.level} resetting transmuxer to fallback to playlist timing`);if(0===n.fragmentError&&(n.fragmentError++,e.gap=!0,this.fragmentTracker.removeFragment(e),this.fragmentTracker.fragBuffered(e,!0)),this.warn(t.message),this.hls.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.FRAG_PARSING_ERROR,fatal:!1,error:t,frag:e,reason:`Found no media in msn ${e.sn} of level "${n.url}"`}),!this.hls)return;this.resetTransmuxer()}this.state=Xn,this.hls.trigger(P.FRAG_PARSED,{frag:e,part:t})}resetTransmuxer(){this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null)}recoverWorkerError(e){var t,n,r;"demuxerWorker"===e.event&&(this.fragmentTracker.removeAllFragments(),this.resetTransmuxer(),this.resetStartWhenNotLoaded(null!=(t=null!=(n=this.levelLastLoaded)?n:null==(r=this.fragCurrent)?void 0:r.level)?t:0),this.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}function rr(){return self.SourceBuffer||self.WebKitSourceBuffer}function ir(e="",t=9e4){return{type:e,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class or{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(e,t,n,r){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(e){this.initPTS=e,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(e,t){return!1}appendFrame(e,t,n){}demux(e,t){this.cachedData&&(e=Me(this.cachedData,e),this.cachedData=null);let n,r=le(e,0),i=r?r.length:0;const o=this._audioTrack,a=this._id3Track,s=r?(e=>{const t=fe(e);for(let n=0;n<t.length;n++){const e=t[n];if(pe(e))return ve(e)}})(r):void 0,c=e.length;for((null===this.basePTS||0===this.frameIndex&&x(s))&&(this.basePTS=ar(s,t,this.initPTS),this.lastPTS=this.basePTS),null===this.lastPTS&&(this.lastPTS=this.basePTS),r&&r.length>0&&a.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:r,type:Ct,duration:Number.POSITIVE_INFINITY});i<c;){if(this.canParse(e,i)){const t=this.appendFrame(o,e,i);t?(this.frameIndex++,this.lastPTS=t.sample.pts,i+=t.length,n=i):i=c}
vendor: 8,931 bytes, line 1
1else de(e,i)?(r=le(e,i),a.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:r,type:Ct,duration:Number.POSITIVE_INFINITY}),i+=r.length,n=i):i++;if(i===c&&n!==c){const t=ae(e,n);this.cachedData?this.cachedData=Me(this.cachedData,t):this.cachedData=t}}return{audioTrack:o,videoTrack:ir(),id3Track:a,textTrack:ir()}}demuxSampleAes(e,t,n){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(e){const t=this.cachedData;return t&&(this.cachedData=null,this.demux(t,0)),{audioTrack:this._audioTrack,videoTrack:ir(),id3Track:this._id3Track,textTrack:ir()}}destroy(){}}const ar=(e,t,n)=>{if(x(e))return 90*e;return 9e4*t+(n?9e4*n.baseTime/n.timescale:0)};function sr(e,t){return 255===e[t]&&240===(246&e[t+1])}function cr(e,t){return 1&e[t+1]?7:9}function lr(e,t){return(3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5}function ur(e,t){return t+1<e.length&&sr(e,t)}function dr(e,t){if(ur(e,t)){const n=cr(e,t);if(t+n>=e.length)return!1;const r=lr(e,t);if(r<=n)return!1;const i=t+r;return i===e.length||ur(e,i)}return!1}function pr(e,t,n,r,i){if(!e.samplerate){const o=function(e,t,n,r){let i,o,a,s;const c=navigator.userAgent.toLowerCase(),l=r,u=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];i=1+((192&t[n+2])>>>6);const d=(60&t[n+2])>>>2;if(!(d>u.length-1))return a=(1&t[n+2])<<2,a|=(192&t[n+3])>>>6,N.log(`manifest codec:${r}, ADTS type:${i}, samplingIndex:${d}`),/firefox/i.test(c)?d>=6?(i=5,s=new Array(4),o=d-3):(i=2,s=new Array(2),o=d):-1!==c.indexOf("android")?(i=2,s=new Array(2),o=d):(i=5,s=new Array(4),r&&(-1!==r.indexOf("mp4a.40.29")||-1!==r.indexOf("mp4a.40.5"))||!r&&d>=6?o=d-3:((r&&-1!==r.indexOf("mp4a.40.2")&&(d>=6&&1===a||/vivaldi/i.test(c))||!r&&1===a)&&(i=2,s=new Array(2)),o=d)),s[0]=i<<3,s[0]|=(14&d)>>1,s[1]|=(1&d)<<7,s[1]|=a<<3,5===i&&(s[1]|=(14&o)>>1,s[2]=(1&o)<<7,s[2]|=8,s[3]=0),{config:s,samplerate:u[d],channelCount:a,codec:"mp4a.40."+i,manifestCodec:l};e.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.FRAG_PARSING_ERROR,fatal:!0,reason:`invalid ADTS sampling index:${d}`})}(t,n,r,i);if(!o)return;e.config=o.config,e.samplerate=o.samplerate,e.channelCount=o.channelCount,e.codec=o.codec,e.manifestCodec=o.manifestCodec,N.log(`parsed codec:${e.codec}, rate:${o.samplerate}, channels:${o.channelCount}`)}}function _r(e){return 9216e4/e}function fr(e,t,n,r,i){const o=r+i*_r(e.samplerate),a=function(e,t){const n=cr(e,t);if(t+n<=e.length){const r=lr(e,t)-n;if(r>0)return{headerLength:n,frameLength:r}}}(t,n);let s;if(a){const{frameLength:r,headerLength:i}=a,c=i+r,l=Math.max(0,n+c-t.length);l?(s=new Uint8Array(c-i),s.set(t.subarray(n+i,t.length),0)):s=t.subarray(n+i,n+c);const u={unit:s,pts:o};return l||e.samples.push(u),{sample:u,length:c,missing:l}}const c=t.length-n;s=new Uint8Array(c),s.set(t.subarray(n,t.length),0);return{sample:{unit:s,pts:o},length:c,missing:-1}}const hr=/\/emsg[-/]ID3/i;let mr=null;const br=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],gr=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],vr=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],wr=[0,1,1,4];function yr(e,t,n,r,i){if(n+24>t.length)return;const o=kr(t,n);if(o&&n+o.frameLength<=t.length){const a=r+i*(9e4*o.samplesPerFrame/o.sampleRate),s={unit:t.subarray(n,n+o.frameLength),pts:a,dts:a};return e.config=[],e.channelCount=o.channelCount,e.samplerate=o.sampleRate,e.samples.push(s),{sample:s,length:o.frameLength,missing:0}}}function kr(e,t){const n=e[t+1]>>3&3,r=e[t+1]>>1&3,i=e[t+2]>>4&15,o=e[t+2]>>2&3;if(1!==n&&0!==i&&15!==i&&3!==o){const a=e[t+2]>>1&1,s=e[t+3]>>6,c=1e3*br[14*(3===n?3-r:3===r?3:4)+i-1],l=gr[3*(3===n?0:2===n?1:2)+o],u=3===s?1:2,d=vr[n][r],p=wr[r],_=8*d*p,f=Math.floor(d*c/l+a)*p;if(null===mr){const e=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);mr=e?parseInt(e[1]):0}return!!mr&&mr<=87&&2===r&&c>=224e3&&0===s&&(e[t+3]=128|e[t+3]),{sampleRate:l,channelCount:u,frameLength:f,samplesPerFrame:_}}}function xr(e,t){return 255===e[t]&&224===(224&e[t+1])&&0!==(6&e[t+1])}function Er(e,t){return t+1<e.length&&xr(e,t)}function Sr(e,t){if(t+1<e.length&&xr(e,t)){const n=4,r=kr(e,t);let i=n;null!=r&&r.frameLength&&(i=r.frameLength);const o=t+i;return o===e.length||Er(e,o)}return!1}class Pr{constructor(e){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const e=this.data,t=this.bytesAvailable,n=e.byteLength-t,r=new Uint8Array(4),i=Math.min(4,t);if(0===i)throw new Error("no bytes available");r.set(e.subarray(n,n+i)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=8*i,this.bytesAvailable-=i}skipBits(e){let t;e=Math.min(e,8*this.bytesAvailable+this.bitsAvailable),this.bitsAvailable>e?(this.word<<=e,this.bitsAvailable-=e):(t=(e-=this.bitsAvailable)>>3,e-=t<<3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)}readBits(e){let t=Math.min(this.bitsAvailable,e);const n=this.word>>>32-t;if(e>32&&N.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0)this.word<<=t;else{if(!(this.bytesAvailable>0))throw new Error("no bits available");this.loadWord()}return t=e-t,t>0&&this.bitsAvailable?n<<t|this.readBits(t):n}skipLZ(){let e;for(e=0;e<this.bitsAvailable;++e)if(0!==(this.word&2147483648>>>e))return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const e=this.skipLZ();return this.readBits(e+1)-1}readEG(){const e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)}readBoolean(){return 1===this.readBits(1)}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}skipScalingList(e){let t,n=8,r=8;for(let i=0;i<e;i++)0!==r&&(t=this.readEG(),r=(n+t+256)%256),n=0===r?n:r}readSPS(){let e,t,n,r=0,i=0,o=0,a=0;const s=this.readUByte.bind(this),c=this.readBits.bind(this),l=this.readUEG.bind(this),u=this.readBoolean.bind(this),d=this.skipBits.bind(this),p=this.skipEG.bind(this),_=this.skipUEG.bind(this),f=this.skipScalingList.bind(this);s();const h=s();if(c(5),d(3),s(),_(),100===h||110===h||122===h||244===h||44===h||83===h||86===h||118===h||128===h){const e=l();if(3===e&&d(1),_(),_(),d(1),u())for(t=3!==e?8:12,n=0;n<t;n++)u()&&f(n<6?16:64)}_();const m=l();if(0===m)l();else if(1===m)for(d(1),p(),p(),e=l(),n=0;n<e;n++)p();_(),d(1);const b=l(),g=l(),v=c(1);0===v&&d(1),d(1),u()&&(r=l(),i=l(),o=l(),a=l());let w=[1,1];if(u()&&u()){switch(s()){case 1:w=[1,1];break;case 2:w=[12,11];break;case 3:w=[10,11];break;case 4:w=[16,11];break;case 5:w=[40,33];break;case 6:w=[24,11];break;case 7:w=[20,11];break;case 8:w=[32,11];break;case 9:w=[80,33];break;case 10:w=[18,11];break;case 11:w=[15,11];break;case 12:w=[64,33];break;case 13:w=[160,99];break;case 14:w=[4,3];break;case 15:w=[3,2];break;case 16:w=[2,1];break;case 255:w=[s()<<8|s(),s()<<8|s()]}}return{width:Math.ceil(16*(b+1)-2*r-2*i),height:(2-v)*(g+1)*16-(v?2:4)*(o+a),pixelRatio:w}}readSliceType(){return this.readUByte(),this.readUEG(),this.readUEG()}}class Or{constructor(e,t,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new Bn(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer)}decryptAacSample(e,t,n){const r=e[t].unit;if(r.length<=16)return;const i=r.subarray(16,r.length-r.length%16),o=i.buffer.slice(i.byteOffset,i.byteOffset+i.length);this.decryptBuffer(o).then((i=>{const o=new Uint8Array(i);r.set(o,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,n)}))}decryptAacSamples(e,t,n){for(;;t++){if(t>=e.length)return void n();if(!(e[t].unit.length<32)&&(this.decryptAacSample(e,t,n),!this.decrypter.isSync()))return}}getAvcEncryptedData(e){const t=16*Math.floor((e.length-48)/160)+16,n=new Int8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)n.set(e.subarray(i,i+16),r);return n}getAvcDecryptedUnit(e,t){const n=new Uint8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)e.set(n.subarray(r,r+16),i);return e}decryptAvcSample(e,t,n,r,i){const o=Ve(i.data),a=this.getAvcEncryptedData(o);this.decryptBuffer(a.buffer).then((a=>{i.data=this.getAvcDecryptedUnit(o,a),this.decrypter.isSync()||this.decryptAvcSamples(e,t,n+1,r)}))}decryptAvcSamples(e,t,n,r){if(e instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;t++,n=0){if(t>=e.length)return void r();const i=e[t].units;for(;!(n>=i.length);n++){const o=i[n];if(!(o.data.length<=48||1!==o.type&&5!==o.type)&&(this.decryptAvcSample(e,t,n,r,o),!this.decrypter.isSync()))return}}}}const Cr=188;class Tr{constructor(e,t,n){this.observer=void 0,this.config=void 0,this.typeSupp
1orted=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._duration=0,this._pmtId=-1,this._avcTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.avcSample=null,this.remainderData=null,this.observer=e,this.config=t,this.typeSupported=n}static probe(e){const t=Tr.syncOffset(e);return t>0&&N.warn(`MPEG2-TS detected but first sync word found @ offset ${t}`),-1!==t}static syncOffset(e){const t=e.length;let n=Math.min(940,e.length-Cr)+1,r=0;for(;r<n;){let i=!1,o=-1,a=0;for(let s=r;s<t;s+=Cr){if(71!==e[s]){if(a)return-1;break}if(a++,-1===o&&(o=s,0!==o&&(n=Math.min(o+18612,e.length-Cr)+1)),i||(i=0===Ar(e,s)),i&&a>1&&(0===o&&a>2||s+Cr>n))return o}r++}return-1}static createTrack(e,t){return{container:"video"===e||"audio"===e?"video/mp2t":void 0,type:e,id:Pe[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:"audio"===e?t:void 0}}resetInitSegment(e,t,n,r){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=Tr.createTrack("video"),this._audioTrack=Tr.createTrack("audio",r),this._id3Track=Tr.createTrack("id3"),this._txtTrack=Tr.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.avcSample=null,this.remainderData=null,this.audioCodec=t,this.videoCodec=n,this._duration=r}resetTimeStamp(){}resetContiguity(){const{_audioTrack:e,_avcTrack:t,_id3Track:n}=this;e&&(e.pesData=null),t&&(t.pesData=null),n&&(n.pesData=null),this.aacOverFlow=null,this.avcSample=null,this.remainderData=null}demux(e,t,n=!1,r=!1){let i;n||(this.sampleAes=null);const o=this._avcTrack,a=this._audioTrack,s=this._id3Track,c=this._txtTrack;let l=o.pid,u=o.pesData,d=a.pid,p=s.pid,_=a.pesData,f=s.pesData,h=null,m=this.pmtParsed,b=this._pmtId,g=e.length;if(this.remainderData&&(g=(e=Me(this.remainderData,e)).length,this.remainderData=null),g<Cr&&!r)return this.remainderData=e,{audioTrack:a,videoTrack:o,id3Track:s,textTrack:c};const v=Math.max(0,Tr.syncOffset(e));g-=(g-v)%Cr,g<e.byteLength&&!r&&(this.remainderData=new Uint8Array(e.buffer,g,e.buffer.byteLength-g));let w=0;for(let k=v;k<g;k+=Cr)if(71===e[k]){const t=!!(64&e[k+1]),r=Ar(e,k);let g;if((48&e[k+3])>>4>1){if(g=k+5+e[k+4],g===k+Cr)continue}else g=k+4;switch(r){case l:t&&(u&&(i=Ir(u))&&this.parseAVCPES(o,c,i,!1),u={data:[],size:0}),u&&(u.data.push(e.subarray(g,k+Cr)),u.size+=k+Cr-g);break;case d:if(t){if(_&&(i=Ir(_)))switch(a.segmentCodec){case"aac":this.parseAACPES(a,i);break;case"mp3":this.parseMPEGPES(a,i)}_={data:[],size:0}}_&&(_.data.push(e.subarray(g,k+Cr)),_.size+=k+Cr-g);break;case p:t&&(f&&(i=Ir(f))&&this.parseID3PES(s,i),f={data:[],size:0}),f&&(f.data.push(e.subarray(g,k+Cr)),f.size+=k+Cr-g);break;case 0:t&&(g+=e[g]+1),b=this._pmtId=Dr(e,g);break;case b:{t&&(g+=e[g]+1);const r=Nr(e,g,this.typeSupported,n);l=r.avc,l>0&&(o.pid=l),d=r.audio,d>0&&(a.pid=d,a.segmentCodec=r.segmentCodec),p=r.id3,p>0&&(s.pid=p),null===h||m||(N.warn(`MPEG-TS PMT found at ${k} after unknown PID '${h}'. Backtracking to sync byte @${v} to parse all TS packets.`),h=null,k=v-188),m=this.pmtParsed=!0;break}case 17:case 8191:break;default:h=r}}else w++;if(w>0){const e=new Error(`Found ${w} TS packet/s that do not start with 0x47`);this.observer.emit(P.ERROR,P.ERROR,{type:O.MEDIA_ERROR,details:C.FRAG_PARSING_ERROR,fatal:!1,error:e,reason:e.message})}o.pesData=u,a.pesData=_,s.pesData=f;const y={audioTrack:a,videoTrack:o,id3Track:s,textTrack:c};return r&&this.extractRemainingSamples(y),y}flush(){const{remainderData:e}=this;let t;return this.remainderData=null,t=e?this.demux(e,-1,!1,!0):{videoTrack:this._avcTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t}extractRemainingSamples(e){const{audioTrack:t,videoTrack:n,id3Track:r,textTrack:i}=e,o=n.pesData,a=t.pesData,s=r.pesData;let c;if(o&&(c=Ir(o))?(this.parseAVCPES(n,i,c,!0),n.pesData=null):n.pesData=o,a&&(c=Ir(a))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,c);break;case"mp3":this.parseMPEGPES(t,c)}t.pesData=null}else null!=a&&a.size&&N.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=a;s&&(c=Ir(s))?(this.parseID3PES(r,c),r.pesData=null):r.pesData=s}
1demuxSampleAes(e,t,n){const r=this.demux(e,n,!0,!this.config.progressive),i=this.sampleAes=new Or(this.observer,this.config,t);return this.decrypt(r,i)}decrypt(e,t){return new Promise((n=>{const{audioTrack:r,videoTrack:i}=e;r.samples&&"aac"===r.segmentCodec?t.decryptAacSamples(r.samples,0,(()=>{i.samples?t.decryptAvcSamples(i.samples,0,0,(()=>{n(e)})):n(e)})):i.samples&&t.decryptAvcSamples(i.samples,0,0,(()=>{n(e)}))}))}destroy(){this._duration=0}parseAVCPES(e,t,n,r){const i=this.parseAVCNALu(e,n.data);let o,a=this.avcSample,s=!1;n.data=null,a&&i.length&&!e.audFound&&(Rr(a,e),a=this.avcSample=jr(!1,n.pts,n.dts,"")),i.forEach((r=>{var i;switch(r.type){case 1:{let t=!1;o=!0;const i=r.data;if(s&&i.length>4){const e=new Pr(i).readSliceType();2!==e&&4!==e&&7!==e&&9!==e||(t=!0)}var c;if(t)null!=(c=a)&&c.frame&&!a.key&&(Rr(a,e),a=this.avcSample=null);a||(a=this.avcSample=jr(!0,n.pts,n.dts,"")),a.frame=!0,a.key=t;break}case 5:o=!0,null!=(i=a)&&i.frame&&!a.key&&(Rr(a,e),a=this.avcSample=null),a||(a=this.avcSample=jr(!0,n.pts,n.dts,"")),a.key=!0,a.frame=!0;break;case 6:o=!0,Fe(r.data,1,n.pts,t.samples);break;case 7:if(o=!0,s=!0,!e.sps){const t=r.data,n=new Pr(t).readSPS();e.width=n.width,e.height=n.height,e.pixelRatio=n.pixelRatio,e.sps=[t],e.duration=this._duration;const i=t.subarray(1,4);let o="avc1.";for(let e=0;e<3;e++){let t=i[e].toString(16);t.length<2&&(t="0"+t),o+=t}e.codec=o}break;case 8:o=!0,e.pps||(e.pps=[r.data]);break;case 9:o=!1,e.audFound=!0,a&&Rr(a,e),a=this.avcSample=jr(!1,n.pts,n.dts,"");break;case 12:o=!0;break;default:o=!1,a&&(a.debug+="unknown NAL "+r.type+" ")}if(a&&o){a.units.push(r)}})),r&&a&&(Rr(a,e),this.avcSample=null)}getLastNalUnit(e){var t;let n,r=this.avcSample;if(r&&0!==r.units.length||(r=e[e.length-1]),null!=(t=r)&&t.units){const e=r.units;n=e[e.length-1]}return n}parseAVCNALu(e,t){const n=t.byteLength;let r=e.naluState||0;const i=r,o=[];let a,s,c,l=0,u=-1,d=0;for(-1===r&&(u=0,d=31&t[0],r=0,l=1);l<n;)if(a=t[l++],r)if(1!==r)if(a)if(1===a){if(u>=0){const e={data:t.subarray(u,l-r-1),type:d};o.push(e)}else{const n=this.getLastNalUnit(e.samples);if(n&&(i&&l<=4-i&&n.state&&(n.data=n.data.subarray(0,n.data.byteLength-i)),s=l-r-1,s>0)){const e=new Uint8Array(n.data.byteLength+s);e.set(n.data,0),e.set(t.subarray(0,s),n.data.byteLength),n.data=e,n.state=0}}l<n?(c=31&t[l],u=l,d=c,r=0):r=-1}else r=0;else r=3;else r=a?0:2;else r=a?0:1;if(u>=0&&r>=0){const e={data:t.subarray(u,n),type:d,state:r};o.push(e)}if(0===o.length){const n=this.getLastNalUnit(e.samples);if(n){const e=new Uint8Array(n.data.byteLength+t.byteLength);e.set(n.data,0),e.set(t,n.data.byteLength),n.data=e}}return e.naluState=r,o}parseAACPES(e,t){let n=0;const r=this.aacOverFlow;let i,o,a,s=t.data;if(r){this.aacOverFlow=null;const t=r.missing,i=r.sample.unit.byteLength;if(-1===t){const e=new Uint8Array(i+s.byteLength);e.set(r.sample.unit,0),e.set(s,i),s=e}else{const o=i-t;r.sample.unit.set(s.subarray(0,t),o),e.samples.push(r.sample),n=r.missing}}for(i=n,o=s.length;i<o-1&&!ur(s,i);i++);if(i!==n){let e;const t=i<o-1;e=t?`AAC PES did not start with ADTS header,offset:${i}`:"No ADTS header found in AAC PES";const n=new Error(e);
1if(N.warn(`parsing error: ${e}`),this.observer.emit(P.ERROR,P.ERROR,{type:O.MEDIA_ERROR,details:C.FRAG_PARSING_ERROR,fatal:!1,levelRetry:t,error:n,reason:e}),!t)return}if(pr(e,this.observer,s,i,this.audioCodec),void 0!==t.pts)a=t.pts;else{if(!r)return void N.warn("[tsdemuxer]: AAC PES unknown PTS");{const t=_r(e.samplerate);a=r.sample.pts+t}}let c,l=0;for(;i<o;){if(c=fr(e,s,i,a,l),i+=c.length,c.missing){this.aacOverFlow=c;break}for(l++;i<o-1&&!ur(s,i);i++);}}parseMPEGPES(e,t){const n=t.data,r=n.length;let i=0,o=0;const a=t.pts;if(void 0!==a)for(;o<r;)if(Er(n,o)){const t=yr(e,n,o,a,i);if(!t)break;o+=t.length,i++}else o++;else N.warn("[tsdemuxer]: MPEG PES unknown PTS")}parseID3PES(e,t){if(void 0===t.pts)return void N.warn("[tsdemuxer]: ID3 PES unknown PTS");const n=k({},t,{type:this._avcTrack?jt:Ct,duration:Number.POSITIVE_INFINITY});e.samples.push(n)}}function jr(e,t,n,r){return{key:e,frame:!1,pts:t,dts:n,units:[],debug:r,length:0}}function Ar(e,t){return((31&e[t+1])<<8)+e[t+2]}function Dr(e,t){return(31&e[t+10])<<8|e[t+11]}function Nr(e,t,n,r){const i={audio:-1,avc:-1,id3:-1,segmentCodec:"aac"},o=t+3+((15&e[t+1])<<8|e[t+2])-4;for(t+=12+((15&e[t+10])<<8|e[t+11]);t<o;){const o=Ar(e,t);switch(e[t]){case 207:if(!r){N.log("ADTS AAC with AES-128-CBC frame encryption found in unencrypted stream");break}case 15:-1===i.audio&&(i.audio=o);break;case 21:-1===i.id3&&(i.id3=o);break;case 219:if(!r){N.log("H.264 with AES-128-CBC slice encryption found in unencrypted stream");break}case 27:-1===i.avc&&(i.avc=o);break;case 3:case 4:!0!==n.mpeg&&!0!==n.mp3?N.log("MPEG audio found, not supported in this browser"):-1===i.audio&&(i.audio=o,i.segmentCodec="mp3");break;case 36:N.warn("Unsupported HEVC stream type found")}t+=5+((15&e[t+3])<<8|e[t+4])}return i}function Ir(e){let t,n,r,i,o,a=0;const s=e.data;if(!e||0===e.size)return null;for(;s[0].length<19&&s.length>1;){const e=new Uint8Array(s[0].length+s[1].length);e.set(s[0]),e.set(s[1],s[0].length),s[0]=e,s.splice(1,1)}t=s[0];if(1===(t[0]<<16)+(t[1]<<8)+t[2]){if(n=(t[4]<<8)+t[5],n&&n>e.size-6)return null;const c=t[7];192&c&&(i=536870912*(14&t[9])+4194304*(255&t[10])+16384*(254&t[11])+128*(255&t[12])+(254&t[13])/2,64&c?(o=536870912*(14&t[14])+4194304*(255&t[15])+16384*(254&t[16])+128*(255&t[17])+(254&t[18])/2,i-o>54e5&&(N.warn(`${Math.round((i-o)/9e4)}s delta between PTS and DTS, align them`),i=o)):o=i),r=t[8];let l=r+9;if(e.size<=l)return null;e.size-=l;const u=new Uint8Array(e.size);for(let e=0,n=s.length;e<n;e++){t=s[e];let n=t.byteLength;if(l){if(l>n){l-=n;continue}t=t.subarray(l),n-=l,l=0}u.set(t,a),a+=n}return n&&(n-=r+3),{data:u,pts:i,dts:o,len:n}}return null}function Rr(e,t){if(e.units.length&&e.frame){if(void 0===e.pts){const n=t.samples,r=n.length;if(!r)return void t.dropped++;{const t=n[r-1];e.pts=t.pts,e.dts=t.dts}}t.samples.push(e)}e.debug.length&&N.log(e.pts+"/"+e.dts+":"+e.debug)}class Lr{static getSilentFrame(e,t){if("mp4a.40.2"===e){if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===t)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}}}const Mr=Math.pow(2,32)-1;class zr{static init(){let e;for(e in zr.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]},zr.types)zr.types.hasOwnProperty(e)&&(zr.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);const t=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),n=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);zr.HDLR_TYPES={video:t,audio:n};
vendor: 4,398 bytes, line 1
1const r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),i=new Uint8Array([0,0,0,0,0,0,0,0]);zr.STTS=zr.STSC=zr.STCO=i,zr.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),zr.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),zr.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),zr.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const o=new Uint8Array([105,115,111,109]),a=new Uint8Array([97,118,99,49]),s=new Uint8Array([0,0,0,1]);zr.FTYP=zr.box(zr.types.ftyp,o,s,o,a),zr.DINF=zr.box(zr.types.dinf,zr.box(zr.types.dref,r))}static box(e,...t){let n=8,r=t.length;const i=r;for(;r--;)n+=t[r].byteLength;const o=new Uint8Array(n);for(o[0]=n>>24&255,o[1]=n>>16&255,o[2]=n>>8&255,o[3]=255&n,o.set(e,4),r=0,n=8;r<i;r++)o.set(t[r],n),n+=t[r].byteLength;return o}static hdlr(e){return zr.box(zr.types.hdlr,zr.HDLR_TYPES[e])}static mdat(e){return zr.box(zr.types.mdat,e)}static mdhd(e,t){t*=e;const n=Math.floor(t/(Mr+1)),r=Math.floor(t%(Mr+1));return zr.box(zr.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,r>>24,r>>16&255,r>>8&255,255&r,85,196,0,0]))}static mdia(e){return zr.box(zr.types.mdia,zr.mdhd(e.timescale,e.duration),zr.hdlr(e.type),zr.minf(e))}static mfhd(e){return zr.box(zr.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))}static minf(e){return"audio"===e.type?zr.box(zr.types.minf,zr.box(zr.types.smhd,zr.SMHD),zr.DINF,zr.stbl(e)):zr.box(zr.types.minf,zr.box(zr.types.vmhd,zr.VMHD),zr.DINF,zr.stbl(e))}static moof(e,t,n){return zr.box(zr.types.moof,zr.mfhd(e),zr.traf(n,t))}static moov(e){let t=e.length;const n=[];for(;t--;)n[t]=zr.trak(e[t]);return zr.box.apply(null,[zr.types.moov,zr.mvhd(e[0].timescale,e[0].duration)].concat(n).concat(zr.mvex(e)))}static mvex(e){let t=e.length;const n=[];for(;t--;)n[t]=zr.trex(e[t]);return zr.box.apply(null,[zr.types.mvex,...n])}static mvhd(e,t){t*=e;const n=Math.floor(t/(Mr+1)),r=Math.floor(t%(Mr+1)),i=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,r>>24,r>>16&255,r>>8&255,255&r,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return zr.box(zr.types.mvhd,i)}static sdtp(e){const t=e.samples||[],n=new Uint8Array(4+t.length);let r,i;for(r=0;r<t.length;r++)i=t[r].flags,n[r+4]=i.dependsOn<<4|i.isDependedOn<<2|i.hasRedundancy;return zr.box(zr.types.sdtp,n)}static stbl(e){return zr.box(zr.types.stbl,zr.stsd(e),zr.box(zr.types.stts,zr.STTS),zr.box(zr.types.stsc,zr.STSC),zr.box(zr.types.stsz,zr.STSZ),zr.box(zr.types.stco,zr.STCO))}static avc1(e){let t,n,r,i=[],o=[];for(t=0;t<e.sps.length;t++)n=e.sps[t],r=n.byteLength,i.push(r>>>8&255),i.push(255&r),i=i.concat(Array.prototype.slice.call(n));for(t=0;t<e.pps.length;t++)n=e.pps[t],r=n.byteLength,o.push(r>>>8&255),o.push(255&r),o=o.concat(Array.prototype.slice.call(n));const a=zr.box(zr.types.avcC,new Uint8Array([1,i[3],i[4],i[5],255,224|e.sps.length].concat(i).concat([e.pps.length]).concat(o))),s=e.width,c=e.height,l=e.pixelRatio[0],u=e.pixelRatio[1];return zr.box(zr.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,s>>8&255,255&s,c>>8&255,255&c,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),a,zr.box(zr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),zr.box(zr.types.pasp,new Uint8Array([l>>24,l>>16&255,l>>8&255,255&l,u>>24,u>>16&255,u>>8&255,255&u])))}static esds(e){const t=e.config.length;return new Uint8Array([0,0,0,0,3,23+t,0,1,0,4,15+t,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([t]).concat(e.config).concat([6,1,2]))}static mp4a(e){const t=e.samplerate;return zr.box(zr.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,t>>8&255,255&t,0,0]),zr.box(zr.types.esds,zr.esds(e)))}static mp3(e){const t=e.samplerate;return zr.box(zr.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,t>>8&255,255&t,0,0]))}static stsd(e){return"audio"===e.type?"mp3"===e.segmentCodec&&"mp3"===e.codec?zr.box(zr.types.stsd,zr.STSD,zr.mp3(e)):zr.box(zr.types.stsd,zr.STSD,zr.mp4a(e)):zr.box(zr.types.stsd,zr.STSD,zr.avc1(e))}static tkhd(e){const t=e.id,n=e.duration*e.timescale,r=e.width,i=e.he
1ight,o=Math.floor(n/(Mr+1)),a=Math.floor(n%(Mr+1));return zr.box(zr.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,0,0,0,0,o>>24,o>>16&255,o>>8&255,255&o,a>>24,a>>16&255,a>>8&255,255&a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,r>>8&255,255&r,0,0,i>>8&255,255&i,0,0]))}static traf(e,t){const n=zr.sdtp(e),r=e.id,i=Math.floor(t/(Mr+1)),o=Math.floor(t%(Mr+1));return zr.box(zr.types.traf,zr.box(zr.types.tfhd,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,255&r])),zr.box(zr.types.tfdt,new Uint8Array([1,0,0,0,i>>24,i>>16&255,i>>8&255,255&i,o>>24,o>>16&255,o>>8&255,255&o])),zr.trun(e,n.length+16+20+8+16+8+8),n)}static trak(e){return e.duration=e.duration||4294967295,zr.box(zr.types.trak,zr.tkhd(e),zr.mdia(e))}static trex(e){const t=e.id;return zr.box(zr.types.trex,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(e,t){const n=e.samples||[],r=n.length,i=12+16*r,o=new Uint8Array(i);let a,s,c,l,u,d;for(t+=8+i,o.set(["video"===e.type?1:0,0,15,1,r>>>24&255,r>>>16&255,r>>>8&255,255&r,t>>>24&255,t>>>16&255,t>>>8&255,255&t],0),a=0;a<r;a++)s=n[a],c=s.duration,l=s.size,u=s.flags,d=s.cts,o.set([c>>>24&255,c>>>16&255,c>>>8&255,255&c,l>>>24&255,l>>>16&255,l>>>8&255,255&l,u.isLeading<<2|u.dependsOn,u.isDependedOn<<6|u.hasRedundancy<<4|u.paddingValue<<1|u.isNonSync,61440&u.degradPrio,15&u.degradPrio,d>>>24&255,d>>>16&255,d>>>8&255,255&d],12+16*a);return zr.box(zr.types.trun,o)}static initSegment(e){zr.types||zr.init();const t=zr.moov(e),n=new Uint8Array(zr.FTYP.byteLength+t.byteLength);return n.set(zr.FTYP),n.set(t,zr.FTYP.byteLength),n}}zr.types=void 0,zr.HDLR_TYPES=void 0,zr.STTS=void 0,zr.STSC=void 0,zr.STCO=void 0,zr.STSZ=void 0,zr.VMHD=void 0,zr.SMHD=void 0,zr.STSD=void 0,zr.FTYP=void 0,zr.DINF=void 0;function Zr(e,t,n=1,r=!1){const i=e*t*n;return r?Math.round(i):i}function Fr(e,t=!1){return Zr(e,1e3,1/9e4,t)}let Vr,Br=null,Ur=null;class Gr{constructor(e,t,n,r=""){if(this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.observer=e,this.config=t,this.typeSupported=n,this.ISGenerated=!1,null===Br){const e=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Br=e?parseInt(e[1]):0}if(null===Ur){const e=navigator.userAgent.match(/Safari\/(\d+)/i);Ur=e?parseInt(e[1]):0}}destroy(){}resetTimeStamp(e){N.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=e}resetNextTimestamp(){N.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){N.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1}getVideoStartPts(e){let t=!1;const n=e.reduce(((e,n)=>{const r=n.pts-e;return r<-4294967296?(t=!0,qr(e,n.pts)):r>0?e:n.pts}),e[0].pts);return t&&N.debug("PTS rollover detected"),n}remux(e,t,n,r,i,o,a,s){let c,l,u,d,p,_,f=i,h=i;const m=e.pid>-1,b=t.pid>-1,g=t.samples.length,v=e.samples.length>0,w=a&&g>0||g>1;if((!m||v)&&(!b||w)||this.ISGenerated||a){this.ISGenerated||(u=this.generateIS(e,t,i,o));const n=this.isVideoContiguous;let r,a=-1;if(w&&(a=function(e){for(let t=0;t<e.length;t++)if(e[t].key)return t;return-1}(t.samples),!n&&this.config.forceKeyFrameOnDiscontinuity))if(_=!0,a>0){N.warn(`[mp4-remuxer]: Dropped ${a} out of ${g} video samples due to a missing keyframe`);const e=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(a),t.dropped+=a,h+=(t.samples[0].pts-e)/t.inputTimeScale,r=h}else-1===a&&(N.warn(`[mp4-remuxer]: No keyframe found out of ${g} video samples`),_=!1);if(this.ISGenerated){if(v&&w){const n=this.getVideoStartPts(t.samples),r=(qr(e.samples[0].pts,n)-n)/t.inputTimeScale;f+=Math.max(0,r),h+=Math.max(0,-r)}if(v){if(e.samplerate||(N.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),u=this.generateIS(e,t,i,o)),l=this.remuxAudio(e,f,this.isAudioContiguous,o,b||w||s===vt?h:void 0),w){const r=l?l.endPTS-l.startPTS:0;t.inputTimeScale||(N.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),u=this.generateIS(e,t,i,o)),c=this.remuxVideo(t,h,n,r)}}else w&&(c=this.remuxVideo(t,h,n,0));c&&(c.firstKeyFrame=a,c.independent=-1!==a,c.firstKeyFramePTS=r)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(p=Hr(n,i,this._initPTS,this._initDTS)),r.samples.length&&(d=Kr(r,i,this._initPTS))),{audio:l,video:c,initSegment:u,independent:_,text:d,id3:p}}generateIS(e,t,n,r){const i=e.samples,o=t.samples,a=this.typeSupp
1orted,s={},c=this._initPTS;let l,u,d,p=!c||r,_="audio/mp4";if(p&&(l=u=1/0),e.config&&i.length){if(e.timescale=e.samplerate,"mp3"===e.segmentCodec)a.mpeg?(_="audio/mpeg",e.codec=""):a.mp3&&(e.codec="mp3");s.audio={id:"audio",container:_,codec:e.codec,initSegment:"mp3"===e.segmentCodec&&a.mpeg?new Uint8Array(0):zr.initSegment([e]),metadata:{channelCount:e.channelCount}},p&&(d=e.inputTimeScale,c&&d===c.timescale?p=!1:l=u=i[0].pts-Math.round(d*n))}if(t.sps&&t.pps&&o.length&&(t.timescale=t.inputTimeScale,s.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:zr.initSegment([t]),metadata:{width:t.width,height:t.height}},p))if(d=t.inputTimeScale,c&&d===c.timescale)p=!1;else{const e=this.getVideoStartPts(o),t=Math.round(d*n);u=Math.min(u,qr(o[0].dts,e)-t),l=Math.min(l,e-t)}if(Object.keys(s).length)return this.ISGenerated=!0,p?(this._initPTS={baseTime:l,timescale:d},this._initDTS={baseTime:u,timescale:d}):l=d=void 0,{tracks:s,initPTS:l,timescale:d}}remuxVideo(e,t,n,r){const i=e.inputTimeScale,o=e.samples,a=[],s=o.length,c=this._initPTS;let l,u,d=this.nextAvcDts,p=8,_=this.videoSampleDuration,f=Number.POSITIVE_INFINITY,h=Number.NEGATIVE_INFINITY,m=!1;if(!n||null===d){d=t*i-(o[0].pts-qr(o[0].dts,o[0].pts))}const b=c.baseTime*i/c.timescale;for(let k=0;k<s;k++){const e=o[k];e.pts=qr(e.pts-b,d),e.dts=qr(e.dts-b,d),e.dts<o[k>0?k-1:k].dts&&(m=!0)}m&&o.sort((function(e,t){const n=e.dts-t.dts,r=e.pts-t.pts;return n||r})),l=o[0].dts,u=o[o.length-1].dts;const g=u-l,v=g?Math.round(g/(s-1)):_||e.inputTimeScale/30;if(n){const e=l-d,t=e>v,n=e<-1;if((t||n)&&(t?N.warn(`AVC: ${Fr(e,!0)} ms (${e}dts) hole between fragments detected, filling it`):N.warn(`AVC: ${Fr(-e,!0)} ms (${e}dts) overlapping between fragments detected`),!n||d>=o[0].pts)){l=d;const t=o[0].pts-e;o[0].dts=l,o[0].pts=t,N.log(`Video: First PTS/DTS adjusted: ${Fr(t,!0)}/${Fr(l,!0)}, delta: ${Fr(e,!0)} ms`)}}l=Math.max(0,l);let w=0,y=0;for(let k=0;k<s;k++){const e=o[k],t=e.units,n=t.length;let r=0;for(let i=0;i<n;i++)r+=t[i].data.length;y+=r,w+=n,e.length=r,e.dts=Math.max(e.dts,l),f=Math.min(e.pts,f),h=Math.max(e.pts,h)}u=o[s-1].dts;const x=y+4*w+8;let E;try{E=new Uint8Array(x)}catch(L){return void this.observer.emit(P.ERROR,P.ERROR,{type:O.MUX_ERROR,details:C.REMUX_ALLOC_ERROR,fatal:!1,error:L,bytes:x,reason:`fail allocating video mdat ${x}`})}const S=new DataView(E.buffer);S.setUint32(0,x),E.set(zr.types.mdat,4);let T=!1,j=Number.POSITIVE_INFINITY,A=Number.POSITIVE_INFINITY,D=Number.NEGATIVE_INFINITY,I=Number.NEGATIVE_INFINITY;for(let k=0;k<s;k++){const e=o[k],t=e.units;let n,c=0;for(let r=0,i=t.length;r<i;r++){const e=t[r],n=e.data,i=e.data.byteLength;S.setUint32(p,i),p+=4,E.set(n,p),p+=i,c+=4+i}if(k<s-1)_=o[k+1].dts-e.dts,n=o[k+1].pts-e.pts;else{const t=this.config,a=k>0?e.dts-o[k-1].dts:v;if(n=k>0?e.pts-o[k-1].pts:v,t.stretchShortVideoTrack&&null!==this.nextAudioPts){const n=Math.floor(t.maxBufferHole*i),o=(r?f+r*i:this.nextAudioPts)-e.pts;o>n?(_=o-a,_<0?_=a:T=!0,N.log(`[mp4-remuxer]: It is approximately ${o/90} ms to the next segment; using duration ${_/90} ms for the last video frame.`)):_=a}else _=a}const l=Math.round(e.pts-e.dts);j=Math.min(j,_),D=Math.max(D,_),A=Math.min(A,n),I=Math.max(I,n),a.push(new Wr(e.key,_,c,l))}if(a.length)if(Br){if(Br<70){const e=a[0].flags;e.dependsOn=2,e.isNonSync=0}}else if(Ur&&I-A<D-j&&v/D<.025&&0===a[0].cts){N.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let e=l;for(let t=0,n=a.length;t<n;t++){const r=e+a[t].duration,i=e+a[t].cts;if(t<n-1){const e=r+a[t+1].cts;a[t].duration=e-i}else a[t].duration=t?a[t-1].duration:v;a[t].cts=0,e=r}}_=T||!_?v:_,this.nextAvcDts=d=u+_,this.videoSampleDuration=_,this.isVideoContiguous=!0;const R={data1:zr.moof(e.sequenceNumber++,l,k({},e,{samples:a})),data2:E,startPTS:f/i,endPTS:(h+_)/i,startDTS:l/i,endDTS:d/i,type:"video",hasAudio:!1,hasVideo:!0,nb:a.length,dropped:e.dropped};return e.samples=[],e.dropped=0,R}remuxAudio(e,t,n,r,i){const o=e.inputTimeScale,a=o/(e.samplerate?e.samplerate:o),s="aac"===e.segmentCodec?1024:1152,c=s*a,l=this._initPTS,u="mp3"===e.segmentCodec&&this.typeSupp
vendor: 1,406 bytes, line 1
1orted.mpeg,d=[],p=void 0!==i;let _=e.samples,f=u?0:8,h=this.nextAudioPts||-1;const m=t*o,b=l.baseTime*o/l.timescale;if(this.isAudioContiguous=n=n||_.length&&h>0&&(r&&Math.abs(m-h)<9e3||Math.abs(qr(_[0].pts-b,m)-h)<20*c),_.forEach((function(e){e.pts=qr(e.pts-b,m)})),!n||h<0){if(_=_.filter((e=>e.pts>=0)),!_.length)return;h=0===i?0:r&&!p?Math.max(0,m):_[0].pts}if("aac"===e.segmentCodec){const t=this.config.maxAudioFramesDrift;for(let n=0,r=h;n<_.length;n++){const i=_[n],a=i.pts,s=a-r,l=Math.abs(1e3*s/o);if(s<=-t*c&&p)0===n&&(N.warn(`Audio frame @ ${(a/o).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*s/o)} ms.`),this.nextAudioPts=h=r=a);else if(s>=t*c&&l<1e4&&p){let t=Math.round(s/c);r=a-t*c,r<0&&(t--,r+=c),0===n&&(this.nextAudioPts=h=r),N.warn(`[mp4-remuxer]: Injecting ${t} audio frame @ ${(r/o).toFixed(3)}s due to ${Math.round(1e3*s/o)} ms gap.`);for(let o=0;o<t;o++){const t=Math.max(r,0);let o=Lr.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);o||(N.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),o=i.unit.subarray()),_.splice(n,0,{unit:o,pts:t}),r+=c,n++}}i.pts=r,r+=c}}let g,v=null,w=null,y=0,x=_.length;for(;x--;)y+=_[x].unit.byteLength;for(let k=0,N=_.length;k<N;k++){const t=_[k],r=t.unit;let i=t.pts;if(null!==w){d[k-1].duration=Math.round((i-w)/a)}else{if(n&&"aac"===e.segmentCodec&&(i=h),v=i,!(y>0))return;y+=f;
vendor: 4,911 bytes, line 1
1try{g=new Uint8Array(y)}catch(I){return void this.observer.emit(P.ERROR,P.ERROR,{type:O.MUX_ERROR,details:C.REMUX_ALLOC_ERROR,fatal:!1,error:I,bytes:y,reason:`fail allocating audio mdat ${y}`})}if(!u){new DataView(g.buffer).setUint32(0,y),g.set(zr.types.mdat,4)}}g.set(r,f);const o=r.byteLength;f+=o,d.push(new Wr(!0,s,o,0)),w=i}const E=d.length;if(!E)return;const S=d[d.length-1];this.nextAudioPts=h=w+a*S.duration;const T=u?new Uint8Array(0):zr.moof(e.sequenceNumber++,v/a,k({},e,{samples:d}));e.samples=[];const j=v/o,A=h/o,D={data1:T,data2:g,startPTS:j,endPTS:A,startDTS:j,endDTS:A,type:"audio",hasAudio:!0,hasVideo:!1,nb:E};return this.isAudioContiguous=!0,D}remuxEmptyAudio(e,t,n,r){const i=e.inputTimeScale,o=i/(e.samplerate?e.samplerate:i),a=this.nextAudioPts,s=this._initDTS,c=9e4*s.baseTime/s.timescale,l=(null!==a?a:r.startDTS*i)+c,u=r.endDTS*i+c,d=1024*o,p=Math.ceil((u-l)/d),_=Lr.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);if(N.warn("[mp4-remuxer]: remux empty Audio"),!_)return void N.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec");const f=[];for(let h=0;h<p;h++){const e=l+h*d;f.push({unit:_,pts:e,dts:e})}return e.samples=f,this.remuxAudio(e,t,n,!1)}}function qr(e,t){let n;if(null===t)return e;for(n=t<e?-8589934592:8589934592;Math.abs(e-t)>4294967296;)e+=n;return e}function Hr(e,t,n,r){const i=e.samples.length;if(!i)return;const o=e.inputTimeScale;for(let s=0;s<i;s++){const i=e.samples[s];i.pts=qr(i.pts-n.baseTime*o/n.timescale,t*o)/o,i.dts=qr(i.dts-r.baseTime*o/r.timescale,t*o)/o}const a=e.samples;return e.samples=[],{samples:a}}function Kr(e,t,n){const r=e.samples.length;if(!r)return;const i=e.inputTimeScale;for(let a=0;a<r;a++){const r=e.samples[a];r.pts=qr(r.pts-n.baseTime*i/n.timescale,t*i)/i}e.samples.sort(((e,t)=>e.pts-t.pts));const o=e.samples;return e.samples=[],{samples:o}}class Wr{constructor(e,t,n,r){this.size=void 0,this.duration=void 0,this.cts=void 0,this.flags=void 0,this.duration=t,this.size=n,this.cts=r,this.flags=new $r(e)}}class $r{constructor(e){this.isLeading=0,this.isDependedOn=0,this.hasRedundancy=0,this.degradPrio=0,this.dependsOn=1,this.isNonSync=1,this.dependsOn=e?2:1,this.isNonSync=e?0:1}}function Yr(e,t){const n=null==e?void 0:e.codec;return n&&n.length>4?n:"hvc1"===n||"hev1"===n?"hvc1.1.6.L120.90":"av01"===n?"av01.0.04M.08":"avc1"===n||t===V?"avc1.42e01e":"mp4a.40.5"}try{Vr=self.performance.now.bind(self.performance)}catch(ua){N.debug("Unable to use Performance API on this environment"),Vr="undefined"!==typeof self&&self.Date.now}const Xr=[{demux:class{constructor(e,t){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=t}resetTimeStamp(){}resetInitSegment(e,t,n,r){const i=this.videoTrack=ir("video",1),o=this.audioTrack=ir("audio",1),a=this.txtTrack=ir("text",1);if(this.id3Track=ir("id3",1),this.timeOffset=0,null==e||!e.byteLength)return;const s=Ie(e);if(s.video){const{id:e,timescale:t,codec:n}=s.video;i.id=e,i.timescale=a.timescale=t,i.codec=n}if(s.audio){const{id:e,timescale:t,codec:n}=s.audio;o.id=e,o.timescale=t,o.codec=n}a.id=Pe.text,i.sampleDuration=0,i.duration=o.duration=r}resetContiguity(){this.remainderData=null}static probe(e){return De(e=e.length>16384?e.subarray(0,16384):e,["moof"]).length>0}demux(e,t){this.timeOffset=t;let n=e;const r=this.videoTrack,i=this.txtTrack;if(this.config.progressive){this.remainderData&&(n=Me(this.remainderData,e));const t=function(e){const t={valid:null,remainder:null},n=De(e,["moof"]);if(!n)return t;if(n.length<2)return t.remainder=e,t;const r=n[n.length-1];return t.valid=ae(e,0,r.byteOffset-8),t.remainder=ae(e,r.byteOffset-8),t}(n);this.remainderData=t.remainder,r.samples=t.valid||new Uint8Array}else r.samples=n;const o=this.extractID3Track(r,t);return i.samples=ze(t,r),{videoTrack:r,audioTrack:this.audioTrack,id3Track:o,textTrack:this.txtTrack}}flush(){const e=this.timeOffset,t=this.videoTrack,n=this.txtTrack;t.samples=this.remainderData||new Uint8Array,this.remainderData=null;const r=this.extractID3Track(t,this.timeOffset);return n.samples=ze(e,t),{videoTrack:t,audioTrack:ir(),id3Track:r,textTrack:ir()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=De(e.samples,["emsg"]);r&&r.forEach((e=>{const r=function(e){const t=e[0];let n="",r="",i=0,o=0,a=0,s=0,c=0,l=0;if(0===t){for(;"\0"!==Oe(e.subarray(l,l+1));)n+=Oe(e.subarray(l,l+1)),l+=1;for(n+=Oe(e.subarray(l,l+1)),l+=1;"\0"!==Oe(e.subarray(l,l+1));)r+=Oe(e.subarray(l,l+1)),l+=1;r+=Oe(e.subarray(l,l+1)),l+=1,i=Te(e,12),o=Te(e,16),s=Te(e,20),c=Te(e,24),l=28}else if(1===t){l+=4,i=Te(e,l),l+=4;const t=Te(e,l);l+=4;const o=Te(e,l);for(l+=4,a=2**32*t+o,E(a)||(a=Number.MAX_SAFE_INTEGER,N.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),s=Te
vendor: 8,734 bytes, line 1
1(e,l),l+=4,c=Te(e,l),l+=4;"\0"!==Oe(e.subarray(l,l+1));)n+=Oe(e.subarray(l,l+1)),l+=1;for(n+=Oe(e.subarray(l,l+1)),l+=1;"\0"!==Oe(e.subarray(l,l+1));)r+=Oe(e.subarray(l,l+1)),l+=1;r+=Oe(e.subarray(l,l+1)),l+=1}return{schemeIdUri:n,value:r,timeScale:i,presentationTime:a,presentationTimeDelta:o,eventDuration:s,id:c,payload:e.subarray(l,e.byteLength)}}(e);if(hr.test(r.schemeIdUri)){const e=x(r.presentationTime)?r.presentationTime/r.timeScale:t+r.presentationTimeDelta/r.timeScale;let i=4294967295===r.eventDuration?Number.POSITIVE_INFINITY:r.eventDuration/r.timeScale;i<=.001&&(i=Number.POSITIVE_INFINITY);const o=r.payload;n.samples.push({data:o,len:o.byteLength,dts:e,pts:e,type:jt,duration:i})}}))}return n}demuxSampleAes(e,t,n){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){}},remux:class{constructor(){this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null}destroy(){}resetTimeStamp(e){this.initPTS=e,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(e,t,n,r){this.audioCodec=t,this.videoCodec=n,this.generateInitSegment(function(e,t){if(!e||!t)return e;const n=t.keyId;n&&t.isCommonEncryption&&De(e,["moov","trak"]).forEach((e=>{const t=De(e,["mdia","minf","stbl","stsd"])[0].subarray(8);let r=De(t,["enca"]);const i=r.length>0;i||(r=De(t,["encv"])),r.forEach((e=>{De(i?e.subarray(28):e.subarray(78),["sinf"]).forEach((e=>{const t=Re(e);if(t){const e=t.subarray(8,24);e.some((e=>0!==e))||(N.log(`[eme] Patching keyId in 'enc${i?"a":"v"}>sinf>>tenc' box: ${xe(e)} -> ${xe(n)}`),t.set(n,8))}}))}))}));return e}(e,r)),this.emitInitSegment=!0}generateInitSegment(e){let{audioCodec:t,videoCodec:n}=this;if(null==e||!e.byteLength)return this.initTracks=void 0,void(this.initData=void 0);const r=this.initData=Ie(e);t||(t=Yr(r.audio,F)),n||(n=Yr(r.video,V));const i={};r.audio&&r.video?i.audiovideo={container:"video/mp4",codec:t+","+n,initSegment:e,id:"main"}:r.audio?i.audio={container:"audio/mp4",codec:t,initSegment:e,id:"audio"}:r.video?i.video={container:"video/mp4",codec:n,initSegment:e,id:"main"}:N.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=i}remux(e,t,n,r,i,o){var a,s;let{initPTS:c,lastEndTime:l}=this;const u={audio:void 0,video:void 0,text:r,id3:n,initSegment:void 0};x(l)||(l=this.lastEndTime=i||0);const d=t.samples;if(null==d||!d.length)return u;const p={initPTS:void 0,timescale:1};let _=this.initData;if(null!=(a=_)&&a.length||(this.generateInitSegment(d),_=this.initData),null==(s=_)||!s.length)return N.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),u;this.emitInitSegment&&(p.tracks=this.initTracks,this.emitInitSegment=!1);const f=function(e,t){let n=0,r=0,i=0;const o=De(e,["moof","traf"]);for(let a=0;a<o.length;a++){const e=o[a],s=De(e,["tfhd"])[0],c=t[Te(s,4)];if(!c)continue;const l=c.default,u=Te(s,0)|(null==l?void 0:l.flags);let d=null==l?void 0:l.duration;8&u&&(d=Te(s,2&u?12:8));const p=c.timescale||9e4,_=De(e,["trun"]);for(let t=0;t<_.length;t++)n=Le(_[t]),!n&&d&&(n=d*Te(_[t],4)),c.type===V?r+=n/p:c.type===F&&(i+=n/p)}if(0===r&&0===i){let t=0;const n=De(e,["sidx"]);for(let e=0;e<n.length;e++){const r=Ne(n[e]);null!=r&&r.references&&(t+=r.references.reduce(((e,t)=>e+t.info.duration||0),0))}return t}return r||i}(d,_),h=function(e,t){return De(t,["moof","traf"]).reduce(((t,n)=>{const r=De(n,["tfdt"])[0],i=r[0],o=De(n,["tfhd"]).reduce(((t,n)=>{const o=Te(n,4),a=e[o];if(a){let e=Te(r,4);if(1===i){if(e===Ee)return N.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),t;e*=Ee+1,e+=Te(r,8)}const n=e/(a.timescale||9e4);if(x(n)&&(null===t||n<t))return n}return t}),null);return null!==o&&x(o)&&(null===t||o<t)?o:t}),null)}(_,d),m=null===h?i:h;(function(e,t,n,r){if(null===e)return!0;const i=Math.max(r,1),o=t-e.baseTime/e.timescale;return Math.abs(o-n)>i}(c,m,i,f)||p.timescale!==c.timescale&&o)&&(p.initPTS=m-i,c&&1===c.timescale&&N.warn("Adjusting initPTS by "+(p.initPTS-c.baseTime)),this.initPTS=c={baseTime:p.initPTS,timescale:1});const b=e?m-c.baseTime/c.timescale:l,g=b+f;!function(e,t,n){De(t,["moof","traf"]).forEach((t=>{De(t,["tfhd"]).forEach((r=>{const i=Te(r,4),o=e[i];if(!o)return;const a=o.timescale||9e4;De(t,["tfdt"]).forEach((e=>{const t=e[0];let r=Te(e,4);if(0===t)r-=n*a,r=Math.max(r,0),Ae(e,4,r);else{r*=Math.pow(2,32),r+=Te(e,8),r-=n*a,r=Math.max(r,0);const t=Math.floor(r/(Ee+1)),i=Math.floor(r%(Ee+1));Ae(e,4,t),Ae(e,8,i)}}))}))}))}(_,d,c.baseTime/c.timescale),f>0?this.lastEndTime=g:(N.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const v=!!_.audio,w=!!_.video;let y="";v&&(y+="audio"),w&&(y+="video");const k={data1:d,startPTS:b,startDTS:b,endPTS:g,endDTS:g,type:y,hasAudio:v,hasVideo:w,nb:1,dropped:0};return u.audio="audio"===k.type?k:void 0,u.video="audio"!==k.type?k:void 0,u.initSegment=p,u.id3=Hr(n,i,c,c),r.samples.length&&(u.text=Kr(r,i,c)),u}}},{demux:Tr,remux:Gr},{demux:class extends or{constructor(e,t){super(),this.observer=void 0,this.config=void 0,this.observer=e,this.config=t}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e){if(!e)return!1;let t=(le(e,0)||[]).length;for(let n=e.length;t<n;t++)if(dr(e,t))return N.log("ADTS sync word found !"),!0;return!1}canParse(e,t){return function(e,t){return function(e,t){return t+5<e.length}(e,t)&&sr(e,t)&&lr(e,t)<=e.length-t}(e,t)}appendFrame(e,t,n){pr(e,this.observer,t,n,e.manifestCodec);const r=fr(e,t,n,this.basePTS,this.frameIndex);if(r&&0===r.missing)return r}},remux:Gr},{demux:class extends or{resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e){if(!e)return!1;let t=(le(e,0)||[]).length;for(let n=e.length;t<n;t++)if(Sr(e,t))return N.log("MPEG Audio sync word found !"),!0;return!1}canParse(e,t){return function(e,t){return xr(e,t)&&4<=e.length-t}(e,t)}appendFrame(e,t,n){if(null!==this.basePTS)return yr(e,t,n,this.basePTS,this.frameIndex)}},remux:Gr}];class Jr{constructor(e,t,n,r,i){this.async=!1,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.vendor=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=e,this.typeSupported=t,this.config=n,this.vendor=r,this.id=i}configure(e){this.transmuxConfig=e,this.decrypter&&this.decrypter.reset()}push(e,t,n,r){const i=n.transmuxing;i.executeStart=Vr();let o=new Uint8Array(e);const{currentTransmuxState:a,transmuxConfig:s}=this;r&&(this.currentTransmuxState=r);const{contiguous:c,discontinuity:l,trackSwitch:u,accurateTimeOffset:d,timeOffset:p,initSegmentChange:_}=r||a,{audioCodec:f,videoCodec:h,defaultInitPts:m,duration:b,initSegmentData:g}=s,v=function(e,t){let n=null;e.byteLength>0&&null!=t&&null!=t.key&&null!==t.iv&&null!=t.method&&(n=t);return n}(o,t);if(v&&"AES-128"===v.method){const e=this.getDecrypter();if(!e.isSync())return this.decryptionPromise=e.webCryptoDecrypt(o,v.key.buffer,v.iv.buffer).then((e=>{const t=this.push(e,null,n);return this.decryptionPromise=null,t})),this.decryptionPromise;{let t=e.softwareDecrypt(o,v.key.buffer,v.iv.buffer);if(n.part>-1&&(t=e.flush()),!t)return i.executeEnd=Vr(),Qr(n);o=new Uint8Array(t)}}const w=this.needsProbing(l,u);if(w){const e=this.configureTransmuxer(o);if(e)return N.warn(`[transmuxer] ${e.message}`),this.observer.emit(P.ERROR,P.ERROR,{type:O.MEDIA_ERROR,details:C.FRAG_PARSING_ERROR,fatal:!1,error:e,reason:e.message}),i.executeEnd=Vr(),Qr(n)}(l||u||_||w)&&this.resetInitSegment(g,f,h,b,t),(l||_||w)&&this.resetInitialTimestamp(m),c||this.resetContiguity();const y=this.transmux(o,v,p,d,n),k=this.currentTransmuxState;return k.contiguous=!0,k.discontinuity=!1,k.trackSwitch=!1,i.executeEnd=Vr(),y}flush(e){const t=e.transmuxing;t.executeStart=Vr();const{decrypter:n,currentTransmuxState:r,decryptionPromise:i}=this;if(i)return i.then((()=>this.flush(e)));const o=[],{timeOffset:a}=r;if(n){const t=n.flush();t&&o.push(this.push(t,null,e))}const{demuxer:s,remuxer:c}=this;if(!s||!c)return t.executeEnd=Vr(),[Qr(e)];const l=s.flush(a);return ei(l)?l.then((t=>(this.flushRemux(o,t,e),o))):(this.flushRemux(o,l,e),o)}flushRemux(e,t,n){const{audioTrack:r,videoTrack:i,id3Track:o,textTrack:a}
vendor: 5,271 bytes, line 1
1=t,{accurateTimeOffset:s,timeOffset:c}=this.currentTransmuxState;N.log(`[transmuxer.ts]: Flushed fragment ${n.sn}${n.part>-1?" p: "+n.part:""} of level ${n.level}`);const l=this.remuxer.remux(r,i,o,a,c,s,!0,this.id);e.push({remuxResult:l,chunkMeta:n}),n.transmuxing.executeEnd=Vr()}resetInitialTimestamp(e){const{demuxer:t,remuxer:n}=this;t&&n&&(t.resetTimeStamp(e),n.resetTimeStamp(e))}resetContiguity(){const{demuxer:e,remuxer:t}=this;e&&t&&(e.resetContiguity(),t.resetNextTimestamp())}resetInitSegment(e,t,n,r,i){const{demuxer:o,remuxer:a}=this;o&&a&&(o.resetInitSegment(e,t,n,r),a.resetInitSegment(e,t,n,i))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(e,t,n,r,i){let o;return o=t&&"SAMPLE-AES"===t.method?this.transmuxSampleAes(e,t,n,r,i):this.transmuxUnencrypted(e,n,r,i),o}transmuxUnencrypted(e,t,n,r){const{audioTrack:i,videoTrack:o,id3Track:a,textTrack:s}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(i,o,a,s,t,n,!1,this.id),chunkMeta:r}}transmuxSampleAes(e,t,n,r,i){return this.demuxer.demuxSampleAes(e,t,n).then((e=>({remuxResult:this.remuxer.remux(e.audioTrack,e.videoTrack,e.id3Track,e.textTrack,n,r,!1,this.id),chunkMeta:i})))}configureTransmuxer(e){const{config:t,observer:n,typeSupported:r,vendor:i}=this;let o;for(let u=0,d=Xr.length;u<d;u++)if(Xr[u].demux.probe(e)){o=Xr[u];break}if(!o)return new Error("Failed to find demuxer by probing fragment data");const a=this.demuxer,s=this.remuxer,c=o.remux,l=o.demux;s&&s instanceof c||(this.remuxer=new c(n,t,r,i)),a&&a instanceof l||(this.demuxer=new l(n,t,r),this.probe=l.probe)}needsProbing(e,t){return!this.demuxer||!this.remuxer||e||t}getDecrypter(){let e=this.decrypter;return e||(e=this.decrypter=new Bn(this.config)),e}}const Qr=e=>({remuxResult:{},chunkMeta:e});function ei(e){return"then"in e&&e.then instanceof Function}class ti{constructor(e,t,n,r,i){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=e,this.videoCodec=t,this.initSegmentData=n,this.duration=r,this.defaultInitPts=i||null}}class ni{constructor(e,t,n,r,i,o){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=e,this.contiguous=t,this.accurateTimeOffset=n,this.trackSwitch=r,this.timeOffset=i,this.initSegmentChange=o}}var ri={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var c,l,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,i),!0;case 5:return u.fn.call(u.context,t,r,i,o),!0;case 6:return u.fn.call(u.context,t,r,i,o,a),!0}for(l=1,c=new Array(d-1);l<d;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var p,_=u.length;for(l=0;l<_;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),d){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,r);break;case 4:u[l].fn.call(u[l].context,t,r,i);break;default:if(!c)for(p=1,c=new Array(d-1);p<d;p++)c[p-1]=arguments[p];u[l].fn.apply(u[l].context,c)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var c=0,l=[],u=s.length;c<u;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&l.push(s[c]);l.length?this._events[o]=1===l.length?l[0]:l:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s}(ri);
1var ii=h(ri.exports);const oi=Xe()||{isTypeSupported:()=>!1};class ai{constructor(e,t,n,r){this.error=null,this.hls=void 0,this.id=void 0,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.onwmsg=void 0,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0;const i=e.config;this.hls=e,this.id=t,this.useWorker=!!i.enableWorker,this.onTransmuxComplete=n,this.onFlush=r;const o=(e,t)=>{(t=t||{}).frag=this.frag,t.id=this.id,e===P.ERROR&&(this.error=t.error),this.hls.trigger(e,t)};this.observer=new ii,this.observer.on(P.FRAG_DECRYPTED,o),this.observer.on(P.ERROR,o);const a={mp4:oi.isTypeSupported("video/mp4"),mpeg:oi.isTypeSupported("audio/mpeg"),mp3:oi.isTypeSupported('audio/mp4; codecs="mp3"')},s=navigator.vendor;if(this.useWorker&&"undefined"!==typeof Worker){if(i.workerPath||"function"===typeof __HLS_WORKER_BUNDLE__){try{i.workerPath?(N.log(`loading Web Worker ${i.workerPath} for "${t}"`),this.workerContext=function(e){const t=new self.URL(e,self.location.href).href;return{worker:new self.Worker(t),scriptURL:t}}(i.workerPath)):(N.log(`injecting Web Worker for "${t}"`),this.workerContext=function(){const e=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),t=self.URL.createObjectURL(e);return{worker:new self.Worker(t),objectURL:t}}()),this.onwmsg=e=>this.onWorkerMessage(e);const{worker:e}=this.workerContext;e.addEventListener("message",this.onwmsg),e.onerror=e=>{const n=new Error(`${e.message} (${e.filename}:${e.lineno})`);i.enableWorker=!1,N.warn(`Error in "${t}" Web Worker, fallback to inline`),this.hls.trigger(P.ERROR,{type:O.OTHER_ERROR,details:C.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:n})},e.postMessage({cmd:"init",typeSupported:a,vendor:s,id:t,config:JSON.stringify(i)})}catch(ua){N.warn(`Error setting up "${t}" Web Worker, fallback to inline`,ua),this.resetWorker(),this.error=null,this.transmuxer=new Jr(this.observer,a,i,s,t)}return}}this.transmuxer=new Jr(this.observer,a,i,s,t)}resetWorker(){if(this.workerContext){const{worker:e,objectURL:t}=this.workerContext;t&&self.URL.revokeObjectURL(t),e.removeEventListener("message",this.onwmsg),e.onerror=null,e.terminate(),this.workerContext=null}}destroy(){if(this.workerContext)this.resetWorker(),this.onwmsg=void 0;else{const e=this.transmuxer;e&&(e.destroy(),this.transmuxer=null)}const e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.observer=null,this.hls=null}push(e,t,n,r,i,o,a,s,c,l){var u,d;c.transmuxing.start=self.performance.now();const{transmuxer:p}=this,_=o?o.start:i.start,f=i.decryptdata,h=this.frag,m=!(h&&i.cc===h.cc),b=!(h&&c.level===h.level),g=h?c.sn-h.sn:-1,v=this.part?c.part-this.part.index:-1,w=0===g&&c.id>1&&c.id===(null==h?void 0:h.stats.chunkCount),y=!b&&(1===g||0===g&&(1===v||w&&v<=0)),k=self.performance.now();(b||g||0===i.stats.parsing.start)&&(i.stats.parsing.start=k),!o||!v&&y||(o.stats.parsing.start=k);const x=!(h&&(null==(u=i.initSegment)?void 0:u.url)===(null==(d=h.initSegment)?void 0:d.url)),E=new ni(m,y,s,b,_,x);if(!y||m||x){N.log(`[transmuxer-interface, ${i.type}]: Starting new transmux session for sn: ${c.sn} p: ${c.part} level: ${c.level} id: ${c.id}\n discontinuity: ${m}\n trackSwitch: ${b}\n contiguous: ${y}\n accurateTimeOffset: ${s}\n timeOffset: ${_}\n initSegmentChange: ${x}`);const e=new ti(n,r,t,a,l);this.configureTransmuxer(e)}if(this.frag=i,this.part=o,this.workerContext)this.workerContext.worker.postMessage({cmd:"demux",data:e,decryptdata:f,chunkMeta:c,state:E},e instanceof ArrayBuffer?[e]:[]);else if(p){const t=p.push(e,f,c,E);ei(t)?(p.async=!0,t.then((e=>{this.handleTransmuxComplete(e)})).catch((e=>{this.transmuxerError(e,c,"transmuxer-interface push error")}))):(p.async=!1,this.handleTransmuxComplete(t))}}flush(e){e.transmuxing.start=self.performance.now();const{transmuxer:t}=this;if(this.workerContext)this.workerContext.worker.postMessage({cmd:"flush",chunkMeta:e});else if(t){let n=t.flush(e);
1ei(n)||t.async?(ei(n)||(n=Promise.resolve(n)),n.then((t=>{this.handleFlushResult(t,e)})).catch((t=>{this.transmuxerError(t,e,"transmuxer-interface flush error")}))):this.handleFlushResult(n,e)}}transmuxerError(e,t,n){this.hls&&(this.error=e,this.hls.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.FRAG_PARSING_ERROR,chunkMeta:t,fatal:!1,error:e,err:e,reason:n}))}handleFlushResult(e,t){e.forEach((e=>{this.handleTransmuxComplete(e)})),this.onFlush(t)}onWorkerMessage(e){const t=e.data,n=this.hls;switch(t.event){case"init":{var r;const e=null==(r=this.workerContext)?void 0:r.objectURL;e&&self.URL.revokeObjectURL(e);break}case"transmuxComplete":this.handleTransmuxComplete(t.data);break;case"flush":this.onFlush(t.data);break;case"workerLog":N[t.data.logType]&&N[t.data.logType](t.data.message);break;default:t.data=t.data||{},t.data.frag=this.frag,t.data.id=this.id,n.trigger(t.event,t.data)}}configureTransmuxer(e){const{transmuxer:t}=this;this.workerContext?this.workerContext.worker.postMessage({cmd:"configure",config:e}):t&&t.configure(e)}handleTransmuxComplete(e){e.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(e)}}class si{constructor(e,t,n,r){this.config=void 0,this.media=null,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=e,this.media=t,this.fragmentTracker=n,this.hls=r}destroy(){this.media=null,this.hls=this.fragmentTracker=null}poll(e,t){const{config:n,media:r,stalled:i}=this;if(null===r)return;const{currentTime:o,seeking:a}=r,s=this.seeking&&!a,c=!this.seeking&&a;if(this.seeking=a,o!==e){if(this.moved=!0,null!==i){if(this.stallReported){const e=self.performance.now()-i;N.warn(`playback not stuck anymore @${o}, after ${Math.round(e)}ms`),this.stallReported=!1}this.stalled=null,this.nudgeRetry=0}return}if(c||s)return void(this.stalled=null);if(r.paused&&!a||r.ended||0===r.playbackRate||!Dn.getBuffered(r).length)return;const l=Dn.bufferInfo(r,o,0),u=l.len>0,d=l.nextStart||0;if(!u&&!d)return;if(a){const e=l.len>2,n=!d||t&&t.start<=o||d-o>2&&!this.fragmentTracker.getPartialFragment(o);if(e||n)return;this.moved=!1}if(!this.moved&&null!==this.stalled){var p;const e=Math.max(d,l.start||0)-o,t=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,n=(null==t||null==(p=t.details)?void 0:p.live)?2*t.details.targetduration:2,r=this.fragmentTracker.getPartialFragment(o);if(e>0&&(e<=n||r))return void this._trySkipBufferHole(r)}const _=self.performance.now();if(null===i)return void(this.stalled=_);const f=_-i;if(!a&&f>=250&&(this._reportStall(l),!this.media))return;const h=Dn.bufferInfo(r,o,n.maxBufferHole);this._tryFixBufferStall(h,f)}_tryFixBufferStall(e,t){const{config:n,fragmentTracker:r,media:i}=this;if(null===i)return;const o=i.currentTime,a=r.getPartialFragment(o);if(a){if(this._trySkipBufferHole(a)||!this.media)return}(e.len>n.maxBufferHole||e.nextStart&&e.nextStart-o<n.maxBufferHole)&&t>1e3*n.highBufferWatchdogPeriod&&(N.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())}_reportStall(e){const{hls:t,media:n,stallReported:r}=this;if(!r&&n){this.stallReported=!0;const r=new Error(`Playback stalling at @${n.currentTime} due to low buffer (${JSON.stringify(e)})`);N.warn(r.message),t.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.BUFFER_STALLED_ERROR,fatal:!1,error:r,buffer:e.len})}}_trySkipBufferHole(e){const{config:t,hls:n,media:r}=this;if(null===r)return 0;const i=r.currentTime,o=Dn.bufferInfo(r,i,0),a=i<o.start?o.start:o.nextStart;if(a){const s=o.len<=t.maxBufferHole,c=o.len>0&&o.len<1&&r.readyState<3,l=a-i;if(l>0&&(s||c)){if(l>t.maxBufferHole){const{fragmentTracker:t}=this;let n=!1;if(0===i){const e=t.getAppendedFrag(0,gt);e&&a<e.end&&(n=!0)}if(!n){const n=e||t.getAppendedFrag(i,gt);if(n){let e=!1,r=n.end;for(;r<a;){const n=t.getPartialFragment(r);if(!n){e=!0;break}r+=n.duration}if(e)return 0}}}const o=Math.max(a+.05,i+.1);if(N.warn(`skipping hole, adjusting currentTime from ${i} to ${o}`),this.moved=!0,this.stalled=null,r.currentTime=o,e&&!e.gap){const t=new Error(`fragment loaded with buffer holes, seeking from ${i} to ${o}`);n.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:t,reason:t.message,frag:e})}return o}}return 0}_tryNudgeBuffer(){const{config:e,hls:t,media:n,nudgeRetry:r}=this;if(null===n)return;const i=n.currentTime;if(this.nudgeRetry++,r<e.nudgeMaxRetry){const o=i+(r+1)*e.nudgeOffset,a=new Error(`Nudging 'currentTime' from ${i} to ${o}`);N.warn(a.message),n.currentTime=o,t.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.BUFFER_NUDGE_ON_STALL,error:a,fatal:!1})}else{const n=new Error(`Playhead still not moving while enough data buffered @${i} after ${e.nudgeMaxRetry} nudges`);N.error(n.message),t.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.BUFFER_STALLED_ERROR,error:n,fatal:!0})}}}class ci extends nr{constructor(e,t,n){super(e,t,n,"[stream-controller]",gt),this.audioCodecSwap=!1,this.gapController=null,this.level=-1,this._forceStartLoad=!1,this.altAudio=!1,this.audioOnly=!1,this.fragPlaying=null,this.onvplaying=null,this.onvseeked=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this._registerListeners()}_registerListeners(){const{hls:e}=this;
1e.on(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.MANIFEST_PARSED,this.onManifestParsed,this),e.on(P.LEVEL_LOADING,this.onLevelLoading,this),e.on(P.LEVEL_LOADED,this.onLevelLoaded,this),e.on(P.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(P.ERROR,this.onError,this),e.on(P.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(P.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(P.BUFFER_CREATED,this.onBufferCreated,this),e.on(P.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(P.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(P.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.MANIFEST_PARSED,this.onManifestParsed,this),e.off(P.LEVEL_LOADED,this.onLevelLoaded,this),e.off(P.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(P.ERROR,this.onError,this),e.off(P.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(P.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(P.BUFFER_CREATED,this.onBufferCreated,this),e.off(P.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(P.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(P.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this._unregisterListeners(),this.onMediaDetaching()}startLoad(e){if(this.levels){const{lastCurrentTime:t,hls:n}=this;if(this.stopLoad(),this.setInterval(100),this.level=-1,!this.startFragRequested){let e=n.startLevel;-1===e&&(n.config.testBandwidth&&this.levels.length>1?(e=0,this.bitrateTest=!0):e=n.nextAutoLevel),this.level=n.nextLoadLevel=e,this.loadedmetadata=!1}t>0&&-1===e&&(this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`),e=t),this.state=qn,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}else this._forceStartLoad=!0,this.state=Gn}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case tr:{var e;const{levels:t,level:n}=this,r=null==t||null==(e=t[n])?void 0:e.details;if(r&&(!r.live||this.levelLastLoaded===this.level)){if(this.waitForCdnTuneIn(r))break;this.state=qn;break}if(this.hls.nextLoadLevel!==this.level){this.state=qn;break}break}case Wn:{var t;const e=self.performance.now(),n=this.retryDate;(!n||e>=n||null!=(t=this.media)&&t.seeking)&&(this.resetStartWhenNotLoaded(this.level),this.state=qn)}}this.state===qn&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){super.onTickEnd(),this.checkBuffer(),this.checkFragmentChanged()}doTickIdle(){const{hls:e,levelLastLoaded:t,levels:n,media:r}=this,{config:i,nextLoadLevel:o}=e;if(null===t||!r&&(this.startFragRequested||!i.startFragPrefetch))return;if(this.altAudio&&this.audioOnly)return;if(null==n||!n[o])return;const a=n[o],s=this.getMainFwdBufferInfo();if(null===s)return;const c=this.getLevelDetails();if(c&&this._streamEnded(s,c)){const e={};return this.altAudio&&(e.type="video"),this.hls.trigger(P.BUFFER_EOS,e),void(this.state=Jn)}e.loadLevel!==o&&-1===e.manualLevel&&this.log(`Adapting to level ${o} from level ${this.level}`),this.level=e.nextLoadLevel=o;const l=a.details;if(!l||this.state===tr||l.live&&this.levelLastLoaded!==o)return this.level=o,void(this.state=tr);const u=s.len,d=this.getMaxBufferLength(a.maxBitrate);if(u>=d)return;this.backtrackFragment&&this.backtrackFragment.start>s.end&&(this.backtrackFragment=null);const p=this.backtrackFragment?this.backtrackFragment.start:s.end;let _=this.getNextFragment(p,l);if(this.couldBacktrack&&!this.fragPrevious&&_&&"initSegment"!==_.sn&&this.fragmentTracker.getState(_)!==yn){var f;const e=(null!=(f=this.backtrackFragment)?f:_).sn-l.startSN,t=l.fragments[e-1];t&&_.cc===t.cc&&(_=t,this.fragmentTracker.removeFragment(t))}else this.backtrackFragment&&s.len&&(this.backtrackFragment=null);if(_&&this.isLoopLoading(_,p)){if(!_.gap){const e=this.audioOnly&&!this.altAudio?F:V,t=(e===V?this.videoBuffer:this.mediaBuffer)||this.media;t&&this.afterBufferFlushed(t,e,gt)}_=this.getNextFragmentLoopLoading(_,l,s,gt,d)}
1_&&(!_.initSegment||_.initSegment.data||this.bitrateTest||(_=_.initSegment),this.loadFragment(_,a,p))}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);this.fragCurrent=e,r===gn||r===wn?"initSegment"===e.sn?this._loadInitSegment(e,t):this.bitrateTest?(this.log(`Fragment ${e.sn} of level ${e.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(e,t)):(this.startFragRequested=!0,super.loadFragment(e,t,n)):this.clearTrackerIfNeeded(e)}getBufferedFrag(e){return this.fragmentTracker.getBufferedFrag(e,gt)}followingBufferedFrag(e){return e?this.getBufferedFrag(e.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:e,media:t}=this;if(null!=t&&t.readyState){let n;const r=this.getAppendedFrag(t.currentTime);r&&r.start>1&&this.flushMainBuffer(0,r.start-1);const i=this.getLevelDetails();if(null!=i&&i.live){const e=this.getMainFwdBufferInfo();if(!e||e.len<2*i.targetduration)return}if(!t.paused&&e){const t=e[this.hls.nextLoadLevel],r=this.fragLastKbps;n=r&&this.fragCurrent?this.fragCurrent.duration*t.maxBitrate/(1e3*r)+1:0}else n=0;const o=this.getBufferedFrag(t.currentTime+n);if(o){const e=this.followingBufferedFrag(o);if(e){this.abortCurrentFrag();const t=e.maxStartPTS?e.maxStartPTS:e.start,n=e.duration,r=Math.max(o.end,t+Math.min(Math.max(n-this.config.maxFragLookUpTolerance,.5*n),.75*n));this.flushMainBuffer(r,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const e=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,e&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.state){case Hn:case Kn:case Wn:case Yn:case Xn:this.state=qn}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(e,t){super.flushMainBuffer(e,t,this.altAudio?"video":null)}onMediaAttached(e,t){super.onMediaAttached(e,t);const n=t.media;this.onvplaying=this.onMediaPlaying.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),n.addEventListener("playing",this.onvplaying),n.addEventListener("seeked",this.onvseeked),this.gapController=new si(this.config,n,this.fragmentTracker,this.hls)}onMediaDetaching(){const{media:e}=this;e&&this.onvplaying&&this.onvseeked&&(e.removeEventListener("playing",this.onvplaying),e.removeEventListener("seeked",this.onvseeked),this.onvplaying=this.onvseeked=null,this.videoBuffer=null),this.fragPlaying=null,this.gapController&&(this.gapController.destroy(),this.gapController=null),super.onMediaDetaching()}onMediaPlaying(){this.tick()}onMediaSeeked(){const e=this.media,t=e?e.currentTime:null;x(t)&&this.log(`Media seeked to ${t.toFixed(3)}`);const n=this.getMainFwdBufferInfo();null!==n&&0!==n.len?this.tick():this.warn(`Main forward buffer length on "seeked" event ${n?n.len:"empty"})`)}onManifestLoading(){this.log("Trigger BUFFER_RESET"),this.hls.trigger(P.BUFFER_RESET,void 0),this.fragmentTracker.removeAllFragments(),this.couldBacktrack=!1,this.startPosition=this.lastCurrentTime=0,this.levels=this.fragPlaying=this.backtrackFragment=null,this.altAudio=this.audioOnly=!1}onManifestParsed(e,t){let n,r=!1,i=!1;t.levels.forEach((e=>{n=e.audioCodec,n&&(-1!==n.indexOf("mp4a.40.2")&&(r=!0),-1!==n.indexOf("mp4a.40.5")&&(i=!0))})),this.audioCodecSwitch=r&&i&&!function(){var e;const t=rr();return"function"===typeof(null==t||null==(e=t.prototype)?void 0:e.changeType)}(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1}onLevelLoading(e,t){const{levels:n}=this;if(!n||this.state!==qn)return;const r=n[t.level];(!r.details||r.details.live&&this.levelLastLoaded!==t.level||this.waitForCdnTuneIn(r.details))&&(this.state=tr)}onLevelLoaded(e,t){var n;const{levels:r}=this,i=t.level,o=t.details,a=o.totalduration;if(!r)return void this.warn(`Levels were reset while loading level ${i}`);this.log(`Level ${i} loaded [${o.startSN},${o.endSN}]${o.lastPartSn?`[part-${o.lastPartSn}-${o.lastPartIndex}]`:""}, cc [${o.startCC}, ${o.endCC}] duration:${a}`);const s=r[i],c=this.fragCurrent;!c||this.state!==Kn&&this.state!==Wn||c.level===t.level&&c.urlId===s.urlId||!c.loader||this.abortCurrentFrag();let l=0;if(o.live||null!=(n=s.details)&&n.live){if(this.checkLiveUpdate(o),o.deltaUpdateFailed)return;l=this.alignPlaylists(o,s.details)}if(s.details=o,this.levelLastLoaded=i,this.hls.trigger(P.LEVEL_UPDATED,{details:o,level:i}),this.state===tr){if(this.waitForCdnTuneIn(o))return;this.state=qn}this.startFragRequested?o.live&&this.synchronizeToLiveEdge(o):this.setStartPosition(o,l),this.tick()}_handleFragmentLoadProgress(e){var t;const{frag:n,part:r,payload:i}=e,{levels:o}=this;if(!o)return void this.warn(`Levels were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);const a=o[n.level],s=a.details;if(!s)return this.warn(`Dropping fragment ${n.sn} of level ${n.level} after level details were reset`),void this.fragmentTracker.removeFragment(n);const c=a.videoCodec,l=s.PTSKnown||!s.live,u=null==(t=n.initSegment)?void 0:t.data,d=this._getAudioCodec(a),p=this.transmuxer=this.transmuxer||new ai(this.hls,gt,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),_=r?r.index:-1,f=-1!==_,h=new Nn(n.level,n.sn,n.stats.chunkCount,i.byteLength,_,f),m=this.initPTS[n.cc];p.push(i,u,d,c,n,r,s.totalduration,l,h,m)}onAudioTrackSwitching(e,t){const n=this.altAudio;if(!!!t.url){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const e=this.fragCurrent;e&&(this.log("Switching to main audio track, cancel main fragment load"),e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();const e=this.hls;n&&(e.trigger(P.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null}),this.fragmentTracker.removeAllFragments()),e.trigger(P.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const n=t.id,r=!!this.hls.audioTracks[n].url;if(r){const e=this.videoBuffer;e&&this.mediaBuffer!==e&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=e)}this.altAudio=r,this.tick()}onBufferCreated(e,t){const n=t.tracks;let r,i,o=!1;for(const a in n){const e=n[a];if("main"===e.id){if(i=a,r=e,"video"===a){const e=n[a];e&&(this.videoBuffer=e.buffer)}}else o=!0}o&&r?(this.log(`Alternate track found, use ${i}.buffered to schedule main fragment loading`),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n&&n.type!==gt)return;if(this.fragContextChanged(n))return this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}`),void(this.state===Xn&&(this.state=qn));const i=r?r.stats:n.stats;this.fragLastKbps=Math.round(8*i.total/(i.buffering.end-i.loading.first)),"initSegment"!==n.sn&&(this.fragPrevious=n),this.fragBufferedComplete(n,r)}onError(e,t){var n;if(t.fatal)this.state=Qn;else switch(t.details){case C.FRAG_GAP:case C.FRAG_PARSING_ERROR:case C.FRAG_DECRYPT_ERROR:case C.FRAG_LOAD_ERROR:case C.FRAG_LOAD_TIMEOUT:case C.KEY_LOAD_ERROR:case C.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(gt,t);break;case C.LEVEL_LOAD_ERROR:case C.LEVEL_LOAD_TIMEOUT:case C.LEVEL_PARSING_ERROR:t.levelRetry||this.state!==tr||(null==(n=t.context)?void 0:n.type)!==ht||(this.state=qn);break;case C.BUFFER_FULL_ERROR:if(!t.parent||"main"!==t.parent)return;this.reduceLengthAndFlushBuffer(t)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case C.INTERNAL_EXCEPTION:this.recoverWorkerError(t)}}
1checkBuffer(){const{media:e,gapController:t}=this;if(e&&t&&e.readyState){if(this.loadedmetadata||!Dn.getBuffered(e).length){const e=this.state!==qn?this.fragCurrent:null;t.poll(this.lastCurrentTime,e)}this.lastCurrentTime=e.currentTime}}onFragLoadEmergencyAborted(){this.state=qn,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==F||this.audioOnly&&!this.altAudio){const e=(t===V?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(e,t,gt)}}onLevelsUpdated(e,t){this.levels=t.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:e}=this;if(!e)return;const t=e.currentTime;let n=this.startPosition;if(n>=0&&t<n){if(e.seeking)return void this.log(`could not seek to ${n}, already seeking at ${t}`);const r=Dn.getBuffered(e),i=(r.length?r.start(0):0)-n;i>0&&(i<this.config.maxBufferHole||i<this.config.maxFragLookUpTolerance)&&(this.log(`adjusting start position by ${i} to match buffer start`),n+=i,this.startPosition=n),this.log(`seek to target start position ${n} from current time ${t}`),e.currentTime=n}}_getAudioCodec(e){let t=this.config.defaultAudioCodec||e.audioCodec;return this.audioCodecSwap&&t&&(this.log("Swapping audio codec"),t=-1!==t.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),t}_loadBitrateTestFrag(e,t){e.bitrateTest=!0,this._doFragLoad(e,t).then((n=>{const{hls:r}=this;if(!n||this.fragContextChanged(e))return;t.fragmentError=0,this.state=qn,this.startFragRequested=!1,this.bitrateTest=!1;const i=e.stats;i.parsing.start=i.parsing.end=i.buffering.start=i.buffering.end=self.performance.now(),r.trigger(P.FRAG_LOADED,n),e.bitrateTest=!1}))}_handleTransmuxComplete(e){var t;const n="main",{hls:r}=this,{remuxResult:i,chunkMeta:o}=e,a=this.getCurrentContext(o);if(!a)return void this.resetWhenMissingContext(o);const{frag:s,part:c,level:l}=a,{video:u,text:d,id3:p,initSegment:_}=i,{details:f}=l,h=this.altAudio?void 0:i.audio;if(this.fragContextChanged(s))this.fragmentTracker.removeFragment(s);else{if(this.state=Yn,_){if(null!=_&&_.tracks){const e=s.initSegment||s;this._bufferInitSegment(l,_.tracks,e,o),r.trigger(P.FRAG_PARSING_INIT_SEGMENT,{frag:e,id:n,tracks:_.tracks})}const e=_.initPTS,t=_.timescale;x(e)&&(this.initPTS[s.cc]={baseTime:e,timescale:t},r.trigger(P.INIT_PTS_FOUND,{frag:s,id:n,initPTS:e,timescale:t}))}if(u&&f&&"initSegment"!==s.sn){const e=f.fragments[s.sn-1-f.startSN],t=s.sn===f.startSN,n=!e||s.cc>e.cc;if(!1!==i.independent){const{startPTS:e,endPTS:r,startDTS:i,endDTS:a}=u;if(c)c.elementaryStreams[u.type]={startPTS:e,endPTS:r,startDTS:i,endDTS:a};else if(u.firstKeyFrame&&u.independent&&1===o.id&&!n&&(this.couldBacktrack=!0),u.dropped&&u.independent){const i=this.getMainFwdBufferInfo(),o=(i?i.end:this.getLoadPosition())+this.config.maxBufferHole,c=u.firstKeyFramePTS?u.firstKeyFramePTS:e;if(!t&&o<c-this.config.maxBufferHole&&!n)return void this.backtrack(s);n&&(s.gap=!0),s.setElementaryStreamInfo(u.type,s.start,r,s.start,a,!0)}s.setElementaryStreamInfo(u.type,e,r,i,a),this.backtrackFragment&&(this.backtrackFragment=s),this.bufferFragmentData(u,s,c,o,t||n)}else{if(!t&&!n)return void this.backtrack(s);s.gap=!0}}if(h){const{startPTS:e,endPTS:t,startDTS:n,endDTS:r}=h;c&&(c.elementaryStreams[F]={startPTS:e,endPTS:t,startDTS:n,endDTS:r}),s.setElementaryStreamInfo(F,e,t,n,r),this.bufferFragmentData(h,s,c,o)}if(f&&null!=p&&null!=(t=p.samples)&&t.length){const e={id:n,frag:s,details:f,samples:p.samples};r.trigger(P.FRAG_PARSING_METADATA,e)}if(f&&d){const e={id:n,frag:s,details:f,samples:d.samples};r.trigger(P.FRAG_PARSING_USERDATA,e)}}}_bufferInitSegment(e,t,n,r){if(this.state!==Yn)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&delete t.audio;const{audio:i,video:o,audiovideo:a}=t;if(i){let t=e.audioCodec;const n=navigator.userAgent.toLowerCase();this.audioCodecSwitch&&(t&&(t=-1!==t.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),1!==i.metadata.channelCount&&-1===n.indexOf("firefox")&&(t="mp4a.40.5")),-1!==n.indexOf("android")&&"audio/mpeg"!==i.container&&(t="mp4a.40.2",this.log(`Android: force audio codec to ${t}`)),e.audioCodec&&e.audioCodec!==t&&this.log(`Swapping manifest audio codec "${e.audioCodec}" for "${t}"`),i.levelCodec=t,i.id="main",this.log(`Init audio buffer, container:${i.container}, codecs[selected/level/parsed]=[${t||""}/${e.audioCodec||""}/${i.codec}]`)}o&&(o.levelCodec=e.videoCodec,o.id="main",this.log(`Init video buffer, container:${o.container}, codecs[level/parsed]=[${e.videoCodec||""}/${o.codec}]`)),a&&this.log(`Init audiovideo buffer, container:${a.container}, codecs[level/parsed]=[${e.attrs.CODECS||""}/${a.codec}]`),this.hls.trigger(P.BUFFER_CODECS,t),Object.keys(t).forEach((e=>{const i=t[e].initSegment;null!=i&&i.byteLength&&this.hls.trigger(P.BUFFER_APPENDING,{type:e,data:i,frag:n,part:null,chunkMeta:r,parent:n.type})})),this.tick()}getMainFwdBufferInfo(){return this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,gt)}backtrack(e){this.couldBacktrack=!0,this.backtrackFragment=e,this.resetTransmuxer(),this.flushBufferGap(e),this.fragmentTracker.removeFragment(e),this.fragPrevious=null,this.nextLoadPosition=e.start,this.state=qn}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&!1===e.seeking){const n=e.currentTime;if(Dn.isBuffered(e,n)?t=this.getAppendedFrag(n):Dn.isBuffered(e,n+.1)&&
1(t=this.getAppendedFrag(n+.1)),t){this.backtrackFragment=null;const e=this.fragPlaying,n=t.level;e&&t.sn===e.sn&&e.level===n&&t.urlId===e.urlId||(this.fragPlaying=t,this.hls.trigger(P.FRAG_CHANGED,{frag:t}),e&&e.level===n||this.hls.trigger(P.LEVEL_SWITCHED,{level:n}))}}}get nextLevel(){const e=this.nextBufferedFrag;return e?e.level:-1}get currentFrag(){const e=this.media;return e?this.fragPlaying||this.getAppendedFrag(e.currentTime):null}get currentProgramDateTime(){const e=this.media;if(e){const t=e.currentTime,n=this.currentFrag;if(n&&x(t)&&x(n.programDateTime)){const e=n.programDateTime+1e3*(t-n.start);return new Date(e)}}return null}get currentLevel(){const e=this.currentFrag;return e?e.level:-1}get nextBufferedFrag(){const e=this.currentFrag;return e?this.followingBufferedFrag(e):null}get forceStartLoad(){return this._forceStartLoad}}class li{constructor(e,t=0,n=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=e,this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=t,this.totalWeight_=n}sample(e,t){const n=Math.pow(this.alpha_,e);this.estimate_=t*(1-n)+n*this.estimate_,this.totalWeight_+=e}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const e=1-Math.pow(this.alpha_,this.totalWeight_);if(e)return this.estimate_/e}return this.estimate_}}class ui{constructor(e,t,n,r=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=n,this.minWeight_=.001,this.minDelayMs_=50,this.slow_
1=new li(e),this.fast_=new li(t),this.defaultTTFB_=r,this.ttfb_=new li(e)}update(e,t){const{slow_:n,fast_:r,ttfb_:i}=this;n.halfLife!==e&&(this.slow_=new li(e,n.getEstimate(),n.getTotalWeight())),r.halfLife!==t&&(this.fast_=new li(t,r.getEstimate(),r.getTotalWeight())),i.halfLife!==e&&(this.ttfb_=new li(e,i.getEstimate(),i.getTotalWeight()))}sample(e,t){const n=(e=Math.max(e,this.minDelayMs_))/1e3,r=8*t/n;this.fast_.sample(n,r),this.slow_.sample(n,r)}sampleTTFB(e){const t=e/1e3,n=Math.sqrt(2)*Math.exp(-Math.pow(t,2)/2);this.ttfb_.sample(n,Math.max(e,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}destroy(){}}class di{constructor(){this.chunks=[],this.dataLength=0}push(e){this.chunks.push(e),this.dataLength+=e.length}flush(){const{chunks:e,dataLength:t}=this;let n;return e.length?(n=1===e.length?e[0]:function(e,t){const n=new Uint8Array(t);let r=0;for(let i=0;i<e.length;i++){const t=e[i];n.set(t,r),r+=t.length}return n}(e,t),this.reset(),n):new Uint8Array(0)}reset(){this.chunks.length=0,this.dataLength=0}}function pi(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!_i(e[n].attrs,t[n].attrs))return!1;return!0}function _i(e,t){const n=e["STABLE-RENDITION-ID"];return n?n===t["STABLE-RENDITION-ID"]:!["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED"].some((n=>e[n]!==t[n]))}class fi{constructor(e){this.buffered=void 0;const t=(t,n,r)=>{if((n>>>=0)>r-1)throw new DOMException(`Failed to execute '${t}' on 'TimeRanges': The index provided (${n}) is greater than the maximum bound (${r})`);return e[n][t]};this.buffered={get length(){return e.length},end:n=>t("end",n,e.length),start:n=>t("start",n,e.length)}}}function hi(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];"subtitles"!==r.kind&&"captions"!==r.kind||!r.label||t.push(e[n])}return t}class mi{constructor(e){this.buffers=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.buffers=e}append(e,t){const n=this.queues[t];n.push(e),1===n.length&&this.buffers[t]&&this.executeNext(t)}insertAbort(e,t){this.queues[t].unshift(e),this.executeNext(t)}appendBlocker(e){let t;const n=new Promise((e=>{t=e})),r={execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};return this.append(r,e),n}executeNext(e){const{buffers:t,queues:n}=this,r=t[e],i=n[e];if(i.length){const t=i[0];try{t.execute()}catch(o){N.warn("[buffer-operation-queue]: Unhandled exception executing the current operation"),t.onError(o),null!=r&&r.updating||(i.shift(),this.executeNext(e))}}}shiftAndExecuteNext(e){this.queues[e].shift(),this.executeNext(e)}current(e){return this.queues[e][0]}}const bi=Xe(),gi=/([ha]vc.)(?:\.[^.,]+)+/;const vi={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},wi=function(e){let t=e;return vi.hasOwnProperty(e)&&(t=vi[e]),String.fromCharCode(t)},yi=15,ki=100,xi={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},Ei={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Si={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Pi={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Oi=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Ci{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const n="function"===typeof t?t():t;N.log(`${this.time} [${e}] ${n}`)}}}const Ti=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n].toString(16));return t};class ji{constructor(e,t,n,r,i){this.foreground=void 0,this.underline=void 0,this.italics=void 0,this.background=void 0,this.flash=void 0,this.foreground=e||"white",this.underline=t||!1,this.italics=n||!1,this.background=r||"black",this.flash=i||!1}reset(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}setStyles(e){const t=["foreground","underline","italics","background","flash"];for(let n=0;n<t.length;n++){const r=t[n];e.hasOwnProperty(r)&&(this[r]=e[r])}}isDefault(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash}equals(e){return this.foreground===e.foreground&&this.underline===e.underline&&this.italics===e.italics&&this.background===e.background&&this.flash===e.flash}copy(e){this.foreground=e.foreground,this.underline=e.underline,this.italics=e.italics,this.background=e.background,this.flash=e.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class Ai{constructor(e,t,n,r,i,o){this.uchar=void 0,this.penState=void 0,this.uchar=e||" ",this.penState=new ji(t,n,r,i,o)}reset(){this.uchar=" ",this.penState.reset()}setChar(e,t){this.uchar=e,this.penState.copy(t)}setPenState(e){this.penState.copy(e)}equals(e){return this.uchar===e.uchar&&this.penState.equals(e.penState)}copy(e){this.uchar=e.uchar,this.penState.copy(e.penState)}isEmpty(){return" "===this.uchar&&this.penState.isDefault()}}class Di{constructor(e){this.chars=void 0,this.pos=void 0,this.currPenState=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chars=[];for(let t=0;t<ki;t++)this.chars.push(new Ai);this.logger=e,this.pos=0,this.currPenState=new ji}equals(e){let t=!0;for(let n=0;n<ki;n++)if(!this.chars[n].equals(e.chars[n])){t=!1;break}return t}copy(e){for(let t=0;t<ki;t++)this.chars[t].copy(e.chars[t])}isEmpty(){let e=!0;for(let t=0;t<ki;t++)if(!this.chars[t].isEmpty()){e=!1;break}return e}
vendor: 5,796 bytes, line 1
1setCursor(e){this.pos!==e&&(this.pos=e),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>ki&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=ki)}moveCursor(e){const t=this.pos+e;if(e>1)for(let n=this.pos+1;n<t+1;n++)this.chars[n].setPenState(this.currPenState);this.setCursor(t)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(e){e>=144&&this.backSpace();const t=wi(e);this.pos>=ki?this.logger.log(0,(()=>"Cannot insert "+e.toString(16)+" ("+t+") at position "+this.pos+". Skipping it!")):(this.chars[this.pos].setChar(t,this.currPenState),this.moveCursor(1))}clearFromPos(e){let t;for(t=e;t<ki;t++)this.chars[t].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const e=[];let t=!0;for(let n=0;n<ki;n++){const r=this.chars[n].uchar;" "!==r&&(t=!1),e.push(r)}return t?"":e.join("")}setPenStyles(e){this.currPenState.setStyles(e);this.chars[this.pos].setPenState(this.currPenState)}}class Ni{constructor(e){this.rows=void 0,this.currRow=void 0,this.nrRollUpRows=void 0,this.lastOutputScreen=void 0,this.logger=void 0,this.rows=[];for(let t=0;t<yi;t++)this.rows.push(new Di(e));this.logger=e,this.currRow=14,this.nrRollUpRows=null,this.lastOutputScreen=null,this.reset()}reset(){for(let e=0;e<yi;e++)this.rows[e].clear();this.currRow=14}equals(e){let t=!0;for(let n=0;n<yi;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}copy(e){for(let t=0;t<yi;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<yi;t++)if(!this.rows[t].isEmpty()){e=!1;break}return e}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(e){this.rows[this.currRow].insertChar(e)}setPen(e){this.rows[this.currRow].setPenStyles(e)}moveCursor(e){this.rows[this.currRow].moveCursor(e)}setCursor(e){this.logger.log(2,"setCursor: "+e);this.rows[this.currRow].setCursor(e)}setPAC(e){this.logger.log(2,(()=>"pacData = "+JSON.stringify(e)));let t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(let t=0;t<yi;t++)this.rows[t].clear();const e=this.currRow+1-this.nrRollUpRows,n=this.lastOutputScreen;if(n){const r=n.rows[e].cueStartTime,i=this.logger.time;if(r&&null!==i&&r<i)for(let o=0;o<this.nrRollUpRows;o++)this.rows[t-this.nrRollUpRows+o+1].copy(n.rows[e+o])}}this.currRow=t;const n=this.rows[this.currRow];if(null!==e.indent){const t=e.indent,r=Math.max(t-1,0);n.setCursor(e.indent),e.color=n.chars[r].penState.foreground}const r={foreground:e.color,underline:e.underline,italics:e.italics,background:"black",flash:!1};this.setPen(r)}setBkgData(e){this.logger.log(2,(()=>"bkgData = "+JSON.stringify(e))),this.backSpace(),this.setPen(e),this.insertChar(32)}setRollUpRows(e){this.nrRollUpRows=e}rollUp(){if(null===this.nrRollUpRows)return void this.logger.log(3,"roll_up but nrRollUpRows not set yet");this.logger.log(1,(()=>this.getDisplayText()));const e=this.currRow+1-this.nrRollUpRows,t=this.rows.splice(e,1)[0];t.clear(),this.rows.splice(this.currRow,0,t),this.logger.log(2,"Rolling up")}getDisplayText(e){e=e||!1;const t=[];let n="",r=-1;for(let i=0;i<yi;i++){const n=this.rows[i].getTextString();n&&(r=i+1,e?t.push("Row "+r+": '"+n+"'"):t.push(n.trim()))}return t.length>0&&(n=e?"["+t.join(" | ")+"]":t.join("\n")),n}getTextAndFormat(){return this.rows}}class Ii{constructor(e,t,n){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=e,this.outputFilter=t,this.mode=null,this.verbose=0,this.displayedMemory=new Ni(n),this.nonDisplayedMemory=new Ni(n),this.lastOutputScreen=new Ni(n),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=n}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(e){this.outputFilter=e}setPAC(e){this.writeScreen.setPAC(e)}setBkgData(e){this.writeScreen.setBkgData(e)}setMode(e){e!==this.mode&&(this.mode=e,this.logger.log(2,(()=>"MODE="+e)),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=e)}insertChars(e){for(let n=0;n<e.length;n++)this.writeScreen.insertChar(e[n]);const t=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,(()=>t+": "+this.writeScreen.getDisplayText(!0))),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(this.logger.log(1,(()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0))),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(e){this.logger.log(2,"RU("+e+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(e)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}
1ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),"MODE_POP-ON"===this.mode){const e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,(()=>"DISP: "+this.displayedMemory.getDisplayText()))}this.outputDataUpdate(!0)}ccTO(e){this.logger.log(2,"TO("+e+") - Tab Offset"),this.writeScreen.moveCursor(e)}ccMIDROW(e){const t={flash:!1};if(t.underline=e%2===1,t.italics=e>=46,t.italics)t.foreground="white";else{const n=Math.floor(e/2)-16,r=["white","green","blue","cyan","red","yellow","magenta"];t.foreground=r[n]}this.logger.log(2,"MIDROW: "+JSON.stringify(t)),this.writeScreen.setPen(t)}outputDataUpdate(e=!1){const t=this.logger.time;null!==t&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),e&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:t):this.cueStartTime=t,this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(e){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,e,this.displayedMemory),this.cueStartTime=e))}}class Ri{constructor(e,t,n){this.channels=void 0,this.currentChannel=0,this.cmdHistory=void 0,this.logger=void 0;const r=new Ci;this.channels=[null,new Ii(e,t,r),new Ii(e+1,n,r)],this.cmdHistory={a:null,b:null},this.logger=r}getHandler(e){return this.channels[e].getHandler()}setHandler(e,t){this.channels[e].setHandler(t)}addData(e,t){let n,r,i,o=!1;this.logger.time=e;for(let a=0;a<t.length;a+=2)if(r=127&t[a],i=127&t[a+1],0!==r||0!==i){if(this.logger.log(3,"["+Ti([t[a],t[a+1]])+"] -> ("+Ti([r,i])+")"),n=this.parseCmd(r,i),n||(n=this.parseMidrow(r,i)),n||(n=this.parsePAC(r,i)),n||(n=this.parseBackgroundAttributes(r,i)),!n&&(o=this.parseChars(r,i),o)){const e=this.currentChannel;if(e&&e>0){this.channels[e].insertChars(o)}else this.logger.log(2,"No channel found yet. TEXT-MODE?")}n||o||this.logger.log(2,"Couldn't parse cleaned data "+Ti([r,i])+" orig: "+Ti([t[a],t[a+1]]))}}parseCmd(e,t){const{cmdHistory:n}=this;if(!((20===e||28===e||21===e||29===e)&&t>=32&&t<=47)&&!((23===e||31===e)&&t>=33&&t<=35))return!1;if(Mi(e,t,n))return Li(null,null,n),this.logger.log(3,"Repeated command ("+Ti([e,t])+") is dropped"),!0;const r=20===e||21===e||23===e?1:2,i=this.channels[r];return 20===e||21===e||28===e||29===e?32===t?i.ccRCL():33===t?i.ccBS():34===t?i.ccAOF():35===t?i.ccAON():36===t?i.ccDER():37===t?i.ccRU(2):38===t?i.ccRU(3):39===t?i.ccRU(4):40===t?i.ccFON():41===t?i.ccRDC():42===t?i.ccTR():43===t?i.ccRTD():44===t?i.ccEDM():45===t?i.ccCR():46===t?i.ccENM():47===t&&i.ccEOC():i.ccTO(t-32),Li(e,t,n),this.currentChannel=r,!0}parseMidrow(e,t){let n=0;if((17===e||25===e)&&t>=32&&t<=47){if(n=17===e?1:2,n!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const r=this.channels[n];return!!r&&(r.ccMIDROW(t),this.logger.log(3,"MIDROW ("+Ti([e,t])+")"),!0)}return!1}parsePAC(e,t){let n;const r=this.cmdHistory;if(!((e>=17&&e<=23||e>=25&&e<=31)&&t>=64&&t<=127)&&!((16===e||24===e)&&t>=64&&t<=95))return!1;if(Mi(e,t,r))return Li(null,null,r),!0;const i=e<=23?1:2;n=t>=64&&t<=95?1===i?xi[e]:Si[e]:1===i?Ei[e]:Pi[e];const o=this.channels[i];return!!o&&(o.setPAC(this.interpretPAC(n,t)),Li(e,t,r),this.currentChannel=i,!0)}interpretPAC(e,t){let n;const r={color:null,italics:!1,indent:null,underline:!1,row:e};return n=t>95?t-96:t-64,r.underline=1===(1&n),n<=13?r.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(n/2)]:n<=15?(r.italics=!0,r.color="white"):r.indent=4*Math.floor((n-16)/2),r}parseChars(e,t){let n,r=null,i=null;if(e>=25?(n=2,i=e-8):(n=1,i=e),i>=17&&i<=19){let e;e=17===i?t+80:18===i?t+112:t+144,this.logger.log(2,"Special char '"+wi(e)+"' in channel "+n),r=[e]}else e>=32&&e<=127&&(r=0===t?[e]:[e,t]);if(r){const n=Ti(r);this.logger.log(3,"Char codes = "+n.join(",")),Li(e,t,this.cmdHistory)}return r}
vendor: 7,084 bytes, line 1
1parseBackgroundAttributes(e,t){if(!((16===e||24===e)&&t>=32&&t<=47)&&!((23===e||31===e)&&t>=45&&t<=47))return!1;let n;const r={};16===e||24===e?(n=Math.floor((t-32)/2),r.background=Oi[n],t%2===1&&(r.background=r.background+"_semi")):45===t?r.background="transparent":(r.foreground="black",47===t&&(r.underline=!0));const i=e<=23?1:2;return this.channels[i].setBkgData(r),Li(e,t,this.cmdHistory),!0}reset(){for(let e=0;e<Object.keys(this.channels).length;e++){const t=this.channels[e];t&&t.reset()}this.cmdHistory={a:null,b:null}}cueSplitAtTime(e){for(let t=0;t<this.channels.length;t++){const n=this.channels[t];n&&n.cueSplitAtTime(e)}}}function Li(e,t,n){n.a=e,n.b=t}function Mi(e,t,n){return n.a===e&&n.b===t}class zi{constructor(e,t){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=e,this.trackName=t}dispatchCue(){null!==this.startTime&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(e,t,n){(null===this.startTime||this.startTime>e)&&(this.startTime=e),this.endTime=t,this.screen=n,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}var Zi=function(){if("undefined"!==typeof self&&self.VTTCue)return self.VTTCue;const e=["","lr","rl"],t=["start","middle","end","left","right"];function n(e,t){if("string"!==typeof t)return!1;if(!Array.isArray(e))return!1;const n=t.toLowerCase();return!!~e.indexOf(n)&&n}function r(e){return n(t,e)}function i(e,...t){let n=1;for(;n<arguments.length;n++){const t=arguments[n];for(const n in t)e[n]=t[n]}return e}function o(t,o,a){const s=this,c={enumerable:!0};s.hasBeenReset=!1;let l="",u=!1,d=t,p=o,_=a,f=null,h="",m=!0,b="auto",g="start",v=50,w="middle",y=50,k="middle";Object.defineProperty(s,"id",i({},c,{get:function(){return l},set:function(e){l=""+e}})),Object.defineProperty(s,"pauseOnExit",i({},c,{get:function(){return u},set:function(e){u=!!e}})),Object.defineProperty(s,"startTime",i({},c,{get:function(){return d},set:function(e){if("number"!==typeof e)throw new TypeError("Start time must be set to a number.");d=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",i({},c,{get:function(){return p},set:function(e){if("number"!==typeof e)throw new TypeError("End time must be set to a number.");p=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",i({},c,{get:function(){return _},set:function(e){_=""+e,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",i({},c,{get:function(){return f},set:function(e){f=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",i({},c,{get:function(){return h},set:function(t){const r=function(t){return n(e,t)}(t);if(!1===r)throw new SyntaxError("An invalid or illegal string was specified.");h=r,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",i({},c,{get:function(){return m},set:function(e){m=!!e,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",i({},c,{get:function(){return b},set:function(e){if("number"!==typeof e&&"auto"!==e)throw new SyntaxError("An invalid number or illegal string was specified.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",i({},c,{get:function(){return g},set:function(e){const t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");g=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",i({},c,{get:function(){return v},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");v=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",i({},c,{get:function(){return w},set:function(e){const t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",i({},c,{get:function(){return y},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",i({},c,{get:function(){return k},set:function(e){const t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");k=t,this.hasBeenReset=!0}})),s.displayState=void 0}return o.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},o}();class Fi{decode(e,t){if(!e)return"";if("string"!==typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function Vi(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+parseFloat(r||0)}const n=e.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class Bi{constructor(){this.values=Object.create(null)}set(e,t){this.get(e)||""===t||(this.values[e]=t)}get(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t}has(e){return e in this.values}alt(e,t,n){for(let r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}}integer(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))}percent(e,t){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(t)){const n=parseFloat(t);if(n>=0&&n<=100)return this.set(e,n),!0}return!1}}function Ui(e,t,n,r){const i=r?e.split(r):[e];for(const o in i){if("string"!==typeof i[o])continue;const e=i[o].split(n);if(2!==e.length)continue;t(e[0],e[1])}}const Gi=new Zi(0,0,""),qi="middle"===Gi.align?"middle":"center";function Hi(e,t,n){const r=e;function i(){const t=Vi(e);if(null===t)throw new Error("Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function o(){e=e.replace(/^\s+/,"")}if(o(),t.startTime=i(),o(),"--\x3e"!==e.slice(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.slice(3),o(),t.endTime=i(),o(),function(e,t){const r=new Bi;Ui(e,(function(e,t){let i;switch(e){case"region":for(let i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":i=t.split(","),r.integer(e,i[0]),r.percent(e,i[0])&&r.set("snapToLines",!1),r.alt(e,i[0],["auto"]),2===i.length&&r.alt("lineAlign",i[1],["start",qi,"end"]);break;case"position":i=t.split(","),r.percent(e,i[0]),2===i.length&&r.alt("positionAlign",i[1],["start",qi,"end","line-left","line-right","auto"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start",qi,"end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");let i=r.get("line","auto");"auto"===i&&-1===Gi.line&&(i=-1),t.line=i,t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100),t.align=r.get("align",qi);let o=r.get("position","auto");"auto"===o&&50===Gi.position&&(o="start"===t.align||"left"===t.align?0:"end"===t.align||"right"===t.align?100:50),t.position=o}(e,t)}function Ki(e){return e.replace(/<br(?: \/)?>/gi,"\n")}class Wi{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new Fi,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(e){const t=this;function n(){let e=t.buffer,n=0;for(e=Ki(e);
vendor: 4,981 bytes, line 1
1n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;const r=e.slice(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.slice(n),r}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{let e="";if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;e=n();const r=e.match(/^(\xef\xbb\xbf)?WEBVTT([ \t].*)?$/);if(null==r||!r[0])throw new Error("Malformed WebVTT signature.");t.state="HEADER"}let i=!1;for(;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(i?i=!1:e=n(),t.state){case"HEADER":/:/.test(e)?Ui(e,(function(e,t){}),/:/):e||(t.state="ID");continue;case"NOTE":e||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(e)){t.state="NOTE";break}if(!e)continue;if(t.cue=new Zi(0,0,""),t.state="CUE",-1===e.indexOf("--\x3e")){t.cue.id=e;continue}case"CUE":if(!t.cue){t.state="BADCUE";continue}try{Hi(e,t.cue,t.regionList)}catch(r){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":{const n=-1!==e.indexOf("--\x3e");if(!e||n&&(i=!0)){t.oncue&&t.cue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}if(null===t.cue)continue;t.cue.text&&(t.cue.text+="\n"),t.cue.text+=e}continue;case"BADCUE":e||(t.state="ID")}}}catch(r){"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this}flush(){const e=this;try{if((e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state||"BADWEBVTT"===e.state)throw new Error("Malformed WebVTT signature.")}catch(t){e.onparsingerror&&e.onparsingerror(t)}return e.onflush&&e.onflush(),this}}const $i=/\r\n|\n\r|\n|\r/g,Yi=function(e,t,n=0){return e.slice(n,n+t.length)===t},Xi=function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0).toString()};function Ji(e,t,n){return Xi(e.toString())+Xi(t.toString())+Xi(n)}function Qi(e,t,n,r,i,o,a){const s=new Wi,c=we(new Uint8Array(e)).trim().replace($i,"\n").split("\n"),l=[],u=t?function(e,t=1){return Zr(e,9e4,1/t)}(t.baseTime,t.timescale):0;let d,p="00:00.000",_=0,f=0,h=!0;s.oncue=function(e){const o=n[r];let a=n.ccOffset;const s=(_-u)/9e4;if(null!=o&&o.new&&(void 0!==f?a=n.ccOffset=o.start:function(e,t,n){let r=e[t],i=e[r.prevCC];if(!i||!i.new&&r.new)return e.ccOffset=e.presentationOffset=r.start,void(r.new=!1);for(;null!=(o=i)&&o.new;){var o;e.ccOffset+=r.start-i.start,r.new=!1,r=i,i=e[r.prevCC]}e.presentationOffset=n}(n,r,s)),s){if(!t)return void(d=new Error("Missing initPTS for VTT MPEGTS"));a=s-n.presentationOffset}const c=e.endTime-e.startTime,p=qr(9e4*(e.startTime+a-f),9e4*i)/9e4;e.startTime=Math.max(p,0),e.endTime=Math.max(p+c,0);const h=e.text.trim();e.text=decodeURIComponent(encodeURIComponent(h)),e.id||(e.id=Ji(e.startTime,e.endTime,h)),e.endTime>0&&l.push(e)},s.onparsingerror=function(e){d=e},s.onflush=function(){d?a(d):o(l)},c.forEach((e=>{if(h){if(Yi(e,"X-TIMESTAMP-MAP=")){h=!1,e.slice(16).split(",").forEach((e=>{Yi(e,"LOCAL:")?p=e.slice(6):Yi(e,"MPEGTS:")&&(_=parseInt(e.slice(7)))}));try{f=function(e){let t=parseInt(e.slice(-3));const n=parseInt(e.slice(-6,-4)),r=parseInt(e.slice(-9,-7)),i=e.length>9?parseInt(e.substring(0,e.indexOf(":"))):0;if(!x(t)||!x(n)||!x(r)||!x(i))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*n,t+=6e4*r,t+=36e5*i,t}(p)/1e3}catch(t){d=t}return}""===e&&(h=!1)}s.parse(e+"\n")})),s.flush()}const eo="stpp.ttml.im1t",to=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,no=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,ro={left:"start",center:"center",right:"end",start:"start",end:"end"};function io(e,t,n,r){const i=De(new Uint8Array(e),["mdat"]);if(0===i.length)return void r(new Error("Could not parse IMSC1 mdat"));const o=i.map((e=>we(e))),a=function(e,t,n=1,r=!1){return Zr(e,t,1/n,r)}(t.baseTime,1,t.timescale);try{o.forEach((e=>n(function(e,t){const n=new DOMParser,r=n.parseFromString(e,"text/xml").getElementsByTagName("tt")[0];if(!r)throw new Error("Invalid ttml");const i={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},o=Object.keys(i).reduce(((e,t)=>(e[t]=r.getAttribute(`ttp:${t}`)||i[t],e)),{}),a="preserve"!==r.getAttribute("xml:space"),s=ao(oo(r,"styling","style")),c=ao(oo(r,"layout","region")),l=oo(r,"body","[begin]");return[].map.call(l,(e=>{const n=so(e,a);if(!n||!e.hasAttribute("begin"))return null;const r=uo(e.getAttribute("begin"),o),i=uo(e.getAttribute("dur"),o);let l=uo(e.getAttribute("end"),o);if(null===r)throw lo(e);if(null===l){if(null===i)throw lo(e);l=r+i}const u=new Zi(r-t,l-t,n);u.id=Ji(u.startTime,u.endTime,u.text);const d=function(e,t,n){const r="http://www.w3.org/ns/ttml#styling";let i=null;const o=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],a=null!=e&&e.hasAttribute("style")?e.getAttribute("style"):null;a&&n.hasOwnProperty(a)&&(i=n[a]);return o.reduce(((n,o)=>{const a=co(t,r,o)||co(e,r,o)||co(i,r,o);return a&&(n[o]=a),n}),{})}(c[e.getAttribute("region")],s[e.getAttribute("style")],s),{textAlign:p}=d;if(p){const e=ro[p];e&&(u.lineAlign=e),u.align=p}return k(u,d),u})).filter((e=>null!==e))}
1(e,a))))}catch(s){r(s)}}function oo(e,t,n){const r=e.getElementsByTagName(t)[0];return r?[].slice.call(r.querySelectorAll(n)):[]}function ao(e){return e.reduce(((e,t)=>{const n=t.getAttribute("xml:id");return n&&(e[n]=t),e}),{})}function so(e,t){return[].slice.call(e.childNodes).reduce(((e,n,r)=>{var i;return"br"===n.nodeName&&r?e+"\n":null!=(i=n.childNodes)&&i.length?so(n,t):t?e+n.textContent.trim().replace(/\s+/g," "):e+n.textContent}),"")}function co(e,t,n){return e&&e.hasAttributeNS(t,n)?e.getAttributeNS(t,n):null}function lo(e){return new Error(`Could not parse ttml timestamp ${e}`)}function uo(e,t){if(!e)return null;let n=Vi(e);return null===n&&(to.test(e)?n=function(e,t){const n=to.exec(e),r=(0|n[4])+(0|n[5])/t.subFrameRate;return 3600*(0|n[1])+60*(0|n[2])+(0|n[3])+r/t.frameRate}(e,t):no.test(e)&&(n=function(e,t){const n=no.exec(e),r=Number(n[1]);switch(n[2]){case"h":return 3600*r;case"m":return 60*r;case"ms":return 1e3*r;case"f":return r/t.frameRate;case"t":return r/t.tickRate}return r}(e,t))),n}function po(e,t){return!!e&&e.label===t.name&&!(e.textTrack1||e.textTrack2)}class _o{constructor(e){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=e,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(e){this.streamController=e}destroy(){this.unregisterListener(),this.hls.config.capLevelToPlayerSize&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:e}=this;e.on(P.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(P.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(P.MANIFEST_PARSED,this.onManifestParsed,this),e.on(P.BUFFER_CODECS,this.onBufferCodecs,this),e.on(P.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(P.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(P.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(P.MANIFEST_PARSED,this.onManifestParsed,this),e.off(P.BUFFER_CODECS,this.onBufferCodecs,this),e.off(P.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(e,t){const n=this.hls.levels[t.droppedLevel];this.isLevelAllowed(n)&&this.restrictedLevels.push({bitrate:n.bitrate,height:n.height,width:n.width})}onMediaAttaching(e,t){this.media=t.media instanceof HTMLVideoElement?t.media:null,this.clientRect=null}onManifestParsed(e,t){const n=this.hls;this.restrictedLevels=[],this.firstLevel=t.firstLevel,n.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onBufferCodecs(e,t){this.hls.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onMediaDetaching(){this.stopCapping()}detectPlayerSize(){if(this.media&&this.mediaHeight>0&&this.mediaWidth>0){const e=this.hls.levels;if(e.length){const t=this.hls;t.autoLevelCapping=this.getMaxLevel(e.length-1),t.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}}getMaxLevel(e){const t=this.hls.levels;if(!t.length)return-1;const n=t.filter(((t,n)=>this.isLevelAllowed(t)&&n<=e));return this.clientRect=null,_o.getMaxLevelByMediaSize(n,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,this.hls.firstLevel=this.getMaxLevel(this.firstLevel),self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const e=this.media,t={width:0,height:0};if(e){const n=e.getBoundingClientRect();t.width=n.width,t.height=n.height,t.width||t.height||(t.width=n.right-n.left||e.width||0,t.height=n.bottom-n.top||e.height||0)}return this.clientRect=t,t}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let e=1;if(!this.hls.config.ignoreDevicePixelRatio)try{e=self.devicePixelRatio}catch(t){}return e}isLevelAllowed(e){return!this.restrictedLevels.some((t=>e.bitrate===t.bitrate&&e.width===t.width&&e.height===t.height))}static getMaxLevelByMediaSize(e,t,n){if(null==e||!e.length)return-1;let r=e.length-1;for(let a=0;a<e.length;a+=1){const s=e[a];if((s.width>=t||s.height>=n)&&(i=s,!(o=e[a+1])||i.width!==o.width||i.height!==o.height)){r=a;break}}var i,o;return r}}const fo="[eme]";class ho{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=ho.CDMCleanupPromise?[ho.CDMCleanupPromise]:[],this.onMediaEncrypted=this._onMediaEncrypted.bind(this),this.onWaitingForKey=this._onWaitingForKey.bind(this),this.debug=N.debug.bind(N,fo),this.log=N.log.bind(N,fo),this.warn=N.warn.bind(N,fo),this.error=N.error.bind(N,fo),this.hls=e,this.config=e.config,this.registerListeners()}destroy(){this.unregisterListeners(),this.onMediaDetached();const e=this.config;e.requestMediaKeySystemAccessFunc=null,e.licenseXhrSetup=e.licenseResponseCallback=void 0,e.drmSystems=e.drmSystemOptions={},this.hls=this.onMediaEncrypted=this.onWaitingForKey=this.keyIdToKeySessionPromise=null,this.config=null}
vendor: 5,173 bytes, line 1
1registerListeners(){this.hls.on(P.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(P.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(P.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(P.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(P.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(P.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(P.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(P.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:n}=this.config,r=t[e];if(r)return r.licenseUrl;if(e===Y.WIDEVINE&&n)return n;throw new Error(`no license server URL configured for key-system "${e}"`)}getServerCertificateUrl(e){const{drmSystems:t}=this.config,n=t[e];if(n)return n.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${e}"]`)}attemptKeySystemAccess(e){const t=this.hls.levels,n=(e,t,n)=>!!e&&n.indexOf(e)===t,r=t.map((e=>e.audioCodec)).filter(n),i=t.map((e=>e.videoCodec)).filter(n);return r.length+i.length===0&&i.push("avc1.42e01e"),new Promise(((t,n)=>{const o=e=>{const a=e.shift();this.getMediaKeysPromise(a,r,i).then((e=>t({keySystem:a,mediaKeys:e}))).catch((t=>{e.length?o(e):n(t instanceof mo?t:new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_NO_ACCESS,error:t,fatal:!0},t.message))}))};o(e)}))}requestMediaKeySystemAccess(e,t){const{requestMediaKeySystemAccessFunc:n}=this.config;if("function"!==typeof n){let e=`Configured requestMediaKeySystemAccess is not a function ${n}`;return null===oe&&"http:"===self.location.protocol&&(e=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(e))}return n(e,t)}getMediaKeysPromise(e,t,n){const r=function(e,t,n,r){let i;switch(e){case Y.FAIRPLAY:i=["cenc","sinf"];break;case Y.WIDEVINE:case Y.PLAYREADY:i=["cenc"];break;case Y.CLEARKEY:i=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${e}`)}return function(e,t,n,r){return[{initDataTypes:e,persistentState:r.persistentState||"not-allowed",distinctiveIdentifier:r.distinctiveIdentifier||"not-allowed",sessionTypes:r.sessionTypes||[r.sessionType||"temporary"],audioCapabilities:t.map((e=>({contentType:`audio/mp4; codecs="${e}"`,robustness:r.audioRobustness||"",encryptionScheme:r.audioEncryptionScheme||null}))),videoCapabilities:n.map((e=>({contentType:`video/mp4; codecs="${e}"`,robustness:r.videoRobustness||"",encryptionScheme:r.videoEncryptionScheme||null})))}]}(i,t,n,r)}(e,t,n,this.config.drmSystemOptions),i=this.keySystemAccessPromises[e];let o=null==i?void 0:i.keySystemAccess;if(!o){this.log(`Requesting encrypted media "${e}" key-system access with config: ${JSON.stringify(r)}`),o=this.requestMediaKeySystemAccess(e,r);const t=this.keySystemAccessPromises[e]={keySystemAccess:o};return o.catch((t=>{this.log(`Failed to obtain access to key-system "${e}": ${t}`)})),o.then((n=>{this.log(`Access for key-system "${n.keySystem}" obtained`);const r=this.fetchServerCertificate(e);return this.log(`Create media-keys for "${e}"`),t.mediaKeys=n.createMediaKeys().then((t=>(this.log(`Media-keys created for "${e}"`),r.then((n=>n?this.setMediaKeysServerCertificate(t,e,n):t))))),t.mediaKeys.catch((t=>{this.error(`Failed to create media-keys for "${e}"}: ${t}`)})),t.mediaKeys}))}return o.then((()=>i.mediaKeys))}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:n}){this.log(`Creating key-system session "${t}" keyId: ${xe(e.keyId||[])}`);const r=n.createSession(),i={decryptdata:e,keySystem:t,mediaKeys:n,mediaKeysSession:r,keyStatus:"status-pending"};return this.mediaKeySessions.push(i),i}renewKeySession(e){const t=e.decryptdata;if(t.pssh){const n=this.createMediaKeySessionContext(e),r=this.getKeyIdString(t),i="cenc";this.keyIdToKeySessionPromise[r]=this.generateRequestWithPreferredKeySession(n,i,t.pssh,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(e)}getKeyIdString(e){if(!e)throw new Error("Could not read keyId of undefined decryptdata");if(null===e.keyId)throw new Error("keyId is null");return xe(e.keyId)}updateKeySession(e,t){var n;const r=e.mediaKeysSession;return this.log(`Updating key-session "${r.sessionId}" for keyID ${xe((null==(n=e.decryptdata)?void 0:n.keyId)||[])}\n } (data length: ${t?t.byteLength:t})`),r.update(t)}selectKeySystemFormat(e){const t=Object.keys(e.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${e.sn} ${e.type}: ${e.level}) key formats ${t.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(t)),this.keyFormatPromise}getKeyFormatPromise(e){return new Promise(((t,n)=>{const r=ie(this.config),i=e.map(te).filter((e=>!!e&&-1!==r.indexOf(e)));return this.getKeySystemSelectionPromise(i).then((({keySystem:e})=>{const r=re(e);r?t(r):n(new Error(`Unable to find format for key-system "${e}"`))})).catch(n)}))}loadKey(e){const t=e.keyInfo.decryptdata,n=this.getKeyIdString(t),r=`(keyId: ${n} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${r}`);let i=this.keyIdToKeySessionPromise[n];
1return i||(i=this.keyIdToKeySessionPromise[n]=this.getKeySystemForKeyPromise(t).then((({keySystem:n,mediaKeys:i})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${r}`),this.attemptSetMediaKeys(n,i).then((()=>{this.throwIfDestroyed();const e=this.createMediaKeySessionContext({keySystem:n,mediaKeys:i,decryptdata:t});return this.generateRequestWithPreferredKeySession(e,"cenc",t.pssh,"playlist-key")}))))),i.catch((e=>this.handleError(e)))),i}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e){this.hls&&(this.error(e.message),e instanceof mo?this.hls.trigger(P.ERROR,e.data):this.hls.trigger(P.ERROR,{type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0}))}getKeySystemForKeyPromise(e){const t=this.getKeyIdString(e),n=this.keyIdToKeySessionPromise[t];if(!n){const t=te(e.keyFormat),n=t?[t]:ie(this.config);return this.attemptKeySystemAccess(n)}return n}getKeySystemSelectionPromise(e){if(e.length||(e=ie(this.config)),0===e.length)throw new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${JSON.stringify({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}_onMediaEncrypted(e){const{initDataType:t,initData:n}=e;if(this.debug(`"${e.type}" event: init data type: "${t}"`),null===n)return;let r,i;if("sinf"===t&&this.config.drmSystems[Y.FAIRPLAY]){const e=Oe(new Uint8Array(n));try{const t=K(JSON.parse(e).sinf),n=Re(new Uint8Array(t));if(!n)return;r=n.subarray(8,24),i=Y.FAIRPLAY}catch(l){return void this.warn('Failed to parse sinf "encrypted" event message initData')}}else{const e=function(e){if(!(e instanceof ArrayBuffer)||e.byteLength<32)return null;const t={version:0,systemId:"",kids:null,data:null},n=new DataView(e),r=n.getUint32(0);if(e.byteLength!==r&&r>44)return null;if(1886614376!==n.getUint32(4))return null;if(t.version=n.getUint32(8)>>>24,t.version>1)return null;t.systemId=xe(new Uint8Array(e,12,16));const i=n.getUint32(28);if(0===t.version){if(r-32<i)return null;t.data=new Uint8Array(e,32,i)}else if(1===t.version){t.kids=[];for(let n=0;n<i;n++)t.kids.push(new Uint8Array(e,32+16*n,16))}return t}(n);if(null===e)return;0===e.version&&e.systemId===ne&&e.data&&(r=e.data.subarray(8,24)),i=function(e){if(e===ne)return Y.WIDEVINE}(e.systemId)}if(!i||!r)return;const o=xe(r),{keyIdToKeySessionPromise:a,mediaKeySessions:s}=this;let c=a[o];for(let u=0;u<s.length;u++){const e=s[u],i=e.decryptdata;if(i.pssh||!i.keyId)continue;const l=xe(i.keyId);if(o===l||-1!==i.uri.replace(/-/g,"").indexOf(o)){c=a[l],delete a[l],i.pssh=new Uint8Array(n),i.keyId=r,c=a[o]=c.then((()=>this.generateRequestWithPreferredKeySession(e,t,n,"encrypted-event-key-match")));break}}c||(c=a[o]=this.getKeySystemSelectionPromise([i]).then((({keySystem:e,mediaKeys:i})=>{var a;this.throwIfDestroyed();const s=new Ge("ISO-23001-7",o,null!=(a=re(e))?a:"");return s.pssh=new Uint8Array(n),s.keyId=r,this.attemptSetMediaKeys(e,i).then((()=>{this.throwIfDestroyed();const r=this.createMediaKeySessionContext({decryptdata:s,keySystem:e,mediaKeys:i});return this.generateRequestWithPreferredKeySession(r,t,n,"encrypted-event-no-match")}))}))),c.catch((e=>this.handleError(e)))}_onWaitingForKey(e){this.log(`"${e.type}" event`)}attemptSetMediaKeys(e,t){const n=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const r=Promise.all(n).then((()=>
vendor: 4,722 bytes, line 1
1{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(t)}));return this.setMediaKeysQueue.push(r),r.then((()=>{this.log(`Media-keys set for "${e}"`),n.push(r),this.setMediaKeysQueue=this.setMediaKeysQueue.filter((e=>-1===n.indexOf(e)))}))}generateRequestWithPreferredKeySession(e,t,n,r){var i,o;const a=null==(i=this.config.drmSystems)||null==(o=i[e.keySystem])?void 0:o.generateRequest;if(a)try{const r=a.call(this.hls,t,n,e);if(!r)throw new Error("Invalid response from configured generateRequest filter");t=r.initDataType,n=e.decryptdata.pssh=r.initData?new Uint8Array(r.initData):null}catch(d){var s;if(this.warn(d.message),null!=(s=this.hls)&&s.config.debug)throw d}if(null===n)return this.log(`Skipping key-session request for "${r}" (no initData)`),Promise.resolve(e);const c=this.getKeyIdString(e.decryptdata);this.log(`Generating key-session request for "${r}": ${c} (init data type: ${t} length: ${n?n.byteLength:null})`);const l=new ii;e.mediaKeysSession.onmessage=t=>{const n=e.mediaKeysSession;if(!n)return void l.emit("error",new Error("invalid state"));const{messageType:r,message:i}=t;this.log(`"${r}" message event for session "${n.sessionId}" message size: ${i.byteLength}`),"license-request"===r||"license-renewal"===r?this.renewLicense(e,i).catch((e=>{this.handleError(e),l.emit("error",e)})):"license-release"===r?e.keySystem===Y.FAIRPLAY&&(this.updateKeySession(e,$("acknowledged")),this.removeSession(e)):this.warn(`unhandled media key message type "${r}"`)},e.mediaKeysSession.onkeystatuseschange=t=>{if(!e.mediaKeysSession)return void l.emit("error",new Error("invalid state"));this.onKeyStatusChange(e);const n=e.keyStatus;l.emit("keyStatus",n),"expired"===n&&(this.warn(`${e.keySystem} expired for key ${c}`),this.renewKeySession(e))};const u=new Promise(((e,t)=>{l.on("error",t),l.on("keyStatus",(n=>{n.startsWith("usable")?e():"output-restricted"===n?t(new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):"internal-error"===n?t(new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${n}"`)):"expired"===n?t(new Error("key expired while generating request")):this.warn(`unhandled key status change "${n}"`)}))}));return e.mediaKeysSession.generateRequest(t,n).then((()=>{var t;this.log(`Request generated for key-session "${null==(t=e.mediaKeysSession)?void 0:t.sessionId}" keyId: ${c}`)})).catch((e=>{throw new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_NO_SESSION,error:e,fatal:!1},`Error generating key-session request: ${e}`)})).then((()=>u)).catch((t=>{throw l.removeAllListeners(),this.removeSession(e),t})).then((()=>(l.removeAllListeners(),e)))}onKeyStatusChange(e){e.mediaKeysSession.keyStatuses.forEach(((t,n)=>{this.log(`key status change "${t}" for keyStatuses keyId: ${xe("buffer"in n?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):new Uint8Array(n))} session keyId: ${xe(new Uint8Array(e.decryptdata.keyId||[]))} uri: ${e.decryptdata.uri}`),e.keyStatus=t}))}fetchServerCertificate(e){const t=this.config,n=new(0,t.loader)(t),r=this.getServerCertificateUrl(e);return r?(this.log(`Fetching serverCertificate for "${e}"`),new Promise(((i,o)=>{const a={responseType:"arraybuffer",url:r},s=t.certLoadPolicy.default,c={loadPolicy:s,timeout:s.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},l={onSuccess:(e,t,n,r)=>{i(e.data)},onError:(t,n,i,s)=>{o(new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:i,response:w({url:a.url,data:void 0},t)},`"${e}" certificate request failed (${r}). Status: ${t.code} (${t.text})`))},onTimeout:(t,n,i)=>{o(new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:i,response:{url:a.url,data:void 0}},`"${e}" certificate request timed out (${r})`))},onAbort:(e,t,n)=>{o(new Error("aborted"))}};n.load(a,c,l)}))):Promise.resolve()}setMediaKeysServerCertificate(e,t,n){return new Promise(((r,i)=>{e.setServerCertificate(n).then((i=>{this.log(`setServerCertificate ${i?"success":"not supported by CDM"} (${null==n?void 0:n.byteLength}) on "${t}"`),r(e)})).catch((e=>{i(new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:e,fatal:!0},e.message))}))}))}renewLicense(e,t){return this.requestLicense(e,new Uint8Array(t)).then((t=>this.updateKeySession(e,new Uint8Array(t)).catch((e=>{throw new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:e,fatal:!0},e.message)}))))}setupLicenseXHR(e,t,n,r){const i=this.config.licenseXhrSetup;return i?Promise.resolve().then((()=>
1{if(!n.decryptdata)throw new Error("Key removed");return i.call(this.hls,e,t,n,r)})).catch((o=>{if(!n.decryptdata)throw o;return e.open("POST",t,!0),i.call(this.hls,e,t,n,r)})).then((n=>{e.readyState||e.open("POST",t,!0);return{xhr:e,licenseChallenge:n||r}})):(e.open("POST",t,!0),Promise.resolve({xhr:e,licenseChallenge:r}))}requestLicense(e,t){const n=this.config.keyLoadPolicy.default;return new Promise(((r,i)=>{const o=this.getLicenseServerUrl(e.keySystem);this.log(`Sending license request to URL: ${o}`);const a=new XMLHttpRequest;a.responseType="arraybuffer",a.onreadystatechange=()=>{if(!this.hls||!e.mediaKeysSession)return i(new Error("invalid state"));if(4===a.readyState)if(200===a.status){this._requestLicenseFailureCount=0;let t=a.response;this.log(`License received ${t instanceof ArrayBuffer?t.byteLength:t}`);const n=this.config.licenseResponseCallback;if(n)try{t=n.call(this.hls,a,o,e)}catch(s){this.error(s)}r(t)}else{const s=n.errorRetry,c=s?s.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>c||a.status>=400&&a.status<500)i(new mo({type:O.KEY_SYSTEM_ERROR,details:C.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:a,response:{url:o,data:void 0,code:a.status,text:a.statusText}},`License Request XHR failed (${o}). Status: ${a.status} (${a.statusText})`));else{const n=c-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${n} attempts left`),this.requestLicense(e,t).then(r,i)}}},e.licenseXhr&&e.licenseXhr.readyState!==XMLHttpRequest.DONE&&e.licenseXhr.abort(),e.licenseXhr=a,this.setupLicenseXHR(a,o,e,t).then((({xhr:e,licenseChallenge:t})=>{e.send(t)}))}))}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const n=t.media;this.media=n,n.addEventListener("encrypted",this.onMediaEncrypted),n.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const e=this.media,t=this.mediaKeySessions;e&&(e.removeEventListener("encrypted",this.onMediaEncrypted),e.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null),this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Ge.clearKeyUriToKeyIdMap();const n=t.length;ho.CDMCleanupPromise=Promise.all(t.map((e=>this.removeSession(e))).concat(null==e?void 0:e.setMediaKeys(null).catch((t=>{this.log(`Could not clear media keys: ${t}. media.src: ${null==e?void 0:e.src}`)})))).then((()=>{n&&(this.log("finished closing key sessions and clearing media keys"),t.length=0)})).catch((t=>{this.log(`Could not close sessions and clear media keys: ${t}. media.src: ${null==e?void 0:e.src}`)}))}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(e,{sessionKeys:t}){if(t&&this.config.emeEnabled&&!this.keyFormatPromise){const e=t.reduce(((e,t)=>(-1===e.indexOf(t.keyFormat)&&e.push(t.keyFormat),e)),[]);this.log(`Selecting key-system from session-keys ${e.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(e)}}removeSession(e){const{mediaKeysSession:t,licenseXhr:n}=e;if(t){this.log(`Remove licenses and keys and close session ${t.sessionId}`),t.onmessage=null,t.onkeystatuseschange=null,n&&n.readyState!==XMLHttpRequest.DONE&&n.abort(),e.mediaKeysSession=e.decryptdata=e.licenseXhr=void 0;const r=this.mediaKeySessions.indexOf(e);return r>-1&&this.mediaKeySessions.splice(r,1),t.remove().catch((e=>{this.log(`Could not remove session: ${e}`)})).then((()=>t.close())).catch((e=>{this.log(`Could not close session: ${e}`)}))}}}ho.CDMCleanupPromise=void 0;
1class mo extends Error{constructor(e,t){super(t),this.data=void 0,e.error||(e.error=new Error(t)),this.data=e,e.err=e.error}}var bo="m",go="a",vo="v",wo="av",yo="i",ko="tt";class xo{constructor(e){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=e=>{try{this.apply(e,{ot:bo,su:!this.initialized})}catch(t){N.warn("Could not generate manifest CMCD data.",t)}},this.applyFragmentData=e=>{try{const t=e.frag,n=this.hls.levels[t.level],r=this.getObjectType(t),i={d:1e3*t.duration,ot:r};r!==vo&&r!==go&&r!=wo||(i.br=n.bitrate/1e3,i.tb=this.getTopBandwidth(r)/1e3,i.bl=this.getBufferLength(r)),this.apply(e,i)}catch(t){N.warn("Could not generate segment CMCD data.",t)}},this.hls=e;const t=this.config=e.config,{cmcd:n}=t;null!=n&&(t.pLoader=this.createPlaylistLoader(),t.fLoader=this.createFragmentLoader(),this.sid=n.sessionId||xo.uuid(),this.cid=n.contentId,this.useHeaders=!0===n.useHeaders,this.registerListeners())}registerListeners(){const e=this.hls;e.on(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(P.MEDIA_DETACHED,this.onMediaDetached,this),e.on(P.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;e.off(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(P.MEDIA_DETACHED,this.onMediaDetached,this),e.off(P.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(e,t){var n,r;this.audioBuffer=null==(n=t.tracks.audio)?void 0:n.buffer,this.videoBuffer=null==(r=t.tracks.video)?void 0:r.buffer}createData(){var e;return{v:1,sf:"h",sid:this.sid,cid:this.cid,pr:null==(e=this.media)?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){k(t,this.createData());const n=t.ot===yo||t.ot===vo||t.ot===wo;if(this.starved&&n&&(t.bs=!0,t.su=!0,this.starved=!1),null==t.su&&(t.su=this.buffering),this.useHeaders){const n=xo.toHeaders(t);if(!Object.keys(n).length)return;e.headers||(e.headers={}),k(e.headers,n)}else{const n=xo.toQuery(t);if(!n)return;e.url=xo.appendQueryToUri(e.url,n)}}getObjectType(e){const{type:t}=e;return"subtitle"===t?ko:"initSegment"===e.sn?yo:"audio"===t?go:"main"===t?this.hls.audioTracks.length?vo:wo:void 0}getTopBandwidth(e){let t,n=0;const r=this.hls;if(e===go)t=r.audioTracks;else{const e=r.maxAutoLevel,n=e>-1?e+1:r.levels.length;t=r.levels.slice(0,n)}for(const i of t)i.bitrate>n&&(n=i.bitrate);return n>0?n:NaN}getBufferLength(e){const t=this.hls.media,n=e===go?this.audioBuffer:this.videoBuffer;if(!n||!t)return NaN;return 1e3*Dn.bufferInfo(n,t.currentTime,this.config.maxBufferHole).len}createPlaylistLoader(){const{pLoader:e}=this.config,t=this.applyPlaylistData,n=e||this.config.loader;return class{constructor(e){this.loader=void 0,this.loader=new n(e)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(e,n,r){t(e),this.loader.load(e,n,r)}}}createFragmentLoader(){const{fLoader:e}=this.config,t=this.applyFragmentData,n=e||this.config.loader;return class{constructor(e){this.loader=void 0,this.loader=new n(e)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(e,n,r){t(e),this.loader.load(e,n,r)}}}static uuid(){const e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.slice(t.lastIndexOf("/")+1)}static serialize(e){const t=[],n=e=>!Number.isNaN(e)&&null!=e&&""!==e&&!1!==e,r=e=>Math.round(e),i=e=>100*r(e/100),o={br:r,d:r,bl:i,dl:i,mtp:i,nor:e=>encodeURIComponent(e),rtp:i,tb:r},a=Object.keys(e||{}).sort();
1for(const s of a){let r=e[s];if(!n(r))continue;if("v"===s&&1===r)continue;if("pr"==s&&1===r)continue;const i=o[s];i&&(r=i(r));const a=typeof r;let c;c="ot"===s||"sf"===s||"st"===s?`${s}=${r}`:"boolean"===a?s:"number"===a?`${s}=${r}`:`${s}=${JSON.stringify(r)}`,t.push(c)}return t.join(",")}static toHeaders(e){const t=Object.keys(e),n={},r=["Object","Request","Session","Status"],i=[{},{},{},{}],o={br:0,d:0,ot:0,tb:0,bl:1,dl:1,mtp:1,nor:1,nrr:1,su:1,cid:2,pr:2,sf:2,sid:2,st:2,v:2,bs:3,rtp:3};for(const a of t){i[null!=o[a]?o[a]:1][a]=e[a]}for(let a=0;a<i.length;a++){const e=xo.serialize(i[a]);e&&(n[`CMCD-${r[a]}`]=e)}return n}static toQuery(e){return`CMCD=${encodeURIComponent(xo.serialize(e))}`}static appendQueryToUri(e,t){if(!t)return e;const n=e.includes("?")?"&":"?";return`${e}${n}${t}`}}function Eo(e,t,n,r){e&&Object.keys(t).forEach((i=>{const o=e.filter((e=>e.groupId===i)).map((e=>{const o=k({},e);return o.details=void 0,o.attrs=new L(o.attrs),o.url=o.attrs.URI=So(e.url,e.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),o.groupId=o.attrs["GROUP-ID"]=t[i],o.attrs["PATHWAY-ID"]=r,o}));e.push(...o)}))}function So(e,t,n,r){const{HOST:i,PARAMS:o,[n]:a}=r;let s;t&&(s=null==a?void 0:a[t],s&&(e=s));const c=new self.URL(e);return i&&!s&&(c.host=i),o&&Object.keys(o).sort().forEach((e=>{e&&c.searchParams.set(e,o[e])})),c.href}const Po=/^age:\s*[\d.]+\s*$/im;class Oo{constructor(e){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=void 0,this.loader=null,this.stats=void 0,this.xhrSetup=e&&e.xhrSetup||null,this.stats=new Z,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null}abortInternal(){const e=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),e&&(e.onreadystatechange=null,e.onprogress=null,4!==e.readyState&&(this.stats.aborted=!0,e.abort()))}abort(){var e;this.abortInternal(),null!=(e=this.callbacks)&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(e,t,n){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=e,this.config=t,this.callbacks=n,this.loadInternal()}loadInternal(){const{config:e,context:t}=this;if(!e)return;const n=this.loader=new self.XMLHttpRequest,r=this.stats;r.loading.first=0,r.loaded=0,r.aborted=!1;const i=this.xhrSetup;i?Promise.resolve().then((()=>
1{if(!this.stats.aborted)return i(n,t.url)})).catch((e=>(n.open("GET",t.url,!0),i(n,t.url)))).then((()=>{this.stats.aborted||this.openAndSendXhr(n,t,e)})).catch((e=>{this.callbacks.onError({code:n.status,text:e.message},t,n,r)})):this.openAndSendXhr(n,t,e)}openAndSendXhr(e,t,n){e.readyState||e.open("GET",t.url,!0);const r=this.context.headers,{maxTimeToFirstByteMs:i,maxLoadTimeMs:o}=n.loadPolicy;if(r)for(const a in r)e.setRequestHeader(a,r[a]);t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,self.clearTimeout(this.requestTimeout),n.timeout=i&&x(i)?i:o,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),n.timeout),e.send()}readystatechange(){const{context:e,loader:t,stats:n}=this;if(!e||!t)return;const r=t.readyState,i=this.config;if(!n.aborted&&r>=2&&(0===n.loading.first&&(n.loading.first=Math.max(self.performance.now(),n.loading.start),i.timeout!==i.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),i.timeout=i.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),i.loadPolicy.maxLoadTimeMs-(n.loading.first-n.loading.start)))),4===r)){self.clearTimeout(this.requestTimeout),t.onreadystatechange=null,t.onprogress=null;const r=t.status,o="text"!==t.responseType;if(r>=200&&r<300&&(o&&t.response||null!==t.responseText)){n.loading.end=Math.max(self.performance.now(),n.loading.first);const i=o?t.response:t.responseText,a="arraybuffer"===t.responseType?i.byteLength:i.length;if(n.loaded=n.total=a,n.bwEstimate=8e3*n.total/(n.loading.end-n.loading.first),!this.callbacks)return;const s=this.callbacks.onProgress;if(s&&s(n,e,i,t),!this.callbacks)return;const c={url:t.responseURL,data:i,code:r};this.callbacks.onSuccess(c,n,e,t)}else{const o=i.loadPolicy.errorRetry;en(o,n.retry,!1,r)?this.retry(o):(N.error(`${r} while loading ${e.url}`),this.callbacks.onError({code:r,text:t.statusText},e,t,n))}}}loadtimeout(){var e;const t=null==(e=this.config)?void 0:e.loadPolicy.timeoutRetry;if(en(t,this.stats.retry,!0))this.retry(t);else{N.warn(`timeout while loading ${this.context.url}`);const e=this.callbacks;e&&(this.abortInternal(),e.onTimeout(this.stats,this.context,this.loader))}}retry(e){const{context:t,stats:n}=this;this.retryDelay=Jt(e,n.retry),n.retry++,N.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${t.url}, retrying ${n.retry}/${e.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(e){const t=this.stats;t.loaded=e.loaded,e.lengthComputable&&(t.total=e.total)}getCacheAge(){let e=null;if(this.loader&&Po.test(this.loader.getAllResponseHeaders())){const t=this.loader.getResponseHeader("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.loader&&new RegExp(`^${e}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(e):null}}const Co=/(\d+)-(\d+)\/(\d+)/;class To{constructor(e){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=void 0,this.response=void 0,this.controller=void 0,this.context=void 0,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=e.fetchSetup||jo,this.controller=new self.AbortController,this.stats=new Z}destroy(){this.loader=this.callbacks=null,this.abortInternal()}abortInternal(){const e=this.response;null!=e&&e.ok||(this.stats.aborted=!0,this.controller.abort())}abort(){var e;this.abortInternal(),null!=(e=this.callbacks)&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(e,t,n){const r=this.stats;if(r.loading.start)throw new Error("Loader can only be used once.");r.loading.start=self.performance.now();const i=function(e,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(k({},e.headers))};e.rangeEnd&&n.headers.set("Range","bytes="+e.rangeStart+"-"+String(e.rangeEnd-1));return n}(e,this.controller.signal),o=n.onProgress,a="arraybuffer"===e.responseType,s=a?"byteLength":"length",{maxTimeToFirstByteMs:c,maxLoadTimeMs:l}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=n,this.request=this.fetchSetup(e,i),self.clearTimeout(this.requestTimeout),t.timeout=c&&x(c)?c:l,this.requestTimeout=self.setTimeout((()=>{this.abortInternal(),n.onTimeout(r,e,this.response)}),t.timeout),self.fetch(this.request).then((i=>{this.response=this.loader=i;const s=Math.max(self.performance.now(),r.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=l,this.requestTimeout=self.setTimeout((()=>{this.abortInternal(),n.onTimeout(r,e,this.response)}),l-(s-r.loading.start)),!i.ok){const{status:e,statusText:t}=i;throw new Ao(t||"fetch, bad network response",e,i)}return r.loading.first=s,r.total=function(e){const t=e.get("Content-Range");if(t){const e=function(e){const t=Co.exec(e);if(t)return parseInt(t[2])-parseInt(t[1])+1}(t);if(x(e))return e}const n=e.get("Content-Length");if(n)return parseInt(n)}(i.headers)||r.total,o&&x(t.highWaterMark)?this.loadProgressively(i,r,e,t.highWaterMark,o):a?i.arrayBuffer():"json"===e.responseType?i.json():i.text()})).then((i=>{const{response:a}=this;self.clearTimeout(this.requestTimeout),r.loading.end=Math.max(self.performance.now(),r.loading.first);const c=i[s];c&&(r.loaded=r.total=c);const l={url:a.url,data:i,code:a.status};o&&!x(t.highWaterMark)&&o(r,e,i,a),n.onSuccess(l,r,e,a)})).catch((t=>{if(self.clearTimeout(this.requestTimeout),r.aborted)return;const i=t&&t.code||0,o=t?t.message:null;n.onError({code:i,text:o},e,t?t.details:null,r)}
1))}getCacheAge(){let e=null;if(this.response){const t=this.response.headers.get("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.response?this.response.headers.get(e):null}loadProgressively(e,t,n,r=0,i){const o=new di,a=e.body.getReader(),s=()=>a.read().then((a=>{if(a.done)return o.dataLength&&i(t,n,o.flush(),e),Promise.resolve(new ArrayBuffer(0));const c=a.value,l=c.length;return t.loaded+=l,l<r||o.dataLength?(o.push(c),o.dataLength>=r&&i(t,n,o.flush(),e)):i(t,n,c,e),s()})).catch((()=>Promise.reject()));return s()}}function jo(e,t){return new self.Request(e.url,t)}class Ao extends Error{constructor(e,t,n){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=n}}const Do=/\s/,No={newCue(e,t,n,r){const i=[];let o,a,s,c,l;const u=self.VTTCue||self.TextTrackCue;for(let p=0;p<r.rows.length;p++)if(o=r.rows[p],s=!0,c=0,l="",!o.isEmpty()){var d;for(let e=0;e<o.chars.length;e++)Do.test(o.chars[e].uchar)&&s?c++:(l+=o.chars[e].uchar,s=!1);o.cueStartTime=t,t===n&&(n+=1e-4),c>=16?c--:c++;const r=Ki(l.trim()),_=Ji(t,n,r);null!=e&&null!=(d=e.cues)&&d.getCueById(_)||(a=new u(t,n,r),a.id=_,a.line=p+1,a.align="left",a.position=10+Math.min(80,10*Math.floor(8*c/32)),i.push(a))}return e&&i.length&&(i.sort(((e,t)=>"auto"===e.line||"auto"===t.line?0:e.line>8&&t.line>8?t.line-e.line:e.line-t.line)),i.forEach((t=>St(e,t)))),i}},Io=w(w({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,maxBufferSize:6e7,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:Oo,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:class{constructor(e){this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=0,this._nextAutoLevel=-1,this.timer=-1,this.onCheck=this._abandonRulesCheck.bind(this),this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.bwEstimator=void 0,this.hls=e;const t=e.config;this.bwEstimator=new ui(t.abrEwmaSlowVoD,t.abrEwmaFastVoD,t.abrEwmaDefaultEstimate),this.registerListeners()}registerListeners(){const{hls:e}=this;e.on(P.FRAG_LOADING,this.onFragLoading,this),e.on(P.FRAG_LOADED,this.onFragLoaded,this),e.on(P.FRAG_BUFFERED,this.onFragBuffered,this),e.on(P.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(P.LEVEL_LOADED,this.onLevelLoaded,this)}unregisterListeners(){const{hls:e}=this;e.off(P.FRAG_LOADING,this.onFragLoading,this),e.off(P.FRAG_LOADED,this.onFragLoaded,this),e.off(P.FRAG_BUFFERED,this.onFragBuffered,this),e.off(P.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(P.LEVEL_LOADED,this.onLevelLoaded,this)}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this.onCheck=null,this.fragCurrent=this.partCurrent=null}onFragLoading(e,t){var n;const r=t.frag;this.ignoreFragment(r)||(this.fragCurrent=r,this.partCurrent=null!=(n=t.part)?n:null,this.clearTimer(),this.timer=self.setInterval(this.onCheck,100))}onLevelSwitching(e,t){this.clearTimer()}getTimeToLoadFrag(e,t,n,r){return e+n/t+(r?this.lastLevelLoadSec:0)}onLevelLoaded(e,t){const n=this.hls.config,{total:r,bwEstimate:i}=t.stats;x(r)&&x(i)&&(this.lastLevelLoadSec=8*r/i),t.details.live?this.bwEstimator.update(n.abrEwmaSlowLive,n.abrEwmaFastLive):this.bwEstimator.update(n.abrEwmaSlowVoD,n.abrEwmaFastVoD)}_abandonRulesCheck(){const{fragCurrent:e,partCurrent:t,hls:n}=this,{autoLevelEnabled:r,media:i}=n;if(!e||!i)return;const o=performance.now(),a=t?t.stats:e.stats,s=t?t.duration:e.duration,c=o-a.loading.start;if(a.aborted||a.loaded&&a.loaded===a.total||0===e.level)return this.clearTimer(),void(this._nextAutoLevel=-1);if(!r||i.paused||!i.playbackRate||!i.readyState)return;const l=n.mainForwardBufferInfo;if(null===l)return;const u=this.bwEstimator.getEstimateTTFB(),d=Math.abs(i.playbackRate);if(c<=Math.max(u,s/(2*d)*1e3))return;const p=l.len/d;if(p>=2*s/d)return;const _=a.loading.first?a.loading.first-a.loading.start:-1,f=a.loaded&&_>-1,h=this.bwEstimator.getEstimate(),{levels:m,minAutoLevel:b}=n,g=m[e.level],v=a.total||Math.max(a.loaded,Math.round(s*g.maxBitrate/8));let w=c-_;w<1&&f&&(w=Math.min(c,8*a.loaded/h));const y=f?1e3*a.loaded/w:0,k=y?(v-a.loaded)/y:8*v/h+u/1e3;if(k<=p)return;const E=y?8*y:h;let S,O=Number.POSITIVE_INFINITY;for(S=e.level-1;S>b;S--){const e=m[S].maxBitrate;if(O=this.getTimeToLoadFrag(u/1e3,E,s*e,!m[S].details),O<p)break}O>=k||O>10*s||(n.nextLoadLevel=S,f?this.bwEstimator.sample(c-Math.min(u,_),a.loaded):this.bwEstimator.sampleTTFB(c),this.clearTimer(),N.warn(`[abr] Fragment ${e.sn}${t?" part "+t.index:""} of level ${e.level} is loading too slowly;\n Time to underbuffer: ${p.toFixed(3)} s\n Estimated load time for current fragment: ${k.toFixed(3)} s\n Estimated load time for down switch fragment: ${O.toFixed(3)} s\n TTFB estimate: ${_}\n Current BW estimate: ${x(h)?(h/1024).toFixed(3):"Unknown"} Kb/s\n New BW estimate: ${(this.bwEstimator.getEstimate()/1024).toFixed(3)} Kb/s\n Aborting and switching to level ${S}`),e.loader&&(this.fragCurrent=this.partCurrent=null,e.abortRequests()),n.trigger(P.FRAG_LOAD_EMERGENCY_ABORTED,{frag:e,part:t,stats:a}))}onFragLoaded(e,{frag:t,part:n}){const r=n?n.stats:t.stats;if(t.type===gt&&this.bwEstimator.sampleTTFB(r.loading.first-r.loading.start),!this.ignoreFragment(t)){if(this.clearTimer(),this.lastLoadedFragLevel=t.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){const e=n?n.duration:t.duration,i=this.hls.levels[t.level],o=(i.loaded?i.loaded.bytes:0)+r.loaded,a=(i.loaded?i.loaded.duration:0)+e;i.loaded={bytes:o,duration:a},i.realBitrate=Math.round(8*o/a)}if(t.bitrateTest){const e={stats:r,frag:t,part:n,id:t.type};this.onFragBuffered(P.FRAG_BUFFERED,e),t.bitrateTest=!1}}}onFragBuffered(e,t){const{frag:n,part:r}=t,i=null!=r&&r.stats.loaded?r.stats:n.stats;if(i.aborted)return;if(this.ignoreFragment(n))return;const o=i.parsing.end-i.loading.start-Math.min(i.loading.first-i.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(o,i.loaded),i.bwEstimate=this.bwEstimator.getEstimate(),n.bitrateTest?this.bitrateTestDelay=o/1e3:this.bitrateTestDelay=0}ignoreFragment(e){return e.type!==gt||"initSegment"===e.sn}clearTimer(){self.clearInterval(this.timer)}get nextAutoLevel(){const e=this._nextAutoLevel,t=this.bwEstimator;if(-1!==e&&!t.canEstimate())return e;let n=this.getNextABRAutoLevel();if(-1!==e){const t=this.hls.levels;if(t.length>Math.max(e,n)&&t[e].loadError<=t[n].loadError)return e}return-1!==e&&(n=Math.min(e,n)),n}getNextABRAutoLevel(){const{fragCurrent:e,partCurrent:t,hls:n}=this,{maxAutoLevel:r,config:i,minAutoLevel:o,media:a}
1=n,s=t?t.duration:e?e.duration:0,c=a&&0!==a.playbackRate?Math.abs(a.playbackRate):1,l=this.bwEstimator?this.bwEstimator.getEstimate():i.abrEwmaDefaultEstimate,u=n.mainForwardBufferInfo,d=(u?u.len:0)/c;let p=this.findBestLevel(l,o,r,d,i.abrBandWidthFactor,i.abrBandWidthUpFactor);if(p>=0)return p;N.trace(`[abr] ${d?"rebuffering expected":"buffer is empty"}, finding optimal quality level`);let _=s?Math.min(s,i.maxStarvationDelay):i.maxStarvationDelay,f=i.abrBandWidthFactor,h=i.abrBandWidthUpFactor;if(!d){const e=this.bitrateTestDelay;if(e){_=(s?Math.min(s,i.maxLoadingDelay):i.maxLoadingDelay)-e,N.trace(`[abr] bitrate test took ${Math.round(1e3*e)}ms, set first fragment max fetchDuration to ${Math.round(1e3*_)} ms`),f=h=1}}return p=this.findBestLevel(l,o,r,d+_,f,h),Math.max(p,0)}findBestLevel(e,t,n,r,i,o){var a;const{fragCurrent:s,partCurrent:c,lastLoadedFragLevel:l}=this,{levels:u}=this.hls,d=u[l],p=!(null==d||null==(a=d.details)||!a.live),_=null==d?void 0:d.codecSet,f=c?c.duration:s?s.duration:0,h=this.bwEstimator.getEstimateTTFB()/1e3;let m=t,b=-1;for(let g=n;g>=t;g--){const t=u[g];if(!t||_&&t.codecSet!==_){t&&(m=Math.min(g,m),b=Math.max(g,b));continue}-1!==b&&N.trace(`[abr] Skipped level(s) ${m}-${b} with CODECS:"${u[b].attrs.CODECS}"; not compatible with "${d.attrs.CODECS}"`);const n=t.details,a=(c?null==n?void 0:n.partTarget:null==n?void 0:n.averagetargetduration)||f;let s;s=g<=l?i*e:o*e;const v=u[g].maxBitrate,w=this.getTimeToLoadFrag(h,s,v*a,void 0===n);if(N.trace(`[abr] level:${g} adjustedbw-bitrate:${Math.round(s-v)} avgDuration:${a.toFixed(1)} maxFetchDuration:${r.toFixed(1)} fetchDuration:${w.toFixed(1)}`),s>v&&(0===w||!x(w)||p&&!this.bitrateTestDelay||w<r))return g}return-1}set nextAutoLevel(e){this._nextAutoLevel=e}},bufferController:class{constructor(e){this.details=null,this._objectUrl=null,this.operationQueue=void 0,this.listeners=void 0,this.hls=void 0,this.bufferCodecEventsExpected=0,this._bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.appendError=0,this.tracks={},this.pendingTracks={},this.sourceBuffer=void 0,this._onMediaSourceOpen=()=>{const{media:e,mediaSource:t}=this;N.log("[buffer-controller]: Media source opened"),e&&(e.removeEventListener("emptied",this._onMediaEmptied),this.updateMediaElementDuration(),this.hls.trigger(P.MEDIA_ATTACHED,{media:e})),t&&t.removeEventListener("sourceopen",this._onMediaSourceOpen),this.checkPendingTracks()},this._onMediaSourceClose=()=>{N.log("[buffer-controller]: Media source closed")},this._onMediaSourceEnded=()=>{N.log("[buffer-controller]: Media source ended")},this._onMediaEmptied=()=>{const{media:e,_objectUrl:t}=this;e&&e.src!==t&&N.error(`Media element src was set while attaching MediaSource (${t} > ${e.src})`)},this.hls=e,this._initSourceBuffer(),this.registerListeners()}hasSourceTypes(){return this.getSourceBufferTypes().length>0||Object.keys(this.pendingTracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=null}registerListeners(){const{hls:e}=this;e.on(P.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.MANIFEST_PARSED,this.onManifestParsed,this),e.on(P.BUFFER_RESET,this.onBufferReset,this),e.on(P.BUFFER_APPENDING,this.onBufferAppending,this),e.on(P.BUFFER_CODECS,this.onBufferCodecs,this),e.on(P.BUFFER_EOS,this.onBufferEos,this),e.on(P.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(P.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(P.FRAG_PARSED,this.onFragParsed,this),e.on(P.FRAG_CHANGED,this.onFragChanged,this)}unregisterListeners(){const{hls:e}=this;e.off(P.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.MANIFEST_PARSED,this.onManifestParsed,this),e.off(P.BUFFER_RESET,this.onBufferReset,this),e.off(P.BUFFER_APPENDING,this.onBufferAppending,this),e.off(P.BUFFER_CODECS,this.onBufferCodecs,this),e.off(P.BUFFER_EOS,this.onBufferEos,this),e.off(P.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(P.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(P.FRAG_PARSED,this.onFragParsed,this),e.off(P.FRAG_CHANGED,this.onFragChanged,this)}_initSourceBuffer(){this.sourceBuffer={},this.operationQueue=new mi(this.sourceBuffer),this.listeners={audio:[],video:[],audiovideo:[]},this.lastMpegAudioChunk=null}onManifestLoading(){this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=0,this.details=null}onManifestParsed(e,t){let n=2;(t.audio&&!t.video||!t.altAudio)&&(n=1),this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=n,N.log(`${this.bufferCodecEventsExpected}
1 bufferCodec event(s) expected`)}onMediaAttaching(e,t){const n=this.media=t.media;if(n&&bi){const e=this.mediaSource=new bi;e.addEventListener("sourceopen",this._onMediaSourceOpen),e.addEventListener("sourceended",this._onMediaSourceEnded),e.addEventListener("sourceclose",this._onMediaSourceClose),n.src=self.URL.createObjectURL(e),this._objectUrl=n.src,n.addEventListener("emptied",this._onMediaEmptied)}}onMediaDetaching(){const{media:e,mediaSource:t,_objectUrl:n}=this;if(t){if(N.log("[buffer-controller]: media source detaching"),"open"===t.readyState)try{t.endOfStream()}catch(ua){N.warn(`[buffer-controller]: onMediaDetaching: ${ua.message} while calling endOfStream`)}this.onBufferReset(),t.removeEventListener("sourceopen",this._onMediaSourceOpen),t.removeEventListener("sourceended",this._onMediaSourceEnded),t.removeEventListener("sourceclose",this._onMediaSourceClose),e&&(e.removeEventListener("emptied",this._onMediaEmptied),n&&self.URL.revokeObjectURL(n),e.src===n?(e.removeAttribute("src"),e.load()):N.warn("[buffer-controller]: media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.bufferCodecEventsExpected=this._bufferCodecEventsTotal,this.pendingTracks={},this.tracks={}}this.hls.trigger(P.MEDIA_DETACHED,void 0)}onBufferReset(){this.getSourceBufferTypes().forEach((e=>{const t=this.sourceBuffer[e];try{t&&(this.removeBufferListeners(e),this.mediaSource&&this.mediaSource.removeSourceBuffer(t),this.sourceBuffer[e]=void 0)}catch(ua){N.warn(`[buffer-controller]: Failed to reset the ${e} buffer`,ua)}})),this._initSourceBuffer()}onBufferCodecs(e,t){const n=this.getSourceBufferTypes().length;Object.keys(t).forEach((e=>{if(n){const n=this.tracks[e];if(n&&"function"===typeof n.buffer.changeType){const{id:r,codec:i,levelCodec:o,container:a,metadata:s}=t[e],c=(n.levelCodec||n.codec).replace(gi,"$1"),l=(o||i).replace(gi,"$1");if(c!==l){const t=`${a};codecs=${o||i}`;this.appendChangeType(e,t),N.log(`[buffer-controller]: switching codec ${c} to ${l}`),this.tracks[e]={buffer:n.buffer,codec:i,container:a,levelCodec:o,metadata:s,id:r}}}}else this.pendingTracks[e]=t[e]})),n||(this.bufferCodecEventsExpected=Math.max(this.bufferCodecEventsExpected-1,0),this.mediaSource&&"open"===this.mediaSource.readyState&&this.checkPendingTracks())}appendChangeType(e,t){const{operationQueue:n}=this,r={execute:()=>{const r=this.sourceBuffer[e];r&&(N.log(`[buffer-controller]: changing ${e} sourceBuffer type to ${t}`),r.changeType(t)),n.shiftAndExecuteNext(e)},onStart:()=>{},onComplete:()=>{},onError:t=>{N.warn(`[buffer-controller]: Failed to change ${e} SourceBuffer type`,t)}};n.append(r,e)}onBufferAppending(e,t){const{hls:n,operationQueue:r,tracks:i}=this,{data:o,type:a,frag:s,part:c,chunkMeta:l}=t,u=l.buffering[a],d=self.performance.now();u.start=d;const p=s.stats.buffering,_=c?c.stats.buffering:null;0===p.start&&(p.start=d),_&&0===_.start&&(_.start=d);const f=i.audio;let h=!1;"audio"===a&&"audio/mpeg"===(null==f?void 0:f.container)&&(h=!this.lastMpegAudioChunk||1===l.id||this.lastMpegAudioChunk.sn!==l.sn,this.lastMpegAudioChunk=l);const m=s.start,b={execute:()=>{if(u.executeStart=self.performance.now(),h){const e=this.sourceBuffer[a];if(e){const t=m-e.timestampOffset;Math.abs(t)>=.1&&(N.log(`[buffer-controller]: Updating audio SourceBuffer timestampOffset to ${m} (delta: ${t}) sn: ${s.sn})`),e.timestampOffset=m)}}this.appendExecutor(o,a)},onStart:()=>{},onComplete:()=>{const e=self.performance.now();u.executeEnd=u.end=e,0===p.first&&(p.first=e),_&&0===_.first&&(_.first=e);const{sourceBuffer:t}=this,n={};for(const r in t)n[r]=Dn.getBuffered(t[r]);this.appendError=0,this.hls.trigger(P.BUFFER_APPENDED,{type:a,frag:s,part:c,chunkMeta:l,parent:s.type,timeRanges:n})},onError:e=>{N.error(`[buffer-controller]: Error encountered while trying to append to the ${a} SourceBuffer`,e);const t={type:O.MEDIA_ERROR,parent:s.type,details:C.BUFFER_APPEND_ERROR,frag:s,part:c,chunkMeta:l,error:e,err:e,fatal:!1};e.code===DOMException.QUOTA_EXCEEDED_ERR?t.details=C.BUFFER_FULL_ERROR:(this.appendError++,t.details=C.BUFFER_APPEND_ERROR,this.appendError>
1n.config.appendErrorMaxRetry&&(N.error(`[buffer-controller]: Failed ${n.config.appendErrorMaxRetry} times to append segment in sourceBuffer`),t.fatal=!0)),n.trigger(P.ERROR,t)}};r.append(b,a)}onBufferFlushing(e,t){const{operationQueue:n}=this,r=e=>({execute:this.removeExecutor.bind(this,e,t.startOffset,t.endOffset),onStart:()=>{},onComplete:()=>{this.hls.trigger(P.BUFFER_FLUSHED,{type:e})},onError:t=>{N.warn(`[buffer-controller]: Failed to remove from ${e} SourceBuffer`,t)}});t.type?n.append(r(t.type),t.type):this.getSourceBufferTypes().forEach((e=>{n.append(r(e),e)}))}onFragParsed(e,t){const{frag:n,part:r}=t,i=[],o=r?r.elementaryStreams:n.elementaryStreams;o[B]?i.push("audiovideo"):(o[F]&&i.push("audio"),o[V]&&i.push("video"));0===i.length&&N.warn(`Fragments must have at least one ElementaryStreamType set. type: ${n.type} level: ${n.level} sn: ${n.sn}`),this.blockBuffers((()=>{const e=self.performance.now();n.stats.buffering.end=e,r&&(r.stats.buffering.end=e);const t=r?r.stats:n.stats;this.hls.trigger(P.FRAG_BUFFERED,{frag:n,part:r,stats:t,id:n.type})}),i)}onFragChanged(e,t){this.flushBackBuffer()}onBufferEos(e,t){this.getSourceBufferTypes().reduce(((e,n)=>{const r=this.sourceBuffer[n];return!r||t.type&&t.type!==n||(r.ending=!0,r.ended||(r.ended=!0,N.log(`[buffer-controller]: ${n} sourceBuffer now EOS`))),e&&!(r&&!r.ended)}),!0)&&(N.log("[buffer-controller]: Queueing mediaSource.endOfStream()"),this.blockBuffers((()=>{this.getSourceBufferTypes().forEach((e=>{const t=this.sourceBuffer[e];t&&(t.ending=!1)}));const{mediaSource:e}=this;e&&"open"===e.readyState?(N.log("[buffer-controller]: Calling mediaSource.endOfStream()"),e.endOfStream()):e&&N.info(`[buffer-controller]: Could not call mediaSource.endOfStream(). mediaSource.readyState: ${e.readyState}`)})))}onLevelUpdated(e,{details:t}){t.fragments.length&&(this.details=t,this.getSourceBufferTypes().length?this.blockBuffers(this.updateMediaElementDuration.bind(this)):this.updateMediaElementDuration())}flushBackBuffer(){const{hls:e,details:t,media:n,sourceBuffer:r}=this;if(!n||null===t)return;const i=this.getSourceBufferTypes();if(!i.length)return;const o=t.live&&null!==e.config.liveBackBufferLength?e.config.liveBackBufferLength:e.config.backBufferLength;if(!x(o)||o<0)return;const a=n.currentTime,s=t.levelTargetDuration,c=Math.max(o,s),l=Math.floor(a/s)*s-c;i.forEach((n=>{const i=r[n];if(i){const r=Dn.getBuffered(i);if(r.length>0&&l>r.start(0)){if(e.trigger(P.BACK_BUFFER_REACHED,{bufferEnd:l}),t.live)e.trigger(P.LIVE_BACK_BUFFER_REACHED,{bufferEnd:l});else if(i.ended&&r.end(r.length-1)-a<2*s)return void N.info(`[buffer-controller]: Cannot flush ${n} back buffer while SourceBuffer is in ended state`);e.trigger(P.BUFFER_FLUSHING,{startOffset:0,endOffset:l,type:n})}}}))}updateMediaElementDuration(){if(!this.details||!this.media||!this.mediaSource||"open"!==this.mediaSource.readyState)return;const{details:e,hls:t,media:n,mediaSource:r}=this,i=e.fragments[0].start+e.totalduration,o=n.duration,a=x(r.duration)?r.duration:0;e.live&&t.config.liveDurationInfinity?(N.log("[buffer-controller]: Media Source duration is set to Infinity"),r.duration=1/0,this.updateSeekableRange(e)):(i>a&&i>o||!x(o))&&(N.log(`[buffer-controller]: Updating Media Source duration to ${i.toFixed(3)}`),r.duration=i)}updateSeekableRange(e){const t=this.mediaSource,n=e.fragments;if(n.length&&e.live&&null!=t&&t.setLiveSeekableRange){const r=Math.max(0,n[0].start),i=Math.max(r,r+e.totalduration);t.setLiveSeekableRange(r,i)}}checkPendingTracks(){const{bufferCodecEventsExpected:e,operationQueue:t,pendingTracks:n}=this,r=Object.keys(n).length;if(r&&!e||2===r){this.createSourceBuffers(n),this.pendingTracks={};const e=this.getSourceBufferTypes();if(e.length)this.hls.trigger(P.BUFFER_CREATED,{tracks:this.tracks}),e.forEach((e=>{t.executeNext(e)}));else{const e=new Error("could not create source buffer for media codec(s)");this.hls.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:e,reason:e.message})}}}createSourceBuffers(e){const{sourceBuffer:t,mediaSource:n}=this;if(!n)throw Error("createSourceBuffers called when mediaSource was null");for(const r in e)if(!t[r]){const i=e[r];if(!i)throw Error(`source buffer exists for track ${r}, however track does not`);const o=i.levelCodec||i.codec,a=`${i.container};codecs=${o}`;N.log(`[buffer-controller]: creating sourceBuffer(${a})`);try{const e=t[r]=n.addSourceBuffer(a),s=r;this.addBufferListener(s,"updatestart",this._onSBUpdateStart),this.addBufferListener(s,"updateend",this._onSBUpdateEnd),this.addBufferListener(s,"error",this._onSBUpdateError),this.tracks[r]={buffer:e,codec:o,container:i.container,levelCodec:i.levelCodec,metadata:i.metadata,id:i.id}}catch(ua){N.error(`[buffer-controller]: error while trying to add sourceBuffer: ${ua.message}`),this.hls.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:ua,mimeType:a})}}}_onSBUpdateStart(e){const{operationQueue:t}=this;t.current(e).onStart()}_onSBUpdateEnd(e){const{operationQueue:t}=this;t.current(e).onComplete(),t.shiftAndExecuteNext(e)}_onSBUpdateError(e,t){const n=new Error(`${e} SourceBuffer error`);N.error(`[buffer-controller]: ${n}`,t),this.hls.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.BUFFER_APPENDING_ERROR,error:n,fatal:!1});const r=this.operationQueue.current(e);r&&r.onError(t)}removeExecutor(e,t,n){const{media:r,mediaSource:i,operationQueue:o,sourceBuffer:a}=this,s=a[e];if(!r||!i||!s)return N.warn(`[buffer-controller]: Attempting to remove from the ${e} SourceBuffer, but it does not exist`),void o.shiftAndExecuteNext(e);const c=x(r.duration)?r.duration:1/0,l=x(i.duration)?i.duration:1/0,u=Math.max(0,t),d=Math.min(n,c,l);d>u&&!s.ending?(s.ended=!1,N.log(`[buffer-controller]: Removing [${u},${d}] from the ${e} SourceBuffer`),s.remove(u,d)):o.shiftAndExecuteNext(e)}appendExecutor(e,t){const{operationQueue:n,sourceBuffer:r}=this,i=r[t];if(!i)return N.warn(`[buffer-controller]: Attempting to append to the ${t} SourceBuffer, but it does not exist`),void n.shiftAndExecuteNext(t);i.ended=!1,i.appendBuffer(e)}blockBuffers(e,t=this.getSourceBufferTypes()){if(!t.length)return N.log("[buffer-controller]: Blocking operation requested, but no SourceBuffers exist"),void Promise.resolve().then(e);const{operationQueue:n}=this,r=t.map((e=>n.appendBlocker(e)));Promise.all(r).then((()=>{e(),t.forEach((e=>{const t=this.sourceBuffer[e];null!=t&&t.updating||n.shiftAndExecuteNext(e)}))}))}getSourceBufferTypes(){return Object.keys(this.sourceBuffer)}addBufferListener(e,t,n){const r=this.sourceBuffer[e];
1if(!r)return;const i=n.bind(this,e);this.listeners[e].push({event:t,listener:i}),r.addEventListener(t,i)}removeBufferListeners(e){const t=this.sourceBuffer[e];t&&this.listeners[e].forEach((e=>{t.removeEventListener(e.event,e.listener)}))}},capLevelController:_o,errorController:class{constructor(e){this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.log=void 0,this.warn=void 0,this.error=void 0,this.hls=e,this.log=N.log.bind(N,"[info]:"),this.warn=N.warn.bind(N,"[warning]:"),this.error=N.error.bind(N,"[error]:"),this.registerListeners()}registerListeners(){const e=this.hls;e.on(P.ERROR,this.onError,this),e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(P.ERROR,this.onError,this),e.off(P.ERROR,this.onErrorOut,this),e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(e){this.playlistError=0}stopLoad(){}getVariantLevelIndex(e){return(null==e?void 0:e.type)===gt?e.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(e,t){var n,r;if(t.fatal)return;const i=this.hls,o=t.context;switch(t.details){case C.FRAG_LOAD_ERROR:case C.FRAG_LOAD_TIMEOUT:case C.KEY_LOAD_ERROR:case C.KEY_LOAD_TIMEOUT:return void(t.errorAction=this.getFragRetryOrSwitchAction(t));case C.FRAG_PARSING_ERROR:if(null!=(n=t.frag)&&n.gap)return void(t.errorAction={action:an,flags:ln});case C.FRAG_GAP:case C.FRAG_DECRYPT_ERROR:return t.errorAction=this.getFragRetryOrSwitchAction(t),void(t.errorAction.action=sn);case C.LEVEL_EMPTY_ERROR:case C.LEVEL_PARSING_ERROR:{var a,s;const e=t.parent===gt?t.level:i.loadLevel;t.details===C.LEVEL_EMPTY_ERROR&&null!=(a=t.context)&&null!=(s=a.levelDetails)&&s.live?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,e):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,e))}return;case C.LEVEL_LOAD_ERROR:case C.LEVEL_LOAD_TIMEOUT:return void("number"===typeof(null==o?void 0:o.level)&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,o.level)));case C.AUDIO_TRACK_LOAD_ERROR:case C.AUDIO_TRACK_LOAD_TIMEOUT:case C.SUBTITLE_LOAD_ERROR:case C.SUBTITLE_TRACK_LOAD_TIMEOUT:if(o){const e=i.levels[i.loadLevel];if(e&&(o.type===mt&&o.groupId===e.audioGroupId||o.type===bt&&o.groupId===e.textGroupId))return t.errorAction=this.getPlaylistRetryOrSwitchAction(t,i.loadLevel),t.errorAction.action=sn,void(t.errorAction.flags=un)}return;case C.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const e=i.levels[i.loadLevel],n=null==e?void 0:e.attrs["HDCP-LEVEL"];n&&(t.errorAction={action:sn,flags:dn,hdcpLevel:n})}return;case C.BUFFER_ADD_CODEC_ERROR:case C.REMUX_ALLOC_ERROR:return void(t.errorAction=this.getLevelSwitchAction(t,null!=(r=t.level)?r:i.loadLevel));case C.INTERNAL_EXCEPTION:case C.BUFFER_APPENDING_ERROR:case C.BUFFER_APPEND_ERROR:case C.BUFFER_FULL_ERROR:case C.LEVEL_SWITCH_ERROR:case C.BUFFER_STALLED_ERROR:case C.BUFFER_SEEK_OVER_HOLE:case C.BUFFER_NUDGE_ON_STALL:return void(t.errorAction={action:an,flags:ln})}if(t.type===O.KEY_SYSTEM_ERROR){const e=this.getVariantLevelIndex(t.frag);return t.levelRetry=!1,void(t.errorAction=this.getLevelSwitchAction(t,e))}}getPlaylistRetryOrSwitchAction(e,t){var n;const r=Xt(this.hls.config.playlistLoadPolicy,e),i=this.playlistError++,o=null==(n=e.response)?void 0:n.code;if(en(r,i,Yt(e),o))return{action:cn,flags:ln,retryConfig:r,retryCount:i};const a=this.getLevelSwitchAction(e,t);return r&&(a.retryConfig=r,a.retryCount=i),a}getFragRetryOrSwitchAction(e){const t=this.hls,n=this.getVariantLevelIndex(e.frag),r=t.levels[n],{fragLoadPolicy:i,keyLoadPolicy:o}=t.config,a=Xt(e.details.startsWith("key")?o:i,e),s=t.levels.reduce(((e,t)=>e+t.fragmentError),0);if(r){var c;e.details!==C.FRAG_GAP&&r.fragmentError++;const t=null==(c=e.response)?void 0:c.code;if(en(a,s,Yt(e),t))return{action:cn,flags:ln,retryConfig:a,retryCount:s}}const l=this.getLevelSwitchAction(e,n);return a&&(l.retryConfig=a,l.retryCount=s),l}getLevelSwitchAction(e,t){const n=this.hls;null!==t&&void 0!==t||(t=n.loadLevel);const r=this.hls.levels[t];if(r&&(r.loadError++,n.autoLevelEnabled)){var i,o;let t=-1;const{levels:a,loadLevel:s,minAutoLevel:c,maxAutoLevel:l}=n,u=null==(i=e.frag)?void 0:i.type,{type:d,groupId:p}=null!=(o=e.context)?o:{};for(let n=a.length;n--;){const i=(n+s)%a.length;if(i!==s&&i>=c&&i<=l&&0===a[i].loadError){const n=a[i];if(e.details===C.FRAG_GAP&&e.frag){const t=a[i].details;if(t){const n=nn(e.frag,t.fragments,e.frag.start);if(null!=n&&n.gap)continue}}else{if(d===mt&&p===n.audioGroupId||d===bt&&p===n.textGroupId)continue;if(u===vt&&r.audioGroupId===n.audioGroupId||u===wt&&r.textGroupId===n.textGroupId)continue}t=i;break}}if(t>-1&&n.loadLevel!==t)return e.levelRetry=!0,this.playlistError=0,{action:sn,flags:ln,nextAutoLevel:t}}return{action:sn,flags:un}}onErrorOut(e,t){var n;switch(null==(n=t.errorAction)?void 0:n.action){case an:break;case sn:this.sendAlternateToPenaltyBox(t),t.errorAction.resolved||t.details===C.FRAG_GAP||(t.fatal=!0)}t.fatal&&this.hls.stopLoad()}sendAlternateToPenaltyBox(e){const t=this.hls,n=e.errorAction;if(!n)return;const{flags:r,hdcpLevel:i,nextAutoLevel:o}=n;switch(r){case ln:this.switchLevel(e,o);break;case un:n.resolved||(n.resolved=this.redundantFailover(e));break;case dn:i&&(t.maxHdcpLevel=Mt[Mt.indexOf(i)-1],n.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`)}n.resolved||this.switchLevel(e,o)}switchLevel(e,t){void 0!==t&&e.errorAction&&(this.warn(`switching to level ${t} after ${e.details}`),this.hls.nextAutoLevel=t,e.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel)}redundantFailover(e){const{hls:t,penalizedRenditions:n}=this,r=e.parent===gt?e.level:t.loadLevel,i=t.levels[r],o=i.url.length,a=e.frag?e.frag.urlId:i.urlId;i.urlId!==a||e.frag&&!i.details||this.penalizeRendition(i,e);for(let s=1;s<o;s++){const c=(a+s)%o,l=n[c];if(!l||pn(l,e,n[a]))return this.warn(`Switching to Redundant Stream ${c+1}/${o}: "${i.url[c]}" after ${e.details}
1`),this.playlistError=0,t.levels.forEach((e=>{e.urlId=c})),t.nextLoadLevel=r,!0}return!1}penalizeRendition(e,t){const{penalizedRenditions:n}=this,r=n[e.urlId]||{lastErrorPerfMs:0,errors:[],details:void 0};r.lastErrorPerfMs=performance.now(),r.errors.push(t),r.details=e.details,n[e.urlId]=r}},fpsController:class{constructor(e){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=e,this.registerListeners()}setStreamController(e){this.streamController=e}registerListeners(){this.hls.on(P.MEDIA_ATTACHING,this.onMediaAttaching,this)}unregisterListeners(){this.hls.off(P.MEDIA_ATTACHING,this.onMediaAttaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(e,t){const n=this.hls.config;if(n.capLevelOnFPSDrop){const e=t.media instanceof self.HTMLVideoElement?t.media:null;this.media=e,e&&"function"===typeof e.getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),n.fpsDroppedMonitoringPeriod)}}checkFPS(e,t,n){const r=performance.now();if(t){if(this.lastTime){const e=r-this.lastTime,i=n-this.lastDroppedFrames,o=t-this.lastDecodedFrames,a=1e3*i/e,s=this.hls;if(s.trigger(P.FPS_DROP,{currentDropped:i,currentDecoded:o,totalDroppedFrames:n}),a>0&&i>s.config.fpsDroppedMonitoringThreshold*o){let e=s.currentLevel;N.warn("drop FPS ratio greater than max allowed value for currentLevel: "+e),e>0&&(-1===s.autoLevelCapping||s.autoLevelCapping>=e)&&(e-=1,s.trigger(P.FPS_DROP_LEVEL_CAPPING,{level:e,droppedLevel:s.currentLevel}),s.autoLevelCapping=e,this.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=t}}checkFPSInterval(){const e=this.media;if(e)if(this.isVideoPlaybackQualityAvailable){const t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)}},stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:oe,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableID3MetadataCues:!0,certLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null}},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},{cueHandler:No,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}),{},{subtitleStreamController:class extends nr{constructor(e,t,n){super(e,t,n,"[subtitle-stream-controller]",wt),this.levels=[],this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this._registerListeners()}onHandlerDestroying(){this._unregisterListeners(),this.mainDetails=null}_registerListeners(){const{hls:e}=this;
1e.on(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.LEVEL_LOADED,this.onLevelLoaded,this),e.on(P.ERROR,this.onError,this),e.on(P.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(P.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(P.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(P.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(P.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(P.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.LEVEL_LOADED,this.onLevelLoaded,this),e.off(P.ERROR,this.onError,this),e.off(P.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(P.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(P.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(P.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(P.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(P.FRAG_BUFFERED,this.onFragBuffered,this)}startLoad(e){this.stopLoad(),this.state=qn,this.setInterval(500),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}onManifestLoading(){this.mainDetails=null,this.fragmentTracker.removeAllFragments()}onMediaDetaching(){this.tracksBuffered=[],super.onMediaDetaching()}onLevelLoaded(e,t){this.mainDetails=t.details}onSubtitleFragProcessed(e,t){const{frag:n,success:r}=t;if(this.fragPrevious=n,this.state=qn,!r)return;const i=this.tracksBuffered[this.currentTrackId];if(!i)return;let o;const a=n.start;for(let c=0;c<i.length;c++)if(a>=i[c].start&&a<=i[c].end){o=i[c];break}const s=n.start+n.duration;o?o.end=s:(o={start:a,end:s},i.push(o)),this.fragmentTracker.fragBuffered(n)}onBufferFlushing(e,t){const{startOffset:n,endOffset:r}=t;if(0===n&&r!==Number.POSITIVE_INFINITY){const e=r-1;if(e<=0)return;t.endOffsetSubtitles=Math.max(0,e),this.tracksBuffered.forEach((t=>{for(let n=0;n<t.length;)if(t[n].end<=e)t.shift();else{if(!(t[n].start<e))break;t[n].start=e,n++}})),this.fragmentTracker.removeFragmentsInRange(n,e,wt)}}onFragBuffered(e,t){var n;this.loadedmetadata||t.frag.type!==gt||null!=(n=this.media)&&n.buffered.length&&(this.loadedmetadata=!0)}onError(e,t){const n=t.frag;(null==n?void 0:n.type)===wt&&(this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==Gn&&(this.state=qn))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){pi(this.levels,t)?this.levels=t.map((e=>new Bt(e))):(this.tracksBuffered=[],this.levels=t.map((e=>{const t=new Bt(e);return this.tracksBuffered[t.id]=[],t})),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,wt),this.fragPrevious=null,this.mediaBuffer=null)}onSubtitleTrackSwitch(e,t){if(this.currentTrackId=t.id,!this.levels.length||-1===this.currentTrackId)return void this.clearInterval();const n=this.levels[this.currentTrackId];null!=n&&n.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,n&&this.setInterval(500)}onSubtitleTrackLoaded(e,t){var n;const{details:r,id:i}=t,{currentTrackId:o,levels:a}=this;if(!a.length)return;const s=a[o];if(i>=a.length||i!==o||!s)return;this.mediaBuffer=this.mediaBufferTimeRanges;let c=0;if(r.live||null!=(n=s.details)&&n.live){const e=this.mainDetails;if(r.deltaUpdateFailed||!e)return;const t=e.fragments[0];s.details?(c=this.alignPlaylists(r,s.details),0===c&&t&&(c=t.start,Kt(r,c))):r.hasProgramDateTime&&e.hasProgramDateTime?(zn(r,e),c=r.fragments[0].start):t&&(c=t.start,Kt(r,c))}if(s.details=r,this.levelLastLoaded=i,this.startFragRequested||!this.mainDetails&&r.live||this.setStartPosition(s.details,c),this.tick(),r.live&&!this.fragCurrent&&this.media&&this.state===qn){nn(null,r.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),s.details=void 0)}}_handleFragmentLoadComplete(e){const{frag:t,payload:n}=e,r=t.decryptdata,i=this.hls;if(!this.fragContextChanged(t)&&n&&n.byteLength>0&&r&&r.key&&r.iv&&"AES-128"===r.method){const e=performance.now();
1this.decrypter.decrypt(new Uint8Array(n),r.key.buffer,r.iv.buffer).catch((e=>{throw i.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.FRAG_DECRYPT_ERROR,fatal:!1,error:e,reason:e.message,frag:t}),e})).then((n=>{const r=performance.now();i.trigger(P.FRAG_DECRYPTED,{frag:t,payload:n,stats:{tstart:e,tdecrypt:r}})})).catch((e=>{this.warn(`${e.name}: ${e.message}`),this.state=qn}))}}doTick(){if(this.media){if(this.state===qn){const{currentTrackId:e,levels:t}=this,n=t[e];if(!t.length||!n||!n.details)return;const{config:r}=this,i=this.getLoadPosition(),o=Dn.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],i,r.maxBufferHole),{end:a,len:s}=o,c=this.getFwdBufferInfo(this.media,gt),l=n.details;if(s>this.getMaxBufferLength(null==c?void 0:c.len)+l.levelTargetDuration)return;const u=l.fragments,d=u.length,p=l.edge;let _=null;const f=this.fragPrevious;if(a<p){const e=r.maxFragLookUpTolerance,t=a>p-e?0:e;_=nn(f,u,Math.max(u[0].start,a),t),!_&&f&&f.start<u[0].start&&(_=u[0])}else _=u[d-1];if(!_)return;if(_=this.mapToInitFragWhenRequired(_),"initSegment"!==_.sn){const e=u[_.sn-l.startSN-1];e&&e.cc===_.cc&&this.fragmentTracker.getState(e)===gn&&(_=e)}this.fragmentTracker.getState(_)===gn&&this.loadFragment(_,n,a)}}else this.state=qn}getMaxBufferLength(e){const t=super.getMaxBufferLength();return e?Math.max(t,e):t}loadFragment(e,t,n){this.fragCurrent=e,"initSegment"===e.sn?this._loadInitSegment(e,t):(this.startFragRequested=!0,super.loadFragment(e,t,n))}get mediaBufferTimeRanges(){return new fi(this.tracksBuffered[this.currentTrackId]||[])}},subtitleTrackController:class extends _n{constructor(e){super(e,"[subtitle-track-controller]"),this.media=null,this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.selectDefaultTrack=!0,this.queuedDefaultTrack=-1,this.trackChangeListener=()=>this.onTextTracksChanged(),this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.registerListeners()}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.trackChangeListener=this.asyncPollTrackChange=null,super.destroy()}get subtitleDisplay(){return this._subtitleDisplay}set subtitleDisplay(e){this._subtitleDisplay=e,this.trackId>-1&&this.toggleTrackModes(this.trackId)}registerListeners(){const{hls:e}=this;e.on(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.MANIFEST_PARSED,this.onManifestParsed,this),e.on(P.LEVEL_LOADING,this.onLevelLoading,this),e.on(P.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(P.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(P.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.MANIFEST_PARSED,this.onManifestParsed,this),e.off(P.LEVEL_LOADING,this.onLevelLoading,this),e.off(P.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(P.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(P.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(e){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.trackChangeListener,e)}onMediaDetaching(){if(!this.media)return;self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||this.media.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId);
1hi(this.media.textTracks).forEach((e=>{Pt(e)})),this.subtitleTrack=-1,this.media=null}onManifestLoading(){this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.subtitleTracks}onSubtitleTrackLoaded(e,t){const{id:n,details:r}=t,{trackId:i}=this,o=this.tracksInGroup[i];if(!o)return void this.warn(`Invalid subtitle track id ${n}`);const a=o.details;o.details=t.details,this.log(`subtitle track ${n} loaded [${r.startSN}-${r.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,a)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(null==t||!t.textGroupIds)return;const n=t.textGroupIds[t.urlId],r=this.tracksInGroup?this.tracksInGroup[this.trackId]:void 0;if(this.groupId!==n){const e=this.tracks.filter((e=>!n||e.groupId===n));this.tracksInGroup=e;const t=this.findTrackId(null==r?void 0:r.name)||this.findTrackId();this.groupId=n||null;const i={subtitleTracks:e};this.log(`Updating subtitle tracks, ${e.length} track(s) found in "${n}" group-id`),this.hls.trigger(P.SUBTITLE_TRACKS_UPDATED,i),-1!==t&&this.setSubtitleTrack(t,r)}else this.shouldReloadPlaylist(r)&&this.setSubtitleTrack(this.trackId,r)}findTrackId(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if((!this.selectDefaultTrack||r.default)&&(!e||e===r.name))return r.id}return-1}onError(e,t){!t.fatal&&t.context&&t.context.type===bt&&t.context.id===this.trackId&&t.context.groupId===this.groupId&&this.checkRetry(t)}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(e){this.selectDefaultTrack=!1;const t=this.tracksInGroup?this.tracksInGroup[this.trackId]:void 0;this.setSubtitleTrack(e,t)}loadPlaylist(e){super.loadPlaylist();const t=this.tracksInGroup[this.trackId];if(this.shouldLoadPlaylist(t)){const r=t.id,i=t.groupId;let o=t.url;if(e)try{o=e.addDirectives(o)}catch(n){this.warn(`Could not construct new URL with HLS Delivery Directives: ${n}`)}this.log(`Loading subtitle playlist for id ${r}`),this.hls.trigger(P.SUBTITLE_TRACK_LOADING,{url:o,id:r,groupId:i,deliveryDirectives:e||null})}}toggleTrackModes(e){const{media:t,trackId:n}=this;if(!t)return;const r=hi(t.textTracks),i=r.filter((e=>e.groupId===this.groupId));if(-1===e)[].slice.call(r).forEach((e=>{e.mode="disabled"}));else{const e=i[n];e&&(e.mode="disabled")}const o=i[e];o&&(o.mode=this.subtitleDisplay?"showing":"hidden")}setSubtitleTrack(e,t){var n;const r=this.tracksInGroup;if(!this.media)return void(this.queuedDefaultTrack=e);if(this.trackId!==e&&this.toggleTrackModes(e),this.trackId===e&&(-1===e||null!=(n=r[e])&&n.details)||e<-1||e>=r.length)return;this.clearTimer();const i=r[e];if(this.log(`Switching to subtitle-track ${e}`+(i?` "${i.name}" lang:${i.lang} group:${i.groupId}`:"")),this.trackId=e,i){const{id:e,groupId:n="",name:r,type:o,url:a}=i;this.hls.trigger(P.SUBTITLE_TRACK_SWITCH,{id:e,groupId:n,name:r,type:o,url:a});const s=this.switchParams(i.url,null==t?void 0:t.details);this.loadPlaylist(s)}else this.hls.trigger(P.SUBTITLE_TRACK_SWITCH,{id:e})}onTextTracksChanged(){if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let e=-1;const t=hi(this.media.textTracks);for(let n=0;n<t.length;n++)if("hidden"===t[n].mode)e=n;else if("showing"===t[n].mode){e=n;break}this.subtitleTrack!==e&&(this.subtitleTrack=e)}},timelineController:class{constructor(e){if(this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this.captionsProperties=void 0,this.hls=e,this.config=e.config,this.Cues=e.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},this.config.enableCEA708Captions){const e=new zi(this,"textTrack1"),t=new zi(this,"textTrack2"),n=new zi(this,"textTrack3"),r=new zi(this,"textTrack4");this.cea608Parser1=new Ri(1,e,t),this.cea608Parser2=new Ri(3,n,r)}
1e.on(P.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(P.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(P.FRAG_LOADING,this.onFragLoading,this),e.on(P.FRAG_LOADED,this.onFragLoaded,this),e.on(P.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(P.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(P.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(P.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(P.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(P.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(P.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(P.FRAG_LOADING,this.onFragLoading,this),e.off(P.FRAG_LOADED,this.onFragLoaded,this),e.off(P.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(P.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(P.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(P.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(P.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.cea608Parser1=this.cea608Parser2=null}addCues(e,t,n,r,i){let o=!1;for(let u=i.length;u--;){const e=i[u],r=(a=e[0],s=e[1],c=t,l=n,Math.min(s,l)-Math.max(a,c));if(r>=0&&(e[0]=Math.min(e[0],t),e[1]=Math.max(e[1],n),o=!0,r/(n-t)>.5))return}var a,s,c,l;if(o||i.push([t,n]),this.config.renderTextTracksNatively){const i=this.captionsTracks[e];this.Cues.newCue(i,t,n,r)}else{const i=this.Cues.newCue(null,t,n,r);this.hls.trigger(P.CUES_PARSED,{type:"captions",cues:i,track:e})}}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i}){const{unparsedVttFrags:o}=this;"main"===n&&(this.initPTS[t.cc]={baseTime:r,timescale:i}),o.length&&(this.unparsedVttFrags=[],o.forEach((e=>{this.onFragLoaded(P.FRAG_LOADED,e)})))}getExistingTrack(e){const{media:t}=this;if(t)for(let n=0;n<t.textTracks.length;n++){const r=t.textTracks[n];if(r[e])return r}return null}createCaptionsTrack(e){this.config.renderTextTracksNatively?this.createNativeTrack(e):this.createNonNativeTrack(e)}createNativeTrack(e){if(this.captionsTracks[e])return;const{captionsProperties:t,captionsTracks:n,media:r}=this,{label:i,languageCode:o}=t[e],a=this.getExistingTrack(e);if(a)n[e]=a,Pt(n[e]),Et(n[e],r);else{const t=this.createTextTrack("captions",i,o);t&&(t[e]=!0,n[e]=t)}}createNonNativeTrack(e){if(this.nonNativeCaptionsTracks[e])return;const t=this.captionsProperties[e];if(!t)return;const n={_id:e,label:t.label,kind:"captions",default:!!t.media&&!!t.media.default,closedCaptions:t.media};this.nonNativeCaptionsTracks[e]=n,this.hls.trigger(P.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[n]})}createTextTrack(e,t,n){const r=this.media;if(r)return r.addTextTrack(e,t,n)}onMediaAttaching(e,t){this.media=t.media,this._cleanTracks()}onMediaDetaching(){const{captionsTracks:e}=this;Object.keys(e).forEach((t=>{Pt(e[t]),delete e[t]})),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:e}=this;if(!e)return;const t=e.textTracks;if(t)for(let n=0;n<t.length;n++)Pt(t[n])}onSubtitleTracksUpdated(e,t){const n=t.subtitleTracks||[],r=n.some((e=>e.textCodec===eo));if(this.config.enableWebVTT||r&&this.config.enableIMSC1){if(pi(this.tracks,n))return void(this.tracks=n);if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const e=this.media?this.media.textTracks:null;this.tracks.forEach(((t,n)=>{let r;if(e&&n<e.length){let n=null;for(let r=0;r<e.length;r++)if(po(e[r],t)){n=e[r];break}n&&(r=n)}if(r)Pt(r);else{const e=this._captionsOrSubtitlesFromCharacteristics(t);r=this.createTextTrack(e,t.name,t.lang),r&&(r.mode="disabled")}r&&(r.groupId=t.groupId,this.textTracks.push(r))}))}else if(this.tracks.length){const e=this.tracks.map((e=>
1({label:e.name,kind:e.type.toLowerCase(),default:e.default,subtitleTrack:e})));this.hls.trigger(P.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:e})}}}_captionsOrSubtitlesFromCharacteristics(e){if(e.attrs.CHARACTERISTICS){const t=/transcribes-spoken-dialog/gi.test(e.attrs.CHARACTERISTICS),n=/describes-music-and-sound/gi.test(e.attrs.CHARACTERISTICS);if(t&&n)return"captions"}return"subtitles"}onManifestLoaded(e,t){this.config.enableCEA708Captions&&t.captions&&t.captions.forEach((e=>{const t=/(?:CC|SERVICE)([1-4])/.exec(e.instreamId);if(!t)return;const n=`textTrack${t[1]}`,r=this.captionsProperties[n];r&&(r.label=e.name,e.lang&&(r.languageCode=e.lang),r.media=e)}))}closedCaptionsForLevel(e){const t=this.hls.levels[e.level];return null==t?void 0:t.attrs["CLOSED-CAPTIONS"]}onFragLoading(e,t){const{cea608Parser1:n,cea608Parser2:r,lastSn:i,lastPartIndex:o}=this;if(this.enabled&&n&&r&&t.frag.type===gt){var a,s;const e=t.frag.sn,c=null!=(a=null==t||null==(s=t.part)?void 0:s.index)?a:-1;e===i+1||e===i&&c===o+1||(n.reset(),r.reset()),this.lastSn=e,this.lastPartIndex=c}}onFragLoaded(e,t){const{frag:n,payload:r}=t;if(n.type===wt)if(r.byteLength){const e=n.decryptdata,i="stats"in t;if(null==e||!e.encrypted||i){const e=this.tracks[n.level],i=this.vttCCs;i[n.cc]||(i[n.cc]={start:n.start,prevCC:this.prevCC,new:!0},this.prevCC=n.cc),e&&e.textCodec===eo?this._parseIMSC1(n,r):this._parseVTTs(t)}}else this.hls.trigger(P.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const n=this.hls;io(t,this.initPTS[e.cc],(t=>{this._appendCues(t,e.level),n.trigger(P.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})}),(t=>{N.log(`Failed to parse IMSC1: ${t}`),n.trigger(P.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e,error:t})}))}_parseVTTs(e){var t;const{frag:n,payload:r}=e,{initPTS:i,unparsedVttFrags:o}=this,a=i.length-1;if(!i[n.cc]&&-1===a)return void o.push(e);const s=this.hls;Qi(null!=(t=n.initSegment)&&t.data?Me(n.initSegment.data,new Uint8Array(r)):r,this.initPTS[n.cc],this.vttCCs,n.cc,n.start,(e=>{this._appendCues(e,n.level),s.trigger(P.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:n})}),(t=>{const i="Missing initPTS for VTT MPEGTS"===t.message;i?o.push(e):this._fallbackToIMSC1(n,r),N.log(`Failed to parse VTT cue: ${t}`),i&&a>n.cc||s.trigger(P.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:t})}))}_fallbackToIMSC1(e,t){const n=this.tracks[e.level];n.textCodec||io(t,this.initPTS[e.cc],(()=>{n.textCodec=eo,this._parseIMSC1(e,t)}),(()=>{n.textCodec="wvtt"}))}_appendCues(e,t){const n=this.hls;if(this.config.renderTextTracksNatively){const n=this.textTracks[t];if(!n||"disabled"===n.mode)return;e.forEach((e=>St(n,e)))}else{const r=this.tracks[t];if(!r)return;const i=r.default?"default":"subtitles"+t;n.trigger(P.CUES_PARSED,{type:"subtitles",cues:e,track:i})}}onFragDecrypted(e,t){const{frag:n}=t;n.type===wt&&this.onFragLoaded(P.FRAG_LOADED,t)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(e,t){const{cea608Parser1:n,cea608Parser2:r}=this;if(!this.enabled||!n||!r)return;const{frag:i,samples:o}=t;if(i.type!==gt||"NONE"!==this.closedCaptionsForLevel(i))for(let a=0;a<o.length;a++){const e=o[a].bytes;if(e){const t=this.extractCea608Data(e);n.addData(o[a].pts,t[0]),r.addData(o[a].pts,t[1])}}}onBufferFlushing(e,{startOffset:t,endOffset:n,endOffsetSubtitles:r,type:i}){const{media:o}=this;if(o&&!(o.currentTime<n)){if(!i||"video"===i){const{captionsTracks:e}=this;Object.keys(e).forEach((r=>Ot(e[r],t,n)))}if(this.config.renderTextTracksNatively&&0===t&&void 0!==r){const{textTracks:e}=this;Object.keys(e).forEach((n=>Ot(e[n],t,r)))}}}extractCea608Data(e){const t=[[],[]],n=31&e[0];let r=2;for(let i=0;i<n;i++){const n=e[r++],i=127&e[r++],o=127&e[r++];if(0===i&&0===o)continue;if(0!==(4&n)){const e=3&n;0!==e&&1!==e||(t[e].push(i),t[e].push(o))}}return t}},audioStreamController:class extends nr{constructor(e,t,n){super(e,t,n,"[audio-stream-controller]",vt),this.videoBuffer=null,this.videoTrackCC=-1,this.waitingVideoCC=-1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this._registerListeners()}onHandlerDestroying(){this._unregisterListeners(),this.mainDetails=null,this.bufferedTrack=null,this.switchingTrack=null}_registerListeners(){const{hls:e}=this;
1e.on(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.LEVEL_LOADED,this.onLevelLoaded,this),e.on(P.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(P.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(P.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(P.ERROR,this.onError,this),e.on(P.BUFFER_RESET,this.onBufferReset,this),e.on(P.BUFFER_CREATED,this.onBufferCreated,this),e.on(P.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(P.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(P.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(P.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(P.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.LEVEL_LOADED,this.onLevelLoaded,this),e.off(P.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(P.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(P.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(P.ERROR,this.onError,this),e.off(P.BUFFER_RESET,this.onBufferReset,this),e.off(P.BUFFER_CREATED,this.onBufferCreated,this),e.off(P.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(P.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(P.FRAG_BUFFERED,this.onFragBuffered,this)}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i}){if("main"===n){const e=t.cc;this.initPTS[t.cc]={baseTime:r,timescale:i},this.log(`InitPTS for cc: ${e} found from main: ${r}`),this.videoTrackCC=e,this.state===er&&this.tick()}}startLoad(e){if(!this.levels)return this.startPosition=e,void(this.state=Gn);const t=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),t>0&&-1===e?(this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`),e=t,this.state=qn):(this.loadedmetadata=!1,this.state=$n),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}doTick(){switch(this.state){case qn:this.doTickIdle();break;case $n:{var e;const{levels:t,trackId:n}=this,r=null==t||null==(e=t[n])?void 0:e.details;if(r){if(this.waitForCdnTuneIn(r))break;this.state=er}break}case Wn:{var t;const e=performance.now(),n=this.retryDate;(!n||e>=n||null!=(t=this.media)&&t.seeking)&&(this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded(this.trackId),this.state=qn);break}case er:{const e=this.waitingData;if(e){const{frag:t,part:n,cache:r,complete:i}=e;if(void 0!==this.initPTS[t.cc]){this.waitingData=null,this.waitingVideoCC=-1,this.state=Kn;const e={frag:t,part:n,payload:r.flush(),networkDetails:null};this._handleFragmentLoadProgress(e),i&&super._handleFragmentLoadComplete(e)}else if(this.videoTrackCC!==this.waitingVideoCC)this.log(`Waiting fragment cc (${t.cc}) cancelled because video is at cc ${this.videoTrackCC}`),this.clearWaitingFragment();else{const e=this.getLoadPosition(),n=Dn.bufferInfo(this.mediaBuffer,e,this.config.maxBufferHole);rn(n.end,this.config.maxFragLookUpTolerance,t)<0&&(this.log(`Waiting fragment cc (${t.cc}) @ ${t.start} cancelled because another fragment at ${n.end} is needed`),this.clearWaitingFragment())}}else this.state=qn}}this.onTickEnd()}clearWaitingFragment(){const e=this.waitingData;e&&(this.fragmentTracker.removeFragment(e.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=qn)}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:e}=this;null!=e&&e.readyState&&(this.lastCurrentTime=e.currentTime)}doTickIdle(){const{hls:e,levels:t,media:n,trackId:r}=this,i=e.config;if(null==t||!t[r])return;if(!n&&(this.startFragRequested||!i.startFragPrefetch))return;const o=t[r],a=o.details;if(!a||a.live&&this.levelLastLoaded!==r||this.waitForCdnTuneIn(a))return void(this.state=$n);const s=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&s&&(this.bufferFlushed=!1,this.afterBufferFlushed(s,F,vt));const c=this.getFwdBufferInfo(s,vt);if(null===c)return;const{bufferedTrack:l,switchingTrack:u}=this;if(!u&&this._streamEnded(c,a))return e.trigger(P.BUFFER_EOS,{type:"audio"}),void(this.state=Jn);const d=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,gt),p=c.len,_=this.getMaxBufferLength(null==d?void 0:d.len);if(p>=_&&!u)return;const f=a.fragments[0].start;let h=c.end;if(u&&n){const e=this.getLoadPosition();l&&u.attrs!==l.attrs&&(h=e),a.PTSKnown&&e<f&&(c.end>f||c.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),n.currentTime=f+.05)}let m=this.getNextFragment(h,a),b=!1;if(m&&this.isLoopLoading(m,h)&&(b=!!m.gap,m=this.getNextFragmentLoopLoading(m,a,c,gt,_)),!m)return void(this.bufferFlushed=!0);const g=d&&m.start>d.end+a.targetduration;if(g||(null==d||!d.len)&&c.len){const e=this.getAppendedFrag(m.start,gt);if(null===e)return;if(b||(b=!!e.gap||!!g&&0===d.len),g&&!b||b&&c.nextStart&&c.nextStart<e.end)return}this.loadFragment(m,o,h)}getMaxBufferLength(e){const t=super.getMaxBufferLength();
1return e?Math.min(Math.max(t,e),this.config.maxMaxBufferLength):t}onMediaDetaching(){this.videoBuffer=null,super.onMediaDetaching()}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map((e=>new Bt(e)))}onAudioTrackSwitching(e,t){const n=!!t.url;this.trackId=t.id;const{fragCurrent:r}=this;r&&(r.abortRequests(),this.removeUnbufferedFrags(r.start)),this.resetLoadingState(),n?this.setInterval(100):this.resetTransmuxer(),n?(this.switchingTrack=t,this.state=qn):(this.switchingTrack=null,this.bufferedTrack=t,this.state=Gn),this.tick()}onManifestLoading(){this.fragmentTracker.removeAllFragments(),this.startPosition=this.lastCurrentTime=0,this.bufferFlushed=!1,this.levels=this.mainDetails=this.waitingData=this.bufferedTrack=this.cachedTrackLoadedData=this.switchingTrack=null,this.startFragRequested=!1,this.trackId=this.videoTrackCC=this.waitingVideoCC=-1}onLevelLoaded(e,t){this.mainDetails=t.details,null!==this.cachedTrackLoadedData&&(this.hls.trigger(P.AUDIO_TRACK_LOADED,this.cachedTrackLoadedData),this.cachedTrackLoadedData=null)}onAudioTrackLoaded(e,t){var n;if(null==this.mainDetails)return void(this.cachedTrackLoadedData=t);const{levels:r}=this,{details:i,id:o}=t;if(!r)return void this.warn(`Audio tracks were reset while loading level ${o}`);this.log(`Track ${o} loaded [${i.startSN},${i.endSN}]${i.lastPartSn?`[part-${i.lastPartSn}-${i.lastPartIndex}]`:""},duration:${i.totalduration}`);const a=r[o];let s=0;if(i.live||null!=(n=a.details)&&n.live){this.checkLiveUpdate(i);const e=this.mainDetails;if(i.deltaUpdateFailed||!e)return;!a.details&&i.hasProgramDateTime&&e.hasProgramDateTime?(zn(i,e),s=i.fragments[0].start):s=this.alignPlaylists(i,a.details)}a.details=i,this.levelLastLoaded=o,this.startFragRequested||!this.mainDetails&&i.live||this.setStartPosition(a.details,s),this.state!==$n||this.waitForCdnTuneIn(i)||(this.state=qn),this.tick()}_handleFragmentLoadProgress(e){var t;const{frag:n,part:r,payload:i}=e,{config:o,trackId:a,levels:s}=this;if(!s)return void this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);const c=s[a];if(!c)return void this.warn("Audio track is undefined on fragment load progress");const l=c.details;if(!l)return this.warn("Audio track details undefined on fragment load progress"),void this.removeUnbufferedFrags(n.start);const u=o.defaultAudioCodec||c.audioCodec||"mp4a.40.2";let d=this.transmuxer;d||(d=this.transmuxer=new ai(this.hls,vt,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const p=this.initPTS[n.cc],_=null==(t=n.initSegment)?void 0:t.data;if(void 0!==p){const e=!1,t=r?r.index:-1,o=-1!==t,a=new Nn(n.level,n.sn,n.stats.chunkCount,i.byteLength,t,o);d.push(i,_,u,"",n,r,l.totalduration,e,a,p)}else{this.log(`Unknown video PTS for cc ${n.cc}, waiting for video PTS before demuxing audio frag ${n.sn} of [${l.startSN} ,${l.endSN}],track ${a}`);const{cache:e}=this.waitingData=this.waitingData||{frag:n,part:r,cache:new di,complete:!1};e.push(new Uint8Array(i)),this.waitingVideoCC=this.videoTrackCC,this.state=er}}_handleFragmentLoadComplete(e){this.waitingData?this.waitingData.complete=!0:super._handleFragmentLoadComplete(e)}onBufferReset(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1}onBufferCreated(e,t){const n=t.tracks.audio;n&&(this.mediaBuffer=n.buffer||null),t.tracks.video&&(this.videoBuffer=t.tracks.video.buffer||null)}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n.type===vt)if(this.fragContextChanged(n))this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);else{if("initSegment"!==n.sn){this.fragPrevious=n;const e=this.switchingTrack;e&&(this.bufferedTrack=e,this.switchingTrack=null,this.hls.trigger(P.AUDIO_TRACK_SWITCHED,w({},e)))}this.fragBufferedComplete(n,r)}else if(!this.loadedmetadata&&n.type===gt){const e=this.videoBuffer||this.media;if(e){Dn.getBuffered(e).length&&(this.loadedmetadata=!0)}}}onError(e,t){var n;if(t.fatal)this.state=Qn;else switch(t.details){case C.FRAG_GAP:case C.FRAG_PARSING_ERROR:case C.FRAG_DECRYPT_ERROR:case C.FRAG_LOAD_ERROR:case C.FRAG_LOAD_TIMEOUT:case C.KEY_LOAD_ERROR:case C.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(vt,t);break;case C.AUDIO_TRACK_LOAD_ERROR:case C.AUDIO_TRACK_LOAD_TIMEOUT:case C.LEVEL_PARSING_ERROR:t.levelRetry||this.state!==$n||(null==(n=t.context)?void 0:n.type)!==mt||(this.state=qn);break;case C.BUFFER_FULL_ERROR:if(!t.parent||"audio"!==t.parent)return;this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case C.INTERNAL_EXCEPTION:this.recoverWorkerError(t)}}onBufferFlushed(e,{type:t}){t===F&&(this.bufferFlushed=!0,this.state===Jn&&(this.state=qn))}_handleTransmuxComplete(e){var t;const n="audio",{hls:r}=this,{remuxResult:i,chunkMeta:o}=e,a=this.getCurrentContext(o);if(!a)return void this.resetWhenMissingContext(o);const{frag:s,part:c,level:l}=a,{details:u}=l,{audio:d,text:p,id3:_,initSegment:f}=i;if(!this.fragContextChanged(s)&&u){if(this.state=Yn,this.switchingTrack&&d&&this.completeAudioSwitch(this.switchingTrack),null!=f&&f.tracks){const e=s.initSegment||s;this._bufferInitSegment(f.tracks,e,o),r.trigger(P.FRAG_PARSING_INIT_SEGMENT,{frag:e,id:n,tracks:f.tracks})}if(d){const{startPTS:e,endPTS:t,startDTS:n,endDTS:r}=d;c&&(c.elementaryStreams[F]={startPTS:e,endPTS:t,startDTS:n,endDTS:r}),s.setElementaryStreamInfo(F,e,t,n,r),this.bufferFragmentData(d,s,c,o)}if(null!=_&&null!=(t=_.samples)&&t.length){const e=k({id:n,frag:s,details:u},_);r.trigger(P.FRAG_PARSING_METADATA,e)}if(p){const e=k({id:n,frag:s,details:u},p);r.trigger(P.FRAG_PARSING_USERDATA,e)}}else this.fragmentTracker.removeFragment(s)}_bufferInitSegment(e,t,n){if(this.state!==Yn)return;e.video&&delete e.video;const r=e.audio;if(!r)return;r.levelCodec=r.codec,r.id="audio",this.log(`Init audio buffer, container:${r.container}, codecs[parsed]=[${r.codec}]`),this.hls.trigger(P.BUFFER_CODECS,e);const i=r.initSegment;if(null!=i&&i.byteLength){const e={type:"audio",frag:t,part:null,chunkMeta:n,parent:t.type,data:i};this.hls.trigger(P.BUFFER_APPENDING,e)}this.tick()}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);var i;(this.fragCurrent=e,this.switchingTrack||r===gn||r===wn)?"initSegment"===e.sn?this._loadInitSegment(e,t):null!=(i=t.details)&&i.live&&!this.initPTS[e.cc]?(this.log(`Waiting for video PTS in continuity counter ${e.cc} of live stream before loading audio fragment ${e.sn} of level ${this.trackId}`),this.state=er):(this.startFragRequested=!0,super.loadFragment(e,t,n)):this.clearTrackerIfNeeded(e)}completeAudioSwitch(e){const{hls:t,media:n,bufferedTrack:r}=this,i=null==r?void 0:r.attrs,o=e.attrs;
1n&&i&&(i.CHANNELS!==o.CHANNELS||i.NAME!==o.NAME||i.LANGUAGE!==o.LANGUAGE)&&(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio")),this.bufferedTrack=e,this.switchingTrack=null,t.trigger(P.AUDIO_TRACK_SWITCHED,w({},e))}},audioTrackController:class extends _n{constructor(e){super(e,"[audio-track-controller]"),this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:e}=this;e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.MANIFEST_PARSED,this.onManifestParsed,this),e.on(P.LEVEL_LOADING,this.onLevelLoading,this),e.on(P.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(P.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(P.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.MANIFEST_PARSED,this.onManifestParsed,this),e.off(P.LEVEL_LOADING,this.onLevelLoading,this),e.off(P.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(P.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(P.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.audioTracks||[]}onAudioTrackLoaded(e,t){const{id:n,groupId:r,details:i}=t,o=this.tracksInGroup[n];if(!o||o.groupId!==r)return void this.warn(`Track with id:${n} and group:${r} not found in active group ${o.groupId}`);const a=o.details;o.details=t.details,this.log(`audio-track ${n} "${o.name}" lang:${o.lang} group:${r} loaded [${i.startSN}-${i.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,a)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(null==t||!t.audioGroupIds)return;const n=t.audioGroupIds[t.urlId];if(this.groupId!==n){this.groupId=n||null;const e=this.tracks.filter((e=>!n||e.groupId===n));this.selectDefaultTrack&&!e.some((e=>e.default))&&(this.selectDefaultTrack=!1),this.tracksInGroup=e;const t={audioTracks:e};this.log(`Updating audio tracks, ${e.length} track(s) found in group:${n}`),this.hls.trigger(P.AUDIO_TRACKS_UPDATED,t),this.selectInitialTrack()}else this.shouldReloadPlaylist(this.currentTrack)&&this.setAudioTrack(this.trackId)}onError(e,t){!t.fatal&&t.context&&t.context.type===mt&&t.context.id===this.trackId&&t.context.groupId===this.groupId&&(this.requestScheduled=-1,this.checkRetry(t))}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(e){this.selectDefaultTrack=!1,this.setAudioTrack(e)}setAudioTrack(e){const t=this.tracksInGroup;if(e<0||e>=t.length)return void this.warn("Invalid id passed to audio-track controller");this.clearTimer();const n=this.currentTrack;t[this.trackId];const r=t[e],{groupId:i,name:o}=r;if(this.log(`Switching to audio-track ${e} "${o}" lang:${r.lang} group:${i}`),this.trackId=e,this.currentTrack=r,this.selectDefaultTrack=!1,this.hls.trigger(P.AUDIO_TRACK_SWITCHING,w({},r)),r.details&&!r.details.live)return;const a=this.switchParams(r.url,null==n?void 0:n.details);this.loadPlaylist(a)}selectInitialTrack(){const e=this.tracksInGroup,t=this.findTrackId(this.currentTrack)|this.findTrackId(null);if(-1!==t)this.setAudioTrack(t);else{const t=new Error(`No track found for running audio group-ID: ${this.groupId} track count: ${e.length}`);this.warn(t.message),this.hls.trigger(P.ERROR,{type:O.MEDIA_ERROR,details:C.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:t})}}findTrackId(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if(!this.selectDefaultTrack||r.default){if(!e||void 0!==e.attrs["STABLE-RENDITION-ID"]&&e.attrs["STABLE-RENDITION-ID"]===r.attrs["STABLE-RENDITION-ID"])return r.id;if(e.name===r.name&&e.lang===r.lang)return r.id}}return-1}loadPlaylist(e){super.loadPlaylist();const t=this.tracksInGroup[this.trackId];if(this.shouldLoadPlaylist(t)){const r=t.id,i=t.groupId;let o=t.url;if(e)try{o=e.addDirectives(o)}catch(n){this.warn(`Could not construct new URL with HLS Delivery Directives: ${n}`)}this.log(`loading audio-track playlist ${r} "${t.name}" lang:${t.lang} group:${i}`),this.clearTimer(),this.hls.trigger(P.AUDIO_TRACK_LOADING,{url:o,id:r,groupId:i,deliveryDirectives:e||null})}}},emeController:ho,cmcdController:xo,contentSteeringController:class{constructor(e){this.hls=void 0,this.log=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this.pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=e,this.log=N.log.bind(N,"[content-steering]:"),this.registerListeners()}registerListeners(){const e=this.hls;e.on(P.MANIFEST_LOADING,this.onManifestLoading,this),e.on(P.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(P.MANIFEST_PARSED,this.onManifestParsed,this),e.on(P.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(P.MANIFEST_LOADING,this.onManifestLoading,this),e.off(P.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(P.MANIFEST_PARSED,this.onManifestParsed,this),e.off(P.ERROR,this.onError,this))}
1startLoad(){if(this.started=!0,self.clearTimeout(this.reloadTimer),this.enabled&&this.uri)if(this.updated){const e=Math.max(1e3*this.timeToLoad-(performance.now()-this.updated),0);this.scheduleRefresh(this.uri,e)}else this.loadSteeringManifest(this.uri)}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),self.clearTimeout(this.reloadTimer)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(e){const t=this.levels;t&&(this.levels=t.filter((t=>t!==e)))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(e,t){const{contentSteering:n}=t;null!==n&&(this.pathwayId=n.pathwayId,this.uri=n.uri,this.started&&this.startLoad())}onManifestParsed(e,t){this.audioTracks=t.audioTracks,this.subtitleTracks=t.subtitleTracks}onError(e,t){const{errorAction:n}=t;if((null==n?void 0:n.action)===sn&&n.flags===un){let e=this.pathwayPriority;const t=this.pathwayId;this.penalizedPathways[t]||(this.penalizedPathways[t]=performance.now()),!e&&this.levels&&(e=this.levels.reduce(((e,t)=>(-1===e.indexOf(t.pathwayId)&&e.push(t.pathwayId),e)),[])),e&&e.length>1&&(this.updatePathwayPriority(e),n.resolved=this.pathwayId!==t)}}filterParsedLevels(e){this.levels=e;let t=this.getLevelsForPathway(this.pathwayId);if(0===t.length){const n=e[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${n}"`),t=this.getLevelsForPathway(n),this.pathwayId=n}return t.length!==e.length?(this.log(`Found ${t.length}/${e.length} levels in Pathway "${this.pathwayId}"`),t):e}getLevelsForPathway(e){return null===this.levels?[]:this.levels.filter((t=>e===t.pathwayId))}updatePathwayPriority(e){let t;this.pathwayPriority=e;const n=this.penalizedPathways,r=performance.now();Object.keys(n).forEach((e=>{r-n[e]>3e5&&delete n[e]}));for(let i=0;i<e.length;i++){const r=e[i];if(n[r])continue;if(r===this.pathwayId)return;const o=this.hls.nextLoadLevel,a=this.hls.levels[o];if(t=this.getLevelsForPathway(r),t.length>0){this.log(`Setting Pathway to "${r}"`),this.pathwayId=r,this.hls.trigger(P.LEVELS_UPDATED,{levels:t});const e=this.hls.levels[o];a&&e&&this.levels&&(e.attrs["STABLE-VARIANT-ID"]!==a.attrs["STABLE-VARIANT-ID"]&&e.bitrate!==a.bitrate&&this.log(`Unstable Pathways change from bitrate ${a.bitrate} to ${e.bitrate}`),this.hls.nextLoadLevel=o);break}}}clonePathways(e){const t=this.levels;if(!t)return;const n={},r={};e.forEach((e=>{const{ID:i,"BASE-ID":o,"URI-REPLACEMENT":a}=e;if(t.some((e=>e.pathwayId===i)))return;const s=this.getLevelsForPathway(o).map((e=>{const t=k({},e);t.details=void 0,t.url=So(e.uri,e.attrs["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",a);const o=new L(e.attrs);o["PATHWAY-ID"]=i;
1const s=o.AUDIO&&`${o.AUDIO}_clone_${i}`,c=o.SUBTITLES&&`${o.SUBTITLES}_clone_${i}`;s&&(n[o.AUDIO]=s,o.AUDIO=s),c&&(r[o.SUBTITLES]=c,o.SUBTITLES=c),t.attrs=o;const l=new Bt(t);return mn(l,"audio",s),mn(l,"text",c),l}));t.push(...s),Eo(this.audioTracks,n,a,i),Eo(this.subtitleTracks,r,a,i)}))}loadSteeringManifest(e){const t=this.hls.config,n=t.loader;let r;this.loader&&this.loader.destroy(),this.loader=new n(t);try{r=new self.URL(e)}catch(l){return this.enabled=!1,void this.log(`Failed to parse Steering Manifest URI: ${e}`)}if("data:"!==r.protocol){const e=0|(this.hls.bandwidthEstimate||t.abrEwmaDefaultEstimate);r.searchParams.set("_HLS_pathway",this.pathwayId),r.searchParams.set("_HLS_throughput",""+e)}const i={responseType:"json",url:r.href},o=t.steeringManifestLoadPolicy.default,a=o.errorRetry||o.timeoutRetry||{},s={loadPolicy:o,timeout:o.maxLoadTimeMs,maxRetry:a.maxNumRetry||0,retryDelay:a.retryDelayMs||0,maxRetryDelay:a.maxRetryDelayMs||0},c={onSuccess:(e,t,n,i)=>{this.log(`Loaded steering manifest: "${r}"`);const o=e.data;if(1!==o.VERSION)return void this.log(`Steering VERSION ${o.VERSION} not supported!`);this.updated=performance.now(),this.timeToLoad=o.TTL;const{"RELOAD-URI":a,"PATHWAY-CLONES":s,"PATHWAY-PRIORITY":c}=o;if(a)try{this.uri=new self.URL(a,r).href}catch(l){return this.enabled=!1,void this.log(`Failed to parse Steering Manifest RELOAD-URI: ${a}`)}this.scheduleRefresh(this.uri||n.url),s&&this.clonePathways(s),c&&this.updatePathwayPriority(c)},onError:(e,t,n,r)=>{if(this.log(`Error loading steering manifest: ${e.code} ${e.text} (${t.url})`),this.stopLoad(),410===e.code)return this.enabled=!1,void this.log(`Steering manifest ${t.url} no longer available`);let i=1e3*this.timeToLoad;if(429!==e.code)this.scheduleRefresh(this.uri||t.url,i);else{const e=this.loader;if("function"===typeof(null==e?void 0:e.getResponseHeader)){const t=e.getResponseHeader("Retry-After");t&&(i=1e3*parseFloat(t))}this.log(`Steering manifest ${t.url} rate limited`)}},onTimeout:(e,t,n)=>{this.log(`Timeout loading steering manifest (${t.url})`),this.scheduleRefresh(this.uri||t.url)}};this.log(`Requesting steering manifest: ${r}`),this.loader.load(i,s,c)}scheduleRefresh(e,t=1e3*this.timeToLoad){self.clearTimeout(this.reloadTimer),this.reloadTimer=self.setTimeout((()=>{this.loadSteeringManifest(e)}),t)}}});function Ro(e){return e&&"object"===typeof e?Array.isArray(e)?e.map(Ro):Object.keys(e).reduce(((t,n)=>(t[n]=Ro(e[n]),t)),{}):e}function Lo(e){const t=e.loader;if(t!==To&&t!==Oo)N.log("[config]: Custom loader detected, cannot enable progressive streaming"),e.progressive=!1;else{(function(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(e){}return!1})()&&(e.loader=To,e.progressive=!0,e.enableSoftwareAES=!0,N.log("[config]: Progressive streaming enabled, using FetchLoader"))}}class Mo{static get version(){return"1.4.13"}static isSupported(){return function(){const e=Xe();if(!e)return!1;const t=rr(),n=e&&"function"===typeof e.isTypeSupported&&e.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),r=!t||t.prototype&&"function"===typeof t.prototype.appendBuffer&&"function"===typeof t.prototype.remove;return!!n&&!!r}()}static get Events(){return P}static get ErrorTypes(){return O}static get ErrorDetails(){return C}static get DefaultConfig(){return Mo.defaultConfig?Mo.defaultConfig:Io}static set DefaultConfig(e){Mo.defaultConfig=e}constructor(e={}){this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ii,this._autoLevelCapping=void 0,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null,function(e,t){if(self.console&&!0===e||"object"===typeof e){D(e,"debug","log","info","warn","error");try{A.log(`Debug logs enabled for "${t}
1" in hls.js version 1.4.13`)}catch(n){A=j}}else A=j}(e.debug||!1,"Hls instance");const t=this.config=function(e,t){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(void 0!==t.liveMaxLatencyDurationCount&&(void 0===t.liveSyncDurationCount||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(void 0!==t.liveMaxLatencyDuration&&(void 0===t.liveSyncDuration||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const n=Ro(e),r=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return["manifest","level","frag"].forEach((e=>{const i=`${"level"===e?"playlist":e}LoadPolicy`,o=void 0===t[i],a=[];r.forEach((r=>{const s=`${e}Loading${r}`,c=t[s];if(void 0!==c&&o){a.push(s);const e=n[i].default;switch(t[i]={default:e},r){case"TimeOut":e.maxLoadTimeMs=c,e.maxTimeToFirstByteMs=c;break;case"MaxRetry":e.errorRetry.maxNumRetry=c,e.timeoutRetry.maxNumRetry=c;break;case"RetryDelay":e.errorRetry.retryDelayMs=c,e.timeoutRetry.retryDelayMs=c;break;case"MaxRetryTimeout":e.errorRetry.maxRetryDelayMs=c,e.timeoutRetry.maxRetryDelayMs=c}}})),a.length&&N.warn(`hls.js config: "${a.join('", "')}" setting(s) are deprecated, use "${i}": ${JSON.stringify(t[i])}`)})),w(w({},n),t)}(Mo.DefaultConfig,e);this.userConfig=e,this._autoLevelCapping=-1,t.progressive&&Lo(t);const{abrController:n,bufferController:r,capLevelController:i,errorController:o,fpsController:a}=t,s=new o(this),c=this.abrController=new n(this),l=this.bufferController=new r(this),u=this.capLevelController=new i(this),d=new a(this),p=new xt(this),_=new Rt(this),f=t.contentSteeringController,h=f?new f(this):null,m=this.levelController=new hn(this,h),b=new kn(this),g=new jn(this.config),v=this.streamController=new ci(this,b,g);u.setStreamController(v),d.setStreamController(v);const y=[p,m,v];h&&y.splice(1,0,h),this.networkControllers=y;const k=[c,l,u,d,_,b];this.audioTrackController=this.createController(t.audioTrackController,y);const x=t.audioStreamController;x&&y.push(new x(this,b,g)),this.subtitleTrackController=this.createController(t.subtitleTrackController,y);const E=t.subtitleStreamController;E&&y.push(new E(this,b,g)),this.createController(t.timelineController,k),g.emeController=this.emeController=this.createController(t.emeController,k),this.cmcdController=this.createController(t.cmcdController,k),this.latencyController=this.createController(Lt,k),this.coreComponents=k,y.push(s);const S=s.onErrorOut;"function"===typeof S&&this.on(P.ERROR,S,s)}createController(e,t){if(e){const n=new e(this);return t&&t.push(n),n}return null}on(e,t,n=this){this._emitter.on(e,t,n)}once(e,t,n=this){this._emitter.once(e,t,n)}removeAllListeners(e){this._emitter.removeAllListeners(e)}off(e,t,n=this,r){this._emitter.off(e,t,n,r)}listeners(e){return this._emitter.listeners(e)}emit(e,t,n){return this._emitter.emit(e,t,n)}trigger(e,t){if(this.config.debug)return this.emit(e,e,t);try{return this.emit(e,e,t)}catch(n){N.error("An internal error happened while handling event "+e+'. Error message: "'+n.message+'". Here is a stacktrace:',n),this.trigger(P.ERROR,{type:O.OTHER_ERROR,details:C.INTERNAL_EXCEPTION,fatal:!1,event:e,error:n})}return!1}listenerCount(e){return this._emitter.listenerCount(e)}destroy(){N.log("destroy"),this.trigger(P.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this.url=null,this.networkControllers.forEach((e=>e.destroy())),this.networkControllers.length=0,this.coreComponents.forEach((e=>e.destroy())),this.coreComponents.length=0;const e=this.config;e.xhrSetup=e.fetchSetup=void 0,this.userConfig=null}attachMedia(e){N.log("attachMedia"),this._media=e,this.trigger(P.MEDIA_ATTACHING,{media:e})}detachMedia(){N.log("detachMedia"),this.trigger(P.MEDIA_DETACHING,void 0),this._media=null}loadSource(e){this.stopLoad();const t=this.media,n=this.url,r=this.url=g.buildAbsoluteURL(self.location.href,e,{alwaysNormalize:!0});N.log(`loadSource:${r}`),t&&n&&(n!==r||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(t)),this.trigger(P.MANIFEST_LOADING,{url:e})}
1startLoad(e=-1){N.log(`startLoad(${e})`),this.networkControllers.forEach((t=>{t.startLoad(e)}))}stopLoad(){N.log("stopLoad"),this.networkControllers.forEach((e=>{e.stopLoad()}))}swapAudioCodec(){N.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){N.log("recoverMediaError");const e=this._media;this.detachMedia(),e&&this.attachMedia(e)}removeLevel(e,t=0){this.levelController.removeLevel(e,t)}get levels(){const e=this.levelController.levels;return e||[]}get currentLevel(){return this.streamController.currentLevel}set currentLevel(e){N.log(`set currentLevel:${e}`),this.loadLevel=e,this.abrController.clearTimer(),this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(e){N.log(`set nextLevel:${e}`),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(e){N.log(`set loadLevel:${e}`),this.levelController.manualLevel=e}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(e){this.levelController.nextLoadLevel=e}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(e){N.log(`set firstLevel:${e}`),this.levelController.firstLevel=e}get startLevel(){return this.levelController.startLevel}set startLevel(e){N.log(`set startLevel:${e}`),-1!==e&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(e){const t=!!e;t!==this.config.capLevelToPlayerSize&&(t?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=t)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimate():NaN}get ttfbEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimateTTFB():NaN}set autoLevelCapping(e){this._autoLevelCapping!==e&&(N.log(`set autoLevelCapping:${e}`),this._autoLevelCapping=e)}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(e){Mt.indexOf(e)>-1&&(this._maxHdcpLevel=e)}get autoLevelEnabled(){return-1===this.levelController.manualLevel}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:e,config:{minAutoBitrate:t}}=this;if(!e)return 0;const n=e.length;for(let r=0;r<n;r++)if(e[r].maxBitrate>=t)return r;return 0}get maxAutoLevel(){const{levels:e,autoLevelCapping:t,maxHdcpLevel:n}=this;let r;if(r=-1===t&&e&&e.length?e.length-1:t,n)for(let i=r;i--;){const t=e[i].attrs["HDCP-LEVEL"];if(t&&t<=n)return i}return r}get nextAutoLevel(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)}set nextAutoLevel(e){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,e)}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get audioTracks(){const e=this.audioTrackController;return e?e.audioTracks:[]}get audioTrack(){const e=this.audioTrackController;return e?e.audioTrack:-1}set audioTrack(e){const t=this.audioTrackController;t&&(t.audioTrack=e)}get subtitleTracks(){const e=this.subtitleTrackController;return e?e.subtitleTracks:[]}get subtitleTrack(){const e=this.subtitleTrackController;return e?e.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(e){const t=this.subtitleTrackController;t&&(t.subtitleTrack=e)}get subtitleDisplay(){const e=this.subtitleTrackController;return!!e&&e.subtitleDisplay}set subtitleDisplay(e){const t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(e){this.config.lowLatencyMode=e}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}}Mo.defaultConfig=void 0;var zo=n(23767),Zo=n(52532),Fo=n(49022),Vo=n(8437),Bo=n(72791),Uo=n(13467),Go=n(46634),qo=n(72676),Ho=n(11858),Ko=n(72202),Wo=n(24246),$o=["className","style","src","track","wrapProps","onPlay","onPause","onEnd","autoPlay","disablePlay","controls","control","renderControl","muted","loop","absolute","poster","canMultiplePlay","forceRender","fit","width","height"];function Yo(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 Xo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Yo(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jo=function(e){var t=e.src,n=t.replace(/[?#].*$/,"");return n.endsWith(".mp4")||n.endsWith(".webm")||n.endsWith(".mov")?(0,Wo.jsx)("source",{src:t,type:n.endsWith(".mp4")?"video/mp4":n.endsWith(".webm")?"video/webm":"video/quicktime","data-wf-ignore":"true"}):null},Qo={playing:"Paused",paused:"Play",ended:"Replay"},ea=function(e){var t=e.status,n=e.size;switch(t){case"playing":return(0,Wo.jsx)(Uo.k,{size:n});case"paused":return(0,Wo.jsx)(Go.J,{size:n});case"ended":return(0,Wo.jsx)(qo.y,{size:n})}return null};function ta(e){return!!e&&e.replace(/[?#].*$/,"").endsWith(".m3u8")}var na=function(e){if("string"===typeof e)return ta(e)?e:void 0;if(Array.isArray(e)){var t=e.find((function(e){return ta(e)}));return t||void 0}};var ra=80,ia=[10,25,50,75],oa=new Set;function aa(e,t){var n="".concat(e,"::").concat(t);return!oa.has(n)&&(oa.add(n),!0)}var sa=c.forwardRef((function(e,t){var n=e.size,r=e.status,i=e.isControlVisible;return(0,Wo.jsx)("button",{ref:t,type:"button",className:_()(u,!i&&d,"btn-no-style g-control sw-video-control","g-".concat(r)),"aria-label":Qo[r],style:{width:n,height:n},children:(0,Wo.jsx)(ea,{status:r,size:n})})})),ca=c.forwardRef((function(e,t){var n=e.className,a=e.style,u=e.src,d=e.track,p=void 0!==d&&d,h=e.wrapProps,m=e.onPlay,b=e.onPause,g=e.onEnd,v=e.autoPlay,w=void 0!==v&&v,y=e.disablePlay,k=void 0!==y&&y,x=e.controls,E=void 0!==x&&x,S=e.control,P
1=void 0!==S&&S,O=e.renderControl,C=e.muted,T=void 0!==C&&C,j=e.loop,A=void 0!==j&&j,D=e.absolute,N=void 0!==D&&D,I=e.poster,R=void 0===I?"":I,L=e.canMultiplePlay,M=void 0!==L&&L,z=e.forceRender,Z=void 0!==z&&z,F=e.fit,V=void 0===F?"contain":F,B=e.width,U=e.height,G=(0,o.Z)(e,$o),q=(0,Ko.Kw)("rootStore").lang,H=function(e,t){var n=na(e);return n?(0,f.$B)(n.replace(/_lang(\/index\.m3u8)?(?=[?#]|$)/,"_".concat(t,"$1"))):Array.isArray(e)?(e=e.filter((function(e){return!!e&&"string"===typeof e&&(0,Bo.cb)(e)}))).map((function(e){return(0,f.$B)((0,f.h2)(e,t))})):"string"===typeof e&&(0,Bo.cb)(e)?(0,f.$B)((0,f.h2)(e,t)):""}(u,q),K="string"===typeof H?H:Array.isArray(H)?H.join("|"):"",W=na(H),$=(0,c.useRef)("paused"),Y=(0,c.useState)("paused"),X=Y[0],J=Y[1],Q=(0,c.useState)(!0),ee=Q[0],te=Q[1],ne=(0,c.useRef)(null),re=(0,c.useRef)(null),ie=(0,c.useRef)(null),oe=(0,c.useRef)(!1),ae=(0,c.useRef)(null),se=(0,c.useRef)(!1),ce=(0,c.useRef)(new Set),le=(0,c.useRef)(A);le.current=A;var ue=!E&&P,de=ue||E,pe=("object"===typeof ue?ue:{}).size||ra,_e=Math.round(.6*pe),fe=(0,zo._P)(pe),he=w&&!k,me="number"===typeof B&&"number"===typeof U,be=function(){se.current=!1,ce.current=new Set},ge=function(){var e;if(!p)return null;var t="string"===typeof H?H:H[0],n=(t?(0,f.$B)(t):"").trim(),r=null===(e=ne.current)||void 0===e?void 0:e.duration;return!n||!r||!Number.isFinite(r)||r<=0?null:{video_url:n,video_duration:r,source_page:(0,Fo.F)()}},ve=function(){if(!k){var e=ne.current;e&&(e.paused?e.play().catch((function(){})):e.pause())}},we=function(){var e,t;M||(t=ne.current,Array.prototype.forEach.call(document.getElementsByTagName("video"),(function(e){e!==t&&(0,Zo.i8)(e)&&e.pause()}))),0===((null===(e=ne.current)||void 0===e?void 0:e.currentTime)||0)&&be(),$.current="playing",J("playing"),"function"===typeof m&&m(),oe.current=!0},ye=function(){var e=ne.current,t=e&&Number.isFinite(e.duration)&&e.duration>0&&e.currentTime>=e.duration-.05;if(le.current&&t)return e.currentTime=0,void e.play().catch((function(){}));$.current="paused",J("paused"),"function"===typeof b&&b()},ke=function(){var e=ne.current;if(le.current&&e)return e.currentTime=0,void e.play().catch((function(){}));$.current="ended",J("ended");var t=ge();t&&aa(t.video_url,"complete")&&(0,Vo.TX)(t),be(),"function"===typeof g&&g()},xe=function(){var e=ne.current,t=ge();if(e&&t){!se.current&&e.currentTime>0&&aa(t.video_url,"start")&&((0,Vo.Ss)(t),se.current=!0);var n=Math.floor(e.currentTime/t.video_duration*100);ia.forEach((function(e){n>=e&&!ce.current.has(e)&&(aa(t.video_url,"progress:".concat(e))&&(0,Vo.Z7)(Xo(Xo({},t),{},{video_percent:e})),ce.current.add(e))}))}},Ee=(0,c.useCallback)((function(){ae.current&&(clearTimeout(ae.current),ae.current=null)}),[]),Se=function(){var e=(0,r.Z)(s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(ue){e.next=2;break}return e.abrupt("return");case 2:"playing"==X?(te(!0),ae.current&&Ee(),ae.current=setTimeout((function(){te(!1)}),2e3)):(ae.current&&Ee(),te(!0));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Pe=(0,Ho.Z)(Se,{throttleWait:500,manual:!0}).run;return(0,c.useImperativeHandle)(t,(function(){return{play:function(){var e=ne.current;null!==e&&void 0!==e&&e.paused&&e.play().catch((function(){}))},pause:function(){var e=ne.current;e&&!e.paused&&e.pause()},reset:function(){ne.current&&(ne.current.currentTime=0)},status:$.current,getElements:function(){return{wrap:re.current,video:ne.current}}}})),(0,c.useEffect)((function(){Pe()}),[X]),(0,c.useEffect)((function(){be()}),[p,K]),(0,c.useEffect)((function(){var e=ne.current;if(e&&H){if(W)if(e.canPlayType("application/vnd.apple.mpegurl"))e.src=W;else if(Mo.isSupported()){var t=new Mo;t.loadSource(W),t.attachMedia(e),e.controls=E}else console.error("This is an old browser that does not support MSE https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API");e.pause(),e.currentTime=0,$.current="paused",J("paused"),he&&e.play().catch((function(){}))}}),[K,W,he]),(0,c.useEffect)((function(){var e=ne.current;return e&&!k&&(e.addEventListener("playing",we),e.addEventListener("pause",ye),e.addEventListener("ended",ke),e.addEventListener("timeupdate",xe),ue&&re.current.addEventListener("click",ve)),function(){var t;k||(null===e||void 0===e||e.removeEventListener("playing",we),null===e||void 0===e||e.removeEventListener("pause",ye),null===e||void 0===e||e.removeEventListener("ended",ke),null===e||void 0===e||e.removeEventListener("timeupdate",xe),ue&&(null===(t=re.current)||void 0===t||t.addEventListener("click",ve)))}}),[]),H||Z?(0,Wo.jsxs)("div",Xo(Xo({ref:re,className:_()(n,l,"pure-video sw-video",(0,i.Z)({},"g-".concat(X),"playing"===X),{pointer:ue||E},{"sw-placeholder":me},N?"absolute":"relative"),style:Xo({paddingBottom:me?(0,zo.DU)(B,U):void 0},a)},h),{},{children:[(0,Wo.jsxs)("video",Xo(Xo(Xo({ref:ne,className:_()({"g-uncontrollable":!de},"g-".concat(V),{"sw-overlay":me}),autoPlay:he,muted:he||T,preload:he?"auto":"metadata",loop:A,controls:E,poster:R?(0,f.$B)((0,f.h2)(R,q)):void 0,disablePictureInPicture:!0,controlsList:"nodownload","data-wf-ignore":"true",playsInl
1ine:!0,"x5-playsinline":"true","webkit-playsinline":"true"},"string"===typeof H?{src:(0,f.$B)(H)}:{}),G),{},{onMouseMove:function(e){var t;Pe(),null===G||void 0===G||null===(t=G.onMouseMove)||void 0===t||t.call(G,e)},onTouchMove:function(e){var t;Pe(),null===G||void 0===G||null===(t=G.onTouchMove)||void 0===t||t.call(G,e)},children:[!W&&("string"===typeof H?(0,Wo.jsx)(Jo,{src:H}):H.map((function(e){return(0,Wo.jsx)(Jo,{src:e},e)}))),"your browser does not support the video tag"]})),ue&&"function"===typeof O&&O({status:X,size:fe,buttonEL:(0,Wo.jsx)(sa,{isControlVisible:ee,ref:ie,status:X,size:_e})}),ue&&"function"!==typeof O&&(0,Wo.jsx)(sa,{isControlVisible:ee,ref:ie,status:X,size:_e})]})):null})),la=c.memo(ca)},13148:function(e,t,n){"use strict";n.d(t,{j:function(){return d}});n(27378);var r=n(32996),i=n(60042),o=n.n(i),a=n(15388),s=n(63651),c=n(23767),l=n(24246);function u(e){var t=(Math.round(2*Number(e))/2).toFixed(1).split("."),n=Number(t[0]),r="0"!==t[1];return new Array(5).fill(void 0).map((function(e,t){return t<n?"default":t===n&&r?"half":"outline"}))}var d=function(e){var t=e.className,n=e.style,i=e.value,d=void 0===i?5:i,p=e.total,_=e.onClick,f=e.type,h=void 0===f?"detailed":f,m=e.starSize,b=e.textSize,g=e.children,v=(0,r.IA)().t,w=b?{fontSize:(0,c._P)(b)}:void 0;return(0,l.jsxs)("div",{className:o()(t,"sw-rate flex flex-middle",{pointer:!!_}),style:n,onClick:_,children:[(0,l.jsx)(s.N,{tag:!1,list:u(d),render:function(e){return(0,l.jsx)(a.G,{type:e,className:"sw-rate-star",size:m})}}),function(e,t,n){if(e)return"function"===typeof e?e():e;if("undefined"!==typeof n){var r="";return r="detailed"===t?Number(n)>1?v("web_product_total_reviews",{total:n}):v("web_product_total_review",{total:n}):"".concat(n),(0,l.jsxs)("span",{className:"sw-rate-text",style:w,children:["(",r,")"]})}return null}(g,h,p)]})}},33205:function(e,t,n){"use strict";var r=n(90849),i=(n(27378),n(6133)),o=n(24246);function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=s({transitionName:"ant-fade"},e);return(0,o.jsx)(i.Z,s({},t))}},26152:function(e,t,n){"use strict";n.d(t,{v:function(){return h},Z:function(){return m}});var r=n(90849),i=(n(27378),n(60042)),o=n.n(i),a=n(49589),s="empty_e
10sN0",c=n(32996),l=n(54151),u=n(46126),d=n(24246);function p(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=l.r.empty||{},h={address:{image:"asset/width-152/picture/74eb747a85fe8a9b8802f37e1471c576.png",tip:"web_address_empty_tip"},cart:{image:"asset/width-304/picture/445b2af75e0a336ae9c8ca71cf362e60.png",tip:"web_cart_empty_tip"},coupon:{image:"asset/width-152/picture/70de43ae42295cdc05db55fbb24aac33.png",tip:"web_coupon_empty_tip"},order:{image:"asset/width-152/picture/2ac879d2f072708ac670a50178b26165.png",tip:"web_order_empty_tip"},search:{image:"asset/width-152/picture/adf5236406368f44ccaae6f2f9c3c714.png",tip:"web_search_empty_tip"},error:{image:"asset/width-152/picture/b1edc5dbdeb589d7d8b683a53714292b.png",tip:"web_common_empty_tip"},filter:{image:"asset/width-152/picture/bf0f4e9469461aa20815b07845d548d5.png",tip:"web_list_filter_empty_tip"},comment:{image:"asset/width-152/picture/1f58a36725dfa311b2176427bf8ff2bb.png",tip:"web_review_empty_tip"}};var m=function(e){var t=e.className,n=e.type,r=void 0===n?"error":n,i=e.image,l=e.imageSize,p=e.title,m=e.tip,b=e.button,g=e.extra,v=r in h?h[r]:h.error,w=(0,c.IA)().t,y=i||function(e){return f.imageMap?f.imageMap[e]||f.imageMap.error||"":(h[e]||h.error).image}(r),k=l||f.imageSize||76;return(0,d.jsxs)("div",{className:o()(t,s),children:[(0,d.jsx)(a.Z,{src:y,width:k,height:k,background:!1,pure:!0,fixed:!0}),!!p&&(0,d.jsx)("div",{className:"title",children:p}),(0,d.jsx)("div",{className:"tip",children:m||w(v.tip)}),!!b&&(0,d.jsx)(u.z,_(_({type:"primary"},b),{},{className:o()(b.className,"empty-btn")})),g&&(0,d.jsx)("div",{className:"extra",children:g})]})}},55360:function(e,t,n){"use strict";n.d(t,{J:function(){return m},X:function(){return h}});var r=n(90849),i=n(90089),o=n(27378),a=n(23767),s=n(60042),c=n.n(s),l=n(24246),u=["gutter","colsPerRow","className","style","children"],d=["style","children","span"];function p(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=(0,o.createContext)({xGutter:0,yGutter:0,colsPerRow:1}),h=function(e){var t=e.gutter,n=void 0===t?0:t,r=e.colsPerRow,o=void 0===r?1:r,s=e.className,d=e.style,p=e.children,h=(0,i.Z)(e,u),m="number"===typeof n?n:n[0],b="number"===typeof n?n:n[1],g={};return m>0&&o>1&&(g.marginLeft="-".concat((0,a._P)(m))),b>0&&(g.marginTop="-".concat((0,a._P)(b))),(0,l.jsx)(f.Provider,{value:{xGutter:m,yGutter:b,colsPerRow:o},children:(0,l.jsx)("div",_(_({className:c()(o>1?"flex flex-wrap":"flex flex-vertical",s),style:_(_({},d),g)},h),{},{children:p}))})},m=(0,o.forwardRef)((function(e,t){var n=e.style,r=e.children,s=e.span,c=void 0===s?1:s,u=(0,i.Z)(e,d),p=(0,o.useContext)(f),h=p.xGutter,m=p.yGutter,b=p.colsPerRow,g={width:"".concat(100/b*c,"%")};return h>0&&b>1&&(g.paddingLeft=(0,a._P)(h)),m>0&&(g.marginTop=(0,a._P)(m)),(0,l.jsx)("div",_(_({ref:t,style:_(_({},n),g)},u),{},{children:r}))}))},49589:function(e,t,n){"use strict";n.d(t,{E:function(){return D},Z:function(){return N}});var r=n(90849),i=n(27378),o=n(90089),a=n(16918),s=n(24246),c=["href","target","pure","children"];function l(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=(0,i.forwardRef)((function(e,t){var n=e.href,r=e.target,i=void 0===r?"_self":r,l=e.pure,d=e.children,p=(0,o.Z)(e,c);return n?(0,s.jsx)(a.Z,{href:n,children:(0,s.jsx)("a",u(u({ref:t,target:i},p),{},{children:d}))}):l?d:(0,s.jsx)("div",u(u({},p),{},{ref:t,children:d}))})),p=n(7756),_=n(40397),f=["src","alt","onChangeStatus","lazy","lazyOffset","waitLoad","calcSize","width","height","fetchPriority"];function h(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 m(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,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,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var g=function(e){e.onload=null,e.onerror=null,e.src=p.Z.placeHolderImage},v=function(e){var t=e.src,n=e.alt,a=e.onChangeStatus,c=e.lazy,l=void 0===c||c,u=e.lazyOffset,d=void 0===u?300:u,b=e.waitLoad,v=void 0!==b&&b,w=e.calcSize,y=void 0!==w&&w,k=(e.width,e.height,e.fetchPriority),x=(0,o.Z)(e,f),E=l&&"high"!==k,S=(0,i.useRef)(null);return(0,i.useEffect)((function(){if(t&&S.current&&E){g(S.current),null===a||void 0===a||a("loading");var e=new IntersectionObserver((function(n){var r,i=m(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.isIntersecting&&function(){var n=o.target,r=n.dataset.src;y&&(r=(0,_.AO)(t,n.offsetWidth,2));var i=0;!function e(t){i++,n.src=t,n.onload=function(){n.onload=null,null===a||void 0===a||a("complete")},n.onerror=function(){g(n),v&&500*i<18e4?setTimeout((function(){e(r+"?v="+i)}),500):null===a||void 0===a||a("error")}}(r),e.unobserve(n)}()}}catch(s){i.e(s)}finally{i.f()}}),{root:null,rootMargin:"number"===typeof d?"".concat(d,"px"):d,threshold:0});return e.observe(S.current),function(){e.disconnect()}}}),[t]),(0,s.jsx)("img",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ref:S,src:E?p.Z.placeHolderImage:t,"data-src":t,alt:n,fetchpriority:k},x))},w=n(23767),y=n(60042),k=n.n(y),x={"fill-placeholder-child":"fill-placeholder-child_FxdUA","g-image":"g-image",fill:"fill_sSfnl",contain:"contain_6i-yQ",cover:"cover_-VAcu","contain-img":"contain-img_UghK7","cover-img":"cover-img_Bgc6b","fixed-img":"fixed-img_uyEDb"},E=n(53589),S=n(54151),P=["width","height","size","fit","fixed","indefinite","pure","calcSize","src","alt","lazy","lazyOffset","waitLoad","className","style","background","href","target","absolute","fetchPriority"];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 C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%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}var T=n(72202);function j(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?j(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=(0,i.forwardRef)((function(e,t){var n=(0,i.useState)("loading"),a=n[0],c=n[1],l=function(e,t,n){var i=e.width,a=e.height,s=e.size,c=e.fit,l=void 0===c?"fill":c,u=e.fixed,d=void 0!==u&&u,f=e.indefinite,h=void 0!==f&&f,m=e.pure,b=void 0!==m&&m,g=e.calcSize,v=void 0!==g&&g,y=e.src,O=e.alt,T=e.lazy,j=void 0===T||T,A=e.lazyOffset,D=e.waitLoad,N=e.className,I=e.style,R=e.background,L=e.href,M=e.target,z=e.absolute,Z=void 0!==z&&z,F=e.fetchPriority,V=(0,o.Z)(e,P),B=(0,_.$B)((0,_.h2)(function(e){return e?"string"===typeof e?e:"string"===typeof e.src?e.src:"":""}(y),n)),U=!L&&b,G=i,q=a||i;"number"===typeof G&&"number"===typeof q&&"number"===typeof s&&(q=s*q/G,G=s);var H=!1===R||"complete"===t?void 0:R||S.r.placeholderColor,K=function(e){return"number"===typeof e?E.M&&S.r.useRem?(0,w.$P)(e):"".concat(e,"px"):e},W={pure:U},$={src:B,alt:O||"object"===typeof y&&(null===y||void 0===y?void 0:y.alt)||(null===p.Z||void 0===p.Z?void 0:p.Z.brand)||"",lazy:j,lazyOffset:A,waitLoad:D,calcSize:v,width:G,height:q,fetchPriority:F};if(U?$=C(C(C({},V),$),{},{className:N,style:C(C({},I),{},{background:H,width:K(G),height:K(q)})}):($.className=x["".concat(l,"-img")],W=C(C(C({},V),W),{},{className:k()(N,"g-image",x.image,(0,r.Z)({},x[l],!h)),style:C(C({},I),{},{background:H}),href:L,target:M}),Z&&(W.style.position="absolute",W.style.top=(null===I||void 0===I?void 0:I.top)||"0",W.style.left=(null===I||void 0===I?void 0:I.left)||"0"),"number"===typeof G&&"number"===typeof q&&(d?(W.style.width=K(G),W.style.height=K(q)):h||(W.style.paddingBottom=Math.round(q/G*1e5)/1e3+"%")),"string"===typeof G&&(W.style.width=G),"string"===typeof q&&(W.style.height=q,"auto"===q&&($.style=C(C({},$.style),{},{position:"static",height:"auto"})))),"number"===typeof G){var Y=(0,_.AO)(B,G);$.src=Y,E.M&&"error"!==t&&/\/asset\/width-\d+\//.test(B)&&($.sizes="".concat(Math.ceil(100*G/375),"vw"),$.srcSet=(0,_.mC)(B,G))}return{containerProps:W,imageProps:$}}(e,a,(0,T.Kw)("rootStore").lang),u=l.containerProps,f=l.imageProps;return(0,s.jsx)(d,A(A({ref:t},u),{},{children:(0,s.jsx)(v,A(A({},f),{},{onChangeStatus:c}))}))})),N=D},16918:function(e,t,n){"use strict";n.d(t,{r:function(){return f}});var r=n(90849),i=n(90089),o=n(27378),a=n(79894),s=n.n(a),c=n(72202),l=n(49696),u=n(24246),d=["href","children"];function p(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){var t=(0,c.Kw)("rootStore").ua.isApp,n=e.href,r=void 0===n?"":n,a=e.children,p=(0,i.Z)(e,d);if(t&&"string"===typeof r&&""!==r.trim()){var f=r.replace(/[?#].*$/,""),h=(0,l.Mc)(f);if(h)return"string"===typeof a||"number"===typeof a?(0,u.jsx)("a",{onClick:function(e){h.callback(f,r),e.preventDefault()},children:a}):(0,o.isValidElement)(a)?(0,o.cloneElement)(a,{onClick:function(e){h.callback(f,r),e.preventDefault()}}):(0,u.jsx)("span",{onClick:function(){h.callback(f,r)},children:a})}return(0,u.jsx)(s(),_(_({prefetch:!1},p),{},{href:r,children:a}))};t.Z=f},63469:function(e,t,n){"use strict";n.d(t,{gb:function(){return w},yK:function(){return E},x4:function(){return y},SX:function(){return x},kh:function(){return k}});var r=n(90849),i=n(90089),o=(n(27378),"loading_5xo81"),a="row-loading_Mv9rs",s="mask-loading_6m0pX",c="absolute_DTCBn",l="page-loading_B3mgg",u=n(60042),d=n.n(u),p=n(7756),_=(n(29051),n(24246)),f=["className","absolute"],h=["className","space"],m=["className"],b=["loading","children"];function g(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]:{};
1t%2?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w=function(e){var t=e.className,n=e.size,r=void 0===n?20:n,i=e.color,a=void 0===i?"default":i;return(0,_.jsx)("img",{className:d()(o,"g-loading",t),src:p.Z.loading[a]||p.Z.loading.default,width:r,height:r,alt:"loading"})},y=function(e){var t=e.className,n=e.absolute,o=void 0===n||n,a=(0,i.Z)(e,f);return(0,_.jsx)("div",{className:d()(t,s,(0,r.Z)({},c,o)),children:(0,_.jsx)(w,v({},a))})},k=function(e){var t=e.className,n=e.space,r=void 0===n?30:n,o=(0,i.Z)(e,h);return(0,_.jsx)("div",{className:d()(t,a),style:{paddingTop:r,paddingBottom:r},children:(0,_.jsx)(w,v({},o))})},x=function(e){var t=e.className,n=(0,i.Z)(e,m);return(0,_.jsx)("div",{className:d()(t,l),children:(0,_.jsx)(w,v({},n))})},E=function(e){var t=e.loading,n=e.children,r=(0,i.Z)(e,b);return t?(0,_.jsx)(k,v({},r)):n||null}},98522:function(e,t,n){"use strict";n.d(t,{LJ:function(){return g},uD:function(){return b},pF:function(){return m}});var r=n(90849),i=n(90089),o=(n(27378),n(56850)),a={"fill-placeholder-child":"fill-placeholder-child_s7-t7",modal:"modal_WJ0bD","ant-modal-content":"ant-modal-content","ant-modal-header":"ant-modal-header","ant-modal-title":"ant-modal-title","ant-modal-close-x":"ant-modal-close-x","icon-x":"icon-x","ant-modal-body":"ant-modal-body","ant-modal-footer":"ant-modal-footer","ant-btn":"ant-btn","msg-modal":"msg-modal_a411K","ant-modal-confirm-title":"ant-modal-confirm-title","ant-modal-confirm-content":"ant-modal-confirm-content","ant-modal-confirm":"ant-modal-confirm","ant-modal-confirm-btns":"ant-modal-confirm-btns",weak:"weak_3Vh8d","confirm-modal":"confirm-modal_NISJS","ant-modal-confirm-body":"ant-modal-confirm-body","btn-ok":"btn-ok_CM4OL","btn-cancel":"btn-cancel_fLhxC"},s=n(81628),c=n(60042),l=n.n(c),u=n(32996),d=n(24246),p=["severity"],_=["className"];function f(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){var t=e.severity,n=void 0===t?"strong":t,r=(0,i.Z)(e,p),c="strong"===n?{closable:!1,maskClosable:!1}:{closable:!0,maskClosable:!0,okCancel:!1};o.Z.info(h(h({className:l()(a["msg-modal"],a[n]),icon:!1,centered:!0,closeIcon:(0,d.jsx)(s.Z,{className:"icon-x"}),width:e.width||370,okText:(0,u.ct)("web_common_btn_ok")},c),r))}function b(e){o.Z.confirm(h({className:a["confirm-modal"],width:542,icon:null,centered:!0,okText:(0,u.ct)("web_common_btn_yes"),cancelText:(0,u.ct)("web_common_btn_no"),okButtonProps:{type:"link",className:a["btn-ok"]},cancelButtonProps:{type:"text",className:a["btn-cancel"]}},e))}function g(e){var t=e.className,n=(0,i.Z)(e,_);return(0,d.jsx)(o.Z,h({className:l()(a.modal,t),closeIcon:(0,d.jsx)(s.Z,{className:"icon-x"}),centered:!0,footer:!1},n))}},51743:function(e,t,n){"use strict";var r=n(90849),i=n(90089),o=(n(27378),n(98099)),a=n(71526),s=n(60042),c=n.n(s),l=n(24246),u=["className","size","showSizeChanger"];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}t.Z=function(e){var t=e.className,n=e.size,s=void 0===n?"small":n,p=e.showSizeChanger,_=void 0!==p&&p,f=(0,i.Z)(e,u);return(0,l.jsx)(a.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:c()(t,o.Z.pagination),size:s,showSizeChanger:_,itemRender:function(e,t,n){return"page"===t?(0,l.jsx)("span",{children:e}):n}},f))}},71811:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(90849),i=n(27378),o=n(60042),a=n.n(o),s=n(62157),c="price_oBiQ4",l=n(24246),u=function(e,t,n){var r=e.currencySymbol,i=e.integer,o=e.decimal,s=e.symbolPosition,c=e.symbolSpace,u="right"===s,d=c?" ":"";if("theme"===t)return(0,l.jsxs)(l.Fragment,{children:[!u&&n&&(0,l.jsx)("em",{className:a()("symbol",{"mr-1":c}),children:r}),(0,l.jsx)("em",{className:"integer",children:i}),(0,l.jsx)("em",{className:"decimal",children:o}),u&&n&&(0,l.jsx)("em",{className:a()("symbol",{"ml-1":c}),children:r})]});var p=!u&&n?"".concat(r).concat(d):"",_=u&&n?"".concat(d).concat(r):"";return"".concat(p).concat(i).concat(o).concat(_)},d=function(e){var t=e.type,n=void 0===t?"text":t,o=e.value,d=void 0===o?0:o,p=e.className,_=void 0===p?"":p,f=e.isDel,h=void 0!==f&&f,m=e.label,b=e.forceDisplay,g=null;if(d||void 0!==b&&b){var v,w=function(e){return"number"===typeof e||"string"===typeof e?e:e.length>=2&&e[0]!==e[1]?[e[0],e[1]]:Number(e[0])}(d);if("object"===typeof w){var y=(0,s.T4)(w[0]),k=(0,s.T4)(w[1]);v=(0,l.jsxs)(l.Fragment,{children:["theme"===n?(0,l.jsx)("em",{className:"symbol",children:y.currencySymbol}):y.currencySymbol,u(y,n,!1),(0,l.jsx)("em",{className:"separator",children:"-"}),u(k,n,!1)]})}else v=u((0,s.T4)(w),n,!0);v=(0,i.createElement)(h&&"text"===n?"del":"span",{className:a()(m?"price-num":"price",c,(0,r.Z)({},_,!m))},v),g=m?(0,l.jsxs)("span",{className:a()("price",_),children:[(0,l.jsx)("span",{className:"label",children:m}),v]}):v}return g}},24401:function(e,t,n){"use strict";n.d(t,{v:function(){return A}});var r=n(90849),i=n(97865),o=n(90089),a=n(27378),s=n(60042),c=n.n(s),l="swiper_8-WwN",u=n(55509),d=n(52882),p=n(51691);function _(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach((i=>{if(!n[i]&&!0===n.auto){let o=(0,p.e)(e.el,`.${r[i]}`)[0];o||(o=(0,p.c)("div",r[i]),o.className=r[i],e.el.append(o)),n[i]=o,t[i]=o}})),n}function f(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};const o=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function a(e){let n;return e&&"string"===typeof e&&t.isElement&&(n=t.el.querySelector(e),n)?n:(e&&("string"===typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"===typeof e&&n.length>1&&1===t.el.querySelectorAll(e).length&&(n=t.el.querySelector(e))),e&&!n?e:n)}function s(e,n){const r=t.params.navigation;(e=o(e)).forEach((e=>{e&&(e.classList[n?"add":"remove"](...r.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass))}))}function c(){const{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop)return s(n,!1),void s(e,!1);s(n,t.isBeginning&&!t.params.rewind),s(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function d(){const e=t.params.navigation;if(t.params.navigation=_(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let n=a(e.nextEl),r=a(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:r}),n=o(n),r=o(r);const i=(n,r)=>{n&&n.addEventListener("click","next"===r?u:l),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach((e=>i(e,"next"))),r.forEach((e=>i(e,"prev")))}function p(){let{nextEl:e,prevEl:n}=t.navigation;e=o(e),n=o(n);const r=(e,n)=>{e.removeEventListener("click","next"===n?u:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>
vendor: 20,831 bytes, line 1
1r(e,"next"))),n.forEach((e=>r(e,"prev")))}r("init",(()=>{!1===t.params.navigation.enabled?f():(d(),c())})),r("toEdge fromEdge lock unlock",(()=>{c()})),r("destroy",(()=>{p()})),r("enable disable",(()=>{let{nextEl:e,prevEl:n}=t.navigation;e=o(e),n=o(n),t.enabled?c():[...e,...n].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),r("click",((e,n)=>{let{nextEl:r,prevEl:a}=t.navigation;r=o(r),a=o(a);const s=n.target;if(t.params.navigation.hideOnClick&&!a.includes(s)&&!r.includes(s)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===s||t.pagination.el.contains(s)))return;let e;r.length?e=r[0].classList.contains(t.params.navigation.hiddenClass):a.length&&(e=a[0].classList.contains(t.params.navigation.hiddenClass)),i(!0===e?"navigationShow":"navigationHide"),[...r,...a].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const f=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),c()},disable:f,update:c,init:d,destroy:p})}function h(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function m(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const o="swiper-pagination";let a;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let s=0;const c=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function u(e,n){const{bulletActiveClass:r}=t.params.pagination;e&&(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${r}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${r}-${n}-${n}`))}function d(e){const n=e.target.closest(h(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const r=(0,p.g)(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===r)return;t.slideToLoop(r)}else t.slideTo(r)}function f(){const e=t.rtl,n=t.params.pagination;if(l())return;let r,o,d=t.pagination.el;d=c(d);const _=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,f=t.params.loop?Math.ceil(_/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(o=t.previousRealIndex||0,r=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):"undefined"!==typeof t.snapIndex?(r=t.snapIndex,o=t.previousSnapIndex):(o=t.previousIndex||0,r=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const i=t.pagination.bullets;let c,l,_;if(n.dynamicBullets&&(a=(0,p.f)(i[0],t.isHorizontal()?"width":"height",!0),d.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=a*(n.dynamicMainBullets+4)+"px"})),n.dynamicMainBullets>1&&void 0!==o&&(s+=r-(o||0),s>n.dynamicMainBullets-1?s=n.dynamicMainBullets-1:s<0&&(s=0)),c=Math.max(r-s,0),l=c+(Math.min(i.length,n.dynamicMainBullets)-1),_=(l+c)/2),i.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${n.bulletActiveClass}${e}`))].map((e=>"string"===typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),d.length>1)i.forEach((e=>{const i=(0,p.g)(e);i===r?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(i>=c&&i<=l&&e.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),i===c&&u(e,"prev"),i===l&&u(e,"next"))}));else{const e=i[r];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&i.forEach(((e,t)=>{e.setAttribute("part",t===r?"bullet-active":"bullet")})),n.dynamicBullets){const e=i[c],t=i[l];for(let r=c;r<=l;r+=1)i[r]&&i[r].classList.add(...`${n.bulletActiveClass}-main`.split(" "));u(e,"prev"),u(t,"next")}}if(n.dynamicBullets){const r=Math.min(i.length,n.dynamicMainBullets+4),o=(a*r-a)/2-_*a,s=e?"right":"left";i.forEach((e=>{e.style[t.isHorizontal()?s:"top"]=`${o}px`}))}}d.forEach(((e,o)=>{if("fraction"===n.type&&(e.querySelectorAll(h(n.currentClass)).forEach((e=>{e.textContent=n.formatFractionCurrent(r+1)})),e.querySelectorAll(h(n.totalClass)).forEach((e=>{e.textContent=n.formatFractionTotal(f)}))),"progressbar"===n.type){let i;i=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const o=(r+1)/f;let a=1,s=1;"horizontal"===i?a=o:s=o,e.querySelectorAll(h(n.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${s})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===n.type&&n.renderCustom?(e.innerHTML=n.renderCustom(t,r+1,f),0===o&&i("paginationRender",e)):(0===o&&i("paginationRender",e),i("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)}))}function m(){const e=t.params.pagination;if(l())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let r=t.pagination.el;r=c(r);let o="";if("bullets"===e.type){let r=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&r>n&&(r=n);for(let n=0;n<r;n+=1)e.renderBullet?o+=e.renderBullet.call(t,n,e.bulletClass):o+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],r.forEach((n=>{"custom"!==e.type&&(n.innerHTML=o||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll(h(e.bulletClass)))})),"custom"!==e.type&&i("paginationRender",r[0])}function b(){t.params.pagination=_(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"===typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!==typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"===typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.filter((e=>(0,p.a)(e,".swiper")[0]===t.el))[0])),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}),n=c(n),n.forEach((n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),s=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",d),t.enabled||n.classList.add(e.lockClass)})))}function g(){const e=t.params.pagination;if(l())return;let n=t.pagination.el;n&&(n=c(n),n.forEach((n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",d))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}r("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;n=c(n),n.forEach((n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),r("init",(()=>{!1===t.params.pagination.enabled?v():(b(),m(),f())})),r("activeIndexChange",(()=>{"undefined"===typeof t.snapIndex&&f()})),r("snapIndexChange",(()=>{f()})),r("snapGridLengthChange",(()=>{m(),f()})),r("destroy",(()=>{g()})),r("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=c(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),r("lock unlock",(()=>{f()})),r("click",((e,n)=>{const r=n.target,o=c(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&o&&o.length>0&&!r.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&r===t.navigation.nextEl||t.navigation.prevEl&&r===t.navigation.prevEl))return;const e=o[0].classList.contains(t.params.pagination.hiddenClass);i(!0===e?"paginationShow":"paginationHide"),o.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const v=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=c(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),g()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=c(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),b(),m(),f()},disable:v,render:m,update:f,init:b,destroy:g})}function b(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const o=(0,d.g)();let a,s,c,l,u=!1,f=null,m=null;function b(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:n}=t,{dragEl:r,el:i}=e,o=t.params.scrollbar,a=t.params.loop?t.progressLoop:t.progress;let l=s,u=(c-s)*a;n?(u=-u,u>0?(l=s-u,u=0):-u+s>c&&(l=c+u)):u<0?(l=s+u,u=0):u+s>c&&(l=c-u),t.isHorizontal()?(r.style.transform=`translate3d(${u}px, 0, 0)`,r.style.width=`${l}px`):(r.style.transform=`translate3d(0px, ${u}px, 0)`,r.style.height=`${l}px`),o.hide&&(clearTimeout(f),i.style.opacity=1,f=setTimeout((()=>{i.style.opacity=0,i.style.transitionDuration="400ms"}),1e3))}function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:n,el:r}=e;n.style.width="",n.style.height="",c=t.isHorizontal()?r.offsetWidth:r.offsetHeight,l=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),s="auto"===t.params.scrollbar.dragSize?c*l:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?n.style.width=`${s}px`:n.style.height=`${s}px`,r.style.display=l>=1?"none":"",t.params.scrollbar.hide&&(r.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function v(e){return t.isHorizontal()?e.clientX:e.clientY}function w(e){const{scrollbar:n,rtlTranslate:r}=t,{el:i}=n;let o;o=(v(e)-(0,p.b)(i)[t.isHorizontal()?"left":"top"]-(null!==a?a:s/2))/(c-s),o=Math.max(Math.min(o,1),0),r&&(o=1-o);const l=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*o;t.updateProgress(l),t.setTranslate(l),t.updateActiveIndex(),t.updateSlidesClasses()}function y(e){const n=t.params.scrollbar,{scrollbar:r,wrapperEl:o}=t,{el:s,dragEl:c}=r;u=!0,a=e.target===c?v(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),o.style.transitionDuration="100ms",c.style.transitionDuration="100ms",w(e),clearTimeout(m),s.style.transitionDuration="0ms",n.hide&&(s.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",e)}function k(e){const{scrollbar:n,wrapperEl:r}=t,{el:o,dragEl:a}=n;u&&(e.preventDefault?e.preventDefault():e.returnValue=!1,w(e),r.style.transitionDuration="0ms",o.style.transitionDuration="0ms",a.style.transitionDuration="0ms",i("scrollbarDragMove",e))}function x(e){const n=t.params.scrollbar,{scrollbar:r,wrapperEl:o}=t,{el:a}=r;u&&(u=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",o.style.transitionDuration=""),n.hide&&(clearTimeout(m),m=(0,p.n)((()=>{a.style.opacity=0,a.style.transitionDuration="400ms"}),1e3)),i("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())}function E(e){const{scrollbar:n,params:r}=t,i=n.el;if(!i)return;const a=i,s=!!r.passiveListeners&&{passive:!1,capture:!1},c=!!r.passiveListeners&&{passive:!0,capture:!1};if(!a)return;const l="on"===e?"addEventListener":"removeEventListener";a[l]("pointerdown",y,s),o[l]("pointermove",k,s),o[l]("pointerup",x,c)}function S(){const{scrollbar:e,el:n}=t;t.params.scrollbar=_(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const r=t.params.scrollbar;if(!r.el)return;let i,a;if("string"===typeof r.el&&t.isElement&&(i=t.el.querySelector(r.el)),i||"string"!==typeof r.el)i||(i=r.el);else if(i=o.querySelectorAll(r.el),!i.length)return;t.params.uniqueNavElements&&"string"===typeof r.el&&i.length>1&&1===n.querySelectorAll(r.el).length&&(i=n.querySelector(r.el)),i.length>0&&(i=i[0]),i.classList.add(t.isHorizontal()?r.horizontalClass:r.verticalClass),i&&(a=i.querySelector(h(t.params.scrollbar.dragClass)),a||(a=(0,p.c)("div",t.params.scrollbar.dragClass),i.append(a))),Object.assign(e,{el:i,dragEl:a}),r.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&E("on"),i&&i.classList[t.enabled?"remove":"add"](...(0,p.h)(t.params.scrollbar.lockClass))}function P(){const e=t.params.scrollbar,n=t.scrollbar.el;n&&n.classList.remove(...(0,p.h)(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&E("off")}n({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},r("init",(()=>{!1===t.params.scrollbar.enabled?O():(S(),g(),b())})),r("update resize observerUpdate lock unlock",(()=>{g()})),r("setTranslate",(()=>{b()})),r("setTransition",((e,n)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(n)})),r("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...(0,p.h)(t.params.scrollbar.lockClass))})),r("destroy",(()=>{P()}));const O=()=>{t.el.classList.add(...(0,p.h)(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...(0,p.h)(t.params.scrollbar.scrollbarDisabledClass)),P()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...(0,p.h)(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...(0,p.h)(t.params.scrollbar.scrollbarDisabledClass)),S(),g(),b()},disable:O,updateSize:g,setTranslate:b,init:S,destroy:P})}function g(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const o=(0,d.a)();n({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let a,s,c=1,l=!1;const u=[],_={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},h={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let m=1;function b(){if(u.length<2)return 1;const e=u[0].pageX,t=u[0].pageY,n=u[1].pageX,r=u[1].pageY;return Math.sqrt((n-e)**2+(r-t)**2)}function g(e){const n=t.isElement?"swiper-slide":`.${t.params.slideClass}`;return!!e.target.matches(n)||t.slides.filter((t=>t.contains(e.target))).length>0}function v(e){if("mouse"===e.pointerType&&u.splice(0,u.length),!g(e))return;const n=t.params.zoom;if(a=!1,s=!1,u.push(e),!(u.length<2)){if(a=!0,_.scaleStart=b(),!_.slideEl){_.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),_.slideEl||(_.slideEl=t.slides[t.activeIndex]);let r=_.slideEl.querySelector(`.${n.containerClass}`);if(r&&(r=r.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),_.imageEl=r,_.imageWrapEl=r?(0,p.a)(_.imageEl,`.${n.containerClass}`)[0]:void 0,!_.imageWrapEl)return void(_.imageEl=void 0);_.maxRatio=_.imageWrapEl.getAttribute("data-swiper-zoom")||n.maxRatio}if(_.imageEl){const[e,t]=function(){if(u.length<2)return{x:null,y:null};const e=_.imageEl.getBoundingClientRect();return[(u[0].pageX+(u[1].pageX-u[0].pageX)/2-e.x-o.scrollX)/c,(u[0].pageY+(u[1].pageY-u[0].pageY)/2-e.y-o.scrollY)/c]}();_.originX=e,_.originY=t,_.imageEl.style.transitionDuration="0ms"}l=!0}}function w(e){if(!g(e))return;const n=t.params.zoom,r=t.zoom,i=u.findIndex((t=>t.pointerId===e.pointerId));i>=0&&(u[i]=e),u.length<2||(s=!0,_.scaleMove=b(),_.imageEl&&(r.scale=_.scaleMove/_.scaleStart*c,r.scale>_.maxRatio&&(r.scale=_.maxRatio-1+(r.scale-_.maxRatio+1)**.5),r.scale<n.minRatio&&(r.scale=n.minRatio+1-(n.minRatio-r.scale+1)**.5),_.imageEl.style.transform=`translate3d(0,0,0) scale(${r.scale})`))}function y(e){if(!g(e))return;if("mouse"===e.pointerType&&"pointerout"===e.type)return;const n=t.params.zoom,r=t.zoom,i=u.findIndex((t=>t.pointerId===e.pointerId));i>=0&&u.splice(i,1),a&&s&&(a=!1,s=!1,_.imageEl&&(r.scale=Math.max(Math.min(r.scale,_.maxRatio),n.minRatio),_.imageEl.style.transitionDuration=`${t.params.speed}ms`,_.imageEl.style.transform=`translate3d(0,0,0) scale(${r.scale})`,c=r.scale,l=!1,r.scale>1&&_.slideEl?_.slideEl.classList.add(`${n.zoomedSlideClass}`):r.scale<=1&&_.slideEl&&_.slideEl.classList.remove(`${n.zoomedSlideClass}`),1===r.scale&&(_.originX=0,_.originY=0,_.slideEl=void 0)))}function k(e){if(!g(e)||!function(e){const n=`.${t.params.zoom.containerClass}`;return!!e.target.matches(n)||[...t.hostEl.querySelectorAll(n)].filter((t=>t.contains(e.target))).length>0}(e))return;const n=t.zoom;if(!_.imageEl)return;if(!f.isTouched||!_.slideEl)return;f.isMoved||(f.width=_.imageEl.offsetWidth,f.height=_.imageEl.offsetHeight,f.startX=(0,p.i)(_.imageWrapEl,"x")||0,f.startY=(0,p.i)(_.imageWrapEl,"y")||0,_.slideWidth=_.slideEl.offsetWidth,_.slideHeight=_.slideEl.offsetHeight,_.imageWrapEl.style.transitionDuration="0ms");const r=f.width*n.scale,i=f.height*n.scale;if(r<_.slideWidth&&i<_.slideHeight)return;f.minX=Math.min(_.slideWidth/2-r/2,0),f.maxX=-f.minX,f.minY=Math.min(_.slideHeight/2-i/2,0),f.maxY=-f.minY,f.touchesCurrent.x=u.length>0?u[0].pageX:e.pageX,f.touchesCurrent.y=u.length>0?u[0].pageY:e.pageY;if(Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(t.allowClick=!1),!f.isMoved&&!l){if(t.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.x<f.touchesStart.x||Math.floor(f.maxX)===Math.floor(f.startX)&&f.touchesCurrent.x>f.touchesStart.x))return void(f.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.y<f.touchesStart.y||Math.floor(f.maxY)===Math.floor(f.startY)&&f.touchesCurrent.y>f.touchesStart.y))return void(f.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),f.isMoved=!0;const o=(n.scale-c)/(_.maxRatio-t.params.zoom.minRatio),{originX:a,originY:s}=_;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+o*(f.width-2*a),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+o*(f.height-2*s),f.currentX<f.minX&&(f.currentX=f.minX+1-(f.minX-f.currentX+1)**.8),f.currentX>f.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentY<f.minY&&(f.currentY=f.minY+1-(f.minY-f.currentY+1)**.8),f.currentY>f.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),h.prevPositionX||(h.prevPositionX=f.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=f.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(f.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(f.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,Math.abs(f.touchesCurrent.x-h.prevPositionX)<2&&(h.x=0),Math.abs(f.touchesCurrent.y-h.prevPositionY)<2&&(h.y=0),h.prevPositionX=f.touchesCurrent.x,h.prevPositionY=f.touchesCurrent.y,h.prevTime=Date.now(),_.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function x(){const e=t.zoom;_.slideEl&&t.activeIndex!==t.slides.indexOf(_.slideEl)&&(_.imageEl&&(_.imageEl.style.transform="translate3d(0,
10,0) scale(1)"),_.imageWrapEl&&(_.imageWrapEl.style.transform="translate3d(0,0,0)"),_.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,c=1,_.slideEl=void 0,_.imageEl=void 0,_.imageWrapEl=void 0,_.originX=0,_.originY=0)}function E(e){const n=t.zoom,r=t.params.zoom;if(!_.slideEl){e&&e.target&&(_.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),_.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?_.slideEl=(0,p.e)(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:_.slideEl=t.slides[t.activeIndex]);let n=_.slideEl.querySelector(`.${r.containerClass}`);n&&(n=n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),_.imageEl=n,_.imageWrapEl=n?(0,p.a)(_.imageEl,`.${r.containerClass}`)[0]:void 0}if(!_.imageEl||!_.imageWrapEl)return;let i,a,s,l,u,d,h,m,b,g,v,w,y,k,x,E,S,P;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),_.slideEl.classList.add(`${r.zoomedSlideClass}`),"undefined"===typeof f.touchesStart.x&&e?(i=e.pageX,a=e.pageY):(i=f.touchesStart.x,a=f.touchesStart.y);const O="number"===typeof e?e:null;1===c&&O&&(i=void 0,a=void 0),n.scale=O||_.imageWrapEl.getAttribute("data-swiper-zoom")||r.maxRatio,c=O||_.imageWrapEl.getAttribute("data-swiper-zoom")||r.maxRatio,!e||1===c&&O?(h=0,m=0):(S=_.slideEl.offsetWidth,P=_.slideEl.offsetHeight,s=(0,p.b)(_.slideEl).left+o.scrollX,l=(0,p.b)(_.slideEl).top+o.scrollY,u=s+S/2-i,d=l+P/2-a,b=_.imageEl.offsetWidth,g=_.imageEl.offsetHeight,v=b*n.scale,w=g*n.scale,y=Math.min(S/2-v/2,0),k=Math.min(P/2-w/2,0),x=-y,E=-k,h=u*n.scale,m=d*n.scale,h<y&&(h=y),h>x&&(h=x),m<k&&(m=k),m>E&&(m=E)),O&&1===n.scale&&(_.originX=0,_.originY=0),_.imageWrapEl.style.transitionDuration="300ms",_.imageWrapEl.style.transform=`translate3d(${h}px, ${m}px,0)`,_.imageEl.style.transitionDuration="300ms",_.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`}function S(){const e=t.zoom,n=t.params.zoom;if(!_.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?_.slideEl=(0,p.e)(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:_.slideEl=t.slides[t.activeIndex];let e=_.slideEl.querySelector(`.${n.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),_.imageEl=e,_.imageWrapEl=e?(0,p.a)(_.imageEl,`.${n.containerClass}`)[0]:void 0}_.imageEl&&_.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,c=1,_.imageWrapEl.style.transitionDuration="300ms",_.imageWrapEl.style.transform="translate3d(0,0,0)",_.imageEl.style.transitionDuration="300ms",_.imageEl.style.transform="translate3d(0,0,0) scale(1)",_.slideEl.classList.remove(`${n.zoomedSlideClass}`),_.slideEl=void 0,_.originX=0,_.originY=0)}function P(e){const n=t.zoom;n.scale&&1!==n.scale?S():E(e)}function O(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function C(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:n,activeListenerWithCapture:r}=O();t.wrapperEl.addEventListener("pointerdown",v,n),t.wrapperEl.addEventListener("pointermove",w,r),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,y,n)})),t.wrapperEl.addEventListener("pointermove",k,r)}function T(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:n,activeListenerWithCapture:r}=O();t.wrapperEl.removeEventListener("pointerdown",v,n),t.wrapperEl.removeEventListener("pointermove",w,r),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,y,n)})),t.wrapperEl.removeEventListener("pointermove",k,r)}Object.defineProperty(t.zoom,"scale",{get:()=>m,set(e){if(m!==e){const t=_.imageEl,n=_.slideEl;i("zoomChange",e,t,n)}m=e}}),r("init",(()=>{t.params.zoom.enabled&&C()})),r("destroy",(()=>{T()})),r("touchStart",((e,n)=>{t.zoom.enabled&&function(e){const n=t.device;if(!_.imageEl)return;if(f.isTouched)return;n.android&&e.cancelable&&e.preventDefault(),f.isTouched=!0;const r=u.length>0?u[0]:e;f.touchesStart.x=r.pageX,f.touchesStart.y=r.pageY}(n)}
vendor: 4,439 bytes, line 1
1)),r("touchEnd",((e,n)=>{t.zoom.enabled&&function(){const e=t.zoom;if(!_.imageEl)return;if(!f.isTouched||!f.isMoved)return f.isTouched=!1,void(f.isMoved=!1);f.isTouched=!1,f.isMoved=!1;let n=300,r=300;const i=h.x*n,o=f.currentX+i,a=h.y*r,s=f.currentY+a;0!==h.x&&(n=Math.abs((o-f.currentX)/h.x)),0!==h.y&&(r=Math.abs((s-f.currentY)/h.y));const c=Math.max(n,r);f.currentX=o,f.currentY=s;const l=f.width*e.scale,u=f.height*e.scale;f.minX=Math.min(_.slideWidth/2-l/2,0),f.maxX=-f.minX,f.minY=Math.min(_.slideHeight/2-u/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),_.imageWrapEl.style.transitionDuration=`${c}ms`,_.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}()})),r("doubleTap",((e,n)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&P(n)})),r("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&x()})),r("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&x()})),Object.assign(t.zoom,{enable:C,disable:T,in:E,out:S,toggle:P})}function v(e){let t,n,{swiper:r,extendParams:i,on:o,emit:a,params:s}=e;r.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let c,l,u,p,_,f,h,m,b=s&&s.autoplay?s.autoplay.delay:3e3,g=s&&s.autoplay?s.autoplay.delay:3e3,v=(new Date).getTime();function w(e){r&&!r.destroyed&&r.wrapperEl&&e.target===r.wrapperEl&&(r.wrapperEl.removeEventListener("transitionend",w),m||P())}const y=()=>{if(r.destroyed||!r.autoplay.running)return;r.autoplay.paused?l=!0:l&&(g=c,l=!1);const e=r.autoplay.paused?c:v+g-(new Date).getTime();r.autoplay.timeLeft=e,a("autoplayTimeLeft",e,e/b),n=requestAnimationFrame((()=>{y()}))},k=e=>{if(r.destroyed||!r.autoplay.running)return;cancelAnimationFrame(n),y();let i="undefined"===typeof e?r.params.autoplay.delay:e;b=r.params.autoplay.delay,g=r.params.autoplay.delay;const o=(()=>{let e;if(e=r.virtual&&r.params.virtual.enabled?r.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:r.slides[r.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(o)&&o>0&&"undefined"===typeof e&&(i=o,b=o,g=o),c=i;const s=r.params.speed,l=()=>{r&&!r.destroyed&&(r.params.autoplay.reverseDirection?!r.isBeginning||r.params.loop||r.params.rewind?(r.slidePrev(s,!0,!0),a("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(r.slides.length-1,s,!0,!0),a("autoplay")):!r.isEnd||r.params.loop||r.params.rewind?(r.slideNext(s,!0,!0),a("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(0,s,!0,!0),a("autoplay")),r.params.cssMode&&(v=(new Date).getTime(),requestAnimationFrame((()=>{k()}))))};return i>0?(clearTimeout(t),t=setTimeout((()=>{l()}),i)):requestAnimationFrame((()=>{l()})),i},x=()=>{v=(new Date).getTime(),r.autoplay.running=!0,k(),a("autoplayStart")},E=()=>{r.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),a("autoplayStop")},S=(e,n)=>{if(r.destroyed||!r.autoplay.running)return;clearTimeout(t),e||(h=!0);const i=()=>{a("autoplayPause"),r.params.autoplay.waitForTransition?r.wrapperEl.addEventListener("transitionend",w):P()};if(r.autoplay.paused=!0,n)return f&&(c=r.params.autoplay.delay),f=!1,void i();const o=c||r.params.autoplay.delay;c=o-((new Date).getTime()-v),r.isEnd&&c<0&&!r.params.loop||(c<0&&(c=0),i())},P=()=>{r.isEnd&&c<0&&!r.params.loop||r.destroyed||!r.autoplay.running||(v=(new Date).getTime(),h?(h=!1,k(c)):k(),r.autoplay.paused=!1,a("autoplayResume"))},O=()=>{if(r.destroyed||!r.autoplay.running)return;const e=(0,d.g)();"hidden"===e.visibilityState&&(h=!0,S(!0)),"visible"===e.visibilityState&&P()},C=e=>{"mouse"===e.pointerType&&(h=!0,m=!0,r.animating||r.autoplay.paused||S(!0))},T=e=>{"mouse"===e.pointerType&&(m=!1,r.autoplay.paused&&P())};o("init",(()=>{r.params.autoplay.enabled&&(r.params.autoplay.pauseOnMouseEnter&&(r.el.addEventListener("pointerenter",C),r.el.addEventListener("pointerleave",T)),(0,d.g)().addEventListener("visibilitychange",O),x())})),o("destroy",(()=>{r.el.removeEventListener("pointerenter",C),r.el.removeEventListener("pointerleave",T),(0,d.g)().removeEventListener("visibilitychange",O),r.autoplay.running&&E()})),o("_freeModeStaticRelease",(()=>{(p||h)&&P()})),o("_freeModeNoMomentumRelease",(()=>{r.params.autoplay.disableOnInteraction?E():S(!0,!0)}
1)),o("beforeTransitionStart",((e,t,n)=>{!r.destroyed&&r.autoplay.running&&(n||!r.params.autoplay.disableOnInteraction?S(!0,!0):E())})),o("sliderFirstMove",(()=>{!r.destroyed&&r.autoplay.running&&(r.params.autoplay.disableOnInteraction?E():(u=!0,p=!1,h=!1,_=setTimeout((()=>{h=!0,p=!0,S(!0)}),200)))})),o("touchEnd",(()=>{if(!r.destroyed&&r.autoplay.running&&u){if(clearTimeout(_),clearTimeout(t),r.params.autoplay.disableOnInteraction)return p=!1,void(u=!1);p&&r.params.cssMode&&P(),p=!1,u=!1}})),o("slideChange",(()=>{!r.destroyed&&r.autoplay.running&&(f=!0)})),Object.assign(r.autoplay,{start:x,stop:E,pause:S,resume:P})}function w(e,t){const n=(0,p.l)(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function y(e){let{swiper:t,duration:n,transformElements:r,allSlides:i}=e;const{activeIndex:o}=t;if(t.params.virtualTranslate&&0!==n){let e,n=!1;e=i?r:r.filter((e=>{const n=e.classList.contains("swiper-slide-transform")?(e=>{if(!e.parentElement)return t.slides.filter((t=>t.shadowRoot&&t.shadowRoot===e.parentNode))[0];return e.parentElement})(e):e;return t.getSlideIndex(n)===o})),e.forEach((e=>{(0,p.j)(e,(()=>{if(n)return;if(!t||t.destroyed)return;n=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function k(e){let{swiper:t,extendParams:n,on:r}=e;n({fadeEffect:{crossFade:!1}});!function(e){const{effect:t,swiper:n,on:r,setTranslate:i,setTransition:o,overwriteParams:a,perspective:s,recreateShadows:c,getEffectParams:l}=e;let u;r("beforeInit",(()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),s&&s()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)})),r("setTranslate",(()=>{n.params.effect===t&&i()})),r("setTransition",((e,r)=>{n.params.effect===t&&o(r)})),r("transitionEnd",(()=>{if(n.params.effect===t&&c){if(!l||!l().slideShadows)return;n.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),c()}})),r("virtualUpdate",(()=>{n.params.effect===t&&(n.slides.length||(u=!0),requestAnimationFrame((()=>{u&&n.slides&&n.slides.length&&(i(),u=!1)})))}))}({effect:"fade",swiper:t,on:r,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let n=0;n<e.length;n+=1){const e=t.slides[n];let r=-e.swiperSlideOffset;t.params.virtualTranslate||(r-=t.translate);let i=0;t.isHorizontal()||(i=r,r=0);const o=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),a=w(0,e);a.style.opacity=o,a.style.transform=`translate3d(${r}px, ${i}px, 0px)`}},setTransition:e=>{const n=t.slides.map((e=>(0,p.l)(e)));n.forEach((t=>{t.style.transitionDuration=`${e}ms`})),y({swiper:t,duration:e,transformElements:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}var x=function(){var e=(0,a.useState)(null),t=e[0],n=e[1],r=(0,a.useRef)(null);return(0,a.useEffect)((function(){r.current&&n(r.current)}),[]),[t,r]}
1,E=n(20638),S=n(24246),P=["list","render","renderSlideProps","className","swiperClassName","data-t-mod","navigation","navigationHideWhenDisabled","pagination","loop","autoplay","slidesPerView","zoom","scrollbar","extraRender","iconPrev","iconNext","onTransitionEnd"],O=["className"];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 T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t){var n=e.list,r=void 0===n?[]:n,s=e.render,d=e.renderSlideProps,p=e.className,_=e.swiperClassName,h=e["data-t-mod"],w=e.navigation,y=void 0!==w&&w,C=e.navigationHideWhenDisabled,j=void 0!==C&&C,A=e.pagination,D=void 0!==A&&A,N=e.loop,I=void 0!==N&&N,R=e.autoplay,L=e.slidesPerView,M=e.zoom,z=void 0!==M&&M,Z=e.scrollbar,F=void 0!==Z&&Z,V=e.extraRender,B=e.iconPrev,U=void 0===B?(0,S.jsx)(E.C,{direction:"left",className:"icon-arrow-left"}):B,G=e.iconNext,q=void 0===G?(0,S.jsx)(E.C,{direction:"right",className:"icon-arrow-right"}):G,H=e.onTransitionEnd,K=(0,o.Z)(e,P),W=(0,a.useRef)(null),$=(0,a.useRef)(null),Y=(0,a.useRef)(),X=x(),J=(0,i.Z)(X,2),Q=J[0],ee=J[1],te=x(),ne=(0,i.Z)(te,2),re=ne[0],ie=ne[1],oe=r.length<2||"number"===typeof L&&r.length<=L,ae=!(oe||!y)&&T({prevEl:Q,nextEl:re,disabledClass:j?"hidden":"disabled"},!0===y?{}:y),se=!(oe||!D)&&(!0===D?{clickable:!0,disableOnInteraction:!1}:T(T({},D),{},{disableOnInteraction:!1})),ce=function(){return W.current};return(0,a.useImperativeHandle)(t,(function(){return{getContainerEl:function(){return $.current},getSwiperEl:function(){var e;return null===(e=ce())||void 0===e?void 0:e.el},slideTo:function(e,t){var n;return null===(n=ce())||void 0===n?void 0:n.slideTo(e,t)},slideToLoop:function(e,t){var n;return null===(n=ce())||void 0===n?void 0:n.slideToLoop(e,t)},slideNext:function(e,t){var n;return null===(n=ce())||void 0===n?void 0:n.slideNext(e,t)},slidePrev:function(e,t){var n;return null===(n=ce())||void 0===n?void 0:n.slidePrev(e,t)},startAutoplay:function(){var e;return null===(e=ce())||void 0===e?void 0:e.autoplay.start()},stopAutoplay:function(){var e;return null===(e=ce())||void 0===e?void 0:e.autoplay.stop()},zoomIn:function(){var e;return null===(e=ce())||void 0===e?void 0:e.zoom.in()},zoomOut:function(){var e;return null===(e=ce())||void 0===e?void 0:e.zoom.out()},zoomToggle:function(){var e;return null===(e=ce())||void 0===e?void 0:e.zoom.toggle()},activeIndex:function(){var e;return null===(e=ce())||void 0===e?void 0:e.realIndex}}})),0===r.length?null:(0,S.jsxs)("div",{className:c()(p,l),ref:$,children:[(0,S.jsxs)(u.tq,T(T({className:c()(_,"g-swiper"),"data-t-mod":h,navigation:ae,pagination:se,loop:!oe&&I,autoplay:R,slidesPerView:L,zoom:!0===z?{toggle:!1}:z,onSwiper:function(e){return W.current=e},scrollbar:F,modules:[f,m,k,v,g,b],onTransitionEnd:function(e){clearTimeout(Y.current),Y.current=window.setTimeout((function(){null===H||void 0===H||H(e)}),350)}},K),{},{children:[(null===V||void 0===V?void 0:V.preList)&&(0,S.jsx)(u.o5,{className:"swiper-slide-auto",children:V.preList},"preList"),r.map((function(e,t){var n=(null===d||void 0===d?void 0:d(e,t))||{},r=n.className,i=(0,o.Z)(n,O);return"auto"===L&&(r=c()(r,"swiper-slide-auto")),(0,S.jsx)(u.o5,T(T({className:c()(r,"g-swiper-slide")},i),{},{children:null===s||void 0===s?void 0:s(e,t)}),t)})),(null===V||void 0===V?void 0:V.afterList)&&(0,S.jsx)(u.o5,{className:"swiper-slide-auto",children:V.afterList},"afterList")]})),!1!==ae&&(0,S.jsxs)("div",{className:"g-navigation",children:[(0,S.jsx)("div",{ref:ee,className:"g-prev",children:U}),(0,S.jsx)("div",{ref:ie,className:"g-next",children:q})]})]})}var A=(0,a.forwardRef)(j)},87025:function(e,t,n){"use strict";n.d(t,{G3:function(){return v},fX:function(){return w}});var r=n(90849),i=n(97865),o=n(27378),a=n(94253),s=n(76174),c=n(1605),l=n(8437),u=n(56840);function d(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,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,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={};function m(e){var t=(0,u.qH)(e,["variantId","trackId","productTrackCode","variantTrackCode","categoryTrackCode","dealPrice","shopPrice","listTrackCode","num","position","track"]);return t.listTrackCode||(t.listTrackCode="module"in e?e.module:""),t}function b(e){return(0,u.qH)(e,["action","targetType","target","relTarget","module","position","creative","content","value"])}function g(e){delete h[e]}var v=(0,a.D)(200,(function(){var e=[],t=[];Object.entries(h).forEach((function(n){var r=(0,i.Z)(n,2),o=r[0],a=r[1],s=a.node,u=a.data;(function(e){return e&&(0,c.v4)(e)&&((0,c.pn)(e)||!!e.getAttribute("data-aos"))})(s)&&((0,l.kK)(u)&&t.push(b(u)),(0,l.v_)(u)&&e.push(m(u)),g(o))})),e.length>0&&(0,l.si)(e),t.length>0&&(0,l.Du)(t)})),w=function(e){var t=e.trigger,n=void 0===t?"impr click":t,r=e.data,i=e.onClick,a=e.disableProdAttributes,c=void 0!==a&&a,u=e.async,p=void 0!==u&&u,_=e.children,w=(0,o.useRef)(null),y=(0,o.useRef)(!1),k=!!r&&(0,l.v_)(r),x=!!r&&(0,l.kK)(r),E={ref:w};r&&(x&&(E["data-t-tar"]=String(r.target||""),E["data-t-pos"]=String(r.position||"")),k&&!c&&(E["data-t-vid"]=r.variantId||void 0,E["data-t-price"]="track"in r?r.shopPrice:Number(r.dealPrice)||r.shopPrice));var S,P=function(e){var t=w.current;if(t&&r){var n=t.querySelectorAll(".js-track-link");if(n.length>0){for(var o=!1,a=0;a<n.length;a++)if((0,s.xq)(e,n[a])){o=!0;break}if(!o)return}x&&(0,l.Du)(f(f({},b(r)),{},{action:"click"})),k&&(0,l.Cg)(m(r)),null===i||void 0===i||i()}};return(0,o.useEffect)((function(){var e=null===w||void 0===w?void 0:w.current;if(e&&r&&!y.current){y.current=!0;var t,i=n.includes("impr");n.includes("click")&&(0,s.vP)(e,"click",P),i&&(!function(e,t){var n=(0,l.P9)(t);h[n]||(h[n]={node:e,data:t})}(e,f(f({},r),{},{action:"impr"})),(t=new IntersectionObserver((function(e){var n,r=d(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.isIntersecting&&(v(),t.unobserve(i.target))}}catch(o){r.e(o)}finally{r.f()}}),{rootMargin:"0px 0px 0px 0px"})).observe(e)),p&&"module"in r&&(0,l.yq)(r.module)}}),[r]),(0,o.useEffect)((function(){return function(){if(r&&y.current){var e=(0,l.P9)(r),t=n.includes("impr");e&&t&&g(e)}}}),[]),r?(S="function"===typeof _?_({trackClick:P}):_,(0,o.isValidElement)(S)?(0,o.cloneElement)(S,E):null):(S="function"===typeof _?_():_,(0,o.isValidElement)(S)?S:null)};t.ZP=w},23355:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(27378),i=n(31542),o=n(60042),a=n.n(o),s="wrap_k8pUT",c="float_YeLq3",l="close_aCwhK",u=n(81628),d=n(1605),p=n(76174),_=n(56591),f=n(72202),h=n(99148),m=n(24246),b=function(e){var t=e.className,n=e.src,o=e.visible,b
1=(0,f.Kw)("rootStore").ua,g=(0,r.useState)(!1),v=g[0],w=g[1],y=(0,r.useRef)(null),k=(0,r.useRef)(null),x=(0,r.useRef)(!1),E=(0,r.useRef)(null),S=function(){var e=null===y||void 0===y?void 0:y.current,t=null===k||void 0===k?void 0:k.current,n=E.current.getElements();(0,d.v4)(e)?(e.querySelector("video")||(b.isMobile&&(n.video.controls=!0),e.appendChild(n.wrap)),t.style.display="none"):x.current&&(t.querySelector("video")||(b.isMobile&&(n.video.controls=!1),t.appendChild(n.wrap)),t.style.display="block")};return(0,r.useEffect)((function(){w(!0)}),[]),(0,r.useEffect)((function(){if(o)return E.current&&E.current.play(),(0,p.vP)(window,"scroll",S),function(){(0,p.xC)(window,"scroll",S)};E.current&&E.current.pause()}),[o]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{ref:y,className:a()(t,s),children:(0,m.jsx)(h.ZP,{src:n,ref:E,onPlay:function(){return x.current=!0},onPause:function(){return x.current=!1},controls:!0,muted:!0})}),o&&v&&(0,i.createPortal)((0,m.jsx)("div",{ref:k,className:c,style:{display:"none"},children:(0,m.jsx)(_.Z,{type:"text",icon:(0,m.jsx)(u.Z,{className:"icon-x"}),className:l,onClick:function(){var e=null===y||void 0===y?void 0:y.current,t=null===k||void 0===k?void 0:k.current,n=E.current.getElements();n.video.pause(),b.isMobile&&(n.video.controls=!0),e.appendChild(n.wrap),t.style.display="none"}})}),document.body)]})},g=r.memo(b)},25494:function(e,t,n){"use strict";n.d(t,{j4:function(){return j}});var r=n(90849),i=n(27378),o=n(32996),a=n(49589),s=n(60042),c=n.n(s),l="share-m_K5ICH",u=n(83033),d=n(16918),p=n(81628),_=n(97421),f=n(44859),h=n(72202),m=n(49696),b=n(18762),g=n(87025),v=n(8437),w=n(77185),y=n(52395),k=n(86677),x=n(88303),E=n(46918),S=n(24246);function P(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?P(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=function(e){var t=e.className,n=void 0===t?"":t,r=e.trackTargetPrefix,i=e.shareUrls,s=e.onClickItem,c=e.showName,l=void 0===c||c,u=e.onClose,p=(0,o.IA)().t;return(0,S.jsx)("div",{className:n,children:(0,S.jsx)("div",{className:"g-list g-sns-list flex",children:["facebook","x","whatsapp"].map((function(e){var t=(0,w.h)().find((function(t){return t.channel===e}));return t?(0,S.jsx)(g.ZP,{trigger:"click",data:(0,b.Z)(t.track,r),children:(0,S.jsx)("div",{className:"g-item",onClick:function(){null===s||void 0===s||s({channel:e}),u()},children:(0,S.jsx)(d.r,{href:(null===i||void 0===i?void 0:i["".concat(e,"Url")])||"",children:(0,S.jsxs)("a",{target:"_blank",children:[(0,S.jsx)(a.E,{className:"g-sns-icon",src:t.imageUrl,width:42,fixed:!0,background:!1,pure:!0}),l&&(0,S.jsx)("span",{className:"g-title",children:t.langCode&&p(t.langCode)||t.text})]})})})},e):""}))})})},T=(0,h.Pi)((function(e){var t=e.media,n=e.showThumb,r=e.title,i=e.trackTargetPrefix,s=e.onClickItem,c=e.shareUrls,l=e.onClose,u=(0,o.IA)().t,d=c||{},f=d.shortUrlsObj,h=d.urlsObj,m=d.isLoading,v=(null===f||void 0===f?void 0:f.other)||(null===h||void 0===h?void 0:h.other)||"";return(0,S.jsxs)("div",{"data-t-mod":b.d,children:[n&&(0,S.jsxs)("div",{className:"g-thumb flex",children:[t&&(0,S.jsx)(a.E,{src:t,width:60,fixed:!0}),(0,S.jsx)("div",{className:"flex flex-1 flex-vertical flex-justify",children:(0,S.jsx)("div",{className:"g-name",children:r})})]}),(0,S.jsxs)(y.Z,{spinning:m,children:[(0,S.jsx)(C,{onClickItem:s,onClose:l,shareUrls:c,trackTargetPrefix:i}),(0,S.jsxs)("div",{className:"g-list flex",children:[(0,S.jsx)(g.ZP,{trigger:"click",data:(0,b.Z)("CopyLink",i),children:(0,S.jsxs)("div",{className:"g-item",onClick:function(){navigator.clipboard.writeText(v).then((function(){_.v.success(u("web_common_link_copied_tip"))})).catch((function(e){_.v.error(e.message)})),l(),null===s||void 0===s||s({channel:"copyLink"})}
1,children:[(0,S.jsx)("div",{className:"g-icon g-other-icon",children:(0,S.jsx)(p.Z,{className:"icon-link"})}),(0,S.jsx)("p",{className:"g-title",children:u("web_common_share_copy_link")})]})}),(0,S.jsx)(g.ZP,{trigger:"click",data:(0,b.Z)("More",i),children:(0,S.jsxs)("div",{className:"g-item",onClick:function(){navigator.share?(navigator.share({url:v,text:r}),l(),null===s||void 0===s||s({channel:"copyLink"})):_.v.error(u("web_common_share_unsupport_tip"))},children:[(0,S.jsx)("div",{className:"g-icon g-other-icon",children:(0,S.jsx)(p.Z,{className:"icon-more-horizontal"})}),(0,S.jsx)("p",{className:"g-title",children:u("web_common_more")})]})})]})]})]})})),j=(0,h.Pi)((0,i.forwardRef)((function(e,t){var n=e.url,r=e.title,a=e.media,s=e.trackTargetPrefix,d=e.className,p=e.children,_=e.onClickItem,g=e.shareUrls,w=e.utmQuery,y=e.needLogin,P=void 0===y||y,C=(0,k.useRouter)(),j=(0,h.oR)().userStore,A=(0,i.useState)(!1),D=A[0],N=A[1],I=(0,h.Kw)("rootStore").ua.isApp,R=(0,o.IA)().t,L=g||(0,f.C)({url:n,utmQuery:w});return(0,i.useImperativeHandle)(t,(function(){return{onClose:function(){return N(!1)}}})),(0,S.jsxs)(S.Fragment,{children:[null===p||void 0===p?void 0:p({open:L.isLoading?function(){}:function(){if(!P||j.checkAuth())if(I){var e=L||{},t=e.shortUrlsArray,n=void 0===t?[]:t,i=e.urlsObj,o=void 0===i?{}:i,c={links:n.length?n:Object.keys(o).map((function(e){return{type:e,link:o[e]}}))};r&&(c.text=r),a&&(c.images=[a]),(0,m.It)(c,(function(){return null===_||void 0===_?void 0:_()}))}else N(!0),(0,v.Du)(O({action:"impr"},(0,b.Z)("SharePopup",s))),(0,v.yq)(b.d);else I?(0,m.Al)():C.push((0,E.generatePath)(x.g.LOGIN,{redirect:C.asPath}))}}),!I&&(0,S.jsx)(u.dy,{className:c()(d,l),open:D,onOpenChange:N,title:R("web_common_share_popup_title"),body:(0,S.jsx)(T,O(O({},e),{},{shareUrls:L,onClose:function(){return N(!1)}}))})]})})))},7153:function(e,t,n){"use strict";n.d(t,{_w:function(){return S},FP:function(){return O}});var r=n(90849),i=n(52395),o=n(6133),a=n(32996),s=n(49589),c=n(24903),l=n(60042),u=n.n(l),d="share-pc_HXduD",p="share-channel-list_xD-S-",_=n(44859),f=n(72202),h=n(18762),m=n(87025),b=n(8437),g=n(77185),v=n(88303),w=n(86677),y=n(46918),k=n(24246);function x(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 E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=function(e){var t=e.className,n=void 0===t?"":t,r=e.trackTargetPrefix,i=e.onClickItem,o=(e.showName,e.url),l=e.size,d=void 0===l?32:l,p=e.utmQuery,b=e.needLogin,x=void 0===b||b,E=e.shareUrls||(0,_.C)({url:o,utmQuery:p}),S=(0,w.useRouter)(),P=(0,f.oR)().userStore;(0,a.IA)().t;return(0,k.jsx)("div",{className:u()(n,"text-nowrap"),"data-t-mod":h.d,children:(0,k.jsx)("div",{className:"g-list flex",children:["facebook","x"].map((function(e){var t=(0,g.h)().find((function(t){return t.channel===e}));return t?(0,k.jsx)(m.ZP,{trigger:"click",data:(0,h.Z)(t.track,r),children:(0,k.jsx)("div",{className:"g-item",children:(0,k.jsx)(s.E,{className:"g-icon",src:t.imageUrl,width:d,fixed:!0,background:!1,onClick:function(){if(!x||P.checkAuth()){var n=Math.round(((0,c.getWindowWidth)()-930)/2),r=Math.round(((0,c.getWindowHeight)()-680)/2);null===i||void 0===i||i({channel:e}),window.open(null===E||void 0===E?void 0:E["".concat(e,"Url")],t.channel,"width=".concat(930,",height=").concat(680,",left=").concat(n,",top=").concat(r,",scrollbars=yes"))}else S.push((0,y.generatePath)(v.g.LOGIN,{redirect:S.asPath}))}})})},e):""}))})})},P=(0,f.Pi)((function(e){var t=e.url,n=(e.size,e.utmQuery),r=(e.trackTargetPrefix,e.onClickItem),o=(e.needLogin,e.shareUrls||(0,_.C)({url:t,utmQuery:n})),s=o.isLoading,c=(0,a.IA)().t;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("h3",{children:c("web_common_share_popup_title")}),(0,k.jsx)(i.Z,{spinning:s,children:(0,k.jsx)(S,E({className:p,onClickItem:r,shareUrls:o},e))})]})})),O=function(e){var t=e.className,n=e.children,r=e.trackTargetPrefix,i=e.afterOpen;return(0,k.jsx)(o.Z,{destroyTooltipOnHide:!0,trigger:["click","click"],overlayClassName:u()(t,d),content:(0,k.jsx)(P,E({},e)),placement:"bottom",onOpenChange:function(e){e&&((0,b.Du)(E({action:"impr"},(0,h.Z)("SharePopup",r))),(0,b.yq)(h.d),null===i||void 0===i||i())},children:n})}},77185:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});"https://".concat("image.next.vivosun.com","/");var r={facebook:"file-asset/file/42de23524d51930efe393c04ff1bf321.svg",x:"asset/width-126/picture/6a3ebbd61918561d772d5771ee948013.png",whatsApp:"asset/width-126/picture/01b1118802bf27b3d723fc74e71bfbe1.png"},i=n(7756),o=[{channel:"other",utmSource:"unknown"},{channel:"facebook",utmSource:"facebook",imageUrl:r.facebook,track:"Facebook",text:"Facebook",langCode:"web_common_share_facebook_title"},{channel:"x",utmSource:"x",imageUrl:r.x,track:"X",text:"X",langCode:""},{channel:"whatsapp",utmSource:"whatsapp",imageUrl:r.whatsApp,track:"WhatsApp",text:"WhatsApp",langCode:""}];function a(){var e=i.Z.shareChannelsConfig;return Array.isArray(e)&&e.length>0?e:o}},44859:function(e,t,n){"use strict";n.d(t,{C:function(){return g}});var r=n(55732),i=n(90849),o=n(34707),a=n.n(o),s=n(27378),c=n(72202),l=n(7756),u=n(46918),d=n(76803),p=n(8437),_=n(18762),f=n(44154),h=n(77185);function m(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?m(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e){var t=e.url,n=e.utmQuery,i=e.requireReferralCode,o=void 0!==i&&i,m=(0,s.useState)(),g=m[0],v=m[1],w=(0,s.useState)({obj:void 0,array:[]}),y=w[0],k=w[1],x=(0,s.useState)(!1),E=x[0],S=x[1],P=(0,c.oR)(),O=P.rootStore.state,C=O.host,T=O.envName,j=P.userStore.state.referralCode,A=(0,d.Ok)(j,n),D=(0,h.h)(),N=t||g||"/";/^(http:|https:)*\/\//.test(N)||(N="https://".concat("dev"!==T?C:l.Z.domain)+N);var I=function(e,t,n){var r={};return(0,h.h)().forEach((function(i){r[i.channel]=(0,u.updateUrl)(e,b(b({refid:t||void 0},n),{},{utm_source:i.utmSource}))})),r}(N,j,A),R=function(){var e=(0,r.Z)(a().mark((function e(){var t,n,r,i,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,S(!0),t=D.map((function(e){return I[e.channel]||""})),e.next=5,(0,f.K)(t);case 5:n=e.sent,r=n.urlList,i={},o=D.map((function(e,t){var n=r[t],o=e.channel;return i[o]=n,{type:o,link:n}})),k({obj:i,array:o}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),console.log({e:e.t0});case 15:return e.prev=15,S(!1),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[0,12,15,18]])})));return function(){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){t||v(window.location.href)}),[]),(0,s.useEffect)((function(){(!o||o&&j)&&(R().then(),(0,p.yq)(_.d))}),[j]);var L={};return D.forEach((function(e){if("other"!==e.channel){var t=function(e){var t;return(null===(t=y.obj)||void 0===t?void 0:t[e])||I[e]||""}(e.channel),n=function(e,t){if(!t)return"";switch(e){case"facebook":return"https://www.facebook.com/dialog/share?app_id=".concat(l.Z.facebook.appId,"&display=popup&href=").concat(encodeURIComponent(t));case"x":return"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(t));case"whatsapp":return"https://wa.me/?text=".concat(encodeURIComponent(t));default:return""}}(e.channel,t);n&&(L[e.channel]=n)}})),{isLoading:E,urlsObj:I,shortUrlsArray:y.array,shortUrlsObj:y.obj,channelUrls:L,facebookUrl:L.facebook||"",xUrl:L.x||"",whatsappUrl:L.whatsapp||""}}},18762:function(e,t,n){"use strict";n.d(t,{Z:function(){return c},d:function(){return a}});var r=n(90849);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 o(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){(0,r.Z)(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}var a=(0,n(98173).V_)({moduleId:"share item"}),s={targetType:"other",module:a};function c(e,t){var n=t?"".concat(t,"."):"";return o(o({},s),{},{target:"".concat(n).concat(e),relTarget:"".concat(n,"SharePopup")})}},62959:function(e,t,n){"use strict";var r=n(90849),i=n(90089),o=(n(27378),n(11580)),a=n(60042),s=n.n(a),c=n(24246),l=["className","onChange","value","max"];function u(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}t.Z=function(e){var t=e.className,n=e.onChange,a=e.value,d=e.max,p=(0,i.Z)(e,l);return(0,c.jsx)(o.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({tabIndex:0,className:s()("g-qty",t),value:a,onChange:function(e){return n(Number(e))},min:1,max:d},p))}},35519:function(e,t,n){"use strict";n.d(t,{p:function(){return I}});var r=n(90849),i=n(90089),o={"fill-placeholder-child":"fill-placeholder-child_kKj19",name:"name_fjEct","g-prod-share":"g-prod-share","activity-tag":"activity-tag_-asor","product-tag":"product-tag_qPamw"},a=n(16918),s=n(72607),c=n(55732),l=n(34707),u=n.n(l),d=n(27378),p=n(56591),_=n(7153),f=n(56850),h=n(60042),m=n.n(h),b=n(69640),g=n(32996),v=n(49589),w=n(1779),y=n(24246),k=function(e){var t=e.task,n=(0,g.IA)().t,r=t.link;return t.taskAction===w.Vv.None?null:(0,y.jsx)(p.Z,{target:"_blank",type:"primary",size:"small",href:r,children:n("web_common_go_upper")})},x=function(e){var t=e.task;
1return(0,y.jsx)("div",{className:"g-item-container",children:(0,y.jsxs)("div",{className:"g-task-item flex flex-1 flex-vertical flex-justify",children:[(0,y.jsxs)("div",{children:[(0,y.jsx)("div",{className:"g-icon",children:(0,y.jsx)(v.Z,{src:t.icon,width:32,height:32,fixed:!0,background:!1})}),(0,y.jsx)("div",{className:"g-name",children:t.taskName})]}),(0,y.jsxs)("div",{className:"flex flex-middle flex-justify",children:[(0,y.jsxs)("div",{className:"g-points flex flex-middle",children:[(0,y.jsx)(b.M,{className:"g-points-icon",size:22}),(0,y.jsx)("span",{children:t.points})]}),(0,y.jsx)("div",{className:"g-go-button",children:(0,y.jsx)(k,{task:t})})]})]})})},E=function(e){var t=e.task;return(0,y.jsx)(x,{task:t})},S="task-success-popup_p-7Kn",P=function(e){var t,n=e.shareData,r=e.open,i=e.onClosePopup,o=e.className,a=(0,g.IA)().t,s=(null===n||void 0===n||null===(t=n.tasks)||void 0===t?void 0:t.filter((function(e){return!e.taskDone})))||[];return(0,y.jsx)(f.Z,{width:"90%",footer:!1,centered:!0,className:m()(S,o,"wrapper-full"),open:r,onCancel:function(){return i()},destroyOnClose:!0,maskClosable:!1,children:(0,y.jsxs)("div",{className:"g-success-wrap text-center",children:[(0,y.jsx)("p",{className:"g-title",children:a("web_common_congratulations")}),(0,y.jsxs)("div",{children:[(0,y.jsx)(b.M,{size:78}),(0,y.jsxs)("p",{className:"g-rewards-points",children:["+ ",(null===n||void 0===n?void 0:n.points)||0]})]}),!(null===s||void 0===s||!s.length)&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("p",{className:"g-rest-tasks-title",children:["-",a("web_shop_tutorial_more_task"),"-"]}),(0,y.jsx)("div",{className:m()("g-rest-tasks flex flex-center",{"flex-vertical":false}),children:null===s||void 0===s?void 0:s.map((function(e,t){return(0,y.jsx)(E,{task:e})}))})]})]})})},O=n(57471),C=(n(25494),n(4743)),T=function(e){var t=e.shownVariant,n=(e.className,(0,d.useState)()),r=n[0],i=n[1],o=(0,d.useState)(!1),a=o[0],s=o[1],l=function(){var e=(0,c.Z)(u().mark((function e(){var n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,O.u8)({variantId:t.variantId});case 3:((n=e.sent).success||n.points)&&(i(n),s(!0)),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(P,{shareData:r,open:a,onClosePopup:function(){s(!1)}}),(0,y.jsx)(_.FP,{url:t.url,utmQuery:{utm_term:t.variantId},trackTargetPrefix:t.variantId,onClickItem:l,children:(0,y.jsx)(C.M,{className:"g-prod-share"})})]})},j=["shownVariant","isQuickView","canJump","showShare"];function A(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 D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N=function(e){var t=e.shownVariant;return(0,y.jsx)("h1",{tabIndex:0,children:t.name||t.productName})},I=function(e){var t=e.shownVariant,n=e.isQuickView,r=e.canJump,c=e.showShare,l=void 0===c||c,u=(0,i.Z)(e,j),d={shownVariant:t,tagType:(0,s.n4)(t)};return(0,y.jsx)("div",D(D({className:o.title},u),{},{children:(0,y.jsxs)("div",{className:m()(o.name,"g-name"),children:[(0,y.jsx)("div",{className:"flex-1",children:n&&r?(0,y.jsx)(a.Z,{href:t.url,children:(0,y.jsx)("a",{target:"_blank",rel:"noopener",children:(0,y.jsx)(N,D({},d))})}):(0,y.jsx)(N,D({},d))}),l&&(0,y.jsx)(T,{shownVariant:t})]})}))}},57471:function(e,t,n){"use strict";n.d(t,{FM:function(){return y},V7:function(){return b},hX:function(){return S},ld:function(){return x},ne:function(){return v},sb:function(){return h},u8:function(){return P},xx:function(){return _}});var r=n(90849),i=n(90089),o=n(55732),a=n(34707),s=n.n(a),c=n(27551),l=(n(85046),n(37117),n(72579),["spuInfo"]),u=["variantId"];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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e){return f.apply(this,arguments)}function f(){return(f=(0,o.Z)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.Z.get("/web/product/spuV2",{params:t}).then((function(e){var t=e.spuInfo;return p(p({},(0,i.Z)(e,l)),t)})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=(0,o.Z)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.Z.get("/web/product/spu/together/v5",{params:{productId:t.productId,variantId:t.variantId}}).then((function(e){return e.togetherItemList})).catch((function(e){return console.log(e),[]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return g.apply(this,arguments)}function g(){return(g=(0,o.Z)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.Z.post("/web/cart/buy/together/calculate",{data:{variantId:t.variantId,togetherVariantIds:t.togetherVariantIds}}).then((function(e){return e})).catch((function(e){return console.log(e),null})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return w.apply(this,arguments)}function w(){return(w=(0,o.Z)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.Z.get("/web/product/addOns",{params:{productId:t.productId,variantId:t.variantId}}).then((function(e){return e.addOns})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){return k.apply(this,arguments)}function k(){return k=(0,o.Z)(s().mark((function e(t){var n,r,i=arguments;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:"defaultAdd",r=i.length>2?i[2]:void 0,e.abrupt("return",c.Z.post("/web/cart/v2/add",{data:{cartItems:t,addType:n,deleteItemIds:r}}));case 3:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function x(e){return E.apply(this,arguments)}function E(){return(E=(0,o.Z)(s().mark((function e(t){var n,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.variantId,r=(0,i.Z)(t,u),e.abrupt("return",c.Z.get("/web/product/variant/recommend/".concat(n),{params:r}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e){return c.Z.post("/web/cart/v2/checkGroupValid",{data:{variantNums:e}})}function P(e){return c.Z.post("/web/share/product/finish",{data:e})}},56370:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(73679),i=n(55732),o=n(90849),a=n(34707),s=n.n(a),c=n(27378),l=n(57471),u=n(72202),d=n(8437),p=n(86677),_=n(97421),f=n(72607),h=n(40235),m=n(46885),b=n(69380),g=n(31198),v=n(98522),w=n(51657),y=n(62157),k=n(50232),x=n(37117);function E(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 S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=function(e,t){return t.map((function(t){return S(S({},t),{},{checkedOption:t.productOptionValues.find((function(t){return t.productVariantIds.includes(e)}))})}))},O=function(e,t,n){var r=n;for(var i in e){var o=+i,a=e[o];if(o>=t)break;a.checkedOption&&(r=C(r,a.checkedOption.productVariantIds))}return r},C=function(e,t){return e.filter((function(e){return t.includes(e)}))},T=function(e,t,n){return e.map((function(r,i){var o=O(e,i,t);return S(S({},r),{},{productOptionValues:r.productOptionValues.map((function(e){var t=0===C(o,e.productVariantIds).length,r=0===C(n,e.productVariantIds).length;return S(S({},e),{},{disabled:t,outOfStock:r})}))})}))},j=function(e){var t,n,r;if(null!==e&&void 0!==e&&null!==(t=e.gifts)&&void 0!==t&&null!==(n=t.detail)&&void 0!==n&&null!==(r=n.options)&&void 0!==r&&r.length){var i=e.gifts.detail.options;return i.find((function(e){return e.default}))||i[0]}};function A(e){var t=e||{},n=t.module,a=t.trackModuleId,E=t.spuInfo,A=t.defaultThumbSize,D=void 0===A?100:A,N=t.
1isHiddenOption,I=void 0!==N&&N,R=t.changeUrlWhenCheckOption,L=void 0===R||R,M=t.disableBuyNow,z=void 0!==M&&M,Z=t.getThumbSrc,F=t.animateDelay,V=void 0===F?0:F,B=t.addCartType,U=t.onAddCartSuccess,G=t.onAddCartFail,q=t.showBanner,H=void 0===q||q,K=t.onChangeVariant,W=(0,w.Z)({id:"add-cart-aria-live",options:{ariaLive:"assertive"}}).onSetAriaLiveContent,$=(0,u.qm)("rootStore").ua.isPhone,Y=(0,u.oR)(),X=Y.userStore,J=Y.miniCartStore,Q=Y.rootStore,ee=X.isDealer(),te=E||{},ne=te.productVariants,re=void 0===ne?[]:ne,ie=te.productOptionList,oe=void 0===ie?[]:ie,ae=te.productType,se=I||(null===re||void 0===re?void 0:re.length)<2||1===oe.length&&1===oe[0].productOptionValues.length,ce=(0,p.useRouter)(),le=re.map((function(e){return e.productVariantId})),ue=(0,x.x$)(re),de=(0,x.e9)(E),pe=(0,c.useState)(de),_e=pe[0],fe=pe[1],he=(0,c.useState)(de),me=he[0],be=he[1],ge=(0,c.useState)(T(P(null===de||void 0===de?void 0:de.productVariantId,oe),le,ue)),ve=ge[0],we=ge[1],ye=(0,c.useState)(1),ke=ye[0],xe=ye[1],Ee=(0,c.useState)([]),Se=Ee[0],Pe=Ee[1],Oe=(0,c.useState)(j(de)),Ce=Oe[0],Te=Oe[1],je=(0,c.useState)(!1),Ae=je[0],De=je[1],Ne=(0,c.useState)(!1),Ie=Ne[0],Re=Ne[1],Le=(0,c.useState)(!1),Me=Le[0],ze=Le[1],Ze=(0,c.useState)([]),Fe=Ze[0],Ve=Ze[1],Be=(0,c.useState)({}),Ue=Be[0],Ge=Be[1],qe=(0,c.useRef)(),He=function(){var e=(0,i.Z)(s().mark((function e(t){var n,r,i=arguments;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:1,e.next=3,(0,m.U0)({variantNumList:[{variantId:t.variantId,num:n,usePerProductDiscount:t.discountPriceNumDisplay?1:0}],page:"detail"});case 3:(r=e.sent)&&Ve(r.available);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ke=function(){var e=(0,i.Z)(s().mark((function e(t){var n,i,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(H){e.next=2;break}return e.abrupt("return");case 2:if(null===(n=qe.current)||void 0===n||!n[t]){e.next=6;break}Ge(qe.current[t]),e.next=18;break;case 6:return e.prev=6,e.next=9,(0,g.K0)({name:$?"DetailPageH5_01":"DetailPagePc_01",variantId:t});case 9:i=e.sent,a={},i.forEach((function(e){var t,n,i=(null===(t=e.config)||void 0===t||null===(n=t.locationCode)||void 0===n?void 0:n.trim())||"";a.hasOwnProperty(i)?a[i]=[].concat((0,r.Z)(a[i]),[e]):a[i]=[e]})),Ge(a),qe.current=S(S({},qe.current),{},(0,o.Z)({},t,a)),e.next=18;break;case 16:e.prev=16,e.t0=e.catch(6);case 18:case"end":return e.stop()}}),e,null,[[6,16]])})));return function(t){return e.apply(this,arguments)}}(),We=function(e){var t=e.addOns.filter((function(e){return Se.includes(e.variantId)})).map((function(e){return S(S({},e),{},{num:ke})}));return[{variantId:e.variantId,trackId:e.trackId,productTrackCode:e.productTrackCode,variantTrackCode:e.variantTrackCode,categoryTrackCode:e.categoryTrackCode,shopPrice:e.shopPrice,dealPrice:e.dealPrice,num:ke}].concat((0,r.Z)(t))},$e=function(){var e=(0,i.Z)(s().mark((function e(t,n){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.FM)([{productVariantId:(null===t||void 0===t?void 0:t.productVariantId)||(null===t||void 0===t?void 0:t.variantId),num:n}]).then((function(e){e.addFailProductName&&0!==e.addFailProductName.length||(J.afterAddCart(1),null===U||void 0===U||U())})));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ye=function(){var e=(0,i.Z)(s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_e){e.next=6;break}return(0,d.Kc)(We(_e)),Re(!0),e.abrupt("return",(0,l.FM)([{productVariantId:_e.productVariantId,num:ke}].concat((0,r.Z)(Se.map((function(e){return{productVariantId:e,num:ke}})))),B).then((function(e){if(W("loading"),e.addFailProductName&&0!==e.addFailProductName.length)null===G||void 0===G||G(),_.Z.error("".concat(e.addFailProductName[0]," is temporarily unavailable."));else{var t=null===Z||void 0===Z?void 0:Z();t||(t=(0,f.M9)(_e.pics,_e.productVariantId,D));var n=[t].concat((0,r.Z)((0,h.U3)()));U?null===U||void 0===U||U():V?setTimeout((function(){J.afterAddCart(ke,n)}),V):J.afterAddCart(ke,n)}var i=(0,h.jk)(me,Se,ke),o=(0,y.T4)(i.totalPrice);setTimeout((function(){W("Adding ".concat(ke," ").concat(_e.productName,", total: ").concat(o.currencySymbol).concat(o.integer).concat(o.decimal))}),500)})).catch((function(e){null===G||void 0===G||G(),e.code==b.rA?(0,v.pF)({content:e.message,okText:"RETURN",afterClose:function(){ce.reload()}}):_.Z.error(e.message)})).finally((function(){Re(!1)})));case 6:return De(!0),e.abrupt("return",Promise.reject());case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Xe=function(){var e=(0,i.Z)(s().mark((function e(){var t,n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_e){e.next=18;break}return t=[{variantId:_e.productVariantId,num:ke}],Ce&&(t=[{variantId:Ce.variantId,num:ke}]),ze(!0),e.prev=4,e.next=7,(0,k.z)(t);
1case 7:0===(n=Number(_e.dealPrice||0))&&(n=_e.shopPrice),(0,h.o1)({revenue:(n*ke).toFixed(2),trackItems:We(_e),storageItems:[].concat((0,r.Z)(t),(0,r.Z)(Se.map((function(e){return{variantId:e,num:ke}}))))}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(4),(0,v.pF)({content:e.t0.message});case 15:ze(!1),e.next=19;break;case 18:De(!0);case 19:case"end":return e.stop()}}),e,null,[[4,12]])})));return function(){return e.apply(this,arguments)}}();return(0,c.useEffect)((function(){Q.update({pageLoading:!1})}),[me]),(0,c.useEffect)((function(){E&&function(){var e=(0,x.e9)(E);fe(e),be(e),Ke(e.variantId).then(),we(T(P(null===e||void 0===e?void 0:e.productVariantId,oe),le,ue)),xe(1),Pe([]),De(!1),Re(!1),He(e,1).then(),Te(j(e)),"detail"===n&&(0,d.Z0)({detail:null===e||void 0===e?void 0:e.variantTrackCode}),(0,d.z1)({variantId:e.variantId,trackId:e.trackId,productTrackCode:e.productTrackCode,variantTrackCode:e.variantTrackCode,categoryTrackCode:e.categoryTrackCode,shopPrice:e.shopPrice,dealPrice:e.dealPrice,listTrackCode:"detail"===n?"detail":"quickview"})}()}),[E]),{trackModuleId:a,variants:re,onSaleIds:ue,isFormHidden:se,disableBuyNow:z,groups:ve,shownVariant:me,checkedVariant:_e,onCheckOption:function(e,t){var n=(0,r.Z)(ve),i=n[e],o=i.checkedOption&&i.checkedOption.optionValueId===t.optionValueId;if(!o){if(t.disabled&&!o){var a=t.productVariantIds,s=C(ue,a),c=(null===s||void 0===s?void 0:s[0])||a[0];n=T(P(c,oe),le,ue)}else n[e]=S(S({},n[e]),{},{checkedOption:t}
1),n.forEach((function(t,r){if(r>e){var i,o=t.productOptionValues,a=(null===(i=t.checkedOption)||void 0===i?void 0:i.productVariantIds)||[],s=O(n,r,le),c=0===C(s,a).length,l=t.checkedOption;c&&a.length&&((l=o.find((function(e){var t=C(s,e.productVariantIds);return C(ue,t||[]).length})))||(l=o.find((function(e){return C(s,e.productVariantIds).length})))),n[r]=S(S({},t),{},{checkedOption:l})}}));!function(e){var t,n=T(e,le,ue);we(n);var r=n.filter((function(e){return e.checkedOption}));if(r.length===n.length){var i=le;r.forEach((function(e){i=C(i,e.checkedOption.productVariantIds)})),t=re.find((function(e){return e.productVariantId===i[0]}))}fe(t),t&&t.variantId!==me.variantId&&(be(t),Ke(t.variantId).then(),Pe([]),He(t,ke).then(),null===K||void 0===K||K(t),L&&ce.replace(t.url,t.url,{shallow:!0}))}(n)}},qty:ke,onChangeQty:function(e){"1"===Q.state.query[b.js]&&console.log(testUndefinedVar),xe(e),He(me,e).then(),W("".concat(e," ").concat(null!==_e&&void 0!==_e&&_e.productName?null===_e||void 0===_e?void 0:_e.productName:"items"))},checkedAddOns:Se,onChangeCheckedAddOns:function(e){Pe(e)},checkedGift:Ce,setCheckedGift:Te,isErrorShown:Ae,onBuyNow:Xe,onSubmit:Ye,onSubmitWithVariant:$e,submitting:Ie,buyNowLoading:Me,outOfStock:0===ue.length||!(!_e||ue.includes(_e.productVariantId)),productType:ae,isDealer:ee,availableCoupons:Fe,feature:Ue}}},72607:function(e,t,n){"use strict";n.d(t,{M9:function(){return a},eV:function(){return s},n4:function(){return c}});var r=n(85737),i=n(40397),o=n(40235);var a=function(e,t,n){if(0===e.length)return"";var o=(0,r.CT)(e,t),a=null!==o&&void 0!==o&&o.length?o[0].picLink:e[0].picLink;return(0,i.AO)(a,n,2)},s=function(e){var t=e.images,n=e.variantId,i=e.picLink,o=void 0===i?"":i;if("undefined"!==typeof t){var a=(0,r.QS)(t,n,"isMain");o=(null===a||void 0===a?void 0:a.picLink)||""}return o},c=function(e){var t=(null===e||void 0===e?void 0:e.productTagsVoList)||[];return(0,o.Ts)(t)}},3583:function(e,t,n){"use strict";n(27378);var r=n(32996),i=n(24246);t.Z=function(e){var t=e.deliveryTime,n=e.className,o=(0,r.IA)().t;return t?(0,i.jsx)(i.Fragment,{children:t&&(0,i.jsx)("span",{className:n,children:o("web_shop_crowdfunding_estimated_to_ship_in_deliverytime",{deliveryTime:t})})}):null}},92517:function(e,t,n){"use strict";n(27378);var r=n(32996),i=n(24246);t.Z=function(e){var t=e.discount,n=e.discountStyle,o=t||{},a=o.text,s=o.type,c=(0,r.IA)().t;return t?n?"OFF"===n?(0,i.jsx)(i.Fragment,{children:c("web_price_discount_off_upper",{discount:a})}):(0,i.jsxs)(i.Fragment,{children:["-",a]}):"percent"===s?(0,i.jsx)(i.Fragment,{children:c("web_price_discount_off_upper",{discount:a})}):(0,i.jsxs)(i.Fragment,{children:["-",a]}):null}},67201:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});n(27378);var r=n(24246),i=function(e){return"mailto:".concat(e)};t.Z=function(e){var t=e.className,n=e.value,i=e.renderText;return(0,r.jsx)("a",{className:t,href:"mailto:".concat(n),children:"function"===typeof i?i(n):n})}},22850:function(e,t,n){"use strict";n.d(t,{SX:function(){return _}});var r=n(90849),i=n(90089),o=(n(27378),n(98530)),a=n(71216),s=n(32996),c=n(24246),l=["showLabel","label","name","rules","inputProps"];function u(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=/^([a-z\dA-Z]+[+\-_|\.]?)+@([a-z\dA-Z]+(-[a-z\dA-Z]+){0,2}\.)+[a-zA-Z]{2,}$/,_=function(e){var t=(0,s.IA)().t,n=t("web_form_email_label"),r=e.showLabel,u=void 0===r||r,_=e.label,f=void 0===_?n:_,h=e.name,m=void 0===h?"email":h,b=e.rules,g=void 0===b?[{required:!0,message:t("web_form_email_empty_tip")},{pattern:p,message:t("web_form_email_invalid_tip")}]:b,v=e.inputProps,w=void 0===v?{}:v,y=d(d({},(0,i.Z)(e,l)),{},{label:u?f:null,name:m,rules:g,normalize:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.trim()}}),k=d({placeholder:u?void 0:n},w);return(0,c.jsxs)(c.Fragment,{children:[!y.label&&(0,c.jsx)("label",{className:"visually-hidden",htmlFor:w.id||(null===y||void 0===y?void 0:y.name),children:w.placeholder}),(0,c.jsx)(o.Z.Item,d(d({},y),{},{children:(0,c.jsx)(a.Z,d({},k))}))]})};t.ZP=_},10811:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var r=n(90849),i=n(90089),o=n(27378),a=["tag","html"];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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(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}var l=function(e){var t=e.tag,n=void 0===t?"div":t,r=e.html,s=(0,i.Z)(e,a);return r?(0,o.createElement)(n,c(c({},s),{},{dangerouslySetInnerHTML:{__html:r}})):null}},60951:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r=n(90849),i=n(90089),o=n(27378),a=n(60042),s=n.n(a),c=n(85737),l=n(56591),u="quick-view_RRmY9",d="btn_Pr5Em",p=n(81628),_=n(32996),f=n(24246),h=function(e){var t=(0,_.IA)().t,n=e.product,r=e.onQuickView;return(0,f.jsx)("div",{className:s()(u,"quick-view"),children:(0,f.jsx)(l.Z,{icon:(0,f.jsx)(p.Z,{className:"icon-eye"}),className:d,onClick:function(e){e.stopPropagation(),r(n.variantId)},children:t("web_common_btn_quick_view")})})},m=n(77682),b=(n(23767),n(49589)),g=n(58541),v=n(72202),w=n(75936),y=n(37117),k=n(40235),x=n(16904),E=(0,v.Pi)((function(e){var t=e.showTag,n=e.product,r=e.offTagShow,i=(0,v.oR)().userStore.isInfoLoaded();if(!t)return(0,f.jsx)(f.Fragment,{});if(!i)return null;var o,a="tag"in n?n.tag:(0,k.Ts)("productTagsVoList"in n?n.productTagsVoList:n.productTags),s=null===a||void 0===a?void 0:a.toLowerCase(),c=s===x.qc;return o=c?(0,y.Xk)(s,"listBanner"):(0,y.Xk)(s,"picTag"),(0,f.jsx)(f.Fragment,{children:c?(0,f.jsx)(g.Z,{tagConfig:o,className:"absolute",discountStyle:r,discount:{text:(0,k.BH)(n),type:"percent"}}):(0,f.jsx)(w.F,{tagConfig:o,className:"absolute",discountStyle:r,discount:{text:(0,k.BH)(n),type:"percent"}})})})),S=n(76498),P="images-wrap_J6uvs",O="main_q5Hkc",C="hover_91ys6",T="video-warp_5b8h4",j="hovering_cWcit",A=n(99148),D=n(72791),N=n(16918),I=["itemImageClass","hoverRef","aTarget","product","imageSize","canJump","linkProps"];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 L(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){(0,r.Z)(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}var M=function(e){var t,n=e.itemImageClass,a=e.hoverRef,c=e.aTarget,l=void 0===c?"_self":c,u=e.product,d=e.imageSize,p=void 0===d?365:d,_=e.canJump,h=void 0===_||_,m=e.linkProps,g=void 0===m?{}:m,v=(0,i.Z)(e,I),w=(0,o.useRef)(null),y=a||w,k=(0,o.useState)(!1),x=k[0],E=k[1],R=(0,o.useState)(!1),M=R[0],z=R[1],Z=(0,o.useState)(0),F=Z[0],V=Z[1],B=(0,o.useRef)(null),U=u.link,G=u.name,q=g.hoverAltText,H=g.hoverAssetLink,K=g.picLink,W=g.altText,$=(0,D.cb)(H||""),Y=h?U:void 0,X=W||G,J=null===y||void 0===y?void 0:y.current;!J&&n&&(J=null===(t=document)||void 0===t?void 0:t.querySelector(".".concat(n)));return(0,S.Z)(J,{onEnter:function(){var e;(E(!0),$)&&(null===(e=B.current)||void 0===e||e.play())},onLeave:function(){var e;(E(!1),$)&&(null===(e=B.current)||void 0===e||e.pause())}}),(0,o.useEffect)((function(){J||V((function(e){return e+1}))}),[F,J]),(0,o.useEffect)((function(){setTimeout((function(){z(!0)}),3e3)}),[]),(0,f.jsxs)("div",{ref:a?null:y,className:s()("relative",P,(0,r.Z)({},j,x)),children:[(0,f.jsx)(b.Z,L(L({},v),{},{target:l,className:s()("relative",O,{"js-track-link":h}),href:Y,src:K,alt:X,width:p,height:p})),(M||x)&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("div",{className:s()(C),children:$?(0,f.jsx)(N.Z,{href:Y,children:(0,f.jsx)("a",{className:T,target:l,children:(0,f.jsx)(A.ZP,{src:H||"",ref:B,loop:!0,muted:!0,preload:"auto"})})}):(0,f.jsx)(b.Z,L(L({},v),{},{target:q,href:Y,src:H||"",alt:X,width:p,height:p,className:s()({"js-track-link":h})}))})})]})},z=["className","moduleElementId","isHoverChangeAsset","aTarget","product","imageSize","spaceAround","spaceBelow","canJump","canShowSoldOut","showTag","offTagShow","productTag","imgExtra","onQuickView","onClick","data-t-tar","data-t-pos","data-t-vid","data-t-price"];function Z(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Z(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e){return"number"===typeof e?"".concat(e,"px"):e}function B(e,t){var n;return(e||t)&&(n={},e&&(n.padding=V(e)),t&&(n.marginBottom=V(t))),n}var U=o.forwardRef((function(e,t){var n=(0,o.useRef)(null),r=e.className,a=e.moduleElementId,l=void 0===a?"":a,u=e.isHoverChangeAsset,d=void 0!==u&&u,p=e.aTarget,_=void 0===p?"_self":p,g=e.product,v=e.imageSize,w=void 0===v?365:v,y=e.spaceAround,k=e.spaceBelow,x=e.canJump,S=void 0===x||x,P=e.canShowSoldOut,O=void 0===P||P,C=e.showTag,T=void 0!==C&&C,j=e.offTagShow,A=(e.productTag,e.imgExtra),D=e.onQuickView,N=e.onClick,I=e["data-t-tar"],R=e["data-t-pos"],L=e["data-t-vid"],Z=e["data-t-price"],V=(0,i.Z)(e,z),U=g.link,G=g.images,q=g.variantId,H=g.name,K=g.isStock,W=g.picLink,$=g.altText,Y=g.hoverAssetLink,X=g.hoverAltText;if("undefined"!==typeof G){var J=(0,c.QS)(G,q,"isMain"),Q=(0,c.QS)(G,q,"isListHover");W=(null===J||void 0===J?void 0:J.picLink)||"",$=(null===J||void 0===J?void 0:J.altText)||"",Y=(null===Q||void 0===Q?void 0:Q.picLink)||"",X=(null===Q||void 0===Q?void 0:Q.altText)||""}var ee="js-product-img-".concat(q,"-").concat(l);return(0,f.jsx)("div",{className:s()(r,ee,"g-picture"),ref:n,children:(0,f.jsxs)("div",{className:"block picture relative js-picture",ref:t,"data-t-tar":I,"data-t-pos":R,"data-t-vid":L,"data-t-price":Z,onClick:N,style:B(y,k),children:[d&&Y?(0,f.jsx)(M,F({itemImageClass:ee,hoverRef:n,aTarget:_,product:g,linkProps:{hoverAssetLink:Y,hoverAltText:X,picLink:W,altText:$},imageSize:w},V)):(0,f.jsx)(b.Z,F(F({},V),{},{target:_,href:S?U:void 0,src:W,alt:$||H,width:w,height:w,className:S?"js-track-link":void 0})),(0,f.jsx)(E,{showTag:T,product:g,offTagShow:j}),A,!K&&O&&(0,f.jsx)(m.Z,{product:g,canJump:S}),"function"===typeof D&&(0,f.jsx)(h,{product:g,onQuickView:D})]})})}))},85272:function(e,t,n){"use strict";var r=n(27378),i=n(16918),o=n(85422),a=n(60042),s=n.n(a),c=n(24246),l=r.forwardRef((function(e,t){var n=e.aTarget,r=void 0===n?"_self":n,a=e.product,l=a.link,u=void 0===l?"":l,d=a.name,p=void 0===d?"":d,_=e.canJump,f=void 0===_||_,h=e.className,m=e.onClick,b=e["data-t-tar"],g=e["data-t-pos"];return(0,c.jsx)("div",{ref:t,className:"name text-wrap","data-t-tar":b,"data-t-pos":g,children:f?(0,c.jsx)(i.Z,{href:(0,o.Z)(u),children:(0,c.jsx)("a",{target:r,className:s()(h,"js-track-link"),onClick:m,children:p})}):(0,c.jsx)("p",{className:h,onClick:m,children:p})})}));t.Z=l},77682:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});n(27378);var r=n(60042),i=n.n(r),o="sold-out-link_WPY2l",a=n(85422),s=n(16918),c=n(32996),l=n(24246),u=function(e){var t=(0,c.IA)().t,n=e.product,r=e.link,u=e.canJump,d=void 0===u||u,p=e.text,_=void 0===p?t("web_product_sold_out"):p,f=e.className,h=i()(o,f,"sold-out");return d?(0,l.jsx)(s.Z,{href:(0,a.Z)(r||(null===n||void 0===n?void 0:n.link)||""),children:(0,l.jsx)("div",{className:i()(h,"js-track-link pointer"),children:_})}):(0,l.jsx)("div",{className:h,children:_})}},63651:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var r=n(90089),i=n(27378),o=n(24246),a=["list","render","tag"],s=function(e){var t=e.list,n=e.render;return(0,o.jsx)(o.Fragment,{children:t.map((function(e,r){return(0,o.jsx)(i.Fragment,{children:n(e,{index:r,first:0===r,last:r===t.length-1})},r)}))})},c=function(e){var t=e.list,n=e.render,c=e.tag,l=void 0===c?"div":c,u=(0,r.Z)(e,a);return t&&0!==t.length?!1===l?(0,o.jsx)(s,{list:t,render:n}):(0,i.createElement)(l,u,(0,o.jsx)(s,{list:t,render:n})):null}},83398:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(90849),i=(n(27378),n(60042)),o=n.n(i),a="tag_Frl1V",s="absolute_3Xs-2",c="default-tag_WoiNY",l="xmas-tag_AKfSO",u=n(40235),d=n(32996),p=n(24246),_=function(e){var t=e.product,n=e.tag,i=e.absolute,_=void 0===i||i,f=e.text,h=void 0===f?"":f,m=n||(null===t||void 0===t?void 0:t.tag)||(0,u.Ts)(null===t||void 0===t?void 0:t.productTags),b=(0,d.IA)().t,g=o()(a,(0,r.Z)({},s,_),"tag g-tag");if(t&&!t.tag&&(0,u.Zi)(t))return(0,p.jsx)("div",{className:o()(g,c),children:b("web_shop_order_perk")});switch((null===m||void 0===m?void 0:m.toLocaleLowerCase())||""){case"surpriseegg":return(0,p.jsx)("div",{className:o()(g,c),children:b("web_eggs_cart_prod_tag")});case"earlyaccess":return(0,p.jsx)("div",{className:o()(g,c),children:b("web_shop_activity_early_access_title")});case"redeemrewards":return(0,p.jsx)("div",{className:o()(g,c),children:b("web_common_redeem")});case"slotmachine":return(0,p.jsx)("div",{className:o()(g,c),children:b("web_tag_super_slots")});case"pointsmall":return(0,p.jsx)("div",{className:o()(g,c),children:b("web_tag_points_special")});case"bonus":return(0,p.jsx)("div",{className:o()(g,c),children:h.bonus||h||b("web_shop_order_perk")});case"gift":return(0,p.jsx)("div",{className:o()(g,c),children:h.gift||h||b("web_common_gift")});case"xmassale":case"giftbox24":return(0,p.jsx)("div",{className:o()(g,l),children:b("web_tag_winter_sale")});default:return null}}},15542:function(e,t,n){"use strict";n.d(t,{mz:function(){return i}});var r=n(24246),i=function(e){return"tel:".concat(e.replace(/\s|-|\(|\)/g,""))};t.ZP=function(e){var t=e.className,n=e.value,i=e.children,o=e.areaSeparator,a=void 0===o?" ":o,s=e.numberSeparator,c=void 0===s?"-":s,l=n.replace(/\s|-|\(|\)/g,""),u=l.substr(0,2),d=[l.substr(2,3),l.substr(5,3),l.substr(8,4)];return(0,r.jsx)("a",{className:t,href:"tel:".concat(l),children:i||"".concat(u).
1concat(a).concat(d.join(c))})}},11644:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(90849),i=(n(27378),n(60042)),o=n.n(i),a="points-wrap_c-nXS",s="default-bg_hiikr",c="icon_hCMhY",l=n(69640),u=n(32996),d=n(24246),p=function(e){var t=e.className,n=e.points,i=e.hasBg,p=void 0===i||i,_=(0,u.IA)().t;return null!==n&&void 0!==n&&n.showTag?(0,d.jsxs)("div",{className:o()(t,"points-wrap",a,(0,r.Z)({},s,p)),children:[(0,d.jsx)(l.M,{className:o()("g-icon-points",c)}),_("web_product_ratio_points",{ratio:(null===n||void 0===n?void 0:n.ratio)||1})]}):(0,d.jsx)(d.Fragment,{})}},61416:function(e,t,n){"use strict";n.d(t,{f:function(){return l}});var r=n(60042),i=n.n(r),o=n(72791),a=n(49589),s=n(99148),c=n(24246),l=function(e){var t=e.className,n=e.url,r=e.alt,l=e.onClick,u=e.width,d=e.height,p=e.waitLoad,_=e.fit,f=void 0===_?"cover":_,h=e.fixed;return(0,c.jsx)("div",{className:i()(t,"thumb pointer"),onClick:l,children:(0,o.cb)(n)?(0,c.jsx)(s.ZP,{width:u,height:d,src:n,fit:f,control:{size:Math.min(u/2.5,s.U6)},disablePlay:!0}):(0,c.jsx)(a.Z,{fixed:h,src:n,alt:r,width:u,height:d,fit:f,background:!1,waitLoad:p})})};t.Z=l},17821:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});n(27378);var r=n(60042),i=n.n(r),o={"fill-placeholder-child":"fill-placeholder-child_GVGHm",prices:"prices_6tfic",horizontal:"horizontal_yeBkU","break-horizontal":"break-horizontal_chdq6",vertical:"vertical_zNO9H"},a=n(72202),s=n(24246),c=(0,a.Pi)((function(e){var t=e.product,n=t.shopPriceExchangeDisplay,r=t.dealPriceExchangeDisplay,c=t.dealerShopPriceExchangeDisplay,l=void 0===c?"":c,u=e.showDelPrice,d=void 0===u||u,p=e.className,_=e.style,f=e.direction,h=void 0===f?"break-horizontal":f,m=r&&d,b=(0,a.oR)().userStore.isDealer(),g=b&&""!==l;return b||"break-horizontal"!=h||(h="horizontal"),(0,s.jsx)("div",{style:_,className:i()(p,o.prices,o[h],h,"prices",{"prices-deal":m}),children:m?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{tabIndex:0,className:"shop-price deal-price",children:r}),g&&(0,s.jsx)("span",{className:"price del-price",children:l}),(0,s.jsx)("del",{className:"price del-price",children:n})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{tabIndex:0,className:i()("shop-price",{"deal-price":r}),children:r||n}),g&&(0,s.jsx)("span",{className:"price del-price",children:l})]})})}))},58541:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});n(27378);var r=n(60042),i=n.n(r),o="tag_3pVYc",a="icon_iSbNF",s=n(55788),c=n(37117),l=n(49589),u=n(32996),d=n(92517),p=n(24246),_=function(e){var t,n,r,_=e.tagConfig,f=e.discount,h=e.className,m=e.discountStyle,b=_||{},g=b.icon,v=b.title,w=b.tagType,y=(0,u.IA)().t,k=(null===w||void 0===w?void 0:w.toLowerCase())||w||"",x=s.d.product[k||""]||{};return(0,p.jsxs)("div",{className:i()(o,h,"js-product-tag js-full overflow"),style:null===(t=(0,c.H1)(_))||void 0===t?void 0:t.wrapStyle,children:[(0,p.jsxs)("div",{className:"text g-text flex flex-middle",style:null===(n=(0,c.H1)(_))||void 0===n?void 0:n.titleStyle,children:[!!g&&(0,p.jsx)(l.Z,{className:a,fixed:!0,background:!1,src:g,width:12,height:12}),(0,p.jsx)("span",{children:v||y((null===x||void 0===x?void 0:x.text)||"")})]}),(0,p.jsx)("div",{className:"off g-off",style:null===(r=(0,c.H1)(_))||void 0===r?void 0:r.descStyle,children:!!f&&(0,p.jsx)(d.Z,{discount:f,discountStyle:m})})]})}},37229:function(e,t,n){"use strict";var r=n(90849),i=(n(27378),n(37117)),o=n(75936),a=n(83398),s=n(24246);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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.tag,n=e.tagSite,r=e.text,c=e.themeTagContainer,u=e.defaultTagProps;if(!t)return(0,s.jsx)(s.Fragment,{});var d=t.toLocaleLowerCase(),p=d&&n?(0,i.Xk)(d,n):void 0;return p&&p.title?(0,s.jsx)(s.Fragment,{children:c?(0,s.jsx)("div",l(l({},c),{},{children:(0,s.jsx)(o.F,{tagConfig:p})})):(0,s.jsx)(o.F,{tagConfig:p})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(a.Z,l({tag:d,text:r},u))})}},75936:function(e,t,n){"use strict";n.d(t,{F:function(){return b}});n(27378);var r=n(55788),i=n(37117),o=n(16904),a=n(49589),s=n(60042),c=n.n(s),l="tags-wrap_BsuGQ",u="icon_-gUHA",d=n(32996),p=n(92517),_=n(24246),f=function(e){var t=e.tagConfig||{},n=t.image,r=t.imgHeight,i=void 0===r?16:r,o=t.imgWidth,s=void 0===o?78:o;return(0,_.jsx)(a.Z,{fixed:!0,background:!1,src:n,width:s,height:i})},h=function(e){var t,n=e.tagConfig,r=e.defaultConfig,o=n||{},s=o.icon,c=o.title,l=(0,d.IA)().t,p=null===(t=(0,i.H1)(n))||void 0===t?void 0:t.t
1itleStyle;return(0,_.jsxs)("div",{className:"g-tag-text flex",style:p,children:[!!s&&(0,_.jsx)(a.Z,{className:u,fixed:!0,background:!1,src:s,width:12,height:12}),(0,_.jsx)("span",{children:c||l((null===r||void 0===r?void 0:r.text)||"")||""})]})},m=function(e){var t,n=e.tagConfig,r=e.discount,a=e.discountStyle,s=n||{},c=s.desc,l=s.tagType;return(0,_.jsx)("div",{className:"g-off-line",style:null===(t=(0,i.H1)(n))||void 0===t?void 0:t.descStyle,children:(null===l||void 0===l?void 0:l.toLowerCase())===o.qj&&r?(0,_.jsx)(p.Z,{discount:r,discountStyle:a}):c||""})},b=function(e){var t,n,a=e.tagConfig,s=e.discount,u=e.className,d=e.discountStyle,p=(null===a||void 0===a||null===(t=a.tagType)||void 0===t?void 0:t.toLowerCase())||"",b=r.d.product[p],g=(null===a||void 0===a?void 0:a.image)&&"pic"==a.layout,v=a||{},w=v.layout,y=void 0===w?"":w,k=v.title,x=v.desc;return(0,_.jsx)("div",{className:c()(u,"tags-wrap",l),children:(0,_.jsx)("div",{className:c()({flex:"vertical"!==y},"g-tag-".concat(p," g-tag-corner overflow")),style:g?{}:null===(n=(0,i.H1)(a))||void 0===n?void 0:n.wrapStyle,children:g?(0,_.jsx)(f,{tagConfig:a}):(0,_.jsxs)(_.Fragment,{children:[(null===p||void 0===p?void 0:p.toLowerCase())!==o.qj||k?(0,_.jsx)(h,{tagConfig:a,defaultConfig:b,discount:s,discountStyle:d}):(0,_.jsx)(_.Fragment,{}),(null===p||void 0===p?void 0:p.toLowerCase())===o.qj&&s||x?(0,_.jsx)(m,{tagConfig:a,discount:s,discountStyle:d}):(0,_.jsx)(_.Fragment,{})]})})})}},69380:function(e,t,n){"use strict";n.d(t,{B6:function(){return r},BF:function(){return $},BV:function(){return R},CF:function(){return Z},DT:function(){return q},F_:function(){return K},Fb:function(){return D},Gm:function(){return L},Gt:function(){return M},IH:function(){return Y},II:function(){return a},Iy:function(){return S},JJ:function(){return k},KJ:function(){return v},KW:function(){return C},Lc:function(){return l},O2:function(){return w},O3:function(){return B},Ot:function(){return z},QQ:function(){return o},QT:function(){return O},RG:function(){return W},RI:function(){return u},UP:function(){return b},Vy:function(){return c},WY:function(){return J},Xf:function(){return H},Xp:function(){return m},Xz:function(){return g},YH:function(){return i},Yi:function(){return U},_L:function(){return I},ap:function(){return d},b1:function(){return _},bh:function(){return E},db:function(){return X},gx:function(){return j},im:function(){return F},js:function(){return T},kh:function(){return h},lY:function(){return A},mT:function(){return V},n4:function(){return P},po:function(){return y},rA:function(){return G},ry:function(){return s},s0:function(){return N},t1:function(){return f},tr:function(){return p},xq:function(){return x}});var r="language",i="country",o="currency",a="access_token",s="login_token",c="NEXT_LOCALE",l="LANGUAGE",u="COUNTRY",d="CURRENCY",p="ACCESS_TOKEN",_="LOGIN_TOKEN",f="IS_GUEST_USER",h="DEBUG_TRANS",m="NATIVE_APIS",b="NATIVE_THEME",g="VARIANT_NUMS_ITEMS",v="BUY_NOW_DATA",w="CART_SELECTED_IDS",y="LAST_ORDER_ID",k="DISABLE_TRACKER",x="disable_tracker",E="STORAGE_SEARCH_SUGGEST_LIST",S="debug_tracker",P="debug_server",O="debug_app",C="debug_node_cache",T="debug_sourcemap",j="debug_age",A="debug_trans",D="firstEntry",N="FIXED_REGISTER",I="1",R="2",L=/[^\/]*-c\d+$/,M=/[^\/]*-a\d+$/,z=/[^\/]*-p\d+(-v\d+)*$/,Z=/[^\/]*-t\d+$/,F=300051,V=[500017,500018,500019,500020,500021,500022],B=500027,U=100001,G=2002,q=2003,H=2004,K=2005,W=2006,$=2007,Y=2008,X={prod:"https://wholesale.vivosun.com/",pre:"https://pre-wholesale.next.vivosun.com/",test:"https://vivosun-wholesale.sino-beta.com/",dev:"http://localhost:3008/"},J=["/become-a-reseller","/set-password","/account/reset-password","/account/login","/support/guide/"]},51657:function(e,t,n){"use strict";var r=n(55732),i=n(34707),o=n.n(i),a=n(27378),s=n(66701);t.Z=function(e){var t=e.id,n=e.options||{},i=n.wrapEl,c=n.ariaLive,l=void 0===c?"polite":c,u=function(){var e=(0,r.Z)(o().mark((function e(n,r){var i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i=document.getElementById(t))){e.next=6;break}if(!r){e.next=5;break}return e.next=5,(0,s.Z)(r);case 5:i.innerHTML=n;case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return(0,a.useEffect)((function(){return function(){var e=document.getElementById(t);e&&e.remove()}}),[]),(0,a.useEffect)((function(){!function(){var e=document.getElementById(t);e||((e=document.createElement("div")).id=t,e.ariaLive=l,e.style.height="0px",e.style.overflow="hidden",i?i.appendChild(e):document.body.appendChild(e))}()}),[i,t]),{onSetAriaLiveContent:u}}},76498:function(e,t,n){"use strict";var r=n(27378),i=n(76174);t.Z=function(e,t){var n=t||{},o=n.onEnter,a=n.onLeave,s=n.onChange,c=(0,r.useState)(!1),l=c[0],u=c[1],d=function(){null===o||void 0===o||o(),null===s||void 0===s||s(!0),u(!0)},p=function(){null===a||void 0===a||a(),null===s||void 0===s||s(!1),u(!1)};return(0,r.useEffect)((function(){return e&&((0,i.xC)(e,"mouseenter",d),(0,i.xC)(e,"mouseleave",p),(0,i.vP)(e,"mouseenter",d),(0,i.vP)(e,"mouseleave",p)),function(){e&&((0,i.xC)(e,"mouseenter",d),(0,i.xC)(e,"mouseleave",p))}}),[e]),l}},1779:function(e,t,n){"use strict";n.d(t,{Vv:function(){return r},kv:function(){return i}});var r,i=["SurpriseEgg","RedeemRewards","SlotMachine","PointsMall","Bonus","XmasSale","giftbox24","superFlashSale","wholesale","flashSale","bestSeller","newArrival","presale","EarlyAccess"];!function(e){e.Link="link",e.None="none"}(r||(r={}))},69261:function(e,t,n){"use strict";n.d(t,{K:function(){return i},d:function(){return r}});var r="AGE_GATE",i="age_verified"},43003:function(e,t,n){"use strict";n.d(t,{W:function(){return l}});var r=n(55732),i=n(34707),o=n.n(i),a=n(27378),s=n(97421),c=n(27551);function l(){var e=(0,a.useState)(),t=e[0],n=e[1],i=(0,a.useState)(!1),l=i[0],u=i[1],d=function(){var e=(0,r.Z)(o().mark((function e(){var t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(!0),e.prev=1,e.next=4,c.h.get("/web/minor/age/country");case 4:t=e.sent,n(t.age),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),s.v.error(e.t0.message);case 11:u(!1);case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}();return(0,a.useEffect)((function(){d()}),[]),{age:t,loading:l}}},92812:function(e,t,n){"use strict";n.d(t,{ij:function(){return c},qe:function(){return s}});var r=n(69380),i=n(69261),o=n(88303),a=n(46918),s=function(e,t,n){return!(!(e||t[r.gx]||t[i.K])||n["".concat(i.d,"_").concat(n[r.RI])])},c=function(e){return(0,a.generatePath)(o.g.AGE_GATE,{redirect:e})}},27069:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(32996),i=n(25039),o=n(24246);var a=function(e){var t=e.className,n=e.data,a=e.loadCart,s=n.tips,c=n.endTimestamp,l=(0,r.IA)().t;return s?s.includes("{{time}}")&&c?(0,o.jsx)(i.I,{className:t,isShowDay:!0,endTime:c,dayText:[l("web_common_day_lower"),l("web_common_days_lower")],hourText:[l("web_common_hour_lower"),l("web_common_hours_lower")],minuteText:[l("web_common_minute_lower"),l("web_common_minutes_lower")],secondText:[l("web_common_second_lower"),l("web_common_seconds_lower")],render:function(e){var t=function(e){return Number(e.day)>0?"".concat(e.day," ").concat(e.dayText):Number(e.hour)>0?"".concat(e.hour," ").concat(e.hourText):Number(e.minute)>0?"".concat(e.minute," ").concat(e.minuteText):"".concat(e.second," ").concat(e.secondText)}(e);return s.replace("{{time}}",'<span class="g-time">'.concat(t,"</span>"))},endRender:function(){return a({loadingType:"whole"}),""}}):(0,o.jsx)("div",{className:t,children:s}):null}},96270:function(e,t,n){"use strict";n.d(t,{Eg:function(){return i},Xz:function(){return r},oy:function(){return o}});var r="slotMachineGroup",i="redeemRewardsGroup",o=[1,2]},73300:function(e,t,n){"use strict";n.d(t,{mB:function(){return u}});var r=n(90849),i=n(90089),o=n(27551),a=["groupInfoList"],s=["cartItemList"];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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(){return o.Z.post("/web/cart/v4/list").then((function(e){e.groupInfoList;var t=(0,i.Z)(e,a),n=[],r={};return e.groupInfoList.forEach((function(e){var t=e.cartItemList,o=(0,i.Z)(e,s),a=[];t.forEach((function(e){a.push(e.id),r[e.id]=l(l({},e),{},{isChangingQty:!1,isDeleting:!1,realNum:e.num,groupCanSelect:o.canSelect})})),n.push(l(l({},o),{},{itemIds:a}))})),l(l({},t),{},{groups:n,items:r})}))}},63898:function(e,t,n){"use strict";n.d(t,{B:function(){return b},Hp:function(){return c},NO:function(){return m},QJ:function(){return _},SW:function(){return f},V2:function(){return u},Xj:function(){return l},xC:function(){return h},xg:function(){return d}});var r=n(73679),i=n(90849);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 a(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){var t=[],n=[],r=0,i=0;return Object.values(e).forEach((function(e){e.stockNum>0&&(n.push(e.id),r+=e.num,e.select&&(t.push(e.id),i+=e.num))})),{checkAll:t.length===n.length&&n.length>0,totalQty:r,checkedTotalQty:i}}function l(e,t){return e.itemIds.map((function(e){return t[e]}))}function u(e){return"surpriseEgg"!==e.groupType}function d(e,t){if(0===t.length)return!1;var n,r=a(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i&&i.stockNum>0&&!t.includes(i.id))return!1}}catch(o){r.e(o)}finally{r.f()}return!0}function p(e,t){var n=function(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,i.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}({},e);return Object.values(t||{}).forEach((function(e){if(null!==e&&void 0!==e&&e.voucherItem){var t=n[e.groupId]||[];t.includes(e.id)||(n[e.groupId]=t.concat(e.id))}})),n}function _(e,t){var n={};return e.forEach((function(e){var r=l(e,t);n[e.groupId]=r.filter((function(e){return e.stockNum>0&&e.select})).map((function(e){return e.id}))})),p(n,t)}function f(e){var t=[];return Object.values(e).forEach((function(e){t.push.apply(t,(0,r.Z)(e))})),t}function h(e){var t=[];for(var n in e){var r=e[n];r.groupCanSelect||!r.select||t.includes(r.groupId)||t.push(r.groupId)}return t.length>0&&t}function m(e){return!e.find((function(e){return 2!=e.selectStatus}))}function b(e){var t,n=e.e,i=e.groupCheckedIds,o=e.item,a=e.groupItems,s=e.batchActive,c=null===n||void 0===n||null===(t=n.target)||void 0===t?void 0:t.checked,l=2==o.selectStatus,u=i;return u=!s&&l?c?a.filter((function(e){return e.stockNum>0})).map((function(e){return e.id})):a.filter((function(e){return[0].includes(e.selectStatus)})).map((function(e){return e.id})):c?[].concat((0,r.Z)(u),[o.id]):u.filter((function(e){return e!=o.id})),function(e){var t=new Set(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);return e.forEach((function(e){null!==e&&void 0!==e&&e.voucherItem&&t.add(e.id)}
1)),Array.from(t)}(a,u)}},46885:function(e,t,n){"use strict";n.d(t,{KV:function(){return s},U0:function(){return c},n1:function(){return l}});var r=n(55732),i=n(34707),o=n.n(i),a=n(27551),s=function(){return a.Z.get("/web/personal/coupon/list")},c=function(e){return a.Z.post("/web/cart/v2/calculate-coupon-list",{data:e})};function l(e){return u.apply(this,arguments)}function u(){return(u=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.Z.post("/web/coupon/obtain",{data:{couponCode:t}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},72579:function(e,t,n){"use strict";n.d(t,{a:function(){return s}});var r=n(55732),i=n(34707),o=n.n(i),a=n(27551);function s(e){return c.apply(this,arguments)}function c(){return(c=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.Z.get("/web/product/variant/faq/config/detail",{params:{variantId:t}}).then((function(e){return e.faqs})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},98173:function(e,t,n){"use strict";n.d(t,{Mc:function(){return l},UH:function(){return d},V_:function(){return c},Vp:function(){return u}});var r=n(97865),i=n(90849),o=(n(23767),n(51365));function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e){return e.moduleId?"".concat("WEB"," ").concat(e.moduleId):""}function l(e){return e.moduleId?e.moduleId.trim().replaceAll(" ","-").toLowerCase():""}function u(e,t){var n=null===t||void 0===t?void 0:t.module;if(!n)return s(s({},e),{},{listTrackCode:null===t||void 0===t?void 0:t.listTrackCode,position:(null===t||void 0===t?void 0:t.position)||1});var r=e.track.variant;return t.targetPrefix&&(r="".concat(t.targetPrefix,":").concat(r)),s(s({},e),{},{track:s(s({},e.track),{},{list:(null===t||void 0===t?void 0:t.listTrackCode)||n}),targetType:t.itemType===o.pE?"product":"variant",target:r,relTarget:r,module:n,position:t.position||1})}function d(e){var t=e.background,n=e.space;return s(s({},function(e){var t={};return null!==e&&void 0!==e&&e.image&&(t.backgroundImage="url('".concat(e.image,"')"),t.backgroundPosition="top center"),null!==e&&void 0!==e&&e.color&&(t.backgroundColor=e.color),t}(t)),function(e){var t={};return e&&Object.entries(e).forEach((function(e){var n=(0,r.Z)(e,2),i=n[0],o=n[1];o>0&&(t[i]="".concat(o,"px"))})),t}(n))}},83747:function(e,t,n){"use strict";n.d(t,{K:function(){return c}});var r=n(90089),i=n(27378),o=n(98920),a=n(72202),s=["code"],c=function(e){var t=e.code,n=(0,r.Z)(e,s),c=(0,a.Kw)("rootStore").lang,l=o.k[t];return l?(0,i.createElement)(l.content[c]||l.content.en,n):null}},20928:function(e,t,n){"use strict";n.d(t,{n:function(){return u}});var r=n(90849),i=n(86834),o=n(32996),a=n(63651),s=n(24246);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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(e){var t=e.groups,n=e.className,r=e.onLinkClick,c=(0,o.IA)().t;return(0,s.jsx)(a.N,{className:n,list:t,render:function(e){var t;
1return(0,s.jsxs)("div",{className:"g-group g-group-".concat(e.key.toLowerCase().replace(/\s/g,"-")),children:[(0,s.jsx)("p",{className:"g-group-title",children:(0,s.jsx)(i.Z,{href:e.link,onClick:r,children:(0,s.jsx)("strong",{children:c(e.title)})})}),!(null===(t=e.list)||void 0===t||!t.length)&&(0,s.jsx)("ul",{className:"g-group-body",children:e.list.map((function(e,t){return(0,s.jsx)("li",{children:(0,s.jsx)(i.Z,l(l({href:e.link,onClick:r},e.linkProps||{}),{},{children:c(e.title)}))},t)}))})]},e.key)}})}},31379:function(e,t,n){"use strict";n.d(t,{j:function(){return d}});var r=n(90849),i=n(73679),o=n(72202),a=n(88303),s=n(46918),c=n(3422);function l(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e){var t,n=e.pages,r=e.groups,l=(0,o.oR)(),d=l.persistStore.state,p=d.navList,_=d.referralConfig,f=l.rootStore.state.country,h=(0,c.b)().getBlogPath,m={showReferrer:_.showReferralButton,countryDE:"DE"===f,notCountryDE:"DE"!==f};return[{key:"Products",title:"web_footer_link_products",list:null===(t=p.list)||void 0===t?void 0:t.map((function(e){return{title:e.title,link:e.link}}))}].concat((0,i.Z)(r.map((function(e){var t=function(e,t,n){var r=[];return Array.isArray(e)&&e.forEach((function(e){if("string"===typeof e){var i=t[e];i&&r.push({title:i.title,link:(0,s.generatePath)(a.g.HELP,{code:e})})}else if("string"!==typeof e.condition||n[e.condition])if("code"in e){var o=t[e.code];o&&r.push({title:o.title,link:(0,s.generatePath)(a.g.HELP,{code:e.code})})}else r.push(e)})),r}(e.list,n,m);return Array.isArray(t)&&(t=t.map((function(e){return u(u({},e),{},{link:"blog"===e.link?h():e.link})}))),u(u({},e),{},{list:t})}))))}},28460:function(e,t,n){"use strict";n.d(t,{b:function(){return _}});var r=n(72202),i=n(93737),o=n(12795),a=n(69380),s=n(86677),c=n(46918);function l(e,t){return"en"===t&&"US"===e?"":"".concat(t,"-").concat(e)}var u=function(e,t,n){var r=l(t,n);window.location.href=(0,c.generatePath)("".concat(r?"/"+r:"").concat(e),{language:void 0,country:void 0,currency:void 0})},d=n(54007),p={countryCode:d.a.country,countryName:"United States",countryId:3859,currencyList:[{code:d.a.currency,defaultValue:!0,currencySymbol:"$"}],languageList:[{code:d.a.lang,defaultValue:!0,name:"English",countryName:"United States"}]};function _(){var e=(0,r.oR)(),t=e.rootStore,n=e.persistStore,c=t.state,_=c.lang,f=c.country,h=c.currency,m=n.state.regionList,b=void 0===m?[]:m,g=(0,s.useRouter)(),v=(0,i.xH)(b.map((function(e){return e.countryList}))),w=(0,d.Z)(b,{country:f,currency:h,lang:_}),y=v.find((function(e){return e.countryCode===w.country}))||v.find((function(e){return e.countryCode===d.a.country}))||v[0]||p,k=y.languageList,x=void 0===k?[]:k,E=y.currencyList,S=void 0===E?[]:E,P=x.find((function(e){return e.code===w.lang}))||x[0]||p.languageList[0],O=S.find((function(e){return e.code===w.currency}))||S[0]||p.currencyList[0];return{lang:_,country:f,currency:h,regionList:b,countryList:v,curRegion:b.find((function(e){var t;return null===(t=e.countryList)||void 0===t?void 0:t.some((function(e){return e.countryCode===w.country}))})),curCountry:y,curLanguage:P,curCurrency:O,changeLocale:function(e){var t,n=e.country,r=e.language,i=e.nextPath,s=e.onCancel,c=e.onChange,d=n.countryCode,p=r.code,h=(null===(t=n.currencyList.find((function(e){return e.defaultValue})))||void 0===t?void 0:t.code)||n.currencyList[0].code;if(d!==f||p!==_){var m=l(d,p);(0,o.d8)(a.Vy,m),(0,o.d8)(a.RI,d),(0,o.d8)(a.ap,h),(0,o.d8)(a.Lc,p),u(i||g.asPath,d,p),null===c||void 0===c||c()}else i?(u(i,d,p),null===c||void 0===c||c()):null===s||void 0===s||s()}}}},51365:function(e,t,n){"use strict";n.d(t,{J4:function(){return i},bp:function(){return s},o7:function(){return o},pE:function(){return r},vb:function(){return a}});var r="PRODUCT",i="BANNER",o="flashsale",a="bundleDeals",s="bonusItem"},73736:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});var r=n(32996),i=n(72202),o=n(24246),a=(0,i.Pi)((function(e){var t=e.shownVariant,n=e.className,a=(0,r.IA)().t;return(0,i.oR)().userStore.isDropShipping()?(0,o.jsxs)("div",{className:n,children:[a("web_common_sku_upper"),": ",t.sku]}):null}))},5268:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(32996),i=n(72202),o=n(24246),a=function(e){var t=e.className,n=(0,r.IA)().t,a=(0,i.Kw)("rootStore").
1country;return(0,o.jsx)("div",{className:t,children:n("AU"==a?"web_shop_product_price_gst_tips":"web_shop_product_price_vat_tips")})}},55788:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});var r={activity:{cyberMonday:{text:"web_tag_cyber_monday"},blackFriday:{text:"web_tag_black_friday"}},product:{superflashsale:{icon:"icon-a-flashsale",text:"web_tag_super_flash_sale"},wholesale:{icon:"icon-wholesale",text:"web_tag_wholesale"},flashsale:{icon:"icon-a-flashsale",text:"web_tag_off"},newarrival:{icon:"icon-new",text:"web_tag_new"},bestseller:{icon:"icon-star-integrity",text:"web_tag_best_seller"},presale:{icon:"icon-a-Presale",text:"web_tag_pre_sale"}}}},16904:function(e,t,n){"use strict";n.d(t,{qc:function(){return r},qj:function(){return i}});var r="superflashsale",i="flashsale"},37117:function(e,t,n){"use strict";n.d(t,{H1:function(){return u},Xk:function(){return l},e9:function(){return p},x$:function(){return d}});var r=n(90849),i=n(72202);function o(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}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 c(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){(0,r.Z)(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}var l=function(e,t){var n;if(e&&t){var r=((0,i.qm)("persistStore").tagTheme||{}).current,o=null===r||void 0===r||null===(n=r[e])||void 0===n?void 0:n[t];if(o)return c(c({},o),{},{tagType:e})}},u=function(e){if(e){var t=e.cornerRadius,n=e.borderColor,r=e.titleBackgroundColor,i=e.titleColor,o=e.descBackgroundColor,a=e.descColor;return{titleStyle:c(c({},i?{color:i||""}:{}),r?{backgroundColor:r||""}:{}),descStyle:c(c({},a?{color:a||""}:{}),o?{backgroundColor:o||""}:{}),wrapStyle:c(c({},t?{borderRadius:t||"0px"}:{}),n?{border:"1px solid ".concat(n)}:{})}}},d=function(e){var t,n=[],r=o(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;i.isOnSale&&i.stockNum>0&&n.push(i.productVariantId)}}catch(a){r.e(a)}finally{r.f()}return n};function p(e){var t=e.selectedVariantId,n=e.productVariants,r=d(n),i=n.map((function(e){return e.productVariantId})),o=i[0];return t&&i.includes(t)?o=t:r.length>0&&(o=r[0]),n.find((function(e){return e.productVariantId===o}))}},2675:function(e,t,n){"use strict";n.d(t,{FD:function(){return i},MV:function(){return r},N9:function(){return a},Oy:function(){return o}});var r="refid",i="referral",o=2592e6,a="ENTERED_REFER_A_FRIEND"},89791:function(e,t,n){"use strict";n.d(t,{KK:function(){return o},bW:function(){return s},e$:function(){return i},gm:function(){return a}});var r=n(27551),i=function(){return r.Z.get("/web/referral/config")},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return r.Z.post("/web/referral/rewards/list",{data:{page:e,pageSize:10}})},a=function(e){return r.Z.post("/web/referral/code/list",{data:{codes:e}}).then((function(e){return e.list}))},s=function(e){return r.Z.post("/web/referral/task/finish",{data:e})}},4835:function(e,t,n){"use strict";n.d(t,{$s:function(){return l},Lr:function(){return c},xz:function(){return u}});var r=n(97865),i=n(20480),o=n(2675),a=n(84529);function s(e){var t={},n=(new Date).getTime();return Object.entries(e).forEach((function(e){var i=(0,r.Z)(e,2),a=i[0],s=i[1];n-s<o.Oy&&(t[a]=s)})),e}function c(e){var t=i.t.get(o.FD),n=t?s(JSON.parse(t)):{};n[e]=(new Date).getTime(),i.t.set(o.FD,JSON.stringify(n))}function l(){var e=i.t.get(o.FD);return e?function(e){var t={},n=[];return Object.entries(e).forEach((function(e){var i=(0,r.Z)(e,2),o=i[0],a=i[1];n.push(a),t[a]=o})),n.sort((function(e,t){return t-e})).map((function(e){return t[e]}))}(s(JSON.parse(e))):[]}var u=function(){var e=document.getElementById("js-share-btn");(0,a.dP)({selector:e||"#js-share-btn"}),null===e||void 0===e||e.click()}},26292:function(e,t,n){"use strict";n.d(t,{$_:function(){return d},E9:function(){return s},_M:function(){return l}});var r=n(55732),i=n(34707),o=n.n(i),a=n(27551);function s(e){return c.apply(this,arguments)}function c(){return(c=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.Z.get("/web/product/review-list/v2",{params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return u.apply(this,arguments)}function u(){return(u=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.Z.post("/web/product/review-list/activity",{data:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e){return p.apply(this,arguments)}function p(){return p=(0,r.Z)(o().mark((function e(t){var n,r=arguments;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:10,e.abrupt("return",s({productVariantId:t||"",page:1,pageSize:n,withPictures:0}));case 2:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}},369:function(e,t,n){"use strict";n.d(t,{B:function(){return a},E:function(){return o}});var r=n(27551),i=n(56840);function o(e){return r.Z.get("/web/locale/info",{params:{ip:e}}).then((function(e){return{country:e.countryCode.toUpperCase(),currency:e.currencyCode.toUpperCase(),lang:e.languageCode}}))}function a(){return r.Z.get("/web/locale/list/v3").then((function(e){return(0,i.qH)(e.businessAreaList,{keepFields:["code","displayName","countryList"],countryList:["countryCode","countryName","countryId","currencyList","languageList"],currencyList:["defaultValue","code","currencySymbol"],languageList:["defaultValue","code","name"]})}
1))}},54007:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},a:function(){return i}});var r=n(93737),i={country:"US",currency:"USD",lang:"en"};function o(e,t){var n=t.country,o=t.currency,a=t.lang,s=(0,r.xH)(e.map((function(e){return e.countryList}))).find((function(e){return e.countryCode===n}));if(!s)return i;var c,l,u,d,p=s.currencyList,_=void 0===p?[]:p,f=s.languageList,h=void 0===f?[]:f;(o?_.find((function(e){return e.code===o})):void 0)||(o=(null===(c=_.find((function(e){return e.defaultValue})))||void 0===c?void 0:c.code)||(null===(l=_[0])||void 0===l?void 0:l.code)||i.currency);(a?h.find((function(e){return e.code===a})):void 0)||(a=(null===(u=h.find((function(e){return e.defaultValue})))||void 0===u?void 0:u.code)||(null===(d=h[0])||void 0===d?void 0:d.code)||i.lang);return{country:n,currency:o,lang:a}}},4905:function(e,t,n){"use strict";n.d(t,{L:function(){return s},S:function(){return c}});var r=n(90849),i=n(27551);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 a(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}function s(e){return i.Z.post("/web/activity/subscribe",{data:a(a({},e),{},{type:e.type||"common"})})}function c(e){return i.Z.post("/web/subscribe/variant/arrival",{data:e})}},73936:function(e,t,n){"use strict";n.d(t,{fg:function(){return d},kf:function(){return _},mg:function(){return h},v3:function(){return l},xm:function(){return s}});var r=n(55732),i=n(34707),o=n.n(i),a=n(27551);function s(e){return c.apply(this,arguments)}function c(){return(c=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.Z.post("/web/message/center/station/content/type",{data:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return u.apply(this,arguments)}function u(){return(u=(0,r.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.Z.post("/web/message/center/station/unRead"));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.Z.post("/web/message/center/station/markRead",{data:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return f.apply(this,arguments)}function f(){return(f=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.Z.get("/web/featureConfig/getStationMessage",{params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(){return m.apply(this,arguments)}function m(){return(m=(0,r.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.Z.post("/web/message/center/station/markRead/all"));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},31198:function(e,t,n){"use strict";n.d(t,{K0:function(){return l},Qs:function(){return d},rR:function(){return u},s2:function(){return p},nS:function(){return c},Gf:function(){return s},wD:function(){return a}});var r=n(73679),i=n(27551),o=(n(56840),n(40235),n(7756));[].concat((0,r.Z)(["banner","swiperBanner","tiledBanner","twoColumnBanners","threeColumnBanners"]),(0,r.Z)(["limitedTimeList","highlyRecommended","discountList","swiperProducts"]),["pageList","navigation","gridNav","blog","SuperFlashSale"]);function a(){return i.Z.get("/web/featureConfig/getTopStripedBanner",{params:{name:"CountdownPC"}})}function s(){return i.Z.get("/web/featureConfig/getHomeTopBanner",{params:{name:"pc_top"}})}function c(){return!1===o.Z.tagThemeActive?Promise.resolve({activity:[]}):i.Z.get("/web/featureConfig/tags/theme",{params:{},hideErrorLog:!0}
1).catch((function(e){return{}}))}function l(e){return i.Z.get("/web/featureConfig/getDetailFeatureConfig",{params:e})}function u(){return i.Z.get("/web/featureConfig/getHomePageVideoPopup",{params:{name:"PC"}})}function d(){return i.Z.get("/web/featureConfig/getFloatingWindow")}function p(){return i.Z.get("/web/featureConfig/homepage/version").then((function(e){return e.version})).catch((function(){return"OLD"}))}},5886:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(27551);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.Z.post("/web/pageCode/list/langCodes",{forceCamel:!1,data:{langCodes:e,compile:t,env:"prod"}}).catch((function(e){return console.log("getTranslation error",e),{}}))}},44154:function(e,t,n){"use strict";n.d(t,{K:function(){return o},Y:function(){return i}});var r=n(27551);function i(e){return r.Z.post("/web/share/long-to-short-url",{data:{url:e}})}function o(e){return r.Z.post("/web/share/batch-long-to-short-url",{data:{urlList:e}})}},86287:function(e,t,n){"use strict";n.d(t,{_A:function(){return _},s2:function(){return d},uS:function(){return u}});var r=n(55732),i=n(90849),o=n(34707),a=n.n(o),s=n(27551);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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return s.Z.get("/web/init/info").then((function(e){return l(l({},e),{},{isLogin:!!e.isLogin,isGuestUser:!!e.isGuestUser,currentTime:Number(e.currentTime)})}))}function d(e){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s.Z.post("/web/user/quick_register",{data:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return f.apply(this,arguments)}function f(){return(f=(0,r.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s.Z.post("/web/user/createGuestAccount",{data:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},72202:function(e,t,n){"use strict";n.d(t,{bh:function(){return zr},iF:function(){return Fr},qm:function(){return Zr},N2:function(){return Mr},Pi:function(){return jr},PC:function(){return Ur},fv:function(){return Dr},oR:function(){return Vr},Kw:function(){return Br}});var r=n(27378);function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"===typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var o={};function a(){return"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:o}var s=Object.assign,c=Object.getOwnPropertyDescriptor,l=Object.defineProperty,u=Object.prototype,d=[];Object.freeze(d);var p={};Object.freeze(p);var _="undefined"!==typeof Proxy,f=Object.toString();function h(){_||i("Proxy not available")}function m(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var b=function(){};function g(e){return"function"===typeof e}function v(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function w(e){return null!==e&&"object"===typeof e}function y(e){if(!w(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"===typeof n&&n.toString()===f}function k(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function x(e,t,n){l(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}
1function E(e,t,n){l(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function S(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return w(e)&&!0===e[n]}}function P(e){return e instanceof Map}function O(e){return e instanceof Set}var C="undefined"!==typeof Object.getOwnPropertySymbols;var T="undefined"!==typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:C?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function j(e){return null===e?null:"object"===typeof e?""+e:e}function A(e,t){return u.hasOwnProperty.call(e,t)}var D=Object.getOwnPropertyDescriptors||function(e){var t={};return T(e).forEach((function(n){t[n]=c(e,n)})),t};function N(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,V(r.key),r)}}function I(e,t,n){return t&&N(e.prototype,t),n&&N(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}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},R.apply(this,arguments)}function L(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,M(e,t)}function M(e,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},M(e,t)}function z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function F(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=function(e,t){if(e){if("string"===typeof e)return Z(e,t);var n=Object.prototype.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)?Z(e,t):void 0}}(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 new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(e){var t=function(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 new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}var B=Symbol("mobx-stored-annotations");function U(e){return Object.assign((function(t,n){if(q(n))return e.decorate_20223_(t,n);G(t,n,e)}),e)}function G(e,t,n){A(e,B)||x(e,B,R({},e[B])),function(e){return e.annotationType_===Q}(n)||(e[B][t]=n)}function q(e){return"object"==typeof e&&"string"==typeof e.kind}var H=Symbol("mobx administration"),K=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;
1return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return yt(this)},t.reportChanged=function(){vt(),kt(this),wt()},t.toString=function(){return this.name_},e}(),W=S("Atom",K);function $(e,t,n){void 0===t&&(t=b),void 0===n&&(n=b);var r,i=new K(e);return t!==b&&Gt(Bt,i,t,r),n!==b&&Ut(i,n),i}var Y={identity:function(e,t){return e===t},structural:function(e,t){return ur(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return ur(e,t,1)}};function X(e,t,n){return on(e)?e:Array.isArray(e)?Ie.array(e,{name:n}):y(e)?Ie.object(e,void 0,{name:n}):P(e)?Ie.map(e,{name:n}):O(e)?Ie.set(e,{name:n}):"function"!==typeof e||zt(e)||nn(e)?e:k(e)?en(e):Mt(n,e)}function J(e){return e}var Q="override";function ee(e,t){return{annotationType_:e,options_:t,make_:te,extend_:ne,decorate_20223_:re}}function te(e,t,n,r){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(zt(n.value))return 1;var o=ie(e,this,t,n,!1);return l(r,t,o),2}function ne(e,t,n,r){var i=ie(e,this,t,n);return e.defineProperty_(t,i,r)}function re(e,t){var n=t.kind,r=t.name,o=t.addInitializer,a=this;if("field"!=n){var s;if("method"==n)return zt(e)||(e=function(e){var t,n,i,o;return Ge(null!=(t=null==(n=a.options_)?void 0:n.name)?t:r.toString(),e,null!=(i=null==(o=a.options_)?void 0:o.autoAction)&&i)}(e)),null!=(s=this.options_)&&s.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobxAction=!0,e[r]=t})),e;i("Cannot apply '"+a.annotationType_+"' to '"+String(r)+"' (kind: "+n+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}else o((function(){G(this,r,a)}))}function ie(e,t,n,r,i){var o,a,s,c,l,u,d,p;void 0===i&&(i=ht.safeDescriptors),p=r,t.annotationType_,p.value;var _,f=r.value;null!=(o=t.options_)&&o.bound&&(f=f.bind(null!=(_=e.proxy_)?_:e.target_));return{value:Ge(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),f,null!=(c=null==(l=t.options_)?void 0:l.autoAction)&&c,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function oe(e,t){return{annotationType_:e,options_:t,make_:ae,extend_:se,decorate_20223_:ce}}function ae(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!A(e.target_,t)||!nn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(nn(n.value))return 1;var o=le(e,this,t,n,!1,!1);return l(r,t,o),2}function se(e,t,n,r){var i,o=le(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function ce(e,t){var n;var r=t.name,i=t.addInitializer;return nn(e)||(e=en(e)),null!=(n=this.options_)&&n.bound&&i((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function le(e,t,n,r,i,o){var a;void 0===o&&(o=ht.safeDescriptors),a=r,t.annotationType_,a.value;var s,c=r.value;(nn(c)||(c=en(c)),i)&&((c=c.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0);return{value:c,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ue(e,t){return{annotationType_:e,options_:t,make_:de,extend_:pe,decorate_20223_:_e}}function de(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function pe(e,t,n,r){return function(e,t,n,r){t.annotationType_,r.get;0}(0,this,0,n),e.defineComputedProperty_(t,R({},this.options_,{get:n.get,set:n.set}),r)}function _e(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=Bn(this)[H],i=R({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new Je(i))})),function(){return this[H].getObservablePropValue_(r)}}function fe(e,t){return{annotationType_:e,options_:t,make_:he,extend_:me,decorate_20223_:be}}function he(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,r){var i,o;return function(e,t,n,r){t.annotationType_;0}(0,this),e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:X,r)}function be(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,s=Bn(e)[H],c=new $e(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:X,"ObservableObject."+i.toString(),!1);s.values_.set(i,c),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[H].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[H].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var ge=ve();function ve(e){return{annotationType_:"true",options_:e,make_:we,extend_:ye,decorate_20223_:ke}}function we(e,t,n,r){var i,o,a,s;if(n.get)return ze.make_(e,t,n,r);if(n.set){var c=Ge(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:c})?0:2:(l(r,t,{configurable:!0,set:c}),2)}if(r!==e.target_&&"function"===typeof n.value)return k(n.value)?(null!=(s=this.options_)&&s.autoBind?en.bound:en).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?Mt.bound:Mt).make_(e,t,n,r);var u,d=!1===(null==(i=this.options_)?void 0:i.deep)?Ie.ref:Ie;"function"===typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return d.make_(e,t,n,r)}function ye(e,t,n,r){var i,o,a;if(n.get)return ze.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:Ge(t.toString(),n.set)},r);"function"===typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_));return(!1===(null==(o=this.options_)?void 0:o.deep)?Ie.ref:Ie).extend_(e,t,n,r)}function ke(e,t){i("'"+this.annotationType_+"' cannot be used as a decorator")}var xe={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ee(e){return e||xe}Object.freeze(xe);var Se=fe("observable"),Pe=fe("observable.ref",{enhancer:J}),Oe=fe("observable.shallow",{enhancer:function(e,t,n){return void 0===e||null===e||qn(e)||Cn(e)||Rn(e)||zn(e)?e:Array.isArray(e)?Ie.array(e,{name:n,deep:!1}):y(e)?Ie.object(e,void 0,{name:n,deep:!1}):P(e)?Ie.map(e,{name:n,deep:!1}):O(e)?Ie.set(e,{name:n,deep:!1}):void 0}}),Ce=fe("observable.struct",{enhancer:function(e,t){return ur(e,t)?t:e}}),Te=U(Se);function je(e){return!0===e.deep?X:!1===e.deep?J:function(e){var t,n;return e&&null!=(t=null==(n=e.options_)?void 0:n.enhancer)?t:X}(e.defaultDecorator)}function Ae(e,t,n){return q(t)?Se.decorate_20223_(e,t):v(t)?void G(e,t,Se):on(e)?e:y(e)?Ie.object(e,t,n):Array.isArray(e)?Ie.array(e,t):P(e)?Ie.map(e,t):O(e)?Ie.set(e,t):"object"===typeof e&&null!==e?e:Ie.box(e,t)}s(Ae,Te);var De,Ne,Ie=s(Ae,{box:function(e,t){var n=Ee(t);return new $e(e,je(n),n.name,!0,n.equals)},array:function(e,t){var n=Ee(t);return(!1===ht.useProxies||!1===n.proxy?ir:vn)(e,je(n),n.name)},map:function(e,t){var n=Ee(t);return new In(e,je(n),n.name)},set:function(e,t){var n=Ee(t);return new Mn(e,je(n),n.name)},object:function(e,t,n){return cr((function(){return Kt(!1===ht.useProxies||!1===(null==n?void 0:n.proxy)?Bn({},n):function(e,t){var n,r;return h(),e=Bn(e,t),null!=(r=(n=e[H]).proxy_)?r:n.proxy_=new Proxy(e,cn)}({},n),e,t)}))},ref:U(Pe),shallow:U(Oe),deep:Te,struct:U(Ce)}),Re="computed",Le=ue(Re),Me=ue("computed.struct",{equals:Y.structural}),ze=function(e,t){if(q(t))return Le.decorate_20223_(e,t);if(v(t))return G(e,t,Le);if(y(e))return U(ue(Re,e));var n=y(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Je(n)};Object.assign(ze,Le),ze.struct=U(Me);var Ze,Fe=0,Ve=1,Be=null!=(De=null==(Ne=c((function(){}),"name"))?void 0:Ne.configurable)&&De,Ue={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ge(e,t,n,r){function i(){return qe(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},Be&&(Ue.value=e,l(i,"name",Ue)),i}function qe(e,t,n,r,o){var a=function(e,t,n,r){var i=!1,o=0;0;var a=ht.trackingDerivation,s=!t||!a;vt();var c=ht.allowStateChanges;s&&(st(),c=He(!0));var l=lt(!0),u={runAsAction_:s,prevDerivation_:a,prevAllowStateChanges_:c,prevAllowStateReads_:l,n
1otifySpy_:i,startTime_:o,actionId_:Ve++,parentActionId_:Fe};return Fe=u.actionId_,u}(0,t);try{return n.apply(r,o)}catch(s){throw a.error_=s,s}finally{!function(e){Fe!==e.actionId_&&i(30);Fe=e.parentActionId_,void 0!==e.error_&&(ht.suppressReactionErrors=!0);Ke(e.prevAllowStateChanges_),ut(e.prevAllowStateReads_),wt(),e.runAsAction_&&ct(e.prevDerivation_);0;ht.suppressReactionErrors=!1}(a)}}function He(e){var t=ht.allowStateChanges;return ht.allowStateChanges=e,t}function Ke(e){ht.allowStateChanges=e}Ze=Symbol.toPrimitive;var We,$e=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=Y.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}L(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_;if((e=this.prepareNewValue_(e))!==ht.UNCHANGED){0,this.setNewValue_(e)}},n.prepareNewValue_=function(e){if(rt(this),ln(this)){var t=dn(this,{object:this,type:mn,newValue:e});if(!t)return ht.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?ht.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),pn(this)&&fn(this,{type:mn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return un(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:mn,newValue:this.value_,oldValue:void 0}),_n(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return j(this.get())},n[Ze]=function(){return this.valueOf()},t}(K);We=Symbol.toPrimitive;var Ye,Xe,Je=function(){function e(e){this.dependenciesState_=Ye.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new et(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Xe.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||i(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ge("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Y.structural:Y.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==Ye.UP_TO_DATE_)return;e.lowestObserverState_=Ye.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&(e.dependenciesState_=Ye.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)}
1,t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&i(32,this.name_,this.derivation),0!==ht.inBatch||0!==this.observers_.size||this.keepAlive_){if(yt(this),nt(this)){var e=ht.trackingContext;this.keepAlive_&&!e&&(ht.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===Ye.STALE_)return;e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Ye.POSSIBLY_STALE_?t.dependenciesState_=Ye.STALE_:t.dependenciesState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.UP_TO_DATE_)}))}(this),ht.trackingContext=e}}else nt(this)&&(this.warnAboutUntrackedRead_(),vt(),this.value_=this.computeValue_(!1),wt());var t=this.value_;if(tt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&i(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else i(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Ye.NOT_TRACKING_,n=this.computeValue_(!0),r=t||tt(e)||tt(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=He(!1);if(e)t=it(this,this.derivation,this.scope_);else if(!0===ht.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(r){t=new et(r)}return Ke(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(ot(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return Zt((function(){var o=n.get();if(!r||t){var a=st();e({observableKind:"computed",debugObjectName:n.name_,type:mn,object:n,newValue:o,oldValue:i}),ct(a)}r=!1,i=o}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return j(this.get())},t[We]=function(){return this.valueOf()},e}(),Qe=S("ComputedValue",Je);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Ye||(Ye={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Xe||(Xe={}));var et=function(e){this.cause=void 0,this.cause=e};function tt(e){return e instanceof et}function nt(e){switch(e.dependenciesState_){case Ye.UP_TO_DATE_:return!1;case Ye.NOT_TRACKING_:case Ye.STALE_:return!0;case Ye.POSSIBLY_STALE_:for(var t=lt(!0),n=st(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(Qe(a)){if(ht.disableErrorBoundaries)a.get();else try{a.get()}catch(s){return ct(n),ut(t),!0}if(e.dependenciesState_===Ye.STALE_)return ct(n),ut(t),!0}}return dt(e),ct(n),ut(t),!1}}function rt(e){}function it(e,t,n){var r=lt(!0);dt(e),e.newObserving_=new Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++ht.runId;var i,o=ht.trackingDerivation;if(ht.trackingDerivation=e,ht.inBatch++,!0===ht.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(a){i=new et(a)}return ht.inBatch--,ht.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Ye.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue_&&(s.diffValue_=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}n.length=i,e.newObserving_=null,o=t.length;for(;o--;){var c=t[o];0===c.diffValue_&&bt(c,e),c.diffValue_=0}for(;i--;){var l=n[i];1===l.diffValue_&&(l.diffValue_=0,mt(l,e))}r!==Ye.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ut(r),i}function ot(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)bt(t[n],e);e.dependenciesState_=Ye.NOT_TRACKING_}function at(e){var t=st();try{return e()}finally{ct(t)}}function st(){var e=ht.trackingDerivation;return ht.trackingDerivation=null,e}function ct(e){ht.trackingDerivation=e}function lt(e){var t=ht.allowStateReads;return ht.allowStateReads=e,t}function ut(e){ht.allowStateReads=e}function dt(e){if(e.dependenciesState_!==Ye.UP_TO_DATE_){e.dependenciesState_=Ye.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Ye.UP_TO_DATE_}}var pt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},_t=!0,ft=!1,ht=function(){var e=a();return e.__mobxInstanceCount>
vendor: 6,054 bytes, line 1
10&&!e.__mobxGlobals&&(_t=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new pt).version&&(_t=!1),_t?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new pt):(setTimeout((function(){ft||i(35)}),1),new pt)}();function mt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function bt(e,t){e.observers_.delete(t),0===e.observers_.size&>(e)}function gt(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,ht.pendingUnobservations.push(e))}function vt(){ht.inBatch++}function wt(){if(0===--ht.inBatch){St();for(var e=ht.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof Je&&n.suspend_())}ht.pendingUnobservations=[]}}function yt(e){var t=ht.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&ht.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&ht.inBatch>0&>(e),!1)}function kt(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Ye.STALE_})))}var xt=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Ye.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Xe.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,ht.pendingReactions.push(this),St())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){vt(),this.isScheduled_=!1;var e=ht.trackingContext;if(ht.trackingContext=this,nt(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(t){this.reportExceptionInDerivation_(t)}}ht.trackingContext=e,wt()}},t.track=function(e){if(!this.isDisposed_){vt();0,this.isRunning_=!0;var t=ht.trackingContext;ht.trackingContext=this;var n=it(this,e,void 0);ht.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&ot(this),tt(n)&&this.reportExceptionInDerivation_(n.cause),wt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(ht.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";ht.suppressReactionErrors||console.error(n,e),ht.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(vt(),ot(this),wt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[H]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},e}();var Et=function(e){return e()};function St(){ht.inBatch>0||ht.isRunningReactions||Et(Pt)}function Pt(){ht.isRunningReactions=!0;for(var e=ht.pendingReactions,t=0;e.length>0;){100===++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}ht.isRunningReactions=!1}var Ot=S("Reaction",xt);var Ct="action",Tt="autoAction",jt="<unnamed action>",At=ee(Ct),Dt=ee("action.bound",{bound:!0}),Nt=ee(Tt,{autoAction:!0}),It=ee("autoAction.bound",{autoAction:!0,bound:!0});function Rt(e){return function(t,n){return g(t)?Ge(t.name||jt,t,e):g(n)?Ge(t,n,e):q(n)?(e?Nt:At).decorate_20223_(t,n):v(n)?G(t,n,e?Nt:At):v(t)?U(ee(e?Tt:Ct,{name:t,autoAction:e})):void 0}}var Lt=Rt(!1);Object.assign(Lt,At);var Mt=Rt(!0);function zt(e){return g(e)&&!0===e.isMobxAction}function Zt(e,t){var n,r,i,o,a;void 0===t&&(t=p);var s,c=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(!t.scheduler&&!t.delay)s=new xt(c,(function(){this.track(d)}),t.onError,t.requiresObservable);else{var l=Vt(t),u=!1;s=new xt(c,(function(){u||(u=!0,l((function(){u=!1,s.isDisposed_||s.track(d)})))}),t.onError,t.requiresObservable)}function d(){e(s)}return null!=(i=t)&&null!=(o=i.signal)&&o.aborted||s.schedule_(),s.getDisposer_(null==(a=t)?void 0:a.signal)}Object.assign(Mt,Nt),Lt.bound=U(Dt),Mt.bound=U(It);var Ft=function(e){return e()};function Vt(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Ft}var Bt="onBO";function Ut(e,t,n){return Gt("onBUO",e,t,n)}function Gt(e,t,n,r){var i="function"===typeof r?or(t,n):or(t),o=g(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var qt="always";function Ht(e){!0===e.isolateGlobalState&&function(){if((ht.pendingReactions.length||ht.inBatch||ht.isRunningReactions)&&i(36),ft=!0,_t){var e=a();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ht=new pt}}();var t=e.useProxies,n=e.enforceActions;if(void 0!==t&&(ht.useProxies=t===qt||"never"!==t&&"undefined"!==typeof Proxy),"ifavailable"===t&&(ht.verifyProxies=!0),void 0!==n){var r=n===qt?qt:"observed"===n;ht.enforceActions=r,ht.allowStateChanges=!0!==r&&r!==qt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(ht[t]=!!e[t])})),ht.allowStateReads=!ht.observableRequiresReaction,e.reactionScheduler&&function(e){var t=Et;Et=function(n){return e((function(){return t(n)}))}}(e.reactionScheduler)}function Kt(e,t,n,r){var i=D(t);return cr((function(){var t=Bn(e,r)[H];
1T(i).forEach((function(e){t.extend_(e,i[e],!n||(!(e in n)||n[e]))}))})),e}function Wt(e,t){return $t(or(e,t))}function $t(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map($t)),n}var Yt=0;function Xt(){this.message="FLOW_CANCELLED"}Xt.prototype=Object.create(Error.prototype);var Jt=oe("flow"),Qt=oe("flow.bound",{bound:!0}),en=Object.assign((function(e,t){if(q(t))return Jt.decorate_20223_(e,t);if(v(t))return G(e,t,Jt);var n=e,r=n.name||"<unnamed flow>",i=function(){var e,t=this,i=arguments,o=++Yt,a=Lt(r+" - runid: "+o+" - init",n).apply(t,i),s=void 0,c=new Promise((function(t,n){var i=0;function c(e){var t;s=void 0;try{t=Lt(r+" - runid: "+o+" - yield "+i++,a.next).call(a,e)}catch(c){return n(c)}u(t)}function l(e){var t;s=void 0;try{t=Lt(r+" - runid: "+o+" - yield "+i++,a.throw).call(a,e)}catch(c){return n(c)}u(t)}function u(e){if(!g(null==e?void 0:e.then))return e.done?t(e.value):(s=Promise.resolve(e.value)).then(c,l);e.then(u,n)}e=n,c(void 0)}));return c.cancel=Lt(r+" - runid: "+o+" - cancel",(function(){try{s&&tn(s);var t=a.return(void 0),n=Promise.resolve(t.value);n.then(b,b),tn(n),e(new Xt)}catch(r){e(r)}})),c};return i.isMobXFlow=!0,i}),Jt);function tn(e){g(e.cancel)&&e.cancel()}function nn(e){return!0===(null==e?void 0:e.isMobXFlow)}function rn(e,t){return!!e&&(void 0!==t?!!qn(e)&&e[H].values_.has(t):qn(e)||!!e[H]||W(e)||Ot(e)||Qe(e))}function on(e){return rn(e)}function an(e,t){void 0===t&&(t=void 0),vt();try{return e.apply(t)}finally{wt()}}function sn(e){return e[H]}en.bound=U(Qt);var cn={has:function(e,t){return sn(e).has_(t)},get:function(e,t){return sn(e).get_(t)},set:function(e,t,n){var r;return!!v(t)&&(null==(r=sn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!v(t)&&(null==(n=sn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=sn(e).defineProperty_(t,n))||r},ownKeys:function(e){return sn(e).ownKeys_()},preventExtensions:function(e){i(13)}};function ln(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function un(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),m((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function dn(e,t){var n=st();try{for(var r=[].concat(e.interceptors_||[]),o=0,a=r.length;o<a&&((t=r[o](t))&&!t.type&&i(14),t);o++);return t}finally{ct(n)}}function pn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function _n(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),m((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function fn(e,t){var n=st(),r=e.changeListeners_;if(r){for(var i=0,o=(r=r.slice()).length;i<o;i++)r[i](t);ct(n)}}var hn="splice",mn="update",bn={get:function(e,t){var n=e[H];return t===H?n:"length"===t?n.getArrayLength_():"string"!==typeof t||isNaN(t)?A(wn,t)?wn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[H];return"length"===t&&r.setArrayLength_(n),"symbol"===typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){i(15)}},gn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new K(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return un(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),_n(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&i("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)}
vendor: 4,471 bytes, line 1
1,t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&i(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&rr(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:void 0===t||null===t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=d),ln(this)){var o=dn(this,{object:this.proxy_,type:hn,index:e,removedCount:t,added:n});if(!o)return d;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<o.length;s++)this.values_[e+n.length+s]=o[s];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=pn(this),o=i||r?{observableKind:"array",object:this.proxy_,type:mn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&fn(this,o)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=pn(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:hn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&fn(this,o)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&i(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(ln(this)){var o=dn(this,{type:mn,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}else{for(var a=new Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function vn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),h(),cr((function(){var i=new gn(n,t,r,!1);E(i.values_,H,i);var o=new Proxy(i.values_,bn);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o}))}var wn={clear:function(){return this.splice(0)},replace:function(e){var t=this[H];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[H];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[H].spliceWithArray_(e,t,n)},push:function(){for(var e=this[H],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[H].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[H],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return ht.trackingDerivation&&i(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ht.trackingDerivation&&i(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[H],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function yn(e,t){"function"===typeof Array.prototype[e]&&(wn[e]=t(e))}function kn(e){return function(){var t=this[H];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function xn(e){return function(t,n){var r=this,i=this[H];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(n,e,i,r)}))}}function En(e){return function(){var t=this,n=this[H];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}yn("at",kn),yn("concat",kn),yn("flat",kn),yn("includes",kn),yn("indexOf",kn),yn("join",kn),yn("lastIndexOf",kn),yn("slice",kn),yn("toString",kn),yn("toLocaleStr
1ing",kn),yn("toSorted",kn),yn("toSpliced",kn),yn("with",kn),yn("every",xn),yn("filter",xn),yn("find",xn),yn("findIndex",xn),yn("findLast",xn),yn("findLastIndex",xn),yn("flatMap",xn),yn("forEach",xn),yn("map",xn),yn("some",xn),yn("toReversed",xn),yn("reduce",En),yn("reduceRight",En);var Sn,Pn,On=S("ObservableArrayAdministration",gn);function Cn(e){return w(e)&&On(e[H])}var Tn={},jn="add",An="delete";Sn=Symbol.iterator,Pn=Symbol.toStringTag;var Dn,Nn,In=function(){function e(e,t,n){var r=this;void 0===t&&(t=X),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[H]=Tn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,g(Map)||i(18),cr((function(){r.keysAtom_=$("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!ht.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new $e(this.has_(e),J,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Ut(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(ln(this)){var r=dn(this,{type:n?mn:jn,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((this.keysAtom_,ln(this))&&!dn(this,{type:An,object:this,name:e}))return!1;if(this.has_(e)){var n=pn(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:An,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return an((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&fn(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var r=pn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:mn,object:this,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),r&&fn(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,an((function(){var r,i=new $e(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=pn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:jn,object:this,name:e,newValue:t}:null;r&&fn(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return _r({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return _r({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Sn]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=F(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return Rn(e)&&(e=new Map(e)),an((function(){y(e)?function(e){var t=Object.keys(e);if(!C)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return u.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):P(e)?(e.constructor!==Map&&i(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&i(20,e)})),this},t.clear=function(){var e=this;an((function(){at((function(){for(var t,n=F(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return an((function(){for(var n,r=function(e){if(P(e)||Rn(e))return e;if(Array.isArray(e))return new Map(e);if(y(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return i(21,e)}(e),o=new Map,a=!1,s=F(t.data_.keys());!(n=s()).done;){var c=n.value;if(!r.has(c))if(t.delete(c))a=!0;else{var l=t.data_.get(c);o.set(c,l)}}for(var u,d=F(r.entries());!(u=d()).done;){var p=u.value,_=p[0],f=p[1],h=t.data_.has(_);if(t.set(_,f),t.data_.has(_)){var m=t.data_.get(_);o.set(_,m),h||(a=!0)}}if(!a)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var b=t.data_.keys(),g=o.keys(),v=b.next(),w=g.next();!v.done;){if(v.value!==w.value){t.keysAtom_.reportChanged();break}v=b.next(),w=g.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return _n(this,e)},t.intercept_=function(e){return un(this,e)},I(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Pn,get:function(){return"Map"}}]),e}
1(),Rn=S("ObservableMap",In);var Ln={};Dn=Symbol.iterator,Nn=Symbol.toStringTag;var Mn=function(){function e(e,t,n){var r=this;void 0===t&&(t=X),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[H]=Ln,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,g(Set)||i(22),this.enhancer_=function(e,r){return t(e,r,n)},cr((function(){r.atom_=$(r.name_),e&&r.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;an((function(){at((function(){for(var t,n=F(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=F(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if((this.atom_,ln(this))&&!dn(this,{type:jn,object:this,newValue:e}))return this;if(!this.has(e)){an((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=!1,r=pn(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:jn,object:this,newValue:e}:null;n,r&&fn(this,i)}return this},t.delete=function(e){var t=this;if(ln(this)&&!dn(this,{type:An,object:this,oldValue:e}))return!1;if(this.has(e)){var n=pn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:An,object:this,oldValue:e}:null;return an((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&fn(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return _r({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return _r({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return zn(e)&&(e=new Set(e)),an((function(){Array.isArray(e)||O(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!==e&&void 0!==e&&i("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return _n(this,e)},t.intercept_=function(e){return un(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Dn]=function(){return this.values()},I(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Nn,get:function(){return"Set"}}]),e}(),zn=S("ObservableSet",Mn),Zn=Object.create(null),Fn="remove",Vn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=ge),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new K("ObservableObject.keys"),this.isPlainObject_=y(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Je)return n.set(t),!0;if(ln(this)){var r=dn(this,{type:mn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var i=pn(this),o=i?{type:mn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),i&&fn(this,o)}return!0},t.get_=function(e){return ht.trackingDerivation&&!A(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),A(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!ht.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new $e(e in this.target_,J,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(Kn(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[B])&&n[e])return;i(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==u;){var o=c(r,e);if(o){var a=t.make_(this,e,o,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}Hn(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);Kn(this,n,e);var i=n.extend_(this,e,t,r);return i&&Hn(this,n,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{vt();var r=this.delete_(e);if(!r)return r;if(ln(this)){var i=dn(this,{object:this.proxy_||this.target_,name:e,type:jn,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=R({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else l(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{wt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{vt();var i=this.delete_(e);if(!i)return i;if(ln(this)){var o=dn(this,{object:this.proxy_||this.target_,name:e,type:jn,newValue:t});if(!o)return null;t=o.newValue}var a=Gn(e),s={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else l(this.target_,e,s);var c=new $e(t,n,"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{wt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{vt();var r=this.delete_(e);if(!r)return r;if(ln(this))if(!dn(this,{object:this.proxy_||this.target_,name:e,type:jn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=Gn(e),o={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else l(this.target_,e,o);this.values_.set(e,new Je(t)),this.notifyPropertyAddition_(e,void 0)}finally{wt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!A(this.target_,e))return!0;
1if(ln(this)&&!dn(this,{object:this.proxy_||this.target_,name:e,type:Fn}))return null;try{var n,r;vt();var i,o=pn(this),a=this.values_.get(e),s=void 0;if(!a&&o)s=null==(i=c(this.target_,e))?void 0:i.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof $e&&(s=a.value_),kt(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),o){var l={type:Fn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};0,o&&fn(this,l)}}finally{wt()}return!0},t.observe_=function(e,t){return _n(this,e)},t.intercept_=function(e){return un(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,i=pn(this);if(i){var o=i?{type:jn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;0,i&&fn(this,o)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),T(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Bn(e,t){var n;if(A(e,H))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",i=new Vn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:ve(e):void 0}(t));return x(e,H,i),e}var Un=S("ObservableObjectAdministration",Vn);function Gn(e){return Zn[e]||(Zn[e]={get:function(){return this[H].getObservablePropValue_(e)},set:function(t){return this[H].setObservablePropValue_(e,t)}})}function qn(e){return!!w(e)&&Un(e[H])}function Hn(e,t,n){var r;null==(r=e.target_[B])||delete r[n]}function Kn(e,t,n){}var Wn,$n,Yn=tr(0),Xn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Jn=0,Qn=function(){};Wn=Qn,$n=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Wn.prototype,$n):void 0!==Wn.prototype.__proto__?Wn.prototype.__proto__=$n:Wn.prototype=$n;var er=function(e,t,n){function r(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,cr((function(){var e=new gn(r,n,i,!0);e.proxy_=z(o),E(z(o),H,e),t&&t.length&&o.spliceWithArray(0,0,t),Xn&&Object.defineProperty(z(o),"0",Yn)})),o}L(r,e);var i=r.prototype;return i.concat=function(){this[H].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return Cn(e)?e.slice():e})))},i[n]=function(){var e=this,t=0;return _r({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},I(r,[{key:"length",get:function(){return this[H].getArrayLength_()},set:function(e){this[H].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(Qn,Symbol.toStringTag,Symbol.iterator);function tr(e){return{enumerable:!1,configurable:!0,get:function(){return this[H].get_(e)},set:function(t){this[H].set_(e,t)}}}function nr(e){l(er.prototype,""+e,tr(e))}function rr(e){if(e>Jn){for(var t=Jn;t<e+100;t++)nr(t);Jn=e}}function ir(e,t,n){return new er(e,t,n)}function or(e,t){if("object"===typeof e&&null!==e){if(Cn(e))return void 0!==t&&i(23),e[H].atom_;if(zn(e))return e.atom_;if(Rn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||i(25,t,sr(e)),n}if(qn(e)){if(!t)return i(26);var r=e[H].values_.get(t);return r||i(27,t,sr(e)),r}if(W(e)||Qe(e)||Ot(e))return e}else if(g(e)&&Ot(e[H]))return e[H];i(28)}function ar(e,t){return e||i(29),void 0!==t?ar(or(e,t)):W(e)||Qe(e)||Ot(e)||Rn(e)||zn(e)?e:e[H]?e[H]:void i(24,e)}function sr(e,t){var n;if(void 0!==t)n=or(e,t);else{if(zt(e))return e.name;n=qn(e)||Rn(e)||zn(e)?ar(e):or(e)}return n.name_}function cr(e){var t=st(),n=He(!0);vt();try{return e()}finally{wt(),Ke(n),ct(t)}}Object.entries(wn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&x(er.prototype,t,n)})),rr(1e3);var lr=u.toString;function ur(e,t,n){return void 0===n&&(n=-1),dr(e,t,n)}function dr(e,t,n,r,i){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var a=lr.call(e);
1if(a!==lr.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!==typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=pr(e),t=pr(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var c=e.constructor,l=t.constructor;if(c!==l&&!(g(c)&&c instanceof c&&g(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return i[u]===t;if(r.push(e),i.push(t),s){if((u=e.length)!==t.length)return!1;for(;u--;)if(!dr(e[u],t[u],n-1,r,i))return!1}else{var d,p=Object.keys(e);if(u=p.length,Object.keys(t).length!==u)return!1;for(;u--;)if(!A(t,d=p[u])||!dr(e[d],t[d],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function pr(e){return Cn(e)?e.slice():P(e)||Rn(e)||O(e)||zn(e)?Array.from(e.entries()):e}function _r(e){return e[Symbol.iterator]=fr,e}function fr(){return this}if(["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof a()[e]&&i("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:sr},$mobx:H}),!r.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return cr((function(){var r=Bn(e,n)[H];null!=t||(t=function(e){return A(e,B)||x(e,B,R({},e[B])),e[B]}(e)),T(t).forEach((function(e){return r.make_(e,t[e])}))})),e})throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var hr=n(31542);function mr(e){e()}function br(e){return Wt(e)}var gr=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),vr=new("undefined"!==typeof FinalizationRegistry?FinalizationRegistry:gr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),wr=!1;function yr(){return wr}var kr=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function xr(e){return"observer".concat(e)}var Er=function(){};function Sr(){return new Er}function Pr(e,t){if(void 0===t&&(t="observed"),yr())return e();var n=kr(r.useState(Sr),1)[0],i=kr(r.useState(),2)[1],o=function(){return i([])},a=r.useRef(null);a.current||(a.current={reaction:null,mounted:!1,changedBeforeMount:!1});var s,c,l=a.current;if(l.reaction||(l.reaction=new xt(xr(t),(function(){l.mounted?o():l.changedBeforeMount=!0})),vr.register(n,l,l)),r.useDebugValue(l.reaction,br),r.useEffect((function(){return vr.unregister(l),l.mounted=!0,l.reaction?l.changedBeforeMount&&(l.changedBeforeMount=!1,o()):(l.reaction=new xt(xr(t),(function(){o()})),o()),function(){l.reaction.dispose(),l.reaction=null,l.mounted=!1,l.changedBeforeMount=!1}}
1),[]),l.reaction.track((function(){try{s=e()}catch(t){c=t}})),c)throw c;return s}var Or="function"===typeof Symbol&&Symbol.for,Cr=Or?Symbol.for("react.forward_ref"):"function"===typeof r.forwardRef&&(0,r.forwardRef)((function(e){return null})).$$typeof,Tr=Or?Symbol.for("react.memo"):"function"===typeof r.memo&&(0,r.memo)((function(e){return null})).$$typeof;function jr(e,t){var n;if(Tr&&e.$$typeof===Tr)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(yr())return e;var i=null!==(n=null===t||void 0===t?void 0:t.forwardRef)&&void 0!==n&&n,o=e,a=e.displayName||e.name;if(Cr&&e.$$typeof===Cr&&(i=!0,"function"!==typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s,c,l=function(e,t){return Pr((function(){return o(e,t)}),a)};return""!==a&&(l.displayName=a),e.contextTypes&&(l.contextTypes=e.contextTypes),i&&(l=(0,r.forwardRef)(l)),l=(0,r.memo)(l),s=e,c=l,Object.keys(s).forEach((function(e){Ar[e]||Object.defineProperty(c,e,Object.getOwnPropertyDescriptor(s,e))})),l}var Ar={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function Dr(e,t){return(0,r.useState)((function(){return Ie(e(),t,{autoBind:!0})}))[0]}var Nr;!function(e){e||(e=mr),Ht({reactionScheduler:e})}(hr.unstable_batchedUpdates);Nr=vr.finalizeAllImmediately;wr=!1;var Ir={},Rr=(0,r.createContext)({});function Lr(){return Ir}var Mr=function(e){var t;for(var n in t=Ir,e)t[n]=e[n];return t},zr=function(){return Lr()},Zr=function(e){var t;return(null===(t=Lr()[e])||void 0===t?void 0:t.state)||{}},Fr=function(){return Rr},Vr=function(){return(0,r.useContext)(Rr)},Br=function(e){return(0,r.useContext)(Rr)[e].state||{}},Ur=function(e,t){var n,r,i=Lr();"update"in i[e]&&(null===(n=(r=i[e]).update)||void 0===n||n.call(r,t))}},12521:function(e,t,n){"use strict";var r,i,o;n.d(t,{Px:function(){return r},Si:function(){return i},Yk:function(){return o}}),function(e){e.couponWheelPopup="couponWheelPopup",e.videoPopup="videoPopup"}(r||(r={})),function(e){e.couponWheelFixed="couponWheelFixed",e.defaultFixed="defaultFixed"}(i||(i={})),function(e){e.Popup="popup",e.Fixed="fixed"}(o||(o={}));var a=[{key:r.couponWheelPopup,status:"false"},{key:r.videoPopup,status:"false"}],s=[{key:i.couponWheelFixed,status:"false"},{key:i.defaultFixed,status:"false"}];t.ZP=function(e){return{state:e||{popup:a,fixed:s},getTargetState:function(e,t){var n,r,i;return(null===(n=this.state)||void 0===n||null===(r=n[e])||void 0===r||null===(i=r.find((function(e){return e.key==t})))||void 0===i?void 0:i.status)||""},changeState:function(e,t,n){if(e&&t){var r=this.state[e]||[],i=null===r||void 0===r?void 0:r.findIndex((function(e){return e.key===t}));i>-1&&(this.state[e][i].status=n)}},checkDisPlayInOrder:function(e,t,n){if(e&&t){var r=this.state[e]||[];n&&n!=this.getTargetState(e,t)&&this.changeState(e,t,n);for(var i=0;i<r.length;i++){var o=this.state[e][i];if(o.key===t)return"true"===n||"true"===o.status;if("false"!==o.status)return!1}}return!1}}}},31505:function(e){function t(){}e.exports={runWithRequestContext:function(e,t){return("function"===typeof e?e:t)()},getRequestContext:function(){},getRequestStore:function(){},bindRequestStore:t,getRequestI18n:function(){},setRequestI18n:t,setRequestDocumentMeta:t,getRequestDocumentMeta:function(){}}},10317:function(e,t,n){"use strict";n.d(t,{z:function(){return x},Z:function(){return E}});var r=n(90089),i=n(97865),o=n(55732),a=n(90849),s=n(34707),c=n.n(s),l=n(369),u=n(5886),d=n(27551);function p(e){return d.Z.get("/web/featureConfig/navigation",{fetchOptions:{headers:{Lang:e}}}).catch((function(e){return{list:[],quickLinkList:[]}}))}var _=n(31198);var f=n(60139),h=["startTime","endTime"];function m(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 b=function(e){var t,n,i,o=(0,f.dg)();return null!==(t=e.activity)&&void 0!==t&&t.length&&(i={}),null===e||void 0===e||null===(n=e.activity)||void 0===n||n.map((function(e){var t=e.activityCode,n=void 0===t?"":t,s=e.styles,c=n.toLowerCase(),l=s.find((function(e){return e.startTime<=o&&o<e.endTime}));if(l){var u=l||{},d=u.startTime,p=u.endTime,_=(0,r.Z)(u,h)||{},f={};for(var b in _)f[b]=(null===_||void 0===_?void 0:_[b])||{};i[c]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?m(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({startTime:d,endTime:p},f)}else i[c]={}})),{activity:e.activity,current:i}},g=n(89791),v=n(1761),w=["referTask"];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 k(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){(0,a.Z)(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}var x=["all","nav","i18n","region","uriMap","topStripedBanner","topPromotionBar","tagTheme","referral"],E=function(e,t){var n=k(k({},{navList:{},topStripedBanner:{},topPromotionBar:{},tagTheme:{},clientKeys:{},referralConfig:{},debugNodeCache:"no-cache",homePageVersions:{}}),e);return t&&(n.debugNodeCache=t),{state:n,fetchState:function(e,t){var n=this;return(0,o.Z)(c().mark((function o(){var s,f,h,m,y,x,E,S,P,O,C,T,j,A,D,N;return c().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return s=n.state,f="".concat(e,"-").concat(t),o.next=4,Promise.all([s.regionList||(0,l.B)(),s.uriMapList||d.Z.get("/web/featureConfig/getUriMapLink",{params:{name:"shopify_new"}}).then((function(e){return e.uriMapLinkList})),s.translation||(0,u.i)(v),s.navList[f]||p(e),s.topStripedBanner[f]||(0,_.wD)(),s.topPromotionBar[f]||(0,_.Gf)(),s.tagTheme[f]||(0,_.nS)(),Object.keys(s.clientKeys).length>0?s.clientKeys:d.Z.get("/web/locale/client/keys"),s.referralConfig[t]||(0,g.e$)(),s.homePageVersions[t]||(0,_.s2)()]);case 4:h=o.sent,m=(0,i.Z)(h,10),y=m[0],x=m[1],E=m[2],S=m[3],P=m[4],O=m[5],C=m[6],T=m[7],j=m[8],A=m[9],(D=j).referTask,N=(0,r.Z)(D,w),n.state={debugNodeCache:s.debugNodeCache,regionList:y,uriMapList:x,translation:E,navList:k(k({},s.navList),{},(0,a.Z)({},f,S)),topStripedBanner:k(k({},s.topStripedBanner),{},(0,a.Z)({},f,P)),topPromotionBar:k(k({},s.topPromotionBar),{},(0,a.Z)({},f,O)),tagTheme:k(k({},s.tagTheme),{},(0,a.Z)({},f,b(C))),clientKeys:T,referralConfig:k(k({},s.referralConfig),{},(0,a.Z)({},t,N)),homePageVersions:k(k({},s.homePageVersions),{},(0,a.Z)({},t,A))};case 18:case"end":return o.stop()}}),o)})))()},clearState:function(e,t){var n=this;return(0,o.Z)(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=e,t.next="all"===t.t0?3:"region"===t.t0?5:"i18n"===t.t0?7:"nav"===t.t0?9:"uriMap"===t.t0?11:"topStripedBanner"===t.t0?13:"topPromotionBar"===t.t0?15:"tagTheme"===t.t0?17:"clientKeys"===t.t0?19:"referral"===t.t0?21:23;break;case 3:return n.state={navList:{},topStripedBanner:{},topPromotionBar:{},tagTheme:{},clientKeys:{},referralConfig:{},debugNodeCache:"no-cache",homePageVersions:{}},t.abrupt("break",23);case 5:return n.state.regionList=void 0,t.abrupt("break",23);case 7:return n.state.translation=void 0,t.abrupt("break",23);case 9:return n.state.navList={},t.abrupt("break",23);case 11:return n.state.uriMapList=void 0,t.abrupt("break",23);case 13:return n.state.topStripedBanner={},t.abrupt("break",23);case 15:return n.state.topPromotionBar={},t.abrupt("break",23);case 17:return n.state.tagTheme={},t.abrupt("break",23);case 19:return n.state.clientKeys={},t.abrupt("break",23);case 21:return n.state.referralConfig={},t.abrupt("break",23);case 23:case"end":return t.stop()}}),t)})))()},fetchRegionList:function(){var e=this;return(0,o.Z)(c().mark((function t(){var n,r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.state.regionList,null!==(n=r)&&void 0!==n&&n.length){t.next=6;break}return t.next=4,(0,l.B)().catch((function(){return[]}));case 4:r=t.sent,e.state.regionList=r;case 6:return t.abrupt("return",r);case 7:case"end":return t.stop()}}),t)})))()}}}},42507:function(e,t,n){"use strict";n.d(t,{z:function(){return _}});var r=n(90849),i=n(69380),o=n(98522),a=n(88303),s=n(46918),c=n(86677),l=n.n(c),u=n(97421);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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t){var n=e.code,r=e.message;"undefined"===typeof e.code&&u.Z.error(r);var c=[i.Yi,i.rA,i.DT].includes(n)?"strong":"weak";switch(n){case i.Yi:case i.Xf:(0,o.pF)(p({severity:c,content:e.message,okText:"Sign In",afterClose:function(){return l().push((0,s.generatePath)(a.g.LOGIN,{redirect:window.location.href}))}},null===t||void 0===t?void 0:t.goLogin));break;case i.rA:case i.F_:(0,o.pF)(p({severity:c,content:e.message,okText:"RETURN",afterClose:function(){return l().reload()}},null===t||void 0===t?void 0:t.reload));break;case i.DT:case i.RG:(0,o.pF)(p({severity:c,content:e.message,okText:"RETURN",afterClose:function(){return l().push(a.g.CART)}},null===t||void 0===t?void 0:t.goCart));break;default:u.Z.error(r)}}},27551:function(e,t,n){"use strict";n.d(t,{h:function(){return y},Z:function(){return E}});var r=n(90849),i=n(97865),o=n(48013),a=n.n(o),s=n(68891),c=n(56840),l=n(72202),u=n(12795),d=n(69380),p=n(86677),_=n.n(p),f=n(88303),h=n(46918);function m(){var e,t=null===(e=Intl.DateTimeFormat())||void 0===e?void 0:e.resolvedOptions();return null===t||void 0===t?void 0:t.timeZone}var b=n(19e3);function g(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?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(/^(http:|https:)+\/\//.test(e))return e;if(/^\/\//.test(e))return window.location.protocol+e;var n=(0,l.qm)("rootStore"),r=n.host;return e=e.replace(/^\/+/,""),t=(t=t||"//".concat(r)).replace(/\/+$/,""),w("".concat(t,"/").concat(e))}var y=Object.create(null),k=100001,x=100003;["get","post"].forEach((function(e){y[e]=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=w(t,(n=(0,c.aq)(n)).baseUrl),o=(0,l.qm)("rootStore"),p=o.lang,g=o.country,y=o.currency,E=(o.loginToken,o.accessToken),S=o.ua,P={Accept:"application/json",Lang:p,Country:g||"US",Currency:y||"USD","X-Timezone":m(),"LOGIN-TOKEN":(0,u.ej)(d.b1)||"","ACCESS-TOKEN":(0,u.ej)(d.tr)||E||"","SERVER-PLATFORM":S.isPhone?"m":"pc"};var O=(0,c.TS)({method:e,headers:P,credentials:"include",cache:"no-cache"},n.fetchOptions||{});if(n.params&&(r+="".concat(r.includes("?")?"&":"?").concat(s.stringify(n.params,{arrayFormat:"bracket"}))),n.data&&"post"===e)if(n.isUpload)if((0,c.sO)(n.data)){var C=new FormData;Object.entries(n.data).forEach((function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];C.append(n,r)})),O.body=C}else O.body=n.data;else n.isForm?O.headers["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8":O.headers["Content-Type"]="application/json",O.body=JSON.stringify(n.data);else O.headers["Content-Type"]="application/json";return n.debug?(console.log("----- api debug -----"),console.log("url: ",r),console.log("fetchOpts: ",O),new Promise((function(e){return e({})}))):a()(r,O).then((function(e){if(e.status>=400)throw new Error("[".concat(e.status,"] ").concat(e.statusText));return e.json()})).then((function(e){if(0===e.code||"0"===e.code)return(0,b.addAppLogGroup)(r,{fullUrl:r,fetchOpts:O,response:e}),!1===n.forceCamel?e.data:(0,c.UJ)(e.data);throw e})).catch((function(e){var t;/failed to fetch|networkerror|network request failed|load failed/i.test((null===(t=e)||void 0===t?void 0:t.message)||"")&&(e=new Error("Network error. Please try again later.")),(0,b.addAppLogGroup)(r,{fullUrl:r,fetchOpts:O,error:e}),e.code===k?((0,u.A0)(d.b1),n.commonErrorHandler||_().push((0,h.generatePath)(f.g.LOGIN,{redirect:_().asPath||f.g.SHOP}))):e.code===x&&_().push((0,h.generatePath)(f.g.ORDERS));var i=v({url:r},O);return e.request=i,Promise.reject(e)}))}}));var E=y},49696:function(e,t,n){"use strict";n.d(t,{Mc:function(){return P},vm:function(){return E},uu:function(){return M},N0:function(){return y},ec:function(){return k},gO:function(){return C},vS:function(){return O},US:function(){return I},iN:function(){return T},Al:function(){return S},EM:function(){return A},rK:function(){return j},It:function(){return R},AT:function(){return N}});var r=n(90849),i=n(90089),o=n(475),a=n(7756),s=n(69380),c=n(13567),l=n(88303),u=n(72202),d=n(86677),p=n.n(d),_=n(46918),f=[{reg:s.Gm,callback:function(e){var t=(0,c.m)(e).listSn;(0,o.jM)("nativeProductList",{listId:t})}},{reg:s.Ot,callback:function(e){var t=(0,c.m)(e),n=t.productId,r=t.variantId;(0,o.jM)("nativeProductDetails",{spuId:n,skuId:r})}},{url:l.g.LOGIN,callback:function(e,t){S((function(){var e=(0,_.getParamInSearch)("redirect",(0,_.getSearch)(t));if(e){var n=e.replace(/[?#].*$/,""),r=P(n);r?r.callback(n,e):p().push(e)}else p().reload()}))}},{url:l.g.COUPONS,callback:function(){var e=(0,u.qm)("userStore").userId;(0,o.jM)("nativeCouponPage",{userId:e})}},{url:l.g.POINTS,callback:function(){var e=(0,u.qm)("userStore").userId;(0,o.jM)("nativePointsPage",{userId:e})}},{url:l.g.CART,callback:function(){var e=(0,u.qm)("userStore").userId;(0,o.jM)("nativeCartPage",{userId:e})}}],h=n(12795),m=n(76803),b=["variantNums","source","cacheKey"];function g(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]:{};
1t%2?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}a.Z.appLinkRoot;var w={};function y(e){return e||(e=window.navigator.userAgent),/(sn-App)/i.test(e)||"1"===(0,_.getParamInSearch)(s.QT)}function k(e){return e||(e=window.navigator.userAgent),/(sn-App)/i.test(e)}function x(e,t,n){w[e]&&clearTimeout(w[e]),w[e]=setTimeout((function(){(0,o.jM)(e,t,n),delete w[e]}),300)}function E(e){(0,o.jM)("nativeUserStatus",e)}function S(e){x("nativeLoginPage",(function(t){t.loginToken?(0,h.d8)(s.b1,t.loginToken):(0,h.A0)(s.b1),(0,h.d8)(s.tr,t.accessToken),(0,u.PC)("userStore",t),e&&e(t)}))}function P(e){var t=function(e){var t,n;return e.includes("://")?null===(t=e.split("://"))||void 0===t||null===(n=t[1])||void 0===n?void 0:n.split("/")[1]:e.split("/")[1]}(e);return f.find((function(n){return n.url===e||n.reg&&n.reg.test(t)}))}function O(e){x("nativeCartNum",{cartNum:e})}function C(e){var t=e.variantNums,n=e.source,r=e.cacheKey,o=(0,i.Z)(e,b),a=(0,u.qm)("userStore").userId,s=v(v({},o),{},{userId:a,productItems:t.map((function(e){return{productVariantId:e.variantId,num:e.num}}))});n&&(s.source=n),r&&(s.cacheKey=r),x("nativeCheckoutFromBuyNow",s)}function T(e){return new Promise((function(t){(0,o.jM)("GetDataFromNative",{key:e},(function(e){t(e?"string"===typeof e?e:JSON.stringify(e):null)}))}))}function j(e,t,n){(0,o.jM)("StashDataToNative",{key:e,value:t,source:n})}function A(e){return new Promise((function(t){(0,o.jM)("DeleteDataToNative",{keys:[e]},(function(){t(!0)}))}))}function D(e){if(e){var t={lang:e.language||void 0,country:e.country||void 0,currency:e.currency||void 0,login_token:e.login_token||void 0,access_token:e.access_token||void 0},n={lang:(0,h.ej)(s.Lc),country:(0,h.ej)(s.RI),currency:(0,h.ej)(s.ap),login_token:(0,h.ej)(s.b1),access_token:(0,h.ej)(s.tr)},r=window.location.search,i=(0,m.Rh)(r),o=v(v({},n),i);if(!function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.keys(e),r=0;r<n.length;r++){var i=n[r],o=e[i],a=t[i];if(o){if(o!=a)return!1}else if(!o!=!a)return!1}return!0}(t,o)){var a=(0,m.g5)(window.location.pathname);t["-t"]=(new Date).getTime();var c=(0,_.updateSearch)(t,r),l=window.location.hash,u=t.country||o.country||"US",d=t.lang||o.lang||"en",p="/".concat(d,"-").concat(u)+a+c+(l.startsWith("#drawer-")?"":l);window.location.replace(p)}}else console.log("webReload response undefined")}function N(e,t){(0,o.jM)("trackToNative",{eventType:e,tracks:t})}function I(e,t){x("CopyContentToNative",{text:e},t)}function R(e,t){x("ShareContentToNative",e,t)}function L(e){y()&&"1"==e[s.Fb]?(console.log("back to app"),x("nativeWebViewGoBack")):(console.log("back to pre page"),window.history.back())}function M(e){(0,o.Ev)("webReload",D),(0,o.Ev)("appNavGoBack",(function(){L(e)}))}},93737:function(e,t,n){"use strict";function r(e,t){var n=new Array(Math.ceil(e.length/t));return e.forEach((function(e,r){var i=Math.floor(r/t);n[i]||(n[i]=[]),n[i][r%t]=e})),n}function i(e){return e.reduce((function(e,t){return e+t}))}function o(e){return e.reduce((function(e,t){return e.concat(t)}),[])}n.d(t,{Ad:function(){return r},Sm:function(){return i},xH:function(){return o}})},475:function(e,t,n){"use strict";n.d(t,{BJ:function(){return d},Ev:function(){return u},jM:function(){return l}});var r=n(72202),i=n(46918),o=n(69380),a=n(19e3);function s(e,t){(0,a.appLogActive)()&&(console.log("----- ".concat(e)),t&&console.log(t),(0,a.addAppLogGroup)("--- ".concat(e),t))}function c(e){window.WebViewJavascriptBridge?e(window.WebViewJavascriptBridge):document.addEventListener("WebViewJavascriptBridgeReady",(function(){e(window.WebViewJavascriptBridge)}),!1)}function l(e,t,n){var i=(0,r.qm)("rootStore").ua,o=i.isAndroid;if(i.isApp){"function"===typeof t&&(n=t,t=void 0),s("trackToNative"===e?"".concat(e," request: ").concat(t.eventType):"".concat(e," request"),t);var a=function(t){var r;s("".concat(e," response"),t),null===(r=n)||void 0===r||r(t)};window.WebViewJavascriptBridge?window.WebViewJavascriptBridge.callHandler(e,t,a):o&&c((function(n){n.init((function(e,t){t&&t({})})),n.callHandler(e,t,a)}))}}function u(e,t){var n=(0,r.qm)("rootStore").ua,i=n.isAndroid;if(n.isApp){s("registerHandler: ".concat(e));var o=function(n){if(s("call web: ".concat(e),n),"string"===typeof n)try{n=JSON.parse(n)}catch(r){console.log("wrong response params: ".concat(n))}t(n)};window.WebViewJavascriptBridge?window.WebViewJavascriptBridge.registerHandler(e,o):i&&c((function(t){t.init((function(e,t){t&&t({})})),t.registerHandler(e,o)}))}}function d(){var e=(0,r.qm)("rootStore").ua,t=e.isAndroid;if(e.isApp&&!window.WebViewJavascriptBridge){if("1"===(0,i.getParamInSearch)(o.QT))return void function(){if(window.WebViewJavascriptBridge)return;console.log("-----mockWebViewJavascriptBridge-----"),window.WebViewJavascriptBridge={init:function(){},callHandler:function(e,t,n){switch(e){case"nativeLoginPage":case"nativeUserStatus":n&&n({success:!0,userId:"64055074298658816",loginToken:"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3Mjg5MjcxMjksInVzZXJJZCI6MTQ4Njc2MDcwODgyNzA3NDI4LCJpYXQiOjE3MDMwMDcxMjl9.GTHiNvPnIyreirsHCz4nO4uDQL51EPFn_WFZh9PmReY",accessToken:"acc123"});break;case"nativeCheckoutCouponSelected":n&&n({success:!0,applied:!0});break;case"nativeOpenSearchPopup":n&&n({success:!0,keyword:"grow tent"});break;case"ShareContentToNative":n&&n({success:!0,channel:"copyLink"});break;case"GetDataFromNative":n&&n({value:'{"foo":"bar"}'});break;case"nativeNavigationRightItemConfig":case"nativeTopBarConfig":n&&n("cart");break;default:n&&n({success:!0})}},registerHandler:function(e,t){window.WebViewAppHandlers=window.WebViewAppHandlers||{},window.WebViewAppHandlers[e]=t}}}();t&&l("init")}}},50232:function(e,t,n){"use strict";n.d(t,{A:function(){return f},z:function(){return _}});var r=n(55732),i=n(34707),o=n.n(i),a=n(57471),s=n(88303),c=n(46918),l=n(86677),u=n.n(l),d=n(69380),p=n(54901),_=function(){var e=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,a.hX)(t);case 3:e.next=9;break;
1case 5:throw e.prev=5,e.t0=e.catch(0),e.t0.code===d.O3&&u().push((0,c.generatePath)(s.g.LOGIN,{redirect:u().asPath})),e.t0;case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,p.CR)(t);case 3:e.next=9;break;case 5:throw e.prev=5,e.t0=e.catch(0),e.t0.code===d.O3&&u().push((0,c.generatePath)(s.g.LOGIN,{redirect:u().asPath})),e.t0;case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t){return e.apply(this,arguments)}}()},53589:function(e,t,n){"use strict";n.d(t,{I:function(){return i},M:function(){return r}});var r=!1,i="prod"},85046:function(e,t,n){"use strict";n.d(t,{$T:function(){return r}});n(56840);function r(e){return"object"===typeof e&&e?e:{}}},60139:function(e,t,n){"use strict";n.d(t,{cj:function(){return p},dg:function(){return u},mW:function(){return l},sF:function(){return d}});var r,i=n(68697),o=n(12795),a=n(69380);!function(e){e.DAY="yyyy.mm.dd",e.MINUTE="yyyy.mm.dd HH:MM",e.SECOND="mmm dd, yyyy HH:MM:ss"}(r||(r={}));var s={en:{dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},de:{dayNames:["So","Mo","Di","Mi","Do","Fr","Sa","Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],monthNames:["Jan","Feb","M\xe4rz","Apr","Mai","Juni","Juli","Aug","Sept","Okt","Nov","Dez","Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],timeNames:["a","p","am","pm","A","P","AM","PM"]},fr:{dayNames:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam","Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],monthNames:["Janv","F\xe9vr","Mars","Avr","Mai","Juin","Juil","Ao\xfbt","Sept","Oct","Nov","D\xe9c","Janvier","F\xe9vrier","Mars","Avril","Mai","Juin","Juillet","Ao\xfbt","Septembre","Octobre","Novembre","D\xe9cembre"],timeNames:["a","p","am","pm","A","P","AM","PM"]},es:{dayNames:["Dom","Lun","Mar","Mi\xe9","Jue","Vie","S\xe1b","Domingo","Lunes","Martes","Mi\xe9rcoles","Jueves","Viernes","S\xe1bado"],monthNames:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic","Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],timeNames:["a","p","am","pm","A","P","AM","PM"]},cs:{dayNames:["Ne","Po","\xdat","St","\u010ct","P\xe1","So","Ned\u011ble","Pond\u011bl\xed","\xdater\xfd","St\u0159eda","\u010ctvrtek","P\xe1tek","Sobota"],monthNames:["Led","\xdano","B\u0159e","Dub","Kv\u011b","\u010cvn","\u010cvc","Srp","Z\xe1\u0159","\u0158\xedj","Lis","Pro","Leden","\xdanor","B\u0159ezen","Duben","Kv\u011bten","\u010cerven","\u010cervenec","Srpen","Z\xe1\u0159\xed","\u0158\xedjen","Listopad","Prosinec"],timeNames:["a","p","am","pm","A","P","AM","PM"]}};function c(){var e=(0,o.ej)(a.Lc)||"en",t=s[e]||s.en;i.ag.dayNames=null===t||void 0===t?void 0:t.dayNames,i.ag.monthNames=t.monthNames,i.ag.timeNames=t.timeNames}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.SECOND;return c(),(0,i.ZP)(new Date(e),t)}function u(e){return e?Math.round(new Date(e).getTime()/1e3):Math.round((new Date).getTime()/1e3)}function d(e){var t=[];return Number(e.day)>0&&t.push("".concat(e.day,"D")),t.push("".concat(e.hour,"H")),t.push("".concat(e.minute,"M")),t.push("".concat(e.second,"S")),t.map((function(e){return"<span>".concat(e,"</span>")})).join("<em>:</em>")}function p(e,t){var n=u();return n>=Number(e)&&n<=Number(t)}},66701:function(e,t,n){"use strict";function r(e){return new Promise((function(t){setTimeout(t,e)}))}n.d(t,{Z:function(){return r}})},65712:function(e,t,n){"use strict";n.d(t,{AE:function(){return x},G3:function(){return k},S1:function(){return E},Vs:function(){return S},YS:function(){return y}});var r=n(73679),i=n(90089),o=n(90849),a=n(27378),s=n(98180),c=n(24246),l=["animationDuration"];function u(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=0,_=[],f=new Set,h=function(){f.forEach((function(e){return e()}))},m=function(e){return f.add(e),function(){f.delete(e)}},b=function(){return _},g=[],v=function(){return g},w=function(e){var t,n=_.find((function(t){return t.id===e}));if(null!==n&&void 0!==n&&n.open){_=_.map((function(t){return t.id===e?d(d({},t),{},{open:!1}):t})),h();var r=null!==(t=n.config.animationDuration)&&void 0!==t?t:300;window.setTimeout((function(){!function(e){_.some((function(t){return t.id===e}))&&(_=_.filter((function(t){return t.id!==e})),h())}(e)}),r)}},y=function(){var e=(0,a.useSyncExternalStore)(m,b,v);return(0,c.jsx)(c.Fragment,{children:e.map((function(e,t){var n=e.config,r=(n.animationDuration,(0,i.Z)(n,l));return(0,c.jsx)(s.Vq,d(d({},r),{},{open:e.open,onOpenChange:function(t){var n,r;t?null===(n=(r=e.config).onOpenChange)||void 0===n||n.call(r,!0):w(e.id)}}),e.id)}))})};function k(e){var t=++p;return _=[].concat((0,r.Z)(_),[{id:t,open:!0,config:e}]),h(),{destroy:function(){return w(t)},update:function(e){_=_.map((function(n){return n.id===t?d(d({},n),{},{config:d(d({},n.config),e)}):n})),h()}}}function x(e){"string"===typeof e&&(e={body:e}),k(d({bodyClassName:"text-center",width:370,closeIcon:!0},e))}function E(e){"string"===typeof e&&(e={body:e}),k(d({bodyClassName:"text-center",width:370,okText:!0,closable:!1},e))}function S(e){"string"===typeof e&&(e={body:e}),k(d({bodyClassName:"text-center",width:370,okText:!0,cancelText:!0},e))}},23767:function(e,t,n){"use strict";n.d(t,{$P:function(){return a},BX:function(){return o},DU:function(){return l},_P:function(){return s},sU:function(){return c}});var r=n(54151),i=n(53589);function o(e){return"".concat(Math.round(e/24*1e3)/1e3,"rem")}function a(e){return"".concat(Math.round(e/12*1e3)/1e3,"rem")}function s(e){return 0===e?"0px":"number"===typeof e?i.M&&r.r.useRem?"".concat(Math.round(e/12*1e3)/1e3,"rem"):"".concat(e,"px"):e}function c(e,t){return Math.round(t/e*1e5)/1e3+"%"}function l(e,t){return Math.round(e/t*1e5)/1e3+"%"}},23001:function(e,t,n){"use strict";n.d(t,{Cr:function(){return f},Dk:function(){return d},K0:function(){return _},Mc:function(){return c},UH:function(){return g},V_:function(){return s},iF:function(){return m},kL:function(){return p},pP:function(){return u},sW:function(){return b},vN:function(){return l},zK:function(){return h}});var r=n(97865),i=n(90849);n(23767);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 a(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,i.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}function s(e){return e.moduleId?"".concat("WEB"," ").concat(e.moduleId):""}function c(e){return e.moduleId?e.moduleId.trim().replaceAll(" ","-").toLowerCase():""}function l(e,t){var n=e.lists[t];return{targetType:"banner",target:n.linkUrl||n.videoUrl||n.picUrl||"",relTarget:n.linkUrl||n.videoUrl||n.picUrl,module:s(e),position:t+1,creative:n.videoUrl||n.picUrl}}function u(e,t,n){return{targetType:"banner",target:e.linkUrl||e.videoUrl||e.picUrl||"",relTarget:e.linkUrl||e.videoUrl||e.picUrl,module:t,position:n+1,creative:e.videoUrl||e.picUrl}}function d(e){var t=e.moduleCode,n=e.trackCode,r=e.item,i=e.index,o=e.targetPrefix,s=void 0===o?"":o,c=r.variantTrackCode||r.productTrackCode,l=s?"".concat(s,":").concat(c):c;return a(a({},r),{},{listTrackCode:n||t,module:t,targetType:r.variantId?"variant":"product",target:l,relTarget:l,position:i+1})}function p(e){return{targetType:"other",target:"view-more",relTarget:"view-more",module:e,position:"view-more"}}function _(e){var t=e.back,n=e.textColor,r={},i={};return null!==t&&void 0!==t&&t.pic&&(r.backgroundImage="url('".concat(t.pic,"')"),r.backgroundPosition="top center"),null!==t&&void 0!==t&&t.color&&(r.backgroundColor=t.color),n&&(i.color=n),{bgStyle:r,textStyle:i}}function f(e,t){return!1===t?null:a({text:e.title,link:e.readMoreLink,linkText:e.readMoreTitle,endTimeStamp:e.endTimeStamp,moduleCode:e.moduleId?s(e):""},t)}function h(e,t,n){var r=t.lists[n];return{targetType:"list",target:r.linkUrl,relTarget:r.linkUrl,module:s(t),position:n+1,creative:r.picUrl}}function m(e){var t={};return e&&Object.entries(e).forEach((function(e){var n=(0,r.Z)(e,2),i=n[0],o=n[1];o>0&&(t[i]="".concat(o,"px"))})),t}function b(e){var t={};return null!==e&&void 0!==e&&e.image&&(t.backgroundImage="url('".concat(e.image,"')"),t.backgroundPosition="top center",t.backgroundSize="cover"),null!==e&&void 0!==e&&e.color&&(t.background=e.color),t}function g(e){var t=e.background,n=e.space;return a(a({},b(t)),m(n))}},72791:function(e,t,n){"use strict";n.d(t,{cb:function(){return r}});n(34707);var r=function(e){return/\.(swf|flv|mp4|rmvb|avi|mpeg|ra|ram|mov|wmv|webm|m3u8)$/i.test(e.replace(/[?#].*$/,""))}},49022:function(e,t,n){"use strict";n.d(t,{F:function(){return s}});var r=n(97865),i=n(68891),o=n(7756),a=n(46918);function s(){var e=document.querySelector('link[rel="canonical"]');if(e){var t=e.getAttribute("href")||"",n=(0,a.getSearch)(t),r=t.replace("https://".concat(o.Z.domain),"").replace(/\?.*$/,"");return(r=r.replace(/^\/[a-zA-Z]{2}(-[a-zA-Z]{2}){0,1}$/,"/").replace(/^\/[a-zA-Z]{2}(-[a-zA-Z]{2}){0,1}\//,"/"))+n}return""}t.Z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={},a=!0;return Object.entries(t).map((function(e){var t=(0,r.Z)(e,2),i=t[0],s=t[1];n.includes(i)&&(o[i]=s,a=!1)})),a?e:"".concat(e,"?").concat(i.stringify(o,{arrayFormat:"bracket"}))}},85737:function(e,t,n){"use strict";n.d(t,{C9:function(){return a},CT:function(){return s},QS:function(){return u},Rz:function(){return l},ac:function(){return c},lL:function(){return p},po:function(){return d}});var r=n(40397),i="asset/width-500/picture/10c9cf377deb0a64c729fecbb6a4baab.png",o=function(e,t){if(e&&e.length){var n=t||"isMain";return e.find((function(e){return!!e[n]}))}},a=function(e){if(!e||!e.length)return[];var t=e,n=e.findIndex((function(e){return e.isMain}));if(-1!=n){var r=t.splice(n,1);t.unshift(r[0])}return t},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=e.filter((function(e){return e.productVariantId==t}));return n.length||(n=e.filter((function(e){return 0===Number(e.type)}))),n},c=function(e,t){var n=e;return t&&(n=s(e,t)),o(n)||n[0]||e[0]},l=function(e,t){var n;return(null===(n=c(e,t))||void 0===n?void 0:n.picLink)||""},u=function(e,t,n){var r=e;t&&(r=s(e,t));var i=o(r,n);return"isMain"==n?i||r[0]||e[0]:i},d=function(e,t){var n=new Image;n.onload=function(){n.onload=null,null===t||void 0===t||t(n)},n.onerror=function(){n.onerror=null,n.src=(0,r.AO)(i)},n.src=e},p=function(e,t){null!==e&&void 0!==e&&e.length&&(null===e||void 0===e||e.forEach((function(e){d(e)})),null===t||void 0===t||t())}},13567:function(e,t,n){"use strict";n.d(t,{A:function(){return o},m:function(){return i}});var r=n(69380),i=function(e){if(!e)return{};var t={};return r.Gm.test(e)?t.listSn=e.replace(/.*-c(\d+).*/,"$1"):r.Gt.test(e)?t.catId=e.replace(/.*-a(\d+).*/,"$1"):r.Ot.test(e)?(t.productId=e.replace(/.*-p(\d+)(-v\d+)*$/,"$1"),/-v\d+/.test(e)&&(t.variantId=e.replace(/.*-v(\d+)$/,"$1"))):r.CF.test(e)&&(t.articleGid=e.replace(/.*-t(\d+).*/,"$1")),t},o=function(){return decodeURIComponent(window.location.hash.replace("#",""))}},32996:function(e,t,n){"use strict";n.d(t,{cC:function(){return fe},Gc:function(){return pe},ct:function(){return he},Hf:function(){return de},IA:function(){return _e}});var r=n(90849);n(27378);const i={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 o{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||i,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new 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 o(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new o(this.logger,e)}}var a=new o;class s{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){Array.from(this.observers[e].entries()).forEac
1h((e=>{let[t,r]=e;for(let i=0;i<r;i++)t(...n)}))}if(this.observers["*"]){Array.from(this.observers["*"].entries()).forEach((t=>{let[r,i]=t;for(let o=0;o<i;o++)r.apply(r,[e,...n])}))}}}const c=()=>{let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n},l=e=>null==e?"":""+e,u=/###/g,d=e=>e&&e.indexOf("###")>-1?e.replace(u,"."):e,p=e=>!e||"string"===typeof e,_=(e,t,n)=>{const r="string"!==typeof t?t:t.split(".");let i=0;for(;i<r.length-1;){if(p(e))return{};const t=d(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return p(e)?{}:{obj:e,k:d(r[i])}},f=(e,t,n)=>{const{obj:r,k:i}=_(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=_(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=_(e,a,Object),s&&s.obj&&"undefined"!==typeof s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},h=(e,t)=>{const{obj:n,k:r}=_(e,t);if(n)return n[r]},m=(e,t,n)=>{const r=h(e,n);return void 0!==r?r:h(t,n)},b=(e,t,n)=>{for(const 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]):b(e[r],t[r],n):e[r]=t[r]);return e},g=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var v={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const w=e=>"string"===typeof e?e.replace(/[&<>"'\/]/g,(e=>v[e])):e;const y=[" ",",","?","!",";"],k=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const 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}}(20),x=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let o=0;o<r.length;){if(!i||"object"!==typeof i)return;let e,t="";for(let a=o;a<r.length;++a)if(a!==o&&(t+=n),t+=r[a],e=i[t],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&a<r.length-1)continue;o+=a-o+1;break}i=e}return i},E=e=>e&&e.indexOf("_")>0?e.replace("_","-"):e;class S 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){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):"string"===typeof n&&i?a.push(...n.split(i)):a.push(n)));const s=h(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),s||!o||"string"!==typeof n?s:x(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];
vendor: 1,700 bytes, line 1
1n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),f(this.data,a,r),i.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(const i in n)("string"===typeof n[i]||Array.isArray(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=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=h(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?b(s,n,i):s={...s,...n},f(this.data,a,s),o.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){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var P={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))})),t}};const O={};class C extends s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,n)=>{e.forEach((e=>{t[e]&&(n[e]=t[e])}))})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","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(void 0===e||null===e)return!1;const 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=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,n)=>{t=t||"",n=n||"";const r=y.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=k.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r);if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return"string"===typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,n){if("object"!==typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"===typeof t&&(t={...t}),t||(t={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],c=t.lng||this.language,l=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(l){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let d=u&&u.res;const p=u&&u.usedKey||o,_=u&&u.exactUsedKey||o,f=Object.prototype.toString.apply(d),h=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject;if(m&&d&&("string"!==typeof d&&"boolean"!==typeof d&&"number"!==typeof d)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(f)<0&&("string"!==typeof h||!Array.isArray(d))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,d,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(d),n=e?[]:{},r=e?_:p;for(const o in d)if(Object.prototype.hasOwnProperty.call(d,o)){const e=`${r}${i}${o}`;n[o]=this.translate(e,{...t,joinArrays:!1,ns:a}),n[o]===e&&(n[o]=d[o])}d=n}}else if(m&&"string"===typeof h&&Array.isArray(d))d=d.join(h),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,a=!1;const l=void 0!==t.count&&"string"!==typeof t.count,p=C.hasDefaultValue(t),_=l?this.pluralResolver.getSuffix(c,t.count,t):"",f=t.ordinal&&l?this.pluralResolver.getSuffix(c,t.count,{ordinal:!1}):"",h=l&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),m=h&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${_}`]||t[`defaultValue${f}`]||t.defaultValue;!this.isValidLookup(d)&&p&&(r=!0,d=m),this.isValidLookup(d)||(a=!0,d=o);const b=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,g=p&&m!==d&&this.options.updateMissing;if(a||r||g){if(this.logger.log(g?"updateKey":"missingKey",c,s,o,g?m:d),i){const e=this.resolve(o,{...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=[];const 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);const r=(e,n,r)=>{const i=p&&r!==d?r:b;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,g,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,g,t),this.emit
1("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);h&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||m)}))})):r(e,o,m))}d=this.extendTranslation(d,e,t,u,n),a&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,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,i){var o=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){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a="string"===typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let c=n.replace&&"string"!==typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),e=this.interpolator.interpolate(e,c,n.lng||this.language||r.usedLng,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i&&i[0]===r[0]&&!n.context?(o.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):o.translate(...r,t)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s="string"===typeof a?[a]:a;return void 0!==e&&null!==e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=P.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,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),c=s.key;n=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));const u=void 0!==a.count&&"string"!==typeof a.count,d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),p=void 0!==a.context&&("string"===typeof a.context||"number"===typeof a.context)&&""!==a.context,_=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);l.forEach((e=>{this.isValidLookup(t)||(o=e,!O[`${_[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(O[`${_[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${_.join(", ")}" won't get resolved as namespace "${o}" 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!!!")),_.forEach((n=>{if(this.isValidLookup(t))return;i=n;const o=[c];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(c+e),a.ordinal&&0===e.indexOf(r)&&o.push(c+e.replace(r,this.options.pluralSeparator)),d&&o.push(c+t)),p){const n=`${c}${this.options.contextSeparator}${a.context}`;o.push(n),u&&(o.push(n+e),a.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),d&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}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]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!==typeof e.replace;let r=n?e.replace:e;if(n&&"undefined"!==typeof e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}const T=e=>e.charAt(0).toUpperCase()+e.slice(1);
vendor: 16,448 bytes, line 1
1class j{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=a.create("languageUtils")}getScriptPartFromCode(e){if(!(e=E(e))||e.indexOf("-")<0)return null;const 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=E(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"===typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let 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){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"===typeof e&&(e=e(t)),"string"===typeof e&&(e=[e]),Array.isArray(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){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=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&&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)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}let A=[{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}],D={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)};const N=["v1","v2","v3"],I=["v4"],R={zero:0,one:1,two:2,few:3,many:4,other:5};class L{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&&!I.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=(()=>{const e={};return A.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:D[t.fc]}}))})),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{const n=E("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];const o=new Intl.PluralRules(n,{type:r});return this.pluralRulesCache[i]=o,o}catch(n){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const 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]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>R[e]-R[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]:{};const 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){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const i=()=>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()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!N.includes(this.options.compatibilityJSON)}}const M=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=m(e,t,n);return!o&&i&&"string"===typeof n&&(o=x(e,n,r),void 0===o&&(o=x(t,n,r))),o},z=e=>e.replace(/\$/g,"$$$$");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});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:_,nestingSuffixEscaped:f,nestingOptionsSeparator:h,maxReplaces:m,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:w,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?g(i):o||"{{",this.suffix=a?g(a):s||"}}",this.formatSeparator=c||",",this.unescapePrefix=l?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":l||"",this.nestingPrefix=d?g(d):p||g("$t("),this.nestingSuffix=_?g(_):f||g(")"),this.nestingOptionsSeparator=h||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new 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 i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){const i=M(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(M(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const u=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>z(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?z(this.escape(e)):z(e)}].forEach((t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=c(n),void 0===o)if("function"===typeof u){const t=u(e,i,r);o="string"===typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(d){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else"string"===typeof o||this.useRawValueToEscape||(o=l(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);(a&&a.length%2===0&&!s||s.length%2!==0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(c){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,c),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];i={...o},i=i.replace&&"string"!==typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),s=e,c=!0}if(r=t(a.call(this,n[1].trim(),i),i),r&&n[0]===e&&"string"!==typeof r)return r;"string"!==typeof r&&(r=l(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),c&&(r=s.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const F=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(E(r),i),t[a]=s),s(n)}};class V{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=a.create("formatter"),this.options=e,this.formats={number:F(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:F(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:F(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:F(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:F(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=F(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find((e=>e.indexOf(")")>-1))){const e=i.findIndex((e=>e.indexOf(")")>-1));i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce(((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{const a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(a){this.logger.warn(a)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e)}}class B 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){const i={},o={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const a={};this.queue.forEach((n=>{((e,t,n,r)=>{const{obj:i,k:o}=_(e,t,Object);i[o]=i[o]||[],i[o].push(n)})(n.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEac
1h((e=>{a[e]||(a[e]={});const 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,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*i,o)}),i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"===typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(c){a(c)}}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]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.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]:"";const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,((n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)}))}saveMissing(e,t,n,r,i){let o=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!!!");else if(void 0!==n&&null!==n&&""!==n){if(this.backend&&this.backend.create){const c={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,c):l(e,t,n,r),i&&"function"===typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(s){a(s)}else l(e,t,n,r,a,c)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}const U=()=>({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: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]){const 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}}),G=e=>("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&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),q=()=>{};class H extends s{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=G(e),this.services={},this.logger=a,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEac
vendor: 4,319 bytes, line 1
1h((e=>{"function"===typeof n[e]&&(n[e]=n[e].bind(n))})),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;this.isInitializing=!0,"function"===typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"===typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=U();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);const i=e=>e?"function"===typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?a.init(i(this.modules.logger),this.options):a.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!==typeof Intl&&(t=V);const n=new j(this.options);this.store=new S(this.options.resources,this.options);const o=this.services;o.logger=a,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new L(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||(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new Z(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new B(i(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new C(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=q),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const 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}}));const o=c(),s=()=>{const e=(e,t)=>{this.isInitializing=!1,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),o.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),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q;const n="string"===typeof e?e:this.language;if("function"===typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};if(n)r(n);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e)))}
vendor: 3,527 bytes, line 1
1this.options.preload&&this.options.preload.forEach((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=c();return e||(e=this.languages),t||(t=this.options.ns),n||(n=q),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new 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&&P.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 t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=c();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):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=[]);const n="string"===typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{o(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;const i=function(e,t){let o;if("object"!==typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),c=2;c<a;c++)s[c-2]=arguments[c];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||i.keyPrefix);const l=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${l}${e}`)):o.keyPrefix?`${o.keyPrefix}${l}${e}`:e,r.t(u,o)};return"string"===typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}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;
1if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=c();return this.options.ns?("string"===typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=c();"string"===typeof e&&(e=[e]);const r=this.options.preload||[],i=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=r.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new j(U());return["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(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new H(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new H(r);void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e));return["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new S(this.store.data,r),i.services.resourceStore=i.store),i.translator=new C(i.services,r),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit(e,...n)})),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const K=H.createInstance();K.createInstance=H.createInstance;K.createInstance,K.dir,K.init,K.loadResources,K.reloadResources,K.use,K.changeLanguage,K.getFixedT,K.t,K.exists,K.setDefaultNamespace,K.hasLoadedNamespace,K.loadNamespaces,K.loadLanguages;var W=n(8191),$=n(69380),Y=n(46918),X=n(72202),J=n(56840),Q=n(59748),ee=n(16494),te=n(54511),ne=n(60124),re=n(43851),ie=n(24246);function oe(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 ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=K.createInstance();function ce(e,t){return{translation:(0,J.TS)(e,t||{})}}function le(e,t){return{lng:e,fallbackLng:"en",resources:{en:ce(Q,null===t||void 0===t?void 0:t.en),de:ce(ee,null===t||void 0===t?void 0:t.de),cs:ce(te,null===t||void 0===t?void 0:t.cs),es:ce(ne,null===t||void 0===t?void 0:t.es),fr:ce(re,null===t||void 0===t?void 0:t.fr)},react:{transSupportBasicHtmlNodes:!0},initImmediate:!1}}se.use(W.Db);var ue=function(){return se},de=function(e,t){return se.init(le(e,t),(function(e){if(e)return console.log("something went wrong loading",e)})),se},pe=function(e){ue().changeLanguage(e)},_e=function(){var e=(0,W.$G)(),t=(0,X.Kw)("rootStore").debugTrans;return"1"===t?{t:function(t,n){return t?"[".concat(t,"]").concat(e.t(t,n)):""}}:"2"===t?{t:function(e,t){return e}}:e},fe=function(e){var t=(0,X.Kw)("rootStore").debugTrans;return"1"===t?(0,ie.jsxs)(ie.Fragment,{children:["[",e.i18nKey,"]",(0,ie.jsx)(W.cC,ae({},e))]}):"2"===t?(0,ie.jsx)(ie.Fragment,{children:e.i18nKey}):(0,ie.jsx)(W.cC,ae({},e))};function he(e){return"1"!==(0,Y.getParamsInSearch)()[$.lY]?ue().t(e):e}},64584:function(e,t){"use strict";var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60,(new Date).getTime())},r=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)};t.Z=function(e,t){var i=-1,o=0;t=t||16.667;var a=function r(a){var s=!0;a-o>=t&&(s=!1!==e(),o=a),i=s?n(r):-1};return{start:function(){-1===i&&(i=n(a))},stop:function(){r(i),i=-1}}}},20480:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var r={set:function(e,t){window.localStorage.setItem(e,t)},get:function(e){return window.localStorage.getItem(e)},remove:function(e){window.localStorage.removeItem(e)}}},52532:function(e,t,n){"use strict";n.d(t,{$p:function(){return a},fL:function(){return o},i8:function(){return s},lL:function(){return c},xV:function(){return l}});var r=n(40397);function i(e){return new Promise((function(t){var n=e.file,r=e.maxSize,o=e.forceToJPG,a=e.name;e.type;if(n.size<=r)return t(n);var s=new FileReader;s.readAsDataURL(n),s.onload=function(e){var c=document.createElement("img");c.src=s.result,c.onload=function(){var e=document.createElement("canvas"),s=e.getContext("2d"),l=n.size/r,u=Math.floor(c.naturalWi
1dth/l),d=Math.floor(c.naturalHeight/l);e.width=u,e.height=d,s.clearRect(0,0,u,d),s.drawImage(c,0,0,u,d);var p=n.type;o&&n.name.replace(/\.\w+$/,".jpg"),e.toBlob((function(e){var n=new File([e],a,{type:"image/jpeg",lastModified:Date.now()});n.size>r?t(i({file:n,maxSize:r,name:a,type:p})):t(n)}),"image/jpeg",.6)}}}))}function o(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return i({file:e,maxSize:t,forceToJPG:n,name:e.name,type:e.type})}function a(e){return new Promise((function(t){var n=document.createElement("video");n.autoplay=!1,n.setAttribute("crossOrigin","anonymous"),n.setAttribute("src",URL.createObjectURL(e)),n.setAttribute("preload","metadata"),n.setAttribute("muted","muted"),n.addEventListener("loadeddata",(function(){var e,r=n.videoWidth,i=n.videoHeight,o=document.createElement("canvas");o.width=r,o.height=i,null===(e=o.getContext("2d"))||void 0===e||e.drawImage(n,0,0,r,i);var a=o.toDataURL("image/jpeg");t({width:r,height:i,duration:n.duration,cover:a})}))}))}var s=function(e){return!!(e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2)};function c(e){return new Promise((function(t){var n=[],i=0,o=function(){i===e.length&&t(n)};e.forEach((function(e,t){(function(e,t){return new Promise((function(n,i){var o=t||{},a=o.onSuccess,s=o.onError,c=o.onFinish,l=new Image;l.onload=function(){l.onload=null,null===a||void 0===a||a(),null===c||void 0===c||c(),n(l)},l.onerror=function(){l.onerror=null,null===s||void 0===s||s(),null===c||void 0===c||c(),i(e)},l.src=(0,r.$B)(e)}))})(e).then((function(e){n[t]=e,i++,o()})).catch((function(){n[t]=null,i++,o()}))}))}))}function l(e,t){if(e&&t){var n=e.getContext("2d");if(n){var r=t.width,i=t.height,o=e.offsetWidth,a=e.offsetHeight;e.width=o,e.height=a,(t.width>o||t.height>a)&&(t.width/t.height>=o/a?(i=t.height<=a?t.height:a,r=Math.floor(i*t.width/t.height)):(r=t.width<=o?t.width:o,i=Math.floor(r*t.height/t.width))),n.clearRect(0,0,o,a),n.drawImage(t,(o-r)/2,(a-i)/2,r,i)}}}},62157:function(e,t,n){"use strict";n.d(t,{T4:function(){return l},WA:function(){return u},iv:function(){return d}});var r=n(90849),i=n(72202),o=n(93737);function a(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 s={USD:{precision:2,decimalSeparator:".",thousandsSeparator:",",symbolPosition:"left",symbolSpace:!1},EUR:{precision:2,decimalSeparator:",",thousandsSeparator:".",symbolPosition:"right",symbolSpace:!0},GBP:{precision:2,decimalSeparator:".",thousandsSeparator:",",symbolPosition:"left",symbolSpace:!1},CAD:{precision:2,decimalSeparator:".",thousandsSeparator:"",symbolPosition:"left",symbolSpace:!1},AUD:{precision:2,decimalSeparator:".",thousandsSeparator:"",symbolPosition:"left",symbolSpace:!1},CZK:{precision:0,decimalSeparator:",",thousandsSeparator:" ",symbolPosition:"right",symbolSpace:!0}},c=function(e){var t,n,c,l=(0,i.bh)(),u=l.rootStore,d=l.persistStore,p=null===u||void 0===u||null===(t=u.state)||void 0===t?void 0:t.country,_=null===u||void 0===u||null===(n=u.state)||void 0===n?void 0:n.currency,f=(0,o.xH)(((null===d||void 0===d||null===(c=d.state)||void 0===c?void 0:c.regionList)||[]).map((function(e){return e.countryList}))).find((function(e){return e.countryCode===p})).currencyList.find((function(e){return e.code===_})),h=(null===f||void 0===f?void 0:f.currencySymbol)||"",m=function(e){return e&&s[e]||s.USD}(_),b=m.precision,g=Math.pow(10,b),v=String((Math.round(Number(e)*g)/g).toFixed(b)).split(".");return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({integer:v[0],decimal:v[1]||"",currencySymbol:h,currency:_},m)},l=function(e){var t=c(e),n=t.thousandsSeparator;return{currencySymbol:t.currencySymbol,currency:t.currency,integer:n?t.integer.replace(/(\d)(?=(\d{3})+$)/g,"$1".concat(n)):t.integer,decimal:t.decimal?"".concat(t.decimalSeparator).concat(t.decimal):"",symbolPosition:t.symbolPosition,symbolSpace:t.symbolSpace}},u=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=l(e),r=n.currencySymbol,i=n.integer,o=n.decimal,a=n.symbolPosition,s=n.symbolSpace,c="".concat(i).c
1oncat(o);if(!t)return c;var u=s?" ":"";return"right"===a?"".concat(c).concat(u).concat(r):"".concat(r).concat(u).concat(c)},d=function(e){return Number((Number(e)||0).toFixed(2))}},40235:function(e,t,n){"use strict";n.d(t,{BH:function(){return T},Dr:function(){return O},EF:function(){return Z},ET:function(){return I},F2:function(){return N},O3:function(){return F},PZ:function(){return M},RT:function(){return x},Ts:function(){return k},U3:function(){return P},Zi:function(){return j},jf:function(){return V},jk:function(){return S},l9:function(){return A},o1:function(){return E},qr:function(){return R},yD:function(){return L},zg:function(){return C}});var r=n(90849),i=n(8437),o=n(69380),a=n(12795),s=n(88303),c=n(86677),l=n.n(c),u=n(46918),d=n(56840),p=n(1779),_=n(85737),f=n(49696),h=n(72202),m=n(93737),b=n(7756);function g(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?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,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,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var k=function(e){if(e&&e.length>0){var t=e.map((function(e){return e.tag.replace(/\s+/g,"").toLocaleLowerCase()}));return p.kv.find((function(e){return t.includes(e.toLocaleLowerCase())}))}},x=function(e){var t,n;return!!(null!==e&&void 0!==e&&null!==(t=e.selfAttributes)&&void 0!==t&&t.length||null!==e&&void 0!==e&&null!==(n=e.componentAttributeGroups)&&void 0!==n&&n.length)},E=function(e){var t=(0,h.qm)("rootStore").ua.isApp,n=e.revenue,r=e.trackItems,c=e.storageItems,d=e.refererType,p=void 0===d?"skipCart":d,_=e.cacheKey;if((0,i.DF)({items:r,orderInfo:{id:"",revenue:n}}),t)(0,f.gO)({variantNums:c,source:p,cacheKey:_});else{var m={variantNums:c,source:p};(0,a.d8)(o.KJ,JSON.stringify(m)),l().push((0,u.generatePath)(s.g.CHECKOUT,{refererType:p,cacheKey:_}))}},S=function(e,t,n){var r,i,o=0;if(e.addOns.length>0&&t.length>0){var a,s=w(e.addOns);try{for(s.s();!(a=s.n()).done;){var c=a.value;t.includes(c.variantId)&&(o+=c.dealPriceExchangeDisplay?Number(c.dealPriceExchange):Number(c.shopPriceExchange))}}catch(l){s.e(l)}finally{s.f()}}return e.dealPriceExchangeDisplay?(r=Number(e.dealPriceExchange)+o,i=Number(e.shopPriceExchange)+o):r=Number(e.shopPriceExchange)+o,{totalPrice:r*n,retailPrice:i?i*n:void 0}},P=function(){var e=document.querySelectorAll(".js-add-ons-checked");return Array.from(e).map((function(e){var t;return null===(t=e.querySelector("img"))||void 0===t?void 0:t.currentSrc}))},O=function(e){return e.map((function(e){return function(e){var t=(0,d.qH)(e,["trackId","productTrackCode","variantTrackCode","categoryTrackCode","listTrackCode","productId","variantId","isStock","link","name","discountPriceNumDisplay","discountLocalPriceNumDisplay","discountMode","reviewNum","reviewScore","shopPr
1ice","shopPriceExchangeDisplay","dealPrice","dealPriceExchangeDisplay","dealerShopPriceExchangeDisplay","flashSale","points","activity","pointsMall","energyLabel"]),n=(0,_.QS)(e.images,void 0,"isMain"),r=(0,_.QS)(e.images,void 0,"isListHover");t.picLink=(null===n||void 0===n?void 0:n.picLink)||"",t.altText=(null===n||void 0===n?void 0:n.altText)||"",t.hoverAssetLink=(null===r||void 0===r?void 0:r.picLink)||"",t.hoverAltText=(null===r||void 0===r?void 0:r.altText)||"";var i=k(e.productTags);return i&&(t.tag=i),t}(e)}))};function C(e){return"Vivohome"===b.Z.brand?"us:usd:en:":{DE:"de:eur:de:",AU:"au:aud:en:",CA:"CA:CAD:en:",GB:"gb:gbp:en:"}[e]||""}var T=function(e){var t=e.discountLocalPriceNumDisplay,n=e.discountPriceNumDisplay;return t||n},j=function(e){var t=e.tradeIn;if(!t)return!1;var n="bonusItemVariantTradeInType"in t?"bonusItemVariantTradeInType":"tradeInType";return["amount","points"].includes(e.tradeIn[n])},A=function(e){var t=e||{},n=t.tag,r=void 0===n?"":n,i=t.crowdFunding;return!(!r||!i)&&("crowdfunding"===r.toLowerCase()&&!(null===i||void 0===i||!i.activityCode))},D={cartProdPrice:{checkKey:"dealPriceExchange",displayKey:"dealPriceExchangeDisplay"},orderProdPrice:{checkKey:"variantPriceExchange",displayKey:"variantPriceExchangeDisplay"}},N=function(e){var t=e.tradeIn;if("points"===(null===t||void 0===t?void 0:t.tradeInType)||"points"===(null===t||void 0===t?void 0:t.bonusItemVariantTradeInType))return"".concat(t.points," Points");var n=D["tradeInType"in t?"cartProdPrice":"orderProdPrice"],r=n.checkKey,i=n.displayKey;return Number(t[r])>0?t[i]:"FREE"},I=function(e){return"stockNum"in e?e.stockNum<1:0===Number(e.isStock)},R=function(e){var t;return!(null!==(t=e.disableActions)&&void 0!==t&&t.includes("addToCart"))},L=function(e){var t;return!(null!==(t=e.disableActions)&&void 0!==t&&t.includes("buyNow"))},M=function(e,t){return e.map((function(e){return{variantId:e.variantId,num:t}}))},z=function(e){return(0,d.qH)(e,["variantId","trackId","productId","productTrackCode","variantTrackCode","categoryTrackCode","shopPrice","dealPrice","num","productName"])},Z=function(e,t){return e.map((function(e){return"undefined"===typeof t?z(e):v(v({},z(e)),{},{num:t})}))},F=function(e,t){var n=e.map((function(e){var n=Number(e.dealPrice||0);return 0===n&&(n=Number(e.shopPrice)),n*t}));return(0,m.Sm)(n).toFixed(2)},V=function(e,t,n){return(0,d.xb)(t)?!!(0,d.xb)(n)||!n.includes(e):t.includes(e)}},18051:function(e,t,n){"use strict";function r(){var e=Date.now().toString();return(e=e.substr(e.length-10))+Math.random().toString().substr(2,11)+Math.random().toString().substr(2,11)}function i(){var e=Date.now().toString();return(e=e.substr(e.length-10))+Math.random().toString().substr(2,5)+Math.random().toString().substr(2,5)}function o(){var e=Date.now().toString();return(e=e.substr(e.length-6))+Math.random().toString().substr(2,2)+Math.random().toString().substr(2,2)}n.d(t,{EQ:function(){return i},Ox:function(){return o},SQ:function(){return r}})},76803:function(e,t,n){"use strict";n.d(t,{xg:function(){return d},Rh:function(){return l},Dy:function(){return _},Ok:function(){return p},i6:function(){return h},g5:function(){return u},nt:function(){return f}});var r=n(90849),i=n(68891),o=n(88303),a=[o.g.CART,o.g.CHECKOUT,o.g.CHECKOUT_OLD,o.g.PAY];n(46918);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 c(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){(0,r.Z)(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}function l(e){if(-1!==e.indexOf("?")){var t=e.replace(/^.*?\?/,"");return-1!==e.indexOf("#")&&(t=e.replace(/#.*/,"")),i.parse(t,{arrayFormat:"bracket"})}return{}}function u(e){if(!e||"string"!==typeof e)return"/";var t=e.replace(/^\/+|\/+$/g,"").split("/");if(0===t.length||""===t[0])return"/";if(/^[a-z]{2}-[A-Z]{2}$/.test(t[0])){var n=t.slice(1);return 0===n.length?"/":"/"+n.join("/")}return e.startsWith("/")?e:"/"+e}var d=function(e){var t=u(e).replace(/\?.*$/,"").replace(/#.*$/,"");return a.includes(t)?"checkout":"default"};function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=c(c({},t),{},{utm_source:t.utm_source||"unknown",utm_content:t.utm_content||"common"});return e&&(n.utm_medium="referral-n",n.utm_campaign=e),n}function _(e){if(e=e.replace(/\?.*$/,"").replace(/#.*$/,""),/^\/[a-zA-Z]{2}(-[a-zA-Z]{2}){0,1}$/.test(e))return e.replace(/\//g,"");var t=e.match(/^\/[a-zA-Z]{2}(-[a-zA-Z]{2}){0,1}\//);return t?t[0].replace(/\//g,""):""}function f(e){var t="",n="";return e&&(2===e.length?t=e:5===e.length&&(t=e.substring(0,2),n=e.substring(3,5).toUpperCase())),{lang:t.toLowerCase(),country:n.toUpperCase()}}function h(e){return Array.isArray(e)?e[0]||"":"string"===typeof e?e:""}}
1,84529:function(e,t,n){"use strict";n.d(t,{Zu:function(){return l},dP:function(){return s},k3:function(){return c}});var r=n(90849),i=(n(24903),n(12270));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 a(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}var s=function(e){var t=e.scrollWrap,n=e.selector,r=e.offset,o=void 0===r?0:r,a=e.behavior,s=e.minusHeader,c=void 0===s||s,l=e.from,u=void 0===l?"default":l;if(n){var d="string"===typeof n?document.querySelector(n):n;if(d){var p=d.getBoundingClientRect().top;if(t){var _=(t.scrollTop||0)+p-(t?t.getBoundingClientRect().top:0)-o;t.scrollTo({top:_,behavior:a||"smooth"})}else if("modal"===u){var f=d.closest(".ant-modal-wrap"),h=null===f||void 0===f?void 0:f.children[0];if(!h)return;f.scrollTo({top:d.getBoundingClientRect().top-h.getBoundingClientRect().top,behavior:a||"smooth"})}else if("drawer"===u){var m=d.closest(".sw-drawer");if(!m)return;var b=m.querySelector(".sw-drawer-wrapper"),g=m.querySelector(".sw-drawer-body");(0,i.pv)(m,"sw-drawer-left")||(0,i.pv)(m,"sw-drawer-right")?(b=g,(g=g.children[0])&&b.scrollTo({top:d.getBoundingClientRect().top-g.getBoundingClientRect().top,behavior:a||"smooth"})):b.scrollTo({top:d.getBoundingClientRect().top-g.getBoundingClientRect().top,behavior:a||"smooth"})}else{var v=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,w=0;if(c){var y=document.getElementById("js-sticky-header");y&&(w=y.offsetHeight)}window.scrollTo({top:v+p-o-w,behavior:a||"smooth"})}}}},c=function(e){return s(a(a({},e),{},{selector:"#__next"}))},l=function(e){var t=e.container,n=e.element,r=e.offset,i=void 0===r?0:r,o=e.behavior,a=void 0===o?"instant":o,s=null===t||void 0===t?void 0:t.getBoundingClientRect(),c=n.getBoundingClientRect().top-s.top,l=t.scrollTop+c-i;t.scrollTo({top:l,behavior:a})}},73784:function(e,t,n){"use strict";n.d(t,{Vk:function(){return i},eA:function(){return s},lf:function(){return a},lm:function(){return o}});var r=n(27378);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"****";return"".concat(e.charAt(0)||"*").concat(t).concat(e.charAt(e.length-1)||"*")}function o(e){return e.replace(/#.*$/,"")}function a(e,t){return t.some((function(t){return e.includes(t)||t===e}))}var s=function(e,t){return e.split(/({{\w+}})/).map((function(e,n){if(!e)return null;var i=e.match(/{{(\w+)}}/);if(i){var o=i[1];return(0,r.createElement)(r.Fragment,{key:"ph-".concat(o,"-").concat(n)},t[o]||e)}return(0,r.createElement)(r.Fragment,{key:"text-".concat(n)},e)}))}},8437:function(e,t,n){"use strict";n.d(t,{cb:function(){return pe},yq:function(){return Me},P9:function(){return Ie},sg:function(){return le},kK:function(){return Ne},v_:function(){return De},WQ:function(){return ze},i1:function(){return Ze},xW:function(){return de},Kc:function(){return be},DF:function(){return ye},BH:function(){return ve},$y:function(){return xe},Du:function(){return Le},ku:function(){return we},B1:function(){return Se},EX:function(){return Pe},Z0:function(){return _e},Cg:function(){return he},z1:function(){return me},si:function(){return fe},Qc:function(){return Ee},ju:function(){return Oe},CL:function(){return ge},Ng:function(){return ke},TX:function(){return Ae},Z7:function(){return je},Ss:function(){return Te}});var r=n(73679),i=n(90089),o=n(55732),a=n(90849),s=n(34707),c=n.n(s),l=n(72202),u=n(7756),d=n(49022),p=n(56840),_=n(46918),f=n(69380),h=!1,m=[];function b(e,t){if(t="function"===typeof t?t():t,"ctr"===(0,_.getParamInSearch)(f.Iy)&&"trackSelfDescribingEvent"===e?console.table(t.context.map((function(e){return e.data}))):"1"===(0,_.getParamInSearch)(f.Iy)&&(console.log("-----SP: ".concat(e," -----")),t&&console.log(JSON.stringify(t,null,4))),window.snowplow)return window.snowplow(e,t)}function g(e,t){h?b(e,t):m.push((function(){b(e,t)}))}function v(){return new Promise((function(e,t){if(window.snowplow){var n=!1;window.snowplow((function(){n=!0;var t=this[u.Z.sp.projectName].getDomainUserId();e(t)})),setTimeout((function(){n||t("Snowplow is blocked.")}),200)}else t("Snowplow is uninstalled.")}))}function w(){return new Promise((function(e,t){if(window.snowplow){var n=!1;window.snowplow((function(){n=!0;var t=this[u.Z.sp.projectName].getDomainUserInfo();e(t)})),setTimeout((function(){n||t("Snowplow is blocked.")}),200)}else t("Snowplow is uninstalled.")})).then((function(e){return e[6]}))}function y(){return u.Z.sp.appId.prod}function k(e){var t=e.userId,n=e.userTags,r=e.lang,i=e.country;b("clearGlobalContexts"),b("setUserId",t),b("addGlobalContexts",[{schema:"".concat(u.Z.sp.schemaRoot,"/global-context/jsonschema/1-0-2"),data:{userTags:n,language:r,country:i,appI
1d:y()}}]),h||(h=!0,m.length&&window.snowplow&&(m.map((function(e){return e()})),m=[]))}function x(e,t){(0,p.sO)(t)?g("addEnhancedEcommerceImpressionContext",t):t.forEach((function(e){g("addEnhancedEcommerceImpressionContext",e)})),g("trackEnhancedEcommerceAction",{action:e})}function E(e,t){(0,p.sO)(t)?g("addEnhancedEcommerceProductContext",t):t.forEach((function(e){g("addEnhancedEcommerceProductContext",e)})),g("trackEnhancedEcommerceAction",{action:e})}function S(e,t,n){t.forEach((function(e){g("addEnhancedEcommerceProductContext",e)})),g("addEnhancedEcommerceActionContext",n),g("trackEnhancedEcommerceAction",{action:e})}function P(e){g("trackStructEvent",e)}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 C(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,a.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}var T=!1,j=[],A=!0;function D(e){var t,n=(0,p.Vs)(e,{id:"transaction_id",revenue:"value"},["affiliation","shipping","tax","coupon","currency","event_id"]);e.items&&(n.items=null===(t=e.items)||void 0===t?void 0:t.map((function(e){return(0,p.Vs)(e,{id:"item_id",name:"item_name",brand:"item_brand",category:"item_category",variant:"item_variant",list_name:"item_list_name",list_position:"index"},["price","quantity","coupon","currency"])})));return n}function N(e,t,n){if("function"===typeof n&&(n=n()),window.gtag)return("1"===(0,_.getParamInSearch)(f.Iy)||t.startsWith("video"))&&(console.log("-----GA ".concat(e,": ").concat(t," -----")),console.log(n)),window.gtag(e,t,n)}function I(e,t,n){T&&window.gtag?N(e,t,n):j.push((function(){N(e,t,n)}))}function R(){return new Promise((function(e,t){var n=!1;window.gtag?(window.gtag("get",u.Z.ga.trackingId,"client_id",(function(t){n=!0,e(t)})),setTimeout((function(){n||t("Google Analytics is blocked.")}),200)):t("Google Analytics is uninstalled.")}))}function L(e){var t=e.userId,n=e.email,r=e.lang,i=e.country,o=e.currency,a=e.userTags,s={send_page_view:!1,transport_url:u.Z.ga.transportUrl,first_party_collection:!0,selected_language:r,country:i,currency:o,env:"prod",user_tags:a};"0"===t?N("config",u.Z.ga.trackingId,s):(N("config",u.Z.ga.trackingId,C(C({},s),{},{user_id:t,user_data:{external_id:t,email_address:n}})),N("set","user_properties",{crm_id:t})),T||(T=!0,j.length&&window.gtag&&(j.map((function(e){return e()})),j=[]))}function M(e,t){var n={};["login","sign_up","generate_lead"].includes(e)||(n["x-fb-cd-content_type"]=["view_item","view_item_list"].includes(e)?"product_group":"product"),I("event",e,"function"===typeof t?function(){return C(C({},n),D(t()))}:C(C({},n),t?D(t):{}))}function z(e,t){I("event",e,t)}function Z(e,t){A?A=!1:Object.defineProperty(document,"referrer",{value:null}),I("event","page_view",{event_id:t,page_path:e})}var F=n(12795);function V(){return(0,F.ej)("_fbp")||""}var B=n(49696),U=["quantity"];var G=["event_id"],q=!1,H=[];function K(e,t){if("config"!==e){"function"===typeof t&&(t=t());var n=t;t={event:e,eventId:n.event_id,eventData:(0,i.Z)(n,G)}}"1"===(0,_.getParamInSearch)(f.Iy)&&(console.log("----- GTM: ".concat(e," -----")),console.log(t)),window.gtmDataLayer&&(window.gtmDataLayer.push({eventData:void 0}),window.gtmDataLayer.push(t))}function W(e,t){!function(e,t){q?K(e,t):H.push((function(){K(e,t)}))}(e,t)}function $(e){var t=e.userId,n=e.email,r=e.sha1Email,i=e.lang,o=e.country,a=e.currency;K("config",{config:{userId:t,userData:{email_address:n,sha1_email:r},user_tags:e.userTags,env:"prod",selected_language:i,country:o,currency:a}}),q||(q=!0,H.length&&(H.map((function(e){return e()})),H=[]))}var Y=n(18051),X=n(20480),J=n(40235);function Q(e){var t=0;return e.forEach((function(e){var n=Number(e.dealPrice)>0?Number(e.dealPrice):Number(e.shopPrice),r=Number(e.num)||1;t+=n*r})),Number(t.toFixed(2))}var ee,te=n(62157),ne=["coupon"];function re(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 ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?re(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oe={};function ae(e){return e.map((function(e){return"track"in e?ie(ie({},e.track),{},{currency:"USD",brand:u.Z.brand.toLowerCase(),quantity:e.num||1,price:(0,te.iv)(e.shopPrice),position:e.position}):ie(ie({},(0,p.Vs)(e,{trackId:"id",productTrackCode:"name",variantTrackCode:"variant",categoryTrackCode:"category",num:"quantity",listTrackCode:"list"},["position","list"])),{},{currency:"USD",brand:u.Z.brand,quantity:e.num||1,price:(0,te.iv)(Number(e.dealPrice)>0?e.dealPrice:e.shopPrice)})}))}function se(e){var t=(0,F.ej)(f.RI)||"US",n=(0,J.zg)(t);return e.map((function(e,t){var r={currency:"USD",list_position:t+1,brand:u.Z.brand,quantity:e.num||1};return"track"in e?ie(ie(ie({},e.track),r),{},{price:(0,te.iv)(e.shopPrice),id:n+e.track.id}):ie(ie(ie({},(0,p.Vs)(e,{productTrackCode:"name",variantTrackCode:"variant",categoryTrackCode:"category",num:"quantity",listTrackCode:"list_name"},[])),r),{},{price:(0,te.iv)(Number(e.dealPrice)>0?e.dealPrice:e.shopPrice),id:n+e.trackId})}))}function ce(e,t){var n,r=ie(ie({},e.orderInfo),{},{revenue:(0,te.iv)(null!==(n=e.orderInfo)&&void 0!==n&&n.revenue?e.orderInfo.revenue:Q(e.items)),currency:"USD",step:t});return["discount","total","shipping","goodsAmount","tax"].forEach((function(e){r[e]&&(r[e]=(0,te.iv)(r[e]))})),r}function le(){return ue.apply(this,arguments)}function ue(){return(ue=(0,o.Z)(c().mark((function e(){var t,n,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v().catch((function(){return""}));case 2:return t=e.sent,e.next=5,R().catch((function(){return""}));case 5:return n=e.sent,e.next=8,w().catch((function(){return""}));case 8:return r=e.sent,e.abrupt("return",{spClientId:t,gaClientId:n,fbClientId:V(),spSessionId:r,spAppId:y()});case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(e){if("1"!==X.t.get(f.JJ)&&!(0,B.N0)()){var t=(0,l.qm)("rootStore")||{};ee=e.cartId;var n={userId:e.userId,email:e.email,sha1Email:e.sha1Email,userTags:e.userTags.join(","),lang:t.lang||"en",country:t.country||"US",currency:t.currency||"USD"};k(n),L(n),$(n)}}function pe(){oe={}}function _e(e){var t,n=(0,l.qm)("rootStore"),r=(null===e||void 0===e?void 0:e.viewType)||n.viewType||"",i=(0,Y.EQ)(),o=(0,d.F)(),a={viewType:r,canonicalUrl:o,detail:(null===e||void 0===e?void 0:e.detail)||n.detail||""};t=a,g("trackPageView",{context:[{schema:"".concat(u.Z.sp.schemaRoot,"/ecommerce-context/jsonschema/1-0-9"),data:t}]}),function(e){(0,B.AT)("pv",[e])}(a),Z(o,i),W("PageView",{page_code:r,page_path:o,event_id:i})}function fe(e){var t=(0,Y.EQ)(),n=ae(e);x("view",n),function(e){(0,B.AT)("productImpressions",[].concat((0,r.Z)(e.map((function(e){return e.quantity,{schema:"iglu:com.google.analytics.enhanced-ecommerce/impressionFieldObject/jsonschema/1-0-0",data:(0,i.Z)(e,U)}}))),[{schema:"iglu:com.google.analytics.enhanced-ecommerce/action/jsonschema/1-0-0",data:{action:"view"}}]))}(n),M("view_item_list",{currency:"USD",items:(se(e)||[]).slice(0,3),event_id:t}),W("ViewList",{currency:"USD",items:(se(e)||[]).slice(0,3),event_id:t})}function he(e){var t=ae([e])[0];!function(e){g("addEnhancedEcommerceProductContext",e),g("trackEnhancedEcommerceAction",{action:"click"})}(t),function(e){(0,B.AT)("productClick",[{schema:"iglu:com.google.analytics.enhanced-ecommerce/productFieldObject/jsonschema/1-0-0",data:e},{schema:"iglu:com.google.analytics.enhanced-ecommerce/action/jsonschema/1-0-0",data:{action:"click"}}])}(t)}function me(e){var t=(0,Y.EQ)(),n=ae([e]);n.forEach((function(e){return delete e.quantity})),x("detail",n),M("view_item",{currency:"USD",items:se([e]),event_id:t}),W("ViewItem",{currency:"USD",items:se([e]),event_id:t})}function be(e){var t=se(e),n=(0,Y.EQ)(),i=ae(e);E("add",i),function(e){(0,B.AT)("addToCart",[].concat((0,r.Z)(e.map((function(e){return{schema:"iglu:com.google.analytics.enhanced-ecommerce/productFieldObject/jsonschema/1-0-0",data:e}}))),[{schema:"iglu:com.google.analytics.enhanced-ecommerce/action/jsonschema/1-0-0",data:{action:"add"}}]))}(i),M("add_to_cart",(function(){return{currency:"USD",items:t,event_id:ee+"."+n}})),W("AddToCart",(function(){return{currency:"USD",items:t,event_id:ee+"."+n}}))}function ge(e){var t=se(e),n=(0,Y.EQ)();E("remove",ae(e)),M("remove_from_cart",(function(){return{currency:"USD",items:t,event_id:ee+"."+n}})),W("RemoveFromCart",(function(){return{currency:"USD",items:t,event_id:ee+"."+n}}))}function ve(e){var t=ce(e),n=(0,Y.EQ)();S("view",ae(e.items),t),M("view_cart",(function(){return ie(ie({},t),{},{items:se(e.items),event_id:ee+"."+n})})),W("ViewCart",(function(){return ie(ie({},t),{},{items:se(e.items),event_id:ee+"."+n})}))}function we(e,t){var n=se(e.items),r=ce(e,t||1),i=(0,Y.EQ)();S("checkout",ae(e.items),r),M("begin_checkout",(function(){return ie(ie({},r),{},{items:n,event_id:ee+"."+i})}
1)),W("InitialCheckout",(function(){return ie(ie({},r),{},{items:n,event_id:ee+"."+i})}))}function ye(e){we(e,11)}function ke(e){we(e,111)}function xe(e){var t=se(e.items),n=ce(e,2),r=n.id+"."+(0,Y.EQ)();S("checkout_option",ae(e.items),n),M("add_payment_info",ie(ie({},n),{},{items:t,event_id:r})),W("CheckoutOption",ie(ie({},n),{},{items:t,event_id:r}))}function Ee(e){var t=se(e.items),n=ce(e,3),r=(n.coupon,(0,i.Z)(n,ne)),o=n.id;S("purchase",ae(e.items),r),M("purchase",ie(ie({},n),{},{items:t,event_id:o})),W("Purchase",ie(ie({},n),{},{items:t,event_id:o}))}function Se(e){var t=(0,Y.EQ)();P({category:"lead",action:"submit",label:e.name,property:e.info,value:e.revenue}),M("generate_lead",ie(ie({},e),{},{event_id:t})),W("Lead",ie(ie({},e),{},{event_id:t}))}function Pe(){var e=(0,Y.EQ)();P({category:"login",action:"submit"}),M("login",{event_id:e}),W("Login",{event_id:e})}function Oe(){var e=(0,Y.EQ)();P({category:"register",action:"submit"}),M("sign_up",{event_id:e}),W("Register",{event_id:e})}function Ce(e){var t;return!(null===(t=e.video_url)||void 0===t||!t.trim())&&Number.isFinite(e.video_duration)&&e.video_duration>0}function Te(e){Ce(e)&&z("video_start",{event_id:(0,Y.EQ)(),video_url:e.video_url,video_duration:e.video_duration})}function je(e){Ce(e)&&z("video_progress",{event_id:(0,Y.EQ)(),video_url:e.video_url,video_duration:e.video_duration,video_percent:e.video_percent})}function Ae(e){Ce(e)&&z("video_complete",{event_id:(0,Y.EQ)(),video_url:e.video_url,video_duration:e.video_duration})}function De(e){return"shopPrice"in e}function Ne(e){return"target"in e}function Ie(e){if(De(e)){if("track"in e&&e.track)return"".concat(e.track.list,"|").concat(e.position,"|").concat(e.track.variant);var t=e,n=t.listTrackCode,r=t.position,i=t.variantTrackCode;return"".concat(n,"|").concat(r,"|").concat(i)}var o=e,a=o.module,s=o.position,c=o.target;return"".concat(a,"|").concat(s,"|").concat(c)}function Re(e){if("click"===e.action)return!0;var t=Ie(e);return 1!==oe[t]&&(oe[t]=1,!0)}function Le(e){var t=[];if(Array.isArray(e)?t=e.filter((function(e){return Re(e)})):Re(e)&&t.push(e),0!==t.length){var n=(0,l.qm)("rootStore"),i=t[0].action,o={event:{schema:"".concat(u.Z.sp.schemaRoot,"/action/jsonschema/1-0-5"),data:{action:i,viewType:n.viewType,canonicalUrl:(0,d.F)()}},context:t.map((function(e){return{schema:"".concat(u.Z.sp.schemaRoot,"/action-context/jsonschema/1-0-0"),data:ie(ie({},(0,p.qH)(e,["action","targetType","target","relTarget","module","position","creative","content","value"])),{},{position:String(e.position||"")})}}))};!function(e){g("trackSelfDescribingEvent",e)}(o);var a=[o.event].concat((0,r.Z)(o.context));"impr"===i?function(e){(0,B.AT)("ctrImpressions",e)}(a):function(e){(0,B.AT)("ctrClick",e)}(a)}}function Me(e){e&&document.dispatchEvent(new CustomEvent("displayCtr",{detail:{moduleId:e}}))}function ze(){document.dispatchEvent(new CustomEvent("loadCtr"))}function Ze(){document.dispatchEvent(new CustomEvent("loadMonkeyProducts"))}},40397:function(e,t,n){"use strict";n.d(t,{$B:function(){return s},AO:function(){return o},Ck:function(){return i},h2:function(){return c},mC:function(){return a}});var r=n(7756);function i(e){return e.split("/").map((function(e){return e.startsWith(":")?"[".concat(e.replace(":",""),"]"):e})).join("/")}function o(e,t,n){return(e=Array.isArray(e)?e[0]:e)?((e.startsWith("asset/")||e.startsWith("file-asset/"))&&(e="".concat(r.Z.cdnRoot).concat(e)),"number"===typeof t&&(n=n||2,e=e.replace(/\/width-\d+\//,"/width-".concat(t*n,"/")))):e=r.Z.errorImage||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e}function a(e,t){return t?[1,2,3,4].map((function(n){var r=t*n,i=o(e,r,1);return"".concat(i," ").concat(r,"w")})).join(","):""}function s(e){return e&&"string"===typeof e?e.startsWith("http")||e.startsWith("images")||e.startsWith("//")?e:"".concat(r.Z.cdnRoot).concat(e.replace(/^\//,"")):""}function c(e,t){return e&&"string"===typeof e?e.replace(/(_lang)(\.[^./?#]+)?(?=[?#]|$)/,"_".concat(t,"$2")):""}},85422:function(e,t){"use strict";t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/^(http|https|\/)/.test(e)?e:"/".concat(e)}},3422:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(72202),i=n(88303);function o(){var e=(0,r.Kw)("rootStore"),t=e.lang,n=e.country;return{getBlogPath:function(e){if(!e)return"".concat(i.g.BLOG,"?country=").concat(n,"&language=").concat(t);
1try{if(/^https*:\/\//.test(e)){var r=new URL(e);e=r.pathname+(r.search||"")}}catch(l){}var o=e.split("?"),a="/".concat(o[0]).replace(/^\/+/,"/");a.startsWith(i.g.BLOG)||(a=i.g.BLOG+a);var s=new URLSearchParams(o[1]||"");s.set("country",n),s.set("language",t);var c=s.toString();return c?"".concat(a,"?").concat(c):a}}}},30650:function(e,t,n){"use strict";n.d(t,{Z:function(){return Jn}});var r=n(90849),i=n(27378),o=n(65218),a=n.n(o),s=n(72202),c=n(87025),l=n(49589),u="banner_sAc0Q",d="image_Z-XCT",p=n(24246),_="WEB Top banner",f=function(){var e=((0,s.Kw)("persistStore")||{}).topStripedBanner;if(!e)return null;var t=e.bgColor,n=void 0===t?"none":t,r=e.height,i=void 0===r?48:r,o=e.image,a=e.href,f=e.alt,h=e.target;return(0,p.jsx)(c.ZP,{data:{targetType:"banner",target:a,relTarget:a,module:_,position:1,creative:o},children:(0,p.jsx)("div",{className:u,style:{backgroundColor:n||"none",minHeight:"".concat(i,"px")},"data-t-mod":_,children:(0,p.jsx)(l.Z,{className:d,src:o,href:a,target:h,alt:f,width:1920,height:i,background:!1,fixed:!0,lazy:!1,fetchPriority:"high"})})})},h=n(60042),m=n.n(h),b=n(46055),g=n(73198),v=n(33205),w="search-wrap_x1aYe",y="bg_MVNoS",k="form_HAWQO",x="input_IY2gw",E="btn-search_euhhN",S="btn-clear_BySa2",P="menu_lvRFH",O=n(88303),C=n(8437),T=n(32996),j=n(19772),A=n(54234),D=n(46126);function N(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?N(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=function(e){var t=e.searchSuggest,n=t.historyList,r=t.clearHistoryList,o=t.clearHistoryItem,a=t.hotList,c=t.onSearch,l=e.onSearchCallBack,u=e.moduleTrackData,d=(0,s.Kw)("rootStore").ua.isPhone,_=(0,T.IA)().t,f=function(e){null===c||void 0===c||c(e),null===l||void 0===l||l(e)};return(0,i.useEffect)((function(){u&&a.length>0&&(0,C.yq)(u.module)}),[a]),(0,p.jsxs)(p.Fragment,{children:[n.length>0&&(0,p.jsxs)("div",{className:"group",children:[(0,p.jsxs)("div",{className:"group-title flex flex-middle",children:[(0,p.jsx)("h4",{className:"flex-1",children:_("web_search_history_title")}),(0,p.jsx)(D.z,{type:"no-style",className:"btn-delete",onClick:r,"aria-label":"clear Recently Search",children:(0,p.jsx)(j.Q,{className:"g-icon-ashbin"})})]}),(0,p.jsx)("ul",{role:"group",className:"history-list",children:n.map((function(e){return(0,p.jsxs)("li",{className:"history-item",tabIndex:0,role:"button",onClick:function(){return f(e)},children:[(0,p.jsx)("p",{className:"text",children:e}),!d&&(0,p.jsx)(D.z,{type:"no-style","aria-label":"clear",className:"btn-delete",tabIndex:0,onClick:function(t){t.stopPropagation(),o(e)},children:(0,p.jsx)(A.b,{className:"g-icon-x"})})]},e)}))})]}),a.length>0&&(0,p.jsxs)("div",{role:"group",className:"group","data-t-mod":null===u||void 0===u?void 0:u.module,children:[(0,p.jsx)("h4",{tabIndex:0,className:"group-title flex",children:_("web_search_hot_search_title")}),(0,p.jsx)("ul",{className:"hot-list",children:a.map((function(e,t){return(0,p.jsx)("li",I(I({className:"hot-item",tabIndex:0,role:"button","data-t-tar":e,"data-t-pos":t+1},t+1==a.length?{onBlur:l}:{}),{},{onClick:function(){f(e),u&&(0,C.Du)(I({action:"click",target:e,position:t+1},u))},children:e}),e)}))})]})]})},L=i.memo(R),M=n(55732),z=n(73679),Z=n(34707),F=n.n(Z),V=n(27551),B=n(20480),U=n(69380),G=n(86677),q=n(46918);function H(e){var t=(0,i.useState)([]),n=t[0],r=t[1],o=(0,i.useState)([]),a=o[0],s=o[1],c=(0,G.useRouter)(),l=(e||{}).disableRequest,u=void 0!==l&&l,d=function(e){r(e),e.length?B.t.set(U.bh,JSON.stringify(e)):B.t.remove(U.bh)},p=function(){var e=(0,M.Z)(F().mark((function e(){var t;return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,V.Z.get("/web/default-search-word");case 2:t=e.sent,s((null===t||void 0===t?void 0:t.wordList)||[]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,i.useEffect)((function(){u||(!function(){try{var e=B.t.get(U.bh);if(e)return void r(JSON.parse(e))}catch(t){}r([])}(),p())}),[]),{onSearch:function(e){(e=e.trim())&&(d(Array.from(new Set([e].concat((0,z.Z)(n))))),c.push((0,q.generatePath)(O.g.SEARCH,{q:e})))},historyList:n,hotList:a,clearHistoryList:function(){return d([])},clearHistoryItem:function(e){var t=(0,z.Z)(n);t.splice(t.indexOf(e),1),d(t)}}}var K=n(90089),W="mask_8KEP-",$="block_xLcF2",Y="opacity_R-gux",X=n(16537),J=["visible","duration","keepScrollbar","className"];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 ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Q(Object(n),!0).forEach((function(t){(0,r.Z)(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}var te=function(e){var t=e.visible,n=e.duration,o=void 0===n?150:n,a=(e.keepScrollbar,e.className),s=(0,K.Z)(e,J),c=(0,i.useState)(!1),l=c[0],u=c[1],d=(0,i.useState)(!1),_=d[0],f=d[1],h=(0,i.useState)(),b=h[0],g=h[1],v=(0,i.useRef)(null);return(0,i.useEffect)((function(){t?(u(!0),g(void 0),setTimeout((function(){if(v.current){var e,t=null===v||void 0===v||null===(e=v.current)||void 0===e?void 0:e.getBoundingClientRect();g(["".concat(0-t.left,"px"),"".concat(0-t.top,"px")])}f(!0)}),10)):(f(!1),setTimeout((function(){u(!1)}),o))}),[t]),(0,p.jsx)(X.Z,ee(ee({},s),{},{ref:v,className:m()(a,W,(0,r.Z)({},$,l),(0,r.Z)({},Y,_)),width:"100vw",height:"100vh",placement:["left","top"],offset:b}))},ne=n(24903);var re=n(49022),ie=n(12270),oe=n(7756),ae=n(33224),se=n(76174),ce=n(79949);function le(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 ue=function(e){var t=e.className,n=H(),o=n.onSearch,a=(0,T.IA)().t,c=(0,i.useRef)(null),l=(0,i.useRef)(null),u=(0,i.useRef)(null),d=(0,i.useState)(!1),_=d[0],f=d[1],h=(0,i.useState)(),b=h[0],g=h[1],j=(0,s.Kw)("rootStore"),A=j.query,N=j.queryKeys,I=(0,G.useRouter)(),R=I.asPath,M=I.pathname,z=(0,re.Z)(R.replace(/\?.*$/,""),A,N),Z={relTarget:z,module:"WEB search bar",targetType:"searchterm"},F=function(e){f(e),e&&(g(function(e){if(!e)return"none";var t=e.getBoundingClientRect(),n=(0,ne.getWindowHeight)()-t.top-t.height-10;return"".concat(n,"px")}(l.current)),(0,C.Du)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({action:"impr",target:z,position:""},Z)))},V=function(){return F(!1)},B=function(){return l.current},U=function(){return c.current},q=function(){return u.current},K=function(){V(),U().blur()};return(0,i.useEffect)((function(){var e=M===O.g.SEARCH&&A.q||"";return U().value=e,e?(0,ie.cn)(q(),"g-active",!1):(0,ie.IV)(q(),"g-active",!1),(0,se.vP)(window,"resize",K),(0,se.vP)(window,"scroll",K),function(){(0,se.xC)(window,"resize",K),(0,se.xC)(window,"scroll",K)}}),[]),(0,p.jsx)("div",{className:t,style:{zIndex:_?1053:0},children:(0,p.jsx)(v.Z,{align:{offset:[0,0],overflow:{adjustX:!1,adjustY:!1}},trigger:["click"],open:_,onOpenChange:F,placement:"bottom",getPopupContainer:B,content:(0,p.jsx)(L,{searchSuggest:n,onSearchCallBack:V,moduleTrackData:Z}),overlayClassName:P,overlayStyle:{maxHeight:b},transitionName:"ant-fade",showArrow:!1,children:(0,p.jsxs)("div",{ref:l,className:m()("search-wrap",w),children:[(0,p.jsx)("div",{className:m()("bg",y),onClick:function(e){return e.stopPropagation()},children:(0,p.jsxs)("form",{className:m()("form",k),onSubmit:function(e){e.preventDefault();var t,n,r=U().value.trim();r?(o(r),null===c||void 0===c||null===(t=c.current)||void 0===t||t.blur(),V()):null===(n=c.current)||void 0===n||n.focus()},method:"get",action:O.g.SEARCH,children:[(0,p.jsx)(D.z,{className:m()(E),htmlType:"submit",type:"no-style",children:(0,p.jsx)(ae.j,{})}),(0,p.jsx)("input",{onChange:function(e){var t=e.target.value.trim(),n=q();t.length>0?(0,ie.cn)(n,"g-active",!1):(0,ie.IV)(n,"g-active",!1)},autoComplete:"off",ref:c,type:"text",className:x,placeholder:a("web_search_placeholder",{brand:oe.Z.brand}),name:"q",onFocus:function(){return F(!0)},id:"js-search-input"}),(0,p.jsx)(D.z,{ref:u,className:S,id:"js-search-clear",type:"no-style",onClick:function(e){var t=U();t.value="",t.focus(),(0,ie.IV)(q(),"g-active",!1)},children:(0,p.jsx)(ce.l,{})})]})}),(0,p.jsx)(te,{visible:_,container:B,onClick:function(e){e.stopPropagation(),V()},style:{background:"rgba(0,0,0,.1)"}})]})})})},de=n(37669),pe=function(){var e=(0,T.IA)().t;return(0,p.jsx)(de.Z,{content:e("web_help_title_support"),href:O.g.SUPPORT})},_e=n(2430),fe=n(51695),he={"fill-placeholder-child":"fill-placeholder-child_W4kAq",item:"item_viLos","col-checkbox":"col-checkbox_j-ijc","col-picture":"col-picture_ev-Os",info:"info_jhyVu",name:"name_Jpk-y","g-body-pc":"g-body-pc",attrs:"attrs_dJ-TR",prices:"prices_SGj2z",qty:"qty_-rG-5","g-qty-text":"g-qty-text","g-qty-input":"g-qty-input","item-oos":"item-oos_dkApy",price:"price_yhlqu","btn-delete":"btn-delete_-xTSo","cart-menu":"cart-menu_MNE26",spin:"spin_pUK1r","scroll-container":"scroll-container_8El75",group:"group_hNwQb",first:"first_McL6-","group-header":"group-header_6d0qj","group-footer":"group-footer_AjDdc",tips:"tips_ZOqcF","g-time":"g-time","g-tag":"g-tag",icon:"icon_0TYzQ","menu-footer":"menu-footer_qQXD3","menu-all-summary":"menu-all-summary_C5c3k","checkbox-common":"checkbox-common_TXRk1",summary:"summary_dbn9k",label:"label_UpAOg",retail:"retail_-Pgco",total:"total_aZgkw","trade-in-poings":"trade-in-poings_r4OVa",discount:"discount_33aJQ","btn-checkout-wrap":"btn-checkout-wrap_Aank0",alert:"alert_C6-0A","buy-more":"buy-more_-bwJJ",free:"free_Oy-Su","icon-arrow-down":"icon-arrow-down",empty:"empty_dMAj3","activity-tips":"activity-tips_eUpGO","ant-checkbox-inner":"ant-checkbox-inner","ant-checkbox":"ant-checkbox","ant-checkbox-checked":"ant-checkbox-checked","delivery-time":"delivery-time_2X27z","item-options":"item-options_d9N2N",gifts:"gifts_5J84c"},me=n(52395),be=n(92846),ge=n(56591),ve=n(497),we=n(30516),ye=n(32214),ke=n(27069),xe=n(37117),Ee=n(37229),Se=function(e){var t=e.data,n=e.isBatchList,r=e.groupCheckAll,i=e.onGroupCheckAll,o=e.loadCart,a=e.editable,s=t.tag,c=t.tips;s&&(0,xe.Xk)(s.toLocaleLowerCase(),"picTag");return s||c?(0,p.jsxs)("div",{className:he["group-header"],children:[(0,p.jsx)("div",{className:he["col-checkbox"],children:(!n||a)&&(0,p.jsx)(be.Z,{checked:r,onChange:i,className:n?he["checkbox-batch"]:he["checkbox-common"]})}),(0,p.jsx)(Ee.Z,{tag:s,tagSite:"picTag",defaultTagProps:{absolute:!1}}),(0,p.jsx)(ke.h,{className:he.tips,data:t,loadCart:o})]}):null},Pe=n(10811),Oe=function(e){var t=e.data,n=e.iconSize,r=t.icon,i=t.t
1ips;return r||i?(0,p.jsxs)("div",{className:he["group-footer"],children:[!!r&&(0,p.jsx)(l.Z,{className:he.icon,src:r,width:n,background:!1,fixed:!0}),!!i&&(0,p.jsx)(Pe.h,{className:he.tips,html:i})]}):null},Ce=n(99296),Te=n(57632),je=n(34654),Ae=n(80394),De=n(80840),Ne=n(40235),Ie=n(54334),Re=n(81628),Le=n(3583),Me=n(40951),ze=n(79907),Ze=function(e){var t=e.item,n=(e.index,e.onChangeItemNum),i=e.onDeleteItem,o=e.isBatchList,a=e.loadCart,s=e.group,c=e.editable,l=e.showItemCheckbox,u=void 0===l||l,d=0===t.stockNum,_=(0,Ne.Zi)(t);return(0,p.jsxs)("div",{className:m()("flex flex-wrap",he.item,(0,r.Z)({},he["item-oos"],0===t.stockNum)),children:[(0,p.jsx)("div",{className:he["col-checkbox"],style:{visibility:_||s.forceBatchOperate?"hidden":"visible"},children:(!o||c)&&u&&(0,p.jsx)(Ie.Z,{className:he["checkbox-common"],item:t,batchActive:!1})}),(0,p.jsx)("div",{className:he["col-picture"],children:(0,p.jsx)(Ce.Z,{item:t,width:120,group:s})}),(0,p.jsx)("div",{className:"flex-1",children:(0,p.jsxs)("div",{className:m()(he.info,"flex flex-vertical"),children:[(0,p.jsxs)("div",{className:"flex-1",children:[(0,p.jsx)(Le.Z,{deliveryTime:t.deliveryTime,className:he["delivery-time"]}),(0,p.jsx)(Te.Z,{className:he.name,item:t}),(0,p.jsx)(je.Z,{className:he.attrs,item:t}),t.energyLabel&&(0,p.jsx)(ze.Y,{level:t.energyLabel.level,pdf:t.energyLabel.pdf,pic:t.energyLabel.pic,style:{margin:"0 0 7px"}})]}),(0,p.jsxs)("div",{className:"flex flex-justify",children:[(0,p.jsx)(Ae.Z,{group:s,className:he.prices,item:t,loadCart:a}),(0,p.jsxs)("div",{className:m()(he["item-options"],"relative"),children:[(0,p.jsx)(De.Z,{className:he.qty,item:t,onChangeItemNum:n,changeable:!s.forceBatchOperate&&c}),c&&(0,p.jsx)("button",{type:"button",className:m()("btn-no-style",he["btn-delete"]),onClick:function(){return i(t.id,d)},disabled:t.isChangingQty,children:(0,p.jsx)(Re.Z,{className:"icon-ashbin"})})]})]})]})}),(0,p.jsx)(Me.y,{gifts:t.giftItemList,className:he.gifts})]})},Fe=i.memo(Ze),Ve=n(63898),Be=n(58262),Ue=function(e){var t=e.cart,n=t.groups,i=t.items,o=t.checkedIds,a=t.onChangeIds,s=t.onGroupCheckAll,c=t.onChangeItemNum,l=t.onDeleteItem,u=t.loadCart;return(0,p.jsx)("div",{className:he.groups,children:n.map((function(e,t){var n=(0,Ve.Xj)(e,i),d=o[e.groupId]||[],_=(0,Ve.V2)(e);return(0,p.jsxs)("div",{className:m()(he.group,(0,r.Z)({},he.first,0===t)),children:[(0,p.jsx)(Se,{data:e.header,groupCheckAll:(0,Ve.xg)(n,d),onGroupCheckAll:function(t){s(e,t.target.checked)},loadCart:u,isBatchList:!1,editable:_}),(0,p.jsx)(Be.Z,{data:e.rewardCoinTip}),(0,p.jsx)(be.Z.Group,{value:d,onChange:function(t){return a(e.groupId,t)},className:"block",children:n.map((function(t,n){return t?(0,p.jsx)(Fe,{item:t,index:n,onChangeItemNum:c,onDeleteItem:l,isBatchList:!1,loadCart:u,group:e,editable:_,showItemCheckbox:"buyTogether"!==e.groupType},t.id):null}))}),(0,p.jsx)(Oe,{data:e.footer,iconSize:20})]},e.groupId)}))})},Ge=(0,i.forwardRef)((function(e,t){var n=(0,i.useRef)(null),o=(0,i.useState)(!1),a=o[0],s=o[1],c=(0,T.IA)().t,l=e.visible,u=e.cart,d=u.items,_=u.checkedTotalQty,f=u.cartLoading,h=u.summaryData,g=u.summaryLoading,v=u.goCheckout,w=u.checkAll,y=u.checkAllDisabled,k=u.indeterminate,x=u.onCheckAll,E=function(){var e=null===n||void 0===n?void 0:n.current;e&&setTimeout((function(){var t=e.parentNode.offsetHeight-e.offsetHeight,n=e.getBoundingClientRect().top,r=(0,ne.getWindowHeight)()-n-t-160;e.style.maxHeight="".concat(r,"px"),e.scrollTop=0}),100)},S=function(){var e=(0,M.Z)(F().mark((function e(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(!0),e.next=3,v();case 3:s(!1);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,i.useEffect)((function(){l&&E()}),[d,l]),(0,i.useEffect)((function(){return(0,se.vP)(window,"resize",E),function(){(0,se.xC)(window,"resize",E)}}),[]),(0,p.jsx)("div",{ref:t,className:m()(b.Z.submenu,he["cart-menu"]),children:f?(0,p.jsx)(me.Z,{className:he.spin}):Object.keys(d).length>0?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("div",{className:he["scroll-container"],children:[(0,p.jsx)(ye.Z,{bonusListType:"m",type:"simple",className:he["activity-tips"],cart:u}),(0,p.jsx)("div",{className:he.list,ref:n,children:(0,p.jsx)(Ue,{cart:u})})]}),(0,p.jsxs)("div",{className:he["menu-footer"],children:[(0,p.jsxs)("div",{className:m()(he["menu-all-summary"],"flex flex-justify"),children:[(0,p.jsx)(be.Z,{className:he["checkbox-common"],indeterminate:k,onChange:x,checked:w,disabled:y,children:c("web_common_all")}),(0,p.jsx)(me.Z,{spinning:g,children:(0,p.jsxs)("div",{className:he.summary,children:[!we.J8.includes(h.retailDiscount)&&(0,p.jsxs)("div",{className:he.retail,children:[(0,p.jsxs)("span",{className:he.label,children:[c("web_summary_retail_price"),":"]}),(0,p.jsx)("span",{children:h.retailPriceExchangeDisplay})]}),(0,p.jsxs)("div",{className:he.total,children:[(0,p.jsxs)("span",{className:he.label,children:[c("web_summary_total"),":"]}),(0,p.jsx)("span",{className:m()((0,r.Z)({},he.discount,!we.J8.includes(null===h||void 0===h?void 0:h.retailDiscount))),children:h.totalPriceExchangeDisplay})]}),!!h.tradeInPoints&&(0,p.jsx)("div",{className:he["trade-in-poings"],children:c("web_common_plus_points",{num:h.tradeInPoints})})]})})]}),(0,p.jsxs)(ge.Z,{block:!0,size:"large",type:"primary",className:"upper",disabled:!g&&0===_,loading:a||g,onClick:S,children:[c("web_common_checkout")," (",_,")"]})]})]}):(0,p.jsx)(ve.Z,{className:he.empty})})})),qe=i.memo(Ge),He=n(38280),Ke="count_E1yW6",We=n(48479),$e=n(21171),Ye=function(e){var t=e.qty,n=e.loading,r=void 0!==n&&n;return(0,p.jsxs)("span",{children:[t>0&&(0,p.jsx)("em",{className:Ke,children:r?(0,p.jsx)(He.Z,{style:{fontSize:12}}):t}),(0,p.jsx)($e.k,{})]})},Xe=(0,s.Pi)((function(){var e=(0,s.oR)(),t=e.miniCartStore,n=e.userStore.state.cartNum;return(0,i.useEffect)((function(){t.setTotalQty(n)}),[n]),(0,p.jsx)(de.Z,{id:"js-cart-icon",href:O.g.CART,content:(0,p.jsx)(Ye,{qty:t.state.totalQty})})})),Je=(0,s.Pi)((function(){var e=(0,fe.Z)({showBonusProdList:!0,isMiniCart:!0}),t=e.totalQty,n=e.cartLoading,r=e.summaryLoading,o=(0,i.useRef)(null),a=(0,s.oR)().miniCartStore;a.activeMinicart();var c=a.state,l=c.reloadCount,u=c.reloadByBonusListCount,d=c.visible,_=function(){return a.setVisible(!1)};return(0,i.useEffect)((function(){l>0&&e.loadCart()}),[l]),(0,i.useEffect)((function(){u>0&&e.loadCart({fromListBonusItem:!0})}),[u]),(0,i.useEffect)((function(){if(d){var e=function(e){var t=o.current;t&&t.contains(e.target)||_()};return(0,se.vP)(window.document,"click",e),function(){(0,se.xC)(window.document,"click",e)}}}),[d]),(0,i.useEffect)((function(){return(0,se.vP)(window,"resize",_),(0,se.vP)(window,"scroll",_),function(){(0,se.xC)(window,"resize",_),(0,se.xC)(window,"scroll",_)}
1}),[]),(0,p.jsx)(We.Z,{menu:(0,p.jsx)(qe,{cart:e,visible:d,ref:o}),open:d,trigger:d?["click"]:["hover"],onOpenChange:function(e){return a.setVisible(e)},placement:"bottomRight",alignRight:!0,triggerProps:{href:O.g.CART,content:(0,p.jsx)(Ye,{qty:t,loading:n||r})},getPopupContainer:function(){return document.getElementById("js-header-bar-right")}})})),Qe=function(e){var t=e.disableMiniCart,n=void 0!==t&&t,r=(0,s.Kw)("rootStore").ua.isMobile;return n||r?(0,p.jsx)(Xe,{}):(0,p.jsx)(Je,{})},et={"fill-placeholder-child":"fill-placeholder-child_zBB9-",locale:"locale_wASTW",active:"active_mFpOk","locale-trigger":"locale-trigger_IFNSI",text:"text_Dvf5l",alert:"alert_TDS0-",arrow:"arrow_mBIxv",title:"title_vEL3C",desc:"desc_tUyx7","btn-continue":"btn-continue_n5J-O","btn-change":"btn-change_Ti7K4"},tt=n(14894),nt=n(28460),rt=n(20638),it=n(55360),ot=n(24536),at=function(){var e=(0,nt.b)(),t=e.curLanguage,n=e.currency,o=(0,s.Kw)("rootStore").visited,a=(0,i.useState)(!o),c=a[0],l=a[1],u=(0,ot.Y)(),d=(0,T.IA)().t;return(0,i.useEffect)((function(){var e=function e(t){var n=t.target;n.closest(".sw-dialog-mask")||n.closest(".sw-dialog")||n.closest(".js-locale-alert")||(l(!1),document.removeEventListener("click",e))};return document.addEventListener("click",e),function(){return document.removeEventListener("click",e)}}),[]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("div",{className:m()(et.locale,"relative",(0,r.Z)({},et.active,c)),children:[(0,p.jsxs)(D.z,{type:"no-style",className:m()(et["locale-trigger"],"flex flex-middle text-nowrap"),onClick:u.onOpen,children:[(0,p.jsx)(tt.v,{size:24}),(0,p.jsxs)("span",{className:et.text,children:[t.countryName," / ",n]}),(0,p.jsx)(rt.C,{direction:"right",size:18})]}),c&&(0,p.jsxs)("div",{className:m()(et.alert,"js-locale-alert","text-left"),children:[(0,p.jsx)("div",{className:et.arrow}),(0,p.jsx)("div",{className:et.title,children:d("web_common_welcome_to",{brand:oe.Z.brand})}),(0,p.jsx)("div",{className:et.desc,children:(0,p.jsx)(T.cC,{i18nKey:"web_locale_current_tip",values:{country:t.countryName,language:t.name}})}),(0,p.jsxs)(it.X,{className:et.footer,colsPerRow:2,gutter:10,children:[(0,p.jsx)(it.J,{children:(0,p.jsx)(D.z,{className:et["btn-continue"],type:"no-style",block:!0,onClick:function(){return l(!1)},children:d("web_common_btn_continue")})}),(0,p.jsx)(it.J,{children:(0,p.jsx)(D.z,{className:et["btn-change"],type:"no-style",block:!0,onClick:function(){l(!1),u.onOpen()},children:d("web_locale_change_region")})})]})]})]}),(0,p.jsx)(ot.y,{open:u.open,onClose:u.onClose})]})},st=n(16918),ct=n(3422),lt=function(e){var t=e.onClose,n=(0,T.IA)().t,r=(0,s.Kw)("rootStore").country,i=(0,ct.b)().getBlogPath,o=[{text:"web_help_technical_guide",href:O.g.TECHNICAL_GUIDE},{text:"web_help_growing_guide",href:i()},"DE"===r&&{text:"web_header_guide_winter_grow_guide",href:O.g.WINTER_GROW}];return(0,p.jsx)("div",{className:b.Z["widget-links"],children:o.map((function(e){return e?(0,p.jsx)(st.Z,{href:e.href,children:(0,p.jsx)("a",{onClick:t,children:n(e.text)})},e.text):null}))})},ut=function(){var e=(0,T.IA)().t;return(0,p.jsx)(We.Z,{triggerProps:{content:e("web_help_title_guide")},menu:(0,p.jsx)(lt,{}),placement:"bottom"})},dt=function(){var e=(0,T.IA)().t;return(0,p.jsx)("div",{className:m()(b.Z.widget,b.Z["widget-trigger"],b.Z["widget-trigger-text"],"g-widget-trigger"),children:(0,p.jsx)(st.Z,{href:O.g.Community,children:(0,p.jsx)("a",{children:e("web_shop_community")})})})},pt=function(e){var t=e.disableMiniCart,n=void 0!==t&&t,r=e.onlyShowLogo,i=void 0!==r&&r,o=e.logoType;return(0,p.jsx)("div",{className:m()("header-bar",b.Z["header-bar"]),children:(0,p.jsxs)("div",{id:"js-header-bar-scope",className:"wrapper-large flex flex-middle flex-wrap relative",children:[(0,p.jsx)("div",{className:m()("flex flex-middle",b.Z.left),children:(0,p.jsx)(g.O,{type:o,lazy:!1})}),!i&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(ue,{className:m()(b.Z.center,"text-center")}),(0,p.jsxs)("div",{className:m()(b.Z.right,"text-right"),id:"js-header-bar-right",children:[(0,p.jsx)(pe,{}),(0,p.jsx)(ut,{}),(0,p.jsx)(dt,{}),(0,p.jsx)(at,{}),(0,p.jsx)(_e.Z,{}),(0,p.jsx)(Qe,{disableMiniCart:n})]})]})]})})},_t=(0,i.memo)(pt),ft=n(6133),ht="room",mt="WEB Navi V2",bt=function(e){if(!e)return!1;var t="classic"===e.menuType&&e.classicContent.list.length>0,n=e.menuType===ht&&e.roomContent.list.length>0;return t||n}
1,gt=function(e){var t=e.action,n=void 0===t?"click":t,r=e.target,i=e.relTarget,o=e.position;(0,C.Du)({action:n,targetType:"menu",target:"string"===typeof r?r:r.link||r.title,relTarget:"string"===typeof i?i:i.link||i.title,module:mt,position:o})},vt=n(94253),wt=n(86834);function yt(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 kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xt=function(e){var t=e.className,n=e.item,r=e.level,o=e.target,a=e.relTarget,s=e.position,c=e.onClick,l=e.onClose,u=e.onMouseEnter,d=e.disableTrack,_=void 0!==d&&d,f=e.disableLink,h=void 0!==f&&f,m=e.children,b=o||n,g={className:t,onMouseEnter:u,"data-t-tar":b="string"===typeof b?b:b.link||b.title,"data-t-pos":s,tabIndex:0},v={target:b,relTarget:a||o||n,position:s};return!n.link||h?(0,i.createElement)(1===r?"h3":"p",kt(kt({},g),{},{onClick:function(e){_||gt(v),null===c||void 0===c||c(e)}}),m||n.title):(0,p.jsx)(wt.r,kt(kt({},g),{},{href:n.link,onClick:function(e){_||gt(v),null===c||void 0===c||c(e),null===l||void 0===l||l()},children:1===r?(0,p.jsx)("h3",{children:m||n.title}):m||n.title}))},Et=function(e){var t=e.column,n=e.imgWidth,r=e.imgHeight,i=e.list,o=e.lv1Item,a=e.lv1Index,s=e.onClose;return(0,p.jsx)(it.X,{colsPerRow:t,gutter:32,children:i.map((function(e,t){var i="image.".concat(a+1,".").concat(t+1);return(0,p.jsxs)(it.J,{"data-t-tar":e.imgUrl,"data-t-pos":i,children:[(0,p.jsx)(l.Z,{width:n,height:r,src:e.imgUrl,href:e.link,alt:e.alt,onClick:function(){gt({target:e.imgUrl,relTarget:o,position:i}),s()}}),(0,p.jsx)("div",{children:e.title})]},t)}))})};function St(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 Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ot=function(e){var t=e.lv1Item,n=e.lv1Index,r=e.list,o=e.onClose,a=(0,i.useState)(-1),c=a[0],l=a[1],u=r[c],d=(0,s.Kw)("rootStore").ua.isMobile;return(0,i.useEffect)((function(){-1!==c&&u.list.length>0&&(gt({action:"impr",target:u.link||u.title,relTarget:u.link||u.title,position:"".concat(n+1,".").concat(c+1)}),(0,C.yq)(mt))}),[c]),(0,i.useEffect)((function(){var e;-1!==n&&(null===(e=r[0])||void 0===e?void 0:e.list.length)>0?l(0):l(-1)}),[n]),(0,p.jsxs)(it.X,{colsPerRow:2,className:"g-classic",children:[(0,p.jsxs)(it.J,{className:"g-classic-left",children:[(0,p.jsx)("h3",{className:"g-classic-title",children:(0,p.jsxs)(xt,{item:t,target:"title:".concat(t.link||t.title),relTarget:t,position:"title.".concat(n+1),onClose:o,children:[t.title,t.link?" >":""]})}),(0,p.jsx)("div",{className:"g-classic-menu",children:r.map((function(e,i){var a=e.list.length>0;return(0,p.jsxs)(xt,Pt(Pt({item:e,relTarget:t,position:"".concat(n+1,".").concat(i+1),className:a?m()("g-level2-trigger",{"g-active":c===i}):"block"},d?{onClick:function(e){return function(e,t){t!==c&&r[t].list.length>0?(e.preventDefault(),l(t)):(0===r[t].list.length&&l(-1),r[t].link&&(null===o||void 0===o||o()))}(e,i)}}:{onMouseEnter:function(){return l(a?i:-1)},onClose:o}),{},{children:[(0,p.jsx)("span",{children:e.title}),a&&(0,p.jsx)(Re.Z,{className:"icon-arrow-right"})]}),i)}))})]}),u&&u.list.length>0&&(0,p.jsxs)(it.J,{className:"g-classic-right",children:[(0,p.jsx)("h3",{className:"g-classic-title",children:(0,p.jsxs)(xt,{item:u,target:"title:".concat(u.link||u.title),relTarget:u,position:"title.".concat(n+1,".").concat(c+1),onClose:o,children:[u.title," >"]})}
1),(0,p.jsx)("div",{className:"g-classic-menu",children:u.list.map((function(e,t){return(0,p.jsx)(xt,{item:e,relTarget:u,position:"".concat(n+1,".").concat(c+1,".").concat(t+1),className:"block",onClose:o,children:e.title},t)}))})]})]})};function Ct(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 Tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jt=function(e){var t=e.lv1Item,n=e.lv1Index,r=e.onClose,o=e.visible,a=(0,i.useRef)(null),s=!bt(t);return(0,i.useEffect)((function(){var e=a.current;o&&e&&(e.style.maxHeight="".concat((0,ne.getWindowHeight)()-e.getBoundingClientRect().top,"px"))}),[o]),(0,i.useEffect)((function(){o&&!s&&(gt({action:"impr",target:t,relTarget:t,position:n+1}),(0,C.yq)(mt))}),[o,t]),s?null:(0,p.jsx)("div",{ref:a,children:(0,p.jsx)("div",{className:"g-submenu-in",children:t.menuType===ht?(0,p.jsx)(Et,Tt(Tt({},t.roomContent),{},{lv1Item:t,lv1Index:n,onClose:r})):(0,p.jsxs)(it.X,{colsPerRow:2,gutter:32,children:[(0,p.jsx)(it.J,{children:(0,p.jsx)(Ot,{lv1Item:t,lv1Index:n,list:t.classicContent.list,onClose:r})}),t.classicContent.banner&&(0,p.jsx)(it.J,{children:(0,p.jsx)(Et,Tt(Tt({},t.classicContent.banner),{},{lv1Item:t,lv1Index:n,onClose:r}))})]})})})};function At(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 Dt=function(e){var t=e.className,n=e.popupClassName,o=(0,s.Kw)("rootStore").ua.isMobile,a=((0,s.Kw)("persistStore")||{}).navList,c=(0,i.useState)(!1),l=c[0],u=c[1],d=(0,i.useState)(-1),_=d[0],f=d[1],h=(0,i.useRef)(null),b=(0,i.useRef)(-1),g=(0,T.IA)().t,v=function(){return u(!1)},w=(null===a||void 0===a?void 0:a.list)||[],y=function(){b.current>-1&&(f(b.current),u(!0))},k=function(){b.current=-1,f(-1),u(!1)},x=(0,vt.D)(200,y);return(0,i.useEffect)((function(){return gt({action:"impr",target:"menu",relTarget:"menu"}),(0,se.vP)(window,"resize",v),(0,se.vP)(window,"scroll",v),function(){(0,se.xC)(window,"resize",v),(0,se.xC)(window,"scroll",v)}}),[]),0===(null===w||void 0===w?void 0:w.length)?null:(0,p.jsxs)("div",{className:m()(t,"page-wrapper text-center relative"),ref:h,"data-t-mod":mt,children:[(0,p.jsx)("h2",{className:"visually-hidden",children:g("web_shop_navi_shop_by_category")}),w&&(null===w||void 0===w?void 0:w.length)&&(0,p.jsx)(ft.Z,{content:w[_]?(0,p.jsx)(jt,{lv1Item:w[_],lv1Index:_,onClose:v,visible:l}):null,placement:"bottomLeft",showArrow:!1,overlayClassName:n,align:{offset:[0,0]},open:l,onOpenChange:function(e){e||k()},getPopupContainer:function(){return h.current},transitionName:"ant-slide-up",autoAdjustOverflow:!1,children:(0,p.jsx)("div",{className:"g-trigger",onMouseLeave:function(){l||o||k()},children:w.map((function(e,t){return(0,p.jsx)(xt,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({item:e,relTarget:"menu",position:t+1,level:1,className:m()("g-level1-link",{"g-active":_===t})},o?{onClick:function(e){return function(e,t){var n=w[t];bt(n)?(l||u(!0),_===t&&l||e.preventDefault(),_===t?(u(!1),f(-1)):f(t)):k()}(e,t)}}:{onMouseEnter:function(){return function(e){bt(w[e])?(b.current=e,l?y():x()):k()}(t)},onClick:function(){return v()}}),t)}))})})]})},Nt="nav_-btBJ",It="overlay_Skg81",Rt=function(){return(0,p.jsx)(Dt,{className:m()(Nt,"page-wrapper text-center relative"),popupClassName:It})},Lt="sticky_zIKou",Mt="down_I1jyb",zt=["className","forceShow","hideWhenDown","children"];function Zt(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 Ft(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Zt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vt=function(e){var t=(0,G.useRouter)(),n=(0,i.useRef)(null),r=(0,i.useRef)(null),o=(0,i.useRef)({record:0}),a=(0,i.useRef)(!1),s=e.className,c=e.forceShow,l=void 0!==c&&c,u=e.hideWhenDown,d=void 0!==u&&u,_=e.children,f=(0,K.Z)(e,zt),h=function(){var e=n.current,t=r.current,i=o.current;if(e&&t&&!a.current){var s=(0,ne.getWindowScrollTop)();if(e.getBoundingClientRect().top<0?(0,ie.cn)(t,Lt,!1):(0,ie.IV)(t,Lt,!1),d){var c=s>i.record,l=s>e.offsetTop+t.offsetHeight;c&&l?(0,ie.cn)(t,Mt,!1):(0,ie.IV)(t,Mt,!1),i.record=s}}},m=function(){var e=n.current,t=r.current;e&&t&&(e.style.height="".concat(t.offsetHeight,"px")),h()};return(0,i.useEffect)((function(){var e=n.current,t=r.current;return e&&t&&(e.style.height="".concat(t.offsetHeight,"px")),(0,se.vP)(window,"resize",m),l||(h(),(0,se.vP)(window,"scroll",h)),function(){(0,se.xC)(window,"resize",m),(0,se.xC)(window,"scroll",h)}}),[]),(0,i.useEffect)((function(){var e=r.current;l&&e?((0,ie.IV)(e,Mt,!1),a.current=!0):a.current=!1}),[l]),(0,i.useEffect)((function(){setTimeout((function(){m()}),100)}),[t.pathname]),(0,p.jsx)("div",{ref:n,id:"js-sticky-header",children:(0,p.jsx)("div",Ft(Ft({ref:r,className:s},f),{},{children:_}))})},Bt="fixedShow_nhVDF";function Ut(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 Gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qt=function(e){var t=e||{},n=t.showNav,r=void 0===n||n,i=t.showHeaderBar,o=void 0===i||i,a=t.renderHeaderBar,s=t.fixedShowBar,c=t.onlyShowLogo,l=t.className,u=t.logoType;return(0,p.jsxs)("div",{className:l,children:[o&&(0,p.jsx)(p.Fragment,{children:a?(0,p.jsx)(p.Fragment,{children:a}):(0,p.jsx)(_t,{logoType:u,onlyShowLogo:c})}),r&&(0,p.jsx)(Rt,{}),!!s&&(0,p.jsx)("div",{className:Bt,children:s})]})},Ht=(0,s.Pi)((function(e){var t=e.headerProps,n=t||{},r=n.showTopStripedBanner,i=void 0===r||r,o=n.sticky,a=void 0===o||o,c=(0,s.Kw)("miniCartStore").visible;return(0,p.jsxs)(p.Fragment,{children:[i&&(0,p.jsx)(f,{}),a?(0,p.jsx)(Vt,{id:"js-sticky-header",forceShow:c,hideWhenDown:!0,children:(0,p.jsx)(qt,Gt({},t))}):(0,p.jsx)(qt,Gt({},t))]})})),Kt=n(14453),Wt="header_norCW",$t="secure_78NqV",Yt="icon_GVzo2",Xt="shopping_DTtJU",Jt=n(30772),Qt=function(){var e=(0,T.IA)().t;return(0,p.jsx)("div",{className:Wt,children:(0,p.jsxs)("div",{className:"wrapper flex flex-middle",children:[(0,p.jsx)(Jt.Z,{}),(0,p.jsxs)("div",{className:$t,children:[(0,p.jsx)(Re.Z,{className:m()(Yt,"icon-lock")}),(0,p.jsx)("span",{children:e("web_checkout_secure_checkout")})]}),(0,p.jsx)("div",{className:"flex-1 text-right",children:(0,p.jsx)(st.Z,{href:O.g.SHOP,children:(0,p.jsx)("a",{className:Xt,children:e("web_common_continue_shopping")})})})]})})},en=n(8797),tn=n(43737),nn={"fill-placeholder-child":"fill-placeholder-child_FZZ9f","layout-checkout":"layout-checkout_z6E5G",copyright:"copyright_P-HMI"},rn=n(64584),on=n(97277),an=n(15060),sn=n(12795),cn="ze-snippet",ln=oe.Z.zenDesk.scriptSrc,un="loading",dn={show:"show",hide:"hide",open:"open",close:"close"};var pn=(0,rn.Z)((function(){return(window.zE||{}).version?(setTimeout((function(){an.ZP.destroy(un),_n("open")}),100),!1):(an.ZP.open({key:un,duration:6e4,type:"loading",content:"Loading...",style:{marginTop:"20vh"}}),!0)}),200),_n=function(e){var t=window.zE;if(t){var n=e||((null===t||void 0===t?void 0:t.customStatus)===dn.open?dn.close:dn.open);t("messenger",dn[n])}},fn=function(e){var t=(0,sn.ej)(U.Lc),n=(0,sn.ej)(U.RI),r=(0,sn.ej)(U.ap);e("messenger:set","conversationTags",["PC"]),e("messenger:set","conversationFields",[{id:"33016929757972",value:t},{id:"33016704818580",value:n},{id:"33016930766100",value:r}])};function hn(){var e=window.zE;e&&(e("messenger:set","locale",(0,sn.ej)(U.Lc)||"en"),function(){var e=window.zE;e&&(e("messenger:on","open",(function(){window.zE.customStatus=dn.open,fn(e)})),e("messenger:on","close",(function(){window.zE.customStatus=dn.close})))}(),fn(e))}function mn(){window.zE?_n():document.getElementById(cn)?pn.start():(0,on.ve)(ln,{id:cn}).then((function(){hn(),pn.start()}))}var bn=n(84529),gn=n(69640),vn=function(){var e=(0,T.IA)().t;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(l.Z,{width:330,height:19,src:"asset/width-660/picture/20236c9846df57385d8535907c4b0cb2.png",background:!1}),(0,p.jsxs)("div",{className:"grid-main",children:[(0,p.jsx)("div",{className:"g
1-msg text-center",children:e("web_download_app_popup_tips")}),(0,p.jsxs)("div",{className:"grid-qr flex flex-middle flex-justify",children:[(0,p.jsx)(l.Z,{src:"asset/width-224/picture/9a0a8196cc1b3f68ac9e325496c6ea11.png",width:112,fixed:!0,background:!1}),(0,p.jsxs)("div",{children:[(0,p.jsx)(Re.Z,{className:"icon-Android"}),(0,p.jsx)(Re.Z,{className:"icon-iphone"})]})]})]}),(0,p.jsx)("div",{className:"text-right",children:(0,p.jsx)(gn.M,{className:"brand-icon",type:!1,size:68})})]})},wn="side-widgets_rpcc1",yn="widget_nM1E7",kn="down-app_D3X-Q",xn=(0,s.Pi)((function(){var e=(0,i.useRef)(null),t=(0,s.oR)().userStore.state.showZendesk||!1;return(0,p.jsxs)(X.Z,{className:wn,width:40,placement:["right","bottom"],offset:[0,100],children:[(0,p.jsx)(ft.Z,{content:(0,p.jsx)(vn,{}),placement:"leftBottom",getPopupContainer:function(t){return e.current||t},overlayClassName:kn,showArrow:!1,children:(0,p.jsx)("div",{className:yn,children:(0,p.jsx)(Re.Z,{className:"icon-headphones"})})}),t&&(0,p.jsx)("div",{className:yn,onClick:mn,children:(0,p.jsx)(Re.Z,{className:"icon-customer-service"})}),(0,p.jsx)("div",{className:yn,onClick:bn.k3,children:(0,p.jsx)(Re.Z,{className:"icon-top"})}),(0,p.jsx)("div",{ref:e,className:"relative"})]})})),En=n(31198),Sn={"fill-placeholder-child":"fill-placeholder-child_EC-l1","btn-close":"btn-close_ZfVZm","g-body-pc":"g-body-pc","icon-x":"icon-x"},Pn=n(23001),On=n(12521),Cn="FloatMiniEntrance",Tn=(0,s.Pi)((function(e){var t=e.className,n=(0,i.useState)(),r=n[0],o=n[1],a=(0,s.Kw)("rootStore"),u=a.pageCode,d=a.pageLoading,_=(0,s.oR)().popupFixedStore,f=!1;_.state&&(f=_.checkDisPlayInOrder(On.Yk.Fixed,On.Si.defaultFixed,"true")||!1);var h=r||{},b=h.page,g=void 0===b?[]:b,v=h.redirectLink,w=h.resourceLink,y=h.windowHeight,k=void 0===y?50:y,x=h.windowWidth,E=void 0===x?50:x,S=function(){var e=(0,M.Z)(F().mark((function e(){var t;return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,En.Qs)();case 3:(t=e.sent)&&t.resourceLink&&o(t),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();return(0,i.useEffect)((function(){sessionStorage.getItem(Cn)||S()}),[]),f&&r&&g.includes(u)&&!d?(0,p.jsxs)(X.Z,{offset:[10,10],width:"auto",className:m()(t,Sn["float-mini-entrance"]),zIndex:303,children:[(0,p.jsx)(c.ZP,{async:!0,data:{module:(0,Pn.V_)({moduleId:"Float popup"}),targetType:"popup",target:w,relTarget:w,position:1},children:(0,p.jsx)(l.Z,{href:v||void 0,src:w,width:E,height:k,background:!1,fixed:!0})}),(0,p.jsx)("button",{className:m()(Sn["btn-close"],"btn-no-style"),onClick:function(){sessionStorage.setItem(Cn,"1"),o(void 0)},children:(0,p.jsx)(Re.Z,{className:"icon-x"})})]}):null})),jn=n(46885),An="INVALID";function Dn(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 Nn=a()((function(){return Promise.all([n.e(7034),n.e(164),n.e(6857)]).then(n.bind(n,38672))}),{ssr:!1,loadableGenerated:{webpack:function(){return[38672]}}}),In=a()((function(){return n.e(3).then(n.bind(n,40003))}),{ssr:!1,loadableGenerated:{webpack:function(){return[40003]}}}),Rn=function(e){var t=e.fixedRegisterActive,n=void 0===t||t,o=e.fixedRegisterProps,a=function(){var e=(0,G.useRouter)().query,t=(0,i.useState)(),n=t[0],r=t[1],o=(0,i.useState)(!1),a=o[0],s=o[1],c=(0,i.useState)(!1),l=c[0],u=c[1],d=function(){var t=(0,M.Z)(F().mark((function t(){var n,i,o,a;return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("string"!==typeof(n=e.promo_code)){t.next=8;break}return t.next=4,(0,jn.n1)(n).catch((function(){return{status:An}}));case 4:i=t.sent,o=i.status,a=i.coupon,o!==An&&(r(a),s("OBTAIN_SUCCESS"===o));case 8:u(!0);case 9:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return(0,i.useEffect)((function(){d()}),[]),{coupon:n,isLogin:a,couponLoaded:l}}(),s=a.coupon,c=a.isLogin;return a.couponLoaded?s?(0,p.jsx)(Nn,{coupon:s,isLogin:c}):n?(0,p.jsx)(In,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Dn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o)):null:null},Ln="age-gate_lKrAV",Mn="age-gate-modal_fmfQN",zn=n(56850),Zn=n(63469),Fn=n(69261),Vn=n(43003),Bn=n(92812);function Un(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 Gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Un(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qn=function(e){var t,n=(0,i.useState)(!1),o=n[0],a=n[1],c=e.className,l=e.modalClassName,u=e.serverAgeLimit,d=void 0!==u&&u,_=e.logo,f=e.btnYesProps,h=e.btnNotProps,b=(0,T.IA)().t,g=(0,Vn.W)(),v=g.age,w=g.loading,y=(0,s.Kw)("rootStore").country,k=(0,G.useRouter)().query,x="".concat(Fn.d,"_").concat(y),E=(t={},(0,r.Z)(t,U.RI,(0,sn.ej)(U.RI)),(0,r.Z)(t,x,(0,sn.ej)(x)),t),S=(0,Bn.qe)(d,k,E);return(0,i.useEffect)((function(){S&&a(!0)}),[S]),S?(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(zn.Z,{maskStyle:{background:"rgba(0,0,0,0.75)"},className:m()(l),closable:!1,width:528,open:o,centered:!0,footer:!1,zIndex:2e3,children:(0,p.jsxs)("div",{className:c,children:[(0,p.jsx)("div",{className:"g-grid-1 flex flex-center",children:(0,p.jsx)("div",{className:"g-logo",children:_})}),(0,p.jsx)("div",{className:"g-grid-2 flex flex-center",children:w||"number"!==typeof v?(0,p.jsx)(Zn.gb,{}):(0,p.jsxs)("div",{className:"g-main",children:[(0,p.jsx)("p",{className:"g-desc",children:b("web_age_gate_intro",{age:v})}),(0,p.jsxs)("p",{className:"g-desc",children:[b("web_age_gate_confirm_tip"),":"]}),(0,p.jsxs)(ge.Z,Gn(Gn({onClick:function(){(0,sn.d8)("".concat(Fn.d,"_").concat(y),1,365),a(!1)},block:!0,className:"g-btn-yes"},f),{},{children:[(0,p.jsx)("div",{children:b("web_age_gate_full_age",{age:v})}),(0,p.jsx)("div",{children:b("web_age_gate_full_age_next")})]})),(0,p.jsxs)(ge.Z,Gn(Gn({block:!0,onClick:function(){window.history.back()},className:"g-btn-not"},h),{},{children:[(0,p.jsx)("div",{children:b("web_age_gate_under_age",{age:v})}),(0,p.jsx)("div",{children:b("web_age_gate_under_age_next")})]}))]})})]})})}):null},Hn=n(28718),Kn=n(53589),Wn=function(e){var t=(e.pageProps||{}).ageLimit,n=void 0!==t&&t;return(0,p.jsx)(qn,{serverAgeLimit:n,modalClassName:Mn,className:Ln,logo:(0,p.jsx)(Hn.ZP,{type:"primary",size:Kn.M?206:412,fixed:!1,href:!1}),btnYesProps:{type:"primary"},btnNotProps:{type:"primary",ghost:!0}})};function $n(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 Yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$n(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Xn=a()((function(){return n.e(3123).then(n.bind(n,13123))}),{ssr:!1,loadableGenerated:{webpack:function(){return[13123]}}}),Jn=(0,s.Pi)((function(e){var t,n=e.loading,r=e.headerProps,i=e.showSideWidgets,o=void 0===i||i,a=e.header,c=e.footer,l=e.footerProps,u=e.openingPopupProps,d=(0,s.Kw)("rootStore"),_=d.pageLoading,f=d.pageLayout,h=d.showOpeningPopup,m=void 0===h||h,b=n||_,g="default"===f;return(0,p.jsxs)("div",{className:nn["layout-".concat(f)],children:[(0,p.jsx)(Xn,{}),!1===a?null:a||(g?(0,p.jsx)(Ht,{headerProps:r}):(0,p.jsx)(Qt,{})),(0,p.jsx)(Wn,{pageProps:null===(t=e.children)||void 0===t?void 0:t.props}),b?(0,p.jsx)(tn.Z,{type:"page"}):e.children,!1===c?null:c||(g?(0,p.jsx)(Kt.Z,Yn({},l)):(0,p.jsx)(en.w,{className:nn.copyright})),o&&(0,p.jsx)(xn,{}),(0,p.jsx)(Tn,{}),g&&m&&(0,p.jsx)(Rn,Yn({},u))]})}))},95390:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(27378),i=n(60042),o=n.n(i),a="image-viewer-wrap_Zt1VH",s="imgBox_aveN-",c="width-type_uVugQ",l="height-type_zRNO8",u="small_yX30F",d="mask_PLKCh",p="big_QmrTe",_="img_6fFbl",f=n(40397),h=n(49589),m=n(85737),b=n(24246),g=function(e){var t=(0,r.useState)(!0),n=t[0],i=t[1],g=e.aspectRatio,v=void 0===g?1:g,w=e.imgShowWidth,y=void 0===w?555:w,k=e.imgBigWidth,x=void 0===k?750:k,E=e.imgUrl,S=void 0===E?"":E,P=e.alt,O=void 0===P?"":P,C=e.hoverImgUrl,T=void 0===C?"":C,j=e.b
1igPicRef,A=(0,r.useRef)(null),D=(0,r.useRef)(null),N=j||D,I=(0,r.useRef)(null),R=(0,r.useRef)(null);return(0,r.useEffect)((function(){(0,m.po)((0,f.AO)(S,y,1),(function(e){e.width,e.height;var t=e.height/e.width<v;i(t)}))}),[S]),(0,b.jsx)("div",{className:a,children:(0,b.jsxs)("div",{ref:A,className:o()(s,[n?c:l],"relative"),onMouseMove:function(e){var t,n,r=null===A||void 0===A?void 0:A.current,i=null===N||void 0===N?void 0:N.current,o=null===I||void 0===I?void 0:I.current,a=null===R||void 0===R?void 0:R.current,s=null===e||void 0===e?void 0:e.pageX,c=null===e||void 0===e?void 0:e.pageY,l=document.body.scrollLeft||document.documentElement.scrollLeft,u=document.body.scrollTop||document.documentElement.scrollTop,d=l+(null===r||void 0===r||null===(t=r.getBoundingClientRect())||void 0===t?void 0:t.left),p=c-(u+(null===r||void 0===r||null===(n=r.getBoundingClientRect())||void 0===n?void 0:n.top)),_=s-d-o.offsetWidth/2,f=p-o.offsetHeight/2;_<0&&(_=0),_>i.offsetWidth-o.offsetWidth&&(_=i.offsetWidth-o.offsetWidth),f<0&&(f=0),f>i.offsetHeight-o.offsetHeight&&(f=i.offsetHeight-o.offsetHeight),o.style.left=_+"px",o.style.top=f+"px";var h=a.offsetWidth/i.offsetWidth,m=h*_,b=h*f;a.style.transform="translateX(".concat(-m,"px) translateY(").concat(-b,"px)")},children:[(0,b.jsxs)("div",{ref:N,className:"".concat(u," relative"),children:[(0,b.jsx)("div",{className:"flex flex-justify flex-middle",children:(0,b.jsx)(h.Z,{src:S,alt:O,width:y,height:y*v,fetchPriority:"high"})}),(0,b.jsx)("div",{ref:I,className:"".concat(d," absolute")})]}),(0,b.jsx)("div",{className:"".concat(p," absolute"),children:(0,b.jsx)(h.Z,{className:_,ref:R,src:(0,f.AO)(T||S,x,1),alt:O,width:x,fixed:!0,background:!1})})]})})},v=r.memo(g)},14453:function(e,t,n){"use strict";n.d(t,{Z:function(){return pe}});var r=n(90849),i=n(27378),o=n(60042),a=n.n(o),s="footer_sFpNJ",c="space-top_OiMkz",l="footer-wrapper_78fMC",u="support_y51WT",d="footer-links_mEGJG",p="col1_GQIhl",_="col2_581xz",f="help_9FF8C",h="location_3Y2C7",m="sns_30asl",b="trustpilot_y8gK5",g="subscribe_A8roU",v="copyright_ivYQ9",w=n(32996),y=n(63651),k=n(49589),x=n(53589),E=n(24246),S=[{icon:"asset/width-709/picture/7ba17fd3b030d761994e592a053c92db.png",text:"web_footer_support_1"},{icon:"asset/width-709/picture/b7a1c745389a652878a7fdb07ee13d63.png",text:"web_footer_support_2"},{icon:"asset/width-709/picture/50c2679edf2001237dad6955d5b03025.png",text:"web_footer_support_3"},{icon:"asset/width-709/picture/ea80e2c4cbeadbcf6582f3c4eafa365a.png",text:"web_footer_support_4"},{icon:"asset/width-709/picture/b10710820750c846acf872aa31c327fc.png",text:"web_footer_support_5"}],P=function(e){var t=e.className;return(0,E.jsx)(y.N,{className:t,list:S,render:function(e){return(0,E.jsxs)("div",{className:a()("g-item"),children:[(0,E.jsx)(k.Z,{width:x.M?32:48,src:e.icon,fixed:!0,background:!1}),(0,E.jsx)("div",{className:"g-text",children:(0,E.jsx)(w.cC,{i18nKey:e.text,components:{span:(0,E.jsx)("span",{className:"text-primary"}),br:x.M?" ":(0,E.jsx)("br",{})}})})]})}})},O=n(7756),C=n(42885),T=function(e){var t=e.className,n=(0,w.IA)().t;return(0,E.jsxs)("div",{className:t,children:[(0,E.jsx)("p",{className:"title",children:(0,E.jsx)("strong",{children:n("web_contact_location_title")})}),(0,E.jsxs)("div",{className:"body",children:[(0,E.jsx)("p",{children:(0,E.jsx)(C.g7,{})}),(0,E.jsxs)("p",{children:[(0,E.jsx)(C.TX,{}),(0,E.jsx)("br",{}),(0,E.jsx)(C.xA,{}),(0,E.jsx)("br",{}),O.Z.contact.phone.onlineTime]}),(0,E.jsx)("p",{children:(0,E.jsx)(w.cC,{i18nKey:"web_contact_wholesale_email_text",components:{Email:(0,E.jsx)(C.TX,{type:"wholesale"})}})}),(0,E.jsx)("p",{children:(0,E.jsx)(w.cC,{i18nKey:"web_contact_amazon_email_text",components:{Email:(0,E.jsx)(C.TX,{type:"amazon"})}})})]})]})},j=n(98920),A=n(31379),D=n(20928),N=n(97865),I=n(16918),R=n(81628),L={pinterest:"icon-official",x:"icon-twitterx"},M=function(e){var t=e.className;return O.Z.sns?(0,E.jsx)("div",{className:t,children:Object.entries(O.Z.sns).map((function(e){var t=(0,N.Z)(e,2),n=t[0],r=t[1];return(0,E.jsx)(I.Z,{href:r,children:(0,E.jsx)("a",{"aria-label":n,target:"_blank",rel:"nofollow noopener noreferrer",children:(0,E.jsx)(R.Z,{className:L[n]||"icon-".concat(n)})})},n)}))}):null},z=n(90089),Z="modal_0gWvC",F=n(56850),V=n(56591),B=n(99314),U=function(e){var t=e.visible,n=e.onCancel,r=e.className,i=(0,w.IA)().t;return(0,E.jsx)(F.Z,{width:500,open:t,onCancel:n,footer:!1,children:(0,E.jsxs)("div",{className:r||Z,children:[(0,E.jsx)("p",{className:"line1",children:(0,E.jsx)(B.Z,{className:"result-icon"})}),(0,E.jsx)("p",{className:"line2",children:i("web_subscribe_result_text_1")}),(0,E.jsx)("p",{className:"line3",children:i("web_subscribe_result_text_2")}),(0,E.jsx)("p",{className:"line3",children:(0,E.jsx)(w.cC,{i18nKey:"web_subscribe_result_text_3",values:{discount:O.Z.registerActivity.discount},components:{CouponCode:(0,E.jsx)("strong",{className:"code",children:O.Z.registerActivity.couponCode})}})}),(0,E.jsx)("p",{children:(0,E.jsx)(V.Z,{href:"/weekly-deal",type:"primary",size:"large",className:"btn-ok",onClick:n,children:i("web_subscribe_result_btn_text")})}),(0,E.jsx)("p",{children:(0,E.jsx)(I.Z,{href:"https://www.facebook.com/groups/477264677334391",children:(0,E.jsx)("a",{className:"join",target:"_blank",rel:"nofollow noopener noreferrer",children:i("web_subscribe_result_join_community")})})})]})})},G=n(55732),q=n(34707),H=n.n(q),K=n(98530),W=n(46126),$=n(22850),Y=n(8437),X=n(97421),J=n(4905),Q=n(72202),ee=["children"];function te(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 ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?te(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=function(e){var t=e.className,n=e.moduleId,r=void 0===n?"default":n,o=e.btnProps,a=void 0===o?{}:o,s=e.onSuccess,c=(0,Q.Kw)("rootStore"),l=(0,i.useState)(!1),u=l[0],d=l[1],p=a.children,_=(0,z.Z)(a,ee),f=(0,w.IA)().t,h=function(){var e=(0,G.Z)(H().mark((function e(t){var n;return H().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.email,d(!0),e.prev=2,e.next=5,(0,J.L)({email:n,type:(null===c||void 0===c?void 0:c.pageCode)||""});case 5:(0,Y.B1)({name:r,info:n}),null===s||void 0===s||s(),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),X.v.error(e.t0.message);case 12:d(!1);case 13:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t){return e.apply(this,arguments)}}();return(0,E.jsxs)(K.Z,{className:t,layout:"inline",onFinish:h,children:[(0,E.jsx)($.SX,{label:!1,showLabel:!1,inputProps:{className:"g-email",placeholder:f("web_subscribe_email_placeholder"),autoComplete:"xxx"}}),(0,E.jsx)(W.z,ne(ne({className:"g-btn-submit",htmlType:"submit",loading:u,type:"base"},_),{},{children:p||f("web_subscribe_btn_subscribe")}))]})},ie=["className","title","tip"];function oe(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 ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=function(e){var t=e.className,n=e.title,r=(e.tip,(0,z.Z)(e,ie)),o=(0,i.useState)(!1),a=o[0],s=o[1];return(0,E.jsxs)("div",{className:t,children:[!!n&&(0,E.jsx)("div",{className:"g-title",children:n}),(0,E.jsx)(re,ae(ae({},r),{},{className:"g-form",onSuccess:function(){return s(!0)}})),(0,E.jsx)(U,{visible:a,onCancel:function(){return s(!1)}})]})},ce=n(8797),le=n(43218),ue=n.n(le),de=function(e){var t=e.className,n=(0,Q.Kw)("rootStore"),r=n.lang,o=n.country,a=(0,i.useRef)(null);return(0,i.useEffect)((function(){window.Trustpilot&&window.Trustpilot.loadFromElement(a.current,!0)}),[]),(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(ue(),{src:"//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",strategy:"afterInteractive"}),(0,E.jsx)("div",{className:t,children:x.M?(0,E.jsx)("div",{ref:a,className:"trustpilot-widget","data-locale":"".concat(r,"-").concat(o),"data-template-id":"5419b637fa0340045cd0c936","data-businessunit-id":"5ba3cad239efd10001bc5b5a","data-style-height":"30px","data-style-width":"100%","data-theme":"dark","data-token":"dc7e86de-b758-4517-a298-dfd74afe3cd6",children:(0,E.jsx)("a",{href:"https://www.trustpilot.com/review/www.vivosun.com",target:"_blank",rel:"nofollow noopener noreferrer",children:"Trustpilot"})}):(0,E.jsx)("div",{ref:a,className:"trustpilot-widget","data-locale":"".concat(r,"-").concat(o),"data-template-id":"5419b6ffb0d04a076446a9af","data-businessunit-id":"5ba3cad239efd10001bc5b5a","data-style-height":"28px","data-style-width":"100%","data-theme":"dark","data-token":"f208024c-fe72-4f0e-afa5-e715ce83fd36","data-text-color":"#ffffff",children:(0,E.jsx)("a",{href:"https://www.trustpilot.com/review/www.vivosun.com",target:"_blank",rel:"nofollow noopener noreferrer",children:"Trustpilot"})})})]})},pe=function(e){var t=e.className,n=e.spaceTop,i=void 0!==n&&n,o=(0,A.j)(j.K),y=(0,w.IA)().t;return(0,E.jsx)("div",{className:a()(t,s,(0,r.Z)({},c,i)),children:(0,E.jsxs)("div",{className:l,children:[(0,E.jsx)(P,{className:u}),(0,E.jsxs)("div",{className:a()(d,"flex"),children:[(0,E.jsx)("div",{className:p,children:(0,E.jsx)(D.n,{className:f,groups:o})}),(0,E.jsxs)("div",{className:_,children:[(0,E.jsx)(T,{className:h}),(0,E.jsx)(M,{className:m})]})]}),(0,E.jsx)(se,{className:g,moduleId:"subscribe-common-footer",title:y("web_subscribe_title",{discount:O.Z.registerActivity.discount})}),(0,E.jsx)(de,{className:b}),(0,E.jsx)(ce.w,{className:v})]})})}},2430:function(e,t,n){"use strict";var r=n(90849),i=(n(27378),n(16918)),o=n(86677),a=n(95428),s=n(88303),c=n(46918),l=n(46055),u=n(37669),d=n(48479),p=n(72202),_=n(32996),f=n(60365),h=n(24246);function m(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?m(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=(0,p.Pi)((function(){var e=(0,p.oR)(),t=e.userStore,n=e.persistStore,r=t.state,u=r.isLogin,d=r.userName,f=r.messageNum,m=t.isDealer(),g=(0,o.useRouter)(),v=(0,_.IA)().t,w={showReferrer:n.state.referralConfig.showReferralButton,notDealer:!m},y=a.K.map((function(e){return b(b({},e),{},{showPoint:"message"===e.key&&!!f})})).filter((function(e){return"string"!==typeof e.condition||w[e.condition]}));return(0,h.jsxs)("div",{className:l.Z["widget-links"],children:[u?(0,h.jsx)(i.Z,{href:s.g.ORDERS,children:(0,h.jsx)("a",{className:l.Z.link,children:d})}):(0,h.jsx)("a",{href:(0,c.generatePath)(s.g.LOGIN,{redirect:g.asPath}),className:l.Z.link,children:v("web_account_sign_in_register")}),y.map((function(e){return(0,h.jsx)(i.Z,{href:e.url,children:(0,h.jsx)("a",{className:l.Z.link,children:(0,h.jsxs)("div",{className:"flex flex-middle",children:[(0,h.jsx)("span",{children:v(e.name)}),e.showPoint&&(0,h.jsx)("span",{className:l.Z["red-point"]})]})},e.url)},e.url)})),u&&(0,h.jsx)("a",{className:l.Z.link,onClick:function(){t.logout(),g.reload()},children:v("web_account_logout")})]})}));t.Z=(0,p.Pi)((function(e){var t=e.placement,n=void 0===t?"bottom":t,r=(0,o.useRouter)(),i=(0,p.oR)(),a=i.userStore,c=i.rootStore,l=a.state.isLogin,_=c.state.ua.isMobile,m={content:(0,h.jsx)(f.f,{}),href:l?s.g.ORDERS:"".concat(s.g.LOGIN,"?redirect=").concat(encodeURIComponent(decodeURIComponent(r.asPath)))};return _?(0,h.jsx)(u.Z,b({},m)):(0,h.jsx)(d.Z,{triggerProps:m,menu:(0,h.jsx)(g,{}),placement:n})}))},48479:function(e,t,n){"use strict";var r=n(90849),i=n(90089),o=n(27378),a=n(60042),s=n.n(a),c=n(46055),l=n(33205),u=n(37669),d=n(72202),p=n(24246),_=["triggerProps","menu","alignRight"];function f(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=(0,o.useState)(!1),n=t[0],a=t[1],f=(0,d.Kw)("rootStore").ua.isMobile,m=e.triggerProps,b=e.menu,g=e.alignRight,v=void 0!==g&&g,w=(0,i.Z)(e,_);return(0,p.jsx)(l.Z,h(h({content:(0,p.jsx)("div",{className:c.Z["widget-menu-wrap"],children:(0,o.cloneElement)(b,{onClose:function(){return a(!1)}})}),align:{offset:[0,0],overflow:{adjustX:!1,adjustY:!1}},trigger:[f?"click":"hover"],open:n,onOpenChange:a,placement:"bottomLeft",getPopupContainer:function(){return document.getElementById("js-header-bar-scope")},overlayClassName:s()(c.Z["widget-overlay"],(0,r.Z)({},c.Z["widget-overlay-right"],v)),showArrow:!1},w),{},{children:(0,p.jsx)(u.Z,h({arrow:!0},m))}))}},37669:function(e,t,n){"use strict";var r=n(90849),i=n(90089),o=n(16918),a=n(60042),s=n.n(a),c=n(46055),l=n(24246),u=["content","className","href","target","arrow","type"];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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.content,n=e.className,r=e.href,a=e.target,d=e.arrow,_=void 0!==d&&d,f=e.type,h=(0,i.Z)(e,u),m=f||("string"===typeof t?"text":"icon"),b=s()(n,c.Z.widget,c.Z["widget-trigger"],"g-widget-trigger",c.Z["widget-trigger-".concat(m)]);return r?(0,l.jsx)(o.Z,{href:r,passHref:!0,children:(0,l.jsxs)("a",p(p({className:b,target:a},h),{},{children:[t,_&&(0,l.jsx)("em",{className:c.Z.arrow})]}))}):(0,l.jsxs)("div",p(p({className:b},h),{},{children:[t,_&&(0,l.jsx)("em",{className:c.Z.arrow})]}))}},30772:function(e,t,n){"use strict";n(27378);var r=n(49589),i=n(7756),o=n(88303),a=n(24246),s={black:"asset/width-9168/picture/b6b1e7c085665d684a721c0e023103bb.png",white:"file-asset/file/6b931043eca6dae807d325dd58d2d76a.svg",primary:"file-asset/file/16d2e8a25c
15a9cf524dbfb8e4800217b.svg"};t.Z=function(e){var t=e.logoType,n=void 0===t?"black":t,c=e.canJump,l=void 0===c||c,u=e.width,d=void 0===u?180:u,p=e.height,_=void 0===p?33:p;return(0,a.jsx)(r.Z,{href:l?o.g.SHOP:void 0,src:s[n],alt:i.Z.brand,width:d,height:_,background:!1,fixed:!0,lazy:!1})}},40951:function(e,t,n){"use strict";n.d(t,{y:function(){return w}});var r=n(32996),i=n(60042),o=n.n(i),a=n(81628),s=n(93737),c=n(63651),l=n(49589),u=n(20638),d=n(24246),p=function(e){var t=e.className,n=e.gifts,i=e.openPopup,p=(0,r.IA)().t;return 0===n.length?null:(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{className:o()(t,"flex flex-middle pointer text-nowrap"),onClick:i,children:[(0,d.jsx)(a.K,{className:"icon-gift"}),(0,d.jsx)("div",{className:"mr-2",children:p("web_common_free_gift")}),(0,d.jsxs)("div",{className:"g-items overflow flex-1 flex flex-middle flex-right flex-wrap",children:[(0,d.jsx)("div",{className:"g-items-label",children:p("web_common_num_items",{num:(0,s.Sm)(n.map((function(e){return e.num})))})}),(0,d.jsx)(c.N,{tag:!1,list:n,render:function(e){return(0,d.jsx)(l.E,{className:"g-item",src:e.pic,width:24,fixed:!0,background:!1})}})]}),(0,d.jsx)(u.C,{className:"g-arrow",direction:"right"})]})})},_=n(37229),f=function(e){var t=e.className,n=e.gifts,i=e.onQuickView,o=(0,r.IA)().t;return(0,d.jsxs)("div",{className:t,children:[(0,d.jsx)("div",{className:"g-tip",children:o("web_common_free_gift_limited_tip")}),(0,d.jsx)(c.N,{list:n,render:function(e){return(0,d.jsxs)("div",{className:"g-item flex",onClick:function(){return i(e.variantId)},children:[(0,d.jsxs)("div",{className:"relative g-item-left",children:[(0,d.jsx)(l.Z,{src:e.pic,width:68,background:!1,fixed:!0}),(0,d.jsx)(_.Z,{tag:e.tag,tagSite:"giftTag",themeTagContainer:{style:{position:"absolute",top:0,left:0}}})]}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("div",{className:"g-title",children:e.title}),(0,d.jsxs)("div",{className:"g-price-num flex flex-justify",children:[(0,d.jsx)("span",{children:o("web_price_free")}),(0,d.jsxs)("span",{children:["x",e.num]})]})]})]})}})]})},h=n(41982),m=n(27378);var b=n(98180),g="trigger_lw-I5",v="popup_DHg1A",w=function(e){var t=e.gifts,n=e.className,i=(0,r.IA)().t,a=function(){var e=(0,m.useState)(!1),t=e[0],n=e[1],r=(0,m.useState)(!1),i=r[0],o=r[1],a=(0,m.useState)(""),s=a[0],c=a[1];return{giftsPopupVisible:t,openGiftsPopup:function(){return n(!0)},closeGiftsPopup:function(){return n(!1)},quickViewVisible:i,quickViewVariantId:s,openQuickView:function(e){c(e),o(!0)},closeQuickView:function(){return o(!1)}}}(),s=a.giftsPopupVisible,c=a.openGiftsPopup,l=a.closeGiftsPopup,u=a.quickViewVisible,_=a.quickViewVariantId,w=a.openQuickView,y=a.closeQuickView;return t.length?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(p,{className:o()(n,g),gifts:t,openPopup:c}),(0,d.jsx)(b.Vq,{title:i("web_common_free_gift"),className:v,open:s,onClose:l,width:370,closeIcon:!0,body:(0,d.jsx)(f,{gifts:t,onQuickView:w})}),(0,d.jsx)(h.T,{visible:u,onClose:y,variantId:_,elements:["pictures","name","reviews"],pageFrom:"gifts"})]}):null}},41982:function(e,t,n){"use strict";n.d(t,{T:function(){return $}});var r=n(97865),i=n(55732),o=n(34707),a=n.n(o),s=n(27378),c=n(57471),l=n(97421),u=n(63469),d=n(90849),p={"fill-placeholder-child":"fill-placeholder-child_-RoZ8",container:"container_t-tPA","grid-top-left":"grid-top-left_67-nR","grid-top-right":"grid-top-right_0Lf3c","price-reviews":"price-reviews_1uyS9",vat:"vat_v5w6g","prod-sku":"prod-sku_Ctd2l","add-cart":"add-cart_BS1LD",btns:"btns_W-0ph","g-btn-add":"g-btn-add","g-btn-buy-now":"g-btn-buy-now"},_=n(60042),f=n.n(_),h=n(2133),m=n(56370),b="prices_MPjzz",g=n(17821),v=n(24246),w=function(e){var t=e.shownVariant;return(0,v.jsx)(g.Z,{className:b,product:t,direction:"horizontal"})},y=n(13148),k=function(e){var t=e.shownVariant,n=e.onClick,r=t.review;return r?(0,v.jsx)(y.j,{type:"simple",starSize:22,textSize:18,value:r.score?+r.score:5,total:r.reviewNum,onClick:function(){r.reviewNum>0&&(null===n||void 0===n||n())}}):null},x="more_He5VV",E=n(16918),S=n(32996),P=function(e){var t=e.shownVariant,n=(0,S.IA)().t;return(0,v.jsx)("div",{className:x,children:(0,v.jsx)(E.Z,{href:t.url,children:(0,v.jsx)("a",{children:n("web_product_view_full_info")})})})},O=n(7637),C=n(50052),T=n(21478),j=n(40235),A=n(13462),D=n(89840),N="tabs_25pA5",I="tab-part_wROsP",R="show-part_284pt",L="tab-bar-nav_iF7o4",M="active_d54T0",z=function(e){var t,n=e.tabList,r=e.activeIndex,i=e.setActiveIndex;return 0===n.length?null:(0,v.jsxs)("div",{className:f()("wrapper",N),children:[n.length>1&&(0,v.jsx)("div",{className:f()("flex",L),children:null===n||void 0===n||null===(t=n.filter((function(e){return!!e.title})))||void 0===t?void 0:t.map((function(e,t){return(0,v.jsx)("div",{onClick:function(){return i((null===e||void 0===e?void 0:e.positionIndex)||0)},className:f()("flex-1",(0,d.Z)({},M,r===e.positionIndex)),children:(0,v.jsx)("span",{children:e.title})},e.key)}))}),n.map((function(e,t){return(0,v.jsx)("div",{className:f()(I,(0,d.Z)({},R,r<=((null===e||void 0===e?void 0:e.positionIndex)||0))),children:(0,v.jsx)(v.Fragment,{children:e.content})},t)}))]})}
1,Z=n(36116),F=n(35519),V=n(5268),B=n(73736);function U(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 G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){(0,d.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var q=function(e){var t=e.shownVariant,n=e.elements,r=e.hiddenElements,i=e.t,o=e.initialReviewPage,a=[],s=t.kitProductVariantList.length>0,c=function(e){return(0,j.jf)(e,n,r)};return!s&&(0,j.RT)(t)&&c("spec")&&a.push({key:"spec",title:i("web_product_tab_technical_specs"),content:(0,v.jsx)(C.Z,{shownVariant:t})}),s&&c("bundle")&&a.push({key:"bundle",title:i("web_product_tab_bundle_list"),content:(0,v.jsx)(T.Z,{shownVariant:t,canJump:!1})}),c("reviews")&&t.review&&Number(t.review.score)>0&&a.push({key:"review",title:i("web_product_tab_reviews",{num:t.review.reviewNum}),content:(0,v.jsx)(D.Z,{variant:t,from:"modal",id:"review-list",initialReviewPage:o})}),a=a.map((function(e,t){return G(G({},e),{},{positionIndex:t})}))},H=s.memo((function(e){var t=e.spu,n=e.initialReviewPage,r=(e.variantId,e.elements),i=e.hiddenElements,o=void 0===i?[]:i,a=(0,m.Z)({spuInfo:t,changeUrlWhenCheckOption:!1}),c=a.shownVariant,l=(0,s.useRef)(null),u=(0,s.useState)(0),d=u[0],_=u[1],b=(0,S.IA)().t,g=function(e){return(0,j.jf)(e,r,o)};return(0,v.jsxs)("div",{ref:l,className:p.container,children:[(0,v.jsxs)("div",{className:f()(p["grid-top"],"flex"),children:[g("pictures")&&(0,v.jsxs)("div",{className:p["grid-top-left"],children:[(0,v.jsx)(A.Z,{shownVariant:c,thumbImageSize:555}),g("viewMore")&&(0,v.jsx)(P,{shownVariant:c})]}),(0,v.jsxs)("div",{className:f()(p["grid-top-right"],"flex-1"),children:[g("name")&&(0,v.jsx)(F.p,{shownVariant:c}),(g("price")||g("reviews"))&&(0,v.jsxs)("div",{className:f()(p["price-reviews"],"flex flex-middle"),children:[g("price")&&(0,v.jsxs)("div",{className:"flex-1 flex flex-middle",children:[(0,v.jsx)(w,{shownVariant:c}),c.vat&&(0,v.jsx)(V.t,{className:p.vat})]}),g("reviews")&&(0,v.jsx)(k,{shownVariant:c,onClick:function(){var e,t=document.querySelector("#review-list");t&&(null===(e=t.closest(".ant-modal-wrap"))||void 0===e||e.scrollTo({top:t.getBoundingClientRect().top,behavior:"smooth"}))}})]}),g("sku")&&(0,v.jsx)(B.a,{className:p["prod-sku"],shownVariant:c}),g("addCartForm")&&(0,v.jsx)(Z.Z,{className:p["add-cart"],addCart:a,isQuickView:!0,shownVariant:c,qtyShown:g("qty"),btnsShown:g("btns")}),g("aboutItem")&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(h.Z,{style:{margin:"30px 0 30px"}}),(0,v.jsx)(O.Z,{shownVariant:c})]})]})]}),(0,v.jsx)(z,{tabList:q({shownVariant:c,elements:r,hiddenElements:o,t:b,initialReviewPage:n}),shownVariant:c,activeIndex:d,setActiveIndex:_}),g("viewMore")&&!g("pictures")&&(0,v.jsx)(P,{shownVariant:c})]})})),K=n(26292),W=n(98180),$=function(e){var t=e.visible,n=e.onClose,o=e.variantId,d=e.elements,p=e.hiddenElements,_=e.pageFrom,f=(0,s.useState)(!1),h=f[0],m=f[1],b=(0,s.useState)(),g=b[0],w=b[1],y=(0,s.useState)(),k=y[0],x=y[1],E=(0,s.useRef)(""),S=function(){var e=(0,i.Z)(a().mark((function e(t){var n,i,o,s;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),e.prev=1,e.next=4,Promise.all([(0,c.xx)({variantId:t,pageFrom:_}),(0,K.$_)(t)]);case 4:n=e.sent,i=(0,r.Z)(n,2),o=i[0],s=i[1],w(o),x(s),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(1),console.log("err",e.t0),l.Z.error(e.t0.message);case 16:m(!1);case 17:case"end":return e.stop()}}),e,null,[[1,12]])})));return function(t){return e.apply(this,arguments)}}();return(0,s.useEffect)((function(){t&&o&&o!==E.current&&(E.current=o,S(o)
1)}),[t,o]),(0,v.jsx)(W.Vq,{width:1240,open:t,onClose:n,closeIcon:!0,body:h?(0,v.jsx)(u.kh,{}):g?(0,v.jsx)(H,{spu:g,initialReviewPage:k,variantId:o,elements:d,hiddenElements:p}):null})}},36116:function(e,t,n){"use strict";n.d(t,{Z:function(){return Oe}});var r=n(90849),i=n(27378),o=n(60042),a=n.n(o),s={"fill-placeholder-child":"fill-placeholder-child_8yyVR",body:"body_XJ-Pt","info-wrapper":"info-wrapper_yMqGf","top-left":"top-left_xKnJc","top-right":"top-right_e0wvZ","see-full-link":"see-full-link_nRUyF",tabs:"tabs_dr754","tab-part":"tab-part_q23ZD","show-part":"show-part_v2PxW","tab-bar-nav":"tab-bar-nav_WkMWS",active:"active_4-Ssi","right-module":"right-module_KuuWF","module-title":"module-title_04zDX","title-right":"title-right_H7QsM","monkey-prod-wrap":"monkey-prod-wrap_lMlbH","group-head":"group-head_tbMCJ",label:"label_s5v-7","error-tip":"error-tip_p3kxb",addons:"addons_wPjIG",title:"title_edEL5","img-list":"img-list_wqhVS",options:"options_Lnfmw",option:"option_OJWtg",out:"out_nEGrA",disabled:"disabled_2Uqro",checked:"checked_L1Sze",btn:"btn_-cYif","qty-btns":"qty-btns_JytpZ","form-bar":"form-bar_FHJXB","qty-wrap":"qty-wrap_V9Gpp","btns-wrap":"btns-wrap_-HES0","fixed-bar":"fixed-bar_EjeOX",wrapper:"wrapper_lzZxR",summary:"summary_4Ldo-","g-units":"g-units","g-total-price":"g-total-price","g-save":"g-save","ant-btn-loading-icon":"ant-btn-loading-icon","sold-out":"sold-out_Ia0Xm","g-tip":"g-tip","sold-out-quick":"sold-out-quick_Rzsew","g-sold-out":"g-sold-out","g-btn":"g-btn","sold-out-popup":"sold-out-popup_4nN1P","g-prod-title":"g-prod-title","ant-form-item-control-input":"ant-form-item-control-input","ant-form-item-explain":"ant-form-item-explain","ant-form-item-margin-offset":"ant-form-item-margin-offset","g-email":"g-email","g-btn-submit":"g-btn-submit","g-agree":"g-agree","ant-checkbox":"ant-checkbox","ant-checkbox-wrapper":"ant-checkbox-wrapper","ant-checkbox-inner":"ant-checkbox-inner","ant-checkbox-checked":"ant-checkbox-checked"},c=n(16537),l=n(40235),u=n(71811),d=n(32996),p=n(24246),_=function(e){var t=e.addCart,n=e.className,r=t.shownVariant,i=t.checkedAddOns,o=t.qty,a=(0,l.jk)(r,i,o),s=(0,d.IA)().t;return a.retailPrice?(0,p.jsxs)("div",{tabIndex:0,className:n,children:[(0,p.jsx)(u.Z,{value:a.totalPrice,label:"".concat(s("web_summary_total"),": "),className:"total-price text-danger",forceDisplay:!0}),(0,p.jsx)(u.Z,{isDel:!0,value:a.retailPrice,label:"".concat(s("web_summary_retail_price"),": "),className:"del-price text-light",forceDisplay:!0})]}):(0,p.jsx)("div",{tabIndex:0,className:n,children:(0,p.jsx)(u.Z,{value:a.totalPrice,label:"".concat(s("web_summary_total"),": "),className:"total-price",forceDisplay:!0})})},f=n(62959),h=n(55732),m=n(34707),b=n.n(m),g=n(35062),v=n(10374),w=n(46126),y=n(97421),k=n(23001),x=n(87025);function E(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 S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=function(e){var t=e.addCart,n=e.onSuccess,r=e.className,i=e.btnAddCartProps,o=e.btnBu
1yNowProps,s=e.btnSoldOutProps,c=t.onSubmit,u=t.submitting,_=t.onBuyNow,f=t.buyNowLoading,m=t.outOfStock,E=t.disableBuyNow,P=t.shownVariant,O=t.trackModuleId,C=O?(0,k.V_)({moduleId:O}):void 0,T=(0,d.IA)().t,j=function(){var e=(0,h.Z)(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c();case 3:null===n||void 0===n||n(),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),null!==e.t0&&void 0!==e.t0&&e.t0.message&&y.Z.error(e.t0.message);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}();return m?(0,p.jsx)(w.z,S(S({block:!0,disabled:!0,type:"primary",className:r},s),{},{children:T("web_product_sold_out_upper")})):(0,p.jsxs)(g.Z,{gutter:11,"data-t-mod":C,children:[(0,l.qr)(P)&&(0,p.jsx)(x.ZP,{async:!0,data:C?{module:C,targetType:"other",target:"".concat(P.variantTrackCode,".addToCart"),relTarget:"".concat(P.variantTrackCode,".addToCart")}:void 0,children:(0,p.jsx)(v.Z,{span:E?24:12,children:(0,p.jsx)(w.z,S(S({block:!0,type:"d",tabIndex:0,loading:u,onClick:j,className:a()(r,"g-btn-add")},i),{},{children:T("web_product_add_to_cart")}))})}),!E&&(0,l.yD)(P)&&(0,p.jsx)(x.ZP,{async:!0,data:C?{module:C,targetType:"other",target:"".concat(P.variantTrackCode,".buyNow"),relTarget:"".concat(P.variantTrackCode,".buyNow")}:void 0,children:(0,p.jsx)(v.Z,{span:12,children:(0,p.jsx)(w.z,S(S({tabIndex:0,block:!0,type:"primary",onClick:_,loading:f,className:a()(r,"g-btn-buy-now")},o),{},{children:T("web_product_buy_now")}))})})]})},O=function(e){var t=e.addCart,n=e.qtyShown,r=void 0===n||n,i=e.btnsShown,o=void 0===i||i,a=t.qty,c=t.onChangeQty;return(0,p.jsxs)("div",{className:s["qty-btns"],children:[r&&(0,p.jsx)("div",{className:s["qty-wrap"],children:(0,p.jsx)(f.Z,{value:a,onChange:c,className:"valign-top"})}),o&&(0,p.jsx)("div",{className:s["btns-wrap"],children:(0,p.jsx)(P,{addCart:t,className:s.btn})})]})},C=n(60951),T=n(63427),j=n(81628),A={"fill-placeholder-child":"fill-placeholder-child_MbMhy",modal:"modal_sLjrx","ant-modal-close-x":"ant-modal-close-x","icon-x":"icon-x","ant-modal-body":"ant-modal-body","modal-title":"modal-title_DC97C",item:"item_J-BR-","g-body-pc":"g-body-pc","ant-checkbox-wrapper-disabled":"ant-checkbox-wrapper-disabled","ant-checkbox":"ant-checkbox","ant-checkbox-wrapper-checked":"ant-checkbox-wrapper-checked","ant-checkbox-inner":"ant-checkbox-inner","ant-checkbox-checked":"ant-checkbox-checked",info:"info_yoxHs",name:"name_rCun2"},D=n(56850),N=n(92846),I=function(e){var t=e.visible,n=e.onCancel,r=e.addOnsIns,i=r.variantAddOns,o=r.checkedAddOns,a=r.onChangeCheckedAddOns,s=(0,d.IA)().t;return(0,p.jsxs)(D.Z,{width:572,open:t,onCancel:n,footer:!1,className:A.modal,closeIcon:(0,p.jsx)(j.Z,{className:"icon-x"}),centered:!0,children:[(0,p.jsx)("h2",{className:A["modal-title"],children:s("web_product_addons_title")}),(0,p.jsx)(N.Z.Group,{value:o,className:"block",onChange:function(e){return a(e)},children:i.map((function(e){return(0,p.jsxs)(N.Z,{value:e.variantId,className:A.item,disabled:!e.isStock,children:[(0,p.jsx)(C.Z,{className:A.image,product:e,imageSize:64,fixed:!0,canJump:!1},e.variantId),(0,p.jsxs)("div",{className:A.info,children:[(0,p.jsx)("div",{className:A.name,children:e.name}),(0,p.jsxs)("div",{children:["+",e.dealPriceExchangeDisplay||e.shopPriceExchangeDisplay]})]})]},e.variantId)}))})]})},R=n(57471);var L=function(e){var t=e.addCart,n=(0,i.useState)(!1),o=n[0],c=n[1],l=function(e){var t=e.addCart,n=t.shownVariant,r=n.productId,o=n.variantId,a=t.checkedAddOns,s=t.onChangeCheckedAddOns,c=(0,i.useState)({}),l=c[0],u=c[1],d=l[o]||[];return(0,i.useEffect)((function(){(0,R.ne)({productId:r,variantId:o}).then((function(e){u(e)}))}),[]),{variantAddOns:d,checkedAddOns:a,onChangeCheckedAddOns:s}}({addCart:t}),u=l.variantAddOns,_=l.checkedAddOns,f=(l.onChangeCheckedAddOns,(0,d.IA)().t),h=_.length>0,m=h?u.filter((function(e){return _.includes(e.variantId)})):u;return 0===m.length?null:(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("div",{className:a()(s.addons,"flex flex-middle"),onClick:function(){return c(!0)},children:[(0,p.jsx)("div",{className:s.title,children:f("web_product_addons_title")}),(0,p.jsx)("div",{className:s["img-list"],children:m.map((function(e){return(0,p.jsx)(C.Z,{className:a()(s.image,(0,r.Z)({},s.unchecked,!h),{"js-add-ons-checked":h}),product:e,imageSize:40,fixed:!0,productTag:!!h&&(0,p.jsx)(T.Z,{className:s.check,size:13}),canJump:!1}
1,e.variantId)}))}),(0,p.jsx)(j.Z,{className:"icon-arrow-down"})]}),(0,p.jsx)(I,{visible:o,onCancel:function(){return c(!1)},addOnsIns:l})]})},M="tip_VLG-t",z="title_wiaLh",Z="trigger_Ek3JL",F="desc_Sn96q",V="detail_J4YFO",B="label_WAcLG",U="options_ikUxY",G="option_OAXyZ",q="checked_I-Sox",H="picture_Jy9FX",K="form_C2sVf",W="btn_Zad8q",$="modal_ZBDPI",Y=function(e){var t=e.title,n=e.triggerText,r=e.onShowDetail,i=e.checkedGift;return i?(0,p.jsxs)("div",{className:M,children:[(0,p.jsxs)("div",{className:"flex flex-justify",children:[(0,p.jsx)("strong",{className:z,children:t}),(0,p.jsx)("span",{className:Z,onClick:r,children:n})]}),(0,p.jsx)("div",{className:F,dangerouslySetInnerHTML:{__html:i.tip}})]}):null},X=n(49589),J=n(56591);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 ee(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){(0,r.Z)(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}var te=function(e){var t=e.picture,n=e.label,i=e.options,o=e.btnText,s=e.checkedId,c=e.setCheckedId,l=e.onSubmit,u=e.showSubmitBtn,d=void 0===u||u;return(0,p.jsxs)("div",{className:V,children:[(0,p.jsx)("div",{className:H,children:(0,p.jsx)(X.Z,ee({},t))}),(0,p.jsxs)("div",{className:K,children:[(0,p.jsx)("div",{className:B,children:n}),(0,p.jsx)("div",{className:U,children:i.map((function(e){return(0,p.jsx)("div",{className:a()(G,(0,r.Z)({},q,s===e.variantId)),onClick:function(){return c(e.variantId)},children:e.text},e.variantId)}))}),d&&(0,p.jsx)(J.Z,{type:"primary",className:W,onClick:l,children:o})]})]})};function ne(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 re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ie=function(e){var t=e.addCart,n=t.shownVariant,r=t.checkedGift,o=t.setCheckedGift,s=n.gifts,c=s.activity,l=s.detail,u=(0,i.useState)(!1),d=u[0],_=u[1],f=(0,i.useState)(r.variantId),h=f[0],m=f[1],b=re(re({},l),{},{checkedId:h,setCheckedId:m,onSubmit:function(){o(l.options.find((function(e){return e.variantId===h}))),_(!1)}});return(0,i.useEffect)((function(){d&&m(r.variantId)}),[d]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(Y,re(re({},c),{},{checkedGift:r,onShowDetail:function(){return _(!0)}})),(0,p.jsx)(D.Z,{className:a()($,"wrapper"),destroyOnClose:!0,width:1240,open:d,onCancel:function(){return _(!1)},footer:!1,centered:!0,children:(0,p.jsx)(te,re({},b))})]})},oe=function(e){var t=e.addCart,n=t.shownVariant,r=t.checkedGift;return n.gifts&&r?(0,p.jsx)(ie,{addCart:t}):null},ae=n(97865),se=n(98530),ce=n(22850),le=n(4905),ue=n(90089),de=["name","label","rules","inputProps"];function pe(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 _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fe=function(e){var t=(0,d.IA)().t,n=e.name,r=void 0===n?"agreement":n,i=e.label,o=e.rules,a=void 0===o?[{validator:function(e,n){return n?Promise.resolve():Promise.reject(new Error(t("web_form_agree_error")))}}]:o,s=e.inputProps,c=void 0===s?{}:s,l=(0,ue.Z)(e,de);return(0,p.jsx)(se.Z.Item,_e(_e({name:r,rules:a,valuePropName:"checked"},l),{}
1,{children:(0,p.jsx)(N.Z,_e(_e({className:"g-agree"},c),{},{children:i}))}))},he=n(72202);function me(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 be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=(0,he.Pi)((function(e){var t=e.shownVariant,n=e.onClose,r=e.btnProps,o=e.submitCallback,a=(0,i.useState)(!1),s=a[0],c=a[1],l=(0,i.useState)(!0),u=l[0],_=l[1],f=(0,d.IA)().t,m=se.Z.useForm(),g=(0,ae.Z)(m,1)[0],v=(0,he.Kw)("userStore").email,k=function(){var e=(0,h.Z)(b().mark((function e(r){var i,a;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,a=r.subscribeMarketing,c(!0),e.prev=2,e.next=5,(0,le.S)({email:i,variantId:t.variantId,subscribeMarketing:a});case 5:"function"===typeof o?o():y.Z.success(f("web_shop_product_restore_subscription_successful")),null===n||void 0===n||n(),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),y.Z.error(e.t0.message);case 12:c(!1);case 13:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t){return e.apply(this,arguments)}}();return(0,i.useEffect)((function(){v&&(g.setFieldsValue({email:v}),_(!1))}),[v]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:"g-prod-title",children:t.name||t.productName}),(0,p.jsxs)(se.Z,{className:"g-form",form:g,layout:"vertical",onFinish:k,validateTrigger:[],initialValues:{subscribeMarketing:!0},onValuesChange:function(e,t){_(!t.email),t.email||g.validateFields()},children:[(0,p.jsx)(ce.ZP,{label:!1,showLabel:!1,inputProps:{className:"g-email",placeholder:f("web_subscribe_email_placeholder")},rules:[{type:"email",message:f("web_form_email_invalid_tip")}]}),(0,p.jsx)(se.Z.Item,{noStyle:!0,children:(0,p.jsx)(w.z,be(be({className:"g-btn-submit",htmlType:"submit",loading:s,block:!0,disabled:u},r),{},{children:f("web_shop_product_notify_me")}))}),(0,p.jsx)(fe,{name:"subscribeMarketing",label:f("web_shop_product_subscribe_tips"),rules:[]})]})]})})),ve=n(53589),we=n(83033),ye=n(98180),ke=function(e){var t=e.className,n=e.children,r=e.visible,i=e.onClose,o=e.width,a=e.title;return ve.M?(0,p.jsx)(we.dy,{className:t,title:a,open:r,onClose:i,body:n}):(0,p.jsx)(ye.Vq,{className:t,width:o,open:r,onClose:i,body:n,closeIcon:!0})};function xe(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 Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Se=function(e){var t=e.shownVariant,n=e.className,r=e.btnProps,o=e.popupProps,a=t.expectedArrivalTime,s=(0,i.useState)(!1),c=s[0],l=s[1],u=function(){return l(!1)},_=(0,d.IA)().t;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("div",{className:n,children:[(0,p.jsxs)("div",{className:"g-tip",children:[(0,p.jsxs)("strong",{className:"g-sold-out",children:[_("web_product_sold_out"),"."]}),!!a&&(0,p.jsxs)("span",{className:"g-time",children:[" ",a]})]}),(0,p.jsx)(w.z,Ee(Ee({className:"g-btn",onClick:function(){return l(!0)}},r),{},{children:_("web_shop_product_notify_me_when_available")}))]}),(0,p.jsx)(ke,{className:o.className,visible:c,onClose:u,title:_("web_shop_product_notify_me_when_available"),width:370,children:(0,p.jsx)(ge,{shownVariant:t,onClose:u,btnProps:o.btnProps,submitCallback:o.submitCallback})})]})},Pe=function(e){var t=e.addCart,n=e.qtyShown,r=e.btnsShown,i=t.shownVariant,o=t.outOfStock;return r&&o?(0,p.jsx)(Se,{shownVariant:i,btnProps:{type:"b"},className:s["sold-out-quick"],popupProps:{className:s["sold-out-popup"],btnProps:{type:"b"}}}):n||r?(0,p.jsx)("div",{className:s["form-bar"],children:(0,p.jsx)(O,{addCart:t,qtyShown:n,btnsShown:r})}):null},Oe=function(e){var t=e.addCart,n=e.isQuickView,o=e.shownVariant,u=e.qtyShown,f=void 0===u||u,h=e.btnsShown,m=void 0===h||h,b=e.className,g=t.groups,v=t.onCheckOption,w=t.isFormHidden,y=t.isErrorShown,k=t.outOfStock,x=o.addOns,E=(0,d.IA)().t;return(0,l.qr)(o)||(0,l.yD)(o)?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("dl",{id:"add-to-cart",className:b,children:!w&&g.map((function(e,t){return(0,p.jsxs)(i.Fragment,{children:[(0,p.jsxs)("dt",{className:s["group-head"],children:[(0,p.jsx)("span",{className:s.label,children:e.productOptionName}),(0,p.jsx)("span",{className:a()("text-danger ml-2",s["error-tip"],{hide:!y||e.checkedOption}),children:E("web_product_not_choose_tip",{name:e.productOptionName})})]}),(0,p.jsx)("dd",{className:s.options,children:e.productOptionValues.map((function(n){var i;return(0,p.jsx)("span",{onClick:function(){return v(t,n)},className:a()(s.option,(i={},(0,r.Z)(i,s.checked,e.checkedOption&&e.checkedOption.optionValueId===n.optionValueId),(0,r.Z)(i,s.out,n.outOfStock),(0,r.Z)(i,s.disabled,n.disabled),i)),children:n.name},n.optionValueId)}))})]},e.productOptionId)}))}),(0,p.jsx)(oe,{addCart:t}),n?(0,p.jsx)(Pe,{addCart:t,qtyShown:f,btnsShown:m}):(0,p.jsx)(c.Z,{className:a()(s["fixed-bar"],x.length>0?s["with-addons"]:s["without-addons"]),children:(0,p.jsx)("div",{className:s.wrapper,children:k?(0,p.jsx)(Se,{shownVariant:o,btnProps:{type:"b"},className:s["sold-out"],popupProps:{className:s["sold-out-popup"],btnProps:{type:"b"}}}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(_,{addCart:t,className:s.prices}),(0,p.jsxs)("div",{className:a()(s["fixed-bar-options"],"flex"),children:[(0,p.jsx)(L,{addCart:t}),(0,p.jsx)(O,{addCart:t})]})]})})})]}):null}},21478:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});
1var r=n(90849),i=n(27378),o=n(60042),a=n.n(o),s=n(49589),c=n(85737),l={"fill-placeholder-child":"fill-placeholder-child_RcJ89","kit-products":"kit-products_XEpYW",content:"content_q35J6",messages:"messages_mCbhJ",title:"title_jfqIA",msg:"msg_-UplN",item:"item_tQrhq","can-jump":"can-jump_BqfKn",img:"img_SQStK",info:"info_u7-14",index:"index_Mlax7",name:"name_-W0tc"},u=n(65351),d=n(32996),p=n(41982),_=n(24246),f=function(e){var t=e.item,n=e.index,i=e.onClick,o=e.canJump,u=function(e,t){var n=(0,c.CT)(e,t);return(0,c.Rz)(n||e)}(t.pics,t.productVariantId);return(0,_.jsxs)("div",{className:a()(l.item,(0,r.Z)({},l["can-jump"],o)),onClick:i,children:[(0,_.jsx)("div",{className:l.img,children:(0,_.jsx)(s.Z,{src:u,alt:u,width:175})}),(0,_.jsxs)("div",{className:l.info,children:[(0,_.jsxs)("p",{className:l.index,children:[t.kitNum," of"]}),(0,_.jsx)("p",{className:l.name,children:t.name})]})]},n)},h=function(e){var t,n=e.shownVariant,r=e.canJump,o=void 0===r||r,s=(0,i.useState)(!1),c=s[0],h=s[1],m=(0,i.useState)(),b=m[0],g=m[1],v=(0,d.IA)().t;return(0,_.jsxs)("div",{className:a()(l["kit-products"],"wrapper"),children:[(0,_.jsx)(u.Z,{title:v("web_product_tab_bundle_list")}),(0,_.jsx)("div",{className:l.content,children:n&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:l.messages,children:[(0,_.jsx)("p",{className:l.title,children:(0,_.jsx)(d.cC,{i18nKey:"web_product_bundle_contains",values:{num:null===n||void 0===n||null===(t=n.kitProductVariantList)||void 0===t?void 0:t.length},components:{span:(0,_.jsx)("span",{className:"text-muted"})}})}),(0,_.jsxs)("p",{className:l.msg,children:[v("web_product_bundle_price"),": ",n.dealPriceExchangeDisplay||n.shopPriceExchangeDisplay]}),(null===n||void 0===n?void 0:n.savePrice)&&n.savePrice>0&&(0,_.jsxs)("p",{className:l.msg,children:[v("web_product_bundle_save"),": ",n.savePriceExchangeDisplay]})]}),(0,_.jsx)("div",{className:l.items,children:null===n||void 0===n?void 0:n.kitProductVariantList.map((function(e,t){return(0,_.jsx)(f,{item:e,index:t,canJump:o,onClick:function(t){o&&(t.stopPropagation(),g(e.productVariantId),h(!0))}},t)}))})]})}),!!b&&(0,_.jsx)(p.T,{variantId:b,visible:c,onClose:function(){return h(!1)},hiddenElements:["addCartForm"]})]})}},50052:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(27378),i={"fill-placeholder-child":"fill-placeholder-child_PWV4n",specs:"specs_L0PxD","g-group-wrap":"g-group-wrap","g-group-name":"g-group-name","g-item-warp":"g-item-warp","g-label":"g-label","g-value":"g-value"},o=n(65351),a=n(32996),s=n(60042),c=n.n(s),l=n(73679),u=n(35062),d=n(10374),p=n(63651),_=n(53589),f=n(10811),h=n(24246),m=function(e){var t,n=e.variant,r=e.className,i=(0,a.IA)().t,o=n.selfAttributes,s=n.componentAttributeGroups,c=s||[];return null!==o&&void 0!==o&&o.length&&(c=[{title:i("web_overview"),attributes:o,componentVariantId:"self_list"}].concat((0,l.Z)(s))),null!==(t=c)&&void 0!==t&&t.length?(0,h.jsx)("div",{className:r,children:c.map((function(e,t){return(0,h.jsxs)(u.Z,{gutter:_.M?0:[48,0],className:"flex g-group-wrap",children:[(0,h.jsx)(d.Z,{span:_.M?24:6,className:"g-group-name",children:(0,h.jsx)(f.h,{html:e.title})}),(0,h.jsx)(d.Z,{span:_.M?24:18,className:"flex",children:(0,h.jsx)("div",{style:{width:"100%"},className:"name",children:(0,h.jsx)(p.N,{list:e.attributes,render:function(e){return(0,h.jsxs)(u.Z,{gutter:_.M?0:[20,0],className:"g-item-warp",children:[(0,h.jsx)(d.Z,{span:_.M?24:7,className:"g-label",children:(0,h.jsx)(f.h,{html:e.attributeName})}),(0,h.jsx)(d.Z,{span:_.M?24:17,children:(0,h.jsx)(p.N,{className:"g-value text-wrap",list:null===e||void 0===e?void 0:e.attributeValues,render:function(e){return(0,h.jsx)(f.h,{html:e.name})}})})]},e.attributeId)}})})})]},e.componentVariantId)}))}):null},b=function(e){var t=e.shownVariant,n=(0,a.IA)().t;return(0,h.jsxs)("div",{className:c()(i.productDescriptionWrap,"wrapper"),children:[(0,h.jsx)(o.Z,{title:n("web_product_tab_technical_specs")}),(0,h.jsx)(m,{className:i.specs,variant:t})]})},g=r.memo(b)},13462:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(55732),i=n(73679),o=n(34707),a=n.n(o),s=n(27378),c=n(23355),l=n(85737),u=n(81628),d=n(66701),p=n(49589),_="imagesSmall_OB4Tl",f="arrowLeft_-EEek",h="arrowRight_uyAXs",m="iconArrow_LlGy5",b="imagesWrap_6WQoX",g="imagesList_7dhRT",v="imageItem_9rn1L",w="on_BhQ4N",y="item_OTC3h",k="video-tag_0uc39",x="video-tag-img_zzDlR",E=n(24246),S=function(e){var t=e.pageSize,n=void 0===t?5:t,i=e.imagesList,o=void 0===i?[]:i,c=e.onClick,l=e.alt,S=(0,s.useRef)(null),P=(0,s.useRef)(null),O=(0,s.use
1State)(0),C=O[0],T=O[1],j=(0,s.useState)(0),A=j[0],D=j[1],N=(0,s.useState)(!1),I=N[0],R=N[1],L=function(){var e=(0,r.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!I){e.next=2;break}return e.abrupt("return");case 2:return t=null===S||void 0===S?void 0:S.current,(null===P||void 0===P?void 0:P.current).style.transform="translateX(-".concat(A*t.clientWidth,"px)"),e.next=7,(0,d.Z)(500);case 7:R(!1);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=function(e){if(!I){var t=e.dir,r=void 0===t?"left":t,i=Math.ceil(o.length/n)-1;D("left"===r?0===A?i:A-1:A===i?0:A+1)}};return(0,s.useEffect)((function(){L().then()}),[C,A]),(0,s.useEffect)((function(){T(0),D(0)}),[o]),(0,E.jsxs)("div",{className:"".concat(_," relative"),children:[(null===o||void 0===o?void 0:o.length)>n&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:"".concat(f," absolute pointer"),onClick:function(){return M({dir:"left"})},children:(0,E.jsx)(u.Z,{className:"".concat(m," icon-arrow-left")})}),(0,E.jsx)("div",{className:"".concat(h," absolute pointer"),onClick:function(){return M({dir:"right"})},children:(0,E.jsx)(u.Z,{className:"".concat(m," icon-arrow-right")})})]}),(0,E.jsx)("div",{ref:S,className:b,children:(0,E.jsx)("div",{ref:P,className:"".concat(g," relative"),children:null===o||void 0===o?void 0:o.map((function(e,t){return(0,E.jsx)("li",{className:"".concat(v," ").concat(t===C?w:""),onClick:function(){null===c||void 0===c||c(e),T(t)},children:(0,E.jsxs)("div",{className:"".concat(y," pointer relative"),children:[(0,E.jsx)(p.Z,{src:e.cover,width:92,alt:e.altText||l}),1===e.type&&(0,E.jsx)("div",{className:k,children:(0,E.jsx)("div",{className:x,children:(0,E.jsx)(p.Z,{src:"asset/width-60/picture/bbeb3488bee3af0114fd3b0c6e31ce0c.png",width:30,background:!1})})})]})},t)}))})})]})},P=s.memo(S),O=n(95390),C="lightboxWrap_Mcv0e",T="imagesBig_Y7zEP",j="imagesWrap_lAUzj",A=n(40397),D=n(2701),N=function(e){var t;if(!e)return{imagesList:[]};var n=e.pics,r=(0,l.CT)(n,null===e||void 0===e?void 0:e.productVariantId);return r=(0,l.C9)(r),{imagesList:(0,i.Z)(r),selectedItem:null===(t=r)||void 0===t?void 0:t[0]}},I=function(e){var t=e.shownVariant,n=e.thumbImageSize,i=e.bigPicRef,o=N(t),u=(0,s.useState)(o.selectedItem),p=u[0],_=u[1],f=(0,s.useState)(o.imagesList),h=f[0],m=f[1],b=function(){(0,l.lL)(h.filter((function(e){return 0==e.type})).map((function(e){return(0,A.AO)(null===e||void 0===e?void 0:e.picLink,n)})))},g=h.length?(0,A.AO)(h[0].picLink,n):"",v=function(){var e=(0,r.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((0,l.po)((0,A.AO)(null===t||void 0===t?void 0:t.picLink,700)),1!==t.type){e.next=5;break}return _(void 0),e.next=5,(0,d.Z)(1);case 5:_(t);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,s.useEffect)((function(){var e=N(t);m(e.imagesList),_(e.selectedItem)}),[t]),(0,s.useEffect)((function(){var e;null!==h&&void 0!==h&&h.length&&("complete"==(null===(e=document)||void 0===e?void 0:e.readyState)?b():window.onload=function(){b()})}),[h]),(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(D.Z,{list:[g]}),(0,E.jsxs)("div",{className:"".concat(C," flex"),children:[(0,E.jsx)("div",{className:"".concat(T," relative"),children:(0,E.jsx)("div",{className:"".concat(j," absolute"),children:0===(null===p||void 0===p?void 0:p.type)?(0,E.jsx)(O.Z,{imgShowWidth:n,imgBigWidth:700,imgUrl:p.picLink,alt:p.altText||t.name,bigPicRef:i}):1===(null===p||void 0===p?void 0:p.type)?(0,E.jsx)(c.Z,{src:p.picLink,visible:!0}):null})}),(0,E.jsx)(P,{imagesList:h,onClick:function(e){v(e)},alt:t.name})]})]})},R=s.memo(I)},89840:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(27378),i=n(52395),o=n(2133),a=n(65351),s=n(32996),c=n(55732),l=n(90849),u=n(34707),d=n.n(u),p=n(97421),_=n(84529),f=n(26292);function h(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?h(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e){var t=e.variantId,n=e.from,i=e.initialReviewPage,o=(0,r.useRef)(null),a=(0,r.useRef)(!1),s=(0,r.useState)(i?function(e){return m(m({},e),{},{page:1,pageSize:10,totalPage:Math.ceil(e.totalNum/10),list:e.list.slice(0,10)})}(i):i),l=s[0],u=s[1],h=(0,r.useState)(0),b=h[0],g=h[1],v=(0,r.useState)(1),w=v[0],y=v[1],k=(0,r.useState)(!1),x=k[0],E=k[1],S=(0,r.useState)(0),P=S[0],O=S[1],C=function(){var e=o.current;e&&(0,_.dP)({selector:e,behavior:"instant",from:n})},T=function(){var e=(0,c.Z)(d().mark((function e(){var n,r,i=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=i.length>0&&void 0!==i[0]?i[0]:{}).page&&y(n.page),"undefined"!==typeof n.withPictures&&g(n.withPictures),E(!0),e.prev=4,e.next=7,(0,f.E9)(m({productVariantId:t||"",page:w,pageSize:10,withPictures:b},n));case 7:r=e.sent,u(r),O(P+1),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(4),p.Z.error(e.t0.message);case 15:E(!1);case 16:case"end":return e.stop()}}),e,null,[[4,12]])})));return function(){return e.apply(this,arguments)}}(),j=function(){T({productVariantId:t,page:1,withPictures:0})};return(0,r.useEffect)((function(){a.current?j():(a.current=!0,i||j())}),[t]),{anchorRef:o,reviewPage:l,withPictures:b,page:w,loading:x,onPageChange:function(e){C(),T({page:e})},onWithPicturesChange:function(e){C(),g(e),T({page:1,withPictures:e})},scrollToTop:C,resetReviewPage:j,afterCount:P}}var g=n(13148),v=n(24246),w=function(e){var t=e.className,n=e.score,r=e.rateSize,i=void 0!==r&&r;return(0,v.jsxs)("div",{className:t,children:[(0,v.jsx)("div",{className:"g-score",children:n}),(0,v.jsx)(g.j,{className:"g-rate",value:n,starSize:i})]})},y=n(60042),k=n.n(y),x=function(e){var t=e.className,n=e.reviewPage,r=e.withPictures,i=e.onWithPicturesChange,o=(0,s.IA)().t;return(0,v.jsxs)("div",{className:k()(t,"flex"),children:[(0,v.jsxs)("div",{className:k()("g-item",{"g-active":0==r}),onClick:function(){return i(0)},children:[o("web_product_review_all_reviews")," (",n.totalReviewNum||0,")"]}),!!n.totalWithPictureNum&&(0,v.jsxs)("div",{className:k()("g-item",{"g-active":1==r}),onClick:function(){return i(1)},children:[o("web_product_review_with_photo")," (",n.totalWithPictureNum||0,")"]})]})},E=n(82226),S=n(61416),P=function(e){var t=e.review,n=e.open,r=e.className;return(0,v.jsxs)("div",{className:k()(r,"g-review-item flex"),"data-id":null===t||void 0===t?void 0:t.id,children:[(0,v.jsxs)("div",{className:"g-col1",children:[(0,v.jsx)("p",{className:"g-name",children:t.username}),t.optionValue.map((function(e){return(0,v.jsxs)("p",{className:"g-attr",children:[e.optionName?"".concat(e.optionName,": "):"",(0,v.jsx)("span",{className:"text-muted",children:e.optionValueName})]},e.optionValueId)}))]}),(0,v.jsxs)("div",{className:"g-col2",children:[(0,v.jsxs)("div",{className:"g-col2-1",children:[(0,v.jsx)(g.j,{value:t.score||5,starSize:15}),(0,v.jsx)("p",{className:"g-title",children:t.reviewTitle}),(0,v.jsx)("p",{className:"g-content",children:t.reviewInfo})]}),(0,v.jsx)("div",{className:"g-col2-2",children:(0,v.jsx)("ul",{className:"g-assets",children:t.reviewAsset.map((function(e,r){return(0,v.jsx)(S.f,{className:"g-asset",url:e.link,width:108,height:108,onClick:function(){return n({list:t.reviewAsset.map((function(e){return e.link})),activeIndex:r})}},r)}))})})]}),(0,v.jsx)("div",{className:"g-col3",children:t.updateTime})]})},O=function(e){var t=e.list,n=e.className,i=e.afterCount;return 0===t.length?null:(0,v.jsx)(E.Vr,{children:function(e){var a=e.open;return(0,v.jsx)("div",{className:n,"data-load-count":i,children:t.map((function(e,t){return(0,v.jsxs)(r.Fragment,{children:[(0,v.jsx)(P,{review:e,open:a},e.id),(0,v.jsx)(o.Z,{})]},t)}))})}})},C=n(51743),T="review-list-wrap_wCLQw",j="average_MjOA3",A="no-score_JM3Qi",D="filter_x8ZMI",N="reviews_4gRJo",I=function(e){var t=(0,s.IA)().t,n=e.id,r=void 0===n?"review-list":n,c=e.variant,l=e.from,u=e.initialReviewPage,d=c.review,p=d?+d.score:5,_=d.reviewNum||0,f=b({variantId:c.variantId,initialReviewPage:u,from:l}),h=f.anchorRef,m=f.reviewPage,g=f.loading,y=f.onPageChange,E=f.withPictures,S=f.onWithPicturesC
1hange,P=f.afterCount;return p>0?(0,v.jsxs)("div",{id:r,className:k()(T,"wrapper"),children:[(0,v.jsx)(a.Z,{title:t("web_product_tab_reviews",{num:_})}),(0,v.jsx)(w,{className:j,score:p,rateSize:18}),(0,v.jsx)(i.Z,{spinning:g,children:m?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{ref:h}),(0,v.jsx)(x,{className:D,reviewPage:m,withPictures:E,onWithPicturesChange:S}),(0,v.jsx)(o.Z,{style:{margin:"8px 0 20px"}}),(0,v.jsx)(O,{className:N,list:m.list,afterCount:P}),m.totalPage>1&&(0,v.jsx)(C.Z,{total:m.totalNum||0,pageSize:10,current:m.page||1,onChange:y})]}):null})]}):(0,v.jsx)("div",{className:k()(A,"text-center"),children:t("web_product_review_no_score")})},R=r.memo(I)},7637:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});n(27378);var r={"fill-placeholder-child":"fill-placeholder-child_scsms",sellingPoints:"sellingPoints_yfKbV"},i=n(29177),o=n(32996),a=n(24246),s=function(e){var t=e.shownVariant,n=t.productSellingPoints,s=(0,o.IA)().t;return t.desc||n.length?(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:i.Z["right-module"],children:(0,a.jsx)("h2",{className:i.Z["module-title"],children:s("web_product_selling_pints_title")})}),(0,a.jsxs)("ul",{className:r.sellingPoints,children:[(0,a.jsx)("li",{dangerouslySetInnerHTML:{__html:t.desc||""}}),(n||[]).map((function(e,t){return(0,a.jsxs)("li",{children:[(0,a.jsx)("strong",{className:r.pointTitle,children:e.textName?"".concat(e.textName,": "):""}),(0,a.jsxs)("span",{className:r.pointValue,children:[" ",e.textValue]})]},t)}))]})]}):null}},65351:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(27378),i="tab-part-title_bEUou",o=n(24246),a=function(e){var t=e.title;return(0,o.jsx)("h2",{className:i,children:t||"Title"})},s=r.memo(a)},54941:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return qt}});var r=n(90089),i=n(97865),o=n(55732),a=n(90849),s=n(34707),c=n.n(s),l=n(27378),u=n(86677),d=n.n(u),p=n(65218),_=n.n(p),f=n(8191),h=n(52395),m=n(12795),b=n(46918),g=n(12270),v=n(72202);function w(e,t){var n={};for(var r in e){var i=e[r],o=i[t]||i.DEFAULT;n[r]=o}return n}var y=["uriMapList","navList","topStripedBanner","topPromotionBar","tagTheme","clientKeys","referralConfig","homePageVersions"];function k(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?k(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=function(e){return{state:null!==e&&void 0!==e?e:{},getPersistState:function(e,t,n){var i="".concat(t,"-").concat(n),o=(e.uriMapList,e.navList),a=e.topStripedBanner,s=e.topPromotionBar,c=e.tagTheme,l=e.clientKeys,u=e.referralConfig,d=e.homePageVersions,p=(0,r.Z)(e,y);this.state=x(x({},p),{},{navList:o[i],topStripedBanner:a[i],topPromotionBar:s[i],tagTheme:c[i],clientKeys:w(l,n),referralConfig:u[n],homePageVersion:d[n]})},update:function(e){if(e)for(var t in this.state||(this.state={}),e){var n=t;this.state[n]=e[n]}}}},S=n(11029),P=n.n(S),O=n(369),C=n(54007),T=["pageLoading"];function j(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?j(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){return{state:A(A({},e),{},{pageLoading:!1,useRem:!0}),update:function(e){for(var t in e){var n=t;this.state[n]=e[n]}},updateAfterRouterChange:function(e){var t=this.state.ua,n=(e.pageLoading,(0,r.Z)(e,T));this.update(A(A({},n),{},{ua:t}))},fetchLocaleInfo:function(e,t){var n=this;return(0,o.Z)(c().mark((function r(){var i,o,a,s,l,u,d;return c().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=e.ctx,o=n.state,a=o.country,s=o.currency,l=o.lang,a){r.next=9;break}return d=P().getClientIp(i.req),r.next=6,(0,O.E)(d).catch((function(){return C.a}));case 6:u=r.sent,r.next=10;break;case 9:u={country:a,currency:s,lang:l};case 10:n.update((0,C.Z)(t,u));case 11:case"end":return r.stop()}}),r)})))()},fetchIPLocale:function(e){var t=this;return(0,o.Z)(c().mark((function n(){var r,i,o,a,s,l,u;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=e.ctx,i=t.state,o=i.country,a=i.currency,s=i.lang,o&&a&&s){n.next=8;break}return u=P().getClientIp(r.req),n.next=6,(0,O.E)(u).catch((function(){return C.a}));case 6:l=n.sent,t.update(l);case 8:case"end":return n.stop()}}),n)})))()}}},N=n(69380),I=n(97421),R=n(8437),L=n(86287),M=n(73936),z=n(7756),Z=n(88303),F=n(73784);function V(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 B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?V(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U=function(){var e=(0,o.Z)(c().mark((function e(){var t,n,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,M.v3)();case 3:return n=e.sent,r=null===n||void 0===n||null===(t=n.messageTypeWithUnRead)||void 0===t?void 0:t.reduce((function(e,t){return B(B({},t),{},{unReadNum:t.unReadNum+e.unReadNum})})),e.abrupt("return",{messageNum:r.unReadNum||0});case 8:return e.prev=8,e.t0=e.catch(0),console.log("[userStore getUnReadCount error]",e.t0),e.abrupt("return",{messageNum:0});case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),G=function(e){return{state:B(B({},{loaded:!1,loginToken:"",accessToken:"",cartId:"",cartNum:0,messageNum:0,couponNum:0,currentTime:0,email:"",isGuestUser:!1,isLogin:!1,payVerifyEmail:"",sha1Email:"",showZendesk:!1,track:!0,userId:"0",userName:"guest",referralCode:"",userTags:[],pointsRule:{consumePoints:"",consumePointsPrice:"",obtainPoints:"",obtainPointsPrice:""}}),e),update:function(e){for(var t in e)this.state[t]=e[t]},checkAuth:function(){return!!!(0,m.ej)(N.t1)&&!!(0,m.ej)(N.b1)},fetchUserInfo:function(e){var t=this;return(0,o.Z)(c().mark((function n(){var r,o,a,s,l,u,p,_;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=!1,n.prev=1,n.next=4,Promise.all([(0,L.uS)(),z.Z.hasGlobalMessageEntry?U():Promise.resolve({messageNum:0})]);case 4:if(o=n.sent,a=(0,i.Z)(o,2),s=a[0],l=a[1],u=!!s.userTags.find((function(e){return"dealer"===e.toLowerCase()})),p=(null===e||void 0===e?void 0:e.pathname)||(r?"":window.location.pathname),"vivosun"!==z.Z.project||!u){n.next=16;break}return t.logout(),r||d().reload(),n.abrupt("return",t.state);case 16:if("vs-ws"!==z.Z.project||(0,F.lf)(p,N.WY)||s.isLogin&&u){n.next=21;break}return s.isLogin&&t.logout(),"loginPage"===(null===e||void 0===e?void 0:e.from)||(0,F.lf)(p,[Z.g.LOGIN])||d().push((0,b.generatePath)(Z.g.LOGIN,{redirect:window.location.href.replace(window.location.origin,"")})),n.abrupt("return",t.state);case 21:return _=B(B(B({},s),l),{},{loginToken:(s.isGuestUser||s.isLogin)&&(0,m.ej)(N.b1)||"",loaded:!0}),r||(_.loginToken||(0,m.A0)(N.b1),_.isGuestUser||(0,m.A0)(N.t1),(0,R.xW)({userId:s.userId||"0",email:s.email||"",sha1Email:s.sha1Email||"",cartId:s.cartId,userTags:s.userTags})),t.update(_),(0,v.PC)("userStore",_),n.abrupt("return",_);case 28:n.prev=28,n.t0=n.catch(1),r?console.log("[userStore fetchUserInfo error]",n.t0):I.Z.error(n.t0.message);case 31:return n.abrupt("return",{});case 32:case"end":return n.stop()}}),n,null,[[1,28]])})))()},login:function(e){var t=this;return(0,o.Z)(c().mark((function n(){return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e.loginToken&&(0,m.d8)(N.b1,e.loginToken),e.isGuestUser?(0,m.d8)(N.t1,+(null===e||void 0===e?void 0:e.isGuestUser)):(0,m.A0)(N.t1),t.update(B(B({},e),{},{isLogin:!(null!==e&&void 0!==e&&e.isGuestUser)}));case 3:case"end":return n.stop()}}),n)})))()},logout:function(){(0,m.A0)(N.b1),(0,m.A0)(N.t1),this.update({isLogin:!1,userName:"guest",loginToken:"",isGuestUser:!1})},quickRegister:function(e){var t=this;return(0,o.Z)(c().mark((function n(){var r;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,L.s2)(e);case 3:r=n.sent,(0,R.ju)(),t.login(r),t.fetchUserInfo(),n.next=12;break;case 9:throw n.prev=9,n.t0=n.catch(0),new Error(n.t0.message);case 12:case"end":return n.stop()}}),n,null,[[0,9]])})))()},isDealer:function(){return this.state.userTags.includes("DEALER")},isDropShipping:function(){return this.state.userTags.includes("DROP_SHIPPING")},isInfoLoaded:function(){return this.state.loaded}}},q=n(24903),H=function(e){var t=document.createElement("img");t.src=e;var n=document.createElement("div");return n.className="add-cart-animate",n.appendChild(t),document.body.appendChild(n),n},K=function(){var e=(0,o.Z)(c().mark((function e(t){var n,r,i,o,a,s,l;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=H(t),(0,g.cn)(n,"in",!0),r=(0,q.getWindowWidth)(),i=(0,q.getWindowHeight)(),o=n.offsetWidth,a=n.offsetHeight,s=Math.round((r-o
1)/2),l=Math.round((i-a)/2),n.style.left="".concat(s,"px"),n.style.top="".concat(l,"px"),setTimeout((function(){(0,g.IV)(n,"in",!0);var e=document.getElementById("js-cart-icon");if(e){var t=e.offsetWidth,r=e.offsetHeight,i=e.getBoundingClientRect(),s=i.left+t/2-o/2,c=i.top+r/2-a/2;(0,g.cn)(n,"out",!0),n.style.left="".concat(s,"px"),n.style.top="".concat(c,"px"),n.style.transform="scale(".concat(t/o,")")}setTimeout((function(){document.body.removeChild(n)}),300)}),600);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),W=function(){var e=(0,o.Z)(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.length>0&&t.forEach((function(e,t){0===t?K(e):setTimeout((function(){K(e)}),100*t)}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$=n(49696);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){(0,a.Z)(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}var J=function(e){return{state:X({visible:!1,reloadCount:0,reloadByBonusListCount:0,totalQty:0,hasMiniCart:!1,sideCartMode:!1,sideCartVisible:!1},e),setVisible:function(e){this.state.visible=e},reload:function(){this.state.reloadCount+=1},reloadByBonusList:function(){this.state.reloadByBonusListCount+=1},afterAddCart: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],i=arguments.length>3?arguments[3]:void 0,o=!1!==(null===i||void 0===i?void 0:i.openDropdown);if("Vivohome"!==z.Z.brand&&o&&this.state.sideCartMode&&this.setSideCartVisible(!0),"Vivohome"!==z.Z.brand&&o&&!this.state.sideCartMode&&this.setVisible(!0),this.state.hasMiniCart)this.reload();else{var a=this.state.totalQty+e*((null===n||void 0===n?void 0:n.length)||1);this.setTotalQty(a),(0,$.vS)(a),r&&(n&&n.length>0&&document.getElementById("js-cart-icon")?W(n):I.Z.success()),"Vivohome"!==z.Z.brand&&o&&!this.state.sideCartMode&&setTimeout((function(){t.setVisible(!1)}),1),"Vivohome"!==z.Z.brand&&o&&!this.state.sideCartMode&&setTimeout((function(){t.setVisible(!1)}),1)}},setTotalQty:function(e){this.state.totalQty=e},activeMinicart:function(){this.state.hasMiniCart=!0},activeSideCart:function(){this.state.sideCartMode=!0,this.state.hasMiniCart=!0,this.state.visible=!1},deactivateSideCart:function(){this.state.sideCartMode=!1,this.state.sideCartVisible=!1},setSideCartVisible:function(e){this.state.sideCartVisible=e,e&&(this.state.visible=!1)}}},Q=n(10317),ee=n(12521),te=n(56840),ne=n(60042),re=n.n(ne);function ie(e){var t=e.lang,n=e.ua,r=e.bodyClassName,i=e.pageCode,o=e.query,a=n.isPhone?"m":n.isTablet?"pad":"pc";return re()(r,"g-body-".concat(t," g-body-").concat(a),{"g-body-app":n.isApp},"help"===i&&o.code?"g-body-".concat(o.code):"")}function oe(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 ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t,n){var r="".concat(t,"-").concat(n);return!!(e.translation&&e.regionList&&e.uriMapList&&e.navList[r]&&e.to
1pStripedBanner[r]&&e.topPromotionBar[r]&&e.tagTheme[r]&&e.referralConfig[n]&&e.homePageVersions[n]&&Object.keys(e.clientKeys).length>0)}var ce=function(){var e=(0,o.Z)(c().mark((function e(t,n){var r,i,o,a,s,l,u,d,p,_,f,h,m,b,g,w,y,k,x,S,P,O,T,j;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.query,a=n.ctx.pathname,s=a===Z.g.CACHE,!1,l=(0,v.bh)(),!!(0,te.xb)(l)){e.next=12;break}return u=l.rootStore,d=l.persistStore,p=l.userStore,_=l.miniCartStore,f=l.serverStore,h=l.popupFixedStore,m=d.state.regionList||[],t.country&&t.currency&&t.lang?u.update(ae(ae({},t),(0,C.Z)(m,{country:t.country,currency:t.currency,lang:t.lang}))):u.update(ae(ae({},t),(0,C.Z)(m,{country:l.rootStore.state.country||C.a.country,currency:l.rootStore.state.currency||C.a.currency,lang:l.rootStore.state.lang||C.a.lang}))),p.update({loginToken:t.loginToken,isGuestUser:!!t.cookies[N.t1]}),e.abrupt("return",{rootState:u.state,persistState:d.state,userState:p.state,miniCartSate:_.state,serverState:f.state,popupFixedState:h.state});case 12:if(b=(0,v.N2)({rootStore:D(t),persistStore:E(null===l||void 0===l||null===(r=l.persistStore)||void 0===r?void 0:r.state),userStore:G({loginToken:t.loginToken,isGuestUser:!!t.cookies[N.t1]}),miniCartStore:J(),serverStore:(0,Q.Z)(null===l||void 0===l||null===(i=l.serverStore)||void 0===i?void 0:i.state,t.query[N.KW]),popupFixedStore:(0,ee.ZP)()}),g=b.rootStore,w=b.persistStore,y=b.userStore,k=b.miniCartStore,x=b.serverStore,S=b.popupFixedStore,n.ctx.req,!s){e.next=18;break}return e.next=18,x.clearState(o.clearKey,t.envName);case 18:return e.next=20,x.fetchRegionList();case 20:return P=e.sent,e.next=23,g.fetchLocaleInfo(n,P);case 23:if(O=g.state,T=O.country,j=O.lang,!s&&se(x.state,j,T)){e.next=27;break}return e.next=27,x.fetchState(j,T);case 27:return w.getPersistState(x.state,j,T),g.state,e.abrupt("return",{rootState:g.state,persistState:w.state,userState:y.state,miniCartSate:k.state,serverState:x.state,popupFixedState:S.state});case 30:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),le=n(5005),ue=n.n(le),de=n(76114),pe=n(18051),_e=n(13567),fe=n(98474),he=n(69261),me=n(76803);function be(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 ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ve(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return we(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return we(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,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,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ye=function(e,t){var n=!1;if(Array.isArray(e)){var r,i=ve(e);try{for(i.s();!(r=i.n()).done;){if(t[r.value]){n=!0;break}}}catch(o){i.e(o)}finally{i.f()}}else n=!!e;return n};function ke(e){var t=e.ctx,n=e.Component,r=t.req,i=t.asPath,o=void 0===i?"/":i,a=t.query,s=ue()(t)||{};s[N.tr]||(s[N.tr]=(0,pe.SQ)());var c,l,u=ge(ge({},a),(0,_e.m)(a.path)),d=(r?r.headers.host:window.location.host)||"",p=(r?r.headers["user-agent"]:navigator.userAgent)||"",_=de.Z.parse(p),f=(0,$.N0)(p)||"1"===u[N.QT],h=function(e){var t="",n="";return e&&(2===e.length?t=e:5===e.length&&(t=e.substring(0,2),n=e.substring(3,5).toUpperCase())),{lang:t.toLowerCase(),country:n.toUpperCase()}}(function(e){if(e=e.replace(/\?.*$/,"").replace(/#.*$/,""),/^\/[a-zA-Z]{2}(-[a-zA-Z]{2}){0,1}$/.test(e))return e.replace(/\//g,"");var t=e.match(/^\/[a-zA-Z]{2}(-[a-zA-Z]{2}){0,1}\//);return t?t[0].replace(/\//g,""):""}((null===r||void 0===r?void 0:r.originalUrl)||o||"")),m=!!h.country,b=!!u[N.YH],g=h.lang||u[N.B6]||s[N.Lc]||"",v=h.country||u[N.YH]||s[N.RI]||"",w=u[N.QQ]||(m||b?"":s[N.ap])||"",y=ge(ge({pageCode:"",bodyClassName:"",layoutProps:{},delayPageLoading:!1,showOpeningPopup:!0,nativeTitle:void 0,nativeTopBarSelfManaged:!1},c=n.pageConf),fe.L[(null===c||void 0===c?void 0:c.pageCode)||""]);return ge(ge({host:d,asPath:o,envName:"prod",ua:ge(ge({},_),{},{isPhone:false,isMobile:_.isMobile,isApp:f}
1),query:u,cookies:(0,te.qH)(s,[N.Lc,N.RI,N.ap,N.tr,N.b1,N.t1,N.po,N.Xz,N.O2,N.KJ,"".concat(he.d,"_").concat(v)]),lang:g,country:v,currency:w,visited:!!s[N.RI],accessToken:u[N.II]||s[N.tr]||"",loginToken:u[N.ry]||s[N.b1]||"",pageLayout:(0,me.xg)(o)},y),{},{needAuth:ye(y.needAuth,u),viewType:"purchase"===y.viewType?"0"===u.success&&"paypal"!==u.type?"pay_failed":"purchase":y.viewType||"other",debugTrans:u[N.lY]||s[N.kh]||"0",nativeApis:(l=s[N.Xp],l?l.split(","):[]),nativeTheme:"dark"===s[N.UP]?"dark":"light"})}var xe=n(20480),Ee=n(27551);var Se=n(73679),Pe=n(88038),Oe=n.n(Pe);function Ce(){return Ce=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},Ce.apply(this,arguments)}function Te(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var je=["keyOverride"],Ae={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},De=function(e,t,n){void 0===t&&(t=[]);var r=void 0===n?{}:n,i=r.defaultWidth,o=r.defaultHeight;return t.reduce((function(t,n,r){return t.push(l.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(l.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(l.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(l.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(l.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):i&&t.push(l.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:i.toString()})),n.height?t.push(l.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):o&&t.push(l.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:o.toString()})),t}),[])},Ne=function(e){var t,n,r,i=[];e.titleTemplate&&(Ae.templateTitle=e.titleTemplate);var o="";e.title?(o=e.title,Ae.templateTitle&&(o=Ae.templateTitle.replace(/%s/g,(function(){return o})))):e.defaultTitle&&(o=e.defaultTitle),o&&i.push(l.createElement("title",{key:"title"},o));var a,s,c=e.noindex||Ae.noindex||e.dangerouslySetAllPagesToNoIndex,u=e.nofollow||Ae.nofollow||e.dangerouslySetAllPagesToNoFollow,d="";if(e.robotsProps){var p=e.robotsProps,_=p.nosnippet,f=p.maxSnippet,h=p.maxImagePreview,m=p.maxVideoPreview,b=p.noarchive,g=p.noimageindex,v=p.notranslate,w=p.unavailableAfter;d=(_?",nosnippet":"")+(f?",max-snippet:"+f:"")+(h?",max-image-preview:"+h:"")+(b?",noarchive":"")+(w?",unavailable_after:"+w:"")+(g?",noimageindex":"")+(m?",max-video-preview:"+m:"")+(v?",notranslate":"")}(c||u?(e.dangerouslySetAllPagesToNoIndex&&(Ae.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(Ae.nofollow=!0),i.push(l.createElement("meta",{key:"robots",name:"robots",content:(c?"noindex":"index")+","+(u?"nofollow":"follow")+d}))):i.push(l.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+d})),e.description&&i.push(l.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&i.push(l.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&i.push(l.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach((function(e){i.push(l.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))})),e.twitter&&(e.twitter.cardType&&i.push(l.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&i.push(l.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&i.push(l.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&i.push(l.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),null!=(t=e.openGraph)&&t.title||o)&&i.push(l.createElement("meta",{key:"og:title",property:"og:title",content:(null==(a=e.openGraph)?void 0:a.title)||o}));(null!=(n=e.openGraph)&&n.description||e.description)&&i.push(l.createElement("meta",{key:"og:description",property:"og:description",content:(null==(s=e.openGraph)?void 0:s.description)||e.description}));if(e.openGraph){if((e.openGraph.url||e.canonical)&&i.push(l.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var y=e.openGraph.type.toLowerCase();i.push(l.createElement("meta",{key:"og:type",property:"og:type",content:y})),"profile"===y&&e.openGraph.profile?(e.openGraph.profile.firstName&&i.push(l.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&i.push(l.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&i.push(l.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&i.push(l.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===y&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEac
1h((function(e,t){i.push(l.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))})),e.openGraph.book.isbn&&i.push(l.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&i.push(l.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach((function(e,t){i.push(l.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))}))):"article"===y&&e.openGraph.article?(e.openGraph.article.publishedTime&&i.push(l.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&i.push(l.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&i.push(l.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach((function(e,t){i.push(l.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))})),e.openGraph.article.section&&i.push(l.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach((function(e,t){i.push(l.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))}))):"video.movie"!==y&&"video.episode"!==y&&"video.tv_show"!==y&&"video.other"!==y||!e.openGraph.video||(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach((function(e,t){e.profile&&i.push(l.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&i.push(l.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))})),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach((function(e,t){i.push(l.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))})),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach((function(e,t){i.push(l.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))})),e.openGraph.video.duration&&i.push(l.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&i.push(l.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEac
1h((function(e,t){i.push(l.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))})),e.openGraph.video.series&&i.push(l.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(Ae.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(Ae.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&i.push.apply(i,De("image",e.openGraph.images,{defaultWidth:Ae.defaultOpenGraphImageWidth,defaultHeight:Ae.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(Ae.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(Ae.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&i.push.apply(i,De("video",e.openGraph.videos,{defaultWidth:Ae.defaultOpenGraphVideoWidth,defaultHeight:Ae.defaultOpenGraphVideoHeight})),e.openGraph.audio&&i.push.apply(i,De("audio",e.openGraph.audio)),e.openGraph.locale&&i.push(l.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&i.push(l.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&i.push(l.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach((function(e){var t,n,r=e.keyOverride,o=Te(e,je);i.push(l.createElement("meta",Ce({key:"meta:"+(null!=(t=null!=(n=null!=r?r:o.name)?n:o.property)?t:o.httpEquiv)},o)))})),null!=(r=e.additionalLinkTags)&&r.length&&e.additionalLinkTags.forEach((function(e){var t;i.push(l.createElement("link",Ce({key:"link"+(null!=(t=e.keyOverride)?t:e.href)+e.rel},e)))})),i},Ie=function(e){return l.createElement(Oe(),null,Ne(e))},Re=function(e){var t=e.title,n=e.themeColor,r=e.noindex,i=void 0!==r&&r,o=e.nofollow,a=e.robotsProps,s=e.description,c=e.canonical,u=e.openGraph,d=e.facebook,p=e.twitter,_=e.additionalMetaTags,f=e.titleTemplate,h=e.defaultTitle,m=e.mobileAlternate,b=e.languageAlternates,g=e.additionalLinkTags,v=e.useAppDir,w=void 0!==v&&v;return l.createElement(l.Fragment,null,w?Ne({title:t,themeColor:n,noindex:i,nofollow:o,robotsProps:a,description:s,canonical:c,facebook:d,openGraph:u,additionalMetaTags:_,twitter:p,titleTemplate:f,defaultTitle:h,mobileAlternate:m,languageAlternates:b,additionalLinkTags:g}):l.createElement(Ie,{title:t,themeColor:n,noindex:i,nofollow:o,robotsProps:a,description:s,canonical:c,facebook:d,openGraph:u,additionalMetaTags:_,twitter:p,titleTemplate:f,defaultTitle:h,mobileAlternate:m,languageAlternates:b,additionalLinkTags:g}))},Le=Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"});new RegExp("["+Object.keys(Le).join("")+"]","g");var Me=n(49022),ze=n(39418),Ze=n(24246),Fe=function(e){var t,n,r=e.seoProps,i=e.pageProps,o=(0,v.Kw)("rootStore"),a=(0,u.useRouter)().asPath,s=o.query.q||"",c=(null===r||void 0===r?void 0:r.description)||z.Z.brand,l=o.pageCode,d=o.lang,p=o.country,_=o.host,f=(null===r||void 0===r?void 0:r.keywords)||z.Z.brand;s&&(f="".concat(s,", ").concat(s," ").concat(z.Z.brand,", ").concat(f));var h=(null===i||void 0===i||null===(t=i.seo)||void 0===t?void 0:t.canonicalUrl)||(0,Me.Z)(a.replace(/\?.*$/,""),o.query,o.queryKeys),m="en"===d&&"US"===p?"":"/".concat(d,"-").concat(p),b=s||(null===r||void 0===r?void 0:r.title)||z.Z.brand;return(0,Ze.jsx)(Re,{title:b,description:c,additionalMetaTags:[{name:"Keywords",content:f}],openGraph:{type:"detail"===l?"product":"website",images:[{url:(null===r||void 0===r?void 0:r.image)||z.Z.seo.image,width:600,height:600,alt:b}]},canonical:"https://".concat(z.Z.domain).concat(m).concat(h),languageAlternates:[].concat((0,Se.Z)(ze.i18n.locales.map((function(e){return{hrefLang:e,href:"https://".concat(_,"/").concat(e).concat(h)}}))),[{hrefLang:"x-default",href:"https://".concat(_).concat(h)}]),facebook:null!==(n=z.Z.facebook)&&void 0!==n&&n.appId?{appId:z.Z.facebook.appId}:void 0})};var Ve=n(46126),Be="btn_u1LQb",Ue=function(e){return"1"===(0,u.useRouter)().query[N.n4]?(0,Ze.jsx)(Ve.z,{type:"base",shape:"circle",size:"small",onClick:function(){return console.log(e)},className:Be,children:"S"}):null},Ge=n(79738),qe=n(65712),He=n(475),Ke=n(32996),We=n(29051),$e=n(2675),Ye=n(4835),Xe=n(92812),Je=n(54151),Qe=n(30650),et=n(56850);function tt(e){return"GoogleConsent_".concat(e)}function nt(e){var t=(0,m.ej)(N.RI);t&&xe.t.set(tt(t),JSON.stringify(e))}function rt(){var e=(0,m.ej)(N.RI);if(!e)return null;var t=xe.t.get(tt(e));if(t)try{return JSON.parse(t)}catch(n){console.log(n)}return null}function it(e,t){"1"===(0,b.getParamInSearch)(N.Iy)&&(console.log("-----Google Consent: ".concat(e," -----")),t&&console.log(JSON.stringify(t,null,4))),window.gtag&&window.gtag("consent",e,t)}function ot(e){return e?"granted":"denied"}function at(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&nt(e);var n=ot(e.preferences),r=ot(e.advertising);it("update",{personalization_storage:n,analytics_storage:n,ad_storage:r,ad_user_data:r,ad_personalization:r})}function st(){var e=(0,l.useState)(!1),t=e[0],n=e[1],r=(0,l.useState)(!1),i=r[0],o=r[1],a=(0,l.useState)(!1),s=a[0],c=a[1],u=(0,l.useState)(!1),d=u[0],p=u[1],_=(0,l.useState)(!0),f=_[0],h=_[1],m=(0,l.useState)(!0),b=m[0],g=m[1],w=(0,v.Kw)("rootStore"),y=w.ua.isApp,k=w.country;
1return(0,l.useEffect)((function(){["DE","GB"].includes(k)&&!y&&(rt()?function(){var e=rt();e&&at(e,!1)}():(n(!0),o(!0)))}),[k]),{active:t,rootPopupVisible:i,closeRootPopup:function(){return o(!1)},customisePopupVisible:s,openCustomisePopup:function(){return c(!0)},closeCustomisePopup:function(){return c(!1)},preferencesChecked:f,setPreferencesChecked:h,advertisingChecked:b,setAdvertisingChecked:g,onConfirmChoice:function(){at({preferences:f,advertising:b}),c(!1),o(!1)},helpPopupVisible:d,openHelpPopup:function(){return p(!0)},closeHelpPopup:function(){return p(!1)}}}var ct=function(e){var t=e.closeRootPopup,n=e.openCustomisePopup,r=e.openHelpPopup,i=(0,Ke.IA)().t;return(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)("div",{className:"g-desc",children:(0,Ze.jsx)(Ke.cC,{i18nKey:"web_consent_root_desc",components:{privacy:(0,Ze.jsx)("span",{className:"g-help-link",onClick:r})}})}),(0,Ze.jsxs)("div",{className:"g-root-options",children:[(0,Ze.jsxs)(Ve.z,{type:"text",onClick:n,className:"g-root-customise",children:[i("web_consent_root_customise_cookies")," >"]}),(0,Ze.jsx)(Ve.z,{onClick:function(){at({preferences:!1,advertising:!1}),t()},className:"g-root-reject",children:i("web_consent_root_reject_all")}),(0,Ze.jsx)(Ve.z,{type:"primary",onClick:function(){at({preferences:!0,advertising:!0}),t()},className:"g-root-accept",children:i("web_consent_root_accept_all")})]})]})},lt=n(27849),ut=n(56591),dt=n(81628),pt=n(63010),_t=n(8749),ft=n(70522);function ht(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 mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var bt=function(e){var t=e.preferencesChecked,n=e.setPreferencesChecked,r=e.advertisingChecked,i=e.setAdvertisingChecked,o=e.onConfirmChoice,a=e.openHelpPopup,s=e.showOptions,c=void 0===s||s,l=(0,Ke.IA)().t;return(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)("div",{className:"g-desc",children:(0,Ze.jsx)(Ke.cC,{i18nKey:"web_consent_customise_desc",components:{privacy:(0,Ze.jsx)("span",{className:"g-help-link",onClick:a})}})}),(0,Ze.jsx)(ft.U,{list:[{key:"necessary",title:l("web_consent_customise_necessary_title"),extra:l("web_consent_customise_always_on"),body:(0,Ze.jsx)(Ke.cC,{i18nKey:"web_consent_customise_necessary_desc",components:{privacy:(0,Ze.jsx)("span",{className:"g-help-link",onClick:a})}})},{key:"preferences",title:l("web_consent_customise_preferences_title"),extra:(0,Ze.jsx)(lt.Z,{className:"g-switch",checked:t,onChange:n,onClick:function(e,t){return t.stopPropagation()}}),body:(0,Ze.jsx)(Ke.cC,{i18nKey:"web_consent_customise_preferences_desc",components:{privacy:(0,Ze.jsx)("span",{className:"g-help-link",onClick:a})}})},{key:"advertising",title:l("web_consent_customise_advertising_title"),extra:(0,Ze.jsx)(lt.Z,{className:"g-switch",checked:r,onChange:i,onClick:function(e,t){return t.stopPropagation()}}),body:l("web_consent_customise_advertising_desc",{brand:z.Z.brand})}].map((function(e){return mt(mt({},e),{},{expandIconPosition:"left",expandIcon:function(e){return"iconfont"in z.Z?(0,Ze.jsx)(dt.Z,{className:e?"icon-m
1inus":"icon-add"}):e?(0,Ze.jsx)(_t.S,{size:!1}):(0,Ze.jsx)(pt.U,{size:!1})}})}))}),c&&(0,Ze.jsx)("div",{className:"g-cus-options",children:(0,Ze.jsx)(ut.Z,{type:"primary",onClick:o,className:"g-cus-confirm",children:l("web_consent_customise_confirm_my_choice")})})]})},gt=n(83747);function vt(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 wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yt=function(e){var t=e.className,n=e.privacyLoaderProps,r=st(),i=(0,Ke.IA)().t,o=r.active,a=r.rootPopupVisible,s=r.closeRootPopup,c=r.customisePopupVisible,l=r.closeCustomisePopup,u=r.helpPopupVisible,d=r.closeHelpPopup,p={className:t,width:720,centered:!0,footer:!1,destroyOnClose:!0};return o?(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)(et.Z,wt(wt({},p),{},{title:i("web_consent_root_title"),open:a,onCancel:s,closable:!1,maskClosable:!1,children:(0,Ze.jsx)(ct,wt({},r))})),(0,Ze.jsx)(et.Z,wt(wt({},p),{},{title:i("web_consent_customise_title"),open:c,onCancel:l,children:(0,Ze.jsx)(bt,wt({},r))})),(0,Ze.jsx)(et.Z,wt(wt({},p),{},{title:i("web_consent_privacy_title"),open:u,onCancel:d,children:(0,Ze.jsx)(gt.K,wt({code:"privacy-policy",showTitle:!1},n))}))]}):null},kt="consent_VcOW6",xt=function(){return(0,u.useRouter)().query.print?null:(0,Ze.jsx)(yt,{className:kt})},Et=n(43218),St=n.n(Et),Pt=(0,v.Pi)((function(){var e,t,n=(0,v.oR)(),r=n.userStore,i=n.rootStore;return null===(e=r.state)||void 0===e||!e.loginToken||["dev","test"].includes(i.state.envName)?null:(0,Ze.jsx)(St(),{id:"riskified",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:'(function() {\n function riskifiedBeaconLoad() {\n console.log("----- riskified Beacon Load -----")\n \n var session_id = \''.concat(null===(t=r.state)||void 0===t?void 0:t.loginToken,"';\n var store_domain = '").concat(z.Z.domain,"';\n var url = ('https:' == document.location.protocol ? 'https://' : 'http://')\n + \"beacon.riskified.com?shop=\" + store_domain + \"&sid=\" + session_id;\n var s = document.createElement('script');\n s.type = 'text/javascript';\n s.async = true;\n s.src = url;\n var x = document.getElementsByTagName('script')[0];\n x.parentNode.insertBefore(s, x);\n }\n if (document.readyState==\"complete\") {\n riskifiedBeaconLoad()\n } else {\n if (window.attachEvent) {\n window.attachEvent('onload', riskifiedBeaconLoad)\n } else {\n window.addEventListener('load', riskifiedBeaconLoad, false);\n }\n }\n })();")}})})),Ot=l.memo(Pt),Ct=n(53589),Tt=function(){return(0,Ze.jsx)(St(),{id:"vconsole-sdk",src:"".concat(z.Z.cdnRoot,"file-asset/file/6b8faff6eceb68f9d76716788b3c075a.js"),onReady:function(){window.VConsole&&(window.vConsole=new window.VConsole)},strategy:"beforeInteractive"})},jt=function(){return z.Z.sp?(0,Ze.jsx)(St(),{id:"sp-sdk",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:';(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[]; p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments) };p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1; n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","'.concat(z.Z.sp.sdkUrl,'","snowplow"));\nsnowplow("newTracker","').concat(z.Z.sp.projectName,'","').concat(z.Z.sp.collector,'",{appId:"').concat(z.Z.sp.appId.prod,'",platform:"').concat(Ct.M?"mob":"pc",'",discoverRootDomain:true,cookieSameSite:"Lax",encodeBase64:true,sessionCookieTimeout:3600*3,contexts:{performanceTiming:true}, postPath:"').concat(z.Z.sp.postPath,'"});')}}):null}
1,At=function(){var e=(0,v.qm)("rootStore").country,t="DE"===e||"GB"===e?"denied":"granted";return z.Z.ga?(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)(St(),{id:"ga-consent",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:"\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('consent', 'default', {\n 'functionality_storage': '".concat(t,"',\n 'security_storage': '").concat(t,"',\n 'analytics_storage': '").concat(t,"',\n 'personalization_storage': '").concat(t,"',\n 'ad_storage': '").concat(t,"',\n 'ad_user_data': '").concat(t,"',\n 'ad_personalization': '").concat(t,"',\n});\ngtag('js', new Date());\n")}}),(0,Ze.jsx)(St(),{id:"ga-sdk",strategy:"afterInteractive",src:"".concat(z.Z.ga.sdkUrl,"?id=").concat(z.Z.ga.trackingId)})]}):null},Dt=function(){return z.Z.gtm?(0,Ze.jsx)(St(),{id:"gtm-sdk",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='".concat(z.Z.gtm.sdkUrl,"?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','gtmDataLayer','").concat(z.Z.gtm.containerId,"');")}}):null},Nt=function(){return Ct.M?(0,Ze.jsx)(St(),{id:"rem",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:'!function(){function e(){var e=window.innerWidth?window.innerWidth:document.documentElement.offsetWidth;let t=Math.round(24*(e=Math.min(Math.max(e,320),750))/750*1e4)/1e4,$=document.getElementsByTagName("html")[0];$.style.cssText="font-size: "+t+"px";let n=1e4*+window.getComputedStyle($).fontSize.replace("px","")/1e4;t!==n&&($.style.cssText="font-size: "+t*(t/n)+"px")}if("undefined"!=typeof window){var t,$,n;e(),t=window,$=e,n=void 0!==n&&n,t.addEventListener("resize",$,n)}}();'}}):(0,Ze.jsx)(St(),{id:"rem",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:'(function(){function c(){if(!document.body)return/(iPad|iPhone|iPod|Android|ios|Windows Phone)/i.test(window.navigator.userAgent)?0:15;if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)){var a=document.createElement("div");a.style.cssText="position:absolute; top:-1000px; width:100px; height:100px; overflow:hidden;";var d=document.body.appendChild(a).clientWidth;a.style.overflowY="scroll";var e=a.clientWidth;document.body.removeChild(a);return d-e}return 0}function b(){var a=\n(window.innerWidth?window.innerWidth:document.documentElement.offsetWidth)-c();a=Math.max(a,768);a=Math.round(a/1920*1E4)/1E4;document.getElementsByTagName("html")[0].style.cssText="font-size: "+a+"px"}"undefined"!==typeof window&&(b(),window.addEventListener("resize",b,!1))})();'}})},It=function(){return(0,Ze.jsxs)(Oe(),{children:[(0,Ze.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=5, viewport-fit=cover"}),!1]})},Rt=["vivosun.com","vivohome.com","flex-star.com","matrix-lighting.com"];function Lt(e,t){if(0===e.length)return!1;var n=e+"="+encodeURIComponent("");n+=";path=/";var r=new Date;r.setTime(r.getTime()+-864e5),n+=";expires="+r.toUTCString(),n+=";domain=."+t,n+=";samesite=lax";try{return document.cookie=n,!0}catch(i){return console.log("cookie is disabled"),!1}}var Mt=["serverState"];function zt(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 Zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ft=_()((function(){return Promise.resolve().then(n.bind(n,19e3))}),{ssr:!1,loadableGenerated:{webpack:function(){return[19e3]}}}),Vt=_()((function(){return n.e(6207).then(n.bind(n,46207))}),{ssr:!1,loadableGenerated:{webpack:function(){return[46207]}}}),Bt=["Vivosun"].includes(z.Z.brand);function Ut(e){var t,n,r=e.Component,i=e.pageProps,o=e.storeProps,a=e.seoProps,s=(0,u.useRouter)(),c="undefined"===typeof(0,v.bh)().rootStore&&!0,d=function(e){var t,n,r=(0,v.bh)();return r||console.log("initComponentStore prev store not found"),e?(0,v.N2)({rootStore:D(e.rootState),persistStore:E(e.persistState),serverStore:(0,Q.Z)(e.serverState),userStore:G((null===(t=r.userStore)||void 0===t?void 0:t.state)||e.userState),miniCartStore:J(null===(n=r.miniCartStore)||void 0===n?void 0:n.state),popupFixedStore:(0,ee.ZP)(null===e||void 0===e?void 0:e.popupFixedState)}):(0,v.bh)()}(o),p=(0,v.fv)((function(){return d})),_=p.rootStore,h=p.userStore,w=p.miniCartStore,y=p.persistStore;_.updateAfterRouterChange(o.rootState),y.update(o.persistState);var k=_.state,x=(0,Ke.Hf)(k.lang,null===y||void 0===y||null===(t=y.state)||void 0===t?void 0:t.translation);!function(){var e=window.location.host;e.startsWith("localhost")||Rt.includes(e)||Rt.push(e),Rt.forEach((function(t){e.endsWith(t)&&(Lt(N.Vy,t),Lt(N.Lc,t),Lt(N.RI,t),Lt(N.ap,t),Lt(N.tr,t),Lt(N.b1,t),Lt(N.t1,t),Lt(N.kh,t),Lt(N.Xz,t),Lt(N.KJ,t),Lt(N.O2,t),Lt(N.po,t))}
1)),(0,m.ej)("COUNTRY_2")&&((0,m.A0)("NEXT_LOCALE_2"),(0,m.A0)("LANGUAGE_2"),(0,m.A0)("COUNTRY_2"),(0,m.A0)("CURRENCY_2"),(0,m.A0)("ACCESS_TOKEN_2"),(0,m.A0)("LOGIN_TOKEN_2"),(0,m.A0)("IS_GUEST_USER_2"),(0,m.A0)("DEBUG_TRANS_2"),(0,m.A0)("VARIANT_NUMS_ITEMS_2"),(0,m.A0)("BUY_NOW_DATA_2"),(0,m.A0)("CART_SELECTED_IDS_2"),(0,m.A0)("LAST_ORDER_ID_2"))}();var S="".concat(k.lang,"-").concat(k.country);(0,m.d8)(N.Vy,"en-US"===S?"":S),(0,m.d8)(N.Lc,k.lang),(0,m.d8)(N.ap,k.currency),(0,m.d8)(N.RI,k.country),(0,m.d8)(N.tr,k.accessToken),k.loginToken&&(0,m.d8)(N.b1,k.loginToken),"0"===k.debugTrans?(0,m.A0)(N.kh):(0,m.d8)(N.kh,k.debugTrans);var P=document.body;(0,g.pv)(P,"js-keep-style")||P.removeAttribute("style"),P.className=ie(o.rootState),c&&("1"===k.query[N.xq]&&xe.t.set(N.JJ,"1"),(0,He.BJ)(),(0,$.uu)(k.query),"string"===typeof k.query[$e.MV]&&(0,Ye.Lr)(k.query[$e.MV])),(0,l.useEffect)((function(){var e=function(e,t){if(!t.shallow){var n=(0,me.Dy)(e);if(n){var r=(0,me.nt)(n);if(r.country!==k.country||r.lang!==k.lang){var i,o=(0,C.Z)((null===y||void 0===y||null===(i=y.state)||void 0===i?void 0:i.regionList)||[],{country:r.country||k.country,lang:r.lang||k.lang,currency:k.currency}),a="en"===o.lang&&"US"===o.country?"":"".concat(o.lang,"-").concat(o.country);(0,m.d8)(N.Vy,a),(0,m.d8)(N.Lc,o.lang),(0,m.d8)(N.ap,o.currency),(0,m.d8)(N.RI,o.country),o.lang!==k.lang&&(0,Ke.Gc)(o.lang)}}if(Ct.M){var c=(0,b.getParamsInSearch)((0,b.getSearch)(e));if(c.country||c.currency)throw s.replace((0,b.generatePath)(e,{country:void 0,currency:void 0})),"Abort"}if(k.ua.isApp){var l=e.replace(/[?#].*$/,""),u=(0,$.Mc)(l);if(u)throw u.callback(l,e),"Abort route change by user's confirmation."}window.scrollTo(0,0),document.body.style.paddingBottom="0px",(0,g.cn)(document.body,"body-loading",!1),_.update({pageLoading:!0,pageLayout:(0,me.xg)(e)}),w.setVisible(!1);var d=document.getElementById("js-search-input"),p=document.getElementById("js-search-clear");if(d){var f=e.startsWith(Z.g.SEARCH)&&(0,b.getParamInSearch)("q",e.replace(/^.*?\?(.*)$/,"?$1"))||"";d.value=f,p&&f&&(0,g.cn)(p,"g-active",!1)}}},t=function(e,t){var n,r=t.shallow;"prod"!==k.envName&&k.ua.isApp&&console.log("routeChangeComplete ==",JSON.stringify({location:(null===(n=window)||void 0===n?void 0:n.location)||{}},null,1));r||(h.fetchUserInfo().then((function(e){k.ua.isApp&&w.setTotalQty(e.cartNum||0)})),_.state.delayPageLoading||_.update({pageLoading:!1}),s.pathname,(0,R.cb)(),setTimeout((function(){(0,R.WQ)(),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,b.getHash)(e);if(n){n=n.replace("#","");var r=t.retries,i=void 0===r?10:r,o=t.retryInterval,a=void 0===o?100:o,s=t.behavior,c=void 0===s?"instant":s,l=t.block,u=void 0===l?"start":l,d=function(){try{return decodeURIComponent(n)}catch(e){return n}}(),p=i;(function e(){var t=document.getElementById(d);t?t.scrollIntoView({behavior:c,block:u}):p>0&&(p-=1,setTimeout(e,a))})()}}(e)}),50))},n=function(e,t,n){n.shallow;e.cancelled||console.error("[".concat(t,"]"),e)};return _.state.ua.isPhone&&s.beforePopState((function(){return!window.zE||!window.zEActive||(window.zEActive=!1,window.zE.hide(),!1)})),s.events.on("routeChangeStart",e),s.events.on("routeChangeComplete",t),s.events.on("routeChangeError",n),function(){s.events.off("routeChangeStart",e),s.events.off("routeChangeComplete",t),s.events.off("routeChangeError",n)}}),[s]),(0,l.useEffect)((function(){h.fetchUserInfo().then((function(e){(e.isGuestUser||!e.isLogin)&&k.needAuth&&(k.ua.isApp?(0,$.Al)():s.replace((0,b.generatePath)(Z.g.LOGIN,{redirect:s.asPath||"/",loginToken:void 0}))),k.ua.isApp&&w.setTotalQty(e.cartNum||0)}))}),[]);var O=null!==(n=r.getLayout)&&void 0!==n?n:function(e){return(0,Ze.jsx)(Qe.Z,Zt(Zt({},k.layoutProps),{},{children:e}))},T=(0,v.iF)();return(0,Ze.jsxs)(Ze.Fragment,{children:[(0,Ze.jsx)(It,{}),Je.r.useRem&&(0,Ze.jsx)(Nt,{}),(0,Ze.jsx)(Dt,{}),(0,Ze.jsx)(At,{}),(0,Ze.jsx)(jt,{}),Ct.M&&["test","pre"].includes(k.envName)&&(0,Ze.jsx)(Tt,{}),!!z.Z.aos&&(0,Ze.jsx)(Vt,{}),(0,Ze.jsx)(f.a3,{i18n:x,children:(0,Ze.jsxs)(T.Provider,{value:p,children:[(0,Ze.jsx)(Ot,{}),(0,Ze.jsx)(Fe,{seoProps:a,pageProps:i}),i.error||i.errors||i.errorTip?O((0,Ze.jsx)(Ge.Z,Zt({},i))):O((0,Ze.jsx)(r,Zt({},i))),(0,Ze.jsx)(Ue,{pageProps:i,seoProps:a,storeProps:o}),(0,Ze.jsx)(xt,{}),k.ua.isApp&&"prod"!==k.envName&&(0,Ze.jsx)(Ft,{}),(0,Ze.jsx)(qe.YS,{})]})})]})}function Gt(e){var t=(0,u.useRouter)().asPath;return null!==e&&void 0!==e&&e.storeProps?(0,Ze.jsx)(Ut,Zt({},e)):(console.log(e?"MyApp props.storeProps empty":"MyApp props empty",t),(0,Ze.jsx)(Ze.Fragment,{}))}h.Z.setDefaultIndicator((0,Ze.jsx)(We.y,{})),Gt.getInitialProps=function(){var e=(0,o.Z)(c().mark((function e(t){var n,o,a,s,l,u,p,_,f,h,m,g,w,y,k,x,E,S,P,O,C,T;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.ctx,o=n.asPath,a=n.pathname,s=n.res,l=ke(t),(u=l.pageCode)&&(l=Zt(Zt({},fe.L[u]),l)),l.pageLayout=(0,me.xg)(a),e.next=7,Promise.all([ce(l,t),l.seoCode?(c=l.seoCode,j=Zt(Zt({},l.query),l.seoQuery),Ee.Z.post("/web/seo/config/query",{data:{pageCode:c,query:j}})):null]);case 7:if(p=e.sent,_=(0,i.Z)(p,2),f=_[0],h=_[1],m=(0,v.bh)(),g=m.userStore,m.serverStore,Bt||!(0,Xe.qe)(!1,l.query,l.cookies)){e.next=22;break}if(w=(0,Xe.ij)(o||"/"),!s){e.next=20;break}s.writeHead(302,{Location:w}),s.end(),e.next=22;break;case 20:return e.next=22,d().replace(w);case 22:if(a!==Z.g.LOGIN){e.next=36;break}return e.next=25,g.fetchUserInfo({from:"loginPage"});case 25:if(!g.state.isLogin){e.next=34;break}if(y=l.query.redirect||"/",!s){e.next=32;break}s.writeHead(302,{Location:y}),s.end(),e.next=34;break;case 32:return e.next=34,d().replace(y);case 34:e.next=62;break;case 36:if(!l.needAuth&&("vs-ws"!==z.Z.project||(0,F.lf)(a,N.WY))||g.checkAuth()){e.
1next=48;break}if(k=(0,b.generatePath)(Z.g.LOGIN,{redirect:o||"/"}),!s){e.next=43;break}s.writeHead(302,{Location:k}),s.end(),e.next=45;break;case 43:return e.next=45,d().push(k);case 45:return e.abrupt("return",{});case 48:if(a!==Z.g.CHECKOUT){e.next=62;break}if(x=l.cookies[N.O2],E=l.cookies[N.Xz],S=l.cookies[N.KJ],P=l.cookies[N.po],l.query.orderId||null!==x&&void 0!==x&&x.length||null!==E&&void 0!==E&&E.length||S||!P){e.next=62;break}if(O=(0,b.generatePath)(Z.g.CHECKOUT,{orderId:P}),!s){e.next=60;break}s.writeHead(302,{Location:O}),s.end(),e.next=62;break;case 60:return e.next=62,d().replace(O);case 62:return C=f.serverState,T=(0,r.Z)(f,Mt),e.abrupt("return",{storeProps:T,seoProps:h,pageProps:a===Z.g.CACHE?{cacheStateJson:JSON.stringify(C,null,4)}:{}});case 64:case"end":return e.stop()}var c,j}),e)})));return function(t){return e.apply(this,arguments)}}();var qt=Gt},79907:function(e,t,n){"use strict";n.d(t,{Y:function(){return w}});var r=n(90849),i=n(90089),o=n(27378),a=n(60042),s=n.n(a),c=n(56850),l=n(32996),u="g-energy-label",d="g-energy-label-badge",p="g-energy-label-link",_="g-energy-label-modal",f="g-energy-label-modal-close",h=n(24246),m=["className","level","pdf","pic","onClick"];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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v={A:"#00A651",B:"#52B043",C:"#C1D21A",D:"#FFF200",E:"#FBB034",F:"#F26522",G:"#ED1C24"},w=function(e){var t=e.className,n=e.level,r=e.pdf,a=e.pic,b=e.onClick,w=(0,i.Z)(e,m),y=(0,l.IA)().t,k=(0,o.useState)(!1),x=k[0],E=k[1];if(!n)return null;var S=function(){E(!1)};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",g(g({className:s()(t,u)},w),{},{children:[(0,h.jsx)("div",{className:d,onClick:function(e){e.stopPropagation(),a&&E(!0),null===b||void 0===b||b(e)},role:"button",tabIndex:0,children:(0,h.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",version:"1.1",width:"37",height:"22.00048828125",viewBox:"0 0 37 22.00048828125",children:[(0,h.jsx)("defs",{children:(0,h.jsx)("clipPath",{id:"master_svg0_170_19505/170_19375",children:(0,h.jsx)("rect",{x:"3",y:"8.00048828125",width:"6",height:"6",rx:"0"})})}),(0,h.jsx)("rect",{x:"0",y:"0",width:"11",height:"22",rx:"0",fill:"#FFFFFF",fillOpacity:"1"}),(0,h.jsx)("path",{d:"M11,22.00048828125L30,22.00048828125L37,11.00048828125L30,0.00048828125L11,0.00048828125L11,22.00048828125Z",fill:v[n],fillOpacity:"1"}),(0,h.jsx)("path",{d:"M11,0L0,0L0,22L11,22L30,22.000488L37,11.000488L30,0.00048828125L11,0ZM11,1L1,1L1,21L11,21L29.451063,21.000475L35.81469,11.000488L29.451044,1.0004742L11,1Z",fillRule:"evenodd",fill:"#000000",fillOpacity:"1"}),(0,h.jsx)("text",{x:"21.21",y:"12.71",textAnchor:"middle",dominantBaseline:"middle",fill:"#ffffff",fontSize:"16",fontWeight:"bold",fontFamily:"Verdana",children:n}),(0,h.jsx)("path",{d:"M8.5,7.50048828125L7.212710400000001,7.50048828125L6.8787289000000005,6.4897427812499995L5.0888456,6.4897427812499995L4.7548639,7.50048828125L3.5,7.50048828125L5.2833982,2.50048828125L6.716601799999999,2.50048828125L8.5,7.50048828125ZM6.5771723,5.5730201812499995L5.9837872999999995,3.7798704812499997L5.390402,5.5730201812499995L6.5771723,5.5730201812499995Z",fill:"#000000",fillOpacity:"1"}),(0,h.jsx)("g",{clipPath:"url(#master_svg0_170_19505/170_19375)",children:(0,h.jsx)("path",{d:"M6.25,11.00048828125L6.25,13.00048828125L5.75,13.00048828125L5.75,11.00048828125L4,11.00048828125L6,9.00048828125L8,11.00048828125L6.25,11.00048828125Z",fill:"#000000",fillOpacity:"1"})}),(0,h.jsx)("path",{d:"M8,19.12605338125Q7.7150998,19.251940681249998,7.2450142,19.37621448125Q6.7749288,19.50048828125,6.307692299999999,19.50048828125Q5.2250713,19.50048828125,4.61253566,18.833929081249998Q4,18.16737028125,4,16.99241848125Q4,15.87234118125,4.61823362,15.18641472125Q5.2364672,14.50048828125,6.3418803,14.50048828125Q6.7606838,14.50048828125,7.1396011999999995,14.58602733925Q7.5185184,14.67156640125,7.9829061,14.92656964125L7.9829061,16.05310298125L
17.860399,16.05310298125Q7.7806268,15.98531718125,7.626780699999999,15.86104348125Q7.4729345,15.73676978125,7.3304844,15.64961668125Q7.165242,15.54632428125,6.9444444,15.47208291125Q6.7236469,15.39784145125,6.4757833,15.39784145125Q6.185185199999999,15.39784145125,5.9487179999999995,15.49467802125Q5.7122507,15.59151468125,5.5242165,15.79164388125Q5.3447293,15.98531718125,5.2407407,16.28389688125Q5.1367521,16.58247658125,5.1367521,16.97305128125Q5.1367521,17.77033968125,5.5099715,18.19319348125Q5.883191,18.61604638125,6.6125355,18.61604638125Q6.6752136,18.61604638125,6.750712200000001,18.61281868125Q6.8262107,18.60959098125,6.8888888,18.60313508125L6.8888888,17.66059158125L6.0427349,17.66059158125L6.0427349,16.75355478125L8,16.75355478125L8,19.12605338125Z",fill:"#000000",fillOpacity:"1"})]})}),r&&(0,h.jsx)("span",{className:p,onClick:function(e){e.stopPropagation(),r&&window.open(r,"_blank")},children:y("web_shop_energy_label_product_data_sheet")})]})),a&&(0,h.jsxs)(c.Z,{open:x,onCancel:S,footer:null,width:"auto",centered:!0,className:_,maskStyle:{backgroundColor:"rgba(0, 0, 0, 0.9)"},children:[(0,h.jsx)("img",{src:a,alt:"Energy Label ".concat(n),style:{maxWidth:"275px",display:"block"}}),(0,h.jsx)("div",{className:f,onClick:S,children:(0,h.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",version:"1.1",width:"24",height:"24",viewBox:"0 0 24 24",children:[(0,h.jsx)("defs",{children:(0,h.jsx)("clipPath",{id:"master_svg0_170_19978",children:(0,h.jsx)("rect",{x:"0",y:"0",width:"24",height:"24",rx:"0"})})}),(0,h.jsx)("g",{clipPath:"url(#master_svg0_170_19978)",children:(0,h.jsx)("path",{d:"M12,3C7.0294399,3,3,7.0294399,3,12C3,16.970599999999997,7.0294399,21,12,21C16.970599999999997,21,21,16.970599999999997,21,12C21,7.0294399,16.970599999999997,3,12,3C12,3,12,3,12,3ZM1,12C1,5.92487,5.92487,1,12,1C18.0751,1,23,5.92487,23,12C23,18.0751,18.0751,23,12,23C5.92487,23,1,18.0751,1,12C1,12,1,12,1,12ZM8.292890100000001,8.292890100000001C8.6834202,7.90237,9.3165798,7.90237,9.7071104,8.292890100000001C9.7071104,8.292890100000001,12,10.5857897,12,10.5857897C12,10.5857897,14.2929,8.292890100000001,14.2929,8.292890100000001C14.6834,7.90237,15.3166,7.90237,15.7071,8.292890100000001C16.0976,8.6834202,16.0976,9.3165798,15.7071,9.7071104C15.7071,9.7071104,13.4142,12,13.4142,12C13.4142,12,15.7071,14.2929,15.7071,14.2929C16.0976,14.6834,16.0976,15.3166,15.7071,15.7071C15.3166,16.0976,14.6834,16.0976,14.2929,15.7071C14.2929,15.7071,12,13.4142,12,13.4142C12,13.4142,9.7071104,15.7071,9.7071104,15.7071C9.3165798,16.0976,8.6834202,16.0976,8.292890100000001,15.7071C7.90237,15.3166,7.90237,14.6834,8.292890100000001,14.2929C8.292890100000001,14.2929,10.5857897,12,10.5857897,12C10.5857897,12,8.292890100000001,9.7071104,8.292890100000001,9.7071104C7.90237,9.3165798,7.90237,8.6834202,8.292890100000001,8.292890100000001C8.292890100000001,8.292890100000001,8.292890100000001,8.292890100000001,8.292890100000001,8.292890100000001Z",fillRule:"evenodd",fill:"#FFFFFF",fillOpacity:"0.5"})})]})})]})]})}},73198:function(e,t,n){"use strict";n.d(t,{O:function(){return f}});var r=n(90849),i=n(90089),o=n(86677),a=n(88303),s=n(86834),c=n(7756),l=n(28718),u=n(24246),d=["className"];function p(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){var t=(0,o.useRouter)().pathname,n=e.className,r=(0,i.Z)(e,d);return t===a.g.HOME?(0,u.jsxs)(s.Z,{href:a.g.SHOP,className:n,children:[(0,u.jsx)("h1",{className:"visually-hidden",children:c.Z.brand}),(0,u.jsx)(l.SO,_(_({},r),{},{href:!1,lazy:!1}))]}):(0,u.jsx)(l.SO,_({},e))}},69640:function(e,t,n){"use strict";n.d(t,{M:function(){return _}});var r=n(90849),i=n(90089),o=n(50678),a={"fill-placeholder-child":"fill-placeholder-child_VGDYf",points:"points_dvSdZ",primary:"primary_XCcMd",reverse:"reverse_TOXvJ"},s=n(60042),c=n.n(s),l=n(24246),u=["type","className"];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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=function(e){var t=e.type,n=void 0===t?"primary":t,r=e.className,s=(0,i.Z)(e,u);return(0,l.jsx)(o.W,p(p({},s),{},{className:c()(r,a.points,!1!==n?a[n]:""),path:"M256 320h169.941333c54.186667 0 98.133333 44.373333 98.133334 99.114667 0 54.784-43.946667 99.157333-98.133334 99.157333-36.224 0-67.84-19.84-84.821333-49.365333L256 320z m362.325333 0H768L511.701333 768l-74.453333-131.413333 181.077333-316.586667z"}))}},24536:function(e,t,n){"use strict";n.d(t,{y:function(){return S},Y:function(){return w}});var r=n(90849),i=n(27378),o=n(98180),a=n(32996),s=n(28460),c=n(20638),l=n(46126),u=n(53589),d=n(55732),p=n(34707),_=n.n(p),f=n(93855),h=n(60042),m=n.n(h),b=n(66701),g=n(24246);var v=function(e){var t=e.className,n=e.open,r=e.onClose,c=e.onSelectLocale,l=(0,a.IA)().t,p=(0,s.b)(),h=p.country,v=p.lang,w=p.regionList,y=(0,i.useState)({countryCode:h,langCode:v}),k=y[0],x=y[1],E=function(){var e=(0,d.Z)(_().mark((function e(t,n){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x({countryCode:t.countryCode,langCode:n.code}),e.next=3,(0,b.Z)(100);case 3:null===c||void 0===c||c(t,n);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return(0,g.jsx)(o.Vq,{closeIcon:!0,width:u.M?"100%":370,title:l("web_locale_select_region_country"),className:t,open:n,onClose:r,body:(0,g.jsx)(g.Fragment,{children:w.map((function(e){return(0,g.jsxs)("div",{children:[(0,g.jsx)("div",{className:"g-region-name",children:e.displayName.toUpperCase()}),(0,g.jsx)(g.Fragment,{children:e.countryList.map((function(e){return e.languageList.map((function(t){var n=e.countryCode===k.countryCode&&t.code===k.langCode;return(0,g.jsxs)("div",{className:m()("g-country-lang flex flex-middle",{"g-active":n}),onClick:function(){return E(e,t)},children:[(0,g.jsxs)("div",{className:"flex-1 flex flex-middle",children:[(0,g.jsx)("div",{className:"g-country",children:t.countryName}),(0,g.jsx)("div",{className:"g-lang",children:t.name})]}),(0,g.jsx)("div",{className:"g-select",children:n&&(0,g.jsx)(f.N,{className:"g-select-icon",size:!1})})]},"".concat(e.countryCode,"-").concat(t.code))}))}))})]},e.code)}))})})};function w(){var e=(0,i.useState)(!1),t=e[0],n=e[1];return{open:t,onOpen:function(){return n(!0)},onClose:function(){return n(!1)}}}var y=function(e){var t=e.open,n=e.onClose,r=e.localePopupCls,d=e.regionPopupCls,p=e.nextPath,_=(0,a.IA)().t,f=(0,i.useState)(!1),h=f[0],m=f[1],b=(0,s.b)(),w=b.curCountry,y=b.curLanguage,k=b.curCurrency,x=b.changeLocale,E=function(){var e=(0,i.useState)(!1),t=e[0],n=e[1];return{open:t,onOpen:function(){return n(!0)},onClose:function(){return n(!1)}}}(),S=(0,i.useState)({country:w,language:y,currency:k}),P=S[0],O=S[1];return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(o.Vq,{width:u.M?275:370,title:_("web_locale_region_language"),className:r,open:t,onClose:n,body:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:"g-label",children:_("web_address_country_label")}),(0,g.jsxs)("div",{className:"g-region flex flex-middle pointer",onClick:E.onOpen,children:[(0,g.jsxs)("div",{className:"flex-1",children:[(0,g.jsx)("div",{className:"g-country",children:P.language.countryName}),(0,g.jsx)("div",{className:"g-lang",children:P.language.name})]}),(0,g.jsx)(c.C,{className:"g-region-arrow",direction:"right",size:!1})]}),(0,g.jsx)("div",{className:"g-label",children:_("web_locale_lable_currency")}),(0,g.jsxs)("div",{className:"g-currency",children:[P.currency.code," (",P.currency.currencySymbol,")"]}),(0,g.jsx)(l.z,{className:"g-btn-apply",type:"primary",block:!0,onClick:function(){x({nextPath:p,country:P.country,language:P.language,onChange:function(){m(!0)},onCancel:function(){p||n()}})},loading:h,children:_("web_common_btn_confirm")})]})}),(0,g.jsx)(v,{className:d,open:E.open,onClose:E.onClose,onSelectLocale:function(e,t){O({country:e,language:t,currency:e.currencyList.find((function(e){return e.defaultValue}))||e.currencyList[0]}),E.onClose()}})]})},k="locale-popup_Mlioz",x="region-popup_LJgga";function E(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 S=function(e){return(0,g.jsx)(y,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?E(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({localePopupCls:k,regionPopupCls:x},e))}},28718:function(e,t,n){"use strict";n.d(t,{SO:function(){return m},ZP:function(){return b},bW:function(){return h}});var r=n(90849),i=n(90089),o=(n(27378),n(88303)),a=n(53589),s=n(49589),c=n(7756),l=n(24246),u=["typeMap","width","height","type","href","size","fixed","className","lazy"];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}var p=function(e){var t=e.typeMap,n=e.width,o=e.height,a=e.type,p=void 0===a?"default":a,_=e.href,f=e.size,h=e.fixed,m=void 0===h||h,b=e.className,g=e.lazy,v=(0,i.Z)(e,u),w=f||n,y=w===n?o:w*o/n;return(0,l.jsx)(s.E,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:b,href:!1===_?void 0:!0===_?"/":_,src:t[p]||t.default,width:w,height:y,alt:c.Z.brand,background:!1,fixed:m,lazy:g},v))},_=["type","size","href"];function f(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 h={default:"file-asset/file/c37e878ed5fb01172b4892be9b02bb1a.svg",light:"file-asset/file/7490b5b9abfb76d10b87432027857a1f.svg",primary:"file-asset/file/5411855e90eccafd2d844ce75bbdaeae.svg",sample:"file-asset/file/8a8f57061a3aefd8fa85b96bab167439.svg"},m=function(e){var t=e.type,n=void 0===t?"default":t,s=e.size,c=void 0===s?a.M?123:180:s,u=e.href,d=void 0===u?o.g.SHOP:u,m=(0,i.Z)(e,_);return(0,l.jsx)(p,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({typeMap:h,width:180,height:33,type:n,size:c,href:d},m))},b=m},95428:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(88303),i=n(40397),o=[{name:"web_account_profile_title",url:r.g.PROFILE},{name:"web_account_address_title",url:r.g.ADDRESS_BOOK},{name:"web_account_orders_title",url:r.g.ORDERS,children:[(0,i.Ck)(r.g.ORDER),(0,i.Ck)(r.g.REVIEW),(0,i.Ck)(r.g.REFUND),(0,i.Ck)(r.g.REFUND_PROGRESS),(0,i.Ck)(r.g.TRACK),(0,i.Ck)(r.g.PACKAGE)]},{name:"web_account_coupons_title",url:r.g.COUPONS,condition:"notDealer"},{name:"web_account_points_title",url:r.g.POINTS_MALL,condition:"notDealer"},{key:"message",name:"web_account_message_title",url:r.g.MESSAGE_CENTER,showPoint:!1},{name:"web_account_security_title",url:r.g.SECURITY},{name:"web_refer_friend_page_title",url:r.g.REFER_A_FRIEND,condition:"showReferrer"}]},98920:function(e,t,n){"use strict";n.d(t,{K:function(){return u},k:function(){return c}});var r=n(88303),i=n(46918),o=n(65218),a=n.n(o),s=n(69380),c={"contact-us":{title:"web_help_contact_us",content:{en:a()((function(){return n.e(366).then(n.bind(n,366))}),{loadableGenerated:{webpack:function(){return[366]}}}),de:a()((function(){return n.e(639).then(n.bind(n,70639))}),{loadableGenerated:{webpack:function(){return[70639]}}})}},"return-policy":{title:"web_help_return_policy",content:{en:a()((function(){return n.e(6068).then(n.bind(n,16068))}),{loadableGenerated:{webpack:function(){return[16068]}}}),de:a()((function(){return n.e(3919).then(n.bind(n,73919))}),{loadableGenerated:{webpack:function(){return[73919]}}})}},"shipping-types":{title:"web_help_shipping_types",content:{en:a()((function(){return n.e(66
157).then(n.bind(n,46657))}),{loadableGenerated:{webpack:function(){return[46657]}}}),de:a()((function(){return n.e(3054).then(n.bind(n,23054))}),{loadableGenerated:{webpack:function(){return[23054]}}})}},"wrong-item-received":{title:"web_help_wrong_item_received",content:{en:a()((function(){return n.e(8186).then(n.bind(n,28186))}),{loadableGenerated:{webpack:function(){return[28186]}}}),de:a()((function(){return n.e(3139).then(n.bind(n,33139))}),{loadableGenerated:{webpack:function(){return[33139]}}})}},"item-lost-in-transit":{title:"web_help_item_lost_in_transit",content:{en:a()((function(){return n.e(6223).then(n.bind(n,56223))}),{loadableGenerated:{webpack:function(){return[56223]}}}),de:a()((function(){return n.e(5686).then(n.bind(n,85686))}),{loadableGenerated:{webpack:function(){return[85686]}}})}},"about-points":{title:"web_help_about_points",content:{en:a()((function(){return n.e(2718).then(n.bind(n,22718))}),{loadableGenerated:{webpack:function(){return[22718]}}}),de:a()((function(){return n.e(6649).then(n.bind(n,26649))}),{loadableGenerated:{webpack:function(){return[26649]}}})}},"about-vdays":{title:"web_help_about_vdays",content:{en:a()((function(){return n.e(5914).then(n.bind(n,35914))}),{loadableGenerated:{webpack:function(){return[35914]}}}),de:a()((function(){return n.e(2853).then(n.bind(n,2853))}),{loadableGenerated:{webpack:function(){return[2853]}}})}},"about-us":{title:"web_help_about_us",content:{en:a()((function(){return n.e(8399).then(n.bind(n,63920))}),{loadableGenerated:{webpack:function(){return[63920]}}}),de:a()((function(){return n.e(1847).then(n.bind(n,34914))}),{loadableGenerated:{webpack:function(){return[34914]}}})}},"fraud-awareness":{title:"web_help_fraud_awareness",content:{en:a()((function(){return n.e(8042).then(n.bind(n,38042))}),{loadableGenerated:{webpack:function(){return[38042]}}}),de:a()((function(){return n.e(8571).then(n.bind(n,78571))}),{loadableGenerated:{webpack:function(){return[78571]}}})}},"privacy-policy":{title:"web_help_privacy_policy",content:{en:a()((function(){return n.e(4446).then(n.bind(n,74446))}),{loadableGenerated:{webpack:function(){return[74446]}}}),de:a()((function(){return n.e(1559).then(n.bind(n,21559))}),{loadableGenerated:{webpack:function(){return[21559]}}})}},"community-guidelines":{title:"web_help_community_guidelines",content:{en:a()((function(){return n.e(9606).then(n.bind(n,89606))}),{loadableGenerated:{webpack:function(){return[89606]}}}),de:a()((function(){return n.e(3682).then(n.bind(n,93682))}),{loadableGenerated:{webpack:function(){return[93682]}}})}},"terms-of-service":{title:"web_help_terms_of_service",content:{en:a()((function(){return n.e(6021).then(n.bind(n,56021))}),{loadableGenerated:{webpack:function(){return[56021]}}}),de:a()((function(){return n.e(4747).then(n.bind(n,44747))}),{loadableGenerated:{webpack:function(){return[44747]}}})}},"intellectual-property":{title:"web_help_intellectual_property",content:{en:a()((function(){return n.e(1876).then(n.bind(n,91876))}),{loadableGenerated:{webpack:function(){return[91876]}}}),de:a()((function(){return n.e(6697).then(n.bind(n,36697))}),{loadableGenerated:{webpack:function(){return[36697]}}})}},"about-diy-pools":{title:"web_help_about_diy_pools",content:{en:a()((function(){return n.e(2129).then(n.bind(n,92129))}),{loadableGenerated:{webpack:function(){return[92129]}}}),de:a()((function(){return n.e(7898).then(n.bind(n,17898))}),{loadableGenerated:{webpack:function(){return[17898]}}})}},"about-diy-ranking":{title:"web_help_about_diy_ranking",content:{en:a()((function(){return n.e(5506).then(n.bind(n,55506))}),{loadableGenerated:{webpack:function(){return[55506]}}}),de:a()((function(){return n.e(4009).then(n.bind(n,4009))}),{loadableGenerated:{webpack:function(){return[4009]}}})}},"add-device":{title:"web_help_add_device",content:{en:a()((function(){return n.e(6086).then(n.bind(n,46086))}),{loadableGenerated:{webpack:function(){return[46086]}}}),de:a()((function(){return n.e(3921).then(n.bind(n,43921))}),{loadableGenerated:{webpack:function(){return[43921]}}})}},"add-growhub-e42-e42a":{title:"web_help_growhub_e42",content:{en:a()((function(){return n.e(4274).then(n.bind(n,84274))}),{loadableGenerated:{webpack:function(){return[84274]}}}),de:a()((function(){return n.e(4879).then(n.bind(n,84879))}),{loadableGenerated:{webpack:function(){return[84879]}}})}},"add-growhub-e25":{title:"web_help_growhub_e25",content:{en:a()((function(){return n.e(2028).then(n.bind(n,92028))}),{loadableGenerated:{webpack:function(){return[92028]}}}),de:a()((function(){return n.e(1268).then(n.bind(n,45102))}),{loadableGenerated:{webpack:function(){return[45102]}}})}},impressum:{title:"web_help_legal_notice",content:{en:a()((function(){return n.e(8682).then(n.bind(n,98682))}),{loadableGenerated:{webpack:function(){return[98682]}}}),de:a()((function(){return n.e(94).then(n.bind(n,80094))}),{loadableGenerated:{webpack:function(){return[80094]}}})}}},l=[{key:"service",title:"web_help_customer_service_title",list:["contact-us",{title:"web_help_shipping_policy",link:"/help/shipping-policy"},"return-policy",{title:"web_help_warranty_policy",link:"/help/warranty-policy"},{title:"web_help_loyalty_policy",link:"/help/loyalty-program"},{title:"web_help_title_support",link:r.g.SUPPORT}]},{key:"company",title:"web_footer_link_company",list:[{title:"web_help_about_us",link:r.g.ABOUT_US},"fraud-awareness","privacy-policy","terms-of-service",{code:"impressum",condition:"countryDE"},{title:"web_help_blog",link:"blog"},"intellectual-property",{title:"web_help_referral_program",link:r.g.REFERRAL,condition:"showReferrer"},{title:"web_affiliate_program",link:r.g.AFFILIATE},{title:"web_wholesale_become_a_reseller",link:"".concat(s.db.prod,"become-a-reseller"),linkProps:{target:"_blank"}}]},{key:"account",title:"web_footer_link_account",list:[{title:"web_footer_link_my_account",link:r.g.ORDERS},{title:"web_footer_link_log_in",link:r.g.LOGIN},{title:"web_footer_link_create_account",link:(0,i.generatePath)(r.g.LOGIN,{target:"register"})},{title:"web_footer_link_order_history",link:r.g.ORDERS},{title:"web_footer_link_my_addresses",link:r.g.ADDRESS_BOOK}]}],u={pages:c,groups:l}},39418:function(e,t,n){var r=n(34707),i=n(32887);e.exports={i18n:{localeDetection:!1,defaultLocale:"en",locales:["en","de","fr","it","es","cs","en-US","de-DE","en-DE","fr-FR","en-FR","it-IT","en-IT","es-ES","en-ES","cs-CZ","en-CZ","en-CA","en-AU","en-GB"],domains:[{domain:"vivosun.de",defaultLocale:"en-US"},{domain:"vivosun.ca",defaultLocale:"en-CA"}]},rewrites:function(){return i(r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",[{source:"/:path([^\\/]*-[ac]\\d+)*",destination:"/list/:path*"},{source:"/:path([^\\/]*-p\\d+)*",destination:"/products/:path*"},{source:"/:path([^\\/]*-p\\d+-v\\d+)*",destination:"/products/:path*"},{source:"/shop",destination:"/"},{source:"/diy-pools",destination:"/diy-pool"},{source:"/vivosun-smart-grow-box",destination:"/brochure/vivosun-smart-grow-box"},{source:"/crowd-funding/:code*",destination:"/crowdfunding/:code*"}
1]);case 1:case"end":return e.stop()}}),e)})))()},redirects:function(){return i(r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",[{source:"/cyber-monday",destination:"/weekly-deal",permanent:!0},{source:"/black-friday",destination:"/weekly-deal",permanent:!0}]);case 1:case"end":return e.stop()}}),e)})))()}}},98474:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r={brand:{viewType:"brand",seoCode:"brand"},index:{viewType:"index",seoCode:"index"},list:{viewType:"list",seoCode:"list",queryKeys:["p","order","topp","topv"]},search:{viewType:"search",seoCode:"list",queryKeys:["q","p","order","topp","topv"]},diyPool:{viewType:"diy_pool",seoCode:"diyPools"},detail:{viewType:"detail",seoCode:"detail"},cart:{viewType:"cart"},checkout:{viewType:"checkout",needAuth:["checkoutId"]},pay:{viewType:"card"},purchase:{viewType:"purchase",queryKeys:["success"]},login:{viewType:"customers/login"},account:{viewType:"customers/account",needAuth:!0},profile:{viewType:"customers/profile",needAuth:!0},address:{viewType:"customers/address",needAuth:!0},orders:{viewType:"customers/orders",needAuth:!0},order:{viewType:"customers/order",needAuth:!0},review:{viewType:"customers/order_review",needAuth:!0},refund:{viewType:"refund",needAuth:!0},packages:{viewType:"customers/packages",needAuth:!0},track:{viewType:"customers/track",needAuth:!0},coupons:{viewType:"customers/coupons",needAuth:!0},points:{viewType:"customers/points",detail:"history",needAuth:!0},pointsMarketplace:{viewType:"customers/points",detail:"pointsMarketplace",seoCode:"pointsMarketplace",needAuth:!0},messageCenter:{viewType:"customers/message_center",needAuth:!0},security:{viewType:"password",needAuth:!0},changeEmail:{viewType:"customers/other",detail:"changeEmail",seoCode:"changeEmail"},verifyEmail:{viewType:"customers/other",detail:"verifyEmail"},resetPassword:{viewType:"customers/reset_password"},settings:{viewType:"customers/other",detail:"settings",seoCode:"settings"},locale:{viewType:"customers/other",detail:"locale",seoCode:"locale"},help:{viewType:"help",seoCode:"help"},helpCenter:{viewType:"help_center"},weeklyDeal:{viewType:"marketing",seoCode:"weeklyDeal"},blackFriday:{viewType:"marketing",seoCode:"blackFriday"},smartGrowSystem:{viewType:"marketing",seoCode:"smartGrowSystem"},technicalGuide:{viewType:"technical_guide"},guides:{viewType:"guides"},supportHome:{viewType:"support",detail:"home",seoCode:"supportHome"},supportProduct:{viewType:"support",seoCode:"supportProduct"},supportGuides:{viewType:"support",detail:"guides",seoCode:"supportGuides"},supportGuide:{viewType:"support",seoCode:"supportGuide"},brochure:{viewType:"brochure",seoCode:"brochure"},terplux:{viewType:"brochure",seoCode:"terplux"},blackFridayCheckIn:{viewType:"activity"},winterSurprise:{viewType:"activity",detail:"winterSurprise",seoCode:"winterSurprise"},trickOrTreat:{viewType:"activity",detail:"trickOrTreat",seoCode:"trickOrTreat"},testerClub:{viewType:"activity",detail:"testerClub",seoCode:"testerClub"},testerClubResult:{viewType:"activity",detail:"testerClubResult",seoCode:"testerClubResult",i18nNamespace:"testerClub"},testerClubReview:{viewType:"activity",detail:"testerClubReview",i18nNamespace:"testerClub"},superSlots:{viewType:"activity",detail:"superSlots",seoCode:"superSlots"},vgrowGrowingChallenge:{viewType:"activity",detail:"vgrowGrowingChallenge",seoCode:"vgrowGrowingChallenge"},referral:{viewType:"marketing",detail:"referral",seoCode:"referral"},referAFriend:{viewType:"customers/other",detail:"refer_a_friend",seoCode:"referAFriend",needAuth:!0},ageGate:{},redeemRewards:{viewType:"activity",detail:"redeemRewards",seoCode:"redeemRewards"},yearReview2024:{viewType:"marketing",detail:"yearReview2024",seoCode:"yearReview2024"},"420CheckIn":{viewType:"marketing",detail:"420CheckIn",seoCode:"420CheckIn"},brandStory:{viewType:"marketing",detail:"brandStory",seoCode:"brandStory"},aboutUs:{viewType:"marketing",detail:"aboutUs",seoCode:"aboutUs"},community:{viewType:"marketing",detail:"community",seoCode:"community"},affiliate:{viewType:"marketing",detail:"affiliate",seoCode:"affiliate"},communityArticle:{viewType:"marketing",detail:"communityArticle",seoCode:"communityArticle"}
1,crowdFunding:{viewType:"activity",detail:"crowdFunding",seoCode:"crowdFunding"},promotionalSale:{viewType:"marketing",detail:"promotionalSale",seoCode:"promotionalSale"},winterGrow:{viewType:"marketing",detail:"winterGrow",seoCode:"winterGrow"},xmas2025:{viewType:"marketing",detail:"xmas2025",seoCode:"xmas2025"},survey:{viewType:"marketing",detail:"survey",seoCode:"survey"}}},88303:function(e,t,n){"use strict";var r;n.d(t,{g:function(){return r}}),function(e){e.HOME="/",e.SHOP="/",e.LIST="/list/:listSn",e.SEARCH="/search",e.PRODUCT="/product/:productId",e.AGE_GATE="/age-gate",e.CART="/cart",e.CHECKOUT="/checkout",e.CHECKOUT_OLD="/checkout-old",e.PAY="/pay",e.PURCHASE="/purchase",e.LOGIN="/account/login",e.ACCOUNT="/account",e.SETTINGS="/account/settings",e.PROFILE="/account/profile",e.ADDRESS_BOOK="/account/address",e.ORDERS="/account/orders",e.ORDER="/account/order/:orderId",e.TRACK="/account/track/:packageId",e.PACKAGE="/account/package/:orderId",e.REVIEW="/review/:orderId",e.REFUND="/account/refund/:orderItemId",e.REFUND_PROGRESS="/account/return-progress/:orderItemId",e.COUPONS="/account/coupons",e.POINTS="/account/points",e.MESSAGE_CENTER="/account/message-center",e.MESSAGE_CENTER_TYPE="/account/message-center/:messageType",e.SECURITY="/account/security",e.CHANGE_EMAIL_FORM="/account/change-email-form",e.CHANGE_EMAIL="/account/change-email",e.REFER_A_FRIEND="/account/refer-a-friend",e.REFERRAL="/referral",e.AFFILIATE="/affiliate",e.HELP="/help/:code",e.HELP_CENTER="/help",e.BLOG="/growing_guide",e.HELP_POINTS="/help/about-points",e.ABOUT_US="/about-us",e.BRAND_STORY="/brand-story",e.CACHE="/cache-yahaha",e.DIY_POOLS="/diy-pool",e.DIY_POOL="/diy-pool",e.DIY_RECOMMENDED="/diy-pool/recommended",e.DIY_CUSTOMIZE="/diy-pool/customize",e.DIY_CART="/diy-pool/cart",e.DIY_RANKING="/diy-pool/ranking",e.WEEKLY_DEAL="/weekly-deal",e.POINTS_MALL="/points-marketplace",e.REDEEM_REWARDS="/redeem-rewards",e.Guides="/guides",e.WinterSurprise="/winter-surprise",e.TrickOrTreat="/trick-or-treat",e.TesterClub="/tester-club",e.TesterClubResults="/tester-club/:activityId",e.TesterClubReview="/tester-club/review/:activityId",e.CrowdFunding="/crowdfunding",e.CrowdFundingDetail="/crowdfunding/:code",e.WINTER_GROW="/campaign/winter-grow",e.Community="/community",e.CommunityArticle="/community/article/:articleCode",e.ONELINK="https://vivosun.onelink.me/Er7p/34a5a021?af_qr=true",e.VgrowGrowingChallenge="/vgrow-growing-challenge/:code",e.TECHNICAL_GUIDE="/technical-guide",e.TECHNICAL_GUIDE_ARTICLE="/technical-guide/:articleGid",e.SUPPORT="/support",e.SUPPORT_PRODUCT="/support/product/:code",e.SUPPORT_GUIDE="/support/guide/:code",e.SURVEY_PROFILE="/survey/:code",e.SURVEY_FORM="/survey/:code/form",e.FACEBOOK_GROUP="https://www.facebook.com/groups/1030512458114331",e.Y18_SURVEY="https://ydtm8crld30.typeform.com/to/Xf788HdZ"}(r||(r={}))},7756:function(e,t,n){"use strict";var r=n(53589),i="https://".concat("image.next.vivosun.com","/"),o=i+"file-asset/file/3f8e2994cbed56076a2c39ba1ab3a902/1713490219236/";t.Z={project:"vivosun",brand:"Vivosun",domain:"vivosun.com",defaultTitle:"VIVOSUN",hasGlobalMessageEntry:!0,logo:{default:"file-asset/file/c37e878ed5fb01172b4892be9b02bb1a.svg",light:"file-asset/file/7490b5b9abfb76d10b87432027857a1f.svg",primary:"file-asset/file/5411855e90eccafd2d844ce75bbdaeae.svg",width:412,height:60},icon:"".concat(i,"asset/width-150/logo/15411657519999_.pic.jpg"),placeHolderImage:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",errorImage:"".concat(i,"asset/width-600/picture/2022-03-02/G152y3saSbL026ZeObldP1X3v6s1u668g5w8232bq5Q3=5=5/6c621c184689f167ef5018d8.png"),cdnRoot:i,shopifyWebRoot:"https://legacy.vivosun.com/",appLinkRoot:"vivosun://shop",appDownloadLink:"https://vivosun.onelink.me/Er7p/spin202506",seo:{image:"".concat(i,"asset/width-1080/picture/0a0b2ec704dfd72521e65fefed9d09df.png")},sp:{projectName:"vivosun",collector:"spc.vivosun.com",sdkUrl:"https://ssc.vivosun.com/3.4.0/vt.js",postPath:"/vst/p2",stepDetail:!1,appId:{prod:"vivosun-dtc",test:"vivosun-test"},schemaRoot:"iglu:com.vivosun"},ga:{trackingId:"G-QRR3KN14RK",sdkUrl:"https://ssc.vivosun.com/gtag/js",transportUrl:"https://ssc.vivosun.com/sst"},facebook:{pixelId:"451081593338720",testAppId:"559840205245660",appId:"690291885445775"},gtm:{containerId:"GTM-NHRV69X",sdkUrl:"https://ssc.vivosun.com/gtm.js"},checkout:{publicKeySBox:"pk_sbox_y7m3wl6yo7yps3pny3lo54ujfu4",publicKey:"pk_j4h54hlh2mx24jddcps34ki6sy2"},google:{testAppId:"402621575795-u0d07p0b522hmcgv70g0k41n084qighe.apps.googleusercontent.com",appId:"428398099659-tvue8oj3mf68cfd0ogkrt5arjegfntpr.apps.googleusercontent.com"},klarna:{isShowOSM:!1,testClientId:"ad1dc01b-e90b-5710-b96f-e14f4f2aeb16",clientId:"6e6cedce-037a-5d0b-9841-ba164ded372f"},contact:{email:{default:"[email protected]",amazon:"[email protected]",wholesale:"[email protected]",clipfan:"[email protected]",market:"[email protected]",affiliate:"[email protected]"},phone:{url:"+18885058486",text:"+1 888-505-8486",onlineTime:"Mon\u2013Fri (PST), 00:00\u201324:00"},address:"1320 S Baker Ave Suite B, Ontario CA 91761, USA",whatsApp:"626-559-4608"},sns:{instagram:"https://www.instagram.com/vivosun.official/",facebook:"https://www.facebook.com/groups/477264677334391/",tiktok:"https://www.tiktok.com/@vivosun.official",youtube:"https://www.youtube.com/@VIVOSUN",discord:"https://discord.gg/tAdYj8nJxx",reddit:"https://www.reddit.com/r/VIVOSUN/"},fonts:{dir:o,files:["ABCDiatype-Regular.woff2","ABCDiatype-Medium.woff2","ABCDiatype-Bold.woff2","ABCDiatype-Light.woff2"],globalStyle:"\n @font-face {\n font-family: 'ABC Diatype';\n src: url('".concat(o,"ABCDiatype-Light.woff2') format('woff2');\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n }\n @font-face {\n font-family: 'ABC Diatype';\n src: url('").concat(o,"ABCDiatype-Regular.woff2') format('woff2');\n font-weight: normal;\n font-style: normal;\n font-display: swap;\n }\n @font-face {\n font-family: 'ABC Diatype';\n src: url('").concat(o,"ABCDiatype-Medium.woff2') format('woff2');\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n }\n @font-face {\n font-family: 'ABC Diatype';\n src: url('").concat(o,"ABCDiatype-Bold.woff2') format('woff2');\n font-weight: bold;\n font-style: normal;\n font-display: swap;\n }\n ")},iconfont:{dir:i+"file-asset/file/97b3dd5c73ed6612d9426de9912bb169/1783578448471/",css:"iconfont.css",files:["iconfont.woff2"]},loading:{default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAABHNCSVQICAgIfAhkiAAAErJJREFUeJztnWuQHNV1x//ndM9jtTta7RvEyjyESQWMSYIMAWlXUiCpil0QIzMCQXCSL0nZTgUc26mEclXgW3D5c6qwK44Lm4c0EB42OMTYK2klgY1kwLZAQSbFS4B2Z3cl7Wtmuvv+86Ef0zM7u9pdze4OoL+qa+fRfbvPb06fe++597YEDabWwdvaErZ3odJLw9VzqVxDohUUAgAErYAhFdMwWhB60ypaIDEN5XHSO67F9Mmh6x8+vsKmVEhW+gK699+yno63lkn5fThcKyopiNAABEmoUAjCGABCiBAwBCX4zhAGgApB+sdZamikoJ47BEtft9R95/jGx4dW0s4VAd29/5b1HvApGG4QMWlACAoFIEBWgPYv0wc6G+jwc2MQggZAIcs/gvFOqm29PeXyVxP9ueHltnnZQPceyDYVPWw2kPUiZr0fCoSQAC6FogFcAoYBUPH3mxdoGJqwXA1Ah+cI7wgKRbyTHvUFTCTfHf3sg6eWw/4lB917INtUNNxiiM2ApEWEiIUFhGFBQ6/2wRkKoQHQ+YAO9i+DNpTwNct3CgwAGIoIoThpjHmN4+nXlhr4koHuPZBtKjpmK0W3UCUNmlgYqIQIGlaDBoVmgaBNVZmisfJjPwaMX6J/TkNaWqDHV0YmJl7BZ39SXAoeSwK6c/CmSyCJvxSa9tCLjJYNljgsCCFlEJVxeiGgyxUhquNzFWiJ/RjGxxCUy1NwzYsjWx87Um8mdQWdee6mjlQy8UUoPwkDxIHGQQOAiJiK8BGP08YHTWBawPcITCsxTaHfjHMBtTRllCnQEJQeCpIgWitAV4cNCGG84LoC0MGdBAR3HIWicgQoHMxvemq8XmzqBrprf/YP6MlfQUwTiMDbKg0wYFD51QwfU6L6Bsg32OS90dKxeuzNC79fWNBFDGxJd3vntpp0aR3V6oUr60S8ZE1vVkPjAdV3iR9uDAEZB/Vgvm/n6/XgUxfQXXuyt1B4XeQ1ErRtq8JEjfAxCoOjalkvDm3c+UY9rqVa7XtuXafqridwqRDJCm+OQ1YhPEAQcwAVQuVQ/pqdvzrT6zgj0JmBHZ0p2/kKqL1RnPWLjSq4ml4NHAXkFyP9uV+eqQELUfvAtl7bsq+m4DxTXUHGvTnshQbfKWWE7fjp8GW5icWee9GgMwM7OpO29w0BO6JmUwRbCL/rUFn5GTkKmGeGNz92dLHnrYc6DmTPg4erAFk7M2TABxxvofitl3E4fGZ46+JgLwp0ZmBHZyLh/pOQHX4h5Z5ZGIPjrQlSRmyRp49v2vnCYs63VOr4WfY8pGUrPGZmhAzGIIceDjMOV36yGNgLBp0Z2NGZtr17Dbkqim+IwaYhCETxGubHyRPFn793w4+mFnquZdEzf57qXtN6pTHu5RFkDwCCdngZMqFCuiiJwVMLhb0g0JmDOzpT0+6/CNlhNAwXVbDpezJF80L
15fr1q7aVW575b14JmM4gWqGFkC4B4ZWmCMKKO+Z+FwJ436MzBHZ2pgnO3UDsAIGqD1oItcqSYSP/n+NUPjCzE2JVW574bMzCpflGcAw9+Z6cacrmHO64ufjpf2PZ8LyI55XwVQBeF/q8tKmqMf3JDgSj8ioXP5ftyjyzCzhVX0EF5umvP9n4oLp4DMqHSTIubATw9n7J1Pjt17Ltlm0DPhwKgXyVDAB82Jfwciqfy/Y9+KCHHNbx5114Y76U5IPtxXLmmczB75XzKPC3orv3b+4XmCxAKoAJVv2PHKtiQJ0c2PvrkmRjYSBre/NhLAF6uTB0Ecdvz84tBCvb32ge29Z6uvDlBn7M32wXiZoQeTAoAgVEJYRMUI/LkSP+uJ+pkY8NoeGPuZYvyctQRo1DU+IksK/BqCu2kfXXPs3c0z1XWnKAd4GYSXYCKD5kShAiEsKEyONKXe7xu1jWYhvp2viJiXgshwwNgSUV723gm4TUXr5qrnFlBdw7cvEUUmwMvBqDi7x7AFopQjuQ37vpuPQ1rROU3PXYQgg8AYQQZQJjzFj+923XO3mzXbGXUBN3z7J81i41sCBQSwAX8OA2KgPlp4jtLY1rjyV6dep6Gk3733JQHFkIP9wAXuAoH/zZR6/iaoE3zms8R2hV4ceTBce/2KPevxCDnSun4FT+YtC3v+bgXlz3c+ClYoKl9auyTtY6fAfqcvdkuQ3yOQWYl2M3/G3i3GPz3aH/u1SW0qyF1fOPjQ55n/bYcp03lMJwlVMXFtbx6BmiP+BMFW1QgYNieCZp2UBEyn2iezi2LZQ2osWHzOgUTUbs6bO4F4YOg3eGcvLj6uArQPftv6qbKVr8pB1Hxtwg4KR7l39/b0KAJouXQ9lzJ9ZzDYSpVLP8292johXlt11tf7dUVoF3X/hTIHtDvilQDF+DVj2PIqNaJrU+8SWC4GnDYGqGldkdpfH38mArQorwV0SCe78mIATdqdi2fOY2t4ir7cAVgS8qvXcByvY74/hHo1j3ZC0HpAUQQhYsycAoPj2567PDym9SYGt/wcF6B4QiwC8AyQRbT0Cg71g7s6Az3j0AnFTcGvguYyJN9yKR6jnXWm6vkUt6qAOz5IzISVJCFRKkn3DcCbcBP++3l2L8QuMrk2Nadv10JYxpZY325t6mcDPqGPuBY19xWK0o2KQD0DG67SMKwgQBuHDo4sFLGNLoswXDFOGMQOmAJTdEkMs/d1AEEoF3q5QD8ZJGElWAZuufJL1bOlMZWYbrpnTjcqEIMKkirOZUBwtBh4ZooVIThApE3T41tzv1mBW1paI1f/8CIqlWK2tUaDySGluv0AOFQlpH1YFQVluXPADwbm08jY8yIH3o9RN1zAIDApvoe3fPibReByASQYzHa92hCz3rzaeS6zgisGqGDQlqwcCDbZLPk9KA8lwtguQABYIv96+W/9A+XdLp5FHaJYgmRDD50g78UdhTYrjC4WAGAsZ5gsJFQ4zorusjmw6DRd45Mi6ope7IhLEPXMnThwSRhqYGsh5TzGfFNBMcXO9fsY6W/O+QYOo5LQ38TurHwIWIyNhQtNDUm0hCA8OObpVuoaJ0SW9qikBGTQNM2DDOoNWPJzz4vyZzlj6JcR10rmkJWSVttO2UDaJnRsDPBX8qKL/j8sEht48AKmhJuFTbHhQ0gE1SCZQXvPONNLsM1fiRk0Tik5YO2qr50QR/0LFLRs6DnKcckHFtd1vrOWEjZc84nrXnYWdVWAWCC8FiTqA2D47BwzoxvCDHgrN5+VpVKJlMWQcISsgq2Qlzbn69RVemREiTzzoKep4wpWSJ+jBYF4ZmIqYrl2OHMo8rDfPAG2rKcF/uhF8uZDLA8HOsljGMLeZyCc6sOEQDQs6Fj3hK1V4kXA50qv3ZKdG2I+QDUcu4OAINXBC5Zzov9MIvqqYgGcO2KhoSCrkKso/RjhQTrqsr5DkWm63D2bPg4nZi1TNFKuaUwx+GVN8cFIRMKeBNaOSQr8UweR921K21Ho2vtoUIKVMJWgkq3YhO6CW9SafjSjPRouBECWn+0wnY0vJzx9Gqxw5ydSzhAtNnKlmShoPn+/3qfwCTpgyUqoQOY12KYj7XUZEDfm0H1gdv+pjTOext+NOW3QcijiA9hMR5I9Czo0ymBFhiPMEpY5RACKmnZk0B5As0e1IrT/vrMzHyXeH0c1bnvxgw9VbGFYfiIoBulpRgDQtAiR2sNZZXf84YVs6TBZexMa9yDQaWkLROGDtueGAcC0Pm+3CEAEyiPfgMVo+GyYaUMaXTZpUK70C2DttWvDKn0PC2Gc8lj03b5Y1RNNYiFkfM692VvXBFLGlhdA9kWWqoVFWAMOo0TPZMpBlp214zR9CeK0eNfLL8pjS1Jao8YJUpAPHyEYaMllYiejxqBzvflDsHIoYo4TUTL3kRlQ8fubZ9ZfnMaUz2v3NEMz20GXQqVYvwNgB82XC2+e21uOty/crGQeodQBTh4LppQILDsLy2nMY2swolCt0OlUAnbJYKOSgjctfFBfP+qVVnOgxCMIwYYCqhAlBABr+rYu/3zy2hPQ6rn2TuaLcusglGWbGU1cM/S4qlWVMyHqQCd3/TUOA0eqgYcX2Ihwq+0P3P76uU1rYHEe9Skp9bCKCURtpsrgVtTGMNluVL8sBnrDEUzP1TBuEZrDGe0r8+TltIXl8mshlP3z/63y8C2JaFRpyQO3E2qOzTqjlUfNwN0ftP3xg34oJ/zECC2Kst/ZgdEBH/fsTc752r+j6LWHrxhlWeV2pBwiRIgiaDyCypBSbi0TWkE2yu9GZhlLbjI6h8I8B4ql8BJMMIVhBD8W8eB7HlLZlWj6f4rE5OT6Z6whQHjx2OhMvRuy0Pp+DG75nOkaoLOb/reuCG+CZS9GNXrDoFeceW+JTKr4dRx+UXdSRgbiaCtnFCiCCDhBhk7pWO8YWzPebWOn/V5HSP9uV8K5MXIi33FOzIC5dVdgzd/s+5WNZh69t/RrUU0IaEU4xIoIYQtRoliCdLsnDix9YkTs5Ux5xNojMW7Ab+5h3geJOyiE0LI33QNZu+sr2mNo9bB29pgJlskGTThArgSeDJKgG2nSnl05ucqZ07QI9fmjpFyd/C2EnL4md/8u7Nz78131cGuhtKagc+vSRtnDYxFMY5f4QWwUQTEuERC6SQkjw3fceYq67RPCRvp2/WcAA9UJJp8RfHaX5Eod3Xu3f7VMzevMdR2MNuKpLYWTTBxMYRdCGAbH3ixWBoZ/ePT//8A856W2zmYfQrApUAFaFD8kfPY54/m+3JfW4hRjaY1A3+9RuzJ1QBA9QSlpKTU8+1TT1hKCNKA60ppdPMj78ynzHk9YBAAjOt9GYJjwdso/yGVy+YExPaOvdlc+55b183bskbRrqy19uCOTsWpFgk8WYxFJEus8OykQ8cYZ/TI0Q/mLC+mBU00bx/Y1qsJ6yEarIMGj9cL43a8svQrymOquGtoY+75hZxjxXQ4m+x+327zxLWpnqAJQDEpVE9Y8gRpIPRsB5Y7aj54H1t311hIUVsLntHfPrCtV219GpDWmpCrh8KU3zV26tvziWMrIkK6dmeb0YwWFjyBJoVFT2aDLcbimDv83kIgA4sADfiwLdt+hOA6RF31WMdGpPzUR9+731XL+oehax85sJjzLZUuGNiSdry2Zgdpm5YrtMI4HMAteoKmJiAAryV4Izp8fKGQgUWCBoD2gdt7Lbu0k0AAu6JCrBzkDT2feF4h3xrq37V/seeti+6/MtF20UWrmtrshJlyxYecFk4HsDXpV/QhbE2KWvDyzgdDi4EMnAFoAGh/4fZeKZX+QwSX1Y7VEnswIUQknP3EAyJy33Bfbt+ZnH/BOpxNdo5lUiUdT3DKlYyVFmMFoKfTQssVNAPxEIImwJoqukPXpfKQ2t3r+aguq646B7P/COBriHt0xdwQABQRCdOuEs7JPiXgwxA8Pbzp0cF6XMsM7cpaF3ymOTFxbDThOmrRXiW0HAlBIwNEXl0Dtpf2Jsc25E6e6WXUbXlb177t22n4dUgQSiSI26zy5uqRdlDgP8fpJIB9NNhnuTpYkuJbc+UOZhUh2L3FQm+T1fN/nbbpLYj3VlLRDtAuCccdqYZtLFc47QpagDCESJPNVdPvn3xz6+6F/ac7s6iu6wjb99y6TtT9uojcUjlYICh7c1X8nmsj3obwJKG/BiBCnISYE/m+R+8FILgHgn+9B9i9WzHcpRe3TIjb1CNualJMsiDeyBoxyYIwURRjZ2Q20NVeXeyW0skjzqnZMnGL0bwfPT8fBb2kO7v2ZQ9Q8A0QnwDgQ47CiMB/VH1USZY18/0F8Mcq/9DfP1pvc6+/3z0ADgteHxds6gLemuviAGlPknBE3KR/llXA+FQBmfG0wALsaXjHRt1xXD8zcX+mmnfPcCEa3pTb6U3jOpLfBuC3n8N7J3ySevg68nLGUrBRBTp/RQ+KexP2uc3E+4DVccLv3bWlop9PMgkClRFpIuUaXVWYPHbd46O1Rkfqobp6dFxjf5o7CeBbbYPZR5SyQ8AdgHxipgtjJtKFII49JfV3AC6o+lpLaZqhgujqcRpkBGMAbEBakpQTSZ5YNVnENbnCKVnaVZVLBjrUWF/ubQD3tQ1mH7aEm2jwzyI4P6gEY3vWp7qwe5vovgnRjjQNCpWFBuHDnoY3fOJNF1t2F7HEgKPrWo6TABHwhwA81HYge7ll8GUY9AM4P6r+yjd4+X113K6lSzJEpg1oAoCJmr+YOCmONh1zMA13sZ2OM9GygY5r7NrcbwB8CQC6937h0x6sPhA3CHgFgDWVey/Q048CaALsYjPtrgnzu0OvGrRdZOrZgliM6tq8q4e6f37LFcYy50N4hUCuINAGwRr4P0AbiLZ8f86vOO+9R3Dp4UobspcRuIfLFRLmq/8HPMllzNKOn78AAAAASUVORK5CYII=",dark:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABhNJREFUWEfNmF1oHFUUx8+5M93EzGbmziRp/GjBSrDQiogWpFAFW6q1UoqC1A98KH3wA23Fh6JVFEVFfJEq6ouiWBA/EHyoXwVrrUqhKpaiLxUFrWm1ze6dmc1mu7sz98iZ3ombNk02bdL1wrK7M/fjd//3nHvvOQjnVoSUciEiLiSiPkR0AACJqAYAJSL6M4qiPwBAn+0weBYNu6WUywFgBQBciYhFABBEJPjbfCxEzH4b2AOIuFsptRsAGL7t0jZgEAQuEa3TWq81SokcAgCsKQCtFvAxAPiQiHZEUaTaoWwHED3PW42IdwBAb8tgrBAPXgYAXsZjRMQADF5ExIuJ6HIAuDBXNW+LiKMA8LJS6n0AoKlApwTs7+/vTdP0fgC4Ku/cKHUEAPY0Go19Y2NjR6caIAiCBVrrlQCwHgCGWlTn5f+WiLZOpeYZAYvF4nzLsrYi4mCLPf1jWda7pVLp++lmPgk09vX13aC1fgQALmux278AYGMYhrwKp5VJARnOtu1tACCNciiE2Fkulz8CgKQd25mizjwp5YOIeC8RZfZJRCVEvH0yyNMABwYGio1G43FEnG8aNxH
1xtTAMD5wj2ITmUsobAOAVAOgxdns4TdP1cRyzTY+XUwFRSvkQIl5BRLyfNYnopTiOf51NuLwvz/OWAcAOIUS2fwLA10qpe1rNZwKglPJ6RLzTVOZ3ryqlDs4FXAvkKiHEW2ZHYFG2hWH4dv6+FbDoed6TAOAIIbjirjAMP55LuLxv3/cfA4DNvGoAEKdpurxSqZT4/Tig7/vriGi1eXY8DMPnZ8Eh2p1fwff9PUQ0ZMbfHobhs62ABc/znkbEC7gCIr4510t7Krnv+2uJ6B0DOBqG4RIAqGYKep53DSLeZQ76Y1EUvdDu1GexHp9Y+xBxsRHpPqXUexmglHIjIi4xNvBJGIZfzeLAbXclpdyCiM8YFT9TSm1gQL4yPYWI3dxTkiQv5gbads+zVNHzvEVCCN41mKuilFqAjuMM2ra9hR8KISKlVCeWd3yKUspDiLggcxDEZVgsFpdalsV7HxDRoTiO2VA7VqSUvLWtMSpuQNd1rxVC3GKI9yuldnaM7qQ/bAeABwzPw+j7/nVEtMoo+E0URV92EtDzvOcQ8VHD8wQDriAiPrh5ib+Looiv5f+bwnvPMiHETUbSH8vl8ucdpuObel4Ie3t7F9u2fRs/0Vr/FkXRBx0GtI2DcCiQMmC/EGKTgYqjKHq9w4BdLeM3eENkT96MiPPMMr8RhmHYIUjm4ftAHkjV8qPuVgBYZBxlbxRFP3QIsAAA/MmWFwBOZIBBECzRWt9oXpTDMNzRCUCOIkdGRvIrIAf4zfzPPM/zNvEyIyJprT+Nouj38wxZcF2X42kSQmilVJSZXA4RBMFyIrraqBiaoJplPi/Fdd3AxNxUqVRYPU4C/AcIAN2e590NAOwsREQ/xXG8/7zQAfQ6jtPD6iFiWqlUOLLLHGVC0BQEwdI0TTkpxNkobVnWrnK5fHiOIbt7enoCBkJEXa1W49YE02lxseu6NyPiJVyZjTRJki9GR0ePzQXk0NBQ1/DwMMffGZxt2yemi4uZg5d6nclgccOGEGJvqVQank3IwcFBp16v93Of9XqdHaNRrVZZiAm5xElTH5xqS9N0DSJ2sV2kaZpalvWLUurnc0lGmgny6cXJTmlWiSzLapbL5b8niyLPmDziPSlJkpWsZJqmmkGJKCoUCgdHRkY4uzXjwhOvVqvzC4UCn7fcp242m/VarcZwzck6nC4/2MXZVCIazB2HO2VQzgk6jnP0yJEj2XYwRelyHEcKIaTWumBUy+CSJBk1cGfczqYDzMZ1XXeIiDg04GxU5uE8ACurta7ats3ZgDEhBCeaeAKCYbTW3bZtj6tlFOO2TSEEh7fTZlnbAjTqdAVBMJQkyaWWZfGdLQPMYbOr0UnP5+esSDaJ/Jt/M1ij0TherVZHzFk7rZnMBDDvzAqC4KI0TTm165u9tBV0AiBDERHvbeU4jvmWNKOM/9kAts4aBwYGnFqt1lMoFHhJObvPXpnU6/V6pVJh+5xRVv9USf8FaXe4cW69NSoAAAAASUVORK5CYII="},registerActivity:{discount:"8%",points:420,price:4.2,countriesPrice:{CZ:84},couponCode:"WELCOME",onlyPointsCountries:["GB"]},zenDesk:{scriptSrc:"https://static.zdassets.com/ekr/snippet.js?key=7a6b885f-84b7-4fe7-bfa8-8272e7d22f17"},theme:"",aos:r.M?void 0:{css:"file-asset/file/57f154319fae5d7b39c23e3afa7f1b79/1758013305753/aos.css"},paymentDecryptKey:"ZJ=.uoo`K!.,2jdp)dg.PEW`DLlTstL*"}},54151:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(53589),i={useRem:!0,supportApp:!0,siteSpace:r.M?16:20,wrapperWidth:r.M?375:1200,buttonTypes:["default","primary","dashed","a","b","c","d","e","f","text","text-primary","link","base","no-style"],placeholderColor:"#f4f4f4",defaultBgColor:"#FBFBFB",buttonDefaultType:"default",empty:{imageMap:{search:"asset/width-304/picture/34995fe1fd12de526c1ef89a582b6ff3.png",order:"asset/width-304/picture/5723c2b5d597b9cc13ad6fee0e8fc557.png",filter:"asset/width-304/picture/82cb271fc9127dad004c717a69fd289e.png",error:"asset/width-304/picture/daa54f7b6664ab00d1b040557d3aa4b7.png",coupon:"asset/width-304/picture/bcd6fef86e7b0aa0c3e7f437f8bbcb59.png",comment:"asset/width-304/picture/c2255845ff133e5098e44d17fc82b962.png",cart:"asset/width-304/picture/c6af224a4cc0d1cd355f4a74fe524fb2.png",address:"asset/width-304/picture/073c265116851d928e5fb9ea35ed2597.png"},imageSize:76},dialog:{footerButtonSize:"middle",footerButtonShape:!r.M&&"round",okButtonType:r.M?"text-primary":"primary",cancelButtonType:r.M?"text":"f",auxiliaryButtonType:r.M?"text-primary":"d"}}},48013:function(e){"use strict";var t=self.fetch.bind(self);e.exports=t,e.exports.default=e.exports},14284:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"===typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(66118)},36321:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(54941)}])},32887:function(e){function t(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}
1e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(i,o){var a=e.apply(n,r);function s(e){t(a,i,o,s,c,"next",e)}function c(e){t(a,i,o,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},66118:function(e){!function(){var t={229:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(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(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u<t;)s&&s[u].run();u=-1,t=c.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function _(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];
1c.push(new _(e,t)),1!==c.length||l||a(p)},_.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},65218:function(e,t,n){e.exports=n(60296)},88038:function(e,t,n){e.exports=n(59611)},79894:function(e,t,n){e.exports=n(93144)},86677:function(e,t,n){e.exports=n(5477)},43218:function(e,t,n){e.exports=n(22203)},92586:function(e,t,n){"use strict";function r(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"!==r&&"+"!==r&&"?"!==r)if("\\"!==r)if("{"!==r)if("}"!==r)if(":"!==r)if("("!==r)t.push({type:"CHAR",index:n,value:e[n++]});else{var i=1,o="";if("?"===e[s=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(s));for(;s<e.length;
1)if("\\"!==e[s]){if(")"===e[s]){if(0===--i){s++;break}}else if("("===e[s]&&(i++,"?"!==e[s+1]))throw new TypeError("Capturing groups are not allowed at ".concat(s));o+=e[s++]}else o+=e[s++]+e[s++];if(i)throw new TypeError("Unbalanced pattern at ".concat(n));if(!o)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:o}),n=s}else{for(var a="",s=n+1;s<e.length;){var c=e.charCodeAt(s);if(!(c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||95===c))break;a+=e[s++]}if(!a)throw new TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=s}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,i=void 0===r?"./":r,o="[^".concat(c(t.delimiter||"/#?"),"]+?"),a=[],s=0,l=0,u="",d=function(e){if(l<n.length&&n[l].type===e)return n[l++].value},p=function(e){var t=d(e);if(void 0!==t)return t;var r=n[l],i=r.type,o=r.index;throw new TypeError("Unexpected ".concat(i," at ").concat(o,", expected ").concat(e))},_=function(){for(var e,t="";e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};l<n.length;){var f=d("CHAR"),h=d("NAME"),m=d("PATTERN");if(h||m){var b=f||"";-1===i.indexOf(b)&&(u+=b,b=""),u&&(a.push(u),u=""),a.push({name:h||s++,prefix:b,suffix:"",pattern:m||o,modifier:d("MODIFIER")||""})}else{var g=f||d("ESCAPED_CHAR");if(g)u+=g;else if(u&&(a.push(u),u=""),d("OPEN")){b=_();var v=d("NAME")||"",w=d("PATTERN")||"",y=_();p("CLOSE"),a.push({name:v||(w?s++:""),pattern:v&&!w?o:w,prefix:b,suffix:y,modifier:d("MODIFIER")||""})}else p("END")}}return a}function i(e,t){return o(r(e,t),t)}function o(e,t){void 0===t&&(t={});var n=l(t),r=t.encode,i=void 0===r?function(e){return e}:r,o=t.validate,a=void 0===o||o,s=e.map((function(e){if("object"===typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),n)}));return function(t){for(var n="",r=0;r<e.length;r++){var o=e[r];if("string"!==typeof o){var c=t?t[o.name]:void 0,l="?"===o.modifier||"*"===o.modifier,u="*"===o.modifier||"+"===o.modifier;if(Array.isArray(c)){if(!u)throw new TypeError('Expected "'.concat(o.name,'" to not repeat, but got an array'));if(0===c.length){if(l)continue;throw new TypeError('Expected "'.concat(o.name,'" to not be empty'))}for(var d=0;d<c.length;d++){var p=i(c[d],o);if(a&&!s[r].test(p))throw new TypeError('Expected all "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(p,'"'));n+=o.prefix+p+o.suffix}}else if("string"!==typeof c&&"number"!==typeof c){if(!l){var _=u?"an array":"a string";throw new TypeError('Expected "'.concat(o.name,'" to be ').concat(_))}}else{p=i(String(c),o);if(a&&!s[r].test(p))throw new TypeError('Expected "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(p,'"'));n+=o.prefix+p+o.suffix}}else n+=o}return n}}function a(e,t){var n=[];return s(d(e,n,t),n,t)}function s(e,t,n){void 0===n&&(n={});var r=n.decode,i=void 0===r?function(e){return e}:r;return function(n){var r=e.exec(n);if(!r)return!1;for(var o=r[0],a=r.index,s=Object.create(null),c=function(e){if(void 0===r[e])return"continue";var n=t[e-1];"*"===n.modifier||"+"===n.modifier?s[n.name]=r[e].split(n.prefix+n.suffix).map((function(e){return i(e,n)})):s[n.name]=i(r[e],n)},l=1;l<r.length;l++)c(l);return{path:o,index:a,params:s}}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function l(e){return e&&e.sensitive?"":"i"}function u(e,t,n){void 0===n&&(n={});for(var r=n.strict,i=void 0!==r&&r,o=n.start,a=void 0===o||o,s=n.end,u=void 0===s||s,d=n.encode,p=void 0===d?function(e){return e}:d,_=n.delimiter,f=void 0===_?"/#?":_,h=n.endsWith,m="[".concat(c(void 0===h?"":h),"]|$"),b="[".concat(c(f),"]"),g=a?"^":"",v=0,w=e;v<w.length;v++){var y=w[v];if("string"===typeof y)g+=c(p(y));else{var k=c(p(y.prefix)),x=c(p(y.suffix));if(y.pattern)if(t&&t.push(y),k||x)if("+"===y.modifier||"*"===y.modifier){var E="*"===y.modifier?"?":"";g+="(?:".concat(k,"((?:").concat(y.pattern,")(?:").concat(x).concat(k,"(?:").concat(y.pattern,"))*)").concat(x,")").concat(E)}else g+="(?:".concat(k,"(").concat(y.pattern,")").concat(x,")").concat(y.modifier);else"+"===y.modifier||"*"===y.modifier?g+="((?:".concat(y.pattern,")").concat(y.modifier,")"):g+="(".concat(y.pattern,")").concat(y.modifier);else g+="(?:".concat(k).concat(x,")").concat(y.modifier)}}if(u)i||(g+="".concat(b,"?")),g+=n.endsWith?"(?=".concat(m,")"):"$";else{var S=e[e.length-1],P="string"===typeof S?b.indexOf(S[S.length-1])>-1:void 0===S;i||(g+="(?:".concat(b,"(?=").concat(m,"))?")),P||(g+="(?=".concat(b,"|").concat(m,")"))}
1return new RegExp(g,l(n))}function d(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,i=n.exec(e.source);i;)t.push({name:i[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),i=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return d(e,t,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),l(n))}(e,t,n):function(e,t,n){return u(r(e,n),t,n)}(e,t,n)}n.r(t),n.d(t,{compile:function(){return i},match:function(){return a},parse:function(){return r},pathToRegexp:function(){return d},regexpToFunction:function(){return s},tokensToFunction:function(){return o},tokensToRegexp:function(){return u}})},68891:function(e,t,n){"use strict";const r=n(29742),i=n(31998),o=n(89400),a=n(87728),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"===typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function _(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"===typeof n&&n.includes(e.arrayFormatSeparator),o="string"===typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const a=i||o?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?u(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!==typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const i of Object.keys(r)){const e=r[i];if("object"===typeof e&&null!==e)for(const n of Object.keys(e))e[n]=f(e[n],t);else r[i]=f(e,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=_,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>{return t.skipNull&&(null===(r=e[n])||void 0===r)||t.skipEmptyString&&""===e[n];var r},r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",i,"]"].join("")]:[...n,[l(t,e),"[",l(i,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),":list="].join("")]:[...n,[l(t,e),":list=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[l(n,e),t,l(i,e)].join("")]:[[r,l(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),i={};for(const a of Object.keys(e))n(a)||(i[a]=e[a]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const i=e[n];return void 0===i?"":null===i?l(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":i.reduce(r(n),[]).join("&"):l(n,t)+"="+l(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>
1{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:h(_(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let c=t.stringify(a,n);c&&(c=`?${c}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?l(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${c}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:i,query:o,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:a(o,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},18092:function(e,t,n){"use strict";var r=n(25773),i=n(64649),o=n(96535),a=n(50189),s=n(22951),c=n(91976),l=n(28418),u=n(59180),d=n(27378),p=n(60042),_=n.n(p),f=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;(0,s.Z)(this,n),(r=t.call(this,e)).handleChange=function(e){var t=r.props,n=t.disabled,i=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),i&&i({target:(0,a.Z)((0,a.Z)({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var i="checked"in e?e.checked:e.defaultChecked;return r.state={checked:i},r}return(0,c.Z)(n,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,s=t.style,c=t.name,l=t.id,u=t.type,p=t.disabled,f=t.readOnly,h=t.tabIndex,m=t.onClick,b=t.onFocus,g=t.onBlur,v=t.onKeyDown,w=t.onKeyPress,y=t.onKeyUp,k=t.autoFocus,x=t.value,E=t.required,S=(0,o.Z)(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),P=Object.keys(S).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=S[t]),e}),{}),O=this.state.checked,C=_()(n,a,(e={},(0,i.Z)(e,"".concat(n,"-checked"),O),(0,i.Z)(e,"".concat(n,"-disabled"),p),e));return d.createElement("span",{className:C,style:s},d.createElement("input",(0,r.Z)({name:c,id:l,type:u,required:E,readOnly:f,disabled:p,tabIndex:h,className:"".concat(n,"-input"),checked:!!O,onClick:m,onFocus:b,onBlur:g,onKeyUp:y,onKeyDown:v,onKeyPress:w,onChange:this.handleChange,autoFocus:k,ref:this.saveInput,value:x},P)),d.createElement("span",{className:"".concat(n,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"checked"in e?(0,a.Z)((0,a.Z)({},t),{},{checked:e.checked}):null}}]),n}(d.Component);f.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},t.Z=f},80258:function(e,t,n){"use strict";n.d(t,{gN:function(){return Se},zb:function(){return g},RV:function(){return Me},aV:function(){return Oe},ZM:function(){return Pe},ZP:function(){return qe},cI:function(){return Re},qo:function(){return Ue}});var r=n(27378),i=n(25773),o=n(96535),a=n(64649),s=n(50189),c=n(13285),l=n(22951),u=n(91976),d=n(47169),p=n(28418),_=n(59180),f=n(27406),h=n(74485),m="RC_FORM_INTERNAL_HOOKS",b=function(){(0,h.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},g=r.createContext({getFieldValue:b,getFieldsValue:b,getFieldError:b,getFieldWarning:b,getFieldsError:b,isFieldsTouched:b,isFieldTouched:b,isFieldValidating:b,isFieldsValidating:b,resetFields:b,setFields:b,setFieldValue:b,setFieldsValue:b,validateFields:b,submit:b,getInternalHooks:function(){return b(),{dispatch:b,initEntityValue:b,registerField:b,useSubscribe:b,setInitialValues:b,destroyForm:b,setCallbacks:b,registerWatch:b,getFields:b,setValidateMessages:b,setPreserve:b,getInitialValue:b}}});function v(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}var w=n(11092),y=n(27791),k=n(14284);function x(){return x=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},x.apply(this,arguments)}
1function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function P(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(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 O(e,t,n){return O=P()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&S(i,n.prototype),i},O.apply(null,arguments)}function C(e){var t="function"===typeof Map?new Map:void 0;return C=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return O(e,arguments,E(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),S(r,e)},C(e)}var T=/%[sdj%]/g;function j(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 A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o=n.length;if("function"===typeof e)return e.apply(null,n);if("string"===typeof e){var a=e.replace(T,(function(e){if("%%"===e)return"%";if(i>=o)return e;switch(e){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(t){return"[Circular]"}break;default:return e}}));return a}return e}function D(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!==typeof e||e))}function N(e,t,n){var r=0,i=e.length;!function o(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<i?t(e[s],o):n([])}}([])}"undefined"!==typeof k&&k.env;var I=function(e){var t,n;function r(t,n){var r;return(r=e.call(this,"Async Validation Error")||this).errors=t,r.fields=n,r}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n),r}(C(Error));function R(e,t,n,r,i){if(t.first){var o=new Promise((function(t,o){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}(e);N(a,n,(function(e){return r(e),e.length?o(new I(e,j(e))):t(i)}))}));return o.catch((function(e){return e})),o}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),c=s.length,l=0,u=[],d=new Promise((function(t,o){var d=function(e){if(u.push.apply(u,e),++l===c)return r(u),u.length?o(new I(u,j(u))):t(i)};s.length||(r(u),t(i)),s.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?N(r,n,d):function(e,t,n){var r=[],i=0,o=e.length;function a(e){r.push.apply(r,e||[]),++i===o&&n(r)}e.forEach((function(e){t(e,a)}))}(r,n,d)}))}));return d.catch((function(e){return e})),d}function L(e,t){return function(n){var r,i;return r=e.fullFields?function(e,t){for(var n=e,r=0;r<t.length;r++){if(void 0==n)return n;n=n[t[r]]}return n}(t,e.fullFields):t[n.field||e.fullField],(i=n)&&void 0!==i.message?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:"function"===typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function M(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===typeof r&&"object"===typeof e[n]?e[n]=x({},e[n],r):e[n]=r}return e}var z,Z=function(e,t,n,r,i,o){!e.required||n.hasOwnProperty(e.field)&&!D(t,o||e.type)||r.push(A(i.messages.required,e.fullField))},F=/^(([^<>()\[\]\\.,;:\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,}))$/,V=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,B={integer:function(e){return B.number(e)&&parseInt(e,10)===e},float:function(e){return B.number(e)&&!B.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){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"===typeof e&&!B.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&e.length<=320&&!!e.match(F)},url:function(e){return"string"===typeof e&&e.length<=2048&&!!e.match(function(){if(z)return z;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+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}",r="[a-fA-F\\d]{1,4}
1",i=("\n(?:\n(?:"+r+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+n+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+i+"$"),c=function(e){return e&&e.exact?o:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+i+t(e)+")","g")};c.v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},c.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+i+t(e),"g")};var l=c.v4().source,u=c.v6().source;return z=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+l+"|"+u+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"===typeof e&&!!e.match(V)}},U={required:Z,whitespace:function(e,t,n,r,i){(/^\s+$/.test(t)||""===t)&&r.push(A(i.messages.whitespace,e.fullField))},type:function(e,t,n,r,i){if(e.required&&void 0===t)Z(e,t,n,r,i);else{var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?B[o](t)||r.push(A(i.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&r.push(A(i.messages.types[o],e.fullField,e.type))}},range:function(e,t,n,r,i){var o="number"===typeof e.len,a="number"===typeof e.min,s="number"===typeof e.max,c=t,l=null,u="number"===typeof t,d="string"===typeof t,p=Array.isArray(t);if(u?l="number":d?l="string":p&&(l="array"),!l)return!1;p&&(c=t.length),d&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?c!==e.len&&r.push(A(i.messages[l].len,e.fullField,e.len)):a&&!s&&c<e.min?r.push(A(i.messages[l].min,e.fullField,e.min)):s&&!a&&c>e.max?r.push(A(i.messages[l].max,e.fullField,e.max)):a&&s&&(c<e.min||c>e.max)&&r.push(A(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,i){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&r.push(A(i.messages.enum,e.fullField,e.enum.join(", ")))},pattern:function(e,t,n,r,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(A(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(A(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},G=function(e,t,n,r,i){var o=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t,o)&&!e.required)return n();U.required(e,t,r,a,i,o),D(t,o)||U.type(e,t,r,a,i)}n(a)},q={string:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t,"string")&&!e.required)return n();U.required(e,t,r,o,i,"string"),D(t,"string")||(U.type(e,t,r,o,i),U.range(e,t,r,o,i),U.pattern(e,t,r,o,i),!0===e.whitespace&&U.whitespace(e,t,r,o,i))}n(o)},method:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t)&&!e.required)return n();U.required(e,t,r,o,i),void 0!==t&&U.type(e,t,r,o,i)}n(o)},number:function(e,t,n,r,i){var o=[];
1if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),D(t)&&!e.required)return n();U.required(e,t,r,o,i),void 0!==t&&(U.type(e,t,r,o,i),U.range(e,t,r,o,i))}n(o)},boolean:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t)&&!e.required)return n();U.required(e,t,r,o,i),void 0!==t&&U.type(e,t,r,o,i)}n(o)},regexp:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t)&&!e.required)return n();U.required(e,t,r,o,i),D(t)||U.type(e,t,r,o,i)}n(o)},integer:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t)&&!e.required)return n();U.required(e,t,r,o,i),void 0!==t&&(U.type(e,t,r,o,i),U.range(e,t,r,o,i))}n(o)},float:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t)&&!e.required)return n();U.required(e,t,r,o,i),void 0!==t&&(U.type(e,t,r,o,i),U.range(e,t,r,o,i))}n(o)},array:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((void 0===t||null===t)&&!e.required)return n();U.required(e,t,r,o,i,"array"),void 0!==t&&null!==t&&(U.type(e,t,r,o,i),U.range(e,t,r,o,i))}n(o)},object:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t)&&!e.required)return n();U.required(e,t,r,o,i),void 0!==t&&U.type(e,t,r,o,i)}n(o)},enum:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t)&&!e.required)return n();U.required(e,t,r,o,i),void 0!==t&&U.enum(e,t,r,o,i)}n(o)},pattern:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t,"string")&&!e.required)return n();U.required(e,t,r,o,i),D(t,"string")||U.pattern(e,t,r,o,i)}n(o)},date:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t,"date")&&!e.required)return n();var a;if(U.required(e,t,r,o,i),!D(t,"date"))a=t instanceof Date?t:new Date(t),U.type(e,a,r,o,i),a&&U.range(e,a.getTime(),r,o,i)}n(o)},url:G,hex:G,email:G,required:function(e,t,n,r,i){var o=[],a=Array.isArray(t)?"array":typeof t;U.required(e,t,r,o,i,a),n(o)},any:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(D(t)&&!e.required)return n();U.required(e,t,r,o,i)}n(o)}};function H(){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 K=H(),W=function(){function e(e){this.rules=null,this._messages=K,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==typeof e||Array.isArray(e))throw new 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]}))},t.messages=function(e){return e&&(this._messages=M(H(),e)),this._messages},t.validate=function(t,n,r){var i=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var o=t,a=n,s=r;if("function"===typeof a&&(s=a,a={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,o),Promise.resolve(o);if(a.messages){var c=this.messages();c===K&&(c=H()),M(c,a.messages),a.messages=c}else a.messages=this.messages();var l={};
1(a.keys||Object.keys(this.rules)).forEach((function(e){var n=i.rules[e],r=o[e];n.forEach((function(n){var a=n;"function"===typeof a.transform&&(o===t&&(o=x({},o)),r=o[e]=a.transform(r)),(a="function"===typeof a?{validator:a}:x({},a)).validator=i.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=i.getType(a),l[e]=l[e]||[],l[e].push({rule:a,value:r,source:o,field:e}))}))}));var u={};return R(l,a,(function(t,n){var r,i=t.rule,s=("object"===i.type||"array"===i.type)&&("object"===typeof i.fields||"object"===typeof i.defaultField);function c(e,t){return x({},t,{fullField:i.fullField+"."+e,fullFields:i.fullFields?[].concat(i.fullFields,[e]):[e]})}function l(r){void 0===r&&(r=[]);var l=Array.isArray(r)?r:[r];!a.suppressWarning&&l.length&&e.warning("async-validator:",l),l.length&&void 0!==i.message&&(l=[].concat(i.message));var d=l.map(L(i,o));if(a.first&&d.length)return u[i.field]=1,n(d);if(s){if(i.required&&!t.value)return void 0!==i.message?d=[].concat(i.message).map(L(i,o)):a.error&&(d=[a.error(i,A(a.messages.required,i.field))]),n(d);var p={};i.defaultField&&Object.keys(t.value).map((function(e){p[e]=i.defaultField})),p=x({},p,t.rule.fields);var _={};Object.keys(p).forEach((function(e){var t=p[e],n=Array.isArray(t)?t:[t];_[e]=n.map(c.bind(null,e))}));var f=new e(_);f.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),f.validate(t.value,t.rule.options||a,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}if(s=s&&(i.required||!i.required&&t.value),i.field=t.field,i.asyncValidator)r=i.asyncValidator(i,t.value,l,t.source,a);else if(i.validator){try{r=i.validator(i,t.value,l,t.source,a)}catch(d){null==console.error||console.error(d),a.suppressValidatorError||setTimeout((function(){throw d}),0),l(d.message)}!0===r?l():!1===r?l("function"===typeof i.message?i.message(i.fullField||i.field):i.message||(i.fullField||i.field)+" fails"):r instanceof Array?l(r):r instanceof Error&&l(r.message)}r&&r.then&&r.then((function(){return l()}),(function(e){return l(e)}))}),(function(e){!function(e){var t=[],n={};function r(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var i=0;i<e.length;i++)r(e[i]);t.length?(n=j(t),s(t,n)):s(null,o)}(e)}),o)},t.getType=function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!q.hasOwnProperty(e.type))throw new Error(A("Unknown rule type %s",e.type));return e.type||"string"},t.getValidationMethod=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]?q.required:q[this.getType(e)]||void 0},e}();W.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");q[e]=t},W.warning=function(){},W.messages=K,W.validators=q;var $="'${name}' is not a valid ${type}",Y={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:$,method:$,array:$,object:$,number:$,date:$,boolean:$,integer:$,float:$,regexp:$,email:$,url:$,hex:$},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}"}},X=n(33940),J=n(2833),Q=n(16275);function ee(e){return Array.isArray(e)?function(e){return e.map((function(e){return ee(e)}))}(e):"object"===(0,X.Z)(e)&&null!==e?function(e){if(Object.getPrototypeOf(e)===Object.prototype){var t={};for(var n in e)t[n]=ee(e[n]);return t}return e}(e):e}var te=ee;function ne(e){return v(e)}function re(e,t){return(0,J.Z)(e,t)}function ie(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=(0,Q.Z)(e,t,n,r);return i}function oe(e,t){var n={};return t.forEach((function(t){var r=re(e,t);n=ie(n,t,r)})),n}function ae(e,t){return e&&e.some((function(e){return ue(e,t)}))}function se(e){return"object"===(0,X.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function ce(e,t){var n=Array.isArray(e)?(0,c.Z)(e):(0,s.Z)({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],i=t[e],o=se(r)&&se(i);n[e]=o?ce(r,i||{}):te(i)})),n):n}function le(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return ce(e,t)}),e)}function ue(e,t){return!(!e||!t||e.length!==t.length)&&e.every((function(e,n){return t[n]===e}))}function de(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,X.Z)(t.target)&&e in t.target?t.target[e]:t}function pe(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],o=t-n;return o>0?[].concat((0,c.Z)(e.slice(0,n)),[i],(0,c.Z)(e.slice(n,t)),(0,c.Z)(e.slice(t+1,r))):o<0?[].concat((0,c.Z)(e.slice(0,t)),(0,c.Z)(e.slice(t+1,n+1)),[i],(0,c.Z)(e.slice(n+1,r))):e}var _e=W;function fe(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}var he="CODE_LOGIC_ERROR";function me(e,t,n,r,i){return be.apply(this,arguments)}function be(){return be=(0,y.Z)((0,w.Z)().mark((function e(t,n,i,o,l){var u,d,p,_,f,h,m,b,g;return(0,w.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(u=(0,s.Z)({},i)).ruleIndex,u.validator&&(d=u.validator,u.validator=function(){try{return d.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(he)}}),p=null,u&&"array"===u.type&&u.defaultField&&(p=u.defaultField,delete u.defaultField),_=new _e((0,a.Z)({},t,[u])),f=le({},Y,o.validateMessages),_.messages(f),h=[],e.prev=9,e.next=12,Promise.resolve(_.validate((0,a.Z)({},t,n),(0,s.Z)({},o)));case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(9),e.t0.errors&&(h=e.t0.errors.map((function(e,t){var n=e.message,i=n===he?f.default:n;return r.isValidElement(i)?r.cloneElement(i,{key:"error_".concat(t)}):i})));case 17:if(h.length||!p){e.next=22;break}return e.next=20,Promise.all(n.map((function(e,n){return me("".concat(t,".").concat(n),e,p,o,l)})));case 20:return m=e.sent,e.abrupt("return",m.reduce((function(e,t){return[].concat((0,c.Z)(e),(0,c.Z)(t))}),[]));case 22:return b=(0,s.Z)((0,s.Z)({},i),{},{name:t,enum:(i.enum||[]).join(", ")},l),g=h.map((function(e){return"string"===typeof e?fe(e,b):e})),e.abrupt("return",g);case 25:case"end":return e.stop()}}),e,null,[[9,14]])}))),be.apply(this,arguments)}function ge(e,t,n,r,i,o){var a,c=e.join("."),l=n.map((function(e,t){var n=e.validator,r=(0,s.Z)((0,s.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var i=!1,o=n(e,t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Promise.resolve().then((function(){(0,h.ZP)(!i,"Your validator function has already return a promise. `callback` will be ignored."),i||r.apply(void 0,t)}))}));i=o&&"function"===typeof o.then&&"function"===typeof o.catch,(0,h.ZP)(i,"`callback` is deprecated. Please return a promise instead."),i&&o.then((function(){r()})).catch((function(e){r(e||" ")}
1))}),r})).sort((function(e,t){var n=e.warningOnly,r=e.ruleIndex,i=t.warningOnly,o=t.ruleIndex;return!!n===!!i?r-o:n?1:-1}));if(!0===i)a=new Promise(function(){var e=(0,y.Z)((0,w.Z)().mark((function e(n,i){var a,s,u;return(0,w.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<l.length)){e.next=12;break}return s=l[a],e.next=5,me(c,t,s,r,o);case 5:if(!(u=e.sent).length){e.next=9;break}return i([{errors:u,rule:s}]),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 u=l.map((function(e){return me(c,t,e,r,o).then((function(t){return{errors:t,rule:e}}))}));a=(i?function(e){return we.apply(this,arguments)}(u):function(e){return ve.apply(this,arguments)}(u)).then((function(e){return Promise.reject(e)}))}return a.catch((function(e){return e})),a}function ve(){return(ve=(0,y.Z)((0,w.Z)().mark((function e(t){return(0,w.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,c.Z)(e))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return(we=(0,y.Z)((0,w.Z)().mark((function e(t){var n;return(0,w.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 ye=["name"],ke=[];function xe(e,t,n,r,i,o){return"function"===typeof e?e(t,n,"source"in o?{source:o.source}:{}):r!==i}var Ee=function(e){(0,p.Z)(n,e);var t=(0,_.Z)(n);function n(e){var i;((0,l.Z)(this,n),(i=t.call(this,e)).state={resetCount:0},i.cancelRegisterFunc=null,i.mounted=!1,i.touched=!1,i.dirty=!1,i.validatePromise=null,i.prevValidating=void 0,i.errors=ke,i.warnings=ke,i.cancelRegister=function(){var e=i.props,t=e.preserve,n=e.isListField,r=e.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(n,t,ne(r)),i.cancelRegisterFunc=null},i.getNamePath=function(){var e=i.props,t=e.name,n=e.fieldContext.prefixName,r=void 0===n?[]:n;return void 0!==t?[].concat((0,c.Z)(r),(0,c.Z)(t)):[]},i.getRules=function(){var e=i.props,t=e.rules,n=void 0===t?[]:t,r=e.fieldContext;return n.map((function(e){return"function"===typeof e?e(r):e}))},i.refresh=function(){i.mounted&&i.setState((function(e){return{resetCount:e.resetCount+1}}))},i.triggerMetaEvent=function(e){var t=i.props.onMetaChange;null===t||void 0===t||t((0,s.Z)((0,s.Z)({},i.getMeta()),{},{destroy:e}))},i.onStoreChange=function(e,t,n){var r=i.props,o=r.shouldUpdate,a=r.dependencies,s=void 0===a?[]:a,c=r.onReset,l=n.store,u=i.getNamePath(),d=i.getValue(e),p=i.getValue(l),_=t&&ae(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&d!==p&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=ke,i.warnings=ke,i.triggerMetaEvent()),n.type){case"reset":if(!t||_)return i.touched=!1,i.dirty=!1,i.validatePromise=null,i.errors=ke,i.warnings=ke,i.triggerMetaEvent(),null===c||void 0===c||c(),void i.refresh();break;case"remove":if(o)return void i.reRender();break;case"setField":if(_){var f=n.data;return"touched"in f&&(i.touched=f.touched),"validating"in f&&!("originRCField"in f)&&(i.validatePromise=f.validating?Promise.resolve([]):null),"errors"in f&&(i.errors=f.errors||ke),"warnings"in f&&(i.warnings=f.warnings||ke),i.dirty=!0,i.triggerMetaEvent(),void i.reRender()}if(o&&!u.length&&xe(o,e,l,d,p,n))return void i.reRender();break;case"dependenciesUpdate":if(s.map(ne).some((function(e){return ae(n.relatedFields,e)})))return void i.reRender();break;default:if(_||(!s.length||u.length||o)&&xe(o,e,l,d,p,n))return void i.reRender()}!0===o&&i.reRender()}
1,i.validateRules=function(e){var t=i.getNamePath(),n=i.getValue(),r=Promise.resolve().then((function(){if(!i.mounted)return[];var o=i.props,a=o.validateFirst,s=void 0!==a&&a,l=o.messageVariables,u=(e||{}).triggerName,d=i.getRules();u&&(d=d.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||v(t).includes(u)})));var p=ge(t,n,d,e,s,l);return p.catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ke;if(i.validatePromise===r){var t;i.validatePromise=null;var 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?ke:r;t?o.push.apply(o,(0,c.Z)(i)):n.push.apply(n,(0,c.Z)(i))})),i.errors=n,i.warnings=o,i.triggerMetaEvent(),i.reRender()}})),p}));return i.validatePromise=r,i.dirty=!0,i.errors=ke,i.warnings=ke,i.triggerMetaEvent(),i.reRender(),r},i.isFieldValidating=function(){return!!i.validatePromise},i.isFieldTouched=function(){return i.touched},i.isFieldDirty=function(){return!(!i.dirty&&void 0===i.props.initialValue)||void 0!==(0,i.props.fieldContext.getInternalHooks(m).getInitialValue)(i.getNamePath())},i.getErrors=function(){return i.errors},i.getWarnings=function(){return i.warnings},i.isListField=function(){return i.props.isListField},i.isList=function(){return i.props.isList},i.isPreserve=function(){return i.props.preserve},i.getMeta=function(){return i.prevValidating=i.isFieldValidating(),{touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath()}},i.getOnlyChild=function(e){if("function"===typeof e){var t=i.getMeta();return(0,s.Z)((0,s.Z)({},i.getOnlyChild(e(i.getControlled(),t,i.props.fieldContext))),{},{isFunction:!0})}var n=(0,f.Z)(e);return 1===n.length&&r.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},i.getValue=function(e){var t=i.props.fieldContext.getFieldsValue,n=i.getNamePath();return re(e||t(!0),n)},i.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i.props,n=t.trigger,r=t.validateTrigger,o=t.getValueFromEvent,c=t.normalize,l=t.valuePropName,u=t.getValueProps,d=t.fieldContext,p=void 0!==r?r:d.validateTrigger,_=i.getNamePath(),f=d.getInternalHooks,h=d.getFieldsValue,b=f(m),g=b.dispatch,w=i.getValue(),y=u||function(e){return(0,a.Z)({},l,e)},k=e[n],x=(0,s.Z)((0,s.Z)({},e),y(w));x[n]=function(){var e;i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e=o?o.apply(void 0,n):de.apply(void 0,[l].concat(n)),c&&(e=c(e,w,h(!0))),g({type:"updateValue",namePath:_,value:e}),k&&k.apply(void 0,n)};var E=v(p||[]);return E.forEach((function(e){var t=x[e];x[e]=function(){t&&t.apply(void 0,arguments);var n=i.props.rules;n&&n.length&&g({type:"validateField",namePath:_,triggerName:e})}})),x},e.fieldContext)&&(0,(0,e.fieldContext.getInternalHooks)(m).initEntityValue)((0,d.Z)(i));return i}return(0,u.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)(m).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,i=this.getOnlyChild(n),o=i.child;return i.isFunction?e=o:r.isValidElement(o)?e=r.cloneElement(o,this.getControlled(o.props)):((0,h.ZP)(!o,"`children` of Field is not validate ReactElement."),e=o),r.createElement(r.Fragment,{key:t},e)}}]),n}(r.Component);Ee.contextType=g,Ee.defaultProps={trigger:"onChange",valuePropName:"value"};var Se=function(e){var t=e.name,n=(0,o.Z)(e,ye),a=r.useContext(g),s=void 0!==t?ne(t):void 0,c="keep";return n.isListField||(c="_".concat((s||[]).join("_"))),r.createElement(Ee,(0,i.Z)({key:c,name:s},n,{fieldContext:a}))},Pe=r.createContext(null),Oe=function(e){var t=e.name,n=e.initialValue,i=e.children,o=e.rules,a=e.validateTrigger,l=r.useContext(g),u=r.useRef({keys:[],id:0}).current,d=r.useMemo((function(){var e=ne(l.prefixName)||[];return[].concat((0,c.Z)(e),(0,c.Z)(ne(t)))}),[l.prefixName,t]),p=r.useMemo((function(){return(0,s.Z)((0,s.Z)({},l),{},{prefixName:d})}),[l,d]),_=r.useMemo((function(){return{getKey:function(e){var t=d.length,n=e[t];return[u.keys[n],e.slice(t+1)]}}}),[d]);if("function"!==typeof i)return(0,h.ZP)(!1,"Form.List only accepts function as children."),null;return r.createElement(Pe.Provider,{value:_},r.createElement(g.Provider,{value:p},r.createElement(Se,{name:[],shouldUpdate:function(e,t,n){return"internal"!==n.source&&e!==t},rules:o,validateTrigger:a,initialValue:n,isList:!0},(function(e,t){var n=e.value,r=void 0===n?[]:n,o=e.onChange,a=l.getFieldValue,s=function(){return a(d||[])||[]},p={add:function(e,t){var n=s();t>=0&&t<=n.length?(u.keys=[].concat((0,c.Z)(u.keys.slice(0,t)),[u.id],(0,c.Z)(u.keys.slice(t))),o([].concat((0,c.Z)(n.slice(0,t)),[e],
1(0,c.Z)(n.slice(t))))):(u.keys=[].concat((0,c.Z)(u.keys),[u.id]),o([].concat((0,c.Z)(n),[e]))),u.id+=1},remove:function(e){var t=s(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(u.keys=u.keys.filter((function(e,t){return!n.has(t)})),o(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||(u.keys=pe(u.keys,e,t),o(pe(n,e,t)))}}},_=r||[];return Array.isArray(_)||(_=[]),i(_.map((function(e,t){var n=u.keys[t];return void 0===n&&(u.keys[t]=u.id,n=u.keys[t],u.id+=1),{name:t,key:n,isListField:!0}})),p,t)}))))},Ce=n(8136);var Te="__@field_split__";function je(e){return e.map((function(e){return"".concat((0,X.Z)(e),":").concat(e)})).join(Te)}var Ae=function(){function e(){(0,l.Z)(this,e),this.kvs=new Map}return(0,u.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(je(e),t)}},{key:"get",value:function(e){return this.kvs.get(je(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(je(e))}},{key:"map",value:function(e){return(0,c.Z)(this.kvs.entries()).map((function(t){var n=(0,Ce.Z)(t,2),r=n[0],i=n[1],o=r.split(Te);return e({key:o.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,Ce.Z)(t,3),r=n[1],i=n[2];return"number"===r?Number(i):i})),value:i})}))}},{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}(),De=Ae,Ne=["name","errors"],Ie=(0,u.Z)((function e(t){var n=this;(0,l.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,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,is
1FieldsValidating: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}},this.getInternalHooks=function(e){return e===m?(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,h.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(n.initialValues=e||{},t){var r,i=le({},e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;i=ie(i,n,re(e,n))})),n.prevWithoutPreserves=null,n.updateStore(i)}},this.destroyForm=function(){var e=new De;n.getFieldEntities(!0).forEach((function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)})),n.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=re(n.initialValues,e);return e.length?te(t):t},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.watchList=[],this.registerWatch=function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue();n.watchList.forEach((function(n){n(t,e)}))}},this.timeoutId=null,this.warningUnhooked=function(){0},this.updateStore=function(e){n.store=e},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},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new De;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=ne(e);return t.get(n)||{INVALIDATE_NAME_PATH:ne(e)}}))},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),i=[];return r.forEach((function(n){var r,o="INVALIDATE_NAME_PATH"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();if(e||!(null===(r=n.isListField)||void 0===r?void 0:r.call(n)))if(t){var a="getMeta"in n?n.getMeta():null;t(a)&&i.push(o)}else i.push(o)})),oe(n.store,i.map(ne))},this.getFieldValue=function(e){n.warningUnhooked();var t=ne(e);return re(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:ne(e[n]),errors:[],warnings:[]}}))},this.getFieldError=function(e){n.warningUnhooked();var t=ne(e);return n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=ne(e);return n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i,o=t[0],a=t[1],s=!1;0===t.length?i=null:1===t.length?Array.isArray(o)?(i=o.map(ne),s=!1):(i=null,s=o):(i=o.map(ne),s=a);var l=n.getFieldEntities(!0),u=function(e){return e.isFieldTouched()};if(!i)return s?l.every(u):l.some(u);var d=new De;i.forEach((function(e){d.set(e,[])})),l.forEach((function(e){var t=e.getNamePath();i.forEach((function(n){n.every((function(e,n){return t[n]===e}))&&d.update(n,(function(t){return[].concat((0,c.Z)(t),[e])}))}))}));var p=function(e){return e.some(u)},_=d.map((function(e){return e.value}));return s?_.every(p):_.some(p)},this.isFieldTouched=function(e){return n.warningUnhooked(),n.isFieldsTouched([e])},this.isFieldsValidating=function(e){n.warningUnhooked();var t=n.getFieldEntities();if(!e)return t.some((function(e){return e.isFieldValidating()}));var r=e.map(ne);return t.some((function(e){var t=e.getNamePath();return ae(r,t)&&e.isFieldValidating()}))},this.isFieldValidating=function(e){return n.warningUnhooked(),n.isFieldsValidating([e])},this.resetWithFieldInitialValue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new De,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var i=t.get(r)||new Set;i.add({entity:e,value:n}),t.set(r,i)}}));var i,o=function(r){r.forEach((function(r){if(void 0!==r.props.initialValue){var i=r.getNamePath();if(void 0!==n.getInitialValue(i))(0,h.ZP)(!1,"Form already set 'initialValues' with path '".concat(i.join("."),"'. Field can not overwrite it."));else{var o=t.get(i);if(o&&o.size>1)(0,h.ZP)(!1,"Multiple Field with path '".concat(i.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(o){var a=n.getFieldValue(i);e.skipExist&&void 0!==a||n.updateStore(ie(n.store,i,(0,c.Z)(o)[0].value))}}}}))};e.entities?i=e.entities:e.namePathList?(i=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=i).push.apply(n,(0,c.Z)((0,c.Z)(r).map((function(e){return e.entity}))))}
1))):i=r,o(i)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore(le({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(ne);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore(ie(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)},this.setFields=function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var i=e.name,a=(e.errors,(0,o.Z)(e,Ne)),s=ne(i);r.push(s),"value"in a&&n.updateStore(ie(n.store,s,a.value)),n.notifyObservers(t,[s],{type:"setField",data:e})})),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),i=(0,s.Z)((0,s.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i}))},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===re(n.store,r)&&n.updateStore(ie(n.store,r,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null===t||void 0===t||t},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,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(i)&&(!r||o.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!ue(e.getNamePath(),t)}))){var s=n.store;n.updateStore(ie(s,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t)}}n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var i=e.namePath,o=e.triggerName;n.validateFields([i],{triggerName:o})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var i=(0,s.Z)((0,s.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,i)}))}else n.forceRootUpdate()},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,c.Z)(r))}),r},this.updateValue=function(e,t){var r=ne(e),i=n.store;n.updateStore(ie(n.store,r,t)),n.notifyObservers(i,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var o=n.triggerDependenciesUpdate(i,r),a=n.callbacks.onValuesChange;a&&a(oe(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat((0,c.Z)(o)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;if(e){var r=le(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],i=new De;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=ne(t);i.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(i.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var i=n.getNamePath();n.isFieldDirty()&&i.length&&(r.push(i),e(i))}}))}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var i=n.getFields();if(t){var o=new De;t.forEach((function(e){var t=e.name,n=e.errors;o.set(t,n)})),i.forEach((function(e){e.errors=o.get(e.name)||e.errors}))}r(i.filter((function(t){var n=t.name;return ae(e,n)})),i)}},this.validateFields=function(e,t){n.warningUnhooked();var r=!!e,i=r?e.map(ne):[],o=[];n.getFieldEntities(!0).forEach((function(a){if(r||i.push(a.getNamePath()),(null===t||void 0===t?void 0:t.recursive)&&r){var l=a.getNamePath();l.every((function(t,n){return e[n]===t||void 0===e[n]}))&&i.push(l)}if(a.props.rules&&a.props.rules.length){var u=a.getNamePath();if(!r||ae(i,u)){var d=a.validateRules((0,s.Z)({validateMessages:(0,s.Z)((0,s.Z)({},Y),n.validateMessages)},t));o.push(d.then((function(){return{name:u,errors:[],warnings:[]}})).catch((function(e){var t,n=[],r=[];return null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,i=e.errors;t?r.push.apply(r,(0,c.Z)(i)):n.push.apply(n,(0,c.Z)(i))})),n.length?Promise.reject({name:u,errors:n,warnings:r}):{name:u,errors:n,warnings:r}})))}}}));var a=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(i,o){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&o(r),i(r))}))}))})):Promise.resolve([])}(o);
1n.lastValidatePromise=a,a.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 l=a.then((function(){return n.lastValidatePromise===a?Promise.resolve(n.getFieldsValue(i)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(i),errorFields:t,outOfDate:n.lastValidatePromise!==a})}));return l.catch((function(e){return e})),l},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t}));var Re=function(e){var t=r.useRef(),n=r.useState({}),i=(0,Ce.Z)(n,2)[1];if(!t.current)if(e)t.current=e;else{var o=new Ie((function(){i({})}));t.current=o.getForm()}return[t.current]},Le=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Me=function(e){var t=e.validateMessages,n=e.onFormChange,i=e.onFormFinish,o=e.children,c=r.useContext(Le),l=r.useRef({});return r.createElement(Le.Provider,{value:(0,s.Z)((0,s.Z)({},c),{},{validateMessages:(0,s.Z)((0,s.Z)({},c.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:l.current}),c.triggerFormChange(e,t)},triggerFormFinish:function(e,t){i&&i(e,{values:t,forms:l.current}),c.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=(0,s.Z)((0,s.Z)({},l.current),{},(0,a.Z)({},e,t))),c.registerForm(e,t)},unregisterForm:function(e){var t=(0,s.Z)({},l.current);delete t[e],l.current=t,c.unregisterForm(e)}})},o)},ze=Le,Ze=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Fe=function(e,t){var n=e.name,a=e.initialValues,l=e.fields,u=e.form,d=e.preserve,p=e.children,_=e.component,f=void 0===_?"form":_,h=e.validateMessages,b=e.validateTrigger,v=void 0===b?"onChange":b,w=e.onValuesChange,y=e.onFieldsChange,k=e.onFinish,x=e.onFinishFailed,E=(0,o.Z)(e,Ze),S=r.useContext(ze),P=Re(u),O=(0,Ce.Z)(P,1)[0],C=O.getInternalHooks(m),T=C.useSubscribe,j=C.setInitialValues,A=C.setCallbacks,D=C.setValidateMessages,N=C.setPreserve,I=C.destroyForm;r.useImperativeHandle(t,(function(){return O})),r.useEffect((function(){return S.registerForm(n,O),function(){S.unregisterForm(n)}}),[S,O,n]),D((0,s.Z)((0,s.Z)({},S.validateMessages),h)),A({onValuesChange:w,onFieldsChange:function(e){if(S.triggerFormChange(n,e),y){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];y.apply(void 0,[e].concat(r))}},onFinish:function(e){S.triggerFormFinish(n,e),k&&k(e)},onFinishFailed:x}),N(d);var R,L=r.useRef(null);j(a,!L.current),L.current||(L.current=!0),r.useEffect((function(){return I}),[]);var M="function"===typeof p;M?R=p(O.getFieldsValue(!0),O):R=p;T(!M);var z=r.useRef();r.useEffect((function(){(function(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==(0,X.Z)(e)||"object"!==(0,X.Z)(t))return!1;var n=Object.keys(e),r=Object.keys(t),i=new Set([].concat(n,r));return(0,c.Z)(i).every((function(n){var r=e[n],i=t[n];return"function"===typeof r&&"function"===typeof i||r===i}))})(z.current||[],l||[])||O.setFields(l||[]),z.current=l}),[l,O]);var Z=r.useMemo((function(){return(0,s.Z)((0,s.Z)({},O),{},{validateTrigger:v})}),[O,v]),F=r.createElement(g.Provider,{value:Z},R);return!1===f?F:r.createElement(f,(0,i.Z)({},E,{onSubmit:function(e){e.preventDefault(),e.stopPropagation(),O.submit()},onReset:function(e){var t;e.preventDefault(),O.resetFields(),null===(t=E.onReset)||void 0===t||t.call(E,e)}}),F)};function Ve(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}var Be=function(){};var Ue=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[0],o=void 0===i?[]:i,a=t[1],s=(0,r.useState)(),c=(0,Ce.Z)(s,2),l=c[0],u=c[1],d=(0,r.useMemo)((function(){return Ve(l)}),[l]),p=(0,r.useRef)(d);p.current=d;var _=(0,r.useContext)(g),f=a||_,h=f&&f._init,b=ne(o),v=(0,r.useRef)(b);return v.current=b,Be(b),(0,r.useEffect)((function(){if(h){var e=f.getFieldsValue,t=(0,(0,f.getInternalHooks)(m).registerWatch)((function(e){var t=re(e,v.current),n=Ve(t);p.current!==n&&(p.current=n,u(t))})),n=re(e(),v.current);return u(n),t}}),[h]),l},Ge=r.forwardRef(Fe);Ge.FormProvider=Me,Ge.Field=Se,Ge.List=Oe,Ge.useForm=Re,Ge.useWatch=Ue;var qe=Ge},6958:function(e,t,n){"use strict";n.d(t,{V4:function(){return ue},ZP:function(){return de}});var r=n(64649),i=n(50189),o=n(8136),a=n(33940),s=n(60042),c=n.n(s),l=n(62738),u=n(79986),d=n(27378),p=d.createContext({});var _=n(22951),f=n(91976),h=n(28418),m=n(59180),b=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(){return(0,_.Z)(this,n),t.apply(this,arguments)}return(0,f.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component),g=b,v=n(87643),w="none",y="appear",k="enter",x="leave",E="none",S="prepare",P="start",O="active",C="end",T="prepared",j=n(98554);function A(e,t){var n={};
1return 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 D=function(e,t){var n={animationend:A("Animation","AnimationEnd"),transitionend:A("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:{}),N={};if((0,j.Z)()){var I=document.createElement("div");N=I.style}var R={};function L(e){if(R[e])return R[e];var t=D[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i<r;i+=1){var o=n[i];if(Object.prototype.hasOwnProperty.call(t,o)&&o in N)return R[e]=t[o],R[e]}return""}var M=L("animationend"),z=L("transitionend"),Z=!(!M||!z),F=M||"animationend",V=z||"transitionend";function B(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 U=(0,j.Z)()?d.useLayoutEffect:d.useEffect,G=n(94068),q=[S,P,O,C],H=[S,T];function K(e){return e===O||e===C}var W=function(e,t,n){var r=(0,v.Z)(E),i=(0,o.Z)(r,2),a=i[0],s=i[1],c=function(){var e=d.useRef(null);function t(){G.Z.cancel(e.current)}return d.useEffect((function(){return function(){t()}}),[]),[function n(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var o=(0,G.Z)((function(){i<=1?r({isCanceled:function(){return o!==e.current}}):n(r,i-1)}));e.current=o},t]}(),l=(0,o.Z)(c,2),u=l[0],p=l[1];var _=t?H:q;return U((function(){if(a!==E&&a!==C){var e=_.indexOf(a),t=_[e+1],r=n(a);false===r?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(){p()}}),[]),[function(){s(S,!0)},a]};function $(e,t,n,a){var s=a.motionEnter,c=void 0===s||s,l=a.motionAppear,u=void 0===l||l,p=a.motionLeave,_=void 0===p||p,f=a.motionDeadline,h=a.motionLeaveImmediately,m=a.onAppearPrepare,b=a.onEnterPrepare,g=a.onLeavePrepare,E=a.onAppearStart,C=a.onEnterStart,j=a.onLeaveStart,A=a.onAppearActive,D=a.onEnterActive,N=a.onLeaveActive,I=a.onAppearEnd,R=a.onEnterEnd,L=a.onLeaveEnd,M=a.onVisibleChanged,z=(0,v.Z)(),Z=(0,o.Z)(z,2),B=Z[0],G=Z[1],q=(0,v.Z)(w),H=(0,o.Z)(q,2),$=H[0],Y=H[1],X=(0,v.Z)(null),J=(0,o.Z)(X,2),Q=J[0],ee=J[1],te=(0,d.useRef)(!1),ne=(0,d.useRef)(null);function re(){return n()}var ie=(0,d.useRef)(!1);function oe(){Y(w,!0),ee(null,!0)}function ae(e){var t=re();if(!e||e.deadline||e.target===t){var n,r=ie.current;$===y&&r?n=null===I||void 0===I?void 0:I(t,e):$===k&&r?n=null===R||void 0===R?void 0:R(t,e):$===x&&r&&(n=null===L||void 0===L?void 0:L(t,e)),$!==w&&r&&!1!==n&&oe()}}var se=function(e){var t=(0,d.useRef)(),n=(0,d.useRef)(e);n.current=e;var r=d.useCallback((function(e){n.current(e)}),[]);function i(e){e&&(e.removeEventListener(V,r),e.removeEventListener(F,r))}return d.useEffect((function(){return function(){i(t.current)}}),[]),[function(e){t.current&&t.current!==e&&i(t.current),e&&e!==t.current&&(e.addEventListener(V,r),e.addEventListener(F,r),t.current=e)},i]}(ae),ce=(0,o.Z)(se,1)[0],le=function(e){var t,n,i;switch(e){case y:return t={},(0,r.Z)(t,S,m),(0,r.Z)(t,P,E),(0,r.Z)(t,O,A),t;case k:return n={},(0,r.Z)(n,S,b),(0,r.Z)(n,P,C),(0,r.Z)(n,O,D),n;case x:return i={}
1,(0,r.Z)(i,S,g),(0,r.Z)(i,P,j),(0,r.Z)(i,O,N),i;default:return{}}},ue=d.useMemo((function(){return le($)}),[$]),de=W($,!e,(function(e){if(e===S){var t=ue.prepare;return!!t&&t(re())}var n;fe in ue&&ee((null===(n=ue[fe])||void 0===n?void 0:n.call(ue,re(),null))||null);return fe===O&&(ce(re()),f>0&&(clearTimeout(ne.current),ne.current=setTimeout((function(){ae({deadline:!0})}),f))),fe===T&&oe(),true})),pe=(0,o.Z)(de,2),_e=pe[0],fe=pe[1],he=K(fe);ie.current=he,U((function(){G(t);var n,r=te.current;te.current=!0,!r&&t&&u&&(n=y),r&&t&&c&&(n=k),(r&&!t&&_||!r&&h&&!t&&_)&&(n=x);var i=le(n);n&&(e||i.prepare)?(Y(n),_e()):Y(w)}),[t]),(0,d.useEffect)((function(){($===y&&!u||$===k&&!c||$===x&&!_)&&Y(w)}),[u,c,_]),(0,d.useEffect)((function(){return function(){te.current=!1,clearTimeout(ne.current)}}),[]);var me=d.useRef(!1);(0,d.useEffect)((function(){B&&(me.current=!0),void 0!==B&&$===w&&((me.current||B)&&(null===M||void 0===M||M(B)),me.current=!0)}),[B,$]);var be=Q;return ue.prepare&&fe===P&&(be=(0,i.Z)({transition:"none"},be)),[$,fe,be,null!==B&&void 0!==B?B:t]}var Y=function(e){var t=e;"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var n=d.forwardRef((function(e,n){var a=e.visible,s=void 0===a||a,_=e.removeOnLeave,f=void 0===_||_,h=e.forceRender,m=e.children,b=e.motionName,v=e.leavedClassName,y=e.eventProps,k=function(e,n){return!(!e.motionName||!t||!1===n)}(e,d.useContext(p).motion),x=(0,d.useRef)(),E=(0,d.useRef)();var O=$(k,s,(function(){try{return x.current instanceof HTMLElement?x.current:(0,l.Z)(E.current)}catch(e){return null}}),e),C=(0,o.Z)(O,4),T=C[0],j=C[1],A=C[2],D=C[3],N=d.useRef(D);D&&(N.current=!0);var I,R=d.useCallback((function(e){x.current=e,(0,u.mH)(n,e)}),[n]),L=(0,i.Z)((0,i.Z)({},y),{},{visible:s});if(m)if(T===w)I=D?m((0,i.Z)({},L),R):!f&&N.current&&v?m((0,i.Z)((0,i.Z)({},L),{},{className:v}),R):h||!f&&!v?m((0,i.Z)((0,i.Z)({},L),{},{style:{display:"none"}}),R):null;else{var M,z;j===S?z="prepare":K(j)?z="active":j===P&&(z="start");var Z=B(b,"".concat(T,"-").concat(z));I=m((0,i.Z)((0,i.Z)({},L),{},{className:c()(B(b,T),(M={},(0,r.Z)(M,Z,Z&&z),(0,r.Z)(M,b,"string"===typeof b),M)),style:A}),R)}else I=null;d.isValidElement(I)&&(0,u.Yr)(I)&&(I.ref||(I=d.cloneElement(I,{ref:R})));return d.createElement(g,{ref:E},I)}));return n.displayName="CSSMotion",n}(Z),X=n(25773),J=n(96535),Q=n(47169),ee="add",te="keep",ne="remove",re="removed";function ie(e){var t;return t=e&&"object"===(0,a.Z)(e)&&"key"in e?e:{key:e},(0,i.Z)((0,i.Z)({},t),{},{key:String(t.key)})}function oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ie)}function ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,a=oe(e),s=oe(t);a.forEach((function(e){for(var t=!1,a=r;a<o;a+=1){var c=s[a];if(c.key===e.key){r<a&&(n=n.concat(s.slice(r,a).map((function(e){return(0,i.Z)((0,i.Z)({},e),{},{status:ee})}))),r=a),n.push((0,i.Z)((0,i.Z)({},c),{},{status:te})),r+=1,t=!0;break}}t||n.push((0,i.Z)((0,i.Z)({},e),{},{status:ne}))})),r<o&&(n=n.concat(s.slice(r).map((function(e){return(0,i.Z)((0,i.Z)({},e),{},{status:ee})}))));var c={};n.forEach((function(e){var t=e.key;c[t]=(c[t]||0)+1}));var l=Object.keys(c).filter((function(e){return c[e]>1}));return l.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==ne}))).forEach((function(t){t.key===e&&(t.status=te)}))})),n}var se=["component","children","onVisibleChanged","onAllRemoved"],ce=["status"],le=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y,n=function(e){(0,h.Z)(o,e);var n=(0,m.Z)(o);function o(){var e;(0,_.Z)(this,o);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=n.call.apply(n,[this].concat(a)),(0,r.Z)((0,Q.Z)(e),"state",{keyEntities:[]}),(0,r.Z)((0,Q.Z)(e),"removeKey",(function(t){var n=e.state.keyEntities.map((function(e){return e.key!==t?e:(0,i.Z)((0,i.Z)({},e),{},{status:re})}));return e.setState({keyEntities:n}),n.filter((function(e){return e.status!==re})).length})),e}return(0,f.Z)(o,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r
1=this.props,o=r.component,a=r.children,s=r.onVisibleChanged,c=r.onAllRemoved,l=(0,J.Z)(r,se),u=o||d.Fragment,p={};return le.forEach((function(e){p[e]=l[e],delete l[e]})),delete l.keys,d.createElement(u,l,n.map((function(n,r){var o=n.status,l=(0,J.Z)(n,ce),u=o===ee||o===te;return d.createElement(t,(0,X.Z)({},p,{key:l.key,visible:u,eventProps:l,onVisibleChanged:function(t){(null===s||void 0===s||s(t,{key:l.key}),t)||0===e.removeKey(l.key)&&c&&c()}}),(function(e,t){return a((0,i.Z)((0,i.Z)({},e),{},{index:r}),t)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,i=oe(n);return{keyEntities:ae(r,i).filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==re||e.status!==ne}))}}}]),o}(d.Component);return(0,r.Z)(n,"defaultProps",{component:"div"}),n}(Z),de=Y},12865:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(25773),i=n(64649),o=n(22951),a=n(91976),s=n(28418),c=n(59180),l=n(27378),u=n(31542),d=n(60042),p=n.n(d),_=function(e){(0,s.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;(0,o.Z)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(e=t.call.apply(t,[this].concat(i))).closeTimer=null,e.close=function(t){t&&t.stopPropagation(),e.clearCloseTimer();var n=e.props,r=n.onClose,i=n.noticeKey;r&&r(i)},e.startCloseTimer=function(){e.props.duration&&(e.closeTimer=window.setTimeout((function(){e.close()}),1e3*e.props.duration))},e.clearCloseTimer=function(){e.closeTimer&&(clearTimeout(e.closeTimer),e.closeTimer=null)},e}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(e){(this.props.duration!==e.duration||this.props.updateMark!==e.updateMark||this.props.visible!==e.visible&&this.props.visible)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,o=t.className,a=t.closable,s=t.closeIcon,c=t.style,d=t.onClick,_=t.children,f=t.holder,h="".concat(n,"-notice"),m=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{}),b=l.createElement("div",(0,r.Z)({className:p()(h,o,(0,i.Z)({},"".concat(h,"-closable"),a)),style:c,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:d},m),l.createElement("div",{className:"".concat(h,"-content")},_),a?l.createElement("a",{tabIndex:0,onClick:this.close,className:"".concat(h,"-close")},s||l.createElement("span",{className:"".concat(h,"-close-x")})):null);return f?u.createPortal(b,f):b}}]),n}(l.Component);_.defaultProps={onClose:function(){},duration:1.5}},72587:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(96535),i=n(25773),o=n(50189),a=n(22951),s=n(91976),c=n(28418),l=n(59180),u=n(27378),d=n(5245),p=n(60042),_=n.n(p),f=n(6958),h=n(12865),m=n(15865),b=["getContainer"],g=0,v=Date.now();function w(){var e=g;return g+=1,"rcNotification_".concat(v,"_").concat(e)}var y=function(e){(0,c.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return(e=t.call.apply(t,[this].concat(i))).state={notices:[]},e.hookRefs=new Map,e.add=function(t,n){var r,i=null!==(r=t.key)&&void 0!==r?r:w(),a=(0,o.Z)((0,o.Z)({},t),{},{key:i}),s=e.props.maxCount;e.setState((function(e){var t=e.notices,r=t.map((function(e){return e.notice.key})).indexOf(i),o=t.concat();return-1!==r?o.splice(r,1,{notice:a,holderCallback:n}):(s&&t.length>=s&&(a.key=o[0].notice.key,a.updateMark=w(),a.userPassKey=i,o.shift()),o.push({notice:a,holderCallback:n})),{notices:o}}))},e.remove=function(t){e.setState((function(e){return{notices:e.notices.filter((function(e){var n=e.notice,r=n.key,i=n.userPassKey;return(null!==i&&void 0!==i?i:r)!==t}))}}))},e.noticePropsMap={},e}return(0,s.Z)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,s=n.closeIcon,c=n.style,l=[];return t.forEach((function(n,i){var a=n.notice,c=n.holderCallback,u=i===t.length-1?a.updateMark:void 0,d=a.key,p=a.userPassKey,_=(0,o.Z)((0,o.Z)((0,o.Z)({prefixCls:r,closeIcon:s},a),a.props),{},{key:d,noticeKey:p||d,updateMark:u,onClose:function(t){var n;e.remove(t),null===(n=a.onClose)||void 0===n||n.call(a)},onClick:a.onClick,children:a.content});l.push(d),e.noticePropsMap[d]={props:_,holderCallback:c}})),u.createElement("div",{className:_()(r,a),style:c},u.createElement(f.V4,{keys:l,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var r=n.key;t||delete e.noticePropsMap[r]}},(function(t){var n=t.key,a=t.className,s=t.style,c=t.visible,l=e.noticePropsMap[n],d=l.props,p=l.holderCallback;return p?u.createElement("div",{key:n,className:_()(a,"".concat(r,"-hook-holder")),style:(0,o.Z)({},s),ref:function(t){"undefined"!==typeof n&&(t?(e.hookRefs.set(n,t),p(t,d)):e.hookRefs.delete(n))}}):u.createElement(h.Z,(0,i.Z)({},d,{className:_()(a,null===d||void 0===d?void 0:d.className),style:(0,o.Z)((0,o.Z)({},s),null===d||void 0===d?void 0:d.style),visible:c}))})))}}]),n}(u.Component);y.newInstance=void 0,y.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{to
1p:65,left:"50%"}},y.newInstance=function(e,t){var n=e||{},o=n.getContainer,a=(0,r.Z)(n,b),s=document.createElement("div");o?o().appendChild(s):document.body.appendChild(s);var c=!1;(0,d.s)(u.createElement(y,(0,i.Z)({},a,{ref:function(e){c||(c=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){(0,d.v)(s),s.parentNode&&s.parentNode.removeChild(s)},useNotification:function(){return(0,m.Z)(e)}}))}})),s)};var k=y},15865:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(13285),i=n(25773),o=n(8136),a=n(27378),s=n(12865);function c(e){var t=a.useRef({}),n=a.useState([]),c=(0,o.Z)(n,2),l=c[0],u=c[1];return[function(n){var o=!0;e.add(n,(function(e,n){var c=n.key;if(e&&(!t.current[c]||o)){var l=a.createElement(s.Z,(0,i.Z)({},n,{holder:e}));t.current[c]=l,u((function(e){var t=e.findIndex((function(e){return e.key===n.key}));if(-1===t)return[].concat((0,r.Z)(e),[l]);var i=(0,r.Z)(e);return i[t]=l,i}))}o=!1}))},a.createElement(a.Fragment,null,l)]}},77050:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(25773),i=n(50189),o=n(8136),a=n(96535),s=n(27378),c=n(60042),l=n.n(c),u=n(98442),d=n(99664),p=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],_=void 0;function f(e,t){var n=e.prefixCls,o=e.invalidate,c=e.item,d=e.renderItem,f=e.responsive,h=e.responsiveDisabled,m=e.registerSize,b=e.itemKey,g=e.className,v=e.style,w=e.children,y=e.display,k=e.order,x=e.component,E=void 0===x?"div":x,S=(0,a.Z)(e,p),P=f&&!y;function O(e){m(b,e)}s.useEffect((function(){return function(){O(null)}}),[]);var C,T=d&&c!==_?d(c):w;o||(C={opacity:P?0:1,height:P?0:_,overflowY:P?"hidden":_,order:f?k:_,pointerEvents:P?"none":_,position:P?"absolute":_});var j={};P&&(j["aria-hidden"]=!0);var A=s.createElement(E,(0,r.Z)({className:l()(!o&&n,g),style:(0,i.Z)((0,i.Z)({},C),v)},j,S,{ref:t}),T);return f&&(A=s.createElement(u.Z,{onResize:function(e){O(e.offsetWidth)},disabled:h},A)),A}var h=s.forwardRef(f);h.displayName="Item";var m=h,b=n(44771),g=n(31542),v=n(94068);function w(){var e=s.useRef(null);return function(t){e.current||(e.current=[],function(e){if("undefined"===typeof MessageChannel)(0,v.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){(0,g.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(t)}}function y(e,t){var n=s.useState(t),r=(0,o.Z)(n,2),i=r[0],a=r[1];return[i,(0,b.Z)((function(t){e((function(){a(t)}))}))]}var k=s.createContext(null),x=["component"],E=["className"],S=["className"],P=function(e,t){var n=s.useContext(k);if(!n){var i=e.component,o=void 0===i?"div":i,c=(0,a.Z)(e,x);return s.createElement(o,(0,r.Z)({},c,{ref:t}))}var u=n.className,d=(0,a.Z)(n,E),p=e.className,_=(0,a.Z)(e,S);return s.createElement(k.Provider,{value:null},s.createElement(m,(0,r.Z)({ref:t,className:l()(u,p)},d,_)))},O=s.forwardRef(P);O.displayName="RawItem";var C=O,T=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],j="responsive",A="invalidate";function D(e){return"+ ".concat(e.length," ...")}function N(e,t){var n=e.prefixCls,c=void 0===n?"rc-overflow":n,p=e.data,_=void 0===p?[]:p,f=e.renderItem,h=e.renderRawItem,b=e.itemKey,g=e.itemWidth,v=void 0===g?10:g,x=e.ssr,E=e.style,S=e.className,P=e.maxCount,O=e.renderRest,C=e.renderRawRest,N=e.suffix,I=e.component,R=void 0===I?"div":I,L=e.itemComponent,M=e.onVisibleChange,z=(0,a.Z)(e,T),Z="full"===x,F=w(),V=y(F,null),B=(0,o.Z)(V,2),U=B[0],G=B[1],q=U||0,H=y(F,new Map),K=(0,o.Z)(H,2),W=K[0],$=K[1],Y=y(F,0),X=(0,o.Z)(Y,2),J=X[0],Q=X[1],ee=y(F,0),te=(0,o.Z)(ee,2),ne=te[0],re=te[1],ie=y(F,0),oe=(0,o.Z)(ie,2),ae=oe[0],se=oe[1],ce=(0,s.useState)(null),le=(0,o.Z)(ce,2),ue=le[0],de=le[1],pe=(0,s.useState)(null),_e=(0,o.Z)(pe,2),fe=_e[0],he=_e[1],me=s.useMemo((function(){return null===fe&&Z?Number.MAX_SAFE_INTEGER:fe||0}
1),[fe,U]),be=(0,s.useState)(!1),ge=(0,o.Z)(be,2),ve=ge[0],we=ge[1],ye="".concat(c,"-item"),ke=Math.max(J,ne),xe=P===j,Ee=_.length&&xe,Se=P===A,Pe=Ee||"number"===typeof P&&_.length>P,Oe=(0,s.useMemo)((function(){var e=_;return Ee?e=null===U&&Z?_:_.slice(0,Math.min(_.length,q/v)):"number"===typeof P&&(e=_.slice(0,P)),e}),[_,v,U,P,Ee]),Ce=(0,s.useMemo)((function(){return Ee?_.slice(me+1):_.slice(Oe.length)}),[_,Oe,Ee,me]),Te=(0,s.useCallback)((function(e,t){var n;return"function"===typeof b?b(e):null!==(n=b&&(null===e||void 0===e?void 0:e[b]))&&void 0!==n?n:t}),[b]),je=(0,s.useCallback)(f||function(e){return e},[f]);function Ae(e,t,n){(fe!==e||void 0!==t&&t!==ue)&&(he(e),n||(we(e<_.length-1),null===M||void 0===M||M(e)),void 0!==t&&de(t))}function De(e,t){$((function(n){var r=new Map(n);return null===t?r.delete(e):r.set(e,t),r}))}function Ne(e){return W.get(Te(Oe[e],e))}(0,d.Z)((function(){if(q&&"number"===typeof ke&&Oe){var e=ae,t=Oe.length,n=t-1;if(!t)return void Ae(0,null);for(var r=0;r<t;r+=1){var i=Ne(r);if(Z&&(i=i||0),void 0===i){Ae(r-1,void 0,!0);break}if(e+=i,0===n&&e<=q||r===n-1&&e+Ne(n)<=q){Ae(n,null);break}if(e+ke>q){Ae(r-1,e-i-ae+ne);break}}N&&Ne(0)+ae>q&&de(null)}}),[q,W,ne,ae,Te,Oe]);var Ie=ve&&!!Ce.length,Re={};null!==ue&&Ee&&(Re={position:"absolute",left:ue,top:0});var Le,Me={prefixCls:ye,responsive:Ee,component:L,invalidate:Se},ze=h?function(e,t){var n=Te(e,t);return s.createElement(k.Provider,{key:n,value:(0,i.Z)((0,i.Z)({},Me),{},{order:t,item:e,itemKey:n,registerSize:De,display:t<=me})},h(e,t))}:function(e,t){var n=Te(e,t);return s.createElement(m,(0,r.Z)({},Me,{order:t,key:n,item:e,renderItem:je,itemKey:n,registerSize:De,display:t<=me}))},Ze={order:Ie?me:Number.MAX_SAFE_INTEGER,className:"".concat(ye,"-rest"),registerSize:function(e,t){re(t),Q(ne)},display:Ie};if(C)C&&(Le=s.createElement(k.Provider,{value:(0,i.Z)((0,i.Z)({},Me),Ze)},C(Ce)));else{var Fe=O||D;Le=s.createElement(m,(0,r.Z)({},Me,Ze),"function"===typeof Fe?Fe(Ce):Fe)}var Ve=s.createElement(R,(0,r.Z)({className:l()(!Se&&c,S),style:E,ref:t},z),Oe.map(ze),Pe?Le:null,N&&s.createElement(m,(0,r.Z)({},Me,{responsive:xe,responsiveDisabled:!Ee,order:me,className:"".concat(ye,"-suffix"),registerSize:function(e,t){se(t)},display:!0,style:Re}),N));return xe&&(Ve=s.createElement(u.Z,{onResize:function(e,t){G(t.clientWidth)},disabled:!Ee},Ve)),Ve}var I=s.forwardRef(N);I.displayName="Overflow",I.Item=C,I.RESPONSIVE=j,I.INVALIDATE=A;var R=I},84433:function(e,t){"use strict";t.Z={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"}},98442:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(25773),i=n(27378),o=n(27406),a=(n(74485),n(50189)),s=n(33940),c=n(62738),l=n(79986),u=i.createContext(null);var d=n(97329),p=new Map;var _=new d.Z((function(e){e.forEach((function(e){var t,n=e.target;null===(t=p.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var f=n(22951),h=n(91976),m=n(28418),b=n(59180),g=function(e){(0,m.Z)(n,e);var t=(0,b.Z)(n);function n(){return(0,f.Z)(this,n),t.apply(this,arguments)}return(0,h.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(i.Component);function v(e,t){var n=e.children,r=e.disabled,o=i.useRef(null),d=i.useRef(null),f=i.useContext(u),h="function"===typeof n,m=h?n(o):n,b=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!h&&i.isValidElement(m)&&(0,l.Yr)(m),w=v?m.ref:null,y=(0,l.x1)(w,o),k=function(){var e;return(0,c.Z)(o.current)||(o.current&&"object"===(0,s.Z)(o.current)?(0,c.Z)(null===(e=o.current)||void 0===e?void 0:e.nativeElement):null)||(0,c.Z)(d.current)};i.useImperativeHandle(t,(function(){return k()}));var x=i.useRef(e);x.current=e;var E=i.useCallback((function(e){var t=x.current,n=t.onResize,r=t.data,i=e.getBoundingClientRect(),o=i.width,s=i.height,c=e.offsetWidth,l=e.offsetHeight,u=Math.floor(o),d=Math.floor(s);if(b.current.width!==u||b.current.height!==d||b.current.offsetWidth!==c||b.current.offsetHeight!==l){var p={width:u,height:d,offsetWidth:c,offsetHeight:l};b.current=p;var _=c===Math.round(o)?o:c,h=l===Math.round(s)?s:l,m=(0,a.Z)((0,a.Z)({},p),{},{offsetWidth:_,offsetHeight:h});null===f||void 0===f||f(m,e,r),n&&Promise.resolve().then((function(){n(m,e)}))}}),[]);return i.useEffect((function(){var e,t,n=k();return n&&!r&&(e=n,t=E,p.has(e)||(p.set(e,new Set),_.observe(e)),p.get(e).add(t)),function(){return function(e,t){p.has(e)&&(p.get(e).delete(t),p.get(e).size||(_.unobserve(e),p.delete(e)))}(n,E)}}),[o.current,r]),i.createElement(g,{ref:d},v?i.cloneElement(m,{ref:y}):m)}var w=i.forwardRef(v);function y(e,t){var n=e.children;return("function"===typeof n?[n]:(0,o.Z)(n)).map((function(n,o){var a=(null===n||void 0===n?void 0:n.key)||"".concat("rc-observer-key","-").concat(o);return i.createElement(w,(0,r.Z)({},e,{key:a,ref:0===o?t:void 0}),n)}))}var k=i.forwardRef(y);
1k.Collection=function(e){var t=e.children,n=e.onBatchResize,r=i.useRef(0),o=i.useRef([]),a=i.useContext(u),s=i.useCallback((function(e,t,i){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:i}),Promise.resolve().then((function(){s===r.current&&(null===n||void 0===n||n(o.current),o.current=[])})),null===a||void 0===a||a(e,t,i)}),[n,a]);return i.createElement(u.Provider,{value:s},t)};var x=k},9575:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var r=n(8136),i=n(27378),o=n(98554),a=0,s=(0,o.Z)();function c(e){var t=i.useState(),n=(0,r.Z)(t,2),o=n[0],c=n[1];return i.useEffect((function(){c("rc_select_".concat(function(){var e;return s?(e=a,a+=1):e="TEST_OR_SSR",e}()))}),[]),e||o}},14043:function(e,t,n){"use strict";n.d(t,{Ac:function(){return J},Xo:function(){return le},Wx:function(){return de},ZP:function(){return Se},lk:function(){return w}});var r=n(25773),i=n(13285),o=n(64649),a=n(50189),s=n(8136),c=n(96535),l=n(33940),u=n(24391),d=n(74485),p=n(27378),_=n(60042),f=n.n(_),h=n(99664),m=n(62477),b=n(78730),g=n(79986),v=p.createContext(null);function w(){return p.useContext(v)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=p.useRef(null),n=p.useRef(null);function r(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return p.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},r]}var k=n(91864),x=n(77050),E=function(e){var t,n=e.className,r=e.customizeIcon,i=e.customizeIconProps,o=e.onMouseDown,a=e.onClick,s=e.children;return t="function"===typeof r?r(i):r,p.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),o&&o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==t?t:p.createElement("span",{className:f()(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},s))},S=function(e,t){var n,r,i=e.prefixCls,o=e.id,s=e.inputElement,c=e.disabled,l=e.tabIndex,u=e.autoFocus,_=e.autoComplete,h=e.editable,m=e.activeDescendantId,b=e.value,v=e.maxLength,w=e.onKeyDown,y=e.onMouseDown,k=e.onChange,x=e.onPaste,E=e.onCompositionStart,S=e.onCompositionEnd,P=e.open,O=e.attrs,C=s||p.createElement("input",null),T=C,j=T.ref,A=T.props,D=A.onKeyDown,N=A.onChange,I=A.onMouseDown,R=A.onCompositionStart,L=A.onCompositionEnd,M=A.style;return(0,d.Kp)(!("maxLength"in C.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),C=p.cloneElement(C,(0,a.Z)((0,a.Z)((0,a.Z)({type:"search"},A),{},{id:o,ref:(0,g.sQ)(t,j),disabled:c,tabIndex:l,autoComplete:_||"off",autoFocus:u,className:f()("".concat(i,"-selection-search-input"),null===(n=C)||void 0===n||null===(r=n.props)||void 0===r?void 0:r.className),role:"combobox","aria-expanded":P,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":m},O),{},{value:h?b:"",maxLength:v,readOnly:!h,unselectable:h?null:"on",style:(0,a.Z)((0,a.Z)({},M),{},{opacity:h?null:0}),onKeyDown:function(e){w(e),D&&D(e)},onMouseDown:function(e){y(e),I&&I(e)},onChange:function(e){k(e),N&&N(e)},onCompositionStart:function(e){E(e),R&&R(e)},onCompositionEnd:function(e){S(e),L&&L(e)},onPaste:x}))},P=p.forwardRef(S);P.displayName="Input";var O=P;function C(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var T="undefined"!==typeof window&&window.document&&window.document.documentElement;function j(e){return["string","number"].includes((0,l.Z)(e))}function A(e){var t=void 0;return e&&(j(e.title)?t=e.title.toString():j(e.label)&&(t=e.label.toString())),t}function D(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var N=function(e){e.preventDefault(),e.stopPropagation()},I=function(e){var t,n,r=e.id,i=e.prefixCls,a=e.values,c=e.open,l=e.searchValue,u=e.autoClearSearchValue,d=e.inputRef,_=e.placeholder,h=e.disabled,m=e.mode,b=e.showSearch,g=e.autoFocus,v=e.autoComplete,w=e.activeDescendantId,y=e.tabIndex,S=e.removeIcon,P=e.maxTagCount,C=e.maxTagTextLength,j=e.maxTagPlaceholder,I=void 0===j?function(e){return"+ ".concat(e.length," ...")}:j,R=e.tagRender,L=e.onToggleOpen,M=e.onRemove,z=e.onInputChange,Z=e.onInputPaste,F=e.onInputKeyDown,V=e.onInputMouseDown,B=e.onInputCompositionStart,U=e.onInputCompositionEnd,G=p.useRef(null),q=(0,p.useState)(0),H=(0,s.Z)(q,2),K=H[0],W=H[1],$=(0,p.useState)(!1),Y=(0,s.Z)($,2),X=Y[0],J=Y[1],Q="".concat(i,"-selection"),ee=c||"multiple"===m&&!1===u||"tags"===m?l:"",te="tags"===m||"multiple"===m&&!1===u||b&&(c||X);function ne(e,t,n,r,i){return p.createElement("span",{className:f()("".concat(Q,"-item"),(0,o.Z)({},"".concat(Q,"-item-disabled"),n)),title:A(e)},p.createElement("span",{className:"".concat(Q,"-item-content")},t),r&&p.createElement(E,{className:"".concat(Q,"-item-remove"),onMouseDown:N,onClick:i,customizeIcon:S},"\xd7"))}t=function(){W(G.current.scrollWidth)},n=[ee],T?p.useLayoutEffect(t,n):p.useEffect(t,n);var re=p.createElement("div",{className:"".concat(Q,"-search"),style:{width:K},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},p.createElement(O,{ref:d,open:c,prefixCls:i,id:r,inputElement:null,disabled:h,autoFocus:g,autoComplete:v,editable:te,activeDescendantId:w,value:ee,onKeyDown:F,onMouseDown:V,onChange:z,onPaste:Z,onCompositionStart:B,onCompositionEnd:U,tabIndex:y,attrs:(0,k.Z)(e,!0)}),p.createElement("span",{ref:G,className:"".concat(Q,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),ie=p.createElement(x.Z,{prefixCls:"".concat(Q,"-overflow"),data:a,renderItem:function(e){var t=e.disabled,n=e.label,r=e.value,i=!h&&!t,o=n;if("number"===typeof C&&("string"===typeof n||"number"===typeof n)){var a=String(o);a.length>C&&(o="".concat(a.slice(0,C),"..."))}var s=function(t){t&&t.stopPropagation(),M(e)};return"function"===typeof R?function(e,t,n,r,i){return p.createElement("span",{onMouseDown:function(e){N(e),L(!c)}},R({label:t,value:e,disabled:n,closable:r,onClose:i}))}(r,o,t,i,s):ne(e,o,t,i,s)},renderRest:function(e){var t="function"===typeof I?I(e):I;return ne({title:t},t,!1)},suffix:re,itemKey:D,maxCount:P});return p.createElement(p.Fragment,null,ie,!a.length&&!ee&&p.createElement("span",{className:"".concat(Q,"-placeholder")},_))},R=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,i=e.inputRef,o=e.disabled,a=e.autoFocus,c=e.autoComplete,l=e.activeDescendantId,u=e.mode,d=e.open,_=e.values,f=e.placeholder,h=e.tabIndex,m=e.showSearch,b=e.searchValue,g=e.activeValue,v=e.maxLength,w=e.onInputKeyDown,y=e.onInputMouseDown,x=e.onInputChange,E=e.onInputPaste,S=e.onInputCompositionStart,P=e.onInputCompositionEnd,C=p.useState(!1),T=(0,s.Z)(C,2),j=T[0],D=T[1],N="combobox"===u,I=N||m,R=_[0],L=b||"";N&&g&&!j&&(L=g),p.useEffect((function(){N&&D(!1)}),[N,g]);var M=!("combobox"!==u&&!d&&!m)&&!!L,z=A(R);return p.createElement(p.Fragment,null,p.createElement("span",{className:"".concat(n,"-selection-search")},p.createElement(O,{ref:i,prefixCls:n,id:r,open:d,inputElement:t,disabled:o,autoFocus:a,autoComplete:c,editable:I,activeDescendantId:l,value:L,onKeyDown:w,onMouseDown:y,onChange:function(e){D(!0),x(e)},onPaste:E,onCompositionStart:S,onCompositionEnd:P,tabIndex:h,attrs:(0,k.Z)(e,!0),maxLength:N?v:void 0})),!N&&R?p.createElement("span",{className:"".concat(n,"-selection-item"),title:z,style:M?{visibility:"hidden"}:void 0},R.label):null,function(){if(R)return null;var e=M?{visibility:"hidden"}:void 0;return p.createElement("span",{className:"".concat(n,"-selection-
1placeholder"),style:e},f)}())};var L=function(e,t){var n=(0,p.useRef)(null),i=(0,p.useRef)(!1),o=e.prefixCls,a=e.open,c=e.mode,l=e.showSearch,u=e.tokenWithEnter,d=e.autoClearSearchValue,_=e.onSearch,f=e.onSearchSubmit,h=e.onToggleOpen,m=e.onInputKeyDown,g=e.domRef;p.useImperativeHandle(t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var v=y(0),w=(0,s.Z)(v,2),k=w[0],x=w[1],E=(0,p.useRef)(null),S=function(e){!1!==_(e,!0,i.current)&&h(!0)},P={inputRef:n,onInputKeyDown:function(e){var t,n=e.which;n!==b.Z.UP&&n!==b.Z.DOWN||e.preventDefault(),m&&m(e),n!==b.Z.ENTER||"tags"!==c||i.current||a||null===f||void 0===f||f(e.target.value),t=n,[b.Z.ESC,b.Z.SHIFT,b.Z.BACKSPACE,b.Z.TAB,b.Z.WIN_KEY,b.Z.ALT,b.Z.META,b.Z.WIN_KEY_RIGHT,b.Z.CTRL,b.Z.SEMICOLON,b.Z.EQUALS,b.Z.CAPS_LOCK,b.Z.CONTEXT_MENU,b.Z.F1,b.Z.F2,b.Z.F3,b.Z.F4,b.Z.F5,b.Z.F6,b.Z.F7,b.Z.F8,b.Z.F9,b.Z.F10,b.Z.F11,b.Z.F12].includes(t)||h(!0)},onInputMouseDown:function(){x(!0)},onInputChange:function(e){var t=e.target.value;if(u&&E.current&&/[\r\n]/.test(E.current)){var n=E.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,E.current)}E.current=null,S(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");E.current=t},onInputCompositionStart:function(){i.current=!0},onInputCompositionEnd:function(e){i.current=!1,"combobox"!==c&&S(e.target.value)}},O="multiple"===c||"tags"===c?p.createElement(I,(0,r.Z)({},e,P)):p.createElement(R,(0,r.Z)({},e,P));return p.createElement("div",{ref:g,className:"".concat(o,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){n.current.focus()})):n.current.focus())},onMouseDown:function(e){var t=k();e.target===n.current||t||"combobox"===c||e.preventDefault(),("combobox"===c||l&&t)&&a||(a&&!1!==d&&_("",!0,!1),h())}},O)},M=p.forwardRef(L);M.displayName="Selector";var z=M,Z=n(64845),F=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],V=function(e,t){var n=e.prefixCls,i=(e.disabled,e.visible),s=e.children,l=e.popupElement,u=e.containerWidth,d=e.animation,_=e.transitionName,h=e.dropdownStyle,m=e.dropdownClassName,b=e.direction,g=void 0===b?"ltr":b,v=e.placement,w=e.dropdownMatchSelectWidth,y=e.dropdownRender,k=e.dropdownAlign,x=e.getPopupContainer,E=e.empty,S=e.getTriggerDOMNode,P=e.onPopupVisibleChange,O=e.onPopupMouseEnter,C=(0,c.Z)(e,F),T="".concat(n,"-dropdown"),j=l;y&&(j=y(l));var A=p.useMemo((function(){return function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}}(w)}),[w]),D=d?"".concat(T,"-").concat(d):_,N=p.useRef(null);p.useImperativeHandle(t,(function(){return{getPopupElement:function(){return N.current}}}));var I=(0,a.Z)({minWidth:u},h);return"number"===typeof w?I.width=w:w&&(I.width=u),p.createElement(Z.Z,(0,r.Z)({},C,{showAction:P?["click"]:[],hideAction:P?["click"]:[],popupPlacement:v||("rtl"===g?"bottomRight":"bottomLeft"),builtinPlacements:A,prefixCls:T,popupTransitionName:D,popup:p.createElement("div",{ref:N,onMouseEnter:O},j),popupAlign:k,popupVisible:i,getPopupContainer:x,popupClassName:f()(m,(0,o.Z)({},"".concat(T,"-empty"),E)),popupStyle:I,getTriggerDOMNode:S,onPopupVisibleChange:P}),s)},B=p.forwardRef(V);B.displayName="SelectTrigger";var U=B,G=n(62173);function q(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!==r&&void 0!==r?r:void 0!==n?n:"rc-index-key-".concat(t)}function H(e,t){var n=e||{};return{label:n.label||(t?"children":"label"),value:n.value||"value",options:n.options||"options"}}function K(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 W=["id","prefixCls","className","showSearch","tagRender","direction","om
1itDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],$=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Y(e){return"tags"===e||"multiple"===e}var X=p.forwardRef((function(e,t){var n,d,_=e.id,w=e.prefixCls,k=e.className,x=e.showSearch,S=e.tagRender,P=e.direction,O=e.omitDomProps,C=e.displayValues,T=e.onDisplayValuesChange,j=e.emptyOptions,A=e.notFoundContent,D=void 0===A?"Not Found":A,N=e.onClear,I=e.mode,R=e.disabled,L=e.loading,M=e.getInputElement,Z=e.getRawInputElement,F=e.open,V=e.defaultOpen,B=e.onDropdownVisibleChange,q=e.activeValue,H=e.onActiveValueChange,K=e.activeDescendantId,X=e.searchValue,J=e.autoClearSearchValue,Q=e.onSearch,ee=e.onSearchSplit,te=e.tokenSeparators,ne=e.allowClear,re=e.showArrow,ie=e.inputIcon,oe=e.clearIcon,ae=e.OptionList,se=e.animation,ce=e.transitionName,le=e.dropdownStyle,ue=e.dropdownClassName,de=e.dropdownMatchSelectWidth,pe=e.dropdownRender,_e=e.dropdownAlign,fe=e.placement,he=e.getPopupContainer,me=e.showAction,be=void 0===me?[]:me,ge=e.onFocus,ve=e.onBlur,we=e.onKeyUp,ye=e.onKeyDown,ke=e.onMouseDown,xe=(0,c.Z)(e,W),Ee=Y(I),Se=(void 0!==x?x:Ee)||"combobox"===I,Pe=(0,a.Z)({},xe);$.forEach((function(e){delete Pe[e]})),null===O||void 0===O||O.forEach((function(e){delete Pe[e]}));var Oe=p.useState(!1),Ce=(0,s.Z)(Oe,2),Te=Ce[0],je=Ce[1];p.useEffect((function(){je((0,m.Z)())}),[]);var Ae=p.useRef(null),De=p.useRef(null),Ne=p.useRef(null),Ie=p.useRef(null),Re=p.useRef(null),Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=p.useState(!1),n=(0,s.Z)(t,2),r=n[0],i=n[1],o=p.useRef(null),a=function(){window.clearTimeout(o.current)};return p.useEffect((function(){return a}),[]),[r,function(t,n){a(),o.current=window.setTimeout((function(){i(t),n&&n()}),e)},a]}(),Me=(0,s.Z)(Le,3),ze=Me[0],Ze=Me[1],Fe=Me[2];p.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=Ie.current)||void 0===e?void 0:e.focus,blur:null===(t=Ie.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=Re.current)||void 0===t?void 0:t.scrollTo(e)}}}));var Ve=p.useMemo((function(){var e;if("combobox"!==I)return X;var t=null===(e=C[0])||void 0===e?void 0:e.value;return"string"===typeof t||"number"===typeof t?String(t):""}),[X,I,C]),Be="combobox"===I&&"function"===typeof M&&M()||null,Ue="function"===typeof Z&&Z(),Ge=(0,g.x1)(De,null===Ue||void 0===Ue||null===(n=Ue.props)||void 0===n?void 0:n.ref),qe=(0,u.Z)(void 0,{defaultValue:V,value:F}),He=(0,s.Z)(qe,2),Ke=He[0],We=He[1],$e=Ke,Ye=!D&&j;(R||Ye&&$e&&"combobox"===I)&&($e=!1);var Xe=!Ye&&$e,Je=p.useCallback((function(e){var t=void 0!==e?e:!$e;R||(We(t),$e!==t&&(null===B||void 0===B||B(t)))}),[R,$e,We,B]),Qe=p.useMemo((function(){return(te||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[te]),et=function(e,t,n){var r=!0,o=e;null===H||void 0===H||H(null);var a=n?null:function(e,t){if(!t||!t.length)return null;var n=!1,r=function e(t,r){var o=(0,G.Z)(r),a=o[0],s=o.slice(1);if(!a)return[t];var c=t.split(a);return n=n||c.length>1,c.reduce((function(t,n){return[].concat((0,i.Z)(t),(0,i.Z)(e(n,s)))}),[]).filter((function(e){return e}))}(e,t);return n?r:null}(e,te);return"combobox"!==I&&a&&(o="",null===ee||void 0===ee||ee(a),Je(!1),r=!1),Q&&Ve!==o&&Q(o,{source:t?"typing":"effect"}),r};p.useEffect((function(){$e||Ee||"combobox"===I||et("",!1,!1)}),[$e]),p.useEffect((function(){Ke&&R&&We(!1),R&&Ze(!1)}),[R]);var tt=y(),nt=(0,s.Z)(tt,2),rt=nt[0],it=nt[1],ot=p.useRef(!1),at=[];p.useEffect((function(){return function(){at.forEach((function(e){return clearTimeout(e)})),at.splice(0,at.length)}}),[]);var st,ct=p.useState(null),lt=(0,s.Z)(ct,2),ut=lt[0],dt=lt[1],pt=p.useState({}),_t=(0,s.Z)(pt,2)[1];(0,h.Z)((function(){if(Xe){var e,t=Math.ceil(null===(e=Ae.current)||void 0===e?void 0:e.offsetWidth);ut===t||Number.isNaN(t)||dt(t)}}),[Xe]),Ue&&(st=function(e){Je(e)}),function(e,t,n,r){var i=p.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:r},p.useEffect((function(){function t(t){var n;if(null===(n=i.current)||void 0===n||!n.customizedTrigger){var r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),i.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[Ae.current,null===(e=Ne.current)||void 0===e?void 0:e.getPopupElement()]}),Xe,Je,!!Ue);var ft,ht,mt=p.useMemo((function(){return(0,a.Z)((0,a.Z)({},e),{},{notFoundContent:D,open:$e,triggerOpen:Xe,id:_,showSearch:Se,multiple:Ee,toggleOpen:Je})}),[e,D,Xe,$e,_,Se,Ee,Je]),bt=void 0!==re?re:L||!Ee&&"combobox"!==I;bt&&(ft=p.createElement(E,{className:f()("".concat(w,"-arrow"),(0,o.Z)({},"".concat(w,"-arrow-loading"),L)),customizeIcon:ie,customizeIconProps:{loading:L,searchValue:Ve,open:$e,focused:ze,showSearch:Se}}));R||!ne||!C.length&&!Ve||"combobox"===I&&""===Ve||(ht=p.createElement(E,{className:"".concat(w,"-clear"),onMouseDown:function(){var e;null===N||void 0===N||N(),null===(e=Ie.current)||void 0===e||e.focus(),T([],{type:"clear",values:C}),et("",!1,!1)},customizeIcon:oe},"\xd7"));var gt,vt=p.createElement(ae,{ref:Re}),wt=f()(w,k,(d={},(0,o.Z)(d,"".concat(w,"-focused"),ze),(0,o.Z)(d,"".concat(w,"-multiple"),Ee),(0,o.Z)(d,"".concat(w,"-single"),!Ee),(0,o.Z)(d,"".concat(w,"-allow-clear"),ne),(0,o.Z)(d,"".concat(w,"-show-arrow"),bt),(0,o.Z)(d,"".concat(w,"-disabled"),R),(0,o.Z)(d,"".concat(w,"-loading"),L),(0,o.Z)(d,"".concat(w,"-open"),$e),(0,o.Z)(d,"".concat(w,"-customize-input"),Be),(0,o.Z)(d,"".concat(w,"-show-search"),Se),d)),yt=p.createElement(U,{ref:Ne,disabled:R,prefixCls:w,visible:Xe,popupElement:vt,containerWidth:ut,animation:se,transitionName:ce,dropdownStyle:le,dropdownClassName:ue,direction:P,dropdownMatchSelectWidth:de,dropdownRender:pe,dropdownAlign:_e,placement:fe,getPopupContainer:he,empty:j,getTriggerDOMNode:function(){return De.current},onPopupVisibleChange:st,onPopupMouseEnter:function(){_t({})}},Ue?p.cloneElement(Ue,{ref:Ge}):p.createElement(z,(0,r.Z)({},e,{domRef:De,prefixCls:w,inputElement:Be,ref:Ie,id:_,showSearch:Se,autoClearSearchValue:J,mode:I,activeDescendantId:K,tagRender:S,values:C,open:$e,onToggleOpen:Je,activeValue:q,searchValue:Ve,onSearch:et,onSearchSubmit:function(e){e&&e.trim()&&Q(e,{source:"submit"})},onRemove:function(e){var t=C.filter((function(t){return t!==e}));T(t,{type:"remove",values:[e]})},tokenWithEnter:Qe})));return gt=Ue?yt:p.createElement("div",(0,r.Z)({className:wt},Pe,{ref:Ae,onMouseDown:function(e){var t,n=e.target,r=null===(t=Ne.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var i=setTimeout((function(){var e,t=at.indexOf(i);-1!==t&&at.splice(t,1),Fe(),Te||r.contains(document.activeElement)||null===(e=Ie.current)||void 0===e||e.focus()}));at.push(i)}for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];null===ke||void 0===ke||ke.apply(void 0,[e].concat(a))},onKeyDown:function(e){var t,n=rt(),r=e.which;if(r===b.Z.ENTER&&("combobox"!==I&&e.preventDefault(),$e||Je(!0)),it(!!Ve),r===b.Z.BACKSPACE&&!n&&Ee&&!Ve&&C.length){for(var o=(0,i.Z)(C),a=null,s=o.length-1;s>=0;s-=1){var c=o[s];if(!c.disabled){o.splice(s,1),a=c;break}}a&&T(o,{type:"remove",values:[a]})}for(var l=arguments.length,u=new Array(l>1?l-1:0),d=1;d<l;d++)u[d-1]=arguments[d];$e&&Re.current&&(t=Re.current).onKeyDown.apply(t,[e].concat(u)),null===ye||void 0===ye||ye.apply(void 0,[e].concat(u))},onKeyUp:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i;
1$e&&Re.current&&(i=Re.current).onKeyUp.apply(i,[e].concat(n)),null===we||void 0===we||we.apply(void 0,[e].concat(n))},onFocus:function(){Ze(!0),R||(ge&&!ot.current&&ge.apply(void 0,arguments),be.includes("focus")&&Je(!0)),ot.current=!0},onBlur:function(){Ze(!1,(function(){ot.current=!1,Je(!1)})),R||(Ve&&("tags"===I?Q(Ve,{source:"submit"}):"multiple"===I&&Q("",{source:"blur"})),ve&&ve.apply(void 0,arguments))}}),ze&&!$e&&p.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(C.map((function(e){var t=e.label,n=e.value;return["number","string"].includes((0,l.Z)(t))?t:n})).join(", "))),yt,ft,ht),p.createElement(v.Provider,{value:mt},gt)}));var J=X;function Q(e,t){return C(e).join("").toUpperCase().includes(t)}var ee=n(9575),te=n(27406),ne=["children","value"],re=["children"];function ie(e){var t=e,n=t.key,r=t.props,i=r.children,o=r.value,s=(0,c.Z)(r,ne);return(0,a.Z)({key:n,value:void 0!==o?o:n,children:i},s)}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,te.Z)(e).map((function(e,n){if(!p.isValidElement(e)||!e.type)return null;var r=e,i=r.type.isSelectOptGroup,o=r.key,s=r.props,l=s.children,u=(0,c.Z)(s,re);return t||!i?ie(e):(0,a.Z)((0,a.Z)({key:"__RC_SELECT_GRP__".concat(null===o?n:o,"__"),label:o},u),{},{options:oe(l)})})).filter((function(e){return e}))}function ae(e,t,n,r,i){return p.useMemo((function(){var o=e;!e&&(o=oe(t));var a=new Map,s=new Map,c=function(e,t,n){n&&"string"===typeof n&&e.set(t[n],t)};return function e(t){for(var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;l<t.length;l+=1){var u=t[l];!u[n.options]||o?(a.set(u[n.value],u),c(s,u,n.label),c(s,u,r),c(s,u,i)):e(u[n.options],!0)}}(o),{options:o,valueOptions:a,labelOptions:s}}),[e,t,n,r,i])}function se(e){var t=p.useRef();t.current=e;var n=p.useCallback((function(){return t.current.apply(t,arguments)}),[]);return n}var ce=function(){return null};ce.isSelectOptGroup=!0;var le=ce,ue=function(){return null};ue.isSelectOption=!0;var de=ue,pe=n(42445),_e=n(8805),fe=n(96218);var he=p.createContext(null),me=["disabled","title","children","style","className"];function be(e){return"string"===typeof e||"number"===typeof e}var ge=function(e,t){var n=w(),a=n.prefixCls,l=n.id,u=n.open,d=n.multiple,_=n.mode,h=n.searchValue,m=n.toggleOpen,g=n.notFoundContent,v=n.onPopupScroll,y=p.useContext(he),x=y.flattenOptions,S=y.onActiveValue,P=y.defaultActiveFirstOption,O=y.onSelect,C=y.menuItemSelectedIcon,T=y.rawValues,j=y.fieldNames,A=y.virtual,D=y.listHeight,N=y.listItemHeight,I="".concat(a,"-item"),R=(0,_e.Z)((function(){return x}),[u,x],(function(e,t){return t[0]&&e[1]!==t[1]})),L=p.useRef(null),M=function(e){e.preventDefault()},z=function(e){L.current&&L.current.scrollTo("number"===typeof e?{index:e}:e)},Z=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=R.length,r=0;r<n;r+=1){var i=(e+r*t+n)%n,o=R[i],a=o.group,s=o.data;if(!a&&!s.disabled)return i}return-1},F=p.useState((function(){return Z(0)})),V=(0,s.Z)(F,2),B=V[0],U=V[1],G=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];U(e);var n={source:t?"keyboard":"mouse"},r=R[e];r?S(r.value,e,n):S(null,-1,n)};(0,p.useEffect)((function(){G(!1!==P?Z(0):-1)}),[R.length,h]);var q=p.useCallback((function(e){return T.has(e)&&"combobox"!==_}),[_,(0,i.Z)(T).toString(),T.size]);(0,p.useEffect)((function(){var e,t=setTimeout((function(){if(!d&&u&&1===T.size){var e=Array.from(T)[0],t=R.findIndex((function(t){return t.data.value===e}));-1!==t&&(G(t),z(t))}}));u&&(null===(e=L.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[u,h]);var H=function(e){void 0!==e&&O(e,{selected:!T.has(e)}),d||m(!1)};if(p.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case b.Z.N:case b.Z.P:case b.Z.UP:case b.Z.DOWN:var r=0;if(t===b.Z.UP?r=-1:t===b.Z.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===b.Z.N?r=1:t===b.Z.P&&(r=-1)),0!==r){var i=Z(B+r,r);z(i),G(i,!0)}break;case b.Z.ENTER:var o=R[B];o&&!o.data.disabled?H(o.value):H(void 0),u&&e.preventDefault();break;case b.Z.ESC:m(!1),u&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){z(e)}}})),0===R.length)return p.createElement("div",{role:"listbox",id:"".concat(l,"_list"),className:"".concat(I,"-empty"),onMouseDown:M},g);var K=Object.keys(j).map((function(e){return j[e]})),W=function(e){return e.label},$=function(e){var t=R[e];if(!t)return null;var n=t.data||{},i=n.value,o=t.group,a=(0,k.Z)(n,!0),s=W(t);return t?p.createElement("div",(0,r.Z)({"aria-label":"string"!==typeof s||o?null:s},a,{key:e,role:o?"presentation":"option",id:"".concat(l,"_list_").concat(e),"aria-selected":q(i)}),i):null};return p.createElement(p.Fragment,null,p.createElement("div",{role:"listbox",id:"".concat(l,"_list"),style:{height:0,width:0,overflow:"hidden"}},$(B-1),$(B),$(B+1)),p.createElement(fe.Z,{itemKey:"key",ref:L,data:R,height:D,itemHeight:N,fullHeight:!1,onMouseDown:M,onScroll:v,virtual:A},(function(e,t){var n,i=e.group,a=e.groupOption,s=e.data,l=e.label,u=e.value,d=s.key;if(i){var _,h=null!==(_=s.title)&&void 0!==_?_:be(l)?l.toString():void 0;return p.createElement("div",{className:f()(I,"".concat(I,"-group")),title:h},void 0!==l?l:d)}var m=s.disabled,b=s.title,g=(s.children,s.style),v=s.className,w=(0,c.Z)(s,me),y=(0,pe.Z)(w,K),x=q(u),S="".concat(I,"-option"),P=f()(I,S,v,(n={},(0,o.Z)(n,"".concat(S,"-grouped"),a),(0,o.Z)(n,"".concat(S,"-active"),B===t&&!m),(0,o.Z)(n,"".concat(S,"-disabled"),m),(0,o.Z)(n,"".concat(S,"-selected"),x),n)),O=W(e),T=!C||"function"===typeof C||x,j="number"===typeof O?O:O||u,A=be(j)?j.toString():void 0;return void 0!==b&&(A=b),p.createElement("div",(0,r.Z)({},(0,k.Z)(y),{"aria-selected":x,className:P,title:A,onMouseMove:function(){B===t||m||G(t)},onClick:function(){m||H(u)},style:g}),p.createElement("div",{className:"".concat(S,"-content")},j),p.isValidElement(C)||x,T&&p.createElement(E,{className:"".concat(I,"-option-state"),customizeIcon:C,customizeIconProps:{isSelected:x}},x?"\u2713":null))})))},ve=p.forwardRef(ge);ve.displayName="OptionList";var we=ve;var ye=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ke=["inputValue"];var xe=p.forwardRef((function(e,t){var n=e.id,d=e.mode,_=e.prefixCls,f=void 0===_?"rc-select":_,h=e.backfill,m=e.fieldNames,b=e.inputValue,g=e.searchValue,v=e.onSearch,w=e.autoClearSearchValue,y=void 0===w||w,k=e.onSelect,x=e.onDeselect,E=e.dropdownMatchSelectWidth,S=void 0===E||E,P=e.filterOption,O=e.filterSort,T=e.optionFilterProp,j=e.optionLabelProp,A=e.options,D=e.children,N=e.defaultActiveFirstOption,I=e.menuItemSelectedIcon,R=e.virtual,L=e.listHeight,M=void 0===L?200:L,z=e.listItemHeight,Z=void 0===z?20:z,F=e.value,V=e.defaultValue,B=e.labelInValue,U=e.onCh
1ange,G=(0,c.Z)(e,ye),W=(0,ee.ZP)(n),$=Y(d),X=!(A||!D),te=p.useMemo((function(){return(void 0!==P||"combobox"!==d)&&P}),[P,d]),ne=p.useMemo((function(){return H(m,X)}),[JSON.stringify(m),X]),re=(0,u.Z)("",{value:void 0!==g?g:b,postState:function(e){return e||""}}),ie=(0,s.Z)(re,2),oe=ie[0],ce=ie[1],le=ae(A,D,ne,T,j),ue=le.valueOptions,de=le.labelOptions,pe=le.options,_e=p.useCallback((function(e){return C(e).map((function(e){var t,n,r,i,o,a;(function(e){return!e||"object"!==(0,l.Z)(e)})(e)?t=e:(r=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:r);var s,c=ue.get(t);c&&(void 0===n&&(n=null===c||void 0===c?void 0:c[j||ne.label]),void 0===r&&(r=null!==(s=null===c||void 0===c?void 0:c.key)&&void 0!==s?s:t),i=null===c||void 0===c?void 0:c.disabled,o=null===c||void 0===c?void 0:c.title);return{label:n,value:t,key:r,disabled:i,title:o}}))}),[ne,j,ue]),fe=(0,u.Z)(V,{value:F}),me=(0,s.Z)(fe,2),be=me[0],ge=me[1],ve=function(e,t){var n=p.useRef({values:new Map,options:new Map});return[p.useMemo((function(){var r=n.current,i=r.values,o=r.options,s=e.map((function(e){var t;return void 0===e.label?(0,a.Z)((0,a.Z)({},e),{},{label:null===(t=i.get(e.value))||void 0===t?void 0:t.label}):e})),c=new Map,l=new Map;return s.forEach((function(e){c.set(e.value,e),l.set(e.value,t.get(e.value)||o.get(e.value))})),n.current.values=c,n.current.options=l,s}),[e,t]),p.useCallback((function(e){return t.get(e)||n.current.options.get(e)}),[t])]}(p.useMemo((function(){var e,t=_e(be);return"combobox"!==d||null!==(e=t[0])&&void 0!==e&&e.value?t:[]}),[be,_e,d]),ue),xe=(0,s.Z)(ve,2),Ee=xe[0],Se=xe[1],Pe=p.useMemo((function(){if(!d&&1===Ee.length){var e=Ee[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return Ee.map((function(e){var t;return(0,a.Z)((0,a.Z)({},e),{},{label:null!==(t=e.label)&&void 0!==t?t:e.value})}))}),[d,Ee]),Oe=p.useMemo((function(){return new Set(Ee.map((function(e){return e.value})))}),[Ee]);p.useEffect((function(){if("combobox"===d){var e,t=null===(e=Ee[0])||void 0===e?void 0:e.value;ce(function(e){return void 0!==e&&null!==e}(t)?String(t):"")}}),[Ee]);var Ce=se((function(e,t){var n,r=null!==t&&void 0!==t?t:e;return n={},(0,o.Z)(n,ne.value,e),(0,o.Z)(n,ne.label,r),n})),Te=function(e,t,n,r,i){return p.useMemo((function(){if(!n||!1===r)return e;var s=t.options,c=t.label,l=t.value,u=[],d="function"===typeof r,p=n.toUpperCase(),_=d?r:function(e,t){return i?Q(t[i],p):t[s]?Q(t["children"!==c?c:"label"],p):Q(t[l],p)},f=d?function(e){return K(e)}:function(e){return e};return e.forEach((function(e){if(e[s])if(_(n,f(e)))u.push(e);else{var t=e[s].filter((function(e){return _(n,f(e))}));t.length&&u.push((0,a.Z)((0,a.Z)({},e),{},(0,o.Z)({},s,t)))}else _(n,f(e))&&u.push(e)})),u}),[e,r,i,n,t])}(p.useMemo((function(){if("tags"!==d)return pe;var e=(0,i.Z)(pe);return(0,i.Z)(Ee).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(t){var n=t.value;(function(e){return ue.has(e)})(n)||e.push(Ce(n,t.label))})),e}),[Ce,pe,ue,Ee,d]),ne,oe,te,T),je=p.useMemo((function(){return"tags"!==d||!oe||Te.some((function(e){return e[T||"value"]===oe}))?Te:[Ce(oe)].concat((0,i.Z)(Te))}),[Ce,T,d,Te,oe]),Ae=p.useMemo((function(){return O?(0,i.Z)(je).sort((function(e,t){return O(e,t)})):je}),[je,O]),De=p.useMemo((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,i=[],o=H(n,!1),a=o.label,s=o.value,c=o.options;function l(e,t){e.forEach((function(e){var n=e[a];if(t||!(c in e)){var o=e[s];i.push({key:q(e,i.length),groupOption:t,data:e,label:n,value:o})}else{var u=n;void 0===u&&r&&(u=e.label),i.push({key:q(e,i.length),group:!0,data:e,label:u}),l(e[c],!0)}}))}return l(e,!1),i}(Ae,{fieldNames:ne,childrenAsData:X})}),[Ae,ne,X]),Ne=function(e){var t=_e(e);if(ge(t),U&&(t.length!==Ee.length||t.some((function(e,t){var n;return(null===(n=Ee[t])||void 0===n?void 0:n.value)!==(null===e||void 0===e?void 0:e.value)})))){var n=B?t:t.map((function(e){return e.value})),r=t.map((function(e){return K(Se(e.value))}));U($?n:n[0],$?r:r[0])}},Ie=p.useState(null),Re=(0,s.Z)(Ie,2),Le=Re[0],Me=Re[1],ze=p.useState(0),Ze=(0,s.Z)(ze,2),Fe=Ze[0],Ve=Ze[1],Be=void 0!==N?N:"combobox"!==d,Ue=p.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.source,i=void 0===r?"keyboard":r;Ve(t),h&&"combobox"===d&&null!==e&&"keyboard"===i&&Me(String(e))}),[h,d]),Ge=function(e,t,n){var r=function(){var t,n=Se(e);return[B?{label:null===n||void 0===n?void 0:n[ne.label],value:e,key:null!==(t=null===n||void 0===n?void 0:n.key)&&void 0!==t?t:e}:e,K(n)]};if(t&&k){var i=r(),o=(0,s.Z)(i,2),a=o[0],c=o[1];k(a,c)}else if(!t&&x&&"clear"!==n){var l=r(),u=(0,s.Z)(l,2),d=u[0],p=u[1];x(d,p)}},qe=se((function(e,t){var n,r=!$||t.selected;n=r?$?[].concat((0,i.Z)(Ee),[e]):[e]:Ee.filter((function(t){return t.value!==e})),Ne(n),Ge(e,r),"combobox"===d?Me(""):Y&&!y||(ce(""),Me(""))})),He=p.useMemo((function(){var e=!1!==R&&!1!==S;return(0,a.Z)((0,a.Z)({},le),{},{flattenOptions:De,onActiveValue:Ue,defaultActiveFirstOption:Be,onSelect:qe,menuItemSelectedIcon:I,rawValues:Oe,fieldNames:ne,virtual:e,listHeight:M,listItemHeight:Z,childrenAsData:X})}),[le,De,Ue,Be,qe,I,Oe,ne,R,S,M,Z,X]);return p.createElement(he.Provider,{value:He},p.createElement(J,(0,r.Z)({},G,{id:W,prefixCls:f,ref:t,omitDomProps:ke,mode:d,displayValues:Pe,onDisplayValuesChange:function(e,t){Ne(e);var n=t.type,r=t.values;"remove"!==n&&"clear"!==n||r.forEach((function(e){Ge(e.value,!1,n)}))},searchValue:oe,onSearch:function(e,t){if(ce(e),Me(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===d&&Ne(e),null===v||void 0===v||v(e));else{var n=(e||"").trim();if(n){var r=Array.from(new Set([].concat((0,i.Z)(Oe),[n])));Ne(r),Ge(n,!0),ce("")}}},autoClearSearchValue:y,onSearchSplit:function(e){var t=e;"tags"!==d&&(t=e.map((function(e){var t=de.get(e);return null===t||void 0===t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,i.Z)(Oe),(0,i.Z)(t))));
1Ne(n),n.forEach((function(e){Ge(e,!0)}))},dropdownMatchSelectWidth:S,OptionList:we,emptyOptions:!De.length,activeValue:Le,activeDescendantId:"".concat(W,"_list_").concat(Fe)})))}));var Ee=xe;Ee.Option=de,Ee.OptGroup=le;var Se=Ee},63569:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r={adjustX:1,adjustY:1},i=[0,0],o={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:i},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:i},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:i},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:i},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:i},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:i},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:i},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:i},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:i},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:i},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:i},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:i}}},64845:function(e,t,n){"use strict";n.d(t,{Z:function(){return nt}});var r=n(50189),i=n(25773),o=n(22951),a=n(91976),s=n(47169),c=n(28418),l=n(59180),u=n(64649),d=n(27378),p=n(31542),_=n(94068),f=n(98209),h=n(62738),m=n(79986),b=n(98212),g=n(98554),v=(0,d.forwardRef)((function(e,t){var n=e.didUpdate,r=e.getContainer,i=e.children,o=(0,d.useRef)(),a=(0,d.useRef)();(0,d.useImperativeHandle)(t,(function(){return{}}));var s=(0,d.useRef)(!1);return!s.current&&(0,g.Z)()&&(a.current=r(),o.current=a.current.parentNode,s.current=!0),(0,d.useEffect)((function(){null===n||void 0===n||n(e)})),(0,d.useEffect)((function(){return null===a.current.parentNode&&null!==o.current&&o.current.appendChild(a.current),function(){var e;null===(e=a.current)||void 0===e||null===(e=e.parentNode)||void 0===e||e.removeChild(a.current)}}),[]),a.current?p.createPortal(i,a.current):null})),w=n(60042),y=n.n(w);function k(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var x=n(8136),E=n(96535),S=n(62477),P=n(6958);function O(e){var t=e.prefixCls,n=e.motion,r=e.animation,i=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:i?{motionName:i}:null)}function C(e){var t=e.prefixCls,n=e.visible,o=e.zIndex,a=e.mask,s=e.maskMotion,c=e.maskAnimation,l=e.maskTransitionName;if(!a)return null;var u={};return(s||l||c)&&(u=(0,r.Z)({motionAppear:!0},O({motion:s,prefixCls:t,transitionName:l,animation:c}))),d.createElement(P.ZP,(0,i.Z)({},u,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return d.createElement("div",{style:{zIndex:o},className:y()("".concat(t,"-mask"),n)})}))}var T,j=n(33940);function A(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 D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e){return N="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},N(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}var R={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function L(){if(void 0!==T)return T;T="";var e=document.createElement("p").style;for(var t in R)t+"Transform"in e&&(T=t);return T}function M(){return L()?"".concat(L(),"TransitionProperty"):"transitionProperty"}function z(){return L()?"".concat(L(),"Transform"):"transform"}function Z(e,t){var n=M();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function F(e,t){var n=z();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var V,B=/matrix\((.*)\)/,U=/matrix3d\((.*)\)/;function G(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function q(e,t,n){var r=n;if("object"!==N(t))return"undefined"!==typeof r?("number"===typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):V(e,t);for(var i in t)t.hasOwnProperty(i)&&q(e,i,t[i])}function H(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var i=e.document;"number"!==typeof(n=i.documentElement[r])&&(n=i.body[r])}return n}function K(e){return H(e)}function W(e){return H(e,!0)}function $(e){var t=function(e){var t,n,r,i=e.ownerDocument,o=i.body,a=i&&i.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),r=Math.floor(t.top),{left:n-=a.clientLeft||o.clientLeft||0,top:r-=a.clientTop||o.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=K(r),t.top+=W(r),t}function Y(e){return null!==e&&void 0!==e&&e==e.window}
vendor: 9,125 bytes, line 1
1function X(e){return Y(e)?e.document:9===e.nodeType?e:e.ownerDocument}var J=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),Q=/^(top|right|bottom|left)$/;function ee(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function te(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function ne(e,t,n){"static"===q(e,"position")&&(e.style.position="relative");var r=-999,i=-999,o=ee("left",n),a=ee("top",n),s=te(o),c=te(a);"left"!==o&&(r=999),"top"!==a&&(i=999);var l,u="",d=$(e);("left"in t||"top"in t)&&(u=(l=e).style.transitionProperty||l.style[M()]||"",Z(e,"none")),"left"in t&&(e.style[s]="",e.style[o]="".concat(r,"px")),"top"in t&&(e.style[c]="",e.style[a]="".concat(i,"px")),G(e);var p=$(e),_={};for(var f in t)if(t.hasOwnProperty(f)){var h=ee(f,n),m="left"===f?r:i,b=d[f]-p[f];_[h]=h===f?m+b:m-b}q(e,_),G(e),("left"in t||"top"in t)&&Z(e,u);var g={};for(var v in t)if(t.hasOwnProperty(v)){var w=ee(v,n),y=t[v]-d[v];g[w]=v===w?_[w]+y:_[w]-y}q(e,g)}function re(e,t){var n=$(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(z());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(e),i={x:r.x,y:r.y};"left"in t&&(i.x=r.x+t.left-n.left),"top"in t&&(i.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(z());if(r&&"none"!==r){var i,o=r.match(B);o?((i=(o=o[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,i[5]=t.y,F(e,"matrix(".concat(i.join(","),")"))):((i=r.match(U)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,i[13]=t.y,F(e,"matrix3d(".concat(i.join(","),")")))}else F(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,i)}function ie(e,t){for(var n=0;n<e.length;n++)t(e[n])}function oe(e){return"border-box"===V(e,"boxSizing")}"undefined"!==typeof window&&(V=window.getComputedStyle?function(e,t,n){var r=n,i="",o=X(e);return(r=r||o.defaultView.getComputedStyle(e,null))&&(i=r.getPropertyValue(t)||r[t]),i}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(J.test(n)&&!Q.test(t)){var r=e.style,i=r.left,o=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,r.left="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r.left=i,e.runtimeStyle.left=o}return""===n?"auto":n});var ae=["margin","border","padding"];function se(e,t,n){var r,i={},o=e.style;for(r in t)t.hasOwnProperty(r)&&(i[r]=o[r],o[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(o[r]=i[r])}function ce(e,t,n){var r,i,o,a=0;for(i=0;i<t.length;i++)if(r=t[i])for(o=0;o<n.length;o++){var s=void 0;s="border"===r?"".concat(r).concat(n[o],"Width"):r+n[o],a+=parseFloat(V(e,s))||0}return a}var le={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function ue(e,t,n){var r=n;if(Y(e))return"width"===t?le.viewportWidth(e):le.viewportHeight(e);if(9===e.nodeType)return"width"===t?le.docWidth(e):le.docHeight(e);var i="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=oe(e),s=0;(null===o||void 0===o||o<=0)&&(o=void 0,(null===(s=V(e,t))||void 0===s||Number(s)<0)&&(s=e.style[t]||0),s=Math.floor(parseFloat(s))||0),void 0===r&&(r=a?1:-1);var c=void 0!==o||a,l=o||s;return-1===r?c?l-ce(e,["border","padding"],i):s:c?1===r?l:l+(2===r?-ce(e,["border"],i):ce(e,["margin"],i)):s+ce(e,ae.slice(r),i)}ie(["Width","Height"],(function(e){le["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],le["viewport".concat(e)](n))},le["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,i=r.body,o=r.documentElement[n];return"CSS1Compat"===r.compatMode&&o||i&&i[n]||o}}));var de={position:"absolute",visibility:"hidden",display:"block"};function pe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t[0];return 0!==i.offsetWidth?r=ue.apply(void 0,t):se(i,de,(function(){r=ue.apply(void 0,t)})),r}function _e(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}ie(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);le["outer".concat(t)]=function(t,n){return t&&pe(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];le[e]=function(t,r){var i=r;return void 0!==i?t?(oe(t)&&(i+=ce(t,["padding","border"],n)),q(t,e,i)):void 0:t&&pe(t,e,-1)}}));var fe={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:X,offset:function(e,t,n){if("undefined"===typeof t)return $(e);!function(e,t,n){if(n.ignoreShake){var r=$(e),i=r.left.toFixed(0),o=r.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(i===a&&o===s)return}n.useCssRight||n.useCssBottom?ne(e,t,n):n.useCssTransform&&z()in document.body.style?re(e,t):ne(e,t,n)}(e,t,n||{})},isWindow:Y,each:ie,css:q,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:_e,getWindowScrollLeft:function(e){return K(e)},getWindowScrollTop:function(e){return W(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)fe.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};_e(fe,le);var he=fe.getParent;function me(e){if(fe.isWindow(e)||9===e.nodeType)return null;var t,n=fe.getDocument(e).body,r=fe.css(e,"position");if(!("fixed"===r||"absolute"===r))return"html"===e.nodeName.toLowerCase()?null:he(e);for(t=he(e);t&&t!==n&&9!==t.nodeType;t=he(t))if("static"!==(r=fe.css(t,"position")))return t;return null}var be=fe.getParent;function ge(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=me(e),i=fe.getDocument(e),o=i.defaultView||i.parentWindow,a=i.body,s=i.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===s||"visible"===fe.css(r,"overflow")){if(r===a||r===s)break}else{var c=fe.offset(r);c.left+=r.clientLeft,c.top+=r.clientTop,n.top=Math.max(n.top,c.top),n.right=Math.min(n.right,c.left+r.clientWidth),n.bottom=Math.min(n.bottom,c.top+r.clientHeight),n.left=Math.max(n.left,c.left)}r=me(r)}var l=null;fe.isWindow(e)||9===e.nodeType||(l=e.style.position,"absolute"===fe.css(e,"position")&&(e.style.position="fixed"));var u=fe.getWindowScrollLeft(o),d=fe.getWindowScrollTop(o),p=fe.viewportWidth(o),_=fe.viewportHeight(o),f=s.scrollWidth,h=s.scrollHeight,m=window.getComputedStyle(a);if("hidden"===m.overflowX&&(f=o.innerWidth),"hidden"===m.overflowY&&(h=o.innerHeight),e.style&&(e.style.position=l),t||function(e){if(fe.isWindow(e)||9===e.nodeType)return!1;var t=fe.getDocument(e),n=t.body,r=null;for(r=be(e);r&&r!==n&&r!==t;r=be(r))if("fixed"===fe.css(r,"position"))return!0;return!1}(e))n.left=Math.max(n.left,u),n.top=Math.max(n.top,d),n.right=Math.min(n.right,u+p),n.bottom=Math.min(n.bottom,d+_);else{var b=Math.max(f,u+p);n.right=Math.min(n.right,b);var g=Math.max(h,d+_);n.bottom=Math.min(n.bottom,g)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function ve(e){var t,n,r;if(fe.isWindow(e)||9===e.nodeType){var i=fe.getWindow(e);t={left:fe.getWindowScrollLeft(i),top:fe.getWindowScrollTop(i)},n=fe.viewportWidth(i),r=fe.viewportHeight(i)}else t=fe.offset(e),n=fe.outerWidth(e),r=fe.outerHeight(e);return t.width=n,t.height=r,t}function we(e,t){var n=t.charAt(0),r=t.charAt(1),i=e.width,o=e.height,a=e.left,s=e.top;return"c"===n?s+=o/2:"b"===n&&(s+=o),"c"===r?a+=i/2:"r"===r&&(a+=i),{left:a,top:s}}function ye(e,t,n,r,i){var o=we(t,n[1]),a=we(e,n[0]),s=[a.left-o.left,a.top-o.top];return{left:Math.round(e.left-s[0]+r[0]-i[0]),top:Math.round(e.top-s[1]+r[1]-i[1])}}function ke(e,t,n){return e.left<n.left||e.left+t.width>n.right}function xe(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function Ee(e,t,n){var r=[];return fe.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Se(e,t){return e[t]=-e[t],e}function Pe(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function Oe(e,t){e[0]=Pe(e[0],t.width),e[1]=Pe(e[1],t.height)}function Ce(e,t,n,r){var i=n.points,o=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,c=n.source||e;o=[].concat(o),a=[].concat(a);var l={},u=0,d=ge(c,!(!(s=s||{})||!s.alwaysByViewport)),p=ve(c);Oe(o,p),Oe(a,t);var _=ye(p,t,i,o,a),f=fe.merge(p,_);if(d&&(s.adjustX||s.adjustY)&&r){if(s.adjustX&&ke(_,p,d)){var h=Ee(i,/[lr]/gi,{l:"r",r:"l"}),m=Se(o,0),b=Se(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(ye(p,t,h,m,b),p,d)||(u=1,i=h,o=m,a=b)}if(s.adjustY&&xe(_,p,d)){var g=Ee(i,/[tb]/gi,{t:"b",b:"t"}),v=Se(o,1),w=Se(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(ye(p,t,g,v,w),p,d)||(u=1,i=g,o=v,a=w)}u&&(_=ye(p,t,i,o,a),fe.mix(f,_));var y=ke(_,p,d),k=xe(_,p,d);if(y||k){var x=i;y&&(x=Ee(i,/[lr]/gi,{l:"r",r:"l"}
1)),k&&(x=Ee(i,/[tb]/gi,{t:"b",b:"t"})),i=x,o=n.offset||[0,0],a=n.targetOffset||[0,0]}l.adjustX=s.adjustX&&y,l.adjustY=s.adjustY&&k,(l.adjustX||l.adjustY)&&(f=function(e,t,n,r){var i=fe.clone(e),o={width:t.width,height:t.height};return r.adjustX&&i.left<n.left&&(i.left=n.left),r.resizeWidth&&i.left>=n.left&&i.left+o.width>n.right&&(o.width-=i.left+o.width-n.right),r.adjustX&&i.left+o.width>n.right&&(i.left=Math.max(n.right-o.width,n.left)),r.adjustY&&i.top<n.top&&(i.top=n.top),r.resizeHeight&&i.top>=n.top&&i.top+o.height>n.bottom&&(o.height-=i.top+o.height-n.bottom),r.adjustY&&i.top+o.height>n.bottom&&(i.top=Math.max(n.bottom-o.height,n.top)),fe.mix(i,o)}(_,p,d,l))}return f.width!==p.width&&fe.css(c,"width",fe.width(c)+f.width-p.width),f.height!==p.height&&fe.css(c,"height",fe.height(c)+f.height-p.height),fe.offset(c,{left:f.left,top:f.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:i,offset:o,targetOffset:a,overflow:l}}function Te(e,t,n){var r=n.target||t,i=ve(r),o=!function(e,t){var n=ge(e,t),r=ve(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport);return Ce(e,i,n,o)}Te.__getOffsetParent=me,Te.__getVisibleRectForElement=ge;var je=n(46882),Ae=n(5661),De=n(99664),Ne=n(97329);function Ie(e,t){var n=null,r=null;var i=new Ne.Z((function(e){var i=(0,x.Z)(e,1)[0].target;if(document.documentElement.contains(i)){var o=i.getBoundingClientRect(),a=o.width,s=o.height,c=Math.floor(a),l=Math.floor(s);n===c&&r===l||Promise.resolve().then((function(){t({width:c,height:l})})),n=c,r=l}}));return e&&i.observe(e),function(){i.disconnect()}}function Re(e){return"function"!==typeof e?null:e()}function Le(e){return"object"===(0,j.Z)(e)&&e?e:null}var Me=function(e,t){var n=e.children,r=e.disabled,i=e.target,o=e.align,a=e.onAlign,s=e.monitorWindowResize,c=e.monitorBufferTime,l=void 0===c?0:c,u=d.useRef({}),p=d.useRef(),_=d.Children.only(n),h=d.useRef({});h.current.disabled=r,h.current.target=i,h.current.align=o,h.current.onAlign=a;var g=function(e,t){var n=d.useRef(!1),r=d.useRef(null);function i(){window.clearTimeout(r.current)}return[function o(a){if(i(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,o()}),t);else{if(!1===e(a))return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,i()}]}((function(){var e=h.current,t=e.disabled,n=e.target,r=e.align,i=e.onAlign,o=p.current;if(!t&&n&&o){var a,s=Re(n),c=Le(n);u.current.element=s,u.current.point=c,u.current.align=r;var l=document.activeElement;return s&&(0,Ae.Z)(s)?a=Te(o,s,r):c&&(a=function(e,t,n){var r,i,o=fe.getDocument(e),a=o.defaultView||o.parentWindow,s=fe.getWindowScrollLeft(a),c=fe.getWindowScrollTop(a),l=fe.viewportWidth(a),u=fe.viewportHeight(a),d={left:r="pageX"in t?t.pageX:s+t.clientX,top:i="pageY"in t?t.pageY:c+t.clientY,width:0,height:0},p=r>=0&&r<=s+l&&i>=0&&i<=c+u,_=[n.points[0],"cc"];return Ce(e,d,D(D({},n),{},{points:_}),p)}(o,c,r)),function(e,t){e!==document.activeElement&&(0,f.Z)(t,e)&&"function"===typeof e.focus&&e.focus()}(l,o),i&&a&&i(o,a),!0}return!1}),l),v=(0,x.Z)(g,2),w=v[0],y=v[1],k=d.useState(),E=(0,x.Z)(k,2),S=E[0],P=E[1],O=d.useState(),C=(0,x.Z)(O,2),T=C[0],j=C[1];return(0,De.Z)((function(){P(Re(i)),j(Le(i))})),d.useEffect((function(){var e,t;u.current.element===S&&((e=u.current.point)===(t=T)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&(0,je.Z)(u.current.align,o)||w()})),d.useEffect((function(){return Ie(p.current,w)}),[p.current]),d.useEffect((function(){return Ie(S,w)}),[S]),d.useEffect((function(){r?y():w()}),[r]),d.useEffect((function(){if(s)return(0,b.Z)(window,"resize",w).remove}),[s]),d.useEffect((function(){return function(){y()}}),[]),d.useImperativeHandle(t,(function(){return{forceAlign:function(){return w(!0)}}})),d.isValidElement(_)&&(_=d.cloneElement(_,{ref:(0,m.sQ)(_.ref,p)})),_},ze=d.forwardRef(Me);ze.displayName="Align";var Ze=ze,Fe=n(11092),Ve=n(27791),Be=n(87643),Ue=["measure","alignPre","align",null,"motion"],Ge=d.forwardRef((function(e,t){var n=e.visible,o=e.prefixCls,a=e.className,s=e.style,c=e.children,l=e.zIndex,u=e.stretch,p=e.destroyPopupOnHide,f=e.forceRender,h=e.align,m=e.point,b=e.getRootDomNo
1de,g=e.getClassNameFromAlign,v=e.onAlign,w=e.onMouseEnter,k=e.onMouseLeave,E=e.onMouseDown,S=e.onTouchStart,C=e.onClick,T=(0,d.useRef)(),j=(0,d.useRef)(),A=(0,d.useState)(),D=(0,x.Z)(A,2),N=D[0],I=D[1],R=function(e){var t=d.useState({width:0,height:0}),n=(0,x.Z)(t,2),r=n[0],i=n[1];return[d.useMemo((function(){var t={};if(e){var n=r.width,i=r.height;-1!==e.indexOf("height")&&i?t.height=i:-1!==e.indexOf("minHeight")&&i&&(t.minHeight=i),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,r]),function(e){var t=e.offsetWidth,n=e.offsetHeight,r=e.getBoundingClientRect(),o=r.width,a=r.height;Math.abs(t-o)<1&&Math.abs(n-a)<1&&(t=o,n=a),i({width:t,height:n})}]}(u),L=(0,x.Z)(R,2),M=L[0],z=L[1];var Z=function(e,t){var n=(0,Be.Z)(null),r=(0,x.Z)(n,2),i=r[0],o=r[1],a=(0,d.useRef)();function s(e){o(e,!0)}function c(){_.Z.cancel(a.current)}return(0,d.useEffect)((function(){s("measure")}),[e]),(0,d.useEffect)((function(){"measure"===i&&t(),i&&(a.current=(0,_.Z)((0,Ve.Z)((0,Fe.Z)().mark((function e(){var t,n;return(0,Fe.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Ue.indexOf(i),(n=Ue[t+1])&&-1!==t&&s(n);case 3:case"end":return e.stop()}}),e)})))))}),[i]),(0,d.useEffect)((function(){return function(){c()}}),[]),[i,function(e){c(),a.current=(0,_.Z)((function(){s((function(e){switch(i){case"align":return"motion";case"motion":return"stable"}return e})),null===e||void 0===e||e()}))}]}(n,(function(){u&&z(b())})),F=(0,x.Z)(Z,2),V=F[0],B=F[1],U=(0,d.useState)(0),G=(0,x.Z)(U,2),q=G[0],H=G[1],K=(0,d.useRef)();function W(){var e;null===(e=T.current)||void 0===e||e.forceAlign()}function $(e,t){var n=g(t);N!==n&&I(n),H((function(e){return e+1})),"align"===V&&(null===v||void 0===v||v(e,t))}(0,De.Z)((function(){"alignPre"===V&&H(0)}),[V]),(0,De.Z)((function(){"align"===V&&(q<3?W():B((function(){var e;null===(e=K.current)||void 0===e||e.call(K)})))}),[q]);var Y=(0,r.Z)({},O(e));function X(){return new Promise((function(e){K.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=Y[e];Y[e]=function(e,n){return B(),null===t||void 0===t?void 0:t(e,n)}})),d.useEffect((function(){Y.motionName||"motion"!==V||B()}),[Y.motionName,V]),d.useImperativeHandle(t,(function(){return{forceAlign:W,getElement:function(){return j.current}}}));var J=(0,r.Z)((0,r.Z)({},M),{},{zIndex:l,opacity:"motion"!==V&&"stable"!==V&&n?0:void 0,pointerEvents:n||"stable"===V?void 0:"none"},s),Q=!0;null===h||void 0===h||!h.points||"align"!==V&&"stable"!==V||(Q=!1);var ee=c;return d.Children.count(c)>1&&(ee=d.createElement("div",{className:"".concat(o,"-content")},c)),d.createElement(P.ZP,(0,i.Z)({visible:n,ref:j,leavedClassName:"".concat(o,"-hidden")},Y,{onAppearPrepare:X,onEnterPrepare:X,removeOnLeave:p,forceRender:f}),(function(e,t){var n=e.className,i=e.style,s=y()(o,a,N,n);return d.createElement(Ze,{target:m||b,key:"popup",ref:T,monitorWindowResize:!0,disabled:Q,align:h,onAlign:$},d.createElement("div",{ref:t,className:s,onMouseEnter:w,onMouseLeave:k,onMouseDownCapture:E,onTouchStartCapture:S,onClick:C,style:(0,r.Z)((0,r.Z)({},i),J)},ee))}))}));Ge.displayName="PopupInner";var qe=Ge,He=d.forwardRef((function(e,t){var n=e.prefixCls,o=e.visible,a=e.zIndex,s=e.children,c=e.mobile,l=(c=void 0===c?{}:c).popupClassName,u=c.popupStyle,p=c.popupMotion,_=void 0===p?{}:p,f=c.popupRender,h=e.onClick,m=d.useRef();d.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return m.current}}}));var b=(0,r.Z)({zIndex:a},u),g=s;return d.Children.count(s)>1&&(g=d.createElement("div",{className:"".concat(n,"-content")},s)),f&&(g=f(g)),d.createElement(P.ZP,(0,i.Z)({visible:o,ref:m,removeOnLeave:!0},_),(function(e,t){var i=e.className,o=e.style,a=y()(n,l,i);return d.createElement("div",{ref:t,className:a,onClick:h,style:(0,r.Z)((0,r.Z)({},o),b)},g)}))}));He.displayName="MobilePopupInner";var Ke=He,We=["visible","mobile"],$e=d.forwardRef((function(e,t){var n=e.visible,o=e.mobile,a=(0,E.Z)(e,We),s=(0,d.useState)(n),c=(0,x.Z)(s,2),l=c[0],u=c[1],p=(0,d.useState)(!1),_=(0,x.Z)(p,2),f=_[0],h=_[1],m=(0,r.Z)((0,r.Z)({},a),{},{visible:l});(0,d.useEffect)((function(){u(n),n&&o&&h((0,S.Z)())}),[n,o]);var b=f?d.createElement(Ke,(0,i.Z)({},m,{mobile:o,ref:t})):d.createElement(qe,(0,i.Z)({},m,{ref:t}));return d.createElement("div",null,d.createElement(C,m),b)}
1));$e.displayName="Popup";var Ye=$e,Xe=d.createContext(null);function Je(){}function Qe(){return""}function et(e){return e?e.ownerDocument:window.document}var tt=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];var nt=function(e){var t=function(t){(0,c.Z)(g,t);var n=(0,l.Z)(g);function g(e){var t,r;return(0,o.Z)(this,g),t=n.call(this,e),(0,u.Z)((0,s.Z)(t),"popupRef",d.createRef()),(0,u.Z)((0,s.Z)(t),"triggerRef",d.createRef()),(0,u.Z)((0,s.Z)(t),"portalContainer",void 0),(0,u.Z)((0,s.Z)(t),"attachId",void 0),(0,u.Z)((0,s.Z)(t),"clickOutsideHandler",void 0),(0,u.Z)((0,s.Z)(t),"touchOutsideHandler",void 0),(0,u.Z)((0,s.Z)(t),"contextMenuOutsideHandler1",void 0),(0,u.Z)((0,s.Z)(t),"contextMenuOutsideHandler2",void 0),(0,u.Z)((0,s.Z)(t),"mouseDownTimeout",void 0),(0,u.Z)((0,s.Z)(t),"focusTime",void 0),(0,u.Z)((0,s.Z)(t),"preClickTime",void 0),(0,u.Z)((0,s.Z)(t),"preTouchTime",void 0),(0,u.Z)((0,s.Z)(t),"delayTimer",void 0),(0,u.Z)((0,s.Z)(t),"hasPopupMouseDown",void 0),(0,u.Z)((0,s.Z)(t),"onMouseEnter",(function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)})),(0,u.Z)((0,s.Z)(t),"onMouseMove",(function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)})),(0,u.Z)((0,s.Z)(t),"onMouseLeave",(function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),(0,u.Z)((0,s.Z)(t),"onPopupMouseEnter",(function(){t.clearDelayTimer()})),(0,u.Z)((0,s.Z)(t),"onPopupMouseLeave",(function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,f.Z)(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),(0,u.Z)((0,s.Z)(t),"onFocus",(function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))})),(0,u.Z)((0,s.Z)(t),"onMouseDown",(function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()})),(0,u.Z)((0,s.Z)(t),"onTouchStart",(function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()})),(0,u.Z)((0,s.Z)(t),"onBlur",(function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)})),(0,u.Z)((0,s.Z)(t),"onContextMenu",(function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)})),(0,u.Z)((0,s.Z)(t),"onContextMenuClose",(function(){t.isContextMenuToShow()&&t.close()})),(0,u.Z)((0,s.Z)(t),"onClick",(function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)})),(0,u.Z)((0,s.Z)(t),"onPopupMouseDown",(function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)})),(0,u.Z)((0,s.Z)(t),"onDocumentClick",(function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),i=t.getPopupDomNode();(0,f.Z)(r,n)&&!t.isContextMenuOnly()||(0,f.Z)(i,n)||t.hasPopupMouseDown||t.close()}})),(0,u.Z)((0,s.Z)(t),"getRootDomNode",(function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=(0,h.Z)(t.triggerRef.current);if(n)return n}catch(r){}return p.findDOMNode((0,s.Z)(t))})),(0,u.Z)((0,s.Z)(t),"getPopupClassNameFromAlign",(function(e){var n=[],r=t.props,i=r.popupPlacement,o=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,c=r.getPopupClassNameFromAlign;return i&&o&&n.push(function(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a];if(k(e[s].points,i,r))return"".concat(t,"-placement-").concat(s)}return""}(o,a,e,s)),c&&n.push(c(e)),n.join(" ")})),(0,u.Z)((0,s.Z)(t),"getComponent",(function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,o=e.popupClassName,a=e.onPopupAlign,s=e.popupMotion,c=e.popupAnimation,l=e.popupTransitionName,u=e.popupStyle,p=e.mask,_=e.maskAnimation,f=e.maskTransitionName,h=e.maskMotion,m=e.zIndex,b=e.popup,g=e.stretch,v=e.alignPoint,w=e.mobile,y=e.forceRender,k=e.onPopupClick,x=t.state,E=x.popupVisible,S=x.point,P=t.getPopupAlign(),O={};return t.isMouseEnterToShow()&&(O.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(O.onMouseLeave=t.onPopupMouseLeave),O.onMouseDown=t.onPopupMouseDown,O.onTouchStart=t.onPopupMouseDown,d.createElement(Ye,(0,i.Z)({prefixCls:n,destroyPopupOnHide:r,visible:E,point:v&&S,className:o,align:P,onAlign:a,animation:c,getClassNameFromAlign:t.getPopupClassNameFromAlign}
1,O,{stretch:g,getRootDomNode:t.getRootDomNode,style:u,mask:p,zIndex:m,transitionName:l,maskAnimation:_,maskTransitionName:f,maskMotion:h,ref:t.popupRef,motion:s,mobile:w,forceRender:y,onClick:k}),"function"===typeof b?b():b)})),(0,u.Z)((0,s.Z)(t),"attachParent",(function(e){_.Z.cancel(t.attachId);var n,r=t.props,i=r.getPopupContainer,o=r.getDocument,a=t.getRootDomNode();i?(a||0===i.length)&&(n=i(a)):n=o(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=(0,_.Z)((function(){t.attachParent(e)}))})),(0,u.Z)((0,s.Z)(t),"getContainer",(function(){if(!t.portalContainer){var e=(0,t.props.getDocument)(t.getRootDomNode()).createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",t.portalContainer=e}return t.attachParent(t.portalContainer),t.portalContainer})),(0,u.Z)((0,s.Z)(t),"setPoint",(function(e){t.props.alignPoint&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})})),(0,u.Z)((0,s.Z)(t),"handlePortalUpdate",(function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)})),(0,u.Z)((0,s.Z)(t),"triggerContextValue",{onPopupMouseDown:t.onPopupMouseDown}),r="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:r,popupVisible:r},tt.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}
1return(0,a.Z)(g,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=(0,b.Z)(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=(0,b.Z)(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=(0,b.Z)(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=(0,b.Z)(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),_.Z.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,i=e.builtinPlacements;return t&&i?function(e,t,n){var i=e[t]||{};return(0,r.Z)((0,r.Z)({},i),n)}(i,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,i=1e3*t;if(this.clearDelayTimer(),i){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),i)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,i=n.children,o=n.forceRender,a=n.alignPoint,s=n.className,c=n.autoDestroy,l=d.Children.only(i),u={key:"trigger"};this.isContextMenuToShow()?u.onContextMenu=this.onContextMenu:u.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(u.onClick=this.onClick,u.onMouseDown=this.onMouseDown,u.onTouchStart=this.onTouchStart):(u.onClick=this.createTwoChains("onClick"),u.onMouseDown=this.createTwoChains("onMouseDown"),u.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(u.onMouseEnter=this.onMouseEnter,a&&(u.onMouseMove=this.onMouseMove)):u.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?u.onMouseLeave=this.onMouseLeave:u.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(u.onFocus=this.onFocus,u.onBlur=this.onBlur):(u.onFocus=this.createTwoChains("onFocus"),u.onBlur=this.createTwoChains("onBlur"));var p=y()(l&&l.props&&l.props.className,s);p&&(u.className=p);var _=(0,r.Z)({},u);(0,m.Yr)(l)&&(_.ref=(0,m.sQ)(this.triggerRef,l.ref));var f,h=d.cloneElement(l,_);return(t||this.popupRef.current||o)&&(f=d.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&c&&(f=null),d.createElement(Xe.Provider,{value:this.triggerContextValue},h,f)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),g}(d.Component);return(0,u.Z)(t,"contextType",Xe),(0,u.Z)(t,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Qe,getDocument:et,onPopupVisibleChange:Je,afterPopupVisibleChange:Je,onPopupAlign:Je,popupClassName:"",mouseEnterDelay:0,mou
1seLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),t}(v)},27406:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(27378),i=n(11349);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(o(e)):(0,i.isFragment)(e)&&e.props?n=n.concat(o(e.props.children,t)):n.push(e))})),n}},98212:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(31542);function i(e,t,n,i){var o=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!==e&&void 0!==e&&e.addEventListener&&e.addEventListener(t,o,i),{remove:function(){null!==e&&void 0!==e&&e.removeEventListener&&e.removeEventListener(t,o,i)}}}},98554:function(e,t,n){"use strict";function r(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}n.d(t,{Z:function(){return r}})},98209: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}})},98628:function(e,t,n){"use strict";n.d(t,{hq:function(){return b},jL:function(){return h}});var r=n(98554),i=n(98209),o="data-rc-order",a="data-rc-priority",s="rc-util-key",c=new Map;function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):s}function u(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(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 _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var n=t.csp,i=t.prepend,s=t.priority,c=void 0===s?0:s,l=d(i),_="prependQueue"===l,f=document.createElement("style");f.setAttribute(o,l),_&&c&&f.setAttribute(a,"".concat(c)),null!==n&&void 0!==n&&n.nonce&&(f.nonce=null===n||void 0===n?void 0:n.nonce),f.innerHTML=e;var h=u(t),m=h.firstChild;if(i){if(_){var b=p(h).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(o)))return!1;var t=Number(e.getAttribute(a)||0);return c>=t}));if(b.length)return h.insertBefore(f,b[b.length-1].nextSibling),f}h.insertBefore(f,m)}else h.appendChild(f);return f}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=u(t);return p(n).find((function(n){return n.getAttribute(l(t))===e}))}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(e,t);if(n){var r=u(t);r.removeChild(n)}}function m(e,t){var n=c.get(e);if(!n||!(0,i.Z)(document,n)){var r=_("",t),o=r.parentNode;c.set(e,o),e.removeChild(r)}}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=u(n);m(r,n);var i=f(t,n);if(i){var o,a,s;if(null!==(o=n.csp)&&void 0!==o&&o.nonce&&i.nonce!==(null===(a=n.csp)||void 0===a?void 0:a.nonce))i.nonce=null===(s=n.csp)||void 0===s?void 0:s.nonce;return i.innerHTML!==e&&(i.innerHTML=e),i}var c=_(e,n);return c.setAttribute(l(n),t),c}},62738:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(27378),i=n(31542);function o(e){return function(e){return e instanceof HTMLElement||e instanceof SVGElement}(e)?e:e instanceof r.Component?i.findDOMNode(e):null}},5661: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 i=e.getBoundingClientRect(),o=i.width,a=i.height;if(o||a)return!0}}return!1}},78730: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_
1SIX: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)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-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},5245:function(e,t,n){"use strict";var r;n.d(t,{s:function(){return m},v:function(){return w}});var i,o=n(11092),a=n(27791),s=n(33940),c=n(50189),l=n(31542),u=(0,c.Z)({},r||(r=n.t(l,2))),d=u.version,p=u.render,_=u.unmountComponentAtNode;try{Number((d||"").split(".")[0])>=18&&(i=u.createRoot)}catch(k){}function f(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.Z)(t)&&(t.usingClientEntryPoint=e)}var h="__rc_react_root__";function m(e,t){i?function(e,t){f(!0);var n=t[h]||i(t);f(!1),n.render(e),t[h]=n}(e,t):function(e,t){p(e,t)}(e,t)}function b(e){return g.apply(this,arguments)}function g(){return(g=(0,a.Z)((0,o.Z)().mark((function e(t){return(0,o.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[h])||void 0===e||e.unmount(),delete t[h]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){_(e)}function w(e){return y.apply(this,arguments)}function y(){return(y=(0,a.Z)((0,o.Z)().mark((function e(t){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===i){e.next=2;break}return e.abrupt("return",b(t));case 2:v(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},80408:function(e,t,n){"use strict";var r;function i(e){if("undefined"===typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),i=n.style;i.position="absolute",i.top="0",i.left="0",i.pointerEvents="none",i.visibility="hidden",i.width="200px",i.height="150px",i.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var o=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;o===a&&(a=n.clientWidth),document.body.removeChild(n),r=o-a}return r}function o(e){var t=e.match(/^(.*)px$/),n=Number(null===t||void 0===t?void 0:t[1]);return Number.isNaN(n)?i():n}function a(e){if("undefined"===typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:o(n),height:o(r)}}n.d(t,{Z:function(){return i},o:function(){return a}})},44771:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(27378);function i(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}},99664:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(27378),i=(0,n(98554).Z)()?r.useLayoutEffect:r.useEffect,o=function(e,t){var n=r.useRef(!0);i((function(){return e(n.current)}),t),i((function(){return n.current=!1,function(){n.current=!0}}),[])},a=function(e,t){o((function(t){if(!t)return e()}),t)};t.Z=o},8805:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(27378);function i(e,t,n){var i=r.useRef({});return"value"in i.current&&!n(i.current.condition,t)||(i.current.value=e(),i.current.condition=t),i.current.value}},24391:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(8136),i=n(44771),o=n(99664),a=n(87643);function s(e){return void 0!==e}function c(e,t){var n=t||{},c=n.defaultValue,l=n.value,u=n.onChange,d=n.postState,p=(0,a.Z)((function(){return s(l)?l:s(c)?"function"===typeof c?c():c:"function"===typeof e?e():e})),_=(0,r.Z)(p,2),f=_[0],h=_[1],m=void 0!==l?l:f,b=d?d(m):m,g=(0,i.Z)(u),v=(0,a.Z)([m]),w=(0,r.Z)(v,2),y=w[0],k=w[1];return(0,o.o)((function(){var e=y[0];f!==e&&g(f,e)}),[y]),(0,o.o)((function(){s(l)||h(l)}),[l]),[b,(0,i.Z)((function(e,t){h(e,t),k([m],t)}))]}},87643:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8136),i=n(27378);function o(e){var t=i.useRef(!1),n=i.useState(e),o=(0,r.Z)(n,2),a=o[0],s=o[1];return i.useEffect((function(){return t.current=!1,function(){t.current=!0}}
1),[]),[a,function(e,n){n&&t.current||s(e)}]}},46882:function(e,t,n){"use strict";var r=n(33940),i=n(74485);t.Z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=new Set;function a(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=o.has(e);if((0,i.ZP)(!c,"Warning: There may be circular references"),c)return!1;if(e===t)return!0;if(n&&s>1)return!1;o.add(e);var l=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],l))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],l)}))}return!1}return a(e,t)}},62477: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?void 0:e.substr(0,4))}},42445:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(50189);function i(e,t){var n=(0,r.Z)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},91864:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i="".concat("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"," ").concat("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").split(/[\s\n]+/),o="aria-",a="data-";function s(e,t){return 0===e.indexOf(t)}function c(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 c={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||s(n,o))||t.data&&s(n,a)||t.attr&&i.includes(n))&&(c[n]=e[n])})),c}},94068: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 i=0,o=new Map;function a(e){o.delete(e)}var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=i+=1;function s(t){if(0===t)a(r),e();else{var i=n((function(){s(t-1)}));o.set(r,i)}}return s(t),r};s.cancel=function(e){var t=o.get(e);return a(e),r(t)},t.Z=s},79986:function(e,t,n){"use strict";n.d(t,{Yr:function(){return l},mH:function(){return a},sQ:function(){return s},x1:function(){return c}});var r=n(33940),i=(n(27378),n(11349)),o=n(8805);function a(e,t){"function"===typeof e?e(t):"object"===(0,r.Z)(e)&&e&&"current"in e&&(e.current=t)}function s(){for(var e=arguments.length,t=new 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){a(t,e)}))}}function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.Z)((function(){return s.apply(void 0,t)}),t,(function(e,t){return e.length!==t.length||e.every((function(e,n){return e!==t[n]}))}))}function l(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)&&!!("function"!==typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render)}},2833:function(e,t,n){"use strict";function r(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null===n||void 0===n)return;n=n[t[r]]}return n}n.d(t,{Z:function(){return r}})},16275:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(50189),i=n(13285),o=n(62173),a=n(2833);function s(e,t,n,a){if(!t.length)return n;var c,l=(0,o.Z)(t),u=l[0],d=l.slice(1);return c=e||"number"!==typeof u?Array.isArray(e)?(0,i.Z)(e):(0,r.Z)({},e):[],a&&void 0===n&&1===d.length?delete c[u][d[0]]:c[u]=s(c[u],d,n,a),c}
1function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,a.Z)(e,t.slice(0,-1))?e:s(e,t,n,r)}"undefined"===typeof Reflect?Object.keys:Reflect.ownKeys},74485:function(e,t,n){"use strict";n.d(t,{Kp:function(){return o}});var r={},i=[];function o(e,t){}function a(e,t){}function s(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function c(e,t){s(o,e,t)}c.preMessage=function(e){i.push(e)},c.resetWarned=function(){r={}},c.noteOnce=function(e,t){s(a,e,t)},t.ZP=c},96232:function(e,t){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function b(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case p:case _:return e;default:switch(e=e&&e.$$typeof){case u:case l:case d:case h:case f:case c:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.isFragment=function(e){return b(e)===o},t.isMemo=function(e){return b(e)===f}},11349:function(e,t,n){"use strict";e.exports=n(96232)},96218:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(25773),i=n(50189),o=n(33940),a=n(8136),s=n(64649),c=n(96535),l=n(27378),u=n(31542),d=n(60042),p=n.n(d),_=n(98442),f=l.forwardRef((function(e,t){var n,o=e.height,a=e.offsetY,c=e.offsetX,u=e.children,d=e.prefixCls,f=e.onInnerResize,h=e.innerProps,m=e.rtl,b=e.extra,g={},v={display:"flex",flexDirection:"column"};void 0!==a&&(g={height:o,position:"relative",overflow:"hidden"},v=(0,i.Z)((0,i.Z)({},v),{},(n={transform:"translateY(".concat(a,"px)")},(0,s.Z)(n,m?"marginRight":"marginLeft",-c),(0,s.Z)(n,"position","absolute"),(0,s.Z)(n,"left",0),(0,s.Z)(n,"right",0),(0,s.Z)(n,"top",0),n)));return l.createElement("div",{style:g},l.createElement(_.Z,{onResize:function(e){e.offsetHeight&&f&&f()}},l.createElement("div",(0,r.Z)({style:v,className:p()((0,s.Z)({},"".concat(d,"-holder-inner"),d)),ref:t},h),u,b)))}));f.displayName="Filler";var h=f,m=n(94068);function b(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var g=l.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.rtl,c=e.scrollOffset,u=e.scrollRange,d=e.onStartMove,_=e.onStopMove,f=e.onScroll,h=e.horizontal,g=e.spinSize,v=e.containerSize,w=e.style,y=e.thumbStyle,k=l.useState(!1),x=(0,a.Z)(k,2),E=x[0],S=x[1],P=l.useState(null),O=(0,a.Z)(P,2),C=O[0],T=O[1],j=l.useState(null),A=(0,a.Z)(j,2),D=A[0],N=A[1],I=!o,R=l.useRef(),L=l.useRef(),M=l.useState(!1),z=(0,a.Z)(M,2),Z=z[0],F=z[1],V=l.useRef(),B=function(){clearTimeout(V.current),F(!0),V.current=setTimeout((function(){F(!1)}),3e3)},U=u-v||0,G=v-g||0,q=U>0,H=l.useMemo((function(){return 0===c||0===U?0:c/U*G}),[c,U,G]),K=l.useRef({top:H,dragging:E,pageY:C,startTop:D});K.current={top:H,dragging:E,pageY:C,startTop:D};var W=function(e){S(!0),T(b(e,h)),N(K.current.top),d(),e.stopPropagation(),e.preventDefault()};l.useEffect((function(){var e=function(e){e.preventDefault()},t=R.current,n=L.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",W),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",W)}}),[]);var $=l.useRef();$.current=U;var Y=l.useRef();Y.current=G,l.useEffect((function(){if(E){var e,t=function(t){var n=K.current,r=n.dragging,i=n.pageY,o=n.startTop;if(m.Z.cancel(e),r){var a=b(t,h)-i,s=o;!I&&h?s-=a:s+=a;var c=$.current,l=Y.current,u=l?s/l:0,d=Math.ceil(u*c);d=Math.max(d,0),d=Math.min(d,c),e=(0,m.Z)((function(){f(d,h)}))}},n=function(){S(!1),_()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),m.Z.cancel(e)}}}),[E]),l.useEffect((function(){B()}),[c]),l.useImperativeHandle(t,(function(){return{delayHidden:B}}));var X="".concat(r,"-scrollbar"),J={position:"absolute",visibility:Z&&q?null:"hidden"},Q={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return h?(J.height=8,J.left=0,J.right=0,J.bottom=0,Q.height="100%",Q.width=g,I?Q.left=H:Q.right=H):(J.width=8,J.top=0,J.bottom=0,I?J.right=0:J.left=0,Q.width="100%",Q.height=g,Q.top=H),l.createElement("div",{ref:R,className:p()(X,(n={},(0,s.Z)(n,"".concat(X,"-horizontal"),h),(0,s.Z)(n,"".concat(X,"-vertical"),!h),(0,s.Z)(n,"".concat(X,"-visible"),Z),n)),style:(0,i.Z)((0,i.Z)({},J),w),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:B},l.createElement("div",{ref:L,className:p()("".concat(X,"-thumb"),(0,s.Z)({},"".concat(X,"-thumb-moving"),E)),style:(0,i.Z)((0,i.Z)({},Q),y),onMouseDown:W}))}));var v=g;function w(e){var t=e.children,n=e.setRef,r=l.useCallback((function(e){n(e)}),[]);return l.cloneElement(t,{ref:r})}var y=n(62738),k=n(22951),x=n(91976),E=function(){function e(){(0,k.Z)(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,x.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}();var S=n(99664),P=n(44771);n(24391),n(79986),n(16275),n(74485);function O(e,t,n){var r=l.useState(e),i=(0,a.Z)(r,2),o=i[0],s=i[1],c=l.useState(null),u=(0,a.Z)(c,2),d=u[0],p=u[1];return l.useEffect((function(){var r=function(e,t,n){var r,i,o=e.length,a=t.length;if(0===o&&0===a)return null;o<a?(r=e,i=t):(r=t,i=e);var s={__EMPTY_ITEM__:!0};function c(e){return void 0!==e?n(e):s}for(var l=null,u=1!==Math.abs(o-a),d=0;d<i.length;d+=1){var p=c(r[d]);
1if(p!==c(i[d])){l=d,u=u||p!==c(i[d+1]);break}}return null===l?null:{index:l,multiple:u}}(o||[],e||[],t);void 0!==(null===r||void 0===r?void 0:r.index)&&(null===n||void 0===n||n(r.index),p(e[r.index])),s(e)}),[e]),[d]}var C="object"===("undefined"===typeof navigator?"undefined":(0,o.Z)(navigator))&&/Firefox/i.test(navigator.userAgent),T=function(e,t){var n=(0,l.useRef)(!1),r=(0,l.useRef)(null);function i(){clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)}var o=(0,l.useRef)({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e<0&&o.current.top||e>0&&o.current.bottom;return t&&a?(clearTimeout(r.current),n.current=!1):a&&!n.current||i(),!n.current&&a}};function j(e,t,n,r,i){var o=(0,l.useRef)(0),a=(0,l.useRef)(null),s=(0,l.useRef)(null),c=(0,l.useRef)(!1),u=T(t,n);var d=(0,l.useRef)(null),p=(0,l.useRef)(null);return[function(t){if(e){m.Z.cancel(p.current),p.current=(0,m.Z)((function(){d.current=null}),2);var n=t.deltaX,l=t.deltaY,_=t.shiftKey,f=n,h=l;("sx"===d.current||!d.current&&_&&l&&!n)&&(f=l,h=0,d.current="sx");var b=Math.abs(f),g=Math.abs(h);null===d.current&&(d.current=r&&b>g?"x":"y"),"y"===d.current?function(e,t){m.Z.cancel(a.current),o.current+=t,s.current=t,u(t)||(C||e.preventDefault(),a.current=(0,m.Z)((function(){var e=c.current?10:1;i(o.current*e),o.current=0})))}(t,h):function(e,t){i(t,!0),C||e.preventDefault()}(t,f)}},function(t){e&&(c.current=t.detail===s.current)}]}function A(){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*100;return isNaN(n)&&(n=0),n=Math.max(n,20),n=Math.min(n,e/2),Math.floor(n)}var D=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],N=[],I={overflowY:"auto",overflowAnchor:"none"};function R(e,t){var n=e.prefixCls,d=void 0===n?"rc-virtual-list":n,f=e.className,b=e.height,g=e.itemHeight,k=e.fullHeight,x=void 0===k||k,C=e.style,R=e.data,L=e.children,M=e.itemKey,z=e.virtual,Z=e.direction,F=e.scrollWidth,V=e.component,B=void 0===V?"div":V,U=e.onScroll,G=e.onVirtualScroll,q=e.onVisibleChange,H=e.innerProps,K=e.extraRender,W=e.styles,$=(0,c.Z)(e,D),Y=!(!1===z||!b||!g),X=Y&&R&&(g*R.length>b||!!F),J="rtl"===Z,Q=p()(d,(0,s.Z)({},"".concat(d,"-rtl"),J),f),ee=R||N,te=(0,l.useRef)(),ne=(0,l.useRef)(),re=(0,l.useState)(0),ie=(0,a.Z)(re,2),oe=ie[0],ae=ie[1],se=(0,l.useState)(0),ce=(0,a.Z)(se,2),le=ce[0],ue=ce[1],de=(0,l.useState)(!1),pe=(0,a.Z)(de,2),_e=pe[0],fe=pe[1],he=function(){fe(!0)},me=function(){fe(!1)},be=l.useCallback((function(e){return"function"===typeof M?M(e):null===e||void 0===e?void 0:e[M]}),[M]),ge={getKey:be};function ve(e){ae((function(t){var n=function(e){var t=e;Number.isNaN(Ge.current)||(t=Math.min(t,Ge.current));return t=Math.max(t,0)}("function"===typeof e?e(t):e);return te.current.scrollTop=n,n}))}var we=(0,l.useRef)({start:0,end:ee.length}),ye=(0,l.useRef)(),ke=O(ee,be),xe=(0,a.Z)(ke,1)[0];ye.current=xe;var Ee=function(e,t,n){var r=l.useState(0),i=(0,a.Z)(r,2),o=i[0],s=i[1],c=(0,l.useRef)(new Map),u=(0,l.useRef)(new E),d=(0,l.useRef)();function p(){m.Z.cancel(d.current)}function _(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];p();var t=function(){c.current.forEach((function(e,t){if(e&&e.offsetParent){var n=(0,y.Z)(e),r=n.offsetHeight;u.current.get(t)!==r&&u.current.set(t,n.offsetHeight)}})),s((function(e){return e+1}))};e?t():d.current=(0,m.Z)(t)}return(0,l.useEffect)((function(){return p}),[]),[function(r,i){var o=e(r),a=c.current.get(o);i?(c.current.set(o,i),_()):c.current.delete(o),!a!==!i&&(i?null===t||void 0===t||t(r):null===n||void 0===n||n(r))},_,u.current,o]}(be,null,null),Se=(0,a.Z)(Ee,4),Pe=Se[0],Oe=Se[1],Ce=Se[2],Te=Se[3],je=l.useMemo((function(){if(!Y)return{scrollHeight:void 0,start:0,end:ee.length-1,offset:void 0};var e;if(!X)return{scrollHeight:(null===(e=ne.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:ee.length-1,offset:void 0};for(var t,n,r,i=0,o=ee.length,a=0;a<o;a+=1){var s=ee[a],c=be(s),l=Ce.get(c),u=i+(void 0===l?g:l);u>=oe&&void 0===t&&(t=a,n=i),u>oe+b&&void 0===r&&(r=a),i=u}return void 0===t&&(t=0,n=0,r=Math.ceil(b/g)),void 0===r&&(r=ee.length-1),{scrollHeight:i,start:t,end:r=Math.min(r+1,ee.length-1),offset:n}}),[X,Y,oe,ee,Te,b]),Ae=je.scrollHeight,De=je.start,Ne=je.end,Ie=je.offset;we.current.start=De,we.current.end=Ne;var Re=l.useState({width:0,height:b}),Le=(0,a.Z)(Re,2),Me=Le[0],ze=Le[1],Ze=(0,l.useRef)(),Fe=(0,l.useRef)(),Ve=l.useMemo((function(){return A(Me.width,F)}),[Me.width,F]),Be=l.useMemo((function(){return A(Me.height,Ae)}),[Me.height,Ae]),Ue=Ae-b,Ge=(0,l.useRef)(Ue);Ge.current=Ue;var qe=oe<=0,He=oe>=Ue,Ke=T(qe,He),We=function(){return{x:J?-le:le,y:oe}},$e=(0,l.useRef)(We()),Ye=(0,P.Z)((function(){if(G){var e=We();$e.current.x===e.x&&$e.current.y===e.y||(G(e),$e.current=e)}}));function Xe(e,t){var n=e;t?((0,u.flushSync)((function(){ue(n)})),Ye()):ve(n)}var Je=function(e){var t=e,n=F-Me.width;return t=Math.max(t,0),t=Math.min(t,n)},Qe=(0,P.Z)((function(e,t){t?((0,u.flushSync)((function(){ue((function(t){return Je(t+(J?-e:e))}))})),Ye()):ve((function(t){return t+e}))})),et=j(Y,qe,He,!!F,Qe),tt=(0,a.Z)(et,2),nt=tt[0],rt=tt[1];!function(e,t,n){var r,i=(0,l.useRef)(!1),o=(0,l.useRef)(0),a=(0,l.useRef)(null),s=(0,l.useRef)(null),c=function(e){if(i.current){var t=Math.ceil(e.touches[0].pageY),r=o.current-t;o.current=t,n(r)&&e.preventDefault(),clearInterval(s.current),s.current=setInterval((function(){(!n(r*=.9333333333333333,!0)||Math.abs(r)<=.1)&&clearInterval(s.current)}),16)}},u=function(){i.current=!1,r()},d=function(e){r(),1!==e.touches.length||i.current||(i.current=!0,o.current=Math.ceil(e.touches[0].pageY),a.current=e.target,a.
1current.addEventListener("touchmove",c),a.current.addEventListener("touchend",u))};r=function(){a.current&&(a.current.removeEventListener("touchmove",c),a.current.removeEventListener("touchend",u))},(0,S.Z)((function(){return e&&t.current.addEventListener("touchstart",d),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(s.current)}}),[e])}(Y,te,(function(e,t){return!Ke(e,t)&&(nt({preventDefault:function(){},deltaY:e}),!0)})),(0,S.Z)((function(){function e(e){Y&&e.preventDefault()}var t=te.current;return t.addEventListener("wheel",nt),t.addEventListener("DOMMouseScroll",rt),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",nt),t.removeEventListener("DOMMouseScroll",rt),t.removeEventListener("MozMousePixelScroll",e)}}),[Y]),(0,S.Z)((function(){F&&ue((function(e){return Je(e)}))}),[Me.width,F]);var it=function(){var e,t;null===(e=Ze.current)||void 0===e||e.delayHidden(),null===(t=Fe.current)||void 0===t||t.delayHidden()},ot=function(e,t,n,r,s,c,u,d){var p=l.useRef(),_=l.useState(null),f=(0,a.Z)(_,2),h=f[0],b=f[1];return(0,S.Z)((function(){if(h&&h.times<10){if(!e.current)return void b((function(e){return(0,i.Z)({},e)}));c();var o=h.targetAlign,a=h.originAlign,l=h.index,d=h.offset,p=e.current.clientHeight,_=!1,f=o,m=null;if(p){for(var g=o||a,v=0,w=0,y=0,k=Math.min(t.length-1,l),x=0;x<=k;x+=1){var E=s(t[x]);w=v;var S=n.get(E);v=y=w+(void 0===S?r:S)}for(var P="top"===g?d:p-d,O=k;O>=0;O-=1){var C=s(t[O]),T=n.get(C);if(void 0===T){_=!0;break}if((P-=T)<=0)break}switch(g){case"top":m=w-d;break;case"bottom":m=y-p+d;break;default:var j=e.current.scrollTop;w<j?f="top":y>j+p&&(f="bottom")}null!==m&&u(m),m!==h.lastTop&&(_=!0)}_&&b((0,i.Z)((0,i.Z)({},h),{},{times:h.times+1,targetAlign:f,lastTop:m}))}}),[h,e.current]),function(e){if(null!==e&&void 0!==e){if(m.Z.cancel(p.current),"number"===typeof e)u(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 s(t)===e.key}));var i=e.offset;b({times:0,index:n,offset:void 0===i?0:i,originAlign:r})}}else d()}}(te,ee,Ce,g,be,(function(){return Oe(!0)}),ve,it);l.useImperativeHandle(t,(function(){return{getScrollInfo:We,scrollTo:function(e){var t;(t=e)&&"object"===(0,o.Z)(t)&&("left"in t||"top"in t)?(void 0!==e.left&&ue(Je(e.left)),ot(e.top)):ot(e)}}})),(0,S.Z)((function(){if(q){var e=ee.slice(De,Ne+1);q(e,ee)}}),[De,Ne,ee]);var at=function(e,t,n,r){var i=l.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),o=(0,a.Z)(i,2),s=o[0],c=o[1];return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,a=s.get(i),l=s.get(o);if(void 0===a||void 0===l)for(var u=e.length,d=c.length;d<u;d+=1){var p,_=e[d],f=t(_);s.set(f,d);var h=null!==(p=n.get(f))&&void 0!==p?p:r;if(c[d]=(c[d-1]||0)+h,f===i&&(a=d),f===o&&(l=d),void 0!==a&&void 0!==l)break}return{top:c[a-1]||0,bottom:c[l]}}}(ee,be,Ce,g),st=null===K||void 0===K?void 0:K({start:De,end:Ne,virtual:X,offsetX:le,offsetY:Ie,rtl:J,getSize:at}),ct=function(e,t,n,r,i,o,a){var s=a.getKey;return e.slice(t,n+1).map((function(e,n){var a=o(e,t+n,{style:{width:r}}),c=s(e);return l.createElement(w,{key:c,setRef:function(t){return i(e,t)}},a)}))}(ee,De,Ne,F,Pe,L,ge),lt=null;b&&(lt=(0,i.Z)((0,s.Z)({},x?"height":"maxHeight",b),I),Y&&(lt.overflowY="hidden",F&&(lt.overflowX="hidden"),_e&&(lt.pointerEvents="none")));var ut={};return J&&(ut.dir="rtl"),l.createElement("div",(0,r.Z)({style:(0,i.Z)((0,i.Z)({},C),{},{position:"relative"}),className:Q},ut,$),l.createElement(_.Z,{onResize:function(e){ze({width:e.width||e.offsetWidth,height:e.height||e.offsetHeight})}},l.createElement(B,{className:"".concat(d,"-holder"),style:lt,ref:te,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==oe&&ve(t),null===U||void 0===U||U(e),Ye()},onMouseEnter:it},l.createElement(h,{prefixCls:d,height:Ae,offsetX:le,offsetY:Ie,scrollWidth:F,onInnerResize:Oe,ref:ne,innerProps:H,rtl:J,extra:st},ct))),X&&Ae>b&&l.createElement(v,{ref:Ze,prefixCls:d,scrollOffset:oe,scrollRange:Ae,rtl:J,onScroll:Xe,onStartMove:he,onStopMove:me,spinSize:Be,containerSize:Me.height,style:null===W||void 0===W?void 0:W.verticalScrollBar,thumbStyle:null===W||void 0===W?void 0:W.verticalScrollBarThumb}),X&&F&&l.createElement(v,{ref:Fe,prefixCls:d,scrollOffset:le,scrollRange:F,rtl:J,onScroll:Xe,onStartMove:he,onStopMove:me,spinSize:Ve,containerSize:Me.width,horizontal:!0,style:null===W||void 0===W?void 0:W.horizontalScrollBar,thumbStyle:null===W||void 0===W?void 0:W.horizontalScrollBarThumb}))}var L=l.forwardRef(R);L.displayName="List";var M=L},11029: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},r(e)}var i=n(11808);function o(e){if(!i.existy(e))return null;if(i.not.string(e))throw new TypeError('Expected a string, got "'.concat(r(e),'"'));for(var t=e.split(",").map((function(e){var t=e.trim();if(t.includes(":")){var n=t.split(":");if(2===n.length)return n[0]}return t})),n=t.length-1;n>=0;n-=1)if(i.ip(t[n]))return t[n];return null}function a(e){if(e.headers){if(i.ip(e.headers["x-client-ip"]))return e.headers["x-client-ip"];var t=o(e.headers["x-forwarded-for"]);if(i.ip(t))return t;if(i.ip(e.headers["cf-connecting-ip"]))return e.headers["cf-connecting-ip"];
1if(i.ip(e.headers["fastly-client-ip"]))return e.headers["fastly-client-ip"];if(i.ip(e.headers["true-client-ip"]))return e.headers["true-client-ip"];if(i.ip(e.headers["x-real-ip"]))return e.headers["x-real-ip"];if(i.ip(e.headers["x-cluster-client-ip"]))return e.headers["x-cluster-client-ip"];if(i.ip(e.headers["x-forwarded"]))return e.headers["x-forwarded"];if(i.ip(e.headers["forwarded-for"]))return e.headers["forwarded-for"];if(i.ip(e.headers.forwarded))return e.headers.forwarded;if(i.ip(e.headers["x-appengine-user-ip"]))return e.headers["x-appengine-user-ip"]}if(i.existy(e.connection)){if(i.ip(e.connection.remoteAddress))return e.connection.remoteAddress;if(i.existy(e.connection.socket)&&i.ip(e.connection.socket.remoteAddress))return e.connection.socket.remoteAddress}return i.existy(e.socket)&&i.ip(e.socket.remoteAddress)?e.socket.remoteAddress:i.existy(e.info)&&i.ip(e.info.remoteAddress)?e.info.remoteAddress:i.existy(e.requestContext)&&i.existy(e.requestContext.identity)&&i.ip(e.requestContext.identity.sourceIp)?e.requestContext.identity.sourceIp:i.existy(e.raw)?a(e.raw):null}e.exports={getClientIpFromXForwardedFor:o,getClientIp:a,mw:function(e){var t=i.not.existy(e)?{}:e;if(i.not.object(t))throw new TypeError("Options must be an object!");var n=t.attributeName||"clientIp";return function(e,t,r){var i=a(e);Object.defineProperty(e,n,{get:function(){return i},configurable:!0}),r()}}}},97329: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 i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,o="undefined"!==typeof 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"===typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&c()}function s(){a(o)}function c(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return c}(this.refresh.bind(this),20)}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(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(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(){i&&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;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
1w e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},p=g(0,0,0,0);function _(e){return parseFloat(e)||0}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+_(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=_(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=_(r.width),c=_(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=f(r,"left","right")+o),Math.round(c+a)!==n&&(c-=f(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var l=Math.round(s+o)-t,u=Math.round(c+a)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(u)&&(c-=u)}return g(i.left,i.top,s,c)}var m="undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"===typeof e.getBBox};function b(e){return i?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):h(e):p}function g(e,t,n,r){return{x:e,y:t,width:n,height:r}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(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}(),w=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return u(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}(t);u(this,{target:e,contentRect:n})},y=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof e)throw new 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 new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new 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 w(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}(),k="undefined"!==typeof WeakMap?new WeakMap:new r,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new y(t,n,this);k.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var E="undefined"!==typeof o.ResizeObserver?o.ResizeObserver:x;t.Z=E},89400:function(e){"use strict";e.exports=(e,t)=>{if("string"!==typeof e||"string"!==typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},29742:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},62994:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(27192);function i(e,t){void 0===t&&(t={});var n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return"undefined"===typeof t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(r){}return e}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"===typeof e?r.Q(e,t):"object"===typeof e&&null!==e?e:{}}(e,t),new Promise((function(){n.HAS_DOCUMENT_COOKIE="object"===typeof document&&"string"===typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=r.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),i(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]=i(this.cookies[r],e);return n},e.prototype.set=function(e,t,n){var i;"object"===typeof t&&(t=JSON.stringify(t)),this.cookies=o(o({},this.cookies),((i={})[e]=t,i)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.q(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=o(o({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0}
1);this.cookies=o({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.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}()},27192:function(e,t){"use strict";t.Q=function(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");for(var r={},i=t||{},a=e.split(";"),s=i.decode||n,c=0;c<a.length;c++){var l=a[c],u=l.indexOf("=");if(!(u<0)){var d=l.substring(0,u).trim();if(void 0==r[d]){var p=l.substring(u+1,l.length).trim();'"'===p[0]&&(p=p.slice(1,-1)),r[d]=o(p,s)}}}return r},t.q=function(e,t,n){var o=n||{},a=o.encode||r;if("function"!==typeof a)throw new TypeError("option encode is invalid");if(!i.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(o.domain){if(!i.test(o.domain))throw new TypeError("option domain is invalid");c+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw new TypeError("option path is invalid");c+="; Path="+o.path}if(o.expires){if("function"!==typeof o.expires.toUTCString)throw new TypeError("option expires is invali
1d");c+="; Expires="+o.expires.toUTCString()}o.httpOnly&&(c+="; HttpOnly");o.secure&&(c+="; Secure");if(o.sameSite){switch("string"===typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return c};var n=decodeURIComponent,r=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function o(e,t){try{return t(e)}catch(n){return e}}},52304: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}},1793:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},66470:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},47169:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},27791:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,c,"next",e)}function c(e){r(a,i,o,s,c,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return i}})},22951:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},91976:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1607);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},59180:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return s}});var i=n(33940),o=n(47169);function a(e,t){if(t&&("object"===(0,i.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}function s(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var n,i=r(e);if(t){var o=r(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return a(this,n)}}},64649:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1607);function i(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}},25773: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},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},28418: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},r(e,t)}function i(e,t){if("function"!==typeof t&&null!==t)throw new 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&&r(e,t)}n.d(t,{Z:function(){return i}})},55181: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}})},53764:function(e,t,n){"use strict";
vendor: 5,953 bytes, line 1
1function r(){throw new 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}})},50189:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(64649);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 o(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){(0,r.Z)(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}},96535:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Z:function(){return r}})},11092:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(33940);function i(){i=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=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 p(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),s=new A(r||[]);return a(o,"_invoke",{value:O(e,n,s)}),o}function _(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f="suspendedStart",h="executing",m="completed",b={};function g(){}function v(){}function w(){}var y={};d(y,c,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(D([])));x&&x!==n&&o.call(x,c)&&(y=x);var E=w.prototype=g.prototype=Object.create(y);function S(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(i,a,s,c){var l=_(e[i],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==(0,r.Z)(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,c)}))}c(l.arg)}var i;a(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function O(t,n,r){var i=f;return function(o,a){if(i===h)throw new Error("Generator is already running");if(i===m){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=C(s,r);if(c){if(c===b)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=h;var l=_(t,n,r);if("normal"===l.type){if(i=r.done?m:"suspendedYield",l.arg===b)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=m,r.method="throw",r.arg=l.arg)}}}function C(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var o=_(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,b;var a=o.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,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function T(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(o.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError((0,r.Z)(t)+" is not iterable")}return v.prototype=w,a(E,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:v,configurable:!0}),v.displayName=d(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,u,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},S(P.prototype),d(P.prototype,l,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new P(p(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(E),d(E,u,"Generator"),d(E,c,(function(){return this})),d(E,"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=D,A.prototype={constructor:A,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.forEac
1h(j),!t)for(var n in this)"t"===n.charAt(0)&&o.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,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new 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&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):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),b},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),j(n),b}},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 i=r.arg;j(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},8136:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(66470);var i=n(64013),o=n(53764);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||(0,i.Z)(e,t)||(0,o.Z)()}},62173:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(66470),i=n(55181),o=n(64013),a=n(53764);function s(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},13285:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(1793);var i=n(55181),o=n(64013);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1607:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(33940);function i(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:String(t)}},33940: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},r(e)}n.d(t,{Z:function(){return r}})},64013:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1793);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.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}}},76949:function(e,t,n){"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{M:function(){return r}})},62921:function(e,t,n){"use strict";n.d(t,{F:function(){return o},e:function(){return a}});var r=n(27378);function i(e,t){if("function"===typeof e)return e(t);null!==e&&void 0!==e&&(e.current=t)}function o(...e){return t=>{let n=!1;const r=e.map((e=>{const r=i(e,t);return n||"function"!=typeof r||(n=!0),r}));if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function a(...e){return r.useCallback(o(...e),e)}},13958:function(e,t,n){"use strict";n.d(t,{b:function(){return a},k:function(){return o}});var r=n(27378),i=n(24246);function o(e,t){const n=r.createContext(t),o=e=>{const{children:t,...o}=e,a=r.useMemo((()=>o),Object.values(o));return(0,i.jsx)(n.Provider,{value:a,children:t})};return o.displayName=e+"Provider",[o,function(i){const o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}]}function a(e,t=[]){let n=[];const o=()=>{const t=n.map((e=>r.createContext(e)));return function(n){const i=n?.[e]||t;return r.useMemo((()=>({[`__scope${e}`]:{...n,[e]:i}})),[n,i])}};return o.scopeName=e,[function(t,o){const a=r.createContext(o),s=n.length;n=[...n,o];const c=t=>{const{scope:n,children:o,...c}=t,l=n?.[e]?.[s]||a,u=r.useMemo((()=>
vendor: 4,999 bytes, line 1
1c),Object.values(c));return(0,i.jsx)(l.Provider,{value:u,children:o})};return c.displayName=t+"Provider",[c,function(n,i){const c=i?.[e]?.[s]||a,l=r.useContext(c);if(l)return l;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},s(o,...t)]}function s(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const i=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return r.useMemo((()=>({[`__scope${t.scopeName}`]:i})),[i])}};return n.scopeName=t.scopeName,n}},11901:function(e,t,n){"use strict";n.d(t,{x8:function(){return kt},VY:function(){return vt},dk:function(){return yt},aV:function(){return gt},h_:function(){return bt},fC:function(){return ht},Dx:function(){return wt},xz:function(){return mt}});var r=n(27378),i=n(76949),o=n(62921),a=n(13958),s=n(24395),c=n(37517),l=n(23392);function u(e){const t=r.useRef(e);return r.useEffect((()=>{t.current=e})),r.useMemo((()=>(...e)=>t.current?.(...e)),[])}var d,p=n(24246),_="dismissableLayer.update",f="dismissableLayer.pointerDownOutside",h="dismissableLayer.focusOutside",m=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),b=r.forwardRef(((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:b,onDismiss:g,...y}=e,k=r.useContext(m),[x,E]=r.useState(null),S=x?.ownerDocument??globalThis?.document,[,P]=r.useState({}),O=(0,o.e)(t,(e=>E(e))),C=Array.from(k.layers),[T]=[...k.layersWithOutsidePointerEventsDisabled].slice(-1),j=C.indexOf(T),A=x?C.indexOf(x):-1,D=k.layersWithOutsidePointerEventsDisabled.size>0,N=A>=j,I=function(e,t=globalThis?.document){const n=u(e),i=r.useRef(!1),o=r.useRef((()=>{}));return r.useEffect((()=>{const e=e=>{if(e.target&&!i.current){let r=function(){w(f,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);i.current=!1},r=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>i.current=!0}}((e=>{const t=e.target,n=[...k.branches].some((e=>e.contains(t)));N&&!n&&(s?.(e),b?.(e),e.defaultPrevented||g?.())}),S),R=function(e,t=globalThis?.document){const n=u(e),i=r.useRef(!1);return r.useEffect((()=>{const e=e=>{if(e.target&&!i.current){w(h,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}((e=>{const t=e.target;[...k.branches].some((e=>e.contains(t)))||(c?.(e),b?.(e),e.defaultPrevented||g?.())}),S);return function(e,t=globalThis?.document){const n=u(e);r.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})}),[n,t])}((e=>{A===k.layers.size-1&&(a?.(e),!e.defaultPrevented&&g&&(e.preventDefault(),g()))}),S),r.useEffect((()=>{if(x)return n&&(0===k.layersWithOutsidePointerEventsDisabled.size&&(d=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),k.layersWithOutsidePointerEventsDisabled.add(x)),k.layers.add(x),v(),()=>{n&&1===k.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=d)}}),[x,S,n,k]),r.useEffect((()=>()=>{x&&(k.layers.delete(x),k.layersWithOutsidePointerEventsDisabled.delete(x),v())}),[x,k]),r.useEffect((()=>{const e=()=>P({});return document.addEventListener(_,e),()=>document.removeEventListener(_,e)}),[]),(0,p.jsx)(l.WV.div,{...y,ref:O,style:{pointerEvents:D?N?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,R.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,I.onPointerDownCapture)})}));b.displayName="DismissableLayer";var g=r.forwardRef(((e,t)=>{const n=r.useContext(m),i=r.useRef(null),a=(0,o.e)(t,i);return r.useEffect((()=>{const e=i.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),(0,p.jsx)(l.WV.div,{...e,ref:a})}));function v(){const e=new CustomEvent(_);document.dispatchEvent(e)}function w(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,l.jH)(i,o):i.dispatchEvent(o)}g.displayName="DismissableLayerBranch";var y="focusScope.autoFocusOnMount",k="focusScope.autoFocusOnUnmount",x={bubbles:!1,cancelable:!0},E=r.forwardRef(((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:a,onUnmountAutoFocus:s,...c}=e,[d,_]=r.useState(null),f=u(a),h=u(s),m=r.useRef(null),b=(0,o.e)(t,(e=>_(e))),g=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect((()=>
1{if(i){let e=function(e){if(g.paused||!d)return;const t=e.target;d.contains(t)?m.current=t:C(m.current,{select:!0})},t=function(e){if(g.paused||!d)return;const t=e.relatedTarget;null!==t&&(d.contains(t)||C(m.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&C(d)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return d&&r.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}),[i,d,g.paused]),r.useEffect((()=>{if(d){T.add(g);const t=document.activeElement;if(!d.contains(t)){const n=new CustomEvent(y,x);d.addEventListener(y,f),d.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(C(r,{select:t}),document.activeElement!==n)return}((e=S(d),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&C(d))}return()=>{d.removeEventListener(y,f),setTimeout((()=>{const e=new CustomEvent(k,x);d.addEventListener(k,h),d.dispatchEvent(e),e.defaultPrevented||C(t??document.body,{select:!0}),d.removeEventListener(k,h),T.remove(g)}),0)}}var e}),[d,f,h,g]);const v=r.useCallback((e=>{if(!n&&!i)return;if(g.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[i,o]=function(e){const t=S(e),n=P(t,e),r=P(t.reverse(),e);return[n,r]}(t);i&&o?e.shiftKey||r!==o?e.shiftKey&&r===i&&(e.preventDefault(),n&&C(o,{select:!0})):(e.preventDefault(),n&&C(i,{select:!0})):r===t&&e.preventDefault()}}),[n,i,g.paused]);return(0,p.jsx)(l.WV.div,{tabIndex:-1,...c,ref:b,onKeyDown:v})}));function S(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function P(e,t){for(const n of e)if(!O(n,{upTo:t}))return n}function O(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function C(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}E.displayName="FocusScope";var T=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=j(e,t),e.unshift(t)},remove(t){e=j(e,t),e[0]?.resume()}}}();function j(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var A=n(31542),D=n(39447),N=r.forwardRef(((e,t)=>{const{container:n,...i}=e,[o,a]=r.useState(!1);(0,D.b)((()=>a(!0)),[]);const s=n||o&&globalThis?.document?.body;return s?A.createPortal((0,p.jsx)(l.WV.div,{...i,ref:t}),s):null}));N.displayName="Portal";var I=n(13099),R=0;function L(){r.useEffect((()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??M()),document.body.insertAdjacentElement("beforeend",e[1]??M()),R++,()=>{1===R&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),R--}}),[])}function M(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var z=n(85556),Z="right-scroll-bar-position",F="width-before-scroll-bar";function V(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}var B="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,U=new WeakMap;function G(e,t){var n=function(e,t){var n=(0,r.useState)((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return V(e,t)}))}));return B((function(){var t=U.get(n);if(t){var r=new Set(t),i=new Set(e),o=n.current;r.forEach((function(e){i.has(e)||V(e,null)}
1)),i.forEach((function(e){r.has(e)||V(e,o)}))}U.set(n,e)}),[e]),n}function q(e){return e}function H(e,t){void 0===t&&(t=q);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter((function(e){return e!==i}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}var K=function(e){void 0===e&&(e={});var t=H(null);return t.options=(0,z.pi)({async:!0,ssr:!1},e),t}(),W=function(){},$=r.forwardRef((function(e,t){var n=r.useRef(null),i=r.useState({onScrollCapture:W,onWheelCapture:W,onTouchMoveCapture:W}),o=i[0],a=i[1],s=e.forwardProps,c=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,_=e.sideCar,f=e.noRelative,h=e.noIsolation,m=e.inert,b=e.allowPinchZoom,g=e.as,v=void 0===g?"div":g,w=e.gapMode,y=(0,z._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=_,x=G([n,t]),E=(0,z.pi)((0,z.pi)({},y),o);return r.createElement(r.Fragment,null,d&&r.createElement(k,{sideCar:K,removeScrollBar:u,shards:p,noRelative:f,noIsolation:h,inert:m,setCallbacks:a,allowPinchZoom:!!b,lockRef:n,gapMode:w}),s?r.cloneElement(r.Children.only(c),(0,z.pi)((0,z.pi)({},E),{ref:x})):r.createElement(v,(0,z.pi)({},E,{className:l,ref:x}),c))}));$.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},$.classNames={fullWidth:F,zeroRight:Z};var Y,X=function(e){var t=e.sideCar,n=(0,z._T)(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return r.createElement(i,(0,z.pi)({},n))};X.isSideCarExport=!0;function J(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Y||n.nc;return t&&e.setAttribute("nonce",t),e}var Q=function(){var e=0,t=null;return{add:function(n){var r,i;0==e&&(t=J())&&(i=n,(r=t).styleSheet?r.styleSheet.cssText=i:r.appendChild(document.createTextNode(i)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ee=function(){var e=function(){var e=Q();return function(t,n){r.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},te={left:0,top:0,right:0,gap:0},ne=function(e){return parseInt(e||"",10)||0},re=function(e){if(void 0===e&&(e="margin"),"undefined"===typeof window)return te;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[ne(n),ne(r),ne(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ie=ee(),oe="data-scroll-locked",ae=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(oe,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Z," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(F," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Z," .").concat(Z," {\n right: 0 ").concat(r,";\n }\n \n .").concat(F," .").concat(F," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(oe,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},se=function(){var e=parseInt(document.body.getAttribute(oe)||"0",10);return isFinite(e)?e:0},ce=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i;r.useEffect((function(){return document.body.setAttribute(oe,(se()+1).toString()),function(){var e=se()-1;e<=0?document.body.removeAttribute(oe):document.body.setAttribute(oe,e.toString())}}),[]);var a=r.useMemo((function(){return re(o)}),[o]);return r.createElement(ie,{styles:ae(a,!t,o,n?"":"!important")})},le=!1;if("undefined"!==typeof window)try{var ue=Object.defineProperty({},"passive",{get:function(){return le=!0,!0}});window.addEventListener("test",ue,ue),window.removeEventListener("test",ue,ue)}catch(xt){le=!1}var de=!!le&&{passive:!1},pe=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},_e=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),fe(e,r)){var i=he(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},fe=function(e,t){return"v"===e?function(e){return pe(e,"overflowY")}(t):function(e){return pe(e,"overflowX")}(t)},he=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},me=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},be=function(e){return[e.deltaX,e.deltaY]},ge=function(e){return e&&"current"in e?e.current:e},ve=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},we=0,ye=[];function ke(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var xe,Ee=(xe=function(e){var t=r.useRef([]),n=r.useRef([0,0]),i=r.useRef(),o=r.useState(we++)[0],a=r.useState(ee)[0],s=r.useRef(e);r.useEffect((function(){s.current=e}),[e]),r.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,z.ev)([e.lockRef.current],(e.shards||[]).map(ge),!0).filter(
1Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var c=r.useCallback((function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var r,o=me(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-o[0],l="deltaY"in e?e.deltaY:a[1]-o[1],u=e.target,d=Math.abs(c)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=_e(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=_e(d,u)),!p)return!1;if(!i.current&&"changedTouches"in e&&(c||l)&&(i.current=r),!r)return!0;var _=i.current||r;return function(e,t,n,r,i){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=o*r,s=n.target,c=t.contains(s),l=!1,u=a>0,d=0,p=0;do{if(!s)break;var _=he(e,s),f=_[0],h=_[1]-_[2]-o*f;(f||h)&&fe(e,s)&&(d+=h,p+=f);var m=s.parentNode;s=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&a>d)||!u&&(i&&Math.abs(p)<1||!i&&-a>p))&&(l=!0),l}(_,t,e,"h"===_?c:l,!0)}),[]),l=r.useCallback((function(e){var n=e;if(ye.length&&ye[ye.length-1]===a){var r="deltaY"in n?be(n):me(n),i=t.current.filter((function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i}))[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(ge).filter(Boolean).filter((function(e){return e.contains(n.target)}));(o.length>0?c(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),u=r.useCallback((function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:ke(r)};t.current.push(o),setTimeout((function(){t.current=t.current.filter((function(e){return e!==o}))}),1)}),[]),d=r.useCallback((function(e){n.current=me(e),i.current=void 0}),[]),p=r.useCallback((function(t){u(t.type,be(t),t.target,c(t,e.lockRef.current))}),[]),_=r.useCallback((function(t){u(t.type,me(t),t.target,c(t,e.lockRef.current))}),[]);r.useEffect((function(){return ye.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:_}),document.addEventListener("wheel",l,de),document.addEventListener("touchmove",l,de),document.addEventListener("touchstart",d,de),function(){ye=ye.filter((function(e){return e!==a})),document.removeEventListener("wheel",l,de),document.removeEventListener("touchmove",l,de),document.removeEventListener("touchstart",d,de)}}),[]);var f=e.removeScrollBar,h=e.inert;return r.createElement(r.Fragment,null,h?r.createElement(a,{styles:ve(o)}):null,f?r.createElement(ce,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},K.useMedium(xe),X),Se=r.forwardRef((function(e,t){return r.createElement($,(0,z.pi)({},e,{ref:t,sideCar:Ee}))}));Se.classNames=$.classNames;var Pe=Se,Oe=function(e){return"undefined"===typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},Ce=new WeakMap,Te=new WeakMap,je={},Ae=0,De=function(e){return e&&(e.host||De(e.parentNode))},Ne=function(e,t,n,r){var i=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=De(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);je[n]||(je[n]=new WeakMap);var o=je[n],a=[],s=new Set,c=new Set(i),l=function(e){e&&!s.has(e)&&(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){e&&!c.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,c=(Ce.get(e)||0)+1,l=(o.get(e)||0)+1;Ce.set(e,c),o.set(e,l),a.push(e),1===c&&i&&Te.set(e,!0),1===l&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(d){console.error("aria-hidden: cannot operate on ",e,d)}}))};return u(t),s.clear(),Ae++,function(){a.forEach((function(e){var t=Ce.get(e)-1,i=o.get(e)-1;Ce.set(e,t),o.set(e,i),t||(Te.has(e)||e.removeAttribute(r),Te.delete(e)),i||e.removeAttribute(n)})),--Ae||(Ce=new WeakMap,Ce=new WeakMap,Te=new WeakMap,je={})}},Ie=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||Oe(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),Ne(r,i,n,"aria-hidden")):function(){return null}},Re=n(54315),Le="Dialog",[Me,ze]=(0,a.b)(Le),[Ze,Fe]=Me(Le),Ve=e=>{const{__scopeDialog:t,children:n,open:i,defaultOpen:o,onOpenChange:a,modal:l=!0}=e,u=r.useRef(null),d=r.useRef(null),[_,f]=(0,c.T)({prop:i,defaultProp:o??!1,onChange:a,caller:Le});return(0,p.jsx)(Ze,{scope:t,triggerRef:u,contentRef:d,contentId:(0,s.M)(),titleId:(0,s.M)(),descriptionId:(0,s.M)(),open:_,onOpenChange:f,onOpenToggle:r.useCallback((()=>f((e=>!e))),[f]),modal:l,children:n})};Ve.displayName=Le;var Be="DialogTrigger",Ue=r.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=Fe(Be,n),s=(0,o.e)(t,a.triggerRef);return(0,p.jsx)(l.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":lt(a.open),...r,ref:s,onClick:(0,i.M)(e.onClick,a.onOpenToggle)})}
1));Ue.displayName=Be;var Ge="DialogPortal",[qe,He]=Me(Ge,{forceMount:void 0}),Ke=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:o}=e,a=Fe(Ge,t);return(0,p.jsx)(qe,{scope:t,forceMount:n,children:r.Children.map(i,(e=>(0,p.jsx)(I.z,{present:n||a.open,children:(0,p.jsx)(N,{asChild:!0,container:o,children:e})})))})};Ke.displayName=Ge;var We="DialogOverlay",$e=r.forwardRef(((e,t)=>{const n=He(We,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Fe(We,e.__scopeDialog);return o.modal?(0,p.jsx)(I.z,{present:r||o.open,children:(0,p.jsx)(Xe,{...i,ref:t})}):null}));$e.displayName=We;var Ye=(0,Re.Z8)("DialogOverlay.RemoveScroll"),Xe=r.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,i=Fe(We,n);return(0,p.jsx)(Pe,{as:Ye,allowPinchZoom:!0,shards:[i.contentRef],children:(0,p.jsx)(l.WV.div,{"data-state":lt(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})})),Je="DialogContent",Qe=r.forwardRef(((e,t)=>{const n=He(Je,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Fe(Je,e.__scopeDialog);return(0,p.jsx)(I.z,{present:r||o.open,children:o.modal?(0,p.jsx)(et,{...i,ref:t}):(0,p.jsx)(tt,{...i,ref:t})})}));Qe.displayName=Je;var et=r.forwardRef(((e,t)=>{const n=Fe(Je,e.__scopeDialog),a=r.useRef(null),s=(0,o.e)(t,n.contentRef,a);return r.useEffect((()=>{const e=a.current;if(e)return Ie(e)}),[]),(0,p.jsx)(nt,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,(e=>{e.preventDefault(),n.triggerRef.current?.focus()})),onPointerDownOutside:(0,i.M)(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:(0,i.M)(e.onFocusOutside,(e=>e.preventDefault()))})})),tt=r.forwardRef(((e,t)=>{const n=Fe(Je,e.__scopeDialog),i=r.useRef(!1),o=r.useRef(!1);return(0,p.jsx)(nt,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||n.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const r=t.target,a=n.triggerRef.current?.contains(r);a&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})})),nt=r.forwardRef(((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:s,...c}=e,l=Fe(Je,n),u=r.useRef(null),d=(0,o.e)(t,u);return L(),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(E,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:s,children:(0,p.jsx)(b,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":lt(l.open),...c,ref:d,onDismiss:()=>l.onOpenChange(!1)})}),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(_t,{titleId:l.titleId}),(0,p.jsx)(ft,{contentRef:u,descriptionId:l.descriptionId})]})]})})),rt="DialogTitle",it=r.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,i=Fe(rt,n);return(0,p.jsx)(l.WV.h2,{id:i.titleId,...r,ref:t})}));it.displayName=rt;var ot="DialogDescription",at=r.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,i=Fe(ot,n);return(0,p.jsx)(l.WV.p,{id:i.descriptionId,...r,ref:t})}));at.displayName=ot;var st="DialogClose",ct=r.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Fe(st,n);return(0,p.jsx)(l.WV.button,{type:"button",...r,ref:t,onClick:(0,i.M)(e.onClick,(()=>o.onOpenChange(!1)))})}));function lt(e){return e?"open":"closed"}ct.displayName=st;var ut="DialogTitleWarning",[dt,pt]=(0,a.k)(ut,{contentName:Je,titleName:rt,docsSlug:"dialog"}),_t=({titleId:e})=>{const t=pt(ut),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect((()=>{if(e){document.getElementById(e)||console.error(n)}}),[n,e]),null},ft=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${pt("DialogDescriptionWarning").contentName}}.`;return r.useEffect((()=>{const r=e.current?.getAttribute("aria-describedby");if(t&&r){document.getElementById(t)||console.warn(n)}}),[n,e,t]),null},ht=Ve,mt=Ue,bt=Ke,gt=$e,vt=Qe,wt=it,yt=at,kt=ct},24395:function(e,t,n){"use strict";var r;n.d(t,{M:function(){return c}});var i=n(27378),o=n(39447),a=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>{}),s=0;function c(e){const[t,n]=i.useState(a());return(0,o.b)((()=>{e||n((e=>e??String(s++)))}),[e]),e||(t?`radix-${t}`:"")}},13099:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(27378),i=n(62921),o=n(39447);var a=e=>{const{present:t,children:n}=e,a=function(e){const[t,n]=r.useState(),i=r.useRef(null),a=r.useRef(e),c=r.useRef("none"),l=e?"mounted":"unmounted",[u,d]=function(e,t){return r.useReducer(((e,n)=>t[e][n]??e),e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect((()=>{const e=s(i.current);c.current="mounted"===u?e:"none"}),[u]),(0,o.b)((()=>{const t=i.current,n=a.current;if(n!==e){const r=c.current,i=s(t);if(e)d("MOUNT");else if("none"===i||"none"===t?.display)d("UNMOUNT");else{const e=r!==i;d(n&&e?"ANIMATION_OUT":"UNMOUNT")}a.current=e}}),[e,d]),(0,o.b)((()=>
1{if(t){let e;const n=t.ownerDocument.defaultView??window,r=r=>{const o=s(i.current).includes(r.animationName);if(r.target===t&&o&&(d("ANIMATION_END"),!a.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout((()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)}))}},o=e=>{e.target===t&&(c.current=s(i.current))};return t.addEventListener("animationstart",o),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",o),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}d("ANIMATION_END")}),[t,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback((e=>{i.current=e?getComputedStyle(e):null,n(e)}),[])}}(t),c="function"===typeof n?n({present:a.isPresent}):r.Children.only(n),l=(0,i.e)(a.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(c));return"function"===typeof n||a.isPresent?r.cloneElement(c,{ref:l}):null};function s(e){return e?.animationName||"none"}a.displayName="Presence"},23392:function(e,t,n){"use strict";n.d(t,{WV:function(){return s},jH:function(){return c}});var r=n(27378),i=n(31542),o=n(54315),a=n(24246),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce(((e,t)=>{const n=(0,o.Z8)(`Primitive.${t}`),i=r.forwardRef(((e,r)=>{const{asChild:i,...o}=e,s=i?n:t;return"undefined"!==typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(s,{...o,ref:r})}));return i.displayName=`Primitive.${t}`,{...e,[t]:i}}),{});function c(e,t){e&&i.flushSync((()=>e.dispatchEvent(t)))}},54315:function(e,t,n){"use strict";n.d(t,{Z8:function(){return a}});var r=n(27378),i=n(62921),o=n(24246);function a(e){const t=s(e),n=r.forwardRef(((e,n)=>{const{children:i,...a}=e,s=r.Children.toArray(i),c=s.find(l);if(c){const e=c.props.children,i=s.map((t=>t===c?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t));return(0,o.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...a,ref:n,children:i})}));return n.displayName=`${e}.Slot`,n}function s(e){const t=r.forwardRef(((e,t)=>{const{children:n,...o}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),a=function(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{const t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(a.ref=t?(0,i.F)(t,e):e),r.cloneElement(n,a)}return r.Children.count(n)>1?r.Children.only(null):null}));return t.displayName=`${e}.SlotClone`,t}var c=Symbol("radix.slottable");function l(e){return r.isValidElement(e)&&"function"===typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}},37517:function(e,t,n){"use strict";var r;n.d(t,{T:function(){return s}});var i=n(27378),o=n(39447),a=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.b;function s({prop:e,defaultProp:t,onChange:n=(()=>{}),caller:r}){const[o,s,c]=function({defaultProp:e,onChange:t}){const[n,r]=i.useState(e),o=i.useRef(n),s=i.useRef(t);return a((()=>{s.current=t}),[t]),i.useEffect((()=>{o.current!==n&&(s.current?.(n),o.current=n)}),[n,o]),[n,r,s]}({defaultProp:t,onChange:n}),l=void 0!==e,u=l?e:o;{const t=i.useRef(void 0!==e);i.useEffect((()=>{const e=t.current;if(e!==l){const t=e?"controlled":"uncontrolled",n=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${t} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l}),[l,r])}const d=i.useCallback((t=>{if(l){const n=function(e){return"function"===typeof e}(t)?t(e):t;n!==e&&c.current?.(n)}else s(t)}),[l,e,s,c]);return[u,d]}Symbol("RADIX:SYNC_STATE")},39447:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(27378),i=globalThis?.document?r.useLayoutEffect:()=>{}},68697:function(e,t,n){"use strict";n.d(t,{ZP:function(){return a},ag:function(){return c}});var r=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,i=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4}
1)?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,o=/[^-+\dA-Z]/g;function a(e,t,n,i){if(1!==arguments.length||"string"!==typeof e||/\d/.test(e)||(t=e,e=void 0),(e=e||0===e?e:new Date)instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");var o=(t=String(s[t]||t||s.default)).slice(0,4);"UTC:"!==o&&"GMT:"!==o||(t=t.slice(4),n=!0,"GMT:"===o&&(i=!0));var a=function(){return n?"getUTC":"get"},f=function(){return e[a()+"Date"]()},h=function(){return e[a()+"Day"]()},m=function(){return e[a()+"Month"]()},b=function(){return e[a()+"FullYear"]()},g=function(){return e[a()+"Hours"]()},v=function(){return e[a()+"Minutes"]()},w=function(){return e[a()+"Seconds"]()},y=function(){return e[a()+"Milliseconds"]()},k=function(){return n?0:e.getTimezoneOffset()},x=function(){return d(e)},E=function(){return p(e)},S={d:function(){return f()},dd:function(){return l(f())},ddd:function(){return c.dayNames[h()]},DDD:function(){return u({y:b(),m:m(),d:f(),_:a(),dayName:c.dayNames[h()],short:!0})},dddd:function(){return c.dayNames[h()+7]},DDDD:function(){return u({y:b(),m:m(),d:f(),_:a(),dayName:c.dayNames[h()+7]})},m:function(){return m()+1},mm:function(){return l(m()+1)},mmm:function(){return c.monthNames[m()]},mmmm:function(){return c.monthNames[m()+12]},yy:function(){return String(b()).slice(2)},yyyy:function(){return l(b(),4)},h:function(){return g()%12||12},hh:function(){return l(g()%12||12)},H:function(){return g()},HH:function(){return l(g())},M:function(){return v()},MM:function(){return l(v())},s:function(){return w()},ss:function(){return l(w())},l:function(){return l(y(),3)},L:function(){return l(Math.floor(y()/10))},t:function(){return g()<12?c.timeNames[0]:c.timeNames[1]},tt:function(){return g()<12?c.timeNames[2]:c.timeNames[3]},T:function(){return g()<12?c.timeNames[4]:c.timeNames[5]},TT:function(){return g()<12?c.timeNames[6]:c.timeNames[7]},Z:function(){return i?"GMT":n?"UTC":_(e)},o:function(){return(k()>0?"-":"+")+l(100*Math.floor(Math.abs(k())/60)+Math.abs(k())%60,4)},p:function(){return(k()>0?"-":"+")+l(Math.floor(Math.abs(k())/60),2)+":"+l(Math.floor(Math.abs(k())%60),2)},S:function(){return["th","st","nd","rd"][f()%10>3?0:(f()%100-f()%10!=10)*f()%10]},W:function(){return x()},WW:function(){return l(x())},N:function(){return E()}};return t.replace(r,(function(e){return e in S?S[e]():e.slice(1,e.length-1)}))}var s={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},c={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return String(e).padStart(t,"0")},u=function(e){var t=e.y,n=e.m,r=e.d,i=e._,o=e.dayName,a=e.short,s=void 0!==a&&a,c=new Date,l=new Date;l.setDate(l[i+"Date"]()-1);var u=new Date;u.setDate(u[i+"Date"]()+1);return c[i+"FullYear"]()===t&&c[i+"Month"]()===n&&c[i+"Date"]()===r?s?"Tdy":"Today":l[i+"FullYear"]()===t&&l[i+"Month"]()===n&&l[i+"Date"]()===r?s?"Ysd":"Yesterday":u[i+"FullYear"]()===t&&u[i+"Month"]()===n&&u[i+"Date"]()===r?s?"Tmw":"Tomorrow":o},d=function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);var n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-r);var i=(t-n)/6048e5;return 1+Math.floor(i)},p=function(e){var t=e.getDay();return 0===t&&(t=7),t},_=function(e){return(String(e).match(i)||[""]).pop().replace(o,"").replace(/GMT\+0000/g,"UTC")}},77452:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},55732:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,c,"next",e)}function c(e){r(a,i,o,s,c,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return i}})},90849: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}n.d(t,{Z:function(){return r}})},90089:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Z:function(){return r}})},97865:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2279);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},73679:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(77452);var i=n(2279);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2279:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(77452);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.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}}},8191:function(e,t,n){"use strict";n.d(t,{a3:function(){return F},cC:function(){return M},Db:function(){return I},$G:function(){return Z}});var r=n(27378),i=n(52304),o=n.n(i),a=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function s(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(o()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var i=new RegExp(a),s=null;null!==(s=i.exec(e));)if(s[0].trim())if(s[1]){var c=s[1].trim(),l=[c,""];c.indexOf("=")>-1&&(l=c.split("=")),t.attrs[l[0]]=l[1],i.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var c=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,l=/^\s*$/,u=Object.create(null);function d(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(d,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var p={parse:function(e,t){t||(t={}),t.components||(t.components=u);var n,r=[],i=[],o=-1,a=!1;if(0!==e.indexOf("<")){var d=e.indexOf("<");r.push({type:"text",content:-1===d?e:e.substring(0,d)})}return e.replace(c,(function(c,u){if(a){if(c!=="</"+n.name+">")return;a=!1}var d,p="/"!==c.charAt(1),_=c.startsWith("\x3c!--"),f=u+c.length,h=e.charAt(f);if(_){var m=s(c);return o<0?(r.push(m),r):((d=i[o]).children.push(m),r)}if(p&&(o++,"tag"===(n=s(c)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!h||"<"===h||n.children.push({type:"text",content:e.slice(f,e.indexOf("<",f))}),0===o&&r.push(n),(d=i[o-1])&&d.children.push(n),i[o]=n),(!p||n.voidElement)&&(o>-1&&(n.voidElement||n.name===c.slice(2,-1))&&(o--,n=-1===o?r:i[o]),!a&&"<"!==h&&h)){d=-1===o?r:i[o].children;var b=e.indexOf("<",f),g=e.slice(f,-1===b?void 0:b);l.test(g)&&(g=" "),(b>-1&&o+d.length>=0||" "!==g)&&d.push({type:"text",content:g})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+d("",t)}),"")}},_=p;const f=(...e)=>{console?.warn&&(w(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},h={},m=(...e)=>{w(e[0])&&h[e[0]]||(w(e[0])&&(h[e[0]]=new Date),f(...e))},b=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}},g=(e,t,n)=>{e.loadNamespaces(t,b(e,n))},v=(e,t,n,r)=>{w(n)&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,b(e,r))},w=e=>"string"===typeof e,y=e=>"object"===typeof e&&null!==e,k=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,x={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"\u2026","…":"\u2026","/":"/","/":"/"},E=e=>x[e];let S={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(k,E)};const P=()=>S;let O;const C=()=>O,T=(e,t)=>
1{if(!e)return!1;const n=e.props?.children??e.children;return t?n.length>0:!!n},j=e=>{if(!e)return[];const t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?A(t):t},A=e=>Array.isArray(e)?e:[e],D=(e,t)=>{if(!e)return"";let n="";const i=A(e),o=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return i.forEach(((e,i)=>{if(w(e))n+=`${e}`;else if((0,r.isValidElement)(e)){const{props:r,type:a}=e,s=Object.keys(r).length,c=o.indexOf(a)>-1,l=r.children;if(l||!c||s)if(!l&&(!c||s)||r.i18nIsDynamicList)n+=`<${i}></${i}>`;else if(c&&1===s&&w(l))n+=`<${a}>${l}</${a}>`;else{const e=D(l,t);n+=`<${i}>${e}</${i}>`}else n+=`<${a}/>`}else if(null===e)f("Trans: the passed in value is invalid - seems you passed in a null child.");else if(y(e)){const{format:t,...r}=e,i=Object.keys(r);if(1===i.length){const e=t?`${i[0]}, ${t}`:i[0];n+=`{{${e}}}`}else f("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else f("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},N=(e,t,n,i,o,a)=>{if(""===t)return[];const s=i.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(s.map((e=>`<${e}`)).join("|")).test(t);if(!e&&!c&&!a)return[t];const l={},u=e=>{A(e).forEach((e=>{w(e)||(T(e)?u(j(e)):y(e)&&!(0,r.isValidElement)(e)&&Object.assign(l,e))}))};u(e);const d=_.parse(`<0>${t}</0>`),p={...l,...o},f=(e,t,n)=>{const i=j(e),o=m(i,t.children,n);return(e=>Array.isArray(e)&&e.every(r.isValidElement))(i)&&0===o.length||e.props?.i18nIsDynamicList?i:o},h=(e,t,n,i,o)=>{e.dummy?(e.children=t,n.push((0,r.cloneElement)(e,{key:i},o?void 0:t))):n.push(...r.Children.map([e],(e=>{const n={...e.props};return delete n.i18nIsDynamicList,(0,r.createElement)(e.type,{...n,key:i,ref:e.ref},o?null:t)})))},m=(t,o,l)=>{const u=A(t);return A(o).reduce(((t,o,d)=>{const _=o.children?.[0]?.content&&n.services.interpolator.interpolate(o.children[0].content,p,n.language);if("tag"===o.type){let a=u[parseInt(o.name,10)];1!==l.length||a||(a=l[0][o.name]),a||(a={});const b=0!==Object.keys(o.attrs).length?((e,t)=>{const n={...t};return n.props=Object.assign(e.props,t.props),n})({props:o.attrs},a):a,g=(0,r.isValidElement)(b),v=g&&T(o,!0)&&!o.voidElement,k=c&&y(b)&&b.dummy&&!g,x=y(e)&&Object.hasOwnProperty.call(e,o.name);if(w(b)){const e=n.services.interpolator.interpolate(b,p,n.language);t.push(e)}else if(T(b)||v){const e=f(b,o,l);h(b,e,t,d)}else if(k){const e=m(u,o.children,l);h(b,e,t,d)}else if(Number.isNaN(parseFloat(o.name)))if(x){const e=f(b,o,l);h(b,e,t,d,o.voidElement)}else if(i.transSupportBasicHtmlNodes&&s.indexOf(o.name)>-1)if(o.voidElement)t.push((0,r.createElement)(o.name,{key:`${o.name}-${d}`}));else{const e=m(u,o.children,l);t.push((0,r.createElement)(o.name,{key:`${o.name}-${d}`},e))}else if(o.voidElement)t.push(`<${o.name} />`);else{const e=m(u,o.children,l);t.push(`<${o.name}>${e}</${o.name}>`)}else if(y(b)&&!g){const e=o.children[0]?_:null;e&&t.push(e)}else h(b,_,t,d,1!==o.children.length||!_)}else if("text"===o.type){const e=i.transWrapTextNodes,s=a?i.unescape(n.services.interpolator.interpolate(o.content,p,n.language)):n.services.interpolator.interpolate(o.content,p,n.language);e?t.push((0,r.createElement)(e,{key:`${o.name}-${d}`},s)):t.push(s)}return t}),[])},b=m([{dummy:!0,children:e||[]}],d,A(e||[]));return j(b[0])};const I={type:"3rdParty",init(e){((e={})=>{S={...S,...e}})(e.options.react),(e=>{O=e})(e)}},R=(0,r.createContext)();class L{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]??=!0}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function M({children:e,count:t,parent:n,i18nKey:i,context:o,tOptions:a={},values:s,defaults:c,components:l,ns:u,i18n:d,t:p,shouldUnescape:_,...f}){const{i18n:h,defaultNS:b}=(0,r.useContext)(R)||{},g=d||h||C(),v=p||g?.t.bind(g);return function({children:e,count:t,parent:n,i18nKey:i,context:o,tOptions:a={}
1,values:s,defaults:c,components:l,ns:u,i18n:d,t:p,shouldUnescape:_,...f}){const h=d||C();if(!h)return m("You will need to pass in an i18next instance by using i18nextReactModule"),e;const b=p||h.t.bind(h)||(e=>e),g={...P(),...h.options?.react};let v=u||b.ns||h.options?.defaultNS;v=w(v)?[v]:v||["translation"];const y=D(e,g),k=c||y||g.transEmptyNodeValue||i,{hashTransKey:x}=g,E=i||(x?x(y||k):y||k);h.options?.interpolation?.defaultVariables&&(s=s&&Object.keys(s).length>0?{...s,...h.options.interpolation.defaultVariables}:{...h.options.interpolation.defaultVariables});const S=s||void 0!==t||!e?a.interpolation:{interpolation:{...a.interpolation,prefix:"#$?",suffix:"?$#"}},O={...a,context:o||a.context,count:t,...s,...S,defaultValue:k,ns:v},T=E?b(E,O):k;l&&Object.keys(l).forEach((e=>{const t=l[e];"function"===typeof t.type||!t.props||!t.props.children||T.indexOf(`${e}/>`)<0&&T.indexOf(`${e} />`)<0||(l[e]=(0,r.createElement)((function(){return(0,r.createElement)(r.Fragment,null,t)})))}));const j=N(l||e,T,h,g,O,_),A=n??g.defaultTransParent;return A?(0,r.createElement)(A,f,j):j}({children:e,count:t,parent:n,i18nKey:i,context:o,tOptions:a,values:s,defaults:c,components:l,ns:u||v?.ns||b||g?.options?.defaultNS,i18n:g,t:p,shouldUnescape:_,...f})}const z=(e,t,n,r)=>e.getFixedT(t,n,r),Z=(e,t={})=>{const{i18n:n}=t,{i18n:i,defaultNS:o}=(0,r.useContext)(R)||{},a=n||i||C();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new L),!a){m("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>w(t)?t:y(t)&&w(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?.wait&&m("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...P(),...a.options.react,...t},{useSuspense:c,keyPrefix:l}=s;let u=e||o||a.options?.defaultNS;u=w(u)?[u]:u||["translation"],a.reportNamespaces.addUsedNamespaces?.(u);const d=(a.isInitialized||a.initializedStoreOnce)&&u.every((e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n?.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(m("i18n.languages were undefined or empty",t.languages),!0))(e,a,s))),p=((e,t,n,i)=>(0,r.useCallback)(z(e,t,n,i),[e,t,n,i]))(a,t.lng||null,"fallback"===s.nsMode?u:u[0],l),_=()=>p,f=()=>z(a,t.lng||null,"fallback"===s.nsMode?u:u[0],l),[h,b]=(0,r.useState)(_);let k=u.join();t.lng&&(k=`${t.lng}${k}`);const x=((e,t)=>{const n=(0,r.useRef)();return(0,r.useEffect)((()=>{n.current=t?n.current:e}),[e,t]),n.current})(k),E=(0,r.useRef)(!0);(0,r.useEffect)((()=>{const{bindI18n:e,bindI18nStore:n}=s;E.current=!0,d||c||(t.lng?v(a,t.lng,u,(()=>{E.current&&b(f)})):g(a,u,(()=>{E.current&&b(f)}))),d&&x&&x!==k&&E.current&&b(f);const r=()=>{E.current&&b(f)};return e&&a?.on(e,r),n&&a?.store.on(n,r),()=>{E.current=!1,a&&e?.split(" ").forEach((e=>a.off(e,r))),n&&a&&n.split(" ").forEach((e=>a.store.off(e,r)))}}),[a,k]),(0,r.useEffect)((()=>{E.current&&d&&b(_)}),[a,l,d]);const S=[h,a,d];if(S.t=h,S.i18n=a,S.ready=d,d)return S;if(!d&&!c)return S;throw new Promise((e=>{t.lng?v(a,t.lng,u,(()=>e())):g(a,u,(()=>e()))}))};function F({i18n:e,defaultNS:t,children:n}){const i=(0,r.useMemo)((()=>({i18n:e,defaultNS:t})),[e,t]);return(0,r.createElement)(R.Provider,{value:i},n)}},52882:function(e,t,n){"use strict";function r(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((n=>{"undefined"===typeof e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])}))}n.d(t,{a:function(){return c},g:function(){return a}});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!==typeof document?document:{};return i(e,o),e}const s={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){}
1,clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function c(){const e="undefined"!==typeof window?window:{};return i(e,s),e}},51691:function(e,t,n){"use strict";n.d(t,{a:function(){return x},b:function(){return g},c:function(){return b},d:function(){return s},e:function(){return h},f:function(){return S},g:function(){return k},h:function(){return i},i:function(){return c},j:function(){return E},l:function(){return f},m:function(){return y},n:function(){return a},o:function(){return w},p:function(){return v},q:function(){return _},r:function(){return m},s:function(){return p},t:function(){return d},u:function(){return o}});var r=n(52882);function i(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function o(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))}function a(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function s(){return Date.now()}function c(e,t){void 0===t&&(t="x");const n=(0,r.a)();let i,o,a;const s=function(e){const t=(0,r.a)();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new n.WebKitCSSMatrix("none"===o?"":o)):(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),"x"===t&&(o=n.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(o=n.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),o||0}function l(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function d(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(void 0!==r&&null!==r&&!u(r)){const n=Object.keys(Object(r)).filter((e=>t.indexOf(e)<0));for(let t=0,i=n.length;t<i;t+=1){const i=n[t],o=Object.getOwnPropertyDescriptor(r,i);void 0!==o&&o.enumerable&&(l(e[i])&&l(r[i])?r[i].__swiper__?e[i]=r[i]:d(e[i],r[i]):!l(e[i])&&l(r[i])?(e[i]={},r[i].__swiper__?e[i]=r[i]:d(e[i],r[i])):e[i]=r[i])}}}return e}function p(e,t,n){e.style.setProperty(t,n)}function _(e){let{swiper:t,targetPosition:n,side:i}=e;const o=(0,r.a)(),a=-t.translate;let s,c=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(t.cssModeFrameID);const u=n>a?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,p=()=>{s=(new Date).getTime(),null===c&&(c=s);const e=Math.max(Math.min((s-c)/l,1),0),r=.5-Math.cos(e*Math.PI)/2;let u=a+r*(n-a);if(d(u,n)&&(u=n),t.wrapperEl.scrollTo({[i]:u}),d(u,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:u})})),void o.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=o.requestAnimationFrame(p)};p()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function h(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function m(e){try{return void console.warn(e)}catch(t){}}function b(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:i(t)),n}function g(e){const t=(0,r.a)(),n=(0,r.g)(),i=e.getBoundingClientRect(),o=n.body,a=e.clientTop||o.clientTop||0,s=e.clientLeft||o.clientLeft||0,c=e===t?t.scrollY:e.scrollTop,l=e===t?t.scrollX:e.scrollLeft;return{top:i.top+c-a,left:i.left+l-s}}function v(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function w(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function y(e,t){return(0,r.a)().getComputedStyle(e,null).getPropertyValue(t)}function k(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function x(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function E(e,t){t&&e.addEventListener("transitionend",(function n(r){r.target===e&&(t.call(e,r),e.removeEventListener("transitionend",n))}))}function S(e,t,n){const i=(0,r.a)();
1return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}},55509:function(e,t,n){"use strict";n.d(t,{tq:function(){return J},o5:function(){return Q}});var r=n(27378),i=n(52882),o=n(51691);let a,s,c;function l(){return a||(a=function(){const e=(0,i.a)(),t=(0,i.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),a}function u(e){return void 0===e&&(e={}),s||(s=function(e){let{userAgent:t}=void 0===e?{}:e;const n=l(),r=(0,i.a)(),o=r.navigator.platform,a=t||r.navigator.userAgent,s={ios:!1,android:!1},c=r.screen.width,u=r.screen.height,d=a.match(/(Android);?[\s\/]+([\d.]+)?/);let p=a.match(/(iPad).*OS\s([\d_]+)/);const _=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!p&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===o;let m="MacIntel"===o;return!p&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${c}x${u}`)>=0&&(p=a.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),m=!1),d&&!h&&(s.os="android",s.android=!0),(p||f||_)&&(s.os="ios",s.ios=!0),s}(e)),s}function d(){return c||(c=function(){const e=(0,i.a)();let t=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){const n=String(e.navigator.userAgent);if(n.includes("Version/")){const[e,r]=n.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));t=e<16||16===e&&r<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),c}var p={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];t.apply(r,o)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];"string"===typeof o[0]||Array.isArray(o[0])?(t=o[0],n=o.slice(1,o.length),r=e):(t=o[0].events,n=o[0].data,r=o[0].context||e),n.unshift(r);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(r,[t,...n])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(r,n)}))})),e}};const _=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}
1))),t&&t.remove()}},f=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},h=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=i,o=[n-t];return o.push(...Array.from({length:t}).map(((e,t)=>n+r+t))),void e.slides.forEach(((t,n)=>{o.includes(t.column)&&f(e,n)}))}const o=i+r-1;if(e.params.rewind||e.params.loop)for(let a=i-t;a<=o+t;a+=1){const t=(a%n+n)%n;(t<i||t>o)&&f(e,t)}else for(let a=Math.max(i-t,0);a<=Math.min(o+t,n-1);a+=1)a!==i&&(a>o||a<i)&&f(e,a)};var m={updateSize:function(){const e=this;let t,n;const r=e.el;t="undefined"!==typeof e.params.width&&null!==e.params.width?e.params.width:r.clientWidth,n="undefined"!==typeof e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt((0,o.m)(r,"padding-left")||0,10)-parseInt((0,o.m)(r,"padding-right")||0,10),n=n-parseInt((0,o.m)(r,"padding-top")||0,10)-parseInt((0,o.m)(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:a,rtlTranslate:s,wrongRTL:c}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,d=(0,o.e)(i,`.${e.params.slideClass}, swiper-slide`),p=l?e.virtual.slides.length:d.length;let _=[];const f=[],h=[];let m=n.slidesOffsetBefore;"function"===typeof m&&(m=n.slidesOffsetBefore.call(e));let b=n.slidesOffsetAfter;"function"===typeof b&&(b=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,v=e.slidesGrid.length;let w=n.spaceBetween,y=-m,k=0,x=0;if("undefined"===typeof a)return;"string"===typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*a:"string"===typeof w&&(w=parseFloat(w)),e.virtualSize=-w,d.forEach((e=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),n.centeredSlides&&n.cssMode&&((0,o.s)(r,"--swiper-centered-offset-before",""),(0,o.s)(r,"--swiper-centered-offset-after",""));const E=n.grid&&n.grid.rows>1&&e.grid;let S;E?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const P="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>"undefined"!==typeof n.breakpoints[e].slidesPerView)).length>0;for(let O=0;O<p;O+=1){let r;if(S=0,d[O]&&(r=d[O]),E&&e.grid.updateSlide(O,r,d),!d[O]||"none"!==(0,o.m)(r,"display")){if("auto"===n.slidesPerView){P&&(d[O].style[e.getDirectionLabel("width")]="");const i=getComputedStyle(r),a=r.style.transform,s=r.style.webkitTransform;if(a&&(r.style.transform="none"),s&&(r.style.webkitTransform="none"),n.roundLengths)S=e.isHorizontal()?(0,o.f)(r,"width",!0):(0,o.f)(r,"height",!0);else{const e=t(i,"width"),n=t(i,"padding-left"),o=t(i,"padding-right"),a=t(i,"margin-left"),s=t(i,"margin-right"),c=i.getPropertyValue("box-sizing");if(c&&"border-box"===c)S=e+a+s;else{const{clientWidth:t,offsetWidth:i}=r;S=e+n+o+a+s+(i-t)}}a&&(r.style.transform=a),s&&(r.style.webkitTransform=s),n.roundLengths&&(S=Math.floor(S))}else S=(a-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(S=Math.floor(S)),d[O]&&(d[O].style[e.getDirectionLabel("width")]=`${S}px`);d[O]&&(d[O].swiperSlideSize=S),h.push(S),n.centeredSlides?(y=y+S/2+k/2+w,0===k&&0!==O&&(y=y-a/2-w),0===O&&(y=y-a/2-w),Math.abs(y)<.001&&(y=0),n.roundLengths&&(y=Math.floor(y)),x%n.slidesPerGroup===0&&_.push(y),f.push(y)):(n.roundLengths&&(y=Math.floor(y)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup===0&&_.push(y),f.push(y),y=y+S+w),e.virtualSize+=S+w,k=S,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+b,s&&c&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width=`${e.virtualSize+w}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),E&&e.grid.updateWrapperSize(S,_),!n.centeredSlides){const t=[];for(let r=0;r<_.length;r+=1){let i=_[r];
vendor: 12,489 bytes, line 1
1n.roundLengths&&(i=Math.floor(i)),_[r]<=e.virtualSize-a&&t.push(i)}_=t,Math.floor(e.virtualSize-a)-Math.floor(_[_.length-1])>1&&_.push(e.virtualSize-a)}if(l&&n.loop){const t=h[0]+w;if(n.slidesPerGroup>1){const r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),i=t*n.slidesPerGroup;for(let e=0;e<r;e+=1)_.push(_[_.length-1]+i)}for(let r=0;r<e.virtual.slidesBefore+e.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&_.push(_[_.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===_.length&&(_=[0]),0!==w){const t=e.isHorizontal()&&s?"marginLeft":e.getDirectionLabel("marginRight");d.filter(((e,t)=>!(n.cssMode&&!n.loop)||t!==d.length-1)).forEach((e=>{e.style[t]=`${w}px`}))}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(w||0)})),e-=w;const t=e-a;_=_.map((e=>e<=0?-m:e>t?t+b:e))}if(n.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(w||0)})),e-=w,e<a){const t=(a-e)/2;_.forEach(((e,n)=>{_[n]=e-t})),f.forEach(((e,n)=>{f[n]=e+t}))}}if(Object.assign(e,{slides:d,snapGrid:_,slidesGrid:f,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,o.s)(r,"--swiper-centered-offset-before",-_[0]+"px"),(0,o.s)(r,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(p!==u&&e.emit("slidesLengthChange"),_.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==v&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){const t=`${n.containerModifierClass}backface-hidden`,r=e.el.classList.contains(t);p<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{n.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(a(e))}else n.push(a(t.activeIndex));for(i=0;i<n.length;i+=1)if("undefined"!==typeof n[i]){const e=n[i].offsetHeight;o=e>o?e:o}(o||0===o)&&(t.wrapperEl.style.height=`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:o}=t;if(0===r.length)return;"undefined"===typeof r[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;i&&(a=e),r.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;"string"===typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"===typeof s&&(s=parseFloat(s));for(let c=0;c<r.length;c+=1){const e=r[c];let l=e.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=r[0].swiperSlideOffset);const u=(a+(n.centeredSlides?t.minTranslate():0)-l)/(e.swiperSlideSize+s),d=(a-o[0]+(n.centeredSlides?t.minTranslate():0)-l)/(e.swiperSlideSize+s),p=-(a-l),_=p+t.slidesSizesGrid[c],f=p>=0&&p<=t.size-t.slidesSizesGrid[c];(p>=0&&p<t.size-1||_>1&&_<=t.size||p<=0&&_>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(c),r[c].classList.add(n.slideVisibleClass)),f&&r[c].classList.add(n.slideFullyVisibleClass),e.progress=i?-u:u,e.originalProgress=i?-d:d}},updateProgress:function(e){const t=this;if("undefined"===typeof e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:a,progressLoop:s}=t;const c=o,l=a;if(0===r)i=0,o=!0,a=!0;else{i=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;o=n||i<=0,a=s||i>=1,n&&(i=0),s&&(i=1)}if(n.loop){const n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[n],o=t.slidesGrid[r],a=t.slidesGrid[t.slidesGrid.length-1],c=Math.abs(e);s=c>=i?(c-i)/a:(c+a-o)/a,s>1&&(s-=1)}Object.assign(t,{progress:i,progressLoop:s,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!c&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(c&&!o||l&&!a)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,a=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,c=e=>(0,o.e)(r,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,u,d;if(t.forEach((e=>{e.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)})),a)if(n.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=c(`[data-swiper-slide-index="${t}"]`)}else l=c(`[data-swiper-slide-index="${i}"]`);else s?(l=t.filter((e=>e.column===i))[0],d=t.filter((e=>e.column===i+1))[0],u=t.filter((e=>e.column===i-1))[0]):l=t[i];l&&(l.classList.add(n.slideActiveClass),s?(d&&d.classList.add(n.slideNextClass),u&&u.classList.add(n.slidePrevClass)):(d=(0,o.o)(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=t[0]),d&&d.classList.add(n.slideNextClass),u=(0,o.p)(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!u&&(u=t[t.length-1]),u&&u.classList.add(n.slidePrevClass))),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:o,realIndex:a,snapIndex:s}=t;let c,l=e;const u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if("undefined"===typeof l&&(l=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let i;for(let o=0;o<t.length;o+=1)"undefined"!==typeof t[o+1]?r>=t[o]&&r<t[o+1]-(t[o+1]-t[o])/2?i=o:r>=t[o]&&r<t[o+1]&&(i=o+1):r>=t[o]&&(i=o);return n.normalizeSlideIndex&&(i<0||"undefined"===typeof i)&&(i=0),i}(t)),r.indexOf(n)>=0)c=r.indexOf(n);else{const e=Math.min(i.slidesPerGroupSkip,l);c=e+Math.floor((l-e)/i.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),l===o&&!t.params.loop)return void(c!==s&&(t.snapIndex=c,t.emit("snapIndexChange")));if(l===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(l));const d=t.grid&&i.grid&&i.grid.rows>1;let p;if(t.virtual&&i.virtual.enabled&&i.loop)p=u(l);else if(d){const e=t.slides.filter((e=>e.column===l))[0];let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/i.grid.rows)}else if(t.slides[l]){const e=t.slides[l].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):l}else p=l;Object.assign(t,{previousSnapIndex:s,snapIndex:c,previousRealIndex:a,realIndex:p,previousIndex:o,activeIndex:l}),t.initialized&&h(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!i&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(i=e)}));let o,a=!1;if(i)for(let s=0;s<n.slides.length;s+=1)if(n.slides[s]===i){a=!0,o=s;break}if(!i||!a)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=o,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var b={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:r,wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let a=(0,o.i)(i,e);return a+=this.cssOverflowAdjustment(),n&&(a=-a),a||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,wrapperEl:o,progress:a}=n;let s,c=0,l=0;n.isHorizontal()?c=r?-e:e:l=e,i.roundLengths&&(c=Math.floor(c),l=Math.floor(l)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:l,i.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-l:i.virtualTranslate||(n.isHorizontal()?c-=n.cssOverflowAdjustment():l-=n.cssOverflowAdjustment(),o.style.transform=`translate3d(${c}px, ${l}px, 0px)`);const u=n.maxTranslate()-n.minTranslate();s=0===u?0:(e-n.minTranslate())/u,s!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);const a=this,{params:s,wrapperEl:c}=a;if(a.animating&&s.preventInteractionOnTransition)return!1;const l=a.minTranslate(),u=a.maxTranslate();let d;if(d=r&&e>l?l:r&&e<u?u:e,a.updateProgress(d),s.cssMode){const e=a.isHorizontal();if(0===t)c[e?"scrollLeft":"scrollTop"]=-d;else{if(!a.support.smoothScroll)return(0,o.q)({swiper:a,targetPosition:-d,side:e?"left":"top"}),!0;c.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,n&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}};function g(e){let{swiper:t,runCallbacks:n,direction:r,step:i}=e;const{activeIndex:o,previousIndex:a}=t;let s=r;if(s||(s=o>a?"next":o<a?"prev":"reset"),t.emit(`transition${i}`),n&&o!==a){if("reset"===s)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===s?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}var v={slideTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"===typeof e&&(e=parseInt(e,10));const a=this;let s=e;s<0&&(s=0);const{params:c,snapGrid:l,slidesGrid:u,previousIndex:d,activeIndex:p,rtlTranslate:_,wrapperEl:f,enabled:h}=a;if(a.animating&&c.preventInteractionOnTransition||!h&&!r&&!i)return!1;const m=Math.min(a.params.slidesPerGroupSkip,s);let b=m+Math.floor((s-m)/a.params.slidesPerGroup);b>=l.length&&(b=l.length-1);const g=-l[b];if(c.normalizeSlideIndex)for(let o=0;o<u.length;o+=1){const e=-Math.floor(100*g),t=Math.floor(100*u[o]),n=Math.floor(100*u[o+1]);"undefined"!==typeof u[o+1]?e>=t&&e<n-(n-t)/2?s=o:e>=t&&e<n&&(s=o+1):e>=t&&(s=o)}if(a.initialized&&s!==p){if(!a.allowSlideNext&&(_?g>a.translate&&g>a.minTranslate():g<a.translate&&g<a.minTranslate()))return!1;if(!a.allowSlidePrev&&g>a.translate&&g>a.maxTranslate()&&(p||0)!==s)return!1}let v;if(s!==(d||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(g),v=s>p?"next":s<p?"prev":"reset",_&&-g===a.translate||!_&&g===a.translate)return a.updateActiveIndex(s),c.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==c.effect&&a.setTranslate(g),"reset"!==v&&(a.transitionStart(n,v),a.transitionEnd(n,v)),!1;if(c.cssMode){const e=a.isHorizontal(),n=_?g:-g;if(0===t){const t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),t&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{f[e?"scrollLeft":"scrollTop"]=n}))):f[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{if(!a.support.smoothScroll)return(0,o.q)({swiper:a,targetPosition:n,side:e?"left"
1:"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(g),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,r),a.transitionStart(n,v),0===t?a.transitionEnd(n,v):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,v))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"===typeof e){e=parseInt(e,10)}const i=this,o=i.grid&&i.params.grid&&i.params.grid.rows>1;let a=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)a+=i.virtual.slidesBefore;else{let e;if(o){const t=a*i.params.grid.rows;e=i.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=i.getSlideIndexByData(a);const t=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n}=i.params;let r=i.params.slidesPerView;"auto"===r?r=i.slidesPerViewDynamic():(r=Math.ceil(parseFloat(i.params.slidesPerView,10)),n&&r%2===0&&(r+=1));let s=t-e<r;if(n&&(s=s||e<Math.ceil(r/2)),s){const r=n?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?i.realIndex:void 0})}if(o){const e=a*i.params.grid.rows;a=i.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else a=i.getSlideIndexByData(a)}return requestAnimationFrame((()=>{i.slideTo(a,t,n,r)})),i},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const r=this,{enabled:i,params:o,animating:a}=r;if(!i)return r;let s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const c=r.activeIndex<o.slidesPerGroupSkip?1:s,l=r.virtual&&o.virtual.enabled;if(o.loop){if(a&&!l&&o.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&o.cssMode)return requestAnimationFrame((()=>{r.slideTo(r.activeIndex+c,e,t,n)})),!0}return o.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+c,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const r=this,{params:i,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:c,animating:l}=r;if(!c)return r;const u=r.virtual&&i.virtual.enabled;if(i.loop){if(l&&!u&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(s?r.translate:-r.translate),_=o.map((e=>d(e)));let f=o[_.indexOf(p)-1];if("undefined"===typeof f&&i.cssMode){let e;o.forEach(((t,n)=>{p>=t&&(e=n)})),"undefined"!==typeof e&&(f=o[e>0?e-1:e])}let h=0;if("undefined"!==typeof f&&(h=a.indexOf(f),h<0&&(h=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(h=h-r.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame((()=>{r.slideTo(h,e,t,n)})),!0):r.slideTo(h,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===r&&(r=.5);const i=this;let o=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),c=i.rtlTranslate?i.translate:-i.translate;if(c>=i.snapGrid[s]){const e=i.snapGrid[s];c-e>(i.snapGrid[s+1]-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[s-1];c-e<=(i.snapGrid[s]-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,a=e.clickedIndex;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?a<e.loopedSlides-r/2||a>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),a=e.getSlideIndex((0,o.e)(n,`${s}[data-swiper-slide-index="${i}"]`)[0]),(0,o.n)((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-r?(e.loopFix(),a=e.getSlideIndex((0,o.e)(n,`${s}[data-swiper-slide-index="${i}"]`)[0]),(0,o.n)((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}};var w={loopCreate:function(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{(0,o.e)(r,`.${n.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},a=t.grid&&n.grid&&n.grid.rows>1,s=n.slidesPerGroup*(a?n.grid.rows:1),c=t.slides.length%s!==0,l=a&&t.slides.length%n.grid.rows!==0,u=e=>{for(let r=0;r<e;r+=1){const e=t.isElement?(0,o.c)("swiper-slide",[n.slideBlankClass]):(0,o.c)("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(e)}};if(c){if(n.loopAddBlankSlides){u(s-t.slides.length%s),t.recalcSlides(),t.updateSlides()}else(0,o.r)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may
1not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(l){if(n.loopAddBlankSlides){u(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()}else(0,o.r)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:i,activeSlideIndex:a,byController:s,byMousewheel:c}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:u,allowSlidePrev:d,allowSlideNext:p,slidesEl:_,params:f}=l,{centeredSlides:h}=f;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&f.virtual.enabled)return n&&(f.centeredSlides||0!==l.snapIndex?f.centeredSlides&&l.snapIndex<f.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=d,l.allowSlideNext=p,void l.emit("loopFix");let m=f.slidesPerView;"auto"===m?m=l.slidesPerViewDynamic():(m=Math.ceil(parseFloat(f.slidesPerView,10)),h&&m%2===0&&(m+=1));const b=f.slidesPerGroupAuto?m:f.slidesPerGroup;let g=b;g%b!==0&&(g+=b-g%b),g+=f.loopAdditionalSlides,l.loopedSlides=g;const v=l.grid&&f.grid&&f.grid.rows>1;u.length<m+g?(0,o.r)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):v&&"row"===f.grid.fill&&(0,o.r)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const w=[],y=[];let k=l.activeIndex;"undefined"===typeof a?a=l.getSlideIndex(u.filter((e=>e.classList.contains(f.slideActiveClass)))[0]):k=a;const x="next"===r||!r,E="prev"===r||!r;let S=0,P=0;const O=v?Math.ceil(u.length/f.grid.rows):u.length,C=(v?u[a].column:a)+(h&&"undefined"===typeof i?-m/2+.5:0);if(C<g){S=Math.max(g-C,b);for(let e=0;e<g-C;e+=1){const t=e-Math.floor(e/O)*O;if(v){const e=O-t-1;for(let t=u.length-1;t>=0;t-=1)u[t].column===e&&w.push(t)}else w.push(O-t-1)}}else if(C+m>O-g){P=Math.max(C-(O-2*g),b);for(let e=0;e<P;e+=1){const t=e-Math.floor(e/O)*O;v?u.forEach(((e,n)=>{e.column===t&&y.push(n)})):y.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1})),E&&w.forEach((e=>{u[e].swiperLoopMoveDOM=!0,_.prepend(u[e]),u[e].swiperLoopMoveDOM=!1}
vendor: 8,940 bytes, line 1
1)),x&&y.forEach((e=>{u[e].swiperLoopMoveDOM=!0,_.append(u[e]),u[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===f.slidesPerView?l.updateSlides():v&&(w.length>0&&E||y.length>0&&x)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides)})),f.watchSlidesProgress&&l.updateSlidesOffset(),n)if(w.length>0&&E){if("undefined"===typeof t){const e=l.slidesGrid[k],t=l.slidesGrid[k+S]-e;c?l.setTranslate(l.translate-t):(l.slideTo(k+S,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(i){const e=v?w.length/f.grid.rows:w.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(y.length>0&&x)if("undefined"===typeof t){const e=l.slidesGrid[k],t=l.slidesGrid[k-P]-e;c?l.setTranslate(l.translate-t):(l.slideTo(k-P,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=v?y.length/f.grid.rows:y.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=d,l.allowSlideNext=p,l.controller&&l.controller.control&&!s){const e={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&n})})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===f.slidesPerView&&n})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach((e=>{const t="undefined"===typeof e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;r[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),r.forEach((e=>{n.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function y(e,t,n){const r=(0,i.a)(),{params:o}=e,a=o.edgeSwipeDetection,s=o.edgeSwipeThreshold;return!a||!(n<=s||n>=r.innerWidth-s)||"prevent"===a&&(t.preventDefault(),!0)}function k(e){const t=this,n=(0,i.g)();let r=e;r.originalEvent&&(r=r.originalEvent);const a=t.touchEventsData;if("pointerdown"===r.type){if(null!==a.pointerId&&a.pointerId!==r.pointerId)return;a.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(a.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void y(t,r,r.targetTouches[0].pageX);const{params:s,touches:c,enabled:l}=t;if(!l)return;if(!s.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let u=r.target;if("wrapper"===s.touchEventsTarget&&!t.wrapperEl.contains(u))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(a.isTouched&&a.isMoved)return;const d=!!s.noSwipingClass&&""!==s.noSwipingClass,p=r.composedPath?r.composedPath():r.path;d&&r.target&&r.target.shadowRoot&&p&&(u=p[0]);const _=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,f=!(!r.target||!r.target.shadowRoot);if(s.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===(0,i.g)()||n===(0,i.a)())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(_,u):u.closest(_)))return void(t.allowClick=!0);if(s.swipeHandler&&!u.closest(s.swipeHandler))return;c.currentX=r.pageX,c.currentY=r.pageY;const h=c.currentX,m=c.currentY;if(!y(t,r,h))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=h,c.startY=m,a.touchStartTime=(0,o.d)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(a.allowThresholdMove=!1);let b=!0;u.matches(a.focusableElements)&&(b=!1,"SELECT"===u.nodeName&&(a.isTouched=!1)),n.activeElement&&n.activeElement.matches(a.focusableElements)&&n.activeElement!==u&&n.activeElement.blur();const g=b&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!g||u.isContentEditable||r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function x(e){const t=(0,i.g)(),n=this,r=n.touchEventsData,{params:a,touches:s,rtlTranslate:c,enabled:l}=n;if(!l)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let u,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type){if(null!==r.touchId)return;if(d.pointerId!==r.pointerId)return}if("touchmove"===d.type){if(u=[...d.changedTouches].filter((e=>e.identifier===r.touchId))[0],!u||u.identifier!==r.touchId)return}else u=d;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",d));const p=u.pageX,_=u.pageY;if(d.preventedByNestedSwiper)return s.startX=p,void(s.startY=_);if(!n.allowTouchMove)return d.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(s,{startX:p,startY:_,currentX:p,currentY:_}),r.touchStartTime=(0,o.d)()));if(a.touchReleaseOnEdges&&!a.loop)if(n.isVertical()){if(_<s.startY&&n.translate<=n.maxTranslate()||_>s.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(p<s.startX&&n.translate<=n.maxTranslate()||p>s.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&d.target===t.activeElement&&d.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",d),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=p,s.currentY=_;const f=s.currentX-s.startX,h=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(f**2+h**2)<n.params.threshold)return;if("undefined"===typeof r.isScrolling){let e;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,r.isScrolling=n.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",d),"undefined"===typeof r.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(r.startMoving=!0)),r.isScrolling)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let m=n.isHorizontal()?f:h,b=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;a.oneWayMovement&&(m=Math.abs(m)*(c?1:-1),b=Math.abs(b)*(c?1:-1)),s.diff=m,m*=a.touchRatio,c&&(m=-m,b=-b);const g=n.touchesDirection;n.swipeDirection=m>0?"prev":"next",n.touchesDirection=b>0?"prev":"next";const v=n.params.loop&&!a.cssMode,w="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(v&&w&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!a.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",d)}if((new Date).getTime(),r.isMoved&&r.allowThresholdMove&&g!==n.touchesDirection&&v&&w&&Math.abs(m)>=1)return Object.assign(s,{startX:p,startY:_,currentX:p,currentY:_,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",d),r.isMoved=!0,r.currentTranslate=m+r.startTranslate;let y=!0,k=a.resistanceRatio;if(a.touchReleaseOnEdges&&(k=0),m>0?(v&&w&&r.allowThresholdMove&&r.currentTranslate>(a.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(y=!1,a.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+m)**k))):m<0&&(v&&w&&r.allowThresholdMove&&r.currentTranslate<(a.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===a.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(y=!1,a.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-m)**k))),y&&(d.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),a.threshold>0){if(!(Math.abs(m)>a.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);
vendor: 4,913 bytes, line 1
1if(!r.allowThresholdMove)return r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,void(s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&n.freeMode||a.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function E(e){const t=this,n=t.touchEventsData;let r,i=e;i.originalEvent&&(i=i.originalEvent);if("touchend"===i.type||"touchcancel"===i.type){if(r=[...i.changedTouches].filter((e=>e.identifier===n.touchId))[0],!r||r.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(i.pointerId!==n.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){if(!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:a,touches:s,rtlTranslate:c,slidesGrid:l,enabled:u}=t;if(!u)return;if(!a.simulateTouch&&"mouse"===i.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=(0,o.d)(),p=d-n.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),p<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(n.lastClickTime=(0,o.d)(),(0,o.n)((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===s.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let _;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,_=a.followFinger?c?t.translate:-t.translate:-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:_});const f=_>=-t.maxTranslate()&&!t.params.loop;let h=0,m=t.slidesSizesGrid[0];for(let o=0;o<l.length;o+=o<a.slidesPerGroupSkip?1:a.slidesPerGroup){const e=o<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;"undefined"!==typeof l[o+e]?(f||_>=l[o]&&_<l[o+e])&&(h=o,m=l[o+e]-l[o]):(f||_>=l[o])&&(h=o,m=l[l.length-1]-l[l.length-2])}let b=null,g=null;a.rewind&&(t.isBeginning?g=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));const v=(_-l[h])/m,w=h<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?b:h+w):t.slideTo(h)),"prev"===t.swipeDirection&&(v>1-a.longSwipesRatio?t.slideTo(h+w):null!==g&&v<0&&Math.abs(v)>a.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(h+w):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==b?b:h+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}function S(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function P(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function O(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function C(e){const t=this;_(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
vendor: 5,313 bytes, line 1
1)}function T(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const j=(e,t)=>{const n=(0,i.g)(),{params:r,el:o,wrapperEl:a,device:s}=e,c=!!r.nested,l="on"===t?"addEventListener":"removeEventListener",u=t;n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:c}),o[l]("touchstart",e.onTouchStart,{passive:!1}),o[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:c}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:c}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[l]("click",e.onClick,!0),r.cssMode&&a[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",S,!0):e[u]("observerUpdate",S,!0),o[l]("load",e.onLoad,{capture:!0})};const A=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var D={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function N(e,t){return function(n){void 0===n&&(n={});const r=Object.keys(n)[0],i=n[r];"object"===typeof i&&null!==i?(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in i?("object"!==typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),(0,o.t)(t,n)):(0,o.t)(t,n)):(0,o.t)(t,n)}}const I={eventsEmitter:p,update:m,translate:b,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),g({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),g({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:v,loop:w,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=k.bind(e),e.onTouchMove=x.bind(e),e.onTouchEnd=E.bind(e),e.onDocumentTouchStart=T.bind(e),t.cssMode&&(e.onScroll=O.bind(e)),e.onClick=P.bind(e),e.onLoad=C.bind(e),j(e,"on")},detachEvents:function(){j(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,a=r.breakpoints;if(!a||a&&0===Object.keys(a).length)return;
1const s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const c=(s in a?a[s]:void 0)||e.originalParams,l=A(e,r),u=A(e,c),d=r.enabled;l&&!u?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&u&&(i.classList.add(`${r.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===r.grid.fill)&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{if("undefined"===typeof c[t])return;const n=r[t]&&r[t].enabled,i=c[t]&&c[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()}));const p=c.direction&&c.direction!==r.direction,_=r.loop&&(c.slidesPerView!==r.slidesPerView||p),f=r.loop;p&&n&&e.changeDirection(),(0,o.t)(e.params,c);const h=e.params.enabled,m=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!h?e.disable():!d&&h&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",c),n&&(_?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!f&&m?(e.loopCreate(t),e.updateSlides()):f&&!m&&e.loopDestroy()),e.emit("breakpoint",c)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1;const o=(0,i.a)(),a="window"===t?o.innerHeight:n.clientHeight,s=Object.keys(e).map((e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));s.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let i=0;i<s.length;i+=1){const{point:e,value:a}=s[i];"window"===t?o.matchMedia(`(min-width: ${a}px)`).matches&&(r=e):a<=n.clientWidth&&(r=e)}return r||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:o}=e,a=function(e,t){const n=[];return e.forEach((e=>{"object"===typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"===typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},R={};class L{constructor(){let e,t;for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?t=r[0]:[e,t]=r,t||(t={}),t=(0,o.t)({},t),e&&!t.el&&(t.el=e);const s=(0,i.g)();if(t.el&&"string"===typeof t.el&&s.querySelectorAll(t.el).length>1){const e=[];return s.querySelectorAll(t.el).forEach((n=>{const r=(0,o.t)({},t,{el:n});e.push(new L(r))})),e}const c=this;c.__swiper__=!0,c.support=l(),c.device=u({userAgent:t.userAgent}),c.browser=d(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=[...c.__modules__],t.modules&&Array.isArray(t.modules)&&c.modules.push(...t.modules);const p={};c.modules.forEach((e=>{e({params:t,swiper:c,extendParams:N(t,p),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})}));const _=(0,o.t)({},D,p);return c.params=(0,o.t)({},_,R,t),c.originalParams=(0,o.t)({},c.params),c.passedParams=(0,o.t)({}
vendor: 4,622 bytes, line 1
1,t),c.params&&c.params.on&&Object.keys(c.params.on).forEach((e=>{c.on(e,c.params.on[e])})),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===c.params.direction,isVertical:()=>"vertical"===c.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=(0,o.e)(t,`.${n.slideClass}, swiper-slide`),i=(0,o.g)(r[0]);return(0,o.g)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=(0,o.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,"undefined"===typeof t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:o,size:a,activeIndex:s}=this;let c=1;if("number"===typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[s]?r[s].swiperSlideSize:0;for(let n=s+1;n<r.length;n+=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,c+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,c+=1,t>a&&(e=!0))}else if("current"===e)for(let l=s+1;l<r.length;l+=1){(t?i[l]+o[l]-i[s]<a:i[l]-i[s]<a)&&(c+=1)}else for(let l=s-1;l>=0;l-=1){i[s]-i[l]<a&&(c+=1)}return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&_(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEac
1h((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"===typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&"SWIPER-CONTAINER"===n.parentNode.host.nodeName&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(r())}return(0,o.e)(n,r())[0]})();return!i&&t.params.createElements&&(i=(0,o.c)("div",t.params.wrapperClass),n.append(i),(0,o.e)(n,`.${t.params.slideClass}`).forEach((e=>{i.append(e)}))),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===(0,o.m)(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===(0,o.m)(n,"direction")),wrongRTL:"-webkit-box"===(0,o.m)(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach((e=>{e.complete?_(t,e):e.addEventListener("load",(e=>{_(t,e.target)}))})),h(t),t.initialized=!0,h(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:r,el:i,wrapperEl:a,slides:s}=n;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach((e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.el.swiper=null,(0,o.u)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,o.t)(R,e)}static get extendedDefaults(){return R}static get defaults(){return D}static installModule(e){L.prototype.__modules__||(L.prototype.__modules__=[]);const t=L.prototype.__modules__;"function"===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>L.installModule(e))),L):(L.installModule(e),L)}}Object.keys(I).forEach((e=>{Object.keys(I[e]).forEach((t=>{L.prototype[t]=I[e][t]}))})),L.use([function(e){let{swiper:t,on:n,emit:r}=e;const o=(0,i.a)();let a=null,s=null;const c=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",(()=>{t.params.resizeObserver&&"undefined"!==typeof o.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((e=>{s=o.requestAnimationFrame((()=>{const{width:n,height:r}=t;let i=n,o=r;e.forEach((e=>{let{contentBoxSize:n,contentRect:r,target:a}=e;a&&a!==t.el||(i=r?r.width:(n[0]||n).inlineSize,o=r?r.height:(n[0]||n).blockSize)})),i===n&&o===r||c()}))})),a.observe(t.el)):(o.addEventListener("resize",c),o.addEventListener("orientationchange",l))})),n("destroy",(()=>
1{s&&o.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),o.removeEventListener("resize",c),o.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:n,on:r,emit:a}=e;const s=[],c=(0,i.a)(),l=function(e,n){void 0===n&&(n={});const r=new(c.MutationObserver||c.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const n=function(){a("observerUpdate",e[0])};c.requestAnimationFrame?c.requestAnimationFrame(n):c.setTimeout(n,0)}));r.observe(e,{attributes:"undefined"===typeof n.attributes||n.attributes,childList:"undefined"===typeof n.childList||n.childList,characterData:"undefined"===typeof n.characterData||n.characterData}),s.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=(0,o.a)(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}})),r("destroy",(()=>{s.forEach((e=>{e.disconnect()})),s.splice(0,s.length)}))}]);const M=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function z(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function Z(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>n.indexOf(e)<0)).forEach((n=>{"undefined"===typeof e[n]?e[n]=t[n]:z(t[n])&&z(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Z(e[n],t[n]):e[n]=t[n]}))}function F(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function V(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function B(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function U(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),n=[];return t.forEach((e=>{n.indexOf(e)<0&&n.push(e)})),n.join(" ")}function G(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function q(){return q=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},q.apply(this,arguments)}function H(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function K(e){const t=[];return r.Children.toArray(e).forEach((e=>{H(e)?t.push(e):e.props&&e.props.children&&K(e.props.children).forEac
vendor: 5,678 bytes, line 1
1h((e=>t.push(e)))})),t}function W(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return r.Children.toArray(e).forEach((e=>{if(H(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){const r=K(e.props.children);r.length>0?r.forEach((e=>t.push(e))):n["container-end"].push(e)}else n["container-end"].push(e)})),{slides:t,slots:n}}function $(e,t){return"undefined"===typeof window?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}const Y=(0,r.createContext)(null),X=(0,r.createContext)(null),J=(0,r.forwardRef)((function(e,t){let{className:n,tag:i="div",wrapperTag:o="div",children:a,onSwiper:s,...c}=void 0===e?{}:e,l=!1;const[u,d]=(0,r.useState)("swiper"),[p,_]=(0,r.useState)(null),[f,h]=(0,r.useState)(!1),m=(0,r.useRef)(!1),b=(0,r.useRef)(null),g=(0,r.useRef)(null),v=(0,r.useRef)(null),w=(0,r.useRef)(null),y=(0,r.useRef)(null),k=(0,r.useRef)(null),x=(0,r.useRef)(null),E=(0,r.useRef)(null),{params:S,passedParams:P,rest:O,events:C}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const n={on:{}},r={},i={};Z(n,D),n._emitClasses=!0,n.init=!1;const o={},a=M.map((e=>e.replace(/_/,""))),s=Object.assign({},e);return Object.keys(s).forEach((s=>{"undefined"!==typeof e[s]&&(a.indexOf(s)>=0?z(e[s])?(n[s]={},i[s]={},Z(n[s],e[s]),Z(i[s],e[s])):(n[s]=e[s],i[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"===typeof e[s]?t?r[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:n.on[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:o[s]=e[s])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:i,rest:o,events:r}}(c),{slides:T,slots:j}=W(a),A=()=>{h(!f)};Object.assign(S.on,{_containerClasses(e,t){d(t)}});const N=()=>{Object.assign(S.on,C),l=!0;const e={...S};if(delete e.wrapperClass,g.current=new L(e),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=T;const e={cache:!1,slides:T,renderExternal:_,renderExternalUpdate:!1};Z(g.current.params.virtual,e),Z(g.current.originalParams.virtual,e)}};b.current||N(),g.current&&g.current.on("_beforeBreakpoint",A);return(0,r.useEffect)((()=>()=>{g.current&&g.current.off("_beforeBreakpoint",A)})),(0,r.useEffect)((()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)})),$((()=>{if(t&&(t.current=b.current),b.current)return g.current.destroyed&&N(),function(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:o,scrollbarEl:a,swiper:s}=e;F(t)&&r&&i&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=i,s.originalParams.navigation.prevEl=i),V(t)&&o&&(s.params.pagination.el=o,s.originalParams.pagination.el=o),B(t)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(n)}({el:b.current,nextEl:y.current,prevEl:k.current,paginationEl:x.current,scrollbarEl:E.current,swiper:g.current},S),s&&s(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}}),[]),$((()=>{!l&&C&&g.current&&Object.keys(C).forEach((e=>{g.current.on(e,C[e])}));const e=function(e,t,n,r,i){const o=[];if(!t)return o;const a=e=>{o.indexOf(e)<0&&o.push(e)};if(n&&r){const e=r.map(i),t=n.map(i);e.join("")!==t.join("")&&a("children"),r.length!==n.length&&a("children")}return M.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((n=>{if(n in e&&n in t)if(z(e[n])&&z(t[n])){const r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?a(n):(r.forEach((r=>{e[n][r]!==t[n][r]&&a(n)})),i.forEach((r=>{e[n][r]!==t[n][r]&&a(n)})))}else e[n]!==t[n]&&a(n)})),o}(P,v.current,T,w.current,(e=>e.key));return v.current=P,w.current=T,e.length&&g.current&&!g.current.destroyed&&function(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:o,prevEl:a,scrollbarEl:s,paginationEl:c}=e;const l=i.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:u,pagination:d,navigation:p,scrollbar:_,virtual:f,thumbs:h}=t;let m,b,g,v,w,y,k,x;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&u.thumbs&&!u.thumbs.swiper&&(m=!0),i.includes("controller")&&r.controller&&r.controller.control&&u.controller&&!u.controller.control&&(b=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||c)&&(u.pagination||!1===u.pagination)&&d&&!d.el&&(g=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||s)&&(u.scrollbar||!1===u.scrollbar)&&_&&!_.el&&(v=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||a)&&(r.navigation.nextEl||o)&&(u.navigation||!1===u.navigation)&&p&&!p.prevEl&&!p.nextEl&&(w=!0);const E=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),u[e].prevEl=void 0,u[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),u[e].el=void 0,t[e].el=void 0))};i.includes("loop")&&t.isElement&&(u.loop&&!r.loop?y=!0:!u.loop&&r.loop?k=!0:x=!0),l.forEach((e=>{if(z(u[e])&&z(r[e]))Object.assign(u[e],r[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in r[e])||r[e].enabled||E(e);else{const t=r[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?u[e]=r[e]:!1===t&&E(e)}})),l.includes("controller")&&!b&&t.controller&&t.controller.control&&u.controller&&u.controller.control&&(t.controller.control=u.controller.control),i.includes("children")&&n&&f&&u.virtual.enabled?(f.slides=n,f.update(!0)):i.includes("virtual")&&f&&u.virtual.enabled&&(n&&(f.slides=n),f.update(!0)),i.includes("children")&&n&&u.loop&&(x=!0),m&&h.init()&&h.update(!0);b&&(t.controller.control=u.controller.control),g&&(!t.isElement||c&&"string"!==typeof c||(c=document.createElement("div"),c.classList.add("swiper-pagination"),c.part.add("pagination"),t.el.a
1ppendChild(c)),c&&(u.pagination.el=c),d.init(),d.render(),d.update()),v&&(!t.isElement||s&&"string"!==typeof s||(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),t.el.appendChild(s)),s&&(u.scrollbar.el=s),_.init(),_.updateSize(),_.setTranslate()),w&&(t.isElement&&(o&&"string"!==typeof o||(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=t.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),t.el.appendChild(o)),a&&"string"!==typeof a||(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=t.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),t.el.appendChild(a))),o&&(u.navigation.nextEl=o),a&&(u.navigation.prevEl=a),p.init(),p.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(y||x)&&t.loopDestroy(),(k||x)&&t.loopCreate(),t.update()}({swiper:g.current,slides:T,passedParams:P,changedParams:e,nextEl:y.current,prevEl:k.current,scrollbarEl:E.current,paginationEl:x.current}),()=>{C&&g.current&&Object.keys(C).forEach((e=>{g.current.off(e,C[e])}))}})),$((()=>{var e;!(e=g.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[p]),r.createElement(i,q({ref:b,className:U(`${u}${n?` ${n}`:""}`)},O),r.createElement(X.Provider,{value:g.current},j["container-start"],r.createElement(o,{className:G(S.wrapperClass)},j["wrapper-start"],S.virtual?function(e,t,n){if(!n)return null;const i=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},o=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:a,to:s}=n,c=e.params.loop?-t.length:0,l=e.params.loop?2*t.length:t.length,u=[];for(let r=c;r<l;r+=1)r>=a&&r<=s&&u.push(t[i(r)]);return u.map(((t,n)=>r.cloneElement(t,{swiper:e,style:o,key:`slide-${n}`})))}(g.current,T,p):T.map(((e,t)=>r.cloneElement(e,{swiper:g.current,swiperSlideIndex:t}))),j["wrapper-end"]),F(S)&&r.createElement(r.Fragment,null,r.createElement("div",{ref:k,className:"swiper-button-prev"}),r.createElement("div",{ref:y,className:"swiper-button-next"})),B(S)&&r.createElement("div",{ref:E,className:"swiper-scrollbar"}),V(S)&&r.createElement("div",{ref:x,className:"swiper-pagination"}),j["container-end"]))}));J.displayName="Swiper";const Q=(0,r.forwardRef)((function(e,t){let{tag:n="div",children:i,className:o="",swiper:a,zoom:s,lazy:c,virtualIndex:l,swiperSlideIndex:u,...d}=void 0===e?{}:e;const p=(0,r.useRef)(null),[_,f]=(0,r.useState)("swiper-slide"),[h,m]=(0,r.useState)(!1);function b(e,t,n){t===p.current&&f(n)}$((()=>{if("undefined"!==typeof u&&(p.current.swiperSlideIndex=u),t&&(t.current=p.current),p.current&&a){if(!a.destroyed)return a.on("_slideClass",b),()=>{a&&a.off("_slideClass",b)};"swiper-slide"!==_&&f("swiper-slide")}})),$((()=>{a&&p.current&&!a.destroyed&&f(a.getSlideClasses(p.current))}),[a]);const g={isActive:_.indexOf("swiper-slide-active")>=0,isVisible:_.indexOf("swiper-slide-visible")>=0,isPrev:_.indexOf("swiper-slide-prev")>=0,isNext:_.indexOf("swiper-slide-next")>=0},v=()=>"function"===typeof i?i(g):i;return r.createElement(n,q({ref:p,className:U(`${_}${o?` ${o}`:""}`),"data-swiper-slide-index":l,onLoad:()=>{m(!0)}},d),s&&r.createElement(Y.Provider,{value:g},r.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof s?s:void 0},v(),c&&!h&&r.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&r.createElement(Y.Provider,{value:g},v(),c&&!h&&r.createElement("div",{className:"swiper-lazy-preloader"})))}));Q.displayName="SwiperSlide"},94253:function(e,t,n){"use strict";function r(e,t,n){var r=(n||{}).atBegin;return function(e,t,n){var r,i=n||{},o=i.noTrailing,a=void 0!==o&&o,s=i.noLeading,c=void 0!==s&&s,l=i.debounceMode,u=void 0===l?void 0:l,d=!1,p=0;function _(){r&&clearTimeout(r)}function f(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var s=this,l=Date.now()-p;function f(){p=Date.now(),t.apply(s,i)}function h(){r=void 0}d||(c||!u||r||f(),_(),void 0===u&&l>e?c?(p=Date.now(),a||(r=setTimeout(u?h:f,e))):f():!0!==a&&(r=setTimeout(u?h:f,void 0===u?e-l:e)))}return f.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;_(),d=!n},f}(e,t,{debounceMode:!1!==(void 0!==r&&r)})}n.d(t,{D:function(){return r}})},85556:function(e,t,n){"use strict";n.d(t,{CR:function(){return c},Jh:function(){return a},XA:function(){return s},_T:function(){return i},ev:function(){return l},mG:function(){return o},pi:function(){return r}});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}
1function o(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=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(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(c){s=[6,c],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}Object.create;function s(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 new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function l(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError},1761:function(e){"use strict";e.exports=JSON.parse('["web_common_page_not_found","web_consent_root_title","web_consent_customise_title","web_consent_privacy_title","web_consent_root_desc","web_consent_root_customise_cookies","web_consent_root_reject_all","web_consent_root_accept_all","web_consent_customise_desc","web_consent_customise_necessary_title","web_consent_customise_always_on","web_consent_customise_necessary_desc","web_consent_customise_preferences_title","web_consent_customise_preferences_desc","web_consent_customise_advertising_title","web_consent_customise_advertising_desc","web_consent_customise_confirm_my_choice","web_common_view_more","web_common_view_less","web_common_congratulations","web_common_btn_view_points","web_cart_view_cart","web_common_btn_close","web_eggs_keep_hunting","web_eggs_points_added","web_eggs_reached_maximum_chances","web_eggs_product_added","web_account_address_title","web_account_sidebar_title","web_account_logout","web_account_profile_title","web_account_orders_title","web_account_coupons_title","web_account_points_title","web_account_message_title","web_account_security_title","web_refer_friend_page_title","web_addresses_btn_add_address","web_addresses_delete_confirm_tip","web_common_btn_yes","web_common_btn_no","web_address_default_address","web_address_make_default","web_common_btn_delete","web_common_btn_edit","web_address_shipping_address_title","web_common_is_required","web_address_set_as_default","web_address_shipping_note","web_common_btn_cancel","web_common_btn_save","web_common_it_is_empty","web_address_select_province_first","web_address_zipcode_unvalid_error","web_shop_account_email_change_success_prompt","web_shop_account_link_expired_prompt","web_shop_account_email_change_success_prompt_desc","web_shop_account_link_expired_prompt_desc","web_common_complete","web_coupons_unused_coupons","web_coupons_expired_coupons","web_coupons_code_label","web_login_sign_in_title","web_register_title","web_user_go_wholesale_tip","web_user_go_wholesale_btn","web_login_switch_account","web_common_divider_or","web_login_email_address","web_login_forgot_password_link","web_common_btn_login_upper","web_login_forgot_tip_1","web_login_forgot_tip_2","web_login_forgot_result_1","web_login_forgot_result_2","web_login_forgot_result_3","web_login_forgot_result_4","web_login_forgot_popup_title","web_common_btn_continue","web_common_btn_ok","web_login_auth_failed","web_login_btn_google","web_login_sdk_load_failed","web_login_btn_facebook","web_login_cannot_open_popup","web_login_bind_popup_t
1itle","web_form_agree_error","web_form_agree_tip","web_login_bind_btn_bind","web_register_btn_register","web_form_email_label","web_form_email_empty_tip","web_form_email_invalid_tip","web_form_pwd_label","web_form_comfirm_pwd_label","web_form_pwd_empty_error","web_form_pwd_min_length_error","web_form_pwd_pattern_letter_error","web_form_pwd_pattern_number_error","web_form_comfirm_pwd_empty_error","web_form_comfirm_pwd_mismatch_error","web_form_pwd_min_length_tip","web_form_pwd_pattern_letter_tip","web_form_pwd_pattern_number_tip","web_search_btn_clear","web_common_empty_tip","web_messages_clear_tip","web_messages_tab_orders","web_messages_tab_promotion","web_messages_tab_notification","web_messages_tab_my_asset","web_messages_tab_garden","web_messages_tab_system","web_order_cancel_reason_label","web_order_cancel_reason_empty_tip","web_order_cancel_result_status","web_order_cancel_result_back_tip","web_order_cancel_popup_title","web_address_billing_address_title","web_checkout_step_place_order","web_common_processing","web_order_step_shipped","web_order_step_finish","web_order_order_no","web_order_order_date","web_order_option_bigamount_tip","web_order_received","web_order_option_check_out","web_common_review","web_order_option_get_points_tooltip","web_order_option_repurchase","web_order_option_track","web_order_confirm_receipt","web_order_confirm_receipt_tips","web_common_add_cart_fail_tip","web_order_out_stock_error","web_order_info_shipping_title","web_common_payment_method","web_order_option_return_progress","web_order_option_refund","web_common_item","web_common_sku","web_common_qty","web_common_price","web_order_items_col_action","web_order_prod_type_kit","web_tag_pre_sale","web_points_total_points","web_price_free_upper","web_shop_crowdfunding_crowdfunding","web_shop_crowdfunding_campaign_successful","web_shop_crowdfunding_campaign_live","web_shop_crowdfunding_estimated_to_ship_in_deliverytime","web_wfd_orderdetail_claimentry_title","web_wfd_orderdetail_claimentry_desc","web_wfd_orderdetail_claimentry_button","web_order_cancel_duplicate","web_order_cancel_shipping_fee","web_order_cancel_coupon_code","web_order_cancel_wrong_order","web_order_cancel_payment_rejected","web_order_cancel_forgot_card","web_order_cancel_lack_payment","web_order_cancel_bad_reviews","web_order_cancel_not_want","web_order_cancel_wrong_address","web_order_cancel_others","web_orders_nav_all_orders","web_orders_nav_unpaid","web_orders_nav_returns","web_orders_order_detail_link","web_address_empty_tip","web_cart_empty_tip","web_coupon_empty_tip","web_order_empty_tip","web_search_empty_tip","web_list_filter_empty_tip","web_review_empty_tip","web_package_page_title","web_order_pkg_confirm_receipt_tips","web_package_package_index","web_common_btn_confirm","web_tag_cyber_monday","web_tag_black_friday","web_tag_super_flash_sale","web_tag_wholesale","web_tag_off","web_tag_new","web_tag_best_seller","web_price_discount_off_upper","web_tag_bonus","web_shop_order_perk","web_eggs_cart_prod_tag","web_shop_activity_early_access_title","web_common_redeem","web_tag_super_slots","web_tag_points_special","web_common_gift","web_tag_winter_sale","web_pointsmarket_help_trigger","web_pointsmarket_total_points","web_points_points_expiring_soon","web_points_points_expiring_soon_tip","web_points_col_date_and_time","web_points_col_point_type","web_points_col_points_amount","web_points_col_expiration_date","web_common_all","web_points_col_earned","web_points_col_used","web_points_col_expired","web_profile_nick_name_label","web_profile_nick_name_empty_error","web_refer_friend_desc_title","web_refer_friend_desc_content","web_common_total_points_lower","web_common_recipient_email","web_common_pay_time","web_common_points","web_common_status","web_refer_status_issued","web_refer_status_unissued","web_refer_friend_total_points","web_shop_task_referral_title","web_common_go_upper","web_referral_refid","web_shop_tutorial_referral_step1","web_shop_tutorial_referral_step2","web_shop_tutorial_referral_step3","web_shop_tutorial_referral_step4","web_shop_tutorial_referral_step5","web_shop_tutorial_referral_step6","web_common_got_it","web_common_next","
1web_shop_tutorial_more_task","web_refer_friend_copy_link","web_common_btn_copy","web_common_link_copied_tip","web_refer_friend_share_your_friends","web_common_btn_share_now","web_refer_friend_leave_message_tips","web_common_share_facebook_title","web_common_share_unsupport_tip","web_common_share_copy_link","web_common_more","web_common_share_popup_title","web_refund_page_title","web_refund_amount_paid","web_common_title_detail","web_summary_points_redeemed","web_summary_total","web_summary_shop_price","web_summary_discount","web_summary_tax","web_refund_return_reason_label","web_refund_return_reason_empty_error","web_refund_return_reason_placeholder","web_common_btn_submit","web_refund_description_label","web_refund_description_empty_error","web_refund_description_placeholder","web_form_pictures_label","web_form_pictures_empty_error","web_refund_pictures_note","web_create_pwd_page_title","web_return_tab_label","web_return_item_list","web_return_refund_price_label","web_return_refund_reason_label","web_return_request_no","web_return_request_date","web_return_step_request_submitted","web_return_step_auditing","web_return_step_waiting_for_refund","web_return_step_refunded","web_return_step_refused","web_return_step_cancelled","web_shop_account_change_email_address","web_security_change_password","web_shop_account_change_password","web_security_delete_account_title","web_security_delete_account_note","web_shop_account_request_deletion","web_form_old_pwd_label","web_shop_account_verify_your_identity_desc","web_shop_account_your_email_address","web_shop_account_hint_enter_password","web_shop_account_tips_bind_new_email_desc","web_shop_account_hint_enter_new_email","web_shop_account_identify_email_send_successfully","web_shop_account_identify_email_send_successfully_note","web_shop_account_have_completed_email_change","web_common_resend","web_common_time_remaining","web_order_option_tracking","web_package_tracking_empty","web_shop_security_email_verified_successfully","web_age_gate_intro","web_age_gate_confirm_tip","web_age_gate_full_age","web_age_gate_full_age_next","web_age_gate_under_age","web_age_gate_under_age_next","web_product_add_to_cart","web_feature_3d","web_feature_animation","web_winter_grow_expert_tips_desc","web_winter_grow_you_might_also_need","web_winter_grow_problem_1_title","web_winter_grow_problem_2_title","web_winter_grow_problem_3_title","web_winter_grow_problem_4_title","web_winter_grow_problem_5_title","web_xmas2025_banner_title","web_xmas2025_banner_subtitle","web_xmas2025_banner_button","web_xmas2025_rewards_title","web_xmas2025_rewards_mystery_btn","web_xmas2025_progress_tip","web_xmas2025_rewards_collected_title","web_xmas2025_rewards_points_earned","web_xmas2025_rewards_mystery_gift","web_xmas2025_rewards_important","web_xmas2025_rewards_important_content","web_xmas2025_products_title","web_xmas2025_rules_title","web_xmas2025_rules_content","web_xmas2025_reward_modal_desc","web_xmas2025_reward_modal_link","web_common_dialog","web_xmas2025_scroll_message1","web_xmas2025_scroll_message2","web_xmas2025_scroll_message3","web_xmas2025_scroll_message4","web_xmas2025_scroll_message5","web_xmas2025_scroll_message6","web_xmas2025_scroll_message7","web_xmas2025_scroll_message8","
1web_xmas2025_scroll_message9","web_xmas2025_scroll_message10","web_xmas2025_scroll_message11","web_xmas2025_scroll_message12","web_xmas2025_scroll_message13","web_xmas2025_scroll_message14","web_xmas2025_scroll_message15","web_xmas2025_scroll_message16","web_xmas2025_scroll_message17","web_xmas2025_scroll_message18","web_xmas2025_door1_desc_us","web_xmas2025_door1_link_us","web_xmas2025_door2_desc_us","web_xmas2025_door2_link_us","web_xmas2025_door3_desc_us","web_xmas2025_door3_link_us","web_xmas2025_door4_desc_us","web_xmas2025_door4_link_us","web_xmas2025_door5_desc_us","web_xmas2025_door5_link_us","web_xmas2025_door6_desc_us","web_xmas2025_door6_link_us","web_xmas2025_door7_desc_us","web_xmas2025_door7_link_us","web_xmas2025_door8_desc_us","web_xmas2025_door8_link_us","web_xmas2025_door9_desc_us","web_xmas2025_door9_link_us","web_xmas2025_door10_desc_us","web_xmas2025_door10_link_us","web_xmas2025_door11_desc_us","web_xmas2025_door11_link_us","web_xmas2025_door12_desc_us","web_xmas2025_door12_link_us","web_xmas2025_door1_desc_de","web_xmas2025_door1_link_de","web_xmas2025_door2_desc_de","web_xmas2025_door2_link_de","web_xmas2025_door3_desc_de","web_xmas2025_door3_link_de","web_xmas2025_door4_desc_de","web_xmas2025_door4_link_de","web_xmas2025_door5_desc_de","web_xmas2025_door5_link_de","web_xmas2025_door6_desc_de","web_xmas2025_door6_link_de","web_xmas2025_door7_desc_de","web_xmas2025_door7_link_de","web_xmas2025_door8_desc_de","web_xmas2025_door8_link_de","web_xmas2025_door9_desc_de","web_xmas2025_door9_link_de","web_xmas2025_door10_desc_de","web_xmas2025_door10_link_de","web_xmas2025_door11_desc_de","web_xmas2025_door11_link_de","web_xmas2025_door12_desc_de","web_xmas2025_door12_link_de","web_summary_order_total_price","web_cart_delete_confirm","web_common_btn_return_to_cart","web_cart_bonus_login_confirm","web_common_btn_login","web_summary_retail_price","web_summary_subtotal","web_summary_tip_already_saved","web_summary_tip_reward_points_tooltip","web_summary_tip_reward_points","web_cart_btn_checkout_securely_upper","web_cart_apply_coupon_tip","web_pay_accept_cards_title","web_cupon_maximum_saving","web_coupons_drawer_title","web_coupons_use_tip","web_coupons_available_title","web_coupons_not_available_title","web_cart_wholesale_minimum_tip","web_cart_black_friday_title","web_cart_black_friday_tip","web_cart_bonus_more_options","web_common_view_all","web_cart_list_title","web_form_select_label","web_common_day_lower","web_common_days_lower","web_common_hour_lower","web_common_hours_lower","web_common_minute_lower","web_common_minutes_lower","web_common_second_lower","web_common_seconds_lower","web_product_sold_out","web_time_ends_in","web_cart_empty_login_tip","web_cart_empty_btn_shopping","web_cart_total_selected_tip","web_cart_recommend_title","web_checkout_btn_choose_address","web_checkout_btn_add_address","web_checkout_shipping_title","web_checkout_shipping_fee_tip","web_product_afterpay_help_us","web_product_afterpay_help_ca","web_product_afterpay_help_au","web_product_afterpay_title","web_product_afterpay_step_1","web_product_afterpay_step_2","web_product_afterpay_step_3","web_product_afterpay_step_4","web_product_affirm_pay_title_us","web_product_affirm_pay_help_us","web_payment_klarna_slogen_de","web_payment_klarna_policy_de","web_payment_klarna_step1_de","web_payment_klarna_step2_de","web_payment_klarna_step3_de","web_payment_klarna_step4_de","web_payment_klarna_slogen_ca","web_payment_klarna_policy_ca","web_payment_klarna_step1_ca","web_payment_klarna_step2_ca","web_payment_klarna_step3_ca","web_payment_klarna_step4_ca","web_payment_klarna_slogen_gb","web_payment_klarna_policy_gb","web_payment_klarna_step1_gb","web_payment_klarna_step2_gb","web_payment_klarna_step3_gb","web_payment_klarna_step4_gb","web_checkout_products_title","web_common_coupon_code","web_checkout_points_title","web_checkout_points_tooltip","web_checkout_btn_proceed","web_coupons_empty_error","web_coupons_not_available_error","web_checkout_btn_remove","web_checkout_btn_apply","web_coupon_applied_successfully","web_checkout_coupon_drawer_trigger","web_common_coupons","web_checkout_points_max_available","web_checkout_referrer_title","web_checkout_referrer_drawer_trigger","web_checkout_referrer_success_tip","web_checkout_referrer_empty_error","web_checkout_referrer_unavailable_error","web_checkout_sign_in_tip","web_checkout_register_tip","web_checkout_address_empty_tip","web_checkout_shipping_empty_tip","web_checkout_payment_empty_tip","web_diy_entrance_recommended_title","web_diy_entrance_recommended_de
1sc","web_diy_entrance_customize_title","web_diy_entrance_customize_desc","web_diy_entrance_ranking_title","web_diy_entrance_ranking_desc","web_diy_ranking_score_energy_efficiency","web_diy_ranking_score_functionality","web_diy_ranking_score_completeness","web_checkout_sign_up_tip","web_checkout_save_address_tip","web_shop_security_email_verification_required","web_shop_security_email_verification_required_tips","web_shop_security_verify_now","web_shop_security_sign_up_and_verify","web_shop_security_not_now","web_shop_security_verify_your_email","web_shop_security_verification_sent","web_shop_security_i_have_verified_my_email","web_remaining_count","web_wfd_checkout_module_title","web_wfd_checkout_module_poweredby","web_wfd_checkout_notice_emailalert","web_wfd_checkout_popup_content","web_wfd_checkout_popup_benefit1_title","web_wfd_checkout_popup_cta_opt_in","web_wfd_checkout_popup_cta_cancel","web_wfd_checkout_popup_link_privacy","web_wfd_checkout_popup_link_terms","web_checkout_points_multiples","web_shop_energy_label_product_data_sheet","web_view_count","web_shop_crowdfunding_status_upcoming","web_shop_crowdfunding_status_live","web_shop_crowdfunding_ended","web_shop_crowdfunding_share_desc","web_share_msg_01","web_shop_crowdfunding_campaign","web_common_updates","web_shop_crowdfunding_faq","web_shop_crowdfunding_comments","web_shop_crowdfunding_back_this_project","web_shop_crowdfunding_status_successful","web_time_ended","web_shop_crowdfunding_mins_togo","web_shop_crowdfunding_mins_left","web_shop_crowdfunding_pledged_of_amount","web_shop_crowdfunding_backers","web_shop_crowdfunding_limited_quantity","web_home_sfs_stock_left","web_shop_crowdfunding_estimated_delivery","web_shop_crowdfunding_gifts","web_crowd_funding_limit_reached","web_shop_crowdfunding_pledge_amount","web_shop_crowdfunding_available_rewards","web_shop_crowdfunding_unavailable_rewards","web_shop_crowdfunding_add_a_comment","web_common_btn_post","web_diy_ranking_my_comments","web_diy_ranking_comments","web_common_end_of_page","web_shop_crowdfunding_owner","web_common_read_more","web_common_reply_to","web_shop_crowdfunding_only_backers_can_post_comments","web_shop_crowdfunding_sign_in_now","web_shop_crowdfunding_sign_in_to_comment","web_common_update","web_crowd_funding_rules","web_common_btn_quick_view","web_diy_cart_discount_tip","web_common_btn_checkout_upper","web_form_number_minus","web_product_number_label","web_form_number_plus","web_common_btn_reset","web_diy_step_tent","web_diy_step_light","web_diy_step_duct_fan","web_diy_step_accessories","web_diy_customize_help_title","web_diy_customize_mandatory","web_diy_customize_optional","web_diy_customize_select_multiple","web_diy_customize_select_one","web_product_buy_now_upper","web_home_sfs_price_off","web_diy_customize_step_required_error","web_diy_customize_unavailable_error","web_product_buy_now","web_diy_choose_dimensions_title","web_diy_ranking_entrances_title","web_common_score","web_diy_ranking_btn_comment","web_diy_ranking_use_this_kit","web_diy_ranking_btn_like","web_diy_ranking_kit_comments","web_diy_ranking_comment_placeholder","web_diy_ranking_change_size_confirm","web_diy_ranking_override_confirm","web_common_num_items","web_diy_ranking_top","web_search_placeholder","web_search_history_title","web_search_hot_search_title","web_help_title_support","web_common_plus_points","web_common_checkout","web_common_welcome_to","web_locale_current_tip","web_locale_change_region","web_help_technical_guide","web_help_growing_guide","web_header_guide_winter_grow_guide","web_help_title_guide","web_shop_community","web_shop_navi_shop_by_category","web_checkout_secure_checkout","web_common_continue_shopping","web_common_copyright","web_download_app_popup_tips","web_fixed_coupon_title","web_fixed_coupon_placed_tip","web_fixed_coupon_sign_in_claim","web_fixed_register_points_tip","web_fixed_register_trigger","web_fixed_register_register_and_receive","web_common_points_upper","web_price_discount_off","web_fixed_register_plus","web_fixed_register_email_placeholder","web_fixed_register_suc_tip_1","web_fixed_register_suc_title","web_fixed_register_suc_tip_2","web_coupons_code_label_upper","web_fixed_register_discount_tip","web_diy_link_choose_different_dimension","web_diy_ranking_help_title","web_diy_recommended_title","web_diy_view_reviews","web_diy_recommended_entrances_title","web_help_contact_us","web_help_return_policy","web_help_shipping_types","web_help_wrong_item_received","web_help_item_lost_in_transit","
1web_help_about_points","web_help_about_vdays","web_help_about_us","web_help_fraud_awareness","web_help_privacy_policy","web_help_community_guidelines","web_help_terms_of_service","web_help_intellectual_property","web_help_about_diy_pools","web_help_about_diy_ranking","web_help_add_device","web_help_growhub_e42","web_help_growhub_e25","web_help_legal_notice","web_help_customer_service_title","web_help_shipping_policy","web_help_warranty_policy","web_help_loyalty_policy","web_footer_link_company","web_shop_brand_story","web_help_blog","web_help_referral_program","web_affiliate_program","web_wholesale_become_a_reseller","web_footer_link_account","web_footer_link_my_account","web_footer_link_log_in","web_footer_link_create_account","web_footer_link_order_history","web_footer_link_my_addresses","web_warranty_form_success","web_warranty_form_failed","web_common_your_name","web_form_required_1","web_form_name_placeholder_1","web_form_email_placeholder_1","web_purchase_large_phone","web_form_phone_placeholder_1","web_order_number","web_form_order_placeholder_1","web_warranty_item","web_form_warranty_item_placeholder_1","web_issue_description","web_form_description_placeholder_1","web_upload_label_1","web_form_upload_msg_1","web_upload_msg_1","web_footer_link_products","web_home_sfs_btn_coming_soon_capfirst","web_home_sfs_btn_sale_is_ove_capfirst","web_product_unavailable_error","web_home_sfs_purchase_limit","web_price_free","web_home_sfs_sale_is_over","web_home_sfs_preview_name","web_product_total_reviews","web_product_total_review","web_shop_crowdfunding_view_details","web_shop_crowdfunding_share_to","web_shop_crowdfunding_days_togo","web_shop_crowdfunding_day_togo","web_shop_crowdfunding_hrs_togo","web_shop_crowdfunding_hr_togo","web_shop_crowdfunding_min_togo","web_shop_crowdfunding_days_left","web_shop_crowdfunding_day_left","web_shop_crowdfunding_hrs_left","web_shop_crowdfunding_hr_left","web_shop_crowdfunding_min_left","web_common_back_to_top","web_time_days_left","web_time_day_left","web_tag_super_upper","web_time_starts_on","web_time_ended_at","web_home_sfs_btn_coming_soon","web_home_sfs_btn_sale_is_over","web_product_sold_out_upper","web_product_add_to_cart_upper","web_search_page_title","web_list_total_products","web_list_sort_by_label","web_list_sort_new","web_list_sort_recommend","web_list_sort_price_lower","web_list_sort_price_higher","web_list_filter_title","web_list_description_fold","web_tag_prime_day","web_tag_flash_sale","web_home_sfs_help_title","web_common_rules","web_home_sfs_help_content","web_pay_btn_place_order","web_pay_link_back_checkout","web_pay_card_form_title","web_summary_title_order_summary","web_summary_order_no","web_pay_card_number_label","web_pay_card_number_empty_tip","web_pay_card_number_invalid_tip","web_pay_expiry_label","web_pay_expiry_empty_tip","web_pay_expiry_invalid_tip","web_pay_cvv_label","web_pay_cvv_empty_tip","web_pay_cvv_invalid_tip","web_pay_loading_tip","web_pay_reload_tip","web_pay_btn_reload","web_pay_cvv_popup_title","web_pay_cvv_popup_tip","web_address_billing_address_tip","web_pay_cancel_confirm_tip","web_pay_cancel_confirm_btn_continue","web_pay_cancel_confirm_btn_cancel","web_pointsmarket_page_title","web_pointsmarket_expiring_tip","web_pointsmarket_products_title","web_product_sale_price","web_pointsmarket_flash_title","web_product_limit_reached","web_pointsmarket_flash_total_points","web_pointsmarket_limit_num","web_pointsmarket_checkin_trigger","web_pointsmarket_checkin_popup_title","web_pointsmarket_boost_btn_boost","web_pointsmarket_boost_checkin_successful","web_pointsmarket_boost_btn_in_progress","web_pointsmarket_boost_btn_continue","web_pointsmarket_boost_boost_successful","web_pointsmarket_boost_btn_next","web_pointsmarket_boost_boost_failed","web_pointsmarket_boost_points_gained","web_pointsmarket_checkin_help_title","web_pointsmarket_checkin_help_content","web_product_tab_description","web_product_tab_technical_specs","web_product_tab_bundle_list","web_product_tab_reviews","web_page_link_home","web_product_compare_this_item","web_product_together_title","web_common_save_price","web_product_together_add_cart","web_product_together_empty_error","web_product_together_item_unavailable","web_product_together_items_unavailable","web_product_together_all_unavailable","web_overview","web_product_review_no_score","web_product_review_all_reviews","web_product_review_with_photo","web_product_bundle_contains","web_product_bundle_price","web_product_bundle_save","web_product_view_full_info","web_shop_product_price_gst_tips","web_shop_product_price_vat_tips","web_common_sku_upper","web_product_compare_title","web_product_compare_item_unavailable","web_product_coupons_title","web_product_earn_points","web_product_ratio_points","web_tag_bundle_deals","web_product_paypal_pay_title_us","web_product_paypal_pay_help_us","web_product_paypal_pay_title_au","web_product_paypal_pay_help_au","web_product_paypal_pay_title_ca","web_product_paypal_pay_help_ca","web_product_paypal_pay_title_uk","web_product_paypal_pay_help_uk","web_product_paypal_pay_title_de","web_product_paypal_pay_help_de","web_price_save_discount","web_common_free_gift","web_common_free_gift_limited_tip","web_product_not_choose_tip","web_product_addons_title","web_shop_product_notify_me_when_available","web_shop_product_restore_subscription_successful","web_subscribe_email_placeholder","web_shop_product_notify_me","
1web_shop_product_subscribe_tips","web_product_instructional_manual_title","web_product_selling_pints_title","web_product_alsolike_title","web_spin_already_claimed","web_scan_download_app_info_1","web_common_android","web_common_iphone","web_spin_congratulations","web_spin_coupon_added","web_spin_check_in_pp","web_spin_sign_in_to_claim","web_spin_try_last_chance","web_spin_better_luck","web_spin_you_get","web_spin_stop","web_spin_disclaimer","web_shop_crowdfunding_frequently_asked_questions","web_product_unavailable_title","web_product_unavailable_desc","web_checkout_step_my_cart","web_checkout_step_pay","web_checkout_step_order_complete","web_purchase_large_order_status","web_purchase_large_tip_vip","web_purchase_large_tip2_service","web_purchase_large_tip_following","web_purchase_large_p2p_email","web_purchase_large_whatsapp_account","web_purchase_success_status","web_purchase_order_total_payment","web_purchase_order_shipping_address","web_purchase_btn_view_order","web_order_order_id","web_purchase_failed_status","web_purchase_failed_btn_status","web_purchase_failed_btn_retry_to_pay","web_purchase_declined_status","web_purchase_declined_tip_recommend","web_purchase_declined_details","web_purchase_declined_next_steps","web_shop_redeem_how_to_get_more_chances","web_halloween_time","web_shop_redeem_redeem_your_rewards","web_common_happy_halloween","web_common_ended","web_shop_redeem_get_more_pumpkins","web_shop_redeem_grab_your_treat","web_shop_redeem_get_more_chances","web_shop_redeem_chance_left","web_shop_redeem_get_more_pumpkins_upper","web_shop_redeem_redeem_points","web_common_max_available","web_common_all_upper","web_shop_redeem_can_redeem","web_shop_redeem_recommend_vivosun_to_your_friends","web_shop_redeem_process_step1","web_shop_redeem_process_step1_desc","web_shop_redeem_process_step2","web_shop_redeem_process_step2_desc","web_shop_redeem_process_step3","web_shop_redeem_process_step3_desc","web_shop_redeem_the_pumpkin_you_earned","web_shop_redeem_recipient_email","web_shop_redeem_trick_or_treat_promotion_rules_title","web_shop_redeem_trick_or_treat_promotion_rules_desc","web_subscribe_title","web_footer_support_1","web_footer_support_2","web_footer_support_3","web_footer_support_4","web_footer_support_5","web_contact_location_title","web_contact_wholesale_email_text","web_contact_amazon_email_text","web_subscribe_result_text_1","web_subscribe_result_text_2","web_subscribe_result_text_3","web_subscribe_result_btn_text","web_subscribe_result_join_community","web_subscribe_btn_subscribe","web_referral_intro_title","web_referral_intro_content","web_referral_send","web_referral_benefit","web_referral_benefit_point1","web_referral_benefit_point1_description","web_referral_benefit_point2","web_referral_benefit_point2_description","web_referral_benefit_point3","web_referral_benefit_point3_description","web_referral_process","web_referral_process_step1","web_referral_process_step1_description","web_referral_process_step2","web_referral_process_step2_description","web_referral_process_step3","web_referral_process_step3_description","web_referral_faqs_list","web_referral_faqs","web_referral_invite_friends","web_common_btn_back","web_write_review_form_empty_error","web_write_review_success_titlle","web_write_review_success_content","web_write_review_no_products","web_write_review_check_form_error","web_write_review_rating_empty_error","web_write_review_comment_placeholder","web_write_review_points_help","web_common_learn_more","web_write_review_points_tip","web_support_download_pdf","web_common_results_number","web_search_return_no_matches","web_support_search_for_support","web_search_btn_search","web_support_content_support","web_account_sign_in_register","web_locale_region_language","web_address_country_label","web_locale_lable_currency","web_locale_select_region_country","web_support_banner_title","web_support_products_title","web_support_services_title","web_support_blogs_title","web_support_blogs_desc","web_support_num_article","web_support_num_articles","web_support_blog_cats_title","web_support_call_title","web_support_call_action","web_support_email_title","web_support_email_action","web_support_community_desc","web_support_community_action","web_support_contact_title","web_support_product_manuals","web_support_view_pdf","web_common_loading","web_support_download","web_support_manuals","web_m_product_tab_technical_specs","web_common_btn_go_back","web_support_product_blogs_title","web_support_product_videos_title","web_support_product_official_tutorials","web_support_product_tag_official","web_support_product_reviews_demos","web_form_already_submitted","web_survey_form_text_placeholder","web_form_empty_error","web_form_submission_successful","web_survey_points_credited","web_survey_result_thank_tip","web_survey_start_survey","web_common_success_tip","web_shop_activity_early_access_learn_about","web_shop_activity_early_access_desc","web_shop_activity_days_left","web_shop_activity_remaining","web_shop_activity_units_available","web_common_view_results","web_common_apply","web_common_you_have_applied","web_shop_activity_early_access_guidelines","web_shop_activity_early_access_guidelines_desc1","web_shop_activity_early_access_result_selected1","web_shop_activity_early_access_result_selected2","web_early_access_order_created","web_early_access_check_order","web_shop_activity_early_access_result_unselected1","web_shop_activity_early_access_result_unselected2","web_shop_activity_early_access_result_unselected3","web_shop_activity_eligibility_expired","web_shop_activity_submint_shipping_address","web_shop_activity_early_access_applications_closed","web_shop_activity_applicants","web_shop_activity_early_access_selected","web_shop_activity_early_access_application_eriod_closed","web_shop_activity_early_access_announced_soon","web_early_access_tester_reviews","web_early_access_reclaim_points","web_test_club_review_form_tip_2","web_test_club_review_form_tip_3","web_early_access_review_tips","web_test_club_review_form_tip_1","web_shop_activity_early_access_apply_success_tips","web_shop_activity_early_access_more_way_boost_chances","web_shop_activity_early_access_share_the_activity","web_shop_activity_early_access_invite_friends","web_shop_activity_early_access_ongoing","web_shop_activity_early_access_completed","web_common_reviews","web_early_access_rules","web_shop_activity_early_access_rules_desc7","web_common_share","web_activity_share_for_treats","web_shop_activity_thanks_for_joining","web_credited_to_your_account","web_check_coupon_in_the_app","web_activity_trick_or_treat_rules_title","web_activity_trick_or_treat_rules_desc_de","web_activity_trick_or_treat_rules_desc","web_unsubscribe_suc_title","web_unsubscribe_suc_tip","web_unsubscribe_link_return","web_common_reloading","web_checkin_titles","web_checkin_plant_check_in","web_checkin_plant_share","web_checkin_plant_done","web_checkin_btn_congrats","web_common_btn_check_in_upper","web_common_btn_share_now_upper","web_checkin_make_rate_boom","web_checkin_earned_points","web_checkin_modal_share_tip","web_checkin_get_num_points_now","web_checkin_modal_share_suc_tip","web_checkin_rules","web_shop_activity_share_for_a_gift","web_shop_activity_open_your_gift_box","web_shop_activity_winter_surprise_rules_title","web_shop_activity_winter_surprise_rules_desc"]')},54511:function(e){"use strict";e.exports=JSON.parse('{"web_cart_total_selected_tip":"{{num}}
1 Vybrat","web_eggs_points_added":"Body byly automaticky p\u0159id\xe1ny na v\xe1\u0161 \xfa\u010det a lze je pou\u017e\xedt pro budouc\xed n\xe1kupy nebo odm\u011bny.","web_coupons_use_tip":"N\xe1sleduj\xedc\xed kup\xf3ny m\u016f\u017eete pou\u017e\xedt na polo\u017eky v n\xe1kupn\xedm ko\u0161\xedku, pou\u017eijte je pros\xedm na str\xe1nce s objedn\xe1vkou","web_support_product_tag_official":"\xda\u0159edn\xed","web_common_minute_lower":"min","web_shop_crowdfunding_back_this_project":"Zp\u011bt tento projekt","web_shop_account_hint_enter_new_email":"Zadejte svou novou e-mailovou adresu","web_shop_activity_early_access_result_unselected2":"Tentokr\xe1t jste nebyli vybr\xe1ni, ale nebojte se - va\u0161e body byly pln\u011b vr\xe1ceny na v\xe1\u0161 \xfa\u010det.","web_shop_activity_early_access_result_unselected1":"Lep\u0161\xed \u0161t\u011bst\xed p\u0159\xed\u0161t\u011b!","web_shop_activity_early_access_title":"Klub tester\u016f","web_shop_activity_early_access_result_unselected3":"D\xe1vejte pozor na nadch\xe1zej\xedc\xed p\u0159\xedle\u017eitosti vyzkou\u0161et na\u0161e nejnov\u011bj\u0161\xed produkty!","web_support_community_desc":"Z\xedskejte odpov\u011bdi od koleg\u016f p\u011bstitel\u016f v na\u0161\xed komunit\u011b aplikac\xed.","web_product_alsolike_title":"Mohlo by se v\xe1m tak\xe9 l\xedbit","web_form_email_label":"E-mailem","web_xmas2025_reward_modal_desc":"web_xmas2025_reward_modal_desc","web_xmas2025_door9_link_de":"https://vivosun.com/cz-cz/Small-Smart-Kits-C1444? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=9. den","web_form_pictures_empty_error":"Nahrajte alespo\u0148 nahr\xe1t 1 obr\xe1zek.","web_consent_customise_preferences_desc":"Tyto soubory cookie si budou pamatovat va\u0161e preference, abychom mohli zajistit, aby v\xe1\u0161 z\xe1\u017eitek z nakupov\xe1n\xed byl co nejplynulej\u0161\xed a p\u0159izp\u016fsoben\xfd v\xe1m. Bez t\u011bchto soubor\u016f cookie nemus\xed v\u011bci, jako jsou preference va\u0161eho \xfa\u010dtu nebo lokalizace, fungovat spr\xe1vn\u011b. Chcete-li se dozv\u011bd\u011bt v\xedce o t\u011bchto souborech cookie, pod\xedvejte se na na\u0161e <privacy>Z\xe1sady ochrany osobn\xedch \xfadaj\u016f</privacy>.","web_xmas2025_door1_desc_us":"Kdy\u017e n\u011bco usly\u0161\xed\u0161 ve sv\xe9m p\u011bstebn\xedm stanu... je to Santa. \ud83c\udf85","web_diy_entrance_ranking_desc":"Pod\xedvejte se na nejobl\xedben\u011bj\u0161\xed v\xfdb\u011br souprav.","web_shop_redeem_process_step3":"Krok 3: Z\xedskejte d\xfdn\u011b a doporu\u010duj\xedc\xed body","web_shop_redeem_process_step2":"Krok 2: Prove\u010fte doporu\u010den\xed","web_form_submission_successful":"Odesl\xe1n\xed \xfasp\u011b\u0161n\xe9","web_shop_redeem_process_step1":"Krok 1: P\u0159ihl\xe1sit se","web_address_select_province_first":"Vyberte pros\xedm {{label}} prvn\xed.","web_shop_community":"Komunita","web_order_cancel_payment_rejected":"Platba byla zam\xedtnuta","web_product_view_full_info":"Zobrazit kompletn\xed informace o produktu","web_tag_new":"Nov\xfd","web_order_order_id":"ID objedn\xe1vky","web_shop_redeem_get_more_chances":"Z\xedskejte v\xedce \u0161anc\xed","web_contact_location_title":"Lokace","web_support_manuals":"P\u0159\xedru\u010dky","web_checkout_btn_apply":"Aplikujte","web_shop_activity_early_access_guidelines_desc1":"P\u0159ihl\xe1sit se, {{points}} body budou ode\u010dteny z va\u0161eho \xfa\u010dtu. Pokud nejste vybr\xe1ni, body budou vr\xe1ceny. Potvr\u010fte pros\xedm svou \u017e\xe1dost.","web_wfd_orderdetail_claimentry_title":"Podat \u017e\xe1dost o bezstarostn\xe9 doru\u010den\xed","web_register_btn_register":"Registrovat","web_shop_crowdfunding_limited_quantity":"Omezen\xe9 mno\u017estv\xed","web_help_privacy_policy":"Z\xe1sady ochrany osobn\xedch \xfadaj\u016f","web_pay_cvv_popup_tip":"T\u0159\xedm\xedstn\xfd bezpe\u010dnostn\xed k\xf3d se obvykle nach\xe1z\xed na zadn\xed stran\u011b karty. Karty American Express maj\xed \u010dty\u0159m\xedstn\xfd k\xf3d um\xedst\u011bn\xfd na p\u0159edn\xed stran\u011b.","web_product_sold_out":"Vyprod\xe1no","web_checkout_btn_remove":"Odstranit","
1web_pointsmarket_limit_num":"Limit {{num}}","web_pay_cancel_confirm_tip":"Opravdu chcete zru\u0161it platbu? Pokud va\u0161e objedn\xe1vka nen\xed zaplacena <Countdown/>, bude zru\u0161eno.","web_xmas2025_door6_link_de":"https://vivosun.com/de-de/campaign/Winter-grow? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=6. den","web_remaining_count":"{{count}}s zb\xfdv\xe1","web_package_package_index":"Bal\xed\u010dek {{num}}","web_create_pwd_page_title":"Vytvo\u0159it nov\xe9 heslo","web_pay_accept_cards_title":"P\u0159ij\xedm\xe1me","web_xmas2025_door4_desc_us":"Zd\xe1 se, \u017ee n\xe1\u0161 v\xe1no\u010dn\xed strome\u010dek je nyn\xed tak\xe9 deskou p\u0159\xe1n\xed! \ud83d\udc8c\\n\u0158ekn\u011bte n\xe1m: o co letos \u017e\xe1d\xe1te Santu \u2014 p\u011bstebn\xed vybaven\xed, v\u011bt\u0161\xed pupeny, v\xedce dn\xed volna?","web_return_request_date":"Datum \u017e\xe1dosti","web_order_cancel_result_back_tip":"Vr\xe1cen\xed pen\u011bz se vr\xe1t\xed na v\xe1\u0161 v\xfdplatn\xed \xfa\u010det. Zkontrolujte pros\xedm pozd\u011bji.","web_points_points_expiring_soon_tip":"Platnost bod\u016f, kter\xe1 brzy vypr\u0161\xed, znamen\xe1, \u017ee vypr\u0161\xed platnost bod\u016f do 7 dn\u016f.","web_form_comfirm_pwd_label":"Potvrdit heslo","web_form_number_plus":"Plus","web_order_cancel_others":"Ostatn\xed","web_summary_order_total_price":"Celkov\xe1 cena objedn\xe1vky","web_cart_empty_tip":"V\xe1\u0161 ko\u0161\xedk je pr\xe1zdn\xfd","web_product_review_no_score":"\u017d\xe1dn\xe9 sk\xf3re","web_early_access_reclaim_points":"Kontrolujte a z\xedskejte zp\u011bt body","web_diy_recommended_entrances_title":"Nen\xed to, co hled\xe1te?<br/>Zkusme jin\xfd zp\u016fsob.","web_shop_account_request_deletion":"\u017d\xe1dost o vymaz\xe1n\xed","web_common_btn_cancel":"Zru\u0161it","web_diy_customize_optional":"Voliteln\xe9","web_support_product_official_tutorials":"Ofici\xe1ln\xed v\xfdukov\xe9 programy","web_common_coupons":"Kup\xf3ny","web_checkout_shipping_empty_tip":"Zkontrolujte pros\xedm zp\u016fsob p\u0159epravy","web_account_logout":"Odhl\xe1sit se","web_product_not_choose_tip":"Pros\xedm zvolte {{name}}","web_age_gate_full_age_next":"A SOUHLAS\xcdM S OV\u011a\u0158EN\xcdM V\u011aKU","web_support_blog_cats_title":"Prozkoumat kategorie","web_xmas2025_door11_link_de":"https://www.instagram.com/p/DSX1TbsjIGv/?img_index=1","web_product_coupons_title":"Kup\xf3ny na n\xe1kup","web_consent_customise_preferences_title":"Soubory cookie p\u0159edvoleb","web_checkout_step_pay":"Zaplatit","web_support_product_blogs_title":"Znalostn\xed b\xe1ze","web_common_minutes_lower":"min","web_coupons_code_label_upper":"K\xd3D","web_warranty_form_success":"D\u011bkuji. Va\u0161e reklamace byla pod\xe1na. Brzy v\xe1s budeme kontaktovat.","web_checkout_btn_add_address":"P\u0159idat novou adresu","web_list_total_products":"{{totalNum}} V\xfdrobky","web_time_day_left":"den zb\xfdv\xe1","web_pay_cancel_confirm_btn_continue":"NAD\xc1LE PLATIT","web_address_country_label":"Region","web_orders_nav_all_orders":"V\u0161echny objedn\xe1vky","web_xmas2025_door2_desc_de":"Zkontrolujte matrice LumaRay Sv\u011btlo pod baldach\xfdnem - pro p\u011bstebn\xed plochy od 4 \xd7 4 ft.","web_locale_select_region_country":"Vyberte oblast/zemi","web_xmas2025_door7_desc_us":"V\u0161e, co pot\u0159ebujete, je gumov\xfd stroj, aby Santa zapomn\u011bl na san\u011b... \ud83d\ude06","web_check_coupon_in_the_app":"Zkontrolujte kup\xf3n v aplikaci","web_common_btn_share_now_upper":"SD\xcdLET NYN\xcd","web_checkin_modal_share_suc_tip":"Va\u0161e body vzrostly z {{prev}} do {{next}}","web_return_item_list":"Seznam polo\u017eek","web_checkout_points_title":"{{brand}} Body","web_common_second_lower":"sekundy","web_purchase_declined_status":"Platba nemohla b\xfdt dokon\u010dena","web_orders_nav_returns":"Vr\xe1cen\xed","web_support_services_title":"Popt\xe1vka a specializovan\xe1 podpora","web_form_pwd_min_length_tip":"Minim\xe1ln\u011b 8 znak\u016f","web_shop_crowdfunding_status_successful":"\xdasp\u011b\u0161n\xfd","web_messages_tab_garden":"Zahradn\xed","web_product_unavailable_error":"{{productName}} je do\u010dasn\u011b nedostupn\xfd.","web_product_total_review":"{{total}} Posouzen\xed","web_common_view_less":"Zobrazit m\xe9n\u011b","web_shop_crowdfunding_share_to":"Sd\xedlet na","web_order_cancel_coupon_code":"Zapomn\u011bl jsem pou\u017e\xedt k\xf3d kup\xf3nu","web_checkin_get_num_points_now":"Z\xedskat {{num}} Nyn\xed body","web_fixed_register_register_and_receive":"Zaregistrujte se a p\u0159ij\xedmejte","
1web_product_tab_bundle_list":"Seznam bal\xed\u010dk\u016f","web_common_all_upper":"V\u0160E","web_common_review":"Posouzen\xed","web_product_sale_price":"Prodejn\xed cena","web_credited_to_your_account":"byly p\u0159ips\xe1ny na v\xe1\u0161 \xfa\u010det","web_contact_amazon_email_text":"V p\u0159\xedpad\u011b dotaz\u016f k objedn\xe1vk\xe1m nebo poprodejn\xedmu servisu n\xe1s pros\xedm kontaktujte na: <Email/>","web_shop_account_change_password":"Zm\u011bnit heslo","web_purchase_large_tip_following":"M\u016f\u017eete n\xe1s tak\xe9 kontaktovat n\xe1sleduj\xedc\xedmi zp\u016fsoby","web_common_hour_lower":"hodina","web_form_upload_msg_1":"Abychom v\xe1m pomohli l\xe9pe porozum\u011bt va\u0161emu probl\xe9mu, p\u0159ipojte fotografii nebo video, kter\xe9 to co nejjasn\u011bji demonstruje.","web_age_gate_under_age_next":"PROS\xcdM, VRA\u0164 SE","web_help_technical_guide":"Technick\xe1 p\u0159\xedru\u010dka","web_consent_customise_title":"P\u0159edvolby soubor\u016f cookie","web_common_ended":"Ukon\u010deno","web_order_cancel_not_want":"Nechci to","web_account_message_title":"Moje zpr\xe1va","web_overview":"P\u0159ehled","web_eggs_keep_hunting":"Pokra\u010dujte v lovu","web_messages_tab_my_asset":"M\u016fj majetek","web_shop_activity_early_access_applications_closed":"P\u0159ihl\xe1\u0161ky uzav\u0159eny","web_list_sort_price_higher":"Cena od nejvy\u0161\u0161\xed k n\xedzk\xe9","web_points_col_date_and_time":"Datum a \u010das","web_common_got_it":"M\xe1m to","web_common_points_upper":"BOD\u016e","web_address_shipping_note":"Ujist\u011bte se, \u017ee va\u0161e p\u0159epravn\xed informace jsou \xfapln\xe9 a p\u0159esn\xe9 pro p\u0159\xedpad, \u017ee v\xe1s my nebo p\u0159epravn\xed dopravce pot\u0159ebujeme kontaktovat ohledn\u011b va\u0161\xed objedn\xe1vky.","web_order_option_repurchase":"Zp\u011btn\xfd odkup","web_cart_delete_confirm":"Opravdu chcete odstranit polo\u017eku (y)?","web_address_empty_tip":"Va\u0161e adresa je pr\xe1zdn\xe1","web_shop_account_identify_email_send_successfully":"Odkaz na zm\u011bnu e-mailov\xe9 adresy byl odesl\xe1n na <span>{{newEmail}}</span>","web_spin_stop":"Zastavit","web_xmas2025_door12_desc_de":"2025. A year we grew together.\\nBuilt from feedback, shaped by growers.\\nBuilt for growers. Always. \ud83c\udf31","web_common_btn_check_in_upper":"P\u0158IHL\xc1SIT SE","web_shop_activity_early_access_guidelines":"Pokyny pro aplikaci Tester Club","web_points_points_expiring_soon":"Platnost bod\u016f brzy vypr\u0161\xed","web_common_days_lower":"dn\xed","web_product_tab_reviews":"Recenze ({{num}})","web_pay_cvv_popup_title":"Informace o bezpe\u010dnostn\xedm k\xf3du*","web_common_day_lower":"den","web_support_num_articles":"{{num}} \u010cl\xe1nky","web_account_coupons_title":"Moje kup\xf3ny","web_write_review_success_content":"<strong>{{num}} body</strong> vyd\u011blan\xe9 za zve\u0159ejn\u011bn\xed recenze.","web_winter_grow_you_might_also_need":"Mo\u017en\xe1 budete tak\xe9 pot\u0159ebovat","web_xmas2025_products_title":"D\xe1rky vybran\xe9 pr\xe1v\u011b pro v\xe1s","web_xmas2025_scroll_message9":"Ka\u017ed\xfd list nese va\u0161i p\xe9\u010di.","web_checkout_referrer_title":"Referent","web_xmas2025_scroll_message7":"Nech\u0165 va\u0161e p\u011bstebn\xed m\xedstnost z\u016fstane vesel\xe1.","web_xmas2025_scroll_message8":"Od Vivosun, s l\xe1skou.","web_xmas2025_scroll_message5":"Sv\xe1te\u010dn\xed n\xe1lada za\u010d\xedn\xe1 r\u016fstem.","web_shop_crowdfunding_days_togo":"<span>{{timeRemaining}}</span> dny p\u0159ed odjezdem","web_xmas2025_scroll_message6":"P\u0159eji v\xe1m plodnou sez\xf3nu.","web_xmas2025_scroll_message3":"Zelen\xe9 rostliny, sv\u011btl\xe9 sv\xe1tky.","web_xmas2025_scroll_message4":"M\xedr, radost a prosperuj\xedc\xed rostliny.","web_xmas2025_scroll_message1":"Nech\u0165 v\xe1\u0161 r\u016fst z\xe1\u0159\xed o V\xe1noc\xedch.\\nTepl\xe1 sv\u011btla, tepl\xe1 srdce.","web_xmas2025_scroll_message2":"Vesel\xe9 V\xe1noce, \u0161\u0165astn\xe9 p\u011bstov\xe1n\xed!","web_purchase_failed_btn_retry_to_pay":"Pokuste se zaplatit znovu","web_product_ratio_points":"{{ratio}}x bod\u016f","web_product_together_add_cart":"P\u0159idat vybran\xe9 do ko\u0161\xedku","web_diy_ranking_my_comments":"Moje koment\xe1\u0159e","web_checkout_btn_proceed":"Pokra\u010dujte s platbou","web_refund_description_empty_error":"Popis nem\u016f\u017ee b\xfdt pr\xe1zdn\xfd.","web_shop_redeem_recipient_email":"E-mail p\u0159\xedjemce","web_xmas2025_door5_desc_de":"P\u0159ij\u010fte a nav\u0161tivte n\xe1\u0161 Tester Club pro nov\xe9 v\xe1no\u010dn\xed produkty!","web_common_view_results":"Zobrazit v\xfdsledky","web_common_free_gift_limited_tip":"D\xe1rek zdarma k dispozici v omezen\xe9m mno\u017estv\xed. Kdo d\u0159\xedv p\u0159ijde, d\u0159\xedv p\u0159ijde!","web_common_apply":"Aplikujte","web_shop_account_email_change_success_prompt":"E-mailov\xe1 adresa zm\u011bn\u011bna","web_product_afterpay_help_au":"web_product_afterpay_help_au","web_common_gift":"D\xe1rek","web_help_add_device":"Pomoc","web_consent_root_accept_all":"P\u0159ijmout v\u0161e","web_pointsmarket_help_trigger":"Dozv\u011bd\u011bt se o {{brand}} body","web_product_compare_this_item":"Tato polo\u017eka","web_write_review_form_empty_error":"P\u0159ed odesl\xe1n\xedm zkontrolujte","
1web_form_pwd_pattern_number_error":"Va\u0161e heslo mus\xed obsahovat alespo\u0148 jedno \u010d\xedslo.","web_xmas2025_door2_link_us":"https://www.instagram.com/p/DSCPFpmAe-3/","web_common_qty":"Mno\u017estv\xed","web_purchase_large_tip2_service":"Exkluzivn\xed t\xfdm z\xe1kaznick\xfdch slu\u017eeb v\xe1s bude kontaktovat do 24 hodin, aby v\xe1m pomohl s procesem platby.","web_referral_process_step1_description":"<a>Klikn\u011bte zde</a> p\u0159ihlaste se a p\u0159ejd\u011bte p\u0159\xedmo na kartu doporu\u010den\xed v nastaven\xed \xfa\u010dtu.","web_address_set_as_default":"Nastavit jako v\xfdchoz\xed","web_referral_process_step2_description":"Sd\xedlejte sv\u016fj osobn\xed odkaz na pozv\xe1nku. P\u0159\xedpadn\u011b stiskn\u011bte <ShareIcon/> vedle libovoln\xe9ho n\xe1zvu produktu doporu\u010dit sv\xe9 obl\xedben\xe9 polo\u017eky p\u0159\xe1tel\u016fm.","web_checkin_make_rate_boom":"Ud\u011blejte z toho {{rate}}X v\xfdlo\u017en\xedk","web_return_step_auditing":"Auditov\xe1n\xed","web_xmas2025_banner_button":"Otev\u0159ete sv\xe9 p\u0159ekvapen\xed","web_eggs_reached_maximum_chances":"Dos\xe1hli jste maxim\xe1ln\xedho po\u010dtu odm\u011bn za tuto ud\xe1lost. U\u017eijte si sv\xe9 ceny a z\u016fsta\u0148te nalad\u011bni na dal\u0161\xed vzru\u0161uj\xedc\xed aktivity!","web_product_together_empty_error":"Vyberte pros\xedm produkt","web_tag_points_special":"Speci\xe1ln\xed body","web_purchase_order_shipping_address":"Dodac\xed adresa","web_checkout_points_multiples":"Zadejte body v n\xe1sobc\xedch {{num}}","web_activity_trick_or_treat_rules_desc_de":"<p>Obdob\xed akce: 24. \u0159\xedjna 2025, 12:00 SEL\u010c do 2. listopadu 2025, 23:59 SEL\u010c</p><p>B\u011bhem akce, \xfa\u010dastn\xedci, kte\u0159\xed sd\xedlej\xed str\xe1nku ud\xe1losti, dostanou jednu p\u0159\xedle\u017eitost otev\u0159\xedt d\xe1rkovou krabi\u010dku. Ka\u017ed\xe1 d\xe1rkov\xe1 krabi\u010dka obsahuje 420 VIVOSUN Body a Halloweensk\xfd kup\xf3n, oba budou automaticky p\u0159ips\xe1ny na \xfa\u010det \xfa\u010dastn\xedka p\u0159i otev\u0159en\xed.</p><p>Tato propaga\u010dn\xed akce je k dispozici na r\u016fzn\xfdch webech zem\xed. Ka\u017ed\xfd \xfa\u010dastn\xedk se m\u016f\u017ee z\xfa\u010dastnit pouze jednou na v\u0161ech webech. Nap\u0159\xedklad \xfa\u010dast na n\u011bmeck\xe9m webu zakazuje dal\u0161\xed \xfa\u010dast na webu USA.</p><p>Aby byla zaji\u0161t\u011bna spravedlnost, jsou p\u0159\xedsn\u011b zak\xe1z\xe1na vlastn\xed doporu\u010den\xed, v\u010detn\u011b pou\u017eit\xed identick\xfdch e-mailov\xfdch adres, IP adres nebo relac\xed prohl\xed\u017ee\u010de. Poru\u0161en\xed bude m\xedt za n\xe1sledek propadnut\xed v\u0161ech odm\u011bn.</p>","web_shop_activity_early_access_desc":"Bu\u010fte prvn\xed, kdo za\u017eije na\u0161e nejnov\u011bj\u0161\xed inovace! Prozkoumejte minul\xe9 a prob\xedhaj\xedc\xed p\u0159\xedle\u017eitosti Tester Clubu a pod\xedvejte se, jak na\u0161e komunita pom\xe1h\xe1 utv\xe1\u0159et budoucnost Vivosun produkty.","web_consent_customise_advertising_desc":"S va\u0161\xedm svolen\xedm spolupracujeme s t\u0159et\xedmi stranami na um\xedst\u011bn\xed soubor\u016f cookie do va\u0161eho za\u0159\xedzen\xed. Tyto soubory cookie pou\u017e\xedv\xe1me k propagaci na\u0161ich slu\u017eeb na jin\xfdch webov\xfdch str\xe1nk\xe1ch a k m\u011b\u0159en\xed \xfa\u010dinnosti na\u0161ich reklamn\xedch kampan\xed. Na\u0161i reklamn\xed partne\u0159i pou\u017e\xedvaj\xed tyto soubory cookie k vytvo\u0159en\xed profilu va\u0161ich z\xe1jm\u016f a zobrazov\xe1n\xed relevantn\xedch reklam na jin\xfdch webech. Pokud tyto soubory cookie nepovol\xedte, i kdy\u017e se v\xe1m mohou i nad\xe1le zobrazovat reklamy {{brand}}, m\u016f\u017eete zaznamenat m\xe9n\u011b c\xedlenou reklamu.","web_shop_crowdfunding_days_left":"<span>{{timeRemaining}}</span> zb\xfdvaj\xed dny","web_address_shipping_address_title":"Doru\u010dovac\xed adresa","web_login_bind_popup_title":"Vytvo\u0159\xedme pro v\xe1s nov\xfd \xfa\u010det, vypl\u0148te pros\xedm sv\u016fj e-mail a nastavte heslo.","web_return_tab_label":"Vr\xe1cen\xed pen\u011bz {{num}}","web_summary_title_order_summary":"Souhrn objedn\xe1vky","web_common_save_price":"U\u0161et\u0159ete {{price}}","web_shop_security_email_verification_required":"Vy\u017eaduje se ov\u011b\u0159en\xed e-mailu","web_search_hot_search_title":"\u017dhav\xe9 vyhled\xe1v\xe1n\xed","web_diy_link_choose_different_dimension":"Vyberte jinou dimenzi","web_help_title_support":"Podpora","web_refund_amount_paid":"Zaplacen\xe1 \u010d\xe1stka","web_xmas2025_door3_link_us":"https://www.instagram.com/reel/DSEzaoWgRHk/","web_refer_friend_copy_link":"Zkop\xedrujte odkaz na pozv\xe1nku","web_product_afterpay_step_2":"Vyberte mo\u017enost Afterpay <br/> p\u0159i pokladn\u011b","web_product_afterpay_step_1":"P\u0159idat polo\u017eky <br/> do ko\u0161\xedku","web_checkout_step_my_cart":"M\u016fj ko\u0161\xedk","web_summary_discount":"Sleva","web_fixed_coupon_placed_tip":"V\xe1\u0161 kup\xf3n byl vlo\u017een na v\xe1\u0161 \xfa\u010det.","web_help_terms_of_service":"Podm\xednky slu\u017eby","web_product_paypal_pay_help_au":"web_product_paypal_pay_help_au","web_common_loading":"Na\u010d\xedt\xe1n\xed","web_coupons_unused_coupons":"Nepou\u017eit\xe9 kup\xf3ny","web_contact_wholesale_email_text":"V p\u0159\xedpad\u011b hromadn\xfdch objedn\xe1vek nebo velkoobchodn\xedch ot\xe1zek kontaktujte: <Email/>","web_shop_crowdfunding_estimated_to_ship_in_deliverytime":"Odhaduje se, \u017ee za\u010dne dod\xe1vat v {{deliveryTime}}","web_xmas2025_rewards_mystery_btn":"Otev\u0159ete z\xe1hadn\xfd d\xe1rek","web_product_afterpay_step_4":"V\xe1\u0161 n\xe1kup bude rozd\u011blen na 4 platby, splatn\xe9 ka\u017ed\xe9 2 t\xfddny","web_product_afterpay_step_3":"P\u0159ihlaste se nebo si vytvo\u0159te \xfa\u010det Afterpay s okam\u017eit\xfdm ov\u011b\u0159en\xedm","web_home_sfs_preview_name":"\xda\u017easn\xe1 nab\xeddka na vynikaj\xedc\xed produkt","web_time_ended_at":"Ukon\u010deno v","web_product_review_all_reviews":"V\u0161echny recenze","
1web_xmas2025_door8_link_us":"https://www.instagram.com/p/DSRuLlbluuH/","web_form_order_placeholder_1":"Nap\u0159. 167200766275690000","web_support_num_article":"{{num}} \u010cl\xe1nek","web_shop_crowdfunding_pledge_amount":"Slib {{amount}}","web_pay_expiry_empty_tip":"Zadejte pros\xedm datum vypr\u0161en\xed platnosti","web_form_select_label":"Vybrat","web_product_unavailable_title":"Produkt nen\xed k dispozici","web_activity_trick_or_treat_rules_desc":"<p>Obdob\xed ud\xe1losti: 7. \u0159\xedjna 2025, 12:00 PDT a\u017e 14. \u0159\xedjna 2025, 23:59 PDT</p><p>B\u011bhem akce, \xfa\u010dastn\xedci, kte\u0159\xed sd\xedlej\xed str\xe1nku ud\xe1losti, dostanou jednu p\u0159\xedle\u017eitost otev\u0159\xedt d\xe1rkovou krabi\u010dku. Ka\u017ed\xe1 d\xe1rkov\xe1 krabi\u010dka obsahuje 420 VIVOSUN Body a Halloweensk\xfd kup\xf3n, oba budou automaticky p\u0159ips\xe1ny na \xfa\u010det \xfa\u010dastn\xedka p\u0159i otev\u0159en\xed.</p><p>Tato propaga\u010dn\xed akce je k dispozici na r\u016fzn\xfdch webech zem\xed. Ka\u017ed\xfd \xfa\u010dastn\xedk se m\u016f\u017ee z\xfa\u010dastnit pouze jednou na v\u0161ech str\xe1nk\xe1ch. Nap\u0159\xedklad \xfa\u010dast na americk\xe9m webu zakazuje dal\u0161\xed \xfa\u010dast na n\u011bmeck\xe9m webu.</p><p>Aby byla zaji\u0161t\u011bna spravedlnost, jsou p\u0159\xedsn\u011b zak\xe1z\xe1na vlastn\xed doporu\u010den\xed, v\u010detn\u011b pou\u017eit\xed identick\xfdch e-mailov\xfdch adres, IP adres nebo relac\xed prohl\xed\u017ee\u010de. Jak\xe9koli poru\u0161en\xed bude m\xedt za n\xe1sledek propadnut\xed v\u0161ech odm\u011bn.</p>","web_xmas2025_door10_link_us":"https://www.instagram.com/reel/DSW1KsuDT3l/","web_locale_region_language":"Region & Jazyk","web_product_number_label":"Po\u010det variant","web_purchase_declined_next_steps":"Dal\u0161\xed kroky: Pokud probl\xe9m p\u0159etrv\xe1v\xe1, doporu\u010dujeme k dokon\u010den\xed objedn\xe1vky pou\u017e\xedt jinou kreditn\xed kartu nebo p\u0159ej\xedt na alternativn\xed zp\u016fsob platby.","web_order_confirm_receipt":"Potvrdit p\u0159\xedjem","web_product_paypal_pay_help_ca":"web_product_paypal_pay_help_ca","web_price_discount_off_upper":"{{discount}} VYPNUTO","web_return_refund_price_label":"Vr\xe1cen\xed pen\u011bz","web_checkout_referrer_drawer_trigger":"Odhl\xe1sit <span>REFID ({{num}})<Dot/></span>","web_login_email_address":"E-mailov\xe1 adresa","web_diy_ranking_btn_like":"L\xedb\xed se mi","web_messages_tab_orders":"Objedn\xe1vky","web_help_return_policy":"Z\xe1sady vr\xe1cen\xed","web_shop_security_verification_sent":"Ov\u011b\u0159ovac\xed odkaz byl odesl\xe1n na adresu <span class=\'underline\'>{{email}}</span>","web_order_number":"Objednac\xed \u010d\xedslo","web_common_btn_edit":"Upravit","web_common_share_popup_title":"Sd\xedlet na","web_shop_account_identify_email_send_successfully_note":"<p>E-maily mohou zaznamenat m\xedrn\xe9 zpo\u017ed\u011bn\xed.</p><p>Pokud jste e-mail neobdr\u017eeli, zkontrolujte pros\xedm sv\xe9 slo\u017eky nevy\u017e\xe1dan\xe9 po\u0161ty a nevy\u017e\xe1dan\xe9 po\u0161ty.</p><p>Pokud jste e-mail po \u017e\xe1dosti o zm\u011bnu e-mailu st\xe1le neobdr\u017eeli, po\u010dkejte 24 hodin a zkuste to znovu.</p>","web_list_sort_recommend":"Doporu\u010deno","web_referral_benefit_point2":"Z\xedskejte body","web_refund_description_label":"Popis","web_referral_benefit_point1":"Snadn\xe1 registrace","web_wfd_checkout_popup_cta_cancel":"Nen\xed pot\u0159eba","web_wfd_orderdetail_claimentry_desc":"Pokud je v\xe1\u0161 bal\xed\u010dek zpo\u017ed\u011bn, ztracen nebo po\u0161kozen, m\u016f\u017eete zah\xe1jit reklamaci <Logo/>. Reklamace \u0159e\u0161\xed <Logo/>. Obchodn\xedk nenese odpov\u011bdnost za probl\xe9my s p\u0159epravou.","web_referral_benefit_point3":"V\u0161estrann\xe9 body","web_early_access_tester_reviews":"Recenze tester\u016f","web_subscribe_result_join_community":"P\u0159ipojte se k na\u0161\xed komunit\u011b >","web_coupons_code_label":"K\xf3d","web_order_option_get_points_tooltip":"Z\xedskat body","web_order_cancel_reason_empty_tip":"D\u016fvod je vy\u017eadov\xe1n","web_product_paypal_pay_help_de":"<Div><P>K dispozici pro n\xe1kupy od 1 do 2 000 EUR. </P><P>1. Vyberte PayPal jako zp\u016fsob platby a pou\u017eijte mo\u017enost zaplatit o 30 dn\xed pozd\u011bji. </P><P>2. Dokon\u010dete n\xe1kup v n\u011bkolika kroc\xedch.</P><P>3. Pot\u0159ebujete v\xedce ne\u017e 30 dn\xed? Voliteln\u011b m\u016f\u017eete po\u017e\xe1dat o prodlou\u017een\xed platebn\xed lh\u016fty o dal\u0161\xedch 30 dn\xed nebo alternativn\u011b o 54 dn\xed za poplatek.</P><P>Podl\xe9h\xe1 kontrole \xfav\u011bru. Pro n\xe1kupy mezi 1\u20ac a 2 000\u20ac. Plat\xed 30denn\xed platebn\xed podm\xednky. Pro pou\u017eit\xed t\xe9to slu\u017eby je vy\u017eadov\xe1n n\u011bmeck\xfd soukrom\xfd \xfa\u010det PayPal s propojenou debetn\xed kartou nebo bankovn\xed \xfa\u010det s platn\xfdm zmocn\u011bn\xedm k inkasu SEPA jako zdroj platby. Voliteln\u011b m\u016f\u017eete po\u017e\xe1dat o prodlou\u017een\xed platebn\xed lh\u016fty o dal\u0161\xedch 30 dn\xed (na celkem 60 dn\xed) nebo alternativn\u011b o 54 dn\xed (na celkem 84 dn\xed) za poplatek. V\xfd\u0161e poplatku je transparentn\u011b zobrazena n
1a va\u0161em \xfa\u010dtu PayPal p\u0159ed dokon\u010den\xedm prodlou\u017een\xed. Na roz\u0161\xed\u0159en\xed se vztahuj\xed podm\xednky pro More Time to Pay.<br/>Chcete-li zaplatit za n\xe1kup v m\u011bs\xed\u010dn\xedch spl\xe1tk\xe1ch, vyberte mo\u017enost Platby na spl\xe1tky PayPal.</P></Div>","web_product_selling_pints_title":"O t\xe9to polo\u017ece","web_price_free":"Zdarma","web_product_together_item_unavailable":"N\xe1sleduj\xedc\xed polo\u017eka nen\xed moment\xe1ln\u011b k dispozici ke koupi","web_consent_root_reject_all":"Odm\xedtnout v\u0161e","web_payment_klarna_policy_ca":"Mus\xedte b\xfdt rezidentem Kanady, alespo\u0148 18 let, m\xedt platnou kartu/bankovn\xed \xfa\u010det, pozitivn\xed \xfav\u011brovou historii a b\xfdt schopen p\u0159ij\xedmat ov\u011b\u0159ovac\xed k\xf3dy prost\u0159ednictv\xedm textu. Mohou b\xfdt \xfa\u010dtov\xe1ny poplatky za zpo\u017ed\u011bn\xed.<br>Vydavatel \xfav\u011bru: Klarna Bank AB (publ), Sveav\xe4gen 46,111 34 Stockholm.<br>Ochrana kupuj\xedc\xedho spole\u010dnosti Klarna vylu\u010duje ur\u010dit\xe9 platebn\xed metody a n\xe1kupy, nap\u0159. cestov\xe1n\xed, vstupenky na akce nebo d\xe1rkov\xe9 karty. <a href=\\"https://www.klarna.com/ca/buyer-protection-policy/\\" target=\\"_blank\\">Platebn\xed podm\xednky</a>.","web_xmas2025_rewards_points_earned":"Z\xedskan\xe9 body","web_support_contact_title":"Nena\u0161li jste to, co jste hledali?","web_xmas2025_door4_desc_de":"GrowHub Regul\xe1tor E42A+! Spravujte sv\xe9 nastaven\xed Grow-Setup chyt\u0159eji ne\u017e vy.","web_diy_entrance_recommended_title":"{{brand}} Doporu\u010deno","web_checkin_plant_share":"Va\u0161e rostlina vyrostla! Sd\xedlejte nyn\xed, abyste mu pomohli prosperovat","web_common_end_of_page":"Konec str\xe1nky","web_diy_entrance_customize_title":"P\u0159izp\u016fsobte si vlastn\xed sadu","web_summary_tip_reward_points_tooltip":"The {{brand}} body budou p\u0159id\xe1ny na v\xe1\u0161 \xfa\u010det po dokon\u010den\xed objedn\xe1vky.","web_payment_klarna_step4_de":"Vyberte si platbu<br>napl\xe1nujte a dokon\u010dete sv\u016fj<br>pokladna.","web_shop_tutorial_referral_step2":"Vyd\u011bl\xe1vat {{points}} body za ka\u017ed\xfd {{price}} va\u0161e doporu\u010den\xed utr\xe1cej\xed. B\u011bhem speci\xe1ln\xedho Vivosun propaga\u010dn\xed akce, m\u016f\u017eete vyd\u011blat je\u0161t\u011b v\xedce. Kliknut\xedm na tla\u010d\xedtko zobraz\xedte \xfapln\xe9 podrobnosti o programu doporu\u010den\xed.","web_time_ends_in":"Kon\u010d\xed v","web_login_forgot_password_link":"Zapomn\u011bli jste heslo?","web_shop_tutorial_referral_step1":"Zde je va\u0161e exkluzivn\xed ID doporu\u010den\xed. Kdy\u017e si p\u0159\xe1tel\xe9 objedn\xe1vaj\xed prost\u0159ednictv\xedm odkazu na doporu\u010den\xed Vivosun, va\u0161e ID se automaticky vypln\xed do pole \u201eReferrer\u201c, nebo jej mohou zadat ru\u010dn\u011b p\u0159i pokladn\u011b.","web_wfd_checkout_popup_link_privacy":"Z\xe1sady ochrany osobn\xedch \xfadaj\u016f","web_order_option_track":"Dr\xe1ha","web_shop_tutorial_referral_step4":"Klikn\u011bte pro doporu\u010den\xed Vivosun \u2014\u2014 pod\xedl Vivosun s p\u0159\xe1teli p\u0159\xedmo na soci\xe1ln\xedch m\xe9di\xedch.","web_address_default_address":"V\xfdchoz\xed adresa","web_shop_tutorial_referral_step3"
1:"Klikn\u011bte pro doporu\u010den\xed Vivosun \u2014\u2014 zkop\xedrujte odkaz pro osobn\xed zpr\xe1vy nebo p\u0159\xedsp\u011bvky na soci\xe1ln\xedch m\xe9di\xedch.","web_shop_tutorial_referral_step6":"Zde si m\u016f\u017eete prohl\xe9dnout doporu\u010den\xe9 objedn\xe1vky a z\xedskan\xe9 body.","web_shop_tutorial_referral_step5":"Stiskn\u011bte tla\u010d\xedtko sd\xedlen\xed na jak\xe9mkoli produktu a doporu\u010dte jej p\u0159\xe1tel\u016fm.","web_shop_crowdfunding_day_togo":"<span>{{timeRemaining}}</span> den do konce","web_xmas2025_door6_link_us":"https://vivosun.com/vivosun-bylinn\xfd dekarboxyla\u010dn\xed a infuzn\xed stroj-p156209221520334602-v156209221520334601? utm_source=mkt&utm_medium=V\xe1noce&UTM_CAMPAIGN=6. den","web_shop_activity_open_your_gift_box":"Otev\u0159ete d\xe1rkovou krabi\u010dku","web_common_price":"Cena","web_xmas2025_door9_desc_us":"V\u0161ichni m\xe1me ten pocit \u201ewow, to jsem vlastn\u011b ud\u011blal\u201c. \ud83c\udf3f\\nCo bylo letos tvoje?","web_diy_ranking_score_completeness":"\xdaplnost","web_subscribe_btn_subscribe":"P\u0159ihl\xe1sit","web_checkin_titles":"<line1>DOSTA\u0147TE SE VYSOKO VIVOSUN BOD\u016e</line1><line2>P\u0158IHL\xc1SIT SE, SD\xcdLET</line2><line3>A Z\xcdSKEJTE 420 BOD\u016e</line3>","web_product_affirm_pay_help_us":"<Div><P>Mo\u017enosti platby prost\u0159ednictv\xedm Affirm podl\xe9haj\xed kontrole zp\u016fsobilosti, nemus\xed b\xfdt k dispozici ve v\u0161ech st\xe1tech, a m\u016f\u017ee b\xfdt vy\u017eadov\xe1na z\xe1loha. Odhadovan\xe9 \u010d\xe1stky platby mohou zahrnovat dan\u011b a dopravu.</P><P>Mus\xedte b\xfdt rezidentem Spojen\xfdch st\xe1t\u016f, nejm\xe9n\u011b 18 let (19 v Alabam\u011b nebo Nebrasce, 21 v Mississippi), m\xedt platn\xe9 americk\xe9 mobiln\xed \u010d\xedslo a e-mailovou adresu a platnou debetn\xed nebo kreditn\xed kartu.</P><P>Obyvatel\xe9 CA: P\u016fj\u010dky od Affirm Loan Services, LLC jsou poskytov\xe1ny nebo sjedn\xe1ny podle licence kalifornsk\xe9ho z\xe1kona o financov\xe1n\xed.</P><P>\\n P\u016fj\u010dky Affirm poskytuj\xed Cross River Bank, \u010dlen FDIC a dal\u0161\xed v\u011b\u0159itel\xe9. Pro v\xedce informac\xed nav\u0161tivte\\n <Lenders>affirm.com/p\u016fj\u010dovatel\xe9</Lenders>. Pozdn\xed nebo zme\u0161kan\xe9 platby mohou ovlivnit v\xe1\u0161 kredit. Vid\u011bt\\n <Terms>Podm\xednky slu\u017eby Affirm</Terms> a <Privacy>Z\xe1sady ochrany osobn\xedch \xfadaj\u016f</Privacy> pro podrobnosti.\\n </P></Div>","web_age_gate_confirm_tip":"Potvr\u010fte pros\xedm sv\u016fj v\u011bk","web_shop_redeem_get_more_pumpkins_upper":"Z\xcdSKEJTE V\xcdCE D\xddN\xcd","web_common_iphone":"iPhone","web_home_sfs_btn_sale_is_over":"PRODEJ SKON\u010cIL","web_common_btn_continue":"Pokra\u010dovat","web_common_share_unsupport_tip":"N\u011bco nen\xed v po\u0159\xe1dku. V\xe1\u0161 prohl\xed\u017ee\u010d nepodporuje funkci sd\xedlen\xed","web_payment_klarna_step4_gb":"web_payment_klarna_step4_gb","web_common_updates":"Aktualizace","web_shop_product_restore_subscription_successful":"\xdasp\u011b\u0161n\xe9 p\u0159edplatn\xe9! D\xe1me v\xe1m v\u011bd\u011bt, jakmile bude dopln\u011bn z\xe1soby.","web_purchase_large_order_status":"Va\u0161e objedn\xe1vka je zad\xe1na","web_referral_faqs_list":"[{\\"dotaz\u201c :\\"Jak\xe9 odm\u011bny jsou k dispozici prost\u0159ednictv\xedm doporu\u010den\xed?\u201c , \\"answer\u201c :\\"Kdy\u017e doporu\u010den\xfd p\u0159\xedtel provede n\xe1kup pomoc\xed odkazu na doporu\u010den\xed {{brand}}, a nezru\u0161\xed objedn\xe1vku do 30 dn\u016f, vyd\u011bl\xe1te {{obtainPoints}}{{brand}} body za {{obtainPointsPrice}} V\xe1\u0161 p\u0159\xedtel spents. Ka\u017ed\xfd {{consumePoints}}{{brand}} body jsou ekvivalentn\xed {{consumePointsPrice}}, kter\xe9 lze ode\u010d\xedst z celkov\xe9 ceny objedn\xe1vky nebo pou\u017e\xedt k uplatn\u011bn\xed produkt\u016f. Pro v\xedce informac\xed o {{brand}} body, pros\xedm zkontrolujte <a href=\\\\\\"/help/about-points\\\\\\">O bodech</a>. \\"} , {\\"query\u201c :\\"Jak\xe9 jsou podm\xednky pro \xfa\u010dast v programu doporu\u010den\xed?\u201c , \\"answer\u201c :\\"Program je otev\u0159en v\u0161em registrovan\xfdm {{brand}}.com.<br/>Vlastn\xed doporu\u010den\xed jsou zak\xe1z\xe1na, aby byla zaji\u0161t\u011bna spravedlnost, v\u010det
1n\u011b pou\u017eit\xed stejn\xe9ho e-mailu, IP adresy nebo relace prohl\xed\u017ee\u010de. Nevyhovuj\xedc\xed doporu\u010den\xed budou m\xedt za n\xe1sledek neplatnost doporu\u010den\xed. \\"} , {\\"query\u201c :\\"Jak mohu zkontrolovat, zda bylo m\xe9 doporu\u010den\xed \xfasp\u011b\u0161n\xe9?\u201c , \\"answer\u201c :\\"Chcete-li potvrdit, zda je doporu\u010den\xed \xfasp\u011b\u0161n\xe9, ujist\u011bte se, \u017ee jsou spln\u011bny tyto podm\xednky:<br/>1. Doporu\u010den\xe1 osoba mus\xed k n\xe1v\u0161t\u011bv\u011b pou\u017e\xedt v\xe1\u0161 exkluzivn\xed odkaz na doporu\u010den\xed {{brand}}.com, a p\u0159i zad\xe1v\xe1n\xed objedn\xe1vky jste zadali sv\u016fj REFID.<br/>2. Objedn\xe1vka mus\xed b\xfdt potvrzena jako p\u0159ijata nebo nesm\xed b\xfdt zru\u0161ena do 30 dn\u016f od odesl\xe1n\xed.<br/>Pr\u016fb\u011bh doporu\u010den\xed m\u016f\u017eete zkontrolovat v <a href=\\\\\\"/account/refer-a-friend\\\\\\">Doporu\u010dit p\u0159\xedtele</a>. \\"}]","web_scan_download_app_info_1":"Naskenujte, st\xe1hn\u011bte si aplikaci a pou\u017eijte sv\u016fj kup\xf3n","web_search_empty_tip":"Produkt nelze vyhled\xe1vat","web_common_all":"V\u0161e","web_form_required_1":"Toto pole je povinn\xe9.","web_points_total_points":"{{num}} Body","web_cart_btn_checkout_securely_upper":"POKLADN\u011a BEZPE\u010cN\u011a HNED TE\u010e","web_checkout_secure_checkout":"Bezpe\u010dn\xe1 pokladna","web_spin_try_last_chance":"Vyzkou\u0161ejte svou posledn\xed \u0161anci","web_summary_order_no":"Objedn\xe1vka \u010d.","web_form_pwd_pattern_number_tip":"Alespo\u0148 jedno \u010d\xedslo","web_checkout_referrer_success_tip":"REFID je \xfasp\u011b\u0161n\u011b aplikov\xe1n.","web_shop_crowdfunding_share_desc":"Podporujte inovace a utv\xe1\u0159ejte budoucnost! P\u0159ipojit se Vivosun Crowdfunding a sta\u0148te se sou\u010d\xe1st\xed cesty! {{url}}","web_fixed_register_discount_tip":"Z\xcdSKAT NAV\xcdC {{discount}} VYPNUTO","web_common_payment_method":"Zp\u016fsob platby","web_spin_congratulations":"Gratulujeme!","web_common_btn_login_upper":"P\u0158IHL\xc1SIT SE","web_messages_tab_promotion":"Propagace","web_shop_crowdfunding_hr_left":"<span>{{timeRemaining}}</span> hr vlevo","web_shop_security_not_now":"Te\u010f ne","web_common_share_facebook_title":"Facebook","web_wfd_checkout_popup_link_terms":"Podm\xednky slu\u017eby","web_shop_crowdfunding_ended":"Ukon\u010deno","web_page_link_home":"Domov","web_product_tab_description":"Popis","web_xmas2025_door9_link_us":"https://www.instagram.com/reel/DSWJgMGFMDC/","web_test_club_review_form_tip_2":"Nahrajte pros\xedm alespo\u0148 5 obr\xe1zk\u016f.","web_profile_nick_name_empty_error":"P\u0159ezd\xedvka je povinn\xe1","web_search_page_title":"{{totalNum}} V\xfdsledky pro\u201c{{searchWords}}\u201e","web_test_club_review_form_tip_1":"V\xe1\u0161 koment\xe1\u0159 mus\xed m\xedt alespo\u0148 300 znak\u016f.","web_payment_klarna_step2_gb":"web_payment_klarna_step2_gb","web_test_club_review_form_tip_3":"Nahrajte pros\xedm alespo\u0148 1 video.","web_shop_redeem_recommend_vivosun_to_your_friends":"Doporu\u010dit {{brand}} sv\xfdm p\u0159\xe1tel\u016fm, abyste vyd\u011blali v\xedce d\xfdn\xed!","web_footer_support_1":"Pom\u016f\u017eeme v\xe1m <span>vyp\u011bstujte svou nejlep\u0161\xed zelenou.</span>","web_footer_support_2":"Poskytujeme <span>nejvy\u0161\u0161\xed kvalita.</span>","web_shop_activity_early_access_learn_about":"Dal\u0161\xed informace o Tester Clubu","web_home_sfs_sale_is_over":"Prodej skon\u010dil","web_footer_support_3":"Ne\xfanavn\u011b pron\xe1sledujeme <span>budoucnost.</span>","web_footer_support_4":"D\u011bl\xe1me r\u016fst <span>p\u0159\xedjemn\u011bj\u0161\xed.</span>","web_footer_support_5":"Podporujeme <span>Ka\u017ed\xfd p\u011bstitel.</span>","web_messages_tab_system":"Syst\xe9m","web_product_add_to_cart_upper":"P\u0158IDAT DO KO\u0160\xcdKU","web_pointsmarket_checkin_help_title":"web_pointsmarket_checkin_help_title","web_xmas2025_door7_link_de":"https://vivosun.com/de-DE/vivosun-cukrovinkov\xfd stroj-p164254578425972379-v164254578425972313? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=7. den","web_tag_best_seller":"Nejprod\xe1van\u011bj\u0161\xed","web_footer_link_company":"Firma","web_product_afterpay_help_ca":"web_product_afterpay_help_ca","web_diy_ranking_comments":"Koment\xe1\u0159","web_pay_expiry_invalid_tip":"Datum vypr\u0161en\xed platnosti je neplatn\xe9","web_shop_account_hint_enter_password":"Zadejte Va\u0161e heslo","web_common_your_name":"Va\u0161e jm\xe9no","web_tag_pre_sale":"P\u0159edprodej","web_spin_sign_in_to_claim":"P\u0159ihlaste se k reklamaci","web_order_cancel_forgot_card":"Zapomn\u011bl jsem \xfadaje o sv\xe9 debetn\xed/kreditn\xed kart\u011b","web_shop_redeem_process_step3_desc":"Povzbu\u010fte sv\xe9 p\u0159\xe1tele, aby klikli na v\xe1\u0161 odkaz a provedli n\xe1kup. Za ka\u017ed\xe9ho p\u0159\xedtele, kter\xfd dokon\u010d\xed n\xe1kup, obdr\u017e\xedte 1 d\xfdni a u\u017eijete si odm\u011bny {{brand}} Program doporu\u010den\xed. Vezm\u011bte pros\xedm na v\u011bdom\xed, \u017ee pokud je objedn\xe1vka zru\u
10161ena, Pumpkin a body za doporu\u010den\xed nebudou ud\u011bleny.","web_diy_step_tent":"Stan","web_product_addons_title":"Dopl\u0148ky","web_help_blog":"Blog","web_shop_crowdfunding_min_togo":"<span>{{timeRemaining}}</span> min to go","web_diy_ranking_score_energy_efficiency":"Energetick\xe1 \xfa\u010dinnost","web_pointsmarket_boost_checkin_successful":"web_pointsmarket_boost_checkin_successful","web_login_forgot_result_3":"Pokud jste neobdr\u017eeli e-mail, zkontrolujte pros\xedm sv\xe9 slo\u017eky nevy\u017e\xe1dan\xe9 po\u0161ty a nevy\u017e\xe1dan\xe9 po\u0161ty.","web_order_step_shipped":"Odesl\xe1no","web_login_forgot_result_4":"Pokud po \u017e\xe1dosti o obnoven\xed hesla e-mail st\xe1le neobdr\u017e\xedte, zkuste to znovu.","web_login_forgot_result_1":"Odkaz na obnoven\xed hesla byl odesl\xe1n {{email}}","web_login_forgot_result_2":"E-maily mohou zaznamenat n\u011bkolikaminutov\xe9 zpo\u017ed\u011bn\xed.","web_product_compare_title":"Porovnat s podobn\xfdmi polo\u017ekami","web_order_cancel_lack_payment":"Nenab\xeddl jsem zp\u016fsob platby, kter\xfd jsem up\u0159ednost\u0148oval","web_age_gate_intro":"Podle m\xedstn\xedch z\xe1kon\u016f mus\xedte b\xfdt alespo\u0148 {{age}} let pro p\u0159\xedstup k n\xe1sleduj\xedc\xedm produkt\u016fm a obsahu.","web_product_affirm_pay_title_us":"Kupte si ji je\u0161t\u011b dnes <br/>4 bez\xfaro\u010dn\xe9 platby","web_product_instructional_manual_title":"Instrukt\xe1\u017en\xed p\u0159\xedru\u010dka","web_shop_crowdfunding_owner":"\xda\u0159edn\xed","web_points_col_used":"Pou\u017eit\xe9","web_login_sign_in_title":"P\u0159ihl\xe1sit se","web_payment_klarna_step4_ca":"Vyberte si platbu<br>napl\xe1nujte a dokon\u010dete sv\u016fj<br>pokladna.","web_xmas2025_door4_link_de":"https://vivosun.com/de-DE/vivosun-growhub-\u0159adi\u010d-v\u0161e v jednom platformu-pro \u0159\xedzen\xed-monitorov\xe1n\xed-zlep\u0161ov\xe1n\xed-rostou-dynamick\xe9-teploty-pl\xe1nov\xe1n\xed-vlhkost\xed-p153885832384111130-v161077718084019353? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=den4","web_diy_recommended_title":"Kter\xfd {{size}} Stanov\xe1 sada je pro m\u011b ta prav\xe1?","web_shop_account_link_expired_prompt":"Odkaz vypr\u0161el","web_common_it_is_empty":"Je pr\xe1zdn\xfd.","web_common_btn_back":"Zp\u011bt","web_common_go_upper":"J\xcdT","web_refund_return_reason_empty_error":"Vyberte d\u016fvod vr\xe1cen\xed","web_purchase_declined_details":"<li>P\u0159esnost: \u010c\xedslo va\u0161\xed karty, CVV, a datum vypr\u0161en\xed platnosti jsou spr\xe1vn\xe9.</li><li>Faktura\u010dn\xed \xfadaje: Va\u0161e faktura\u010dn\xed adresa p\u0159esn\u011b odpov\xedd\xe1 va\u0161im bankovn\xedm z\xe1znam\u016fm.</li><li>Finan\u010dn\xed prost\u0159edky: Va\u0161e karta m\xe1 dostate\u010dn\xfd z\u016fstatek a je autorizov\xe1na pro online/mezin\xe1rodn\xed n\xe1kupy.</li>","web_purchase_large_tip_vip":"Dostali jste p\u0159\xedstup k na\u0161\xed VIP slu\u017eb\u011b.","web_shop_crowdfunding_hr_togo":"<span>{{timeRemaining}}</span> hodina do konce","web_xmas2025_door7_desc_de":"Holiday-gumy se zah\u0159\xedvaj\xed jinak. A ano - stroj na sladkosti je neuv\u011b\u0159iteln\u011b snadn\xe9.","web_address_zipcode_unvalid_error":"Zadejte platn\xe9 PS\u010c","web_common_hours_lower":"hodin","web_register_title":"Registrovat","web_refer_friend_desc_title":"Z\xedskat {{brand}} body za doporu\u010den\xed","web_common_num_items":"{{num}} polo\u017eka (y)","web_footer_link_create_account":"Vytvo\u0159it \xfa\u010det","web_shop_activity_remaining":"Zb\xfdvaj\xedc\xed","web_purchase_large_p2p_email":"E-mail P2P","web_package_page_title":"Bal\xed\u010dek","web_common_dialog":"web_common_dialog","web_coupons_drawer_title":"Upozorn\u011bn\xed na kup\xf3n","web_diy_customize_select_one":"Vyberte jednu","web_referral_process":"Jak z\xedsk\xe1m provizi?","web_points_col_point_type":"Typ bodu","web_checkout_points_tooltip":"Pozn\xe1mka: Body, kter\xe9 jste pou\u017eili na objedn\xe1vku, budou ode\u010dteny z va\u0161eho \xfa\u010dtu pot\xe9, co kliknete na \u201eZADAT OBJEDN\xc1VKU\u201c. Svou objedn\xe1vku m\u016f\u017eete zru\u0161it v sekci \u201eMoje objedn\xe1vky\u201c a {{brand}} body, kter\xe9 jste uplatnili, budou vr\xe1ceny na v\xe1\u0161 \xfa\u010det. Body lze vyu\u017e\xedt a\u017e do v\xfd\u0161e 60 % z celk
1ov\xe9 ceny produktu.","web_wfd_checkout_module_poweredby":"Poh\xe1n\u011bno <Logo/>","web_order_cancel_reason_label":"Zvolte pros\xedm d\u016fvod zru\u0161en\xed objedn\xe1vky","web_payment_klarna_step2_ca":"Vyberte Klarna<br>p\u0159i pokladn\u011b","web_common_reply_to":"Odpov\u011bd\u011bt","web_shop_crowdfunding_sign_in_now":"P\u0159ihl\xe1sit se nyn\xed","web_referral_intro_content":"Vyd\u011bl\xe1vat {{brand}} body odkazem na p\u0159\xe1tele, rodinu nebo spolupracovn\xedky. Kdy\u017e zadaj\xed objedn\xe1vku a potvrd\xed p\u0159ijet\xed, z\xedsk\xe1te body. Zjist\u011bte, jak poslat doporu\u010den\xed, a zjist\u011bte, kolik {{brand}} body, kter\xe9 m\u016f\u017eete z\xedskat n\xed\u017ee.","web_shop_account_your_email_address":"E-mailov\xe1 adresa va\u0161eho \xfa\u010dtu <span>{{oldEmail}}</span>","web_survey_form_text_placeholder":"Otev\u0159en\xfd text \u2014 nev\xe1hejte sd\xedlet tolik n\xe1pad\u016f, kolik chcete","web_refer_friend_leave_message_tips":"Zanechte zpr\xe1vu pro sv\xe9ho p\u0159\xedtele zde (voliteln\xe9)","web_shop_crowdfunding_min_left":"<span>{{timeRemaining}}</span> min vlevo","web_summary_points_redeemed":"Uplatn\u011bn\xe9 body","web_cart_empty_login_tip":"M\xe1te \xfa\u010det? Chcete-li zobrazit ko\u0161\xedk, p\u0159ihlaste se.","web_login_bind_btn_bind":"V\xe1zat e-mail","web_support_product_manuals":"P\u0159\xedru\u010dky k produkt\u016fm","web_product_review_with_photo":"S fotografi\xed","web_form_warranty_item_placeholder_1":"Zadejte pros\xedm n\xe1zev polo\u017eky","web_shop_activity_eligibility_expired":"Platnost vypr\u0161ela","web_search_history_title":"Naposledy hledan\xe9","web_diy_ranking_top":"VRCHOL {{sort}}","web_checkout_shipping_title":"Zp\u016fsob p\u0159epravy","web_support_blogs_title":"Akademie v\xfdsadby","web_checkout_step_order_complete":"Objedn\xe1vka dokon\u010dena","web_referral_send":"Odeslat doporu\u010den\xed","web_footer_link_account":"\xda\u010det","web_diy_ranking_score_functionality":"Funk\u010dnost","web_product_together_all_unavailable":"V\u0161echny vybran\xe9 polo\u017eky jsou do\u010dasn\u011b nedostupn\xe9.","web_xmas2025_door12_desc_us":"2025. A year we grew together.\\nBuilt from feedback, shaped by growers.\\nBuilt for growers. Always. \ud83c\udf31","web_purchase_declined_tip_recommend":"Pro va\u0161i bezpe\u010dnost n\xe1\u0161 syst\xe9m nemohl tuto transakci zpracovat. P\u0159ed opakovan\xfdm pokusem se ujist\u011bte, \u017ee:","web_fixed_register_points_tip":"Z\xcdSKAT NAV\xcdC {{points}} Body","web_form_pwd_empty_error":"Zadejte pros\xedm sv\xe9 heslo.","web_refer_status_unissued":"Nevyd\xe1no","web_xmas2025_door12_link_us":"https://www.instagram.com/reel/DSb_HXCgA1A/","web_xmas2025_door2_link_de":"https://vivosun.com/de-DE/vivosun-lumaray-sv\u011btlo-pod baldach\xfdnem - p161077717815584533-v161077717815584532? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=2. den","web_consent_customise_advertising_title":"Reklamn\xed cookies","web_common_android":"Android","web_list_description_fold":"P\u0159elo\u017eit","web_cart_black_friday_tip":"web_cart_black_friday_tip","web_shop_crowdfunding_mins_left":"<span>{{timeRemaining}}</span> zb\xfdv\xe1 minuta","web_diy_ranking_btn_comment":"Koment\xe1\u0159","web_pointsmarket_boost_boost_failed":"web_pointsmarket_boost_boost_failed","web_diy_ranking_override_confirm":"Jste si jisti, \u017ee chcete pou\u017e\xedt tento KIT k p\u0159eps\xe1n\xed toho, kter\xfd pr\xe1v\u011b stav\xedte?","web_shop_crowdfunding_frequently_asked_questions":"\u010casto kladen\xe9 ot\xe1zky","web_help_about_vdays":"O spole\u010dnosti VDays","web_purchase_failed_btn_status":"Pod\xedvejte se na objedn\xe1vky","web_account_security_title":"Zabezpe\u010den\xed \xfa\u010dtu","web_footer_link_products":"V\xfdrobky","web_home_sfs_help_content":"<p>1. Denn\xed nab\xeddky budou m\xedt \u010dasov\xe1 a mno\u017estevn\xed omezen\xed; n\xe1kupy jsou omezeny na jednu polo\u017eku na osobu.</p><p>2. Nelze kombinovat s jin\xfdmi propaga\u010dn\xedmi akcemi (nap\u0159. Bal\xed\u010dky, Bonusov\xe9 polo\u017eky, kup\xf3ny), ale body lze pou\u017e\xedt.</p><p>3. Zkr\xe1cen\xe1 doba zadr\u017een\xed z\xe1sob; pokud nebude zaplacena do 1 hodiny na str\xe1nce pokladny, objedn\xe1vka bude zru\u0161ena.</p>","web_pointsmarket_boost_btn_in_progress":"web_pointsmarket_boost_btn_in_progress","web_home_sfs_price_off":"<Discount/><span>
1VYPNUTO</span>","web_time_starts_on":"Za\u010d\xedn\xe1","web_shop_redeem_redeem_points":"Uplatn\u011bte body","web_pointsmarket_page_title":"Tr\u017ei\u0161t\u011b bod\u016f","web_refer_friend_desc_content":"Vyd\u011bl\xe1vat {{points}} body za {{price}} v\xe1\u0161 p\u0159\xedtel utrat\xed, kdy\u017e zad\xe1 objedn\xe1vku a potvrd\xed p\u0159ijet\xed. Mohou si vybrat jak\xfdkoli produkt a vy obdr\u017e\xedte sv\u016fj {{brand}} body, jakmile je jejich objedn\xe1vka potvrzena.","web_shop_security_i_have_verified_my_email":"Ov\u011b\u0159il jsem sv\u016fj e-mail","web_shop_product_price_gst_tips":"(v\u010detn\u011b GST)","web_xmas2025_banner_subtitle":"Ka\u017ed\xfd den otev\u0159ete nov\xe9 dve\u0159e<br>Na 12 dn\xed v\xe1no\u010dn\xedch p\u0159ekvapen\xed.","web_diy_customize_step_required_error":"{{stepName}} povinn\xe9, p\u0159ed p\u0159echodem k pokladn\u011b prove\u010fte v\xfdb\u011br.","web_payment_klarna_step2_de":"Vyberte Klarna<br>p\u0159i pokladn\u011b","web_shop_product_subscribe_tips":"P\u0159ihlaste se k odb\u011bru na\u0161eho zpravodaje a z\xedskejte aktualizace, exkluzivn\xed nab\xeddky a tipy na zahradni\u010den\xed.","web_order_order_no":"Objedn\xe1vka \u010d.","web_support_email_title":"Napi\u0161te n\xe1m","web_shop_security_email_verified_successfully":"E-mail \xfasp\u011b\u0161n\u011b ov\u011b\u0159en","web_shop_navi_shop_by_category":"Nakupujte podle kategorie","web_diy_view_reviews":"Zobrazit recenze","web_checkout_shipping_fee_tip":"O\u010dek\xe1v\xe1 se, \u017ee doraz\xed <time>5-10</time> pracovn\xed dny.","web_payment_klarna_policy_gb":"web_payment_klarna_policy_gb","web_upload_label_1":"Zde ode\u0161lete jak\xe9koli obr\xe1zky nebo video:","web_crowd_funding_rules":"<div><h3>Vivosun Crowdfunding: Podpora inovativn\xedch produkt\u016f</h3><section><p>V\xedtejte na <b>\xfa\u0159edn\xedk Vivosun Crowdfundingov\xfd projekt</b>, kde se inovace setk\xe1vaj\xed s p\u0159\xedle\u017eitostmi. Tento projekt\\n umo\u017e\u0148uje p\u0159\xedznivc\u016fm pod\xedlet se na v\xfdvoji \u0161pi\u010dkov\xfdch produkt\u016f a b\xfdt sou\u010d\xe1st\xed cesty od\\n Koncepce k realit\u011b. P\u0159isp\xedv\xe1n\xedm Vivosunv r\xe1mci crowdfundingov\xfdch kampan\xed hraj\xed \xfa\u010dastn\xedci z\xe1sadn\xed roli\\n p\u0159in\xe1\u0161en\xed pr\u016fkopnick\xfdch n\xe1pad\u016f do \u017eivota.</p></section><section><p>Jako gesto uzn\xe1n\xed, Vivosun nab\xedz\xed exkluzivn\xed odm\u011bny prvn\xedm p\u0159\xedznivc\u016fm. Jakmile kampa\u0148\\n \xfasp\u011b\u0161n\u011b dos\xe1hne sv\xe9ho c\xedle financov\xe1n\xed, odm\u011bny budou doru\u010deny podle stanoven\xe9ho \u010dasov\xe9ho harmonogramu.\\n Vezm\u011bte pros\xedm na v\u011bdom\xed, \u017ee <b>dal\u0161\xed odm\u011bny budou odesl\xe1ny po dod\xe1n\xed hlavn\xedho produktu</b>. Pokud objedn\xe1vka\\n je zru\u0161eno nebo vr\xe1ceno, v\u0161echny souvisej\xedc\xed odm\u011bny budou tak\xe9 zru\u0161eny nebo vr\xe1ceny.</p></section><h4>Jak se z\xfa\u010dastnit</h4><section><p>Prozkoumejte projekt</p><p>Nav\u0161tivte Vivosun crowdfundingov\xe1 str\xe1nka pro objevov\xe1n\xed inovativn\xedch produkt\u016f, kter\xe9 jsou v sou\u010dasn\xe9 dob\u011b ve v\xfdvoji. Detailn\xed\\n popisy zd\u016fraz\u0148uj\xed vlastnosti, v\xfdhody a potenci\xe1ln\xed dopad ka\u017ed\xe9ho produktu.</p></section><section><p>Vyberte \xfarove\u0148 odm\u011bn</p><p>P\u0159\xedznivci mohou kliknout na tla\u010d\xedtko \u201eZp\u011bt\u201c, vybrat preferovanou \xfarove\u0148 odm\u011bn a dokon\u010dit proces platby.\\n Ka\u017ed\xe1 \xfarove\u0148 obsahuje jedine\u010dn\xe9 v\xfdhody a d\xe1rky k uzn\xe1n\xed podpory \xfa\u010dastn\xedk\u016f.</p></section><section><p>Poskytn\u011bte zp\u011btnou vazbu</p><p>Sekce \u201eKoment\xe1\u0159e\u201c je k dispozici pro p\u0159\xedznivce, aby se mohli pod\u011blit o n\xe1pady, n\xe1vrhy nebo dotazy t\xfdkaj\xedc\xed se\\n projekt. The Vivosun t\xfdm pe\u010dliv\u011b zkontroluje ve\u0161kerou zp\u011btnou vazbu a reaguje, aby byla zaji\u0161t\u011bna jasnost a transparentnost.\\n </p></section><section><p>Sledov\xe1n\xed objedn\xe1vek</p><p>P\u0159ed odesl\xe1n\xedm mohou \xfa\u010dastn\xedci zkontrolovat stav sv\xfdch objedn\xe1vek nebo
1je kdykoli zru\u0161it prost\u0159ednictv\xedm\\n centrum \xfa\u010dt\u016f. Jakmile bude kampa\u0148 \xfasp\u011b\u0161n\u011b financov\xe1na, odm\u011bny budou odesl\xe1ny v r\xe1mci sl\xedben\xe9ho\\n \u010dasov\xfd r\xe1mec.</p></section><h4>D\u016fle\u017eit\xe9 pokyny</h4><section><p>Z\xe1sady vr\xe1cen\xed pen\u011bz</p><p>V p\u0159\xedpad\u011b, \u017ee kampa\u0148 nedos\xe1hne sv\xe9ho c\xedle financov\xe1n\xed ve stanoven\xe9m term\xednu, budou v\u0161echny platby v pln\xe9 v\xfd\u0161i\\n vr\xe1ceno na p\u0159\xedslu\u0161n\xe9 \xfa\u010dty.</p></section><section><p>Vyu\u017eit\xed bod\u016f</p><p>Vivosun body lze pou\u017e\xedt k vyrovn\xe1n\xed mno\u017estv\xed objedn\xe1vek crowdfundingu. Body v\u0161ak nejsou zp\u016fsobil\xe9\\n pou\u017eit\xed ve spojen\xed s dal\u0161\xedmi propaga\u010dn\xedmi nab\xeddkami.</p></section><section><p>Nejistoty projektu</p><p>Projekty crowdfundingu se mohou setkat se zpo\u017ed\u011bn\xedm nebo zru\u0161en\xedm kv\u016fli technick\xfdm nebo v\xfdrobn\xedm probl\xe9m\u016fm. V\\n takov\xe9to p\u0159\xedpady, Vivosun okam\u017eit\u011b upozorn\xed p\u0159\xedznivce o jak\xfdchkoli zm\u011bn\xe1ch a odpov\xeddaj\xedc\xedm zp\u016fsobem zpracuje vr\xe1cen\xed pen\u011bz.</p></section><section><p>Term\xedn platby</p><p>Aby byla zaji\u0161t\u011bna spravedlnost a rovn\xe9 p\u0159\xedle\u017eitosti pro v\u0161echny \xfa\u010dastn\xedky, objedn\xe1vky mus\xed b\xfdt dokon\u010deny do 1 hodiny. Neplacen\xe9\\n Objedn\xe1vky budou automaticky zru\u0161eny.</p></section><section><p>Limity \xfarovn\u011b odm\u011bn</p><p>N\u011bkter\xe9 \xfarovn\u011b odm\u011bn mohou m\xedt omezen\xe9 mno\u017estv\xed a jsou k dispozici podle z\xe1sady \u201ekdo d\u0159\xedv p\u0159ijde, je d\u0159\xedv na \u0159ad\u011b\u201c.</p></section><h4>Pro\u010d podpora Vivosun Crowdfunding?</h4><section><p>Bu\u010fte prvn\xed, kdo za\u017eije inovace</p><p>Z\xedskejte v\u010dasn\xfd p\u0159\xedstup k VivosunNejnov\u011bj\u0161\xed a nejpokro\u010dilej\u0161\xed produkty p\u0159ed t\xedm, ne\u017e se dostanou na trh. P\u0159\xedznivci budou\\n b\xfdt v pop\u0159ed\xed \u0161pi\u010dkov\xe9 technologie a designu.</p></section><section><p>Exkluzivn\xed odm\u011bny na v\xe1s \u010dekaj\xed</p><p>Jako pod\u011bkov\xe1n\xed za va\u0161i podporu, Vivosun nab\xedz\xed speci\xe1ln\xed v\xfdhody a d\xe1rky, kter\xe9 jsou k dispozici pouze\\n \xfa\u010dastn\xedci crowdfundingu. Tyto odm\u011bny jsou navr\u017eeny tak, aby byl v\xe1\u0161 p\u0159\xedsp\u011bvek je\u0161t\u011b smyslupln\u011bj\u0161\xed.</p></section><section><p>Formujte budoucnost produkt\u016f</p><p>Na va\u0161\xed zp\u011btn\xe9 vazb\u011b z\xe1le\u017e\xed! Sd\xedlen\xedm sv\xfdch n\xe1pad\u016f a n\xe1vrh\u016f m\u016f\u017eete p\u0159\xedmo ovlivnit v\xfdvoj\\n produkty, kter\xe9 spl\u0148uj\xed va\u0161e pot\u0159eby a p\u0159ed\u010d\xed va\u0161e o\u010dek\xe1v\xe1n\xed.</p></section><section><p>Vivosun zve v\u0161echny p\u0159\xedznivce, aby se p\u0159ipojili k t\xe9to vzru\u0161uj\xedc\xed cest\u011b inovac\xed. Spole\u010dn\u011b m\u016f\u017eeme vytvo\u0159it budoucnost\\n definov\xe1no excelenc\xed a kreativitou.</p></section><h4>Z\xe1ruka doru\u010den\xed</h4><section><p>Ch\xe1peme, \u017ee podpora nov\xe9ho produktu p\u0159ich\xe1z\xed s ot\xe1zkami. Chceme, abyste se c\xedtili naprosto sebev\u011bdom\u011b p\u0159i podpo\u0159e na\u0161eho projektu.</p></section><section><p>Na\u0161e z\xe1ruka:</p><ul style=\\"list-style: unset; margin-left: 20px;\\"><li><p>V\xfdrobn\xed z\xe1vazek: Jakmile kampa\u0148 dos\xe1hne sv\xe9ho minim\xe1ln\xedho c\xedle financov\xe1n\xed, v\xfdroba bude pln\u011b zaji\u0161t\u011bna a v\xfdroba produktu bude zah\xe1jena okam\u017eit\u011b.</p></li><li><p>Transparentn\xed aktualizace: Budeme jasn\u011b a proaktivn\u011b komunikovat o ka\u017ed\xe9 f\xe1zi v\xfdroby a p\u0159epravy.</p></li><li><p>Ochrana p\u0159ed vn\u011bj\u0161\xedmi faktory: Pokud by vn\u011bj\u0161\xed faktory \u2014 nap\u0159\xedklad tarify nebo glob\xe1ln\xed naru\u0161en\xed p\u0159epravy \u2014 zp\u016fsobily zpo\u017ed\u011bn\xed, budeme v\xe1s okam\u017eit\u011b informovat a usilovn\u011b pracujeme na minimalizaci jak\xe9hokoli dopadu.</p></li></ul></section><section><p>N\xe1\u0161 slib:</p><p>Va\u0161e investice je bezpe\u010dn\xe1 Vivosun\u2014 jsme pln\u011b odhodl\xe1ni dod\xe1vat v\xe1\u0161 podporovan\xfd produkt a budeme v\xe1s informovat o ka\u017ed\xe9m kroku.</p></section></div>","web_help_shipping_policy":"Z\xe1sady p\u0159epravy","web_checkout_products_title":"Polo\u017eky","web_referral_intro_title":"Milujete zahradni\u010den\xed? Doporu\u010dit {{brand}}
1","web_shop_redeem_grab_your_treat":"Popadn\u011bte si pochoutku!","web_common_copyright":"\xa9{{year}}{{brand}} V\u0161echna pr\xe1va vyhrazena","web_login_cannot_open_popup":"Nelze otev\u0159\xedt {{name}} p\u0159ihla\u0161ovac\xed okno, zav\u0159ete \u201eBlokovat vyskakovac\xed okna\u201c v nastaven\xed Safari, nebo zkuste se p\u0159ihl\xe1sit v jin\xfdch prohl\xed\u017ee\u010d\xedch.","web_common_complete":"Kompletn\xed","web_login_btn_facebook":"P\u0159ihl\xe1sit se p\u0159es Facebook","web_shop_tutorial_more_task":"Dal\u0161\xed \xfakoly, kter\xe9 si m\u016f\u017eete n\xe1rokovat Vivosun body","web_xmas2025_door10_desc_de":"Our AeroFlux, na\u0161e klima p\u0159in\xe1\u0161\xed dal\u0161\xed \xfarove\u0148.","web_order_cancel_bad_reviews":"\u0160patn\xe9 recenze","web_common_btn_go_back":"Vra\u0165 se","web_support_download":"St\xe1hnout","web_early_access_order_created":"Va\u0161e zku\u0161ebn\xed objedn\xe1vka byla \xfasp\u011b\u0161n\u011b vytvo\u0159ena.","web_security_change_password":"Zm\u011bnit heslo","web_unsubscribe_link_return":"N\xe1vrat na na\u0161e webov\xe9 str\xe1nky","web_shop_activity_early_access_application_eriod_closed":"Obdob\xed pod\xe1v\xe1n\xed \u017e\xe1dost\xed uzav\u0159eno","web_account_address_title":"M\u016fj adres\xe1\u0159","web_warranty_item":"Z\xe1ru\u010dn\xed polo\u017eka","web_form_email_placeholder_1":"Nap\u0159. [email protected]","web_common_title_detail":"Detail","web_common_time_remaining":"{{timeRemaining}} zb\xfdvaj\xedc\xed","web_diy_entrance_recommended_desc":"Profesion\xe1ln\u011b p\u0159edp\u0159ipraven\xe9 tak, aby vyhovovalo pot\u0159eb\xe1m v\u011bt\u0161iny u\u017eivatel\u016f.","web_xmas2025_rules_content":"<ul><li><h3>1. Obdob\xed ud\xe1losti</h3><div>Akce prob\xedh\xe1 od 8. prosince do 19. prosince (PST).</div></li><li><h3>2. Jak to funguje</h3><p>Od 8. prosince je ka\u017ed\xfd den k dispozici jedna nov\xe1 d\xe1rkov\xe1 krabi\u010dka.</p><p>D\xe1rkov\xe9 krabi\u010dky lze otev\u0159\xedt kdykoli b\u011bhem obdob\xed akce - v\u0161ech 12 krabic z\u016fstane p\u0159\xedstupn\xfdch do 31. prosince.</p><p>Z\xedskejte 100 bod\u016f za ka\u017edou d\xe1rkovou krabi\u010dku, kterou otev\u0159ete.</p><p>Otev\u0159ete v\u0161ech 12 d\xe1rkov\xfdch krabi\u010dek a odemkn\u011bte zp\u016fsobilost pro Mystery Merch.</p><p>V\u0161echny body a odm\u011bny mus\xed b\xfdt pou\u017eity do 31. prosince (PST).</p></li><li><h3>3. Pravidla z\xe1hadn\xfdch d\xe1rk\u016f</h3><p>Tajemn\xfd d\xe1rek mus\xed b\xfdt vykoupen spole\u010dn\u011b s alespo\u0148 jednou b\u011b\u017enou polo\u017ekou ve stejn\xe9 objedn\xe1vce - nelze jej zakoupit samostatn\u011b.</p><p>Invent\xe1\u0159 je omezen\xfd. Odemknut\xed tajemn\xe9ho d\xe1rku zaru\u010duje zp\u016fsobilost, ale konkr\xe9tn\xed polo\u017eky odm\u011bny lze uplatnit pouze do vyprod\xe1n\xed z\xe1sob.</p><p>Pokud se polo\u017eka vyprod\xe1, nebude k dispozici p\u0159i pokladn\u011b.</p></li><li><h3>4. Vypr\u0161en\xed platnosti a omezen\xed</h3><p>Platnost v\u0161ech bod\u016f a z\xe1hadn\xfdch d\xe1rk\u016f vypr\u0161\xed 31. prosince (PST). Uplatn\u011bte nebo zadejte objedn\xe1vku p\u0159ed term\xednem.</p><p>Odm\u011bny za ud\xe1losti nelze kombinovat s jin\xfdmi propaga\u010dn\xedmi akcemi, v\u010detn\u011b nab\xeddek dopravy zdarma, bonusov\xfdch polo\u017eek nebo kup\xf3n\u016f.</p><p>Ka\u017ed\xfd z\xe1kaznick\xfd \xfa\u010det se m\u016f\u017ee z\xfa\u010dastnit jednou.</p><p>VIVOSUN Vyhrazuje si pr\xe1vo na kone\u010dnou interpretaci t\xe9to ud\xe1losti.</p></li></ul>","web_help_referral_program":"Program doporu\u010den\xed","web_help_growhub_e42":"GrowHub E42/E42A","web_write_review_points_tip":"Vyd\u011bl\xe1vejte a\u017e <strong>{{num}} body</strong> zve\u0159ejn\u011bn\xedm recenze.","web_wfd_orderdetail_claimentry_button":"Zah\xe1jen\xed reklamace","web_xmas2025_rewards_mystery_gift":"Tajemn\xfd d\xe1rek","web_login_switch_account":"P\u0159epnout \xfa\u010det","web_header_guide_winter_grow_guide":"Pr\u016fvodce zimn\xedm p\u011bstov\xe1n\xedm","web_common_happy_halloween":"\u0160\u0165astn\xfd Halloween","web_common_pay_time":"Datum platby","web_order_cancel_popup_title":"Zru\u0161it objedn\xe1vku","web_shop_crowdfunding_status_upcoming":"P\u0159ipravovan\xe9","web_shop_account_tips_bind_new_email_desc":"Zadejte svou novou e-mailovou adresu a obdr\u017e\xedte ov\u011b\u0159ovac\xed e-mail. Zkontrolujte pros\xedm svou doru\u010denou po\u0161tu a postupujte podle pokyn\u016f k dokon\u010den\xed procesu vazby.","web_price_free_upper":"ZDARMA","web_common_read_more":"\u
1010ct\u011bte v\xedce","web_purchase_large_phone":"Telefon","web_account_orders_title":"Moje objedn\xe1vky","web_cart_wholesale_minimum_tip":"Velkoobchodn\xed objedn\xe1vky: Minim\xe1ln\u011b 3 000 USD pro pokladnu.","web_pointsmarket_boost_btn_boost":"web_pointsmarket_boost_btn_boost","web_review_empty_tip":"Bu\u010f prvn\xed, kdo okomentuje! Pod\u011blte se o sv\xe9 my\u0161lenky nebo dotazy t\xfdkaj\xedc\xed se t\xe9to sady","web_xmas2025_door10_link_de":"https://vivosun.com/de-DE/vivosun-aeroflux-chytr\xfd oh\u0159\xedva\u010d p\u011bste-stan-p164609661357825457-v164609661357825455? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=den10","web_help_wrong_item_received":"Chybn\xe1 polo\u017eka p\u0159ijata","web_shop_security_sign_up_and_verify":"Zaregistrujte se a ov\u011b\u0159te","web_referral_faqs":"{{brand}} \u010cast\xe9 dotazy k programu doporu\u010den\xed","web_security_delete_account_title":"Odstranit \xfa\u010det","web_order_received":"P\u0159ijato","web_payment_klarna_policy_de":"Mus\xedte b\xfdt rezidentem N\u011bmecka, alespo\u0148 18 let, m\xedt platn\xfd bankovn\xed \xfa\u010det, dobr\xe9 \xfav\u011brov\xe9 hodnocen\xed a \u010d\xedslo mobiln\xedho telefonu. Mohou b\xfdt \xfa\u010dtov\xe1ny poplatky za pozdn\xed odklad.<br>Vydavatel \xfav\u011bru: Klarna Bank AB (publ), Sveav\xe4gen 46,111 34 Stockholm, \u0160v\xe9dsko V\u0161eobecn\xe9 obchodn\xed podm\xednky (AGB): <a href=\\"https://www.klarna.com/de/agb/\\" target=\\"_blank\\">https://www.klarna.com/de/agb/</a>.<br>Ochrana kupuj\xedc\xedho spole\u010dnosti Klarna vylu\u010duje ur\u010dit\xe9 platebn\xed metody a n\xe1kupy, nap\u0159. cestov\xe1n\xed, vstupenky na akce nebo d\xe1rkov\xe9 karty. <a href=\\"https://www.klarna.com/de/kauferschutzrichtlinie/\\" target=\\"_blank\\">Platebn\xed podm\xednky</a>.","web_xmas2025_door6_desc_us":"Kdo zachr\xe1n\xed Dr. Greena p\u0159ed chaosem v kuchyni? \\nSanta je na cest\u011b s v\xe1\u017en\xfdm v\xe1no\u010dn\xedm kouzlem. \u2728","web_checkout_sign_up_tip":"Zaregistrujte se hned te\u010f a z\xedskejte speci\xe1ln\xed nab\xeddku pro nov\xe9 z\xe1kazn\xedky! U\u017eijte si a\u017e <span>{{discount}} VYPNUTO</span> V\xe1\u0161 prvn\xed n\xe1kup s na\u0161\xedm exkluzivn\xedm kup\xf3nem a nav\xedc <span>{{points}} body</span> p\u0159id\xe1no do va\u0161eho \xfa\u010dtu. Zobrazit <privacy-link>Z\xe1sady ochrany osobn\xedch \xfadaj\u016f a soubor\u016f cookie</privacy-link> a <terms-link>V\u0161eobecn\xe9 obchodn\xed podm\xednky</terms-link>.","web_cart_apply_coupon_tip":"V dal\u0161\xedm kroku pou\u017eijte k\xf3d kup\xf3nu.","web_common_btn_share_now":"Sd\xedlet nyn\xed","web_feature_3d":"3D","web_shop_crowdfunding_mins_togo":"<span>{{timeRemaining}}</span> Minuty do konce","web_shop_crowdfunding_add_a_comment":"P\u0159idat koment\xe1\u0159...","web_common_divider_or":"Nebo","web_help_growhub_e25":"GrowHub E25","web_locale_change_region":"Zm\u011bnit oblast","web_view_count":"{{count}} Pohled","web_common_update":"Aktualizovat","web_consent_root_customise_cookies":"P\u0159izp\u016fsobit soubory cookie","web_shop_crowdfunding_only_backers_can_post_comments":"Koment\xe1\u0159e mohou ps\xe1t pouze podporovatel\xe9.","web_consent_root_title":"Z\xe1sady ochrany osobn\xedch \xfadaj\u016f a soubor\u016f cookie","web_summary_total":"Celkem","web_common_rules":"Pravidla","web_shop_crowdfunding_faq":"FAQ","web_footer_link_my_account":"M\u016fj \xfa\u010det","web_pay_cvv_label":"Bezpe\u010dnostn\xed k\xf3d","web_account_points_title":"Moje body","web_feature_animation":"Animace","web_coupons_available_title":"K dispozici","web_subscribe_result_btn_text":"Kliknut\xedm najdete skv\u011bl\xe9 nab\xeddky!","web_download_app_popup_tips":"Naskenujte QR k\xf3d, st\xe1hn\u011bte si aplikaci a za\u010dn\u011bte si je\u0161t\u011b dnes u\u017e\xedvat pr\xe9miov\xe9 nakupov\xe1n\xed.","web_affiliate_program":"Partnersk\xfd program","web_referral_invite_friends":"Pozv\u011bte p\u0159\xe1tele hned te\u010f a z\xedskejte {{brand}} body","web_cart_black_friday_title":"Exkluzivn\xed akce \u010cern\xfd p\xe1tek","web_pointsmarket_boost_btn_continue":"web_pointsmarket_boost_btn_continue","web_common_link_copied_tip":"V\xe1\u0161 odkaz byl zkop\xedrov\xe1n!","web_shop_brand_story":"P\u0159\xedb\u011bh zna\u010dky","web_xmas2025_door1_link_us":"https://www.instagram.com/reel/DR_qYyRkYhW/","web_coupon_empty_tip":"V\xe1\u0161 kup\xf3n je pr\xe1zdn\xfd","web_pay_btn_reload":"Znovu na\u010d\xedst","web_common_continue_shopping":"Pokra\u010dovat v nakupov\xe1n\xed","web_refer_friend_share_your_friends":"Sd\xedlejte se sv\xfdmi p\u0159\xe1teli","web_pointsmarket_flash_total_points":"
1<Num/><span>Body<span>","web_shop_redeem_process_step1_desc":"Klepn\u011bte na tla\u010d\xedtko <a>tady</a> p\u0159ihl\xe1sit se {{brand}} nebo si vytvo\u0159te nov\xfd \xfa\u010det.","web_shop_activity_share_for_a_gift":"Sd\xedlejte a z\xedskejte d\xe1rek","web_points_col_expiration_date":"Datum vypr\u0161en\xed platnosti","web_orders_nav_unpaid":"Neplacen\xe9","web_shop_account_verify_your_identity_desc":"Zadejte pros\xedm sv\xe9 heslo, abyste ov\u011b\u0159ili, \u017ee jste vlastn\xedkem \xfa\u010dtu.","web_checkin_plant_check_in":"P\u0159ihlaste se a zvy\u0161te \xfarove\u0148 sv\xe9 rostliny","web_list_sort_new":"Nov\xe9 p\u0159\xedchody","web_common_btn_return_to_cart":"Zp\u011bt do ko\u0161\xedku","web_shop_crowdfunding_status_live":"\u017div\u011b","web_age_gate_full_age":"J\xc1 JSEM {{age}}+","web_pointsmarket_products_title":"Obchodn\xed body pro produkty","web_support_blogs_desc":"Odborn\xe9 znalosti, technick\xfd pr\u016fvodce, a sez\xf3nn\xed post\u0159ehy.","web_shop_crowdfunding_crowdfunding":"Crowdfunding","web_xmas2025_door11_desc_de":"Na\u0161e Giveaway s Royal Queen Seeds prob\xedh\xe1 na na\u0161ich kan\xe1lech soci\xe1ln\xedch m\xe9di\xed!\\nPosledn\xed \u0161ance tohoto roku - tak\xe9 nezme\u0161k\xe1te.","web_xmas2025_door9_desc_de":"V\u0161e, co pot\u0159ebujete - v jednom bal\xed\u010dku.","web_order_items_col_action":"Akce","web_messages_tab_notification":"Ozn\xe1men\xed","web_summary_tax":"Da\u0148","web_shop_activity_early_access_invite_friends":"Pozv\u011bte p\u0159\xe1tele, aby se p\u0159ipojili!","web_shop_account_change_email_address":"Zm\u011bnit e-mailovou adresu","web_xmas2025_rewards_title":"Otev\u0159ete dne\u0161n\xed dve\u0159e<br>Odhalit svou odm\u011bnu","web_cart_recommend_title":"Mo\u017en\xe1 budete cht\xedt p\u0159idat","web_shop_crowdfunding_hrs_togo":"<span>{{timeRemaining}}</span> hodina do konce","web_home_sfs_purchase_limit":"Limit n\xe1kupu: {{userLimit}} mno\u017estv\xed","web_early_access_rules":"<h2 class=\\"g-title\\">Co je Tester Club?</h2><p class=\\"g-msg g-msg-1\\">\\n Tester Club v\xe1m umo\u017en\xed b\xfdt mezi prvn\xedmi, kdo za\u017eije na\u0161e nejnov\u011bj\u0161\xed produkty! Utr\xe1cen\xedm ur\u010dit\xe9ho po\u010dtu bod\u016f m\u016f\u017eete po\u017e\xe1dat o mo\u017enost vyzkou\u0161et si na\u0161e produkty.\\n</p><p class=\\"g-msg\\">\\n Po skon\u010den\xed aplika\u010dn\xedho obdob\xed budou vybran\xed u\u017eivatel\xe9 vybr\xe1ni na z\xe1klad\u011b faktor\u016f, jako je jejich historie aplikace, p\u0159edchoz\xed stav v\xfdb\u011bru a kvalita zp\u011btn\xe9 vazby z minul\xe9ho testov\xe1n\xed. Vybran\xed u\u017eivatel\xe9 obdr\u017e\xed produkt zdarma a budou m\xedt mo\u017enost sd\xedlet cennou zp\u011btnou vazbu. Pokud nen\xed vybr\xe1n, body utracen\xe9 b\u011bhem aplikace budou pln\u011b vr\xe1ceny na v\xe1\u0161 \xfa\u010det.\\n</p><p class=\\"g-msg\\">\\n Vybran\xed u\u017eivatel\xe9, kte\u0159\xed ode\u0161lou recenzi, kter\xe1 spl\u0148uje po\u017eadavky na obsah (alespo\u0148 300 znak\u016f, 5 fotografi\xed a 1 video) a projdou na\u0161\xedm procesem schvalov\xe1n\xed recenze, obdr\u017e\xed plnou n\xe1hradu bod\u016f pou\u017eit\xfdch pro aplikaci.\\n</p><h3 class=\\"g-sub-title\\">Jak se z\xfa\u010dastnit?</h3><ol class=\\"g-msg\\"><li>Prohl\xe9dn\u011bte si produkty dostupn\xe9 v modulu Tester Club.</li><li>Ode\u0161lete svou \u017e\xe1dost pomoc\xed bod\u016f.</li><li>\\n Po\u010dkejte, a\u017e budou v\xfdsledky ozn\xe1meny. Vybran\xfd seznam u\u017eivatel\u016f se zobraz\xed v modulu Tester Club a obdr\u017e\xedte tak\xe9 ozn\xe1men\xed.\\n </li></ol><h3 class=\\"g-sub-title\\">D\u016fle\u017eit\xe9 pozn\xe1mky</h3><ul class=\\"g-msg\\"><li>\\n Po vyhl\xe1\u0161en\xed v\xfdsledk\u016f mus\xed vybran\xed u\u017eivatel\xe9 poskytnout \xfapln\xe9 informace o p\u0159eprav\u011b ve stanoven\xe9 lh\u016ft\u011b; v opa\u010dn\xe9m p\u0159\xedpad\u011b propadne kvalifikace.\\n </li><li>\\n Ka\u017ed\xe1 aktivita Tester Clubu vy\u017eaduje novou aplikaci. V\xfdb\u011br nen\xed nep\u0159etr\u017eit\xfd.\\n </li><li>\\n S v\xfdjimkou p\u0159\xedpad\u016f ztr\xe1ty nebo po\u0161kozen\xed p\u0159epravy nelze produkty Tester Club vr\xe1tit ani vym\u011bnit.\\n </li><li>\\n Pouze recenze, kter\xe9 spl\u0148uj\xed po\u017eadovan\xfd form\xe1t obsahu (text, obr\xe1zky a video) a pro\u0161ly manu\xe1ln\xed kontrolou, budou m\xedt n\xe1rok na vr\xe1cen\xed bod\u016f.\\n </li><li>\\n Ode\u0161lete pros\xedm svou recenzi do 14 dn\u016f po obdr\u017een\xed objedn\xe1vky. P\u0159\xedsp\u011bvky podan\xe9 po tomto obdob\xed nebudou m\xedt n\xe1rok na vr\xe1cen\xed pen\u011bz.\\n </li></ul>","web_pay_card_number_invalid_tip":"\u010c\xedslo karty je neplatn\xe9","web_pay_cancel_confirm_btn_cancel":"POTVRDIT ZRU\u0160EN\xcd","web_subscribe_email_placeholder":"V\xe1\u0161 e-mail","web_wfd_checkout_popup_content":"<ContentWrap><Part><Title>Co je pokryto <SeelLogo/></Title><WorryFreeTips/></Part><Part><Title>Snadn\xe9 rozli\u0161en\xed</Title><Msg>
1Vy\u0159e\u0161te sv\xe9 probl\xe9my pouh\xfdmi n\u011bkolika kliknut\xedmi</Msg></Part><Part><Title>Naprost\xfd klid mysli</Title><UlMsg><LiMsg>Nulov\xe9 riziko pro va\u0161i objedn\xe1vku s na\u0161\xed ochranou</LiMsg><LiMsg>Z\xedskejte okam\u017eitou refundaci</LiMsg></UlMsg></Part></ContentWrap>","web_warranty_form_failed":"Odesl\xe1n\xed se nezda\u0159ilo. Zkuste to pros\xedm znovu pozd\u011bji nebo kontaktujte z\xe1kaznickou podporu.","web_common_btn_reset":"Obnovit","web_checkout_points_max_available":"Pou\u017e\xedt body","web_addresses_btn_add_address":"P\u0159idat novou adresu","web_coupons_empty_error":"Zadejte pros\xedm k\xf3d kup\xf3nu.","web_common_free_gift":"D\xe1rek zdarma","web_order_option_tracking":"Sledov\xe1n\xed","web_list_filter_empty_tip":"Na aktu\xe1ln\xed str\xe1nce nejsou \u017e\xe1dn\xe9 polo\u017eky filtru","web_diy_customize_select_multiple":"Vybrat v\xedce","web_help_customer_service_title":"Z\xe1kaznick\xfd servis","web_tag_cyber_monday":"Kybernetick\xe9 pond\u011bl\xed","web_tag_wholesale":"Velkoobchod","web_summary_tip_reward_points":"Odm\u011bna <span>{{num}}</span>{{brand}} Body","web_package_tracking_empty":"Sledovac\xed informace zat\xedm nejsou k dispozici.","web_list_sort_by_label":"Se\u0159adit podle","web_order_info_shipping_title":"Standardn\xed p\u0159eprava","web_form_old_pwd_label":"Star\xe9 heslo","web_shop_activity_winter_surprise_rules_title":"Pravidla propagace zimn\xedho p\u0159ekvapen\xed","web_refund_return_reason_placeholder":"Zvolte pros\xedm d\u016fvod","web_diy_ranking_kit_comments":"KIT Koment\xe1\u0159e","web_support_banner_title":"L\xe1ska roste zelen\u011b","web_return_request_no":"\u017d\xe1dost \u010d.","web_list_filter_title":"Filtrovat","web_product_unavailable_desc":"Tento produkt nen\xed moment\xe1ln\u011b k dispozici ve vybran\xe9 oblasti. Vra\u0165te se pros\xedm na domovskou str\xe1nku a prozkoumejte dal\u0161\xed polo\u017eky.","web_refer_friend_total_points":"Va\u0161e {{brand}} Body","web_winter_grow_problem_1_title":"Chladn\xe9 noci zab\xedjej\xed v\xe1\u0161 r\u016fst? Z\u016fsta\u0148te v zim\u011b v bezpe\u010d\xed a v teple.","web_pay_card_form_title":"Informace o kart\u011b","web_help_about_diy_pools":"O Diy Pools","web_m_product_tab_technical_specs":"Specifikace","web_common_welcome_to":"V\xedtejte na {{brand}}","web_support_products_title":"Prozkoumejte podporu produkt\u016f","web_checkout_referrer_unavailable_error":"Tento REFID nen\xed k dispozici","web_common_share":"Sd\xedlet","web_payment_klarna_slogen_gb":"web_payment_klarna_slogen_gb","web_pay_cvv_empty_tip":"Zadejte bezpe\u010dnostn\xed k\xf3d","web_form_already_submitted":"Ji\u017e odesl\xe1no","web_diy_customize_mandatory":"Povinn\xe9","web_xmas2025_door4_link_us":"https://www.instagram.com/reel/DSHYs0pDdMe/","web_product_afterpay_help_us":"web_product_afterpay_help_us","web_help_warranty_policy":"Z\xe1ru\u010dn\xed podm\xednky","web_summary_subtotal":"Mezisou\u010det","web_shop_activity_thanks_for_joining":"D\u011bkujeme, \u017ee jste se p\u0159ipojili!","web_shop_crowdfunding_gifts":"D\xe1rky","web_purchase_large_whatsapp_account":"Obchodn\xed \xfa\u010det WhatsApp","web_account_profile_title":"M\u016fj profil","web_consent_root_desc":"Abychom v\xe1m poskytli co nejlep\u0161\xed z\xe1\u017eitek, pou\u017e\xedv\xe1me soubory cookie a podobn\xe9 technologie (\u201ecookies\u201c) k poskytov\xe1n\xed na\u0161ich slu\u017eeb, ke zlep\u0161ov\xe1n\xed a propagaci slu\u017eby, k m\u011b\u0159en\xed \xfa\u010dinnosti reklamn\xedch kampan\xed a k zaji\u0161t\u011bn\xed bezpe\u010dnosti a zabezpe\u010den\xed pro na\u0161e u\u017eivatele. Pokud chcete povolit nebo odm\xedtnout um\xedst\u011bn\xed t\u011bchto technologi\xed na sv\xe9m za\u0159\xedzen\xed, klikn\u011bte na \u201eP\u0159ijmout v\u0161e\u201c nebo \u201eOdm\xedtnout v\u0161e\u201c. P\u0159\xedpadn\u011b si m\u016f\u017eete vybrat, kter\xe9 typy soubor\u016f cookie chcete p\u0159ijmout nebo odm\xedtnout kliknut\xedm na \u201eP\u0159izp\u016fsobit soubory cookie\u201c n\xed\u017ee nebo kdykoli v nastaven\xed ochrany osobn\xedch \xfadaj\u016f. Pro v\xedce informac\xed viz na\u0161e <privacy>Z\xe1sady ochrany osobn\xedch \xfadaj\u016f</privacy>.","web_tag_off":"VYPNUTO","web_common_is_required":"je vy\u017eadov\xe1no.","
1web_support_call_action":"Zavolejte nyn\xed","web_consent_customise_necessary_title":"Nezbytn\u011b nutn\xe9 soubory cookie","web_pay_loading_tip":"po\u010dkejte","web_write_review_comment_placeholder":"Napi\u0161te pros\xedm sv\xe9 p\u0159ipom\xednky k tomuto produktu.","web_shop_energy_label_product_data_sheet":"Produktov\xfd datov\xfd list","web_xmas2025_door7_link_us":"https://vivosun.com/vivosun-cukrovinkov\xfd stroj-p163960084060939787-v163960084060939680? utm_source=mkt&utm_medium=V\xe1noce&UTM_CAMPAIGN=7. den","web_summary_shop_price":"Prodejn\xed cena","web_help_loyalty_policy":"V\u011brnostn\xed program","web_fixed_coupon_title":"Exkluzivn\xed sleva","web_order_cancel_wrong_address":"Chybn\xe1 adresa nebo produkt","web_pay_btn_place_order":"Zadat objedn\xe1vku","web_shop_crowdfunding_campaign":"Kampa\u0148","web_time_ended":"Ukon\u010deno","web_help_legal_notice":"Pr\xe1vn\xed upozorn\u011bn\xed","web_support_view_pdf":"Zobrazit","web_checkout_btn_choose_address":"Zvolte jinou adresu","web_order_prod_type_kit":"Souprava","web_form_agree_error":"Chcete-li pokra\u010dovat, vyberte \u201eSouhlas\xedm\u201c.","web_xmas2025_door5_link_de":"https://vivosun.com/de-de/Tester-klub? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=den5","web_product_bundle_save":"U\u0161et\u0159\xedte","web_common_score":"Sk\xf3re","web_winter_grow_expert_tips_desc":"Pod\xedvejte se, jak zku\u0161en\xed p\u011bstitel\xe9 nastavuj\xed sv\xe9 p\u011bstebn\xed m\xedstnosti a vyberte si spr\xe1vn\xe9 vybaven\xed, kter\xe9 rostlin\xe1m pom\u016f\u017ee prosperovat v chladn\xe9m obdob\xed.","web_help_about_points":"O bodech","web_upload_msg_1":"<span>Vybrat soubor</span> nebo zam\xedtn\u011bte sem","web_tag_super_slots":"Super sloty","web_checkout_coupon_drawer_trigger":"Odhl\xe1sit <span>Moje kup\xf3ny<Num/></span>","web_diy_ranking_entrances_title":"Bojujete se rozhodnout?<br/>Zkusme jin\xfd zp\u016fsob, jak naj\xedt inspiraci","web_fixed_register_trigger":"ZAREGISTRUJTE SE A Z\xcdSKEJTE {{discount}} VYPNUTO","web_support_product_videos_title":"Sledovat a u\u010dit se","web_common_back_to_top":"Zp\u011bt na za\u010d\xe1tek","web_product_tab_technical_specs":"Technick\xe9 specifikace","web_order_out_stock_error":"V\u0161echny produkty v t\xe9to objedn\xe1vce nejsou skladem","web_common_resend":"Znovu odeslat","web_common_view_all":"Zobrazit v\u0161e","web_shop_account_have_completed_email_change":"Dokon\u010dil jsem zm\u011bnu e-mailu","web_referral_benefit_point2_description":"Vyd\u011bl\xe1vat {{points}} body za ka\u017ed\xfd {{price}} va\u0161e doporu\u010den\xed utr\xe1cej\xed.","web_form_agree_tip":"Souhlas\xedm s <privacy>Z\xe1sady ochrany osobn\xedch \xfadaj\u016f a soubor\u016f cookie</privacy> a <terms>V\u0161eobecn\xe9 obchodn\xed podm\xednky</terms>.","web_common_btn_delete":"Odstranit","web_referral_benefit_point1_description":"Ka\u017ed\xfd registrovan\xfd u\u017eivatel se m\u016f\u017ee kdykoli st\xe1t refererem.","web_diy_customize_unavailable_error":"DIY KIT obsahuje polo\u017eky \u201eVyprod\xe1no\u201c nebo \u201eNen\xed k dispozici\u201c, nelze pokra\u010dovat k pokladn\u011b.","web_shop_activity_winter_surprise_rules_desc":"<p>1. Obdob\xed akce: Od 11. prosince 2024, 12:00 do 17. prosince 2024, 23:59 PST.</p><p>2. B\u011bhem akce, u\u017eivatel\xe9, kte\u0159\xed sd\xedlej\xed str\xe1nku ud\xe1losti nebo produkty, dostanou jednu \u0161anci otev\u0159\xedt d\xe1rkovou krabi\u010dku. Ka\u017ed\xe1 d\xe1rkov\xe1 krabi\u010dka obsahuje\u201cVIVOSUN Body\u201c a \u201ed\xe1rek zdarma\u201c, oba vydan\xe9 n\xe1hodn\u011b. The VIVOSUN Body budou okam\u017eit\u011b p\u0159ips\xe1ny na \xfa\u010det u\u017eivatele a d\xe1rek zdarma bude automaticky p\u0159id\xe1n do n\xe1kupn\xedho ko\u0161\xedku.</p><p>3. D\xe1rek zdarma nelze zakoupit samostatn\u011b a mus\xed b\xfdt odhl\xe1\u0161en alespo\u0148 s jednou b\u011b\u017enou polo\u017ekou.</p><p>4. D\xe1rek zdarma je k dispozici v omezen\xe9m mno\u017estv\xed. Jakmile bude vyprod\xe1no, \u017e\xe1dn\xe9 dal\u0161\xed d\xe1rky nebudou vyd\xe1ny. Pokud u\u017eivatel zpozd\xed zad\xe1n\xed objedn\xe1vky a d\xe1rek zdarma je vyprod\xe1n, nebo ud\xe1lost skon\u010d\xed p\u0159ed zad\xe1n\xedm objedn\xe1vky, u\u017eivatel ztrat\xed p\u0159\xedle\u017eitost uplatnit si d\xe1rek zdarma.</p><p>5. Neodstra\u0148ujte d\xe1rek zdarma z n\xe1kupn\xedho ko\u0161\xedku lehce. Jakmile je odstran\u011bn, nelze jej znovu p\u0159idat.</p><p>6. D\xe1rek zdarma nelze kombinovat s jin\xfdmi akcemi, jako jsou d\xe1rky s n\xe1kupem, slevy na bal\xed\u010dky nebo pouk\xe1zky.</p><p>7. Aby byla zaji\u0161t\u011bna spravedlnost, jsou p\u0159\xedsn\u011b zak\xe1z\xe1na vlastn\xed doporu\u010den\xed, v\u010det
1n\u011b pou\u017eit\xed stejn\xe9ho e-mailu, IP adresy nebo relace prohl\xed\u017ee\u010de. Poru\u0161en\xed bude m\xedt za n\xe1sledek neplatn\xe1 doporu\u010den\xed.</p>","web_shop_product_notify_me":"Informujte m\u011b","web_footer_link_order_history":"Historie objedn\xe1vek","web_diy_entrance_customize_desc":"Vyberte si stan, sv\u011btlo, potrubn\xed ventil\xe1tor a p\u0159\xedslu\u0161enstv\xed.","web_payment_klarna_slogen_ca":"KOUPIT nyn\xed. Pla\u0165te s Klarna sv\xfdm vlastn\xedm tempem.","web_shop_account_link_expired_prompt_desc":"Platnost tohoto ov\u011b\u0159ovac\xedho odkazu vypr\u0161ela. Z bezpe\u010dnostn\xedch d\u016fvod\u016f jsou e-mailov\xe9 ov\u011b\u0159ovac\xed odkazy platn\xe9 pouze 1 hodinu.","web_common_btn_save":"Ulo\u017eit","web_purchase_success_status":"Platba \xfasp\u011b\u0161n\xe1!","web_unsubscribe_suc_tip":"Z tohoto seznamu ji\u017e nebudete dost\xe1vat e-mailov\xfd marketing.","web_survey_result_thank_tip":"D\u011bkujeme, \u017ee jste sou\u010d\xe1st\xed {{brand}} rodina.<br/>V\xe1\u0161 dne\u0161n\xed p\u0159\xedsp\u011bvek n\xe1m pom\xe1h\xe1 spole\u010dn\u011b budovat budoucnost p\u011bstov\xe1n\xed v interi\xe9ru.","web_account_sidebar_title":"Osobn\xed centrum","web_orders_order_detail_link":"Detail objedn\xe1vky","web_shop_activity_early_access_result_selected1":"Byli jste vybr\xe1ni k vyzkou\u0161en\xed nov\xe9ho produktu!","web_shop_activity_early_access_result_selected2":"N\xed\u017ee uve\u010fte sv\xe9 dodac\xed \xfadaje do 14 dn\u016f od ozn\xe1men\xed v\xfdsledku, jinak ztrat\xedte zp\u016fsobilost ke zku\u0161ebn\xed verzi. Pokud zme\u0161k\xe1te term\xedn, body va\u0161\xed \u017e\xe1dosti budou vr\xe1ceny.","web_unsubscribe_suc_title":"\xdasp\u011b\u0161n\u011b se odhl\xe1sit!","web_xmas2025_door12_link_de":"https://www.instagram.com/vivosun.de/","web_shop_redeem_redeem_your_rewards":"Uplatn\u011bte sv\xe9 odm\u011bny","web_checkout_referrer_empty_error":"Zadejte REFID.","web_crowd_funding_limit_reached":"Dosa\u017een\xfd limit","web_pointsmarket_checkin_popup_title":"web_pointsmarket_checkin_popup_title","web_form_comfirm_pwd_mismatch_error":"Va\u0161e hesla se neshoduj\xed, zkuste to pros\xedm znovu.","web_help_title_guide":"Pr\u016fvodce","web_shop_activity_early_access_share_the_activity":"Sd\xedlejte aktivitu Tester Club","web_payment_klarna_slogen_de":"KOUPIT nyn\xed. Pla\u0165te s Klarna sv\xfdm vlastn\xedm tempem.","web_xmas2025_door8_desc_us":"N\u011bkte\u0159\xed lid\xe9 maj\xed p\u011bstebn\xed m\xedstnost. Jin\xed v tom v podstat\u011b \u017eij\xed \ud83d\udc9a\\nToto nastaven\xed m\u016f\u017ee b\xfdt jedn\xedm z nejv\xedce specializovan\xfdch p\u011bstebn\xedch prostor\u016f, kter\xe9 jsme v komunit\u011b vid\u011bli.","web_xmas2025_door6_desc_de":"V\u0161echny v\u011bty zahrnuj\xed Chriskind... M\xe1m na mysli sv\xe9 mrazuvzdorn\xe9 pupeny..","web_home_sfs_btn_sale_is_ove_capfirst":"Prodej skon\u010dil","web_subscribe_title":"Zaregistrujte se a z\xedskejte {{discount}} z va\u0161\xed prvn\xed objedn\xe1vky","web_profile_nick_name_label":"P\u0159ezd\xedvka","web_security_delete_account_note":"Pozn\xe1mka: \xda\u010det NELZE obnovit po smaz\xe1n\xed.","web_pay_card_number_empty_tip":"Zadejte pros\xedm \u010d\xedslo karty","web_shop_activity_early_access_announced_soon":"D\u011bkujeme, \u017ee jste se p\u0159ihl\xe1sili! V\xfdsledky budou brzy ozn\xe1meny.","web_product_sold_out_upper":"VYPROD\xc1NO","web_shop_crowdfunding_comments":"Koment\xe1\u0159","web_shop_redeem_trick_or_treat_promotion_rules_title":"Pravidla propagace Trick or Treat","web_referral_process_step2":"Krok 2: Prove\u010fte doporu\u010den\xed","web_referral_process_step1":"Krok 1: P\u0159ihlaste se {{brand}}","web_shop_redeem_the_pumpkin_you_earned":"D\xfdn\u011b z\xedskan\xe9","web_order_empty_tip":"Va\u0161e objedn\xe1vka je pr\xe1zdn\xe1","web_common_plus_points":"+{{num}} Body","web_common_btn_quick_view":"Rychl\xfd n\xe1hled","web_purchase_order_total_payment":"Celkov\xe1 platba","web_search_btn_search":"Vyhled\xe1v\xe1n\xed","web_form_pwd_pattern_letter_error":"Va\u0161e heslo mus\xed obsahovat alespo\u0148 jedno p\xedsmeno.","web_xmas2025_door3_desc_us":"Leto\u0161n\xed velk\xfd z\xe1v\u011br!\\nD\u011bkujeme za v\u0161echny n\xe1pady - pomohli jste n\xe1m r\u016fst l\xe9pe. \ud83d\udc9a\u201c","web_common_max_available":"Max k dispozici","web_early_access_review_tips":"<p class=\\"g-title\\">Nechte sv\u016fj hlas sly\u0161et <br>\u2014 a z\xedskejte odm\u011bnu!</p><p class=\\"g-text\\">Ode\u0161lete svou recenzi pomoc\xed <strong>minim\xe1ln\u011b 300 znak\u016f, 5 fotografi\xed a 1 video</strong> abyste z\xedskali n\xe1rok na plnou n\xe1hradu bod\u016f, kter\xe9 jste pou\u017eili k pod\xe1n\xed \u017e\xe1dosti o tuto zku\u0161ebn\xed verzi.</p><p class=\\"g-text\\">Stejn\u011b jako ka\u017ed\xe1 b\u011b\u017en\xe1 recenze tak\xe9 obdr\u017e\xedte standardn\xed odm\u011bnu za hodnocen\xed.</p><p class=\\"g-text\\"><a href=\\"/help/about-points\\">Viz informace o bodech</a></p><p class=\\"g-text\\"></p><p class=\\"g-text\\">Na va\u0161em p\u0159\xedb\u011bhu z\xe1le\u017e\xed - uka\u017ete n\xe1m, co pro v\xe1s tento produkt znamen\xe1!</p></div>","web_xmas2025_door10_desc_us":"Uk\xe1zalo se, \u017ee i p\u011bstebn\xed legendy maj\xed \u201eJejda\u201c momenty. \ud83e\udd23\\nVykopali jsme se do komunity a korunovali jsme to jako jedno z nejz\xe1bavn\u011bj\u0161\xedch. Jak\xfd je v\xe1\u0161 nejchaoti\u010dt\u011bj\u0161\xed okam\u017eik r\u016fstu obli\u010deje?","web_pointsmarket_total_points":"Celkov\xfd po\u010det bod\u016f","web_eggs_product_added":"Polo\u017eka byla automaticky p\u0159id\xe1na do ko\u0161\xedku a mus\xed b\xfdt zakoupena spole\u010dn\u011b s dal\u0161\xedmi polo\u017ekami ve stejn\xe9 objedn\xe1vce.","web_write_review_check_form_error":"Zkontrolujte pros\xedm formul\xe1\u0159","web_common_seconds_lower":"sekund","web_form_pictures_label":"Obr\xe1zky","web_fixed_register_plus":"Plus","web_order_order_date":"Datum objedn\xe1vky","web_write_review_success_titlle":"\xdasp\u011b\u0161n\u011b p\u0159ijato","web_common_congratulations":"Gratulujeme!","web_support_call_title":"Zavolejte n\xe1m","web_home_sfs_stock_left":"<Num/>
1 lev\xe9","web_shop_crowdfunding_hrs_left":"<span>{{timeRemaining}}</span> hodin zb\xfdv\xe1","web_user_go_wholesale_tip":"Tento \xfa\u010det je ur\u010den pouze pro velkoobchodn\xed z\xe1kazn\xedky. P\u0159ihlaste se pros\xedm na na\u0161em velkoobchodn\xedm webu.","web_search_btn_clear":"Pr\u016fhledn\xe1","web_diy_cart_discount_tip":"Dodate\u010dn\xfd <strong>{{discount}}</strong> Na mezisou\u010det objedn\xe1vky ji\u017e bylo pou\u017eito OFF!","web_fixed_register_email_placeholder":"Zadejte svou e-mailovou adresu","web_subscribe_result_text_2":"M\u016f\u017eete se tak\xe9 p\u0159ipojit k na\u0161\xed komunit\u011b na Facebooku, kde sd\xedl\xedme tipy na p\u011bstov\xe1n\xed a exkluzivn\xed nab\xeddky se skupinou v\xe1\u0161niv\xfdch p\u011bstitel\u016f.","web_common_success_tip":"\xdasp\u011b\u0161n\u011b","web_subscribe_result_text_3":"Krom\u011b toho, jako uv\xedtac\xed d\xe1rek, chceme s v\xe1mi sd\xedlet k\xf3d, kter\xfd z\xedsk\xe1te {{discount}} z va\u0161\xed dal\u0161\xed objedn\xe1vky pomoc\xed k\xf3du: <CouponCode/>.","web_shop_crowdfunding_available_rewards":"Dostupn\xe9 odm\u011bny","web_price_discount_off":"{{discount}} Vypnuto","web_shop_crowdfunding_day_left":"<span>{{timeRemaining}}</span> den zb\xfdv\xe1","web_subscribe_result_text_1":"Jsme tak r\xe1di, \u017ee jste se rozhodli p\u0159ipojit se k n\xe1m!","web_form_email_invalid_tip":"Zadan\xfd e-mail je neplatn\xfd. Zkontrolujte pros\xedm sv\u016fj e-mail a zkuste to znovu.","web_support_product_reviews_demos":"Recenze a uk\xe1zky","web_cart_view_cart":"Zobrazit ko\u0161\xedk","web_referral_refid":"REFID","web_address_make_default":"Nastavit jako v\xfdchoz\xed","web_login_auth_failed":"Ov\u011b\u0159en\xed se nezda\u0159ilo!","web_product_paypal_pay_title_us":"web_product_paypal_pay_title_us","web_shop_activity_units_available":"Dostupn\xe9 jednotky","web_referral_process_step3":"Krok 3: Skl\xedzejte odm\u011bny","web_tag_black_friday":"\u010cern\xfd p\xe1tek","web_product_paypal_pay_title_uk":"web_product_paypal_pay_title_uk","web_points_col_expired":"Vypr\u0161ela","web_shop_security_verify_now":"Ov\u011b\u0159te nyn\xed","web_pointsmarket_expiring_tip":"{{num}} Platnost bod\u016f brzy vypr\u0161\xed","web_shop_crowdfunding_estimated_delivery":"Odhadovan\xe9 doru\u010den\xed","web_tag_prime_day":"Prvn\xed den","web_cupon_maximum_saving":"Maxim\xe1ln\xed \xfaspora","web_form_email_empty_tip":"Zadejte pros\xedm svou e-mailovou adresu.","web_common_processing":"Zpracov\xe1n\xed","web_common_you_have_applied":"P\u0159ihl\xe1sili jste se","web_product_total_reviews":"{{total}} Recenze","web_diy_ranking_help_title":"Krit\xe9ria hodnocen\xed","web_form_name_placeholder_1":"nap\u0159. John Doe","web_xmas2025_door1_link_de":"https://vivosun.com/de-de/campaign/Winter-grow? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=1. den","web_shop_redeem_how_to_get_more_chances":"Jak z\xedskat v\xedce \u0161anc\xed na pochoutky?","web_common_learn_more":"Dozv\u011bd\u011bt se v\xedce","web_login_btn_google":"P\u0159ihl\xe1sit se pomoc\xed Google","web_survey_points_credited":"{{num}} Body byly p\u0159ips\xe1ny na v\xe1\u0161 \xfa\u010det.","web_consent_privacy_title":"Z\xe1sady zabezpe\u010den\xed a ochrany osobn\xedch \xfadaj\u016f","web_cart_bonus_login_confirm":"P\xe1ni! Nejste p\u0159ihl\xe1\u0161eni. Nejprve se pros\xedm p\u0159ihlaste a pot\xe9 p\u0159idejte polo\u017eky pro uplatn\u011bn\xed bod\u016f.","web_pointsmarket_boost_points_gained":"Z\xedskan\xe9 body","web_return_step_refused":"Odm\xedtnuto","web_form_empty_error":"Po\u017eadov\xe1no","web_tag_flash_sale":"Bleskov\xfd v\xfdprodej","web_common_btn_close":"Zav\u0159\xedt","web_common_btn_ok":"OK","web_home_sfs_help_title":"O Super Flash Sale","web_common_reviews":"Recenze","web_coupon_applied_successfully":"K\xf3d kup\xf3nu je \xfasp\u011b\u0161n\u011b pou\u017eit.","web_summary_retail_price":"Maloobchodn\xed cena","web_payment_klarna_step3_gb":"web_payment_klarna_step3_gb","web_diy_ranking_use_this_kit":"Pou\u017eijte tuto sadu","web_issue_description":"Popis probl\xe9mu","web_pay_cvv_invalid_tip":"Bezpe\u010dnostn\xed k\xf3d je neplatn\xfd","web_help_contact_us":"Kontaktujte n\xe1s","web_product_limit_reached":"Dosa\u017een\xfd limit","web_order_cancel_duplicate":"Duplicitn\xed objedn\xe1vka","web_checkin_plant_done":"Va\u0161e rostlina kr\xe1sn\u011b vzkv\xe9t\xe1!","web_purchase_failed_status":"Platba se nezda\u0159ila","web_shop_redeem_trick_or_treat_promotion_rules_desc":"1. Event Duration: The event will run from October 25, 2024, 00:00:00 to November 3, 2024, 23:59:59 P
1ST.<br/>2. Participation: During the event, you can log in or share the event page to receive 1 opportunity to grab event items. You will randomly receive between 1 to 10 \\"Candies\\" or 1 to 5 \\"Pumpkins.<br/>3. Referrals: Throughout the event, you can recommend {{brand}} to your friends by sharing your personalized invitation link. For every friend who successfully places an order and completes payment through your referral, you will receive 1 \\"Pumpkin\\" item. You will also earn Referral points. Check the <referral>Referral Program</referral> for more details. If the order is canceled, the Pumpkin and points will not be awarded.<br/>4. Fairness Policy: To ensure fairness, self-referrals are prohibited, including using the same email, IP address, or browser session. Non-compliant referrals will be deemed invalid.<br/>5. Redeeming Prizes: During the event, you can redeem prizes using the event items \\"Candy\\" and \\"Pumpkin\\" on the event page. Prizes may include products, merchandise, or {{brand}} points. Once redeemed, event prizes cannot be returned.<br/>6. Order Requirements: Prizes redeemed during the event cannot be purchased
1separately and must be combined with at least one regular product in the order.<br/>7. Limited Stock: Event products are limited in quantity and will be sold out once depleted.<br/>8. Discount Exclusions: Event products do not qualify for any other discounts, such as spend promotions, multi-item discounts, or coupon offers.","web_messages_clear_tip":"Jste si jisti, \u017ee vyma\u017eete v\u0161echny nep\u0159e\u010dten\xe9 zpr\xe1vy?","web_common_add_cart_fail_tip":"N\xe1sleduj\xedc\xed polo\u017eky se nepoda\u0159ilo p\u0159idat do ko\u0161\xedku","web_xmas2025_progress_tip":"{{count}} v\xedce k odemknut\xed d\xe1rku","web_locale_current_tip":"Pr\xe1v\u011b nakupujete v <strong>{{country}}</strong> ({{language}}).","web_form_pwd_pattern_letter_tip":"Alespo\u0148 jedno p\xedsmeno","web_pointsmarket_flash_title":"Omezen\xe9 nab\xeddky","web_common_sku_upper":"SKU","web_help_fraud_awareness":"Pov\u011bdom\xed o podvodech","web_product_buy_now_upper":"KOUPIT NYN\xcd","web_form_phone_placeholder_1":"Nap\u0159. 234 567 8900","web_coupons_not_available_title":"Nen\xed k dispozici","web_shop_activity_days_left":"Zb\xfdvaj\xedc\xed dny","web_pay_reload_tip":"Pokud to trv\xe1 p\u0159\xedli\u0161 dlouho, znovu na\u010dt\u011bte.","web_product_earn_points":"Vyd\u011bl\xe1vejte a\u017e <span>{{ num }}</span>{{ brand }} Body p\u0159i placen\xed.","web_product_together_items_unavailable":"N\xe1sleduj\xedc\xed polo\u017eky nejsou moment\xe1ln\u011b k dispozici ke koupi","web_search_return_no_matches":"Va\u0161e vyhled\xe1v\xe1n\xed nevr\xe1tilo \u017e\xe1dn\xe9 shody.","web_shop_crowdfunding_pledged_of_amount":"p\u0159isl\xedbil {{targetAmount}}","web_return_step_request_submitted":"\u017d\xe1dost odesl\xe1na","web_common_total_points_lower":"<Num/> body","web_halloween_time":"\u0158\xedj 25 - listopad 3","web_shop_product_notify_me_when_available":"Upozornit m\u011b, a\u017e bude k dispozici","web_common_btn_no":"NE","web_tag_bonus":"Bonus","web_order_option_refund":"Vr\xe1cen\xed pen\u011bz","web_wfd_checkout_module_title":"Bezstarostn\xe9 doru\u010den\xed pro {{priceExchangeDisplay}}","web_pointsmarket_checkin_trigger":"web_pointsmarket_checkin_trigger","web_common_btn_confirm":"Potvrdit","web_shop_activity_early_access_ongoing":"Prob\xedhaj\xedc\xed","web_order_cancel_wrong_order":"\u0160patn\xe1 objedn\xe1vka, zad\xe1 novou objedn\xe1vku","web_xmas2025_door11_desc_us":"Santa m\xe1 pro tebe posledn\xed d\xe1rek \ud83c\udf85\ud83c\udf81\u2728\\nNa\u0161e 12 dn\xed v\xe1no\u010dn\xedch kouzel uzav\xedr\xe1me fin\xe1lovou d\xe1rkou \u2014 a je to velk\xfd: 1 \u0161\u0165astn\xfd v\xedt\u011bz z\xedsk\xe1 sk\xf3re Vivosun Sada p\u011bstebn\xedch stan\u016f 4x2! Ide\xe1ln\xed pro vyrovn\xe1n\xed va\u0161eho p\u011bstebn\xedho prostoru a siln\xe9 zah\xe1jen\xed nov\xe9ho roku.","web_xmas2025_door1_desc_de":"Dr\xe1ha je naz\xfdv\xe1na, ale va\u0161e rostliny se nesm\xed chlubit!","web_diy_ranking_change_size_confirm":"V\xe1\u0161 aktu\xe1ln\xed v\xfdb\u011br m\xe1 velikost $ {currentSizeName}, zat\xedmco velikost sady, kterou pot\u0159ebujete pou\u017e\xedt, je $ {recordSizeName}. Potvr\u010fte pros\xedm, zda pot\u0159ebujete zm\u011bnit velikost.","web_payment_klarna_step3_de":"P\u0159ihlaste se nebo vytvo\u0159te sv\u016fj<br>\xda\u010det Klarna, s<br>okam\u017eit\xe9 ov\u011b\u0159en\xed","web_order_cancel_result_status":"Objedn\xe1vka byla zru\u0161ena.","web_xmas2025_door11_link_us":"https://www.instagram.com/reel/DSZaUk9ES_q/","web_consent_customise_desc":"Nastaven\xed soubor\u016f cookie m\u016f\u017eete zm\u011bnit tak, abyste p\u0159ijali nebo odm\xedtli ur\u010dit\xe9 soubory cookie a podobn\xe9 technologie n\xed\u017ee. Pamatujte, \u017ee nastaven\xed soubor\u016f cookie m\u016f\u017eete kdykoli upravit v nastaven\xed ochrany osobn\xedch \xfadaj\u016f. Chcete-li se dozv\u011bd\u011bt v\xedce o souborech cookie, kter\xe9 pou\u017e\xedv\xe1me, pod\xedvejte se na n\xe1\u0161 <privacy>Z\xe1sady ochrany osobn\xedch \xfadaj\u016f</privacy>.","web_eggs_cart_prod_tag":"velikono\u010dn\xed","web_common_redeem":"Uplatnit","web_shop_crowdfunding_view_details":"Zobrazit podrobnosti","web_survey_start_survey":"Spustit pr\u016fzkum","web_activity_share_for_treats":"Sd\xedlet pro dobroty","web_shop_crowdfunding_unavailable_rewards":"Nedostupn\xe9 odm\u011bny","web_cart_empty_btn_shopping":"Za\u010dn\u011bte nakupovat","web_form_number_minus":"M\xednus","web_order_option_bigamount_tip":"V platebn\xed operaci","web_fixed_register_suc_title":"D\xcdKY ZA P\u0158IPOJEN\xcd!","web_addresses_delete_confirm_tip":"Opravdu chcete tuto adresu smazat?","web_product_buy_now":"Koupit nyn\xed","web_pay_link_back_checkout":"Zp\u011bt na str\xe1nku s objedn\xe1vkou","web_diy_entrance_ranking_title":"Z\xedskejte inspiraci","web_payment_klarna_step3_ca":"P\u0159ihlaste se nebo vytvo\u0159te sv\u016fj<br>\xda\u010det Klarna, s<br>okam\u017eit\xe9 ov\u011b\u0159en\xed","web_tag_super_flash_sale":"Super bleskov\xfd v\xfdprodej","web_order_confirm_receipt_tips":"Jste si jist\xfd, \u017ee jste obdr\u017eeli tuto objedn\xe1vku?","web_xmas2025_reward_modal_link":"Prozkoumejte v\xedce","web_pay_card_number_label":"Karta \u010d.","web_diy_step_light":"Sv\u011btlo","web_refund_page_title":"Vr\xe1cen\xed pen\u011bz","web_shop_crowdfunding_campaign_live":"Kampa\u0148 \u017eiv\u011b","web_common_btn_post":"P\u0159\xedsp\u011bvek","web_order_pkg_confirm_receipt_tips":"Jste si jist\xfd, \u017ee jste obdr\u017eeli tento bal\xed\u010dek?","web_refund_pictures_note":"Abychom v\xe1m pomohli l\xe9pe vy\u0159e\u
10161it probl\xe9m, nahrajte obr\xe1zek Lze nahr\xe1t a\u017e 5 obr\xe1zk\u016f, ka\u017ed\xe1 velikost obr\xe1zku nep\u0159esahuje 5M, podporuje soubory ve form\xe1tu bmp, jpg, png, jpeg","web_xmas2025_rules_title":"Pravidla ud\xe1losti","web_common_btn_yes":"ANO","web_time_days_left":"zb\xfdvaj\xed dny","web_support_email_action":"Odeslat e-mail","web_xmas2025_scroll_message18":"Rosteme spole\u010dn\u011b.","web_xmas2025_scroll_message17":"Ka\u017ed\xe1 sklize\u0148 stoj\xed za oslavu.","web_xmas2025_scroll_message16":"P\u011bstujete rostliny; podporujeme v\xe1s.","web_xmas2025_scroll_message15":"R\u016fst vy\u017eaduje \u010das - tak d\u011blejte skv\u011bl\xe9 v\u011bci.","web_xmas2025_scroll_message14":"V\xe1\u0161 p\u011bstebn\xed prostor je va\u0161\xedm klidem.","web_xmas2025_scroll_message13":"Mal\xe1 sem\xednka, velk\xe1 nad\u011bje.","web_xmas2025_scroll_message12":"Pokra\u010dujte v r\u016fstu, pokra\u010dujte v z\xe1\u0159i.","web_xmas2025_scroll_message11":"Va\u0161e v\xe1\u0161e\u0148 n\xe1s inspiruje.","web_xmas2025_scroll_message10":"R\u016fst d\u011bl\xe1 \u017eivot jemn\u011bj\u0161\xedm.","web_refund_return_reason_label":"D\u016fvod n\xe1vratu","web_shop_activity_early_access_more_way_boost_chances":"Dal\u0161\xed zp\u016fsoby, jak zv\xfd\u0161it sv\xe9 \u0161ance!","web_locale_lable_currency":"M\u011bna","web_wfd_checkout_popup_cta_opt_in":"P\u0159ihlaste se nyn\xed pro plnou ochranu","web_spin_check_in_pp":"P\u0159ihlaste se do aplikace","web_spin_better_luck":"Lep\u0161\xed \u0161t\u011bst\xed p\u0159\xed\u0161t\u011b","web_diy_choose_dimensions_title":"Vyberte si rozm\u011bry","web_checkout_save_address_tip":"Ulo\u017ete pros\xedm adresu.","web_common_page_not_found":"Str\xe1nka nenalezena","web_fixed_coupon_sign_in_claim":"P\u0159ihlaste se k reklamaci","web_xmas2025_door2_desc_us":"M\u016f\u017eete zjistit, kter\xfd produkt nen\xed z leto\u0161n\xedch nov\xfdch uveden\xed na trh?","web_checkout_sign_in_tip":"U\u017e m\xe1te \xfa\u010det? <span>P\u0159ihl\xe1sit se nyn\xed</span>","web_write_review_rating_empty_error":"Hodnocen\xed je po\u017eadov\xe1no","web_activity_trick_or_treat_rules_title":"Pravidla propagace Trick or Treat","web_return_step_refunded":"Vr\xe1ceno","web_shop_activity_early_access_apply_success_tips":"Va\u0161e \u017e\xe1dost byla odesl\xe1na!","web_product_bundle_price":"Cena bal\xed\u010dku","web_common_btn_view_points":"Vyhl\xeddkov\xe9 body","web_shop_security_email_verification_required_tips":"Z bezpe\u010dnostn\xedch d\u016fvod\u016f, p\u0159ed pokra\u010dov\xe1n\xedm v objedn\xe1vce ov\u011b\u0159te sv\u016fj e-mail.","web_shop_activity_early_access_completed":"Dokon\u010deno","web_common_btn_login":"P\u0159ihl\xe1sit se","web_wholesale_become_a_reseller":"Sta\u0148te se prodejcem","web_support_community_action":"P\u0159ipojte se ke komunit\u011b","web_summary_tip_already_saved":"Ji\u017e ulo\u017eeno:","web_xmas2025_rewards_important":"D\u016fle\u017eit\xe9:","web_diy_step_accessories":"Dopl\u0148ky","web_form_comfirm_pwd_empty_error":"Potvr\u010fte pros\xedm sv\xe9 heslo!","web_spin_you_get":"Dostanete","web_shop_activity_submint_shipping_address":"Odeslat dodac\xed adresu","web_shop_task_referral_title":"Dokon\u010dete \xfakoly v\xfdukov\xe9ho programu doporu\u010den\xed, kter\xe9 chcete uplatnit Vivosun bod\u016f.","web_help_about_diy_ranking":"O Diy Ranking","web_address_billing_address_tip":"Ujist\u011bte se, \u017ee faktura\u010dn\xed adresa, kterou zad\xe1te n\xed\u017ee, odpov\xedd\xe1 jm\xe9nu a adrese p\u0159idru\u017een\xe9 k kreditn\xed kart\u011b, kterou pou\u017e\xedv\xe1te pro tento n\xe1kup.","web_shop_product_price_vat_tips":"(v\u010detn\u011b DPH)","web_help_community_guidelines":"web_help_community_guidelines","web_shop_redeem_process_step2_desc":"Tisk <ShareIcon/> vedle libovoln\xe9ho n\xe1zvu produktu doporu\u010dit sv\xe9 obl\xedben\xe9 polo\u017eky p\u0159\xe1tel\u016fm. P\u0159\xedpadn\u011b sd\xedlejte sv\xe9 <a href=\\"/account/refer-a-friend\\">personalizovan\xfd odkaz na pozv\xe1nku</a>.","web_shop_activity_applicants":"\u017dadatel\xe9","web_address_billing_address_title":"Faktura\u010dn\xed adresa","web_login_forgot_tip_1":"Pokud jste zapomn\u011bli heslo, zadejte pros\xedm svou registrovanou e-mailovou adresu.","web_login_forgot_tip_2":"Za\u0161leme v\xe1m odkaz na obnoven\xed hesla.","web_order_option_check_out":"Odhl\xe1sit se","web_points_col_points_amount":"V\xfd\u0161e bod\u016f","web_product_paypal_pay_help_uk":"web_product_paypal_pay_help_uk","web_common_view_more":"Zobrazit v\xedce","web_user_go_wholesale_btn":"Nav\u0161tivte velkoobchod","web_winter_grow_problem_3_title":"Such\xe9, k\u0159upav\xe9 listy? Opravte to rychle pomoc\xed tohoto zvlh\u010dova\u010de rostlin","web_product_paypal_pay_title_au":"web_product_paypal_pay_title_au","web_xmas2025_door5_link_us":"https://vivosun.com/vivosun-vcure-chytr\xe1 krabi\u010dka po sklizni p159688692373090695-v159688692373090694? utm_source=mkt&utm_medium=V\xe1noce&UTM_CAMPAIGN=5. den","web_xmas2025_door8_desc_de":"Leave LumaLight zn\xe1t \u2014 V\xfdkon, p\u0159esnost a pln\xe1 kontrola pro v\xe1\u0161 r\u016fst.","web_footer_link_my_addresses":"Moje adresy","web_footer_link_log_in":"P\u0159ihl\xe1sit se","web_product_paypal_pay_help_us":"web_product_paypal_pay_help_us","web_shop_activity_early_access_rules_desc7":"Bu\u010fte prvn\xed, kdo za\u01
17eije VivosunNov\xfd produkt! P\u0159ihlaste se nyn\xed a z\xedskejte exkluzivn\xed n\xe1hled! {{link}}","web_support_download_pdf":"St\xe1hnout PDF","web_product_paypal_pay_title_ca":"web_product_paypal_pay_title_ca","web_checkout_payment_empty_tip":"Zkontrolujte pros\xedm zp\u016fsob platby","web_xmas2025_door5_desc_us":"Santa v p\u011bstebn\xed m\xedstnosti je jako: \u201ePro\u010d \u0159\xedh\xe1te sklenice v roce 2025?\u201c \\nInteligentn\xed vytvrzov\xe1n\xed> sklenice na hl\xedd\xe1n\xed d\u011bt\xed.","web_pay_expiry_label":"Datum vypr\u0161en\xed platnosti","web_write_review_no_products":"Nejsou k dispozici \u017e\xe1dn\xe9 produkty k hodnocen\xed","web_write_review_points_help":"<div class=\\"title\\">Prohl\xe9dn\u011bte si na\u0161e produkty a vyd\u011bl\xe1vejte {{brand}} body</div><div class=\\"content\\">Jakmile spln\xedte minim\xe1ln\xed po\u017eadavek na text (alespo\u0148 50 znak\u016f, bez mezer), z\xedsk\xe1te 30 bod\u016f. Zahrnut\xedm fotografie do recenze z\xedsk\xe1te 60 bod\u016f, a pokud va\u0161e recenze obsahuje video del\u0161\xed ne\u017e 5 sekund, z\xedsk\xe1te dal\u0161\xedch 40 bod\u016f. Je\u0161t\u011b v\xedce vzru\u0161uj\xedc\xed je, \u017ee pokud si va\u0161i recenzi vybereme jako vysoce kvalitn\xed recenzi, budete m\xedt n\xe1rok na z\xedsk\xe1n\xed a\u017e 100 dal\u0161\xedch bod\u016f.</div><table class=\\"table\\"><thead><tr><th>Akce</th><th>Body</th></tr></thead><tbody><tr><td>Napsat koment\xe1\u0159</td><td>30</td></tr><tr><td>Odeslat koment\xe1\u0159 s obr\xe1zky</td><td>60</td></tr><tr><td>Odeslat koment\xe1\u0159 s videem</td><td>70</td></tr><tr><td>Odeslat koment\xe1\u0159 s obr\xe1zky i videem</td><td>100</td></tr><tr><td>Vybr\xe1no jako vysoce kvalitn\xed recenze</td><td>a\u017e 200</td></tr></tbody></table>","web_shop_order_perk":"V\xfdhoda","web_pointsmarket_boost_boost_successful":"web_pointsmarket_boost_boost_successful","web_cart_bonus_more_options":"V\xedce mo\u017enost\xed","web_referral_benefit_point3_description":"1) Uplatnit {{brand}} body za n\xe1kupn\xed kredity ({{points}}{{brand}} body = {{price}}) nebo exkluzivn\xed produkty v <points-marketplace>{{brand}} Tr\u017ei\u0161t\u011b bod\u016f</points-marketplace>.<br/>2) U\u017eijte si prodlou\u017eenou bodovou platnost o jeden rok!","web_early_access_check_order":"Stav m\u016f\u017eete zkontrolovat kdykoli <ordersLink>Moje rozkazy.</ordersLink>","web_common_checkout":"P\u0159ekontrolovat","web_shop_redeem_can_redeem":"Lze uplatnit {{pointsNum}} body","web_common_recipient_email":"E-mail p\u0159\xedjemce","web_coupons_not_available_error":"Tento k\xf3d kup\xf3nu nen\xed k dispozici.","web_tag_bundle_deals":"Bal\xed\u010dek","web_fixed_register_suc_tip_2":"Z\xedskejte sv\u016fj {{num}} body a pou\u017eijte n\xed\u017ee uveden\xfd k\xf3d, abyste z\xedskali {{discount}} z va\u0161\xed prvn\xed objedn\xe1vky","web_shop_crowdfunding_backers":"podporovatel\xe9","web_fixed_register_suc_tip_1":"JSTE NA SEZNAMU!","web_age_gate_under_age":"NEJSEM {{age}}+","web_xmas2025_rewards_important_content":"Tajemn\xe9 d\xe1rky nelze zakoupit samostatn\u011b a mus\xed b\xfdt odhl\xe1\u0161eny alespo\u0148 s jednou b\u011b\u017enou polo\u017ekou. D\xe1rky jsou omezen\xe9 a jsou k dispozici do vyprod\xe1n\xed z\xe1sob. Platnost bod\u016f a odm\u011bn za tajemn\xfd d\xe1rek vypr\u0161\xed 31. prosince - pou\u017eijte je pros\xedm p\u0159ed jejich vypr\u0161en\xedm.","web_shop_account_email_change_success_prompt_desc":"P\u0159ihlaste se znovu pomoc\xed nov\xe9 e-mailov\xe9 adresy","web_home_sfs_btn_coming_soon_capfirst":"Ji\u017e brzy","web_common_btn_submit":"P\u0159edlo\u017eit","web_winter_grow_problem_2_title":"St\xe1le dost\xe1v\xe1te popcornov\xe9 pupeny? Tady je osv\u011btlovac\xed trik","web_return_step_waiting_for_refund":"\u010cek\xe1n\xed na vr\xe1cen\xed pen\u011bz","web_refer_status_issued":"Vyd\xe1no","web_consent_customise_necessary_desc":"Tyto soubory cookie jsou nezbytn\u011b nutn\xe9 pro spr\xe1vn\xe9 fungov\xe1n\xed na\u0161ich str\xe1nek a poskytov\xe1n\xed na\u0161ich slu\u017eeb a funkc\xed. Pom\xe1haj\xed n\xe1m nap\u0159\xedklad zajistit bezpe\u010dn\xe9 a bezpe\u010dn\xe9 pou\u017e\xedv\xe1n\xed na\u0161ich slu\u017eeb, ov\u011b\u0159ovat p\u0159ihla\u0161ov\xe1n\xed u\u017eivatel\u016f, analyzovat, jak na\u0161i z\xe1kazn\xedci pou\u017e\xedvaj\xed str\xe1nky, zlep\u0161ovat jak jeho funk\u010dnost, tak v\xe1\u0161 z\xe1\u017eitek z nakupov\xe1n\xed a umo\u017enit p\u0159\xedstupnost. Chcete-li se dozv\u011bd\u011bt v\xedce o t\u011bchto souborech cookie, pod\xedvejte se na na\u0161e <privacy>Z\xe1sady ochrany osobn\xedch \xfadaj\u016f</privacy>.","web_points_col_earned":"Vyd\u011blan\xe9","web_referral_benefit":"Jak\xe9 jsou v\xfdhody byt\xed {{brand}} doporu\u010den\xed?","web_help_item_lost_in_transit":"Ztracen\xe1 polo\u017eka p\u0159i p\u0159eprav\u011b","web_share_msg_01":"Tenhle {{brand}} ud\xe1lost je opravdu zaj\xedmav\xe1! M\u016f\u017eete z\xedskat body zdarma a z\xedskat zbo\u01
17e\xed. P\u0159ij\u010fte se pod\xedvat na to!","web_shop_activity_early_access_selected":"Vybr\xe1no","web_xmas2025_rewards_collected_title":"D\xe1rky, kter\xe9 jste shrom\xe1\u017edili","web_referral_process_step3_description":"Povzbu\u010fte sv\xe9 p\u0159\xe1tele, aby klikli na v\xe1\u0161 odkaz a zakoupili polo\u017eky. 30 dn\xed pot\xe9, co je jejich objedn\xe1vka potvrzena a doru\u010dena, si m\u016f\u017eete u\u017e\xedt sv\xe9 zaslou\u017een\xe9 {{brand}} body!","web_payment_klarna_step1_gb":"web_payment_klarna_step1_gb","web_common_more":"V\xedce","web_login_forgot_popup_title":"Zapomenut\xe9 heslo","web_common_coupon_code":"K\xf3d kup\xf3nu","web_purchase_btn_view_order":"Zobrazit moji objedn\xe1vku","web_diy_ranking_comment_placeholder":"Co si mysl\xedte o t\xe9to sad\u011b?","web_home_sfs_btn_coming_soon":"JI\u017d BRZY","web_common_points":"Body","web_common_btn_copy":"Kop\xedrovat","web_checkin_rules":"<div><h2>Vivosun Pravidla odbavovac\xed akce</h2><h3>Doba trv\xe1n\xed ud\xe1losti:</h3><p>Od 8. dubna do 21. dubna</p><h3>Jak se z\xfa\u010dastnit?</h3><p>\\n Krok 1: P\u0159ihl\xe1\u0161en\xed<br/>\\n Nav\u0161tivte str\xe1nku ud\xe1losti a dokon\u010dete p\u0159ihl\xe1\u0161en\xed, abyste okam\u017eit\u011b z\xedskali 100 bod\u016f.\\n </p><p>\\n Krok 2: Sd\xedlejte ud\xe1lost<br/>\\n Sd\xedlejte str\xe1nku ud\xe1losti se sv\xfdmi p\u0159\xe1teli. Jakmile je sd\xedlen\xed dokon\u010deno, va\u0161e body se automaticky zv\xfd\u0161\xed ze 100 bod\u016f na 420 bod\u016f!\\n </p><h3>D\u016fle\u017eit\xe9 pozn\xe1mky:</h3><ul><li>1. Ka\u017ed\xfd u\u017eivatel se m\u016f\u017ee p\u0159ihl\xe1sit <strong>pouze jednou</strong> b\u011bhem obdob\xed akce.</li><li>2. Bodov\xe1 odm\u011bna bude pouze odem\u010dena <strong>po \xfasp\u011b\u0161n\xe9m sd\xedlen\xed str\xe1nky ud\xe1losti</strong>.</li><li>3. Body budou okam\u017eit\u011b p\u0159id\xe1ny na v\xe1\u0161 \xfa\u010det po dokon\u010den\xed ka\u017ed\xe9ho kroku (p\u0159ihl\xe1\u0161en\xed a sd\xedlen\xed).</li><li>4. Body z\xedskan\xe9 z t\xe9to akce lze pou\u017e\xedt k z\xedsk\xe1n\xed slev nebo v\xfdm\u011bny za odm\u011bny na Vivosun webov\xe1 str\xe1nka.</li><li>5. Pro v\xedce informac\xed o bodech nav\u0161tivte \\n <a href=\\"/help/loyalty-program\\" target=\\"_blank\\">Vivosun V\u011brnost a odm\u011bny</a>.\\n </li></ul><h3>Z\u0159eknut\xed se odpov\u011bdnosti:</h3><p>Vivosun vyhrazuje si pr\xe1vo tuto ud\xe1lost kdykoli zm\u011bnit, pozastavit nebo ukon\u010dit bez p\u0159edchoz\xedho upozorn\u011bn\xed.</p></div>","web_product_afterpay_title":"Nakupujte nyn\xed, zapla\u0165te pozd\u011bji! <br/>V\u017edy bez\xfaro\u010dn\xe9.","web_support_content_support":"Obsah a podpora","web_xmas2025_door3_link_de":"https://vivosun.com/de-de/campaign/Winter-grow? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=3. den","web_help_about_us":"O n\xe1s","web_checkin_modal_share_tip":"Sd\xedlejte a ot\xe1\u010dejte {{prev}} do {{next}} Okam\u017eit\u011b body!","web_common_next":"Dal\u0161\xed","web_help_intellectual_property":"Du\u0161evn\xed vlastnictv\xed","web_common_share_copy_link":"Kop\xedrovat odkaz","web_tag_super_upper":"SUPER","web_help_growing_guide":"Pr\u016fvodce p\u011bstov\xe1n\xedm","web_order_option_return_progress":"N\xe1vrat pokroku","web_coupons_expired_coupons":"Kup\xf3ny vypr\u0161ely","web_account_sign_in_register":"P\u0159ihl\xe1sit se/Registrovat","web_xmas2025_banner_title":"Klepn\u011bte, klikn\u011bte,<br>A r\u016fst!","web_common_item":"Polo\u017eka","web_order_step_finish":"Dokon\u010dit","web_return_refund_reason_label":"D\u016fvod vr\xe1cen\xed pen\u011bz","web_form_pwd_min_length_error":"Va\u0161e heslo mus\xed obsahovat alespo\u0148 8 znak\u016f.","web_order_cancel_shipping_fee":"Nejsem ochoten zaplatit po\u0161tovn\xe9","web_cart_list_title":"Souhrn polo\u017eek","web_spin_already_claimed":"U\u017e jste si tuto odm\u011bnu n\xe1rokovali. Ka\u017ed\xfd u\u017eivatel jej m\u016f\u017ee obdr\u017eet pouze jednou.","web_shop_redeem_get_more_pumpkins":"Z\xedskejte v\xedce d\xfdn\xed","web_checkin_btn_congrats":"<strong>GRATULUJI!<strong><span>Jste hotovi!</span>","web_spin_coupon_added":"Kup\xf3n p\u0159id\xe1n! Zkontrolujte sv\u016fj \xfa\u010det hned te\u010f.","web_login_sdk_load_failed":"{{name}} SDK se nepoda\u0159ilo na\u010d\xedst.","web_wfd_checkout_popup_benefit1_title":"Z\xedskejte plnou n\xe1hradu, \u017e\xe1dn\xe9 dotazy","web_checkin_earned_points":"Z\xedskali jste: <Num/> Body","web_product_add_to_cart":"P\u0159idat do ko\u0161\xedku","web_winter_grow_problem_4_title":"Zastavte pl\xedse\u0148 d\u0159\xedve, ne\u017e zni\u010d\xed va\u0161i sklize\u0148 - chytr\xfd zp\u016fsob, jak \u0159\xeddit vlhkost","web_checkout_register_tip":"ZAREGISTRUJTE SE A Z\xcdSKEJTE <span>{{discount}} VYPNUTO PLUS {{points}} BOD\u016e</span>","web_consent_customise_always_on":"V\u017edy zapnut\xfd","web_checkout_address_empty_tip":"P\u0159ed zad\xe1n\xedm objedn\xe1vky si pros\xedm ulo\u017ete svou dodac\xed adresu.","web_list_sort_price_lower":"Cena od nejni\u017e\u0161\xed k nejvy\u0161\u0161\xed","web_tag_winter_sale":"Zimn\xed v\xfdprodej","web_winter_grow_problem_5_title":"Studen\xe1 p\u016fda = \u017e\xe1dn\xe9 kl\xed\u010dky: jak zah\u0159\xe1t v\u011bci pro rychl\xe9 kl\xed\u010den\xed","web_product_bundle_contains":"Tento bal\xed\u010dek obsahuje {{num}} polo\u017eek <span>(m\u016f\u017ee b\xfdt dod\xe1v\xe1n samostatn\u011b)</span>","web_diy_customize_help_title":"Sestavte si vlastn\xed sadu","web_pointsmarket_checkin_help_content":"web_pointsmarket_checkin_help_content","web_form_pwd_label":"Heslo","web_xmas2025_door3_desc_de":"Zima je nejlep\u0161\xed \u010das, pijte spole\u010dn\u011b - tak\xe9 pro va\u0161e rostliny.","web_common_status":"Stav","web_common_btn_checkout_upper":"POKLADNA","web_checkout_step_place_order":"Zadat objedn\xe1vku","web_refund_description_placeholder":"Vypl\u0148te popis, abyste pomohli podnik\u016fm l\xe9pe \u0159e\u
10161it probl\xe9my s poprodejn\xedm prodejem","web_help_shipping_types":"Typy p\u0159epravy","web_product_compare_item_unavailable":"{{name}} je do\u010dasn\u011b nedostupn\xfd.","web_form_description_placeholder_1":"Popi\u0161te pros\xedm probl\xe9m s va\u0161\xedm produktem...","web_diy_step_duct_fan":"Potrubn\xed ventil\xe1tor","web_product_together_title":"\u010casto koupen\xe9 spole\u010dn\u011b","web_xmas2025_door8_link_de":"https://vivosun.com/de-DE/vivosun-lumalight-s\xe9rie-c311? utm_source=DEMKT&UTM_MEDIUM=V\xe1noce&UTM_CAMPAIGN=Den 8","web_payment_klarna_step1_de":"P\u0159idat polo\u017eky<br>do ko\u0161\xedku","web_wfd_checkout_notice_emailalert":"Ujist\u011bte se, \u017ee e-mailov\xe1 adresa va\u0161\xed objedn\xe1vky je spr\xe1vn\xe1 a schopn\xe1 p\u0159ij\xedmat zpr\xe1vy, jinak mo\u017en\xe1 neobdr\u017e\xedte z\xe1sady ochrany bezstarostn\xe9ho doru\u010den\xed od spole\u010dnosti Seel.","web_common_sku":"Sk.","web_pointsmarket_boost_btn_next":"web_pointsmarket_boost_btn_next","web_product_paypal_pay_title_de":"Zkuste to nejprve a zapla\u0165te o 30 dn\xed pozd\u011bji","web_shop_crowdfunding_campaign_successful":"Kampa\u0148 \xfasp\u011b\u0161n\xe1","web_payment_klarna_step1_ca":"P\u0159idat polo\u017eky<br>do ko\u0161\xedku","web_common_reloading":"Op\u011btovn\xe9 na\u010d\xedt\xe1n\xed","web_common_empty_tip":"Je zde pr\xe1zdn\xfd :-(","web_search_placeholder":"Vyhled\xe1v\xe1n\xed {{brand}}","web_shop_crowdfunding_sign_in_to_comment":"<u>P\u0159ihl\xe1sit se</u> komentovat","web_return_step_cancelled":"Zru\u0161eno","web_spin_disclaimer":"Pouze pro ilustrativn\xed \xfa\u010dely. Ka\u017ed\xfd m\u016f\u017ee dos\xe1hnout nejlep\u0161\xedho v\xfdsledku v tomto rozhran\xed.","web_consent_customise_confirm_my_choice":"Potvrdit mou volbu","web_refer_friend_page_title":"Doporu\u010dit p\u0159\xedtele","web_shop_redeem_chance_left":"{{chanceNum}} \u0160ance (y) Zb\xfdv\xe1","web_common_results_number":"{{totalNum}} V\xfdsledky","web_support_search_for_support":"Vyhledejte podporu","web_price_save_discount":"Ulo\u017eit {{discount}}","web_shop_security_verify_your_email":"Ov\u011b\u0159te sv\u016fj e-mail"}')},16494:function(e){"use strict";e.exports=JSON.parse('{"web_cart_total_selected_tip":"{{num}} Ausw\xe4hlen","web_eggs_points_added":"Die Punkte wurden automatisch deinem Konto gutgeschrieben und k\xf6nnen f\xfcr zuk\xfcnftige Eink\xe4ufe oder Pr\xe4mien genutzt werden.","web_coupons_use_tip":"Sie k\xf6nnen die folgenden Gutscheine auf die Artikel in Ihrem Einkaufswagen verwenden, bitte verwenden Sie sie auf der Seite \\"Bestellung aufgeben\\".","web_support_product_tag_official":"Offiziell","web_common_minute_lower":"Minute","web_shop_crowdfunding_back_this_project":"Dieses Projekt unterst\xfctzen","web_shop_account_hint_enter_new_email":"Neue E-Mail-Adresse eingeben","web_shop_activity_early_access_result_unselected2":"Diesmal wurden Sie leider nicht ausgew\xe4hlt, aber keine Sorge \u2013 Ihre Punkte wurden vollst\xe4ndig auf Ihr Konto zur\xfcckerstattet.","web_shop_activity_early_access_result_unselected1":"Diesmal hat es leider nicht geklappt. Viel Gl\xfcck beim n\xe4chsten Mal!","web_shop_activity_early_access_title":"Tester-Club","web_shop_activity_early_access_result_unselected3":"Achten Sie auf kommende Gelegenheiten, um unsere neuesten Produkte auszuprobieren!","web_support_community_desc":"Erhalten Sie Antworten von anderen Z\xfcchtern in unserer App-Community.","web_product_alsolike_title":"Das k\xf6nnte Ihnen auch gefallen","web_form_email_label":"E-Mail","web_xmas2025_reward_modal_desc":"web_xmas2025_reward_modal_desc","web_xmas2025_door9_link_de":"https://vivosun.com/de-DE/small-smart-kits-c1444?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day9","web_form_pictures_empty_error":"Mindestens 1 Bild hochladen.","web_consent_customise_preferences_desc":"Diese Cookies speichern Ihre Pr\xe4ferenzen, damit wir Ihr Einkaufserlebnis so nahtlos und personalisiert wie m\xf6glich gestalten k\xf6nnen. Ohne diese Cookies funktionieren Dinge wie Ihre Kontoeinstellungen oder die Lokalisierung m\xf6glicherweise nicht korrekt. Um mehr \xfcber diese Cookies zu erfahren, lesen Sie bitte unsere <privacy>Datenschutzrichtlinie</privacy>.","web_xmas2025_door1_desc_us":"web_xmas2025_door1_desc_us","web_diy_entrance_ranking_desc":"Sehen Sie sich die beliebtesten Kits an.","web_shop_redeem_process_step3":"Schritt 3: Erhalte K\xfcrbisse und Referral-Punkte","web_shop_redeem_process_step2":"Schritt 2: Empfehlen","web_form_submission_successful":"\xdcbermittlung erfolgreich","web_shop_redeem_process_step1":"Schritt 1: Einloggen","web_address_select_province_first":"Bitte w\xe4hlen Sie zuerst ein(e) {{label}} aus.","web_shop_community":"Community","web_order_cancel_payment_rejected":"Zahlung wurde abgelehnt","web_product_view_full_info":"Vollst\xe4ndige Produktinformation anzeigen","web_tag_new":"Neu","web_order_order_id":"Bestellnummer","web_shop_redeem_get_more_chances":"Erhalte mehr Chancen","web_contact_location_title":"Standort","web_support_manuals":"Handleidingen","web_checkout_btn_apply":"Anwenden","web_shop_activity_early_access_guidelines_desc1":"Um sich zu bewerben, werden {{points}} Punkte von Ihrem Konto abgezogen. Falls Sie nicht ausgew\xe4hlt werden, werden die Punkte zur\xfcckerstattet. Bitte best\xe4tigen Sie Ihre Bewerbung.","web_wfd_orderdetail_claimentry_title":"Einen Worry-Free Delivery Anspruch einreichen","web_register_btn_register":"Registrieren","web_shop_crowdfunding_limited_quantity":"Begrenzte St\xfcckzahl","web_help_privacy_policy":"Datenschutzbestimmungen","web_pay_cvv_popup_tip":"Der 3-stelliger Sicherheitscode, der sich normalerweise auf der R\xfcckseite Ihrer Karte befindet. American Express-Karten haben einen 4-stelligen Code, der sich auf der Vorderseite befindet.","web_product_sold_out":"Ausverkauft","web_checkout_btn_remove":"Entfernen","web_pointsmarket_limit_num":"Limit {{num}}","web_pay_cancel_confirm_tip":"Sind Sie sicher, dass Sie die Zahlung stornieren m\xf6chten? Wenn Ihre Bestellung nicht innerhalb von <Countdown/> bezahlt wird, wird sie storniert.","web_xmas2025_door6_link_de":"https://vivosun.com/de-DE/campaign/winter-grow?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day6","web_remaining_count":"Noch {{
1count}} Sekunden","web_package_package_index":"Paket {{num}}","web_create_pwd_page_title":"Neues Passwort erstellen","web_pay_accept_cards_title":"Wir akzeptieren","web_xmas2025_door4_desc_us":"web_xmas2025_door4_desc_us","web_return_request_date":"Antragsdatum","web_order_cancel_result_back_tip":"Die R\xfcckerstattung wird auf Ihr Zahlungskonto zur\xfcckgebucht. Bitte \xfcberpr\xfcfen Sie es sp\xe4ter.","web_points_points_expiring_soon_tip":"Punkte, laufen bald ab bedeutet, dass die Punkte innerhalb von 7 Tagen ablaufen werden","web_form_comfirm_pwd_label":"Passwort best\xe4tigen","web_form_number_plus":"Plus","web_order_cancel_others":"Andere","web_summary_order_total_price":"Bestellung Gesamtpreis","web_cart_empty_tip":"Ihr Warenkorb ist leer","web_product_review_no_score":"Keine Bewertungen","web_early_access_reclaim_points":"Bewerten und Punkte zur\xfcckerhalten","web_diy_recommended_entrances_title":"Nicht das, wonach Sie suchen?<br/>Lassen Sie es uns anders versuchen.","web_shop_account_request_deletion":"L\xf6schen beantragen","web_common_btn_cancel":"Abbrechen","web_diy_customize_optional":"Optional","web_support_product_official_tutorials":"Offizielle Anleitungen","web_common_coupons":"Gutscheine","web_checkout_shipping_empty_tip":"Bitte pr\xfcfen Sie die Versandart.","web_account_logout":"Abmelden","web_product_not_choose_tip":"Bitte w\xe4hlen Sie {{name}}","web_age_gate_full_age_next":"UND STIMME ZU, DASS MEIN ALTER \xdcBERPR\xdcFT WIRD","web_support_blog_cats_title":"Kategorien entdecken","web_xmas2025_door11_link_de":"https://www.instagram.com/p/DSX1TbsjIGv/?img_index=1","web_product_coupons_title":"Shop-Gutscheine","web_consent_customise_preferences_title":"Pr\xe4ferenz-Cookies","web_checkout_step_pay":"Bezahlen","web_support_product_blogs_title":"Wissensdatenbank","web_common_minutes_lower":"Minuten","web_coupons_code_label_upper":"Code","web_warranty_form_success":"Vielen Dank! Ihr Garantieantrag wurde \xfcbermittelt. Wir werden uns in K\xfcrze mit Ihnen in Verbindung setzen.","web_checkout_btn_add_address":"Neue Adresse hinzuf\xfcgen","web_list_total_products":"{{totalNum}} Produkte","web_time_day_left":"Tag \xfcbrig","web_pay_cancel_confirm_btn_continue":"WEITER BEZAHLEN","web_address_country_label":"Region","web_orders_nav_all_orders":"Alle Bestellungen","web_xmas2025_door2_desc_de":"Check die LumaRay Under Canopy Light \u2013 f\xfcr Growzelte ab 4\xd74 ft.","web_locale_select_region_country":"Region/Land ausw\xe4hlen","web_xmas2025_door7_desc_us":"web_xmas2025_door7_desc_us","web_check_coupon_in_the_app":"Gutsc
1hein in der App einsehen","web_common_btn_share_now_upper":"JETZT TEILEN","web_checkin_modal_share_suc_tip":"Deine Punkte sind von {{prev}} auf {{next}} gewachsen!","web_return_item_list":"Artikel-Liste","web_checkout_points_title":"{{brand}} Punkte","web_common_second_lower":"Sekunde ","web_purchase_declined_status":"Zahlung konnte nicht abgeschlossen werden","web_orders_nav_returns":"R\xfccksendungen","web_support_services_title":"Anfragen & spezialisierter Support","web_form_pwd_min_length_tip":"Mindestens 8 Zeichen","web_shop_crowdfunding_status_successful":"Erfolgreich","web_messages_tab_garden":"Garten","web_product_unavailable_error":"{{productName}} ist vor\xfcbergehend nicht verf\xfcgbar.","web_product_total_review":"{{total}} Bewertung","web_common_view_less":"Weniger anzeigen","web_shop_crowdfunding_share_to":"Teilen","web_order_cancel_coupon_code":"Ich habe vergessen, den Gutscheincode anzuwenden","web_checkin_get_num_points_now":"Erhalte jetzt {{num}} Punkte","web_fixed_register_register_and_receive":"Registrieren und erhalten","web_product_tab_bundle_list":"Bundle-Liste","web_common_all_upper":"ALLE","web_common_review":"Bewerten","web_product_sale_price":"Verkaufspreis","web_credited_to_your_account":"wurden deinem Konto gutgeschrieben","web_contact_amazon_email_text":"Bei Fragen zu Bestellungen oder zum Kundendienst nach dem Kauf wenden Sie sich bitte an: <Email/>","web_shop_account_change_password":"Passwort \xe4ndern","web_purchase_large_tip_following":"Sie k\xf6nnen uns auch auf folgende Weise erreichen:","web_common_hour_lower":"Stunde","web_form_upload_msg_1":"Um Ihr Anliegen besser bearbeiten zu k\xf6nnen, laden Sie bitte ein Foto oder Video hoch, das den Defekt deutlich zeigt.","web_age_gate_under_age_next":"BITTE GEHEN SIE ZUR\xdcCK","web_help_technical_guide":"Technischer Leitfaden","web_consent_customise_title":"Cookie-Pr\xe4ferenz","web_common_ended":"Beendet","web_order_cancel_not_want":"Ich m\xf6chte es nicht.","web_account_message_title":"Meine Nachricht","web_overview":"\xdcbersicht","web_eggs_keep_hunting":"Weiter st\xf6bern","web_messages_tab_my_asset":"Mein Guthaben","web_shop_activity_early_access_applications_closed":"Bewerbungen geschlossen","web_list_sort_price_higher":"Preis hoch bis niedrig","web_points_col_date_and_time":"Datum und Uhrzeit","web_common_got_it":"Verstanden","web_common_points_upper":"Punkte","web_address_shipping_note":"Bitte vergewissern Sie sich, dass Ihre Versandinformationen vollst\xe4ndig und korrekt sind, falls wir oder das Versandunternehmen Sie bez\xfcglich Ihrer Bestellung erreichen m\xfcssen.","web_order_option_repurchase":"Wiederkauf","web_cart_delete_confirm":"Sind Sie sicher, dass Sie den/die Artikel l\xf6schen m\xf6chten?","web_address_empty_tip":"Ihre Adresse ist leer","web_shop_account_identify_email_send_successfully":"Ein Link zur \xc4nderung Ihrer E-Mail-Adresse wurde an <span>{{newEmail}}</span> gesendet.","web_spin_stop":"Stop","web_xmas2025_door12_desc_de":"2025. A year we grew together.\\nBuilt from feedback, shaped by growers.\\nBuilt for growers. Always. \ud83c\udf31","web_common_btn_check_in_upper":"EINCHECKEN","web_shop_activity_early_access_guidelines":"Richtlinien f\xfcr die Tester-Club-Bewerbung","web_points_points_expiring_soon":"Punkte laufen bald ab","web_common_days_lower":"Tage","web_product_tab_reviews":"Bewertungen ({{num}})","web_pay_cvv_popup_title":"Informationen zum Sicherheitscode *","web_common_day_lower":"Tag","web_support_num_articles":"{{num}} Artikel","web_account_coupons_title":"Meine Gutscheine","web_write_review_success_content":"<strong>{{num}} Punkte</strong> f\xfcr das Verfassen einer Bewertung erhalten.","web_winter_grow_you_might_also_need":"Das k\xf6nnte Ihnen auch gefallen","web_xmas2025_products_title":"F\xfcr dich ausgew\xe4hlte Geschenke","web_xmas2025_scroll_message9":"web_xmas2025_scroll_message9","web_checkout_referrer_title":"Empfehler","web_xmas2025_scroll_message7":"web_xmas2025_scroll_message7","web_xmas2025_scroll_message8":"web_xmas2025_scroll_message8","
1web_xmas2025_scroll_message5":"web_xmas2025_scroll_message5","web_shop_crowdfunding_days_togo":"<span>{{timeRemaining}}</span> Tage bis","web_xmas2025_scroll_message6":"web_xmas2025_scroll_message6","web_xmas2025_scroll_message3":"web_xmas2025_scroll_message3","web_xmas2025_scroll_message4":"web_xmas2025_scroll_message4","web_xmas2025_scroll_message1":"web_xmas2025_scroll_message1","web_xmas2025_scroll_message2":"web_xmas2025_scroll_message2","web_purchase_failed_btn_retry_to_pay":"Erneut bezahlen","web_product_ratio_points":"{{ratio}}x Punkte","web_product_together_add_cart":"Ausgew\xe4hlte in den Warenkorb","web_diy_ranking_my_comments":"Meine Kommentare","web_checkout_btn_proceed":"Mit der Zahlung fortfahren","web_refund_description_empty_error":"Beschreibung darf nicht leer sein.","web_shop_redeem_recipient_email":"Empf\xe4nger-E-Mail","web_xmas2025_door5_desc_de":"Komm und mach bei unserem Tester Club f\xfcr die neuen Weihnachtsprodukte mit!","web_common_view_results":"Ergebnisse anzeigen","web_common_free_gift_limited_tip":"Gratisgeschenke nur in begrenzter Menge verf\xfcgbar. Nur solange der Vorrat reicht!","web_common_apply":"Bewerben","web_shop_account_email_change_success_prompt":"E-Mail-Adresse ge\xe4ndert","web_product_afterpay_help_au":"web_product_afterpay_help_au","web_common_gift":"Geschenk","web_help_add_device":"Hilfe","web_consent_root_accept_all":"Alle akzeptieren","web_pointsmarket_help_trigger":"Erfahren Sie mehr \xfcber {{brand}} Punkte","web_product_compare_this_item":"Dieser Artikel","web_write_review_form_empty_error":"Bitte \xfcberpr\xfcfen Sie alles vor dem Absenden.","web_form_pwd_pattern_number_error":"Ihr Passwort muss mindestens eine Zahl enthalten.","web_xmas2025_door2_link_us":"web_xmas2025_door2_link_us","web_common_qty":"Anzahl","web_purchase_large_tip2_service":"Unser exklusives Kundenserviceteam wird Sie innerhalb von 24 Stunden kontaktieren, um Ihnen bei dem Zahlungsprozess zu helfen.","web_referral_process_step1_description":"<a>Hier klicken</a> um sich anzumelden und direkt zum Empfehlungs-Tab in Ihren Kontoeinstellungen zu gelangen.","web_address_set_as_default":"Als Standard festlegen","web_referral_process_step2_description":"Teilen Sie Ihren individuellen Einladungslink. Alternativ k\xf6nnen Sie auf <ShareIcon/> neben dem Titel eines Produkts klicken, um Ihre Lieblingsartikel Freunden zu empfehlen.","web_checkin_make_rate_boom":"Lass es mit {{rate}}X wachsen!","web_return_step_auditing":"Pr\xfcfung","web_xmas2025_banner_button":"\xd6ffne deine \xdcberraschung","web_eggs_reached_maximum_chances":"Du hast die maximale Anzahl an Belohnungen f\xfcr dieses Event erreicht. Genie\xdfe deine Preise und bleib dran f\xfcr weitere spannende Aktionen!","web_product_together_empty_error":"Bitte w\xe4hlen Sie ein Produkt","web_tag_points_special":"Punktespezial","web_purchase_order_shipping_address":"Lieferadresse","web_checkout_points_multiples":"web_checkout_points_multiples","web_activity_trick_or_treat_rules_desc_de":"<p>Aktionszeitraum: 24. Oktober 2025, 00:00 Uhr CEST bis 2. November 2025, 23:59 Uhr CEST</p>\\n\\n<p>W\xe4hrend des Aktionszeitraums erh\xe4lt jeder Teilnehmer, der die Aktionsseite teilt, die M\xf6glichkeit, eine Geschenkbox zu \xf6ffnen.\\nJede Geschenkbox enth\xe4lt 420 Vivosun-Punkte und einen Halloween-Gutschein, die beide nach dem \xd6ffnen automatisch dem Konto des Teilnehmers gutgeschrieben werden.</p>\\n\\n<p>Diese Aktion ist auf mehreren L\xe4nderseiten verf\xfcgbar. Jeder Teilnehmer darf jedoch nur einmal teilnehmen.\\nBeispiel: Wer auf der US-Seite teilnimmt, kann nicht zus\xe4tzlich auf der deutschen Seite teilnehmen.</p>\\n\\n<p>Um Fairness zu gew\xe4hrleisten, sind Selbstempfehlungen strickt untersagt, einschlie\xdflich der Nutzung identischer E-Mail-Adressen, IP-Adressen oder Browsersitzungen. Bei Verst\xf6\xdfen verfallen s\xe4mtliche Belohnungen.</p>","web_shop_activity_early_access_desc":"Erleben Sie als Erste/r unsere neuesten Innovationen! Entdecken Sie vergangene und laufende Tester-Club M\xf6glichkeiten und erfahren Sie, wie unsere Community dabei hilft, die Zukunft der Vivosun Produkte zu gestalten.","
1web_consent_customise_advertising_desc":"Mit Ihrer Zustimmung arbeiten wir mit Drittanbietern zusammen, um Cookies auf Ihrem Ger\xe4t zu platzieren. Wir verwenden diese Cookies, um unsere Dienstleistungen auf anderen Websites zu bewerben und die Effektivit\xe4t unserer Werbekampagnen zu messen. Unsere Werbepartner nutzen diese Cookies, um ein Profil Ihrer Interessen zu erstellen und Ihnen relevante Anzeigen auf anderen Seiten anzuzeigen. Wenn Sie diese Cookies nicht zulassen, k\xf6nnen Sie zwar weiterhin Anzeigen f\xfcr {{brand}} sehen, aber Sie erleben m\xf6glicherweise weniger gezielte Werbung.","web_shop_crowdfunding_days_left":"<span>{{timeRemaining}}</span> Tage verbleibend","web_address_shipping_address_title":"Lieferadresse","web_login_bind_popup_title":"Wir werden ein neues Konto f\xfcr Sie erstellen. Bitte geben Sie Ihre E-Mail-Adresse ein und legen Sie ein Passwort fest. ","web_return_tab_label":"R\xfcckerstattung {{num}}","web_summary_title_order_summary":"Zusammenfassung der Bestellung","web_common_save_price":"Spare {{price}}","web_shop_security_email_verification_required":"E-Mail-Best\xe4tigung erforderlich","web_search_hot_search_title":"Beliebte Suche","web_diy_link_choose_different_dimension":"W\xe4hlen Sie Ihre Abmessungen aus","web_help_title_support":"Support","web_refund_amount_paid":"Bezahlter Betrag","web_xmas2025_door3_link_us":"web_xmas2025_door3_link_us","web_refer_friend_copy_link":"Kopieren Sie Ihren Einladungslink","web_product_afterpay_step_2":"W\xe4hlen Sie Afterpay <br/> an der Kasse","web_product_afterpay_step_1":"Artikel <br/> in Ihren Warenkorb legen","web_checkout_step_my_cart":"Mein Warenkorb","web_summary_discount":"Rabatt","web_fixed_coupon_placed_tip":"Ihr Gutschein wurde in Ihrem Konto hinterlegt.","web_help_terms_of_service":"Allgemeine Gesch\xe4ftsbedingungen","web_product_paypal_pay_help_au":"web_product_paypal_pay_help_au","web_common_loading":"Laden","web_coupons_unused_coupons":"Unbenutzte Gutscheine","web_contact_wholesale_email_text":"F\xfcr Gro\xdfbestellungen oder Fragen zum Gro\xdfhandel, kontaktieren Sie bitte: <Email/>","web_shop_crowdfunding_estimated_to_ship_in_deliverytime":"Voraussichtlicher Versandbeginn ab {{deliveryTime}}","web_xmas2025_rewards_mystery_btn":"Mystery-Geschenk \xf6ffnen","web_product_afterpay_step_4":"Ihr Einkauf wird in 4 Zahlungen aufgeteilt, die alle 2 Wochen f\xe4llig sind.","web_product_afterpay_step_3":"Melden Sie sich bei Ihrem Afterpay-Konto an oder erstellen Sie ein neues Konto mit sofortiger Verifizierung.","web_home_sfs_preview_name":"Ein erstaunliches Angebot f\xfcr ein herausragendes Produkt","web_time_ended_at":"Endet um","web_product_review_all_reviews":"Alle Bewertungen","web_xmas2025_door8_link_us":"web_xmas2025_door8_link_us","web_form_order_placeholder_1":"z. B. 167200766275690000","web_support_num_article":"{{num}} Artikel","web_shop_crowdfunding_pledge_amount":"{{amount}} zusagen","web_pay_expiry_empty_tip":"Bitte geben Sie das Ablaufdatum an","web_form_select_label":"Ausw\xe4hlen","web_product_unavailable_title":"Produkt nicht verf\xfcgbar","web_activity_trick_or_treat_rules_desc":"web_activity_trick_or_treat_rules_desc","web_xmas2025_door10_link_us":"web_xmas2025_door10_link_us","web_locale_region_language":"Region & Sprache","web_product_number_label":"Anzahl der Varianten","web_purchase_declined_next_steps":"N\xe4chste Schritte: Falls das Problem weiterhin besteht, empfehlen wir die Verwendung einer anderen Kreditkarte oder den Wechsel zu einer alternativen Zahlungsmethode, um Ihre Bestellung abzuschlie\xdfen.","web_order_confirm_receipt":"Empfang best\xe4tigen","web_product_paypal_pay_help_ca":"web_product_paypal_pay_help_ca","web_price_discount_off_upper":"{{discount}} RABATT","web_return_refund_price_label":"R\xfcckerstattung","web_checkout_referrer_drawer_trigger":"Schauen Sie sich die <span>REFID ({{num}})<Dot/></span>an","web_login_email_address":"E-Mail-Adresse","web_diy_ranking_btn_like":"Gef\xe4llt mir","web_messages_tab_orders":"Bestellungen","web_help_return_policy":"R\xfcckgaberichtlinie","web_shop_security_verification_sent":"Ein Best\xe4tigungslink wurde an <span class=\'underline\'>{{email}}</span> gesendet.","web_order_number":"Bestellnummer","web_common_btn_edit":"Bearbeiten","web_common_share_popup_title":"Teilen auf","web_shop_account_identify_email_send_successfully_note":"<p>E-Mails k\xf6nnen sich leicht verz\xf6gern.</p>\\n\\n<p>Falls Sie die E-Mail nicht erhalten haben, \xfcberpr\xfcfen Sie bitte Ihren Spam- oder Junk-Ordner.</p>\\n\\n<p>Sollten Sie die E-Mail nach Anforderung der \xc4nderung weiterhin nicht erhalten, warten Sie bitte 24 Stunden und versuchen Sie es erneut.</p>","web_list_sort_recommend":"Empfohlen","web_referral_benefit_point2":"Punkte sammeln","web_refund_description_label":"Beschreibung","web_referral_benefit_point1":"Einfache Anmeldung","web_wfd_checkout_popup_cta_cancel":"No Need","web_wfd_orderdetail_claimentry_desc":"Wenn Ihr Paket versp\xe4tet ist, verloren geht oder besch\xe4digt wird, k\xf6nnen Sie bei <Logo/> einen Anspruch geltend machen. Die Bearbeitung der Anspr\xfcche erfolgt durch <Logo/>. Der H\xe4ndler ist nicht f\xfcr Versandprobleme verantwortlich.","web_referral_benefit_point3":"Vielseitige Punkte","web_early_access_tester_reviews":"Tester-Bewertungen","web_subscribe_result_join_community":"Treten Sie unserer C
1ommunity bei >","web_coupons_code_label":"Code","web_order_option_get_points_tooltip":"Punkte erhalten","web_order_cancel_reason_empty_tip":"Bitte nennen Sie einen Grund","web_product_paypal_pay_help_de":"<Div>\\n <P>Verf\xfcgbar f\xfcr Eink\xe4ufe zwischen 1 \u20ac und 2.000 \u20ac.</P>\\n <P>1. W\xe4hlen Sie PayPal als Zahlungsmethode und nutzen Sie die Option \u201eBezahlung nach 30 Tagen\u201c.</P>\\n <P>2. Schlie\xdfen Sie Ihren Einkauf in nur wenigen Schritten ab.</P>\\n <P>3. Brauchen Sie mehr als 30 Tage? Sie k\xf6nnen die Zahlungsfrist optional gegen eine Geb\xfchr um weitere 30 Tage oder alternativ um 54 Tage verl\xe4ngern.</P>\\n <P>Bonit\xe4tspr\xfcfung vorbehalten. F\xfcr Eink\xe4ufe zwischen 1 \u20ac und 2.000 \u20ac. Es gelten die Bedingungen f\xfcr die Bezahlung nach 30 Tagen. Ein deutsches PayPal-Privatkonto mit einer verkn\xfcpften Debitkarte oder einem Bankkonto mit g\xfcltigem SEPA-Lastschriftmandat als Zahlungsquelle ist erforderlich, um diesen Service zu nutzen. Sie k\xf6nnen optional beantragen, das Zahlungsziel gegen eine Geb\xfchr um weitere 30 Tage (auf insgesamt 60 Tage) oder alternativ um 54 Tage (auf insgesamt 84 Tage) zu verl\xe4ngern. Die H\xf6he der Geb\xfchr wird vor Abschluss der Verl\xe4ngerung transparent in Ihrem PayPal-Konto angezeigt. F\xfcr die Verl\xe4ngerung gelten die Bedingungen f\xfcr \u201eMehr Zeit zum Bezahlen\u201c.</P>\\n <P>Um Ihren Einkauf in monatlichen Raten zu bezahlen, w\xe4hlen Sie die PayPal Ratenzahlung.</P>\\n </Div>","web_product_selling_pints_title":"\xdcber diesen Artikel","web_price_free":"Kostenlos","web_product_together_item_unavailable":"Der folgende Artikel ist zur Zeit nicht verf\xfcgbar","web_consent_root_reject_all":"Alle ablehnen","web_payment_klarna_policy_ca":"web_payment_klarna_policy_ca","web_xmas2025_rewards_points_earned":"Erworbene Punkte","web_support_contact_title":"Nicht gefunden, wonach Sie gesucht haben?","web_xmas2025_door4_desc_de":"GrowHub Controller E42A+! Steuer dein Grow-Setup smarter als je zuvor.","web_diy_entrance_recommended_title":"{{brand}} Empfohlen","web_checkin_plant_share":"Deine Pflanze ist gewachsen! Teile jetzt, um ihr Wachstum zu f\xf6rdern","web_common_end_of_page":"Ende der Seite","web_diy_entrance_customize_title":"Passen Sie Ihr eigenes Kit an","web_summary_tip_reward_points_tooltip":"Die {{brand}} Punkte werden nach Abschluss Ihrer Bestellung Ihrem Konto gutgeschrieben.","web_payment_klarna_step4_de":"W\xe4hlen Sie Ihren<br>Zahlungsplan aus und<br>schlie\xdfen Sie den Kauf<br>ab","web_shop_tutorial_referral_step2":"Verdienen Sie {{points}} Punkte f\xfcr {{price}}, den Ihre geworbenen Freunde ausgeben. W\xe4hrend spezieller Vivosun-Aktionen k\xf6nnen Sie sogar noch mehr Punkte sammeln. Klicken Sie auf den Button, um alle Details des Empfehlungsprogramms anzusehen.","web_time_ends_in":"Endet in","web_login_forgot_password_link":"Passwort vergessen?","web_shop_tutorial_referral_step1":"Hier ist Ihre exklusive Empfehlungs-ID. Wenn Freunde \xfcber Ihren Empfehlungslink bei Vivosun bestellen, wird Ihre ID automatisch im Feld \u201eEmpfohlen von\u201c ausgef\xfcllt, oder sie k\xf6nnen diese manuell beim Checkout eingeben.","web_wfd_checkout_popup_link_privacy":"Privacy Policy","web_order_option_track":"Verfolgen","web_shop_tutorial_referral_step4":"Klicken Sie hier, um Vivosun weiterzuempfehlen - teilen Sie Vivosun mit Freunden direkt auf anderen Social-Media-Plattformen.","web_address_default_address":"Standardadresse","web_shop_tutorial_referral_step3"
1:"Klicken Sie, um Vivosun weiterzuempfehlen - kopieren Sie den Link f\xfcr pers\xf6nliche Nachrichten oder Social-Media-Beitr\xe4ge.","web_shop_tutorial_referral_step6":"Hier k\xf6nnen Sie die Bestellungen, die \xfcber Ihre Empfehlungen get\xe4tigt wurden, und die verdienten Punkte einsehen.","web_shop_tutorial_referral_step5":"Dr\xfccken Sie auf \u201eTeilen\u201c f\xfcr das Produkt, das Sie empfehlen m\xf6chten.","web_shop_crowdfunding_day_togo":"<span>{{timeRemaining}}</span> Tag bis","web_xmas2025_door6_link_us":"web_xmas2025_door6_link_us","web_shop_activity_open_your_gift_box":"\xd6ffne deine Geschenkbox","web_common_price":"Preis","web_xmas2025_door9_desc_us":"web_xmas2025_door9_desc_us","web_diy_ranking_score_completeness":"Vollst\xe4ndigkeit","web_subscribe_btn_subscribe":"Abonnieren","web_checkin_titles":"<line1>Hol dir jede Menge Punkte</line1><line2>MELDE DICH AN, TEILE</line2><line3>und sammle 420 Punkte</line3>","web_product_affirm_pay_help_us":"web_product_affirm_pay_help_us","web_age_gate_confirm_tip":"Bitte best\xe4tigen Sie Ihr Alter","web_shop_redeem_get_more_pumpkins_upper":"MEHR K\xdcRBISSE","web_common_iphone":"iPhone","web_home_sfs_btn_sale_is_over":"SALE IST VORBEI","web_common_btn_continue":"Weiter","web_common_share_unsupport_tip":"Hier stimmt etwas nicht. Ihr Browser unterst\xfctzt die Sharing-Funktion nicht.","web_payment_klarna_step4_gb":"web_payment_klarna_step4_gb","web_common_updates":"Updates","web_shop_product_restore_subscription_successful":"Anmeldung erfolgreich! Wir benachrichtigen dich, sobald der Artikel wieder auf Lager ist.\\n","web_purchase_large_order_status":"Ihre Bestellung wurde aufgegeben","web_referral_faqs_list":"[\\n {\\n \\"question\\": \\"Welche Belohnungen sind durch Weiterempfehlungen verf\xfcgbar?\\",\\n \\"answer\\": \\"Wenn ein geworbener Freund einen Kauf \xfcber Ihren Empfehlungslink bei {{brand}} t\xe4tigt und die Bestellung innerhalb von 30 Tagen nicht storniert wird, erhalten Sie {{obtainPoints}} {{brand}} Punkte f\xfcr {{obtainPointsPrice}}, den Ihr Freund ausgibt. {{consumePoints}} {{brand}} Punkte entsprechen {{consumePointsPrice}}, die vom Gesamtbestellwert abgezogen oder zum Einl\xf6sen von Produkten verwendet werden k\xf6nnen. F\xfcr weitere Informationen zu {{brand}} Punkten besuchen Sie bitte <a href=\\\\\\"/help/about-points\\\\\\">\xdcber Vivosun Punkte</a>.\\"\\n },\\n {\\n \\"question\\": \\"Was sind die Bedingungen f\xfcr die Teilnahme am Empfehlungsprogramm?\\",\\n \\"answer\\": \\"Das Programm steht allen offen, die auf {{brand}}.com registriert sind.<br/>Selbstempfehlungen sind verboten, um Fairness zu gew\xe4hrleisten. Dazu geh\xf6rt die Nutzung derselben E-Mail-Adresse, IP-Adresse oder Browsersitzung. Nicht konforme Empfehlungen f\xfchren dazu, dass die Empfehlung ung\xfcltig wird.\\"\\n },\\n {\\n \\"question\\": \\"Wie kann ich \xfcberpr\xfcfen, ob meine Empfehlung erfolgreich war?\\",\\n \\"answer\\": \\"Um zu best\xe4tigen, ob eine Empfehlung erfolgreich war, stellen Sie sicher, dass diese Bedingungen erf\xfcllt sind:<br/>1. Die geworbene Person muss Ihren exklusiven Empfehlungslink genutzt haben, um {{brand}}.com zu besuchen, und Ihre REFID bei der Bestellung eingegeben haben.<br/>2. Die Bestellung muss als \u201eErhalten\u201c best\xe4tigt werden oder darf innerhalb von 30 Tagen nach dem Versand nicht storniert werden.<br/>Checken Sie den Fortschritt unter <a href=\\\\\\"/account/refer-a-friend\\\\\\">Einen Freund weiterempfehlen</a>.\\"\\n }\\n]","web_scan_download_app_info_1":"Scanne, um die App herunterzuladen und deinen Coupon zu verwenden","web_search_empty_tip":"Das Produkt kann nicht gefunden werden","web_common_all":"ALLES","web_form_required_1":"Dies ist ein Pflichtfeld.","web_points_total_points":"{{num}} Punkte","web_cart_btn_checkout_securely_upper":"JETZT SICHER ZUR KASSE GEHEN","web_checkout_secure_checkout":"Sicherer Checkout.","web_spin_try_last_chance":"Versuche deine letzte","web_summary_order_no":"Bestellnummer","web_form_pwd_pattern_number_tip":"Mindestens eine Zahl","web_checkout_referrer_success_tip":"REFID wurde erfolgreich angewendet.","web_shop_crowdfunding_share_desc":"Unterst\xfctze Innovation und gestalte die Zukunft mit! Schlie\xdfe dich dem Vivosun-Crowdfunding an und werde Teil der Reise! {{url}}","web_fixed_register_discount_tip":"ZUS\xc4TZLICH {{discount}} RABATT ERHALTEN","web_common_payment_method":"Zahlungsmethode","web_spin_congratulations":"Herzlichen Gl\xfcckwunsch!","web_common_btn_login_upper":"EINLOGGEN","web_messages_tab_promotion":"Aktion","web_shop_crowdfunding_hr_left":"<span>{{timeRemaining}}</span> Stunde verbleibend","web_shop_security_not_now":"Sp\xe4ter","web_common_share_facebook_title":"Facebook","web_wfd_checkout_popup_link_terms":"Terms of Service","web_shop_crowdfunding_ended":"Beendet","web_page_link_home":"Startseite","web_product_tab_description":"Beschreibung","web_xmas2025_door9_link_us":"web_xmas2025_door9_link_us","web_test_club_review_form_tip_2":"Bitte lade mindestens 5 Bilder hoch.","web_profile_nick_name_empty_error":"Spitzname ist erforderlich","web_search_page_title":"{{totalNum}} Ergebnisse f\xfcr \\"{{searchWords}}\\"","web_test_club_review_form_tip_1":"Dein Kommentar muss mindestens 300 Zeichen lang sein.","web_payment_klarna_step2_gb":"web_payment_klarna_step2_gb","web_test_club_review_form_tip_3":"Bitte lade mindestens 1 Video hoch.","web_shop_redeem_recommend_vivosun_to_your_friends":"Empfehle {{brand}} an deine Freunde weiter um mehr K\xfcrbisse zu bekommen!","web_footer_support_1":"We help you <span>grow your best green.</span>","web_footer_support_2":"We provide the <span>highest quality.</span>","web_shop_activity_early_access_learn_about":"Erfahren Sie mehr \xfcber den Tester-Club","web_home_sfs_sale_is_over":"SALE IST VORBEI","web_footer_support_3":"We relentlessly pursue <span>the future.</span>
1","web_footer_support_4":"We make growing <span>more enjoyable.</span>","web_footer_support_5":"We support <span>every grower.</span>","web_messages_tab_system":"System","web_product_add_to_cart_upper":"IN DEN WARENKORB","web_pointsmarket_checkin_help_title":"web_pointsmarket_checkin_help_title","web_xmas2025_door7_link_de":"https://vivosun.com/de-DE/vivosun-candy-machine-p164254578425972379-v164254578425972313?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day7","web_tag_best_seller":"Bestseller","web_footer_link_company":"Unternehmen","web_product_afterpay_help_ca":"web_product_afterpay_help_ca","web_diy_ranking_comments":"Kommentare","web_pay_expiry_invalid_tip":"Das Ablaufdatum ist ung\xfcltig","web_shop_account_hint_enter_password":"Passwort eingeben","web_common_your_name":"Your Name","web_tag_pre_sale":"Vorverkauf","web_spin_sign_in_to_claim":"Zum Einl\xf6sen anmelden","web_order_cancel_forgot_card":"Ich habe meine Debit-/Kreditkarteninformationen vergessen.","web_shop_redeem_process_step3_desc":"Ermutige deine Freunde, auf deinen Link zu klicken und einen Kauf zu t\xe4tigen. F\xfcr jeden Freund, der einen Kauf abschlie\xdft, erh\xe4ltst du 1 K\xfcrbis und profitierst von den Vorteilen des {{brand}} Empfehlungsprogramms. Bitte beachte, dass der K\xfcrbis und die Empfehlungs Punkte nicht vergeben werden, wenn die Bestellung storniert wird.","web_diy_step_tent":"Zelt","web_product_addons_title":"Add-Ons","web_help_blog":"Blog","web_shop_crowdfunding_min_togo":"<span>{{timeRemaining}}</span> Minute bis","web_diy_ranking_score_energy_efficiency":"Energieeffizienz","web_pointsmarket_boost_checkin_successful":"web_pointsmarket_boost_checkin_successful","web_login_forgot_result_3":"Wenn Sie keine E-Mail erhalten haben, \xfcberpr\xfcfen Sie bitte Ihren Spam-Ordner.","web_order_step_shipped":"Versendet","web_login_forgot_result_4":"Wenn Sie die E-Mail nach der Anfrage zum Zur\xfccksetzen des Passworts immer noch nicht erhalten haben, versuchen Sie es bitte erneut. ","web_login_forgot_result_1":"Ein Link zum Zur\xfccksetzen Ihres Passworts wurde an {{email}} gesendet. ","web_login_forgot_result_2":"E-Mails k\xf6nnen einige Minuten Verz\xf6gerung haben.","web_product_compare_title":"Vergleichen Sie mit \xe4hnlichen Artikeln","web_order_cancel_lack_payment":"Die bevorzugte Zahlungsmethode wurde nicht angeboten","web_age_gate_intro":"Gem\xe4\xdf den \xf6rtlichen Gesetzen m\xfcssen Sie mindestens {{age}} Jahre alt sein, um auf die folgenden Produkte und Inhalte zugreifen zu k\xf6nnen.","web_product_affirm_pay_title_us":"web_product_affirm_pay_title_us","web_product_instructional_manual_title":"Bedienungsanleitung","web_shop_crowdfunding_owner":"Offiziell","web_points_col_used":"verwendet","web_login_sign_in_title":"EINLOGGEN","web_payment_klarna_step4_ca":"web_payment_klarna_step4_ca","web_xmas2025_door4_link_de":"https://vivosun.com/de-DE/vivosun-growhub-controller-all-in-one-platform-for-controlling-monitoring-improving-indoor-growing-dynamic-temperature-humidity-scheduling-p153885832384111130-v161077718084019353?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day4","web_diy_recommended_title":"Which {{size}} Tent Kit Is Right for Me?","web_shop_account_link_expired_prompt":"Link abgelaufen","web_common_it_is_empty":"Keine Ergebnisse gefunden.","web_common_btn_back":"Zur\xfcck\\n","web_common_go_upper":"LOS GEHT\'S","web_refund_return_reason_empty_error":"Bitte w\xe4hlen Sie einen R\xfccksendegrund","web_purchase_declined_details":"<li>Richtigkeit: Ihre Kartennummer, der CVV-Code und das Ablaufdatum sind korrekt.</li>\\n<li>Rechnungsinformationen: Ihre Rechnungsadresse stimmt exakt mit den bei Ihrer Bank hinterlegten Daten \xfcberein.</li>\\n<li>Guthaben: Ihre Karte weist eine ausreichende Deckung auf und ist f\xfcr Online- oder Auslandszahlungen freigeschaltet.</li>","web_purchase_large_tip_vip":"Ihnen wurde der Zugang zu unserem VIP-Service gew\xe4hrt.","web_shop_crowdfunding_hr_togo":"<span>{{timeRemaining}}</span> Stunde bis","web_xmas2025_door7_desc_de":"Holiday-Gummis hitten anders. Und ja \u2014 die S\xfc\xdfigkeitenmaschine macht\u2019s \xfcberraschend easy.","web_address_zipcode_unvalid_error":"Geben Sie eine g\xfcltige Postleitzahl ein","web_common_hours_lower":"Stunden","web_register_title":"Registrieren","web_refer_friend_desc_title":"Erhalten Sie {{brand}} -Punkte f\xfcr Empfehlungen","web_common_num_items":"{{num}} Artikel","web_footer_link_create_account":"Konto erstellen","web_shop_activity_remaining":"\xdcbrig","web_purchase_large_p2p_email":"P2P Email","web_package_page_title":"Paket","web_common_dialog":"web_common_dialog","web_coupons_drawer_title":"Gutschein-Alarm","web_diy_customize_select_one":"Eine ausw\xe4hlen","web_referral_process":"Wie verdiene ich eine Provision?","web_points_col_point_type":"Punkt-Typ","web_checkout_points_tooltip":"Hinweis: Die Punkte, die Sie auf die Bestellung angewendet haben, werden von Ihrem Konto abgezogen, nachdem Sie auf \\"BESTELLUNG AUFGEBEN\\" geklickt haben. Sie k\xf6nnen Ihre Bestellung in \\"Meine Bestellungen\\" stornieren, und die {{brand}}-Punkte, die Sie angewendet haben, werden Ihrem Konto zur\xfcckerstattet. Punkte k\xf6nnen f\xfcr bis zu 60 % des Gesamtpreises des Produkts verwendet werden.","web_wfd_checkout_module_poweredby":"Powered by <Logo/>","web_order_cancel_reason_label":"Bitte w\xe4hlen Sie den Grund f\xfcr die Stornierung der Bestellung","web_payment_klarna_step2_ca":"web_payment_klarna_step2_ca","web_common_reply_to":"Antwort an","web_shop_crowdfunding_sign_in_now":"Jetzt anmelden","web_referral_intro_content":"Verdienen Sie {{brand}} Punkte, indem Sie bei Ihrer Familie, Ihren Freunden oder Kollegen f\xfcr uns werben. Sobald diese eine Bestellung aufgeben und den Erhalt der Bestellung best\xe4tigen, erhalten Sie die Punkte f\xfcr eine erfolgreiche Weiterempfehlung. Erfahren Sie unten, wie Sie eine Empfehlung senden und wie viele Vivosun Punkte Sie damit verdienen k\xf6nnen.","web_shop_account_your_email_address":"Ihre Konto-E-Mail-Adresse: <span>{{oldEmail}}</span>","web_survey_form_text_placeholder":"Freitext \u2013 Teilen Sie uns Ihre Meinung mit.","web_refer_friend_leave_message_tips":"Hinterlassen Sie hier eine Nachricht f\xfcr Ihren Freund (optional).","web_shop_crowdfunding_min_left":"<span>{{timeRemaining}}</span> Minute verbleibend","web_summary_points_redeemed":"Punkte eingel\xf6st","web_cart_empty_login_tip":"Haben Sie ein Konto? Melden Sie sich an, um Ihren Warenkorb zu sehen.","web_login_bind_btn_bind":"E-Mail binden","web_support_product_manuals":"Produkthandb\xfccher","web_product_review_with_photo":"Mit Foto","web_form_warranty_item_placeholder_1":"Bitte Artikelnamen eingeben","web_shop_activity_eligibility_expired":"Teilnahme abgelaufen","web_search_history_title":"K\xfcrzlich gesucht","web_diy_ranking_top":"TOP {{sort}}","web_checkout_shipping_title":"Versandart","web_support_blogs_title":"Grow Academy","web_checkout_step_order_complete":"Bestellung abgeschlossen","web_referral_send":"Eine Empfehlung senden","web_footer_link_account":"Account","web_diy_ranking_score_functionality":"Funktionalit\xe4t","web_product_together_all_unavailable":"Alle au
1sgew\xe4hlten Artikel sind vor\xfcbergehend nicht verf\xfcgbar.","web_xmas2025_door12_desc_us":"web_xmas2025_door12_desc_us","web_purchase_declined_tip_recommend":"Zu Ihrer Sicherheit konnte unser System diese Transaktion nicht verarbeiten. Bevor Sie es erneut versuchen, stellen Sie bitte Folgendes sicher:","web_fixed_register_points_tip":"web_fixed_register_points_tip","web_form_pwd_empty_error":"Bitte geben Sie Ihr Passwort ein.","web_refer_status_unissued":"Nicht ausgestellt","web_xmas2025_door12_link_us":"web_xmas2025_door12_link_us","web_xmas2025_door2_link_de":"https://vivosun.com/de-DE/vivosun-lumaray-under-canopy-light-p161077717815584533-v161077717815584532?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day2","web_consent_customise_advertising_title":"Werbe-Cookies","web_common_android":"Android","web_list_description_fold":"Weniger anzeigen","web_cart_black_friday_tip":"web_cart_black_friday_tip","web_shop_crowdfunding_mins_left":"<span>{{timeRemaining}}</span> Minuten verbleibend","web_diy_ranking_btn_comment":"Kommentar","web_pointsmarket_boost_boost_failed":"web_pointsmarket_boost_boost_failed","web_diy_ranking_override_confirm":"Sind Sie sicher, dass Sie dieses KIT verwenden m\xf6chten, um das erstellte zu \xfcberschreiben?","web_shop_crowdfunding_frequently_asked_questions":"H\xe4ufig gestellte Fragen","web_help_about_vdays":"\xdcber VDays","web_purchase_failed_btn_status":"Bestellungen anzeigen","web_account_security_title":"Kontosicherheit","web_footer_link_products":"Produkte","web_home_sfs_help_content":"<p>1. T\xe4gliche Angebote unterliegen Zeit- und Mengenbeschr\xe4nkungen; der Kauf ist auf einen Artikel pro Person limitiert.</p><p>2. Kann nicht mit anderen Aktionen kombiniert werden (z. B. Bundle-Angebote, Bonusartikel, Gutscheine), aber Punkte k\xf6nnen verwendet werden.</p><p>3. Verk\xfcrzte Lagerhaltedauer; wenn nicht innerhalb von 1 Stunde auf der Checkout-Seite bezahlt wird, wird die Bestellung storniert.</p>","web_pointsmarket_boost_btn_in_progress":"web_pointsmarket_boost_btn_in_progress","web_home_sfs_price_off":"<Discount/><span>RABATT</span>","web_time_starts_on":"Beginnt um","web_shop_redeem_redeem_points":"Punkte einl\xf6sen","web_pointsmarket_page_title":"Points Marketplace","web_refer_friend_desc_content":"Verdienen Sie {{points}} Punkte f\xfcr {{price}}, den Ihr Freund ausgibt, wenn er eine Bestellung aufgibt und den Erhalt best\xe4tigt. Sie k\xf6nnen jedes Produkt ausw\xe4hlen, und Sie erhalten Ihre {{brand}} Punkte, sobald die Bestellung Ihres Freundes best\xe4tigt ist.","web_shop_security_i_have_verified_my_email":"Ich habe meine E-Mail best\xe4tigt","web_shop_product_price_gst_tips":"web_shop_product_price_gst_tips","web_xmas2025_banner_subtitle":"\xd6ffne jeden Tag ein neues T\xfcrchen<br>und entdecke 12 Tage voller Weihnachts\xfcberraschungen.","web_diy_customize_step_required_error":"{{stepName}} ist erforderlich, bitte treffen Sie eine Auswahl, bevor Sie mit dem Checkout fortfahren.","web_payment_klarna_step2_de":"W\xe4hlen Sie Klarna als<br>Zahlungsoption an<br>der Kasse aus","web_shop_product_subscribe_tips":"Abonniere unseren Newsletter f\xfcr Updates, exklusive Angebote und Gartentipps.","web_order_order_no":"Bestellnummer","web_support_email_title":"Schreiben Sie uns eine E-Mail","web_shop_security_email_verified_successfully":"E-Mail erfolgreich best\xe4tigt","web_shop_navi_shop_by_category":"Nach Kategorie einkaufen","web_diy_view_reviews":"Bewertungen ansehen","web_checkout_shipping_fee_tip":"Voraussichtliche Lieferung in <time>5-10</time> Werktagen.","web_payment_klarna_policy_gb":"web_payment_klarna_policy_gb","web_upload_label_1":"Bilder oder Videos hier einreichen:","web_crowd_funding_rules":"<div>\\n <h3>Vivosun Crowdfunding: Unterst\xfctzen Sie innovative Produkte</h3>\\n <section>\\n <p>Willkommen beim <b>offiziellen Vivosun-Crowdfunding-Projekt</b>, wo Innovation auf neue M\xf6glichkeiten trifft. Dieses Projekt erm\xf6glicht es Unterst\xfctzern, an der Entwicklung wegweisender Produkte teilzuhaben und den Weg von der Idee bis zur Umsetzung zu begleiten. Durch Ihre Teilnahme an Vivosuns Crowdfunding-Kampagnen tragen Sie aktiv dazu bei, bahnbrechende Ideen W
1irklichkeit werden zu lassen.</p>\\n </section>\\n <section>\\n <p>Als Dankesch\xf6n erhalten fr\xfche Unterst\xfctzer exklusive Pr\xe4mien. Sobald das Finanzierungsziel erreicht ist, werden die Pr\xe4mien gem\xe4\xdf dem angegebenen Zeitplan versendet. Bitte beachten Sie, <b>dass zus\xe4tzliche Pr\xe4mien erst nach der Lieferung des Hauptprodukts verschickt werden</b>. Falls eine Bestellung storniert oder zur\xfcckgegeben wird, entfallen auch alle zugeh\xf6rigen Pr\xe4mien.</p>\\n </section>\\n <h4>So k\xf6nnen Sie teilnehmen</h4>\\n <section>\\n <p>Projekt erkunden</p>\\n <p>Besuchen Sie die Vivosun-Crowdfunding-Seite, um innovative Produkte zu entdecken, die derzeit in der Entwicklung sind. Detaillierte Beschreibungen heben die Merkmale, Vorteile und potenziellen Auswirkungen jedes Produkts hervor.</p>\\n </section>\\n <section>\\n <p>W\xe4hlen Sie einen Reward-Tier</p>\\n <p>Unterst\xfctzer k\xf6nnen auf die Schaltfl\xe4che \u201eZur\xfcck\u201c klicken, einen bevorzugten Reward-Tier ausw\xe4hlen und den Zahlungsprozess abschlie\xdfen. Jedes Tier beinhaltet einzigartige Vorteile und Geschenke als Anerkennung f\xfcr die Unterst\xfctzung der Teilnehmer.</p>\\n </section>\\n <section>\\n <p>Feedback geben</p>\\n <p>
1Im Bereich \u201eKommentare\u201c k\xf6nnen Unterst\xfctzer Ideen, Vorschl\xe4ge oder Fragen zum Projekt teilen. Das Vivosun-Team \xfcberpr\xfcft alle R\xfcckmeldungen sorgf\xe4ltig und antwortet, um Klarheit und Transparenz zu gew\xe4hrleisten.</p>\\n </section>\\n <section>\\n <p>Bestellungen verfolgen</p>\\n <p>Vor dem Versand k\xf6nnen Teilnehmer den Status ihrer Bestellungen einsehen oder diese jederzeit \xfcber das Kontocenter stornieren. Sobald die Kampagne erfolgreich finanziert ist, werden die Pr\xe4mien innerhalb des versprochenen Zeitrahmens versendet.</p>\\n </section>\\n <h4>Wichtige Richtlinien</h4>\\n <section>\\n <p>R\xfcckerstattungsrichtlinie</p>\\n <p>Sollte eine Kampagne ihr Finanzierungsziel bis zum Stichtag nicht erreichen, werden alle Zahlungen vollst\xe4ndig auf die jeweiligen Konten zur\xfcckerstattet.</p>\\n </section>\\n <section>\\n <p>Punkte verwenden</p>\\n <p>Vivosun-Punkte k\xf6nnen zur Verrechnung des Betrags von Crowdfunding-Bestellungen verwendet werden. Allerdings k\xf6nnen die Punkte nicht zusammen mit anderen Sonderangeboten genutzt werden.</p>\\n </section>\\n <section>\\n <p>Projektrisiken</p>\\n <p>Crowdfunding-Projekte k\xf6nnen aufgrund technischer oder produktionstechnischer Herausforderungen zu Verz\xf6gerungen oder Stornierungen f\xfchren. In solchen F\xe4llen wird Vivosun die Unterst\xfctzer umgehend \xfcber \xc4nderungen informieren und R\xfcckerstattungen entsprechend abwickeln.</p>\\n </section>\\n <section>\\n <p>Zahlungsfrist</p>\\n <p>Um Fairness und gleiche Chancen f\xfcr alle Teilnehmer zu gew\xe4hrleisten, m\xfcssen Bestellungen innerhalb von 1 Stunde abgeschlossen werden. Nicht bezahlte Bestellungen werden automatisch storniert.</p>\\n </section>\\n <section>\\n <p>Begrenzung der Belohnungsstufen</p>\\n <p>Einige Belohnungsstufen sind in begrenzter Menge verf\xfcgbar und werden nach dem Prinzip \u201eWer zuerst kommt, mahlt zuerst\u201c vergeben.</p>\\n </section>\\n\\n <h4>Warum Vivosun Crowdfunding unterst\xfctzen?</h4>\\n <section>\\n <p>Seien Sie der Erste, der Innovationen erlebt</p>\\n <p>Erhalten Sie fr\xfchzeitigen Zugang zu Vivosuns neuesten und fortschrittlichsten Produkten, noch bevor sie auf den Markt kommen. Unterst\xfctzer stehen an vorderster Front modernster Technologie und Designs.</p>\\n </section>\\n <section>\\n <p>Exklusive Belohnungen warten auf Sie</p>\\n <p>Als Dankesch\xf6n f\xfcr Ihre Unterst\xfctzung bietet Vivosun spezielle Extras und Geschenke an, die ausschlie\xdflich f\xfcr Teilnehmer des Crowdfundings verf\xfcgbar sind. Diese Belohnungen machen Ihre Teilnahme noch wertvoller.</p>\\n </section>\\n <section>\\n <p>Gestalten Sie die Zukunft der Produkte mit</p>\\n <p>Ihr Feedback ist wichtig! Durch das Teilen Ihrer Ideen und Anregungen k\xf6nnen Sie die Entwicklung von Produkten direkt beeinflussen, die Ihre Bed\xfcrfnisse erf\xfcllen und Ihre Erwartungen \xfcbertreffen.</p>\\n </section>\\n <section>\\n <p>Vivosun l\xe4dt alle Unterst\xfctzer ein, Teil dieser spannenden Innovationsreise zu werden. Gemeinsam k\xf6nnen wir eine Zukunft voller Qualit\xe4t und Kreativit\xe4t gestalten.</p>\\n </section>\\n\\n <h4>Delivery Liefergarantie</h4>\\n <section>\\n <p>Wir wissen, dass die Unterst\xfctzung eines neuen Produkts Fragen aufwerfen kann. Deshalb m\xf6chten wir, dass Sie sich bei Ihrer Unterst\xfctzung unseres Projekts rundum sicher f\xfchlen.</p>\\n </section>\\n <section>\\n <p>Unsere Garantie:</p>\\n <ul style=\\"list-style: unset; margin-left: 20px;\\">\\n <li><p>Produktionszusage: Sobald die Kampagne ihr Mindestfinanzierungsziel erreicht hat, ist die Produktion vollst\xe4ndig gesichert und die Herstellung des Produkts beginnt umgehend.</p></li>\\n <li><p>Transparente Updates: Wir halten Sie klar und regelm\xe4\xdfig \xfcber alle Schritte der Herstellung und des Versands auf dem Laufenden.</p></li>\\n </ul>\\n </section>\\n <section>\\n <p>Unser Versprechen:</p>\\n <p>Ihre Investition ist bei Vivosun in sicheren H\xe4nden \u2013 wir sind voll und ganz verpflichtet, das von Ihnen unter
1st\xfctzte Produkt zu liefern, und informieren Sie \xfcber jeden Schritt auf dem Weg dorthin.</p>\\n </section>\\n </div>","web_help_shipping_policy":"Versandrichtlinie","web_checkout_products_title":"Artikel","web_referral_intro_title":"Sie lieben es zu G\xe4rtnern? Empfehlen Sie {{brand}}","web_shop_redeem_grab_your_treat":"Greif zu!","web_common_copyright":"\xa9{{year}} {{brand}} Alle Rechte vorbehalten","web_login_cannot_open_popup":"Das {{name}}-Anmeldefenster konnte nicht ge\xf6ffnet werden. Bitte deaktivieren Sie \u201ePop-ups blockieren\u201c in den Safari-Einstellungen oder versuchen Sie, sich in einem anderen Browser anzumelden.","web_common_complete":"Abgeschlossen","web_login_btn_facebook":"Mit Facebook anmelden","web_shop_tutorial_more_task":"Weitere Aufgaben, um Vivosun-Punkte zu erhalten","web_xmas2025_door10_desc_de":"Unser AeroFlux, das euer Klima aufs n\xe4chste Level bringt.","web_order_cancel_bad_reviews":"Schlechte Bewertungen","web_common_btn_go_back":"Zur\xfcck gehen","web_support_download":"Herunterladen","web_early_access_order_created":"Ihre Testbestellung wurde erfolgreich erstellt.","web_security_change_password":"Passwort \xe4ndern","web_unsubscribe_link_return":"zur\xfcck zu unserer Website","web_shop_activity_early_access_application_eriod_closed":"Bewerbungszeitraum beendet","web_account_address_title":"Mein Adressbuch","web_warranty_item":"Garantie-Artikel","web_form_email_placeholder_1":"z. B. [email protected]","web_common_title_detail":"Detail","web_common_time_remaining":"{{timeRemaining}} verbleibend","web_diy_entrance_recommended_desc":"Professionell vorgefertigt, um die Anforderungen der meisten Nutzer zu erf\xfcllen.","web_xmas2025_rules_content":"<ul>\\n <li>\\n <h3>1. Veranstaltungszeitraum</h3>\\n <div>Das Event l\xe4uft vom 8. Dezember bis zum 19. Dezember (MEZ).</div>\\n </li>\\n\\n <li>\\n <h3>2. Ablauf</h3>\\n <p>Ab dem 8. Dezember wird jeden Tag eine neue Geschenkbox verf\xfcgbar.</p>\\n <p>Geschenkboxen k\xf6nnen jederzeit w\xe4hrend des Event-Zeitraums ge\xf6ffnet werden. Alle 12 Boxen bleiben bis zum 31. Dezember zug\xe4nglich.</p>\\n <p>F\xfcr jede ge\xf6ffnete Geschenkbox erh\xe4ltst du 100 Punkte.</p>\\n <p>\xd6ffne alle 12 Geschenkboxen, um die Berechtigung f\xfcr das Mystery-Geschenk freizuschalten.</p>\\n <p>Alle Punkte und Belohnungen m\xfcssen vor dem 31. Dezember (MEZ) verwendet werden.</p>\\n </li>\\n\\n <li>\\n <h3>3. Regeln f\xfcr das Mystery-Geschenk</h3>\\n <p>Das Mystery-Geschenk muss zusammen mit mindestens einem regul\xe4ren Artikel in derselben Bestellung eingel\xf6st werden \u2013 ein separater Kauf ist nicht m\xf6glich.</p>\\n <p>Der Vorrat ist begrenzt. Das Freischalten des Mystery-Geschenks gew\xe4hrt die Berechtigung, bestimmte Belohnungsartikel k\xf6nnen jedoch nur solange eingel\xf6st werden, wie der Vorrat reicht.</p>\\n <p>Ist ein Artikel ausverkauft, steht er beim Checkout nicht zur Verf\xfcgung.</p>\\n </li>\\n\\n <li>\\n <h3>4. Ablaufdatum & Einschr\xe4nkungen</h3>\\n <p>Alle Punkte und die Berechtigung f\xfcr das Mystery-Geschenk verfallen am 31. Dezember (MEZ). Bitte l\xf6se sie vorher ein oder t\xe4tige deine Bestellung.</p>\\n <p>Event-Belohnungen k\xf6nnen nicht mit anderen Aktionen kombiniert werden, einschlie\xdflich Gratisversand, Bonusartikeln oder Gutscheinen.</p>\\n <p>Jeder Kundenaccount kann einmal teilnehmen.</p>\\n <p>VIVOSUN beh\xe4lt sich das Recht der endg\xfcltigen Auslegung dieses Events vor.</p>\\n </li>\\n</ul>","web_help_referral_program":"Empfehlungsprogramm","web_help_growhub_e42":"GrowHub E42/E42A","web_write_review_points_tip":"Verdienen Sie bis zu <strong>{{num}} Punkte</strong> durch das Verfassen einer Bewertung.","web_wfd_orderdetail_claimentry_button":"Anspruch einreichen","web_xmas2025_rewards_mystery_gift":"Mystery-Geschenk \xf6ffnen","web_login_switch_account":"Konto wechseln","web_header_guide_winter_grow_guide":"Winter Grow Guide","web_common_happy_halloween":"Happy Halloween","web_common_pay_time":"Zahlungsdatum","web_order_cancel_popup_title":"Bestellung stornieren","web_shop_crowdfunding_status_upcoming":"Demn\xe4chst","web_shop_account_tips_bind_new_email_desc":"Geben Sie Ihre neue E-Mail-Adresse ein, um eine Best\xe4tigungs-E-Mail zu erhalten. Bitte \xfcberpr\xfcfen Sie Ihr Postfach und folgen Sie den Anweisungen, um den Verkn\xfcpfungsvorgang abzuschlie\xdfen.","web_price_free_upper":"Kostenlos","web_common_read_more":"Mehr lesen","web_purchase_large_phone":"Telefon","web_account_orders_title":"Meine Bestellungen","web_cart_wholesale_minimum_tip":"Gro\xdfhandelsbestellungen: Minimum US$3,000 f\xfcr die Kasse.","web_pointsmarket_boost_btn_boost":"web_pointsmarket_boost_btn_boost","web_review_empty_tip":"Seien Sie der Erste, der einen Kommentar hinterl\xe4sst! Teilen Sie Ihre Gedanken oder Fragen zu diesem Kit ","web_xmas2025_door10_link_de":"https://vivosun.com/de-DE/vivosun-aeroflux-smart-grow-tent-heater-p164609661357825457-v164609661357825455?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day10","web_help_wrong_item_received":"Falschen Art
1ikel erhalten","web_shop_security_sign_up_and_verify":"Registrieren & Best\xe4tigen","web_referral_faqs":"{{brand}} Empfehlungsprogramm FAQs","web_security_delete_account_title":"Konto l\xf6schen","web_order_received":"Erhalten","web_payment_klarna_policy_de":"Du musst in Deutschland ans\xe4ssig sein, mindestens 18 Jahre alt, ein g\xfcltiges Bankkonto, eine gute Bonit\xe4t und eine Handynummer haben.<br>Kreditgeber: Klarna Bank AB (publ), Sveav\xe4gen 46, 111 34 Stockholm, Schweden Allgemeine Gesch\xe4ftsbedingungen (AGB): <a href=\\"https://www.klarna.com/de/agb/\\" target=\\"_blank\\">https://www.klarna.com/de/agb/</a>.<br>Klarna\'s K\xe4uferschutz schlie\xdft bestimmte Zahlungsmethoden und K\xe4ufe aus, z.B. Reisen, Veranstaltungstickets oder Geschenkkarten. <a href=\\"https://www.klarna.com/de/kauferschutzrichtlinie/\\" target=\\"_blank\\">Zahlungsbedingungen</a>.","web_xmas2025_door6_desc_us":"web_xmas2025_door6_desc_us","web_checkout_sign_up_tip":"Melden Sie sich jetzt an und erhalten Sie ein spezielles Angebot f\xfcr Neukunden! Genie\xdfen Sie bis zu <span>{{discount}} RABATT</span> auf Ihren ersten Einkauf mit unserem exklusiven Gutschein, plus <span>{{points}} Punkte</span> , die Ihrem Konto gutgeschrieben werden. Sehen Sie sich die <privacy-link>Datenschutz- & Cookie-Richtlinie</privacy-link> und die <terms-link>Allgemeinen Gesch\xe4ftsbedingungen</terms-link> an.","web_cart_apply_coupon_tip":"Wenden Sie im n\xe4chsten Schritt einen Gutschein-Code an.","web_common_btn_share_now":"Jetzt teilen","web_feature_3d":"3D","web_shop_crowdfunding_mins_togo":"<span>{{timeRemaining}}</span> Minuten bis","web_shop_crowdfunding_add_a_comment":"Einen Kommentar hinzuf\xfcgen...","web_common_divider_or":"Oder","web_help_growhub_e25":"GrowHub E25","web_locale_change_region":"Region \xe4ndern","web_view_count":"{{count}} Ansichten","web_common_update":"Update","web_consent_root_customise_cookies":"Cookies anpassen","web_shop_crowdfunding_only_backers_can_post_comments":"Nur Unterst\xfctzer k\xf6nnen kommentieren.","web_consent_root_title":"Datenschutz- & Cookie-Bestimmung","web_summary_total":"Gesamt","web_common_rules":"Regeln","web_shop_crowdfunding_faq":"FAQ","web_footer_link_my_account":"Mein Account","web_pay_cvv_label":"Sicherheitscode","web_account_points_title":"Meine Punkte","web_feature_animation":"Animation","web_coupons_available_title":"Verf\xfcgbar","web_subscribe_result_btn_text":"Klicken Sie hier, um gro\xdfartige Angebote zu finden!","web_download_app_popup_tips":"Scannen Sie den QR-Code, laden Sie die App herunter und starten Sie noch heute Ihr exklusives Einkaufserlebnis.","web_affiliate_program":"Affiliate Program","web_referral_invite_friends":"Laden Sie jetzt Freunde ein und erhalten Sie {{brand}} Punkte.","web_cart_black_friday_title":"Exklusive Black Friday-Aktion","web_pointsmarket_boost_btn_continue":"web_pointsmarket_boost_btn_continue","web_common_link_copied_tip":"Ihr Link wurde kopiert!","web_shop_brand_story":"Markengeschichte","web_xmas2025_door1_link_us":"web_xmas2025_door1_link_us","web_coupon_empty_tip":"Ihr Gutschein ist leer","web_pay_btn_reload":"Neu laden","web_common_continue_shopping":"Weiter einkaufen","web_refer_friend_share_your_friends":"Teilen Sie mit Ihren Freunden","web_pointsmarket_flash_total_points":"<Num/> <span>Punkte<span>","web_shop_redeem_process_step1_desc":"Klicke auf <a>here</a> um dich bei {{brand}} einzuloggen oder um einen neuen Account zu erstellen.","web_shop_activity_share_for_a_gift":"Teile und erhalte ein Geschenk","web_points_col_expiration_date":"Ablaufdatum","web_orders_nav_unpaid":"Unbezahlt","web_shop_account_verify_your_identity_desc":"Bitte geben Sie Ihr Passwort ein, um zu best\xe4tigen, dass Sie der Kontoinhaber sind.","web_checkin_plant_check_in":"Checke ein, um deine Pflanze wachsen zu lassen","web_list_sort_new":"Neuheiten","web_common_btn_return_to_cart":"ZUM WARENKORB","web_shop_crowdfunding_status_live":"Live","web_age_gate_full_age":"Ich bin {{age}}+","web_pointsmarket_products_title":"Punkte gegen Produkte eintauschen","web_support_blogs_desc":"Expertenwissen, technische Anleitungen und saisonale Tipps.","web_shop_crowdfunding_crowdfunding":"Crowdfunding","web_xmas2025_door11_desc_de":"Unser Giveaway mit Royal Queen Seeds l\xe4uft gerade auf unseren Social-Media-Kan\xe4len!\\nLetzte Chance dieses Jahr \u2013 also nicht verpassen.","web_xmas2025_door9_desc_de":"Alles, was du brauchst \u2013 in einem Paket.","web_order_items_col_action":"Aktion","web_messages_tab_notification":"Benachrichtigung","web_summary_tax":"Steuer","web_shop_activity_early_access_invite_friends":"Laden Sie Freunde ein, teilzunehmen!","web_shop_account_change_email_address":"E-Mail-Adresse \xe4ndern","web_xmas2025_rewards_title":"\xd6ffne das heutige T\xfcrchen<br>und entdecke deine Belohnung","web_cart_recommend_title":"Sie m\xf6chten vielleicht hinzuf\xfcgen","web_shop_crowdfunding_hrs_togo":"<span>{{timeRemaining}}</span> Stunden bis","web_home_sfs_purchase_limit":"Kauflimit: {{userLimit}} qty","web_early_access_rules":"<h2 class=\\"g-title\\">Was ist Tester-Club?</h2>\\n<p class=\\"g-msg g-msg-1\\">\\n Der Tester-Club erm\xf6glicht es Ihnen, als einer der Ersten unsere neuesten Produkte auszuprobieren! Durch den Einsatz einer bestimmten Anzahl von Punkten bekommen Sie die Chance, unsere Produkte zu testen.\\n</p>\\n<p class=\\"g-msg\\">
1\\n Nach Ablauf der Bewerbungsfrist werden die ausgew\xe4hlten Nutzer basierend auf Faktoren, wie ihrer bisherigen Bewerbungshistorie, vorherigen Auswahlstatus und der Qualit\xe4t ihres Feedbacks aus fr\xfcheren Testphasen, ausgew\xe4hlt. Diese erhalten das Produkt kostenlos und haben die M\xf6glichkeit, wertvolles Feedback zu geben. Sollten Sie nicht ausgew\xe4hlt werden, werden die verwendeten Punkte vollst\xe4ndig auf Ihr Konto zur\xfcckerstattet.\\n</p>\\n<p class=\\"g-msg\\">\\n Ausgew\xe4hlte Nutzer, die eine Bewertung einreichen, die den Inhaltsanforderungen entspricht \u2013 mindestens 300 Zeichen, 5 Fotos und 1 Video \u2013 und unseren Pr\xfcfprozess bestehen, erhalten eine vollst\xe4ndige R\xfcckerstattung der f\xfcr die Bewerbung verwendeten Punkte.\\n</p>\\n\\n<h3 class=\\"g-sub-title\\">Wie kann man teilnehmen?</h3>\\n<ol class=\\"g-msg\\">\\n <li>Durchst\xf6bere die verf\xfcgbaren Produkte im Tester-Club Modul.</li>\\n <li>Reiche deine Bewerbung mithilfe von Punkten ein.</li>\\n <li>\\n Warte auf die Bekanntgabe der Ergebnisse. Die Liste der ausgew\xe4hlten Nutzer wird im Tester-Club Modul angezeigt, dazu erh\xe4ltst du au\xdferdem eine Benachrichtigung.\\n </li>\\n</ol>\\n\\n<h3 class=\\"g-sub-title\\">Wichtige Hinweise</h3>\\n<ul class=\\"g-msg\\">\\n <li>\\n Nach der Bekanntgabe der Ergebnisse m\xfcssen ausgew\xe4hlte Nutzer ihre vollst\xe4ndigen Versandinformationen innerhalb der angegebenen Frist angeben \u2013 andernfalls verf\xe4llt die Teilnahmeberechtigung.\\n </li>\\n <li>\\n F\xfcr jede Tester-Club Aktion ist eine neue Bewerbung erforderlich. Die Auswahl erfolgt nicht automatisch f\xfcr weitere Runden.\\n </li>\\n <li>\\n Tester-Club Produkte k\xf6nnen nicht zur\xfcckgegeben oder umgetauscht werden, au\xdfer bei Versandverlust oder -besch\xe4digung.\\n </li>\\n <li>\\n Nur Bewertungen, die dem vorgegebenen Format entsprechen (Text, Bilder und Video) und die manuelle Pr\xfcfung bestehen, sind berechtigt zur R\xfcckerstattung der eingesetzten Punkte.\\n </li>\\n <li>\\n Bitte reiche deine Bewertung innerhalb von 14 Tagen nach Erhalt deiner Bestellung ein. Sp\xe4tere Einreichungen sind nicht mehr f\xfcr eine R\xfcckerstattung qualifiziert.\\n </li>\\n</ul>","web_pay_card_number_invalid_tip":"Die Kartennummer ist ung\xfcltig","web_pay_cancel_confirm_btn_cancel":"STORNIEREN BEST\xc4TIGEN","web_subscribe_email_placeholder":"Ihre E-Mail","web_wfd_checkout_popup_content":"<ContentWrap>\\n <Part>\\n <Title>What\'s Covered by <SeelLogo/></Title>\\n <WorryFreeTips/>\\n </Part>\\n <Part>\\n <Title>Easy Resolution</Title>\\n <Msg>Resolve your issues with just a few clicks</Msg>\\n </Part>\\n <Part>\\n <Title>Complete Peace of Mind</Title>\\n <UlMsg>\\n <LiMsg>Zero-risk on your order with our protection</LiMsg>\\n <LiMsg>Get your refund promptly</LiMsg>\\n </UlMsg>\\n </Part>\\n </ContentWrap>","web_warranty_form_failed":"\xdcbermittlung fehlgeschlagen. Bitte versuchen Sie es sp\xe4ter erneut oder kontaktieren Sie den Kundenservice.","web_common_btn_reset":"Zur\xfccksetzen","web_checkout_points_max_available":"Punkte einl\xf6sen","web_addresses_btn_add_address":"Eine neue Adresse hinzuf\xfcgen","web_coupons_empty_error":"Bitte geben Sie den Gutscheincode ein.","web_common_free_gift":"Gratisgeschenk","web_order_option_tracking":"Sendungsverfolgung","web_list_filter_empty_tip":"Es sind keine Filterelemente auf der aktuellen Seite vorhanden.","web_diy_customize_select_multiple":"Mehrere ausw\xe4hlen","web_help_customer_service_title":"Kundendienst","web_tag_cyber_monday":"Cyber Monday","web_tag_wholesale":"Gro\xdfhandel","web_summary_tip_reward_points":"Belohnung <span>{{num}}</span> {{brand}} Punkte","web_package_tracking_empty":"Tracking-Informationen sind noch nicht verf\xfcgbar.","web_list_sort_by_label":"Sortieren nach ","web_order_info_shipping_title":"Standardversand","web_form_old_pwd_label":"Altes Passwort","web_shop_activity_winter_surprise_rules_title":"Regeln der Winter-Surprise-Promotion","web_refund_return_reason_placeholder":"Bitte w\xe4hlen Sie einen Grund aus","web_diy_ranking_kit_comments":"Kit-Kommentare","web_support_banner_title":"Love Growing Green","web_return_request_no":"Antragsnummer","web_list_filter_title":"Filter","web_product_unavailable_desc":"Dieses Produkt ist in Ihrer ausgew\xe4hlten Region derzeit nicht verf\xfcgbar. Bitte kehren Sie zur Startseite zur\xfcck, um andere Artikel zu entdecken.","web_refer_friend_total_points":"Ihre {{brand}} Punkte","web_winter_grow_problem_1_title":"Kalte N\xe4chte? So h\xe4ltst du dein Grow-Zelt warm und sicher!","web_pay_card_form_title":"Karteninformationen","web_help_about_diy_pools":"\xdcber Diy Pools","web_m_product_tab_technical_specs":"Spezifikationen","web_common_welcome_to":"Willkommen bei {{brand}}","web_support_products_title":"Produktsupport erkunden","web_checkout_referrer_unavailable_error":"Diese REFID ist nicht verf\xfcgbar.","web_common_share":"Teilen","web_payment_klarna_slogen_gb":"web_payment_klarna_slogen_gb","web_pay_cvv_empty_tip":"Bitte Sicherheitscode eingeben","web_form_already_submitted":"Bereits eingereicht","web_diy_customize_mandatory":"Pflichtfeld","web_xmas2025_door4_link_us":"web_xmas2025_door4_link_us","web_product_afterpay_help_us":"web_product_afterpay_help_us","web_help_warranty_policy":"Garantieerkl\xe4rung","web_summary_subtotal":"Zwischensumme","web_shop_activity_thanks_for_joining":"Vielen Dank f\xfcr deine Teilnahme!","web_shop_crowdfunding_gifts":"Geschenke","web_purchase_large_whatsapp_account":"WhatsApp Business Account","web_account_profile_title":"Mein Profil","web_consent_root_desc":"Um Ihnen ein optimales Erlebnis zu bieten, verwenden wir Cookies und \xe4hnliche Technologien (\\"cookies\\"), um unsere Dienste bereitzustellen, den Dienst zu verbessern und zu bewerben, die Wirksamkeit von Werbekampagnen zu messen und die Sicherheit f\xfcr unsere Nutzer zu gew\xe4hrleisten. Klicken Sie auf \\"Alle akzeptieren\\" oder \\"Alle ablehnen\\", wenn Sie die Platzierung dieser Technologien auf Ihrem Ger\xe4t erlauben oder ablehnen m\xf6chten. Alternativ k\xf6nnen Sie ausw\xe4hlen, welche Arten von Cookies Sie akzeptieren oder ablehnen m\xf6chten, indem Sie unten auf \\\\\u201dCookie
1s anpassen\\\\\u201d oder jederzeit in Ihren Datenschutzeinstellungen klicken. Weitere Einzelheiten finden Sie in unserer <privacy>Datenschutzrichtlinie</privacy>.","web_tag_off":"RABATT","web_common_is_required":"ist erforderlich.","web_support_call_action":"Jetzt anrufen","web_consent_customise_necessary_title":"Unbedingt erforderliche Cookies","web_pay_loading_tip":"Warten","web_write_review_comment_placeholder":"Bitte schreiben Sie Ihre Kommentare zu diesem Produkt auf.","web_shop_energy_label_product_data_sheet":"Produktdatenblatt","web_xmas2025_door7_link_us":"web_xmas2025_door7_link_us","web_summary_shop_price":"Ladenpreis","web_help_loyalty_policy":"Treueprogramm","web_fixed_coupon_title":"Exklusiver Rabatt","web_order_cancel_wrong_address":"Falsche Adresse oder Produkt","web_pay_btn_place_order":"Bestellung aufgeben","web_shop_crowdfunding_campaign":"Kampagne","web_time_ended":"Beendet","web_help_legal_notice":"Impressum","web_support_view_pdf":"Ansehen","web_checkout_btn_choose_address":"Andere Adresse w\xe4hlen","web_order_prod_type_kit":"KIT","web_form_agree_error":"Bitte w\xe4hlen Sie \u201eIch stimme zu\u201c, um fortzufahren.","web_xmas2025_door5_link_de":"https://vivosun.com/de-DE/tester-club?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day5","web_product_bundle_save":"Sie sparen","web_common_score":"Ergebnis","web_winter_grow_expert_tips_desc":"Erfahre, wie erfahrene Grower ihre R\xe4ume optimal einrichten und das richtige Equipment w\xe4hlen, damit Pflanzen auch in der kalten Jahreszeit weiterhin stark wachsen.","web_help_about_points":"\xdcber Vivosun Punkte","web_upload_msg_1":"<span>Datei ausw\xe4hlen</span> oder hierher ziehen","web_tag_super_slots":"Super Slots","web_checkout_coupon_drawer_trigger":"Schauen Sie sich <span>Meine Gutscheine<Num/></span> an","web_diy_ranking_entrances_title":"K\xf6nnen Sie sich nicht entscheiden?<br/>Lassen Sie uns nach Inspiration schauen.","web_fixed_register_trigger":"REGISTRIEREN UND {{discount}} RABATT ERHALTEN","web_support_product_videos_title":"Lernen mit Videos","web_common_back_to_top":"Zur\xfcck zum Anfang","web_product_tab_technical_specs":"Technische Daten","web_order_out_stock_error":"Alle Produkte in dieser Bestellung sind nicht auf Lager","web_common_resend":"Erneut senden","web_common_view_all":"Alle anzeigen","web_shop_account_have_completed_email_change":"Ich habe meine E-Mail-Adresse ge\xe4ndert","web_referral_benefit_point2_description":"Verdienen Sie {{points}} Punkte f\xfcr {{price}}, den Ihr Freund ausgibt.","web_form_agree_tip":"Ich stimme der <privacy>Datenschutz- und Cookie-Richtlinie</privacy> und den <terms>Terms & Conditions</terms> zu.","web_common_btn_delete":"L\xf6schen","web_referral_benefit_point1_description":"Jeder registrierte User kann jederzeit Empfehlungen aussprechen.","web_diy_customize_unavailable_error":"Das DIY-Set enth\xe4lt Artikel, die \u201eAusverkauft\u201c oder \u201eNicht verf\xfcgbar\u201c sind. Es kann nicht mit dem Checkout fortgefahren werden.","web_shop_activity_winter_surprise_rules_desc":"<p>1. Veranstaltungszeitraum: Vom 11. Dezember 2024, 00:00 Uhr bis zum 17. Dezember 2024, 23:59 Uhr (PST).</p>\\n\\n<p>2. W\xe4hrend des Events erhalten Nutzer, die die Event-Seite oder Produkte teilen, eine Chance, eine Geschenkbox zu \xf6ffnen. Jede Geschenkbox enth\xe4lt zuf\xe4llig \u201eVIVOSUN-Punkte\u201c und ein \u201ekostenloses Geschenk\u201c. Die VIVOSUN-Punkte werden sofort dem Benutzerkonto gutgeschrieben, das kostenlose Geschenk wird automatisch dem Warenkorb hinzugef\xfcgt.</p>\\n\\n<p>3. Das kostenlose Geschenk kann nicht separat gekauft werden und muss zusammen mit mindestens einem regul\xe4ren Artikel bestellt werden.</p>\\n\\n<p>4. Das kostenlose Geschenk ist nur in begrenzter Anzahl verf\xfcgbar. Sobald es vergriffen ist, werden keine weiteren Geschenke mehr ausgegeben. Wenn ein Nutzer die Bestellung verz\xf6gert und das Geschenk ausverkauft ist oder das Event endet, bevor die Bestellung abgeschlossen ist, verliert der Nutzer die M\xf6glichkeit, das kostenlose Geschenk zu erhalten.</p>\\n\\n<p>5. Entferne das kostenlose Geschenk nicht leichtfertig aus dem Warenkorb. Einmal entfernt, kann es nicht wieder hinzugef\xfcgt werden.</p>\\n\\n<p>6. Das kostenlose Geschenk kann nicht mit anderen Aktionen kombiniert werden, wie z. B. Geschenken bei Kauf, Bundle-Rabatten oder Gutsc
1heinen.</p>\\n\\n<p>7. Selbstempfehlungen sind strengstens verboten, einschlie\xdflich der Nutzung der gleichen E-Mail-Adresse, IP-Adresse oder Browser-Sitzung. Verst\xf6\xdfe f\xfchren zur Ung\xfcltigkeit der Empfehlungen.</p>","web_shop_product_notify_me":"Benachrichtige mich","web_footer_link_order_history":"Bestellhistorie","web_diy_entrance_customize_desc":"W\xe4hlen Sie Ihr Zelt, Licht, L\xfcfter und Zubeh\xf6r aus.","web_payment_klarna_slogen_ca":"web_payment_klarna_slogen_ca","web_shop_account_link_expired_prompt_desc":"Dieser Best\xe4tigungslink ist abgelaufen. Aus Sicherheitsgr\xfcnden sind E-Mail-Best\xe4tigungslinks nur 1 Stunde lang g\xfcltig.","web_common_btn_save":"SPEICHERN","web_purchase_success_status":"Zahlung erfolgreich!","web_unsubscribe_suc_tip":"Sie werden keine E-Mails von dieser Liste mehr erhalten.","web_survey_result_thank_tip":"Vielen Dank, dass Sie Teil der {{brand}}-Familie sind.<br/>Ihr heutiges Feedback hilft uns dabei, die Zukunft des Indoor-Growings gemeinsam zu gestalten.","web_account_sidebar_title":"Benutzerkonto","web_orders_order_detail_link":"Bestelldetails","web_shop_activity_early_access_result_selected1":"Sie wurden ausgew\xe4hlt, um das neue Produkt auszuprobieren!","web_shop_activity_early_access_result_selected2":"Bitte geben Sie unten Ihre Versandinformationen innerhalb von 14 Tagen nach der Bekanntgabe der Ergebnisse an, andernfalls verlieren Sie Ihre Testberechtigung. Ihre Testpunkte werden erstattet, falls Sie die Frist verpassen.","web_unsubscribe_suc_title":"Erfolgreich abgemeldet!","web_xmas2025_door12_link_de":"https://www.instagram.com/vivosun.de/","web_shop_redeem_redeem_your_rewards":"Belohnungen einl\xf6sen","web_checkout_referrer_empty_error":"Bitte geben Sie die REFID ein.","web_crowd_funding_limit_reached":"Limit erreicht","web_pointsmarket_checkin_popup_title":"web_pointsmarket_checkin_popup_title","web_form_comfirm_pwd_mismatch_error":"Ihre Passw\xf6rter stimmen nicht \xfcberein, bitte versuchen Sie es erneut.","web_help_title_guide":"Guide","web_shop_activity_early_access_share_the_activity":"Teilen Sie die Tester-Club-Aktivit\xe4t","web_payment_klarna_slogen_de":"Jetzt shoppen. Sicher und flexibel bezahlen. Mit Klarna.","web_xmas2025_door8_desc_us":"web_xmas2025_door8_desc_us","web_xmas2025_door6_desc_de":"Alle warten aufs Chriskind... Ich warte auf meine Frost-resistenten Buds..","web_home_sfs_btn_sale_is_ove_capfirst":"Die Aktion ist beendet","web_subscribe_title":"Registrieren Sie sich und erhalten Sie {{discount}} Rabatt auf Ihre erste Bestellung.","web_profile_nick_name_label":"Spitzname","web_security_delete_account_note":"Hinweis: Das Konto kann nach der L\xf6schung NICHT wiederhergestellt werden.","web_pay_card_number_empty_tip":"Bitte Kartennummer eingeben","web_shop_activity_early_access_announced_soon":"Danke, dass Sie sich beworben haben! Ergebnisse werden bald bekannt gegeben. ","web_product_sold_out_upper":"Ausverkauft","web_shop_crowdfunding_comments":"Kommentare","web_shop_redeem_trick_or_treat_promotion_rules_title":"Teilnahmebedingungen der S\xfc\xdfes-oder-Saures-Promotion","web_referral_process_step2":"Schritt 2: Empfehlen","web_referral_process_step1":"Schritt 1: Loggen Sie sich bei {{brand}} an","web_shop_redeem_the_pumpkin_you_earned":"Erhaltene K\xfcrbisse","web_order_empty_tip":"Ihre Bestellung ist leer.","web_common_plus_points":"+{{num}} Punkte","web_common_btn_quick_view":"Schnellansicht","web_purchase_order_total_payment":"Gesamtbetrag","web_search_btn_search":"Suchen","web_form_pwd_pattern_letter_error":"Ihr Passwort muss mindestens einen Buchstaben enthalten.","web_xmas2025_door3_desc_us":"web_xmas2025_door3_desc_us","web_common_max_available":"Max. verf\xfcgbar","web_early_access_review_tips":"<p class=\\"g-title\\">Lass deine Stimme z\xe4hlen <br>\u2013 und werde belohnt!</p>\\n <p class=\\"g-text\\">Reiche deine Bewertung mit <strong>mindestens 300 Zeichen, 5 Fotos und 1 Video</strong> ein, um eine volle R\xfcckerstattung der eingesetzten Punkte f\xfcr diese Testbewerbung zu erhalten.</p>\\n <p class=\\"g-text\\">Zus\xe4tzlich erh\xe4ltst du auch die \xfcbliche Belohnung f\xfcr Produktbewertungen, genau wie bei jeder normalen Bewertung.</p>\\n <p class=\\"g-text\\"><a href=\\"/help/about-points\\">Mehr \xfcber Vivosun Punkte</a></p><p class=\\"g-text\\"></p><p class=\\"g-text\\">Deine Erfahrung z\xe4hlt \u2013 zeig uns, was dieses Produkt f\xfcr dich bedeutet!</p></div>","web_xmas2025_door10_desc_us":"web_xmas2025_door10_desc_us","web_pointsmarket_total_points":"Gesamte Punkte","web_eggs_product_added":"Der Artikel wurde automatisch deinem Warenkorb hinzugef\xfcgt und muss zusammen mit anderen Artikeln in derselben Bestellung gekauft werden.","web_write_review_check_form_error":"Bitte \xfcberpr\xfcfen Sie das Formular.","web_common_seconds_lower":"Sekunden","web_form_pictures_label":"Bilder","web_fixed_register_plus":"Plus","web_order_order_date":"Bestelldatum","web_write_review_success_titlle":"Erfolgreich erhalten","web_common_congratulations":"Herzlichen Gl\xfcckwunsch!","web_support_call_title":"Rufen Sie uns an","web_home_sfs_stock_left":"Noch <Num/> verf\xfcgbar","web_shop_crowdfunding_hrs_left":"<span>{{timeRemaining}}</span> Stunden verbleibend","web_user_go_wholesale_tip":"Dieses Konto ist nur f\xfcr Wholesale-Kunden verf\xfcgbar. Bitte melden Sie sich auf unserer Wholesale-Website an.","web_search_btn_clear":"L\xf6schen","web_diy_cart_discount_tip":"Ein zus\xe4tzlicher <strong>{{discount}}</strong> RABATT wurde bereits auf den Bestellsumme angewendet!","web_fixed_register_email_placeholder":"Email eingeben","web_subscribe_result_text_2":"Vielleicht m\xf6chten Sie auch unserer Facebook-Community beitreten, in der wir Anbautipps und exklusive Angebote mit einer Gruppe von leidenschaftlichen Growern teilen.","web_common_success_tip":"Erfolgreich","web_subscribe_result_text_3":"Zus\xe4tzlich m\xf6chten wir Ihnen als Willkommensgeschenk einen Code anbieten, mit dem Sie {{discount}} Rabatt auf Ihre n\xe4chste Bestellung erhalten k\xf6nnen: Code: <CouponCode/>.","web_shop_crowdfunding_available_rewards":"Verf\xfcgbare Pr\xe4mien","web_price_discount_off":"{{discount}} Rabatt","web_shop_crowdfunding_day_left":"<span>{{timeRemaining}}</span> Tag verbleibend","web_subscribe_result_text_1":"Wir freuen uns sehr, dass Sie sich entschieden haben, uns beizutreten!","web_form_email_invalid_tip":"Die von Ihnen eingegebene E-Mail ist ung\xfcltig. Bitte \xfcberpr\xfcfen Sie Ihre E-Mail und versuchen Sie es erneut.","web_support_product_reviews_demos":"Tests & Demos","web_cart_view_cart":"Warenkorb anzeigen","web_referral_refid":"REFID","web_address_make_default":"Als Standard festlegen","web_login_auth_failed":"Authentifizierung fehlgeschlagen!","web_product_paypal_pay_title_us":"web_product_paypal_pay_title_us","web_shop_activity_units_available":"Verf\xfcgbare Artikel","web_referral_process_step3":"Schritt 3: Ernten Sie die Belohnungen","web_tag_black_friday":"Black Friday","web_product_paypal_pay_title_uk":"web_product_paypal_pay_title_uk","web_points_col_expired":"Abgelaufen","web_shop_security_verify_now":"Jetzt best\xe4tigen","web_pointsmarket_expiring_tip":"{{num}} Punkte laufen bald ab","web_shop_crowdfunding_estimated_delivery":"Voraussichtliche Lieferung","web_tag_prime_day":"Prime Day","web_cupon_maximum_saving":"Maximale Ersparnis","web_form_email_empty_tip":"Bitte geben Sie Ihre E-Mail-Adresse ein.","web_common_processing":"Wird verarbeitet","web_common_you_have_applied":"Sie haben sich beworben","web_product_total_reviews":"{{total}} Bewertungen","web_diy_ranking_help_title":"Rating-Kriterien","web_form_name_placeholder_1":"z. B. Max Mustermann","web_xmas2025_door1_link_de":"https://vivosun.com/de-DE/campaign/winter-grow?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day1","web_shop_redeem_how_to_get_more_chances":"Wie kann ich mehr Belohnungen erhalten?","web_common_learn_more":"Mehr erfahren","web_login_btn_google":"Mit Google anmelden","web_survey_points_credited":"{{num}}
1 Punkte wurden Ihrem Konto gutgeschrieben.","web_consent_privacy_title":"Sicherheits- und Datenschutzrichtlinie","web_cart_bonus_login_confirm":"Huch! Sie sind nicht eingeloggt. Bitte melden Sie sich zuerst an und f\xfcgen Sie dann Artikel hinzu, um Punkte einzul\xf6sen.","web_pointsmarket_boost_points_gained":"Punkte erhalten","web_return_step_refused":"Abgelehnt","web_form_empty_error":"Erforderlich","web_tag_flash_sale":"Blitzangebot","web_common_btn_close":"Schlie\xdfen","web_common_btn_ok":"OK","web_home_sfs_help_title":"\xdcber Super Flash Sale","web_common_reviews":"Bewertungen","web_coupon_applied_successfully":"Der Gutschein wurde erfolgreich angewendet.","web_summary_retail_price":"Einzelhandelspreis","web_payment_klarna_step3_gb":"web_payment_klarna_step3_gb","web_diy_ranking_use_this_kit":"Dieses Kit nutzen","web_issue_description":"Problembeschreibung","web_pay_cvv_invalid_tip":"Sicherheitscode ist ung\xfcltig","web_help_contact_us":"Kontakt","web_product_limit_reached":"Limit erreicht","web_order_cancel_duplicate":"Doppelte Bestellung","web_checkin_plant_done":"Deine Pflanze gedeiht pr\xe4chtig!","web_purchase_failed_status":"Zahlung fehlgeschlagen","web_shop_redeem_trick_or_treat_promotion_rules_desc":"1. Veranstaltungsdauer: Die Veranstaltung findet vom 25. Oktober 2024, 00:00:00 bis zum 3. November 2024, 23:59:59 PST statt.<br/>2. Teilnahme: W\xe4hrend der Veranstaltung kannst du dich einloggen oder die Veranstaltungsseite teilen, um 1 M\xf6glichkeit zu erhalten, Event-Artikel zu ergattern. Du erh\xe4ltst zuf\xe4llig 1 bis 10 \u201eS\xfc\xdfigkeiten\u201c oder 1 bis 5 \u201eK\xfcrbisse.<br/>3. Empfehlungen: W\xe4hrend der gesamten Veranstaltung kannst du {{brand}} deinen Freunden empfehlen, indem du deinen personalisierten Einladungslink teilst. F\xfcr jeden Freund, der erfolgreich eine Bestellung aufgibt und die Zahlung \xfcber deine Empfehlung abschlie\xdft, erh\xe4ltst du 1 \u201eK\xfcrbis\u201c-Artikel. Zudem sammelst du Empfehlungs Punkte. Sieh dir <referral>Referral Program</referral> f\xfcr weitere Details an. Wenn die Bestellung storniert wird, werden der K\xfcrbis und die Punkte nicht vergeben.<br/>4. Fairnessrichtlinie: Um Fairness zu gew\xe4hrleisten, sind Selbstempfehlungen verboten, einschlie\xdflich der Nutzung derselben E-Mail, IP-Adresse oder Browsersitzung. Nicht konforme Empfehlungen werden als ung\xfcltig angesehen.<br/>5. Einl\xf6sen von Preisen: W\xe4hrend der Veranstaltung kannst du Preise mit den Event-Artikeln \u201eS\xfc\xdfigkeit\u201c und \u201eK\xfcrbis\u201c auf der Veranstaltungsseite einl\xf6sen. Die Preise k\xf6nnen Produkte, Merchandise oder {{brand}} Punkte umfassen. Einmal eingel\xf6st, k\xf6nnen die Event-Preise nicht zur\xfcckgegeben werden.<br/>6. Bestellbedingungen: Preise, die w\xe4hrend der Veranstaltung eingel\xf6st werden, k\xf6nnen nicht separat gekauft werden und m\xfcssen mit mindestens einem regul\xe4ren Produkt in der Bestellung kombiniert werden.<br/>7. Limitierter Vorrat: Event-Produkte sind in begrenzter Menge verf\xfcgbar und werden ausverkauft sein, sobald der Vorrat ersch\xf6pft ist.<br/>8. Rabattausschl\xfcsse: Event-Produkte sind von allen weiteren Rabatten ausgeschlossen, wie z. B. Ausgabenaktionen, Mehrfachrabatten oder Gutscheinangeboten.","web_messages_clear_tip":"Sind Sie sicher, dass Sie alle ungelesenen Nachrichten l\xf6schen m\xf6chten?","web_common_add_cart_fail_tip":"Die folgenden Artikel konnten nicht in den Warenkorb gelegt werden","web_xmas2025_progress_tip":"Noch {{count}}, um das Geschenk freizuschalten","web_locale_current_tip":"Sie kaufen derzeit in <strong>{{country}}</strong> ({{language}}
1) ein.","web_form_pwd_pattern_letter_tip":"Mindestens ein Buchstabe","web_pointsmarket_flash_title":"Limitierte Angebote","web_common_sku_upper":"SKU","web_help_fraud_awareness":"Betrugsbewusstsein","web_product_buy_now_upper":"JETZT KAUFEN","web_form_phone_placeholder_1":"z. B. 0123 4567890","web_coupons_not_available_title":"Nicht verf\xfcgbar","web_shop_activity_days_left":"Tage \xfcbrig","web_pay_reload_tip":"Bitte laden Sie neu, wenn es zu lange dauert.","web_product_earn_points":"Verdienen Sie bis zu <span>{{ num }}</span> {{ brand }} Punkte beim Checkout.","web_product_together_items_unavailable":"Die folgenden Artikel sind derzeit nicht zum Kauf verf\xfcgbar","web_search_return_no_matches":"Leider wurden keine Treffer f\xfcr Ihre Suche gefunden.","web_shop_crowdfunding_pledged_of_amount":"von {{targetAmount}} finanziert","web_return_step_request_submitted":"Anfrage eingereicht","web_common_total_points_lower":"<Num/> Punkte","web_halloween_time":"25. Okt - 3. Nov","web_shop_product_notify_me_when_available":"Benachrichtige mich, wenn verf\xfcgbar","web_common_btn_no":"Nein","web_tag_bonus":"Bonus","web_order_option_refund":"R\xfcckerstattung","web_wfd_checkout_module_title":"Worry-Free Delivery\xa0for {{priceExchangeDisplay}}","web_pointsmarket_checkin_trigger":"web_pointsmarket_checkin_trigger","web_common_btn_confirm":"Best\xe4tigen","web_shop_activity_early_access_ongoing":"Laufend","web_order_cancel_wrong_order":"Falsche Bestellung, werde eine neue Bestellung aufgeben","web_xmas2025_door11_desc_us":"web_xmas2025_door11_desc_us","web_xmas2025_door1_desc_de":"Drau\xdfen ist es kalt, aber deine Pflanzen m\xfcssen nicht frieren!","web_diy_ranking_change_size_confirm":"Ihre aktuelle Auswahl ist die Gr\xf6\xdfe ${currentSizeName}, w\xe4hrend die Gr\xf6\xdfe des Kits, das Sie verwenden m\xfcssen, ${recordSizeName} betr\xe4gt. Bitte best\xe4tigen Sie, ob Sie die Gr\xf6\xdfe \xe4ndern m\xf6chten.","web_payment_klarna_step3_de":"Melden Sie sich in Ihrem<br>Klarna-Konto an oder<br>erstellen Sie ein neues<br>Konto mit sofortiger<br>Verifizierung","web_order_cancel_result_status":"Die Bestellung wurde storniert.","web_xmas2025_door11_link_us":"web_xmas2025_door11_link_us","web_consent_customise_desc":"Sie k\xf6nnen Ihre Cookie-Einstellungen \xe4ndern, um bestimmte Cookies und \xe4hnliche Technologien zu akzeptieren oder abzulehnen. Denken Sie daran, dass Sie Ihre Cookie-Einstellungen jederzeit in Ihren Datenschutzeinstellungen anpassen k\xf6nnen. Weitere Informationen \xfcber die von uns verwendeten Cookies finden Sie in unserer <privacy>Datenschutzrichtlinie</privacy>.","web_eggs_cart_prod_tag":"Ostern","web_common_redeem":"Einl\xf6sen","web_shop_crowdfunding_view_details":"Details ansehen","web_survey_start_survey":"Umfrage starten","web_activity_share_for_treats":"Teilen und Belohnung erhalten","web_shop_crowdfunding_unavailable_rewards":"Unverf\xfcgbare Pr\xe4mien","web_cart_empty_btn_shopping":"ZUM SHOP","web_form_number_minus":"Minus","web_order_option_bigamount_tip":"Im Zahlungsvorgang","web_fixed_register_suc_title":"DANKE F\xdcR DIE ANMELDUNG!","web_addresses_delete_confirm_tip":"Sind Sie sicher, dass Sie diese Adresse l\xf6schen m\xf6chten?","web_product_buy_now":"Jetzt kaufen","web_pay_link_back_checkout":"Zur\xfcck zur Seite \\"Bestellung aufgeben\\"","web_diy_entrance_ranking_title":"Lassen Sie sich inspirieren","web_payment_klarna_step3_ca":"web_payment_klarna_step3_ca","web_tag_super_flash_sale":"SUPER BLITZANGEBOT","web_order_confirm_receipt_tips":"Sind Sie sicher, dass Sie diese Bestellung erhalten haben?","web_xmas2025_reward_modal_link":"Mehr anzeigen","web_pay_card_number_label":"Karten-Nr.","web_diy_step_light":"Licht","web_refund_page_title":"R\xfcckerstattung","web_shop_crowdfunding_campaign_live":"Die Kampagne ist live","web_common_btn_post":"Posten","web_order_pkg_confirm_receipt_tips":"Sind Sie sicher, dass Sie dieses Paket erhalten haben?","web_refund_pictures_note":"Um Ihnen besser bei der L\xf6sung des Problems zu helfen, laden Sie bitte ein Bild hoch. Es k\xf6nnen bis zu 5 Bilder hochgeladen werden, wobei die Gr\xf6\xdfe jedes Bildes 5 MB nicht \xfcberschreiten darf. Unterst\xfctzte Dateiformate sind BMP, JPG, PNG und JPEG.","web_xmas2025_rules_title":"Event-Regeln","web_common_btn_yes":"Ja","web_time_days_left":"Tage \xfcbrig","web_support_email_action":"E-Mail senden","web_xmas2025_
1scroll_message18":"web_xmas2025_scroll_message18","web_xmas2025_scroll_message17":"web_xmas2025_scroll_message17","web_xmas2025_scroll_message16":"web_xmas2025_scroll_message16","web_xmas2025_scroll_message15":"web_xmas2025_scroll_message15","web_xmas2025_scroll_message14":"web_xmas2025_scroll_message14","web_xmas2025_scroll_message13":"web_xmas2025_scroll_message13","web_xmas2025_scroll_message12":"web_xmas2025_scroll_message12","web_xmas2025_scroll_message11":"web_xmas2025_scroll_message11","web_xmas2025_scroll_message10":"web_xmas2025_scroll_message10","web_refund_return_reason_label":"R\xfccksendegrund","web_shop_activity_early_access_more_way_boost_chances":"Weitere M\xf6glichkeiten, Ihre Chancen zu erh\xf6hen!","web_locale_lable_currency":"W\xe4hrung","web_wfd_checkout_popup_cta_opt_in":"Opt-In Now for Full Protection","web_spin_check_in_pp":"In der App einchecken","web_spin_better_luck":"Besseres Gl\xfcck beim n\xe4chsten Mal","web_diy_choose_dimensions_title":"W\xe4hlen Sie Ihre Abmessungen","web_checkout_save_address_tip":"Bitte speichern Sie die Adresse.","web_common_page_not_found":"Seite nicht gefunden","web_fixed_coupon_sign_in_claim":"Melden Sie sich an, um zu beanspruchen.","web_xmas2025_door2_desc_us":"web_xmas2025_door2_desc_us","web_checkout_sign_in_tip":"Bereits ein Konto? <span>Jetzt anmelden</span>","web_write_review_rating_empty_error":"Bewertung ist erforderlich","web_activity_trick_or_treat_rules_title":"Trick-or-Treat-Aktionsregeln","web_return_step_refunded":"R\xfcckerstattet","web_shop_activity_early_access_apply_success_tips":"Ihre Bewerbung wurde eingereicht","web_product_bundle_price":"Bundle-Preis","web_common_btn_view_points":"Punkte anzeigen","web_shop_security_email_verification_required_tips":"Aus Sicherheitsgr\xfcnden best\xe4tigen Sie bitte Ihre E-Mail-Adresse, bevor Sie mit Ihrer Bestellung fortfahren.","web_shop_activity_early_access_completed":"Abgeschlossen","web_common_btn_login":"EINLOGGEN","web_wholesale_become_a_reseller":"Werde Vertriebspartner","web_support_community_action":"Community beitreten","web_summary_tip_already_saved":"Bereits gespart: ","web_xmas2025_rewards_important":"Wichtig:","web_diy_step_accessories":"Zubeh\xf6r","web_form_comfirm_pwd_empty_error":"Bitte best\xe4tigen Sie Ihr Passwort!","web_spin_you_get":"Du","web_shop_activity_submint_shipping_address":"Versandadresse einreichen","web_shop_task_referral_title":"Aufgaben des Empfehlungs-Tutorials abschlie\xdfen, um Vivosun-Punkte zu erhalten.","web_help_about_diy_ranking":"\xdcber Diy Ranking","web_address_billing_address_tip":"Bitte vergewissern Sie sich, dass die unten angegebene Rechnungsadresse mit dem Namen und der Adresse der Bankkarte \xfcbereinstimmt, die Sie f\xfcr diesen Kauf verwenden.","web_shop_product_price_vat_tips":"(inkl. MwSt.)","web_help_community_guidelines":"web_help_community_guidelines","web_shop_redeem_process_step2_desc":"Dr\xfccke auf <ShareIcon/> neben einem Produktnamen, um deine Lieblingsartikel Freunden zu empfehlen. Alternativ kannst du deinen <a href=\\"/account/refer-a-friend\\">personalized invitation link</a>.","web_shop_activity_applicants":"Bewerber","web_address_billing_address_title":"Rechnungsadresse","web_login_forgot_tip_1":"Falls Sie Ihr Passwort vergessen haben, geben Sie bitte Ihre registrierte E-Mail-Adresse ein.","web_login_forgot_tip_2":"Wir senden Ihnen einen Link zum Zur\xfccksetzen Ihres Passworts.","web_order_option_check_out":"Zur Kasse","web_points_col_points_amount":"Punkte Betrag","web_product_paypal_pay_help_uk":"web_product_paypal_pay_help_uk","web_common_view_more":"Mehr anzeigen","web_user_go_wholesale_btn":"Besuchen Sie Wholesale","web_winter_grow_problem_3_title":"Knusprige Bl\xe4tter? Dieser Luftbefeuchter schafft sofort Abhilfe!","web_product_paypal_pay_title_au":"web_product_paypal_pay_title_au","web_xmas2025_door5_link_us":"web_xmas2025_door5_link_us","web_xmas2025_door8_desc_de":"Lerne LumaLight kennen \u2013 Power, Pr\xe4zision und volle Kontrolle f\xfcr deinen Grow.","web_footer_link_my_addresses":"Meine Adressen","web_footer_link_log_in":"Einloggen","web_product_paypal_pay_help_us":"web_product_paypal_pay_help_us","web_shop_activity_early_access_rules_desc7":"Erleben Sie als Erste*r Vivosuns neues Produkt! Bewerben Sie sich jetzt f\xfcr eine exklusive Vorschau! {{link}}","web_support_download_pdf":"PDF herunterladen","web_product_paypal_pay_title_ca":"web_product_paypal_pay_title_ca","web_checkout_payment_empty_tip":"Bitte \xfcberpr\xfcfen Sie die Zahlungsmethode.","web_xmas2025_door5_desc_us":"web_xmas2025_door5_desc_us","web_pay_expiry_label":"Ablaufdatum","web_write_review_no_products":"Es gibt keine Produkte zu bewerten.","
1web_write_review_points_help":"<div class=\\"title\\">Bewerten Sie unsere Produkte, um {{brand}} Punkte zu erhalten</div><div class=\\"content\\">Sobald Sie die Mindestanforderung an den Text erf\xfcllen (mindestens 50 Zeichen, ohne Leerzeichen), erhalten Sie 30 Punkte. Das Hinzuf\xfcgen eines Fotos zu Ihrer Bewertung bringt Ihnen 60 Punkte, und wenn Ihre Bewertung ein Video l\xe4nger als 5 Sekunden enth\xe4lt, erhalten Sie zus\xe4tzlich 40 Punkte. Noch spannender ist, dass Sie, wenn Ihre Bewertung von uns als hochwertige Bewertung ausgew\xe4hlt wird, Anspruch auf bis zu 100 zus\xe4tzliche Punkte haben.</div><table class=\\"table\\"><thead><tr><th>Aktion</th><th>Punkte</th></tr></thead><tbody><tr><td>Hinterlassen Sie einen Kommentar</td><td>30</td></tr><tr><td>Hinterlassen Sie einen Kommentar mit Bildern</td><td>60</td></tr><tr><td>Hinterlassen Sie einen Kommentar mit einem Video</td><td>70</td></tr><tr><td>Hinterlassen Sie einen Kommentar mit sowohl Bildern als auch einem Video</td><td>100</td></tr><tr><td>Ausgew\xe4hlt als hochwertige Bewertung</td><td>up to 200</td></tr></tbody></table>","web_shop_order_perk":"Extra","web_pointsmarket_boost_boost_successful":"web_pointsmarket_boost_boost_successful","web_cart_bonus_more_options":"Mehr Optionen","web_referral_benefit_point3_description":"1) L\xf6sen Sie {{brand}} Punkte f\xfcr Ihr Einkaufsguthaben ein ({{points}} {{brand}} Punkte = {{price}}) oder f\xfcr exklusive Produkte im {{brand}} Punkte-Marktplatz.<br/>2) Genie\xdfen Sie eine verl\xe4ngerte G\xfcltigkeit der Punkte von einem Jahr!","web_early_access_check_order":"Den Status Ihrer Bestellung k\xf6nnen Sie jederzeit unter <ordersLink>Meine Bestellungen</ordersLink> einsehen.","web_common_checkout":"Kasse","web_shop_redeem_can_redeem":"{{pointsNum}} Punkte k\xf6nnen eingel\xf6st werden","web_common_recipient_email":"Empf\xe4nger E-Mail","web_coupons_not_available_error":"Dieser Gutscheincode ist nicht verf\xfcgbar.","web_tag_bundle_deals":"B\xfcndel","web_fixed_register_suc_tip_2":"Holen Sie sich Ihre {{num}} Punkte und benutzen Sie den untenstehenden Code, um {{discount}} auf Ihre erste Bestellung zu erhalten","web_shop_crowdfunding_backers":"Unterst\xfctzer","web_fixed_register_suc_tip_1":"SIE SIND JETZT IN DER LISTE!","web_age_gate_under_age":"ICH BIN NICHT {{age}}+","web_xmas2025_rewards_important_content":"Mystery-Geschenke k\xf6nnen nicht einzeln gekauft werden und m\xfcssen zusammen mit mindestens einem regul\xe4ren Artikel im Warenkorb sein. Die Geschenke sind limitiert und nur solange der Vorrat reicht verf\xfcgbar. Punkte und Mystery-Geschenke verfallen am 31. Dezember \u2013 bitte verwende sie vorher.","web_shop_account_email_change_success_prompt_desc":"Melden Sie sich mit Ihrer neuen E-Mail-Adresse erneut an.","web_home_sfs_btn_coming_soon_capfirst":"Bald verf\xfcgbar","web_common_btn_submit":"EINREICHEN","web_winter_grow_problem_2_title":"Kleine Buds trotz guter Genetik? So l\xf6st du das Lichtproblem!","web_return_step_waiting_for_refund":"Wartet auf R\xfcckerstattung","web_refer_status_issued":"Ausgestellt","web_consent_customise_necessary_desc":"Diese Cookies sind unbedingt erforderlich, damit unsere Seite ordnungsgem\xe4\xdf funktioniert und wir Ihnen unsere Dienstleistungen und Funktionen bereitstellen k\xf6nnen. Zum Beispiel helfen sie uns, die Sicherheit und den Schutz unserer Dienste zu gew\xe4hrleisten, um Benutzer bei der Anmeldung zu authentifizieren, zu analysieren, wie unsere Kunden die Seite nutzen, sowohl die Funktionalit\xe4t zu verbessern als auch Ihr Einkaufserlebnis zu optimieren und die Zug\xe4nglichkeit zu erm\xf6glichen. Um mehr \xfcber diese Cookies zu erfahren, lesen Sie bitte unsere <privacy>Datenschutzrichtlinie</privacy>.","web_points_col_earned":"Verdient","web_referral_benefit":"Was sind die Vorteile einer {{brand}}-Empfehlung?","web_help_item_lost_in_transit":"Artikel auf dem Transport verloren","web_share_msg_01":"Dieses {{brand}}-Event ist wirklich interessant! Du kannst kostenlose Punkte verdienen und Merchandise erhalten. Schau vorbei!","web_shop_activity_early_access_selected":"Ausgew\xe4hlt","web_xmas2025_rewards_collected_title":"Geschenke, die du gesammelt hast","web_referral_process_step3_description":"Ermutigen Sie Ihre Freunde, auf Ihren Link zu klicken und Art
1ikel zu kaufen. 30 Tage nachdem die Bestellung best\xe4tigt und ausgeliefert wurde, k\xf6nnen Sie Ihre wohlverdienten {{brand}} Punkte genie\xdfen!","web_payment_klarna_step1_gb":"web_payment_klarna_step1_gb","web_common_more":"Mehr","web_login_forgot_popup_title":"Passwort vergessen","web_common_coupon_code":"Gutscheincode","web_purchase_btn_view_order":"Bestellung anzeigen","web_diy_ranking_comment_placeholder":"Was halten Sie von diesem Kit?","web_home_sfs_btn_coming_soon":"DEMN\xc4CHST ERH\xc4LTLICH","web_common_points":"Punkte","web_common_btn_copy":"Kopieren","web_checkin_rules":"<div>\\n <h2>Vivosun Check-In Event Regeln</h2>\\n <h3>Dauer des Events</h3>\\n <p>Vom 8. April bis zum 21. April</p>\\n\\n <h3>Teilnahmehinweise</h3>\\n <p>\\n Schritt 1: Check-In<br />Besuche die Event-Seite und schlie\xdfe den Check-In ab, um sofort 100 Punkte zu\\n erhalten.\\n </p>\\n <p>\\n Schritt 2: Event teilen<br />Teile die Event-Seite mit deinen Freunden.Nach dem Teilen werden deine Punkte automatisch von 100 auf 420 erh\xf6ht!\\n </p>\\n\\n <h3>Wichtige Hinweise</h3>\\n <ul>\\n <li>1. Jeder Benutzer darf w\xe4hrend des Event-Zeitraums <strong>nur einmal</strong> einchecken.</li>\\n <li>2. Die Punkte-Belohnung wird erst freigeschaltet, <strong>nachdem die Event-Seite erfolgreich geteilt wurde</strong>.</li>\\n <li>3. Die Punkte werden deinem Konto sofort gutgeschrieben, sobald jeder Schritt (Check-In und Teilen) abgeschlossen ist.</li>\\n <li>4. Die im Rahmen dieses Events gesammelten Punkte k\xf6nnen auf der Vivosun-Website f\xfcr Rabatte genutzt oder gegen Pr\xe4mien eingetauscht werden.</li>\\n <li>5. Weitere Informationen zu den Punkten findest du unter \\n <a href=\\"/help/loyalty-program\\" target=\\"_blank\\">Vivosun Treueprogramm & Pr\xe4mien</a>.\\n </li>\\n </ul>\\n\\n <h3>Disclaimer</h3>\\n <p>Vivosun beh\xe4lt sich das Recht vor, dieses Event jederzeit ohne vorherige Ank\xfcndigung zu \xe4ndern, auszusetzen oder zu beenden.</p>\\n</div>","web_product_afterpay_title":"Jetzt einkaufen, sp\xe4ter bezahlen! <br/>Immer zinsfrei.","web_support_content_support":"Inhalt & Support","web_xmas2025_door3_link_de":"https://vivosun.com/de-DE/campaign/winter-grow?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day3","web_help_about_us":"\xdcber uns","web_checkin_modal_share_tip":"Teile und verwandle {{prev}} sofort in {{next}} Punkte!","web_common_next":"Weiter","web_help_intellectual_property":"Geistiges Eigentum","web_common_share_copy_link":"Link kopieren","web_tag_super_upper":"SUPER","web_help_growing_guide":"Grow Guide","web_order_option_return_progress":"R\xfcckgabestatus","web_coupons_expired_coupons":"Abgelaufene Gutscheine","web_account_sign_in_register":"Anmelden/Registrieren","web_xmas2025_banner_title":"Festlicher Zauber<br>hinter jedem T\xfcrchen!","web_common_item":"Artikel","web_order_step_finish":"Abschlie\xdfen","web_return_refund_reason_label":"R\xfcckerstattungsgrund","web_form_pwd_min_length_error":"Ihr Passwort muss mindestens 8 Zeichen enthalten.","web_order_cancel_shipping_fee":"Ich bin nicht bereit, die Versandkosten zu zahlen","web_cart_list_title":"Artikel Zusammenfassung","web_spin_already_claimed":"Du hast diese Belohnung bereits erhalten. Jeder Nutzer kann sie nur einmal einl\xf6sen.","web_shop_redeem_get_more_pumpkins":"MEHR K\xdcRBISSE","web_checkin_btn_congrats":"<strong>Gl\xfcckwunsch!<strong><span> Du bist fertig!</span>","web_spin_coupon_added":"Coupon hinzugef\xfcgt! Checken Sie jetzt Ihren","web_login_sdk_load_failed":"{{name}}-SDK konnte nicht geladen werden.","web_wfd_checkout_popup_benefit1_title":"Get a Full Refund, No Questions Asked","web_checkin_earned_points":"Du hast <Num/> Punkte verdient","web_product_add_to_cart":"In den Warenkorb","web_winter_grow_problem_4_title":"Schimmel stoppen \u2013 smarte Kontrolle der Luftfeuchtigkeit.","web_checkout_register_tip":"REGISTRIEREN UND <span>{{discount}} RABATT ERHALTEN PLUS {{points}} PUNKTE</span>","web_consent_customise_always_on":"Immer an","web_checkout_address_empty_tip":"Bitte speichern Sie Ihre Lieferadresse, bevor Sie eine Bestellung aufgeben.","web_list_sort_price_lower":"Preis niedrig bis hoch","web_tag_winter_sale":"Winterschlussverkauf","web_winter_grow_problem_5_title":"Kalte Erde = keine Keimung? So bringst du deine Seeds schnell zum Sprie\xdfen!","web_product_bundle_contains":"Dieses Bun
1dle enth\xe4lt {{num}} Artikel <span>(k\xf6nnte separat versendet werden)</span>","web_diy_customize_help_title":"Stellen Sie Ihr eigenes Set zusammen","web_pointsmarket_checkin_help_content":"web_pointsmarket_checkin_help_content","web_form_pwd_label":"Passwort","web_xmas2025_door3_desc_de":"Winter ist die beste Zeit, es drinnen gem\xfctlich zu machen \u2013 auch f\xfcr deine Pflanzen.","web_common_status":"Status","web_common_btn_checkout_upper":"Kasse","web_checkout_step_place_order":"Bestellung aufgeben","web_refund_description_placeholder":"F\xfcllen Sie die Beschreibung aus, um Unternehmen bei der L\xf6sung von Problemen nach dem Kauf zu helfen","web_help_shipping_types":"Versandarten","web_product_compare_item_unavailable":"{{name}} ist vor\xfcbergehend nicht verf\xfcgbar.","web_form_description_placeholder_1":"Bitte beschreiben Sie das Problem mit Ihrem Produkt...","web_diy_step_duct_fan":"Rohrventilator","web_product_together_title":"H\xe4ufig zusammen gekauft","web_xmas2025_door8_link_de":"https://vivosun.com/de-DE/vivosun-lumalight-serie-c311?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day8","web_payment_klarna_step1_de":"Artikel in den<br>Warenkorb legen","web_wfd_checkout_notice_emailalert":"Bitte stellen Sie sicher, dass Ihre Bestell-E-Mail-Adresse korrekt ist und Nachrichten empfangen kann, da Sie sonst m\xf6glicherweise die Worry-Free-Delivery-Schutzrichtlinie von Seel nicht erhalten.","web_common_sku":"Sku","web_pointsmarket_boost_btn_next":"web_pointsmarket_boost_btn_next","web_product_paypal_pay_title_de":"Erst ausprobieren und 30 Tage sp\xe4ter bezahlen","web_shop_crowdfunding_campaign_successful":"Die Kampagne ist erfolgreich","web_payment_klarna_step1_ca":"web_payment_klarna_step1_ca","web_common_reloading":"L\xe4dt erneut","web_common_empty_tip":"Hier ist es leer :-(","web_search_placeholder":"{{brand}} durchsuchen","web_shop_crowdfunding_sign_in_to_comment":"<u>Anmelden</u>, um zu kommentieren","web_return_step_cancelled":"Storniert","web_spin_disclaimer":"Nur zur Veranschaulichung. Gezeigte Preise entsprechen nicht der tats\xe4chlichen Gewinnwahrscheinlichkeit.","web_consent_customise_confirm_my_choice":"Meine Auswahl best\xe4tigen","web_refer_friend_page_title":"Einen Freund weiterempfehlen","web_shop_redeem_chance_left":"Chance(n) \xfcbrig","web_common_results_number":"{{totalNum}} Ergebnisse","web_support_search_for_support":"Support durchsuchen","web_price_save_discount":"Sparen Sie {{discount}}","web_shop_security_verify_your_email":"E-Mail best\xe4tigen"}')},59748:function(e){"use strict";e.exports=JSON.parse('{"web_cart_total_selected_tip":"{{num}} Select","web_eggs_points_added":"The points have been automatically added to your account and can be used for future purchases or rewards.","web_coupons_use_tip":"You can use the following coupons on the items in your shopping cart, please use them on the place order page","web_support_product_tag_official":"Official","web_common_minute_lower":"min","web_shop_crowdfunding_back_this_project":"Back This Project","web_shop_account_hint_enter_new_email":"Enter Your New Email Address","web_shop_activity_early_access_result_unselected2":"You weren\u2019t selected this time, but don\u2019t worry\u2014your points have been fully refunded to your account.","web_shop_activity_early_access_result_unselected1":"Better Luck Next Time!","web_shop_activity_early_access_title":"Tester Club","web_shop_activity_early_access_result_unselected3":"Keep an eye out for upcoming opportunities to try our latest products!","web_support_community_desc":"Get answers from fellow growers in our app community.","web_product_alsolike_title":"You May Also Like","web_form_email_label":"Email","web_xmas2025_reward_modal_desc":"web_xmas2025_reward_modal_desc","web_xmas2025_door9_link_de":"https://vivosun.com/de-DE/small-smart-kits-c1444?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day9","web_form_pictures_empty_error":"Upload at least upload 1 image.","web_consent_customise_preferences_desc":"These cookies will remember your preferences, so we can make your shopping experience as seamless as possible and personalised to you. Without these cookies, things like your account preferences or localisation may not work correctly. To learn more about these cookies, see our <privacy>Privacy Policy</privacy>.","web_xmas2025_door1_desc_us":"You hear something in your grow tent\u2026 it\u2019s Santa. \ud83c\udf85","web_diy_entrance_ranking_desc":"See the most popular kit choices.","web_shop_redeem_process_step3":"Step 3: Earn Pumpkins & Referral Points","web_shop_redeem_process_step2":"Step 2: Make Referrals","web_form_submission_successful":"Submission Successful","web_shop_redeem_process_step1":"Step 1: Log in","web_address_select_province_first":"Please select a {{label}} first.","web_shop_community":"Community","web_order_cancel_payment_rejected":"Payment was rejected","web_product_view_full_info":"View full product info","web_tag_new":"New","web_order_order_id":"Order Id","web_shop_redeem_get_more_chances":"Get More Chances","web_contact_location_title":"Location","web_support_manuals":"Manuals","web_checkout_btn_apply":"Apply","web_shop_activity_early_access_guidelines_desc1":"To apply, {{points}} points will be deducted from your account. If you are not selected, the points will be refunded. Please confirm your application.","web_wfd_orderdetail_claimentry_title":"File a Worry-Free Delivery Claim","web_register_btn_register":"Register","web_shop_crowdfunding_limited_quantity":"Limited Quantity","web_help_privacy_policy":"Privacy Policy","web_pay_cvv_popup_tip":"3-digit security code usually found on the back of your card. American Express cards have a 4-digit code located on the front.","web_product_sold_out":"Sold Out","web_checkout_btn_remove":"Remove","web_pointsmarket_limit_num":"Limit {{num}}","web_pay_cancel_confirm_tip":"Are you sure you want to cancel payment? If your order is not paid in <Countdown/>, it will be canceled.","web_xmas2025_door6_link_de":"https://vivosun.com/de-DE/campaign/winter-grow?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day6","web_remaining_count":"{{count}}s remaining","web_package_package_index":"Package {{num}}","web_create_pwd_page_title":"Create a New Password","web_pay_accept_cards_title":"We Accept","web_xmas2025_door4_desc_us":"Apparently our Christmas tree is also a wish board now! \ud83d\udc8c\\nTell us: what are you asking Santa for this year \u2014 grow gear, bigger buds, more days off?","web_return_request_date":"Request Date","
1web_order_cancel_result_back_tip":"The refund will go back to your pay account. Please check later.","web_points_points_expiring_soon_tip":"Points expiring soon means the points will be expiring within 7 days.","web_form_comfirm_pwd_label":"Confirm Password","web_form_number_plus":"Plus","web_order_cancel_others":"Others","web_summary_order_total_price":"Order Total Price","web_cart_empty_tip":"Your cart is empty","web_product_review_no_score":"No score","web_early_access_reclaim_points":"Review & Reclaim Points","web_diy_recommended_entrances_title":"Not What You\'re Looking For?<br/>Let\'s Try Another Way.","web_shop_account_request_deletion":"Request Deletion","web_common_btn_cancel":"Cancel","web_diy_customize_optional":"Optional","web_support_product_official_tutorials":"Official Tutorials","web_common_coupons":"Coupons","web_checkout_shipping_empty_tip":"Please check shipping method","web_account_logout":"Logout","web_product_not_choose_tip":"Please choose {{name}}","web_age_gate_full_age_next":"AND AGREE TO BE AGE VERIFIED","web_support_blog_cats_title":"Explore Categories","web_xmas2025_door11_link_de":"https://www.instagram.com/p/DSX1TbsjIGv/?img_index=1","web_product_coupons_title":"Shop Coupons","web_consent_customise_preferences_title":"Preferences cookies","web_checkout_step_pay":"Pay","web_support_product_blogs_title":"Knowledge Base","web_common_minutes_lower":"mins","web_coupons_code_label_upper":"CODE","web_warranty_form_success":"Thank you. Your warranty claim has been submitted. We will contact you shortly.","web_checkout_btn_add_address":"Add New Address","web_list_total_products":"{{totalNum}} Products","web_time_day_left":"day left","web_pay_cancel_confirm_btn_continue":"CONTINUE TO PAY","web_address_country_label":"Region","web_orders_nav_all_orders":"All orders","web_xmas2025_door2_desc_de":"Check die LumaRay Under Canopy Light \u2013 f\xfcr Growzelte ab 4\xd74 ft.","web_locale_select_region_country":"Select Region/Country","web_xmas2025_door7_desc_us":"All it takes is a gummy machine to make Santa forget about the sleigh...\ud83d\ude06","web_check_coupon_in_the_app":"Check Coupon In The App","web_common_btn_share_now_upper":"SHARE NOW","web_checkin_modal_share_suc_tip":"Your points have grown from {{prev}} into {{next}}","web_return_item_list":"Item List","web_checkout_points_title":"{{brand}} Points","web_common_second_lower":"sec","web_purchase_declined_status":"Payment Could Not Be Completed","web_orders_nav_returns":"Returns","web_support_services_title":"Inquiry & Specialized Support","web_form_pwd_min_length_tip":"8 characters minimum","web_shop_crowdfunding_status_successful":"Successful","web_messages_tab_garden":"Garden","web_product_unavailable_error":"{{productName}} is temporarily unavailable.","web_product_total_review":"{{total}} Review","web_common_view_less":"View Less","web_shop_crowdfunding_share_to":"Share to","web_order_cancel_coupon_code":"I forgot to apply the coupon code","web_checkin_get_num_points_now":"Get {{num}} Points Now","web_fixed_register_register_and_receive":"Register and receive","web_product_tab_bundle_list":"Bundle List","web_common_all_upper":"ALL","web_common_review":"Review","web_product_sale_price":"Sale Price","web_credited_to_your_account":"have been credited to your account","web_contact_amazon_email_text":"For after-sales orders or questions, please contact: <Email/>","web_shop_account_change_password":"Change Password","web_purchase_large_tip_following":"You can also reach out to us in the following ways","web_common_hour_lower":"hour","web_form_upload_msg_1":"To help us better understand your issue, please attach a photo or video that demonstrates it as clearly as possible.","web_age_gate_under_age_next":"PLEASE GO BACK","web_help_technical_guide":"Technical Guide","web_consent_customise_title":"Cookie Preference","web_common_ended":"Ended","web_order_cancel_not_want":"I don\'t want it","web_account_message_title":"My Message","web_overview":"Overview","web_eggs_keep_hunting":"Keep Hunting","web_messages_tab_my_asset":"My Asset","web_shop_activity_early_access_applications_closed":"Applications Closed","web_list_sort_price_higher":"Price High To Low","web_points_col_date_and_time":"Date and Time","web_common_got_it":"Got it","web_common_points_upper":"POINTS","web_address_shipping_note":"Please ensure your shipping information is complete and accurate in case we or the shipping carrier need to reach you regarding your order.","web_order_option_repurchase":"Repurchase","web_cart_delete_confirm":"Are you sure want to delete the item(s)?","web_address_empty_tip":"Your address is empty","web_shop_account_identify_email_send_successfully":"A link to change your email address has been sent to <span>{{newEmail}}</span>","web_spin_stop":"Stop","web_xmas2025_door12_desc_de":"2025. A year we grew together.\\nBuilt from feedback, shaped by growers.\\nBuilt for growers. Always. \ud83c\udf31","web_common_btn_check_in_upper":"CHECK IN","web_shop_activity_early_access_guidelines":"Tester Club Application Guidelines","web_points_points_expiring_soon":"Points expiring soon","web_common_days_lower":"days","web_product_tab_reviews":"Reviews ({{num}})","web_pay_cvv_popup_title":"Information on Security Code *","web_common_day_lower":"day","web_support_num_articles":"{{num}} Articles","web_account_coupons_title":"My Coupons","web_write_review_success_content":"<strong>{{num}} points</strong> earned for posting a review.","web_winter_grow_you_might_also_need":"Your Might Also Need","web_xmas2025_products_title":"Gifts Picked Just for You","web_xmas2025_
1scroll_message9":"Every leaf carries your care.","web_checkout_referrer_title":"Referrer","web_xmas2025_scroll_message7":"May your grow room stay merry.","web_xmas2025_scroll_message8":"From Vivosun, with love.","web_xmas2025_scroll_message5":"Holiday cheer starts with growth.","web_shop_crowdfunding_days_togo":"<span>{{timeRemaining}}</span> days to go","web_xmas2025_scroll_message6":"Wishing you a fruitful season.","web_xmas2025_scroll_message3":"Green plants, bright holidays.","web_xmas2025_scroll_message4":"Peace, joy, and thriving plants.","web_xmas2025_scroll_message1":"May your grow shine this Christmas.\\nWarm lights, warm hearts.","web_xmas2025_scroll_message2":"Merry Christmas, happy growing!","web_purchase_failed_btn_retry_to_pay":"Retry to pay","web_product_ratio_points":"{{ratio}}x Points","web_product_together_add_cart":"Add Selected To Cart","web_diy_ranking_my_comments":"My Comments","web_checkout_btn_proceed":"Proceed with Payment","web_refund_description_empty_error":"Description can not be empty.","web_shop_redeem_recipient_email":"Recipient email","web_xmas2025_door5_desc_de":"Komm und mach bei unserem Tester Club f\xfcr die neuen Weihnachtsprodukte mit!","web_common_view_results":"View Results","web_common_free_gift_limited_tip":"Free gift available in limited quantities. First come, first served!","web_common_apply":"Apply","web_shop_account_email_change_success_prompt":"Email Address Changed","web_product_afterpay_help_au":"<p>You must be over 18, have a valid and verifiable email address and Australian mobile telephone number, and meet additional eligibility criteria to qualify. Click <a>here</a> for complete terms.</p><p>Afterpay acknowledges the Australian Aboriginal and Torres Strait Islander peoples as the traditional custodians of the land, sea and waters where we live, meet and work. We pay our respects to their Elders past and present. Always was, always will be, Aboriginal Land.<br/>\xa9 2023 Afterpay</p>","web_common_gift":"Gift","web_help_add_device":"Help","web_consent_root_accept_all":"Accept All","web_pointsmarket_help_trigger":"Learn about {{brand}} points","web_product_compare_this_item":"This item","web_write_review_form_empty_error":"Please review before submitting","web_form_pwd_pattern_number_error":"Your password must contain at least one number.","web_xmas2025_door2_link_us":"https://www.instagram.com/p/DSCPFpmAe-3/","web_common_qty":"Qty","web_purchase_large_tip2_service":"The exclusive customer service team will c
1ontact you within 24 hours to assist you with the payment process.","web_referral_process_step1_description":"<a>Click here</a> to sign in and go straight to the referral tab in your account settings.","web_address_set_as_default":"Set as default","web_referral_process_step2_description":"Share your personalized invite link. Alternatively, press <ShareIcon/> next to any product title to recommend your favorite items to friends.","web_checkin_make_rate_boom":"Make it a {{rate}}X boom","web_return_step_auditing":"Auditing","web_xmas2025_banner_button":"Open Your Surprise","web_eggs_reached_maximum_chances":"You\'ve reached the maximum number of rewards for this event. Enjoy your prizes and stay tuned for more exciting activities!","web_product_together_empty_error":"Please select product","web_tag_points_special":"Points Special","web_purchase_order_shipping_address":"Shipping address","web_checkout_points_multiples":"Please enter points in multiples of {{num}}","web_activity_trick_or_treat_rules_desc_de":"<p>Event Period: October 24, 2025, 12:00 AM CEST to November 2, 2025, 11:59 PM CEST</p>\\n\\n<p>During the event, participants who share the event page will receive one opportunity to open a gift box. Each gift box contains 420 VIVOSUN Points and a Halloween Coupon, both of which will be automatically credited to the participant\u2019s account upon opening.</p>\\n\\n<p>This promotion is available across multiple country sites. Each participant may only participate once across all sites. For example, participation on the German site prohibits further participation on the US site.</p>\\n\\n<p>To ensure fairness, self-referrals are strictly prohibited, including the use of identical email addresses, IP addresses, or browser sessions. Violations will result in the forfeiture of all rewards.</p>","web_shop_activity_early_access_desc":"Be the first to experience our latest innovations! Explore past and ongoing Tester Club opportunities and see how our community is helping shape the future of Vivosun products.","web_consent_customise_advertising_desc":"With your permission, we work with third parties to place cookies on your device. We use these cookies to promote our services on other websites, and to measure the effectiveness of our advertising campaigns. Our advertising partners use these cookies to build a profile of your interests and show you relevant advertisements on other sites. If you do not allow these cookies, although you may continue to see ads for {{brand}}, you may experience less targeted advertising.","web_shop_crowdfunding_days_left":"<span>{{timeRemaining}}</span> days left","web_address_shipping_address_title":"Shipping Address","web_login_bind_popup_title":"We will create a new account for you, please fill in your email and set a password.","web_return_tab_label":"Refund {{num}}","web_summary_title_order_summary":"Order Summary","web_common_save_price":"Save {{price}}","web_shop_security_email_verification_required":"Email Verification Required","web_search_hot_search_title":"Hot Search","web_diy_link_choose_different_dimension":"Choose A Different Dimension","web_help_title_support":"Support","web_refund_amount_paid":"Amount Paid","web_xmas2025_door3_link_us":"https://www.instagram.com/reel/DSEzaoWgRHk/","web_refer_friend_copy_link":"Copy your invite link","web_product_afterpay_step_2":"Select Afterpay <br/> at checkout","web_product_afterpay_step_1":"Add items <br/> to your cart","web_checkout_step_my_cart":"My Cart","web_summary_discount":"Discount","web_fixed_coupon_placed_tip":"Your coupon has been placed in your account.","web_help_terms_of_service":"Terms of Service","web_product_paypal_pay_help_au":"<Div>\\n <P>Split your purchase into 4 with no sign-up fees or no late fees.</P>\\n <P>1. Choose PayPal at checkout to pay later with Pay in 4. </P>\\n <P>2. Complete your purchase with a 25% down payment.</P>\\n <P>3. Remaining payments are taken automatically. It\'s easy!</P>\\n <P>PayPal Pay in 4 is a continuing credit contract provided by PayPal Credit Pty Limited (ABN 66 600 629 258; Australian Credit Licence number 568848) to Australian residents and is subject to eligibility criteria, credit application and suitability assessment. PayPal Pay in 4 is available on eligible transactions under $2,000 AUD and application and use may impact a customer\'s credit score.</P>\\n </Div>","web_common_loading":"Loading","web_coupons_unused_coupons":"Unused Coupons","web_contact_wholesale_email_text":"For bulk orders or wholesale questions, please contact: <Email/>","web_shop_crowdfunding_estimated_to_ship_in_deliverytime":"Estimated to start shipping in {{deliveryTime}}","web_xmas2025_rewards_mystery_btn":"Open the Mystery Gift","web_product_afterpay_step_4":"Your purchase will split into 4 payments, payable every 2 weeks","web_product_afterpay_step_3":"Log into or create your Afterpay account, with instant verification","web_home_sfs_preview_name":"An amazing deal on an outstanding product","web_time_ended_at":"Ended at","
1web_product_review_all_reviews":"All Reviews","web_xmas2025_door8_link_us":"https://www.instagram.com/p/DSRuLlbluuH/","web_form_order_placeholder_1":"e.g., 167200766275690000","web_support_num_article":"{{num}} Article","web_shop_crowdfunding_pledge_amount":"Pledge {{amount}}","web_pay_expiry_empty_tip":"Please enter expiration date","web_form_select_label":"Select","web_product_unavailable_title":"Product Unavailable","web_activity_trick_or_treat_rules_desc":"<p>Event Period: October 7, 2025, 12:00 AM PDT to October 14, 2025, 11:59 PM PDT</p>\\n\\n<p>During the event, participants who share the event page will receive one opportunity to open a gift box. Each gift box contains 420 VIVOSUN Points and a Halloween Coupon, both of which will be automatically credited to the participant\'s account upon opening.</p>\\n\\n<p>This promotion is available across multiple country sites. Each participant may only take part once across all sites. For example, participation on the US site prohibits further participation on the German site.</p>\\n\\n<p>To ensure fairness, self-referrals are strictly prohibited, including the use of identical email addresses, IP addresses, or browser sessions. Any violations will result in the forfeiture of all rewards.</p>","web_xmas2025_door10_link_us":"https://www.instagram.com/reel/DSW1KsuDT3l/","web_locale_region_language":"Region & Language","web_product_number_label":"Number of variants","web_purchase_declined_next_steps":"Next Steps: If the issue persists, we recommend using a different credit card or switching to an alternative payment method to complete your order.","web_order_confirm_receipt":"Confirm Receipt","web_product_paypal_pay_help_ca":"<Div>\\n <P>Split your purchase into 4 with no late fees.</P>\\n <P>1. Choose PayPal at checkout to pay later with Pay in 4.</P>\\n <P>2. Complete your purchase with a 25% down payment.</P>\\n <P>3. Make the remaining 3 payments every 2 weeks. It\'s easy!</P>\\n <P>Pay in 4 is available to eligible Canadian residents for purchases from $30 to $1,500 CAD.</P>\\n <P>The first payment is due at the time of transaction, with subsequent payments due biweekly. Eligibility is subject to approval. Availability depends on the merchant and may not be available for certain transactions. Terms and conditions apply.</P>\\n </Div>","web_price_discount_off_upper":"{{discount}} OFF","web_return_refund_price_label":"Refund","web_checkout_referrer_drawer_trigger":"Check out <span>REFID ({{num}})<Dot/></span>","web_login_email_address":"Email address","web_diy_ranking_btn_like":"Like","web_messages_tab_orders":"Orders","web_help_return_policy":"Return Policy","web_shop_security_verification_sent":"A verification link has been sent to <span class=\'underline\'>{{email}}</span>","web_order_number":"Order Number","web_common_btn_edit":"Edit","web_common_share_popup_title":"Share to","web_shop_account_identify_email_send_successfully_note":"<p>Emails may experience a slight delay.</p>\\n\\n<p>If you have not received the email, please check your junk and spam folders.</p>\\n\\n<p>If you still haven\'t received the email after requesting an email change, please wait 24 hours and try again.</p>","web_list_sort_recommend":"Recommended","web_referral_benefit_point2":"Earn Points","web_refund_description_label":"Description","web_referral_benefit_point1":"Easy Enrollment","web_wfd_checkout_popup_cta_cancel":"No Need","web_wfd_orderdetail_claimentry_desc":"If your package is delayed, lost, or damaged, you can start a claim with <Logo/>. Claims are handled by <Logo/>. The merchant is not responsible for shipping issues.","web_referral_benefit_point3":"Versatile Points","web_early_access_tester_reviews":"Tester Reviews","web_subscribe_result_join_community":"Join Our Community >","web_coupons_code_label":"Code","web_order_option_get_points_tooltip":"Get Points","web_order_cancel_reason_empty_tip":"Reason is required","web_product_paypal_pay_help_de":"<Div>\\n <P>Available for purchases between \u20ac 1 and \u20ac 2,000. </P>\\n <P>1. Select PayPal as your payment method and use the option to pay 30 days later. </P>\\n <P>2. Complete your purchase in just a few steps.</P>\\n <P>3. Need more than 30 days? You can optionally request an extension of the payment period by a further 30 days or, alternatively, by 54 days for a fee.</P>\\n <P>Subject to credit check. For purchases between \u20ac 1 and \u20ac 2,000. The 30-day payment terms apply. A German PayPal private account with a linked debit card or a bank account with a valid SEPA direct debit mandate as the payment source is required to use this service. You can optionally request to extend the payment period by an additional 30 days (to a total of 60 days) or alternatively by 54 days (to a total of 84 days) for a fee. The amount of the fee is displayed transparently in your PayPal account before the extension is completed. The terms and conditions for More Time to Pay apply to the extension.<br/>To pay for your purchase in monthly instalments, select PayPal instalment payments.</P>\\n </Div>","web_product_selling_pints_title":"About this item","web_price_free":"Free","web_product_together_item_unavailable":"The following item is currently unavailable for purchase","web_consent_root_reject_all":"Reject All","web_payment_klarna_policy_ca":"You must be a resident of Canada, at least 18 years old, have a valid card/bank account, a positive credit history, and be able to re
1ceive verification codes via text. Late fees may apply.<br>Credit issuer: Klarna Bank AB (publ), Sveav\xe4gen 46, 111 34 Stockholm.<br>Klarna\'s Buyer Protection excludes certain payment methods and purchases, e.g., travel, event tickets, or gift cards. <a href=\\"https://www.klarna.com/ca/buyer-protection-policy/\\" target=\\"_blank\\">Payment terms</a>.","web_xmas2025_rewards_points_earned":"Points Earned","web_support_contact_title":"Didn\'t find what you were looking for?","web_xmas2025_door4_desc_de":"GrowHub Controller E42A+! Steuer dein Grow-Setup smarter als je zuvor.","web_diy_entrance_recommended_title":"{{brand}} Recommended","web_checkin_plant_share":"Your plant has grown! Share now to help it thrive","web_common_end_of_page":"End of page","web_diy_entrance_customize_title":"Customize Your Own Kit","web_summary_tip_reward_points_tooltip":"The {{brand}} points will be added to your account after your order finished.","web_payment_klarna_step4_de":"Choose your payment<br>plan and complete your<br>checkout.","web_shop_tutorial_referral_step2":"Earn {{points}} points for every {{price}} your referrals spend. During special Vivosun promotions, you can earn even more. Click the button to view full Referral Program details.","web_time_ends_in":"Ends in","web_login_forgot_password_link":"Forgot your password?","web_shop_tutorial_referral_step1":"Here is your exclusive Referral ID. When friends order through your referral link on Vivosun, your ID will auto-fill in the \\"Referrer\\" field, or they can enter it manually at checkout.","web_wfd_checkout_popup_link_privacy":"Privacy Policy","web_order_option_track":"Track","web_shop_tutorial_referral_step4":"Click to recommend Vivosun \u2014\u2014 share Vivosun with friends directly on social media.","web_address_default_address":"Default Address","web_shop_tutorial_referral_step3"
1:"Click to recommend Vivosun \u2014\u2014 copy the link for personal messages or social media posts.","web_shop_tutorial_referral_step6":"View referred orders and earned points here.","web_shop_tutorial_referral_step5":"Press the share button on any product to recommend it to friends.","web_shop_crowdfunding_day_togo":"<span>{{timeRemaining}}</span> day to go","web_xmas2025_door6_link_us":"https://vivosun.com/vivosun-herbal-decarboxylation-and-infusion-machine-p156209221520334602-v156209221520334601?utm_source=MKT&utm_medium=Xmas&utm_campaign=Day6","web_shop_activity_open_your_gift_box":"Open Your Gift Box","web_common_price":"Price","web_xmas2025_door9_desc_us":"We all have that \\"wow, I actually did this\\" feeling. \ud83c\udf3f\\nWhat was yours this year?","web_diy_ranking_score_completeness":"Completeness","web_subscribe_btn_subscribe":"Subscribe","web_checkin_titles":"<line1>GET HIGH ON VIVOSUN POINTS</line1><line2>CHECK IN, SHARE</line2><line3>AND EARN 420 POINTS</line3>","web_product_affirm_pay_help_us":"<Div>\\n <P>Payment options through Affirm are subject to an eligibility check, may not be available in all states, and a down payment may be required. Estimated payment amounts may exclude taxes and shipping.</P>\\n <P>You must be a resident of the United States, at least 18 years old (19 in Alabama or Nebraska, 21 in Mississippi), have a valid U.S. mobile number and email address, and a valid debit or credit card.</P>\\n <P>CA residents: Loans by Affirm Loan Services, LLC are made or arranged pursuant to a California Financing Law license.</P>\\n <P>\\n Affirm loans are made by Cross River Bank, Member FDIC, and other lenders. For more information, visit\\n <Lenders>affirm.com/lenders</Lenders>. Late or missed payments may affect your credit. See\\n <Terms>Affirm\u2019s Terms of Service</Terms> and <Privacy>Privacy Policy</Privacy> for details.\\n </P>\\n </Div>","web_age_gate_confirm_tip":"Please confirm your age","web_shop_redeem_get_more_pumpkins_upper":"GET MORE PUMPKINS","web_common_iphone":"iPhone","web_home_sfs_btn_sale_is_over":"SALE IS OVER","web_common_btn_continue":"Continue","web_common_share_unsupport_tip":"Something is wrong. Your browser does not support the sharing function","web_payment_klarna_step4_gb":"web_payment_klarna_step4_gb","web_common_updates":"Updates","web_shop_product_restore_subscription_successful":"Subscription successful! We\u2019ll let you know once it\u2019s restocked.","web_purchase_large_order_status":"Your order is placed","web_referral_faqs_list":"[{\\"question\\":\\"What rewards are available through referrals?\\",\\"answer\\":\\"When a referred friend makes a purchase using your referral link on {{brand}}, and does not cancel the order within 30 days, you will earn {{obtainPoints}} {{brand}} points for {{obtainPointsPrice}} your friend spents. Every {{consumePoints}} {{brand}} points is equivalent to {{consumePointsPrice}}, which can be deducted from the total order price or used to redeem products. For more information about {{brand}} points, please check <a href=\\\\\\"/help/about-points\\\\\\">About Points</a>.\\"},{\\"question\\":\\"What are the conditions for participating in the referral program?\\",\\"answer\\":\\"The program is open to anyone registered on {{brand}}.com.<br/>Self-referrals are prohibited to ensure fairness, including using the same email, IP address, or browser session. Non-compliant referrals will result in the referral being invalid.\\"},{\\"question\\":\\"How can I check if my referral was successful?\\",\\"answer\\":\\"To confirm if a referral is successful, ensure these conditions are met:<br/>1. The referred individual must have used your exclusive referral link to visit {{brand}}.com, and entered your REFID when placing the order.<br/>2. The order must be confirmed as received, or not canceled within 30 days of shipment.<br/>You can check the referral progress in <a href=\\\\\\"/account/refer-a-friend\\\\\\">Refer a Friend</a>.\\"}]","web_scan_download_app_info_1":"Scan to download the App and use your coupon","web_search_empty_tip":"The product cannot be searched","web_common_all":"All","web_form_required_1":"This field is required.","web_points_total_points":"{{num}} Points","web_cart_btn_checkout_securely_upper":"CHECKOUT SECURELY NOW","web_checkout_secure_checkout":"Secure Checkout","web_spin_try_last_chance":"Try Your Last Chance","web_summary_order_no":"Order NO.","web_form_pwd_pattern_number_tip":"At least one number","web_checkout_referrer_success_tip":"REFID is a
1pplied successfully.","web_shop_crowdfunding_share_desc":"Support innovation and shape the future! Join Vivosun Crowdfunding and be part of the journey! {{url}}","web_fixed_register_discount_tip":"GET EXTRA {{discount}} OFF","web_common_payment_method":"Payment Method","web_spin_congratulations":"Congratulations!","web_common_btn_login_upper":"SIGN IN","web_messages_tab_promotion":"Promotion","web_shop_crowdfunding_hr_left":"<span>{{timeRemaining}}</span> hr left","web_shop_security_not_now":"Not Now","web_common_share_facebook_title":"Facebook","web_wfd_checkout_popup_link_terms":"Terms of Service","web_shop_crowdfunding_ended":"Ended","web_page_link_home":"Home","web_product_tab_description":"Description","web_xmas2025_door9_link_us":"https://www.instagram.com/reel/DSWJgMGFMDC/","web_test_club_review_form_tip_2":"Please upload at least 5 images.","web_profile_nick_name_empty_error":"Nick Name is required","web_search_page_title":"{{totalNum}} Results for \\"{{searchWords}}\\"","web_test_club_review_form_tip_1":"Your comment must be at least 300 characters long.","web_payment_klarna_step2_gb":"web_payment_klarna_step2_gb","web_test_club_review_form_tip_3":"Please upload at least 1 video.","web_shop_redeem_recommend_vivosun_to_your_friends":"Recommend {{brand}} to Your Friends to Earn More Pumpkins!","web_footer_support_1":"We help you <span>grow your best green.</span>","web_footer_support_2":"We provide the <span>highest quality.</span>","web_shop_activity_early_access_learn_about":"Learn About Tester Club","web_home_sfs_sale_is_over":"Sale is Over","web_footer_support_3":"We relentlessly pursue <span>the future.</span>","web_footer_support_4":"We make growing <span>more enjoyable.</span>","web_footer_support_5":"We support <span>every grower.</span>","web_messages_tab_system":"System","web_product_add_to_cart_upper":"ADD TO CART","web_pointsmarket_checkin_help_title":"About 420 Check-In","web_xmas2025_door7_link_de":"https://vivosun.com/de-DE/vivosun-candy-machine-p164254578425972379-v164254578425972313?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day7","web_tag_best_seller":"Best Seller","web_footer_link_company":"Company","web_product_afterpay_help_ca":"<p>You must be the age of the majority in your province or territory, have a Canadian residential address and meet additional eligibility criteria to qualify. Late fees may apply. Estimated payment amounts shown on product pages exclude taxes and shipping charges, which are added at checkout. Click <a>here</a> for complete terms.</p>","web_diy_ranking_comments":"Comments","web_pay_expiry_invalid_tip":"Expiration date is invalid","web_shop_account_hint_enter_password":"Enter Your Password","web_common_your_name":"Your Name","web_tag_pre_sale":"Pre Sale","web_spin_sign_in_to_claim":"Sign in to Claim","web_order_cancel_forgot_card":"I forgot my debit/credit card information","web_shop_redeem_process_step3_desc":"Encourage your friends to click your link and make a purchase. For each friend who completes a purchase, you\'ll receive 1 Pumpkin and enjoy the rewards of the {{brand}} Referral Program. Please note, if the order is canceled, the Pumpkin and referral points will not be awarded.","web_diy_step_tent":"Tent","web_product_addons_title":"Add-Ons","web_help_blog":"Blog","web_shop_crowdfunding_min_togo":"<span>{{timeRemaining}}</span> min to go","web_diy_ranking_score_energy_efficiency":"Energy Efficiency","web_pointsmarket_boost_checkin_successful":"Check-In Successful","web_login_forgot_result_3":"If you have not received an email, please check your junk and spam folders.","web_order_step_shipped":"Shipped","web_login_forgot_result_4":"If you still don\'t receive the email after requesting a password reset, please try again.","web_login_forgot_result_1":"A Link To Reset Your Password Has Been Sent To {{email}}","web_login_forgot_result_2":"Emails may experience a few minute delay.","web_product_compare_title":"Compare with similar items","web_order_cancel_lack_payment":"Did not offer the payment method I preferred","web_age_gate_intro":"According to local laws, you must be at least {{age}} years old to access the following products and content.","web_product_affirm_pay_title_us":"Buy it today with <br/>4 interest-free paymemts","web_product_instructional_manual_title":"Instructional manual","web_shop_crowdfunding_owner":"Official","web_points_col_used":"Used","web_login_sign_in_title":"Sign In","web_payment_klarna_step4_ca":"Choose your payment<br>plan and complete your<br>checkout.","web_xmas2025_door4_link_de":"https://vivosun.com/de-DE/vivosun-growhub-controller-all-in-one-platform-for-controlling-monitoring-improving-indoor-growing-dynamic-temperature-humidity-scheduling-p153885832384111130-v161077718084019353?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day4","web_diy_recommended_title":"Which {{size}} Tent Kit Is Right for Me?","web_shop_account_link_expired_prompt":"Link Expired","web_common_it_is_empty":"It is empty.","web_common_btn_back":"Back","web_common_go_upper":"GO","web_refund_return_reason_empty_error":"Please select Return Reason","web_purchase_declined_details":"<li>Accuracy: Your card number, CVV, and expiry date are correct.</li>\\n<li>Billing Info: Your billing address matches exactly with your bank records.<
1/li>\\n<li>Funds: Your card has sufficient balance and is authorized for online/international purchases.</li>","web_purchase_large_tip_vip":"You have been granted access to our VIP service.","web_shop_crowdfunding_hr_togo":"<span>{{timeRemaining}}</span> hr to go","web_xmas2025_door7_desc_de":"Holiday-Gummis hitten anders. Und ja \u2014 die S\xfc\xdfigkeitenmaschine macht\u2019s \xfcberraschend easy.","web_address_zipcode_unvalid_error":"Enter a valid ZIP code","web_common_hours_lower":"hours","web_register_title":"Register","web_refer_friend_desc_title":"Get {{brand}} points for referrals","web_common_num_items":"{{num}} item(s)","web_footer_link_create_account":"Create Account","web_shop_activity_remaining":"Remaining","web_purchase_large_p2p_email":"P2P Email","web_package_page_title":"Package","web_common_dialog":"web_common_dialog","web_coupons_drawer_title":"Coupon Alert","web_diy_customize_select_one":"Select one","web_referral_process":"How Do I Earn Commission?","web_points_col_point_type":"Point Type","web_checkout_points_tooltip":"Note: The points you applied to the order will be deducted from your account after you click \\"PLACE ORDER\\". You can cancel your order in \\"My Orders\\", and the {{brand}} points you\u2018ve applied will be returned to your account. Points can be used up to 60% of total price of the product.","web_wfd_checkout_module_poweredby":"Powered by <Logo/>","web_order_cancel_reason_label":"Please choose the reason for cancelling the order","web_payment_klarna_step2_ca":"Select Klarna<br>at checkout","web_common_reply_to":"Reply to","web_shop_crowdfunding_sign_in_now":"Sign in now","web_referral_intro_content":"Earn {{brand}} points by referring friends, family, or coworkers. When they place an order and confirm receipt, you\'ll earn points. Learn how to send a referral and discover how many {{brand}} points you can earn below.","web_shop_account_your_email_address":"Your Account Email Address <span>{{oldEmail}}</span>","web_survey_form_text_placeholder":"Open text \u2013 feel free to share as many ideas as you\u2019d like","web_refer_friend_leave_message_tips":"Leave a message for your friend here (optional)","web_shop_crowdfunding_min_left":"<span>{{timeRemaining}}</span> min left","web_summary_points_redeemed":"Points Redeemed","web_cart_empty_login_tip":"Have an account? Sign in to view your cart.","web_login_bind_btn_bind":"Bind Email","web_support_product_manuals":"Product Manuals","web_product_review_with_photo":"With Photo","web_form_warranty_item_placeholder_1":"Please enter item name","web_shop_activity_eligibility_expired":"Eligibility Expired","web_search_history_title":"Recently Searched","web_diy_ranking_top":"TOP {{sort}}","web_checkout_shipping_title":"Shipping Method","web_support_blogs_title":"Planting Academy","web_checkout_step_order_complete":"Order Complete","web_referral_send":"Send a referral","web_footer_link_account":"Account","web_diy_ranking_score_functionality":"Functionality","web_product_together_all_unavailable":"All selected are temporarily unavailable.","web_xmas2025_door12_desc_us":"2025. A year we grew together.\\nBuilt from feedback, shaped by growers.\\nBuilt for growers. Always. \ud83c\udf31","web_purchase_declined_tip_recommend":"For your security, our system could not process this transaction. Before retrying, please ensure:","web_fixed_register_points_tip":"GET EXTRA {{points}} Points","web_form_pwd_empty_error":"Please input your password.","web_refer_status_unissued":"Unissued","web_xmas2025_door12_link_us":"https://www.instagram.com/reel/DSb_HXCgA1A/","web_xmas2025_door2_link_de":"https://vivosun.com/de-DE/vivosun-lumaray-under-canopy-light-p161077717815584533-v161077717815584532?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day2","web_consent_customise_advertising_title":"Advertising cookies","web_common_android":"Android","web_list_description_fold":"Fold","web_cart_black_friday_tip":"Get a free Apple Watch when reach US$7777","web_shop_crowdfunding_mins_left":"<span>{{timeRemaining}}</span> mins left","web_diy_ranking_btn_comment":"Comment","web_pointsmarket_boost_boost_failed":"Boost Failed","web_diy_ranking_override_confirm":"Are you sure you want to use this KIT to override the one you are currently building?","web_shop_crowdfunding_frequently_asked_questions":"Frequently Asked Questions","web_help_about_vdays":"About VDays","web_purchase_failed_btn_status":"See Orders","web_account_security_title":"Account Security","web_footer_link_products":"Products","web_home_sfs_help_content":"<p>1. Daily deals will have time and quantity restrictions; purchases are limited to one item per person.</p><p>2. Cannot be combined with other promotions (e.g., Bundle Deals, Bonus Items, coupons), but points can be used.<
1/p><p>3. Reduced inventory hold time; if not paid within 1 hour on the checkout page, the order will be canceled.</p>","web_pointsmarket_boost_btn_in_progress":"BOOST IN PROGRESS...","web_home_sfs_price_off":"<Discount/><span>OFF</span>","web_time_starts_on":"Starts on","web_shop_redeem_redeem_points":"Redeem Points","web_pointsmarket_page_title":"Points Marketplace","web_refer_friend_desc_content":"Earn {{points}} points for {{price}} your friend spends when they place an order and confirm receipt. They can choose any product and you\u2019ll receive your {{brand}} points as soon as their order is confirmed.","web_shop_security_i_have_verified_my_email":"I have verified my email","web_shop_product_price_gst_tips":"(includes GST)","web_xmas2025_banner_subtitle":"Open A New Door Every Day<br>For 12 Days of Christmas Surprises.","web_diy_customize_step_required_error":"{{stepName}} required, please make a selection before proceeding to checkout.","web_payment_klarna_step2_de":"Select Klarna<br>at checkout","web_shop_product_subscribe_tips":"Subscribe to our newsletter for updates, exclusive offers, and gardening tips.","web_order_order_no":"Order No.","web_support_email_title":"Email Us","web_shop_security_email_verified_successfully":"Email Verified Successfully","web_shop_navi_shop_by_category":"Shop by Category","web_diy_view_reviews":"View Reviews","web_checkout_shipping_fee_tip":"Expected to arrive in <time>5-10</time> business days.","web_payment_klarna_policy_gb":"web_payment_klarna_policy_gb","web_upload_label_1":"Submit any pictures or video here:","web_crowd_funding_rules":"<div>\\n <h3>Vivosun Crowdfunding: Support Innovative Products</h3>\\n <section>\\n <p>Welcome to <b>the Official Vivosun Crowdfunding Project</b>, where innovation meets opportunity. This project\\n allows supporters to participate in the development of cutting-edge products and be part of the journey from\\n concept to reality. By contributing to Vivosun\'s crowdfunding campaigns, participants play a vital role in\\n bringing groundbreaking ideas to life.</p>\\n </section>\\n <section>\\n <p>As a gesture of appreciation, Vivosun offers exclusive rewards to early supporters. Once the campaign\\n successfully achieves its funding goal, rewards will be delivered according to the specified timeline.\\n Please note that <b>additional rewards will be shipped after the main product is delivered</b>. If an order\\n is canceled or returned, all associated rewards will also be canceled or returned.</p>\\n </section>\\n <h4>How to Participate</h4>\\n <section>\\n <p>Explore the Project</p>\\n <p>Visit the Vivosun crowdfunding page to discover innovative products currently in development. Detailed\\n descriptions highlight the features, benefits, and potential impact of each product.</p>\\n </section>\\n <section>\\n <p>Select a Reward Tier</p>\\n <p>Supporters can click the \\"Back\\" button, choose a preferred reward tier, and complete the payment process.\\n Each tier includes unique perks and gifts to acknowledge the support of participants.</p>\\n </section>\\n <section>\\n <p>Provide Feedback</p>\\n <p>The \\"Comments\\" section is available for supporters to share ideas, suggestions, or questions about the\\n project. The Vivosun team carefully reviews all feedback and responds to ensure clarity and transparency.\\n </p>\\n </section>\\n <section>\\n <p>Track Orders</p>\\n <p>Before shipment, participants can check the status of their orders or cancel them at any time through the\\n account center. Once the campaign is successfully funded, rewards will be shipped within the promised\\n timeframe.</p>\\n </section>\\n <h4>Important Guidelines</h4>\\n <section>\\n <p>Refund Policy</p>\\n <p>In the event that a campaign does not reach its funding goal by the deadline, all payments will be fully\\n refunded to the respective accounts.</p>\\n </section>\\n <section>\\n <p>Points Usage</p>\\n <p>Vivosun points can be used to offset the amount of crowdfunding orders. However, points are not eligible for\\n use in conjunction with other promotional offers.</p>\\n </section>\\n <section>\\n <p>Project Uncertainties</p>\\n <p>Crowdfunding projects may encounter delays or cancellations due to technical or production challenges. In\\n such cases, Vivosun will promptly notify supporters of any changes and handle refunds accordingly.</p>\\n </section>\\n <section>\\n <p>Payment Deadline</p>\\n <p>To ensure fairness and equal opportunity for all participants, orders must be completed within 1 hour. Unpaid\\n orders will be automatically canceled.</p>\\n </section>\\n <section>\\n <p>Reward Tier Limits</p>\\n <p>Certain reward tiers may have limited quantities and are available on a first-come, first-served basis.</p>\\n </section>
1\\n\\n <h4>Why Support Vivosun Crowdfunding?</h4>\\n <section>\\n <p>Be the First to Experience Innovation</p>\\n <p>Gain early access to Vivosun\'s latest and most advanced products before they hit the market. Supporters will\\n be at the forefront of cutting-edge technology and design.</p>\\n </section>\\n <section>\\n <p>Exclusive Rewards Await You</p>\\n <p>As a thank-you for your support, Vivosun offers special perks and gifts that are only available to\\n crowdfunding participants. These rewards are designed to make your contribution even more meaningful.</p>\\n </section>\\n <section>\\n <p>Shape the Future of Products</p>\\n <p>Your feedback matters! By sharing your ideas and suggestions, you can directly influence the development of\\n products that meet your needs and exceed your expectations.</p>\\n </section>\\n <section>\\n <p>Vivosun invites all supporters to join this exciting journey of innovation. Together, we can create a future\\n defined by excellence and creativity.</p>\\n </section>\\n\\n <h4>Delivery Guarantee</h4>\\n <section>\\n <p>We understand that backing a new product comes with questions. We want you to feel completely confident in supporting our project.</p>\\n </section>\\n <section>\\n <p>Our Guarantee:</p>\\n <ul style=\\"list-style: unset; margin-left: 20px;\\">\\n <li><p>Production Commitment: As soon as the campaign reaches its minimum funding goal, production will be fully secured, and manufacturing for the product will begin immediately.</p></li>\\n <li><p>Transparent Updates: We\'ll communicate clearly and proactively about every stage of manufacturing and shipping.</p></li>\\n <li><p>Protection from External Factors: Should external factors\u2014such as tariffs or global shipping disruptions\u2014cause delays, we\'ll keep you immediately informed and work diligently to minimize any impact.</p></li>\\n </ul>\\n </section>\\n <section>\\n <p>Our Promise:</p>\\n <p>Your investment is safe with Vivosun\u2014we are fully committed to delivering your backed product, and we will keep you informed every step of the way.</p>\\n </section>\\n</div>","web_help_shipping_policy":"Shipping Policy","web_checkout_products_title":"Items","web_referral_intro_title":"Love Gardening? Recommend {{brand}}","web_shop_redeem_grab_your_treat":"Grab Your Treat!","web_common_copyright":"\xa9{{year}} {{brand}} All Rights Reserved","web_login_cannot_open_popup":"Cannot open {{name}} login window, please close \\"Block Pop-ups\\" in Safari settings, or try logging in on other browsers.","web_common_complete":"Complete","web_login_btn_facebook":"Sign In With Facebook","web_shop_tutorial_more_task":"More tasks to claim Vivosun points","web_xmas2025_door10_desc_de":"Unser AeroFlux, das euer Klima aufs n\xe4chste Level bringt.","web_order_cancel_bad_reviews":"Bad reviews","web_common_btn_go_back":"Go Back","web_support_download":"Download","web_early_access_order_created":"Your trial order has been successfully created.","web_security_change_password":"Change Password","web_unsubscribe_link_return":"return to our website","web_shop_activity_early_access_application_eriod_closed":"Application Period Closed","web_account_address_title":"My Address Book","web_warranty_item":"Warranty Item","web_form_email_placeholder_1":"e.g., [email protected]","web_common_title_detail":"Detail","web_common_time_remaining":"{{timeRemaining}} remaining","web_diy_entrance_recommended_desc":"Professionally pre-built to meet the needs of most users.","web_xmas2025_rules_content":"<ul>\\n <li>\\n <h3>1. Event Period</h3>\\n <div>The Event Runs From December 8 To December 19 (PST).</div>\\n </li>\\n\\n <li>\\n <h3>2. How It Works</h3>\\n <p>One New Gift Box Becomes Available Each Day Starting December 8.</p>\\n <p>Gift Boxes Can Be Opened Anytime During The Event Period\u2014All 12 Boxes Remain Accessible Through December 31.</p>\\n <p>Earn 100 Points For Each Gift Box You Open.</p>\\n <p>Open All 12 Gift Boxes To Unlock Eligibility For The Mystery Merch.</p>\\n <p>All Points And Rewards Must Be Used Before December 31 (PST).</p>\\n </li>\\n\\n <li>\\n <h3>3. Mystery Gift Rules</h3>\\n <p>The Mystery Gift Must Be Redeemed Together With At Least One Regular Item In The Same Order\u2014It Cannot Be Purchased Separately.</p>\\n <p>Inventory Is Limited. Unlocking The Mystery Gift Grants Eligibility, But Specific Reward Items Can Only Be Redeemed While Stock Lasts.</p>\\n <p>If An Item Becomes Out Of Stock, It Will Not Be Available At Checkout.</p>\\n </li>\\n\\n <li>\\n <h3>4. Expiration & Limitations</h3>\\n <p>All Points And Mystery Gift Eligibility Expire On December 31 (PST). Please Redeem Or Place Your Order Before The Deadline.</p>\\n <p>Event Rewards Cannot Be Combined With Other Promotions, Including Free Shipping Offers, Bonus Items, Or Coupons.<
1/p>\\n <p>Each Customer Account May Participate Once.</p>\\n <p>VIVOSUN Reserves The Right Of Final Interpretation Of This Event.</p>\\n </li>\\n</ul>","web_help_referral_program":"Referral Program","web_help_growhub_e42":"GrowHub E42/E42A","web_write_review_points_tip":"Earn up to <strong>{{num}} points</strong> by posting a review.","web_wfd_orderdetail_claimentry_button":"Start a Claim","web_xmas2025_rewards_mystery_gift":"Mystery Gift","web_login_switch_account":"Switch Account","web_header_guide_winter_grow_guide":"Winter Grow Guide","web_common_happy_halloween":"Happy Halloween","web_common_pay_time":"Payment Date","web_order_cancel_popup_title":"Cancel Order","web_shop_crowdfunding_status_upcoming":"Upcoming","web_shop_account_tips_bind_new_email_desc":"Enter your new email address to receive a verification email. Please check your inbox and follow the instructions to complete the binding process.","web_price_free_upper":"FREE","web_common_read_more":"Read More","web_purchase_large_phone":"Phone","web_account_orders_title":"My Orders","web_cart_wholesale_minimum_tip":"Wholesale orders: Minimum US$3,000 for checkout.","web_pointsmarket_boost_btn_boost":"Boost","web_review_empty_tip":"Be the first to comment! Share your thoughts or questions about this Kit","web_xmas2025_door10_link_de":"https://vivosun.com/de-DE/vivosun-aeroflux-smart-grow-tent-heater-p164609661357825457-v164609661357825455?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day10","web_help_wrong_item_received":"Wrong Item Received","web_shop_security_sign_up_and_verify":"Sign Up & Verify","web_referral_faqs":"{{brand}} referral program FAQs","web_security_delete_account_title":"Delete Account","web_order_received":"Received","web_payment_klarna_policy_de":"You must be a resident of Germany, at least 18 years old, have a valid bank account, a good credit rating, and a mobile phone number. Late fees may apply.<br>Credit issuer: Klarna Bank AB (publ), Sveav\xe4gen 46, 111 34 Stockholm, Sweden General Terms of Business (AGB): <a href=\\"https://www.klarna.com/de/agb/\\" target=\\"_blank\\">https://www.klarna.com/de/agb/</a>.<br>Klarna\'s Buyer Protection excludes certain payment methods and purchases, e.g., travel, event tickets, or gift cards. <a href=\\"https://www.klarna.com/de/kauferschutzrichtlinie/\\" target=\\"_blank\\">Payment terms</a>.","web_xmas2025_door6_desc_us":"Who\u2019s gonna save Dr. Green from the kitchen chaos? \\nSanta\u2019s on the way with some serious Christmas magic. \u2728","web_checkout_sign_up_tip":"Sign up now and receive a special offer for new customers! Enjoy up to <span>{{discount}} OFF</span> your first purchase with our exclusive coupon, plus an extra <span>{{points}} points</span> added to your account. View the <privacy-link>Privacy & Cookie Policy</privacy-link> and <terms-link>Terms & Conditions</terms-link>.","web_cart_apply_coupon_tip":"Apply a Coupon Code in the next step.","web_common_btn_share_now":"Share Now","web_feature_3d":"3D","web_shop_crowdfunding_mins_togo":"<span>{{timeRemaining}}</span> mins to go","web_shop_crowdfunding_add_a_comment":"Add a comment...","web_common_divider_or":"Or","web_help_growhub_e25":"GrowHub E25","web_locale_change_region":"Change Region","web_view_count":"{{count}} View","web_common_update":"Update","web_consent_root_customise_cookies":"Customise Cookies","web_shop_crowdfunding_only_backers_can_post_comments":"Only backers can post comments.","
1web_consent_root_title":"Privacy & Cookie Policy","web_summary_total":"Total","web_common_rules":"Rules","web_shop_crowdfunding_faq":"FAQ","web_footer_link_my_account":"My Account","web_pay_cvv_label":"Security Code","web_account_points_title":"My Points","web_feature_animation":"Animation","web_coupons_available_title":"Available","web_subscribe_result_btn_text":"Click to find great deals!","web_download_app_popup_tips":"Scan the QR code to download and start your premium shopping journey today.","web_affiliate_program":"Affiliate Program","web_referral_invite_friends":"Invite friends now and get {{brand}} points","web_cart_black_friday_title":"Black Friday Exclusive Event","web_pointsmarket_boost_btn_continue":"Continue Boosting","web_common_link_copied_tip":"Your link has been copied!","web_shop_brand_story":"Brand Story","web_xmas2025_door1_link_us":"https://www.instagram.com/reel/DR_qYyRkYhW/","web_coupon_empty_tip":"Your coupon is empty","web_pay_btn_reload":"Reload","web_common_continue_shopping":"Continue Shopping","web_refer_friend_share_your_friends":"Share with your friends","web_pointsmarket_flash_total_points":"<Num/> <span>Points<span>","web_shop_redeem_process_step1_desc":"Click <a>here</a> to sign in to {{brand}} or create a new account.","web_shop_activity_share_for_a_gift":"Share to Receive a Gift","web_points_col_expiration_date":"Expiration Date","web_orders_nav_unpaid":"Unpaid","web_shop_account_verify_your_identity_desc":"Please enter your password to verify that you are the account owner.","web_checkin_plant_check_in":"Check in to level up your plant","web_list_sort_new":"New Arrivals","web_common_btn_return_to_cart":"Return to Cart","web_shop_crowdfunding_status_live":"Live","web_age_gate_full_age":"I AM {{age}}+","web_pointsmarket_products_title":"Trade Points for Products","web_support_blogs_desc":"Expert knowledge, technical guides, and seasonal insights.","web_shop_crowdfunding_crowdfunding":"Crowdfunding","web_xmas2025_door11_desc_de":"Unser Giveaway mit Royal Queen Seeds l\xe4uft gerade auf unseren Social-Media-Kan\xe4len!\\nLetzte Chance dieses Jahr \u2013 also nicht verpassen.","web_xmas2025_door9_desc_de":"Alles, was du brauchst \u2013 in einem Paket.","web_order_items_col_action":"Action","web_messages_tab_notification":"Notification","web_summary_tax":"Tax","web_shop_activity_early_access_invite_friends":"Invite friends to join!","web_shop_account_change_email_address":"Change Email Address","web_xmas2025_rewards_title":"Open Today\u2019s Door<br>To Reveal Your Reward","web_cart_recommend_title":"You May Want To Add","web_shop_crowdfunding_hrs_togo":"<span>{{timeRemaining}}</span> hrs to go","web_home_sfs_purchase_limit":"Purchase limit: {{userLimit}} qty","web_early_access_rules":"<h2 class=\\"g-title\\">What is Tester Club?</h2>\\n<p class=\\"g-msg g-msg-1\\">\\n Tester Club allows you to be among the first to experience our newest products! By spending a certain number of points, you can apply for the opportunity to try our products.\\n</p>\\n<p class=\\"g-msg\\">\\n After the application period ends, selected users will be chosen based on factors such as their application history, previous selection status, and feedback quality from past testing. Selected users will receive the product for free and have the chance to share valuable feedback. If not selected, the points spent during the application will be fully refunded to your account.\\n</p>\\n<p class=\\"g-msg\\">\\n Selected users who submit a review that meets the content requirements \u2014 at least 300 characters, 5 photos, and 1 video \u2014 and pass our review approval process will receive a full refund of the points used for the application.\\n</p>\\n\\n<h3 class=\\"g-sub-title\\">How to Participate?</h3>\\n<ol class=\\"g-msg\\">\\n <li>Browse the products available in the Tester Club module.</li>\\n <li>Submit your application using points.</li>\\n <li>\\n Wait for the results to be announced. The selected user list will be displayed in the Tester Club module, and you will also receive a notification.\\n </li>\\n</ol>\\n\\n<h3 class=\\"g-sub-title\\">Important Notes</h3>\\n<ul class=\\"g-msg\\">\\n <li>\\n After the results are announced, selected users must provide complete shipping information within the specified time; otherwise, the qualification will be forfeited.\\n </li>\\n <li>\\n Each Tester Club activity requires a new application. Selection is not continuous.\\n </li>\\n <li>\\n Except in cases of shipping loss or damage, Tester Club products cannot be returned or exch
1anged.\\n </li>\\n <li>\\n Only reviews that meet the required content format (text, images, and video) and pass manual review will qualify for a points refund.\\n </li>\\n <li>\\n Please submit your review within 14 days after receiving your order. Submissions made after this period will not be eligible for a refund.\\n </li>\\n</ul>","web_pay_card_number_invalid_tip":"Card number is invalid","web_pay_cancel_confirm_btn_cancel":"CONFIRM CANCEL","web_subscribe_email_placeholder":"Your Email","web_wfd_checkout_popup_content":"<ContentWrap>\\n <Part>\\n <Title>What\'s Covered by <SeelLogo/></Title>\\n <WorryFreeTips/>\\n </Part>\\n <Part>\\n <Title>Easy Resolution</Title>\\n <Msg>Resolve your issues with just a few clicks</Msg>\\n </Part>\\n <Part>\\n <Title>Complete Peace of Mind</Title>\\n <UlMsg>\\n <LiMsg>Zero-risk on your order with our protection</LiMsg>\\n <LiMsg>Get your refund promptly</LiMsg>\\n </UlMsg>\\n </Part>\\n </ContentWrap>","web_warranty_form_failed":"Submission failed. Please try again later or contact customer support.","web_common_btn_reset":"Reset","web_checkout_points_max_available":"Use Points","web_addresses_btn_add_address":"Add a New Address","web_coupons_empty_error":"Please enter coupon code.","web_common_free_gift":"Free Gift","web_order_option_tracking":"Tracking","web_list_filter_empty_tip":"There are no filter items on the current page","web_diy_customize_select_multiple":"Select multiple","web_help_customer_service_title":"Customer Service","web_tag_cyber_monday":"Cyber Monday","web_tag_wholesale":"Wholesale","web_summary_tip_reward_points":"Reward <span>{{num}}</span> {{brand}} Points","web_package_tracking_empty":"Tracking information is not yet available.","web_list_sort_by_label":"Sort By","web_order_info_shipping_title":"Standard Shipping","web_form_old_pwd_label":"Old Password","web_shop_activity_winter_surprise_rules_title":"Winter Surprise Promotion Rules","web_refund_return_reason_placeholder":"Please choose a reason","web_diy_ranking_kit_comments":"KIT Comments","web_support_banner_title":"Love Growing Green","web_return_request_no":"Request No.","web_list_filter_title":"Filter","web_product_unavailable_desc":"This product is currently unavailable in your selected region. Please return to the homepage to explore other items.","web_refer_friend_total_points":"Your {{brand}} Points","web_winter_grow_problem_1_title":"Cold nights killing your grow? Stay safe and warm this winter.","web_pay_card_form_title":"Card Information","web_help_about_diy_pools":"About Diy Pools","web_m_product_tab_technical_specs":"Specs","web_common_welcome_to":"Welcome to {{brand}}","web_support_products_title":"Explore Product Support","web_checkout_referrer_unavailable_error":"This REFID is not available","web_common_share":"Share","web_payment_klarna_slogen_gb":"web_payment_klarna_slogen_gb","web_pay_cvv_empty_tip":"Please enter security code","web_form_already_submitted":"Already Submitted","web_diy_customize_mandatory":"Mandatory","web_xmas2025_door4_link_us":"https://www.instagram.com/reel/DSHYs0pDdMe/","web_product_afterpay_help_us":"<p>You must be over 18, a resident of the U.S. and meet additional eligibility criteria to qualify. Late fees may apply. Estimated payment amounts shown on product pages exclude taxes and shipping charges, which are added at checkout. Click <a>here</a> for complete terms.</p><p>Loans to California residents made or arranged pursuant to a California Finance Lenders Law license.<br/>\xa9 2023 Afterpay</p>","web_help_warranty_policy":"Warranty Policy ","web_summary_subtotal":"Subtotal","web_shop_activity_thanks_for_joining":"Thanks for Joining!","web_shop_crowdfunding_gifts":"Gifts","web_purchase_large_whatsapp_account":"WhatsApp Business Account","web_account_profile_title":"My Profile","web_consent_root_desc":"To give you the best experience, we use cookies and similar technologies (\\"cookies\\") to provide our Services, to improve and to advertise the Service, to measure the effectiveness of advertising campaigns, and to ensure it is safe and secure for our users. Click \\"Accept all\\" or \\"Reject all\\" if you\'d like to allow or reject the placement of these technologies on your device. Alternatively, you can choose which types of cookies you\'d like to accept or reject by clicking \\"Customise cookies\\" below or any time in your privacy settings. For more details, see our <privacy>Privacy Policy</privacy>.","web_tag_off":"OFF","web_common_is_required":"is required.","web_support_call_action":"Call Now","web_consent_customise_necessary_title":"Strictly necessary cookies","web_pay_loading_tip":"wait","web_write_review_comment_placeholder":"Please write down your comments about this product.","web_shop_energy_label_product_data_sheet":"Product data sheet","web_xmas2025_door7_link_us":"https://vivosun.com/vivosun-candy-machine-p163960084060939787-v163960084060939680?utm_source=MKT&utm_medium=Xmas&utm_campaign=Day7","web_summary_shop_price":"Shop Price","web_help_loyalty_policy":"Loyalty Program","web_fixed_coupon_title":"Exclusive Discount","web_order_cancel_wrong_address":"Wrong Address or Product","web_pay_btn_place_order":"Place Order","web_shop_crowdfunding_campaign":"Campaign","web_time_ended":"Ended","web_help_legal_notice":"Legal Notice","web_support_view_pdf":"View","web_checkout_btn_choose_address":"Choose Another Address","web_order_prod_type_kit":"Kit","web_form_agree_error":"Please select \'I agree\' to continue.","web_xmas2025_door5_link_de":"https://vivosun.com/de-DE/tester-club?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day5","web_product_bundle_save":"You Save","web_common_score":"Score","web_winter_grow_expert_tips_desc":"See how experienced growers set up their grow rooms and choose the right gear to help plants thrive through the cold season.","web_help_about_points":"About Points","web_upload_msg_1":"<span>Choose file</span> or drop here","web_tag_super_slots":"Super Slots","web_checkout_coupon_drawer_trigger":"Check out <span>My Coupons<Num/></span>","web_diy_ranking_entrances_title":"Struggling to Decide?<br/>Let\'s Try Another Way to Find Inspiration","web_fixed_register_trigger":"REGISTER AND GET {{discount}} OFF","web_support_product_videos_title":"Watch & Learn","web_common_back_to_top":"Back to top","web_product_tab_technical_specs":"Technical Specs","web_order_out_stock_error":"All products in this order are out of stock","web_common_resend":"Resend","web_common_view_all":"View All","web_shop_account_have_completed_email_change":"I have completed my email change","web_referral_benefit_point2_description":"Earn {{points}} points for every {{price}} your referrals spend.","web_form_agree_tip":"I agree to the <privacy>Privacy & Cookie Policy</privacy> and <terms>Terms & Conditions</terms>.","web_common_btn_delete":"Delete","web_referral_benefit_point1_description":"Any registered user can become a referrer at any time.","web_diy_customize_unavailable_error":"The DIY KIT contains \\"Sold Out\\" or \\"Not Available\\" items, unable to proceed to checkout.","web_shop_activity_winter_surprise_rules_desc":"<p>1. Event Period: From December 11, 2024, 12:00 AM to December 17, 2024, 11:59 PM PST.</p>\\n\\n<p>2. During the event, users who share the event page or products will receive one chance to open a gift box. Each gift box contains \\"VIVOSUN Points\\" and a \\"Free Gift\\", both issued randomly. The VIVOSUN Points will be credited to the user\'s account immediately, and the Free Gift will be automatically added to their shopping cart.</p>\\n\\n<p>
13. The Free Gift cannot be purchased separately and must be checked out with at least one regular item.</p>\\n\\n<p>4. The Free Gift is available in limited quantities. Once sold out, no further gifts will be issued. If a user delays placing an order and the Free Gift is sold out, or the event ends before the order is placed, the user will lose the opportunity to claim the Free Gift.</p>\\n\\n<p>5. Do not remove the Free Gift from the shopping cart lightly. Once removed, it cannot be re-added.</p>\\n\\n<p>6. The Free Gift cannot be combined with other promotions, such as gifts with purchase, bundle discounts, or vouchers.</p>\\n\\n<p>7. To ensure fairness, self-referrals are strictly prohibited, including using the same email, IP address, or browser session. Violations will result in invalid recommendations.</p>","web_shop_product_notify_me":"Notify Me","web_footer_link_order_history":"Order History","web_diy_entrance_customize_desc":"Choose your tent, light, duct fan, and accessories.","web_payment_klarna_slogen_ca":"BUY now. Pay with Klarna at your own pace.","web_shop_account_link_expired_prompt_desc":"This verification link has expired. For security reasons, email verification links are only valid for 1 hour.","web_common_btn_save":"Save","web_purchase_success_status":"Payment successful!","web_unsubscribe_suc_tip":"Your will no longer receive email marketing from this list.","web_survey_result_thank_tip":"Thank you for being part of the {{brand}} family.<br/>Your input today helps us build the future of indoor growing together.","web_account_sidebar_title":"Personal Center","web_orders_order_detail_link":"Order detail","web_shop_activity_early_access_result_selected1":"You\u2019ve been selected to try the new product!","web_shop_activity_early_access_result_selected2":"Please provide your shipping information below within 14 days of the result announcement, or you will lose your trial eligibility. Your application points will be refunded if you miss the deadline.","web_unsubscribe_suc_title":"Unsubscribe Successfully!","web_xmas2025_door12_link_de":"https://www.instagram.com/vivosun.de/","web_shop_redeem_redeem_your_rewards":"Redeem Your Rewards","web_checkout_referrer_empty_error":"Please enter REFID.","web_crowd_funding_limit_reached":"Limit Reached","web_pointsmarket_checkin_popup_title":"420 CHECK-IN","web_form_comfirm_pwd_mismatch_error":"Your passwords do not match, please try again.","web_help_title_guide":"Guide","web_shop_activity_early_access_share_the_activity":"Share the Tester Club activity","web_payment_klarna_slogen_de":"BUY now. Pay with Klarna at your own pace.","web_xmas2025_door8_desc_us":"Some people have a grow room. Others basically live in it \ud83d\udc9a\\nThis setup might be one of the most dedicated grow spaces we\u2019ve seen in the community.","web_xmas2025_door6_desc_de":"Alle warten aufs Chriskind... Ich warte auf meine Frost-resistenten Buds..","web_home_sfs_btn_sale_is_ove_capfirst":"Sale Is Over","web_subscribe_title":"Sign up and get {{discount}} off your first order","web_profile_nick_name_label":"Nick Name","web_security_delete_account_note":"Note: The account CANNOT be recovered once deleted.","web_pay_card_number_empty_tip":"Please enter card number","web_shop_activity_early_access_announced_soon":"Thank you for applying! Results will be announced soon.","web_product_sold_out_upper":"SOLD OUT","web_shop_crowdfunding_comments":"Comments","web_shop_redeem_trick_or_treat_promotion_rules_title":"Trick or Treat Promotion Rules","web_referral_process_step2":"Step 2: Make referrals","web_referral_process_step1":"Step 1: Log into {{brand}}","web_shop_redeem_the_pumpkin_you_earned":"Pumpkins Earned","web_order_empty_tip":"Your order is empty","web_common_plus_points":"+{{num}} Points","web_common_btn_quick_view":"Quick View","web_purchase_order_total_payment":"Total payment","web_search_btn_search":"Search","web_form_pwd_pattern_letter_error":"Your password must contain at least one letter.","web_xmas2025_door3_desc_us":"This year\u2019s big wrap-up!\\nThanks for all the ideas \u2014 you helped us grow better. \ud83d\udc9a\\"","web_common_max_available":"Max available","web_early_access_review_tips":"<p class=\\"g-title\\">Let Your Voice Be Heard <br>\u2014 and Get Rewarded!</p>\\n <p class=\\"g-text\\">Submit your review with <strong>at least 300 characters, 5 photos, and 1 video</strong> to qualify for a full refund of the points you used to apply for this trial.</p>\\n <p class=\\"g-text\\">You\u2019ll also receive the standard review reward just like any regular review.</p>\\n <p class=\\"g-text\\"><a href=\\"/help/about-points\\">See About Points</a></p><p class=\\"g-text\\"></p><p class=\\"g-text\\">Your story matters \u2014 show us what this product means to you!</p></div>","web_xmas2025_door10_desc_us":"Turns out even grow legends have \u201coops\u201d moments. \ud83e\udd23\\nWe dug into the community and crowned this as one of the funniest. What\u2019s your most chaotic, facepalm grow moment?","
1web_pointsmarket_total_points":"Total Points","web_eggs_product_added":"The item has been automatically added to your cart and must be purchased together with other items in the same order.","web_write_review_check_form_error":"Please check the form","web_common_seconds_lower":"secs","web_form_pictures_label":"Pictures","web_fixed_register_plus":"Plus","web_order_order_date":"Order Date","web_write_review_success_titlle":"Successfully received","web_common_congratulations":"Congratulations!","web_support_call_title":"Call Us","web_home_sfs_stock_left":"<Num/> left","web_shop_crowdfunding_hrs_left":"<span>{{timeRemaining}}</span> hrs left","web_user_go_wholesale_tip":"This account is for wholesale customers only. Please log in at our wholesale site.","web_search_btn_clear":"Clear","web_diy_cart_discount_tip":"An extra <strong>{{discount}}</strong> OFF has been applied to the order subtotal already!","web_fixed_register_email_placeholder":"Enter your email address","web_subscribe_result_text_2":"You might also like to join our Facebook community where we share growing tips and exclusive deals with a group of passionate growers.","web_common_success_tip":"Successfully","web_subscribe_result_text_3":"Additionally, as a welcome gift, we want to share a code with you to get {{discount}} off your next order by Code: <CouponCode/>.","web_shop_crowdfunding_available_rewards":"Available Rewards","web_price_discount_off":"{{discount}} Off","web_shop_crowdfunding_day_left":"<span>{{timeRemaining}}</span> day left","web_subscribe_result_text_1":"We\'re so happy you\'ve decided to join us!","web_form_email_invalid_tip":"The email you entered is invalid. Please check your email and try again.","web_support_product_reviews_demos":"Reviews & Demos","web_cart_view_cart":"View Cart","web_referral_refid":"REFID","web_address_make_default":"Make Default","web_login_auth_failed":"Authentication failed!","web_product_paypal_pay_title_us":"Pay in 4 interest-free payments","web_shop_activity_units_available":"Units Available","web_referral_process_step3":"Step 3: Reap the Rewards","web_tag_black_friday":"Black Friday","web_product_paypal_pay_title_uk":"Pay in 3 interest-free payments","web_points_col_expired":"Expired","web_shop_security_verify_now":"Verify Now","web_pointsmarket_expiring_tip":"{{num}} Points expiring soon","web_shop_crowdfunding_estimated_delivery":"Estimated Delivery","web_tag_prime_day":"Prime Day","web_cupon_maximum_saving":"Maximum Saving","web_form_email_empty_tip":"Please enter your email address.","web_common_processing":"Processing","web_common_you_have_applied":"You\u2019ve Applied","web_product_total_reviews":"{{total}} Reviews","web_diy_ranking_help_title":"Rating Criteria","web_form_name_placeholder_1":"e.g., John Doe","web_xmas2025_door1_link_de":"https://vivosun.com/de-DE/campaign/winter-grow?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day1","web_shop_redeem_how_to_get_more_chances":"How to Get More Chances to Grab Treats?","web_common_learn_more":"Learn More","web_login_btn_google":"Sign In With Google","web_survey_points_credited":"{{num}} Points Have Been Credited To Your Account.","web_consent_privacy_title":"Security & Privacy Policy","web_cart_bonus_login_confirm":"Woops! You\'re not logged in. Please log in first and then add items to redeem points.","web_pointsmarket_boost_points_gained":"Points Gained","web_return_step_refused":"Refused","web_form_empty_error":"Required","web_tag_flash_sale":"Flash Sale","web_common_btn_close":"Close","web_common_btn_ok":"OK","web_home_sfs_help_title":"About Super Flash Sale","web_common_reviews":"Reviews","web_coupon_applied_successfully":"Coupon Code is applied successfully.","web_summary_retail_price":"Retail Price","web_payment_klarna_step3_gb":"web_payment_klarna_step3_gb","web_diy_ranking_use_this_kit":"Use This Kit","web_issue_description":"Issue Description","web_pay_cvv_invalid_tip":"Security code is invalid","web_help_contact_us":"Contact Us","web_product_limit_reached":"Limit Reached","web_order_cancel_duplicate":"Duplicate order","web_checkin_plant_done":"Your plant is flourishing beautifully!","web_purchase_failed_status":"Payment failed","web_shop_redeem_trick_or_treat_promotion_rules_desc":"1. Event Duration: The event will run from October 25, 2024, 00:00:00 to November 3, 2024, 23:59:59 P
1ST.<br/>2. Participation: During the event, you can log in or share the event page to receive 1 opportunity to grab event items. You will randomly receive between 1 to 10 \\"Candies\\" or 1 to 5 \\"Pumpkins.<br/>3. Referrals: Throughout the event, you can recommend {{brand}} to your friends by sharing your personalized invitation link. For every friend who successfully places an order and completes payment through your referral, you will receive 1 \\"Pumpkin\\" item. You will also earn Referral points. Check the <referral>Referral Program</referral> for more details. If the order is canceled, the Pumpkin and points will not be awarded.<br/>4. Fairness Policy: To ensure fairness, self-referrals are prohibited, including using the same email, IP address, or browser session. Non-compliant referrals will be deemed invalid.<br/>5. Redeeming Prizes: During the event, you can redeem prizes using the event items \\"Candy\\" and \\"Pumpkin\\" on the event page. Prizes may include products, merchandise, or {{brand}} points. Once redeemed, event prizes cannot be returned.<br/>6. Order Requirements: Prizes redeemed during the event cannot be purchased
1separately and must be combined with at least one regular product in the order.<br/>7. Limited Stock: Event products are limited in quantity and will be sold out once depleted.<br/>8. Discount Exclusions: Event products do not qualify for any other discounts, such as spend promotions, multi-item discounts, or coupon offers.","web_messages_clear_tip":"Are you sure to clear all unread messages?","web_common_add_cart_fail_tip":"The following items failed to add to cart","web_xmas2025_progress_tip":"{{count}} more to unlock the gift","web_locale_current_tip":"You are currently shopping in <strong>{{country}}</strong> ({{language}}).","web_form_pwd_pattern_letter_tip":"At least one letter","web_pointsmarket_flash_title":"Limited Offers","web_common_sku_upper":"SKU","web_help_fraud_awareness":"Fraud Awareness","web_product_buy_now_upper":"BUY NOW","web_form_phone_placeholder_1":"e.g., 234 567 8900","web_coupons_not_available_title":"Not Available","web_shop_activity_days_left":"Days Left","web_pay_reload_tip":"Please reload if it takes too long.","web_product_earn_points":"Earn up to <span>{{ num }}</span> {{ brand }} Points during checkout.","web_product_together_items_unavailable":"The following items are currently unavailable for purchase","web_search_return_no_matches":"Your search returned no matches.","web_shop_crowdfunding_pledged_of_amount":"pledged of {{targetAmount}}","web_return_step_request_submitted":"Request submitted","web_common_total_points_lower":"<Num/> points","web_halloween_time":"Oct 25 - Nov 3","web_shop_product_notify_me_when_available":"Notify Me When Available","web_common_btn_no":"NO","web_tag_bonus":"Bonus","web_order_option_refund":"Refund","web_wfd_checkout_module_title":"Worry-Free Delivery\xa0for {{priceExchangeDisplay}}","web_pointsmarket_checkin_trigger":"Check-In","web_common_btn_confirm":"Confirm","web_shop_activity_early_access_ongoing":"Ongoing","web_order_cancel_wrong_order":"Wrong order, will place a new order","web_xmas2025_door11_desc_us":"Santa has one last gift for you \ud83c\udf85\ud83c\udf81\u2728\\nWe\u2019re closing out our 12 days of Christmas magic with a finale giveaway\u2014and it\u2019s a big one: 1 lucky winner will score a Vivosun 4x2 Grow Tent Kit! Perfect for leveling up your grow space and starting the new year strong.","web_xmas2025_door1_desc_de":"Drau\xdfen ist es kalt, aber deine Pflanzen m\xfcssen nicht frieren!","web_diy_ranking_change_size_confirm":"Your current selection is ${currentSizeName} in size, while the size of the kit you need to use is ${recordSizeName}. Please confirm if you need to change the size.","web_payment_klarna_step3_de":"Log into or create your<br>Klarna account, with<br>instant verification","web_order_cancel_result_status":"The order has been canceled.","web_xmas2025_door11_link_us":"https://www.instagram.com/reel/DSZaUk9ES_q/","web_consent_customise_desc":"You can change your cookie settings to accept or refuse certain cookies and similar technologies below. Remember, you can customise your cookie settings at any time in your privacy settings. To learn more about the cookies we use, see our <privacy>Privacy Policy</privacy>.","web_eggs_cart_prod_tag":"Easter","web_common_redeem":"Redeem","web_shop_crowdfunding_view_details":"View Details","web_survey_start_survey":"Start Survey","web_activity_share_for_treats":"Share for Treats","web_shop_crowdfunding_unavailable_rewards":"Unavailable Rewards","web_cart_empty_btn_shopping":"Start Shopping","web_form_number_minus":"Minus","web_order_option_bigamount_tip":"In payment operation","web_fixed_register_suc_title":"THANKS FOR JOINING!","web_addresses_delete_confirm_tip":"Are you sure you want to delete this address?","web_product_buy_now":"Buy Now","web_pay_link_back_checkout":"Back to Place Order Page","web_diy_entrance_ranking_title":"Get Inspiration","web_payment_klarna_step3_ca":"Log into or create your<br>Klarna account, with<br>instant verification","web_tag_super_flash_sale":"Super Flash Sale","web_order_confirm_receipt_tips":"Are you sure you have received this order?","web_xmas2025_reward_modal_link":"Explore more","web_pay_card_number_label":"Card No.","web_diy_step_light":"Light","
1web_refund_page_title":"Refund","web_shop_crowdfunding_campaign_live":"Campaign Live","web_common_btn_post":"Post","web_order_pkg_confirm_receipt_tips":"Are you sure you have received this package?","web_refund_pictures_note":"In order to help you better solve the problem, please upload a picture Up to 5 pictures can be uploaded, each picture size does not exceed 5M, supports bmp, jpg, png, jpeg format files","web_xmas2025_rules_title":"Event\xa0Rules","web_common_btn_yes":"YES","web_time_days_left":"days left","web_support_email_action":"Send an Email","web_xmas2025_scroll_message18":"We grow together.","web_xmas2025_scroll_message17":"Every harvest is worth celebrating.","web_xmas2025_scroll_message16":"You grow plants; we support you.","web_xmas2025_scroll_message15":"Growth takes time\u2014so do great things.","web_xmas2025_scroll_message14":"Your grow space is your peace.","web_xmas2025_scroll_message13":"Small seeds, big hope.","web_xmas2025_scroll_message12":"Keep growing, keep shining.","web_xmas2025_scroll_message11":"Your passion inspires us.","
1web_xmas2025_scroll_message10":"Growing makes life gentler.","web_refund_return_reason_label":"Return Reason","web_shop_activity_early_access_more_way_boost_chances":"More ways to boost your chances!","web_locale_lable_currency":"Currency","web_wfd_checkout_popup_cta_opt_in":"Opt-In Now for Full Protection","web_spin_check_in_pp":"Check in the App","web_spin_better_luck":"Better Luck Next Time","web_diy_choose_dimensions_title":"Choose Your Dimensions","web_checkout_save_address_tip":"Please save the address.","web_common_page_not_found":"Page Not Found","web_fixed_coupon_sign_in_claim":"Sign In to Claim","web_xmas2025_door2_desc_us":"Can you spot which product isn\u2019t from this year\u2019s new launches?","web_checkout_sign_in_tip":"Already have an account? <span>Sign in now</span>","web_write_review_rating_empty_error":"Rating is requeired","web_activity_trick_or_treat_rules_title":"Trick or Treat Promotion Rules","web_return_step_refunded":"Refunded","web_shop_activity_early_access_apply_success_tips":"Your Application Has Been Submitted!","web_product_bundle_price":"Bundle Price","web_common_btn_view_points":"View Points","web_shop_security_email_verification_required_tips":"For security reasons, please verify your email before continuing with your order.","web_shop_activity_early_access_completed":"Completed","web_common_btn_login":"Sign In","web_wholesale_become_a_reseller":"Become A Reseller","web_support_community_action":"Join Community","web_summary_tip_already_saved":"Already saved: ","web_xmas2025_rewards_important":"Important:","web_diy_step_accessories":"Accessories","web_form_comfirm_pwd_empty_error":"Please confirm your password!","web_spin_you_get":"You Get","web_shop_activity_submint_shipping_address":"Submit Shipping Address","web_shop_task_referral_title":"Complete the Referral Tutorial tasks to claim Vivosun points.","web_help_about_diy_ranking":"About Diy Ranking","web_address_billing_address_tip":"Please make sure the billing address you enter below matches the name and address associated with the credit card you are using for this purchase.","web_shop_product_price_vat_tips":"(includes VAT)","web_help_community_guidelines":"web_help_community_guidelines","web_shop_redeem_process_step2_desc":"Press <ShareIcon/>
1 next to any product title to recommend your favorite items to friends. Alternatively, share your <a href=\\"/account/refer-a-friend\\">personalized invitation link</a>.","web_shop_activity_applicants":"Applicants","web_address_billing_address_title":"Billing Address","web_login_forgot_tip_1":"If you\'ve forgotten your password, please enter your registered email address.","web_login_forgot_tip_2":"We\'ll send you a link to reset your password.","web_order_option_check_out":"Check Out","web_points_col_points_amount":"Points Amount","web_product_paypal_pay_help_uk":"<Div>\\n <P>Split your purchase into 3 with no sign-up fees or late fees.</P>\\n <P>1. Choose PayPal at checkout to pay later with Pay in 3.</P>\\n <P>2. Complete your purchase with the first payment today. </P>\\n <P>3. Remaining payments are taken automatically.</P>\\n <P>Pay in 3 is an unregulated credit agreement, so you will have fewer protections under this agreement than you would under a regulated credit agreement. Carefully consider whether the purchase is affordable and how you will make the repayments. Be aware of the possible impact of using Pay in 3 and of missing payments, including making other borrowing more difficult or more expensive. Pay in 3 eligibility is subject to status and approval. 18+ UK residents only. Available for purchases of \xa330 to \xa32,000. Terms and conditions apply. PayPal Pay in 3 is a trading name of PayPal UK Ltd, Whittaker House, Whittaker Avenue, Richmond-Upon-Thames, Surrey, United Kingdom, TW9 1EH. Learn more about Pay in 3: <A target=\\"_blank\\" href=\'https://www.paypal.com/uk/webapps/mpp/paypal-payin3/faq\'>\\n https://www.paypal.com/uk/webapps/mpp/paypal-payin3/faq\\n </A></P>\\n </Div>","web_common_view_more":"View More","web_user_go_wholesale_btn":"Visit Wholesale","web_winter_grow_problem_3_title":"Dry, crispy leaves? Fix it fast with this plant humidifier","web_product_paypal_pay_title_au":"Pay in 4 interest-free Payments","web_xmas2025_door5_link_us":"https://vivosun.com/vivosun-vcure-smart-post-harvest-box-p159688692373090695-v159688692373090694?utm_source=MKT&utm_medium=Xmas&utm_campaign=Day5","web_xmas2025_door8_desc_de":"Lerne LumaLight kennen \u2013 Power, Pr\xe4zision und volle Kontrolle f\xfcr deinen Grow.","web_footer_link_my_addresses":"My Addresses","web_footer_link_log_in":"Log in","web_product_paypal_pay_help_us":"<Div>\\n <P>Split your purchase into 4 with no impact on credit score and no late fees.</P>\\n <P>1. Choose PayPal at checkout to pay later with Pay in 4.</P>\\n <P>2. Complete your purchase with a 25% down payment.</P>\\n <P>3. Use autopay for the rest of your payments. It\'s easy!</P>\\n <P>Pay in 4 is available to consumers upon approval for purchases of $30 to $1,500.</P>\\n <P>Pay in 4 is currently not available to residents of MO or NV. Offer availability depends on the merchant and also may not be available for certain recurring, subscription services. When applying, a soft credit check may be needed, but will not affect your credit score. You must be 18 years old or older to apply. PayPal, Inc.: Loans to CA residents are made or arranged pursuant to a CA Financing Law License. GA Installment Lender Licensee. NMLS #910457. RI Small Loan Lender Licensee. NM residents: Find more disclosures related to Pay in 4.</P>\\n </Div>","web_shop_activity_early_access_rules_desc7":"Be the first to experience Vivosun\'s new product! Apply now for an exclusive preview! {{link}}","web_support_download_pdf":"Download PDF","web_product_paypal_pay_title_ca":"Pay in 4 interest-free Payments","web_checkout_payment_empty_tip":"Please check payment method","web_xmas2025_door5_desc_us":"Santa in the grow room is like: \u201cWhy are you burping jars in 2025?\u201d \\nSmart curing > babysitting jars.","web_pay_expiry_label":"Expiration Date","web_write_review_no_products":"There are no products to review","web_write_review_points_help":"<div class=\\"title\\">Review our products to earn {{brand}} points</div><div class=\\"content\\">Once you meet the minimum text requirement (at least 50 characters, excluding spacing), you will receive 30 points. Including a photograph in your review will earn you 60 points, and if your review includes a video longer than 5 seconds, you will receive an extra 40 points. What\'s even more thrilling is that if your review is chosen as a high-quality review by us, you will be entitled to receive up to 100 additional points.</div><table class=\\"table\\"><thead><tr><th>
1Action</th><th>Points</th></tr></thead><tbody><tr><td>Post a comment</td><td>30</td></tr><tr><td>Post a comment with pictures</td><td>60</td></tr><tr><td>Post a comment with a video</td><td>70</td></tr><tr><td>Post a comment with both pictures and a video</td><td>100</td></tr><tr><td>Selected as a high-quality review</td><td>up to 200</td></tr></tbody></table>","web_shop_order_perk":"Perk","web_pointsmarket_boost_boost_successful":"Boost Successful","web_cart_bonus_more_options":"More Options","web_referral_benefit_point3_description":"1) Redeem {{brand}} points for shopping credits ({{points}} {{brand}} points = {{price}}) or exclusive products in <points-marketplace>{{brand}} Points Marketplace</points-marketplace>.<br/>2) Enjoy an extended point validity of one year!","web_early_access_check_order":"You can check the status anytime in <ordersLink>My Orders.</ordersLink>","web_common_checkout":"Checkout","web_shop_redeem_can_redeem":"Can redeem {{pointsNum}} points","web_common_recipient_email":"Recipient email","web_coupons_not_available_error":"This coupon code is not available.","web_tag_bundle_deals":"Bundle","web_fixed_register_suc_tip_2":"Get your {{num}} points and use the code below to get {{discount}} off your first order","web_shop_crowdfunding_backers":"backers","web_fixed_register_suc_tip_1":"YOU ARE ON THE LIST!","web_age_gate_under_age":"I AM NOT {{age}}+","web_xmas2025_rewards_important_content":"Mystery Gifts cannot be purchased
1separately and must be checked out with at least one regular item. Gifts are limited and available while supplies last. Points and Mystery Gift rewards expire on December 31\u2014please use them before they expire.","web_shop_account_email_change_success_prompt_desc":"Log in again with new email address","web_home_sfs_btn_coming_soon_capfirst":"Coming Soon","web_common_btn_submit":"Submit","web_winter_grow_problem_2_title":"Still getting popcorn buds? Here\'s the lighting trick","web_return_step_waiting_for_refund":"Waiting for refund","web_refer_status_issued":"Issued","web_consent_customise_necessary_desc":"These cookies are strictly necessary for our site to work properly and to provide you with our services and features. For instance, they help us to ensure our services are safe and secure to use, to authenticate users logging in, to analyse how our customers use the site, to improve both its functionality and your shopping experience, and to enable accessibility. To learn more about these cookies, see our <privacy>Privacy Policy</privacy>.","web_points_col_earned":"Earned","web_referral_benefit":"What are the benefits of being a {{brand}} referral?","web_help_item_lost_in_transit":"Item Lost in Transit","
1web_share_msg_01":"This {{brand}} event is really interesting! You can earn free points and get merchandise. Come and check it out! ","web_shop_activity_early_access_selected":"Selected","web_xmas2025_rewards_collected_title":"Gifts You\u2019ve Collected","web_referral_process_step3_description":"Encourage your friends to click your link and purchase items. 30 days after their order is confirmed and delivered, you can get to enjoy your well-earned {{brand}} points!","web_payment_klarna_step1_gb":"web_payment_klarna_step1_gb","web_common_more":"More","web_login_forgot_popup_title":"Forgotten Password","web_common_coupon_code":"Coupon Code","web_purchase_btn_view_order":"View My Order","web_diy_ranking_comment_placeholder":"What do you think of this KIT?","web_home_sfs_btn_coming_soon":"COMING SOON","web_common_points":"Points","web_common_btn_copy":"Copy","web_checkin_rules":"<div>\\n <h2>Vivosun Check-in Event Rules</h2>\\n <h3>Event Duration:</h3>\\n <p>From April 8 to April 21</p>\\n\\n <h3>How to Participate?</h3>\\n <p>\\n Step 1: Check-in<br/>\\n Visit the event page and complete the check-in to instantly receive 100 points.\\n </p>\\n <p>\\n Step 2: Share the Event<br/>\\n Share the event page with your friends. Once the sharing is completed, your points will automatically increase from 100 points to 420 points!\\n </p>\\n\\n <h3>Important Notes:</h3>\\n <ul>\\n <li>1. Each user is allowed to check in <strong>only once</strong> during the event period.</li>\\n <li>2. The point reward will only be unlocked <strong>after the event page is successfully shared</strong>.</li>\\n <li>3. Points will be immediately added to your account upon completion of each step (check-in and sharing).</li>\\n <li>4. Points earned from this event can be used to enjoy discounts or exchange for rewards on the Vivosun website.</li>\\n <li>5. For more details about points, please visit \\n <a href=\\"/help/loyalty-program\\" target=\\"_blank\\">Vivosun Loyalty & Rewards</a>.\\n </li>\\n </ul>\\n\\n <h3>Disclaimer:</h3>\\n <p>Vivosun reserves the right to modify, suspend, or terminate this event at any time without prior notice.</p>\\n</div>\\n","web_product_afterpay_title":"Shop now, pay later! <br/>Always interest-free.","web_support_content_support":"Content & Support","web_xmas2025_door3_link_de":"https://vivosun.com/de-DE/campaign/winter-grow?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day3","web_help_about_us":"About Us","web_checkin_modal_share_tip":"Share and turn {{prev}} into {{next}} points instantly!","web_common_next":"Next","web_help_intellectual_property":"Intellectual Property","web_common_share_copy_link":"Copy Link","web_tag_super_upper":"SUPER","web_help_growing_guide":"Growing Guide","web_order_option_return_progress":"Return Progress","web_coupons_expired_coupons":"Expired Coupons","web_account_sign_in_register":"Sign In/Register","web_xmas2025_banner_title":"Knock, Click,<br>And Grow!","web_common_item":"Item","web_order_step_finish":"Finish","web_return_refund_reason_label":"Refund Reason","web_form_pwd_min_length_error":"Your password must contain at least 8 characters.","web_order_cancel_shipping_fee":"I am not willing to pay the shipping fee","web_cart_list_title":"Item Summary","web_spin_already_claimed":"You\u2019ve already claimed this reward. Each user can only receive it once.","web_shop_redeem_get_more_pumpkins":"Get More Pumpkins","web_checkin_btn_congrats":"<strong>CONGRATS!<strong><span>You\'re Done!</span>","web_spin_coupon_added":"Coupon added! Check your account now.","web_login_sdk_load_failed":"{{name}} SDK failed to load.","web_wfd_checkout_popup_benefit1_title":"Get a Full Refund, No Questions Asked","web_checkin_earned_points":"You\'ve Earned: <Num/> Points","web_product_add_to_cart":"Add to Cart","web_winter_grow_problem_4_title":"Stop mold before it ruins your harvest -- the smart way to manage humidity","web_checkout_register_tip":"REGISTER AND GET <span>{{discount}} OFF PLUS {{points}} POINTS</span>","web_consent_customise_always_on":"Always On","web_checkout_address_empty_tip":"Please save your shipping address before placing an order.","web_list_sort_price_lower":"Price Low To High","web_tag_winter_sale":"Winter Sale","web_winter_grow_problem_5_title":"Cold Soil = no sprouts: how to warm things up for quick germination","web_product_bundle_contains":"This bundle contains {{num}} items <span>(may ship separately)</span>","web_diy_customize_help_title":"Build Your Own Kit","web_pointsmarket_checkin_help_content":"<p>1. During the event period (00:00PM PST, April 15, 2024, to 00:00PM April 22, 2024), you can earn {{brand}} points by checking in daily. If you miss a check-in on a particular day, you can make it up during the event period, but not after the event ends.</p><p>2. Each check-in earns you 42 points, and you have a chance to boost your points to a maximum of 10X (420 Points).</p>","web_form_pwd_label":"Password","web_xmas2025_door3_desc_de":"Winter ist die beste Zeit, es drinnen gem\xfctlich zu machen \u2013 auch f\xfcr deine Pflanzen.","web_common_status":"Status","web_common_btn_checkout_upper":"CHECKOUT","web_checkout_step_place_order":"Place Order","web_refund_description_placeholder":"Fill in the description to help businesses better deal with after-sales problems","web_help_shipping_types":"Shipping Types","web_product_compare_item_unavailable":"{{name}} is temporarily unavailable.","web_form_description_placeholder_1":"Please describe the issue with your product...","web_diy_step_duct_fan":"Duct Fan","web_product_together_title":"Frequently Bought Together","web_xmas2025_door8_link_de":"https://vivosun.com/de-DE/vivosun-lumalight-serie-c311?utm_source=DEMKT&utm_medium=Xmas&utm_campaign=Day8","web_payment_klarna_step1_de"
1:"Add items<br>to your cart","web_wfd_checkout_notice_emailalert":"Please ensure your order email address is correct and able to receive messages, otherwise you may not receive the Worry-Free Delivery protection policy from Seel.","web_common_sku":"Sku","web_pointsmarket_boost_btn_next":"Boost the Next One","web_product_paypal_pay_title_de":"Try it first and pay 30 days later","web_shop_crowdfunding_campaign_successful":"Campaign Successful","web_payment_klarna_step1_ca":"Add items<br>to your cart","web_common_reloading":"Reloading","web_common_empty_tip":"It is empty here :-(","web_search_placeholder":"Search {{brand}}","web_shop_crowdfunding_sign_in_to_comment":"<u>Sign in</u> to comment","web_return_step_cancelled":"Cancelled","web_spin_disclaimer":"Only for illustrative purpose. Everyone can get the best result in this interface.","web_consent_customise_confirm_my_choice":"Confirm My Choice","web_refer_friend_page_title":"Refer a Friend","web_shop_redeem_chance_left":"{{chanceNum}} Chance(s) Left","web_common_results_number":"{{totalNum}} Results","web_support_search_for_support":"Search for Support","web_price_save_discount":"Save {{discount}}","web_shop_security_verify_your_email":"Verify Your Email"}')},60124:function(e){"use strict";e.exports=JSON.parse('{"web_cart_total_selected_tip":"{{num}} Seleccione","web_eggs_points_added":"Los puntos se han agregado autom\xe1ticamente a su cuenta y se pueden usar para futuras compras o recompensas.","web_coupons_use_tip":"Puede utilizar los siguientes cupones en los art\xedculos de su carrito de compras, util\xedcelos en la p\xe1gina de realizar el pedido","web_support_product_tag_official":"Oficial","web_common_minute_lower":"min","web_shop_crowdfunding_back_this_project":"Respalde este proyecto","web_shop_account_hint_enter_new_email":"Ingresa tu nueva direcci\xf3n de correo electr\xf3nico","web_shop_activity_early_access_result_unselected2":"Esta vez no te seleccionaron, pero no te preocupes: tus puntos se han reembolsado en su totalidad a tu cuenta.","web_shop_activity_early_access_result_unselected1":"\xa1Mejor suerte la pr\xf3xima vez!","web_shop_activity_early_access_title":"Club de probadores","web_shop_activity_early_access_result_unselected3":"\xa1Est\xe9 atento a las pr\xf3ximas oportunidades para probar nuestros \xfaltimos productos!","web_support_community_desc":"Obt\xe9n respuestas de otros productores en nuestra comunidad de aplicaciones.","web_product_alsolike_title":"Tambi\xe9n te puede interesar","
1web_form_email_label":"Correo electr\xf3nico","web_xmas2025_reward_modal_desc":"web_xmas2025_reward_modal_desc","web_xmas2025_door9_link_de":"https://vivosun.com/de-DE/Small-Smart-Kits-C1444? utm_source=DEMKT&utm_medium=xmas&utm_campaign=d\xeda 9","web_form_pictures_empty_error":"Sube al menos 1 imagen.","web_consent_customise_preferences_desc":"Estas cookies recordar\xe1n sus preferencias para que podamos hacer que su experiencia de compra sea lo m\xe1s fluida posible y personalizada para usted. Sin estas cookies, es posible que aspectos como las preferencias de tu cuenta o la localizaci\xf3n no funcionen correctamente. Para obtener m\xe1s informaci\xf3n sobre estas cookies, consulta nuestra <privacy>Pol\xedtica de privacidad</privacy>.","web_xmas2025_door1_desc_us":"Escuchas algo en tu tienda de cultivo... es Santa Claus. \ud83c\udf85","web_diy_entrance_ranking_desc":"Consulta las opciones de kits m\xe1s populares.","web_shop_redeem_process_step3":"Paso 3: Gana calabazas y puntos de recomendaci\xf3n","web_shop_redeem_process_step2":"Paso 2: Hacer referencias","web_form_submission_successful":"Env\xedo exitoso","web_shop_redeem_process_step1":"Paso 1: Iniciar sesi\xf3n","web_address_select_province_first":"Por favor, selecciona un {{label}} primero.","web_shop_community":"Comunidad","web_order_cancel_payment_rejected":"Se rechaz\xf3 el pago","web_product_view_full_info":"Ver informaci\xf3n completa del producto","web_tag_new":"Nuevo","web_order_order_id":"ID del pedido","web_shop_redeem_get_more_chances":"Obtenga m\xe1s oportunidades","web_contact_location_title":"Ubicaci\xf3n","web_support_manuals":"Manuales","web_checkout_btn_apply":"Aplica","web_shop_activity_early_access_guidelines_desc1":"Para postularse, {{points}} los puntos se deducir\xe1n de su cuenta. Si no es seleccionado, se le reembolsar\xe1n los puntos. Confirme su solicitud.","web_wfd_orderdetail_claimentry_title":"Presente una reclamaci\xf3n de entrega sin preocupaciones","web_register_btn_register":"Registrarse","web_shop_crowdfunding_limited_quantity":"Cantidad limitada","web_help_privacy_policy":"Pol\xedtica de privacidad","web_pay_cvv_popup_tip":"El c\xf3digo de seguridad de 3 d\xedgitos normalmente se encuentra en el reverso de la tarjeta. Las tarjetas American Express tienen un c\xf3digo de 4 d\xedgitos ubicado en la parte frontal.","web_product_sold_out":"Agotado","web_checkout_btn_remove":"Eliminar","web_pointsmarket_limit_num":"L\xedmite {{num}}","web_pay_cancel_confirm_tip":"\xbfEst\xe1s seguro de que deseas cancelar el pago? Si su pedido no ha sido pagado <Countdown/>, se cancelar\xe1.","web_xmas2025_door6_link_de":"https://vivosun.com/de-DE/campaign/Winter-grow? utm_source=DEMKT&utm_medium=XMAS&utm_campaign=D\xeda 6","web_remaining_count":"{{count}}est\xe1 restante","web_package_package_index":"Paquete {{num}}","web_create_pwd_page_title":"Crear una contrase\xf1a nueva","web_pay_accept_cards_title":"Aceptamos","web_xmas2025_door4_desc_us":"\xa1Aparentemente, nuestro \xe1rbol de Navidad ahora tambi\xe9n es un tablero de deseos! \ud83d\udc8c\\nCu\xe9ntanos: \xbfqu\xe9 le vas a pedir a Pap\xe1 Noel este a\xf1o: material para cultivar, cogollos m\xe1s grandes, m\xe1s d\xedas libres?","web_return_request_date":"Fecha de solicitud","web_order_cancel_result_back_tip":"El reembolso se devolver\xe1 a tu cuenta de pago. Compru\xe9balo m\xe1s tarde.","web_points_points_expiring_soon_tip":"Los puntos que vencen pronto significan que vencer\xe1n en un plazo de 7 d\xedas.","web_form_comfirm_pwd_label":"Confirmar contrase\xf1a","web_form_number_plus":"Plus","web_order_cancel_others":"Otros","web_summary_order_total_price":"Precio total del pedido","web_cart_empty_tip":"Tu carrito est\xe1 vac\xedo","web_product_review_no_score":"Sin puntuaci\xf3n","web_early_access_reclaim_points":"Revisa y recupera puntos","web_diy_recommended_entrances_title":"\xbfNo es lo que est\xe1s buscando?<br/>Probemos de otra manera.","web_shop_account_request_deletion":"Solicitud de eliminaci\xf3n","web_common_btn_cancel":"Cancelar","web_diy_customize_optional":"Opcional","web_support_product_official_tutorials":"Tutoriales oficiales","web_common_coupons":"Cupones","web_checkout_shipping_empty_tip":"Compruebe el m\xe9todo de env\xedo","web_account_logout":"Cerrar sesi\xf3n","web_product_not_choose_tip":"Por favor, elige {{name}}","web_age_gate_full_age_next":"Y ACEPTO QUE SE VERIFIQUE LA EDAD","web_support_blog_cats_title":"Explore las categor\xedas","web_xmas2025_door11_link_de":"https://www.instagram.com/p/DSX1TbsjIGv/?img_index=1","web_product_coupons_title":"Comprar cupones","web_consent_customise_preferences_title":"Cookies de preferencias","web_checkout_step_pay":"Pagar","web_support_product_blogs_title":"Base de conocimientos","web_common_minutes_lower":"minutos","web_coupons_code_label_upper":"C\xd3DIGO","web_warranty_form_success":"Gracias. Se ha presentado su reclamaci\xf3n de garant\xeda. Nos pondremos en contacto con usted en breve.","web_checkout_btn_add_address":"Agregar nueva direcci\xf3n","web_list_total_products":"{{totalNum}} Productos","web_time_day_left":"d\xeda restante","web_pay_cancel_confirm_btn_continue":"SEGUI
1R PAGANDO","web_address_country_label":"Regi\xf3n","web_orders_nav_all_orders":"Todos los pedidos","web_xmas2025_door2_desc_de":"Compruebe el dado LumaRay Under Canopy Light: para Growzelte de 4 \xd7 4 pies","web_locale_select_region_country":"Seleccione regi\xf3n/pa\xeds","web_xmas2025_door7_desc_us":"Todo lo que se necesita es una m\xe1quina de gomitas para que Santa se olvide del trineo... \ud83d\ude06","web_check_coupon_in_the_app":"Compruebe el cup\xf3n en la aplicaci\xf3n","web_common_btn_share_now_upper":"COMPARTIR AHORA","web_checkin_modal_share_suc_tip":"Sus puntos han aumentado desde {{prev}} en {{next}}","web_return_item_list":"Lista de art\xedculos","web_checkout_points_title":"{{brand}} Puntos","web_common_second_lower":"segundo","web_purchase_declined_status":"No se pudo completar el pago","web_orders_nav_returns":"Devoluciones","web_support_services_title":"Consulta y soporte especializado","web_form_pwd_min_length_tip":"M\xednimo 8 caracteres","web_shop_crowdfunding_status_successful":"Exitoso","web_messages_tab_garden":"Jardin","web_product_unavailable_error":"{{productName}} no est\xe1 disponible temporalmente.","web_product_total_review":"{{total}} Revisar","web_common_view_less":"Ver menos","web_shop_crowdfunding_share_to":"Compartir a","web_order_cancel_coupon_code":"Olvid\xe9 aplicar el c\xf3digo de cup\xf3n","web_checkin_get_num_points_now":"Conseguir {{num}} Puntos ahora","web_fixed_register_register_and_receive":"Reg\xedstrate y recibe","web_product_tab_bundle_list":"Lista de paquetes","web_common_all_upper":"TODOS","web_common_review":"Revisar","web_product_sale_price":"Precio de venta","web_credited_to_your_account":"se han acreditado en tu cuenta","web_contact_amazon_email_text":"Para consultas o incidencias posteriores a la compra, ponte en contacto con: <Email/>","web_shop_account_change_password":"Cambiar contrase\xf1a","web_purchase_large_tip_following":"Tambi\xe9n puede ponerse en contacto con nosotros de las siguientes maneras","web_common_hour_lower":"hora","web_form_upload_msg_1":"Para ayudarnos a entender mejor tu problema, adjunta una foto o un v\xeddeo que lo demuestre de la forma m\xe1s clara posible.","web_age_gate_under_age_next":"POR FAVOR VUELVE","web_help_technical_guide":"Gu\xeda t\xe9cnica","web_consent_customise_title":"Preferencia de cookies","web_common_ended":"Finalizado","web_order_cancel_not_want":"No lo quiero","web_account_message_title":"Mi mensaje","web_overview":"Visi\xf3n general","web_eggs_keep_hunting":"Sigue cazando","web_messages_tab_my_asset":"Mi activo","web_shop_activity_early_access_applications_closed":"Solicitudes cerradas","web_list_sort_price_higher":"Precio de mayor a menor","web_points_col_date_and_time":"Fecha y hora","web_common_got_it":"Lo tengo","web_common_points_upper":"PUNTOS","web_address_shipping_note":"Aseg\xfarese de que la informaci\xf3n de env\xedo sea completa y precisa en caso de que nosotros o el transportista necesitemos comunicarnos con usted en relaci\xf3n con su pedido.","web_order_option_repurchase":"Recompra","web_cart_delete_confirm":"\xbfEst\xe1s seguro de que deseas eliminar los art\xedculos?","web_address_empty_tip":"Tu direcci\xf3n est\xe1 vac\xeda","web_shop_account_identify_email_send_successfully":"Se ha enviado un enlace para cambiar tu direcci\xf3n de correo electr\xf3nico a <span>{{newEmail}}</span>","web_spin_stop":"Parar","web_xmas2025_door12_desc_de":"2025. A year we grew together.\\nBuilt from feedback, shaped by growers.\\nBuilt for growers. Always. \ud83c\udf31","web_common_btn_check_in_upper":"REGISTRARSE","web_shop_activity_early_access_guidelines":"Pautas de solicitud de Tester Club","web_points_points_expiring_soon":"Los puntos vencer\xe1n pronto","web_common_days_lower":"d\xedas","web_product_tab_reviews":"Rese\xf1as ({{num}})","web_pay_cvv_popup_title":"Informaci\xf3n sobre el c\xf3digo de seguridad*","web_common_day_lower":"d\xeda","web_support_num_articles":"{{num}} Art\xedculos","web_account_coupons_title":"Mis cupones","web_write_review_success_content":"<strong>{{num}} puntos</strong> obtenido por publicar una rese\xf1a.","web_winter_grow_you_might_also_need":"Es posible que tambi\xe9n necesite","web_xmas2025_products_title":"Regalos elegidos solo para ti","web_xmas2025_
1scroll_message9":"Cada hoja lleva tu cuidado.","web_checkout_referrer_title":"Referente","web_xmas2025_scroll_message7":"Que tu cuarto de cultivo est\xe9 feliz.","web_xmas2025_scroll_message8":"Desde Vivosun, con amor.","web_xmas2025_scroll_message5":"La alegr\xeda navide\xf1a comienza con el crecimiento.","web_shop_crowdfunding_days_togo":"<span>{{timeRemaining}}</span> faltan d\xedas","web_xmas2025_scroll_message6":"Te deseo una temporada fruct\xedfera.","web_xmas2025_scroll_message3":"Plantas verdes, vacaciones brillantes.","web_xmas2025_scroll_message4":"Paz, alegr\xeda y plantas pr\xf3speras.","web_xmas2025_scroll_message1":"Que tu cultivo brille esta Navidad.\\nLuces c\xe1lidas, corazones c\xe1lidos.","web_xmas2025_scroll_message2":"\xa1Feliz Navidad, feliz crecimiento!","web_purchase_failed_btn_retry_to_pay":"Vuelva a intentar pagar","web_product_ratio_points":"{{ratio}}x puntos","web_product_together_add_cart":"A\xf1adir lo seleccionado al carrito","web_diy_ranking_my_comments":"Mis comentarios","web_checkout_btn_proceed":"Proceder con el pago","web_refund_description_empty_error":"La descripci\xf3n no puede estar vac\xeda.","web_shop_redeem_recipient_email":"Correo electr\xf3nico del destinatario","web_xmas2025_door5_desc_de":"Komm und mach bei unserem Tester Club f\xfcr die neuen Weihnachtsprodukte mit!","web_common_view_results":"Ver resultados","web_common_free_gift_limited_tip":"Regalo gratis disponible en cantidades limitadas. \xa1Por orden de llegada, primero en ser servido!","web_common_apply":"Aplica","web_shop_account_email_change_success_prompt":"Direcci\xf3n de correo electr\xf3nico cambiada","web_product_afterpay_help_au":"web_product_afterpay_help_au","web_common_gift":"Regalo","web_help_add_device":"Ayuda","web_consent_root_accept_all":"Aceptar todo","web_pointsmarket_help_trigger":"Inf\xf3rmese sobre {{brand}} puntos","web_product_compare_this_item":"Este art\xedculo","web_write_review_form_empty_error":"Por favor, rev\xedsela antes de enviar","web_form_pwd_pattern_number_error":"La contrase\xf1a debe contener al menos un n\xfamero.","web_xmas2025_door2_link_us":"https://www.instagram.com/p/DSCPFpmAe-3/","web_common_qty":"Cantidad","web_purchase_large_tip2_service":"El exclusivo equipo de servicio al cliente se pondr\xe1 en contacto contigo en un plazo de 24 horas para ayudarte con el proceso de pago.","web_referral_process_step1_description":"<a>Haga clic aqu\xed</a> para iniciar sesi\xf3n e ir directamente a la pesta\xf1a de recomendaciones en la configuraci\xf3n de tu cuenta.","web_address_set_as_default":"Definir como predeterminado","web_referral_process_step2_description":"Comparte tu enlace de invitaci\xf3n personalizado. Si lo prefiere, pulse <ShareIcon/> junto al t\xedtulo de cualquier producto para recomendar tus art\xedculos favoritos a tus amigos.","web_checkin_make_rate_boom":"Convi\xe9rtelo en {{rate}}Pluma X","web_return_step_auditing":"Auditor\xeda","web_xmas2025_banner_button":"Abre tu sorpresa","web_eggs_reached_maximum_chances":"Has alcanzado el n\xfamero m\xe1ximo de recompensas para este evento. \xa1Disfrutad de vuestros premios y estad atentos para ver m\xe1s actividades emocionantes!","web_product_together_empty_error":"Por favor, selecciona un producto","web_tag_points_special":"Puntos especiales","web_purchase_order_shipping_address":"Direcci\xf3n de env\xedo","web_checkout_points_multiples":"Introduzca los puntos en m\xfaltiplos de {{num}}","web_activity_trick_or_treat_rules_desc_de":"<p>Per\xedodo del evento: del 24 de octubre de 2025 a las 12:00 a. m. (hora peninsular espa\xf1ola) al 2 de noviembre de 2025 a las 11:59 p. m. (hora peninsular espa\xf1ola)</p><p>Durante el evento, los participantes que compartan la p\xe1gina del evento tendr\xe1n la oportunidad de abrir una caja de regalo. Cada caja de regalo contiene 420 VIVOSUN Puntos y un cup\xf3n de Halloween, los cuales se acreditar\xe1n autom\xe1ticamente en la cuenta del participante al abrirlos.</p><p>Esta promoci\xf3n est\xe1 disponible en sitios web de varios pa\xedses. Ca
1da participante solo puede participar una vez en todos los sitios. Por ejemplo, la participaci\xf3n en el sitio alem\xe1n proh\xedbe seguir participando en el sitio estadounidense.</p><p>Para garantizar la imparcialidad, las autorreferencias est\xe1n estrictamente prohibidas, incluido el uso de direcciones de correo electr\xf3nico, direcciones IP o sesiones de navegador id\xe9nticas. Las infracciones conllevar\xe1n la p\xe9rdida de todas las recompensas.</p>","web_shop_activity_early_access_desc":"\xa1Sea el primero en experimentar nuestras \xfaltimas innovaciones! Explore las oportunidades pasadas y actuales del Tester Club y descubra c\xf3mo nuestra comunidad est\xe1 ayudando a dar forma al futuro de Vivosun productos.","web_consent_customise_advertising_desc":"Con su permiso, trabajamos con terceros para colocar cookies en su dispositivo. Utilizamos estas cookies para promocionar nuestros servicios en otros sitios web y para medir la eficacia de nuestras campa\xf1as publicitarias. Nuestros socios publicitarios utilizan estas cookies para crear un perfil de sus intereses y mostrarle anuncios relevantes en otros sitios. Si no permites estas cookies, es posible que sigas viendo anuncios de {{brand}}, es posible que experimente una publicidad menos segmentada.","web_shop_crowdfunding_days_left":"<span>{{timeRemaining}}</span> quedan d\xedas","web_address_shipping_address_title":"Direcci\xf3n de env\xedo","web_login_bind_popup_title":"Crearemos una nueva cuenta para ti. Introduce tu correo electr\xf3nico y establece una contrase\xf1a.","web_return_tab_label":"Reembolso {{num}}","web_summary_title_order_summary":"Resumen del pedido","web_common_save_price":"Ahorra {{price}}","web_shop_security_email_verification_required":"Se requiere verificaci\xf3n de correo electr\xf3nico","web_search_hot_search_title":"B\xfasqueda r\xe1pida","web_diy_link_choose_different_dimension":"Elige una dimensi\xf3n diferente","web_help_title_support":"Soporte","web_refund_amount_paid":"Monto pagado","web_xmas2025_door3_link_us":"https://www.instagram.com/reel/DSEzaoWgRHk/","web_refer_friend_copy_link":"Copia tu enlace de invitaci\xf3n","web_product_afterpay_step_2":"Selecciona Afterpay <br/> al finalizar la compra","web_product_afterpay_step_1":"A\xf1adir art\xedculos <br/> a tu carrito","web_checkout_step_my_cart":"Mi carrito","web_summary_discount":"Descuento","web_fixed_coupon_placed_tip":"Su cup\xf3n se ha colocado en su cuenta.","web_help_terms_of_service":"T\xe9rminos de servicio","web_product_paypal_pay_help_au":"web_product_paypal_pay_help_au","web_common_loading":"Cargando","web_coupons_unused_coupons":"Cupones no utilizados","web_contact_wholesale_email_text":"Para pedidos al por mayor o preguntas sobre venta al por mayor, ponte en contacto con: <Email/>","web_shop_crowdfunding_estimated_to_ship_in_deliverytime":"Se estima que el env\xedo comenzar\xe1 en {{deliveryTime}}","web_xmas2025_rewards_mystery_btn":"Abre el regalo misterioso","web_product_afterpay_step_4":"Su compra se dividir\xe1 en 4 pagos, pagaderos cada 2 semanas","web_product_afterpay_step_3":"Inicia sesi\xf3n o crea tu cuenta Afterpay, con verificaci\xf3n instant\xe1nea","web_home_sfs_preview_name":"Una oferta incre\xedble en un producto excepcional","web_time_ended_at":"Finalizado en","web_product_review_all_reviews":"Todas las rese\xf1as","web_xmas2025_door8_link_us":"https://www.instagram.com/p/DSRuLlbluuH/","web_form_order_placeholder_1":"p. ej., 167200766275690000","web_support_num_article":"{{num}} Art\xedculo","web_shop_crowdfunding_pledge_amount":"Compromiso {{amount}}","web_pay_expiry_empty_tip":"Introduce la fecha de caducidad","web_form_select_label":"Seleccione","web_product_unavailable_title":"Producto no disponible","web_activity_trick_or_treat_rules_desc":"<p>Per\xedodo del evento: del 7 de octubre de 2025 a las 12:00 a. m. PDT al 14 de octubre de 2025 a las 23:59 p.m. PDT</p><p>Durante el evento, los participantes que compartan la p\xe1gina del evento tendr\xe1n la oportunidad de abrir una caja de regalo. Cada caja de regalo contiene 420 VIVOSUN Puntos y un cup\xf3n de Halloween, los cuales se acreditar\xe1n autom\xe1ticamente en la cuenta del participante al abrirlos.</p><p>Esta promoci\xf3n est\xe1 disponible en sitios web de varios pa\xedses. Ca
1da participante solo puede participar una vez en todos los sitios. Por ejemplo, la participaci\xf3n en el sitio estadounidense proh\xedbe seguir participando en el sitio alem\xe1n.</p><p>Para garantizar la imparcialidad, las autorreferencias est\xe1n estrictamente prohibidas, incluido el uso de direcciones de correo electr\xf3nico, direcciones IP o sesiones de navegador id\xe9nticas. Cualquier infracci\xf3n conllevar\xe1 la p\xe9rdida de todas las recompensas.</p>","web_xmas2025_door10_link_us":"https://www.instagram.com/reel/DSW1KsuDT3l/","web_locale_region_language":"Regi\xf3n e idioma","web_product_number_label":"N\xfamero de variantes","web_purchase_declined_next_steps":"Pr\xf3ximos pasos: Si el problema persiste, te recomendamos usar una tarjeta de cr\xe9dito diferente o cambiar a un m\xe9todo de pago alternativo para completar el pedido.","web_order_confirm_receipt":"Confirmar recibo","web_product_paypal_pay_help_ca":"web_product_paypal_pay_help_ca","web_price_discount_off_upper":"{{discount}} APAGADO","web_return_refund_price_label":"Reembolso","web_checkout_referrer_drawer_trigger":"Echa un vistazo <span>REF\xcdGIDO ({{num}})<Dot/></span>","web_login_email_address":"Direcci\xf3n de correo electr\xf3nico","web_diy_ranking_btn_like":"Me gusta","web_messages_tab_orders":"Pedidos","web_help_return_policy":"Pol\xedtica de devoluciones","web_shop_security_verification_sent":"Se ha enviado un enlace de verificaci\xf3n a <span class=\'underline\'>{{email}}</span>","web_order_number":"N\xfamero de pedido","web_common_btn_edit":"Editar","web_common_share_popup_title":"Compartir a","web_shop_account_identify_email_send_successfully_note":"<p>Los correos electr\xf3nicos pueden sufrir un ligero retraso.</p><p>Si no has recibido el correo electr\xf3nico, comprueba tus carpetas de correo basura y spam.</p><p>Si a\xfan no has recibido el correo electr\xf3nico despu\xe9s de solicitar un cambio de correo electr\xf3nico, espera 24 horas e int\xe9ntalo de nuevo.</p>","web_list_sort_recommend":"Recomendado","web_referral_benefit_point2":"Gane puntos","web_refund_description_label":"Descripci\xf3n","web_referral_benefit_point1":"Inscripci\xf3n sencilla","web_wfd_checkout_popup_cta_cancel":"No es necesario","web_wfd_orderdetail_claimentry_desc":"Si su paquete se retrasa, se pierde o se da\xf1a, puede iniciar una reclamaci\xf3n con <Logo/>. Las reclamaciones son tramitadas por <Logo/>. El comerciante no es responsable de los problemas de env\xedo.","web_referral_benefit_point3":"Puntos vers\xe1tiles","web_early_access_tester_reviews":"Rese\xf1as de probadores","web_subscribe_result_join_community":"\xdanase a nuestra comunidad >","web_coupons_code_label":"C\xf3digo","web_order_option_get_points_tooltip":"Obtenga puntos","web_order_cancel_reason_empty_tip":"El motivo es obligatorio","web_product_paypal_pay_help_de":"<Div><P>Disponible para compras de entre 1\u20ac y 2.000\u20ac. </P><P>1. Selecciona PayPal como m\xe9todo de pago y usa la opci\xf3n para pagar 30 d\xedas despu\xe9s. </P><P>2. Complete su compra en solo unos pasos.</P><P>3. \xbfNecesitas m\xe1s de 30 d\xedas? Si lo desea, puede solicitar una pr\xf3rroga del per\xedodo de pago de 30 d\xedas m\xe1s o, alternativamente, de 54 d\xedas a cambio de una comisi\xf3n.</P><P>Sujeto a verificaci\xf3n crediticia. Para compras de entre 1\u20ac y 2.000\u20ac. Se aplican las condiciones de pago de 30 d\xedas. Para utilizar este servicio, se requiere una cuenta privada alemana de PayPal con una tarjeta de d\xe9bito vinculada o una cuenta bancaria con un mandato de adeudo directo de la SEPA v\xe1lido como fuente de pago. Si lo desea, puede solicitar una ampliaci\xf3n del per\xedodo de pago 30 d\xedas adicionales (hasta un total de 60 d\xedas) o 54 d\xedas (hasta un total de 84 d\xedas) a cambio de una comisi\xf3n. El importe de la tarifa se muestra de forma transparente en tu cuenta PayPal antes de que se complete la pr\xf3rroga. Los t\xe9rminos y condiciones de More Time to Pay se aplican a la extensi\xf3n.<br/>Para pagar tu compra en cuotas mensuales, selecciona Pagos en cuotas de PayPal.</P></Div>","web_product_selling_pints_title":"Acerca de este art\xedculo","web_price_free":"Gratuito","web_product_together_item_unavailable":"El siguiente art\xedculo no est\xe1 disponible para la compra en este momento","web_consent_root_reject_all":"Rechazar todo","web_payment_klarna_policy_ca":"Debes ser residente de Canad\xe1, tener al menos 18 a\xf1os, tener una tarjeta/cuenta bancaria v\xe1lida, un historial crediticio positivo y poder recibir los c\xf3digos de verificaci\xf3n por mensaje de texto. Se pueden aplicar c
1argos por pagos atrasados.<br>Emisor de cr\xe9dito: Klarna Bank AB (publ), Sveav\xe4gen 46, 111 34 Estocolmo.<br>La protecci\xf3n del comprador de Klarna excluye ciertos m\xe9todos de pago y compras, por ejemplo, viajes, entradas para eventos o tarjetas de regalo. <a href=\\"https://www.klarna.com/ca/buyer-protection-policy/\\" target=\\"_blank\\">Condiciones de pago</a>.","web_xmas2025_rewards_points_earned":"Puntos ganados","web_support_contact_title":"\xbfNo encontraste lo que buscabas?","web_xmas2025_door4_desc_de":"GrowHub Controlador E42A+! Steuer dein Grow-Setup de forma m\xe1s inteligente que yo.","web_diy_entrance_recommended_title":"{{brand}} Recomendado","web_checkin_plant_share":"\xa1Tu planta ha crecido! \xa1Comparte ahora para ayudarla a prosperar","web_common_end_of_page":"Fin de p\xe1gina","web_diy_entrance_customize_title":"Personaliza tu propio kit","web_summary_tip_reward_points_tooltip":"El {{brand}} los puntos se a\xf1adir\xe1n a su cuenta una vez finalizado el pedido.","web_payment_klarna_step4_de":"Elige tu pago<br>planifica y completa tu<br>pagar.","web_shop_tutorial_referral_step2":"Ganar {{points}} puntos por cada {{price}} tus gastos de referidos. Durante la oferta especial Vivosun promociones, puedes ganar a\xfan m\xe1s. Haga clic en el bot\xf3n para ver los detalles completos del programa de recomendaci\xf3n.","web_time_ends_in":"Termina en","web_login_forgot_password_link":"\xbfHas olvidado tu contrase\xf1a?","web_shop_tutorial_referral_step1":"Aqu\xed tienes tu identificador de referencia exclusivo. Cuando tus amigos hagan un pedido a trav\xe9s de tu enlace de recomendaci\xf3n en Vivosun, su ID se rellenar\xe1 autom\xe1ticamente en el campo \xabReferente\xbb o pueden ingresarlo manualmente al finalizar la compra.","web_wfd_checkout_popup_link_privacy":"Pol\xedtica de privacidad","web_order_option_track":"Pista","web_shop_tutorial_referral_step4":"Haga clic para recomendar Vivosun \u2014 compartir Vivosun con amigos directamente en las redes sociales.","web_address_default_address":"Direcci\xf3n predeterminada","web_shop_tutorial_referral_step3"
1:"Haga clic para recomendar Vivosun \u2014\u2014 copie el enlace para mensajes personales o publicaciones en redes sociales.","web_shop_tutorial_referral_step6":"Consulta los pedidos referidos y los puntos acumulados aqu\xed.","web_shop_tutorial_referral_step5":"Pulsa el bot\xf3n de compartir de cualquier producto para recomendarlo a tus amigos.","web_shop_crowdfunding_day_togo":"<span>{{timeRemaining}}</span> d\xeda para ir","web_xmas2025_door6_link_us":"https://vivosun.com/vivosun-m\xe1quina de descarboxilaci\xf3n e infusi\xf3n de hierbas p156209221520334602-v156209221520334601? utm_source=mkt&utm_medium=Xmas&utm_campaign=d\xeda 6","web_shop_activity_open_your_gift_box":"Abre tu caja de regalo","web_common_price":"Precio","web_xmas2025_door9_desc_us":"Todos tenemos esa sensaci\xf3n de \xabvaya, en realidad hice esto\xbb. \ud83c\udf3f\\n\xbfCu\xe1l fue el tuyo este a\xf1o?","web_diy_ranking_score_completeness":"Integridad","web_subscribe_btn_subscribe":"Suscr\xedbase","web_checkin_titles":"<line1>DROGARSE VIVOSUN PUNTOS</line1><line2>REGISTRARSE, COMPARTIR</line2><line3>Y GANA 420 PUNTOS</line3>","web_product_affirm_pay_help_us":"<Div><P>Las opciones de pago a trav\xe9s de Affirm est\xe1n sujetas a una verificaci\xf3n de elegibilidad, es posible que no est\xe9n disponibles en todos los estados y es posible que se requiera un pago inicial. Los montos de pago estimados pueden excluir los impuestos y el env\xedo.</P><P>Debe ser residente de los Estados Unidos, tener al menos 18 a\xf1os (19 en Alabama o Nebraska y 21 en Misisipi), tener un n\xfamero de tel\xe9fono m\xf3vil y una direcci\xf3n de correo electr\xf3nico de EE. UU. v\xe1lidos y una tarjeta de d\xe9bito o cr\xe9dito v\xe1lida.</P><P>Residentes de California: Los pr\xe9stamos de Affirm Loan Services, LLC se otorgan o gestionan de conformidad con una licencia de la Ley de Financiamiento de California.</P><P>\\n Los pr\xe9stamos de Affirm son otorgados por Cross River Bank, Member FDIC y otros prestamistas. Para obtener m\xe1s informaci\xf3n, visite\\n <Lenders>affirm.com/lenders</Lenders>. Los pagos atrasados o no realizados pueden afectar su cr\xe9dito. Consulte\\n <Terms>T\xe9rminos de servicio de Affirm</Terms> y <Privacy>Pol\xedtica de privacidad</Privacy> para obtener m\xe1s informaci\xf3n.\\n </P></Div>","web_age_gate_confirm_tip":"Por favor, confirme su edad","web_shop_redeem_get_more_pumpkins_upper":"CONSIGUE M\xc1S CALABAZAS","web_common_iphone":"iPhone","web_home_sfs_btn_sale_is_over":"LA VENTA HA TERMINADO","web_common_btn_continue":"Continuar","web_common_share_unsupport_tip":"Algo va mal. Su navegador no admite la funci\xf3n de compartir","web_payment_klarna_step4_gb":"web_payment_klarna_step4_gb","web_common_updates":"Actualizaciones","web_shop_product_restore_subscription_successful":"\xa1Suscripci\xf3n exitosa! Te avisaremos una vez que se haya reabastecido.","web_purchase_large_order_status":"Se ha realizado su pedido","web_referral_faqs_list":"[{\\"question\xbb :\\"Qu\xe9 recompensas est\xe1n disponibles a trav\xe9s de las referencias?\xbb , \\"answer\xbb :\\"Cuando un amigo recomendado hace una compra utilizando tu enlace de recomendaci\xf3n en {{brand}}, y si no cancela el pedido en un plazo de 30 d\xedas, ganar\xe1 {{obtainPoints}}{{brand}} puntos para {{obtainPointsPrice}} tu amigo gasta. Cada {{consumePoints}}{{brand}} puntos equivalen a {{consumePointsPrice}}, que puede deducirse del precio total del pedido o utilizarse para canjear productos. Para obtener m\xe1s informaci\xf3n sobre {{brand}} puntos, compru\xe9balo <a href=\\\\\\"/help/about-points\\\\\\">Acerca de los puntos</a>. \\"} , {\\"question\xbb :\\"\xbf Cu\xe1les son las condiciones para participar en el programa de recomendaci\xf3n?\xbb , \\"answer\xbb :\\"El programa est\xe1 abierto a cualquier persona que se haya registrado en {{brand}}.com.<br/>Se proh\xedben las autorreferencias para garantizar la imparcialidad, incluido el uso del mismo correo electr\xf3nico, direcci\xf3n IP o sesi\xf3n de navegador. Las referencias que no cumplan con los requisitos har\xe1n que la recomendaci\xf3n no sea v\xe1lida. \\"} , {\\"question\xbb :\\"\xbf C\xf3mo puedo comprobar si mi recomendaci\xf3n se ha realizado correctamente?\xbb , \\"answer\xbb :\\"Para confirmar si una recomendaci\xf3n se ha realizado correctamente, aseg\xfarate de que se cumplen estas condiciones:<br/>1. La persona recomendada debe haber utilizado su enlace de recomendaci\xf3n exclusivo para visitar {{brand}}.com, e ingres\xf3 su REFID al realizar el pedido.<br/>2. El pedido debe confirmarse tal como se recibi\xf3 o no cancelarse dentro de los 30 d\xedas posteriores al env\xedo.<br/>Puedes comprobar el progreso de la remisi\xf3n en <a href=\\\\\\"/account/refer-a-friend\\\\\\">Recomiende a un amigo</a>. \\"}]","web_scan_download_app_info_1":"Escanea para descargar la aplicaci\xf3n y usar tu cup\xf3n","web_search_empty_tip":"No se puede buscar el producto","web_common_all":"Todas","web_form_required_1":"Este campo es obligatorio.","web_points_total_points":"{{num}} Puntos","web_cart_btn_checkout_securely_upper":"COMPRA AHORA DE FORMA SEGURA","web_checkout_secure_checkout":"Pago seguro","web_spin_try_last_chance":"Prueba tu \xfaltima oportunidad","web_summary_order_no":"N\xba de pedido","web_form_pwd_pattern_number_tip":"Al menos un n\xfamero","web_checkout_referrer_success_tip":"El REFID se aplica correctamente.","web_shop_crowdfunding_share_desc":"\xa1Apoye la innovaci\xf3n y d\xe9 forma al futuro! \xa1\xdanete Vivosun \xa1Haz crowdfunding y s\xe9 parte del viaje! {{url}}","web_fixed_register_discount_tip":"OBT\xc9N M\xc1S {{discount}} APAGADO","web_common_payment_method":"M\xe9todo de pago","web_spin_congratulations":"\xa1Felicidades!","web_common_btn_login_upper":"INICIAR SESI\xd3N","web_messages_tab_promotion":"Promoci\xf3n","web_shop_crowdfunding_hr_left":"<span>{{timeRemaining}}</span>
1 hr se fue","web_shop_security_not_now":"Ahora no","web_common_share_facebook_title":"Facebook","web_wfd_checkout_popup_link_terms":"T\xe9rminos de servicio","web_shop_crowdfunding_ended":"Finalizado","web_page_link_home":"Inicio","web_product_tab_description":"Descripci\xf3n","web_xmas2025_door9_link_us":"https://www.instagram.com/reel/DSWJgMGFMDC/","web_test_club_review_form_tip_2":"Sube al menos 5 im\xe1genes.","web_profile_nick_name_empty_error":"El nombre de usuario es obligatorio","web_search_page_title":"{{totalNum}} Resultados para\xbb{{searchWords}}\xab","web_test_club_review_form_tip_1":"Tu comentario debe tener al menos 300 caracteres.","web_payment_klarna_step2_gb":"web_payment_klarna_step2_gb","web_test_club_review_form_tip_3":"Sube al menos 1 v\xeddeo.","web_shop_redeem_recommend_vivosun_to_your_friends":"Recomendar {{brand}} \xa1a tus amigos para ganar m\xe1s calabazas!","web_footer_support_1":"Te ayudamos <span>cultiva tu mejor verde.</span>","web_footer_support_2":"Proporcionamos la <span>de la m\xe1s alta calidad.</span>","web_shop_activity_early_access_learn_about":"M\xe1s informaci\xf3n sobre Tester Club","web_home_sfs_sale_is_over":"La venta ha terminado","web_footer_support_3":"Perseguimos sin descanso <span>el futuro.</span>","web_footer_support_4":"Hacemos crecer <span>m\xe1s agradable.</span>","web_footer_support_5":"Apoyamos <span>todos los productores.</span>","web_messages_tab_system":"Sistema","web_product_add_to_cart_upper":"A\xd1ADIR AL CARRITO","web_pointsmarket_checkin_help_title":"web_pointsmarket_checkin_help_title","web_xmas2025_door7_link_de":"https://vivosun.com/de-DE/vivosun-m\xe1quina de caramelos p164254578425972379-v164254578425972313? utm_source=DEMKT&utm_medium=xmas&utm_campaign = d\xeda 7","web_tag_best_seller":"Mejor vendedor","web_footer_link_company":"Empresa","web_product_afterpay_help_ca":"web_product_afterpay_help_ca","web_diy_ranking_comments":"Comentarios","web_pay_expiry_invalid_tip":"La fecha de caducidad no es v\xe1lida","web_shop_account_hint_enter_password":"Ingresa tu contrase\xf1a","web_common_your_name":"Tu nombre","web_tag_pre_sale":"Preventa","web_spin_sign_in_to_claim":"Inicia sesi\xf3n para reclamar","web_order_cancel_forgot_card":"He olvidado la informaci\xf3n de mi tarjeta de d\xe9bito/cr\xe9dito","web_shop_redeem_process_step3_desc":"Anima a tus amigos a que hagan clic en tu enlace y hagan una compra. Por cada amigo que complete una compra, recibir\xe1s 1 calabaza y disfrutar\xe1s de las recompensas de {{brand}} Programa de recomendaci\xf3n. Ten en cuenta que si se cancela el pedido, no se otorgar\xe1n los puntos Pumpkin ni los puntos de referencia.","web_diy_step_tent":"Carpa","web_product_addons_title":"Complementos","web_help_blog":"Blog","web_shop_crowdfunding_min_togo":"<span>{{timeRemaining}}</span> 5 minutos para terminar","web_diy_ranking_score_energy_efficiency":"Eficiencia energ\xe9tica","web_pointsmarket_boost_checkin_successful":"web_pointsmarket_boost_checkin_successful","web_login_forgot_result_3":"Si no ha recibido ning\xfan correo electr\xf3nico, compruebe sus carpetas de correo no deseado y correo no deseado.","web_order_step_shipped":"Enviado","web_login_forgot_result_4":"Si sigues sin recibir el correo electr\xf3nico despu\xe9s de solicitar el restablecimiento de la contrase\xf1a, vuelve a intentarlo.","web_login_forgot_result_1":"Se ha enviado un enlace para restablecer su contrase\xf1a a {{email}}","web_login_forgot_result_2":"Los correos electr\xf3nicos pueden sufrir un retraso de unos minutos.","web_product_compare_title":"Comparar con art\xedculos similares","web_order_cancel_lack_payment":"No ofrec\xed el m\xe9todo de pago que prefer\xeda","web_age_gate_intro":"De acuerdo con las leyes locales, debe tener al menos {{age}} a\xf1os para acceder a los siguientes productos y contenidos.","web_product_affirm_pay_title_us":"C\xf3mpralo hoy con <br/>4 pagos sin intereses","web_product_instructional_manual_title":"Manual instructivo","web_shop_crowdfunding_owner":"Oficial","web_points_col_used":"Usado","web_login_sign_in_title":"Iniciar sesi\xf3n","web_payment_klarna_step4_ca":"Elige tu pago<br>planifica y completa tu<br>pagar.","web_xmas2025_door4_link_de":"https://vivosun.com/de-DE/vivosun-growhub-plataforma controladora todo en uno para controlar, monitorear, mejorar el cultivo en interiores, programaci\xf3n din\xe1mica de temperatura y humedad p153885832384111130-v161077718084019353? utm_source=DEMKT&utm_medium=xmas&utm_campaign=d\xeda 4","web_diy_recommended_title":"\xbfCu\xe1l {{size}} \xbfEl kit de carpa es adecuado para m\xed?","web_shop_account_link_expired_prompt":"Enlace caducado","web_common_it_is_empty":"Est\xe1 vac\xedo.","web_common_btn_back":"Atr\xe1s","web_common_go_upper":"IR","web_refund_return_reason_empty_error":"Selecciona el motivo de la devoluci\xf3n","web_purchase_declined_details":"<li>Precisi\xf3n: el n\xfamero de tarjeta, el CVV y la fecha de caducidad son correctos.</li><li>Informaci\xf3n de facturaci\xf3n: tu direcci\xf3n de facturaci\xf3n coincide exactamente con tus registros bancarios.</li><li>Fondos: su tarjeta tiene saldo suficiente y est\xe1 autorizada para compras internacionales o en l\xednea.</li>","web_purchase_large_tip_vip":"Se le ha otorgado acceso a nuestro servicio VIP.","web_shop_crowdfunding_hr_togo":"<span>{{timeRemaining}}</span> 1 hora para el final","web_xmas2025_door7_desc_de":"Las gomitas navide\xf1as se hieren de otra manera. Und ja \u2014 die S\xfc\xdfigkeitenmaschine macht\'s \xfcberraschend easy.","web_address_zipcode_unvalid_error":"Introduce un c\xf3digo postal v\xe1lido","web_common_hours_lower":"horas","web_register_title":"Registrarse","web_refer_friend_desc_title":"Conseguir {{brand}}
1 puntos por referencias","web_common_num_items":"{{num}} art\xedculo (s)","web_footer_link_create_account":"Crear cuenta","web_shop_activity_remaining":"Restante","web_purchase_large_p2p_email":"Correo electr\xf3nico P2P","web_package_page_title":"Paquete","web_common_dialog":"web_common_dialog","web_coupons_drawer_title":"Alerta de cup\xf3n","web_diy_customize_select_one":"Selecciona uno","web_referral_process":"\xbfC\xf3mo gano comisiones?","web_points_col_point_type":"Tipo de punto","web_checkout_points_tooltip":"Nota: Los puntos que hayas aplicado al pedido se deducir\xe1n de tu cuenta despu\xe9s de hacer clic en \xabREALIZAR PEDIDO\xbb. Puedes cancelar tu pedido en \xabMis pedidos\xbb, y los puntos {{brand}} que hayas aplicado se devolver\xe1n a tu cuenta. Los puntos se pueden utilizar hasta el 60 % del precio total del producto.","web_wfd_checkout_module_poweredby":"Impulsado por <Logo/>","web_order_cancel_reason_label":"Elige el motivo de la cancelaci\xf3n del pedido","web_payment_klarna_step2_ca":"Selecciona Klarna<br>al finalizar la compra","web_common_reply_to":"Responder a","web_shop_crowdfunding_sign_in_now":"Inicia sesi\xf3n ahora","web_referral_intro_content":"Ganar {{brand}} puntos al recomendar amigos, familiares o compa\xf1eros de trabajo. Cuando hagan un pedido y confirmen la recepci\xf3n, ganar\xe1s puntos. Obt\xe9n informaci\xf3n sobre c\xf3mo enviar una recomendaci\xf3n y descubre cu\xe1ntos {{brand}} puntos que puedes ganar a continuaci\xf3n.","web_shop_account_your_email_address":"Direcci\xf3n de correo electr\xf3nico de su cuenta <span>{{oldEmail}}</span>","web_survey_form_text_placeholder":"Texto abierto: si\xe9ntete libre de compartir tantas ideas como quieras","web_refer_friend_leave_message_tips":"Deja un mensaje para tu amigo aqu\xed (opcional)","web_shop_crowdfunding_min_left":"<span>{{timeRemaining}}</span> minuto restante","web_summary_points_redeemed":"Puntos canjeados","web_cart_empty_login_tip":"\xbfTienes una cuenta? Inicia sesi\xf3n para ver tu carrito.","web_login_bind_btn_bind":"Vincular correo electr\xf3nico","web_support_product_manuals":"Manuales de productos","web_product_review_with_photo":"Con foto","web_form_warranty_item_placeholder_1":"Introduce el nombre del art\xedculo","web_shop_activity_eligibility_expired":"La elegibilidad ha caducado","web_search_history_title":"Buscado recientemente","web_diy_ranking_top":"PARTE SUPERIOR {{sort}}","web_checkout_shipping_title":"M\xe9todo de env\xedo","web_support_blogs_title":"Academia de plantaci\xf3n","web_checkout_step_order_complete":"Pedido completado","web_referral_send":"Enviar una referencia","web_footer_link_account":"Cuenta","web_diy_ranking_score_functionality":"Funcionalidad","web_product_together_all_unavailable":"Todos los seleccionados no est\xe1n disponibles temporalmente.","web_xmas2025_door12_desc_us":"2025. A year we grew together.\\nBuilt from feedback, shaped by growers.\\nBuilt for growers. Always. \ud83c\udf31","web_purchase_declined_tip_recommend":"Por su seguridad, nuestro sistema no pudo procesar esta transacci\xf3n. Antes de volver a intentarlo, aseg\xfarate de:","web_fixed_register_points_tip":"OBT\xc9N M\xc1S {{points}} Puntos","web_form_pwd_empty_error":"Introduce tu contrase\xf1a.","web_refer_status_unissued":"No emitido","web_xmas2025_door12_link_us":"https://www.instagram.com/reel/DSb_HXCgA1A/","web_xmas2025_door2_link_de":"https://vivosun.com/de-DE/vivosun-lumaray-luz bajo el toldo p161077717815584533-v161077717815584532? utm_source=DEMKT&utm_medium=xmas&utm_campaign=d\xeda 2","web_consent_customise_advertising_title":"Cookies publicitarias","web_common_android":"Android","web_list_description_fold":"Pliegue","web_cart_black_friday_tip":"web_cart_black_friday_tip","web_shop_crowdfunding_mins_left":"<span>{{timeRemaining}}</span> minutos restantes","web_diy_ranking_btn_comment":"Comentar","web_pointsmarket_boost_boost_failed":"web_pointsmarket_boost_boost_failed","web_diy_ranking_override_confirm":"\xbfEst\xe1s seguro de que quieres usar este KIT para anular el que est\xe1s creando actualmente?","web_shop_crowdfunding_frequently_asked_questions":"Preguntas frecuentes","web_help_about_vdays":"Acerca de VDays","web_purchase_failed_btn_status":"Ver pedidos","web_account_security_title":"Seguridad de la cuenta","web_footer_link_products":"Productos","web_home_sfs_help_content":"<p>1. Las ofertas diarias tendr\xe1n restricciones de tiempo y cantidad; las compras est\xe1n limitadas a un art\xedculo por persona.</p><p>2. No se puede combinar con otras promociones (por ejemplo, ofertas de paquetes, art\xedculos de bonificaci\xf3n, cupones), pero se pueden usar los puntos.</p><p>3. Reducci\xf3n del tiempo de retenci\xf3n del inventario; si no se paga en el plazo de 1 hora en la p\xe1gina de pago, el pedido se cancelar\xe1.</p>","web_pointsmarket_boost_btn_in_progress":"web_pointsmarket_boost_btn_in_progress","web_home_sfs_price_off":"<Discount/><span>APAGADO</span>
1","web_time_starts_on":"Empieza el","web_shop_redeem_redeem_points":"Canjee puntos","web_pointsmarket_page_title":"Mercado de puntos","web_refer_friend_desc_content":"Ganar {{points}} puntos para {{price}} tu amigo gasta cuando hace un pedido y confirma la recepci\xf3n. Puede elegir cualquier producto y recibir\xe1s tu {{brand}} puntos tan pronto como se confirme su pedido.","web_shop_security_i_have_verified_my_email":"He verificado mi correo electr\xf3nico","web_shop_product_price_gst_tips":"(incluye el GST)","web_xmas2025_banner_subtitle":"Abre una puerta nueva todos los d\xedas<br>Para 12 d\xedas de sorpresas navide\xf1as.","web_diy_customize_step_required_error":"{{stepName}} obligatorio, haga una selecci\xf3n antes de proceder al pago.","web_payment_klarna_step2_de":"Selecciona Klarna<br>al finalizar la compra","web_shop_product_subscribe_tips":"Suscr\xedbase a nuestro bolet\xedn para recibir actualizaciones, ofertas exclusivas y consejos de jardiner\xeda.","web_order_order_no":"N\xfamero de pedido","web_support_email_title":"Env\xedanos un correo electr\xf3nico","web_shop_security_email_verified_successfully":"Correo electr\xf3nico verificado correctamente","
1web_shop_navi_shop_by_category":"Comprar por categor\xeda","web_diy_view_reviews":"Ver rese\xf1as","web_checkout_shipping_fee_tip":"Se espera que llegue en <time>5-10</time> d\xedas h\xe1biles.","web_payment_klarna_policy_gb":"web_payment_klarna_policy_gb","web_upload_label_1":"Env\xeda cualquier foto o v\xeddeo aqu\xed:","web_crowd_funding_rules":"<div><h3>Vivosun Crowdfunding: apoye los productos innovadores</h3><section><p>Bienvenido a <b>el oficial Vivosun Proyecto de crowdfunding</b>, donde la innovaci\xf3n se encuentra con la oportunidad. Este proyecto\\n permite a los seguidores participar en el desarrollo de productos de vanguardia y ser parte del viaje desde\\n del concepto a la realidad. Al contribuir a Vivosunen las campa\xf1as de crowdfunding, los participantes desempe\xf1an un papel vital en\\n dando vida a ideas innovadoras.</p></section><section><p>Como gesto de agradecimiento, Vivosun ofrece recompensas exclusivas a los primeros seguidores. Una vez finalizada la campa\xf1a\\n alcance con \xe9xito su objetivo de financiaci\xf3n, las recompensas se entregar\xe1n de acuerdo con el cronograma especificado.\\n Tenga en cuenta que <b>las recompensas adicionales se enviar\xe1n despu\xe9s de que se entregue el producto principal</b>. Si es un pedido\\n se cancela o devuelve, todas las recompensas asociadas tambi\xe9n se cancelar\xe1n o devolver\xe1n.</p></section><h4>C\xf3mo participar</h4><section><p>Explore el proyecto</p><p>Visite el Vivosun p\xe1gina de crowdfunding para descubrir productos innovadores actualmente en desarrollo. Detallado\\n las descripciones destacan las caracter\xedsticas, los beneficios y el impacto potencial de cada producto.</p></section><section><p>Selecciona un nivel de recompensa</p><p>Los seguidores pueden hacer clic en el bot\xf3n \xabAtr\xe1s\xbb, elegir el nivel de recompensa que prefieran y completar el proceso de pago.\\n Cada nivel incluye premios y obsequios \xfanicos para reconocer el apoyo de los participantes.</p></section><section><p>Proporcione comentarios</p><p>La secci\xf3n \xabComentarios\xbb est\xe1 disponible para que los seguidores compartan ideas, sugerencias o preguntas sobre la\\n proyecto. El Vivosun El equipo revisa cuidadosamente todos los comentarios y responde para garantizar la claridad y la transparencia.\\n </p></section><section><p>Seguimiento de pedidos</p><p>Antes del env\xedo, los participantes pueden comprobar el estado de sus pedidos o cancelarlos en cualquier momento a trav\xe9s del\\n centro de cuentas. Una vez que la campa\xf1a se financie correctamente, las recompensas se enviar\xe1n dentro de lo prometido\\n plazo.</p></section><h4>Pautas importantes</h4><section><p>Pol\xedtica de reembolso</p><p>En el caso de que una campa\xf1a no alcance su objetivo de financiaci\xf3n antes de la fecha l\xedmite, todos los pagos se efectuar\xe1n en su totalidad\\n se reembolsar\xe1 a las cuentas respectivas.</p></section><section><p>Uso de puntos</p><p>Vivosun los puntos se pueden usar para compensar la cantidad de pedidos de crowdfunding. Sin embargo, los puntos no son aptos para\\n util\xedzalos junto con otras ofertas promocionales.</p></section><section><p>Incertidumbres del proyecto</p><p>Los proyectos de crowdfunding pueden sufrir retrasos o cancelaciones debido a problemas t\xe9cnicos o de producci\xf3n. En\\n tales casos, Vivosun notificar\xe1 de inmediato a los seguidores cualquier cambio y gestionar\xe1 los reembolsos en consecuencia.</p></section><section><p>Fecha l\xedmite de pago</p><p>Para garantizar la equidad y la igualdad de oportunidades para todos los participantes, los pedidos deben completarse en el plazo de 1 hora. No pagado\\n los pedidos se cancelar\xe1n autom\xe1ticamente.</p></section><section><p>L\xedmites de niveles de recompensa</p><p>Algunos niveles de recompensa pueden tener cantidades limitadas y est\xe1n disponibles por orden de llegada.</p></section><h4>Por qu\xe9 apoyar Vivosun \xbfFinanciamiento colectivo?</h4><section><p>Sea el primero en experimentar la innovaci\xf3n</p><p>Obtenga acceso anticipado a Vivosunde los productos m\xe1s recientes y avanzados antes de que salgan al mercado. Los seguidores lo har\xe1n\\n estar a la vanguardia de la tecnolog\xeda y el dise\xf1o de vanguardia.</p></section><section><p>Te esperan recompensas exclusivas</p><p>Como agradecimiento por su apoyo, Vivosun ofrece beneficios y obsequios especiales que solo est\xe1n disponibles para\\n participantes de crowdfunding. Estas re
1compensas est\xe1n dise\xf1adas para hacer que tu contribuci\xf3n sea a\xfan m\xe1s significativa.</p></section><section><p>D\xe9 forma al futuro de los productos</p><p>\xa1Tus comentarios son importantes! Al compartir sus ideas y sugerencias, puede influir directamente en el desarrollo de\\n productos que satisfacen sus necesidades y superan sus expectativas.</p></section><section><p>Vivosun invita a todos los seguidores a unirse a este emocionante viaje de innovaci\xf3n. Juntos, podemos crear un futuro\\n definido por la excelencia y la creatividad.</p></section><h4>Garant\xeda de entrega</h4><section><p>Entendemos que respaldar un nuevo producto conlleva dudas. Queremos que se sienta completamente seguro de que apoyar\xe1 nuestro proyecto.</p></section><section><p>Nuestra garant\xeda:</p><ul style=\\"list-style: unset; margin-left: 20px;\\"><li><p>Compromiso de producci\xf3n: tan pronto como la campa\xf1a alcance su objetivo m\xednimo de financiaci\xf3n, la producci\xf3n estar\xe1 totalmente asegurada y la fabricaci\xf3n del producto comenzar\xe1 de inmediato.</p></li><li><p>Actualizaciones transparentes: nos comunicaremos de manera clara y proactiva sobre cada etapa de fabricaci\xf3n y env\xedo.</p></li><li><p>Protecci\xf3n contra factores externos: en caso de que factores externos, como las tarifas o las interrupciones en los env\xedos internacionales, provoquen retrasos, lo mantendremos informado de inmediato y trabajaremos con diligencia para minimizar cualquier impacto.</p></li></ul></section><section><p>Nuestra promesa:</p><p>Su inversi\xf3n est\xe1 segura con Vivosun\u2014estamos totalmente comprometidos con la entrega de su producto respaldado y lo mantendremos informado en cada paso del proceso.</p></section></div>","web_help_shipping_policy":"Pol\xedtica de env\xedos","web_checkout_products_title":"Art\xedculos","web_referral_intro_title":"\xbfTe encanta la jardiner\xeda? \xbfRecomendar {{brand}}","web_shop_redeem_grab_your_treat":"\xa1Coge tu golosina!","web_common_copyright":"\xa9{{year}}{{brand}} Todos los derechos reservados","web_login_cannot_open_popup":"No se puede abrir {{name}} ventana de inicio de sesi\xf3n, cierre \xabBloquear ventanas emergentes\xbb en la configuraci\xf3n de Safari o intente iniciar sesi\xf3n en otros navegadores.","web_common_complete":"Completa","web_login_btn_facebook":"Iniciar sesi\xf3n con Facebook","web_shop_tutorial_more_task":"M\xe1s tareas que reclamar Vivosun puntos","web_xmas2025_door10_desc_de":"Nuestro AeroFlux, das euer Klima aufs n\xe4chste Level bringt.","web_order_cancel_bad_reviews":"Malas cr\xedticas","web_common_btn_go_back":"Regresar","web_support_download":"Descargar","web_early_access_order_created":"Su pedido de prueba se ha creado correctamente.","web_security_change_password":"Cambiar contrase\xf1a","web_unsubscribe_link_return":"volver a nuestro sitio web","web_shop_activity_early_access_application_eriod_closed":"Per\xedodo de solicitud cerrado","web_account_address_title":"Mi libreta de direcciones","web_warranty_item":"Art\xedculo de garant\xeda","web_form_email_placeholder_1":"p. ej., [email protected]","web_common_title_detail":"Detalle","web_common_time_remaining":"{{timeRemaining}} restante","web_diy_entrance_recommended_desc":"Predise\xf1ado profesionalmente para satisfacer las necesidades de la mayor\xeda de los usuarios.","web_xmas2025_rules_content":"<ul><li><h3>1. Per\xedodo del evento</h3><div>El evento se realizar\xe1 del 8 al 19 de diciembre (PST).</div></li><li><h3>2. C\xf3mo funciona</h3><p>A partir del 8 de diciembre, habr\xe1 una nueva caja de regalo disponible todos los d\xedas.</p><p>Las cajas de regalo se pueden abrir en cualquier momento durante el per\xedodo del evento; las 12 cajas permanecer\xe1n disponibles hasta el 31 de diciembre.</p><p>Gana 100 puntos por cada caja de regalo que abras.</p><p>Abre las 12 cajas de regalo para desbloquear los requisitos para comprar The Mystery Merch.</p><p>Todos los puntos y recompensas deben usarse antes del 31 de diciembre (PST).</p></li><li><h3>3. Reglas de regalos misteriosos</h3><p>El regalo misterioso se debe canjear junto con al menos un art\xedculo normal del mismo pedido; no se puede comprar por separado.</p><p>El inventario es limitado. Desbloquear el regalo misterioso otorga la elegibilidad, pero los art\xedculos de recompensa espec\xedficos solo se pueden canjear mientras se agoten las existencias.</p><p>Si un art\xedculo se agota, no estar\xe1 disponible al finalizar la compra.</p></li><li><h3>4. Vencimiento y limitaciones</h3><p>Los requisitos para recibir puntos y regalos misteriosos vencen el 31 de diciembre (hora del Pac\xedfico). Canjee o haga su pedido antes de la fecha l\xedmite.</p><p>Las recompensas de los eventos no se pueden combinar con otras promociones, incluidas las ofertas de env\xedo gratuito, los art\xedculos de bonificaci\xf3n o los cupones.</p><p>Cada cuenta de cliente puede participar una vez.</p><p>VIVOSUN Se reserva el derecho de interpretaci\xf3n final de este evento.</p></li></ul>","web_help_referral_program":"Programa de recomendaci\xf3n","web_help_growhub_e42":"GrowHub E42/E42A","web_write_review_points_tip":"Gane hasta <strong>{{num}} puntos</strong> publicando una rese\xf1a.","web_wfd_orderdetail_claimentry_button":"Iniciar una reclamaci\xf3n","web_xmas2025_rewards_mystery_gift":"Regalo misterioso","web_login_switch_account":"Cambiar cuenta","web_header_guide_winter_grow_guide":"Gu\xeda de cultivo de invierno","web_common_happy_halloween":"\xa1Feliz Halloween!","web_common_pay_time":"Fecha de pago","web_order_cancel_popup_title":"Cancelar pedido","web_shop_crowdfunding_status_upcoming":"Pr\xf3ximas","web_shop_account_tips_bind_new_email_desc":"Introduce tu nueva direcci\xf3n de correo electr\xf3nico para recibir un correo electr\xf3nico de verificaci\xf3n. Revisa tu bandeja de entrada y sigue las instrucciones para completar el proceso de encuadernaci\xf3n.","web_price_free_upper":"GRATIS","web_common_read_more":"Leer m\xe1s","web_purchase_large_phone":"Tel\xe9fono","web_account_orders_title":"Mis pedidos","web_cart_wholesale_minimum_tip":"Pedidos al por mayor: un m\xednimo de 3000 USD para finalizar la compra.","web_pointsmarket_boost_btn_boost":"web_pointsmarket_boost_btn_boost","web_review_empty_tip":"\xa1S\xe9 el primero en comentar! Comparta sus opiniones o preguntas sobre este kit","web_xmas2025_door10_link_de":"https://vivosun.com/de-DE/vivosun-aeroflux-calentador de tienda de campa\xf1a de cultivo inteligente p164609661357825457-v164609661357825455? utm_source=DEMKT&utm_medium=xmas&utm_campaign = d\xeda 10","web_help_wrong_item_received":"Se recibi\xf3 un art\xedculo incorrecto","web_shop_security_sign_up_and_verify":"Reg\xedstrate y verifica","web_referral_faqs":"{{brand}} preguntas frecuentes sobre el programa de recomendaci\xf3n","web_security_delete_account_title":"Eliminar cuenta","web_order_received":"Recibido","web_payment_klarna_policy_de":"Debe ser residente de Alemania, tener al menos 18 a\xf1os, tener una cuenta bancaria v\xe1lida, una buena calificaci\xf3n crediticia y un n\xfamero de tel\xe9fono m\xf3vil. Se pueden aplicar c
1argos por pagos atrasados.<br>Emisor de cr\xe9dito: Klarna Bank AB (publ), Sveav\xe4gen 46, 111 34 Estocolmo (Suecia) Condiciones generales de contrataci\xf3n (AGB): <a href=\\"https://www.klarna.com/de/agb/\\" target=\\"_blank\\">https://www.klarna.com/de/agb/</a>.<br>La protecci\xf3n del comprador de Klarna excluye ciertos m\xe9todos de pago y compras, por ejemplo, viajes, entradas para eventos o tarjetas de regalo. <a href=\\"https://www.klarna.com/de/kauferschutzrichtlinie/\\" target=\\"_blank\\">Condiciones de pago</a>.","web_xmas2025_door6_desc_us":"\xbfQui\xe9n va a salvar al Dr. Green del caos de la cocina? \\nPap\xe1 Noel viene con mucha magia navide\xf1a. \u2728","web_checkout_sign_up_tip":"\xa1Reg\xedstrese ahora y reciba una oferta especial para nuevos clientes! \xa1Disfruta de hasta <span>{{discount}} APAGADO</span> su primera compra con nuestro cup\xf3n exclusivo, m\xe1s un extra <span>{{points}} puntos</span> agregado a tu cuenta. Ver el <privacy-link>Pol\xedtica de privacidad y cookies</privacy-link> y <terms-link>T\xe9rminos y condiciones</terms-link>.","web_cart_apply_coupon_tip":"Aplica un c\xf3digo de cup\xf3n en el siguiente paso.","web_common_btn_share_now":"Comparte ahora","web_feature_3d":"3D","web_shop_crowdfunding_mins_togo":"<span>{{timeRemaining}}</span> minutos para el final","web_shop_crowdfunding_add_a_comment":"A\xf1adir un comentario...","web_common_divider_or":"O","web_help_growhub_e25":"GrowHub E25","web_locale_change_region":"Cambiar regi\xf3n","web_view_count":"{{count}} Ver","web_common_update":"Actualizaci\xf3n","web_consent_root_customise_cookies":"Personalice las cookies","web_shop_crowdfunding_only_backers_can_post_comments":"Solo los patrocinadores pueden publicar comentarios.","web_consent_root_title":"Pol\xedtica de privacidad y cookies","web_summary_total":"Total","web_common_rules":"Reglas","web_shop_crowdfunding_faq":"PREGUNTAS M\xc1S FRECUENTES","web_footer_link_my_account":"Mi cuenta","web_pay_cvv_label":"C\xf3digo de seguridad","web_account_points_title":"Mis puntos","web_feature_animation":"Animaci\xf3n","web_coupons_available_title":"Disponible","web_subscribe_result_btn_text":"\xa1Haga clic para encontrar grandes ofertas!","web_download_app_popup_tips":"Escanea el c\xf3digo QR para descargar la aplicaci\xf3n y comenzar hoy mismo tu experiencia de compra premium.","web_affiliate_program":"Programa de afiliados","web_referral_invite_friends":"Invita a tus amigos ahora y obt\xe9n {{brand}} puntos","web_cart_black_friday_title":"Evento exclusivo del Black Friday","web_pointsmarket_boost_btn_continue":"web_pointsmarket_boost_btn_continue","web_common_link_copied_tip":"\xa1Se ha copiado tu enlace!","web_shop_brand_story":"Historia de la marca","web_xmas2025_door1_link_us":"https://www.instagram.com/reel/DR_qYyRkYhW/","web_coupon_empty_tip":"Tu cup\xf3n est\xe1 vac\xedo","web_pay_btn_reload":"Recargar","web_common_continue_shopping":"Continuar comprando","web_refer_friend_share_your_friends":"Comparte con tus amigos","web_pointsmarket_flash_total_points":"<Num/><span>Puntos<span>","web_shop_redeem_process_step1_desc":"Haga clic <a>aqu\xed</a> iniciar sesi\xf3n en {{brand}} o crea una cuenta nueva.","web_shop_activity_share_for_a_gift":"Comparte para recibir un regalo","web_points_col_expiration_date":"Fecha de caducidad","web_orders_nav_unpaid":"No remunerado","web_shop_account_verify_your_identity_desc":"Introduce tu contrase\xf1a para comprobar que eres el propietario de la cuenta.","web_checkin_plant_check_in":"Reg\xedstrate para subir de nivel tu planta","web_list_sort_new":"Reci\xe9n llegados","web_common_btn_return_to_cart":"Regresar al carrito","web_shop_crowdfunding_status_live":"En vivo","web_age_gate_full_age":"SOY {{age}}+","web_pointsmarket_products_title":"Centros de comercio de productos","web_support_blogs_desc":"Conocimientos de expertos, gu\xedas t\xe9cnicas e informaci\xf3n de temporada.","web_shop_crowdfunding_crowdfunding":"Crowdfunding","web_xmas2025_door11_desc_de":"\xa1Nuestro sorteo con Royal Queen Seeds est\xe1 disponible en nuestras redes sociales!\\nLetzte Chance dieses Jahr \u2014 also nicht verpassen.","web_xmas2025_door9_desc_de":"Alles, was du brauchst \u2014 in einem Paket.","web_order_items_col_action":"Acci\xf3n","web_messages_tab_notification":"Notificaci\xf3n","web_summary_tax":"Impuesto","web_shop_activity_early_access_invite_friends":"\xa1Invita a tus amigos a unirse!","web_shop_account_change_email_address":"Cambiar direcci\xf3n de correo electr\xf3nico","web_xmas2025_rewards_title":"Abre la puerta de hoy<br>Para revelar tu recompensa","web_cart_recommend_title":"Es posible que desee agregar","web_shop_crowdfunding_hrs_togo":"<span>{{timeRemaining}}</span> faltan horas","web_home_sfs_purchase_limit":"L\xedmite de compra: {{userLimit}} cantidad","web_early_access_rules":"<h2 class=\\"g-title\\">
1\xbfQu\xe9 es Tester Club?</h2><p class=\\"g-msg g-msg-1\\">\\n \xa1Tester Club te permite ser de los primeros en probar nuestros productos m\xe1s nuevos! Al gastar una cantidad determinada de puntos, puedes solicitar la oportunidad de probar nuestros productos.\\n</p><p class=\\"g-msg\\">\\n Una vez finalizado el per\xedodo de solicitud, los usuarios seleccionados se elegir\xe1n en funci\xf3n de factores como el historial de su solicitud, el estado de selecci\xf3n anterior y la calidad de los comentarios de las pruebas anteriores. Los usuarios seleccionados recibir\xe1n el producto de forma gratuita y tendr\xe1n la oportunidad de compartir sus valiosos comentarios. Si no se selecciona, los puntos gastados durante la solicitud se reembolsar\xe1n en su totalidad a su cuenta.\\n</p><p class=\\"g-msg\\">\\n Los usuarios seleccionados que env\xeden una opini\xf3n que cumpla con los requisitos de contenido (al menos 300 caracteres, 5 fotos y 1 v\xeddeo) y aprueben nuestro proceso de aprobaci\xf3n de rese\xf1as recibir\xe1n un reembolso completo de los puntos utilizados en la solicitud.\\n</p><h3 class=\\"g-sub-title\\">\xbfC\xf3mo participar?</h3><ol class=\\"g-msg\\"><li>Explore los productos disponibles en el m\xf3dulo Tester Club.</li><li>Env\xeda tu solicitud con puntos.</li><li>\\n Espere a que se anuncien los resultados. La lista de usuarios seleccionados se mostrar\xe1 en el m\xf3dulo Tester Club y tambi\xe9n recibir\xe1s una notificaci\xf3n.\\n </li></ol><h3 class=\\"g-sub-title\\">Notas importantes</h3><ul class=\\"g-msg\\"><li>\\n Una vez anunciados los resultados, los usuarios seleccionados deben proporcionar la informaci\xf3n de env\xedo completa dentro del tiempo especificado; de lo contrario, se perder\xe1 la calificaci\xf3n.\\n </li><li>\\n Cada actividad del Tester Club requiere una nueva solicitud. La selecci\xf3n no es continua.\\n </li><li>\\n Excepto en casos de p\xe9rdida o da\xf1o en el env\xedo, los productos de Tester Club no se pueden devolver ni cambiar.\\n </li><li>\\n Solo las rese\xf1as que cumplan con el formato de contenido requerido (texto, im\xe1genes y v\xeddeo) y aprueben la revisi\xf3n manual calificar\xe1n para el reembolso de puntos.\\n </li><li>\\n Env\xede su comentario dentro de los 14 d\xedas posteriores a la recepci\xf3n de su pedido. Los env\xedos realizados despu\xe9s de este per\xedodo no ser\xe1n elegibles para un reembolso.\\n </li></ul>","web_pay_card_number_invalid_tip":"El n\xfamero de tarjeta no es v\xe1lido","web_pay_cancel_confirm_btn_cancel":"CONFIRMAR CANCELAR","web_subscribe_email_placeholder":"Tu correo electr\xf3nico","web_wfd_checkout_popup_content":"<ContentWrap><Part><Title>Qu\xe9 cubre <SeelLogo/></Title><WorryFreeTips/></Part><Part><Title>Resoluci\xf3n f\xe1cil</Title><Msg>Resuelva sus problemas con unos pocos clics</Msg></Part><Part><Title>Tranquilidad total</Title><UlMsg><LiMsg>Cero riesgo en su pedido con nuestra protecci\xf3n</LiMsg><LiMsg>Obtenga su reembolso con prontitud</LiMsg></UlMsg></Part></ContentWrap>","web_warranty_form_failed":"Fallo en el env\xedo. Vuelve a intentarlo m\xe1s tarde o ponte en contacto con el servicio de atenci\xf3n al cliente.","web_common_btn_reset":"Reiniciar","web_checkout_points_max_available":"Usa puntos","web_addresses_btn_add_address":"Agregar una direcci\xf3n nueva","web_coupons_empty_error":"Introduce el c\xf3digo de cup\xf3n.","web_common_free_gift":"Regalo gratis","web_order_option_tracking":"Rastreo","web_list_filter_empty_tip":"No hay elementos de filtro en la p\xe1gina actual","web_diy_customize_select_multiple":"Seleccione varios","web_help_customer_service_title":"Servicio al cliente","web_tag_cyber_monday":"Lunes cibern\xe9tico","web_tag_wholesale":"Comercio mayorista","web_summary_tip_reward_points":"Recompensa <span>{{num}}</span>{{brand}} Puntos","web_package_tracking_empty":"La informaci\xf3n de seguimiento a\xfan no est\xe1 disponible.","web_list_sort_by_label":"Ordenar por","web_order_info_shipping_title":"Env\xedo est\xe1ndar","web_form_old_pwd_label":"Contrase\xf1a antigua","web_shop_activity_winter_surprise_rules_title":"Reglas de la promoci\xf3n Winter Surprise","web_refund_return_reason_placeholder":"Por favor, elige un motivo","web_diy_ranking_kit_comments":"Comentarios sobre el KIT","web_support_banner_title":"Me encanta crecer de forma ecol\xf3gica","web_return_request_no":"No de solicitud","web_list_filter_title":"Filtrar","web_product_unavailable_desc":"Este producto no est\xe1 disponible actualmente en la regi\xf3n seleccionad
1a. Vuelva a la p\xe1gina de inicio para explorar otros art\xedculos.","web_refer_friend_total_points":"Tu {{brand}} Puntos","web_winter_grow_problem_1_title":"\xbfLas noches fr\xedas est\xe1n matando tu cultivo? Mant\xe9ngase seguro y abrigado este invierno.","web_pay_card_form_title":"Informaci\xf3n de la tarjeta","web_help_about_diy_pools":"Acerca de Diy Pools","web_m_product_tab_technical_specs":"Especificaciones","web_common_welcome_to":"Bienvenido a {{brand}}","web_support_products_title":"Explore el soporte de productos","web_checkout_referrer_unavailable_error":"Este REFID no est\xe1 disponible","web_common_share":"Compartir","web_payment_klarna_slogen_gb":"web_payment_klarna_slogen_gb","web_pay_cvv_empty_tip":"Introduce el c\xf3digo de seguridad","web_form_already_submitted":"Ya se ha enviado","web_diy_customize_mandatory":"Obligatorio","web_xmas2025_door4_link_us":"https://www.instagram.com/reel/DSHYs0pDdMe/","web_product_afterpay_help_us":"web_product_afterpay_help_us","web_help_warranty_policy":"Pol\xedtica de garant\xeda","web_summary_subtotal":"Subtotal","web_shop_activity_thanks_for_joining":"\xa1Gracias por unirse!","web_shop_crowdfunding_gifts":"Regalos","web_purchase_large_whatsapp_account":"Cuenta empresarial de WhatsApp","web_account_profile_title":"Mi perfil","web_consent_root_desc":"Para brindarle la mejor experiencia, utilizamos cookies y tecnolog\xedas similares (\xabcookies\xbb) para proporcionar nuestros Servicios, mejorar y publicitar el Servicio, medir la eficacia de las campa\xf1as publicitarias y garantizar que sea seguro para nuestros usuarios. Haz clic en \xabAceptar todo\xbb o \xabRechazar todo\xbb si quieres permitir o rechazar la instalaci\xf3n de estas tecnolog\xedas en tu dispositivo. Tambi\xe9n puedes elegir qu\xe9 tipos de cookies quieres aceptar o rechazar haciendo clic en \xabPersonalizar las cookies\xbb que aparece m\xe1s abajo o en cualquier momento en tu configuraci\xf3n de privacidad. Para obtener m\xe1s informaci\xf3n, consulta nuestra <privacy>Pol\xedtica de privacidad</privacy>.","web_tag_off":"APAGADO","web_common_is_required":"es obligatorio.","web_support_call_action":"Llama ahora","web_consent_customise_necessary_title":"Cookies estrictamente necesarias","web_pay_loading_tip":"espera","web_write_review_comment_placeholder":"Escriba sus comentarios sobre este producto.","web_shop_energy_label_product_data_sheet":"Hoja de datos del producto","web_xmas2025_door7_link_us":"https://vivosun.com/vivosun-m\xe1quina de caramelos p163960084060939787-v163960084060939680? utm_source=mkt&utm_medium=xmas&utm_campaign = d\xeda 7","web_summary_shop_price":"Precio de la tienda","web_help_loyalty_policy":"Programa de fidelizaci\xf3n","web_fixed_coupon_title":"Descuento exclusivo","web_order_cancel_wrong_address":"Direcci\xf3n o producto incorrectos","web_pay_btn_place_order":"Realizar pedido","web_shop_crowdfunding_campaign":"Campa\xf1a","web_time_ended":"Finalizado","web_help_legal_notice":"Aviso legal","web_support_view_pdf":"Ver","web_checkout_btn_choose_address":"Elige otra direcci\xf3n","web_order_prod_type_kit":"Kit","web_form_agree_error":"Selecciona \xabAcepto\xbb para continuar.","web_xmas2025_door5_link_de":"https://vivosun.com/de-DE/tester-club? utm_source=DEMKT&utm_medium=XMAS&utm_campaign=D\xeda 5","web_product_bundle_save":"T\xfa ahorras","web_common_score":"Puntuaci\xf3n","web_winter_grow_expert_tips_desc":"Vea c\xf3mo los cultivadores experimentados configuran sus salas de cultivo y eligen el equipo adecuado para ayudar a las plantas a prosperar durante la estaci\xf3n fr\xeda.","web_help_about_points":"Acerca de los puntos","web_upload_msg_1":"<span>Elige un archivo</span> o p\xe1sate aqu\xed","web_tag_super_slots":"S\xfaper tragamonedas","web_checkout_coupon_drawer_trigger":"Echa un vistazo <span>Mis cupones<Num/></span>","web_diy_ranking_entrances_title":"\xbfTiene dificultades para decidir?<br/>Probemos otra forma de encontrar inspiraci\xf3n","web_fixed_register_trigger":"REG\xcdSTRATE Y OBT\xc9N {{discount}} APAGADO","web_support_product_videos_title":"Mira y aprende","web_common_back_to_top":"Volver al principio","web_product_tab_technical_specs":"Especificaciones t\xe9cnicas","web_order_out_stock_error":"Todos los productos de este pedido est\xe1n agotados","web_common_resend":"Reenviar","web_common_view_all":"Ver todos","web_shop_account_have_completed_email_change":"He completado el cambio de mi correo electr\xf3nico","web_referral_benefit_point2_description":"Ganar {{points}}
1 puntos por cada {{price}} tus gastos de referidos.","web_form_agree_tip":"Estoy de acuerdo con la <privacy>Pol\xedtica de privacidad y cookies</privacy> y <terms>T\xe9rminos y condiciones</terms>.","web_common_btn_delete":"Borrar","web_referral_benefit_point1_description":"Cualquier usuario registrado puede convertirse en referente en cualquier momento.","web_diy_customize_unavailable_error":"El kit de bricolaje contiene art\xedculos \xabagotados\xbb o \xabno disponibles\xbb, por lo que no es posible proceder al pago.","web_shop_activity_winter_surprise_rules_desc":"<p>1. Per\xedodo del evento: del 11 de diciembre de 2024 a las 12:00 a.m. al 17 de diciembre de 2024 a las 23:59 p.m. PST.</p><p>2. Durante el evento, los usuarios que compartan la p\xe1gina o los productos del evento tendr\xe1n una oportunidad de abrir una caja de regalo. Cada caja de regalo contiene\xbbVIVOSUN Puntos\xbb y un \xabregalo gratis\xbb, ambos emitidos al azar. El VIVOSUN Los puntos se acreditar\xe1n inmediatamente en la cuenta del usuario y el regalo gratuito se a\xf1adir\xe1 autom\xe1ticamente a su carrito de compras.</p><p>3. El regalo gratuito no se puede comprar por separado y se debe pagar con al menos un art\xedculo normal.</p><p>4. El regalo gratuito est\xe1 disponible en cantidades limitadas. Una vez agotado, no se emitir\xe1n m\xe1s regalos. Si un usuario retrasa la realizaci\xf3n de un pedido y el regalo gratuito se agota, o el evento finaliza antes de que se haya realizado el pedido, el usuario perder\xe1 la oportunidad de reclamarlo.</p><p>5. No saques el regalo gratis del carrito de compras a la ligera. Una vez retirado, no se puede volver a a\xf1adir.</p><p>6. El regalo gratuito no se puede combinar con otras promociones, como regalos con compra, descuentos en paquetes o vales.</p><p>7. Para garantizar la imparcialidad, las autorreferencias est\xe1n estrictamente prohibidas, incluido el uso del mismo correo electr\xf3nico, direcci\xf3n IP o sesi\xf3n de navegador. Las infracciones se traducir\xe1n en recomendaciones inv\xe1lidas.</p>","web_shop_product_notify_me":"Notificarme","web_footer_link_order_history":"Historial de pedidos","web_diy_entrance_customize_desc":"Elige tu carpa, l\xe1mpara, ventilador de ducto y accesorios.","web_payment_klarna_slogen_ca":"COMPRA ahora. Paga con Klarna a tu propio ritmo.","web_shop_account_link_expired_prompt_desc":"Este enlace de verificaci\xf3n ha caducado. Por motivos de seguridad, los enlaces de verificaci\xf3n por correo electr\xf3nico solo son v\xe1lidos durante 1 hora.","web_common_btn_save":"Guardar","web_purchase_success_status":"\xa1Pago exitoso!","web_unsubscribe_suc_tip":"Ya no recibir\xe1s marketing por correo electr\xf3nico de esta lista.","web_survey_result_thank_tip":"Gracias por formar parte del {{brand}} familia.<br/>Sus comentarios de hoy nos ayudan a construir juntos el futuro del cultivo de interior.","web_account_sidebar_title":"Centro personal","web_orders_order_detail_link":"Detalle del pedido","web_shop_activity_early_access_result_selected1":"\xa1Has sido seleccionado para probar el nuevo producto!","web_shop_activity_early_access_result_selected2":"Proporcione su informaci\xf3n de env\xedo a continuaci\xf3n en un plazo de 14 d\xedas a partir del anuncio del resultado o perder\xe1 su elegibilidad para la prueba. Se le devolver\xe1n los puntos de solicitud si no cumple con la fecha l\xedmite.","web_unsubscribe_suc_title":"\xa1Cancelar la suscripci\xf3n correctamente!","web_xmas2025_door12_link_de":"https://www.instagram.com/vivosun.de/","web_shop_redeem_redeem_your_rewards":"Canjee sus recompensas","web_checkout_referrer_empty_error":"Introduzca REFID.","web_crowd_funding_limit_reached":"L\xedmite alcanzado","web_pointsmarket_checkin_popup_title":"web_pointsmarket_checkin_popup_title","web_form_comfirm_pwd_mismatch_error":"Sus contrase\xf1as no coinciden, int\xe9ntelo de nuevo.","web_help_title_guide":"Gu\xeda","web_shop_activity_early_access_share_the_activity":"Comparte la actividad del Tester Club","web_payment_klarna_slogen_de":"COMPRA ahora. Paga con Klarna a tu propio ritmo.","web_xmas2025_door8_desc_us":"Algunas personas tienen un cuarto de cultivo. Otros b\xe1sicamente viven en \xe9l \ud83d\udc9a\\nEsta configuraci\xf3n puede ser uno de los espacios de cultivo m\xe1s dedicados que hemos visto en la comunidad.","web_xmas2025_door6_desc_de":"Alle warten aufs Chriskind... Ich warte auf meine Frost-resistenten Buds..","web_home_sfs_btn_sale_is_ove_capfirst":"La venta ha terminado","web_subscribe_title":"Reg\xedstrate y obt\xe9n {{discount}} descuento en tu primer pedido","web_profile_nick_name_label":"Nombre de apodo","web_security_delete_account_note":"Nota: La cuenta NO SE PUEDE recuperar una vez eliminada.","web_pay_card_number_empty_tip":"Introduce el n\xfamero de tarjeta","web_shop_activity_early_access_announced_soon":"\xa1Gracias por postularse! Los resultados se anunciar\xe1n pronto.","web_product_sold_out_upper":"AGOTADO","web_shop_crowdfunding_comments":"Comentarios","web_shop_redeem_trick_or_treat_promotion_rules_title":"Reglas de promoci\xf3n Trick or Treat","web_referral_process_step2":"Paso 2: Hacer referencias","web_referral_process_step1":"Paso 1: iniciar sesi\xf3n {{brand}}","web_shop_redeem_the_pumpkin_you_earned":"Calabazas ganadas","web_order_empty_tip":"Tu pedido est\xe1 vac\xedo","web_common_plus_points":"+{{num}} Puntos","web_common_btn_quick_view":"Vista r\xe1pida","web_purchase_order_total_payment":"Pago total","web_search_btn_search":"B\xfasqueda","web_form_pwd_pattern_letter_error":"La contrase\xf1a debe contener al menos una letra.","web_xmas2025_door3_desc_us":"\xa1El gran resumen de este a\xf1o!\\nGracias por todas las ideas, nos hab\xe9is ayudado a crecer mejor. \ud83d\udc9a\xbb","web_common_max_available":"M\xe1ximo disponible","web_early_access_review_tips":"<p class=\\"g-title\\">Deja que se escuche tu voz <br>\u2014 \xa1y obt\xe9n recompensas!</p><p class=\\"g-text\\">Env\xeda tu opini\xf3n con <strong>al menos 300 caracteres, 5 fotos y 1 v\xeddeo</strong> para tener derecho a un reembolso completo de los puntos que utiliz\xf3 para solicitar esta prueba.
1</p><p class=\\"g-text\\">Tambi\xe9n recibir\xe1s la recompensa por rese\xf1a est\xe1ndar, al igual que cualquier rese\xf1a normal.</p><p class=\\"g-text\\"><a href=\\"/help/about-points\\">Consulte Acerca de los puntos</a></p><p class=\\"g-text\\"></p><p class=\\"g-text\\">Tu historia importa: \xa1mu\xe9stranos lo que este producto significa para ti!</p></div>","web_xmas2025_door10_desc_us":"Resulta que incluso las leyendas del crecimiento tienen momentos de \xabvaya\xbb. \ud83e\udd23\\nNos adentramos en la comunidad y la coronamos como una de las m\xe1s divertidas. \xbfCu\xe1l es tu momento m\xe1s ca\xf3tico al dejarte crecer la palma de la cara?","web_pointsmarket_total_points":"Puntos totales","web_eggs_product_added":"El art\xedculo se ha agregado autom\xe1ticamente a su carrito y debe comprarse junto con otros art\xedculos del mismo pedido.","web_write_review_check_form_error":"Por favor, consulta el formulario","web_common_seconds_lower":"segundos","web_form_pictures_label":"Fotograf\xedas","web_fixed_register_plus":"Plus","web_order_order_date":"Fecha del pedido","web_write_review_success_titlle":"Recibido correctamente","
1web_common_congratulations":"\xa1Felicidades!","web_support_call_title":"Ll\xe1menos","web_home_sfs_stock_left":"<Num/> izquierda","web_shop_crowdfunding_hrs_left":"<span>{{timeRemaining}}</span> quedan horas","web_user_go_wholesale_tip":"Esta cuenta es solo para clientes mayoristas. Inicie sesi\xf3n en nuestro sitio de venta al por mayor.","web_search_btn_clear":"Borrar","web_diy_cart_discount_tip":"Un extra <strong>{{discount}}</strong> \xa1El descuento ya se ha aplicado al subtotal del pedido!","web_fixed_register_email_placeholder":"Introduce tu direcci\xf3n de correo electr\xf3nico","web_subscribe_result_text_2":"Tambi\xe9n puedes unirte a nuestra comunidad de Facebook, donde compartimos consejos de cultivo y ofertas exclusivas con un grupo de cultivadores apasionados.","web_common_success_tip":"Exitosamente","web_subscribe_result_text_3":"Adem\xe1s, como regalo de bienvenida, queremos compartir un c\xf3digo con usted para obtener {{discount}} descuento en tu pr\xf3ximo pedido por c\xf3digo: <CouponCode/>.","web_shop_crowdfunding_available_rewards":"Recompensas disponibles","web_price_discount_off":"{{discount}} Apagado","web_shop_crowdfunding_day_left":"<span>{{timeRemaining}}</span> d\xeda restante","web_subscribe_result_text_1":"\xa1Estamos muy contentos de que hayas decidido unirte a nosotros!","web_form_email_invalid_tip":"El correo electr\xf3nico que has introducido no es v\xe1lido. Comprueba tu correo electr\xf3nico e int\xe9ntalo de nuevo.","web_support_product_reviews_demos":"Rese\xf1as y demostraciones","web_cart_view_cart":"Ver carrito","web_referral_refid":"REF\xcd","web_address_make_default":"Establecer como predeterminado","web_login_auth_failed":"\xa1Fall\xf3 la autenticaci\xf3n!","web_product_paypal_pay_title_us":"web_product_paypal_pay_title_us","web_shop_activity_units_available":"Unidades disponibles","web_referral_process_step3":"Paso 3: Obtenga las recompensas","web_tag_black_friday":"Black Friday","web_product_paypal_pay_title_uk":"web_product_paypal_pay_title_uk","web_points_col_expired":"Expirado","web_shop_security_verify_now":"Verificar ahora","web_pointsmarket_expiring_tip":"{{num}} Los puntos vencer\xe1n pronto","web_shop_crowdfunding_estimated_delivery":"Entrega estimada","web_tag_prime_day":"Prime Day","web_cupon_maximum_saving":"Ahorro m\xe1ximo","web_form_email_empty_tip":"Introduce tu direcci\xf3n de correo electr\xf3nico.","web_common_processing":"Procesamiento","web_common_you_have_applied":"Has presentado una solicitud","web_product_total_reviews":"{{total}} Rese\xf1as","web_diy_ranking_help_title":"Criterios de valoraci\xf3n","web_form_name_placeholder_1":"p. ej., John Doe","web_xmas2025_door1_link_de":"https://vivosun.com/de-DE/campaign/Winter-grow? utm_source=DEMKT&utm_medium=XMAS&utm_campaign=D\xeda1","web_shop_redeem_how_to_get_more_chances":"\xbfC\xf3mo tener m\xe1s oportunidades de conseguir golosinas?","web_common_learn_more":"Aprenda m\xe1s","web_login_btn_google":"Iniciar sesi\xf3n con Google","web_survey_points_credited":"{{num}} Los puntos se han acreditado en su cuenta.","web_consent_privacy_title":"Pol\xedtica de seguridad y privacidad","web_cart_bonus_login_confirm":"\xa1Uy! No has iniciado sesi\xf3n. Inicie sesi\xf3n primero y, a continuaci\xf3n, a\xf1ada art\xedculos para canjear puntos.","web_pointsmarket_boost_points_gained":"Puntos ganados","web_return_step_refused":"Rechazado","web_form_empty_error":"Necesario","web_tag_flash_sale":"Venta flash","web_common_btn_close":"Cerrar","web_common_btn_ok":"BIEN","web_home_sfs_help_title":"Acerca de Super Flash Sale","web_common_reviews":"Rese\xf1as","web_coupon_applied_successfully":"El c\xf3digo de cup\xf3n se ha aplicado correctamente.","web_summary_retail_price":"Precio minorista","web_payment_klarna_step3_gb":"web_payment_klarna_step3_gb","web_diy_ranking_use_this_kit":"Usa este kit","web_issue_description":"Descripci\xf3n del problema","web_pay_cvv_invalid_tip":"El c\xf3digo de seguridad no es v\xe1lido","web_help_contact_us":"P\xf3ngase en contacto con nosotros","web_product_limit_reached":"L\xedmite alcanzado","web_order_cancel_duplicate":"Pedido duplicado","web_checkin_plant_done":"\xa1Tu planta est\xe1 floreciendo maravillosamente!","web_purchase_failed_status":"Fallo en el pago","web_shop_redeem_trick_or_treat_promotion_rules_desc":"1. Event Duration: The event will run from October 25, 2024, 00:00:00 to November 3, 2024, 23:59:59 P
1ST.<br/>2. Participation: During the event, you can log in or share the event page to receive 1 opportunity to grab event items. You will randomly receive between 1 to 10 \\"Candies\\" or 1 to 5 \\"Pumpkins.<br/>3. Referrals: Throughout the event, you can recommend {{brand}} to your friends by sharing your personalized invitation link. For every friend who successfully places an order and completes payment through your referral, you will receive 1 \\"Pumpkin\\" item. You will also earn Referral points. Check the <referral>Referral Program</referral> for more details. If the order is canceled, the Pumpkin and points will not be awarded.<br/>4. Fairness Policy: To ensure fairness, self-referrals are prohibited, including using the same email, IP address, or browser session. Non-compliant referrals will be deemed invalid.<br/>5. Redeeming Prizes: During the event, you can redeem prizes using the event items \\"Candy\\" and \\"Pumpkin\\" on the event page. Prizes may include products, merchandise, or {{brand}} points. Once redeemed, event prizes cannot be returned.<br/>6. Order Requirements: Prizes redeemed during the event cannot be purchased
1separately and must be combined with at least one regular product in the order.<br/>7. Limited Stock: Event products are limited in quantity and will be sold out once depleted.<br/>8. Discount Exclusions: Event products do not qualify for any other discounts, such as spend promotions, multi-item discounts, or coupon offers.","web_messages_clear_tip":"\xbfEst\xe1s seguro de borrar todos los mensajes no le\xeddos?","web_common_add_cart_fail_tip":"Los siguientes art\xedculos no se han podido a\xf1adir al carrito","web_xmas2025_progress_tip":"{{count}} m\xe1s para desbloquear el regalo","web_locale_current_tip":"Est\xe1s comprando actualmente en <strong>{{country}}</strong> ({{language}}).","web_form_pwd_pattern_letter_tip":"Al menos una letra","web_pointsmarket_flash_title":"Ofertas limitadas","web_common_sku_upper":"SKU","web_help_fraud_awareness":"Concienciaci\xf3n sobre el fraude","web_product_buy_now_upper":"COMPRAR AHORA","web_form_phone_placeholder_1":"p. ej., 234 567 8900","web_coupons_not_available_title":"No disponible","web_shop_activity_days_left":"D\xedas restantes","web_pay_reload_tip":"Recarga si tarda demasiado.","web_product_earn_points":"Gane hasta <span>{{ num }}</span>{{ brand }} Puntos al finalizar la compra.","web_product_together_items_unavailable":"Los siguientes art\xedculos no est\xe1n disponibles para la compra en este momento","web_search_return_no_matches":"Tu b\xfasqueda no arroj\xf3 resultados.","web_shop_crowdfunding_pledged_of_amount":"comprometido con {{targetAmount}}","web_return_step_request_submitted":"Solicitud presentada","web_common_total_points_lower":"<Num/> puntos","web_halloween_time":"25 de octubre - 3 de noviembre","web_shop_product_notify_me_when_available":"Notificarme cuando est\xe9 disponible","web_common_btn_no":"NO","web_tag_bonus":"Bonificaci\xf3n","web_order_option_refund":"Reembolso","web_wfd_checkout_module_title":"Entrega sin preocupaciones para {{priceExchangeDisplay}}","web_pointsmarket_checkin_trigger":"web_pointsmarket_checkin_trigger","web_common_btn_confirm":"Confirmar","web_shop_activity_early_access_ongoing":"En curso","web_order_cancel_wrong_order":"Pedido incorrecto, realizar\xe1 un nuevo pedido","web_xmas2025_door11_desc_us":"Pap\xe1 Noel tiene un \xfaltimo regalo para ti \ud83c\udf85\ud83c\udf81\u2728\\nCerramos nuestros 12 d\xedas de magia navide\xf1a con un sorteo final, y es uno de los m\xe1s importantes: un afortunado ganador se llevar\xe1 un Vivosun \xa1Kit de carpa de cultivo 4x2! Perfecto para nivelar tu espacio de cultivo y empezar el nuevo a\xf1o con fuerza.","web_xmas2025_door1_desc_de":"Drau\xdfen ist es kalt, aber deine Pflanzen m\xfcssen nicht frieren!","web_diy_ranking_change_size_confirm":"El tama\xf1o de tu selecci\xf3n actual es $ {currentSizeName}, mientras que el tama\xf1o del kit que necesitas usar es $ {recordSizeName}
1. Confirma si necesitas cambiar la talla.","web_payment_klarna_step3_de":"Inicia sesi\xf3n o crea tu<br>Cuenta Klarna, con<br>verificaci\xf3n instant\xe1nea","web_order_cancel_result_status":"El pedido se ha cancelado.","web_xmas2025_door11_link_us":"https://www.instagram.com/reel/DSZaUk9ES_q/","web_consent_customise_desc":"Puede cambiar la configuraci\xf3n de las cookies para aceptar o rechazar determinadas cookies y tecnolog\xedas similares a continuaci\xf3n. Recuerde que puede personalizar la configuraci\xf3n de las cookies en cualquier momento en su configuraci\xf3n de privacidad. Para obtener m\xe1s informaci\xf3n sobre las cookies que utilizamos, consulta nuestra <privacy>Pol\xedtica de privacidad</privacy>.","web_eggs_cart_prod_tag":"Pascua","web_common_redeem":"Canjear","web_shop_crowdfunding_view_details":"Ver detalles","web_survey_start_survey":"Iniciar encuesta","web_activity_share_for_treats":"Compartir for Treats","web_shop_crowdfunding_unavailable_rewards":"Recompensas no disponibles","web_cart_empty_btn_shopping":"Empieza a comprar","web_form_number_minus":"Menos","web_order_option_bigamount_tip":"En operaci\xf3n de pago","web_fixed_register_suc_title":"\xa1GRACIAS POR UNIRSE!","web_addresses_delete_confirm_tip":"\xbfEst\xe1 seguro de que desea eliminar esta direcci\xf3n?","web_product_buy_now":"Comprar ahora","web_pay_link_back_checkout":"Volver a la p\xe1gina de realizaci\xf3n del pedido","web_diy_entrance_ranking_title":"Insp\xedrate","web_payment_klarna_step3_ca":"Inicia sesi\xf3n o crea tu<br>Cuenta Klarna, con<br>verificaci\xf3n instant\xe1nea","web_tag_super_flash_sale":"Oferta Super Flash","web_order_confirm_receipt_tips":"\xbfEst\xe1s seguro de que has recibido este pedido?","web_xmas2025_reward_modal_link":"Explore m\xe1s","web_pay_card_number_label":"N\xfamero de tarjeta","web_diy_step_light":"Luz","web_refund_page_title":"Reembolso","web_shop_crowdfunding_campaign_live":"Campa\xf1a en vivo","web_common_btn_post":"Publicar","web_order_pkg_confirm_receipt_tips":"\xbfEst\xe1s seguro de que has recibido este paquete?","web_refund_pictures_note":"Para ayudarte a resolver mejor el problema, sube una imagen. Se pueden cargar hasta 5 im\xe1genes, el tama\xf1o de cada imagen no supera los 5 m, es compatible con archivos de formato BMP, JPG, PNG y JPEG.","web_xmas2025_rules_title":"Reglas del evento","web_common_btn_yes":"S\xcd","web_time_days_left":"quedan d\xedas","web_support_email_action":"Enviar un correo electr\xf3nico","web_xmas2025_scroll_message18":"Crecemos juntos.","web_xmas2025_scroll_message17":"Vale la pena celebrar cada cosecha.","web_xmas2025_scroll_message16":"T\xfa cultivas plantas; nosotros te apoyamos.","web_xmas2025_scroll_message15":"El crecimiento lleva tiempo, al igual que las grandes cosas.","web_xmas2025_scroll_message14":"Tu espacio de cultivo es tu paz.","web_xmas2025_scroll_message13":"Semillas peque\xf1as, grandes esperanzas.","web_xmas2025_scroll_message12":"Sigue creciendo, sigue brillando.","web_xmas2025_scroll_message11":"Su pasi\xf3n nos inspira.","web_xmas2025_scroll_message10":"El crecimiento hace que la vida sea m\xe1s suave.","web_refund_return_reason_label":"Motivo de devoluci\xf3n","web_shop_activity_early_access_more_way_boost_chances":"\xa1M\xe1s formas de aumentar tus posibilidades!","web_locale_lable_currency":"Moneda","web_wfd_checkout_popup_cta_opt_in":"Inscr\xedbase ahora para obtener una protecci\xf3n total","web_spin_check_in_pp":"Registrarse en la aplicaci\xf3n","web_spin_better_luck":"Mejor suerte la pr\xf3xima vez","web_diy_choose_dimensions_title":"Elige tus dimensiones","web_checkout_save_address_tip":"Guarde la direcci\xf3n.","web_common_page_not_found":"No se encontr\xf3 la p\xe1gina","web_fixed_coupon_sign_in_claim":"Inicia sesi\xf3n para reclamar","web_xmas2025_door2_desc_us":"\xbfPuedes ver qu\xe9 producto no es de los nuevos lanzamientos de este a\xf1o?","web_checkout_sign_in_tip":"\xbfYa tienes una cuenta? <span>Inicia sesi\xf3n ahora</span>","web_write_review_rating_empty_error":"La calificaci\xf3n es requerida","web_activity_trick_or_treat_rules_title":"Reglas de promoci\xf3n Trick or Treat","web_return_step_refunded":"Reembolsado","web_shop_activity_early_access_apply_success_tips":"\xa1Su solicitud ha sido envi
1ada!","web_product_bundle_price":"Precio del paquete","web_common_btn_view_points":"Puntos de vista","web_shop_security_email_verification_required_tips":"Por motivos de seguridad, comprueba tu correo electr\xf3nico antes de continuar con tu pedido.","web_shop_activity_early_access_completed":"Completado","web_common_btn_login":"Iniciar sesi\xf3n","web_wholesale_become_a_reseller":"Convi\xe9rtase en distribuidor","web_support_community_action":"\xdanete a la comunidad","web_summary_tip_already_saved":"Ya se ha guardado:","web_xmas2025_rewards_important":"Importante:","web_diy_step_accessories":"Accesorios","web_form_comfirm_pwd_empty_error":"\xa1Confirme su contrase\xf1a!","web_spin_you_get":"Obtienes","web_shop_activity_submint_shipping_address":"Enviar direcci\xf3n de env\xedo","web_shop_task_referral_title":"Completa las tareas del tutorial de recomendaci\xf3n para reclamar Vivosun puntos.","web_help_about_diy_ranking":"Acerca de Diy Ranking","web_address_billing_address_tip":"Aseg\xfarese de que la direcci\xf3n de facturaci\xf3n que introduce a continuaci\xf3n coincide con el nombre y la direcci\xf3n asociados a la tarjeta de cr\xe9dito que utiliza para esta compra.","web_shop_product_price_vat_tips":"(incluye IVA)","web_help_community_guidelines":"web_help_community_guidelines","web_shop_redeem_process_step2_desc":"Prensa <ShareIcon/> junto al t\xedtulo de cualquier producto para recomendar tus art\xedculos favoritos a tus amigos. Tambi\xe9n puedes compartir tu <a href=\\"/account/refer-a-friend\\">enlace de invitaci\xf3n personalizado</a>.","web_shop_activity_applicants":"Solicitantes","web_address_billing_address_title":"Direcci\xf3n de facturaci\xf3n","web_login_forgot_tip_1":"Si has olvidado tu contrase\xf1a, introduce tu direcci\xf3n de correo electr\xf3nico registrada.","web_login_forgot_tip_2":"Te enviaremos un enlace para restablecer tu contrase\xf1a.","web_order_option_check_out":"Echa un vistazo","web_points_col_points_amount":"Cantidad de puntos","web_product_paypal_pay_help_uk":"web_product_paypal_pay_help_uk","web_common_view_more":"Ver m\xe1s","web_user_go_wholesale_btn":"Visite Wholesale","web_winter_grow_problem_3_title":"\xbfHojas secas y crujientes? Arr\xe9glalo r\xe1pidamente con este humidificador para plantas","web_product_paypal_pay_title_au":"web_product_paypal_pay_title_au","web_xmas2025_door5_link_us":"https://vivosun.com/vivosun-vcure-caja inteligente poscosecha p159688692373090695-v159688692373090694? utm_source=mkt&utm_medium=xmas&utm_campaign = d\xeda 5","web_xmas2025_door8_desc_de":"Aprenda LumaLight kennen \u2014 Potencia, precisi\xf3n y control total para tu crecimiento.","web_footer_link_my_addresses":"Mis direcciones","web_footer_link_log_in":"Iniciar sesi\xf3n","web_product_paypal_pay_help_us":"web_product_paypal_pay_help_us","web_shop_activity_early_access_rules_desc7":"S\xe9 el primero en experimentar Vivosunes un nuevo producto! \xa1Solicita ahora una vista previa exclusiva! {{link}}","web_support_download_pdf":"Descargar PDF","web_product_paypal_pay_title_ca":"web_product_paypal_pay_title_ca","web_checkout_payment_empty_tip":"Compruebe el m\xe9todo de pago","web_xmas2025_door5_desc_us":"Pap\xe1 Noel en el cuarto de cultivo dice: \xab\xbfPor qu\xe9 haces eructar tarros en 2025?\xbb \\nCurado inteligente > tarros para cuidar ni\xf1os.","web_pay_expiry_label":"Fecha de caducidad","web_write_review_no_products":"No hay productos para opinar","web_write_review_points_help":"<div class=\\"title\\">Revisa nuestros productos para ganar {{brand}} puntos</div><div class=\\"content\\">Cuando cumplas con el requisito m\xednimo de texto (al menos 50 caracteres, sin incluir el espaciado), recibir\xe1s 30 puntos. Si incluyes una fotograf\xeda en tu rese\xf1a, obtendr\xe1s 60 puntos, y si tu rese\xf1a incluye un v\xeddeo de m\xe1s de 5 segundos, recibir\xe1s 40 puntos adicionales. Lo que es a\xfan m\xe1s emocionante es que, si elegimos tu opini\xf3n como una rese\xf1a de alta calidad, tendr\xe1s derecho a recibir hasta 100 puntos adicionales.</div><table class=\\"table\\"><thead><tr><th>Acci\xf3n</th><th>Puntos</th></tr></thead><tbody><tr><td>Publicar un comentario</td><td>30</td></tr><tr><td>Publicar un comentario con im\xe1genes</td><td>60</td></tr><tr><td>Publicar un comentario con un v\xeddeo</td><td>70</td></tr><tr><td>Publica un comentario con im\xe1genes y un v\xeddeo</td><td>100</td></tr><tr><td>Seleccionado como una rese\xf1a de alta calidad</td><td>hasta 200</td></tr></tbody></table>","web_shop_order_perk":"Ventaja","web_pointsmarket_boost_boost_successful":"web_pointsmarket_boost_boost_successful","web_cart_bonus_more_options":"M\xe1s opciones","web_referral_benefit_point3_description":"1) Canjear {{brand}}
1 puntos para cr\xe9ditos de compra ({{points}}{{brand}} puntos = {{price}}) o productos exclusivos en <points-marketplace>{{brand}} Mercado de puntos</points-marketplace>.<br/>2) \xa1Disfrute de una validez de puntos extendida de un a\xf1o!","web_early_access_check_order":"Puedes comprobar el estado en cualquier momento en <ordersLink>Mis \xf3rdenes.</ordersLink>","web_common_checkout":"Checkout","web_shop_redeem_can_redeem":"Puede canjear {{pointsNum}} puntos","web_common_recipient_email":"Correo electr\xf3nico del destinatario","web_coupons_not_available_error":"Este c\xf3digo de cup\xf3n no est\xe1 disponible.","web_tag_bundle_deals":"Paquete","web_fixed_register_suc_tip_2":"Consigue tu {{num}} puntos y usa el siguiente c\xf3digo para obtener {{discount}} descuento en tu primer pedido","web_shop_crowdfunding_backers":"patrocinadores","web_fixed_register_suc_tip_1":"\xa1EST\xc1S EN LA LISTA!","web_age_gate_under_age":"NO LO SOY {{age}}+","web_xmas2025_rewards_important_content":"Los regalos misteriosos no se pueden comprar por separado y se deben pagar con al menos un art\xedculo normal. Los regalos son limitados y est\xe1n disponibles hasta agotar existencias. Los puntos y las recompensas de regalos misteriosos vencen el 31 de diciembre. Util\xedzalos antes de que caduquen.","web_shop_account_email_change_success_prompt_desc":"Vuelva a iniciar sesi\xf3n con una nueva direcci\xf3n de correo electr\xf3nico","web_home_sfs_btn_coming_soon_capfirst":"Pr\xf3ximamente","web_common_btn_submit":"Enviar","web_winter_grow_problem_2_title":"\xbfSigues comiendo palomitas? Este es el truco de iluminaci\xf3n","web_return_step_waiting_for_refund":"Esperando el reembolso","web_refer_status_issued":"Emitido","web_consent_customise_necessary_desc":"Estas cookies son estrictamente necesarias para que nuestro sitio funcione correctamente y para proporcionarle nuestros servicios y funciones. Por ejemplo, nos ayudan a garantizar que el uso de nuestros servicios sea seguro y protegido, a autenticar a los usuarios que inician sesi\xf3n, a analizar el modo en que nuestros clientes utilizan el sitio, a mejorar tanto su funcionalidad como su experiencia de compra y a permitir la accesibilidad. Para obtener m\xe1s informaci\xf3n sobre estas cookies, consulta nuestra <privacy>Pol\xedtica de privacidad</privacy>.","web_points_col_earned":"Ganado","web_referral_benefit":"\xbfCu\xe1les son los beneficios de ser un {{brand}} \xbfremisi\xf3n?","web_help_item_lost_in_transit":"Art\xedculo perdido en tr\xe1nsito","web_share_msg_01":"Esto {{brand}} \xa1El evento es realmente interesante! Puedes ganar puntos gratis y conseguir mercanc\xeda. \xa1Ven a comprobarlo!","web_shop_activity_early_access_selected":"Seleccionado","web_xmas2025_rewards_collected_title":"Regalos que has recolectado","web_referral_process_step3_description":"Anima a tus amigos a hacer clic en tu enlace y comprar art\xedculos. 30 d\xedas despu\xe9s de que se confirme y entregue su pedido, podr\xe1s disfrutar de tu merecido {{brand}} puntos!","web_payment_klarna_step1_gb":"web_payment_klarna_step1_gb","web_common_more":"M\xe1s","web_login_forgot_popup_title":"Contrase\xf1a olvidada","web_common_coupon_code":"C\xf3digo de cup\xf3n","web_purchase_btn_view_order":"Ver mi pedido","web_diy_ranking_comment_placeholder":"\xbfQu\xe9 opinas de este KIT?","web_home_sfs_btn_coming_soon":"PR\xd3XIMAMENTE","web_common_points":"Puntos","web_common_btn_copy":"Copiar","web_checkin_rules":"<div><h2>Vivosun Reglas del evento de registro</h2><h3>Duraci\xf3n del evento:</h3><p>Del 8 al 21 de abril</p><h3>\xbfC\xf3mo participar?</h3><p>\\n Paso 1: Registrarse<br/>\\n Visita la p\xe1gina del evento y completa el registro para recibir 100 puntos al instante.\\n </p><p>\\n Paso 2: Comparte el evento<br/>\\n Comparte la p\xe1gina del evento con tus amigos. Una vez que hayas terminado de compartir, \xa1tus puntos aumentar\xe1n autom\xe1ticamente de 100 puntos a 420 puntos!\\n </p><h3>Notas importantes:</h3><ul><li>1. Cada usuario puede registrarse <strong>solo una vez</strong> durante el per\xedodo del evento.</li><li>2. La recompensa de puntos solo se desbloquear\xe1 <strong>despu\xe9s de que la p\xe1gina del evento se haya compartido correctamente</strong>.</li><li>3. Los puntos se a\xf1adir\xe1n inmediatamente a tu cuenta al completar cada paso (registrarte y compartirlos).</li><li>4. Los puntos acumulados en este evento se pueden utilizar para disfrutar de descuentos o canjearlos por recompensas en Vivosun sitio web.</li><li>5. Para obtener m\xe1s informaci\xf3n sobre los puntos, visite \\n <a href=\\"/help/loyalty-program\\" target=\\"_blank\\">Vivosun Lealtad y recompensas</a>.\\n </li></ul><h3>Descargo de responsabilidad:</h3><p>Vivosun se reserva el derecho de modificar, suspender o terminar este evento en cualquier momento sin previo aviso.</p></div>","web_product_afterpay_title":"\xa1Compra ahora y paga despu\xe9s! <br/>Siempre sin intereses.","web_support_content_support":"Contenido y soporte","web_xmas2025_door3_link_de":"https://vivosun.com/de-DE/campaign/Winter-grow? utm_source=DEMKT&utm_medium=XMAS&utm_campaign=D\xeda 3","web_help_about_us":"Acerca de nosotros","web_checkin_modal_share_tip":"Comparte y gira {{prev}} en {{next}} puntos al instante!","web_common_next":"Pr\xf3xima","web_help_intellectual_property":"Propiedad intelectual","web_common_share_copy_link":"Copiar enlace","web_tag_super_upper":"S\xdaPER","web_help_growing_guide":"Gu\xeda de cultivo","web_order_option_return_progress":"Progreso de devoluci\xf3n","web_coupons_expired_coupons":"Cupones caducados","web_account_sign_in_register":"Iniciar sesi\xf3n/Registrarse","web_xmas2025_banner_title":"Toca, haz clic,<br>\xa1Y crece!","web_common_item":"Art\xedculo","web_order_step_finish":"Finalizar","web_return_refund_reason_label":"Motivo del reembolso","web_form_pwd_min_length_error":"La contrase\xf1a debe contener al menos 8 caracteres.","
1web_order_cancel_shipping_fee":"No estoy dispuesto a pagar la tarifa de env\xedo","web_cart_list_title":"Resumen del art\xedculo","web_spin_already_claimed":"Ya has reclamado esta recompensa. Cada usuario solo puede recibirlo una vez.","web_shop_redeem_get_more_pumpkins":"Consigue m\xe1s calabazas","web_checkin_btn_congrats":"<strong>FELICIDADES!<strong><span>\xa1Ya terminaste!</span>","web_spin_coupon_added":"\xa1Cup\xf3n a\xf1adido! Comprueba tu cuenta ahora.","web_login_sdk_load_failed":"{{name}} No se pudo cargar el SDK.","web_wfd_checkout_popup_benefit1_title":"Obtenga un reembolso completo, sin hacer preguntas","web_checkin_earned_points":"Te has ganado: <Num/> Puntos","web_product_add_to_cart":"A\xf1adir al carrito","web_winter_grow_problem_4_title":"Detenga el moho antes de que arruine su cosecha: la forma inteligente de controlar la humedad","web_checkout_register_tip":"REG\xcdSTRATE Y OBT\xc9N <span>{{discount}} OFF PLUS {{points}} PUNTOS</span>","web_consent_customise_always_on":"Siempre encendida","web_checkout_address_empty_tip":"Guarde su direcci\xf3n de env\xedo antes de realizar un pedido.","web_list_sort_price_lower":"Precio de menor a mayor","web_tag_winter_sale":"Rebajas de invierno","web_winter_grow_problem_5_title":"Suelo fr\xedo = sin brotes: c\xf3mo calentar las cosas para una r\xe1pida germinaci\xf3n","web_product_bundle_contains":"Este paquete contiene {{num}} art\xedculos <span>(se puede enviar por separado)</span>","web_diy_customize_help_title":"Crea tu propio kit","web_pointsmarket_checkin_help_content":"web_pointsmarket_checkin_help_content","web_form_pwd_label":"Contrase\xf1a","web_xmas2025_door3_desc_de":"Winter ist die beste Zeit, es drinnen gem\xfctlich zu machen \u2014 auch f\xfcr deine Pflanzen.","web_common_status":"Estado","web_common_btn_checkout_upper":"PAGAR","web_checkout_step_place_order":"Realizar pedido","web_refund_description_placeholder":"Complete la descripci\xf3n para ayudar a las empresas a abordar mejor los problemas de posventa","web_help_shipping_types":"Tipos de env\xedo","web_product_compare_item_unavailable":"{{name}} no est\xe1 disponible temporalmente.","web_form_description_placeholder_1":"Describe el problema con tu producto...","web_diy_step_duct_fan":"Ventilador de ducto","web_product_together_title":"Comprados juntos con frecuencia","web_xmas2025_door8_link_de":"https://vivosun.com/de-DE/vivosun-lumalight-serie-c311? utm_source=DEMKT&utm_medium=XMAS&utm_campaign=d\xeda 8","web_payment_klarna_step1_de":"A\xf1adir art\xedculos<br>a tu carrito","web_wfd_checkout_notice_emailalert":"Aseg\xfarese de que la direcci\xf3n de correo electr\xf3nico de su pedido es correcta y de que puede recibir mensajes; de lo contrario, es posible que no reciba la pol\xedtica de protecci\xf3n de env\xedos sin preocupaciones de Seel.","web_common_sku":"SKU","web_pointsmarket_boost_btn_next":"web_pointsmarket_boost_btn_next","web_product_paypal_pay_title_de":"Pru\xe9balo primero y paga 30 d\xedas despu\xe9s","web_shop_crowdfunding_campaign_successful":"Campa\xf1a exitosa","web_payment_klarna_step1_ca":"A\xf1adir art\xedculos<br>a tu carrito","web_common_reloading":"Recargando","web_common_empty_tip":"Aqu\xed est\xe1 vac\xedo :-(","web_search_placeholder":"B\xfasqueda {{brand}}","web_shop_crowdfunding_sign_in_to_comment":"<u>Iniciar sesi\xf3n</u> comentar","web_return_step_cancelled":"Cancelado","web_spin_disclaimer":"Solo con fines ilustrativos. Todos pueden obtener el mejor resultado en esta interfaz.","web_consent_customise_confirm_my_choice":"Confirmar mi elecci\xf3n","web_refer_friend_page_title":"Recomiende a un amigo","web_shop_redeem_chance_left":"{{chanceNum}} Oportunidad (s) restantes","web_common_results_number":"{{totalNum}} Resultados","web_support_search_for_support":"B\xfasqueda de soporte","web_price_save_discount":"Guardar {{discount}}","web_shop_security_verify_your_email":"Verifica tu correo electr\xf3nico"}')},43851:function(e){"use strict";e.exports=JSON.parse('{"web_cart_total_selected_tip":"{{num}} S\xe9lectionnez","web_eggs_points_added":"Les points ont \xe9t\xe9 automatiquement ajout\xe9s \xe0 votre compte et peuvent \xeatre utilis\xe9s pour de futurs achats ou r\xe9compenses.","web_coupons_use_tip":"Vous pouvez utiliser les coupons suivants sur les articles de votre panier, veuillez les utiliser sur la page de commande","web_support_product_tag_official":"Officiel","web_common_minute_lower":"minimum","web_shop_crowdfunding_back_this_project":"Soutient ce projet","web_shop_account_hint_enter_new_email":"Entrez votre nouvelle adresse e-mail","web_shop_activity_early_access_result_unselected2":"Vous n\'avez pas \xe9t\xe9 s\xe9lectionn\xe9 cette fois-ci, mais ne vous inqui\xe9tez pas, vos points ont \xe9t\xe9 int\xe9gralement rembours\xe9s sur votre compte.","web_shop_activity_early_access_result_unselected1":"Meilleure chance la prochaine fois\xa0!","web_shop_activity_early_access_title":"Club de testeurs","web_shop_activity_early_access_result_unselected3":"Restez \xe0 l\'aff\xfbt des proch
1aines occasions d\'essayer nos derniers produits\xa0!","web_support_community_desc":"Obtenez des r\xe9ponses de la part d\'autres producteurs de notre communaut\xe9 d\'applications.","web_product_alsolike_title":"Vous aimerez peut-\xeatre aussi","web_form_email_label":"Courrier \xe9lectronique","web_xmas2025_reward_modal_desc":"web_xmas2025_reward_modal_desc","web_xmas2025_door9_link_de":"https\xa0://vivosun.com/de-FR/small-smart-kits-C1444\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Jour 9","web_form_pictures_empty_error":"T\xe9l\xe9chargez au moins une image.","web_consent_customise_preferences_desc":"Ces cookies m\xe9moriseront vos pr\xe9f\xe9rences, afin que nous puissions rendre votre exp\xe9rience d\'achat aussi fluide que possible et personnalis\xe9e en fonction de vos besoins. Sans ces cookies, des param\xe8tres tels que les pr\xe9f\xe9rences de votre compte ou votre localisation risquent de ne pas fonctionner correctement. Pour en savoir plus sur ces cookies, consultez notre <privacy>Politique de confidentialit\xe9</privacy>.","web_xmas2025_door1_desc_us":"Vous entendez quelque chose dans votre tente de culture... c\'est le P\xe8re No\xebl. \ud83c\udf85","web_diy_entrance_ranking_desc":"D\xe9couvrez les choix de kits les plus populaires.","web_shop_redeem_process_step3":"\xc9tape 3\xa0: Gagnez des citrouilles et des points de parrainage","web_shop_redeem_process_step2":"\xc9tape 2\xa0: Faites des recommandations","web_form_submission_successful":"Soumission r\xe9ussie","web_shop_redeem_process_step1":"\xc9tape 1\xa0: Connectez-vous","web_address_select_province_first":"Veuillez s\xe9lectionner un {{label}} premier.","web_shop_community":"Communaut\xe9","web_order_cancel_payment_rejected":"Le paiement a \xe9t\xe9 refus\xe9","web_product_view_full_info":"Afficher les informations compl\xe8tes sur le produit","web_tag_new":"Nouveau","web_order_order_id":"Num\xe9ro de commande","web_shop_redeem_get_more_chances":"Obtenez plus de chances","web_contact_location_title":"Lieu","web_support_manuals":"Manuels","web_checkout_btn_apply":"Postulez","web_shop_activity_early_access_guidelines_desc1":"Pour postuler, {{points}} des points seront d\xe9duits de votre compte. Si vous n\'\xeates pas s\xe9lectionn\xe9, les points seront rembours\xe9s. Merci de confirmer votre candidature.","web_wfd_orderdetail_claimentry_title":"D\xe9poser une r\xe9clamation pour livraison sans souci","web_register_btn_register":"S\'inscrire","web_shop_crowdfunding_limited_quantity":"Quantit\xe9 limit\xe9e","web_help_privacy_policy":"Politique de confidentialit\xe9","web_pay_cvv_popup_tip":"Code de s\xe9curit\xe9 \xe0 3 chiffres qui se trouve g\xe9n\xe9ralement au dos de votre carte. Les cartes American Express comportent un code \xe0 4 chiffres situ\xe9 au recto.","web_product_sold_out":"\xc9puis\xe9","web_checkout_btn_remove":"Supprimer","web_pointsmarket_limit_num":"Limite {{num}}","web_pay_cancel_confirm_tip":"\xcates-vous s\xfbr de vouloir annuler le paiement\xa0? Si votre commande n\'est pas pay\xe9e <Countdown/>, il sera annul\xe9.","web_xmas2025_door6_link_de":"https\xa0://vivosun.com/de-DE/campaign/Winter-grow\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Jour 6","web_remaining_count":"{{count}}s restant","web_package_package_index":"Colis {{num}}","web_create_pwd_page_title":"Cr\xe9ez un nouveau mot de passe","web_pay_accept_cards_title":"Nous acceptons","web_xmas2025_door4_desc_us":"Apparemment, notre sapin de No\xebl est aussi un tableau de v\u0153ux maintenant\xa0! \ud83d\udc8c\\nDites-nous\xa0: que demandez-vous au P\xe8re No\xebl cette ann\xe9e\xa0: du mat\xe9riel de culture, de plus gros bourgeons, plus de jours de cong\xe9\xa0?","web_return_request_date":"Date de la demande","web_order_cancel_result_back_tip":"Le remboursement sera revers\xe9 sur votre compte de paiement. Veuillez v\xe9rifier plus tard.","web_points_points_expiring_soon_tip":"L\'expiration prochaine des points signifie que les points expireront dans les 7 jours.","web_form_comfirm_pwd_label":"Confirmer le mot de","web_form_number_plus":"Plus","web_order_cancel_others":"Autres","web_summary_order_total_price":"Prix total de la commande","web_cart_empty_tip":"Votre panier est vide","web_product_review_no_score":"Pas de score","web_early_access_reclaim_points":"R\xe9visez et r\xe9cup\xe9rez des points","web_diy_recommended_entrances_title":"Ce n\'est pas ce que vous recherchez\xa0?<br/>Essayons une autre m\xe9thode.","web_shop_account_request_deleti
1on":"Demande de suppression","web_common_btn_cancel":"Annuler","web_diy_customize_optional":"Facultatif","web_support_product_official_tutorials":"Tutoriels officiels","web_common_coupons":"Coupons","web_checkout_shipping_empty_tip":"Veuillez v\xe9rifier le mode d\'exp\xe9dition","web_account_logout":"D\xe9connexion","web_product_not_choose_tip":"Veuillez choisir {{name}}","web_age_gate_full_age_next":"ET ACCEPTEZ DE V\xc9RIFIER VOTRE \xc2GE","web_support_blog_cats_title":"Explorez les cat\xe9gories","web_xmas2025_door11_link_de":"https://www.instagram.com/p/DSX1TbsjIGv/?img_index=1","web_product_coupons_title":"Coupons de boutique","web_consent_customise_preferences_title":"Cookies de pr\xe9f\xe9rences","web_checkout_step_pay":"Payez","web_support_product_blogs_title":"Base de connaissances","web_common_minutes_lower":"minutes","web_coupons_code_label_upper":"CODE","web_warranty_form_success":"Merci Votre demande de garantie a \xe9t\xe9 soumise. Nous vous contacterons prochainement.","web_checkout_btn_add_address":"Ajouter une nouvelle adresse","web_list_total_products":"{{totalNum}} Produits","web_time_day_left":"jour restant","web_pay_cancel_confirm_btn_continue":"CONTINUER \xc0 PAYER","web_address_country_label":"R\xe9gion","web_orders_nav_all_orders":"Toutes les commandes","web_xmas2025_door2_desc_de":"V\xe9rifiez la matrice LumaRay Under Canopy Light \u2014 pour tentes de culture de 4 x 4 pieds","web_locale_select_region_country":"S\xe9lectionnez une r\xe9gion/un pays","web_xmas2025_door7_desc_us":"Il suffit d\'une machine \xe0 bonbons pour que le P\xe8re No\xebl oublie le tra\xeeneau... \ud83d\ude06","web_check_coupon_in_the_app":"V\xe9rifiez le coupon dans l\'application","web_common_btn_share_now_upper":"PARTAGER MAINTENANT","web_checkin_modal_share_suc_tip":"Vos points sont pass\xe9s de {{prev}} dans {{next}}","web_return_item_list":"Liste des objets","web_checkout_points_title":"{{brand}} Points","web_common_second_lower":"seconde","web_purchase_declined_status":"Le paiement n\'a pas pu \xeatre effectu\xe9","web_orders_nav_returns":"Retours","web_support_services_title":"Demande de renseignements et assistance sp\xe9cialis\xe9e","web_form_pwd_min_length_tip":"8 caract\xe8res minimum","web_shop_crowdfunding_status_successful":"R\xe9ussi","web_messages_tab_garden":"Jardin","web_product_unavailable_error":"{{productName}} est temporairement indisponible.","web_product_total_review":"{{total}} R\xe9vision","web_common_view_less":"Afficher moins","web_shop_crowdfunding_share_to":"Partagez sur","web_order_cancel_coupon_code":"J\'ai oubli\xe9 d\'appliquer le code promo","web_checkin_get_num_points_now":"Obtenez {{num}} Points maintenant","web_fixed_register_register_and_receive":"Inscrivez-vous et recevez","web_product_tab_bundle_list":"Liste des lots","web_common_all_upper":"TOUS","web_common_review":"R\xe9vision","web_product_sale_price":"Prix de vente","web_credited_to_your_account":"ont \xe9t\xe9 cr\xe9dit\xe9s sur votre compte","web_contact_amazon_email_text":"Pour toute question ou demande concernant le service apr\xe8s-vente, veuillez contacter : <Email/>","web_shop_account_change_password":"Changer le mot de passe","web_purchase_large_tip_following":"Vous pouvez \xe9galement nous contacter par les moyens suivants","web_common_hour_lower":"heure","web_form_upload_msg_1":"Pour nous aider \xe0 mieux comprendre votre probl\xe8me, veuillez joindre une photo ou une vid\xe9o qui le montre le plus clairement possible.","web_age_gate_under_age_next":"VEUILLEZ REVENIR EN ARRI\xc8RE","web_help_technical_guide":"Guide technique","web_consent_customise_title":"Pr\xe9f\xe9rence relative aux cookies","web_common_ended":"Termin\xe9","web_order_cancel_not_want":"Je n\'en veux pas","web_account_message_title":"Mon message","web_overview":"Vue d\'ensemble","web_eggs_keep_hunting":"Continuez \xe0 chasser","web_messages_tab_my_asset":"Mon actif","web_shop_activity_early_access_applications_closed":"Candidatures ferm\xe9es","web_list_sort_price_higher":"Prix du plus haut au plus bas","web_points_col_date_and_time":"Date et heure","web_common_got_it":"J\'ai compris","web_common_points_upper":"POINTS","web_address_shipping_note":"Veuillez vous assurer que vos informations d\'exp\xe9dition sont compl\xe8tes et exactes au cas o\xf9 nous ou le transporteur aurions besoin de vous contacter concernant votre commande.","web_order_option_repurchase":"Rachat","web_cart_delete_confirm":"\xcates-vous s\xfbr de vouloir supprimer le ou les articles\xa0?","web_address_empty_tip":"Votre adresse est vide","web_shop_account_identify_email_send_successfully":"Un lien pour modifier votre adresse e-mail a \xe9t\xe9 envoy\xe9 \xe0 <span>{{newEmail}}</span>","web_spin_stop":"Arr\xeate","web_xmas2025_door12_desc_de":"2025. A year we grew together.\\nBuilt from feedback, shaped by growers.\\nBuilt for growers. Always. \ud83c\udf31","web_common_btn_check_in_upper":"ENREGISTREMENT","web_shop_activity_early_access_guidelines":"Directives d\'inscription au Tester Club","web_points_points_expiring_soon":"Les points expirent bient\xf4t","web_common_days_lower":"jours","web_product_tab_reviews":"Critiques ({{num}})","web_pay_cvv_popup_title":"Informations sur le code de s\xe9curit\xe9 *","web_common_day_lower":"jour","web_support_num_articles":"{{num}} Des articles","web_account_coupons_title":"Mes coupons","web_write_review_success_content":"<strong>{{num}} points</strong> obtenu pour avoir publi\xe9 un avis.","web_winter_grow_you_might_also_need":"Vous pourriez \xe9galement avoir besoin","web_xmas2025_products_title":"Des cadeaux choisis juste pour vous","web_xmas2025_
1scroll_message9":"Chaque feuille porte vos soins.","web_checkout_referrer_title":"R\xe9f\xe9rent","web_xmas2025_scroll_message7":"Que votre chambre de culture reste joyeuse.","web_xmas2025_scroll_message8":"\xc0 partir de Vivosun, avec amour.","web_xmas2025_scroll_message5":"La joie des F\xeates commence par la croissance.","web_shop_crowdfunding_days_togo":"<span>{{timeRemaining}}</span> jours restants","web_xmas2025_scroll_message6":"Je vous souhaite une saison fructueuse.","web_xmas2025_scroll_message3":"Des plantes vertes, des vacances lumineuses.","web_xmas2025_scroll_message4":"Paix, joie et plantes florissantes.","web_xmas2025_scroll_message1":"Puisse votre culture briller ce No\xebl.\\nDes lumi\xe8res chaudes, des c\u0153urs chaleureux.","web_xmas2025_scroll_message2":"Joyeux No\xebl, bonne croissance\xa0!","web_purchase_failed_btn_retry_to_pay":"R\xe9essayez de payer","web_product_ratio_points":"{{ratio}}x Points","web_product_together_add_cart":"Ajouter la s\xe9lection au panier","web_diy_ranking_my_comments":"Mes commentaires","web_checkout_btn_proceed":"Proc\xe9der au paiement","web_refund_description_empty_error":"La description ne peut pas \xeatre vide.","web_shop_redeem_recipient_email":"E-mail du destinataire","web_xmas2025_door5_desc_de":"Komm und mach bei unserem Tester Club f\xfcr die neuen Weihnachtsprodukte mit\xa0!","web_common_view_results":"Afficher les r\xe9sultats","web_common_free_gift_limited_tip":"Cadeau gratuit disponible en quantit\xe9 limit\xe9e. Premier arriv\xe9, premier servi\xa0!","web_common_apply":"Postulez","web_shop_account_email_change_success_prompt":"Adresse e-mail modifi\xe9e","web_product_afterpay_help_au":"web_product_afterpay_help_au","web_common_gift":"Cadeau","web_help_add_device":"Aide","web_consent_root_accept_all":"Tout accepter","web_pointsmarket_help_trigger":"En savoir plus sur {{brand}} points","web_product_compare_this_item":"Cet article","web_write_review_form_empty_error":"Veuillez v\xe9rifier avant de soumettre","web_form_pwd_pattern_number_error":"Votre mot de passe doit contenir au moins un chiffre.","web_xmas2025_door2_link_us":"https://www.instagram.com/p/DSCPFpmAe-3/","web_common_qty":"Quantit\xe9","web_purchase_large_tip2_service":"L\'\xe9quipe exclusive du service client vous contactera dans les 24 heures pour vous aider dans le processus de paiement.","web_referral_process_step1_description":"<a>Cliquez ici</a> pour vous connecter et acc\xe9der directement \xe0 l\'onglet de r\xe9f\xe9rence dans les param\xe8tres de votre compte.","web_address_set_as_default":"D\xe9finir comme valeur par d\xe9faut","web_referral_process_step2_description":"Partagez votre lien d\'invitation personnalis\xe9. Vous pouvez \xe9galement appuyer sur <ShareIcon/> \xe0 c\xf4t\xe9 du titre de n\'importe quel produit pour recommander vos articles pr\xe9f\xe9r\xe9s \xe0 vos amis.","web_checkin_make_rate_boom":"Faites-en un {{rate}}Boum en X","web_return_step_auditing":"Audit","web_xmas2025_banner_button":"Ouvrez votre surprise","web_eggs_reached_maximum_chances":"Vous avez atteint le nombre maximum de r\xe9compenses pour cet \xe9v\xe9nement. Profitez de vos prix et restez \xe0 l\'aff\xfbt pour d\xe9couvrir d\'autres activit\xe9s passionnantes\xa0!","web_product_together_empty_error":"Veuillez s\xe9lectionner un produit","web_tag_points_special":"Points sp\xe9ciaux","web_purchase_order_shipping_address":"Adresse de livraison","web_checkout_points_multiples":"Veuillez saisir des points en multiples de {{num}}","web_activity_trick_or_treat_rules_desc_de":"<p>P\xe9riode de l\'\xe9v\xe9nement\xa0: du 24 octobre 2025, 00h00 CEST au 2 novembre 2025, 23h59 CEST</p><p>Pendant l\'\xe9v\xe9nement, les participants qui partagent la page de l\'\xe9v\xe9nement auront la possibilit\xe9 d\'ouvrir un coffret cadeau. Chaque coffret cadeau contient 420 VIVOSUN Des points et un coupon d\'Halloween, qui seront automatiquement cr\xe9dit\xe9s sur le compte du participant lors de son ouverture.</p><p>Cette promotion est disponible sur les sites de plusieurs pays. Chaque participant ne peut participer qu\'une seule fois sur tous les sites. Par exemple, la participation sur le site allemand interdit toute participation ult\xe9rieure sur le site am\xe9ricain.<
1/p><p>Par souci d\'\xe9quit\xe9, les auto-recommandations sont strictement interdites, y compris l\'utilisation d\'adresses e-mail, d\'adresses IP ou de sessions de navigateur identiques. Les violations entra\xeeneront la perte de toutes les r\xe9compenses.</p>","web_shop_activity_early_access_desc":"Soyez les premiers \xe0 d\xe9couvrir nos derni\xe8res innovations\xa0! Explorez les opportunit\xe9s pass\xe9es et actuelles du Tester Club et d\xe9couvrez comment notre communaut\xe9 contribue \xe0 fa\xe7onner l\'avenir de Vivosun produits.","web_consent_customise_advertising_desc":"Avec votre autorisation, nous travaillons avec des tiers pour placer des cookies sur votre appareil. Nous utilisons ces cookies pour promouvoir nos services sur d\'autres sites Web et pour mesurer l\'efficacit\xe9 de nos campagnes publicitaires. Nos partenaires publicitaires utilisent ces cookies pour \xe9tablir un profil de vos centres d\'int\xe9r\xeat et vous montrer des publicit\xe9s pertinentes sur d\'autres sites. Si vous n\'autorisez pas ces cookies, il se peut que vous continuiez \xe0 voir des publicit\xe9s pour {{brand}}, il se peut que vous rencontriez des publicit\xe9s moins cibl\xe9es.","web_shop_crowdfunding_days_left":"<span>{{timeRemaining}}</span> jours restants","web_address_shipping_address_title":"Adresse de livraison","web_login_bind_popup_title":"Nous allons cr\xe9er un nouveau compte pour vous, veuillez saisir votre adresse e-mail et d\xe9finir un mot de passe.","web_return_tab_label":"Remboursement {{num}}","web_summary_title_order_summary":"R\xe9sum\xe9 de la commande","web_common_save_price":"\xc9conomisez {{price}}","web_shop_security_email_verification_required":"V\xe9rification du courrier \xe9lectronique requise","web_search_hot_search_title":"Recherche rapide","web_diy_link_choose_different_dimension":"Choisissez une autre dimension","web_help_title_support":"soutien","web_refund_amount_paid":"Montant pay\xe9","web_xmas2025_door3_link_us":"https://www.instagram.com/reel/DSEzaoWgRHk/","web_refer_friend_copy_link":"Copiez votre lien d\'invitation","web_product_afterpay_step_2":"S\xe9lectionnez Afterpay <br/> au moment du paiement","web_product_afterpay_step_1":"Ajouter des articles <br/> \xe0 votre panier","web_checkout_step_my_cart":"Mon panier","web_summary_discount":"Rabais","web_fixed_coupon_placed_tip":"Votre coupon a \xe9t\xe9 enregistr\xe9 sur votre compte.","web_help_terms_of_service":"Conditions g\xe9n\xe9rales d\'utilisation","web_product_paypal_pay_help_au":"web_product_paypal_pay_help_au","web_common_loading":"Chargement","web_coupons_unused_coupons":"Coupons non utilis\xe9s","web_contact_wholesale_email_text":"Pour les commandes group\xe9es ou les questions relatives \xe0 la vente en gros, veuillez contacter\xa0: <Email/>","web_shop_crowdfunding_estimated_to_ship_in_deliverytime":"Date de d\xe9but d\'exp\xe9dition estim\xe9e \xe0 {{deliveryTime}}","web_xmas2025_rewards_mystery_btn":"Ouvrez le cadeau myst\xe8re","web_product_afterpay_step_4":"Votre achat sera divis\xe9 en 4 paiements, payables toutes les 2 semaines","web_product_afterpay_step_3":"Connectez-vous ou cr\xe9ez votre compte Afterpay, avec v\xe9rification instantan\xe9e","web_home_sfs_preview_name":"Une offre incroyable sur un produit exceptionnel","web_time_ended_at":"S\'est termin\xe9 \xe0","web_product_review_all_reviews":"Tous les avis","web_xmas2025_door8_link_us":"https://www.instagram.com/p/DSRuLlbluuH/","web_form_order_placeholder_1":"par exemple 167200766275690000","web_support_num_article":"{{num}} L\'article","web_shop_crowdfunding_pledge_amount":"Engagement {{amount}}","web_pay_expiry_empty_tip":"Veuillez saisir la date d\'expiration","web_form_select_label":"S\xe9lectionnez","web_product_unavailable_title":"Produit non disponible","web_activity_trick_or_treat_rules_desc":"<p>P\xe9riode de l\'\xe9v\xe9nement\xa0: du 7 octobre 2025 \xe0 12h00 PDT au 14 octobre 2025 \xe0 23h59 PDT</p><p>Pendant l\'\xe9v\xe9nement, les participants qui partagent la page de l\'\xe9v\xe9nement auront la possibilit\xe9 d\'ouvrir un coffret cadeau. Chaque coffret cadeau contient 420 VIVOSUN Des points et un coupon d\'Halloween, qui seront automatiquement cr\xe9dit\xe9s sur le compte du participant lors de son ouverture.</p><p>Cette promotion est disponible sur les sites de plusieurs pays. Chaque participant ne peut participer qu\'une seule fois sur tous les sites. Par exemple, la participation sur le site am\xe9ricain interdit toute participation ult\xe9rieure sur le site allemand.</p><p>Par souci d\'\xe9quit\xe9, les auto-recommandations sont strictement interdites, y compris l\'utilisation d\'adresses e-mail, d\'adresses IP ou de sessions de navigateur identiques. Toute violation entra\xeenera la perte de toutes les r\xe9compenses.</p>","web_xmas2025_door10_link_us":"https://www.instagram.com/reel/DSW1KsuDT3l/","web_locale_region_language":"R\xe9gion et langue","web_product_number_label":"Nombre de variantes","web_purchase_declined_next_steps":"Prochaines \xe9tapes\xa0: Si le probl\xe8me persiste, nous vous recommandons d\'utiliser une autre carte de cr\xe9dit ou de passer \xe0 un autre mode de paiement pour finaliser votre commande.","web_order_confirm_receipt":"Confirmer la r\xe9ception","web_product_paypal_pay_help_ca":"web_product_paypal_pay_help_ca","web_price_discount_off_upper":"{{discount}} OFF","web_return_refund_price_label":"Remboursement","web_checkout_referrer_drawer_trigger":"Consultez <span>REFAIT ({{num}})<Dot/></span>","web_login_email_address":"Adresse e-mail","web_diy_ranking_btn_like":"Comme","
1web_messages_tab_orders":"Commandes","web_help_return_policy":"Politique de retour","web_shop_security_verification_sent":"Un lien de v\xe9rification a \xe9t\xe9 envoy\xe9 \xe0 <span class=\'underline\'>{{email}}</span>","web_order_number":"Num\xe9ro de commande","web_common_btn_edit":"Modifier","web_common_share_popup_title":"Partagez sur","web_shop_account_identify_email_send_successfully_note":"<p>Les e-mails peuvent subir un l\xe9ger retard.</p><p>Si vous n\'avez pas re\xe7u l\'e-mail, veuillez v\xe9rifier vos dossiers de courrier ind\xe9sirable et de courrier ind\xe9sirable.</p><p>Si vous n\'avez toujours pas re\xe7u l\'e-mail apr\xe8s avoir demand\xe9 un changement d\'e-mail, veuillez patienter 24 heures et r\xe9essayer.</p>","web_list_sort_recommend":"Recommand\xe9","web_referral_benefit_point2":"Gagnez des points","web_refund_description_label":"Descriptif","web_referral_benefit_point1":"Inscription facile","web_wfd_checkout_popup_cta_cancel":"Pas besoin","web_wfd_orderdetail_claimentry_desc":"Si votre colis est retard\xe9, perdu ou endommag\xe9, vous pouvez d\xe9poser une r\xe9clamation aupr\xe8s de <Logo/>. Les r\xe9clamations sont trait\xe9es par <Logo/>. Le vendeur n\'est pas responsable des probl\xe8mes d\'exp\xe9dition.","web_referral_benefit_point3":"Points polyvalents","web_early_access_tester_reviews":"Avis des testeurs","web_subscribe_result_join_community":"Rejoignez notre communaut\xe9 >","web_coupons_code_label":"Code","web_order_option_get_points_tooltip":"Obtenez des points","web_order_cancel_reason_empty_tip":"La raison est requise","web_product_paypal_pay_help_de":"<Div><P>Disponible pour les achats compris entre 1\u20ac et 2 000\u20ac. </P><P>1. S\xe9lectionnez PayPal comme mode de paiement et utilisez l\'option de paiement 30 jours plus tard. </P><P>2. Finalisez votre achat en quelques \xe9tapes seulement.</P><P>3. Vous avez besoin de plus de 30 jours\xa0? Vous pouvez \xe9ventuellement demander une prolongation du d\xe9lai de paiement de 30 jours suppl\xe9mentaires ou de 54 jours moyennant des frais.</P><P>Sous r\xe9serve d\'une v\xe9rification de solvabilit\xe9. Pour les achats compris entre 1\u20ac et 2 000\u20ac. Les conditions de paiement de 30 jours s\'appliquent. Un compte priv\xe9 PayPal allemand avec une carte de d\xe9bit associ\xe9e ou un compte bancaire avec un mandat de pr\xe9l\xe8vement SEPA valide comme source de paiement est requis pour utiliser ce service. Vous pouvez \xe9ventuellement demander \xe0 prolonger le d\xe9lai de paiement de 30 jours suppl\xe9mentaires (pour un total de 60 jours) ou de 54 jours (pour un total de 84 jours) moyennant des frais. Le montant des frais est affich\xe9 de mani\xe8re transparente sur votre compte PayPal avant la fin de l\'extension. Les conditions g\xe9n\xe9rales de More Time to Pay s\'appliquent \xe0 la prolongation.<br/>Pour r\xe9gler votre achat par mensualit\xe9s, s\xe9lectionnez les paiements \xe9chelonn\xe9s PayPal.</P></Div>","web_product_selling_pints_title":"\xc0 propos de cet article","web_price_free":"Gratuit","web_product_together_item_unavailable":"L\'article suivant n\'est actuellement pas disponible \xe0 l\'achat","web_consent_root_reject_all":"Tout rejeter","web_payment_klarna_policy_ca":"Vous devez \xeatre un r\xe9sident du Canada, \xeatre \xe2g\xe9 d\'au moins 18 ans, avoir une carte/un compte bancaire valide, un historique de cr\xe9dit positif et \xeatre en mesure de recevoir des codes de v\xe9rification par SMS. Des frais de retard peuvent s\'appliquer.<br>Emetteur de cr\xe9dit\xa0: Klarna Bank AB (publ), Sveav\xe4gen 46, 111 34 Stockholm.<br>La protection des acheteurs de Klarna exclut certains modes de paiement et certains achats, par exemple les voyages, les billets d\'\xe9v\xe9nements ou les cartes-cadeaux. <a href=\\"https://www.klarna.com/ca/buyer-protection-policy/\\" target=\\"_blank\\">Modalit\xe9s de paiement</a>.","web_xmas2025_rewards_points_earned":"Points gagn\xe9s","web_support_contact_title":"Vous n\'avez pas trouv\xe9 ce que vous cherchiez\xa0?","web_xmas2025_door4_desc_de":"GrowHub Contr\xf4leur E42A+\xa0! G\xe9rez votre Grow-Setup plus intelligemment que vous le voulez.","web_diy_entrance_recommended_title":"{{brand}} Recommand\xe9","web_checkin_plant_share":"Votre plante a grandi\xa0! Partagez d\xe8s maintenant pour l\'aider \xe0 prosp\xe9rer","web_common_end_of_page":"Fin de page","web_diy_entrance_customize_title":"Personnalisez votre propre kit","web_summary_tip_reward_points_tooltip":"Le {{brand}} des points seront ajout\xe9s \xe0 votre compte une fois votre commande termin\xe9e.","web_payment_klarna_step4_de":"Choisissez votre mode de paiement<br>planifiez et compl\xe9tez votre<br>passer \xe0 la caisse.","web_shop_tutorial_referral_step2":"Gagnez {{points}} points pour chaque {{price}}
1 les d\xe9penses de vos filleuls. Lors d\'une \xe9mission sp\xe9ciale Vivosun promotions, vous pouvez gagner encore plus. Cliquez sur le bouton pour afficher tous les d\xe9tails du programme de parrainage.","web_time_ends_in":"Se termine par","web_login_forgot_password_link":"Vous avez oubli\xe9 votre mot de passe\xa0?","web_shop_tutorial_referral_step1":"Voici votre identifiant de r\xe9f\xe9rence exclusif. Lorsque des amis commandent via votre lien de recommandation sur Vivosun, votre identifiant remplira automatiquement le champ \xab\xa0R\xe9f\xe9rent\xa0\xbb, ou ils pourront le saisir manuellement lors du paiement.","web_wfd_checkout_popup_link_privacy":"Politique de confidentialit\xe9","web_order_option_track":"Piste","web_shop_tutorial_referral_step4":"Cliquez pour recommander Vivosun \u2014\u2014 partager Vivosun avec des amis directement sur les r\xe9seaux sociaux.","web_address_default_address":"Adresse par d\xe9faut","web_shop_tutorial_referral_step3":"Cliquez pour recommander Vivosun \u2014\u2014 copiez le lien pour les messages personnels ou les publications sur les r\xe9seaux sociaux.","web_shop_tutorial_referral_step6":"Consultez les commandes parrain\xe9es et les points gagn\xe9s ici.","web_shop_tutorial_referral_step5":"Appuyez sur le bouton de partage de n\'importe quel produit pour le recommander \xe0 vos amis.","web_shop_crowdfunding_day_togo":"<span>{{timeRemaining}}</span> jour pour y aller","web_xmas2025_door6_link_us":"https\xa0://vivosun.com/vivosun-machine de d\xe9carboxylation et d\'infusion \xe0 base de plantes p156209221520334602-v156209221520334601\xa0? utm_source=MKT&UTM_Medium=XMAS&UTM_Campaign=Jour 6","web_shop_activity_open_your_gift_box":"Ouvrez votre bo\xeete-cadeau","web_common_price":"Prix","web_xmas2025_door9_desc_us":"Nous avons tous ce sentiment \xab\xa0Waouh, c\'est vraiment moi qui l\'ai fait\xa0\xbb. \ud83c\udf3f\\nQuelle a \xe9t\xe9 la v\xf4tre cette ann\xe9e\xa0?","web_diy_ranking_score_completeness":"Exhaustivit\xe9","web_subscribe_btn_subscribe":"Souscrire","web_checkin_titles":"<line1>SE D\xc9FONCER VIVOSUN POINTS</line1><line2>ENREGISTREZ-VOUS, PARTAGEZ</line2><line3>ET GAGNEZ 420 POINTS</line3>","web_product_affirm_pay_help_us":"<Div><P>Les options de paiement via Affirm sont soumises \xe0 un contr\xf4le d\'\xe9ligibilit\xe9, peuvent ne pas \xeatre disponibles dans tous les \xc9tats et un acompte peut \xeatre requis. Les montants de paiement estim\xe9s peuvent exclure les taxes et les frais d\'exp\xe9dition.</P><P>Vous devez r\xe9sider aux \xc9tats-Unis, \xeatre \xe2g\xe9 d\'au moins 18 ans (19 en Alabama ou au Nebraska, 21 ans dans le Mississippi), avoir un num\xe9ro de t\xe9l\xe9phone portable am\xe9ricain et une adresse e-mail valides, ainsi qu\'une carte de d\xe9bit ou de cr\xe9dit valide.</P><P>R\xe9sidents de la Californie\xa0: Les pr\xeats d\'Affirm Loan Services, LLC sont accord\xe9s ou organis\xe9s conform\xe9ment \xe0 une licence d\xe9livr\xe9e par la loi de financement de la Californie.</P><P>\\n Les pr\xeats Affirm sont accord\xe9s par Cross River Bank, membre de la FDIC, et d\'autres pr\xeateurs. Pour plus d\'informations, rendez-vous sur\\n <Lenders>affirmation.com/pr\xeateurs</Lenders>. Les paiements en retard ou manqu\xe9s peuvent affecter votre cr\xe9dit. Voir\\n <Terms>Conditions d\'utilisation d\'Affirm</Terms> et <Privacy>Politique de confidentialit\xe9</Privacy> pour plus de d\xe9tails.\\n </P></Div>","web_age_gate_confirm_tip":"Merci de confirmer votre \xe2ge","web_shop_redeem_get_more_pumpkins_upper":"OBTENIR PLUS DE CITROUILLES","web_common_iphone":"iPhone","web_home_sfs_btn_sale_is_over":"LA VENTE EST TERMIN\xc9E","web_common_btn_continue":"Continuer","web_common_share_unsupport_tip":"Quelque chose ne va pas. Votre navigateur ne prend pas en charge la fonction de partage","web_payment_klarna_step4_gb":"web_payment_klarna_step4_gb","web_common_updates":"MISES \xc0 JOUR","web_shop_product_restore_subscription_successful":"Abonnement r\xe9ussi\xa0! Nous vous informerons d\xe8s qu\'il sera r\xe9approvisionn\xe9.","web_purchase_large_order_status":"Votre commande est pass\xe9e","web_referral_faqs_list":"[{\\"question\xa0\xbb :\\"Quelles sont les r\xe9compenses dis
1ponibles gr\xe2ce aux recommandations\xa0?\xa0\xbb , \xab\xa0answer\xa0\xbb :\\"Quand un ami parrain\xe9 effectue un achat en utilisant votre lien de recommandation sur {{brand}}, et n\'annule pas la commande dans les 30 jours, vous gagnerez {{obtainPoints}}{{brand}} points pour {{obtainPointsPrice}} ton ami d\xe9pense. Chaque {{consumePoints}}{{brand}} les points sont \xe9quivalents \xe0 {{consumePointsPrice}}, qui peut \xeatre d\xe9duite du prix total de la commande ou utilis\xe9e pour \xe9changer des produits. Pour plus d\'informations sur {{brand}} points, veuillez v\xe9rifier <a href=\\\\\\"/help/about-points\\\\\\">\xc0 propos des points</a>. \xab} , {\\"question\xa0\xbb :\\"Quelles sont les conditions pour participer au programme de parrainage\xa0?\xa0\xbb , \xab\xa0answer\xa0\xbb :\\"Le programme est ouvert \xe0 toute personne inscrite sur {{brand}}.com.<br/>Les auto-recommandations sont interdites pour garantir l\'\xe9quit\xe9, y compris en utilisant la m\xeame adresse e-mail, la m\xeame adresse IP ou la m\xeame session de navigateur. Les recommandations non conformes entra\xeeneront l\'invalidation de la recommandation.\xa0\xbb} , {\\"question\xa0\xbb :\\"Comment puis-je v\xe9rifier si ma recommandation a \xe9t\xe9 accept\xe9e\xa0?\xa0\xbb , \\"answer\xa0\xbb :\\"Pour confirmer si une recommandation est accept\xe9e, assurez-vous que les conditions suivantes sont remplies\xa0:<br/>1. La personne recommand\xe9e doit avoir utilis\xe9 votre lien de recommandation exclusif pour visiter {{brand}}.com, et avez saisi votre num\xe9ro d\'identification au moment de passer la commande.<br/>2. La commande doit \xeatre confirm\xe9e telle qu\'elle a \xe9t\xe9 re\xe7ue ou ne doit pas \xeatre annul\xe9e dans les 30 jours suivant l\'exp\xe9dition.<br/>Vous pouvez v\xe9rifier la progression de la recommandation dans <a href=\\\\\\"/account/refer-a-friend\\\\\\">Recommandez un ami</a>. \xab}]","web_scan_download_app_info_1":"Scannez pour t\xe9l\xe9charger l\'application et utiliser votre coupon","web_search_empty_tip":"Le produit ne peut pas \xeatre recherch\xe9","web_common_all":"Tous","web_form_required_1":"Ce champ est obligatoire.","web_points_total_points":"{{num}} Points","web_cart_btn_checkout_securely_upper":"COMMANDEZ EN TOUTE S\xc9CURIT\xc9 D\xc8S MAINTENANT","web_checkout_secure_checkout":"Checkout s\xe9curis\xe9","web_spin_try_last_chance":"Tentez votre derni\xe8re chance","web_summary_order_no":"N\xb0 de commande","web_form_pwd_pattern_number_tip":"Au moins un chiffre","web_checkout_referrer_success_tip":"Le REFID est appliqu\xe9 avec succ\xe8s.","web_shop_crowdfunding_share_desc":"Soutenez l\'innovation et fa\xe7onnez l\'avenir\xa0! Joignez-vous Vivosun Faites du financement participatif et participez \xe0 l\'aventure\xa0! {{url}}","web_fixed_register_discount_tip":"OBTENIR UN SUPPL\xc9MENT {{discount}} OFF","web_common_payment_method":"Mode de paiement","web_spin_congratulations":"F\xe9licitations\xa0!","web_common_btn_login_upper":"IDENTIFIEZ-VOUS","web_messages_tab_promotion":"Promotion","web_shop_crowdfunding_hr_left":"<span>{{timeRemaining}}</span> hr est parti","web_shop_security_not_now":"Pas maintenant","web_common_share_facebook_title":"Facebook","web_wfd_checkout_popup_link_terms":"Conditions g\xe9n\xe9rales d\'utilisation","web_shop_crowdfunding_ended":"Termin\xe9","web_page_link_home":"Accueil","web_product_tab_description":"Descriptif","web_xmas2025_door9_link_us":"https://www.instagram.com/reel/DSWJgMGFMDC/","web_test_club_review_form_tip_2":"Veuillez t\xe9l\xe9charger au moins 5 images.","web_profile_nick_name_empty_error":"Le surnom est obligatoire","web_search_page_title":"{{totalNum}} R\xe9sultats pour\xa0\xbb{{searchWords}}\xab","web_test_club_review_form_tip_1":"Votre commentaire doit comporter au moins 300 caract\xe8res.","web_payment_klarna_step2_gb":"web_payment_klarna_step2_gb","web_test_club_review_form_tip_3":"Veuillez t\xe9l\xe9charger au moins une vid\xe9o.","web_shop_redeem_recommend_vivosun_to_your_friends":"Recommander {{brand}} \xe0 vos amis pour gagner plus de citrouilles\xa0!","web_footer_support_1":"Nous vous aidons <span>cultivez votre meilleur vert.</span>","web_footer_support_2":"Nous fournissons <span>de la plus haute qualit\xe9.</span>","web_shop_activity_early_access_learn_about":"En savoir plus sur Tester Club","web_home_sfs_sale_is_over":"La vente est termin\xe9e","web_footer_support_3":"Nous poursuivons sans rel\xe2che <span>le futur.</span>","web_footer_support_4":"Nous faisons grandir <span>plus agr\xe9able.</span>","web_footer_support_5":"Nous soutenons <span>chaque cultivateur.</span>","web_messages_tab_system":"Syst\xe8me","web_product_add_to_cart_upper":"AJOUTER AU PANIER","web_pointsmarket_checkin_help_title":"web_pointsmarket_checkin_help_title","web_xmas2025_door7_link_de":"https\xa0://vivosun.com/fr-FR/vivosun-machine \xe0 bonbons p164254578425972379-v164254578425972313\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Day7","web_tag_best_seller":"Meilleur vendeur","web_footer_link_company":"L\'entreprise","web_product_afterpay_help_ca":"web_product_afterpay_help_ca","web_diy_ranking_comments":"Commentaires","web_pay_expiry_invalid_tip":"La date d\'expiration n\'est pas valide","web_shop_account_hint_enter_password":"Entrez votre mot de passe","web_common_your_name":"Votre nom","web_tag_pre_sale":"Pr\xe9-vente","
1web_spin_sign_in_to_claim":"Connectez-vous pour faire une r\xe9clamation","web_order_cancel_forgot_card":"J\'ai oubli\xe9 les informations de ma carte de d\xe9bit/cr\xe9dit","web_shop_redeem_process_step3_desc":"Encouragez vos amis \xe0 cliquer sur votre lien pour effectuer un achat. Pour chaque ami qui effectue un achat, vous recevrez 1 citrouille et b\xe9n\xe9ficierez des r\xe9compenses du {{brand}} Programme de r\xe9f\xe9rence. Veuillez noter que si la commande est annul\xe9e, le Pumpkin et les points de parrainage ne seront pas attribu\xe9s.","web_diy_step_tent":"Tente","web_product_addons_title":"Modules compl\xe9mentaires","web_help_blog":"Blogue","web_shop_crowdfunding_min_togo":"<span>{{timeRemaining}}</span> il reste 1 min","web_diy_ranking_score_energy_efficiency":"Efficacit\xe9 \xe9nerg\xe9tique","web_pointsmarket_boost_checkin_successful":"web_pointsmarket_boost_checkin_successful","web_login_forgot_result_3":"Si vous n\'avez pas re\xe7u d\'e-mail, veuillez v\xe9rifier vos dossiers de courrier ind\xe9sirable et de courrier ind\xe9sirable.","web_order_step_shipped":"Exp\xe9di\xe9","web_login_forgot_result_4":"Si vous ne recevez toujours pas l\'e-mail apr\xe8s avoir demand\xe9 la r\xe9initialisation de votre mot de passe, veuillez r\xe9essayer.","web_login_forgot_result_1":"Un lien pour r\xe9initialiser votre mot de passe a \xe9t\xe9 envoy\xe9 \xe0 {{email}}","web_login_forgot_result_2":"Les e-mails peuvent \xeatre retard\xe9s de quelques minutes.","web_product_compare_title":"Comparez avec des articles similaires","web_order_cancel_lack_payment":"Je n\'ai pas propos\xe9 le mode de paiement que j\'ai pr\xe9f\xe9r\xe9","web_age_gate_intro":"Selon les lois locales, vous devez \xeatre au moins {{age}} ans pour acc\xe9der aux produits et contenus suivants.","web_product_affirm_pay_title_us":"Achetez-le aujourd\'hui avec <br/>4 paiements sans int\xe9r\xeat","web_product_instructional_manual_title":"Manuel d\'instructions","web_shop_crowdfunding_owner":"Officiel","web_points_col_used":"Usag\xe9","web_login_sign_in_title":"Connectez-vous","web_payment_klarna_step4_ca":"Choisissez votre mode de paiement<br>planifiez et compl\xe9tez votre<br>passer \xe0 la caisse.","web_xmas2025_door4_link_de":"https\xa0://vivosun.com/fr-FR/vivosun-growhub-plate-forme tout-en-un de contr\xf4le-surveillance-am\xe9lioration-contr\xf4le-am\xe9lioration-programme-dynamique-temp\xe9rature-humidit\xe9-planification dynamique de la croissance en int\xe9rieur-p153885832384111130-v161077718084019353\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Jour 4","web_diy_recommended_title":"Lequel {{size}} Le kit de tente me convient\xa0?","web_shop_account_link_expired_prompt":"Lien expir\xe9","web_common_it_is_empty":"Elle est vide.","web_common_btn_back":"Retour","web_common_go_upper":"ALLER","web_refund_return_reason_empty_error":"Veuillez s\xe9lectionner le motif du retour","web_purchase_declined_details":"<li>Exactitude\xa0: le num\xe9ro de votre carte, votre CVV et la date d\'expiration sont corrects.</li><li>Informations de facturation\xa0: Votre adresse de facturation correspond exactement \xe0 vos relev\xe9s bancaires.</li><li>Fonds\xa0: le solde de votre carte est suffisant et les achats en ligne et internationaux sont autoris\xe9s.</li>","web_purchase_large_tip_vip":"Vous avez obtenu l\'acc\xe8s \xe0 notre service VIP.","web_shop_crowdfunding_hr_togo":"<span>{{timeRemaining}}</span> il reste une heure","web_xmas2025_door7_desc_de":"Holiday-Gummis a \xe9t\xe9 trouv\xe9 autrement. Und ja \u2014 die S\xfc\xdfigkeitenmaschine macht\'s \xfcberraschend easy.","web_address_zipcode_unvalid_error":"Entrez un code postal valide","web_common_hours_lower":"heures","web_register_title":"S\'inscrire","web_refer_friend_desc_title":"Obtenez {{brand}} points pour les recommandations","web_common_num_items":"{{num}} article (s)","web_footer_link_create_account":"Cr\xe9er un compte","web_shop_activity_remaining":"Restant","web_purchase_large_p2p_email":"Courrier \xe9lectronique P2P","web_package_page_title":"Colis","web_common_dialog":"web_common_dialog","web_coupons_drawer_title":"Alerte de coupon","web_diy_customize_select_one":"Choisissez-en un","web_referral_process":"Comment puis-je gagner une commission\xa0?","web_points_col_point_type":"Type de point","web_checkout_points_tooltip":"Remarque : Les points que vous avez appliqu\xe9s \xe0 la commande seront d\xe9duits de votre compte une fois que vous aurez cliqu\xe9 sur \xab PASSER COMMANDE \xbb. Vous pouvez annuler votre commande dans \xab Mes commandes \xbb, et les points {{brand}} que vous avez appliqu\xe9s seront rembours\xe9s sur votre compte. Les points peuvent \xeatre utilis\xe9s jusqu\'\xe0 60 % du prix total du produit.","web_wfd_checkout_module_poweredby":"Propuls\xe9 par <Logo/>","web_order_cancel_reason_label":"Veuillez choisir le motif de l\'annulation de la commande","web_payment_klarna_step2_ca":"S\xe9lectionnez Klarna<br>au moment du paiement","web_common_reply_to":"R\xe9pondre \xe0","web_shop_crowdfunding_sign_in_now":"Connectez-vous maintenant","web_referral_intro_content":"Gagnez {{brand}} points en recommandant des amis, des membres de la famille ou des coll\xe8gues. Lorsqu\'ils passent une commande et en confirment la r\xe9ception, vous gagnez des points. Apprenez comment envoyer une recommandation et d\xe9couvrez combien {{brand}} points que vous pouvez gagner ci-dessous.","web_shop_account_your_email_address":"Adresse e-mail de votre compte <sp
1an>{{oldEmail}}</span>","web_survey_form_text_placeholder":"Texte ouvert\xa0: n\'h\xe9sitez pas \xe0 partager autant d\'id\xe9es que vous le souhaitez","web_refer_friend_leave_message_tips":"Laissez un message \xe0 votre ami ici (facultatif)","web_shop_crowdfunding_min_left":"<span>{{timeRemaining}}</span> min restant","web_summary_points_redeemed":"Points \xe9chang\xe9s","web_cart_empty_login_tip":"Vous avez un compte\xa0? Connectez-vous pour consulter votre panier.","web_login_bind_btn_bind":"Lier un e-mail","web_support_product_manuals":"Manuels des produits","web_product_review_with_photo":"Avec photo","web_form_warranty_item_placeholder_1":"Veuillez saisir le nom de l\'article","web_shop_activity_eligibility_expired":"\xc9ligibilit\xe9 expir\xe9e","web_search_history_title":"Recherches r\xe9centes","web_diy_ranking_top":"HAUT {{sort}}","web_checkout_shipping_title":"Mode d\'exp\xe9dition","web_support_blogs_title":"Acad\xe9mie de plantation","web_checkout_step_order_complete":"Commande termin\xe9e","web_referral_send":"Envoyer une recommandation","web_footer_link_account":"Compte","web_diy_ranking_score_functionality":"Fonctionnalit\xe9","web_product_together_all_unavailable":"Toutes les options s\xe9lectionn\xe9es sont temporairement indisponibles.","web_xmas2025_door12_desc_us":"2025. A year we grew together.\\nBuilt from feedback, shaped by growers.\\nBuilt for growers. Always. \ud83c\udf31","web_purchase_declined_tip_recommend":"Pour votre s\xe9curit\xe9, notre syst\xe8me n\'a pas pu traiter cette transaction. Avant de r\xe9essayer, assurez-vous que\xa0:","web_fixed_register_points_tip":"OBTENIR UN SUPPL\xc9MENT {{points}} Points","web_form_pwd_empty_error":"Veuillez saisir votre mot de passe.","web_refer_status_unissued":"Non publi\xe9","web_xmas2025_door12_link_us":"https://www.instagram.com/reel/DSb_HXCgA1A/","web_xmas2025_door2_link_de":"https\xa0://vivosun.com/fr-FR/vivosun-lumaray-lumi\xe8re-sous-verri\xe8re p161077717815584533-v161077717815584532\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Jour 2","web_consent_customise_advertising_title":"Cookies publicitaires","web_common_android":"Android","web_list_description_fold":"Plier","web_cart_black_friday_tip":"web_cart_black_friday_tip","web_shop_crowdfunding_mins_left":"<span>{{timeRemaining}}</span> il reste quelques minutes","web_diy_ranking_btn_comment":"Commenter","web_pointsmarket_boost_boost_failed":"web_pointsmarket_boost_boost_failed","web_diy_ranking_override_confirm":"\xcates-vous s\xfbr de vouloir utiliser ce KIT pour remplacer celui que vous \xeates en train de cr\xe9er\xa0?","web_shop_crowdfunding_frequently_asked_questions":"Questions fr\xe9quemment pos\xe9es","web_help_about_vdays":"\xc0 propos de VDays","web_purchase_failed_btn_status":"Voir les commandes","web_account_security_title":"S\xe9curit\xe9 du compte","web_footer_link_products":"Produits","web_home_sfs_help_content":"<p>1. Les offres quotidiennes seront soumises \xe0 des restrictions de temps et de quantit\xe9\xa0; les achats sont limit\xe9s \xe0 un article par personne.</p><p>2. Non cumulable avec d\'autres promotions (par exemple, offres group\xe9es, articles bonus, coupons), mais les points peuvent \xeatre utilis\xe9s.</p><p>3. Temps de conservation des stocks r\xe9duit\xa0; si le paiement n\'est pas effectu\xe9 dans un d\xe9lai d\'une heure sur la page de paiement, la commande sera annul\xe9e.</p>","web_pointsmarket_boost_btn_in_progress":"web_pointsmarket_boost_btn_in_progress","web_home_sfs_price_off":"<Discount/><span>OFF</span>","web_time_starts_on":"Commence le","web_shop_redeem_redeem_points":"\xc9changez des points","web_pointsmarket_page_title":"March\xe9 des points","web_refer_friend_desc_content":"Gagnez {{points}} points pour {{price}} votre ami d\xe9pense lorsqu\'il passe une commande et en confirme la r\xe9ception. Ils peuvent choisir n\'importe quel produit et vous recevrez votre {{brand}} points d\xe8s que leur commande est confirm\xe9e.","web_shop_security_i_have_verified_my_email":"J\'ai v\xe9rifi\xe9 mon adresse e-mail","web_shop_product_price_gst_tips":"(TVA incluse)","web_xmas2025_banner_subtitle":"Ouvrez une nouvelle porte chaque jour<br>Pour 12 jours de surprises de No\xebl.","web_diy_customize_step_required_error":"{{stepName}} obligatoire, veuillez effectuer une s\xe9lection avant de passer \xe0 la caisse.","web_payment_klarna_step2_de":"S\xe9lectionnez Klarna<br>au moment du paiement","web_shop_product_subscribe_tips":"Abonnez-vous \xe0 notre newsletter pour recevoir des mises \xe0 jour, des offres exclusives et des conseils de jardinage.","web_order_order_no":"N\xb0 de commande","web_support_email_title":"Envoyez-nous un e-mail","web_shop_security_email_verified_successfully":"E-mail v\xe9rifi\xe9 avec succ\xe8s","web_shop_navi_shop_by_category":"Acheter par cat\xe9gorie","web_diy_view_reviews":"Afficher les avis","web_checkout_shipping_fee_tip":"Arriv\xe9e pr\xe9vue en <time>5 \xe0 10</time> jours ouvrables.","web_payment_klarna_policy_gb":"web_payment_klarna_policy_gb","web_upload_label_1":"Soumettez vos photos ou vid\xe9os ici\xa0:","web_crowd_funding_rules":"<div><h3>Vivosun Financement participatif\xa0: soutenez les produits innovants</h3><section><p>Bienvenue sur <b>l\'Officiel Vivosun Projet de financement participatif</b>, o\xf9 l\'innovation rencontre les opportunit\xe9s. Ce projet\\n permet aux supp
1orters de participer au d\xe9veloppement de produits de pointe et de faire partie du parcours de\\n du concept \xe0 la r\xe9alit\xe9. En contribuant \xe0 Vivosundans les campagnes de financement participatif, les participants jouent un r\xf4le essentiel dans\\n donner vie \xe0 des id\xe9es r\xe9volutionnaires.</p></section><section><p>En guise de remerciement, Vivosun offre des r\xe9compenses exclusives aux premiers supporters. Une fois la campagne\\n atteint avec succ\xe8s son objectif de financement, les r\xe9compenses seront distribu\xe9es selon le calendrier sp\xe9cifi\xe9.\\n Veuillez noter que <b>des r\xe9compenses suppl\xe9mentaires seront exp\xe9di\xe9es apr\xe8s la livraison du produit principal</b>. Si une commande\\n est annul\xe9 ou retourn\xe9, toutes les r\xe9compenses associ\xe9es seront \xe9galement annul\xe9es ou retourn\xe9es.</p></section><h4>Comment participer</h4><section><p>Explorez le projet</p><p>Visitez le Vivosun page de financement participatif pour d\xe9couvrir des produits innovants en cours de d\xe9veloppement. D\xe9taill\xe9\\n les descriptions mettent en \xe9vidence les caract\xe9ristiques, les avantages et l\'impact potentiel de chaque produit.</p></section><section><p>S\xe9lectionnez un niveau de r\xe9compense</p><p>Les supporters peuvent cliquer sur le bouton \xab\xa0Retour\xa0\xbb, choisir leur niveau de r\xe9compense pr\xe9f\xe9r\xe9 et terminer le processus de paiement.\\n Chaque niveau comprend des avantages et des cadeaux uniques pour souligner le soutien des participants.</p></section><section><p>Fournir des commentaires</p><p>La section \xab\xa0Commentaires\xa0\xbb permet aux supporters de partager des id\xe9es, des suggestions ou des questions sur le\\n projet. Le Vivosun L\'\xe9quipe examine attentivement tous les commentaires et y r\xe9pond pour garantir clart\xe9 et transparence.\\n </p></section><section><p>Suivi des commandes</p><p>Avant l\'exp\xe9dition, les participants peuvent v\xe9rifier l\'\xe9tat de leurs commandes ou les annuler \xe0 tout moment via\\n centre de comptes. Une fois la campagne financ\xe9e avec succ\xe8s, les r\xe9compenses seront exp\xe9di\xe9es dans les d\xe9lais promis\\n calendrier.</p></section><h4>Directives importantes</h4><section><p>Politique de remboursement</p><p>Si une campagne n\'atteint pas son objectif de financement \xe0 la date limite, tous les paiements seront int\xe9gralement effectu\xe9s\\n rembours\xe9s sur les comptes respectifs.</p></section><section><p>Utilisation des points</p><p>Vivosun les points peuvent \xeatre utilis\xe9s pour compenser le montant des commandes de financement participatif. Cependant, les points ne sont pas \xe9ligibles\\n \xe0 utiliser conjointement avec d\'autres offres promotionnelles.</p></section><section><p>Incertitudes li\xe9es au projet</p><p>Les projets de financement participatif peuvent \xeatre retard\xe9s ou annul\xe9s en raison de probl\xe8mes techniques ou de production. Dans\\n de tels cas, Vivosun informera rapidement les supporters de tout changement et proc\xe9dera aux remboursements en cons\xe9quence.</p></section><section><p>Date limite de paiement</p><p>Pour garantir l\'\xe9quit\xe9 et l\'\xe9galit\xe9 des chances pour tous les participants, les commandes doivent \xeatre trait\xe9es dans un d\xe9lai d\'une heure. Non pay\xe9\\n les commandes seront automatiquement annul\xe9es.</p></section><section><p>Limites du niveau de r\xe9compense</p><p>Certains niveaux de r\xe9compenses peuvent \xeatre limit\xe9s et sont disponibles selon le principe du premier arriv\xe9, premier servi.</p></section><h4>Pourquoi soutenir Vivosun Du financement participatif\xa0?</h4><section><p>Soyez le premier \xe0 d\xe9couvrir l\'innovation</p><p>Acc\xe9dez en avant-premi\xe8re \xe0 Vivosundes produits les plus r\xe9cents et les plus avanc\xe9s avant leur mise sur le march\xe9. Les supporters seront\\n \xeatre \xe0 la pointe de la technologie et du design de pointe.</p></section><section><p>Des r\xe9compenses exclusives vous attendent</p><p>En guise de remerciement pour votre soutien, Vivosun propose des avantages sp\xe9ciaux et des cadeaux r\xe9serv\xe9s uniquement aux\\n participants au financement participatif. Ces r\xe9compenses sont con\xe7ues pour rendre votre contribution encore plus significative.</p></section><section><p>Fa\xe7onnez l\'avenir des produits</p><p>Vos commentaires sont importants\xa0! En partageant vos id\xe9es et suggestions, vous pouvez influencer directement le d\xe9veloppement de\\n des produits qui r\xe9pondent \xe0 vos besoins et d\xe9passent vos attentes.</p></section><section><p>Vivosun invite tous les supporters \xe0 se joindre \xe0 ce passionnant voyage d\'innovation. Ensemble, nous pouvons cr\xe9er un avenir\\n d\xe9fini par l\'excellence et la cr\xe9ativit\xe9.</p></section><h4>Garantie de livraison</h4><section><p>Nous comprenons que le soutien \xe0 un nouveau produit soul\xe8ve des questions. Nous voulons que vous puissiez soutenir notre projet en toute confiance.</p></section><section><p>Notre garantie\xa0:</p><ul style=\\"list-style: unset; margin-left: 20px;\\"><li><p>Engagement de production\xa0: D\xe8s que la campagne atteindra son objectif de financement minimum, la production sera enti\xe8rement s\xe9curis\xe9e et la fabrication du produit d\xe9butera imm\xe9diatement.</p></li><li><p>Mises \xe0 jour transparentes\xa0: nous communiquerons de mani\xe8re claire et proactive \xe0 chaque \xe9tape de la fabrication et de l\'exp\xe9dition.</p></li><li><p>
1Protection contre les facteurs externes\xa0: si des facteurs externes, tels que des tarifs ou des perturbations du transport maritime mondial, entra\xeenent des retards, nous vous tiendrons imm\xe9diatement inform\xe9s et travaillerons avec diligence pour minimiser tout impact.</p></li></ul></section><section><p>Notre promesse\xa0:</p><p>Votre investissement est en s\xe9curit\xe9 avec Vivosun\u2014nous nous engageons pleinement \xe0 livrer votre produit soutenu et nous vous tiendrons inform\xe9s \xe0 chaque \xe9tape.</p></section></div>","web_help_shipping_policy":"Politique d\'exp\xe9dition","web_checkout_products_title":"Objets","web_referral_intro_title":"Vous aimez le jardinage\xa0? Recommander {{brand}}","web_shop_redeem_grab_your_treat":"Prenez votre friandise\xa0!","web_common_copyright":"\xa9{{year}}{{brand}} Tous droits r\xe9serv\xe9s","web_login_cannot_open_popup":"Impossible d\'ouvrir {{name}} fen\xeatre de connexion, veuillez fermer \xab\xa0Bloquer les fen\xeatres contextuelles\xa0\xbb dans les param\xe8tres de Safari, ou essayez de vous connecter sur un autre navigateur.","web_common_complete":"Achev\xe9e","web_login_btn_facebook":"Connectez-vous avec Facebook","web_shop_tutorial_more_task":"Plus de t\xe2ches \xe0 r\xe9clamer Vivosun points","web_xmas2025_door10_desc_de":"Unser AeroFlux, das euer Klima aufs n\xe4chste Level bringt.","web_order_cancel_bad_reviews":"Mauvaises critiques","web_common_btn_go_back":"Retourner","web_support_download":"T\xe9l\xe9charger","web_early_access_order_created":"Votre commande d\'essai a \xe9t\xe9 cr\xe9\xe9e avec succ\xe8s.","web_security_change_password":"Changer le mot de passe","web_unsubscribe_link_return":"retourner sur notre site Web","web_shop_activity_early_access_application_eriod_closed":"Fin de la p\xe9riode de candidature","web_account_address_title":"Mon carnet d\'adresses","web_warranty_item":"Article de garantie","web_form_email_placeholder_1":"par exemple, [email protected]","web_common_title_detail":"D\xe9tail","web_common_time_remaining":"{{timeRemaining}} restant","web_diy_entrance_recommended_desc":"Pr\xe9-construit par des professionnels pour r\xe9pondre aux besoins de la plupart des utilisateurs.","web_xmas2025_rules_content":"<ul><li><h3>1. P\xe9riode de l\'\xe9v\xe9nement</h3><div>L\'\xe9v\xe9nement se d\xe9roule du 8 au 19 d\xe9cembre (PST).</div></li><li><h3>2. Comment \xe7a marche</h3><p>Un nouveau coffret cadeau sera disponible chaque jour \xe0 partir du 8 d\xe9cembre.</p><p>Les coffrets cadeaux peuvent \xeatre ouverts \xe0 tout moment pendant la p\xe9riode de l\'\xe9v\xe9nement. Les 12 coffrets restent accessibles jusqu\'au 31 d\xe9cembre.</p><p>Gagnez 100 points pour chaque bo\xeete-cadeau que vous ouvrez.</p><p>Ouvrez les 12 coffrets cadeaux pour d\xe9bloquer l\'\xe9ligibilit\xe9 au Mystery Merch.</p><p>Tous les points et r\xe9compenses doivent \xeatre utilis\xe9s avant le 31 d\xe9cembre (PST).</p></li><li><h3>3. R\xe8gles relatives aux cadeaux myst\xe8res</h3><p>Le cadeau myst\xe8re doit \xeatre utilis\xe9 avec au moins un article r\xe9gulier de la m\xeame commande. Il ne peut pas \xeatre achet\xe9 s\xe9par\xe9ment.</p><p>L\'inventaire est limit\xe9. D\xe9bloquer le cadeau myst\xe8re donne droit \xe0 l\'\xe9ligibilit\xe9, mais les articles de r\xe9compense sp\xe9cifiques ne peuvent \xeatre \xe9chang\xe9s que dans la limite des stocks disponibles.</p><p>Si un article devient en rupture de stock, il ne sera pas disponible au moment du paiement.</p></li><li><h3>4. Expiration et limites</h3><p>Tous les points et l\'\xe9ligibilit\xe9 aux cadeaux myst\xe8res expirent le 31 d\xe9cembre (PST). Veuillez \xe9changer ou passer votre commande avant la date limite.</p><p>Les r\xe9compenses li\xe9es aux \xe9v\xe9nements ne peuvent pas \xeatre combin\xe9es \xe0 d\'autres promotions, y compris les offres de livraison gratuite, les articles bonus ou les coupons.</p><p>Chaque compte client ne peut participer qu\'une seule fois.</p><p>VIVOSUN Se r\xe9serve le droit d\'interpr\xe9tation finale de cet \xe9v\xe9nement.</p></li></ul>","web_help_referral_program":"Programme de recommandation","web_help_growhub_e42":"GrowHub E42/E42A","web_write_review_points_tip":"Gagnez jusqu\'\xe0 <strong>{{num}} points</strong> en publiant un avis.","web_wfd_orderdetail_claimentry_button":"D\xe9poser une r\xe9clamation","web_xmas2025_rewards_mystery_gift":"Cadeau myst\xe8re","web_login_switch_account":"Changer de compte","web_header_guide_winter_grow_guide":"Guide de culture hivernale","web_common_happy_halloween":"Joyeux Halloween","web_common_pay_time":"Date de paiement","web_order_cancel_popup_title":"Annuler la commande","web_shop_crowdfunding_status_upcoming":"\xc0 venir","web_shop_account_tips_bind_new_email_desc":"Entrez votre nouvelle adresse e-mail pour recevoir un e-mail de v\xe9rification. Veuillez consulter votre bo\xeete de r\xe9ception et suivre les instructions pour terminer le processus de liaison.","web_price_free_upper":"GRATU
1IT","web_common_read_more":"En savoir plus","web_purchase_large_phone":"T\xe9l\xe9phone","web_account_orders_title":"Mes commandes","web_cart_wholesale_minimum_tip":"Commandes en gros\xa0: minimum de 3 000 USD pour le paiement.","web_pointsmarket_boost_btn_boost":"web_pointsmarket_boost_btn_boost","web_review_empty_tip":"Soyez le premier \xe0 commenter\xa0! Faites-nous part de vos r\xe9flexions ou questions \xe0 propos de ce kit","web_xmas2025_door10_link_de":"https\xa0://vivosun.com/fr-FR/vivosun-aeroflux-chauffe-tente smart-grow-p164609661357825457-v164609661357825455\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Jour 10","web_help_wrong_item_received":"Mauvais article re\xe7u","web_shop_security_sign_up_and_verify":"Inscrivez-vous et v\xe9rifiez","web_referral_faqs":"{{brand}} FAQ sur les programmes de parrainage","web_security_delete_account_title":"Supprimer le compte","web_order_received":"Re\xe7u","web_payment_klarna_policy_de":"Vous devez r\xe9sider en Allemagne, avoir au moins 18 ans, avoir un compte bancaire valide, une bonne cote de cr\xe9dit et un num\xe9ro de t\xe9l\xe9phone portable. Des frais de retard peuvent s\'appliquer.<br>Emetteur de cr\xe9dit\xa0: Klarna Bank AB (publ), Sveav\xe4gen 46, 111 34 Stockholm, Su\xe8de Conditions g\xe9n\xe9rales de vente (AGB)\xa0: <a href=\\"https://www.klarna.com/de/agb/\\" target=\\"_blank\\">https://www.klarna.com/de/agb/</a>.<br>La protection des acheteurs de Klarna exclut certains modes de paiement et certains achats, par exemple les voyages, les billets d\'\xe9v\xe9nements ou les cartes-cadeaux. <a href=\\"https://www.klarna.com/de/kauferschutzrichtlinie/\\" target=\\"_blank\\">Modalit\xe9s de paiement</a>.","web_xmas2025_door6_desc_us":"Qui va sauver le Dr Green du chaos de la cuisine\xa0? \\nLe P\xe8re No\xebl est en route avec de la magie de No\xebl. \u2728","web_checkout_sign_up_tip":"Inscrivez-vous d\xe8s maintenant et recevez une offre sp\xe9ciale pour les nouveaux clients\xa0! Profitez jusqu\'\xe0 <span>{{discount}} OFF</span> votre premier achat avec notre coupon exclusif, plus un suppl\xe9ment <span>{{points}} points</span> ajout\xe9 \xe0 votre compte. Consultez le <privacy-link>Politique de confidentialit\xe9 et de cookies</privacy-link> et <terms-link>Termes et conditions</terms-link>.","web_cart_apply_coupon_tip":"Appliquez un code promo \xe0 l\'\xe9tape suivante.","web_common_btn_share_now":"Partagez maintenant","web_feature_3d":"3D","web_shop_crowdfunding_mins_togo":"<span>{{timeRemaining}}</span> il reste quelques minutes","web_shop_crowdfunding_add_a_comment":"Ajouter un commentaire...","web_common_divider_or":"Ou","web_help_growhub_e25":"GrowHub E25","web_locale_change_region":"Changer de r\xe9gion","web_view_count":"{{count}}
1 Afficher","web_common_update":"Mettre \xe0 jour","web_consent_root_customise_cookies":"Personnalisez les cookies","web_shop_crowdfunding_only_backers_can_post_comments":"Seuls les contributeurs peuvent publier des commentaires.","web_consent_root_title":"Politique de confidentialit\xe9 et de cookies","web_summary_total":"Total","web_common_rules":"R\xe8gles","web_shop_crowdfunding_faq":"FAQ","web_footer_link_my_account":"Mon compte","web_pay_cvv_label":"Code de s\xe9curit\xe9","web_account_points_title":"Mes points","web_feature_animation":"Animation","web_coupons_available_title":"Disponible","web_subscribe_result_btn_text":"Cliquez pour d\xe9couvrir les meilleures offres\xa0!","web_download_app_popup_tips":"Scannez le QR code pour t\xe9l\xe9charger l\'application et commencez d\xe8s aujourd\'hui votre exp\xe9rience shopping premium.","web_affiliate_program":"Programme d\'affiliation","web_referral_invite_friends":"Invitez des amis d\xe8s maintenant et recevez {{brand}} points","web_cart_black_friday_title":"\xc9v\xe9nement exclusif du Black Friday","web_pointsmarket_boost_btn_continue":"web_pointsmarket_boost_btn_continue","web_common_link_copied_tip":"Votre lien a \xe9t\xe9 copi\xe9\xa0!","web_shop_brand_story":"L\'histoire de la marque","web_xmas2025_door1_link_us":"https://www.instagram.com/reel/DR_qYyRkYhW/","web_coupon_empty_tip":"Votre coupon est vide","web_pay_btn_reload":"Recharger","web_common_continue_shopping":"Poursuivre vos achats","web_refer_friend_share_your_friends":"Partagez avec vos amis","web_pointsmarket_flash_total_points":"<Num/><span>Points<span>","web_shop_redeem_process_step1_desc":"Cliquez <a>ici</a> pour vous connecter \xe0 {{brand}} ou cr\xe9ez un nouveau compte.","web_shop_activity_share_for_a_gift":"Partagez pour recevoir un cadeau","web_points_col_expiration_date":"Date d\'expiration","web_orders_nav_unpaid":"Non pay\xe9","web_shop_account_verify_your_identity_desc":"Entrez votre mot de passe pour v\xe9rifier que vous \xeates bien le titulaire du compte.","web_checkin_plant_check_in":"Enregistrez-vous pour am\xe9liorer votre plante","web_list_sort_new":"Nouveaut\xe9s","web_common_btn_return_to_cart":"Retourner au panier","web_shop_crowdfunding_status_live":"En direct","web_age_gate_full_age":"JE SUIS {{age}}+","web_pointsmarket_products_title":"Points commerciaux pour les produits","web_support_blogs_desc":"Des connaissances d\'experts, des guides techniques et des informations saisonni\xe8res.","web_shop_crowdfunding_crowdfunding":"Financement participatif","web_xmas2025_door11_desc_de":"Notre concours avec Royal Queen Seeds est disponible sur nos cha\xeenes de r\xe9seaux sociaux\xa0!\\nLetzte Chance dieses Jahr \u2014 also nicht verpassen.","web_xmas2025_door9_desc_de":"Tout ce que vous avez besoin \u2014 dans un paquet.","web_order_items_col_action":"Action","web_messages_tab_notification":"Notification","web_summary_tax":"Imp\xf4t","web_shop_activity_early_access_invite_friends":"Invitez des amis \xe0 vous rejoindre\xa0!","web_shop_account_change_email_address":"Modifier l\'adresse e-mail","web_xmas2025_rewards_title":"Ouvrez la porte d\'aujourd\'hui<br>Pour r\xe9v\xe9ler votre r\xe9compense","web_cart_recommend_title":"Vous souhaiterez peut-\xeatre ajouter","web_shop_crowdfunding_hrs_togo":"<span>{{timeRemaining}}</span> il reste 2 heures","web_home_sfs_purchase_limit":"Limite d\'achat\xa0: {{userLimit}} quantit\xe9","web_early_access_rules":"<h2 class=\\"g-title\\">Qu\'est-ce que Tester Club\xa0?</h2><p class=\\"g-msg g-msg-1\\">\\n Tester Club vous permet d\'\xeatre parmi les premiers \xe0 d\xe9couvrir nos nouveaux produits\xa0! En d\xe9pensant un certain nombre de points, vous pouvez demander l\'opportunit\xe9 d\'essayer nos produits.\\n</p><p class=\\"g-msg\\">\\n \xc0 la fin de la p\xe9riode de candidature, les utilisateurs s\xe9lectionn\xe9s seront s\xe9lectionn\xe9s en fonction de facteurs tels que l\'historique de leur candidature, leur statut de s\xe9lection pr\xe9c\xe9dent et la qualit\xe9 des commentaires issus des tests pr\xe9c\xe9dents. Les utilisateurs s\xe9lectionn\xe9s recevront le produit gratuitement et auront la possibilit\xe9 de partager de pr\xe9cieux commentaires. Si cette option n\'est pas s\xe9lectionn\xe9e, les points d\xe9pe
1ns\xe9s lors de l\'inscription seront int\xe9gralement rembours\xe9s sur votre compte.\\n</p><p class=\\"g-msg\\">\\n Les utilisateurs s\xe9lectionn\xe9s qui soumettent un avis r\xe9pondant aux exigences en mati\xe8re de contenu (au moins 300 caract\xe8res, 5 photos et 1 vid\xe9o) et qui r\xe9ussissent notre processus d\'approbation des commentaires recevront un remboursement complet des points utilis\xe9s pour la demande.\\n</p><h3 class=\\"g-sub-title\\">Comment participer\xa0?</h3><ol class=\\"g-msg\\"><li>Parcourez les produits disponibles dans le module Tester Club.</li><li>Soumettez votre candidature en utilisant des points.</li><li>\\n Attendez que les r\xe9sultats soient annonc\xe9s. La liste des utilisateurs s\xe9lectionn\xe9s sera affich\xe9e dans le module Tester Club et vous recevrez \xe9galement une notification.\\n </li></ol><h3 class=\\"g-sub-title\\">Remarques importantes</h3><ul class=\\"g-msg\\"><li>\\n Une fois les r\xe9sultats annonc\xe9s, les utilisateurs s\xe9lectionn\xe9s doivent fournir des informations d\'exp\xe9dition compl\xe8tes dans les d\xe9lais impartis\xa0; sinon, la qualification sera annul\xe9e.\\n </li><li>\\n Chaque activit\xe9 du Tester Club n\xe9cessite une nouvelle application. La s\xe9lection n\'est pas continue.\\n </li><li>\\n Sauf en cas de perte ou de dommage lors de l\'exp\xe9dition, les produits Tester Club ne peuvent \xeatre ni retourn\xe9s ni \xe9chang\xe9s.\\n </li><li>\\n Seuls les avis qui respectent le format de contenu requis (texte, images et vid\xe9o) et qui r\xe9ussissent la r\xe9vision manuelle seront \xe9ligibles au remboursement des points.\\n </li><li>\\n Veuillez envoyer votre commentaire dans les 14 jours suivant la r\xe9ception de votre commande. Les soumissions effectu\xe9es apr\xe8s cette p\xe9riode ne seront pas \xe9ligibles \xe0 un remboursement.\\n </li></ul>","web_pay_card_number_invalid_tip":"Le num\xe9ro de carte n\'est pas valide","web_pay_cancel_confirm_btn_cancel":"CONFIRMER L\'ANNULATION","web_subscribe_email_placeholder":"Votre e-mail","web_wfd_checkout_popup_content":"<ContentWrap><Part><Title>Ce qui est couvert par <SeelLogo/></Title><WorryFreeTips/></Part><Part><Title>R\xe9solution facile</Title><Msg>R\xe9solvez vos probl\xe8mes en quelques clics</Msg></Part><Part><Title>Tranquillit\xe9 d\'esprit totale</Title><UlMsg><LiMsg>Aucun risque pour votre commande gr\xe2ce \xe0 notre protection</LiMsg><LiMsg>Obtenez votre remboursement rapidement</LiMsg></UlMsg></Part></ContentWrap>","web_warranty_form_failed":"La soumission a \xe9chou\xe9. R\xe9essayez ult\xe9rieurement ou contactez le service client.","web_common_btn_reset":"R\xe9initialiser","web_checkout_points_max_available":"Utilisez les points","web_addresses_btn_add_address":"Ajouter une nouvelle adresse","web_coupons_empty_error":"Veuillez saisir le code du coupon.","web_common_free_gift":"Cadeau gratuit","web_order_option_tracking":"Suivi","web_list_filter_empty_tip":"Il n\'y a aucun \xe9l\xe9ment de filtre sur la page en cours","web_diy_customize_select_multiple":"S\xe9lectionnez plusieurs","web_help_customer_service_title":"Service \xe0 la client\xe8le","web_tag_cyber_monday":"Cyber lundi","web_tag_wholesale":"Vente en gros","web_summary_tip_reward_points":"R\xe9compense <span>{{num}}</span>{{brand}} Points","web_package_tracking_empty":"Les informations de suivi ne sont pas encore disponibles.","web_list_sort_by_label":"Trier par","web_order_info_shipping_title":"Exp\xe9dition standard","web_form_old_pwd_label":"Ancien mot de passe","web_shop_activity_winter_surprise_rules_title":"R\xe8gles de la promotion Winter Surprise","web_refund_return_reason_placeholder":"Veuillez choisir une raison","web_diy_ranking_kit_comments":"Commentaires sur le KIT","web_support_banner_title":"L\'amour grandit en vert","web_return_request_no":"Num\xe9ro de demande","web_list_filter_title":"Filtre","web_product_unavailable_desc":"Ce produit n\'est actuellement pas disponible dans la r\xe9gion que vous avez s\xe9lectionn\xe9e. Retournez \xe0 la page d\'accueil pour d\xe9couvrir d\'autres articles.","
1web_refer_friend_total_points":"Votre {{brand}} Points","web_winter_grow_problem_1_title":"Les nuits froides tuent votre culture\xa0? Restez au chaud et en s\xe9curit\xe9 cet hiver.","web_pay_card_form_title":"Informations sur la carte","web_help_about_diy_pools":"\xc0 propos de Diy Pools","web_m_product_tab_technical_specs":"Sp\xe9cifications","web_common_welcome_to":"Bienvenue sur {{brand}}","web_support_products_title":"D\xe9couvrez le support produit","web_checkout_referrer_unavailable_error":"Ce REFID n\'est pas disponible","web_common_share":"PARTAGEZ","web_payment_klarna_slogen_gb":"web_payment_klarna_slogen_gb","web_pay_cvv_empty_tip":"Veuillez saisir le code de s\xe9curit\xe9","web_form_already_submitted":"D\xe9j\xe0 soumis","web_diy_customize_mandatory":"obligatoire","web_xmas2025_door4_link_us":"https://www.instagram.com/reel/DSHYs0pDdMe/","web_product_afterpay_help_us":"web_product_afterpay_help_us","web_help_warranty_policy":"Politique de garantie","web_summary_subtotal":"Sous-total","web_shop_activity_thanks_for_joining":"Merci de votre adh\xe9sion\xa0!","web_shop_crowdfunding_gifts":"Cadeaux","web_purchase_large_whatsapp_account":"Compte WhatsApp Business","web_account_profile_title":"Mon profil","web_consent_root_desc":"Pour vous offrir la meilleure exp\xe9rience possible, nous utilisons des cookies et des technologies similaires (\xab\xa0cookies\xa0\xbb) pour fournir nos Services, pour am\xe9liorer et promouvoir le Service, pour mesurer l\'efficacit\xe9 des campagnes publicitaires et pour garantir la s\xe9curit\xe9 de nos utilisateurs. Cliquez sur \xab\xa0Tout accepter\xa0\xbb ou sur \xab\xa0Tout rejeter\xa0\xbb si vous souhaitez autoriser ou refuser le placement de ces technologies sur votre appareil. Vous pouvez \xe9galement choisir les types de cookies que vous souhaitez accepter ou rejeter en cliquant sur \xab\xa0Personnaliser les cookies\xa0\xbb ci-dessous ou \xe0 tout moment dans vos param\xe8tres de confidentialit\xe9. Pour plus de d\xe9tails, consultez notre <privacy>Politique de confidentialit\xe9</privacy>.","web_tag_off":"OFF","web_common_is_required":"est obligatoire.","web_support_call_action":"Appelez maintenant","web_consent_customise_necessary_title":"Cookies strictement n\xe9cessaires","web_pay_loading_tip":"attente","web_write_review_comment_placeholder":"Veuillez \xe9crire vos commentaires \xe0 propos de ce produit.","web_shop_energy_label_product_data_sheet":"Fiche technique du produit","web_xmas2025_door7_link_us":"https\xa0://vivosun.com/vivosun-machine \xe0 bonbons p163960084060939787-v163960084060939680\xa0? utm_source=MKT&UTM_Medium=XMAS&UTM_Campaign=Jour 7","web_summary_shop_price":"Prix de la boutique","web_help_loyalty_policy":"Programme de fid\xe9lit\xe9","
1web_fixed_coupon_title":"Rabais exclusif","web_order_cancel_wrong_address":"Mauvais produit ou adresse","web_pay_btn_place_order":"Passer la commande","web_shop_crowdfunding_campaign":"Campagne","web_time_ended":"Termin\xe9","web_help_legal_notice":"Avis l\xe9gal","web_support_view_pdf":"Voir","web_checkout_btn_choose_address":"Choisissez une autre adresse","web_order_prod_type_kit":"Trousse","web_form_agree_error":"Veuillez s\xe9lectionner \xab\xa0J\'accepte\xa0\xbb pour continuer.","web_xmas2025_door5_link_de":"https\xa0://vivosun.com/de-DE/Tester-Club\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Jour 5","web_product_bundle_save":"Vous \xe9conomisez","web_common_score":"Score","web_winter_grow_expert_tips_desc":"D\xe9couvrez comment les cultivateurs exp\xe9riment\xe9s am\xe9nagent leurs salles de culture et choisissent le bon \xe9quipement pour aider les plantes \xe0 prosp\xe9rer pendant la saison froide.","web_help_about_points":"\xc0 propos des points","web_upload_msg_1":"<span>Choisissez un fichier</span> ou d\xe9posez ici","web_tag_super_slots":"Super machines \xe0 sous","web_checkout_coupon_drawer_trigger":"Consultez <span>Mes coupons<Num/></span>","web_diy_ranking_entrances_title":"Vous avez du mal \xe0 vous d\xe9cider\xa0?<br/>Essayons une autre fa\xe7on de trouver l\'inspiration","web_fixed_register_trigger":"INSCRIVEZ-VOUS ET RECEVEZ {{discount}} OFF","web_support_product_videos_title":"Regardez et apprenez","web_common_back_to_top":"Retour en haut de page","web_product_tab_technical_specs":"Sp\xe9cifications techniques","web_order_out_stock_error":"Tous les produits de cette commande sont en rupture de stock","web_common_resend":"Renvoyer","web_common_view_all":"Afficher tout","web_shop_account_have_completed_email_change":"J\'ai termin\xe9 mon changement d\'adresse e-mail","web_referral_benefit_point2_description":"Gagnez {{points}} points pour chaque {{price}} les d\xe9penses de vos filleuls.","web_form_agree_tip":"J\'accepte <privacy>Politique de confidentialit\xe9 et de cookies</privacy> et <terms>Termes et conditions</terms>.","web_common_btn_delete":"Supprimer","web_referral_benefit_point1_description":"Tout utilisateur enregistr\xe9 peut devenir r\xe9f\xe9rent \xe0 tout moment.","web_diy_customize_unavailable_error":"Le kit de bricolage contient des articles \xab\xa0\xe9puis\xe9s\xa0\xbb ou \xab\xa0non disponibles\xa0\xbb, impossible de passer \xe0 la caisse.","web_shop_activity_winter_surprise_rules_desc":"<p>1. P\xe9riode de l\'\xe9v\xe9nement\xa0: Du 11 d\xe9cembre 2024, 00h00 au 17 d\xe9cembre 2024, 23h59 PST.</p><p>2. Pendant l\'\xe9v\xe9nement, les utilisateurs qui partagent la page ou les produits de l\'\xe9v\xe9nement auront une chance d\'ouvrir un coffret cadeau. Chaque coffret cadeau contient\xa0\xbbVIVOSUN Des points\xa0\xbb et un \xab\xa0cadeau gratuit\xa0\xbb, tous deux \xe9mis de mani\xe8re al\xe9atoire. Le VIVOSUN Les points seront imm\xe9diatement cr\xe9dit\xe9s sur le compte de l\'utilisateur et le cadeau gratuit sera automatiquement ajout\xe9 \xe0 son panier.</p><p>3. Le cadeau gratuit ne peut pas \xeatre achet\xe9 s\xe9par\xe9ment et doit \xeatre r\xe9gl\xe9 avec au moins un article r\xe9gulier.</p><p>4. Le cadeau gratuit est disponible en quantit\xe9 limit\xe9e. Une fois \xe9puis\xe9, aucun autre cadeau ne sera \xe9mis. Si un utilisateur tarde \xe0 passer une commande et que le cadeau gratuit est \xe9puis\xe9, ou si l\'\xe9v\xe9nement se termine avant que la commande ne soit pass\xe9e, l\'utilisateur perdra la possibilit\xe9 de r\xe9clamer le cadeau gratuit.</p><p>5. Ne retirez pas le cadeau gratuit du panier \xe0 la l\xe9g\xe8re. Une fois supprim\xe9e, elle ne peut pas \xeatre ajout\xe9e de nouveau.</p><p>6. Le cadeau gratuit ne peut pas \xeatre combin\xe9 \xe0 d\'autres promotions, telles que les cadeaux avec achat, les remises group\xe9es ou les bons d\'achat.</p><p>7. Par souci d\'\xe9quit\xe9, les auto-recommandations sont strictement interdites, y compris en utilisant la m\xeame adresse e-mail, la m\xeame adresse IP ou la m\xeame session de navigateur. Les violations entra\xeeneront des recommandations non valides.</p>","web_shop_product_notify_me":"Avertissez-moi","web_footer_link_order_history":"Historique des commandes","web_diy_entrance_customize_desc":"Choisissez votre tente, votre lampe, votre ventilateur et vos accessoires.","web_payment_klarna_slogen_ca":"ACHETEZ d\xe8s maintenant. Payez avec Klarna \xe0 votre rythme.","web_shop_account_link_expired_prompt_desc":"Ce lien de v\xe9rification a expir\xe9. Pour des raisons de s\xe9curit\xe9, les liens de v\xe9rification par e-mail ne sont valides que pendant 1 heure.","web_common_btn_save":"Enregistrer","web_purchase_success_status":"Paiement r\xe9ussi\xa0!","web_unsubscribe_suc_tip":"Vous ne recevrez plus de marketing par e-mail en provenance de cette liste.","web_survey_result_thank_tip":"Merci de faire partie du {{brand}} famille.<br/>Vos commentaires d\'aujourd\'hui nous aident \xe0 construire ensemble l\'avenir de la culture en int\xe9rieur.","web_account_sidebar_title":"Centre personnel","web_orders_order_detail_link":"D\xe9tail de la commande","web_shop_activity_early_access_result_selected1":"Vous avez \xe9t\xe9 s\xe9lectionn\xe9 pour essayer le nouveau produit\xa0!","web_shop_activity_early_access_result_selected2":"Veuillez fournir vos informations d\'exp\xe9dition ci-dessous dans les 14 jours suivant l\'annonce des r\xe9sultats, sinon vous perdrez votre \xe9ligibilit\xe9 \xe0 l\'essai. Vos points d\'inscription vous seront rembours\xe9s si vous ne respectez pas la date limite.","web_unsubscribe_suc_title":"D\xe9sinscription r\xe9ussie\xa0!","web_xmas2025_door12_link_de":"https://www.instagram.com/vivosun.de/","web_shop_redeem_redeem_your_rewards":"\xc9changez vos r\xe9c
1ompenses","web_checkout_referrer_empty_error":"Veuillez saisir REFID.","web_crowd_funding_limit_reached":"Limite atteinte","web_pointsmarket_checkin_popup_title":"web_pointsmarket_checkin_popup_title","web_form_comfirm_pwd_mismatch_error":"Vos mots de passe ne correspondent pas, veuillez r\xe9essayer.","web_help_title_guide":"Guide","web_shop_activity_early_access_share_the_activity":"Partagez l\'activit\xe9 du Tester Club","web_payment_klarna_slogen_de":"ACHETEZ d\xe8s maintenant. Payez avec Klarna \xe0 votre rythme.","web_xmas2025_door8_desc_us":"Certaines personnes ont une chambre de culture. D\'autres y vivent essentiellement \ud83d\udc9a\\nCette configuration est peut-\xeatre l\'un des espaces de culture les plus d\xe9di\xe9s que nous ayons vus dans la communaut\xe9.","web_xmas2025_door6_desc_de":"Alle warten aufs Chriskind... Ich warte auf meine Frost-Resistant Buds.","web_home_sfs_btn_sale_is_ove_capfirst":"La vente est termin\xe9e","web_subscribe_title":"Inscrivez-vous et recevez {{discount}} r\xe9duction sur votre premi\xe8re commande","web_profile_nick_name_label":"Pseudo","web_security_delete_account_note":"Remarque\xa0: le compte NE PEUT PAS \xeatre r\xe9cup\xe9r\xe9 une fois supprim\xe9.","web_pay_card_number_empty_tip":"Veuillez saisir le num\xe9ro de carte","web_shop_activity_early_access_announced_soon":"Merci d\'avoir postul\xe9\xa0! Les r\xe9sultats seront annonc\xe9s prochainement.","web_product_sold_out_upper":"\xc9PUIS\xc9","web_shop_crowdfunding_comments":"Commentaires","web_shop_redeem_trick_or_treat_promotion_rules_title":"R\xe8gles de promotion Trick or Treat","web_referral_process_step2":"\xc9tape 2\xa0: Faites des recommandations","web_referral_process_step1":"\xc9tape 1\xa0: Connectez-vous {{brand}}","web_shop_redeem_the_pumpkin_you_earned":"Citrouilles gagn\xe9es","web_order_empty_tip":"Votre commande est vide","web_common_plus_points":"+{{num}} Points","web_common_btn_quick_view":"Aper\xe7u rapide","web_purchase_order_total_payment":"Paiement total","web_search_btn_search":"Rechercher","web_form_pwd_pattern_letter_error":"Votre mot de passe doit contenir au moins une lettre.","web_xmas2025_door3_desc_us":"Le grand r\xe9sum\xe9 de cette ann\xe9e\xa0!\\nMerci pour toutes ces id\xe9es, vous nous avez aid\xe9s \xe0 mieux grandir. \ud83d\udc9a\xa0\xbb","web_common_max_available":"Maximum disponible","web_early_access_review_tips":"<p class=\\"g-title\\">Faites entendre votre voix <br>\u2014 et soyez r\xe9compens\xe9\xa0!</p><p class=\\"g-text\\">Soumettez votre \xe9valuation avec <strong>au moins 300 caract\xe8res, 5 photos et 1 vid\xe9o</strong> pour b\xe9n\xe9ficier du remboursement complet des points que vous avez utilis\xe9s pour participer \xe0 cet essai.</p><p class=\\"g-text\\">Vous recevrez \xe9galement la r\xe9compense d\'\xe9valuation standard, comme pour tout commentaire normal.</p><p class=\\"g-text\\"><a href=\\"/help/about-points\\">En savoir plus sur les points</a></p><p class=\\"g-text\\"></p><p class=\\"g-text\\">Votre histoire compte, montrez-nous ce que ce produit repr\xe9sente pour vous\xa0!</p></div>","web_xmas2025_door10_desc_us":"Il s\'av\xe8re que m\xeame les l\xe9gendes de la culture ont des moments \xab\xa0oups\xa0\xbb. \ud83e\udd23\\nNous avons \xe9tudi\xe9 la communaut\xe9 et l\'avons qualifi\xe9e de l\'une des plus dr\xf4les. Quel a \xe9t\xe9 votre moment de croissance le plus chaotique de votre visage et de votre paume\xa0?","web_pointsmarket_total_points":"Nombre total de points","web_eggs_product_added":"L\'article a \xe9t\xe9 automatiquement ajout\xe9 \xe0 votre panier et doit \xeatre achet\xe9 avec les autres articles de la m\xeame commande.","web_write_review_check_form_error":"Merci de v\xe9rifier le formulaire","web_common_seconds_lower":"secondes","web_form_pictures_label":"Photos","web_fixed_register_plus":"Plus","web_order_order_date":"Date de commande","web_write_review_success_titlle":"Re\xe7u avec succ\xe8s","web_common_congratulations":"F\xe9licitations\xa0!","web_support_call_title":"Appelez-nous","web_home_sfs_stock_left":"<Num/> parti","web_shop_crowdfunding_hrs_left":"<span>{{timeRemaining}}</span> heures restantes","web_user_go_wholesale_tip":"Ce compte est r\xe9serv\xe9 aux clients grossistes. Veuillez vous connecter sur notre site de vente en gros.","web_search_btn_clear":"Transparent","web_diy_cart_discount_tip":"Un extra <strong>{{discount}}</strong> La r\xe9duction a d\xe9j\xe0 \xe9t\xe9 appliqu\xe9e au sous-total de la commande\xa0!","web_fixed_register_email_placeholder":"Entrez votre adresse e-mail","web_subscribe_result_text_2":"Vous pouvez \xe9galement rejoindre notre c
1ommunaut\xe9 Facebook o\xf9 nous partageons des conseils de culture et des offres exclusives avec un groupe de cultivateurs passionn\xe9s.","web_common_success_tip":"Avec succ\xe8s","web_subscribe_result_text_3":"De plus, en guise de cadeau de bienvenue, nous souhaitons partager un code avec vous pour obtenir {{discount}} sur votre prochaine commande par Code\xa0: <CouponCode/>.","web_shop_crowdfunding_available_rewards":"R\xe9compenses disponibles","web_price_discount_off":"{{discount}} Off","web_shop_crowdfunding_day_left":"<span>{{timeRemaining}}</span> jour restant","web_subscribe_result_text_1":"Nous sommes ravis que vous ayez d\xe9cid\xe9 de nous rejoindre\xa0!","web_form_email_invalid_tip":"L\'adresse e-mail que vous avez saisie n\'est pas valide. V\xe9rifiez votre e-mail et r\xe9essayez.","web_support_product_reviews_demos":"Critiques et d\xe9monstrations","web_cart_view_cart":"Afficher le panier","web_referral_refid":"REFID","web_address_make_default":"D\xe9finir par d\xe9faut","web_login_auth_failed":"L\'authentification a \xe9chou\xe9\xa0!","web_product_paypal_pay_title_us":"web_product_paypal_pay_title_us","web_shop_activity_units_available":"Unit\xe9s disponibles","web_referral_process_step3":"\xc9tape 3\xa0: R\xe9coltez les r\xe9compenses","web_tag_black_friday":"Vendredi noir","web_product_paypal_pay_title_uk":"web_product_paypal_pay_title_uk","web_points_col_expired":"Expir\xe9","web_shop_security_verify_now":"V\xe9rifiez maintenant","web_pointsmarket_expiring_tip":"{{num}} Les points expirent bient\xf4t","web_shop_crowdfunding_estimated_delivery":"Livraison estim\xe9e","web_tag_prime_day":"Prime Day","web_cupon_maximum_saving":"\xc9conomie maximale","web_form_email_empty_tip":"Veuillez saisir votre adresse e-mail.","web_common_processing":"Traitement","web_common_you_have_applied":"Vous avez postul\xe9","web_product_total_reviews":"{{total}} Critiques","web_diy_ranking_help_title":"Crit\xe8res de notation","web_form_name_placeholder_1":"par exemple, John Doe","web_xmas2025_door1_link_de":"https\xa0://vivosun.com/de-DE/campaign/Winter-grow\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Jour 1","web_shop_redeem_how_to_get_more_chances":"Comment avoir plus de chances de vous procurer des friandises\xa0?","web_common_learn_more":"En savoir plus","web_login_btn_google":"Connectez-vous avec Google","web_survey_points_credited":"{{num}} Des points ont \xe9t\xe9 cr\xe9dit\xe9s sur votre compte.","web_consent_privacy_title":"Politique de s\xe9curit\xe9 et de confidentialit\xe9","web_cart_bonus_login_confirm":"Oups\xa0! Vous n\'\xeates pas connect\xe9. Connectez-vous d\'abord, puis ajoutez des articles pour \xe9changer des points.","web_pointsmarket_boost_points_gained":"Points gagn\xe9s","web_return_step_refused":"Refus\xe9","web_form_empty_error":"N\xe9cessaire","web_tag_flash_sale":"Vente flash","web_common_btn_close":"Fermer","web_common_btn_ok":"OK.","web_home_sfs_help_title":"\xc0 propos de Super Flash Sale","web_common_reviews":"Critiques","web_coupon_applied_successfully":"Le code promo a \xe9t\xe9 appliqu\xe9 avec succ\xe8s.","web_summary_retail_price":"Prix de d\xe9tail","web_payment_klarna_step3_gb":"web_payment_klarna_step3_gb","web_diy_ranking_use_this_kit":"Utilisez ce kit","web_issue_description":"Description du probl\xe8me","web_pay_cvv_invalid_tip":"Le code de s\xe9curit\xe9 n\'est pas valide","web_help_contact_us":"Nous contacter","web_product_limit_reached":"Limite atteinte","web_order_cancel_duplicate":"Commande dupliqu\xe9e","web_checkin_plant_done":"Votre plante s\'\xe9panouit \xe0 merveille\xa0!","web_purchase_failed_status":"Echec du paiement","web_shop_redeem_trick_or_treat_promotion_rules_desc":"1. Event Duration: The event will run from October 25, 2024, 00:00:00 to November 3, 2024, 23:59:59 PST.<br/>2. Participation: During the event, you can log in or share the event page to receive 1 opportunity to grab event items. You will randomly receive between 1 to 10 \\"Candies\\" or 1 to 5 \\"Pumpkins.<br/>3. Referrals: Throughout the event, you can recommend {{brand}} to your friends by sharing your personalized invitation link. For every friend who successfully places an order and completes payment through your referral, you will receive 1 \\"Pumpkin\\" item. You will also earn Referral points. Check the <referral>Referral Program</referral> for more details. If the order is canceled, the Pumpkin and points will not be awarded.<br/>4. Fairness Policy: To ensure fairness, self-referrals are prohibited, including using the same email, IP address, or browser session. Non-compliant referrals will be deemed invali
1d.<br/>5. Redeeming Prizes: During the event, you can redeem prizes using the event items \\"Candy\\" and \\"Pumpkin\\" on the event page. Prizes may include products, merchandise, or {{brand}} points. Once redeemed, event prizes cannot be returned.<br/>6. Order Requirements: Prizes redeemed during the event cannot be purchased separately and must be combined with at least one regular product in the order.<br/>7. Limited Stock: Event products are limited in quantity and will be sold out once depleted.<br/>8. Discount Exclusions: Event products do not qualify for any other discounts, such as spend promotions, multi-item discounts, or coupon offers.","web_messages_clear_tip":"\xcates-vous s\xfbr de pouvoir effacer tous les messages non lus\xa0?","web_common_add_cart_fail_tip":"Les articles suivants n\'ont pas pu \xeatre ajout\xe9s au panier","web_xmas2025_progress_tip":"{{count}} plus pour d\xe9bloquer le cadeau","web_locale_current_tip":"Vous faites actuellement des achats dans <strong>{{country}}</strong> ({{language}}).","web_form_pwd_pattern_letter_tip":"Au moins une lettre","web_pointsmarket_flash_title":"Offres limit\xe9es","web_common_sku_upper":"SKU","web_help_fraud_awareness":"Sensibilit\xe9 \xe0 la fraude","web_product_buy_now_upper":"ACHETER MAINTENANT","web_form_phone_placeholder_1":"par exemple 234 567 8900","web_coupons_not_available_title":"Non disponible","web_shop_activity_days_left":"Jours restants","web_pay_reload_tip":"Veuillez le recharger si cela prend trop de temps.","web_product_earn_points":"Gagnez jusqu\'\xe0 <span>{{ num }}</span>{{ brand }} Points lors du paiement.","web_product_together_items_unavailable":"Les articles suivants ne sont actuellement pas disponibles \xe0 l\'achat","web_search_return_no_matches":"Votre recherche n\'a donn\xe9 aucun r\xe9sultat.","web_shop_crowdfunding_pledged_of_amount":"s\'est engag\xe9 \xe0 {{targetAmount}}","web_return_step_request_submitted":"Demande soumise","web_common_total_points_lower":"<Num/> points","web_halloween_time":"25 octobre - 3 novembre","web_shop_product_notify_me_when_available":"Avertissez-moi lorsque disponible","web_common_btn_no":"NON","web_tag_bonus":"Prime","web_order_option_refund":"Remboursement","web_wfd_checkout_module_title":"Livraison sans souci pour {{priceExchangeDisplay}}","web_pointsmarket_checkin_trigger":"web_pointsmarket_checkin_trigger","web_common_btn_confirm":"Confirmer","web_shop_activity_early_access_ongoing":"En cours","web_order_cancel_wrong_order":"Mauvaise commande, je passerai une nouvelle commande","web_xmas2025_door11_desc_us":"Le P\xe8re No\xebl a un dernier cadeau pour toi \ud83c\udf85\ud83c\udf81\u2728\\nNous cl\xf4turons nos 12 jours de magie de No\xebl avec un cadeau final, et il est important\xa0: 1 heureux gagnant obtiendra un Vivosun Kit de tente de culture 4x2\xa0! Parfait pour am\xe9liorer votre espace de culture et commencer la nouvelle ann\xe9e en beaut\xe9.","web_xmas2025_door1_desc_de":"Drau\xdfen ist es kalt, aber deine Pflanzen m\xfcssen nicht frieren\xa0!","web_diy_ranking_change_size_confirm":"La taille de votre s\xe9lection actuelle est $ {currentSizeName}, tandis que la taille du kit que vous devez utiliser est $ {recordSizeName}. Veuillez confirmer si vous devez modifier la taille.","web_payment_klarna_step3_de":"Connectez-vous ou cr\xe9ez votre<br>compte Klarna, avec<br>v\xe9rification instantan\xe9e","web_order_cancel_result_status":"La commande a \xe9t\xe9 annul\xe9e.","web_xmas2025_door11_link_us":"https://www.instagram.com/reel/DSZaUk9ES_q/","web_consent_customise_desc":"Vous pouvez modifier vos param\xe8tres de cookies pour accepter ou refuser certains cookies et technologies similaires ci-dessous. N\'oubliez pas que vous pouvez personnaliser vos param\xe8tres de cookies \xe0 tout moment dans vos param\xe8tres de confidentialit\xe9. Pour en savoir plus sur les cookies que nous utilisons, consultez notre <privacy>Politique de confidentialit\xe9</privacy>.","web_eggs_cart_prod_tag":"P\xe2ques","web_common_redeem":"\xc9changez","web_shop_crowdfunding_view_details":"Afficher les d\xe9tails","web_survey_start_survey":"Commencer l\'enqu\xeate","web_activity_share_for_treats":"Partagez pour les g\xe2teries","web_shop_crowdfunding_unavailable_rewards":"R\xe9compenses non disponibles","web_cart_empty_btn_shopping":"Commencez \xe0 magasiner","web_form_number_minus":"Moins","web_order_option_bigamount_tip":"En op\xe9ration de paiement","web_fixed_register_suc_title":"MERCI DE VOTRE PARTICIPATION\xa0!","web_addresses_delete_confirm_tip":"\xcates-vous s\xfbr de vouloir supprimer cette adresse\xa0?","web_product_buy_now":"Achetez maintenant","web_pay_link_back_checkout":"Retour \xe0 la page de passation de commande","web_diy_entrance_ranking_title":"Trouvez l\'inspiration","web_payment_klarna_step3_ca":"Connectez-vous ou cr\xe9ez votre<br>compte Klarna, avec<br>v\xe9rification instantan\xe9e","web_tag_super_flash_sale":"Vente Super Flash","web_order_confirm_receipt_tips":"\xcates-vous s\xfbr d\'avoir re\xe7u cette c
1ommande\xa0?","web_xmas2025_reward_modal_link":"En savoir plus","web_pay_card_number_label":"N\xb0 de carte","web_diy_step_light":"Lumi\xe8re","web_refund_page_title":"Remboursement","web_shop_crowdfunding_campaign_live":"Campagne en direct","web_common_btn_post":"Publier","web_order_pkg_confirm_receipt_tips":"\xcates-vous s\xfbr d\'avoir re\xe7u ce colis\xa0?","web_refund_pictures_note":"Afin de vous aider \xe0 mieux r\xe9soudre le probl\xe8me, veuillez t\xe9l\xe9charger une photo. Jusqu\'\xe0 5 photos peuvent \xeatre t\xe9l\xe9charg\xe9es, la taille de chaque image ne d\xe9passe pas 5 m, prend en charge les fichiers au format bmp, jpg, png, jpeg","web_xmas2025_rules_title":"R\xe8gles de l\'\xe9v\xe9nement","web_common_btn_yes":"OUI","web_time_days_left":"jours restants","web_support_email_action":"Envoyer un e-mail","web_xmas2025_scroll_message18":"Nous grandissons ensemble.","web_xmas2025_scroll_message17":"Chaque r\xe9colte m\xe9rite d\'\xeatre c\xe9l\xe9br\xe9e.","web_xmas2025_scroll_message16":"Vous cultivez des plantes, nous vous soutenons.","web_xmas2025_scroll_message15":"La croissance prend du temps, alors faites de grandes choses.","web_xmas2025_scroll_message14":"Votre espace de culture est votre paix.","web_xmas2025_scroll_message13":"De petites graines, de grands espoirs.","web_xmas2025_scroll_message12":"Continuez \xe0 grandir, continuez \xe0 briller.","web_xmas2025_scroll_message11":"Votre passion nous inspire.","web_xmas2025_scroll_message10":"Grandir rend la vie plus douce.","web_refund_return_reason_label":"Motif du retour","web_shop_activity_early_access_more_way_boost_chances":"D\'autres moyens d\'augmenter vos chances\xa0!","web_locale_lable_currency":"Devise","web_wfd_checkout_popup_cta_opt_in":"Inscrivez-vous d\xe8s maintenant pour b\xe9n\xe9ficier d\'une protection compl\xe8te","web_spin_check_in_pp":"Enregistrez-vous dans l\'application","web_spin_better_luck":"Meilleure chance la prochaine fois","web_diy_choose_dimensions_title":"Choisissez vos dimensions","web_checkout_save_address_tip":"Veuillez enregistrer l\'adresse.","web_common_page_not_found":"Page non trouv\xe9e","web_fixed_coupon_sign_in_claim":"Connectez-vous pour faire une r\xe9clamation","web_xmas2025_door2_desc_us":"Pouvez-vous identifier le produit qui ne fait pas partie des nouveaux lancements de cette ann\xe9e\xa0?","web_checkout_sign_in_tip":"Vous avez d\xe9j\xe0 un compte\xa0? <span>Connectez-vous maintenant</span>","web_write_review_rating_empty_error":"L\'\xe9valuation est requise","web_activity_trick_or_treat_rules_title":"R\xe8gles de promotion Trick or Treat","web_return_step_refunded":"Rembours\xe9","web_shop_activity_early_access_apply_success_tips":"Votre candidature a \xe9t\xe9 soumise\xa0!","web_product_bundle_price":"Prix du forfait","web_common_btn_view_points":"Points de vue","web_shop_security_email_verification_required_tips":"Pour des raisons de s\xe9curit\xe9, veuillez v\xe9rifier votre adresse e-mail avant de poursuivre votre commande.","web_shop_activity_early_access_completed":"Termin\xe9","web_common_btn_login":"Connectez-vous","web_wholesale_become_a_reseller":"Devenez revendeur","web_support_community_action":"Rejoignez la communaut\xe9","web_summary_tip_already_saved":"D\xe9j\xe0 enregistr\xe9\xa0:","web_xmas2025_rewards_important":"Important\xa0:","web_diy_step_accessories":"accessoires","web_form_comfirm_pwd_empty_error":"Merci de confirmer votre mot de passe\xa0!","web_spin_you_get":"Vous obtenez","web_shop_activity_submint_shipping_address":"Soumettre l\'adresse de livraison","web_shop_task_referral_title":"Effectuez les t\xe2ches du didacticiel de recommandation pour r\xe9clamer Vivosun points.","web_help_about_diy_ranking":"\xc0 propos de Diy Ranking","web_address_billing_address_tip":"Assurez-vous que l\'adresse de facturation que vous saisissez ci-dessous correspond au nom et \xe0 l\'adresse associ\xe9s \xe0 la carte de cr\xe9dit que vous utilisez pour cet achat.","web_shop_product_price_vat_tips":"(TVA incluse)","web_help_community_guidelines":"web_help_community_guidelines","web_shop_redeem_process_step2_desc":"Presse <ShareIcon/> \xe0 c\xf4t\xe9 du titre de n\'importe quel produit pour recommander vos articles pr\xe9f\xe9r\xe9s \xe0 vos amis. Vous pouvez \xe9galement partager votre <a href=\\"/account/refer-a-friend\\">lien d\'invitation personnalis\xe9</a>
1.","web_shop_activity_applicants":"Candidats","web_address_billing_address_title":"Adresse de facturation","web_login_forgot_tip_1":"Si vous avez oubli\xe9 votre mot de passe, veuillez saisir l\'adresse e-mail que vous avez enregistr\xe9e.","web_login_forgot_tip_2":"Nous vous enverrons un lien pour r\xe9initialiser votre mot de passe.","web_order_option_check_out":"Consultez","web_points_col_points_amount":"Montant des points","web_product_paypal_pay_help_uk":"web_product_paypal_pay_help_uk","web_common_view_more":"Afficher plus","web_user_go_wholesale_btn":"Visitez Wholesale","web_winter_grow_problem_3_title":"Des feuilles s\xe8ches et croustillantes\xa0? R\xe9parez-le rapidement avec cet humidificateur pour plantes","web_product_paypal_pay_title_au":"web_product_paypal_pay_title_au","web_xmas2025_door5_link_us":"https\xa0://vivosun.com/vivosun-vcure-bo\xeete-post-r\xe9colte intelligente p159688692373090695-v159688692373090694\xa0? utm_source=MKT&UTM_Medium=XMAS&UTM_Campaign=Jour 5","web_xmas2025_door8_desc_de":"Lerne LumaLight kennen \u2014 Power, Pr\xe4zision und volle Kontrolle f\xfcr deinen Grow.","web_footer_link_my_addresses":"Mes adresses","web_footer_link_log_in":"Connectez-vous","web_product_paypal_pay_help_us":"web_product_paypal_pay_help_us","web_shop_activity_early_access_rules_desc7":"Soyez le premier \xe0 en faire l\'exp\xe9rience Vivosunnouveau produit\xa0! Postulez d\xe8s maintenant pour un aper\xe7u exclusif\xa0! {{link}}","web_support_download_pdf":"T\xe9l\xe9charger le PDF","web_product_paypal_pay_title_ca":"web_product_paypal_pay_title_ca","web_checkout_payment_empty_tip":"Veuillez v\xe9rifier le mode de paiement","web_xmas2025_door5_desc_us":"Le p\xe8re No\xebl dans la chambre de culture dit\xa0: \xab\xa0Pourquoi faites-vous des rots en 2025\xa0?\xa0\xbb \\nS\xe9chage intelligent > Bocaux de garde d\'enfants.","web_pay_expiry_label":"Date d\'expiration","web_write_review_no_products":"Il n\'y a aucun produit \xe0 \xe9valuer","web_write_review_points_help":"<div class=\\"title\\">Consultez nos produits pour gagner {{brand}} points</div><div class=\\"content\\">Une fois que vous aurez atteint le minimum de texte requis (au moins 50 caract\xe8res, espacement non compris), vous recevrez 30 points. L\'inclusion d\'une photo dans votre \xe9valuation vous rapportera 60 points, et si votre \xe9valuation inclut une vid\xe9o de plus de 5 secondes, vous recevrez 40 points suppl\xe9mentaires. Ce qui est encore plus int\xe9ressant, c\'est que si nous choisissons votre \xe9valuation comme \xe9tant une \xe9valuation de haute qualit\xe9, vous aurez droit \xe0 100 points suppl\xe9mentaires.</div><table class=\\"table\\"><thead><tr><th>Action</th><th>Points</th></tr></thead><tbody><tr><td>Publier un commentaire</td><td>30</td></tr><tr><td>Postez un commentaire avec des photos</td><td>60</td></tr><tr><td>Publier un commentaire avec une vid\xe9o</td><td>70</td></tr><tr><td>Publiez un commentaire avec des photos et une vid\xe9o</td><td>100</td></tr><tr><td>S\xe9lectionn\xe9 en tant que critique de haute qualit\xe9</td><td>jusqu\'\xe0 200</td></tr></tbody></table>","web_shop_order_perk":"avantage","web_pointsmarket_boost_boost_successful":"web_pointsmarket_boost_boost_successful","web_cart_bonus_more_options":"Plus d\'options","web_referral_benefit_point3_description":"1) \xc9changez {{brand}} points pour les cr\xe9dits d\'achat ({{points}}{{brand}} points = {{price}}) ou des produits exclusifs en <points-marketplace>{{brand}} March\xe9 des points</points-marketplace>.<br/>2) Profitez d\'une dur\xe9e de validit\xe9 des points prolong\xe9e d\'un an\xa0!","web_early_access_check_order":"Vous pouvez v\xe9rifier le statut \xe0 tout moment dans <ordersLink>Mes commandes.</ordersLink>","web_common_checkout":"Commander","web_shop_redeem_can_redeem":"Peut \xe9changer {{pointsNum}} points","web_common_recipient_email":"E-mail du destinataire","web_coupons_not_available_error":"Ce code promo n\'est pas disponible.","web_tag_bundle_deals":"Forfait","web_fixed_register_suc_tip_2":"Obtenez votre {{num}} points et utilisez le code ci-dessous pour obtenir {{discount}} r\xe9duction sur votre premi\xe8re commande","web_shop_crowdfunding_backers":"bailleurs de fonds","web_fixed_register_suc_tip_1":"TU ES SUR LA LISTE\xa0!","web_age_gate_under_age":"JE NE SUIS PAS {{age}}+","web_xmas2025_rewards_important_content":"Les cadeaux myst\xe8res ne peuvent pas \xeatre achet\xe9s s\xe9par\xe9ment et doivent \xeatre r\xe9gl\xe9s avec au moins un article r\xe9gulier. Les cadeaux sont limit\xe9s et disponibles jusqu\'\xe0 \xe9puisement des stocks. Les points et les cadeaux myst\xe8res expirent le 31 d\xe9cembre. Veuillez les utiliser avant leur expiration.","web_shop_account_email_change_success_prompt_desc":"Connectez-vous \xe0 nouveau avec une nouvelle adresse e-mail","web_home_sfs_btn_coming_soon_capfirst":"Prochainement","web_common_btn_submit":"Soumettre","web_winter_grow_problem_2_title":"Vous recevez toujours des popcorn buds\xa0? Voici l\'astuce d\'\xe9clairage","web_return_step_waiting_for_refund":"En attente de remboursement","web_refer_status_issued":"Publi\xe9","web_consent_customise_necessary_desc":"Ces cookies sont strictement n\xe9cessaires au bon fonctionnement de notre site et \xe0 la mise \xe0 votre disposition de nos services et fonctionnalit\xe9s. Par exemple, ils nous aident \xe0 garantir la s\xe9curit\xe9 de nos services, \xe0 authentifier les utilisateurs qui se connectent, \xe0 analyser la fa\xe7on dont nos clients utilisent le site, \xe0 am\xe9liorer ses fonctionnalit\xe9s et votre exp\xe9rience d\'achat, et \xe0 permettre l\'accessibilit\xe9. Pour en savoir plus sur ces cookies, consultez notre <privacy>Politique de confidentialit\xe9</privacy>.","web_points_col_earned":"Gagn\xe9","web_referral_benefit":"Quels sont les avantages d\'\xeatre un {{brand}} r\xe9f\xe9rence\xa0?","web_help_item_lost_in_transit":"Article perdu en transit","
1web_share_msg_01":"Ce {{brand}} L\'\xe9v\xe9nement est vraiment int\xe9ressant\xa0! Vous pouvez gagner des points gratuitement et obtenir de la marchandise. Venez y jeter un coup d\'\u0153il\xa0!","web_shop_activity_early_access_selected":"S\xe9lectionn\xe9","web_xmas2025_rewards_collected_title":"Cadeaux que vous avez collect\xe9s","web_referral_process_step3_description":"Encouragez vos amis \xe0 cliquer sur votre lien et \xe0 acheter des articles. 30 jours apr\xe8s la confirmation et la livraison de leur commande, vous pouvez profiter de votre bien m\xe9rit\xe9 {{brand}} des points\xa0!","web_payment_klarna_step1_gb":"web_payment_klarna_step1_gb","web_common_more":"Plus","web_login_forgot_popup_title":"Mot de passe oubli\xe9","web_common_coupon_code":"Code de r\xe9duction","web_purchase_btn_view_order":"Afficher ma commande","web_diy_ranking_comment_placeholder":"Que pensez-vous de ce kit\xa0?","web_home_sfs_btn_coming_soon":"BIENT\xd4T DISPONIBLE","web_common_points":"Points","web_common_btn_copy":"Copier","web_checkin_rules":"<div><h2>Vivosun R\xe8gles relatives \xe0 l\'enregistrement</h2><h3>Dur\xe9e de l\'\xe9v\xe9nement\xa0:</h3><p>Du 8 avril au 21 avril</p><h3>Comment participer\xa0?</h3><p>\\n \xc9tape 1\xa0: enregistrement<br/>\\n Rendez-vous sur la page de l\'\xe9v\xe9nement et compl\xe9tez l\'enregistrement pour recevoir instantan\xe9ment 100 points.\\n </p><p>\\n \xc9tape 2\xa0: Partagez l\'\xe9v\xe9nement<br/>\\n Partagez la page de l\'\xe9v\xe9nement avec vos amis. Une fois le partage termin\xe9, vos points passeront automatiquement de 100 points \xe0 420 points\xa0!\\n </p><h3>Remarques importantes\xa0:</h3><ul><li>1. Chaque utilisateur est autoris\xe9 \xe0 s\'enregistrer <strong>une seule fois</strong> pendant la p\xe9riode de l\'\xe9v\xe9nement.</li><li>2. La r\xe9compense en points ne sera d\xe9bloqu\xe9e que <strong>une fois la page de l\'\xe9v\xe9nement partag\xe9e avec succ\xe8s</strong>.</li><li>3. Les points seront imm\xe9diatement ajout\xe9s \xe0 votre compte \xe0 la fin de chaque \xe9tape (enregistrement et partage).</li><li>4. Les points gagn\xe9s lors de cet \xe9v\xe9nement peuvent \xeatre utilis\xe9s pour b\xe9n\xe9ficier de r\xe9ductions ou \xeatre \xe9chang\xe9s contre des r\xe9compenses sur le Vivosun site web.</li><li>5. Pour plus de d\xe9tails sur les points, rendez-vous sur \\n <a href=\\"/help/loyalty-program\\" target=\\"_blank\\">Vivosun Fid\xe9lit\xe9 et r\xe9compenses</a>.\\n </li></ul><h3>Avertissement\xa0:</h3><p>Vivosun se r\xe9serve le droit de modifier, suspendre ou mettre fin \xe0 cet \xe9v\xe9nement \xe0 tout moment sans pr\xe9avis.</p></div>","web_product_afterpay_title":"Achetez maintenant, payez plus tard\xa0! <br/>Toujours sans int\xe9r\xeat.","web_support_content_support":"Contenu et support","web_xmas2025_door3_link_de":"https\xa0://vivosun.com/de-DE/campaign/Winter-grow\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Jour 3","web_help_about_us":"\xc0 propos de nous","web_checkin_modal_share_tip":"Partagez et tournez {{prev}} dans {{next}} des points instantan\xe9ment\xa0!","web_common_next":"Suivant","web_help_intellectual_property":"Propri\xe9t\xe9 intellectuelle","web_common_share_copy_link":"Copier le lien","web_tag_super_upper":"SUPER","web_help_growing_guide":"Guide de culture","web_order_option_return_progress":"Progression du retour","web_coupons_expired_coupons":"Coupons expir\xe9s","web_account_sign_in_register":"Se connecter/S\'inscrire","web_xmas2025_banner_title":"Frappez, cliquez,<br>Et grandissez\xa0!","web_common_item":"Article","web_order_step_finish":"Terminer","web_return_refund_reason_label":"Motif du remboursement","web_form_pwd_min_length_error":"Votre mot de passe doit contenir au moins 8 caract\xe8res.","web_order_cancel_shipping_fee":"Je ne suis pas pr\xeat \xe0 payer les frais d\'exp\xe9dition","web_cart_list_title":"R\xe9sum\xe9 de l\'article","web_spin_already_claimed":"Vous avez d\xe9j\xe0 r\xe9clam\xe9 cette r\xe9compense. Chaque utilisateur ne peut le recevoir qu\'une seule fois.","web_shop_redeem_get_more_pumpkins":"Obtenez plus de citrouilles","web_checkin_btn_congrats":"<strong>F\xc9LICITATIONS\xa0!<strong><span>Tu as termin\xe9\xa0!</span>","web_spin_coupon_added":"Coupon ajout\xe9\xa0! V\xe9rifiez votre compte d\xe8s maintenant.","web_login_sdk_load_failed":"{{name}} Le SDK n\'a pas pu \xeatre charg\xe9.","web_wfd_checkout_popup_benefit1_title":"Obtenez un remboursement complet, sans poser de questions","web_checkin_earned_points":"Vous avez gagn\xe9\xa0: <Num/> Points","web_product_add_to_cart":"Ajouter au panier","web_winter_grow_problem_4_title":"Bloquez la moisissure avant qu\'elle ne g\xe2che votre r\xe9colte\xa0: une fa\xe7on intelligente de g\xe9rer l\'humidit\xe9","
1web_checkout_register_tip":"INSCRIVEZ-VOUS ET RECEVEZ <span>{{discount}} OFF PLUS {{points}} POINTS</span>","web_consent_customise_always_on":"Toujours allum\xe9","web_checkout_address_empty_tip":"Veuillez enregistrer votre adresse de livraison avant de passer commande.","web_list_sort_price_lower":"Prix du plus bas au plus \xe9lev\xe9","web_tag_winter_sale":"Soldes d\'hiver","web_winter_grow_problem_5_title":"Sol froid = pas de germes\xa0: comment r\xe9chauffer les plantes pour une germination rapide","web_product_bundle_contains":"Ce lot contient {{num}} articles <span>(peut \xeatre exp\xe9di\xe9 s\xe9par\xe9ment)</span>","web_diy_customize_help_title":"Cr\xe9ez votre propre kit","web_pointsmarket_checkin_help_content":"web_pointsmarket_checkin_help_content","web_form_pwd_label":"Mot de passe","web_xmas2025_door3_desc_de":"Winter ist die beste Zeit, es drinnen gem\xfctlich zu machen \u2014 auch f\xfcr deine Pflanzen.","web_common_status":"\xc9tat","web_common_btn_checkout_upper":"PAIEMENT","web_checkout_step_place_order":"Passer la commande","web_refund_description_placeholder":"Remplissez la description pour aider les entreprises \xe0 mieux g\xe9rer les probl\xe8mes apr\xe8s-vente","web_help_shipping_types":"Types d\'exp\xe9dition","web_product_compare_item_unavailable":"{{name}} est temporairement indisponible.","web_form_description_placeholder_1":"Veuillez d\xe9crire le probl\xe8me rencontr\xe9 avec votre produit...","web_diy_step_duct_fan":"Ventilateur de conduit","web_product_together_title":"Fr\xe9quemment achet\xe9s ensemble","web_xmas2025_door8_link_de":"https\xa0://vivosun.com/fr-FR/vivosun-lumalight-s\xe9rie-C311\xa0? utm_source=Demkt&utm_medium=Xmas&utm_campaign=Jour 8","web_payment_klarna_step1_de":"Ajouter des articles<br>\xe0 votre panier","web_wfd_checkout_notice_emailalert":"Assurez-vous que l\'adresse e-mail de votre commande est correcte et que vous pouvez recevoir des messages, sinon vous risquez de ne pas recevoir la politique de protection Worry-Free Delivery de Seel.","web_common_sku":"Ski","web_pointsmarket_boost_btn_next":"web_pointsmarket_boost_btn_next","web_product_paypal_pay_title_de":"Essayez-le d\'abord et payez 30 jours plus tard","web_shop_crowdfunding_campaign_successful":"Campagne r\xe9ussie","web_payment_klarna_step1_ca":"Ajouter des articles<br>\xe0 votre panier","web_common_reloading":"Rechargement","web_common_empty_tip":"C\'est vide ici :-(","web_search_placeholder":"Rechercher {{brand}}","web_shop_crowdfunding_sign_in_to_comment":"<u>Connectez-vous</u>
1 pour commenter","web_return_step_cancelled":"Annul\xe9","web_spin_disclaimer":"\xc0 des fins d\'illustration uniquement. Tout le monde peut obtenir le meilleur r\xe9sultat dans cette interface.","web_consent_customise_confirm_my_choice":"Valider mon choix","web_refer_friend_page_title":"Recommandez un ami","web_shop_redeem_chance_left":"{{chanceNum}} Chance (s) restante (s)","web_common_results_number":"{{totalNum}} R\xe9sultats","web_support_search_for_support":"Rechercher de l\'assistance","web_price_save_discount":"Enregistrer {{discount}}","web_shop_security_verify_your_email":"V\xe9rifiez votre adresse e-mail"}')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],(function(){return t(36321),t(5477)}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.