/*! For license information please see 67571.a43102bc.js.LICENSE.txt */ !function(e,t){"object"==typeof module&&"object"==typeof module.exports?t():"function"==typeof define&&define.amd?define([],t):(e="undefined"!=typeof globalThis?globalThis:e||self)&&t()}(this,function(){"use strict";"object"==typeof window&&(window.openRedirect={version:"1.2.20",webpackPluginVersion:"3.4.22",reportOnly:!1})}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).xss={})}(this,function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,i=arguments.length;n/g,d=/&#([a-zA-Z0-9]*);?/gim,o=/"/g,a=/:?/gim,s=/&newline;?/gim,l=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,b=/u\s*r\s*l\s*\(.*/gi,c=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,u=/"/g,f=function(e){return e.replace(r,"<").replace(h,">")},g={indexOf:function(e,t){var n,i;for(n=0,i=e.length;n127&&i<2048?t+=String.fromCharCode(i>>6|192)+String.fromCharCode(63&i|128):t+=String.fromCharCode(i>>12|224)+String.fromCharCode(i>>6&63|128)+String.fromCharCode(63&i|128)}return t}(e);l>2,h=(3&t)<<4|(n=e.charCodeAt(l++))>>4,d=(15&n)<<2|(i=e.charCodeAt(l++))>>6,o=63&i,isNaN(n)?d=o=64:isNaN(i)&&(o=64),s=s+a.charAt(r)+a.charAt(h)+a.charAt(d)+a.charAt(o);return s}function m(e){var t,n,i,r,h,d,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="",s=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");s>4,n=(15&r)<<4|(h=o.indexOf(e.charAt(s++)))>>2,i=(3&h)<<6|(d=o.indexOf(e.charAt(s++))),a+=String.fromCharCode(t),64!==h&&(a+=String.fromCharCode(n)),64!==d&&(a+=String.fromCharCode(i));return function(e){for(var t="",n=0,i=0,r=0,h=0;n191&&i<224?(t+=String.fromCharCode((31&i)<<6|63&(h=e.charCodeAt(n+1))),n+=2):(h=e.charCodeAt(n+1),t+=String.fromCharCode((15&i)<<12|(63&h)<<6|63&(r=e.charCodeAt(n+2))),n+=3);return t}(a)}function S(e,t,n){var i="",r=0,h=!1,d=!1,o=0,a=e.length,s="",l="";e:for(o=0;o"===b||o===a-1){i+=n(e.slice(r,h)),s=function(e){var t,n=g.spaceIndex(e);return t=-1===n?e.slice(1,-1):e.slice(1,n+1),"/"===(t=g.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(l=e.slice(h,o+1)),i+=t(h,i.length,s,l,"0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,s-1))){a(d,y(g.trim(e.slice(n,s)))),d=!1,n=s+1;continue}}}else{if(-1===(b=e.indexOf(l,s+1)))break;a(d,g.trim(e.slice(r+1,b))),d=!1,n=(s=b)+1}}else d=e.slice(n,s),n=s+1,r='"'===e.charAt(n)||"'"===e.charAt(n)?n:function(e,t){for(;te.charCodeAt(n)?" ":e.charAt(n);return g.trim(t)}(e=(e=(e=e.replace(o,'"')).replace(d,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})).replace(a,":").replace(s," "))}(n),"href"===t||"src"===t){if("#"===(n=g.trim(n)))return"#";if("http://"!==n.substr(0,7)&&"https://"!==n.substr(0,8)&&"mailto:"!==n.substr(0,7)&&"tel:"!==n.substr(0,4)&&"data:image/"!==n.substr(0,11)&&"ftp://"!==n.substr(0,6)&&"./"!==n.substr(0,2)&&"../"!==n.substr(0,3)&&"#"!==n[0]&&"/"!==n[0])return""}else if("background"===t){if(l.lastIndex=0,l.test(n))return""}else if("style"===t&&(c.lastIndex=0,c.test(n)||(b.lastIndex=0,b.test(n)&&(l.lastIndex=0,l.test(n)))))return"";return n=function(e){return e=f(e=e.replace(u,"""))}(n)}var C=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},A=function(){function e(e){var t=function(e){var t={};for(var n in e)t[n]=e[n];return t}(e||{});t.stripIgnoreTag&&(t.onIgnoreTag,t.onIgnoreTag=function(){return""}),t.whiteList={},t.onTag=function(){},t.onTagAttr=function(){},t.onIgnoreTag=function(){},t.onIgnoreTagAttr=function(){},t.safeAttrValue=w,t.escapeHtml=f,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,n,i,r,h,d,o=this.options,a=o.whiteList,s=o.onTag,l=o.onIgnoreTag,b=o.onTagAttr,c=o.onIgnoreTagAttr,u=o.safeAttrValue,f=o.escapeHtml;o.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),o.allowCommentTag||(e=function(e){for(var t="",n=0;n");var o=function(e){var t=g.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var n="/"===(e=g.trim(e.slice(t+1,-1)))[e.length-1];return n&&(e=g.trim(e.slice(0,-1))),{html:e,closing:n}}(i),p=a[n],y=_(o.html,function(e,t){var i=-1!==g.indexOf(p,e),r=b(n,e,t,i);return null==r?i?(t=u(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(r=c(n,e,t,i))?void 0:r:r});return i="<".concat(n),y&&(i+=" ".concat(y)),o.closing&&(i+=" /"),i+=">"}return null==(d=l(n,i,h))?f(i):d},f);return p&&(y=p.remove(y)),y},e}(),O=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")(),R=new(function(){function e(){var e=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var t,n,i="douyin_web";if(!g.includes(i,"bid"))return i;if(e.config&&e.config.bid)return e.config.bid;if(O&&O._xssBid)return O._xssBid;if(O&&O.slardar&&"function"==typeof O.slardar.config){var r=(O.slardar.config()||{}).bid;if(r)return r}if(O&&O.Slardar&&"function"==typeof O.Slardar.config){var h=(O.Slardar.config()||{}).bid;if(h)return h}return(null===(n=null===(t=null==O?void 0:O.Slardar)||void 0===t?void 0:t._baseParams)||void 0===n?void 0:n.bid)||"argus"},this.getConfigRegion=function(){var t;return g.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==O?void 0:O.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:m("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:m("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:m("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:m("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:m("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:m("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:m("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[e.getConfigRegion()];if(t)return t+e.getSlardarBid()}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.upload=function(){var e=this,t=this.gerReportUrl();!this.lock&&t&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var n=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),O.fetch(t,{method:"post",body:JSON.stringify(n),headers:{"Content-Type":"application/json"}}).catch(function(e){}),e.lock=!1,e.upload()},this.timeout))},e.prototype.generateKey=function(e){return e.collectKey?[e.collectMode,e.collectKey].join("___"):""},e.prototype.push=function(e){this.batchData.push(e),this.upload()},e.prototype.report=function(e){var t=this.generateKey(e);if(O.fetch&&e.collectKey){var n="object"==typeof window?window.location.href:"SSR";e.documentUrl=n;var i={age:Math.floor(Date.now()),type:"xss",url:n,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==n||(i.url=t),"SSR"===n&&(i.url="SSR___".concat(i.url),i.body.ssr=!0),this.push(i)}},e}()),T=function(e){for(var t=0,n=function(n){Array.isArray(e[n])?0===e[n].length?delete e[n]:(e[n]=g.from(g.uniq(e[n])),t+=e[n].length):0===g.keys(e[n]).length?delete e[n]:g.keys(e[n]).forEach(function(i){e[n][i]=g.from(g.uniq(e[n][i])),t+=e[n][i].length})},i=0,r=g.keys(e);i0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var r=e.slice(11).replace(/\s/g,"").trim();return!!g.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===r})||(t&&t("javascript:"),!1)}return!0}var N=function(e,t){var n,i,r="<%= isSaveValidUrl =>";if("string"!=typeof e||(i=Number("<%= urlLimit =>"),void 0!==n&&(i=n),"NaN"!==e.toString()&&-1!==i&&e.length>=i)||k(e,t))return e;try{if(!0===(r=JSON.parse(r))||"true"===r){var h=new URL(e);return h.origin+h.pathname}}catch(e){}return"#"};function E(e,t,i){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!k(e=P(e)))return!1;var r,h={url:(r=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:r[1],slash:r[2],host:r[3],port:r[4],path:r[5],query:r[6],hash:r[7]},d=h.scheme,o=h.host;return i?!!i(e):!(!d||!o)&&(!g.includes(["http","https","file"],d)||("object"==typeof window&&window&&(t=n(n([],t,!0),[location.host],!1)),g.some(t,function(e){return!!(e instanceof RegExp&&e.test(o))||e===o})))}var L={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},j={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=T(this.collect),t=e.count,n=e.ret;return this.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"white"}},onIgnoreTagAttr:function(e,t,i){return e&&g.indexOf(["href","src"],t)>-1?j.domainWhiteList&&Array.isArray(j.domainWhiteList)&&j.domainWhiteList.length>0&&!E(i,n([],j.domainWhiteList,!0))?"":"".concat(t,'="').concat(N(i,function(e){var t;null===(t=j.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(g.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(i,'"'):(j.collect.whiteList[e]=j.collect.whiteList[e]||[],void j.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;S(t,function(e,t,n,i){_(I(i).html.replace("/",""),function(e){j.collect.whiteList[n]=j.collect.whiteList[n]||[],j.collect.whiteList[n].push(e)})},f)},whiteList:L,mergeWhiteList:function(e){for(var t,n={},i=0,r=g.keys(L);i");var h=I(i),d=_(h.html,function(e,t){var i,r=0;if(F.blackList[n]&&g.includes(F.blackList[n],e)&&(z.collect.blackList[n]=z.collect.blackList[n]||[],z.collect.blackList[n].push(e),r++),F.blackAttrRegExps.length&&F.blackAttrRegExps.some(function(t){return t.test(e)})&&g.forEach(F.blackAttrRegExps,function(t){t.test(e)&&(z.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),r++)}),F.blackAttrs.length&&g.includes(F.blackAttrs,e)&&(F.blackAttrs.push(e),r++),!r){if(F.filterList&&F.filterList[n]&&g.includes(F.filterList[n],e)){var h=N(t,function(e){var t;null===(t=z.collect)||void 0===t||t.filterProtocol.push(e)});return h!==t&&(z.collect.filterList[n]=z.collect.filterList[n]||[],z.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(h,"'"):e}return F.filterAttrs&&g.includes(F.filterAttrs,e)?((h=N(t,function(e){var t;null===(t=z.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(i=z.collect)||void 0===i||i.filterAttrs.push(e)),t?"".concat(e,"='").concat(h,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return i="<".concat(n),d&&(i+=" ".concat(d)),h.closing&&(i+=" /"),i+=">"},f);null===(n=z.collect)||void 0===n||n.blackTags.push(e)}},W=function(e){var t=e.reportOnly,n=void 0===t||t,i=e.block;return n&&"all"===n?"report":("string"==typeof n&&("true"===n&&(n=!0),"false"===n&&(n=!1)),i?"enforce":n?"report":"enforce")},Y=function(e){return function(n,i,r){if(!n||"string"!=typeof n)return n;var h=i;e===x&&(h=j).initCollect();var d=e(n,h);if(C(d)===C(n))return n;if(!r)return d;var o=r.logType,a=W(r),s=h.removeCollect();return R.report(t(t({type:o,disposition:a},s),{sourceText:v(n),filterText:v(d)})),"enforce"===a?d:n}},U=Y(function(e,t){return void 0===t&&(t={}),t&&t.whiteList||(t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new A(t).process(e)}),X=Y(x),J=function(e,t,n){var i=[],r=N(e,function(e){i.push(e)});if(r===e)return e;i=g.from(g.uniq(i));var h=t||n||{};if(!h)return r;var d=h.logType,o=W(n);return R.report({type:d,disposition:o,collectKey:i.join("___"),collectData:JSON.stringify(i),collectMode:"black",sourceText:v(e),filterText:v(r)}),"enforce"===o?r:e},H=O._xssProject||{},B=O.xssNamespace||{},Q="3.0.26",q={FilterXSS:A,version:Q,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:U,_filterXSS:X,filterUrl:J,Config:j,BlackConfig:z,project:H,setProjectName:function(e){H[e]=this,O._xssProjectName=e}};B.douyin_web=q,O.xssNamespace=B,O.Math&&!O.Math.xssNamespace&&(O.Math.xssNamespace=B),H[Q]=q,O.globalThis=O,O.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:q},O.xss=q,O.isSafeUrl=E,O.isSafeDomain=E,O.isSafeProtocol=k,O._xssProject=H,O._xssProjectName&&(H[O._xssProjectName]=q);var G=q.setProjectName.bind(q);e.BlackConfig=z,e.Config=j,e.FilterXSS=A,e._filterXSS=X,e.filterUrl=J,e.filterXSS=U,e.isSafeDomain=E,e.isSafeProtocol=k,e.isSafeUrl=E,e.project=H,e.setProjectName=G,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,i=e.region;B[t]=q;j.bid=n,j.region=i,j.enabled=!0},e.xssNamespace=B,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["67571"],{38542:function(e,t,n){"use strict";var i=n(101199),r=n(994298);let h=(0,r.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h14a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3Zm1 2a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H6Z",fill:"currentColor"}))},"sidebar");t.Z=h},463073:function(e,t,n){"use strict";n.d(t,{nZ:function(){return l}});var i=n(796616);function r(e,t,n){return(r=s()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&o(r,n.prototype),r}).apply(null,arguments)}function h(e,t){for(var n=0;n=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(s._)},964997:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(101199);t.Executor=function(e){var t=e.hook(),n=i.useRef(!1);return!n.current&&e.onMount(t),i.useLayoutEffect(function(){if(!n.current){n.current=!0;return}e.onUpdate(t)}),null}},100654:function(e,t,n){var i=n(79594),r=n(293137),h=n(247494);e.exports=function(e){return function(t,n,d){var o=Object(t);if(!r(t)){var a=i(n,3);t=h(t),n=function(e){return a(o[e],e,o)}}var s=e(t,n,d);return s>-1?o[a?t[s]:s]:void 0}}},167500:function(e,t,n){var i=n(187232),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},270378:function(e,t,n){var i=n(187199),r=n(760360)(function(e,t,n){return t=t.toLowerCase(),e+(n?i(t):t)});e.exports=r},383833:function(e,t,n){var i=n(760360)(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});e.exports=i},347752:function(e,t,n){var i=n(468475),r=n(247494);e.exports=function(e){return null==e?[]:i(e,r(e))}},622689:function(e,t,n){e.exports=n(955038)()},286891:function(e,t,n){"use strict";n.r(t)},250717:function(e,t,n){"use strict";n.r(t)},370740:function(e,t,n){"use strict";n(932651);var i=n(101199),r=n(622689),h=n.n(r),d=n(925949),o=n(584025),a=n(63245),s=n(278766),l=n(230720);class b extends i.PureComponent{render(){var e;let t=this.props,n=null!==(e=this.props.direction)&&void 0!==e?e:this.context.direction;return t.resizable?i.createElement(o.Z,Object.assign({},t,{ref:this.tableRef,direction:n})):i.createElement(d.Z,Object.assign({},t,{ref:this.tableRef,direction:n}))}constructor(e){super(e),this.getCurrentPageData=()=>this.tableRef.current&&this.tableRef.current.getCurrentPageData(),this.tableRef=i.createRef()}}b.Column=a.Z,b.DEFAULT_KEY_COLUMN_SELECTION=s.j2.DEFAULT_KEY_COLUMN_SELECTION,b.DEFAULT_KEY_COLUMN_EXPAND=s.j2.DEFAULT_KEY_COLUMN_EXPAND,b.propTypes=Object.assign(Object.assign({},d.Z.propTypes),{resizable:h().oneOfType([h().bool,h().object])}),b.defaultProps={hideExpandedColumn:!0},b.contextType=l.Z,t.Z=b},404690:function(e,t,n){"use strict";var i;n.d(t,{S:function(){return h}}),n(302356),n(656562),n(992871),n(490629);let r=null!==(i=globalThis.Worker)&&void 0!==i?i:function(){};class h extends r{constructor(e,t){e=String(e);let n=`importScripts=((i)=>(...a)=>i(...a.map((u)=>''+new URL(u,"${e}"))))(importScripts);importScripts("${e}");`,i=URL.createObjectURL(new Blob([n],{type:"text/javascript"}));super(i,t),URL.revokeObjectURL(i)}}},45637:function(e,t,n){"use strict";n.d(t,{U:function(){return d},j:function(){return o}});var i=n(236913),r=n(707852),h=n(601820);let d={PREFIX:`${r.T}-autocomplete`,PREFIX_OPTION:`${r.T}-autocomplete-option`,PREFIX_GROUP:`${r.T}-autocomplete-group`},o={SIZE:["small","large","default"],POSITION:i.j2.POSITION_SET,OPTIONS:["children","value"],STATUS:h.L}},273249:function(e,t,n){"use strict";n.d(t,{KT:function(){return h},UX:function(){return r}});var i=n(707852);let r={PREFIX:`${i.T}-popconfirm`,POPOVER:`${i.T}-popconfirm-popover`},h={SPACING:4,DEFAULT_Z_INDEX:1030}},570811:function(e,t,n){"use strict";n(490629),n(932651),n(374954),n(706056),n(117232),n(591964),n(683656),n(759943);var i=n(92122),r=n.n(i),h=n(876553),d=n.n(h),o=n(736562),a=n.n(o),s=n(545841),l=n.n(s),b=n(602213),c=n.n(b),u=n(640525),f=n.n(u),g=n(713697),p=n.n(g),y=n(51692),v=n.n(y),m=n(260611),S=n.n(m),_=n(853647),w=n.n(_),C=n(390063),A=n.n(C),O=n(869014),R=n.n(O),T=n(198412),x=n.n(T),I=n(620930),P=n(856445),k=n(278766),N=n(553827),E=n(370389);class L extends P.Z{static initColumnsFilteredValueAndSorterOrder(e){return e.forEach(e=>{L.initFilteredValue(e),L.initSorterOrder(e)}),e}static initFilteredValue(e){let{defaultFilteredValue:t,filteredValue:n}=e;r()(n)&&(Array.isArray(t)&&t.length?e.filteredValue=t:e.filteredValue=[])}static initSorterOrder(e){let{defaultSortOrder:t,sortOrder:n,sorter:i}=e;i&&r()(n)&&(r()(t)?e.sortOrder=!1:e.sortOrder=t)}init(){let e=[...this.getProp("dataSource")],{queries:t}=this._adapter.getStates(),n=this.getFilteredSortedDataSource(e,t),i=this.getAllDisabledRowKeys(n),r=this.getCurrentPageData(n);this.setAdapterPageData(r),this.initExpandedRowKeys(r),this.initSelectedRowKeys(r),this.setCachedFilteredSortedDataSource(n),this.setAllDisabledRowKeys(i)}initExpandedRowKeys(){let{groups:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{defaultExpandAllRows:t,defaultExpandedRowKeys:n=[],expandedRowKeys:i=[],dataSource:r=[],expandAllRows:h,defaultExpandAllGroupRows:d,expandAllGroupRows:o}=this.getProps(),a=[];t||h?this._addNoDuplicatedItemsToArr(a,this.getAllRowKeys(r),e&&l()(e)&&e.size?Array.from(e.keys()):[]):d||o?this._addNoDuplicatedItemsToArr(a,i,e&&l()(e)&&e.size?Array.from(e.keys()):[]):Array.isArray(n)&&n.length?this._addNoDuplicatedItemsToArr(a,n):Array.isArray(i)&&i.length&&this._addNoDuplicatedItemsToArr(a,i),this._adapter.setExpandedRowKeys(a)}initSelectedRowKeys(e){let{disabledRowKeys:t}=e,n=this.getProp("rowSelection"),i=[];if(n){let e=x()(n,"selectedRowKeys"),r=x()(n,"defaultSelectedRowKeys");Array.isArray(e)?this._addNoDuplicatedItemsToArr(i,e):Array.isArray(r)&&this._addNoDuplicatedItemsToArr(i,r),Array.isArray(t)&&t.length&&p()(i,...t),this._adapter.setSelectedRowKeys(i)}}getFilteredSortedDataSource(e,t){let n=this.filterDataSource(e,t.filter(e=>{let t=e.filteredValue?e.filteredValue:e.defaultFilteredValue;return A()(e.onFilter)&&Array.isArray(t)&&t.length}));return this.sortDataSource(n,t.filter(e=>e&&A()(e.sorter)))}getCurrentPageData(e,t,n){let i;let r=this._adapter.getCachedFilteredSortedDataSource();if(e=null==e?[...r]:e,t=null==t?this.getState("pagination")&&Object.assign({},this.getState("pagination")):t,n=null==n?[...this.getState("queries")]:n,null!=this.getProp("groupBy")){let{groups:t,dataSource:n}=this.groupDataSource(e);e=n,i=t}t=this.normalizePagination(t,e),e=this.limitPageDataSource(e,t);let h=this.getAllDisabledRowKeys(e),d=this.getAllRowKeys(e);return{dataSource:e,groups:i,pagination:t,disabledRowKeys:h,allRowKeys:d,queries:n}}groupDataSource(e,t){t=null==t?this.getProp("groupBy"):t;let n=new Map,i=[];return null!=t&&w()(e,(e,i)=>{let r="function"==typeof t?t(e):x()(e,t);if(null!=r&&""!==r){let t=this.getRecordKey(e),i=n.get(r);f()(i)?i.add(t):(i=new Set([t]),n.set(r,i))}}),n&&n.size?n.forEach((e,t)=>{f()(e)&&e.forEach(e=>{i.push(this._getRecord(e))})}):i.push(...e),{groups:n,dataSource:i}}sortDataSource(e,t){return w()(t,t=>{let{sorter:n,sortOrder:i,defaultSortOrder:r,sortChildrenRecord:h}=t,d=this.isSortOrderValid(i)?i:r;if(A()(n)&&d&&k.j2.SORT_DIRECTIONS.includes(d)){if(h){let n=this.getProp("childrenRecordName");e=e&&e.map(e=>{let i=this._getRecordChildren(e);return Array.isArray(i)&&i.length?Object.assign(Object.assign({},e),{[n]:this.sortDataSource(i,[t])}):e})}return e.sort((0,E.f)(n,d)),!1}}),e}filterDataSource(e,t){let n=null,i=!1,r=this.getProp("childrenRecordName");return w()(t,t=>{let{onFilter:h,filteredValue:d,filterChildrenRecord:o,defaultFilteredValue:a}=t,s=Array.isArray(d)?d:a;"function"==typeof h&&Array.isArray(s)&&s.length&&(i=!0,null===n||(e=Array.from(n&&n.values())),n=new Map,w()(e,e=>{w()(s,i=>{let d;let a=x()(e,r),s=this.getRecordKey(e);if(Array.isArray(a)&&a.length&&o&&(d=this.filterDataSource(a,[t])),Array.isArray(d)&&d.length){if(null!=s){let t=x()(n.get(s),r,[]);n.set(s,Object.assign(Object.assign({},e),{[r]:d.reduce((e,t)=>(null==e.find(e=>this.getRecordKey(e)===this.getRecordKey(t))&&e.push(t),e),[...t])}))}}else h(i,e)&&n.set(s,e)})}))}),i&&(e=Array.from(n&&n.values())),e}limitPageDataSource(e,t){e=null==e?this.getProp("dataSource"):e,t=null==t?this.getState("pagination"):t;let n=e,i=x()(t,"currentPage");if(!1!==this.getProp("pagination")&&i&&e&&t&&!this._pagerIsControlled()){let{pageSize:r=k.KT.DEFAULT_PAGE_SIZE}=t;n=a()(e,(i-1)*r,i*r)}return n}normalizePagination(e,t){e=null==e?this._getPagination():e,t=null==t?this._getDataSource():t;let n=this.getProp("pagination");if(e&&(e="object"==typeof e?Object.assign({},e):{},e=R()({total:t&&t.length||0,pageSize:k.KT.DEFAULT_PAGE_SIZE,currentPage:x()(n,"defaultCurrentPage",1),position:k.j2.PAGINATION_POSITIONS["0"]},e),!this._pagerIsControlled())){let i=x()(n,"total",t.length),{currentPage:r,pageSize:h}=e,d=Math.ceil(i/h);e.total=i,r>d&&(e.currentPage=1)}return e}setAdapterPageData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{pagination:t,dataSource:n,disabledRowKeys:i,allRowKeys:r,groups:h}=e;this._adapter.setDisabledRowKeys(i),this._adapter.setAllRowKeys(r),this._adapter.setPagination(t),this._adapter.setGroups(h),this._adapter.setDataSource(n)}destroy(){}setAllDisabledRowKeys(e){this._adapter.setAllDisabledRowKeys(e)}handleClick(e){}handleMouseEnter(e){}handleMouseLeave(e){}stopPropagation(e){this._adapter.stopPropagation(e)}_addNoDuplicatedItemsToArr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;inull!=e&&""!==e&&this.getRecordKey(t)===e)}_getRecordChildren(e){return x()(e,this.getProp("childrenRecordName"))}_getPagination(){return this.getState("pagination")||{}}_getAllFilters(e){e=e||this.getState("queries");let t=[];return w()(e,e=>{Array.isArray(e.filteredValue)&&(e.filteredValue.length||this._filterIsControlled(e.dataIndex))&&t.push(e)}),t}_getAllSorters(e){return e=e||this.getState("queries"),c()(e,e=>e.sorter&&e.sortOrder)}_filterQueries(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["dataIndex"];t=null==t?this.getState("queries"):t;let i=[],r=[];return w()(t,(t,h)=>{v()(n,n=>n&&null!=e[n]&&e[n]===t[n])&&(i.push(t),r.push(h))}),{filteredQueries:i,filteredIndexes:r}}_mergeToQueries(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["dataIndex"];t=[...t=null==t?this.getState("queries"):t],e=Object.assign({},e);let{filteredQueries:i,filteredIndexes:r}=this._filterQueries(e,t,n);return w()(i,(n,i)=>{t[r[i]]=Object.assign({},e)}),t}getRecordKey(e){if(!e)return;let t=this.getProp("rowKey");return"function"==typeof t?t(e):x()(e,t)}isEmpty(e){return!(Array.isArray(e=null==e?this.getProp("dataSource"):e)&&e.length>0)}handleSelectRow(e,t,n){if(this.stopPropagation(n),"boolean"==typeof t&&null!=e){let i;let r=this._getSelectedRowKeys(),h=-1,d=this.getSelectedRows(null,[e])[0];(h=r.indexOf(e))>-1&&!1===t?(r.splice(h,1),i=this.getSelectedRows(null,r),!this._selectionIsControlled()&&this._adapter.setSelectedRowKeys(r),this._adapter.notifySelect(d,t,i,n),this._adapter.notifySelectionChange(r,i)):-1===r.indexOf(e)&&!0===t&&(r.push(e),i=this.getSelectedRows(null,r),!this._selectionIsControlled()&&this._adapter.setSelectedRowKeys(r),this._adapter.notifySelect(d,t,i,n),this._adapter.notifySelectionChange(r,i))}}handleSelectAllRow(e,t){if(this.stopPropagation(t),"boolean"==typeof e){let n;let i=this._getSelectedRowKeys(),r=[...i],h=this._getSelectedRowKeysSet(),d=[...this._adapter.getCachedFilteredSortedRowKeys()],o=this._adapter.getAllDisabledRowKeys(),a=this._adapter.getAllDisabledRowKeysSet();if(e){for(let e of d)!a.has(e)&&!h.has(e)&&r.push(e);n=[...d=(0,E.c)(d,[...o,...i])]}else r=(0,E.c)(r,d),n=[...i];let s=this.getSelectedRows(null,n||[]),l=this.getSelectedRows(null,r||[]);!this._selectionIsControlled()&&this._adapter.setSelectedRowKeys(r),this._adapter.notifySelectAll(e,l,s,t),this._adapter.notifySelectionChange(r,l)}}getSelectedRows(e,t,n){e=null==e?this._getDataSource():e,t=null==t?this._getSelectedRowKeys():t,!f()(n)&&(n=new Set(t));let i=this.getProp("childrenRecordName"),r=[];if(f()(n)&&n.size&&Array.isArray(e)&&e.length&&(r.push(...e.filter(e=>n.has(this.getRecordKey(e)))),r.lengtht.has(e)).length)}handleRowExpanded(e,t,n){this.stopPropagation(n);let i=[...this.getState("expandedRowKeys")],r=i.indexOf(t),h="string"==typeof t||"number"==typeof t;h&&e&&-1===r?i.push(t):h&&!e&&r>-1&&i.splice(r,1),!this._rowExpansionIsControlled()&&this._adapter.setExpandedRowKeys(i);let d=this.getSelectedRows(null,i),o=this.getSelectedRows(null,[t])[0],a=this._getGroups();if(a){a.has(t)&&(o={groupKey:t});for(let e=0,n=i.length;enull!=e&&!t.has(e));if(!i||!i.length)return n.length&&n.every(t=>e.has(t))||!1;for(let t of i)if(null!=t&&!e.has(t))return!1;return!0}allIsNotSelected(e,t){for(let n of t)if(null!=n&&Array.isArray(e)&&e.includes(n))return!0;return!1}formatPaginationInfo(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="",i=x()(this.getProp("pagination"),"formatPageText"),{total:r,pageSize:h,currentPage:d}=e,o=Math.min((d-1)*h+1,r),a=Math.min(d*h,r);return(i||!1!==i&&t&&r>0)&&(n="function"==typeof i?i({currentStart:o,currentEnd:a,total:r}):t.replace("${currentStart}",o).replace("${currentEnd}",a).replace("${total}",r)),n}toggleShowFilter(e,t){let n=this.getQuery(e);n=Object.assign(Object.assign({},n),{filterDropdownVisible:t}),this._filterShowIsControlled(),this._adapter.notifyFilterDropdownVisibleChange(t,e)}handleFilterSelect(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getQuery(e),i=[...this._adapter.getState("queries")],{filteredValue:r}=t;n=Object.assign(Object.assign({},n),{filteredValue:r}),i=(0,N.BX)(n,i);let h=this._mergeToQueries(n,null),d=this._getAllFilters(h);!this._filterIsControlled(e)&&(this._adapter.setQueries(i),this.handleClickFilterOrSorter(i)),this._notifyChange(null,d,void 0,{changeType:"filter"})}handleSort(){var e,t,n,i;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},h=arguments.length>1?arguments[1]:void 0,d=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.stopPropagation(h),d){if(this.mouseDownTarget&&(null===(e=this.mouseDownTarget)||void 0===e?void 0:e.targetName)==="SPAN"&&(null===(i=null===(n=null===(t=this.mouseDownTarget)||void 0===t?void 0:t.className)||void 0===n?void 0:n.includes)||void 0===i?void 0:i.call(n,"react-resizable-handle")))return;this.mouseDownTarget=null}let{dataIndex:o}=r,a=this.getState("queries"),s=null;a=[...a],w()(a,(e,t,n)=>{if(e.sorter){let i=Object.assign({},e),r=x()(i,"sortOrder"),h=x()(i,"defaultSortOrder",!1),d=this.isSortOrderValid(r)?r:h;d=!!o&&o===i.dataIndex&&(d===k.j2.SORT_DIRECTIONS["0"]?k.j2.SORT_DIRECTIONS["1"]:d!==k.j2.SORT_DIRECTIONS["1"]&&k.j2.SORT_DIRECTIONS["0"]),n[t]=Object.assign(Object.assign({},i),{sortOrder:d}),o===i.dataIndex&&(s=n[t])}}),!this._sorterIsControlled(o)&&(this._adapter.setQueries(a),this.handleClickFilterOrSorter(a)),this._notifyChange(null,null,s,{changeType:"sorter"})}handleClickFilterOrSorter(e){let t=[...this.getProp("dataSource")],n=this.getFilteredSortedDataSource(t,e),i=this.getAllDisabledRowKeys(n);this.setCachedFilteredSortedDataSource(n),this.setAllDisabledRowKeys(i);let r=this.getCurrentPageData(n);this.setAdapterPageData(r)}getQuery(e,t){if(t=t||this.getState("queries"),null!=e)return S()(t,t=>t.dataIndex===e)}getCellWidths(e,t,n){return this._adapter.getCellWidths(e,t,n)}setHeadWidths(e,t){return this._adapter.setHeadWidths(e,t)}getHeadWidths(e){return this._adapter.getHeadWidths(e)}mergedRowExpandable(e){return this._adapter.mergedRowExpandable(e)}setBodyHasScrollbar(e){this._adapter.setBodyHasScrollbar(e)}constructor(e){super(Object.assign({},e)),this.setPage=(e,t)=>{e=e||this._adapter.getCurrentPage();let n=this.getState("pagination"),{dataSource:i,pagination:r,disabledRowKeys:h,allRowKeys:d}=this.getCurrentPageData(null,Object.assign(Object.assign({},n),{currentPage:e,pageSize:t}));!this._pagerIsControlled()&&e>0&&(this._adapter.setDisabledRowKeys(h),this._adapter.setAllRowKeys(d),this._adapter.setPagination(r),this._adapter.setDataSource(i)),this._notifyChange(r,void 0,void 0,{changeType:"pagination"})},this.setCachedFilteredSortedDataSource=e=>{this._adapter.setCachedFilteredSortedDataSource(e);let t=this.getAllRowKeys(e);this._adapter.setCachedFilteredSortedRowKeys(t)},this.handleMouseDown=e=>{var t,n;this.mouseDownTarget={targetName:null===(t=e.target)||void 0===t?void 0:t.tagName,className:null===(n=e.target)||void 0===n?void 0:n.className}},this.isSortOrderValid=e=>k.j2.SORT_DIRECTIONS.includes(e)||!1===e;let t=this._adapter.getHandleColumns(),n=this._adapter.getMergePagination();this.mouseDownTarget=null,this.memoizedWithFnsColumns=(0,I.Z)(t,d()),this.memoizedFilterColumns=(0,I.Z)(N.I2),this.memoizedFlattenFnsColumns=(0,I.Z)(N.L8),this.memoizedPagination=(0,I.Z)(n,d())}}t.Z=L},774720:function(e,t,n){"use strict";n(706056),n(490629),n(932651),n(374954);var i=n(92122),r=n.n(i),h=n(390063),d=n.n(h),o=n(243392),a=n.n(o),s=n(22186),l=n.n(s),b=n(856445),c=n(108220),u=n(521850),f=n(779778),g=n(209036);class p extends b.Z{_handleAddTags(e){let{separator:t,max:n,onExceed:i,allowDuplicates:r}=this._adapter.getProps(),{inputValue:h,tagsArray:o}=this._adapter.getStates(),s=(0,u.Z)(h,t);s=s.filter((e,t)=>!(!r&&(o.includes(e)||s.indexOf(e)!==t))&&l()(e)&&""!==e.trim());let b=o.concat(s);a()(n)&&b.length>n&&(d()(i)&&i(b),b=b.slice(0,n),s=s.slice(0,n-o.length)),s.length>0&&this._onAdd(b,s),this._onInputChange("",e)}handleInputBlur(e){let{addOnBlur:t}=this._adapter.getProps();!0===t&&this._handleAddTags(e),this._adapter.setFocusing(!1),this._adapter.notifyBlur(e)}handleInputFocus(e){this._adapter.setFocusing(!0),this._adapter.notifyFocus(e)}handleClearEnterPress(e){(0,f.Z)(e)&&this.handleClearBtn(e)}handleClearBtn(e){let{inputValue:t,tagsArray:n}=this._adapter.getStates();n.length>0&&(this._adapter.setTagsArray([]),this._adapter.notifyTagChange([])),t.length>0&&this._onInputChange("",e),e.stopPropagation()}handleTagClose(e){let{tagsArray:t}=this._adapter.getStates(),n=[...t];n.splice(e,1);let i=t[e];this._onRemove(n,i,e)}handleInputMouseEnter(){this._adapter.setHovering(!0)}handleInputMouseLeave(){this._adapter.setHovering(!1)}handleClick(e){let{disabled:t}=this.getProps();if(!t)!this._adapter.getClickOutsideHandler()&&(this._adapter.setActive(!0),this._adapter.registerClickOutsideHandler(e=>this.clickOutsideCallBack()))}clickOutsideCallBack(){this._adapter.unregisterClickOutsideHandler(),this._adapter.setActive(!1)}handleClickPrefixOrSuffix(e){let{disabled:t}=this._adapter.getProps(),{isFocus:n}=this._adapter.getStates();!t&&!n&&this._adapter.toggleFocusing(!0)}handlePreventMouseDown(e){e&&d()(e.preventDefault)&&e.preventDefault()}_onRemove(e,t,n){!this._isControlledComponent()&&this._adapter.setTagsArray(e),this._adapter.notifyTagChange(e),this._adapter.notifyTagRemove(t,n)}_onAdd(e,t){!this._isControlledComponent()&&this._adapter.setTagsArray(e),this._adapter.notifyTagChange(e),this._adapter.notifyTagAdd(t)}_onInputChange(e,t){this._adapter.setInputValue(e),this._adapter.notifyInputChange(e,t)}handleSortEnd(e){let{oldIndex:t,newIndex:n}=e,{tagsArray:i}=this.getStates(),r=(0,g.Z)(i,t,n);!this._isControlledComponent()&&this._adapter.setTagsArray(r),this._adapter.notifyTagChange(r)}constructor(e){super(Object.assign({},e)),this.handleInputChange=e=>{let{value:t}=e.target,{entering:n}=this.getStates();n?this._onInputChange(t,e):this._checkInputChangeValid(t)&&this._onInputChange(t,e)},this.handleInputCompositionStart=e=>{let{maxLength:t}=this.getProps();if(!!a()(t))this._adapter.setEntering(!0)},this.handleInputCompositionEnd=e=>{let{value:t}=e.target,{maxLength:n,onInputExceed:i,separator:r}=this.getProps();if(!a()(n))return;this._adapter.setEntering(!1);let h=!0,o=(0,u.Z)(t,r),s=0;for(;sn){h=!1,d()(i)&&i(t);break}if(h)this._adapter.setInputValue(t);else{let e=o.slice(0,s);s{let{maxLength:t,onInputExceed:n,separator:i}=this._adapter.getProps(),{inputValue:h}=this._adapter.getStates(),o=!0;if(a()(t)){let a=(0,u.Z)(e,i),s=(0,u.Z)(h,i),l=Math.max(a.length,s.length);for(let i=0;is[i].length)&&a[i].length>t){o=!1,d()(n)&&n(e);break}}return o},this.handleKeyDown=e=>{let{inputValue:t,tagsArray:n}=this._adapter.getStates(),i=e.keyCode;i===c.ZP.ENTER&&(e.preventDefault(),""!==t&&this._handleAddTags(e));let{length:r}=n;if(i===c.ZP.BACKSPACE&&""===t&&r>0){let e=n.slice(0,r-1),t=n[r-1];this._onRemove(e,t,r-1)}this._adapter.notifyKeyDown(e)}}}t.Z=p},340754:function(e,t,n){"use strict";n(932651);var i=n(101199);function r(){return(r=Object.assign||function(e){for(var t=1;t=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}n.d(t,{f:function(){return i}})},382429:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var i=n(382243);function r(e,t,n,r){let h=(0,i.l)(n),d='"'===h?"Quote":"Apostrophe",o=n.enter("image"),a=n.enter("label"),s=n.createTracker(r),l=s.move("![");return l+=s.move(n.safe(e.alt,{before:l,after:"]",...s.current()})),l+=s.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(n.safe(e.url,{before:l,after:">",...s.current()}))+s.move(">")):(a=n.enter("destinationRaw"),l+=s.move(n.safe(e.url,{before:l,after:e.title?" ":")",...s.current()}))),a(),e.title&&(a=n.enter(`title${d}`),l+=s.move(" "+h),l+=s.move(n.safe(e.title,{before:l,after:h,...s.current()}))+s.move(h),a()),l+=s.move(")"),o(),l}r.peek=function(){return"!"}},953117:function(e,t,n){"use strict";n.d(t,{D:function(){return l}});var i=n(73665),r=n(769007),h=n(890131),d=n(80662),o=n(680655),a=n(368183),s=n(460968);let l={name:"definition",tokenize:function(e,t,n){let d;let l=this;return function(t){return e.enter("definition"),function(t){return r.f.call(l,e,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function c(t){return(d=(0,s.d)(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),u):n(t)}function u(t){return(0,a.z3)(t)?(0,o.S)(e,f)(t):f(t)}function f(t){return(0,i.Z)(e,g,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function g(t){return e.attempt(b,p,p)(t)}function p(t){return(0,a.xz)(t)?(0,h.f)(e,y,"whitespace")(t):y(t)}function y(i){return null===i||(0,a.Ch)(i)?(e.exit("definition"),l.parser.defined.push(d),t(i)):n(i)}}},b={partial:!0,tokenize:function(e,t,n){return function(t){return(0,a.z3)(t)?(0,o.S)(e,i)(t):n(t)};function i(t){return(0,d.X)(e,r,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function r(t){return(0,a.xz)(t)?(0,h.f)(e,s,"whitespace")(t):s(t)}function s(e){return null===e||(0,a.Ch)(e)?t(e):n(e)}}}},61340:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});class i{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&r(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),r(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),r(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(e{let t=i.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},h=(e,t,n)=>{if(void 0===e)return{type:"untracked",connection:t.connect(n)};let r=i.get(n.name);if(r)return{type:"tracked",store:e,...r};let h={connection:t.connect(n),stores:{}};return i.set(n.name,h),{type:"tracked",store:e,...h}},d=(e,t={})=>(n,i,d)=>{let a;let{enabled:s,anonymousActionType:l,store:b,...c}=t;try{a=(null==s||s)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!a)return e(n,i,d);let{connection:u,...f}=h(b,a,c),g=!0;d.setState=(e,t,h)=>{let o=n(e,t);if(!g)return o;let a=void 0===h?{type:l||"anonymous"}:"string"==typeof h?{type:h}:h;return void 0===b?(null==u||u.send(a,i()),o):(null==u||u.send({...a,type:`${b}/${a.type}`},{...r(c.name),[b]:d.getState()}),o)};let p=(...e)=>{let t=g;g=!1,n(...e),g=t},y=e(d.setState,i,d);if("untracked"===f.type?null==u||u.init(y):(f.stores[f.store]=d,null==u||u.init(Object.fromEntries(Object.entries(f.stores).map(([e,t])=>[e,e===f.store?y:t.getState()])))),d.dispatchFromDevtools&&"function"==typeof d.dispatch){let e=!1,t=d.dispatch;d.dispatch=(...n)=>{"__setState"===n[0].type&&!e&&(e=!0),t(...n)}}return u.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload)return;return o(e.payload,e=>{if("__setState"===e.type){if(void 0===b){p(e.state);return}Object.keys(e.state).length;let t=e.state[b];if(null==t)return;JSON.stringify(d.getState())!==JSON.stringify(t)&&p(t);return}if(!!d.dispatchFromDevtools)"function"==typeof d.dispatch&&d.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":if(p(y),void 0===b)return null==u?void 0:u.init(d.getState());return null==u?void 0:u.init(r(c.name));case"COMMIT":if(void 0===b){null==u||u.init(d.getState());break}return null==u?void 0:u.init(r(c.name));case"ROLLBACK":return o(e.state,e=>{if(void 0===b){p(e),null==u||u.init(d.getState());return}p(e[b]),null==u||u.init(r(c.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return o(e.state,e=>{if(void 0===b){p(e);return}JSON.stringify(d.getState())!==JSON.stringify(e[b])&&p(e[b])});case"IMPORT_STATE":{let{nextLiftedState:n}=e.payload,i=null==(t=n.computedStates.slice(-1)[0])?void 0:t.state;if(!i)return;void 0===b?p(i):p(i[b]),null==u||u.send(null,n);break}case"PAUSE_RECORDING":return g=!g}return}}),y},o=(e,t)=>{let n;try{n=JSON.parse(e)}catch(e){}void 0!==n&&t(n)}},850594:function(e,t,n){"use strict";n.r(t),n.d(t,{ClientFileRoutes:function(){return b}}),n(968336);var i=n(320165);n(494174),n(406848);var r=n(930800),h=n(227028),d=n(338554),o=n(124653),a=n(273378),s=n(884051);function l(){return null}n(339808),n(101199);let b=e=>{let{serverProps:t}=(0,s.useServerProps)(),{pathname:n}=null!=t?t:{},{serverRouteCache:b}=(0,o.useServerRouteCache)(),c=(0,h.V)(r.default,n,{serverRouteCache:b});(0,d.Gw)({next:c,serverProps:t,serverRouteCache:b,serverElement:e.children});let u="initial"===t.type?e.children:c.route?c.route:(0,i.jsx)(l,{});return u=(0,a.useCacheRoute)({as:c.as,element:u,pathname:n,matchPatterns:c.matchPatterns})}}}]);